From 70b2dd06c23a615193714101fd7ffc453520e677 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Wed, 6 Mar 2024 12:47:55 -0600 Subject: [PATCH] Consolidate internal `interface` and `com_interface` macros (#2914) --- crates/libs/bindgen/src/rust/delegates.rs | 2 +- crates/libs/bindgen/src/rust/interfaces.rs | 4 +- crates/libs/core/src/imp/com_bindings.rs | 14 +- crates/libs/core/src/imp/generic_factory.rs | 2 +- crates/libs/core/src/imp/mod.rs | 28 +- .../src/Windows/AI/MachineLearning/mod.rs | 128 +-- .../ApplicationModel/Activation/mod.rs | 128 +-- .../ApplicationModel/AppExtensions/mod.rs | 18 +- .../ApplicationModel/AppService/mod.rs | 28 +- .../Appointments/AppointmentsProvider/mod.rs | 10 +- .../Appointments/DataProvider/mod.rs | 28 +- .../ApplicationModel/Appointments/mod.rs | 66 +- .../ApplicationModel/Background/mod.rs | 198 ++--- .../ApplicationModel/Calls/Background/mod.rs | 12 +- .../ApplicationModel/Calls/Provider/mod.rs | 12 +- .../src/Windows/ApplicationModel/Calls/mod.rs | 96 +- .../src/Windows/ApplicationModel/Chat/mod.rs | 104 +-- .../CommunicationBlocking/mod.rs | 6 +- .../Contacts/DataProvider/mod.rs | 22 +- .../ApplicationModel/Contacts/Provider/mod.rs | 6 +- .../Windows/ApplicationModel/Contacts/mod.rs | 150 ++-- .../ConversationalAgent/mod.rs | 38 +- .../src/Windows/ApplicationModel/Core/mod.rs | 48 +- .../DataTransfer/DragDrop/Core/mod.rs | 18 +- .../DataTransfer/ShareTarget/mod.rs | 8 +- .../ApplicationModel/DataTransfer/mod.rs | 100 +-- .../Email/DataProvider/mod.rs | 64 +- .../src/Windows/ApplicationModel/Email/mod.rs | 112 +-- .../ExtendedExecution/Foreground/mod.rs | 4 +- .../ApplicationModel/ExtendedExecution/mod.rs | 4 +- .../ApplicationModel/Holographic/mod.rs | 4 +- .../ApplicationModel/LockScreen/mod.rs | 12 +- .../ApplicationModel/Payments/Provider/mod.rs | 12 +- .../Windows/ApplicationModel/Payments/mod.rs | 64 +- .../Preview/Holographic/mod.rs | 6 +- .../Preview/InkWorkspace/mod.rs | 4 +- .../ApplicationModel/Preview/Notes/mod.rs | 12 +- .../ApplicationModel/Resources/Core/mod.rs | 28 +- .../Resources/Management/mod.rs | 10 +- .../Windows/ApplicationModel/Resources/mod.rs | 14 +- .../ApplicationModel/Search/Core/mod.rs | 8 +- .../Windows/ApplicationModel/Search/mod.rs | 36 +- .../Store/LicenseManagement/mod.rs | 8 +- .../Store/Preview/InstallControl/mod.rs | 42 +- .../ApplicationModel/Store/Preview/mod.rs | 26 +- .../src/Windows/ApplicationModel/Store/mod.rs | 46 +- .../UserActivities/Core/mod.rs | 2 +- .../ApplicationModel/UserActivities/mod.rs | 44 +- .../UserDataAccounts/Provider/mod.rs | 10 +- .../UserDataAccounts/SystemAccess/mod.rs | 8 +- .../ApplicationModel/UserDataAccounts/mod.rs | 22 +- .../UserDataTasks/DataProvider/mod.rs | 24 +- .../ApplicationModel/UserDataTasks/mod.rs | 24 +- .../ApplicationModel/VoiceCommands/mod.rs | 24 +- .../ApplicationModel/Wallet/System/mod.rs | 6 +- .../Windows/ApplicationModel/Wallet/mod.rs | 26 +- .../src/Windows/ApplicationModel/mod.rs | 122 +-- .../libs/windows/src/Windows/Data/Html/mod.rs | 2 +- .../libs/windows/src/Windows/Data/Json/mod.rs | 18 +- .../libs/windows/src/Windows/Data/Pdf/mod.rs | 10 +- .../libs/windows/src/Windows/Data/Text/mod.rs | 42 +- .../windows/src/Windows/Data/Xml/Dom/mod.rs | 46 +- .../windows/src/Windows/Data/Xml/Xsl/mod.rs | 6 +- .../src/Windows/Devices/Adc/Provider/mod.rs | 4 +- .../windows/src/Windows/Devices/Adc/mod.rs | 8 +- .../src/Windows/Devices/Background/mod.rs | 4 +- .../Devices/Bluetooth/Advertisement/mod.rs | 40 +- .../Devices/Bluetooth/Background/mod.rs | 22 +- .../Bluetooth/GenericAttributeProfile/mod.rs | 114 +-- .../Windows/Devices/Bluetooth/Rfcomm/mod.rs | 22 +- .../src/Windows/Devices/Bluetooth/mod.rs | 70 +- .../windows/src/Windows/Devices/Custom/mod.rs | 10 +- .../src/Windows/Devices/Display/Core/mod.rs | 70 +- .../src/Windows/Devices/Display/mod.rs | 6 +- .../Windows/Devices/Enumeration/Pnp/mod.rs | 8 +- .../src/Windows/Devices/Enumeration/mod.rs | 64 +- .../Devices/Geolocation/Geofencing/mod.rs | 10 +- .../Devices/Geolocation/Provider/mod.rs | 2 +- .../src/Windows/Devices/Geolocation/mod.rs | 66 +- .../src/Windows/Devices/Gpio/Provider/mod.rs | 10 +- .../windows/src/Windows/Devices/Gpio/mod.rs | 18 +- .../src/Windows/Devices/Haptics/mod.rs | 12 +- .../Devices/HumanInterfaceDevice/mod.rs | 24 +- .../src/Windows/Devices/I2c/Provider/mod.rs | 8 +- .../windows/src/Windows/Devices/I2c/mod.rs | 12 +- .../src/Windows/Devices/Input/Preview/mod.rs | 22 +- .../windows/src/Windows/Devices/Input/mod.rs | 42 +- .../src/Windows/Devices/Lights/Effects/mod.rs | 30 +- .../windows/src/Windows/Devices/Lights/mod.rs | 14 +- .../windows/src/Windows/Devices/Midi/mod.rs | 58 +- .../Devices/PointOfService/Provider/mod.rs | 62 +- .../src/Windows/Devices/PointOfService/mod.rs | 208 ++--- .../src/Windows/Devices/Portable/mod.rs | 4 +- .../windows/src/Windows/Devices/Power/mod.rs | 6 +- .../Devices/Printers/Extensions/mod.rs | 20 +- .../src/Windows/Devices/Printers/mod.rs | 38 +- .../src/Windows/Devices/Pwm/Provider/mod.rs | 4 +- .../windows/src/Windows/Devices/Pwm/mod.rs | 10 +- .../windows/src/Windows/Devices/Radios/mod.rs | 4 +- .../src/Windows/Devices/Scanners/mod.rs | 14 +- .../src/Windows/Devices/Sensors/Custom/mod.rs | 12 +- .../src/Windows/Devices/Sensors/mod.rs | 298 +++---- .../Devices/SerialCommunication/mod.rs | 8 +- .../src/Windows/Devices/SmartCards/mod.rs | 108 +-- .../windows/src/Windows/Devices/Sms/mod.rs | 60 +- .../src/Windows/Devices/Spi/Provider/mod.rs | 10 +- .../windows/src/Windows/Devices/Spi/mod.rs | 14 +- .../windows/src/Windows/Devices/Usb/mod.rs | 56 +- .../windows/src/Windows/Devices/WiFi/mod.rs | 24 +- .../Devices/WiFiDirect/Services/mod.rs | 22 +- .../src/Windows/Devices/WiFiDirect/mod.rs | 32 +- .../libs/windows/src/Windows/Devices/mod.rs | 8 +- .../Windows/Embedded/DeviceLockdown/mod.rs | 4 +- .../src/Windows/Foundation/Collections/mod.rs | 4 +- .../src/Windows/Foundation/Diagnostics/mod.rs | 46 +- .../src/Windows/Foundation/Metadata/mod.rs | 2 +- .../windows/src/Windows/Foundation/mod.rs | 44 +- .../src/Windows/Gaming/Input/Custom/mod.rs | 24 +- .../Windows/Gaming/Input/ForceFeedback/mod.rs | 16 +- .../src/Windows/Gaming/Input/Preview/mod.rs | 2 +- .../windows/src/Windows/Gaming/Input/mod.rs | 42 +- .../Gaming/Preview/GamesEnumeration/mod.rs | 18 +- .../libs/windows/src/Windows/Gaming/UI/mod.rs | 12 +- .../Windows/Gaming/XboxLive/Storage/mod.rs | 24 +- .../Windows/Globalization/Collation/mod.rs | 6 +- .../Globalization/DateTimeFormatting/mod.rs | 8 +- .../src/Windows/Globalization/Fonts/mod.rs | 6 +- .../Globalization/NumberFormatting/mod.rs | 36 +- .../PhoneNumberFormatting/mod.rs | 10 +- .../windows/src/Windows/Globalization/mod.rs | 60 +- .../src/Windows/Graphics/Capture/mod.rs | 26 +- .../Graphics/DirectX/Direct3D11/mod.rs | 4 +- .../src/Windows/Graphics/Display/Core/mod.rs | 8 +- .../src/Windows/Graphics/Display/mod.rs | 42 +- .../src/Windows/Graphics/Effects/mod.rs | 4 +- .../src/Windows/Graphics/Holographic/mod.rs | 80 +- .../src/Windows/Graphics/Imaging/mod.rs | 40 +- .../Graphics/Printing/OptionDetails/mod.rs | 58 +- .../Graphics/Printing/PrintSupport/mod.rs | 26 +- .../Graphics/Printing/PrintTicket/mod.rs | 16 +- .../Windows/Graphics/Printing/Workflow/mod.rs | 66 +- .../src/Windows/Graphics/Printing/mod.rs | 54 +- .../src/Windows/Graphics/Printing3D/mod.rs | 82 +- .../libs/windows/src/Windows/Graphics/mod.rs | 2 +- .../src/Windows/Management/Core/mod.rs | 4 +- .../Management/Deployment/Preview/mod.rs | 4 +- .../src/Windows/Management/Deployment/mod.rs | 78 +- .../src/Windows/Management/Policies/mod.rs | 4 +- .../src/Windows/Management/Update/mod.rs | 40 +- .../src/Windows/Management/Workplace/mod.rs | 6 +- .../windows/src/Windows/Management/mod.rs | 6 +- .../src/Windows/Media/AppBroadcasting/mod.rs | 10 +- .../src/Windows/Media/AppRecording/mod.rs | 14 +- .../windows/src/Windows/Media/Audio/mod.rs | 130 +-- .../src/Windows/Media/Capture/Core/mod.rs | 6 +- .../src/Windows/Media/Capture/Frames/mod.rs | 60 +- .../windows/src/Windows/Media/Capture/mod.rs | 228 ++--- .../windows/src/Windows/Media/Casting/mod.rs | 16 +- .../src/Windows/Media/ClosedCaptioning/mod.rs | 4 +- .../Windows/Media/ContentRestrictions/mod.rs | 10 +- .../windows/src/Windows/Media/Control/mod.rs | 24 +- .../src/Windows/Media/Core/Preview/mod.rs | 2 +- .../windows/src/Windows/Media/Core/mod.rs | 216 ++--- .../src/Windows/Media/Devices/Core/mod.rs | 38 +- .../windows/src/Windows/Media/Devices/mod.rs | 136 +-- .../src/Windows/Media/DialProtocol/mod.rs | 24 +- .../windows/src/Windows/Media/Editing/mod.rs | 26 +- .../windows/src/Windows/Media/Effects/mod.rs | 42 +- .../src/Windows/Media/FaceAnalysis/mod.rs | 10 +- .../windows/src/Windows/Media/Import/mod.rs | 34 +- .../src/Windows/Media/MediaProperties/mod.rs | 88 +- .../windows/src/Windows/Media/Miracast/mod.rs | 36 +- .../libs/windows/src/Windows/Media/Ocr/mod.rs | 10 +- .../windows/src/Windows/Media/PlayTo/mod.rs | 36 +- .../windows/src/Windows/Media/Playback/mod.rs | 130 +-- .../src/Windows/Media/Playlists/mod.rs | 4 +- .../Windows/Media/Protection/PlayReady/mod.rs | 108 +-- .../src/Windows/Media/Protection/mod.rs | 32 +- .../Windows/Media/SpeechRecognition/mod.rs | 56 +- .../src/Windows/Media/SpeechSynthesis/mod.rs | 18 +- .../Windows/Media/Streaming/Adaptive/mod.rs | 56 +- .../src/Windows/Media/Transcoding/mod.rs | 6 +- crates/libs/windows/src/Windows/Media/mod.rs | 74 +- .../Networking/BackgroundTransfer/mod.rs | 76 +- .../Windows/Networking/Connectivity/mod.rs | 78 +- .../Networking/NetworkOperators/mod.rs | 228 ++--- .../src/Windows/Networking/Proximity/mod.rs | 30 +- .../Networking/PushNotifications/mod.rs | 24 +- .../Networking/ServiceDiscovery/Dnssd/mod.rs | 8 +- .../src/Windows/Networking/Sockets/mod.rs | 122 +-- .../windows/src/Windows/Networking/Vpn/mod.rs | 112 +-- .../src/Windows/Networking/XboxLive/mod.rs | 26 +- .../windows/src/Windows/Networking/mod.rs | 10 +- .../Windows/Perception/Automation/Core/mod.rs | 2 +- .../src/Windows/Perception/People/mod.rs | 12 +- .../Windows/Perception/Spatial/Preview/mod.rs | 6 +- .../Perception/Spatial/Surfaces/mod.rs | 16 +- .../src/Windows/Perception/Spatial/mod.rs | 60 +- .../windows/src/Windows/Perception/mod.rs | 8 +- .../src/Windows/Phone/ApplicationModel/mod.rs | 2 +- .../Windows/Phone/Devices/Notification/mod.rs | 4 +- .../src/Windows/Phone/Devices/Power/mod.rs | 4 +- .../Phone/Management/Deployment/mod.rs | 14 +- .../src/Windows/Phone/Media/Devices/mod.rs | 4 +- .../Phone/Notification/Management/mod.rs | 56 +- .../PersonalInformation/Provisioning/mod.rs | 6 +- .../Windows/Phone/PersonalInformation/mod.rs | 26 +- .../src/Windows/Phone/StartScreen/mod.rs | 6 +- .../src/Windows/Phone/System/Power/mod.rs | 4 +- .../src/Windows/Phone/System/Profile/mod.rs | 2 +- .../UserProfile/GameServices/Core/mod.rs | 6 +- .../windows/src/Windows/Phone/System/mod.rs | 4 +- .../windows/src/Windows/Phone/UI/Input/mod.rs | 8 +- .../Authentication/Identity/Core/mod.rs | 12 +- .../Security/Authentication/Identity/mod.rs | 6 +- .../Security/Authentication/OnlineId/mod.rs | 18 +- .../Security/Authentication/Web/Core/mod.rs | 34 +- .../Authentication/Web/Provider/mod.rs | 50 +- .../Security/Authentication/Web/mod.rs | 6 +- .../Authorization/AppCapabilityAccess/mod.rs | 8 +- .../Windows/Security/Credentials/UI/mod.rs | 8 +- .../src/Windows/Security/Credentials/mod.rs | 32 +- .../Security/Cryptography/Certificates/mod.rs | 86 +- .../Windows/Security/Cryptography/Core/mod.rs | 60 +- .../Cryptography/DataProtection/mod.rs | 4 +- .../src/Windows/Security/Cryptography/mod.rs | 2 +- .../Windows/Security/DataProtection/mod.rs | 10 +- .../Windows/Security/EnterpriseData/mod.rs | 52 +- .../ExchangeActiveSyncProvisioning/mod.rs | 10 +- .../src/Windows/Security/Isolation/mod.rs | 62 +- .../src/Windows/Services/Maps/Guidance/mod.rs | 34 +- .../Windows/Services/Maps/LocalSearch/mod.rs | 16 +- .../Windows/Services/Maps/OfflineMaps/mod.rs | 8 +- .../windows/src/Windows/Services/Maps/mod.rs | 68 +- .../windows/src/Windows/Services/Store/mod.rs | 84 +- .../Windows/Services/TargetedContent/mod.rs | 30 +- .../src/Windows/Storage/AccessCache/mod.rs | 12 +- .../src/Windows/Storage/BulkAccess/mod.rs | 6 +- .../src/Windows/Storage/Compression/mod.rs | 8 +- .../src/Windows/Storage/FileProperties/mod.rs | 18 +- .../Windows/Storage/Pickers/Provider/mod.rs | 18 +- .../src/Windows/Storage/Pickers/mod.rs | 30 +- .../src/Windows/Storage/Provider/mod.rs | 68 +- .../windows/src/Windows/Storage/Search/mod.rs | 34 +- .../src/Windows/Storage/Streams/mod.rs | 38 +- .../libs/windows/src/Windows/Storage/mod.rs | 136 +-- .../System/Diagnostics/DevicePortal/mod.rs | 12 +- .../System/Diagnostics/Telemetry/mod.rs | 6 +- .../System/Diagnostics/TraceReporting/mod.rs | 6 +- .../src/Windows/System/Diagnostics/mod.rs | 42 +- .../windows/src/Windows/System/Display/mod.rs | 2 +- .../System/Implementation/FileExplorer/mod.rs | 10 +- .../src/Windows/System/Inventory/mod.rs | 4 +- .../windows/src/Windows/System/Power/mod.rs | 6 +- .../System/Profile/SystemManufacturers/mod.rs | 10 +- .../windows/src/Windows/System/Profile/mod.rs | 38 +- .../Windows/System/RemoteDesktop/Input/mod.rs | 6 +- .../System/RemoteDesktop/Provider/mod.rs | 16 +- .../src/Windows/System/RemoteDesktop/mod.rs | 2 +- .../src/Windows/System/RemoteSystems/mod.rs | 136 +-- .../src/Windows/System/Threading/Core/mod.rs | 10 +- .../src/Windows/System/Threading/mod.rs | 12 +- .../windows/src/Windows/System/Update/mod.rs | 6 +- .../src/Windows/System/UserProfile/mod.rs | 36 +- crates/libs/windows/src/Windows/System/mod.rs | 162 ++-- .../src/Windows/UI/Accessibility/mod.rs | 4 +- .../src/Windows/UI/ApplicationSettings/mod.rs | 46 +- .../src/Windows/UI/Composition/Core/mod.rs | 2 +- .../src/Windows/UI/Composition/Desktop/mod.rs | 2 +- .../Windows/UI/Composition/Diagnostics/mod.rs | 6 +- .../src/Windows/UI/Composition/Effects/mod.rs | 4 +- .../UI/Composition/Interactions/mod.rs | 84 +- .../src/Windows/UI/Composition/Scenes/mod.rs | 58 +- .../windows/src/Windows/UI/Composition/mod.rs | 368 ++++---- .../Windows/UI/Core/AnimationMetrics/mod.rs | 10 +- .../src/Windows/UI/Core/Preview/mod.rs | 10 +- .../libs/windows/src/Windows/UI/Core/mod.rs | 108 +-- .../windows/src/Windows/UI/Input/Core/mod.rs | 6 +- .../Windows/UI/Input/Inking/Analysis/mod.rs | 24 +- .../src/Windows/UI/Input/Inking/Core/mod.rs | 18 +- .../Windows/UI/Input/Inking/Preview/mod.rs | 4 +- .../src/Windows/UI/Input/Inking/mod.rs | 96 +- .../Windows/UI/Input/Preview/Injection/mod.rs | 20 +- .../src/Windows/UI/Input/Preview/mod.rs | 2 +- .../src/Windows/UI/Input/Spatial/mod.rs | 92 +- .../libs/windows/src/Windows/UI/Input/mod.rs | 136 +-- .../UI/Notifications/Management/mod.rs | 4 +- .../Windows/UI/Notifications/Preview/mod.rs | 2 +- .../src/Windows/UI/Notifications/mod.rs | 132 +-- .../libs/windows/src/Windows/UI/Popups/mod.rs | 12 +- .../libs/windows/src/Windows/UI/Shell/mod.rs | 48 +- .../windows/src/Windows/UI/StartScreen/mod.rs | 42 +- .../windows/src/Windows/UI/Text/Core/mod.rs | 38 +- .../libs/windows/src/Windows/UI/Text/mod.rs | 26 +- .../src/Windows/UI/UIAutomation/Core/mod.rs | 26 +- .../src/Windows/UI/UIAutomation/mod.rs | 8 +- .../src/Windows/UI/ViewManagement/Core/mod.rs | 38 +- .../src/Windows/UI/ViewManagement/mod.rs | 98 +-- .../windows/src/Windows/UI/WebUI/Core/mod.rs | 30 +- .../libs/windows/src/Windows/UI/WebUI/mod.rs | 46 +- .../UI/WindowManagement/Preview/mod.rs | 4 +- .../src/Windows/UI/WindowManagement/mod.rs | 48 +- crates/libs/windows/src/Windows/UI/mod.rs | 14 +- .../windows/src/Windows/Web/AtomPub/mod.rs | 10 +- .../src/Windows/Web/Http/Diagnostics/mod.rs | 14 +- .../src/Windows/Web/Http/Filters/mod.rs | 18 +- .../src/Windows/Web/Http/Headers/mod.rs | 132 +-- .../libs/windows/src/Windows/Web/Http/mod.rs | 58 +- .../src/Windows/Web/Syndication/mod.rs | 46 +- .../windows/src/Windows/Web/UI/Interop/mod.rs | 14 +- crates/libs/windows/src/Windows/Web/UI/mod.rs | 34 +- crates/libs/windows/src/Windows/Web/mod.rs | 4 +- .../Win32/AI/MachineLearning/DirectML/mod.rs | 24 +- .../Win32/AI/MachineLearning/WinML/mod.rs | 32 +- .../src/Windows/Win32/Data/HtmlHelp/mod.rs | 12 +- .../src/Windows/Win32/Data/Xml/MsXml/mod.rs | 172 ++-- .../src/Windows/Win32/Data/Xml/XmlLite/mod.rs | 8 +- .../Windows/Win32/Devices/DeviceAccess/mod.rs | 6 +- .../src/Windows/Win32/Devices/Display/mod.rs | 4 +- .../Win32/Devices/Enumeration/Pnp/mod.rs | 52 +- .../src/Windows/Win32/Devices/Fax/mod.rs | 124 +-- .../Win32/Devices/FunctionDiscovery/mod.rs | 34 +- .../Windows/Win32/Devices/Geolocation/mod.rs | 28 +- .../Win32/Devices/HumanInterfaceDevice/mod.rs | 40 +- .../Win32/Devices/ImageAcquisition/mod.rs | 62 +- .../Win32/Devices/PortableDevices/mod.rs | 68 +- .../src/Windows/Win32/Devices/Sensors/mod.rs | 14 +- .../src/Windows/Win32/Devices/Tapi/mod.rs | 238 ++--- .../Win32/Devices/WebServicesOnDevices/mod.rs | 62 +- .../windows/src/Windows/Win32/Gaming/mod.rs | 16 +- .../src/Windows/Win32/Globalization/mod.rs | 54 +- .../Graphics/CompositionSwapchain/mod.rs | 18 +- .../src/Windows/Win32/Graphics/DXCore/mod.rs | 6 +- .../Win32/Graphics/Direct2D/Common/mod.rs | 2 +- .../Windows/Win32/Graphics/Direct2D/mod.rs | 228 ++--- .../Win32/Graphics/Direct3D/Dxc/mod.rs | 52 +- .../Windows/Win32/Graphics/Direct3D/mod.rs | 6 +- .../Windows/Win32/Graphics/Direct3D10/mod.rs | 110 +-- .../Windows/Win32/Graphics/Direct3D11/mod.rs | 184 ++-- .../Win32/Graphics/Direct3D11on12/mod.rs | 6 +- .../Windows/Win32/Graphics/Direct3D12/mod.rs | 190 ++-- .../Windows/Win32/Graphics/Direct3D9/mod.rs | 40 +- .../Win32/Graphics/Direct3D9on12/mod.rs | 2 +- .../Win32/Graphics/DirectComposition/mod.rs | 94 +- .../Windows/Win32/Graphics/DirectDraw/mod.rs | 36 +- .../Win32/Graphics/DirectManipulation/mod.rs | 36 +- .../Windows/Win32/Graphics/DirectWrite/mod.rs | 190 ++-- .../src/Windows/Win32/Graphics/Dxgi/mod.rs | 94 +- .../src/Windows/Win32/Graphics/GdiPlus/mod.rs | 4 +- .../Windows/Win32/Graphics/Imaging/D2D/mod.rs | 4 +- .../src/Windows/Win32/Graphics/Imaging/mod.rs | 102 +-- .../Windows/Win32/Graphics/Printing/mod.rs | 200 ++--- .../src/Windows/Win32/Media/Audio/Apo/mod.rs | 34 +- .../Win32/Media/Audio/DirectMusic/mod.rs | 26 +- .../Win32/Media/Audio/DirectSound/mod.rs | 44 +- .../Win32/Media/Audio/Endpoints/mod.rs | 22 +- .../Windows/Win32/Media/Audio/XAudio2/mod.rs | 22 +- .../src/Windows/Win32/Media/Audio/mod.rs | 152 ++-- .../Windows/Win32/Media/DeviceManager/mod.rs | 116 +-- .../Windows/Win32/Media/DirectShow/Tv/mod.rs | 574 ++++++------ .../Windows/Win32/Media/DirectShow/Xml/mod.rs | 2 +- .../src/Windows/Win32/Media/DirectShow/mod.rs | 568 ++++++------ .../Windows/Win32/Media/DxMediaObjects/mod.rs | 12 +- .../Win32/Media/KernelStreaming/mod.rs | 50 +- .../Win32/Media/LibrarySharingServices/mod.rs | 10 +- .../Win32/Media/MediaFoundation/mod.rs | 730 +++++++-------- .../Windows/Win32/Media/MediaPlayer/mod.rs | 214 ++--- .../src/Windows/Win32/Media/Multimedia/mod.rs | 12 +- .../Win32/Media/PictureAcquisition/mod.rs | 22 +- .../src/Windows/Win32/Media/Speech/mod.rs | 242 ++--- .../Win32/Media/WindowsMediaFormat/mod.rs | 212 ++--- .../windows/src/Windows/Win32/Media/mod.rs | 6 +- .../NetworkManagement/MobileBroadband/mod.rs | 84 +- .../NetworkManagement/NetManagement/mod.rs | 50 +- .../NetworkDiagnosticsFramework/mod.rs | 10 +- .../NetworkPolicyServer/mod.rs | 14 +- .../Win32/NetworkManagement/WiFi/mod.rs | 20 +- .../WindowsConnectNow/mod.rs | 4 +- .../NetworkManagement/WindowsFirewall/mod.rs | 88 +- .../Win32/Networking/ActiveDirectory/mod.rs | 156 ++-- .../mod.rs | 74 +- .../Win32/Networking/Clustering/mod.rs | 114 +-- .../Networking/NetworkListManager/mod.rs | 28 +- .../RemoteDifferentialCompression/mod.rs | 34 +- .../Windows/Win32/Networking/WinHttp/mod.rs | 4 +- .../Windows/Win32/Networking/WinInet/mod.rs | 10 +- .../Networking/WindowsWebServices/mod.rs | 2 +- .../Authentication/Identity/Provider/mod.rs | 28 +- .../Security/Authentication/Identity/mod.rs | 2 +- .../Win32/Security/Authorization/UI/mod.rs | 14 +- .../Win32/Security/Authorization/mod.rs | 68 +- .../Win32/Security/ConfigurationSnapin/mod.rs | 4 +- .../Security/Cryptography/Certificates/mod.rs | 294 +++---- .../Win32/Security/Cryptography/mod.rs | 12 +- .../Win32/Security/EnterpriseData/mod.rs | 6 +- .../ExtensibleAuthenticationProtocol/mod.rs | 12 +- .../Windows/Win32/Security/Isolation/mod.rs | 6 +- .../src/Windows/Win32/Security/Tpm/mod.rs | 8 +- .../Win32/Storage/DataDeduplication/mod.rs | 12 +- .../Win32/Storage/EnhancedStorage/mod.rs | 12 +- .../Windows/Win32/Storage/FileHistory/mod.rs | 8 +- .../Storage/FileServerResourceManager/mod.rs | 122 +-- .../Windows/Win32/Storage/FileSystem/mod.rs | 10 +- .../src/Windows/Win32/Storage/Imapi/mod.rs | 116 +-- .../Windows/Win32/Storage/IndexServer/mod.rs | 4 +- .../Windows/Win32/Storage/OfflineFiles/mod.rs | 70 +- .../Win32/Storage/Packaging/Appx/mod.rs | 172 ++-- .../Win32/Storage/Packaging/Opc/mod.rs | 62 +- .../Win32/Storage/VirtualDiskService/mod.rs | 148 ++-- .../src/Windows/Win32/Storage/Vss/mod.rs | 50 +- .../Windows/Win32/Storage/Xps/Printing/mod.rs | 12 +- .../src/Windows/Win32/Storage/Xps/mod.rs | 136 +-- .../Windows/Win32/System/AddressBook/mod.rs | 42 +- .../Windows/Win32/System/Antimalware/mod.rs | 12 +- .../mod.rs | 78 +- .../Win32/System/AssessmentTool/mod.rs | 18 +- .../Windows/Win32/System/ClrHosting/mod.rs | 134 +-- .../Windows/Win32/System/Com/CallObj/mod.rs | 14 +- .../System/Com/ChannelCredentials/mod.rs | 2 +- .../Windows/Win32/System/Com/Events/mod.rs | 32 +- .../Windows/Win32/System/Com/Marshal/mod.rs | 6 +- .../Win32/System/Com/StructuredStorage/mod.rs | 30 +- .../src/Windows/Win32/System/Com/UI/mod.rs | 4 +- .../Windows/Win32/System/Com/Urlmon/mod.rs | 94 +- .../src/Windows/Win32/System/Com/mod.rs | 230 ++--- .../Win32/System/ComponentServices/mod.rs | 246 +++--- .../src/Windows/Win32/System/Contacts/mod.rs | 32 +- .../Win32/System/DeploymentServices/mod.rs | 50 +- .../Win32/System/DesktopSharing/mod.rs | 56 +- .../System/Diagnostics/ClrProfiling/mod.rs | 66 +- .../Diagnostics/Debug/ActiveScript/mod.rs | 248 +++--- .../Diagnostics/Debug/Extensions/mod.rs | 240 ++--- .../Win32/System/Diagnostics/Debug/mod.rs | 22 +- .../Win32/System/Diagnostics/Etw/mod.rs | 6 +- .../DistributedTransactionCoordinator/mod.rs | 132 +-- .../System/EventNotificationService/mod.rs | 8 +- .../Windows/Win32/System/GroupPolicy/mod.rs | 88 +- .../src/Windows/Win32/System/Iis/mod.rs | 44 +- .../Win32/System/MessageQueuing/mod.rs | 86 +- .../src/Windows/Win32/System/Mmc/mod.rs | 138 +-- .../src/Windows/Win32/System/Ole/mod.rs | 186 ++-- .../Win32/System/ParentalControls/mod.rs | 16 +- .../Windows/Win32/System/Performance/mod.rs | 66 +- .../System/RealTimeCommunications/mod.rs | 132 +-- .../Win32/System/RemoteAssistance/mod.rs | 6 +- .../Windows/Win32/System/RemoteDesktop/mod.rs | 204 ++--- .../Win32/System/RemoteManagement/mod.rs | 24 +- .../src/Windows/Win32/System/Search/mod.rs | 352 ++++---- .../Win32/System/SecurityCenter/mod.rs | 10 +- .../Windows/Win32/System/ServerBackup/mod.rs | 6 +- .../SettingsManagementInfrastructure/mod.rs | 16 +- .../src/Windows/Win32/System/SideShow/mod.rs | 22 +- .../Windows/Win32/System/TaskScheduler/mod.rs | 98 +-- .../src/Windows/Win32/System/Threading/mod.rs | 8 +- .../Win32/System/TransactionServer/mod.rs | 10 +- .../Windows/Win32/System/UpdateAgent/mod.rs | 152 ++-- .../Win32/System/UpdateAssessment/mod.rs | 2 +- .../Windows/Win32/System/WinRT/AllJoyn/mod.rs | 8 +- .../Win32/System/WinRT/Composition/mod.rs | 20 +- .../Win32/System/WinRT/CoreInputView/mod.rs | 2 +- .../Win32/System/WinRT/Direct3D11/mod.rs | 2 +- .../Windows/Win32/System/WinRT/Display/mod.rs | 4 +- .../System/WinRT/Graphics/Capture/mod.rs | 2 +- .../System/WinRT/Graphics/Direct2D/mod.rs | 4 +- .../System/WinRT/Graphics/Imaging/mod.rs | 4 +- .../Win32/System/WinRT/Holographic/mod.rs | 8 +- .../Win32/System/WinRT/Isolation/mod.rs | 2 +- .../src/Windows/Win32/System/WinRT/ML/mod.rs | 12 +- .../Windows/Win32/System/WinRT/Media/mod.rs | 8 +- .../Win32/System/WinRT/Metadata/mod.rs | 40 +- .../src/Windows/Win32/System/WinRT/Pdf/mod.rs | 2 +- .../Win32/System/WinRT/Printing/mod.rs | 14 +- .../Windows/Win32/System/WinRT/Shell/mod.rs | 2 +- .../Windows/Win32/System/WinRT/Storage/mod.rs | 12 +- .../src/Windows/Win32/System/WinRT/mod.rs | 78 +- .../Win32/System/WindowsProgramming/mod.rs | 20 +- .../Windows/Win32/System/WindowsSync/mod.rs | 158 ++-- .../src/Windows/Win32/System/Wmi/mod.rs | 140 +-- .../src/Windows/Win32/UI/Accessibility/mod.rs | 272 +++--- .../src/Windows/Win32/UI/Animation/mod.rs | 62 +- .../src/Windows/Win32/UI/ColorSystem/mod.rs | 4 +- .../Windows/Win32/UI/Controls/Dialogs/mod.rs | 4 +- .../Windows/Win32/UI/Controls/RichEdit/mod.rs | 48 +- .../src/Windows/Win32/UI/Controls/mod.rs | 4 +- .../src/Windows/Win32/UI/Input/Ime/mod.rs | 34 +- .../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 | 6 +- .../LegacyWindowsEnvironmentFeatures/mod.rs | 16 +- .../src/Windows/Win32/UI/Notifications/mod.rs | 2 +- .../src/Windows/Win32/UI/Ribbon/mod.rs | 24 +- .../src/Windows/Win32/UI/Shell/Common/mod.rs | 4 +- .../Win32/UI/Shell/PropertiesSystem/mod.rs | 52 +- .../windows/src/Windows/Win32/UI/Shell/mod.rs | 832 +++++++++--------- .../src/Windows/Win32/UI/TabletPC/mod.rs | 138 +-- .../src/Windows/Win32/UI/TextServices/mod.rs | 312 +++---- .../windows/src/Windows/Win32/UI/Wpf/mod.rs | 40 +- .../Windows/Win32/Web/InternetExplorer/mod.rs | 150 ++-- .../json_validator_winrt/src/bindings.rs | 4 +- .../src/bindings.rs | 4 +- crates/tests/component/src/bindings.rs | 10 +- crates/tests/component_client/src/bindings.rs | 10 +- crates/tests/riddle/src/params.rs | 2 +- crates/tests/standalone/src/b_calendar.rs | 8 +- crates/tests/standalone/src/b_stringable.rs | 2 +- crates/tests/standalone/src/b_uri.rs | 16 +- 506 files changed, 12603 insertions(+), 12605 deletions(-) diff --git a/crates/libs/bindgen/src/rust/delegates.rs b/crates/libs/bindgen/src/rust/delegates.rs index 3368f79c89..9d60b099a0 100644 --- a/crates/libs/bindgen/src/rust/delegates.rs +++ b/crates/libs/bindgen/src/rust/delegates.rs @@ -69,7 +69,7 @@ fn gen_win_delegate(writer: &Writer, def: metadata::TypeDef) -> TokenStream { let iid = writer.guid_literal(metadata::type_def_guid(def)); quote! { #features - windows_core::imp::com_interface!(#ident, #vtbl, #iid); + windows_core::imp::define_interface!(#ident, #vtbl, #iid); } } else { quote! { diff --git a/crates/libs/bindgen/src/rust/interfaces.rs b/crates/libs/bindgen/src/rust/interfaces.rs index 19efc7a2a9..eae24fd8a7 100644 --- a/crates/libs/bindgen/src/rust/interfaces.rs +++ b/crates/libs/bindgen/src/rust/interfaces.rs @@ -51,7 +51,7 @@ fn gen_win_interface(writer: &Writer, def: metadata::TypeDef) -> TokenStream { let iid = writer.guid_literal(metadata::type_def_guid(def)); tokens.combine("e! { #features - windows_core::imp::com_interface!(#ident, #vtbl_ident, #iid); + windows_core::imp::define_interface!(#ident, #vtbl_ident, #iid); }); } else { tokens.combine("e! { @@ -64,7 +64,7 @@ fn gen_win_interface(writer: &Writer, def: metadata::TypeDef) -> TokenStream { } else { tokens.combine("e! { #features - windows_core::imp::interface!(#ident, #vtbl_ident); + windows_core::imp::define_interface!(#ident, #vtbl_ident); }); } diff --git a/crates/libs/core/src/imp/com_bindings.rs b/crates/libs/core/src/imp/com_bindings.rs index e535df02a7..36be688f14 100644 --- a/crates/libs/core/src/imp/com_bindings.rs +++ b/crates/libs/core/src/imp/com_bindings.rs @@ -62,14 +62,14 @@ impl Default for DateTime { pub const E_BOUNDS: windows_core::HRESULT = windows_core::HRESULT(0x8000000B_u32 as _); pub const E_NOINTERFACE: windows_core::HRESULT = windows_core::HRESULT(0x80004002_u32 as _); pub const E_OUTOFMEMORY: windows_core::HRESULT = windows_core::HRESULT(0x8007000E_u32 as _); -windows_core::imp::com_interface!(IAgileObject, IAgileObject_Vtbl, 0x94ea2b94_e9cc_49e0_c0ff_ee64ca8f5b90); +windows_core::imp::define_interface!(IAgileObject, IAgileObject_Vtbl, 0x94ea2b94_e9cc_49e0_c0ff_ee64ca8f5b90); windows_core::imp::interface_hierarchy!(IAgileObject, windows_core::IUnknown); impl IAgileObject {} #[repr(C)] pub struct IAgileObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IAgileReference, IAgileReference_Vtbl, 0xc03f6a43_65a4_9818_987e_e0b810d2a6f2); +windows_core::imp::define_interface!(IAgileReference, IAgileReference_Vtbl, 0xc03f6a43_65a4_9818_987e_e0b810d2a6f2); windows_core::imp::interface_hierarchy!(IAgileReference, windows_core::IUnknown); impl IAgileReference { pub unsafe fn Resolve(&self) -> windows_core::Result @@ -85,7 +85,7 @@ pub struct IAgileReference_Vtbl { pub base__: windows_core::IUnknown_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::com_interface!(IPropertyValue, IPropertyValue_Vtbl, 0x4bd682dd_7554_40e9_9a9b_82654ede7e62); +windows_core::imp::define_interface!(IPropertyValue, IPropertyValue_Vtbl, 0x4bd682dd_7554_40e9_9a9b_82654ede7e62); windows_core::imp::interface_hierarchy!(IPropertyValue, windows_core::IUnknown, windows_core::IInspectable); impl IPropertyValue { pub fn Type(&self) -> windows_core::Result { @@ -351,7 +351,7 @@ pub struct IPropertyValue_Vtbl { pub GetSizeArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut Size) -> windows_core::HRESULT, pub GetRectArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyValueStatics, IPropertyValueStatics_Vtbl, 0x629bdbc8_d932_4ff4_96b9_8d96c5c1e858); +windows_core::imp::define_interface!(IPropertyValueStatics, IPropertyValueStatics_Vtbl, 0x629bdbc8_d932_4ff4_96b9_8d96c5c1e858); #[repr(C)] pub struct IPropertyValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -646,7 +646,7 @@ where pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::AbiType) -> windows_core::HRESULT, pub T: core::marker::PhantomData, } -windows_core::imp::com_interface!(IStringable, IStringable_Vtbl, 0x96369f54_8eb6_48f0_abce_c1b211e627c3); +windows_core::imp::define_interface!(IStringable, IStringable_Vtbl, 0x96369f54_8eb6_48f0_abce_c1b211e627c3); windows_core::imp::interface_hierarchy!(IStringable, windows_core::IUnknown, windows_core::IInspectable); impl IStringable { pub fn ToString(&self) -> windows_core::Result { @@ -665,7 +665,7 @@ 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, } -windows_core::imp::com_interface!(IWeakReference, IWeakReference_Vtbl, 0x00000037_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IWeakReference, IWeakReference_Vtbl, 0x00000037_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IWeakReference, windows_core::IUnknown); impl IWeakReference { pub unsafe fn Resolve(&self) -> windows_core::Result @@ -681,7 +681,7 @@ pub struct IWeakReference_Vtbl { pub base__: windows_core::IUnknown_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::com_interface!(IWeakReferenceSource, IWeakReferenceSource_Vtbl, 0x00000038_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IWeakReferenceSource, IWeakReferenceSource_Vtbl, 0x00000038_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IWeakReferenceSource, windows_core::IUnknown); impl IWeakReferenceSource { pub unsafe fn GetWeakReference(&self) -> windows_core::Result { diff --git a/crates/libs/core/src/imp/generic_factory.rs b/crates/libs/core/src/imp/generic_factory.rs index aea4b3c0ec..a846bc4ab8 100644 --- a/crates/libs/core/src/imp/generic_factory.rs +++ b/crates/libs/core/src/imp/generic_factory.rs @@ -2,7 +2,7 @@ use crate::Interface; // A streamlined version of the IActivationFactory interface used by WinRT class factories used internally by the windows crate // to simplify code generation. Components should implement the `IActivationFactory` interface published by the windows crate. -super::com_interface!(IGenericFactory, IGenericFactory_Vtbl, 0x00000035_0000_0000_c000_000000000046); +super::define_interface!(IGenericFactory, IGenericFactory_Vtbl, 0x00000035_0000_0000_c000_000000000046); super::interface_hierarchy!(IGenericFactory, crate::IUnknown, crate::IInspectable); impl IGenericFactory { diff --git a/crates/libs/core/src/imp/mod.rs b/crates/libs/core/src/imp/mod.rs index 80d8bb8a00..0dfa52d436 100644 --- a/crates/libs/core/src/imp/mod.rs +++ b/crates/libs/core/src/imp/mod.rs @@ -72,37 +72,27 @@ pub use required_hierarchy; #[doc(hidden)] #[macro_export] -macro_rules! interface { - ($(#[$doc:meta])? $name:ident, $vtbl:ident) => { - $(#[$doc])? +macro_rules! define_interface { + ($name:ident, $vtbl:ident, $iid:literal) => { #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] - pub struct $name(::std::ptr::NonNull<::std::ffi::c_void>); + pub struct $name(::windows_core::IUnknown); unsafe impl ::windows_core::Interface for $name { type Vtable = $vtbl; - const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); - const UNKNOWN: bool = false; + const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128($iid); } }; -} - -#[doc(hidden)] -pub use interface; - -#[doc(hidden)] -#[macro_export] -macro_rules! com_interface { - ($(#[$doc:meta])? $name:ident, $vtbl:ident, $iid:literal) => { - $(#[$doc])? + ($name:ident, $vtbl:ident) => { #[repr(transparent)] #[derive(::core::cmp::PartialEq, ::core::cmp::Eq, ::core::fmt::Debug, ::core::clone::Clone)] - pub struct $name(::windows_core::IUnknown); + pub struct $name(::std::ptr::NonNull<::std::ffi::c_void>); unsafe impl ::windows_core::Interface for $name { type Vtable = $vtbl; - const IID: ::windows_core::GUID = ::windows_core::GUID::from_u128($iid); + const IID: ::windows_core::GUID = ::windows_core::GUID::zeroed(); + const UNKNOWN: bool = false; } }; } #[doc(hidden)] -pub use com_interface; +pub use define_interface; diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs index 77714d77a8..23bc2ed6ec 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IImageFeatureDescriptor, IImageFeatureDescriptor_Vtbl, 0x365585a5_171a_4a2a_985f_265159d3895a); +windows_core::imp::define_interface!(IImageFeatureDescriptor, IImageFeatureDescriptor_Vtbl, 0x365585a5_171a_4a2a_985f_265159d3895a); #[repr(C)] pub struct IImageFeatureDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -13,13 +13,13 @@ pub struct IImageFeatureDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IImageFeatureDescriptor2, IImageFeatureDescriptor2_Vtbl, 0x2b27cca7_d533_5862_bb98_1611b155b0e1); +windows_core::imp::define_interface!(IImageFeatureDescriptor2, IImageFeatureDescriptor2_Vtbl, 0x2b27cca7_d533_5862_bb98_1611b155b0e1); #[repr(C)] pub struct IImageFeatureDescriptor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PixelRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LearningModelPixelRange) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageFeatureValue, IImageFeatureValue_Vtbl, 0xf0414fd9_c9aa_4405_b7fb_94f87c8a3037); +windows_core::imp::define_interface!(IImageFeatureValue, IImageFeatureValue_Vtbl, 0xf0414fd9_c9aa_4405_b7fb_94f87c8a3037); #[repr(C)] pub struct IImageFeatureValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -28,7 +28,7 @@ pub struct IImageFeatureValue_Vtbl { #[cfg(not(feature = "Media"))] VideoFrame: usize, } -windows_core::imp::com_interface!(IImageFeatureValueStatics, IImageFeatureValueStatics_Vtbl, 0x1bc317fd_23cb_4610_b085_c8e1c87ebaa0); +windows_core::imp::define_interface!(IImageFeatureValueStatics, IImageFeatureValueStatics_Vtbl, 0x1bc317fd_23cb_4610_b085_c8e1c87ebaa0); #[repr(C)] pub struct IImageFeatureValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,7 +37,7 @@ pub struct IImageFeatureValueStatics_Vtbl { #[cfg(not(feature = "Media"))] CreateFromVideoFrame: usize, } -windows_core::imp::com_interface!(ILearningModel, ILearningModel_Vtbl, 0x5b8e4920_489f_4e86_9128_265a327b78fa); +windows_core::imp::define_interface!(ILearningModel, ILearningModel_Vtbl, 0x5b8e4920_489f_4e86_9128_265a327b78fa); #[repr(C)] pub struct ILearningModel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -59,7 +59,7 @@ pub struct ILearningModel_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] OutputFeatures: usize, } -windows_core::imp::com_interface!(ILearningModelBinding, ILearningModelBinding_Vtbl, 0xea312f20_168f_4f8c_94fe_2e7ac31b4aa8); +windows_core::imp::define_interface!(ILearningModelBinding, ILearningModelBinding_Vtbl, 0xea312f20_168f_4f8c_94fe_2e7ac31b4aa8); #[repr(C)] pub struct ILearningModelBinding_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,13 +70,13 @@ pub struct ILearningModelBinding_Vtbl { BindWithProperties: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILearningModelBindingFactory, ILearningModelBindingFactory_Vtbl, 0xc95f7a7a_e788_475e_8917_23aa381faf0b); +windows_core::imp::define_interface!(ILearningModelBindingFactory, ILearningModelBindingFactory_Vtbl, 0xc95f7a7a_e788_475e_8917_23aa381faf0b); #[repr(C)] pub struct ILearningModelBindingFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFromSession: 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::com_interface!(ILearningModelDevice, ILearningModelDevice_Vtbl, 0xf5c2c8fe_3f56_4a8c_ac5f_fdb92d8b8252); +windows_core::imp::define_interface!(ILearningModelDevice, ILearningModelDevice_Vtbl, 0xf5c2c8fe_3f56_4a8c_ac5f_fdb92d8b8252); #[repr(C)] pub struct ILearningModelDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,13 +89,13 @@ pub struct ILearningModelDevice_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] Direct3D11Device: usize, } -windows_core::imp::com_interface!(ILearningModelDeviceFactory, ILearningModelDeviceFactory_Vtbl, 0x9cffd74d_b1e5_4f20_80ad_0a56690db06b); +windows_core::imp::define_interface!(ILearningModelDeviceFactory, ILearningModelDeviceFactory_Vtbl, 0x9cffd74d_b1e5_4f20_80ad_0a56690db06b); #[repr(C)] pub struct ILearningModelDeviceFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, LearningModelDeviceKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILearningModelDeviceStatics, ILearningModelDeviceStatics_Vtbl, 0x49f32107_a8bf_42bb_92c7_10b12dc5d21f); +windows_core::imp::define_interface!(ILearningModelDeviceStatics, ILearningModelDeviceStatics_Vtbl, 0x49f32107_a8bf_42bb_92c7_10b12dc5d21f); #[repr(C)] pub struct ILearningModelDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -104,7 +104,7 @@ pub struct ILearningModelDeviceStatics_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] CreateFromDirect3D11Device: usize, } -windows_core::imp::com_interface!(ILearningModelEvaluationResult, ILearningModelEvaluationResult_Vtbl, 0xb2f9bfcd_960e_49c0_8593_eb190ae3eee2); +windows_core::imp::define_interface!(ILearningModelEvaluationResult, ILearningModelEvaluationResult_Vtbl, 0xb2f9bfcd_960e_49c0_8593_eb190ae3eee2); #[repr(C)] pub struct ILearningModelEvaluationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -116,7 +116,7 @@ pub struct ILearningModelEvaluationResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Outputs: usize, } -windows_core::imp::com_interface!(ILearningModelFeatureDescriptor, ILearningModelFeatureDescriptor_Vtbl, 0xbc08cf7c_6ed0_4004_97ba_b9a2eecd2b4f); +windows_core::imp::define_interface!(ILearningModelFeatureDescriptor, ILearningModelFeatureDescriptor_Vtbl, 0xbc08cf7c_6ed0_4004_97ba_b9a2eecd2b4f); windows_core::imp::interface_hierarchy!(ILearningModelFeatureDescriptor, windows_core::IUnknown, windows_core::IInspectable); impl ILearningModelFeatureDescriptor { pub fn Name(&self) -> windows_core::Result { @@ -159,7 +159,7 @@ pub struct ILearningModelFeatureDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(ILearningModelFeatureValue, ILearningModelFeatureValue_Vtbl, 0xf51005db_4085_4dfe_9fed_95eb0c0cf75c); +windows_core::imp::define_interface!(ILearningModelFeatureValue, ILearningModelFeatureValue_Vtbl, 0xf51005db_4085_4dfe_9fed_95eb0c0cf75c); windows_core::imp::interface_hierarchy!(ILearningModelFeatureValue, windows_core::IUnknown, windows_core::IInspectable); impl ILearningModelFeatureValue { pub fn Kind(&self) -> windows_core::Result { @@ -178,7 +178,7 @@ pub struct ILearningModelFeatureValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LearningModelFeatureKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILearningModelOperatorProvider, ILearningModelOperatorProvider_Vtbl, 0x2a222e5d_afb1_47ed_bfad_b5b3a459ec04); +windows_core::imp::define_interface!(ILearningModelOperatorProvider, ILearningModelOperatorProvider_Vtbl, 0x2a222e5d_afb1_47ed_bfad_b5b3a459ec04); windows_core::imp::interface_hierarchy!(ILearningModelOperatorProvider, windows_core::IUnknown, windows_core::IInspectable); impl ILearningModelOperatorProvider {} impl windows_core::RuntimeType for ILearningModelOperatorProvider { @@ -188,7 +188,7 @@ impl windows_core::RuntimeType for ILearningModelOperatorProvider { pub struct ILearningModelOperatorProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ILearningModelSession, ILearningModelSession_Vtbl, 0x8e58f8f6_b787_4c11_90f0_7129aeca74a9); +windows_core::imp::define_interface!(ILearningModelSession, ILearningModelSession_Vtbl, 0x8e58f8f6_b787_4c11_90f0_7129aeca74a9); #[repr(C)] pub struct ILearningModelSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -209,40 +209,40 @@ pub struct ILearningModelSession_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] EvaluateFeatures: usize, } -windows_core::imp::com_interface!(ILearningModelSessionFactory, ILearningModelSessionFactory_Vtbl, 0x0f6b881d_1c9b_47b6_bfe0_f1cf62a67579); +windows_core::imp::define_interface!(ILearningModelSessionFactory, ILearningModelSessionFactory_Vtbl, 0x0f6b881d_1c9b_47b6_bfe0_f1cf62a67579); #[repr(C)] pub struct ILearningModelSessionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFromModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFromModelOnDevice: 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::com_interface!(ILearningModelSessionFactory2, ILearningModelSessionFactory2_Vtbl, 0x4e5c88bf_0a1f_5fec_ade0_2fd91e4ef29b); +windows_core::imp::define_interface!(ILearningModelSessionFactory2, ILearningModelSessionFactory2_Vtbl, 0x4e5c88bf_0a1f_5fec_ade0_2fd91e4ef29b); #[repr(C)] pub struct ILearningModelSessionFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFromModelOnDeviceWithSessionOptions: 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, } -windows_core::imp::com_interface!(ILearningModelSessionOptions, ILearningModelSessionOptions_Vtbl, 0xb8f63fa1_134d_5133_8cff_3a5c3c263beb); +windows_core::imp::define_interface!(ILearningModelSessionOptions, ILearningModelSessionOptions_Vtbl, 0xb8f63fa1_134d_5133_8cff_3a5c3c263beb); #[repr(C)] pub struct ILearningModelSessionOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BatchSizeOverride: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetBatchSizeOverride: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILearningModelSessionOptions2, ILearningModelSessionOptions2_Vtbl, 0x6fcd1dc4_175f_5bd2_8de5_2f2006a25adf); +windows_core::imp::define_interface!(ILearningModelSessionOptions2, ILearningModelSessionOptions2_Vtbl, 0x6fcd1dc4_175f_5bd2_8de5_2f2006a25adf); #[repr(C)] pub struct ILearningModelSessionOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CloseModelOnSessionCreation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetCloseModelOnSessionCreation: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILearningModelSessionOptions3, ILearningModelSessionOptions3_Vtbl, 0x58e15cee_d8c2_56fc_92e8_76d751081086); +windows_core::imp::define_interface!(ILearningModelSessionOptions3, ILearningModelSessionOptions3_Vtbl, 0x58e15cee_d8c2_56fc_92e8_76d751081086); #[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, } -windows_core::imp::com_interface!(ILearningModelStatics, ILearningModelStatics_Vtbl, 0xe3b977e8_6952_4e47_8ef4_1f7f07897c6d); +windows_core::imp::define_interface!(ILearningModelStatics, ILearningModelStatics_Vtbl, 0xe3b977e8_6952_4e47_8ef4_1f7f07897c6d); #[repr(C)] pub struct ILearningModelStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -273,20 +273,20 @@ pub struct ILearningModelStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] LoadFromStreamWithOperatorProvider: usize, } -windows_core::imp::com_interface!(IMapFeatureDescriptor, IMapFeatureDescriptor_Vtbl, 0x530424bd_a257_436d_9e60_c2981f7cc5c4); +windows_core::imp::define_interface!(IMapFeatureDescriptor, IMapFeatureDescriptor_Vtbl, 0x530424bd_a257_436d_9e60_c2981f7cc5c4); #[repr(C)] pub struct IMapFeatureDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub KeyKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TensorKind) -> windows_core::HRESULT, pub ValueDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISequenceFeatureDescriptor, ISequenceFeatureDescriptor_Vtbl, 0x84f6945a_562b_4d62_a851_739aced96668); +windows_core::imp::define_interface!(ISequenceFeatureDescriptor, ISequenceFeatureDescriptor_Vtbl, 0x84f6945a_562b_4d62_a851_739aced96668); #[repr(C)] pub struct ISequenceFeatureDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ElementDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITensor, ITensor_Vtbl, 0x05489593_a305_4a25_ad09_440119b4b7f6); +windows_core::imp::define_interface!(ITensor, ITensor_Vtbl, 0x05489593_a305_4a25_ad09_440119b4b7f6); windows_core::imp::interface_hierarchy!(ITensor, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ITensor, ILearningModelFeatureValue); impl ITensor { @@ -325,7 +325,7 @@ pub struct ITensor_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Shape: usize, } -windows_core::imp::com_interface!(ITensorBoolean, ITensorBoolean_Vtbl, 0x50f311ed_29e9_4a5c_a44d_8fc512584eed); +windows_core::imp::define_interface!(ITensorBoolean, ITensorBoolean_Vtbl, 0x50f311ed_29e9_4a5c_a44d_8fc512584eed); #[repr(C)] pub struct ITensorBoolean_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -334,7 +334,7 @@ pub struct ITensorBoolean_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorBooleanStatics, ITensorBooleanStatics_Vtbl, 0x2796862c_2357_49a7_b476_d0aa3dfe6866); +windows_core::imp::define_interface!(ITensorBooleanStatics, ITensorBooleanStatics_Vtbl, 0x2796862c_2357_49a7_b476_d0aa3dfe6866); #[repr(C)] pub struct ITensorBooleanStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -352,7 +352,7 @@ pub struct ITensorBooleanStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorBooleanStatics2, ITensorBooleanStatics2_Vtbl, 0xa3a4a501_6a2d_52d7_b04b_c435baee0115); +windows_core::imp::define_interface!(ITensorBooleanStatics2, ITensorBooleanStatics2_Vtbl, 0xa3a4a501_6a2d_52d7_b04b_c435baee0115); #[repr(C)] pub struct ITensorBooleanStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -362,7 +362,7 @@ pub struct ITensorBooleanStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBuffer: usize, } -windows_core::imp::com_interface!(ITensorDouble, ITensorDouble_Vtbl, 0x91e41252_7a8f_4f0e_a28f_9637ffc8a3d0); +windows_core::imp::define_interface!(ITensorDouble, ITensorDouble_Vtbl, 0x91e41252_7a8f_4f0e_a28f_9637ffc8a3d0); #[repr(C)] pub struct ITensorDouble_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -371,7 +371,7 @@ pub struct ITensorDouble_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorDoubleStatics, ITensorDoubleStatics_Vtbl, 0xa86693c5_9538_44e7_a3ca_5df374a5a70c); +windows_core::imp::define_interface!(ITensorDoubleStatics, ITensorDoubleStatics_Vtbl, 0xa86693c5_9538_44e7_a3ca_5df374a5a70c); #[repr(C)] pub struct ITensorDoubleStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -389,7 +389,7 @@ pub struct ITensorDoubleStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorDoubleStatics2, ITensorDoubleStatics2_Vtbl, 0x93a570de_5e9a_5094_85c8_592c655e68ac); +windows_core::imp::define_interface!(ITensorDoubleStatics2, ITensorDoubleStatics2_Vtbl, 0x93a570de_5e9a_5094_85c8_592c655e68ac); #[repr(C)] pub struct ITensorDoubleStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -399,7 +399,7 @@ pub struct ITensorDoubleStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBuffer: usize, } -windows_core::imp::com_interface!(ITensorFeatureDescriptor, ITensorFeatureDescriptor_Vtbl, 0x74455c80_946a_4310_a19c_ee0af028fce4); +windows_core::imp::define_interface!(ITensorFeatureDescriptor, ITensorFeatureDescriptor_Vtbl, 0x74455c80_946a_4310_a19c_ee0af028fce4); #[repr(C)] pub struct ITensorFeatureDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -409,7 +409,7 @@ pub struct ITensorFeatureDescriptor_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Shape: usize, } -windows_core::imp::com_interface!(ITensorFloat, ITensorFloat_Vtbl, 0xf2282d82_aa02_42c8_a0c8_df1efc9676e1); +windows_core::imp::define_interface!(ITensorFloat, ITensorFloat_Vtbl, 0xf2282d82_aa02_42c8_a0c8_df1efc9676e1); #[repr(C)] pub struct ITensorFloat_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -418,7 +418,7 @@ pub struct ITensorFloat_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorFloat16Bit, ITensorFloat16Bit_Vtbl, 0x0ab994fc_5b89_4c3c_b5e4_5282a5316c0a); +windows_core::imp::define_interface!(ITensorFloat16Bit, ITensorFloat16Bit_Vtbl, 0x0ab994fc_5b89_4c3c_b5e4_5282a5316c0a); #[repr(C)] pub struct ITensorFloat16Bit_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -427,7 +427,7 @@ pub struct ITensorFloat16Bit_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorFloat16BitStatics, ITensorFloat16BitStatics_Vtbl, 0xa52db6f5_318a_44d4_820b_0cdc7054a84a); +windows_core::imp::define_interface!(ITensorFloat16BitStatics, ITensorFloat16BitStatics_Vtbl, 0xa52db6f5_318a_44d4_820b_0cdc7054a84a); #[repr(C)] pub struct ITensorFloat16BitStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -445,7 +445,7 @@ pub struct ITensorFloat16BitStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorFloat16BitStatics2, ITensorFloat16BitStatics2_Vtbl, 0x68545726_2dc7_51bf_b470_0b344cc2a1bc); +windows_core::imp::define_interface!(ITensorFloat16BitStatics2, ITensorFloat16BitStatics2_Vtbl, 0x68545726_2dc7_51bf_b470_0b344cc2a1bc); #[repr(C)] pub struct ITensorFloat16BitStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -455,7 +455,7 @@ pub struct ITensorFloat16BitStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBuffer: usize, } -windows_core::imp::com_interface!(ITensorFloatStatics, ITensorFloatStatics_Vtbl, 0xdbcd395b_3ba3_452f_b10d_3c135e573fa9); +windows_core::imp::define_interface!(ITensorFloatStatics, ITensorFloatStatics_Vtbl, 0xdbcd395b_3ba3_452f_b10d_3c135e573fa9); #[repr(C)] pub struct ITensorFloatStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -473,7 +473,7 @@ pub struct ITensorFloatStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorFloatStatics2, ITensorFloatStatics2_Vtbl, 0x24610bc1_5e44_5713_b281_8f4ad4d555e8); +windows_core::imp::define_interface!(ITensorFloatStatics2, ITensorFloatStatics2_Vtbl, 0x24610bc1_5e44_5713_b281_8f4ad4d555e8); #[repr(C)] pub struct ITensorFloatStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -483,7 +483,7 @@ pub struct ITensorFloatStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBuffer: usize, } -windows_core::imp::com_interface!(ITensorInt16Bit, ITensorInt16Bit_Vtbl, 0x98a32d39_e6d6_44af_8afa_baebc44dc020); +windows_core::imp::define_interface!(ITensorInt16Bit, ITensorInt16Bit_Vtbl, 0x98a32d39_e6d6_44af_8afa_baebc44dc020); #[repr(C)] pub struct ITensorInt16Bit_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -492,7 +492,7 @@ pub struct ITensorInt16Bit_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorInt16BitStatics, ITensorInt16BitStatics_Vtbl, 0x98646293_266e_4b1a_821f_e60d70898b91); +windows_core::imp::define_interface!(ITensorInt16BitStatics, ITensorInt16BitStatics_Vtbl, 0x98646293_266e_4b1a_821f_e60d70898b91); #[repr(C)] pub struct ITensorInt16BitStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -510,7 +510,7 @@ pub struct ITensorInt16BitStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorInt16BitStatics2, ITensorInt16BitStatics2_Vtbl, 0x0cd70cf4_696c_5e5f_95d8_5ebf9670148b); +windows_core::imp::define_interface!(ITensorInt16BitStatics2, ITensorInt16BitStatics2_Vtbl, 0x0cd70cf4_696c_5e5f_95d8_5ebf9670148b); #[repr(C)] pub struct ITensorInt16BitStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -520,7 +520,7 @@ pub struct ITensorInt16BitStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBuffer: usize, } -windows_core::imp::com_interface!(ITensorInt32Bit, ITensorInt32Bit_Vtbl, 0x2c0c28d3_207c_4486_a7d2_884522c5e589); +windows_core::imp::define_interface!(ITensorInt32Bit, ITensorInt32Bit_Vtbl, 0x2c0c28d3_207c_4486_a7d2_884522c5e589); #[repr(C)] pub struct ITensorInt32Bit_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -529,7 +529,7 @@ pub struct ITensorInt32Bit_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorInt32BitStatics, ITensorInt32BitStatics_Vtbl, 0x6539864b_52fa_4e35_907c_834cac417b50); +windows_core::imp::define_interface!(ITensorInt32BitStatics, ITensorInt32BitStatics_Vtbl, 0x6539864b_52fa_4e35_907c_834cac417b50); #[repr(C)] pub struct ITensorInt32BitStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -547,7 +547,7 @@ pub struct ITensorInt32BitStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorInt32BitStatics2, ITensorInt32BitStatics2_Vtbl, 0x7c4b079a_e956_5ce0_a3bd_157d9d79b5ec); +windows_core::imp::define_interface!(ITensorInt32BitStatics2, ITensorInt32BitStatics2_Vtbl, 0x7c4b079a_e956_5ce0_a3bd_157d9d79b5ec); #[repr(C)] pub struct ITensorInt32BitStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -557,7 +557,7 @@ pub struct ITensorInt32BitStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBuffer: usize, } -windows_core::imp::com_interface!(ITensorInt64Bit, ITensorInt64Bit_Vtbl, 0x499665ba_1fa2_45ad_af25_a0bd9bda4c87); +windows_core::imp::define_interface!(ITensorInt64Bit, ITensorInt64Bit_Vtbl, 0x499665ba_1fa2_45ad_af25_a0bd9bda4c87); #[repr(C)] pub struct ITensorInt64Bit_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -566,7 +566,7 @@ pub struct ITensorInt64Bit_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorInt64BitStatics, ITensorInt64BitStatics_Vtbl, 0x9648ad9d_1198_4d74_9517_783ab62b9cc2); +windows_core::imp::define_interface!(ITensorInt64BitStatics, ITensorInt64BitStatics_Vtbl, 0x9648ad9d_1198_4d74_9517_783ab62b9cc2); #[repr(C)] pub struct ITensorInt64BitStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -584,7 +584,7 @@ pub struct ITensorInt64BitStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorInt64BitStatics2, ITensorInt64BitStatics2_Vtbl, 0x6d3d9dcb_ff40_5ec2_89fe_084e2b6bc6db); +windows_core::imp::define_interface!(ITensorInt64BitStatics2, ITensorInt64BitStatics2_Vtbl, 0x6d3d9dcb_ff40_5ec2_89fe_084e2b6bc6db); #[repr(C)] pub struct ITensorInt64BitStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -594,7 +594,7 @@ pub struct ITensorInt64BitStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBuffer: usize, } -windows_core::imp::com_interface!(ITensorInt8Bit, ITensorInt8Bit_Vtbl, 0xcddd97c5_ffd8_4fef_aefb_30e1a485b2ee); +windows_core::imp::define_interface!(ITensorInt8Bit, ITensorInt8Bit_Vtbl, 0xcddd97c5_ffd8_4fef_aefb_30e1a485b2ee); #[repr(C)] pub struct ITensorInt8Bit_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -603,7 +603,7 @@ pub struct ITensorInt8Bit_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorInt8BitStatics, ITensorInt8BitStatics_Vtbl, 0xb1a12284_095c_4c76_a661_ac4cee1f3e8b); +windows_core::imp::define_interface!(ITensorInt8BitStatics, ITensorInt8BitStatics_Vtbl, 0xb1a12284_095c_4c76_a661_ac4cee1f3e8b); #[repr(C)] pub struct ITensorInt8BitStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -621,7 +621,7 @@ pub struct ITensorInt8BitStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorInt8BitStatics2, ITensorInt8BitStatics2_Vtbl, 0xc0d59637_c468_56fb_9535_c052bdb93dc0); +windows_core::imp::define_interface!(ITensorInt8BitStatics2, ITensorInt8BitStatics2_Vtbl, 0xc0d59637_c468_56fb_9535_c052bdb93dc0); #[repr(C)] pub struct ITensorInt8BitStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -631,7 +631,7 @@ pub struct ITensorInt8BitStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBuffer: usize, } -windows_core::imp::com_interface!(ITensorString, ITensorString_Vtbl, 0x582335c8_bdb1_4610_bc75_35e9cbf009b7); +windows_core::imp::define_interface!(ITensorString, ITensorString_Vtbl, 0x582335c8_bdb1_4610_bc75_35e9cbf009b7); #[repr(C)] pub struct ITensorString_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -640,7 +640,7 @@ pub struct ITensorString_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorStringStatics, ITensorStringStatics_Vtbl, 0x83623324_cf26_4f17_a2d4_20ef8d097d53); +windows_core::imp::define_interface!(ITensorStringStatics, ITensorStringStatics_Vtbl, 0x83623324_cf26_4f17_a2d4_20ef8d097d53); #[repr(C)] pub struct ITensorStringStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -658,13 +658,13 @@ pub struct ITensorStringStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorStringStatics2, ITensorStringStatics2_Vtbl, 0x9e355ed0_c8e2_5254_9137_0193a3668fd8); +windows_core::imp::define_interface!(ITensorStringStatics2, ITensorStringStatics2_Vtbl, 0x9e355ed0_c8e2_5254_9137_0193a3668fd8); #[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, } -windows_core::imp::com_interface!(ITensorUInt16Bit, ITensorUInt16Bit_Vtbl, 0x68140f4b_23c0_42f3_81f6_a891c011bc3f); +windows_core::imp::define_interface!(ITensorUInt16Bit, ITensorUInt16Bit_Vtbl, 0x68140f4b_23c0_42f3_81f6_a891c011bc3f); #[repr(C)] pub struct ITensorUInt16Bit_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -673,7 +673,7 @@ pub struct ITensorUInt16Bit_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorUInt16BitStatics, ITensorUInt16BitStatics_Vtbl, 0x5df745dd_028a_481a_a27c_c7e6435e52dd); +windows_core::imp::define_interface!(ITensorUInt16BitStatics, ITensorUInt16BitStatics_Vtbl, 0x5df745dd_028a_481a_a27c_c7e6435e52dd); #[repr(C)] pub struct ITensorUInt16BitStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -691,7 +691,7 @@ pub struct ITensorUInt16BitStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorUInt16BitStatics2, ITensorUInt16BitStatics2_Vtbl, 0x8af40c64_d69f_5315_9348_490877bbd642); +windows_core::imp::define_interface!(ITensorUInt16BitStatics2, ITensorUInt16BitStatics2_Vtbl, 0x8af40c64_d69f_5315_9348_490877bbd642); #[repr(C)] pub struct ITensorUInt16BitStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -701,7 +701,7 @@ pub struct ITensorUInt16BitStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBuffer: usize, } -windows_core::imp::com_interface!(ITensorUInt32Bit, ITensorUInt32Bit_Vtbl, 0xd8c9c2ff_7511_45a3_bfac_c38f370d2237); +windows_core::imp::define_interface!(ITensorUInt32Bit, ITensorUInt32Bit_Vtbl, 0xd8c9c2ff_7511_45a3_bfac_c38f370d2237); #[repr(C)] pub struct ITensorUInt32Bit_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -710,7 +710,7 @@ pub struct ITensorUInt32Bit_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorUInt32BitStatics, ITensorUInt32BitStatics_Vtbl, 0x417c3837_e773_4378_8e7f_0cc33dbea697); +windows_core::imp::define_interface!(ITensorUInt32BitStatics, ITensorUInt32BitStatics_Vtbl, 0x417c3837_e773_4378_8e7f_0cc33dbea697); #[repr(C)] pub struct ITensorUInt32BitStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -728,7 +728,7 @@ pub struct ITensorUInt32BitStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorUInt32BitStatics2, ITensorUInt32BitStatics2_Vtbl, 0xef1a1f1c_314e_569d_b496_5c8447d20cd2); +windows_core::imp::define_interface!(ITensorUInt32BitStatics2, ITensorUInt32BitStatics2_Vtbl, 0xef1a1f1c_314e_569d_b496_5c8447d20cd2); #[repr(C)] pub struct ITensorUInt32BitStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -738,7 +738,7 @@ pub struct ITensorUInt32BitStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBuffer: usize, } -windows_core::imp::com_interface!(ITensorUInt64Bit, ITensorUInt64Bit_Vtbl, 0x2e70ffad_04bf_4825_839a_82baef8c7886); +windows_core::imp::define_interface!(ITensorUInt64Bit, ITensorUInt64Bit_Vtbl, 0x2e70ffad_04bf_4825_839a_82baef8c7886); #[repr(C)] pub struct ITensorUInt64Bit_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -747,7 +747,7 @@ pub struct ITensorUInt64Bit_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorUInt64BitStatics, ITensorUInt64BitStatics_Vtbl, 0x7a7e20eb_242f_47cb_a9c6_f602ecfbfee4); +windows_core::imp::define_interface!(ITensorUInt64BitStatics, ITensorUInt64BitStatics_Vtbl, 0x7a7e20eb_242f_47cb_a9c6_f602ecfbfee4); #[repr(C)] pub struct ITensorUInt64BitStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -765,7 +765,7 @@ pub struct ITensorUInt64BitStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorUInt64BitStatics2, ITensorUInt64BitStatics2_Vtbl, 0x085a687d_67e1_5b1e_b232_4fabe9ca20b3); +windows_core::imp::define_interface!(ITensorUInt64BitStatics2, ITensorUInt64BitStatics2_Vtbl, 0x085a687d_67e1_5b1e_b232_4fabe9ca20b3); #[repr(C)] pub struct ITensorUInt64BitStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -775,7 +775,7 @@ pub struct ITensorUInt64BitStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBuffer: usize, } -windows_core::imp::com_interface!(ITensorUInt8Bit, ITensorUInt8Bit_Vtbl, 0x58e1ae27_622b_48e3_be22_d867aed1daac); +windows_core::imp::define_interface!(ITensorUInt8Bit, ITensorUInt8Bit_Vtbl, 0x58e1ae27_622b_48e3_be22_d867aed1daac); #[repr(C)] pub struct ITensorUInt8Bit_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -784,7 +784,7 @@ pub struct ITensorUInt8Bit_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAsVectorView: usize, } -windows_core::imp::com_interface!(ITensorUInt8BitStatics, ITensorUInt8BitStatics_Vtbl, 0x05f67583_bc24_4220_8a41_2dcd8c5ed33c); +windows_core::imp::define_interface!(ITensorUInt8BitStatics, ITensorUInt8BitStatics_Vtbl, 0x05f67583_bc24_4220_8a41_2dcd8c5ed33c); #[repr(C)] pub struct ITensorUInt8BitStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -802,7 +802,7 @@ pub struct ITensorUInt8BitStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateFromIterable: usize, } -windows_core::imp::com_interface!(ITensorUInt8BitStatics2, ITensorUInt8BitStatics2_Vtbl, 0x2ba042d6_373e_5a3a_a2fc_a6c41bd52789); +windows_core::imp::define_interface!(ITensorUInt8BitStatics2, ITensorUInt8BitStatics2_Vtbl, 0x2ba042d6_373e_5a3a_a2fc_a6c41bd52789); #[repr(C)] pub struct ITensorUInt8BitStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs index b2e1126a23..f17c3375cc 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IActivatedEventArgs, IActivatedEventArgs_Vtbl, 0xcf651713_cd08_4fd8_b697_a281b6544e2e); +windows_core::imp::define_interface!(IActivatedEventArgs, IActivatedEventArgs_Vtbl, 0xcf651713_cd08_4fd8_b697_a281b6544e2e); windows_core::imp::interface_hierarchy!(IActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); impl IActivatedEventArgs { pub fn Kind(&self) -> windows_core::Result { @@ -33,7 +33,7 @@ pub struct IActivatedEventArgs_Vtbl { pub PreviousExecutionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ApplicationExecutionState) -> windows_core::HRESULT, pub SplashScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivatedEventArgsWithUser, IActivatedEventArgsWithUser_Vtbl, 0x1cf09b9e_9962_4936_80ff_afc8e8ae5c8c); +windows_core::imp::define_interface!(IActivatedEventArgsWithUser, IActivatedEventArgsWithUser_Vtbl, 0x1cf09b9e_9962_4936_80ff_afc8e8ae5c8c); windows_core::imp::interface_hierarchy!(IActivatedEventArgsWithUser, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IActivatedEventArgsWithUser, IActivatedEventArgs); impl IActivatedEventArgsWithUser { @@ -78,7 +78,7 @@ pub struct IActivatedEventArgsWithUser_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IApplicationViewActivatedEventArgs, IApplicationViewActivatedEventArgs_Vtbl, 0x930cef4b_b829_40fc_88f4_8513e8a64738); +windows_core::imp::define_interface!(IApplicationViewActivatedEventArgs, IApplicationViewActivatedEventArgs_Vtbl, 0x930cef4b_b829_40fc_88f4_8513e8a64738); windows_core::imp::interface_hierarchy!(IApplicationViewActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IApplicationViewActivatedEventArgs, IActivatedEventArgs); impl IApplicationViewActivatedEventArgs { @@ -119,7 +119,7 @@ pub struct IApplicationViewActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CurrentlyShownApplicationViewId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentsProviderActivatedEventArgs, IAppointmentsProviderActivatedEventArgs_Vtbl, 0x3364c405_933c_4e7d_a034_500fb8dcd9f3); +windows_core::imp::define_interface!(IAppointmentsProviderActivatedEventArgs, IAppointmentsProviderActivatedEventArgs_Vtbl, 0x3364c405_933c_4e7d_a034_500fb8dcd9f3); windows_core::imp::interface_hierarchy!(IAppointmentsProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IAppointmentsProviderActivatedEventArgs, IActivatedEventArgs); impl IAppointmentsProviderActivatedEventArgs { @@ -160,7 +160,7 @@ 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, } -windows_core::imp::com_interface!(IAppointmentsProviderAddAppointmentActivatedEventArgs, IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl, 0xa2861367_cee5_4e4d_9ed7_41c34ec18b02); +windows_core::imp::define_interface!(IAppointmentsProviderAddAppointmentActivatedEventArgs, IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl, 0xa2861367_cee5_4e4d_9ed7_41c34ec18b02); windows_core::imp::interface_hierarchy!(IAppointmentsProviderAddAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IAppointmentsProviderAddAppointmentActivatedEventArgs, IActivatedEventArgs, IAppointmentsProviderActivatedEventArgs); impl IAppointmentsProviderAddAppointmentActivatedEventArgs { @@ -212,7 +212,7 @@ pub struct IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Appointments_AppointmentsProvider"))] AddAppointmentOperation: usize, } -windows_core::imp::com_interface!(IAppointmentsProviderRemoveAppointmentActivatedEventArgs, IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl, 0x751f3ab8_0b8e_451c_9f15_966e699bac25); +windows_core::imp::define_interface!(IAppointmentsProviderRemoveAppointmentActivatedEventArgs, IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl, 0x751f3ab8_0b8e_451c_9f15_966e699bac25); windows_core::imp::interface_hierarchy!(IAppointmentsProviderRemoveAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IAppointmentsProviderRemoveAppointmentActivatedEventArgs, IActivatedEventArgs, IAppointmentsProviderActivatedEventArgs); impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs { @@ -264,7 +264,7 @@ pub struct IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Appointments_AppointmentsProvider"))] RemoveAppointmentOperation: usize, } -windows_core::imp::com_interface!(IAppointmentsProviderReplaceAppointmentActivatedEventArgs, IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl, 0x1551b7d4_a981_4067_8a62_0524e4ade121); +windows_core::imp::define_interface!(IAppointmentsProviderReplaceAppointmentActivatedEventArgs, IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl, 0x1551b7d4_a981_4067_8a62_0524e4ade121); windows_core::imp::interface_hierarchy!(IAppointmentsProviderReplaceAppointmentActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IAppointmentsProviderReplaceAppointmentActivatedEventArgs, IActivatedEventArgs, IAppointmentsProviderActivatedEventArgs); impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs { @@ -316,7 +316,7 @@ pub struct IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Appointments_AppointmentsProvider"))] ReplaceAppointmentOperation: usize, } -windows_core::imp::com_interface!(IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl, 0x3958f065_9841_4ca5_999b_885198b9ef2a); +windows_core::imp::define_interface!(IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl, 0x3958f065_9841_4ca5_999b_885198b9ef2a); windows_core::imp::interface_hierarchy!(IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs, IActivatedEventArgs, IAppointmentsProviderActivatedEventArgs); impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs { @@ -380,7 +380,7 @@ pub struct IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentsProviderShowTimeFrameActivatedEventArgs, IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl, 0x9baeaba6_0e0b_49aa_babc_12b1dc774986); +windows_core::imp::define_interface!(IAppointmentsProviderShowTimeFrameActivatedEventArgs, IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl, 0x9baeaba6_0e0b_49aa_babc_12b1dc774986); windows_core::imp::interface_hierarchy!(IAppointmentsProviderShowTimeFrameActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IAppointmentsProviderShowTimeFrameActivatedEventArgs, IActivatedEventArgs, IAppointmentsProviderActivatedEventArgs); impl IAppointmentsProviderShowTimeFrameActivatedEventArgs { @@ -436,7 +436,7 @@ pub struct IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl { pub TimeToShow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut 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, } -windows_core::imp::com_interface!(IBackgroundActivatedEventArgs, IBackgroundActivatedEventArgs_Vtbl, 0xab14bee0_e760_440e_a91c_44796de3a92d); +windows_core::imp::define_interface!(IBackgroundActivatedEventArgs, IBackgroundActivatedEventArgs_Vtbl, 0xab14bee0_e760_440e_a91c_44796de3a92d); windows_core::imp::interface_hierarchy!(IBackgroundActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); impl IBackgroundActivatedEventArgs { #[cfg(feature = "ApplicationModel_Background")] @@ -459,7 +459,7 @@ pub struct IBackgroundActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Background"))] TaskInstance: usize, } -windows_core::imp::com_interface!(IBarcodeScannerPreviewActivatedEventArgs, IBarcodeScannerPreviewActivatedEventArgs_Vtbl, 0x6772797c_99bf_4349_af22_e4123560371c); +windows_core::imp::define_interface!(IBarcodeScannerPreviewActivatedEventArgs, IBarcodeScannerPreviewActivatedEventArgs_Vtbl, 0x6772797c_99bf_4349_af22_e4123560371c); windows_core::imp::interface_hierarchy!(IBarcodeScannerPreviewActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IBarcodeScannerPreviewActivatedEventArgs, IActivatedEventArgs); impl IBarcodeScannerPreviewActivatedEventArgs { @@ -500,7 +500,7 @@ 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, } -windows_core::imp::com_interface!(ICachedFileUpdaterActivatedEventArgs, ICachedFileUpdaterActivatedEventArgs_Vtbl, 0xd06eb1c7_3805_4ecb_b757_6cf15e26fef3); +windows_core::imp::define_interface!(ICachedFileUpdaterActivatedEventArgs, ICachedFileUpdaterActivatedEventArgs_Vtbl, 0xd06eb1c7_3805_4ecb_b757_6cf15e26fef3); windows_core::imp::interface_hierarchy!(ICachedFileUpdaterActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ICachedFileUpdaterActivatedEventArgs, IActivatedEventArgs); impl ICachedFileUpdaterActivatedEventArgs { @@ -545,7 +545,7 @@ pub struct ICachedFileUpdaterActivatedEventArgs_Vtbl { #[cfg(not(feature = "Storage_Provider"))] CachedFileUpdaterUI: usize, } -windows_core::imp::com_interface!(ICameraSettingsActivatedEventArgs, ICameraSettingsActivatedEventArgs_Vtbl, 0xfb67a508_2dad_490a_9170_dca036eb114b); +windows_core::imp::define_interface!(ICameraSettingsActivatedEventArgs, ICameraSettingsActivatedEventArgs_Vtbl, 0xfb67a508_2dad_490a_9170_dca036eb114b); windows_core::imp::interface_hierarchy!(ICameraSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ICameraSettingsActivatedEventArgs, IActivatedEventArgs); impl ICameraSettingsActivatedEventArgs { @@ -594,7 +594,7 @@ pub struct ICameraSettingsActivatedEventArgs_Vtbl { pub VideoDeviceController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub VideoDeviceExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommandLineActivatedEventArgs, ICommandLineActivatedEventArgs_Vtbl, 0x4506472c_006a_48eb_8afb_d07ab25e3366); +windows_core::imp::define_interface!(ICommandLineActivatedEventArgs, ICommandLineActivatedEventArgs_Vtbl, 0x4506472c_006a_48eb_8afb_d07ab25e3366); windows_core::imp::interface_hierarchy!(ICommandLineActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ICommandLineActivatedEventArgs, IActivatedEventArgs); impl ICommandLineActivatedEventArgs { @@ -635,7 +635,7 @@ pub struct ICommandLineActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Operation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommandLineActivationOperation, ICommandLineActivationOperation_Vtbl, 0x994b2841_c59e_4f69_bcfd_b61ed4e622eb); +windows_core::imp::define_interface!(ICommandLineActivationOperation, ICommandLineActivationOperation_Vtbl, 0x994b2841_c59e_4f69_bcfd_b61ed4e622eb); #[repr(C)] pub struct ICommandLineActivationOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -645,7 +645,7 @@ pub struct ICommandLineActivationOperation_Vtbl { 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, } -windows_core::imp::com_interface!(IContactActivatedEventArgs, IContactActivatedEventArgs_Vtbl, 0xd627a1c4_c025_4c41_9def_f1eafad075e7); +windows_core::imp::define_interface!(IContactActivatedEventArgs, IContactActivatedEventArgs_Vtbl, 0xd627a1c4_c025_4c41_9def_f1eafad075e7); windows_core::imp::interface_hierarchy!(IContactActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IContactActivatedEventArgs, IActivatedEventArgs); impl IContactActivatedEventArgs { @@ -686,7 +686,7 @@ 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, } -windows_core::imp::com_interface!(IContactCallActivatedEventArgs, IContactCallActivatedEventArgs_Vtbl, 0xc2df14c7_30eb_41c6_b3bc_5b1694f9dab3); +windows_core::imp::define_interface!(IContactCallActivatedEventArgs, IContactCallActivatedEventArgs_Vtbl, 0xc2df14c7_30eb_41c6_b3bc_5b1694f9dab3); windows_core::imp::interface_hierarchy!(IContactCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IContactCallActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs); impl IContactCallActivatedEventArgs { @@ -754,7 +754,7 @@ pub struct IContactCallActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Contacts"))] Contact: usize, } -windows_core::imp::com_interface!(IContactMapActivatedEventArgs, IContactMapActivatedEventArgs_Vtbl, 0xb32bf870_eee7_4ad2_aaf1_a87effcf00a4); +windows_core::imp::define_interface!(IContactMapActivatedEventArgs, IContactMapActivatedEventArgs_Vtbl, 0xb32bf870_eee7_4ad2_aaf1_a87effcf00a4); windows_core::imp::interface_hierarchy!(IContactMapActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IContactMapActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs); impl IContactMapActivatedEventArgs { @@ -818,7 +818,7 @@ pub struct IContactMapActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Contacts"))] Contact: usize, } -windows_core::imp::com_interface!(IContactMessageActivatedEventArgs, IContactMessageActivatedEventArgs_Vtbl, 0xde598db2_0e03_43b0_bf56_bcc40b3162df); +windows_core::imp::define_interface!(IContactMessageActivatedEventArgs, IContactMessageActivatedEventArgs_Vtbl, 0xde598db2_0e03_43b0_bf56_bcc40b3162df); windows_core::imp::interface_hierarchy!(IContactMessageActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IContactMessageActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs); impl IContactMessageActivatedEventArgs { @@ -886,7 +886,7 @@ pub struct IContactMessageActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Contacts"))] Contact: usize, } -windows_core::imp::com_interface!(IContactPanelActivatedEventArgs, IContactPanelActivatedEventArgs_Vtbl, 0x52bb63e4_d3d4_4b63_8051_4af2082cab80); +windows_core::imp::define_interface!(IContactPanelActivatedEventArgs, IContactPanelActivatedEventArgs_Vtbl, 0x52bb63e4_d3d4_4b63_8051_4af2082cab80); windows_core::imp::interface_hierarchy!(IContactPanelActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); impl IContactPanelActivatedEventArgs { #[cfg(feature = "ApplicationModel_Contacts")] @@ -921,7 +921,7 @@ pub struct IContactPanelActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Contacts"))] Contact: usize, } -windows_core::imp::com_interface!(IContactPickerActivatedEventArgs, IContactPickerActivatedEventArgs_Vtbl, 0xce57aae7_6449_45a7_971f_d113be7a8936); +windows_core::imp::define_interface!(IContactPickerActivatedEventArgs, IContactPickerActivatedEventArgs_Vtbl, 0xce57aae7_6449_45a7_971f_d113be7a8936); windows_core::imp::interface_hierarchy!(IContactPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IContactPickerActivatedEventArgs, IActivatedEventArgs); impl IContactPickerActivatedEventArgs { @@ -966,7 +966,7 @@ pub struct IContactPickerActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Contacts_Provider"))] ContactPickerUI: usize, } -windows_core::imp::com_interface!(IContactPostActivatedEventArgs, IContactPostActivatedEventArgs_Vtbl, 0xb35a3c67_f1e7_4655_ad6e_4857588f552f); +windows_core::imp::define_interface!(IContactPostActivatedEventArgs, IContactPostActivatedEventArgs_Vtbl, 0xb35a3c67_f1e7_4655_ad6e_4857588f552f); windows_core::imp::interface_hierarchy!(IContactPostActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IContactPostActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs); impl IContactPostActivatedEventArgs { @@ -1034,7 +1034,7 @@ pub struct IContactPostActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Contacts"))] Contact: usize, } -windows_core::imp::com_interface!(IContactVideoCallActivatedEventArgs, IContactVideoCallActivatedEventArgs_Vtbl, 0x61079db8_e3e7_4b4f_858d_5c63a96ef684); +windows_core::imp::define_interface!(IContactVideoCallActivatedEventArgs, IContactVideoCallActivatedEventArgs_Vtbl, 0x61079db8_e3e7_4b4f_858d_5c63a96ef684); windows_core::imp::interface_hierarchy!(IContactVideoCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IContactVideoCallActivatedEventArgs, IActivatedEventArgs, IContactActivatedEventArgs); impl IContactVideoCallActivatedEventArgs { @@ -1102,7 +1102,7 @@ pub struct IContactVideoCallActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Contacts"))] Contact: usize, } -windows_core::imp::com_interface!(IContactsProviderActivatedEventArgs, IContactsProviderActivatedEventArgs_Vtbl, 0x4580dca8_5750_4916_aa52_c0829521eb94); +windows_core::imp::define_interface!(IContactsProviderActivatedEventArgs, IContactsProviderActivatedEventArgs_Vtbl, 0x4580dca8_5750_4916_aa52_c0829521eb94); windows_core::imp::interface_hierarchy!(IContactsProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IContactsProviderActivatedEventArgs, IActivatedEventArgs); impl IContactsProviderActivatedEventArgs { @@ -1143,7 +1143,7 @@ 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, } -windows_core::imp::com_interface!(IContinuationActivatedEventArgs, IContinuationActivatedEventArgs_Vtbl, 0xe58106b5_155f_4a94_a742_c7e08f4e188c); +windows_core::imp::define_interface!(IContinuationActivatedEventArgs, IContinuationActivatedEventArgs_Vtbl, 0xe58106b5_155f_4a94_a742_c7e08f4e188c); windows_core::imp::interface_hierarchy!(IContinuationActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IContinuationActivatedEventArgs, IActivatedEventArgs); impl IContinuationActivatedEventArgs { @@ -1188,7 +1188,7 @@ pub struct IContinuationActivatedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ContinuationData: usize, } -windows_core::imp::com_interface!(IDeviceActivatedEventArgs, IDeviceActivatedEventArgs_Vtbl, 0xcd50b9a9_ce10_44d2_8234_c355a073ef33); +windows_core::imp::define_interface!(IDeviceActivatedEventArgs, IDeviceActivatedEventArgs_Vtbl, 0xcd50b9a9_ce10_44d2_8234_c355a073ef33); windows_core::imp::interface_hierarchy!(IDeviceActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IDeviceActivatedEventArgs, IActivatedEventArgs); impl IDeviceActivatedEventArgs { @@ -1237,7 +1237,7 @@ pub struct IDeviceActivatedEventArgs_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, } -windows_core::imp::com_interface!(IDevicePairingActivatedEventArgs, IDevicePairingActivatedEventArgs_Vtbl, 0xeba0d1e4_ecc6_4148_94ed_f4b37ec05b3e); +windows_core::imp::define_interface!(IDevicePairingActivatedEventArgs, IDevicePairingActivatedEventArgs_Vtbl, 0xeba0d1e4_ecc6_4148_94ed_f4b37ec05b3e); windows_core::imp::interface_hierarchy!(IDevicePairingActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IDevicePairingActivatedEventArgs, IActivatedEventArgs); impl IDevicePairingActivatedEventArgs { @@ -1282,7 +1282,7 @@ pub struct IDevicePairingActivatedEventArgs_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] DeviceInformation: usize, } -windows_core::imp::com_interface!(IDialReceiverActivatedEventArgs, IDialReceiverActivatedEventArgs_Vtbl, 0xfb777ed7_85ee_456e_a44d_85d730e70aed); +windows_core::imp::define_interface!(IDialReceiverActivatedEventArgs, IDialReceiverActivatedEventArgs_Vtbl, 0xfb777ed7_85ee_456e_a44d_85d730e70aed); windows_core::imp::interface_hierarchy!(IDialReceiverActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IDialReceiverActivatedEventArgs, IActivatedEventArgs, ILaunchActivatedEventArgs); impl IDialReceiverActivatedEventArgs { @@ -1337,7 +1337,7 @@ 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, } -windows_core::imp::com_interface!(IFileActivatedEventArgs, IFileActivatedEventArgs_Vtbl, 0xbb2afc33_93b1_42ed_8b26_236dd9c78496); +windows_core::imp::define_interface!(IFileActivatedEventArgs, IFileActivatedEventArgs_Vtbl, 0xbb2afc33_93b1_42ed_8b26_236dd9c78496); windows_core::imp::interface_hierarchy!(IFileActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IFileActivatedEventArgs, IActivatedEventArgs); impl IFileActivatedEventArgs { @@ -1390,7 +1390,7 @@ pub struct IFileActivatedEventArgs_Vtbl { Files: usize, pub Verb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileActivatedEventArgsWithCallerPackageFamilyName, IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl, 0x2d60f06b_d25f_4d25_8653_e1c5e1108309); +windows_core::imp::define_interface!(IFileActivatedEventArgsWithCallerPackageFamilyName, IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl, 0x2d60f06b_d25f_4d25_8653_e1c5e1108309); windows_core::imp::interface_hierarchy!(IFileActivatedEventArgsWithCallerPackageFamilyName, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IFileActivatedEventArgsWithCallerPackageFamilyName, IActivatedEventArgs); impl IFileActivatedEventArgsWithCallerPackageFamilyName { @@ -1431,7 +1431,7 @@ 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, } -windows_core::imp::com_interface!(IFileActivatedEventArgsWithNeighboringFiles, IFileActivatedEventArgsWithNeighboringFiles_Vtbl, 0x433ba1a4_e1e2_48fd_b7fc_b5d6eee65033); +windows_core::imp::define_interface!(IFileActivatedEventArgsWithNeighboringFiles, IFileActivatedEventArgsWithNeighboringFiles_Vtbl, 0x433ba1a4_e1e2_48fd_b7fc_b5d6eee65033); windows_core::imp::interface_hierarchy!(IFileActivatedEventArgsWithNeighboringFiles, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IFileActivatedEventArgsWithNeighboringFiles, IActivatedEventArgs, IFileActivatedEventArgs); impl IFileActivatedEventArgsWithNeighboringFiles { @@ -1491,7 +1491,7 @@ pub struct IFileActivatedEventArgsWithNeighboringFiles_Vtbl { #[cfg(not(feature = "Storage_Search"))] NeighboringFilesQuery: usize, } -windows_core::imp::com_interface!(IFileOpenPickerActivatedEventArgs, IFileOpenPickerActivatedEventArgs_Vtbl, 0x72827082_5525_4bf2_bc09_1f5095d4964d); +windows_core::imp::define_interface!(IFileOpenPickerActivatedEventArgs, IFileOpenPickerActivatedEventArgs_Vtbl, 0x72827082_5525_4bf2_bc09_1f5095d4964d); windows_core::imp::interface_hierarchy!(IFileOpenPickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IFileOpenPickerActivatedEventArgs, IActivatedEventArgs); impl IFileOpenPickerActivatedEventArgs { @@ -1536,7 +1536,7 @@ pub struct IFileOpenPickerActivatedEventArgs_Vtbl { #[cfg(not(feature = "Storage_Pickers_Provider"))] FileOpenPickerUI: usize, } -windows_core::imp::com_interface!(IFileOpenPickerActivatedEventArgs2, IFileOpenPickerActivatedEventArgs2_Vtbl, 0x5e731f66_8d1f_45fb_af1d_73205c8fc7a1); +windows_core::imp::define_interface!(IFileOpenPickerActivatedEventArgs2, IFileOpenPickerActivatedEventArgs2_Vtbl, 0x5e731f66_8d1f_45fb_af1d_73205c8fc7a1); windows_core::imp::interface_hierarchy!(IFileOpenPickerActivatedEventArgs2, windows_core::IUnknown, windows_core::IInspectable); impl IFileOpenPickerActivatedEventArgs2 { pub fn CallerPackageFamilyName(&self) -> windows_core::Result { @@ -1556,7 +1556,7 @@ pub struct IFileOpenPickerActivatedEventArgs2_Vtbl { pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IFileOpenPickerContinuationEventArgs, IFileOpenPickerContinuationEventArgs_Vtbl, 0xf0fa3f3a_d4e8_4ad3_9c34_2308f32fcec9); +windows_core::imp::define_interface!(IFileOpenPickerContinuationEventArgs, IFileOpenPickerContinuationEventArgs_Vtbl, 0xf0fa3f3a_d4e8_4ad3_9c34_2308f32fcec9); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(IFileOpenPickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -1614,7 +1614,7 @@ pub struct IFileOpenPickerContinuationEventArgs_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage", feature = "deprecated")))] Files: usize, } -windows_core::imp::com_interface!(IFileSavePickerActivatedEventArgs, IFileSavePickerActivatedEventArgs_Vtbl, 0x81c19cf1_74e6_4387_82eb_bb8fd64b4346); +windows_core::imp::define_interface!(IFileSavePickerActivatedEventArgs, IFileSavePickerActivatedEventArgs_Vtbl, 0x81c19cf1_74e6_4387_82eb_bb8fd64b4346); windows_core::imp::interface_hierarchy!(IFileSavePickerActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IFileSavePickerActivatedEventArgs, IActivatedEventArgs); impl IFileSavePickerActivatedEventArgs { @@ -1659,7 +1659,7 @@ pub struct IFileSavePickerActivatedEventArgs_Vtbl { #[cfg(not(feature = "Storage_Pickers_Provider"))] FileSavePickerUI: usize, } -windows_core::imp::com_interface!(IFileSavePickerActivatedEventArgs2, IFileSavePickerActivatedEventArgs2_Vtbl, 0x6b73fe13_2cf2_4d48_8cbc_af67d23f1ce7); +windows_core::imp::define_interface!(IFileSavePickerActivatedEventArgs2, IFileSavePickerActivatedEventArgs2_Vtbl, 0x6b73fe13_2cf2_4d48_8cbc_af67d23f1ce7); windows_core::imp::interface_hierarchy!(IFileSavePickerActivatedEventArgs2, windows_core::IUnknown, windows_core::IInspectable); impl IFileSavePickerActivatedEventArgs2 { pub fn CallerPackageFamilyName(&self) -> windows_core::Result { @@ -1687,7 +1687,7 @@ pub struct IFileSavePickerActivatedEventArgs2_Vtbl { pub EnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IFileSavePickerContinuationEventArgs, IFileSavePickerContinuationEventArgs_Vtbl, 0x2c846fe1_3bad_4f33_8c8b_e46fae824b4b); +windows_core::imp::define_interface!(IFileSavePickerContinuationEventArgs, IFileSavePickerContinuationEventArgs_Vtbl, 0x2c846fe1_3bad_4f33_8c8b_e46fae824b4b); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(IFileSavePickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -1746,7 +1746,7 @@ pub struct IFileSavePickerContinuationEventArgs_Vtbl { File: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IFolderPickerContinuationEventArgs, IFolderPickerContinuationEventArgs_Vtbl, 0x51882366_9f4b_498f_beb0_42684f6e1c29); +windows_core::imp::define_interface!(IFolderPickerContinuationEventArgs, IFolderPickerContinuationEventArgs_Vtbl, 0x51882366_9f4b_498f_beb0_42684f6e1c29); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(IFolderPickerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -1804,7 +1804,7 @@ pub struct IFolderPickerContinuationEventArgs_Vtbl { #[cfg(not(all(feature = "Storage", feature = "deprecated")))] Folder: usize, } -windows_core::imp::com_interface!(ILaunchActivatedEventArgs, ILaunchActivatedEventArgs_Vtbl, 0xfbc93e26_a14a_4b4f_82b0_33bed920af52); +windows_core::imp::define_interface!(ILaunchActivatedEventArgs, ILaunchActivatedEventArgs_Vtbl, 0xfbc93e26_a14a_4b4f_82b0_33bed920af52); windows_core::imp::interface_hierarchy!(ILaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ILaunchActivatedEventArgs, IActivatedEventArgs); impl ILaunchActivatedEventArgs { @@ -1853,7 +1853,7 @@ pub struct ILaunchActivatedEventArgs_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, } -windows_core::imp::com_interface!(ILaunchActivatedEventArgs2, ILaunchActivatedEventArgs2_Vtbl, 0x0fd37ebc_9dc9_46b5_9ace_bd95d4565345); +windows_core::imp::define_interface!(ILaunchActivatedEventArgs2, ILaunchActivatedEventArgs2_Vtbl, 0x0fd37ebc_9dc9_46b5_9ace_bd95d4565345); windows_core::imp::interface_hierarchy!(ILaunchActivatedEventArgs2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ILaunchActivatedEventArgs2, IActivatedEventArgs, ILaunchActivatedEventArgs); impl ILaunchActivatedEventArgs2 { @@ -1908,7 +1908,7 @@ pub struct ILaunchActivatedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TileActivatedInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILockScreenActivatedEventArgs, ILockScreenActivatedEventArgs_Vtbl, 0x3ca77966_6108_4a41_8220_ee7d133c8532); +windows_core::imp::define_interface!(ILockScreenActivatedEventArgs, ILockScreenActivatedEventArgs_Vtbl, 0x3ca77966_6108_4a41_8220_ee7d133c8532); windows_core::imp::interface_hierarchy!(ILockScreenActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ILockScreenActivatedEventArgs, IActivatedEventArgs); impl ILockScreenActivatedEventArgs { @@ -1949,7 +1949,7 @@ pub struct ILockScreenActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Info: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILockScreenCallActivatedEventArgs, ILockScreenCallActivatedEventArgs_Vtbl, 0x06f37fbe_b5f2_448b_b13e_e328ac1c516a); +windows_core::imp::define_interface!(ILockScreenCallActivatedEventArgs, ILockScreenCallActivatedEventArgs_Vtbl, 0x06f37fbe_b5f2_448b_b13e_e328ac1c516a); windows_core::imp::interface_hierarchy!(ILockScreenCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ILockScreenCallActivatedEventArgs, IActivatedEventArgs, ILaunchActivatedEventArgs); impl ILockScreenCallActivatedEventArgs { @@ -2008,7 +2008,7 @@ pub struct ILockScreenCallActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_Calls"))] CallUI: usize, } -windows_core::imp::com_interface!(IPhoneCallActivatedEventArgs, IPhoneCallActivatedEventArgs_Vtbl, 0x54615221_a3c1_4ced_b62f_8c60523619ad); +windows_core::imp::define_interface!(IPhoneCallActivatedEventArgs, IPhoneCallActivatedEventArgs_Vtbl, 0x54615221_a3c1_4ced_b62f_8c60523619ad); windows_core::imp::interface_hierarchy!(IPhoneCallActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPhoneCallActivatedEventArgs, IActivatedEventArgs); impl IPhoneCallActivatedEventArgs { @@ -2049,7 +2049,7 @@ pub struct IPhoneCallActivatedEventArgs_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, } -windows_core::imp::com_interface!(IPickerReturnedActivatedEventArgs, IPickerReturnedActivatedEventArgs_Vtbl, 0x360defb9_a9d3_4984_a4ed_9ec734604921); +windows_core::imp::define_interface!(IPickerReturnedActivatedEventArgs, IPickerReturnedActivatedEventArgs_Vtbl, 0x360defb9_a9d3_4984_a4ed_9ec734604921); windows_core::imp::interface_hierarchy!(IPickerReturnedActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPickerReturnedActivatedEventArgs, IActivatedEventArgs); impl IPickerReturnedActivatedEventArgs { @@ -2090,7 +2090,7 @@ 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, } -windows_core::imp::com_interface!(IPrelaunchActivatedEventArgs, IPrelaunchActivatedEventArgs_Vtbl, 0x0c44717b_19f7_48d6_b046_cf22826eaa74); +windows_core::imp::define_interface!(IPrelaunchActivatedEventArgs, IPrelaunchActivatedEventArgs_Vtbl, 0x0c44717b_19f7_48d6_b046_cf22826eaa74); windows_core::imp::interface_hierarchy!(IPrelaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPrelaunchActivatedEventArgs, IActivatedEventArgs); impl IPrelaunchActivatedEventArgs { @@ -2131,7 +2131,7 @@ pub struct IPrelaunchActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PrelaunchActivated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint3DWorkflowActivatedEventArgs, IPrint3DWorkflowActivatedEventArgs_Vtbl, 0x3f57e78b_f2ac_4619_8302_ef855e1c9b90); +windows_core::imp::define_interface!(IPrint3DWorkflowActivatedEventArgs, IPrint3DWorkflowActivatedEventArgs_Vtbl, 0x3f57e78b_f2ac_4619_8302_ef855e1c9b90); windows_core::imp::interface_hierarchy!(IPrint3DWorkflowActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPrint3DWorkflowActivatedEventArgs, IActivatedEventArgs); impl IPrint3DWorkflowActivatedEventArgs { @@ -2176,7 +2176,7 @@ pub struct IPrint3DWorkflowActivatedEventArgs_Vtbl { #[cfg(not(feature = "Devices_Printers_Extensions"))] Workflow: usize, } -windows_core::imp::com_interface!(IPrintTaskSettingsActivatedEventArgs, IPrintTaskSettingsActivatedEventArgs_Vtbl, 0xee30a0c9_ce56_4865_ba8e_8954ac271107); +windows_core::imp::define_interface!(IPrintTaskSettingsActivatedEventArgs, IPrintTaskSettingsActivatedEventArgs_Vtbl, 0xee30a0c9_ce56_4865_ba8e_8954ac271107); windows_core::imp::interface_hierarchy!(IPrintTaskSettingsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPrintTaskSettingsActivatedEventArgs, IActivatedEventArgs); impl IPrintTaskSettingsActivatedEventArgs { @@ -2221,7 +2221,7 @@ pub struct IPrintTaskSettingsActivatedEventArgs_Vtbl { #[cfg(not(feature = "Devices_Printers_Extensions"))] Configuration: usize, } -windows_core::imp::com_interface!(IProtocolActivatedEventArgs, IProtocolActivatedEventArgs_Vtbl, 0x6095f4dd_b7c0_46ab_81fe_d90f36d00d24); +windows_core::imp::define_interface!(IProtocolActivatedEventArgs, IProtocolActivatedEventArgs_Vtbl, 0x6095f4dd_b7c0_46ab_81fe_d90f36d00d24); windows_core::imp::interface_hierarchy!(IProtocolActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IProtocolActivatedEventArgs, IActivatedEventArgs); impl IProtocolActivatedEventArgs { @@ -2262,7 +2262,7 @@ pub struct IProtocolActivatedEventArgs_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, } -windows_core::imp::com_interface!(IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl, 0xd84a0c12_5c8f_438c_83cb_c28fcc0b2fdb); +windows_core::imp::define_interface!(IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl, 0xd84a0c12_5c8f_438c_83cb_c28fcc0b2fdb); windows_core::imp::interface_hierarchy!(IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData, IActivatedEventArgs); impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData { @@ -2315,7 +2315,7 @@ pub struct IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Data: usize, } -windows_core::imp::com_interface!(IProtocolForResultsActivatedEventArgs, IProtocolForResultsActivatedEventArgs_Vtbl, 0xe75132c2_7ae7_4517_80ac_dbe8d7cc5b9c); +windows_core::imp::define_interface!(IProtocolForResultsActivatedEventArgs, IProtocolForResultsActivatedEventArgs_Vtbl, 0xe75132c2_7ae7_4517_80ac_dbe8d7cc5b9c); windows_core::imp::interface_hierarchy!(IProtocolForResultsActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IProtocolForResultsActivatedEventArgs, IActivatedEventArgs); impl IProtocolForResultsActivatedEventArgs { @@ -2360,7 +2360,7 @@ pub struct IProtocolForResultsActivatedEventArgs_Vtbl { #[cfg(not(feature = "System"))] ProtocolForResultsOperation: usize, } -windows_core::imp::com_interface!(IRestrictedLaunchActivatedEventArgs, IRestrictedLaunchActivatedEventArgs_Vtbl, 0xe0b7ac81_bfc3_4344_a5da_19fd5a27baae); +windows_core::imp::define_interface!(IRestrictedLaunchActivatedEventArgs, IRestrictedLaunchActivatedEventArgs_Vtbl, 0xe0b7ac81_bfc3_4344_a5da_19fd5a27baae); windows_core::imp::interface_hierarchy!(IRestrictedLaunchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IRestrictedLaunchActivatedEventArgs, IActivatedEventArgs); impl IRestrictedLaunchActivatedEventArgs { @@ -2401,7 +2401,7 @@ pub struct IRestrictedLaunchActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SharedContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchActivatedEventArgs, ISearchActivatedEventArgs_Vtbl, 0x8cb36951_58c8_43e3_94bc_41d33f8b630e); +windows_core::imp::define_interface!(ISearchActivatedEventArgs, ISearchActivatedEventArgs_Vtbl, 0x8cb36951_58c8_43e3_94bc_41d33f8b630e); windows_core::imp::interface_hierarchy!(ISearchActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ISearchActivatedEventArgs, IActivatedEventArgs); impl ISearchActivatedEventArgs { @@ -2450,7 +2450,7 @@ pub struct ISearchActivatedEventArgs_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, } -windows_core::imp::com_interface!(ISearchActivatedEventArgsWithLinguisticDetails, ISearchActivatedEventArgsWithLinguisticDetails_Vtbl, 0xc09f33da_08ab_4931_9b7c_451025f21f81); +windows_core::imp::define_interface!(ISearchActivatedEventArgsWithLinguisticDetails, ISearchActivatedEventArgsWithLinguisticDetails_Vtbl, 0xc09f33da_08ab_4931_9b7c_451025f21f81); windows_core::imp::interface_hierarchy!(ISearchActivatedEventArgsWithLinguisticDetails, windows_core::IUnknown, windows_core::IInspectable); impl ISearchActivatedEventArgsWithLinguisticDetails { #[cfg(feature = "ApplicationModel_Search")] @@ -2473,7 +2473,7 @@ pub struct ISearchActivatedEventArgsWithLinguisticDetails_Vtbl { #[cfg(not(feature = "ApplicationModel_Search"))] LinguisticDetails: usize, } -windows_core::imp::com_interface!(IShareTargetActivatedEventArgs, IShareTargetActivatedEventArgs_Vtbl, 0x4bdaf9c8_cdb2_4acb_bfc3_6648563378ec); +windows_core::imp::define_interface!(IShareTargetActivatedEventArgs, IShareTargetActivatedEventArgs_Vtbl, 0x4bdaf9c8_cdb2_4acb_bfc3_6648563378ec); windows_core::imp::interface_hierarchy!(IShareTargetActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IShareTargetActivatedEventArgs, IActivatedEventArgs); impl IShareTargetActivatedEventArgs { @@ -2518,7 +2518,7 @@ pub struct IShareTargetActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_DataTransfer_ShareTarget"))] ShareOperation: usize, } -windows_core::imp::com_interface!(ISplashScreen, ISplashScreen_Vtbl, 0xca4d975c_d4d6_43f0_97c0_0833c6391c24); +windows_core::imp::define_interface!(ISplashScreen, ISplashScreen_Vtbl, 0xca4d975c_d4d6_43f0_97c0_0833c6391c24); #[repr(C)] pub struct ISplashScreen_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2526,7 +2526,7 @@ pub struct ISplashScreen_Vtbl { pub Dismissed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDismissed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStartupTaskActivatedEventArgs, IStartupTaskActivatedEventArgs_Vtbl, 0x03b11a58_5276_4d91_8621_54611864d5fa); +windows_core::imp::define_interface!(IStartupTaskActivatedEventArgs, IStartupTaskActivatedEventArgs_Vtbl, 0x03b11a58_5276_4d91_8621_54611864d5fa); windows_core::imp::interface_hierarchy!(IStartupTaskActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IStartupTaskActivatedEventArgs, IActivatedEventArgs); impl IStartupTaskActivatedEventArgs { @@ -2567,7 +2567,7 @@ 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, } -windows_core::imp::com_interface!(ITileActivatedInfo, ITileActivatedInfo_Vtbl, 0x80e4a3b1_3980_4f17_b738_89194e0b8f65); +windows_core::imp::define_interface!(ITileActivatedInfo, ITileActivatedInfo_Vtbl, 0x80e4a3b1_3980_4f17_b738_89194e0b8f65); #[repr(C)] pub struct ITileActivatedInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2576,7 +2576,7 @@ pub struct ITileActivatedInfo_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_Notifications")))] RecentlyShownNotifications: usize, } -windows_core::imp::com_interface!(IToastNotificationActivatedEventArgs, IToastNotificationActivatedEventArgs_Vtbl, 0x92a86f82_5290_431d_be85_c4aaeeb8685f); +windows_core::imp::define_interface!(IToastNotificationActivatedEventArgs, IToastNotificationActivatedEventArgs_Vtbl, 0x92a86f82_5290_431d_be85_c4aaeeb8685f); windows_core::imp::interface_hierarchy!(IToastNotificationActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IToastNotificationActivatedEventArgs, IActivatedEventArgs); impl IToastNotificationActivatedEventArgs { @@ -2629,7 +2629,7 @@ pub struct IToastNotificationActivatedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] UserInput: usize, } -windows_core::imp::com_interface!(IUserDataAccountProviderActivatedEventArgs, IUserDataAccountProviderActivatedEventArgs_Vtbl, 0x1bc9f723_8ef1_4a51_a63a_fe711eeab607); +windows_core::imp::define_interface!(IUserDataAccountProviderActivatedEventArgs, IUserDataAccountProviderActivatedEventArgs_Vtbl, 0x1bc9f723_8ef1_4a51_a63a_fe711eeab607); windows_core::imp::interface_hierarchy!(IUserDataAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IUserDataAccountProviderActivatedEventArgs, IActivatedEventArgs); impl IUserDataAccountProviderActivatedEventArgs { @@ -2674,7 +2674,7 @@ pub struct IUserDataAccountProviderActivatedEventArgs_Vtbl { #[cfg(not(feature = "ApplicationModel_UserDataAccounts_Provider"))] Operation: usize, } -windows_core::imp::com_interface!(IViewSwitcherProvider, IViewSwitcherProvider_Vtbl, 0x33f288a6_5c2c_4d27_bac7_7536088f1219); +windows_core::imp::define_interface!(IViewSwitcherProvider, IViewSwitcherProvider_Vtbl, 0x33f288a6_5c2c_4d27_bac7_7536088f1219); windows_core::imp::interface_hierarchy!(IViewSwitcherProvider, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IViewSwitcherProvider, IActivatedEventArgs); impl IViewSwitcherProvider { @@ -2719,7 +2719,7 @@ pub struct IViewSwitcherProvider_Vtbl { #[cfg(not(feature = "UI_ViewManagement"))] ViewSwitcher: usize, } -windows_core::imp::com_interface!(IVoiceCommandActivatedEventArgs, IVoiceCommandActivatedEventArgs_Vtbl, 0xab92dcfd_8d43_4de6_9775_20704b581b00); +windows_core::imp::define_interface!(IVoiceCommandActivatedEventArgs, IVoiceCommandActivatedEventArgs_Vtbl, 0xab92dcfd_8d43_4de6_9775_20704b581b00); windows_core::imp::interface_hierarchy!(IVoiceCommandActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IVoiceCommandActivatedEventArgs, IActivatedEventArgs); impl IVoiceCommandActivatedEventArgs { @@ -2765,7 +2765,7 @@ pub struct IVoiceCommandActivatedEventArgs_Vtbl { Result: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletActionActivatedEventArgs, IWalletActionActivatedEventArgs_Vtbl, 0xfcfc027b_1a1a_4d22_923f_ae6f45fa52d9); +windows_core::imp::define_interface!(IWalletActionActivatedEventArgs, IWalletActionActivatedEventArgs_Vtbl, 0xfcfc027b_1a1a_4d22_923f_ae6f45fa52d9); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(IWalletActionActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -2839,7 +2839,7 @@ pub struct IWalletActionActivatedEventArgs_Vtbl { #[cfg(not(feature = "deprecated"))] ActionId: usize, } -windows_core::imp::com_interface!(IWebAccountProviderActivatedEventArgs, IWebAccountProviderActivatedEventArgs_Vtbl, 0x72b71774_98ea_4ccf_9752_46d9051004f1); +windows_core::imp::define_interface!(IWebAccountProviderActivatedEventArgs, IWebAccountProviderActivatedEventArgs_Vtbl, 0x72b71774_98ea_4ccf_9752_46d9051004f1); windows_core::imp::interface_hierarchy!(IWebAccountProviderActivatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IWebAccountProviderActivatedEventArgs, IActivatedEventArgs); impl IWebAccountProviderActivatedEventArgs { @@ -2884,7 +2884,7 @@ pub struct IWebAccountProviderActivatedEventArgs_Vtbl { #[cfg(not(feature = "Security_Authentication_Web_Provider"))] Operation: usize, } -windows_core::imp::com_interface!(IWebAuthenticationBrokerContinuationEventArgs, IWebAuthenticationBrokerContinuationEventArgs_Vtbl, 0x75dda3d4_7714_453d_b7ff_b95e3a1709da); +windows_core::imp::define_interface!(IWebAuthenticationBrokerContinuationEventArgs, IWebAuthenticationBrokerContinuationEventArgs_Vtbl, 0x75dda3d4_7714_453d_b7ff_b95e3a1709da); windows_core::imp::interface_hierarchy!(IWebAuthenticationBrokerContinuationEventArgs, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IWebAuthenticationBrokerContinuationEventArgs, IActivatedEventArgs, IContinuationActivatedEventArgs); impl IWebAuthenticationBrokerContinuationEventArgs { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs index 30089a507c..f7ae5ea216 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppExtensions/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAppExtension, IAppExtension_Vtbl, 0x8450902c_15ed_4faf_93ea_2237bbf8cbd6); +windows_core::imp::define_interface!(IAppExtension, IAppExtension_Vtbl, 0x8450902c_15ed_4faf_93ea_2237bbf8cbd6); #[repr(C)] pub struct IAppExtension_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,13 +16,13 @@ pub struct IAppExtension_Vtbl { #[cfg(not(feature = "Storage"))] GetPublicFolderAsync: usize, } -windows_core::imp::com_interface!(IAppExtension2, IAppExtension2_Vtbl, 0xab3b15f0_14f9_4b9f_9419_a349a242ef38); +windows_core::imp::define_interface!(IAppExtension2, IAppExtension2_Vtbl, 0xab3b15f0_14f9_4b9f_9419_a349a242ef38); #[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, } -windows_core::imp::com_interface!(IAppExtensionCatalog, IAppExtensionCatalog_Vtbl, 0x97872032_8426_4ad1_9084_92e88c2da200); +windows_core::imp::define_interface!(IAppExtensionCatalog, IAppExtensionCatalog_Vtbl, 0x97872032_8426_4ad1_9084_92e88c2da200); #[repr(C)] pub struct IAppExtensionCatalog_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -42,13 +42,13 @@ pub struct IAppExtensionCatalog_Vtbl { pub PackageStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePackageStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppExtensionCatalogStatics, IAppExtensionCatalogStatics_Vtbl, 0x3c36668a_5f18_4f0b_9ce5_cab61d196f11); +windows_core::imp::define_interface!(IAppExtensionCatalogStatics, IAppExtensionCatalogStatics_Vtbl, 0x3c36668a_5f18_4f0b_9ce5_cab61d196f11); #[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, } -windows_core::imp::com_interface!(IAppExtensionPackageInstalledEventArgs, IAppExtensionPackageInstalledEventArgs_Vtbl, 0x39e59234_3351_4a8d_9745_e7d3dd45bc48); +windows_core::imp::define_interface!(IAppExtensionPackageInstalledEventArgs, IAppExtensionPackageInstalledEventArgs_Vtbl, 0x39e59234_3351_4a8d_9745_e7d3dd45bc48); #[repr(C)] pub struct IAppExtensionPackageInstalledEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -59,21 +59,21 @@ pub struct IAppExtensionPackageInstalledEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Extensions: usize, } -windows_core::imp::com_interface!(IAppExtensionPackageStatusChangedEventArgs, IAppExtensionPackageStatusChangedEventArgs_Vtbl, 0x1ce17433_1153_44fd_87b1_8ae1050303df); +windows_core::imp::define_interface!(IAppExtensionPackageStatusChangedEventArgs, IAppExtensionPackageStatusChangedEventArgs_Vtbl, 0x1ce17433_1153_44fd_87b1_8ae1050303df); #[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 Package: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppExtensionPackageUninstallingEventArgs, IAppExtensionPackageUninstallingEventArgs_Vtbl, 0x60f160c5_171e_40ff_ae98_ab2c20dd4d75); +windows_core::imp::define_interface!(IAppExtensionPackageUninstallingEventArgs, IAppExtensionPackageUninstallingEventArgs_Vtbl, 0x60f160c5_171e_40ff_ae98_ab2c20dd4d75); #[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 Package: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppExtensionPackageUpdatedEventArgs, IAppExtensionPackageUpdatedEventArgs_Vtbl, 0x3a83c43f_797e_44b5_ba24_a4c8b5a543d7); +windows_core::imp::define_interface!(IAppExtensionPackageUpdatedEventArgs, IAppExtensionPackageUpdatedEventArgs_Vtbl, 0x3a83c43f_797e_44b5_ba24_a4c8b5a543d7); #[repr(C)] pub struct IAppExtensionPackageUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -84,7 +84,7 @@ pub struct IAppExtensionPackageUpdatedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Extensions: usize, } -windows_core::imp::com_interface!(IAppExtensionPackageUpdatingEventArgs, IAppExtensionPackageUpdatingEventArgs_Vtbl, 0x7ed59329_1a65_4800_a700_b321009e306a); +windows_core::imp::define_interface!(IAppExtensionPackageUpdatingEventArgs, IAppExtensionPackageUpdatingEventArgs_Vtbl, 0x7ed59329_1a65_4800_a700_b321009e306a); #[repr(C)] pub struct IAppExtensionPackageUpdatingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs index 6994f5c69c..13ef9febda 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/AppService/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAppServiceCatalogStatics, IAppServiceCatalogStatics_Vtbl, 0xef0d2507_d132_4c85_8395_3c31d5a1e941); +windows_core::imp::define_interface!(IAppServiceCatalogStatics, IAppServiceCatalogStatics_Vtbl, 0xef0d2507_d132_4c85_8395_3c31d5a1e941); #[repr(C)] pub struct IAppServiceCatalogStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,13 +7,13 @@ pub struct IAppServiceCatalogStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindAppServiceProvidersAsync: usize, } -windows_core::imp::com_interface!(IAppServiceClosedEventArgs, IAppServiceClosedEventArgs_Vtbl, 0xde6016f6_cb03_4d35_ac8d_cc6303239731); +windows_core::imp::define_interface!(IAppServiceClosedEventArgs, IAppServiceClosedEventArgs_Vtbl, 0xde6016f6_cb03_4d35_ac8d_cc6303239731); #[repr(C)] pub struct IAppServiceClosedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppServiceClosedStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppServiceConnection, IAppServiceConnection_Vtbl, 0x9dd474a2_871f_4d52_89a9_9e090531bd27); +windows_core::imp::define_interface!(IAppServiceConnection, IAppServiceConnection_Vtbl, 0x9dd474a2_871f_4d52_89a9_9e090531bd27); #[repr(C)] pub struct IAppServiceConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -31,7 +31,7 @@ pub struct IAppServiceConnection_Vtbl { pub ServiceClosed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveServiceClosed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppServiceConnection2, IAppServiceConnection2_Vtbl, 0x8bdfcd5f_2302_4fbd_8061_52511c2f8bf9); +windows_core::imp::define_interface!(IAppServiceConnection2, IAppServiceConnection2_Vtbl, 0x8bdfcd5f_2302_4fbd_8061_52511c2f8bf9); #[repr(C)] pub struct IAppServiceConnection2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -48,7 +48,7 @@ pub struct IAppServiceConnection2_Vtbl { #[cfg(not(feature = "System"))] SetUser: usize, } -windows_core::imp::com_interface!(IAppServiceConnectionStatics, IAppServiceConnectionStatics_Vtbl, 0xadc56ce9_d408_5673_8637_827a4b274168); +windows_core::imp::define_interface!(IAppServiceConnectionStatics, IAppServiceConnectionStatics_Vtbl, 0xadc56ce9_d408_5673_8637_827a4b274168); #[repr(C)] pub struct IAppServiceConnectionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,13 +57,13 @@ pub struct IAppServiceConnectionStatics_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "System_RemoteSystems")))] SendStatelessMessageAsync: usize, } -windows_core::imp::com_interface!(IAppServiceDeferral, IAppServiceDeferral_Vtbl, 0x7e1b5322_eab0_4248_ae04_fdf93838e472); +windows_core::imp::define_interface!(IAppServiceDeferral, IAppServiceDeferral_Vtbl, 0x7e1b5322_eab0_4248_ae04_fdf93838e472); #[repr(C)] pub struct IAppServiceDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppServiceRequest, IAppServiceRequest_Vtbl, 0x20e58d9d_18de_4b01_80ba_90a76204e3c8); +windows_core::imp::define_interface!(IAppServiceRequest, IAppServiceRequest_Vtbl, 0x20e58d9d_18de_4b01_80ba_90a76204e3c8); #[repr(C)] pub struct IAppServiceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -76,14 +76,14 @@ pub struct IAppServiceRequest_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SendResponseAsync: usize, } -windows_core::imp::com_interface!(IAppServiceRequestReceivedEventArgs, IAppServiceRequestReceivedEventArgs_Vtbl, 0x6e122360_ff65_44ae_9e45_857fe4180681); +windows_core::imp::define_interface!(IAppServiceRequestReceivedEventArgs, IAppServiceRequestReceivedEventArgs_Vtbl, 0x6e122360_ff65_44ae_9e45_857fe4180681); #[repr(C)] pub struct IAppServiceRequestReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IAppServiceResponse, IAppServiceResponse_Vtbl, 0x8d503cec_9aa3_4e68_9559_9de63e372ce4); +windows_core::imp::define_interface!(IAppServiceResponse, IAppServiceResponse_Vtbl, 0x8d503cec_9aa3_4e68_9559_9de63e372ce4); #[repr(C)] pub struct IAppServiceResponse_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -93,7 +93,7 @@ pub struct IAppServiceResponse_Vtbl { Message: usize, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppServiceResponseStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppServiceTriggerDetails, IAppServiceTriggerDetails_Vtbl, 0x88a2dcac_ad28_41b8_80bb_bdf1b2169e19); +windows_core::imp::define_interface!(IAppServiceTriggerDetails, IAppServiceTriggerDetails_Vtbl, 0x88a2dcac_ad28_41b8_80bb_bdf1b2169e19); #[repr(C)] pub struct IAppServiceTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -101,25 +101,25 @@ pub struct IAppServiceTriggerDetails_Vtbl { pub CallerPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IAppServiceTriggerDetails2, IAppServiceTriggerDetails2_Vtbl, 0xe83d54b2_28cc_43f2_b465_c0482e59e2dc); +windows_core::imp::define_interface!(IAppServiceTriggerDetails2, IAppServiceTriggerDetails2_Vtbl, 0xe83d54b2_28cc_43f2_b465_c0482e59e2dc); #[repr(C)] pub struct IAppServiceTriggerDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsRemoteSystemConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppServiceTriggerDetails3, IAppServiceTriggerDetails3_Vtbl, 0xfbd71e21_7939_4e68_9e3c_7780147aabb6); +windows_core::imp::define_interface!(IAppServiceTriggerDetails3, IAppServiceTriggerDetails3_Vtbl, 0xfbd71e21_7939_4e68_9e3c_7780147aabb6); #[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, } -windows_core::imp::com_interface!(IAppServiceTriggerDetails4, IAppServiceTriggerDetails4_Vtbl, 0x1185b180_8861_5e30_ab55_1cf4d08bbf6d); +windows_core::imp::define_interface!(IAppServiceTriggerDetails4, IAppServiceTriggerDetails4_Vtbl, 0x1185b180_8861_5e30_ab55_1cf4d08bbf6d); #[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, } -windows_core::imp::com_interface!(IStatelessAppServiceResponse, IStatelessAppServiceResponse_Vtbl, 0x43754af7_a9ec_52fe_82e7_939b68dc9388); +windows_core::imp::define_interface!(IStatelessAppServiceResponse, IStatelessAppServiceResponse_Vtbl, 0x43754af7_a9ec_52fe_82e7_939b68dc9388); #[repr(C)] pub struct IStatelessAppServiceResponse_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 e8b4b1dd4f..22b64e5e07 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/AppointmentsProvider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAddAppointmentOperation, IAddAppointmentOperation_Vtbl, 0xec4a9af3_620d_4c69_add7_9794e918081f); +windows_core::imp::define_interface!(IAddAppointmentOperation, IAddAppointmentOperation_Vtbl, 0xec4a9af3_620d_4c69_add7_9794e918081f); #[repr(C)] pub struct IAddAppointmentOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IAddAppointmentOperation_Vtbl { pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, pub DismissUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentsProviderLaunchActionVerbsStatics, IAppointmentsProviderLaunchActionVerbsStatics_Vtbl, 0x36dbba28_9e2e_49c6_8ef7_3ab7a5dcc8b8); +windows_core::imp::define_interface!(IAppointmentsProviderLaunchActionVerbsStatics, IAppointmentsProviderLaunchActionVerbsStatics_Vtbl, 0x36dbba28_9e2e_49c6_8ef7_3ab7a5dcc8b8); #[repr(C)] pub struct IAppointmentsProviderLaunchActionVerbsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,13 +18,13 @@ pub struct IAppointmentsProviderLaunchActionVerbsStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentsProviderLaunchActionVerbsStatics2, IAppointmentsProviderLaunchActionVerbsStatics2_Vtbl, 0xef9049a4_af21_473c_88dc_76cd89f60ca5); +windows_core::imp::define_interface!(IAppointmentsProviderLaunchActionVerbsStatics2, IAppointmentsProviderLaunchActionVerbsStatics2_Vtbl, 0xef9049a4_af21_473c_88dc_76cd89f60ca5); #[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, } -windows_core::imp::com_interface!(IRemoveAppointmentOperation, IRemoveAppointmentOperation_Vtbl, 0x08b66aba_fe33_46cd_a50c_a8ffb3260537); +windows_core::imp::define_interface!(IRemoveAppointmentOperation, IRemoveAppointmentOperation_Vtbl, 0x08b66aba_fe33_46cd_a50c_a8ffb3260537); #[repr(C)] pub struct IRemoveAppointmentOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -36,7 +36,7 @@ pub struct IRemoveAppointmentOperation_Vtbl { pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, pub DismissUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReplaceAppointmentOperation, IReplaceAppointmentOperation_Vtbl, 0xf4903d9b_9e61_4de2_a732_2687c07d1de8); +windows_core::imp::define_interface!(IReplaceAppointmentOperation, IReplaceAppointmentOperation_Vtbl, 0xf4903d9b_9e61_4de2_a732_2687c07d1de8); #[repr(C)] pub struct IReplaceAppointmentOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 32fea512cb..4b1f722a19 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/DataProvider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAppointmentCalendarCancelMeetingRequest, IAppointmentCalendarCancelMeetingRequest_Vtbl, 0x49460f8d_6434_40d7_ad46_6297419314d1); +windows_core::imp::define_interface!(IAppointmentCalendarCancelMeetingRequest, IAppointmentCalendarCancelMeetingRequest_Vtbl, 0x49460f8d_6434_40d7_ad46_6297419314d1); #[repr(C)] pub struct IAppointmentCalendarCancelMeetingRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,14 +11,14 @@ pub struct IAppointmentCalendarCancelMeetingRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentCalendarCancelMeetingRequestEventArgs, IAppointmentCalendarCancelMeetingRequestEventArgs_Vtbl, 0x1a79be16_7f30_4e35_beef_9d2c7b6dcae1); +windows_core::imp::define_interface!(IAppointmentCalendarCancelMeetingRequestEventArgs, IAppointmentCalendarCancelMeetingRequestEventArgs_Vtbl, 0x1a79be16_7f30_4e35_beef_9d2c7b6dcae1); #[repr(C)] pub struct IAppointmentCalendarCancelMeetingRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IAppointmentCalendarCreateOrUpdateAppointmentRequest, IAppointmentCalendarCreateOrUpdateAppointmentRequest_Vtbl, 0x2e62f2b2_ca96_48ac_9124_406b19fefa70); +windows_core::imp::define_interface!(IAppointmentCalendarCreateOrUpdateAppointmentRequest, IAppointmentCalendarCreateOrUpdateAppointmentRequest_Vtbl, 0x2e62f2b2_ca96_48ac_9124_406b19fefa70); #[repr(C)] pub struct IAppointmentCalendarCreateOrUpdateAppointmentRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -32,14 +32,14 @@ pub struct IAppointmentCalendarCreateOrUpdateAppointmentRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs, IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs_Vtbl, 0xcf8ded28_002e_4bf7_8e9d_5e20d49aa3ba); +windows_core::imp::define_interface!(IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs, IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs_Vtbl, 0xcf8ded28_002e_4bf7_8e9d_5e20d49aa3ba); #[repr(C)] pub struct IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IAppointmentCalendarForwardMeetingRequest, IAppointmentCalendarForwardMeetingRequest_Vtbl, 0x82e5ee56_26b6_4253_8a8f_6cf5f2ff7884); +windows_core::imp::define_interface!(IAppointmentCalendarForwardMeetingRequest, IAppointmentCalendarForwardMeetingRequest_Vtbl, 0x82e5ee56_26b6_4253_8a8f_6cf5f2ff7884); #[repr(C)] pub struct IAppointmentCalendarForwardMeetingRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,14 +56,14 @@ pub struct IAppointmentCalendarForwardMeetingRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentCalendarForwardMeetingRequestEventArgs, IAppointmentCalendarForwardMeetingRequestEventArgs_Vtbl, 0x3109151a_23a2_42fd_9c82_c9a60d59f8a8); +windows_core::imp::define_interface!(IAppointmentCalendarForwardMeetingRequestEventArgs, IAppointmentCalendarForwardMeetingRequestEventArgs_Vtbl, 0x3109151a_23a2_42fd_9c82_c9a60d59f8a8); #[repr(C)] pub struct IAppointmentCalendarForwardMeetingRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IAppointmentCalendarProposeNewTimeForMeetingRequest, IAppointmentCalendarProposeNewTimeForMeetingRequest_Vtbl, 0xce1c63f5_edf6_43c3_82b7_be6b368c6900); +windows_core::imp::define_interface!(IAppointmentCalendarProposeNewTimeForMeetingRequest, IAppointmentCalendarProposeNewTimeForMeetingRequest_Vtbl, 0xce1c63f5_edf6_43c3_82b7_be6b368c6900); #[repr(C)] pub struct IAppointmentCalendarProposeNewTimeForMeetingRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -77,14 +77,14 @@ pub struct IAppointmentCalendarProposeNewTimeForMeetingRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs, IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs_Vtbl, 0xd2d777d8_fed1_4280_a3ba_2e1f47609aa2); +windows_core::imp::define_interface!(IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs, IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs_Vtbl, 0xd2d777d8_fed1_4280_a3ba_2e1f47609aa2); #[repr(C)] pub struct IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IAppointmentCalendarSyncManagerSyncRequest, IAppointmentCalendarSyncManagerSyncRequest_Vtbl, 0x12ab382b_7163_4a56_9a4e_7223a84adf46); +windows_core::imp::define_interface!(IAppointmentCalendarSyncManagerSyncRequest, IAppointmentCalendarSyncManagerSyncRequest_Vtbl, 0x12ab382b_7163_4a56_9a4e_7223a84adf46); #[repr(C)] pub struct IAppointmentCalendarSyncManagerSyncRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -92,14 +92,14 @@ pub struct IAppointmentCalendarSyncManagerSyncRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentCalendarSyncManagerSyncRequestEventArgs, IAppointmentCalendarSyncManagerSyncRequestEventArgs_Vtbl, 0xca17c6f7_0284_4edd_87ba_4d8f69dcf5c0); +windows_core::imp::define_interface!(IAppointmentCalendarSyncManagerSyncRequestEventArgs, IAppointmentCalendarSyncManagerSyncRequestEventArgs_Vtbl, 0xca17c6f7_0284_4edd_87ba_4d8f69dcf5c0); #[repr(C)] pub struct IAppointmentCalendarSyncManagerSyncRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IAppointmentCalendarUpdateMeetingResponseRequest, IAppointmentCalendarUpdateMeetingResponseRequest_Vtbl, 0xa36d608c_c29d_4b94_b086_7e9ff7bd84a0); +windows_core::imp::define_interface!(IAppointmentCalendarUpdateMeetingResponseRequest, IAppointmentCalendarUpdateMeetingResponseRequest_Vtbl, 0xa36d608c_c29d_4b94_b086_7e9ff7bd84a0); #[repr(C)] pub struct IAppointmentCalendarUpdateMeetingResponseRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -113,14 +113,14 @@ pub struct IAppointmentCalendarUpdateMeetingResponseRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentCalendarUpdateMeetingResponseRequestEventArgs, IAppointmentCalendarUpdateMeetingResponseRequestEventArgs_Vtbl, 0x88759883_97bf_479d_aed5_0be8ce567d1e); +windows_core::imp::define_interface!(IAppointmentCalendarUpdateMeetingResponseRequestEventArgs, IAppointmentCalendarUpdateMeetingResponseRequestEventArgs_Vtbl, 0x88759883_97bf_479d_aed5_0be8ce567d1e); #[repr(C)] pub struct IAppointmentCalendarUpdateMeetingResponseRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IAppointmentDataProviderConnection, IAppointmentDataProviderConnection_Vtbl, 0xf3dd9d83_3254_465f_abdb_928046552cf4); +windows_core::imp::define_interface!(IAppointmentDataProviderConnection, IAppointmentDataProviderConnection_Vtbl, 0xf3dd9d83_3254_465f_abdb_928046552cf4); #[repr(C)] pub struct IAppointmentDataProviderConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -138,7 +138,7 @@ pub struct IAppointmentDataProviderConnection_Vtbl { pub RemoveUpdateMeetingResponseRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentDataProviderTriggerDetails, IAppointmentDataProviderTriggerDetails_Vtbl, 0xb3283c01_7e12_4e5e_b1ef_74fb68ac6f2a); +windows_core::imp::define_interface!(IAppointmentDataProviderTriggerDetails, IAppointmentDataProviderTriggerDetails_Vtbl, 0xb3283c01_7e12_4e5e_b1ef_74fb68ac6f2a); #[repr(C)] pub struct IAppointmentDataProviderTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs index 3eb8a6d9d1..70a2f03d61 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/mod.rs @@ -2,7 +2,7 @@ pub mod AppointmentsProvider; #[cfg(feature = "ApplicationModel_Appointments_DataProvider")] pub mod DataProvider; -windows_core::imp::com_interface!(IAppointment, IAppointment_Vtbl, 0xdd002f2f_2bdd_4076_90a3_22c275312965); +windows_core::imp::define_interface!(IAppointment, IAppointment_Vtbl, 0xdd002f2f_2bdd_4076_90a3_22c275312965); #[repr(C)] pub struct IAppointment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,7 +35,7 @@ pub struct IAppointment_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, } -windows_core::imp::com_interface!(IAppointment2, IAppointment2_Vtbl, 0x5e85983c_540f_3452_9b5c_0dd7ad4c65a2); +windows_core::imp::define_interface!(IAppointment2, IAppointment2_Vtbl, 0x5e85983c_540f_3452_9b5c_0dd7ad4c65a2); #[repr(C)] pub struct IAppointment2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -60,7 +60,7 @@ pub struct IAppointment2_Vtbl { pub IsOrganizedByUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsOrganizedByUser: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointment3, IAppointment3_Vtbl, 0xbfcc45a9_8961_4991_934b_c48768e5a96c); +windows_core::imp::define_interface!(IAppointment3, IAppointment3_Vtbl, 0xbfcc45a9_8961_4991_934b_c48768e5a96c); #[repr(C)] pub struct IAppointment3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,7 +70,7 @@ pub struct IAppointment3_Vtbl { pub DetailsKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppointmentDetailsKind) -> windows_core::HRESULT, pub SetDetailsKind: unsafe extern "system" fn(*mut core::ffi::c_void, AppointmentDetailsKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentCalendar, IAppointmentCalendar_Vtbl, 0x5273819d_8339_3d4f_a02f_64084452bb5d); +windows_core::imp::define_interface!(IAppointmentCalendar, IAppointmentCalendar_Vtbl, 0x5273819d_8339_3d4f_a02f_64084452bb5d); #[repr(C)] pub struct IAppointmentCalendar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -125,7 +125,7 @@ pub struct IAppointmentCalendar_Vtbl { 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 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::com_interface!(IAppointmentCalendar2, IAppointmentCalendar2_Vtbl, 0x18e7e422_2467_4e1c_a459_d8a29303d092); +windows_core::imp::define_interface!(IAppointmentCalendar2, IAppointmentCalendar2_Vtbl, 0x18e7e422_2467_4e1c_a459_d8a29303d092); #[repr(C)] pub struct IAppointmentCalendar2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -161,13 +161,13 @@ pub struct IAppointmentCalendar2_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentCalendar3, IAppointmentCalendar3_Vtbl, 0xeb23d22b_a685_42ae_8495_b3119adb4167); +windows_core::imp::define_interface!(IAppointmentCalendar3, IAppointmentCalendar3_Vtbl, 0xeb23d22b_a685_42ae_8495_b3119adb4167); #[repr(C)] pub struct IAppointmentCalendar3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RegisterSyncManagerAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentCalendarSyncManager, IAppointmentCalendarSyncManager_Vtbl, 0x2b21b3a0_4aff_4392_bc5f_5645ffcffb17); +windows_core::imp::define_interface!(IAppointmentCalendarSyncManager, IAppointmentCalendarSyncManager_Vtbl, 0x2b21b3a0_4aff_4392_bc5f_5645ffcffb17); #[repr(C)] pub struct IAppointmentCalendarSyncManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -178,7 +178,7 @@ pub struct IAppointmentCalendarSyncManager_Vtbl { pub SyncStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSyncStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentCalendarSyncManager2, IAppointmentCalendarSyncManager2_Vtbl, 0x647528ad_0d29_4c7c_aaa7_bf996805537c); +windows_core::imp::define_interface!(IAppointmentCalendarSyncManager2, IAppointmentCalendarSyncManager2_Vtbl, 0x647528ad_0d29_4c7c_aaa7_bf996805537c); #[repr(C)] pub struct IAppointmentCalendarSyncManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -186,14 +186,14 @@ pub struct IAppointmentCalendarSyncManager2_Vtbl { pub SetLastSuccessfulSyncTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, pub SetLastAttemptedSyncTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentConflictResult, IAppointmentConflictResult_Vtbl, 0xd5cdf0be_2f2f_3b7d_af0a_a7e20f3a46e3); +windows_core::imp::define_interface!(IAppointmentConflictResult, IAppointmentConflictResult_Vtbl, 0xd5cdf0be_2f2f_3b7d_af0a_a7e20f3a46e3); #[repr(C)] pub struct IAppointmentConflictResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppointmentConflictType) -> windows_core::HRESULT, pub Date: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentException, IAppointmentException_Vtbl, 0xa2076767_16f6_4bce_9f5a_8600b8019fcb); +windows_core::imp::define_interface!(IAppointmentException, IAppointmentException_Vtbl, 0xa2076767_16f6_4bce_9f5a_8600b8019fcb); #[repr(C)] pub struct IAppointmentException_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -204,7 +204,7 @@ pub struct IAppointmentException_Vtbl { ExceptionProperties: usize, pub IsDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentInvitee, IAppointmentInvitee_Vtbl, 0x13bf0796_9842_495b_b0e7_ef8f79c0701d); +windows_core::imp::define_interface!(IAppointmentInvitee, IAppointmentInvitee_Vtbl, 0x13bf0796_9842_495b_b0e7_ef8f79c0701d); #[repr(C)] pub struct IAppointmentInvitee_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -213,7 +213,7 @@ pub struct IAppointmentInvitee_Vtbl { pub Response: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppointmentParticipantResponse) -> windows_core::HRESULT, pub SetResponse: unsafe extern "system" fn(*mut core::ffi::c_void, AppointmentParticipantResponse) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentManagerForUser, IAppointmentManagerForUser_Vtbl, 0x70261423_73cc_4660_b318_b01365302a03); +windows_core::imp::define_interface!(IAppointmentManagerForUser, IAppointmentManagerForUser_Vtbl, 0x70261423_73cc_4660_b318_b01365302a03); #[repr(C)] pub struct IAppointmentManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -250,7 +250,7 @@ pub struct IAppointmentManagerForUser_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IAppointmentManagerStatics, IAppointmentManagerStatics_Vtbl, 0x3a30fa01_5c40_499d_b33f_a43050f74fc4); +windows_core::imp::define_interface!(IAppointmentManagerStatics, IAppointmentManagerStatics_Vtbl, 0x3a30fa01_5c40_499d_b33f_a43050f74fc4); #[repr(C)] pub struct IAppointmentManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -279,7 +279,7 @@ pub struct IAppointmentManagerStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentManagerStatics2, IAppointmentManagerStatics2_Vtbl, 0x0a81f60d_d04f_4034_af72_a36573b45ff0); +windows_core::imp::define_interface!(IAppointmentManagerStatics2, IAppointmentManagerStatics2_Vtbl, 0x0a81f60d_d04f_4034_af72_a36573b45ff0); #[repr(C)] pub struct IAppointmentManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -288,7 +288,7 @@ pub struct IAppointmentManagerStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentManagerStatics3, IAppointmentManagerStatics3_Vtbl, 0x2f9ae09c_b34c_4dc7_a35d_cafd88ae3ec6); +windows_core::imp::define_interface!(IAppointmentManagerStatics3, IAppointmentManagerStatics3_Vtbl, 0x2f9ae09c_b34c_4dc7_a35d_cafd88ae3ec6); #[repr(C)] pub struct IAppointmentManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -297,7 +297,7 @@ pub struct IAppointmentManagerStatics3_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IAppointmentParticipant, IAppointmentParticipant_Vtbl, 0x615e2902_9718_467b_83fb_b293a19121de); +windows_core::imp::define_interface!(IAppointmentParticipant, IAppointmentParticipant_Vtbl, 0x615e2902_9718_467b_83fb_b293a19121de); windows_core::imp::interface_hierarchy!(IAppointmentParticipant, windows_core::IUnknown, windows_core::IInspectable); impl IAppointmentParticipant { pub fn DisplayName(&self) -> windows_core::Result { @@ -334,7 +334,7 @@ pub struct IAppointmentParticipant_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, } -windows_core::imp::com_interface!(IAppointmentPropertiesStatics, IAppointmentPropertiesStatics_Vtbl, 0x25141fe9_68ae_3aae_855f_bc4441caa234); +windows_core::imp::define_interface!(IAppointmentPropertiesStatics, IAppointmentPropertiesStatics_Vtbl, 0x25141fe9_68ae_3aae_855f_bc4441caa234); #[repr(C)] pub struct IAppointmentPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -365,7 +365,7 @@ pub struct IAppointmentPropertiesStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] DefaultProperties: usize, } -windows_core::imp::com_interface!(IAppointmentPropertiesStatics2, IAppointmentPropertiesStatics2_Vtbl, 0xdffc434b_b017_45dd_8af5_d163d10801bb); +windows_core::imp::define_interface!(IAppointmentPropertiesStatics2, IAppointmentPropertiesStatics2_Vtbl, 0xdffc434b_b017_45dd_8af5_d163d10801bb); #[repr(C)] pub struct IAppointmentPropertiesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -373,7 +373,7 @@ pub struct IAppointmentPropertiesStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentRecurrence, IAppointmentRecurrence_Vtbl, 0xd87b3e83_15a6_487b_b959_0c361e60e954); +windows_core::imp::define_interface!(IAppointmentRecurrence, IAppointmentRecurrence_Vtbl, 0xd87b3e83_15a6_487b_b959_0c361e60e954); #[repr(C)] pub struct IAppointmentRecurrence_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -394,7 +394,7 @@ pub struct IAppointmentRecurrence_Vtbl { pub Day: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetDay: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentRecurrence2, IAppointmentRecurrence2_Vtbl, 0x3df3a2e0_05a7_4f50_9f86_b03f9436254d); +windows_core::imp::define_interface!(IAppointmentRecurrence2, IAppointmentRecurrence2_Vtbl, 0x3df3a2e0_05a7_4f50_9f86_b03f9436254d); #[repr(C)] pub struct IAppointmentRecurrence2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -402,13 +402,13 @@ pub struct IAppointmentRecurrence2_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentRecurrence3, IAppointmentRecurrence3_Vtbl, 0x89ff96d9_da4d_4a17_8dd2_1cebc2b5ff9d); +windows_core::imp::define_interface!(IAppointmentRecurrence3, IAppointmentRecurrence3_Vtbl, 0x89ff96d9_da4d_4a17_8dd2_1cebc2b5ff9d); #[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, } -windows_core::imp::com_interface!(IAppointmentStore, IAppointmentStore_Vtbl, 0xa461918c_7a47_4d96_96c9_15cd8a05a735); +windows_core::imp::define_interface!(IAppointmentStore, IAppointmentStore_Vtbl, 0xa461918c_7a47_4d96_96c9_15cd8a05a735); #[repr(C)] pub struct IAppointmentStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -455,7 +455,7 @@ pub struct IAppointmentStore_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindLocalIdsFromRoamingIdAsync: usize, } -windows_core::imp::com_interface!(IAppointmentStore2, IAppointmentStore2_Vtbl, 0x25c48c20_1c41_424f_8084_67c1cfe0a854); +windows_core::imp::define_interface!(IAppointmentStore2, IAppointmentStore2_Vtbl, 0x25c48c20_1c41_424f_8084_67c1cfe0a854); #[repr(C)] pub struct IAppointmentStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -463,26 +463,26 @@ pub struct IAppointmentStore2_Vtbl { 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, } -windows_core::imp::com_interface!(IAppointmentStore3, IAppointmentStore3_Vtbl, 0x4251940b_b078_470a_9a40_c2e01761f72f); +windows_core::imp::define_interface!(IAppointmentStore3, IAppointmentStore3_Vtbl, 0x4251940b_b078_470a_9a40_c2e01761f72f); #[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, } -windows_core::imp::com_interface!(IAppointmentStoreChange, IAppointmentStoreChange_Vtbl, 0xa5a6e035_0a33_3654_8463_b543e90c3b79); +windows_core::imp::define_interface!(IAppointmentStoreChange, IAppointmentStoreChange_Vtbl, 0xa5a6e035_0a33_3654_8463_b543e90c3b79); #[repr(C)] pub struct IAppointmentStoreChange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Appointment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ChangeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppointmentStoreChangeType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentStoreChange2, IAppointmentStoreChange2_Vtbl, 0xb37d0dce_5211_4402_a608_a96fe70b8ee2); +windows_core::imp::define_interface!(IAppointmentStoreChange2, IAppointmentStoreChange2_Vtbl, 0xb37d0dce_5211_4402_a608_a96fe70b8ee2); #[repr(C)] pub struct IAppointmentStoreChange2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AppointmentCalendar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentStoreChangeReader, IAppointmentStoreChangeReader_Vtbl, 0x8b2409f1_65f3_42a0_961d_4c209bf30370); +windows_core::imp::define_interface!(IAppointmentStoreChangeReader, IAppointmentStoreChangeReader_Vtbl, 0x8b2409f1_65f3_42a0_961d_4c209bf30370); #[repr(C)] pub struct IAppointmentStoreChangeReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -493,7 +493,7 @@ pub struct IAppointmentStoreChangeReader_Vtbl { pub AcceptChanges: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub AcceptChangesThrough: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentStoreChangeTracker, IAppointmentStoreChangeTracker_Vtbl, 0x1b25f4b1_8ece_4f17_93c8_e6412458fd5c); +windows_core::imp::define_interface!(IAppointmentStoreChangeTracker, IAppointmentStoreChangeTracker_Vtbl, 0x1b25f4b1_8ece_4f17_93c8_e6412458fd5c); #[repr(C)] pub struct IAppointmentStoreChangeTracker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -501,30 +501,30 @@ pub struct IAppointmentStoreChangeTracker_Vtbl { pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentStoreChangeTracker2, IAppointmentStoreChangeTracker2_Vtbl, 0xb66aaf45_9542_4cf7_8550_eb370e0c08d3); +windows_core::imp::define_interface!(IAppointmentStoreChangeTracker2, IAppointmentStoreChangeTracker2_Vtbl, 0xb66aaf45_9542_4cf7_8550_eb370e0c08d3); #[repr(C)] pub struct IAppointmentStoreChangeTracker2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsTracking: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentStoreChangedDeferral, IAppointmentStoreChangedDeferral_Vtbl, 0x4cb82026_fedb_4bc3_9662_95a9befdf4df); +windows_core::imp::define_interface!(IAppointmentStoreChangedDeferral, IAppointmentStoreChangedDeferral_Vtbl, 0x4cb82026_fedb_4bc3_9662_95a9befdf4df); #[repr(C)] pub struct IAppointmentStoreChangedDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentStoreChangedEventArgs, IAppointmentStoreChangedEventArgs_Vtbl, 0x2285f8b9_0791_417e_bfea_cc6d41636c8c); +windows_core::imp::define_interface!(IAppointmentStoreChangedEventArgs, IAppointmentStoreChangedEventArgs_Vtbl, 0x2285f8b9_0791_417e_bfea_cc6d41636c8c); #[repr(C)] pub struct IAppointmentStoreChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppointmentStoreNotificationTriggerDetails, IAppointmentStoreNotificationTriggerDetails_Vtbl, 0x9b33cb11_c301_421e_afef_047ecfa76adb); +windows_core::imp::define_interface!(IAppointmentStoreNotificationTriggerDetails, IAppointmentStoreNotificationTriggerDetails_Vtbl, 0x9b33cb11_c301_421e_afef_047ecfa76adb); #[repr(C)] pub struct IAppointmentStoreNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IFindAppointmentsOptions, IFindAppointmentsOptions_Vtbl, 0x55f7dc55_9942_3086_82b5_2cb29f64d5f5); +windows_core::imp::define_interface!(IFindAppointmentsOptions, IFindAppointmentsOptions_Vtbl, 0x55f7dc55_9942_3086_82b5_2cb29f64d5f5); #[repr(C)] pub struct IFindAppointmentsOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index 584e47af5c..1d7ad378e8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IActivitySensorTrigger, IActivitySensorTrigger_Vtbl, 0xd0dd4342_e37b_4823_a5fe_6b31dfefdeb0); +windows_core::imp::define_interface!(IActivitySensorTrigger, IActivitySensorTrigger_Vtbl, 0xd0dd4342_e37b_4823_a5fe_6b31dfefdeb0); #[repr(C)] pub struct IActivitySensorTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -13,33 +13,33 @@ pub struct IActivitySensorTrigger_Vtbl { SupportedActivities: usize, pub MinimumReportInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivitySensorTriggerFactory, IActivitySensorTriggerFactory_Vtbl, 0xa72691c3_3837_44f7_831b_0132cc872bc3); +windows_core::imp::define_interface!(IActivitySensorTriggerFactory, IActivitySensorTriggerFactory_Vtbl, 0xa72691c3_3837_44f7_831b_0132cc872bc3); #[repr(C)] pub struct IActivitySensorTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAlarmApplicationManagerStatics, IAlarmApplicationManagerStatics_Vtbl, 0xca03fa3b_cce6_4de2_b09b_9628bd33bbbe); +windows_core::imp::define_interface!(IAlarmApplicationManagerStatics, IAlarmApplicationManagerStatics_Vtbl, 0xca03fa3b_cce6_4de2_b09b_9628bd33bbbe); #[repr(C)] pub struct IAlarmApplicationManagerStatics_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 GetAccessStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AlarmAccessStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastTrigger, IAppBroadcastTrigger_Vtbl, 0x74d4f496_8d37_44ec_9481_2a0b9854eb48); +windows_core::imp::define_interface!(IAppBroadcastTrigger, IAppBroadcastTrigger_Vtbl, 0x74d4f496_8d37_44ec_9481_2a0b9854eb48); #[repr(C)] pub struct IAppBroadcastTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetProviderInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProviderInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastTriggerFactory, IAppBroadcastTriggerFactory_Vtbl, 0x280b9f44_22f4_4618_a02e_e7e411eb7238); +windows_core::imp::define_interface!(IAppBroadcastTriggerFactory, IAppBroadcastTriggerFactory_Vtbl, 0x280b9f44_22f4_4618_a02e_e7e411eb7238); #[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, } -windows_core::imp::com_interface!(IAppBroadcastTriggerProviderInfo, IAppBroadcastTriggerProviderInfo_Vtbl, 0xf219352d_9de8_4420_9ce2_5eff8f17376b); +windows_core::imp::define_interface!(IAppBroadcastTriggerProviderInfo, IAppBroadcastTriggerProviderInfo_Vtbl, 0xf219352d_9de8_4420_9ce2_5eff8f17376b); #[repr(C)] pub struct IAppBroadcastTriggerProviderInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,7 +56,7 @@ pub struct IAppBroadcastTriggerProviderInfo_Vtbl { pub SetMaxVideoHeight: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub MaxVideoHeight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationTrigger, IApplicationTrigger_Vtbl, 0x0b468630_9574_492c_9e93_1a3ae6335fe9); +windows_core::imp::define_interface!(IApplicationTrigger, IApplicationTrigger_Vtbl, 0x0b468630_9574_492c_9e93_1a3ae6335fe9); #[repr(C)] pub struct IApplicationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -66,7 +66,7 @@ pub struct IApplicationTrigger_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RequestAsyncWithArguments: usize, } -windows_core::imp::com_interface!(IApplicationTriggerDetails, IApplicationTriggerDetails_Vtbl, 0x97dc6ab2_2219_4a9e_9c5e_41d047f76e82); +windows_core::imp::define_interface!(IApplicationTriggerDetails, IApplicationTriggerDetails_Vtbl, 0x97dc6ab2_2219_4a9e_9c5e_41d047f76e82); #[repr(C)] pub struct IApplicationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -75,12 +75,12 @@ pub struct IApplicationTriggerDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Arguments: usize, } -windows_core::imp::com_interface!(IAppointmentStoreNotificationTrigger, IAppointmentStoreNotificationTrigger_Vtbl, 0x64d4040c_c201_42ad_aa2a_e21ba3425b6d); +windows_core::imp::define_interface!(IAppointmentStoreNotificationTrigger, IAppointmentStoreNotificationTrigger_Vtbl, 0x64d4040c_c201_42ad_aa2a_e21ba3425b6d); #[repr(C)] pub struct IAppointmentStoreNotificationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IBackgroundCondition, IBackgroundCondition_Vtbl, 0xae48a1ee_8951_400a_8302_9c9c9a2a3a3b); +windows_core::imp::define_interface!(IBackgroundCondition, IBackgroundCondition_Vtbl, 0xae48a1ee_8951_400a_8302_9c9c9a2a3a3b); windows_core::imp::interface_hierarchy!(IBackgroundCondition, windows_core::IUnknown, windows_core::IInspectable); impl IBackgroundCondition {} impl windows_core::RuntimeType for IBackgroundCondition { @@ -90,7 +90,7 @@ impl windows_core::RuntimeType for IBackgroundCondition { pub struct IBackgroundCondition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IBackgroundExecutionManagerStatics, IBackgroundExecutionManagerStatics_Vtbl, 0xe826ea58_66a9_4d41_83d4_b4c18c87b846); +windows_core::imp::define_interface!(IBackgroundExecutionManagerStatics, IBackgroundExecutionManagerStatics_Vtbl, 0xe826ea58_66a9_4d41_83d4_b4c18c87b846); #[repr(C)] pub struct IBackgroundExecutionManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -101,13 +101,13 @@ pub struct IBackgroundExecutionManagerStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IBackgroundExecutionManagerStatics2, IBackgroundExecutionManagerStatics2_Vtbl, 0x469b24ef_9bbb_4e18_999a_fd6512931be9); +windows_core::imp::define_interface!(IBackgroundExecutionManagerStatics2, IBackgroundExecutionManagerStatics2_Vtbl, 0x469b24ef_9bbb_4e18_999a_fd6512931be9); #[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, } -windows_core::imp::com_interface!(IBackgroundExecutionManagerStatics3, IBackgroundExecutionManagerStatics3_Vtbl, 0x98a5d3f6_5a25_5b6c_9192_d77a43dfedc4); +windows_core::imp::define_interface!(IBackgroundExecutionManagerStatics3, IBackgroundExecutionManagerStatics3_Vtbl, 0x98a5d3f6_5a25_5b6c_9192_d77a43dfedc4); #[repr(C)] pub struct IBackgroundExecutionManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -115,7 +115,7 @@ pub struct IBackgroundExecutionManagerStatics3_Vtbl { 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, } -windows_core::imp::com_interface!(IBackgroundTask, IBackgroundTask_Vtbl, 0x7d13d534_fd12_43ce_8c22_ea1ff13c06df); +windows_core::imp::define_interface!(IBackgroundTask, IBackgroundTask_Vtbl, 0x7d13d534_fd12_43ce_8c22_ea1ff13c06df); windows_core::imp::interface_hierarchy!(IBackgroundTask, windows_core::IUnknown, windows_core::IInspectable); impl IBackgroundTask { pub fn Run(&self, taskinstance: P0) -> windows_core::Result<()> @@ -134,7 +134,7 @@ pub struct IBackgroundTask_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskBuilder, IBackgroundTaskBuilder_Vtbl, 0x0351550e_3e64_4572_a93a_84075a37c917); +windows_core::imp::define_interface!(IBackgroundTaskBuilder, IBackgroundTaskBuilder_Vtbl, 0x0351550e_3e64_4572_a93a_84075a37c917); #[repr(C)] pub struct IBackgroundTaskBuilder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -146,47 +146,47 @@ pub struct IBackgroundTaskBuilder_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IBackgroundTaskBuilder2, IBackgroundTaskBuilder2_Vtbl, 0x6ae7cfb1_104f_406d_8db6_844a570f42bb); +windows_core::imp::define_interface!(IBackgroundTaskBuilder2, IBackgroundTaskBuilder2_Vtbl, 0x6ae7cfb1_104f_406d_8db6_844a570f42bb); #[repr(C)] pub struct IBackgroundTaskBuilder2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetCancelOnConditionLoss: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub CancelOnConditionLoss: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskBuilder3, IBackgroundTaskBuilder3_Vtbl, 0x28c74f4a_8ba9_4c09_a24f_19683e2c924c); +windows_core::imp::define_interface!(IBackgroundTaskBuilder3, IBackgroundTaskBuilder3_Vtbl, 0x28c74f4a_8ba9_4c09_a24f_19683e2c924c); #[repr(C)] pub struct IBackgroundTaskBuilder3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetIsNetworkRequested: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsNetworkRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskBuilder4, IBackgroundTaskBuilder4_Vtbl, 0x4755e522_cba2_4e35_bd16_a6da7f1c19aa); +windows_core::imp::define_interface!(IBackgroundTaskBuilder4, IBackgroundTaskBuilder4_Vtbl, 0x4755e522_cba2_4e35_bd16_a6da7f1c19aa); #[repr(C)] pub struct IBackgroundTaskBuilder4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TaskGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTaskGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskBuilder5, IBackgroundTaskBuilder5_Vtbl, 0x077103f6_99f5_4af4_bcad_4731d0330d43); +windows_core::imp::define_interface!(IBackgroundTaskBuilder5, IBackgroundTaskBuilder5_Vtbl, 0x077103f6_99f5_4af4_bcad_4731d0330d43); #[repr(C)] pub struct IBackgroundTaskBuilder5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetTaskEntryPointClsid: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskCompletedEventArgs, IBackgroundTaskCompletedEventArgs_Vtbl, 0x565d25cf_f209_48f4_9967_2b184f7bfbf0); +windows_core::imp::define_interface!(IBackgroundTaskCompletedEventArgs, IBackgroundTaskCompletedEventArgs_Vtbl, 0x565d25cf_f209_48f4_9967_2b184f7bfbf0); #[repr(C)] pub struct IBackgroundTaskCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub CheckResult: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskDeferral, IBackgroundTaskDeferral_Vtbl, 0x93cc156d_af27_4dd3_846e_24ee40cadd25); +windows_core::imp::define_interface!(IBackgroundTaskDeferral, IBackgroundTaskDeferral_Vtbl, 0x93cc156d_af27_4dd3_846e_24ee40cadd25); #[repr(C)] pub struct IBackgroundTaskDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskInstance, IBackgroundTaskInstance_Vtbl, 0x865bda7a_21d8_4573_8f32_928a1b0641f6); +windows_core::imp::define_interface!(IBackgroundTaskInstance, IBackgroundTaskInstance_Vtbl, 0x865bda7a_21d8_4573_8f32_928a1b0641f6); windows_core::imp::interface_hierarchy!(IBackgroundTaskInstance, windows_core::IUnknown, windows_core::IInspectable); impl IBackgroundTaskInstance { pub fn InstanceId(&self) -> windows_core::Result { @@ -266,7 +266,7 @@ pub struct IBackgroundTaskInstance_Vtbl { pub SuspendedCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> 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::com_interface!(IBackgroundTaskInstance2, IBackgroundTaskInstance2_Vtbl, 0x4f7d0176_0c76_4fb4_896d_5de1864122f6); +windows_core::imp::define_interface!(IBackgroundTaskInstance2, IBackgroundTaskInstance2_Vtbl, 0x4f7d0176_0c76_4fb4_896d_5de1864122f6); windows_core::imp::interface_hierarchy!(IBackgroundTaskInstance2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IBackgroundTaskInstance2, IBackgroundTaskInstance); impl IBackgroundTaskInstance2 { @@ -346,7 +346,7 @@ pub struct IBackgroundTaskInstance2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetThrottleCount: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundTaskThrottleCounter, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskInstance4, IBackgroundTaskInstance4_Vtbl, 0x7f29f23c_aa04_4b08_97b0_06d874cdabf5); +windows_core::imp::define_interface!(IBackgroundTaskInstance4, IBackgroundTaskInstance4_Vtbl, 0x7f29f23c_aa04_4b08_97b0_06d874cdabf5); windows_core::imp::interface_hierarchy!(IBackgroundTaskInstance4, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IBackgroundTaskInstance4, IBackgroundTaskInstance); impl IBackgroundTaskInstance4 { @@ -430,14 +430,14 @@ pub struct IBackgroundTaskInstance4_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IBackgroundTaskProgressEventArgs, IBackgroundTaskProgressEventArgs_Vtbl, 0xfb1468ac_8332_4d0a_9532_03eae684da31); +windows_core::imp::define_interface!(IBackgroundTaskProgressEventArgs, IBackgroundTaskProgressEventArgs_Vtbl, 0xfb1468ac_8332_4d0a_9532_03eae684da31); #[repr(C)] pub struct IBackgroundTaskProgressEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Progress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskRegistration, IBackgroundTaskRegistration_Vtbl, 0x10654cc2_a26e_43bf_8c12_1fb40dbfbfa0); +windows_core::imp::define_interface!(IBackgroundTaskRegistration, IBackgroundTaskRegistration_Vtbl, 0x10654cc2_a26e_43bf_8c12_1fb40dbfbfa0); windows_core::imp::interface_hierarchy!(IBackgroundTaskRegistration, windows_core::IUnknown, windows_core::IInspectable); impl IBackgroundTaskRegistration { pub fn TaskId(&self) -> windows_core::Result { @@ -501,7 +501,7 @@ pub struct IBackgroundTaskRegistration_Vtbl { pub RemoveCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskRegistration2, IBackgroundTaskRegistration2_Vtbl, 0x6138c703_bb86_4112_afc3_7f939b166e3b); +windows_core::imp::define_interface!(IBackgroundTaskRegistration2, IBackgroundTaskRegistration2_Vtbl, 0x6138c703_bb86_4112_afc3_7f939b166e3b); windows_core::imp::interface_hierarchy!(IBackgroundTaskRegistration2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IBackgroundTaskRegistration2, IBackgroundTaskRegistration); impl IBackgroundTaskRegistration2 { @@ -567,7 +567,7 @@ pub struct IBackgroundTaskRegistration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Trigger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskRegistration3, IBackgroundTaskRegistration3_Vtbl, 0xfe338195_9423_4d8b_830d_b1dd2c7badd5); +windows_core::imp::define_interface!(IBackgroundTaskRegistration3, IBackgroundTaskRegistration3_Vtbl, 0xfe338195_9423_4d8b_830d_b1dd2c7badd5); windows_core::imp::interface_hierarchy!(IBackgroundTaskRegistration3, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IBackgroundTaskRegistration3, IBackgroundTaskRegistration); impl IBackgroundTaskRegistration3 { @@ -633,7 +633,7 @@ pub struct IBackgroundTaskRegistration3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TaskGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTaskRegistrationGroup, IBackgroundTaskRegistrationGroup_Vtbl, 0x2ab1919a_871b_4167_8a76_055cd67b5b23); +windows_core::imp::define_interface!(IBackgroundTaskRegistrationGroup, IBackgroundTaskRegistrationGroup_Vtbl, 0x2ab1919a_871b_4167_8a76_055cd67b5b23); #[repr(C)] pub struct IBackgroundTaskRegistrationGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -649,14 +649,14 @@ pub struct IBackgroundTaskRegistrationGroup_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AllTasks: usize, } -windows_core::imp::com_interface!(IBackgroundTaskRegistrationGroupFactory, IBackgroundTaskRegistrationGroupFactory_Vtbl, 0x83d92b69_44cf_4631_9740_03c7d8741bc5); +windows_core::imp::define_interface!(IBackgroundTaskRegistrationGroupFactory, IBackgroundTaskRegistrationGroupFactory_Vtbl, 0x83d92b69_44cf_4631_9740_03c7d8741bc5); #[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, } -windows_core::imp::com_interface!(IBackgroundTaskRegistrationStatics, IBackgroundTaskRegistrationStatics_Vtbl, 0x4c542f69_b000_42ba_a093_6a563c65e3f8); +windows_core::imp::define_interface!(IBackgroundTaskRegistrationStatics, IBackgroundTaskRegistrationStatics_Vtbl, 0x4c542f69_b000_42ba_a093_6a563c65e3f8); #[repr(C)] pub struct IBackgroundTaskRegistrationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -665,7 +665,7 @@ pub struct IBackgroundTaskRegistrationStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AllTasks: usize, } -windows_core::imp::com_interface!(IBackgroundTaskRegistrationStatics2, IBackgroundTaskRegistrationStatics2_Vtbl, 0x174b671e_b20d_4fa9_ad9a_e93ad6c71e01); +windows_core::imp::define_interface!(IBackgroundTaskRegistrationStatics2, IBackgroundTaskRegistrationStatics2_Vtbl, 0x174b671e_b20d_4fa9_ad9a_e93ad6c71e01); #[repr(C)] pub struct IBackgroundTaskRegistrationStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -675,7 +675,7 @@ pub struct IBackgroundTaskRegistrationStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IBackgroundTrigger, IBackgroundTrigger_Vtbl, 0x84b3a058_6027_4b87_9790_bdf3f757dbd7); +windows_core::imp::define_interface!(IBackgroundTrigger, IBackgroundTrigger_Vtbl, 0x84b3a058_6027_4b87_9790_bdf3f757dbd7); windows_core::imp::interface_hierarchy!(IBackgroundTrigger, windows_core::IUnknown, windows_core::IInspectable); impl IBackgroundTrigger {} impl windows_core::RuntimeType for IBackgroundTrigger { @@ -685,13 +685,13 @@ impl windows_core::RuntimeType for IBackgroundTrigger { pub struct IBackgroundTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IBackgroundWorkCostStatics, IBackgroundWorkCostStatics_Vtbl, 0xc740a662_c310_4b82_b3e3_3bcfb9e4c77d); +windows_core::imp::define_interface!(IBackgroundWorkCostStatics, IBackgroundWorkCostStatics_Vtbl, 0xc740a662_c310_4b82_b3e3_3bcfb9e4c77d); #[repr(C)] pub struct IBackgroundWorkCostStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CurrentBackgroundWorkCost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BackgroundWorkCostValue) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementPublisherTrigger, IBluetoothLEAdvertisementPublisherTrigger_Vtbl, 0xab3e2612_25d3_48ae_8724_d81877ae6129); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementPublisherTrigger, IBluetoothLEAdvertisementPublisherTrigger_Vtbl, 0xab3e2612_25d3_48ae_8724_d81877ae6129); #[repr(C)] pub struct IBluetoothLEAdvertisementPublisherTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -700,7 +700,7 @@ pub struct IBluetoothLEAdvertisementPublisherTrigger_Vtbl { #[cfg(not(feature = "Devices_Bluetooth_Advertisement"))] Advertisement: usize, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementPublisherTrigger2, IBluetoothLEAdvertisementPublisherTrigger2_Vtbl, 0xaa28d064_38f4_597d_b597_4e55588c6503); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementPublisherTrigger2, IBluetoothLEAdvertisementPublisherTrigger2_Vtbl, 0xaa28d064_38f4_597d_b597_4e55588c6503); #[repr(C)] pub struct IBluetoothLEAdvertisementPublisherTrigger2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -713,7 +713,7 @@ pub struct IBluetoothLEAdvertisementPublisherTrigger2_Vtbl { pub IncludeTransmitPowerLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIncludeTransmitPowerLevel: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementWatcherTrigger, IBluetoothLEAdvertisementWatcherTrigger_Vtbl, 0x1aab1819_bce1_48eb_a827_59fb7cee52a6); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementWatcherTrigger, IBluetoothLEAdvertisementWatcherTrigger_Vtbl, 0x1aab1819_bce1_48eb_a827_59fb7cee52a6); #[repr(C)] pub struct IBluetoothLEAdvertisementWatcherTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -738,19 +738,19 @@ pub struct IBluetoothLEAdvertisementWatcherTrigger_Vtbl { #[cfg(not(feature = "Devices_Bluetooth_Advertisement"))] SetAdvertisementFilter: usize, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementWatcherTrigger2, IBluetoothLEAdvertisementWatcherTrigger2_Vtbl, 0x39b56799_eb39_5ab6_9932_aa9e4549604d); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementWatcherTrigger2, IBluetoothLEAdvertisementWatcherTrigger2_Vtbl, 0x39b56799_eb39_5ab6_9932_aa9e4549604d); #[repr(C)] pub struct IBluetoothLEAdvertisementWatcherTrigger2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowExtendedAdvertisements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowExtendedAdvertisements: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICachedFileUpdaterTrigger, ICachedFileUpdaterTrigger_Vtbl, 0xe21caeeb_32f2_4d31_b553_b9e01bde37e0); +windows_core::imp::define_interface!(ICachedFileUpdaterTrigger, ICachedFileUpdaterTrigger_Vtbl, 0xe21caeeb_32f2_4d31_b553_b9e01bde37e0); #[repr(C)] pub struct ICachedFileUpdaterTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICachedFileUpdaterTriggerDetails, ICachedFileUpdaterTriggerDetails_Vtbl, 0x71838c13_1314_47b4_9597_dc7e248c17cc); +windows_core::imp::define_interface!(ICachedFileUpdaterTriggerDetails, ICachedFileUpdaterTriggerDetails_Vtbl, 0x71838c13_1314_47b4_9597_dc7e248c17cc); #[repr(C)] pub struct ICachedFileUpdaterTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -764,52 +764,52 @@ pub struct ICachedFileUpdaterTriggerDetails_Vtbl { UpdateRequest: usize, pub CanRequestUserInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageNotificationTrigger, IChatMessageNotificationTrigger_Vtbl, 0x513b43bf_1d40_5c5d_78f5_c923fee3739e); +windows_core::imp::define_interface!(IChatMessageNotificationTrigger, IChatMessageNotificationTrigger_Vtbl, 0x513b43bf_1d40_5c5d_78f5_c923fee3739e); #[repr(C)] pub struct IChatMessageNotificationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IChatMessageReceivedNotificationTrigger, IChatMessageReceivedNotificationTrigger_Vtbl, 0x3ea3760e_baf5_4077_88e9_060cf6f0c6d5); +windows_core::imp::define_interface!(IChatMessageReceivedNotificationTrigger, IChatMessageReceivedNotificationTrigger_Vtbl, 0x3ea3760e_baf5_4077_88e9_060cf6f0c6d5); #[repr(C)] pub struct IChatMessageReceivedNotificationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICommunicationBlockingAppSetAsActiveTrigger, ICommunicationBlockingAppSetAsActiveTrigger_Vtbl, 0xfb91f28a_16a5_486d_974c_7835a8477be2); +windows_core::imp::define_interface!(ICommunicationBlockingAppSetAsActiveTrigger, ICommunicationBlockingAppSetAsActiveTrigger_Vtbl, 0xfb91f28a_16a5_486d_974c_7835a8477be2); #[repr(C)] pub struct ICommunicationBlockingAppSetAsActiveTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IContactStoreNotificationTrigger, IContactStoreNotificationTrigger_Vtbl, 0xc833419b_4705_4571_9a16_06b997bf9c96); +windows_core::imp::define_interface!(IContactStoreNotificationTrigger, IContactStoreNotificationTrigger_Vtbl, 0xc833419b_4705_4571_9a16_06b997bf9c96); #[repr(C)] pub struct IContactStoreNotificationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IContentPrefetchTrigger, IContentPrefetchTrigger_Vtbl, 0x710627ee_04fa_440b_80c0_173202199e5d); +windows_core::imp::define_interface!(IContentPrefetchTrigger, IContentPrefetchTrigger_Vtbl, 0x710627ee_04fa_440b_80c0_173202199e5d); #[repr(C)] pub struct IContentPrefetchTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub WaitInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContentPrefetchTriggerFactory, IContentPrefetchTriggerFactory_Vtbl, 0xc2643eda_8a03_409e_b8c4_88814c28ccb6); +windows_core::imp::define_interface!(IContentPrefetchTriggerFactory, IContentPrefetchTriggerFactory_Vtbl, 0xc2643eda_8a03_409e_b8c4_88814c28ccb6); #[repr(C)] pub struct IContentPrefetchTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICustomSystemEventTrigger, ICustomSystemEventTrigger_Vtbl, 0xf3596798_cf6b_4ef4_a0ca_29cf4a278c87); +windows_core::imp::define_interface!(ICustomSystemEventTrigger, ICustomSystemEventTrigger_Vtbl, 0xf3596798_cf6b_4ef4_a0ca_29cf4a278c87); #[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 Recurrence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CustomSystemEventTriggerRecurrence) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICustomSystemEventTriggerFactory, ICustomSystemEventTriggerFactory_Vtbl, 0x6bcb16c5_f2dc_41b2_9efd_b96bdcd13ced); +windows_core::imp::define_interface!(ICustomSystemEventTriggerFactory, ICustomSystemEventTriggerFactory_Vtbl, 0x6bcb16c5_f2dc_41b2_9efd_b96bdcd13ced); #[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, } -windows_core::imp::com_interface!(IDeviceConnectionChangeTrigger, IDeviceConnectionChangeTrigger_Vtbl, 0x90875e64_3cdd_4efb_ab1c_5b3b6a60ce34); +windows_core::imp::define_interface!(IDeviceConnectionChangeTrigger, IDeviceConnectionChangeTrigger_Vtbl, 0x90875e64_3cdd_4efb_ab1c_5b3b6a60ce34); #[repr(C)] pub struct IDeviceConnectionChangeTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -818,14 +818,14 @@ pub struct IDeviceConnectionChangeTrigger_Vtbl { 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, } -windows_core::imp::com_interface!(IDeviceConnectionChangeTriggerStatics, IDeviceConnectionChangeTriggerStatics_Vtbl, 0xc3ea246a_4efd_4498_aa60_a4e4e3b17ab9); +windows_core::imp::define_interface!(IDeviceConnectionChangeTriggerStatics, IDeviceConnectionChangeTriggerStatics_Vtbl, 0xc3ea246a_4efd_4498_aa60_a4e4e3b17ab9); #[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, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IDeviceManufacturerNotificationTrigger, IDeviceManufacturerNotificationTrigger_Vtbl, 0x81278ab5_41ab_16da_86c2_7f7bf0912f5b); +windows_core::imp::define_interface!(IDeviceManufacturerNotificationTrigger, IDeviceManufacturerNotificationTrigger_Vtbl, 0x81278ab5_41ab_16da_86c2_7f7bf0912f5b); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IDeviceManufacturerNotificationTrigger_Vtbl { @@ -840,7 +840,7 @@ pub struct IDeviceManufacturerNotificationTrigger_Vtbl { OneShot: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IDeviceManufacturerNotificationTriggerFactory, IDeviceManufacturerNotificationTriggerFactory_Vtbl, 0x7955de75_25bb_4153_a1a2_3029fcabb652); +windows_core::imp::define_interface!(IDeviceManufacturerNotificationTriggerFactory, IDeviceManufacturerNotificationTriggerFactory_Vtbl, 0x7955de75_25bb_4153_a1a2_3029fcabb652); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IDeviceManufacturerNotificationTriggerFactory_Vtbl { @@ -850,31 +850,31 @@ pub struct IDeviceManufacturerNotificationTriggerFactory_Vtbl { #[cfg(not(feature = "deprecated"))] Create: usize, } -windows_core::imp::com_interface!(IDeviceServicingTrigger, IDeviceServicingTrigger_Vtbl, 0x1ab217ad_6e34_49d3_9e6f_17f1b6dfa881); +windows_core::imp::define_interface!(IDeviceServicingTrigger, IDeviceServicingTrigger_Vtbl, 0x1ab217ad_6e34_49d3_9e6f_17f1b6dfa881); #[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, } -windows_core::imp::com_interface!(IDeviceUseTrigger, IDeviceUseTrigger_Vtbl, 0x0da68011_334f_4d57_b6ec_6dca64b412e4); +windows_core::imp::define_interface!(IDeviceUseTrigger, IDeviceUseTrigger_Vtbl, 0x0da68011_334f_4d57_b6ec_6dca64b412e4); #[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, } -windows_core::imp::com_interface!(IDeviceWatcherTrigger, IDeviceWatcherTrigger_Vtbl, 0xa4617fdd_8573_4260_befc_5bec89cb693d); +windows_core::imp::define_interface!(IDeviceWatcherTrigger, IDeviceWatcherTrigger_Vtbl, 0xa4617fdd_8573_4260_befc_5bec89cb693d); #[repr(C)] pub struct IDeviceWatcherTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IEmailStoreNotificationTrigger, IEmailStoreNotificationTrigger_Vtbl, 0x986d06da_47eb_4268_a4f2_f3f77188388a); +windows_core::imp::define_interface!(IEmailStoreNotificationTrigger, IEmailStoreNotificationTrigger_Vtbl, 0x986d06da_47eb_4268_a4f2_f3f77188388a); #[repr(C)] pub struct IEmailStoreNotificationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IGattCharacteristicNotificationTrigger, IGattCharacteristicNotificationTrigger_Vtbl, 0xe25f8fc8_0696_474f_a732_f292b0cebc5d); +windows_core::imp::define_interface!(IGattCharacteristicNotificationTrigger, IGattCharacteristicNotificationTrigger_Vtbl, 0xe25f8fc8_0696_474f_a732_f292b0cebc5d); #[repr(C)] pub struct IGattCharacteristicNotificationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -883,7 +883,7 @@ pub struct IGattCharacteristicNotificationTrigger_Vtbl { #[cfg(not(feature = "Devices_Bluetooth_GenericAttributeProfile"))] Characteristic: usize, } -windows_core::imp::com_interface!(IGattCharacteristicNotificationTrigger2, IGattCharacteristicNotificationTrigger2_Vtbl, 0x9322a2c4_ae0e_42f2_b28c_f51372e69245); +windows_core::imp::define_interface!(IGattCharacteristicNotificationTrigger2, IGattCharacteristicNotificationTrigger2_Vtbl, 0x9322a2c4_ae0e_42f2_b28c_f51372e69245); #[repr(C)] pub struct IGattCharacteristicNotificationTrigger2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -892,7 +892,7 @@ pub struct IGattCharacteristicNotificationTrigger2_Vtbl { #[cfg(not(feature = "Devices_Bluetooth_Background"))] EventTriggeringMode: usize, } -windows_core::imp::com_interface!(IGattCharacteristicNotificationTriggerFactory, IGattCharacteristicNotificationTriggerFactory_Vtbl, 0x57ba1995_b143_4575_9f6b_fd59d93ace1a); +windows_core::imp::define_interface!(IGattCharacteristicNotificationTriggerFactory, IGattCharacteristicNotificationTriggerFactory_Vtbl, 0x57ba1995_b143_4575_9f6b_fd59d93ace1a); #[repr(C)] pub struct IGattCharacteristicNotificationTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -901,7 +901,7 @@ pub struct IGattCharacteristicNotificationTriggerFactory_Vtbl { #[cfg(not(feature = "Devices_Bluetooth_GenericAttributeProfile"))] Create: usize, } -windows_core::imp::com_interface!(IGattCharacteristicNotificationTriggerFactory2, IGattCharacteristicNotificationTriggerFactory2_Vtbl, 0x5998e91f_8a53_4e9f_a32c_23cd33664cee); +windows_core::imp::define_interface!(IGattCharacteristicNotificationTriggerFactory2, IGattCharacteristicNotificationTriggerFactory2_Vtbl, 0x5998e91f_8a53_4e9f_a32c_23cd33664cee); #[repr(C)] pub struct IGattCharacteristicNotificationTriggerFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -910,7 +910,7 @@ pub struct IGattCharacteristicNotificationTriggerFactory2_Vtbl { #[cfg(not(all(feature = "Devices_Bluetooth_Background", feature = "Devices_Bluetooth_GenericAttributeProfile")))] CreateWithEventTriggeringMode: usize, } -windows_core::imp::com_interface!(IGattServiceProviderTrigger, IGattServiceProviderTrigger_Vtbl, 0xddc6a3e9_1557_4bd8_8542_468aa0c696f6); +windows_core::imp::define_interface!(IGattServiceProviderTrigger, IGattServiceProviderTrigger_Vtbl, 0xddc6a3e9_1557_4bd8_8542_468aa0c696f6); #[repr(C)] pub struct IGattServiceProviderTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -928,7 +928,7 @@ pub struct IGattServiceProviderTrigger_Vtbl { #[cfg(not(feature = "Devices_Bluetooth_GenericAttributeProfile"))] AdvertisingParameters: usize, } -windows_core::imp::com_interface!(IGattServiceProviderTriggerResult, IGattServiceProviderTriggerResult_Vtbl, 0x3c4691b1_b198_4e84_bad4_cf4ad299ed3a); +windows_core::imp::define_interface!(IGattServiceProviderTriggerResult, IGattServiceProviderTriggerResult_Vtbl, 0x3c4691b1_b198_4e84_bad4_cf4ad299ed3a); #[repr(C)] pub struct IGattServiceProviderTriggerResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -938,13 +938,13 @@ pub struct IGattServiceProviderTriggerResult_Vtbl { #[cfg(not(feature = "Devices_Bluetooth"))] Error: usize, } -windows_core::imp::com_interface!(IGattServiceProviderTriggerStatics, IGattServiceProviderTriggerStatics_Vtbl, 0xb413a36a_e294_4591_a5a6_64891a828153); +windows_core::imp::define_interface!(IGattServiceProviderTriggerStatics, IGattServiceProviderTriggerStatics_Vtbl, 0xb413a36a_e294_4591_a5a6_64891a828153); #[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, } -windows_core::imp::com_interface!(IGeovisitTrigger, IGeovisitTrigger_Vtbl, 0x4818edaa_04e1_4127_9a4c_19351b8a80a4); +windows_core::imp::define_interface!(IGeovisitTrigger, IGeovisitTrigger_Vtbl, 0x4818edaa_04e1_4127_9a4c_19351b8a80a4); #[repr(C)] pub struct IGeovisitTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -957,32 +957,32 @@ pub struct IGeovisitTrigger_Vtbl { #[cfg(not(feature = "Devices_Geolocation"))] SetMonitoringScope: usize, } -windows_core::imp::com_interface!(ILocationTrigger, ILocationTrigger_Vtbl, 0x47666a1c_6877_481e_8026_ff7e14a811a0); +windows_core::imp::define_interface!(ILocationTrigger, ILocationTrigger_Vtbl, 0x47666a1c_6877_481e_8026_ff7e14a811a0); #[repr(C)] pub struct ILocationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TriggerType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LocationTriggerType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILocationTriggerFactory, ILocationTriggerFactory_Vtbl, 0x1106bb07_ff69_4e09_aa8b_1384ea475e98); +windows_core::imp::define_interface!(ILocationTriggerFactory, ILocationTriggerFactory_Vtbl, 0x1106bb07_ff69_4e09_aa8b_1384ea475e98); #[repr(C)] pub struct ILocationTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, LocationTriggerType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMaintenanceTrigger, IMaintenanceTrigger_Vtbl, 0x68184c83_fc22_4ce5_841a_7239a9810047); +windows_core::imp::define_interface!(IMaintenanceTrigger, IMaintenanceTrigger_Vtbl, 0x68184c83_fc22_4ce5_841a_7239a9810047); #[repr(C)] pub struct IMaintenanceTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FreshnessTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub OneShot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMaintenanceTriggerFactory, IMaintenanceTriggerFactory_Vtbl, 0x4b3ddb2e_97dd_4629_88b0_b06cf9482ae5); +windows_core::imp::define_interface!(IMaintenanceTriggerFactory, IMaintenanceTriggerFactory_Vtbl, 0x4b3ddb2e_97dd_4629_88b0_b06cf9482ae5); #[repr(C)] pub struct IMaintenanceTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaProcessingTrigger, IMediaProcessingTrigger_Vtbl, 0x9a95be65_8a52_4b30_9011_cf38040ea8b0); +windows_core::imp::define_interface!(IMediaProcessingTrigger, IMediaProcessingTrigger_Vtbl, 0x9a95be65_8a52_4b30_9011_cf38040ea8b0); #[repr(C)] pub struct IMediaProcessingTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -992,24 +992,24 @@ pub struct IMediaProcessingTrigger_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RequestAsyncWithArguments: usize, } -windows_core::imp::com_interface!(INetworkOperatorHotspotAuthenticationTrigger, INetworkOperatorHotspotAuthenticationTrigger_Vtbl, 0xe756c791_3001_4de5_83c7_de61d88831d0); +windows_core::imp::define_interface!(INetworkOperatorHotspotAuthenticationTrigger, INetworkOperatorHotspotAuthenticationTrigger_Vtbl, 0xe756c791_3001_4de5_83c7_de61d88831d0); #[repr(C)] pub struct INetworkOperatorHotspotAuthenticationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(INetworkOperatorNotificationTrigger, INetworkOperatorNotificationTrigger_Vtbl, 0x90089cc6_63cd_480c_95d1_6e6aef801e4a); +windows_core::imp::define_interface!(INetworkOperatorNotificationTrigger, INetworkOperatorNotificationTrigger_Vtbl, 0x90089cc6_63cd_480c_95d1_6e6aef801e4a); #[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, } -windows_core::imp::com_interface!(INetworkOperatorNotificationTriggerFactory, INetworkOperatorNotificationTriggerFactory_Vtbl, 0x0a223e00_27d7_4353_adb9_9265aaea579d); +windows_core::imp::define_interface!(INetworkOperatorNotificationTriggerFactory, INetworkOperatorNotificationTriggerFactory_Vtbl, 0x0a223e00_27d7_4353_adb9_9265aaea579d); #[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, } -windows_core::imp::com_interface!(IPhoneTrigger, IPhoneTrigger_Vtbl, 0x8dcfe99b_d4c5_49f1_b7d3_82e87a0e9dde); +windows_core::imp::define_interface!(IPhoneTrigger, IPhoneTrigger_Vtbl, 0x8dcfe99b_d4c5_49f1_b7d3_82e87a0e9dde); #[repr(C)] pub struct IPhoneTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1019,7 +1019,7 @@ pub struct IPhoneTrigger_Vtbl { #[cfg(not(feature = "ApplicationModel_Calls_Background"))] TriggerType: usize, } -windows_core::imp::com_interface!(IPhoneTriggerFactory, IPhoneTriggerFactory_Vtbl, 0xa0d93cda_5fc1_48fb_a546_32262040157b); +windows_core::imp::define_interface!(IPhoneTriggerFactory, IPhoneTriggerFactory_Vtbl, 0xa0d93cda_5fc1_48fb_a546_32262040157b); #[repr(C)] pub struct IPhoneTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1028,18 +1028,18 @@ pub struct IPhoneTriggerFactory_Vtbl { #[cfg(not(feature = "ApplicationModel_Calls_Background"))] Create: usize, } -windows_core::imp::com_interface!(IPushNotificationTriggerFactory, IPushNotificationTriggerFactory_Vtbl, 0x6dd8ed1b_458e_4fc2_bc2e_d5664f77ed19); +windows_core::imp::define_interface!(IPushNotificationTriggerFactory, IPushNotificationTriggerFactory_Vtbl, 0x6dd8ed1b_458e_4fc2_bc2e_d5664f77ed19); #[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, } -windows_core::imp::com_interface!(IRcsEndUserMessageAvailableTrigger, IRcsEndUserMessageAvailableTrigger_Vtbl, 0x986d0d6a_b2f6_467f_a978_a44091c11a66); +windows_core::imp::define_interface!(IRcsEndUserMessageAvailableTrigger, IRcsEndUserMessageAvailableTrigger_Vtbl, 0x986d0d6a_b2f6_467f_a978_a44091c11a66); #[repr(C)] pub struct IRcsEndUserMessageAvailableTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IRfcommConnectionTrigger, IRfcommConnectionTrigger_Vtbl, 0xe8c4cae2_0b53_4464_9394_fd875654de64); +windows_core::imp::define_interface!(IRfcommConnectionTrigger, IRfcommConnectionTrigger_Vtbl, 0xe8c4cae2_0b53_4464_9394_fd875654de64); #[repr(C)] pub struct IRfcommConnectionTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1071,18 +1071,18 @@ pub struct IRfcommConnectionTrigger_Vtbl { SetRemoteHostName: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISecondaryAuthenticationFactorAuthenticationTrigger, ISecondaryAuthenticationFactorAuthenticationTrigger_Vtbl, 0xf237f327_5181_4f24_96a7_700a4e5fac62); +windows_core::imp::define_interface!(ISecondaryAuthenticationFactorAuthenticationTrigger, ISecondaryAuthenticationFactorAuthenticationTrigger_Vtbl, 0xf237f327_5181_4f24_96a7_700a4e5fac62); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISecondaryAuthenticationFactorAuthenticationTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISensorDataThresholdTrigger, ISensorDataThresholdTrigger_Vtbl, 0x5bc0f372_d48b_4b7f_abec_15f9bacc12e2); +windows_core::imp::define_interface!(ISensorDataThresholdTrigger, ISensorDataThresholdTrigger_Vtbl, 0x5bc0f372_d48b_4b7f_abec_15f9bacc12e2); #[repr(C)] pub struct ISensorDataThresholdTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISensorDataThresholdTriggerFactory, ISensorDataThresholdTriggerFactory_Vtbl, 0x921fe675_7df0_4da3_97b3_e544ee857fe6); +windows_core::imp::define_interface!(ISensorDataThresholdTriggerFactory, ISensorDataThresholdTriggerFactory_Vtbl, 0x921fe675_7df0_4da3_97b3_e544ee857fe6); #[repr(C)] pub struct ISensorDataThresholdTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1091,7 +1091,7 @@ pub struct ISensorDataThresholdTriggerFactory_Vtbl { #[cfg(not(feature = "Devices_Sensors"))] Create: usize, } -windows_core::imp::com_interface!(ISmartCardTrigger, ISmartCardTrigger_Vtbl, 0xf53bc5ac_84ca_4972_8ce9_e58f97b37a50); +windows_core::imp::define_interface!(ISmartCardTrigger, ISmartCardTrigger_Vtbl, 0xf53bc5ac_84ca_4972_8ce9_e58f97b37a50); #[repr(C)] pub struct ISmartCardTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1100,7 +1100,7 @@ pub struct ISmartCardTrigger_Vtbl { #[cfg(not(feature = "Devices_SmartCards"))] TriggerType: usize, } -windows_core::imp::com_interface!(ISmartCardTriggerFactory, ISmartCardTriggerFactory_Vtbl, 0x63bf54c3_89c1_4e00_a9d3_97c629269dad); +windows_core::imp::define_interface!(ISmartCardTriggerFactory, ISmartCardTriggerFactory_Vtbl, 0x63bf54c3_89c1_4e00_a9d3_97c629269dad); #[repr(C)] pub struct ISmartCardTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1109,7 +1109,7 @@ pub struct ISmartCardTriggerFactory_Vtbl { #[cfg(not(feature = "Devices_SmartCards"))] Create: usize, } -windows_core::imp::com_interface!(ISmsMessageReceivedTriggerFactory, ISmsMessageReceivedTriggerFactory_Vtbl, 0xea3ad8c8_6ba4_4ab2_8d21_bc6b09c77564); +windows_core::imp::define_interface!(ISmsMessageReceivedTriggerFactory, ISmsMessageReceivedTriggerFactory_Vtbl, 0xea3ad8c8_6ba4_4ab2_8d21_bc6b09c77564); #[repr(C)] pub struct ISmsMessageReceivedTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1118,13 +1118,13 @@ pub struct ISmsMessageReceivedTriggerFactory_Vtbl { #[cfg(not(feature = "Devices_Sms"))] Create: usize, } -windows_core::imp::com_interface!(ISocketActivityTrigger, ISocketActivityTrigger_Vtbl, 0xa9bbf810_9dde_4f8a_83e3_b0e0e7a50d70); +windows_core::imp::define_interface!(ISocketActivityTrigger, ISocketActivityTrigger_Vtbl, 0xa9bbf810_9dde_4f8a_83e3_b0e0e7a50d70); #[repr(C)] pub struct ISocketActivityTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsWakeFromLowPowerSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageLibraryChangeTrackerTriggerFactory, IStorageLibraryChangeTrackerTriggerFactory_Vtbl, 0x1eb0ffd0_5a85_499e_a888_824607124f50); +windows_core::imp::define_interface!(IStorageLibraryChangeTrackerTriggerFactory, IStorageLibraryChangeTrackerTriggerFactory_Vtbl, 0x1eb0ffd0_5a85_499e_a888_824607124f50); #[repr(C)] pub struct IStorageLibraryChangeTrackerTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1133,12 +1133,12 @@ pub struct IStorageLibraryChangeTrackerTriggerFactory_Vtbl { #[cfg(not(feature = "Storage"))] Create: usize, } -windows_core::imp::com_interface!(IStorageLibraryContentChangedTrigger, IStorageLibraryContentChangedTrigger_Vtbl, 0x1637e0a7_829c_45bc_929b_a1e7ea78d89b); +windows_core::imp::define_interface!(IStorageLibraryContentChangedTrigger, IStorageLibraryContentChangedTrigger_Vtbl, 0x1637e0a7_829c_45bc_929b_a1e7ea78d89b); #[repr(C)] pub struct IStorageLibraryContentChangedTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IStorageLibraryContentChangedTriggerStatics, IStorageLibraryContentChangedTriggerStatics_Vtbl, 0x7f9f1b39_5f90_4e12_914e_a7d8e0bbfb18); +windows_core::imp::define_interface!(IStorageLibraryContentChangedTriggerStatics, IStorageLibraryContentChangedTriggerStatics_Vtbl, 0x7f9f1b39_5f90_4e12_914e_a7d8e0bbfb18); #[repr(C)] pub struct IStorageLibraryContentChangedTriggerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1151,57 +1151,57 @@ pub struct IStorageLibraryContentChangedTriggerStatics_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] CreateFromLibraries: usize, } -windows_core::imp::com_interface!(ISystemCondition, ISystemCondition_Vtbl, 0xc15fb476_89c5_420b_abd3_fb3030472128); +windows_core::imp::define_interface!(ISystemCondition, ISystemCondition_Vtbl, 0xc15fb476_89c5_420b_abd3_fb3030472128); #[repr(C)] pub struct ISystemCondition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ConditionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SystemConditionType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemConditionFactory, ISystemConditionFactory_Vtbl, 0xd269d1f1_05a7_49ae_87d7_16b2b8b9a553); +windows_core::imp::define_interface!(ISystemConditionFactory, ISystemConditionFactory_Vtbl, 0xd269d1f1_05a7_49ae_87d7_16b2b8b9a553); #[repr(C)] pub struct ISystemConditionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, SystemConditionType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemTrigger, ISystemTrigger_Vtbl, 0x1d80c776_3748_4463_8d7e_276dc139ac1c); +windows_core::imp::define_interface!(ISystemTrigger, ISystemTrigger_Vtbl, 0x1d80c776_3748_4463_8d7e_276dc139ac1c); #[repr(C)] pub struct ISystemTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OneShot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub TriggerType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SystemTriggerType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemTriggerFactory, ISystemTriggerFactory_Vtbl, 0xe80423d4_8791_4579_8126_87ec8aaa407a); +windows_core::imp::define_interface!(ISystemTriggerFactory, ISystemTriggerFactory_Vtbl, 0xe80423d4_8791_4579_8126_87ec8aaa407a); #[repr(C)] pub struct ISystemTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, SystemTriggerType, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimeTrigger, ITimeTrigger_Vtbl, 0x656e5556_0b2a_4377_ba70_3b45a935547f); +windows_core::imp::define_interface!(ITimeTrigger, ITimeTrigger_Vtbl, 0x656e5556_0b2a_4377_ba70_3b45a935547f); #[repr(C)] pub struct ITimeTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FreshnessTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub OneShot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimeTriggerFactory, ITimeTriggerFactory_Vtbl, 0x38c682fe_9b54_45e6_b2f3_269b87a6f734); +windows_core::imp::define_interface!(ITimeTriggerFactory, ITimeTriggerFactory_Vtbl, 0x38c682fe_9b54_45e6_b2f3_269b87a6f734); #[repr(C)] pub struct ITimeTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastNotificationActionTriggerFactory, IToastNotificationActionTriggerFactory_Vtbl, 0xb09dfc27_6480_4349_8125_97b3efaa0a3a); +windows_core::imp::define_interface!(IToastNotificationActionTriggerFactory, IToastNotificationActionTriggerFactory_Vtbl, 0xb09dfc27_6480_4349_8125_97b3efaa0a3a); #[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, } -windows_core::imp::com_interface!(IToastNotificationHistoryChangedTriggerFactory, IToastNotificationHistoryChangedTriggerFactory_Vtbl, 0x81c6faad_8797_4785_81b4_b0cccb73d1d9); +windows_core::imp::define_interface!(IToastNotificationHistoryChangedTriggerFactory, IToastNotificationHistoryChangedTriggerFactory_Vtbl, 0x81c6faad_8797_4785_81b4_b0cccb73d1d9); #[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, } -windows_core::imp::com_interface!(IUserNotificationChangedTriggerFactory, IUserNotificationChangedTriggerFactory_Vtbl, 0xcad4436c_69ab_4e18_a48a_5ed2ac435957); +windows_core::imp::define_interface!(IUserNotificationChangedTriggerFactory, IUserNotificationChangedTriggerFactory_Vtbl, 0xcad4436c_69ab_4e18_a48a_5ed2ac435957); #[repr(C)] pub struct IUserNotificationChangedTriggerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -4244,7 +4244,7 @@ impl core::fmt::Debug for SystemTriggerType { impl windows_core::RuntimeType for SystemTriggerType { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Background.SystemTriggerType;i4)"); } -windows_core::imp::com_interface!(BackgroundTaskCanceledEventHandler, BackgroundTaskCanceledEventHandler_Vtbl, 0xa6c4bac0_51f8_4c57_ac3f_156dd1680c4f); +windows_core::imp::define_interface!(BackgroundTaskCanceledEventHandler, BackgroundTaskCanceledEventHandler_Vtbl, 0xa6c4bac0_51f8_4c57_ac3f_156dd1680c4f); impl BackgroundTaskCanceledEventHandler { pub fn new, BackgroundTaskCancellationReason) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = BackgroundTaskCanceledEventHandlerBox:: { vtable: &BackgroundTaskCanceledEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -4304,7 +4304,7 @@ pub struct BackgroundTaskCanceledEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, BackgroundTaskCancellationReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(BackgroundTaskCompletedEventHandler, BackgroundTaskCompletedEventHandler_Vtbl, 0x5b38e929_a086_46a7_a678_439135822bcf); +windows_core::imp::define_interface!(BackgroundTaskCompletedEventHandler, BackgroundTaskCompletedEventHandler_Vtbl, 0x5b38e929_a086_46a7_a678_439135822bcf); impl BackgroundTaskCompletedEventHandler { pub fn new, Option<&BackgroundTaskCompletedEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = BackgroundTaskCompletedEventHandlerBox:: { vtable: &BackgroundTaskCompletedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -4365,7 +4365,7 @@ pub struct BackgroundTaskCompletedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: 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::com_interface!(BackgroundTaskProgressEventHandler, BackgroundTaskProgressEventHandler_Vtbl, 0x46e0683c_8a88_4c99_804c_76897f6277a6); +windows_core::imp::define_interface!(BackgroundTaskProgressEventHandler, BackgroundTaskProgressEventHandler_Vtbl, 0x46e0683c_8a88_4c99_804c_76897f6277a6); impl BackgroundTaskProgressEventHandler { pub fn new, Option<&BackgroundTaskProgressEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = BackgroundTaskProgressEventHandlerBox:: { vtable: &BackgroundTaskProgressEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; 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 1d65817f5a..580cfa40ac 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Background/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPhoneCallBlockedTriggerDetails, IPhoneCallBlockedTriggerDetails_Vtbl, 0xa4a690a2_e4c1_427f_864e_e470477ddb67); +windows_core::imp::define_interface!(IPhoneCallBlockedTriggerDetails, IPhoneCallBlockedTriggerDetails_Vtbl, 0xa4a690a2_e4c1_427f_864e_e470477ddb67); #[repr(C)] pub struct IPhoneCallBlockedTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct IPhoneCallBlockedTriggerDetails_Vtbl { pub CallBlockedReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneCallBlockedReason) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPhoneCallOriginDataRequestTriggerDetails, IPhoneCallOriginDataRequestTriggerDetails_Vtbl, 0x6e9b5b3f_c54b_4e82_4cc9_e329a4184592); +windows_core::imp::define_interface!(IPhoneCallOriginDataRequestTriggerDetails, IPhoneCallOriginDataRequestTriggerDetails_Vtbl, 0x6e9b5b3f_c54b_4e82_4cc9_e329a4184592); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPhoneCallOriginDataRequestTriggerDetails_Vtbl { @@ -22,7 +22,7 @@ pub struct IPhoneCallOriginDataRequestTriggerDetails_Vtbl { PhoneNumber: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPhoneIncomingCallDismissedTriggerDetails, IPhoneIncomingCallDismissedTriggerDetails_Vtbl, 0xbad30276_83b6_5732_9c38_0c206546196a); +windows_core::imp::define_interface!(IPhoneIncomingCallDismissedTriggerDetails, IPhoneIncomingCallDismissedTriggerDetails_Vtbl, 0xbad30276_83b6_5732_9c38_0c206546196a); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPhoneIncomingCallDismissedTriggerDetails_Vtbl { @@ -52,14 +52,14 @@ pub struct IPhoneIncomingCallDismissedTriggerDetails_Vtbl { #[cfg(not(feature = "deprecated"))] Reason: usize, } -windows_core::imp::com_interface!(IPhoneIncomingCallNotificationTriggerDetails, IPhoneIncomingCallNotificationTriggerDetails_Vtbl, 0x2b0e6044_9b32_5d42_8222_d2812e39fb21); +windows_core::imp::define_interface!(IPhoneIncomingCallNotificationTriggerDetails, IPhoneIncomingCallNotificationTriggerDetails_Vtbl, 0x2b0e6044_9b32_5d42_8222_d2812e39fb21); #[repr(C)] 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, } -windows_core::imp::com_interface!(IPhoneLineChangedTriggerDetails, IPhoneLineChangedTriggerDetails_Vtbl, 0xc6d321e7_d11d_40d8_b2b7_e40a01d66249); +windows_core::imp::define_interface!(IPhoneLineChangedTriggerDetails, IPhoneLineChangedTriggerDetails_Vtbl, 0xc6d321e7_d11d_40d8_b2b7_e40a01d66249); #[repr(C)] pub struct IPhoneLineChangedTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -67,7 +67,7 @@ pub struct IPhoneLineChangedTriggerDetails_Vtbl { pub ChangeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneLineChangeKind) -> windows_core::HRESULT, pub HasLinePropertyChanged: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneLineProperties, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneNewVoicemailMessageTriggerDetails, IPhoneNewVoicemailMessageTriggerDetails_Vtbl, 0x13a8c01b_b831_48d3_8ba9_8d22a6580dcf); +windows_core::imp::define_interface!(IPhoneNewVoicemailMessageTriggerDetails, IPhoneNewVoicemailMessageTriggerDetails_Vtbl, 0x13a8c01b_b831_48d3_8ba9_8d22a6580dcf); #[repr(C)] pub struct IPhoneNewVoicemailMessageTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 3a593eab51..5e95a65082 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/Provider/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPhoneCallOrigin, IPhoneCallOrigin_Vtbl, 0x20613479_0ef9_4454_871c_afb66a14b6a5); +windows_core::imp::define_interface!(IPhoneCallOrigin, IPhoneCallOrigin_Vtbl, 0x20613479_0ef9_4454_871c_afb66a14b6a5); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPhoneCallOrigin_Vtbl { @@ -30,7 +30,7 @@ pub struct IPhoneCallOrigin_Vtbl { SetLocation: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPhoneCallOrigin2, IPhoneCallOrigin2_Vtbl, 0x04c7e980_9ac2_4768_b536_b68da4957d02); +windows_core::imp::define_interface!(IPhoneCallOrigin2, IPhoneCallOrigin2_Vtbl, 0x04c7e980_9ac2_4768_b536_b68da4957d02); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPhoneCallOrigin2_Vtbl { @@ -45,7 +45,7 @@ pub struct IPhoneCallOrigin2_Vtbl { SetDisplayName: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPhoneCallOrigin3, IPhoneCallOrigin3_Vtbl, 0x49330fb4_d1a7_43a2_aeee_c07b6dbaf068); +windows_core::imp::define_interface!(IPhoneCallOrigin3, IPhoneCallOrigin3_Vtbl, 0x49330fb4_d1a7_43a2_aeee_c07b6dbaf068); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPhoneCallOrigin3_Vtbl { @@ -60,7 +60,7 @@ pub struct IPhoneCallOrigin3_Vtbl { SetDisplayPicture: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPhoneCallOriginManagerStatics, IPhoneCallOriginManagerStatics_Vtbl, 0xccfc5a0a_9af7_6149_39d0_e076fcce1395); +windows_core::imp::define_interface!(IPhoneCallOriginManagerStatics, IPhoneCallOriginManagerStatics_Vtbl, 0xccfc5a0a_9af7_6149_39d0_e076fcce1395); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPhoneCallOriginManagerStatics_Vtbl { @@ -79,7 +79,7 @@ pub struct IPhoneCallOriginManagerStatics_Vtbl { SetCallOrigin: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPhoneCallOriginManagerStatics2, IPhoneCallOriginManagerStatics2_Vtbl, 0x8bf3ee3f_40f4_4380_8c7c_aea2c9b8dd7a); +windows_core::imp::define_interface!(IPhoneCallOriginManagerStatics2, IPhoneCallOriginManagerStatics2_Vtbl, 0x8bf3ee3f_40f4_4380_8c7c_aea2c9b8dd7a); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPhoneCallOriginManagerStatics2_Vtbl { @@ -90,7 +90,7 @@ pub struct IPhoneCallOriginManagerStatics2_Vtbl { RequestSetAsActiveCallOriginAppAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPhoneCallOriginManagerStatics3, IPhoneCallOriginManagerStatics3_Vtbl, 0x2ed69764_a6e3_50f0_b76a_d67cb39bdfde); +windows_core::imp::define_interface!(IPhoneCallOriginManagerStatics3, IPhoneCallOriginManagerStatics3_Vtbl, 0x2ed69764_a6e3_50f0_b76a_d67cb39bdfde); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPhoneCallOriginManagerStatics3_Vtbl { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs index 9987cb05a5..c11080a345 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Calls/mod.rs @@ -2,38 +2,38 @@ pub mod Background; #[cfg(feature = "ApplicationModel_Calls_Provider")] pub mod Provider; -windows_core::imp::com_interface!(ICallAnswerEventArgs, ICallAnswerEventArgs_Vtbl, 0xfd789617_2dd7_4c8c_b2bd_95d17a5bb733); +windows_core::imp::define_interface!(ICallAnswerEventArgs, ICallAnswerEventArgs_Vtbl, 0xfd789617_2dd7_4c8c_b2bd_95d17a5bb733); #[repr(C)] pub struct ICallAnswerEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AcceptedMedia: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VoipPhoneCallMedia) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICallRejectEventArgs, ICallRejectEventArgs_Vtbl, 0xda47fad7_13d4_4d92_a1c2_b77811ee37ec); +windows_core::imp::define_interface!(ICallRejectEventArgs, ICallRejectEventArgs_Vtbl, 0xda47fad7_13d4_4d92_a1c2_b77811ee37ec); #[repr(C)] pub struct ICallRejectEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RejectReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VoipPhoneCallRejectReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICallStateChangeEventArgs, ICallStateChangeEventArgs_Vtbl, 0xeab2349e_66f5_47f9_9fb5_459c5198c720); +windows_core::imp::define_interface!(ICallStateChangeEventArgs, ICallStateChangeEventArgs_Vtbl, 0xeab2349e_66f5_47f9_9fb5_459c5198c720); #[repr(C)] pub struct ICallStateChangeEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VoipPhoneCallState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILockScreenCallEndCallDeferral, ILockScreenCallEndCallDeferral_Vtbl, 0x2dd7ed0d_98ed_4041_9632_50ff812b773f); +windows_core::imp::define_interface!(ILockScreenCallEndCallDeferral, ILockScreenCallEndCallDeferral_Vtbl, 0x2dd7ed0d_98ed_4041_9632_50ff812b773f); #[repr(C)] pub struct ILockScreenCallEndCallDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILockScreenCallEndRequestedEventArgs, ILockScreenCallEndRequestedEventArgs_Vtbl, 0x8190a363_6f27_46e9_aeb6_c0ae83e47dc7); +windows_core::imp::define_interface!(ILockScreenCallEndRequestedEventArgs, ILockScreenCallEndRequestedEventArgs_Vtbl, 0x8190a363_6f27_46e9_aeb6_c0ae83e47dc7); #[repr(C)] pub struct ILockScreenCallEndRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *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, } -windows_core::imp::com_interface!(ILockScreenCallUI, ILockScreenCallUI_Vtbl, 0xc596fd8d_73c9_4a14_b021_ec1c50a3b727); +windows_core::imp::define_interface!(ILockScreenCallUI, ILockScreenCallUI_Vtbl, 0xc596fd8d_73c9_4a14_b021_ec1c50a3b727); #[repr(C)] pub struct ILockScreenCallUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -45,13 +45,13 @@ pub struct ILockScreenCallUI_Vtbl { 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, } -windows_core::imp::com_interface!(IMuteChangeEventArgs, IMuteChangeEventArgs_Vtbl, 0x8585e159_0c41_432c_814d_c5f1fdf530be); +windows_core::imp::define_interface!(IMuteChangeEventArgs, IMuteChangeEventArgs_Vtbl, 0x8585e159_0c41_432c_814d_c5f1fdf530be); #[repr(C)] pub struct IMuteChangeEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Muted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneCall, IPhoneCall_Vtbl, 0xc14ed0f8_c17d_59d2_9628_66e545b6cd21); +windows_core::imp::define_interface!(IPhoneCall, IPhoneCall_Vtbl, 0xc14ed0f8_c17d_59d2_9628_66e545b6cd21); #[repr(C)] pub struct IPhoneCall_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -86,7 +86,7 @@ pub struct IPhoneCall_Vtbl { pub ChangeAudioDevice: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneCallAudioDevice, *mut PhoneCallOperationStatus) -> windows_core::HRESULT, pub ChangeAudioDeviceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneCallAudioDevice, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneCallBlockingStatics, IPhoneCallBlockingStatics_Vtbl, 0x19646f84_2b79_26f1_a46f_694be043f313); +windows_core::imp::define_interface!(IPhoneCallBlockingStatics, IPhoneCallBlockingStatics_Vtbl, 0x19646f84_2b79_26f1_a46f_694be043f313); #[repr(C)] pub struct IPhoneCallBlockingStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -99,7 +99,7 @@ pub struct IPhoneCallBlockingStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetCallBlockingListAsync: usize, } -windows_core::imp::com_interface!(IPhoneCallHistoryEntry, IPhoneCallHistoryEntry_Vtbl, 0xfab0e129_32a4_4b85_83d1_f90d8c23a857); +windows_core::imp::define_interface!(IPhoneCallHistoryEntry, IPhoneCallHistoryEntry_Vtbl, 0xfab0e129_32a4_4b85_83d1_f90d8c23a857); #[repr(C)] pub struct IPhoneCallHistoryEntry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -138,7 +138,7 @@ pub struct IPhoneCallHistoryEntry_Vtbl { 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, } -windows_core::imp::com_interface!(IPhoneCallHistoryEntryAddress, IPhoneCallHistoryEntryAddress_Vtbl, 0x30f159da_3955_4042_84e6_66eebf82e67f); +windows_core::imp::define_interface!(IPhoneCallHistoryEntryAddress, IPhoneCallHistoryEntryAddress_Vtbl, 0x30f159da_3955_4042_84e6_66eebf82e67f); #[repr(C)] pub struct IPhoneCallHistoryEntryAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -151,13 +151,13 @@ pub struct IPhoneCallHistoryEntryAddress_Vtbl { 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, } -windows_core::imp::com_interface!(IPhoneCallHistoryEntryAddressFactory, IPhoneCallHistoryEntryAddressFactory_Vtbl, 0xfb0fadba_c7f0_4bb6_9f6b_ba5d73209aca); +windows_core::imp::define_interface!(IPhoneCallHistoryEntryAddressFactory, IPhoneCallHistoryEntryAddressFactory_Vtbl, 0xfb0fadba_c7f0_4bb6_9f6b_ba5d73209aca); #[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, } -windows_core::imp::com_interface!(IPhoneCallHistoryEntryQueryOptions, IPhoneCallHistoryEntryQueryOptions_Vtbl, 0x9c5fe15c_8bed_40ca_b06e_c4ca8eae5c87); +windows_core::imp::define_interface!(IPhoneCallHistoryEntryQueryOptions, IPhoneCallHistoryEntryQueryOptions_Vtbl, 0x9c5fe15c_8bed_40ca_b06e_c4ca8eae5c87); #[repr(C)] pub struct IPhoneCallHistoryEntryQueryOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -168,7 +168,7 @@ pub struct IPhoneCallHistoryEntryQueryOptions_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SourceIds: usize, } -windows_core::imp::com_interface!(IPhoneCallHistoryEntryReader, IPhoneCallHistoryEntryReader_Vtbl, 0x61ece4be_8d86_479f_8404_a9846920fee6); +windows_core::imp::define_interface!(IPhoneCallHistoryEntryReader, IPhoneCallHistoryEntryReader_Vtbl, 0x61ece4be_8d86_479f_8404_a9846920fee6); #[repr(C)] pub struct IPhoneCallHistoryEntryReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -177,7 +177,7 @@ pub struct IPhoneCallHistoryEntryReader_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, } -windows_core::imp::com_interface!(IPhoneCallHistoryManagerForUser, IPhoneCallHistoryManagerForUser_Vtbl, 0xd925c523_f55f_4353_9db4_0205a5265a55); +windows_core::imp::define_interface!(IPhoneCallHistoryManagerForUser, IPhoneCallHistoryManagerForUser_Vtbl, 0xd925c523_f55f_4353_9db4_0205a5265a55); #[repr(C)] pub struct IPhoneCallHistoryManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -187,13 +187,13 @@ pub struct IPhoneCallHistoryManagerForUser_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IPhoneCallHistoryManagerStatics, IPhoneCallHistoryManagerStatics_Vtbl, 0xf5a6da39_b31f_4f45_ac8e_1b08893c1b50); +windows_core::imp::define_interface!(IPhoneCallHistoryManagerStatics, IPhoneCallHistoryManagerStatics_Vtbl, 0xf5a6da39_b31f_4f45_ac8e_1b08893c1b50); #[repr(C)] pub struct IPhoneCallHistoryManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestStoreAsync: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneCallHistoryStoreAccessType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneCallHistoryManagerStatics2, IPhoneCallHistoryManagerStatics2_Vtbl, 0xefd474f0_a2db_4188_9e92_bc3cfa6813cf); +windows_core::imp::define_interface!(IPhoneCallHistoryManagerStatics2, IPhoneCallHistoryManagerStatics2_Vtbl, 0xefd474f0_a2db_4188_9e92_bc3cfa6813cf); #[repr(C)] pub struct IPhoneCallHistoryManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -202,7 +202,7 @@ pub struct IPhoneCallHistoryManagerStatics2_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IPhoneCallHistoryStore, IPhoneCallHistoryStore_Vtbl, 0x2f907db8_b40e_422b_8545_cb1910a61c52); +windows_core::imp::define_interface!(IPhoneCallHistoryStore, IPhoneCallHistoryStore_Vtbl, 0x2f907db8_b40e_422b_8545_cb1910a61c52); #[repr(C)] pub struct IPhoneCallHistoryStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -231,7 +231,7 @@ pub struct IPhoneCallHistoryStore_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] MarkSourcesAsSeenAsync: usize, } -windows_core::imp::com_interface!(IPhoneCallInfo, IPhoneCallInfo_Vtbl, 0x22b42577_3e4d_5dc6_89c2_469fe5ffc189); +windows_core::imp::define_interface!(IPhoneCallInfo, IPhoneCallInfo_Vtbl, 0x22b42577_3e4d_5dc6_89c2_469fe5ffc189); #[repr(C)] pub struct IPhoneCallInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -242,13 +242,13 @@ pub struct IPhoneCallInfo_Vtbl { pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub CallDirection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneCallDirection) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneCallManagerStatics, IPhoneCallManagerStatics_Vtbl, 0x60edac78_78a6_4872_a3ef_98325ec8b843); +windows_core::imp::define_interface!(IPhoneCallManagerStatics, IPhoneCallManagerStatics_Vtbl, 0x60edac78_78a6_4872_a3ef_98325ec8b843); #[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, } -windows_core::imp::com_interface!(IPhoneCallManagerStatics2, IPhoneCallManagerStatics2_Vtbl, 0xc7e3c8bc_2370_431c_98fd_43be5f03086d); +windows_core::imp::define_interface!(IPhoneCallManagerStatics2, IPhoneCallManagerStatics2_Vtbl, 0xc7e3c8bc_2370_431c_98fd_43be5f03086d); #[repr(C)] pub struct IPhoneCallManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -259,13 +259,13 @@ pub struct IPhoneCallManagerStatics2_Vtbl { pub ShowPhoneCallSettingsUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestStoreAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneCallStatics, IPhoneCallStatics_Vtbl, 0x2218eeab_f60b_53e7_ba13_5aeafbc22957); +windows_core::imp::define_interface!(IPhoneCallStatics, IPhoneCallStatics_Vtbl, 0x2218eeab_f60b_53e7_ba13_5aeafbc22957); #[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, } -windows_core::imp::com_interface!(IPhoneCallStore, IPhoneCallStore_Vtbl, 0x5f610748_18a6_4173_86d1_28be9dc62dba); +windows_core::imp::define_interface!(IPhoneCallStore, IPhoneCallStore_Vtbl, 0x5f610748_18a6_4173_86d1_28be9dc62dba); #[repr(C)] pub struct IPhoneCallStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -273,19 +273,19 @@ pub struct IPhoneCallStore_Vtbl { 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, } -windows_core::imp::com_interface!(IPhoneCallVideoCapabilities, IPhoneCallVideoCapabilities_Vtbl, 0x02382786_b16a_4fdb_be3b_c4240e13ad0d); +windows_core::imp::define_interface!(IPhoneCallVideoCapabilities, IPhoneCallVideoCapabilities_Vtbl, 0x02382786_b16a_4fdb_be3b_c4240e13ad0d); #[repr(C)] pub struct IPhoneCallVideoCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsVideoCallingCapable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneCallVideoCapabilitiesManagerStatics, IPhoneCallVideoCapabilitiesManagerStatics_Vtbl, 0xf3c64b56_f00b_4a1c_a0c6_ee1910749ce7); +windows_core::imp::define_interface!(IPhoneCallVideoCapabilitiesManagerStatics, IPhoneCallVideoCapabilitiesManagerStatics_Vtbl, 0xf3c64b56_f00b_4a1c_a0c6_ee1910749ce7); #[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, } -windows_core::imp::com_interface!(IPhoneCallsResult, IPhoneCallsResult_Vtbl, 0x1bfad365_57cf_57dd_986d_b057c91eac33); +windows_core::imp::define_interface!(IPhoneCallsResult, IPhoneCallsResult_Vtbl, 0x1bfad365_57cf_57dd_986d_b057c91eac33); #[repr(C)] pub struct IPhoneCallsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -295,7 +295,7 @@ pub struct IPhoneCallsResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AllActivePhoneCalls: usize, } -windows_core::imp::com_interface!(IPhoneDialOptions, IPhoneDialOptions_Vtbl, 0xb639c4b8_f06f_36cb_a863_823742b5f2d4); +windows_core::imp::define_interface!(IPhoneDialOptions, IPhoneDialOptions_Vtbl, 0xb639c4b8_f06f_36cb_a863_823742b5f2d4); #[repr(C)] pub struct IPhoneDialOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -324,7 +324,7 @@ pub struct IPhoneDialOptions_Vtbl { pub AudioEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneAudioRoutingEndpoint) -> windows_core::HRESULT, pub SetAudioEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void, PhoneAudioRoutingEndpoint) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneLine, IPhoneLine_Vtbl, 0x27c66f30_6a69_34ca_a2ba_65302530c311); +windows_core::imp::define_interface!(IPhoneLine, IPhoneLine_Vtbl, 0x27c66f30_6a69_34ca_a2ba_65302530c311); #[repr(C)] pub struct IPhoneLine_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -349,7 +349,7 @@ pub struct IPhoneLine_Vtbl { pub Dial: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::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::com_interface!(IPhoneLine2, IPhoneLine2_Vtbl, 0x0167f56a_5344_5d64_8af3_a31a950e916a); +windows_core::imp::define_interface!(IPhoneLine2, IPhoneLine2_Vtbl, 0x0167f56a_5344_5d64_8af3_a31a950e916a); #[repr(C)] pub struct IPhoneLine2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -359,7 +359,7 @@ pub struct IPhoneLine2_Vtbl { EnableTextReply: usize, pub TransportDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneLine3, IPhoneLine3_Vtbl, 0xe2e33cf7_2406_57f3_826a_e5a5f40d6fb5); +windows_core::imp::define_interface!(IPhoneLine3, IPhoneLine3_Vtbl, 0xe2e33cf7_2406_57f3_826a_e5a5f40d6fb5); #[repr(C)] pub struct IPhoneLine3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -368,7 +368,7 @@ pub struct IPhoneLine3_Vtbl { 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, } -windows_core::imp::com_interface!(IPhoneLineCellularDetails, IPhoneLineCellularDetails_Vtbl, 0x192601d5_147c_4769_b673_98a5ec8426cb); +windows_core::imp::define_interface!(IPhoneLineCellularDetails, IPhoneLineCellularDetails_Vtbl, 0x192601d5_147c_4769_b673_98a5ec8426cb); #[repr(C)] pub struct IPhoneLineCellularDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -378,7 +378,7 @@ pub struct IPhoneLineCellularDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPhoneLineConfiguration, IPhoneLineConfiguration_Vtbl, 0xfe265862_f64f_4312_b2a8_4e257721aa95); +windows_core::imp::define_interface!(IPhoneLineConfiguration, IPhoneLineConfiguration_Vtbl, 0xfe265862_f64f_4312_b2a8_4e257721aa95); #[repr(C)] pub struct IPhoneLineConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -388,20 +388,20 @@ pub struct IPhoneLineConfiguration_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ExtendedProperties: usize, } -windows_core::imp::com_interface!(IPhoneLineDialResult, IPhoneLineDialResult_Vtbl, 0xe825a30a_5c7f_546f_b918_3ad2fe70fb34); +windows_core::imp::define_interface!(IPhoneLineDialResult, IPhoneLineDialResult_Vtbl, 0xe825a30a_5c7f_546f_b918_3ad2fe70fb34); #[repr(C)] pub struct IPhoneLineDialResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DialCallStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneCallOperationStatus) -> windows_core::HRESULT, pub DialedCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneLineStatics, IPhoneLineStatics_Vtbl, 0xf38b5f23_ceb0_404f_bcf2_ba9f697d8adf); +windows_core::imp::define_interface!(IPhoneLineStatics, IPhoneLineStatics_Vtbl, 0xf38b5f23_ceb0_404f_bcf2_ba9f697d8adf); #[repr(C)] pub struct IPhoneLineStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneLineTransportDevice, IPhoneLineTransportDevice_Vtbl, 0xefa8f889_cffa_59f4_97e4_74705b7dc490); +windows_core::imp::define_interface!(IPhoneLineTransportDevice, IPhoneLineTransportDevice_Vtbl, 0xefa8f889_cffa_59f4_97e4_74705b7dc490); #[repr(C)] pub struct IPhoneLineTransportDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -425,7 +425,7 @@ pub struct IPhoneLineTransportDevice_Vtbl { pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ConnectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneLineTransportDevice2, IPhoneLineTransportDevice2_Vtbl, 0x64c885f2_ecf4_5761_8c04_3c248ce61690); +windows_core::imp::define_interface!(IPhoneLineTransportDevice2, IPhoneLineTransportDevice2_Vtbl, 0x64c885f2_ecf4_5761_8c04_3c248ce61690); #[repr(C)] pub struct IPhoneLineTransportDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -436,7 +436,7 @@ pub struct IPhoneLineTransportDevice2_Vtbl { pub InBandRingingEnabledChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveInBandRingingEnabledChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneLineTransportDeviceStatics, IPhoneLineTransportDeviceStatics_Vtbl, 0x0f3121ac_d609_51a1_96f3_fb00d1819252); +windows_core::imp::define_interface!(IPhoneLineTransportDeviceStatics, IPhoneLineTransportDeviceStatics_Vtbl, 0x0f3121ac_d609_51a1_96f3_fb00d1819252); #[repr(C)] pub struct IPhoneLineTransportDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -444,7 +444,7 @@ pub struct IPhoneLineTransportDeviceStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IPhoneLineWatcher, IPhoneLineWatcher_Vtbl, 0x8a45cd0a_6323_44e0_a6f6_9f21f64dc90a); +windows_core::imp::define_interface!(IPhoneLineWatcher, IPhoneLineWatcher_Vtbl, 0x8a45cd0a_6323_44e0_a6f6_9f21f64dc90a); #[repr(C)] pub struct IPhoneLineWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -462,13 +462,13 @@ pub struct IPhoneLineWatcher_Vtbl { pub RemoveStopped: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhoneLineWatcherStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneLineWatcherEventArgs, IPhoneLineWatcherEventArgs_Vtbl, 0xd07c753e_9e12_4a37_82b7_ad535dad6a67); +windows_core::imp::define_interface!(IPhoneLineWatcherEventArgs, IPhoneLineWatcherEventArgs_Vtbl, 0xd07c753e_9e12_4a37_82b7_ad535dad6a67); #[repr(C)] pub struct IPhoneLineWatcherEventArgs_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, } -windows_core::imp::com_interface!(IPhoneVoicemail, IPhoneVoicemail_Vtbl, 0xc9ce77f6_6e9f_3a8b_b727_6e0cf6998224); +windows_core::imp::define_interface!(IPhoneVoicemail, IPhoneVoicemail_Vtbl, 0xc9ce77f6_6e9f_3a8b_b727_6e0cf6998224); #[repr(C)] pub struct IPhoneVoicemail_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -477,7 +477,7 @@ pub struct IPhoneVoicemail_Vtbl { 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, } -windows_core::imp::com_interface!(IVoipCallCoordinator, IVoipCallCoordinator_Vtbl, 0x4f118bcf_e8ef_4434_9c5f_a8d893fafe79); +windows_core::imp::define_interface!(IVoipCallCoordinator, IVoipCallCoordinator_Vtbl, 0x4f118bcf_e8ef_4434_9c5f_a8d893fafe79); #[repr(C)] pub struct IVoipCallCoordinator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -493,32 +493,32 @@ pub struct IVoipCallCoordinator_Vtbl { 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, } -windows_core::imp::com_interface!(IVoipCallCoordinator2, IVoipCallCoordinator2_Vtbl, 0xbeb4a9f3_c704_4234_89ce_e88cc0d28fbe); +windows_core::imp::define_interface!(IVoipCallCoordinator2, IVoipCallCoordinator2_Vtbl, 0xbeb4a9f3_c704_4234_89ce_e88cc0d28fbe); #[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, } -windows_core::imp::com_interface!(IVoipCallCoordinator3, IVoipCallCoordinator3_Vtbl, 0x338d0cbf_9b55_4021_87ca_e64b9bd666c7); +windows_core::imp::define_interface!(IVoipCallCoordinator3, IVoipCallCoordinator3_Vtbl, 0x338d0cbf_9b55_4021_87ca_e64b9bd666c7); #[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, } -windows_core::imp::com_interface!(IVoipCallCoordinator4, IVoipCallCoordinator4_Vtbl, 0x83737239_9311_468f_bb49_47e0dfb5d93e); +windows_core::imp::define_interface!(IVoipCallCoordinator4, IVoipCallCoordinator4_Vtbl, 0x83737239_9311_468f_bb49_47e0dfb5d93e); #[repr(C)] pub struct IVoipCallCoordinator4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReserveOneProcessCallResourcesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVoipCallCoordinatorStatics, IVoipCallCoordinatorStatics_Vtbl, 0x7f5d1f2b_e04a_4d10_b31a_a55c922cc2fb); +windows_core::imp::define_interface!(IVoipCallCoordinatorStatics, IVoipCallCoordinatorStatics_Vtbl, 0x7f5d1f2b_e04a_4d10_b31a_a55c922cc2fb); #[repr(C)] pub struct IVoipCallCoordinatorStatics_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, } -windows_core::imp::com_interface!(IVoipPhoneCall, IVoipPhoneCall_Vtbl, 0x6cf1f19a_7794_4a5a_8c68_ae87947a6990); +windows_core::imp::define_interface!(IVoipPhoneCall, IVoipPhoneCall_Vtbl, 0x6cf1f19a_7794_4a5a_8c68_ae87947a6990); #[repr(C)] pub struct IVoipPhoneCall_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -543,13 +543,13 @@ pub struct IVoipPhoneCall_Vtbl { pub SetCallMedia: unsafe extern "system" fn(*mut core::ffi::c_void, VoipPhoneCallMedia) -> windows_core::HRESULT, pub NotifyCallReady: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVoipPhoneCall2, IVoipPhoneCall2_Vtbl, 0x741b46e1_245f_41f3_9399_3141d25b52e3); +windows_core::imp::define_interface!(IVoipPhoneCall2, IVoipPhoneCall2_Vtbl, 0x741b46e1_245f_41f3_9399_3141d25b52e3); #[repr(C)] pub struct IVoipPhoneCall2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryShowAppUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVoipPhoneCall3, IVoipPhoneCall3_Vtbl, 0x0d891522_e258_4aa9_907a_1aa413c25523); +windows_core::imp::define_interface!(IVoipPhoneCall3, IVoipPhoneCall3_Vtbl, 0x0d891522_e258_4aa9_907a_1aa413c25523); #[repr(C)] pub struct IVoipPhoneCall3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs index a86be65831..8556bfb3df 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IChatCapabilities, IChatCapabilities_Vtbl, 0x3aff77bc_39c9_4dd1_ad2d_3964dd9d403f); +windows_core::imp::define_interface!(IChatCapabilities, IChatCapabilities_Vtbl, 0x3aff77bc_39c9_4dd1_ad2d_3964dd9d403f); #[repr(C)] pub struct IChatCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,21 +8,21 @@ pub struct IChatCapabilities_Vtbl { pub IsGeoLocationPushCapable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsIntegratedMessagingCapable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatCapabilitiesManagerStatics, IChatCapabilitiesManagerStatics_Vtbl, 0xb57a2f30_7041_458e_b0cf_7c0d9fea333a); +windows_core::imp::define_interface!(IChatCapabilitiesManagerStatics, IChatCapabilitiesManagerStatics_Vtbl, 0xb57a2f30_7041_458e_b0cf_7c0d9fea333a); #[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, } -windows_core::imp::com_interface!(IChatCapabilitiesManagerStatics2, IChatCapabilitiesManagerStatics2_Vtbl, 0xe30d4274_d5c1_4ac9_9ffc_40e69184fec8); +windows_core::imp::define_interface!(IChatCapabilitiesManagerStatics2, IChatCapabilitiesManagerStatics2_Vtbl, 0xe30d4274_d5c1_4ac9_9ffc_40e69184fec8); #[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, } -windows_core::imp::com_interface!(IChatConversation, IChatConversation_Vtbl, 0xa58c080d_1a6f_46dc_8f3d_f5028660b6ee); +windows_core::imp::define_interface!(IChatConversation, IChatConversation_Vtbl, 0xa58c080d_1a6f_46dc_8f3d_f5028660b6ee); #[repr(C)] pub struct IChatConversation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -48,14 +48,14 @@ pub struct IChatConversation_Vtbl { 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, } -windows_core::imp::com_interface!(IChatConversation2, IChatConversation2_Vtbl, 0x0a030cd1_983a_47aa_9a90_ee48ee997b59); +windows_core::imp::define_interface!(IChatConversation2, IChatConversation2_Vtbl, 0x0a030cd1_983a_47aa_9a90_ee48ee997b59); #[repr(C)] pub struct IChatConversation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CanModifyParticipants: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetCanModifyParticipants: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatConversationReader, IChatConversationReader_Vtbl, 0x055136d2_de32_4a47_a93a_b3dc0833852b); +windows_core::imp::define_interface!(IChatConversationReader, IChatConversationReader_Vtbl, 0x055136d2_de32_4a47_a93a_b3dc0833852b); #[repr(C)] pub struct IChatConversationReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,7 +68,7 @@ pub struct IChatConversationReader_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadBatchWithCountAsync: usize, } -windows_core::imp::com_interface!(IChatConversationThreadingInfo, IChatConversationThreadingInfo_Vtbl, 0x331c21dc_7a07_4422_a32c_24be7c6dab24); +windows_core::imp::define_interface!(IChatConversationThreadingInfo, IChatConversationThreadingInfo_Vtbl, 0x331c21dc_7a07_4422_a32c_24be7c6dab24); #[repr(C)] pub struct IChatConversationThreadingInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -85,7 +85,7 @@ pub struct IChatConversationThreadingInfo_Vtbl { pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ChatConversationThreadingKind) -> windows_core::HRESULT, pub SetKind: unsafe extern "system" fn(*mut core::ffi::c_void, ChatConversationThreadingKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatItem, IChatItem_Vtbl, 0x8751d000_ceb1_4243_b803_15d45a1dd428); +windows_core::imp::define_interface!(IChatItem, IChatItem_Vtbl, 0x8751d000_ceb1_4243_b803_15d45a1dd428); windows_core::imp::interface_hierarchy!(IChatItem, windows_core::IUnknown, windows_core::IInspectable); impl IChatItem { pub fn ItemKind(&self) -> windows_core::Result { @@ -104,7 +104,7 @@ pub struct IChatItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ItemKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ChatItemKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessage, IChatMessage_Vtbl, 0x4b39052a_1142_5089_76da_f2db3d17cd05); +windows_core::imp::define_interface!(IChatMessage, IChatMessage_Vtbl, 0x4b39052a_1142_5089_76da_f2db3d17cd05); #[repr(C)] pub struct IChatMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -135,7 +135,7 @@ pub struct IChatMessage_Vtbl { 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, } -windows_core::imp::com_interface!(IChatMessage2, IChatMessage2_Vtbl, 0x86668332_543f_49f5_ac71_6c2afc6565fd); +windows_core::imp::define_interface!(IChatMessage2, IChatMessage2_Vtbl, 0x86668332_543f_49f5_ac71_6c2afc6565fd); #[repr(C)] pub struct IChatMessage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -171,20 +171,20 @@ pub struct IChatMessage2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RecipientsDeliveryInfos: usize, } -windows_core::imp::com_interface!(IChatMessage3, IChatMessage3_Vtbl, 0x74eb2fb0_3ba7_459f_8e0b_e8af0febd9ad); +windows_core::imp::define_interface!(IChatMessage3, IChatMessage3_Vtbl, 0x74eb2fb0_3ba7_459f_8e0b_e8af0febd9ad); #[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, } -windows_core::imp::com_interface!(IChatMessage4, IChatMessage4_Vtbl, 0x2d144b0f_d2bf_460c_aa68_6d3f8483c9bf); +windows_core::imp::define_interface!(IChatMessage4, IChatMessage4_Vtbl, 0x2d144b0f_d2bf_460c_aa68_6d3f8483c9bf); #[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, } -windows_core::imp::com_interface!(IChatMessageAttachment, IChatMessageAttachment_Vtbl, 0xc7c4fd74_bf63_58eb_508c_8b863ff16b67); +windows_core::imp::define_interface!(IChatMessageAttachment, IChatMessageAttachment_Vtbl, 0xc7c4fd74_bf63_58eb_508c_8b863ff16b67); #[repr(C)] pub struct IChatMessageAttachment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -203,7 +203,7 @@ pub struct IChatMessageAttachment_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, } -windows_core::imp::com_interface!(IChatMessageAttachment2, IChatMessageAttachment2_Vtbl, 0x5ed99270_7dd1_4a87_a8ce_acdd87d80dc8); +windows_core::imp::define_interface!(IChatMessageAttachment2, IChatMessageAttachment2_Vtbl, 0x5ed99270_7dd1_4a87_a8ce_acdd87d80dc8); #[repr(C)] pub struct IChatMessageAttachment2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -220,7 +220,7 @@ pub struct IChatMessageAttachment2_Vtbl { 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, } -windows_core::imp::com_interface!(IChatMessageAttachmentFactory, IChatMessageAttachmentFactory_Vtbl, 0x205852a2_a356_5b71_6ca9_66c985b7d0d5); +windows_core::imp::define_interface!(IChatMessageAttachmentFactory, IChatMessageAttachmentFactory_Vtbl, 0x205852a2_a356_5b71_6ca9_66c985b7d0d5); #[repr(C)] pub struct IChatMessageAttachmentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -229,20 +229,20 @@ pub struct IChatMessageAttachmentFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateChatMessageAttachment: usize, } -windows_core::imp::com_interface!(IChatMessageBlockingStatic, IChatMessageBlockingStatic_Vtbl, 0xf6b9a380_cdea_11e4_8830_0800200c9a66); +windows_core::imp::define_interface!(IChatMessageBlockingStatic, IChatMessageBlockingStatic_Vtbl, 0xf6b9a380_cdea_11e4_8830_0800200c9a66); #[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, } -windows_core::imp::com_interface!(IChatMessageChange, IChatMessageChange_Vtbl, 0x1c18c355_421e_54b8_6d38_6b3a6c82fccc); +windows_core::imp::define_interface!(IChatMessageChange, IChatMessageChange_Vtbl, 0x1c18c355_421e_54b8_6d38_6b3a6c82fccc); #[repr(C)] pub struct IChatMessageChange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChangeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ChatMessageChangeType) -> windows_core::HRESULT, pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageChangeReader, IChatMessageChangeReader_Vtbl, 0x14267020_28ce_5f26_7b05_9a5c7cce87ca); +windows_core::imp::define_interface!(IChatMessageChangeReader, IChatMessageChangeReader_Vtbl, 0x14267020_28ce_5f26_7b05_9a5c7cce87ca); #[repr(C)] pub struct IChatMessageChangeReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -253,7 +253,7 @@ pub struct IChatMessageChangeReader_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, } -windows_core::imp::com_interface!(IChatMessageChangeTracker, IChatMessageChangeTracker_Vtbl, 0x60b7f066_70a0_5224_508c_242ef7c1d06f); +windows_core::imp::define_interface!(IChatMessageChangeTracker, IChatMessageChangeTracker_Vtbl, 0x60b7f066_70a0_5224_508c_242ef7c1d06f); #[repr(C)] pub struct IChatMessageChangeTracker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -261,26 +261,26 @@ pub struct IChatMessageChangeTracker_Vtbl { pub GetChangeReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageChangedDeferral, IChatMessageChangedDeferral_Vtbl, 0xfbc6b30c_788c_4dcc_ace7_6282382968cf); +windows_core::imp::define_interface!(IChatMessageChangedDeferral, IChatMessageChangedDeferral_Vtbl, 0xfbc6b30c_788c_4dcc_ace7_6282382968cf); #[repr(C)] pub struct IChatMessageChangedDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageChangedEventArgs, IChatMessageChangedEventArgs_Vtbl, 0xb6b73e2d_691c_4edf_8660_6eb9896892e3); +windows_core::imp::define_interface!(IChatMessageChangedEventArgs, IChatMessageChangedEventArgs_Vtbl, 0xb6b73e2d_691c_4edf_8660_6eb9896892e3); #[repr(C)] pub struct IChatMessageChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageManager2Statics, IChatMessageManager2Statics_Vtbl, 0x1d45390f_9f4f_4e35_964e_1b9ca61ac044); +windows_core::imp::define_interface!(IChatMessageManager2Statics, IChatMessageManager2Statics_Vtbl, 0x1d45390f_9f4f_4e35_964e_1b9ca61ac044); #[repr(C)] 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, } -windows_core::imp::com_interface!(IChatMessageManagerStatic, IChatMessageManagerStatic_Vtbl, 0xf15c60f7_d5e8_5e92_556d_e03b60253104); +windows_core::imp::define_interface!(IChatMessageManagerStatic, IChatMessageManagerStatic_Vtbl, 0xf15c60f7_d5e8_5e92_556d_e03b60253104); #[repr(C)] pub struct IChatMessageManagerStatic_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -292,19 +292,19 @@ pub struct IChatMessageManagerStatic_Vtbl { pub ShowComposeSmsMessageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowSmsSettings: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageManagerStatics3, IChatMessageManagerStatics3_Vtbl, 0x208b830d_6755_48cc_9ab3_fd03c463fc92); +windows_core::imp::define_interface!(IChatMessageManagerStatics3, IChatMessageManagerStatics3_Vtbl, 0x208b830d_6755_48cc_9ab3_fd03c463fc92); #[repr(C)] pub struct IChatMessageManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestSyncManagerAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageNotificationTriggerDetails, IChatMessageNotificationTriggerDetails_Vtbl, 0xfd344dfb_3063_4e17_8586_c6c08262e6c0); +windows_core::imp::define_interface!(IChatMessageNotificationTriggerDetails, IChatMessageNotificationTriggerDetails_Vtbl, 0xfd344dfb_3063_4e17_8586_c6c08262e6c0); #[repr(C)] pub struct IChatMessageNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChatMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageNotificationTriggerDetails2, IChatMessageNotificationTriggerDetails2_Vtbl, 0x6bb522e0_aa07_4fd1_9471_77934fb75ee6); +windows_core::imp::define_interface!(IChatMessageNotificationTriggerDetails2, IChatMessageNotificationTriggerDetails2_Vtbl, 0x6bb522e0_aa07_4fd1_9471_77934fb75ee6); #[repr(C)] pub struct IChatMessageNotificationTriggerDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -313,7 +313,7 @@ pub struct IChatMessageNotificationTriggerDetails2_Vtbl { pub ShouldUpdateBadge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ShouldUpdateActionCenter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageReader, IChatMessageReader_Vtbl, 0xb6ea78ce_4489_56f9_76aa_e204682514cf); +windows_core::imp::define_interface!(IChatMessageReader, IChatMessageReader_Vtbl, 0xb6ea78ce_4489_56f9_76aa_e204682514cf); #[repr(C)] pub struct IChatMessageReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -322,7 +322,7 @@ pub struct IChatMessageReader_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, } -windows_core::imp::com_interface!(IChatMessageReader2, IChatMessageReader2_Vtbl, 0x89643683_64bb_470d_9df4_0de8be1a05bf); +windows_core::imp::define_interface!(IChatMessageReader2, IChatMessageReader2_Vtbl, 0x89643683_64bb_470d_9df4_0de8be1a05bf); #[repr(C)] pub struct IChatMessageReader2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -331,7 +331,7 @@ pub struct IChatMessageReader2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadBatchWithCountAsync: usize, } -windows_core::imp::com_interface!(IChatMessageStore, IChatMessageStore_Vtbl, 0x31f2fd01_ccf6_580b_4976_0a07dd5d3b47); +windows_core::imp::define_interface!(IChatMessageStore, IChatMessageStore_Vtbl, 0x31f2fd01_ccf6_580b_4976_0a07dd5d3b47); #[repr(C)] pub struct IChatMessageStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -348,7 +348,7 @@ pub struct IChatMessageStore_Vtbl { pub MessageChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMessageChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageStore2, IChatMessageStore2_Vtbl, 0xad4dc4ee_3ad4_491b_b311_abdf9bb22768); +windows_core::imp::define_interface!(IChatMessageStore2, IChatMessageStore2_Vtbl, 0xad4dc4ee_3ad4_491b_b311_abdf9bb22768); #[repr(C)] pub struct IChatMessageStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -385,20 +385,20 @@ pub struct IChatMessageStore2_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, } -windows_core::imp::com_interface!(IChatMessageStore3, IChatMessageStore3_Vtbl, 0x9adbbb09_4345_4ec1_8b74_b7338243719c); +windows_core::imp::define_interface!(IChatMessageStore3, IChatMessageStore3_Vtbl, 0x9adbbb09_4345_4ec1_8b74_b7338243719c); #[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, } -windows_core::imp::com_interface!(IChatMessageStoreChangedEventArgs, IChatMessageStoreChangedEventArgs_Vtbl, 0x65c66fac_fe8c_46d4_9119_57b8410311d5); +windows_core::imp::define_interface!(IChatMessageStoreChangedEventArgs, IChatMessageStoreChangedEventArgs_Vtbl, 0x65c66fac_fe8c_46d4_9119_57b8410311d5); #[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 Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ChatStoreChangedEventKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageTransport, IChatMessageTransport_Vtbl, 0x63a9dbf8_e6b3_5c9a_5f85_d47925b9bd18); +windows_core::imp::define_interface!(IChatMessageTransport, IChatMessageTransport_Vtbl, 0x63a9dbf8_e6b3_5c9a_5f85_d47925b9bd18); #[repr(C)] pub struct IChatMessageTransport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -408,14 +408,14 @@ pub struct IChatMessageTransport_Vtbl { pub TransportId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IChatMessageTransport2, IChatMessageTransport2_Vtbl, 0x90a75622_d84a_4c22_a94d_544444edc8a1); +windows_core::imp::define_interface!(IChatMessageTransport2, IChatMessageTransport2_Vtbl, 0x90a75622_d84a_4c22_a94d_544444edc8a1); #[repr(C)] pub struct IChatMessageTransport2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Configuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TransportKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ChatMessageTransportKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatMessageTransportConfiguration, IChatMessageTransportConfiguration_Vtbl, 0x879ff725_1a08_4aca_a075_3355126312e6); +windows_core::imp::define_interface!(IChatMessageTransportConfiguration, IChatMessageTransportConfiguration_Vtbl, 0x879ff725_1a08_4aca_a075_3355126312e6); #[repr(C)] pub struct IChatMessageTransportConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -431,7 +431,7 @@ pub struct IChatMessageTransportConfiguration_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ExtendedProperties: usize, } -windows_core::imp::com_interface!(IChatMessageValidationResult, IChatMessageValidationResult_Vtbl, 0x25e93a03_28ec_5889_569b_7e486b126f18); +windows_core::imp::define_interface!(IChatMessageValidationResult, IChatMessageValidationResult_Vtbl, 0x25e93a03_28ec_5889_569b_7e486b126f18); #[repr(C)] pub struct IChatMessageValidationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -440,14 +440,14 @@ pub struct IChatMessageValidationResult_Vtbl { pub RemainingCharacterCountInPart: 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 ChatMessageValidationStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatQueryOptions, IChatQueryOptions_Vtbl, 0x2fd364a6_bf36_42f7_b7e7_923c0aabfe16); +windows_core::imp::define_interface!(IChatQueryOptions, IChatQueryOptions_Vtbl, 0x2fd364a6_bf36_42f7_b7e7_923c0aabfe16); #[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, } -windows_core::imp::com_interface!(IChatRecipientDeliveryInfo, IChatRecipientDeliveryInfo_Vtbl, 0xffc7b2a2_283c_4c0a_8a0e_8c33bdbf0545); +windows_core::imp::define_interface!(IChatRecipientDeliveryInfo, IChatRecipientDeliveryInfo_Vtbl, 0xffc7b2a2_283c_4c0a_8a0e_8c33bdbf0545); #[repr(C)] pub struct IChatRecipientDeliveryInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -463,7 +463,7 @@ pub struct IChatRecipientDeliveryInfo_Vtbl { pub IsErrorPermanent: 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 ChatMessageStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatSearchReader, IChatSearchReader_Vtbl, 0x4665fe49_9020_4752_980d_39612325f589); +windows_core::imp::define_interface!(IChatSearchReader, IChatSearchReader_Vtbl, 0x4665fe49_9020_4752_980d_39612325f589); #[repr(C)] pub struct IChatSearchReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -476,7 +476,7 @@ pub struct IChatSearchReader_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadBatchWithCountAsync: usize, } -windows_core::imp::com_interface!(IChatSyncConfiguration, IChatSyncConfiguration_Vtbl, 0x09f869b2_69f4_4aff_82b6_06992ff402d2); +windows_core::imp::define_interface!(IChatSyncConfiguration, IChatSyncConfiguration_Vtbl, 0x09f869b2_69f4_4aff_82b6_06992ff402d2); #[repr(C)] pub struct IChatSyncConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -485,7 +485,7 @@ pub struct IChatSyncConfiguration_Vtbl { pub RestoreHistorySpan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ChatRestoreHistorySpan) -> windows_core::HRESULT, pub SetRestoreHistorySpan: unsafe extern "system" fn(*mut core::ffi::c_void, ChatRestoreHistorySpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChatSyncManager, IChatSyncManager_Vtbl, 0x7ba52c63_2650_486f_b4b4_6bd9d3d63c84); +windows_core::imp::define_interface!(IChatSyncManager, IChatSyncManager_Vtbl, 0x7ba52c63_2650_486f_b4b4_6bd9d3d63c84); #[repr(C)] pub struct IChatSyncManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -502,7 +502,7 @@ pub struct IChatSyncManager_Vtbl { pub StartSync: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetConfigurationAsync: 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::com_interface!(IRcsEndUserMessage, IRcsEndUserMessage_Vtbl, 0xd7cda5eb_cbd7_4f3b_8526_b506dec35c53); +windows_core::imp::define_interface!(IRcsEndUserMessage, IRcsEndUserMessage_Vtbl, 0xd7cda5eb_cbd7_4f3b_8526_b506dec35c53); #[repr(C)] pub struct IRcsEndUserMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -517,34 +517,34 @@ pub struct IRcsEndUserMessage_Vtbl { 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, } -windows_core::imp::com_interface!(IRcsEndUserMessageAction, IRcsEndUserMessageAction_Vtbl, 0x92378737_9b42_46d3_9d5e_3c1b2dae7cb8); +windows_core::imp::define_interface!(IRcsEndUserMessageAction, IRcsEndUserMessageAction_Vtbl, 0x92378737_9b42_46d3_9d5e_3c1b2dae7cb8); #[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, } -windows_core::imp::com_interface!(IRcsEndUserMessageAvailableEventArgs, IRcsEndUserMessageAvailableEventArgs_Vtbl, 0x2d45ae01_3f89_41ea_9702_9e9ed411aa98); +windows_core::imp::define_interface!(IRcsEndUserMessageAvailableEventArgs, IRcsEndUserMessageAvailableEventArgs_Vtbl, 0x2d45ae01_3f89_41ea_9702_9e9ed411aa98); #[repr(C)] pub struct IRcsEndUserMessageAvailableEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsMessageAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRcsEndUserMessageAvailableTriggerDetails, IRcsEndUserMessageAvailableTriggerDetails_Vtbl, 0x5b97742d_351f_4692_b41e_1b035dc18986); +windows_core::imp::define_interface!(IRcsEndUserMessageAvailableTriggerDetails, IRcsEndUserMessageAvailableTriggerDetails_Vtbl, 0x5b97742d_351f_4692_b41e_1b035dc18986); #[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, } -windows_core::imp::com_interface!(IRcsEndUserMessageManager, IRcsEndUserMessageManager_Vtbl, 0x3054ae5a_4d1f_4b59_9433_126c734e86a6); +windows_core::imp::define_interface!(IRcsEndUserMessageManager, IRcsEndUserMessageManager_Vtbl, 0x3054ae5a_4d1f_4b59_9433_126c734e86a6); #[repr(C)] pub struct IRcsEndUserMessageManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MessageAvailableChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMessageAvailableChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRcsManagerStatics, IRcsManagerStatics_Vtbl, 0x7d270ac5_0abd_4f31_9b99_a59e71a7b731); +windows_core::imp::define_interface!(IRcsManagerStatics, IRcsManagerStatics_Vtbl, 0x7d270ac5_0abd_4f31_9b99_a59e71a7b731); #[repr(C)] pub struct IRcsManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -556,20 +556,20 @@ pub struct IRcsManagerStatics_Vtbl { pub GetTransportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IRcsManagerStatics2, IRcsManagerStatics2_Vtbl, 0xcd49ad18_ad8a_42aa_8eeb_a798a8808959); +windows_core::imp::define_interface!(IRcsManagerStatics2, IRcsManagerStatics2_Vtbl, 0xcd49ad18_ad8a_42aa_8eeb_a798a8808959); #[repr(C)] pub struct IRcsManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TransportListChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveTransportListChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRcsServiceKindSupportedChangedEventArgs, IRcsServiceKindSupportedChangedEventArgs_Vtbl, 0xf47ea244_e783_4866_b3a7_4e5ccf023070); +windows_core::imp::define_interface!(IRcsServiceKindSupportedChangedEventArgs, IRcsServiceKindSupportedChangedEventArgs_Vtbl, 0xf47ea244_e783_4866_b3a7_4e5ccf023070); #[repr(C)] pub struct IRcsServiceKindSupportedChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ServiceKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RcsServiceKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRcsTransport, IRcsTransport_Vtbl, 0xfea34759_f37c_4319_8546_ec84d21d30ff); +windows_core::imp::define_interface!(IRcsTransport, IRcsTransport_Vtbl, 0xfea34759_f37c_4319_8546_ec84d21d30ff); #[repr(C)] pub struct IRcsTransport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -586,7 +586,7 @@ pub struct IRcsTransport_Vtbl { pub ServiceKindSupportedChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveServiceKindSupportedChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRcsTransportConfiguration, IRcsTransportConfiguration_Vtbl, 0x1fccb102_2472_4bb9_9988_c1211c83e8a9); +windows_core::imp::define_interface!(IRcsTransportConfiguration, IRcsTransportConfiguration_Vtbl, 0x1fccb102_2472_4bb9_9988_c1211c83e8a9); #[repr(C)] pub struct IRcsTransportConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -597,7 +597,7 @@ pub struct IRcsTransportConfiguration_Vtbl { pub MaxFileSizeInKilobytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub WarningFileSizeInKilobytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteParticipantComposingChangedEventArgs, IRemoteParticipantComposingChangedEventArgs_Vtbl, 0x1ec045a7_cfc9_45c9_9876_449f2bc180f5); +windows_core::imp::define_interface!(IRemoteParticipantComposingChangedEventArgs, IRemoteParticipantComposingChangedEventArgs_Vtbl, 0x1ec045a7_cfc9_45c9_9876_449f2bc180f5); #[repr(C)] pub struct IRemoteParticipantComposingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs index 20ffaff1bc..007b5266ff 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/CommunicationBlocking/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICommunicationBlockingAccessManagerStatics, ICommunicationBlockingAccessManagerStatics_Vtbl, 0x1c969998_9d2a_5db7_edd5_0ce407fc2595); +windows_core::imp::define_interface!(ICommunicationBlockingAccessManagerStatics, ICommunicationBlockingAccessManagerStatics_Vtbl, 0x1c969998_9d2a_5db7_edd5_0ce407fc2595); #[repr(C)] pub struct ICommunicationBlockingAccessManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -15,14 +15,14 @@ pub struct ICommunicationBlockingAccessManagerStatics_Vtbl { pub ShowBlockedCallsUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowBlockedMessagesUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommunicationBlockingAppManagerStatics, ICommunicationBlockingAppManagerStatics_Vtbl, 0x77db58ec_14a6_4baa_942a_6a673d999bf2); +windows_core::imp::define_interface!(ICommunicationBlockingAppManagerStatics, ICommunicationBlockingAppManagerStatics_Vtbl, 0x77db58ec_14a6_4baa_942a_6a673d999bf2); #[repr(C)] pub struct ICommunicationBlockingAppManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsCurrentAppActiveBlockingApp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ShowCommunicationBlockingSettingsUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommunicationBlockingAppManagerStatics2, ICommunicationBlockingAppManagerStatics2_Vtbl, 0x14a68edd_ed88_457a_a364_a3634d6f166d); +windows_core::imp::define_interface!(ICommunicationBlockingAppManagerStatics2, ICommunicationBlockingAppManagerStatics2_Vtbl, 0x14a68edd_ed88_457a_a364_a3634d6f166d); #[repr(C)] pub struct ICommunicationBlockingAppManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 cafc410566..563b30f59a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/DataProvider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IContactDataProviderConnection, IContactDataProviderConnection_Vtbl, 0x1a398a52_8c9d_4d6f_a4e0_111e9a125a30); +windows_core::imp::define_interface!(IContactDataProviderConnection, IContactDataProviderConnection_Vtbl, 0x1a398a52_8c9d_4d6f_a4e0_111e9a125a30); #[repr(C)] pub struct IContactDataProviderConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct IContactDataProviderConnection_Vtbl { pub RemoveServerSearchReadBatchRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactDataProviderConnection2, IContactDataProviderConnection2_Vtbl, 0xa1d327b0_196c_4bfd_8f0f_c68d67f249d3); +windows_core::imp::define_interface!(IContactDataProviderConnection2, IContactDataProviderConnection2_Vtbl, 0xa1d327b0_196c_4bfd_8f0f_c68d67f249d3); #[repr(C)] pub struct IContactDataProviderConnection2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,13 +17,13 @@ pub struct IContactDataProviderConnection2_Vtbl { pub DeleteContactRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDeleteContactRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactDataProviderTriggerDetails, IContactDataProviderTriggerDetails_Vtbl, 0x527104be_3c62_43c8_9ae7_db531685cd99); +windows_core::imp::define_interface!(IContactDataProviderTriggerDetails, IContactDataProviderTriggerDetails_Vtbl, 0x527104be_3c62_43c8_9ae7_db531685cd99); #[repr(C)] pub struct IContactDataProviderTriggerDetails_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, } -windows_core::imp::com_interface!(IContactListCreateOrUpdateContactRequest, IContactListCreateOrUpdateContactRequest_Vtbl, 0xb4af411f_c849_47d0_b119_91cf605b2f2a); +windows_core::imp::define_interface!(IContactListCreateOrUpdateContactRequest, IContactListCreateOrUpdateContactRequest_Vtbl, 0xb4af411f_c849_47d0_b119_91cf605b2f2a); #[repr(C)] pub struct IContactListCreateOrUpdateContactRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -32,14 +32,14 @@ pub struct IContactListCreateOrUpdateContactRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IContactListCreateOrUpdateContactRequestEventArgs, IContactListCreateOrUpdateContactRequestEventArgs_Vtbl, 0x851c1690_1a51_4b0c_aeef_1240ac5bed75); +windows_core::imp::define_interface!(IContactListCreateOrUpdateContactRequestEventArgs, IContactListCreateOrUpdateContactRequestEventArgs_Vtbl, 0x851c1690_1a51_4b0c_aeef_1240ac5bed75); #[repr(C)] pub struct IContactListCreateOrUpdateContactRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IContactListDeleteContactRequest, IContactListDeleteContactRequest_Vtbl, 0x5e114687_ce03_4de5_8557_9ccf552d472a); +windows_core::imp::define_interface!(IContactListDeleteContactRequest, IContactListDeleteContactRequest_Vtbl, 0x5e114687_ce03_4de5_8557_9ccf552d472a); #[repr(C)] pub struct IContactListDeleteContactRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -48,14 +48,14 @@ pub struct IContactListDeleteContactRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IContactListDeleteContactRequestEventArgs, IContactListDeleteContactRequestEventArgs_Vtbl, 0xb22054a1_e8fa_4db5_9389_2d12ee7d15ee); +windows_core::imp::define_interface!(IContactListDeleteContactRequestEventArgs, IContactListDeleteContactRequestEventArgs_Vtbl, 0xb22054a1_e8fa_4db5_9389_2d12ee7d15ee); #[repr(C)] pub struct IContactListDeleteContactRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IContactListServerSearchReadBatchRequest, IContactListServerSearchReadBatchRequest_Vtbl, 0xba776a97_4030_4925_9fb4_143b295e653b); +windows_core::imp::define_interface!(IContactListServerSearchReadBatchRequest, IContactListServerSearchReadBatchRequest_Vtbl, 0xba776a97_4030_4925_9fb4_143b295e653b); #[repr(C)] pub struct IContactListServerSearchReadBatchRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -67,14 +67,14 @@ pub struct IContactListServerSearchReadBatchRequest_Vtbl { 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::ContactBatchStatus, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactListServerSearchReadBatchRequestEventArgs, IContactListServerSearchReadBatchRequestEventArgs_Vtbl, 0x1a27e87b_69d7_4e4e_8042_861cba61471e); +windows_core::imp::define_interface!(IContactListServerSearchReadBatchRequestEventArgs, IContactListServerSearchReadBatchRequestEventArgs_Vtbl, 0x1a27e87b_69d7_4e4e_8042_861cba61471e); #[repr(C)] pub struct IContactListServerSearchReadBatchRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IContactListSyncManagerSyncRequest, IContactListSyncManagerSyncRequest_Vtbl, 0x3c0e57a4_c4e7_4970_9a8f_9a66a2bb6c1a); +windows_core::imp::define_interface!(IContactListSyncManagerSyncRequest, IContactListSyncManagerSyncRequest_Vtbl, 0x3c0e57a4_c4e7_4970_9a8f_9a66a2bb6c1a); #[repr(C)] pub struct IContactListSyncManagerSyncRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -82,7 +82,7 @@ pub struct IContactListSyncManagerSyncRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IContactListSyncManagerSyncRequestEventArgs, IContactListSyncManagerSyncRequestEventArgs_Vtbl, 0x158e4dac_446d_4f10_afc2_02683ec533a6); +windows_core::imp::define_interface!(IContactListSyncManagerSyncRequestEventArgs, IContactListSyncManagerSyncRequestEventArgs_Vtbl, 0x158e4dac_446d_4f10_afc2_02683ec533a6); #[repr(C)] pub struct IContactListSyncManagerSyncRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 ef511d5c48..ec516cb4a1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/Provider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IContactPickerUI, IContactPickerUI_Vtbl, 0xe2cc1366_cf66_43c4_a96a_a5a112db4746); +windows_core::imp::define_interface!(IContactPickerUI, IContactPickerUI_Vtbl, 0xe2cc1366_cf66_43c4_a96a_a5a112db4746); #[repr(C)] pub struct IContactPickerUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,7 +16,7 @@ pub struct IContactPickerUI_Vtbl { pub ContactRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveContactRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactPickerUI2, IContactPickerUI2_Vtbl, 0x6e449e28_7b25_4999_9b0b_875400a1e8c8); +windows_core::imp::define_interface!(IContactPickerUI2, IContactPickerUI2_Vtbl, 0x6e449e28_7b25_4999_9b0b_875400a1e8c8); #[repr(C)] pub struct IContactPickerUI2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct IContactPickerUI2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] DesiredFieldsWithContactFieldType: usize, } -windows_core::imp::com_interface!(IContactRemovedEventArgs, IContactRemovedEventArgs_Vtbl, 0x6f354338_3302_4d13_ad8d_adcc0ff9e47c); +windows_core::imp::define_interface!(IContactRemovedEventArgs, IContactRemovedEventArgs_Vtbl, 0x6f354338_3302_4d13_ad8d_adcc0ff9e47c); #[repr(C)] pub struct IContactRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs index 2afbb9e96c..3c649c7ef1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/mod.rs @@ -2,7 +2,7 @@ pub mod DataProvider; #[cfg(feature = "ApplicationModel_Contacts_Provider")] pub mod Provider; -windows_core::imp::com_interface!(IAggregateContactManager, IAggregateContactManager_Vtbl, 0x0379d5dd_db5a_4fd3_b54e_4df17917a212); +windows_core::imp::define_interface!(IAggregateContactManager, IAggregateContactManager_Vtbl, 0x0379d5dd_db5a_4fd3_b54e_4df17917a212); #[repr(C)] pub struct IAggregateContactManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -14,13 +14,13 @@ pub struct IAggregateContactManager_Vtbl { pub UnlinkRawContactAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TrySetPreferredSourceForPictureAsync: 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::com_interface!(IAggregateContactManager2, IAggregateContactManager2_Vtbl, 0x5e8cc2d8_a9cd_4430_9c4b_01348db2ca50); +windows_core::imp::define_interface!(IAggregateContactManager2, IAggregateContactManager2_Vtbl, 0x5e8cc2d8_a9cd_4430_9c4b_01348db2ca50); #[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, } -windows_core::imp::com_interface!(IContact, IContact_Vtbl, 0xec0072f3_2118_4049_9ebc_17f0ab692b64); +windows_core::imp::define_interface!(IContact, IContact_Vtbl, 0xec0072f3_2118_4049_9ebc_17f0ab692b64); #[repr(C)] pub struct IContact_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -39,7 +39,7 @@ pub struct IContact_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Fields: usize, } -windows_core::imp::com_interface!(IContact2, IContact2_Vtbl, 0xf312f365_bb77_4c94_802d_8328cee40c08); +windows_core::imp::define_interface!(IContact2, IContact2_Vtbl, 0xf312f365_bb77_4c94_802d_8328cee40c08); #[repr(C)] pub struct IContact2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,7 +88,7 @@ pub struct IContact2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ProviderProperties: usize, } -windows_core::imp::com_interface!(IContact3, IContact3_Vtbl, 0x48201e67_e08e_42a4_b561_41d08ca9575d); +windows_core::imp::define_interface!(IContact3, IContact3_Vtbl, 0x48201e67_e08e_42a4_b561_41d08ca9575d); #[repr(C)] pub struct IContact3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -128,7 +128,7 @@ pub struct IContact3_Vtbl { 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, } -windows_core::imp::com_interface!(IContactAddress, IContactAddress_Vtbl, 0x9739d39a_42ce_4872_8d70_3063aa584b70); +windows_core::imp::define_interface!(IContactAddress, IContactAddress_Vtbl, 0x9739d39a_42ce_4872_8d70_3063aa584b70); #[repr(C)] pub struct IContactAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -147,7 +147,7 @@ pub struct IContactAddress_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, } -windows_core::imp::com_interface!(IContactAnnotation, IContactAnnotation_Vtbl, 0x821fc2ef_7d41_44a2_84c3_60a281dd7b86); +windows_core::imp::define_interface!(IContactAnnotation, IContactAnnotation_Vtbl, 0x821fc2ef_7d41_44a2_84c3_60a281dd7b86); #[repr(C)] pub struct IContactAnnotation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -165,14 +165,14 @@ pub struct IContactAnnotation_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ProviderProperties: usize, } -windows_core::imp::com_interface!(IContactAnnotation2, IContactAnnotation2_Vtbl, 0xb691ecf3_4ab7_4a1f_9941_0c9cf3171b75); +windows_core::imp::define_interface!(IContactAnnotation2, IContactAnnotation2_Vtbl, 0xb691ecf3_4ab7_4a1f_9941_0c9cf3171b75); #[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, } -windows_core::imp::com_interface!(IContactAnnotationList, IContactAnnotationList_Vtbl, 0x92a486aa_5c88_45b9_aad0_461888e68d8a); +windows_core::imp::define_interface!(IContactAnnotationList, IContactAnnotationList_Vtbl, 0x92a486aa_5c88_45b9_aad0_461888e68d8a); #[repr(C)] pub struct IContactAnnotationList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -192,7 +192,7 @@ pub struct IContactAnnotationList_Vtbl { FindAnnotationsAsync: usize, pub DeleteAnnotationAsync: 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::com_interface!(IContactAnnotationStore, IContactAnnotationStore_Vtbl, 0x23acf4aa_7a77_457d_8203_987f4b31af09); +windows_core::imp::define_interface!(IContactAnnotationStore, IContactAnnotationStore_Vtbl, 0x23acf4aa_7a77_457d_8203_987f4b31af09); #[repr(C)] pub struct IContactAnnotationStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -217,7 +217,7 @@ pub struct IContactAnnotationStore_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindAnnotationListsAsync: usize, } -windows_core::imp::com_interface!(IContactAnnotationStore2, IContactAnnotationStore2_Vtbl, 0x7ede23fd_61e7_4967_8ec5_bdf280a24063); +windows_core::imp::define_interface!(IContactAnnotationStore2, IContactAnnotationStore2_Vtbl, 0x7ede23fd_61e7_4967_8ec5_bdf280a24063); #[repr(C)] pub struct IContactAnnotationStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -226,7 +226,7 @@ pub struct IContactAnnotationStore2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindAnnotationsForContactListAsync: usize, } -windows_core::imp::com_interface!(IContactBatch, IContactBatch_Vtbl, 0x35d1972d_bfce_46bb_93f8_a5b06ec5e201); +windows_core::imp::define_interface!(IContactBatch, IContactBatch_Vtbl, 0x35d1972d_bfce_46bb_93f8_a5b06ec5e201); #[repr(C)] pub struct IContactBatch_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -236,13 +236,13 @@ pub struct IContactBatch_Vtbl { Contacts: usize, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactBatchStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactCardDelayedDataLoader, IContactCardDelayedDataLoader_Vtbl, 0xb60af902_1546_434d_869c_6e3520760ef3); +windows_core::imp::define_interface!(IContactCardDelayedDataLoader, IContactCardDelayedDataLoader_Vtbl, 0xb60af902_1546_434d_869c_6e3520760ef3); #[repr(C)] pub struct IContactCardDelayedDataLoader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactCardOptions, IContactCardOptions_Vtbl, 0x8c0a4f7e_6ab6_4f3f_be72_817236eeea5b); +windows_core::imp::define_interface!(IContactCardOptions, IContactCardOptions_Vtbl, 0x8c0a4f7e_6ab6_4f3f_be72_817236eeea5b); #[repr(C)] pub struct IContactCardOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -251,7 +251,7 @@ pub struct IContactCardOptions_Vtbl { pub InitialTabKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactCardTabKind) -> windows_core::HRESULT, pub SetInitialTabKind: unsafe extern "system" fn(*mut core::ffi::c_void, ContactCardTabKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactCardOptions2, IContactCardOptions2_Vtbl, 0x8f271ba0_d74b_4cc6_9f53_1b0eb5d1273c); +windows_core::imp::define_interface!(IContactCardOptions2, IContactCardOptions2_Vtbl, 0x8f271ba0_d74b_4cc6_9f53_1b0eb5d1273c); #[repr(C)] pub struct IContactCardOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -260,14 +260,14 @@ pub struct IContactCardOptions2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ServerSearchContactListIds: usize, } -windows_core::imp::com_interface!(IContactChange, IContactChange_Vtbl, 0x951d4b10_6a59_4720_a4e1_363d98c135d5); +windows_core::imp::define_interface!(IContactChange, IContactChange_Vtbl, 0x951d4b10_6a59_4720_a4e1_363d98c135d5); #[repr(C)] pub struct IContactChange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChangeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactChangeType) -> windows_core::HRESULT, pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactChangeReader, IContactChangeReader_Vtbl, 0x217319fa_2d0c_42e0_a9da_3ecd56a78a47); +windows_core::imp::define_interface!(IContactChangeReader, IContactChangeReader_Vtbl, 0x217319fa_2d0c_42e0_a9da_3ecd56a78a47); #[repr(C)] pub struct IContactChangeReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -278,7 +278,7 @@ pub struct IContactChangeReader_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, } -windows_core::imp::com_interface!(IContactChangeTracker, IContactChangeTracker_Vtbl, 0x6e992952_309b_404d_9712_b37bd30278aa); +windows_core::imp::define_interface!(IContactChangeTracker, IContactChangeTracker_Vtbl, 0x6e992952_309b_404d_9712_b37bd30278aa); #[repr(C)] pub struct IContactChangeTracker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -286,25 +286,25 @@ pub struct IContactChangeTracker_Vtbl { pub GetChangeReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactChangeTracker2, IContactChangeTracker2_Vtbl, 0x7f8ad0fc_9321_4d18_9c09_d708c63fcd31); +windows_core::imp::define_interface!(IContactChangeTracker2, IContactChangeTracker2_Vtbl, 0x7f8ad0fc_9321_4d18_9c09_d708c63fcd31); #[repr(C)] pub struct IContactChangeTracker2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsTracking: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactChangedDeferral, IContactChangedDeferral_Vtbl, 0xc5143ae8_1b03_46f8_b694_a523e83cfcb6); +windows_core::imp::define_interface!(IContactChangedDeferral, IContactChangedDeferral_Vtbl, 0xc5143ae8_1b03_46f8_b694_a523e83cfcb6); #[repr(C)] pub struct IContactChangedDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactChangedEventArgs, IContactChangedEventArgs_Vtbl, 0x525e7fd1_73f3_4b7d_a918_580be4366121); +windows_core::imp::define_interface!(IContactChangedEventArgs, IContactChangedEventArgs_Vtbl, 0x525e7fd1_73f3_4b7d_a918_580be4366121); #[repr(C)] pub struct IContactChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactConnectedServiceAccount, IContactConnectedServiceAccount_Vtbl, 0xf6f83553_aa27_4731_8e4a_3dec5ce9eec9); +windows_core::imp::define_interface!(IContactConnectedServiceAccount, IContactConnectedServiceAccount_Vtbl, 0xf6f83553_aa27_4731_8e4a_3dec5ce9eec9); #[repr(C)] pub struct IContactConnectedServiceAccount_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -313,7 +313,7 @@ pub struct IContactConnectedServiceAccount_Vtbl { 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, } -windows_core::imp::com_interface!(IContactDate, IContactDate_Vtbl, 0xfe98ae66_b205_4934_9174_0ff2b0565707); +windows_core::imp::define_interface!(IContactDate, IContactDate_Vtbl, 0xfe98ae66_b205_4934_9174_0ff2b0565707); #[repr(C)] pub struct IContactDate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -328,7 +328,7 @@ pub struct IContactDate_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, } -windows_core::imp::com_interface!(IContactEmail, IContactEmail_Vtbl, 0x90a219a9_e3d3_4d63_993b_05b9a5393abf); +windows_core::imp::define_interface!(IContactEmail, IContactEmail_Vtbl, 0x90a219a9_e3d3_4d63_993b_05b9a5393abf); #[repr(C)] pub struct IContactEmail_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -339,7 +339,7 @@ pub struct IContactEmail_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, } -windows_core::imp::com_interface!(IContactField, IContactField_Vtbl, 0xb176486a_d293_492c_a058_db575b3e3c0f); +windows_core::imp::define_interface!(IContactField, IContactField_Vtbl, 0xb176486a_d293_492c_a058_db575b3e3c0f); windows_core::imp::interface_hierarchy!(IContactField, windows_core::IUnknown, windows_core::IInspectable); impl IContactField { pub fn Type(&self) -> windows_core::Result { @@ -382,7 +382,7 @@ pub struct IContactField_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, } -windows_core::imp::com_interface!(IContactFieldFactory, IContactFieldFactory_Vtbl, 0x85e2913f_0e4a_4a3e_8994_406ae7ed646e); +windows_core::imp::define_interface!(IContactFieldFactory, IContactFieldFactory_Vtbl, 0x85e2913f_0e4a_4a3e_8994_406ae7ed646e); windows_core::imp::interface_hierarchy!(IContactFieldFactory, windows_core::IUnknown, windows_core::IInspectable); impl IContactFieldFactory { pub fn CreateField_Default(&self, value: &windows_core::HSTRING, r#type: ContactFieldType) -> windows_core::Result { @@ -417,12 +417,12 @@ pub struct IContactFieldFactory_Vtbl { 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, } -windows_core::imp::com_interface!(IContactGroup, IContactGroup_Vtbl, 0x59bdeb01_9e9a_475d_bfe5_a37b806d852c); +windows_core::imp::define_interface!(IContactGroup, IContactGroup_Vtbl, 0x59bdeb01_9e9a_475d_bfe5_a37b806d852c); #[repr(C)] pub struct IContactGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IContactInformation, IContactInformation_Vtbl, 0x275eb6d4_6a2e_4278_a914_e460d5f088f6); +windows_core::imp::define_interface!(IContactInformation, IContactInformation_Vtbl, 0x275eb6d4_6a2e_4278_a914_e460d5f088f6); #[repr(C)] pub struct IContactInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -456,7 +456,7 @@ pub struct IContactInformation_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] QueryCustomFields: usize, } -windows_core::imp::com_interface!(IContactInstantMessageField, IContactInstantMessageField_Vtbl, 0xcce33b37_0d85_41fa_b43d_da599c3eb009); +windows_core::imp::define_interface!(IContactInstantMessageField, IContactInstantMessageField_Vtbl, 0xcce33b37_0d85_41fa_b43d_da599c3eb009); #[repr(C)] pub struct IContactInstantMessageField_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -465,7 +465,7 @@ pub struct IContactInstantMessageField_Vtbl { pub DisplayText: 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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactInstantMessageFieldFactory, IContactInstantMessageFieldFactory_Vtbl, 0xba0b6794_91a3_4bb2_b1b9_69a5dff0ba09); +windows_core::imp::define_interface!(IContactInstantMessageFieldFactory, IContactInstantMessageFieldFactory_Vtbl, 0xba0b6794_91a3_4bb2_b1b9_69a5dff0ba09); windows_core::imp::interface_hierarchy!(IContactInstantMessageFieldFactory, windows_core::IUnknown, windows_core::IInspectable); impl IContactInstantMessageFieldFactory { pub fn CreateInstantMessage_Default(&self, username: &windows_core::HSTRING) -> windows_core::Result { @@ -503,7 +503,7 @@ pub struct IContactInstantMessageFieldFactory_Vtbl { 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, } -windows_core::imp::com_interface!(IContactJobInfo, IContactJobInfo_Vtbl, 0x6d117b4c_ce50_4b43_9e69_b18258ea5315); +windows_core::imp::define_interface!(IContactJobInfo, IContactJobInfo_Vtbl, 0x6d117b4c_ce50_4b43_9e69_b18258ea5315); #[repr(C)] pub struct IContactJobInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -524,7 +524,7 @@ pub struct IContactJobInfo_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, } -windows_core::imp::com_interface!(IContactLaunchActionVerbsStatics, IContactLaunchActionVerbsStatics_Vtbl, 0xfb1232d6_ee73_46e7_8761_11cd0157728f); +windows_core::imp::define_interface!(IContactLaunchActionVerbsStatics, IContactLaunchActionVerbsStatics_Vtbl, 0xfb1232d6_ee73_46e7_8761_11cd0157728f); #[repr(C)] pub struct IContactLaunchActionVerbsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -534,7 +534,7 @@ pub struct IContactLaunchActionVerbsStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IContactList, IContactList_Vtbl, 0x16ddec75_392c_4845_9dfb_51a3e7ef3e42); +windows_core::imp::define_interface!(IContactList, IContactList_Vtbl, 0x16ddec75_392c_4845_9dfb_51a3e7ef3e42); #[repr(C)] pub struct IContactList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -564,7 +564,7 @@ pub struct IContactList_Vtbl { 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, } -windows_core::imp::com_interface!(IContactList2, IContactList2_Vtbl, 0xcb3943b4_4550_4dcb_9229_40ff91fb0203); +windows_core::imp::define_interface!(IContactList2, IContactList2_Vtbl, 0xcb3943b4_4550_4dcb_9229_40ff91fb0203); #[repr(C)] pub struct IContactList2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -572,21 +572,21 @@ pub struct IContactList2_Vtbl { pub SetSupportsServerSearch: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub SyncConstraints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactList3, IContactList3_Vtbl, 0x1578ee57_26fc_41e8_a850_5aa32514aca9); +windows_core::imp::define_interface!(IContactList3, IContactList3_Vtbl, 0x1578ee57_26fc_41e8_a850_5aa32514aca9); #[repr(C)] 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, } -windows_core::imp::com_interface!(IContactListLimitedWriteOperations, IContactListLimitedWriteOperations_Vtbl, 0xe19813da_4a0b_44b8_9a1f_a0f3d218175f); +windows_core::imp::define_interface!(IContactListLimitedWriteOperations, IContactListLimitedWriteOperations_Vtbl, 0xe19813da_4a0b_44b8_9a1f_a0f3d218175f); #[repr(C)] 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, } -windows_core::imp::com_interface!(IContactListSyncConstraints, IContactListSyncConstraints_Vtbl, 0xb2b0bf01_3062_4e2e_969d_018d1987f314); +windows_core::imp::define_interface!(IContactListSyncConstraints, IContactListSyncConstraints_Vtbl, 0xb2b0bf01_3062_4e2e_969d_018d1987f314); #[repr(C)] pub struct IContactListSyncConstraints_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -647,7 +647,7 @@ pub struct IContactListSyncConstraints_Vtbl { pub MaxWebsites: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMaxWebsites: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactListSyncManager, IContactListSyncManager_Vtbl, 0x146e83be_7925_4acc_9de5_21ddd06f8674); +windows_core::imp::define_interface!(IContactListSyncManager, IContactListSyncManager_Vtbl, 0x146e83be_7925_4acc_9de5_21ddd06f8674); #[repr(C)] pub struct IContactListSyncManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -658,7 +658,7 @@ pub struct IContactListSyncManager_Vtbl { pub SyncStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSyncStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactListSyncManager2, IContactListSyncManager2_Vtbl, 0xa9591247_bb55_4e23_8128_370134a85d0d); +windows_core::imp::define_interface!(IContactListSyncManager2, IContactListSyncManager2_Vtbl, 0xa9591247_bb55_4e23_8128_370134a85d0d); #[repr(C)] pub struct IContactListSyncManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -666,7 +666,7 @@ pub struct IContactListSyncManager2_Vtbl { pub SetLastSuccessfulSyncTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, pub SetLastAttemptedSyncTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactLocationField, IContactLocationField_Vtbl, 0x9ec00f82_ab6e_4b36_89e3_b23bc0a1dacc); +windows_core::imp::define_interface!(IContactLocationField, IContactLocationField_Vtbl, 0x9ec00f82_ab6e_4b36_89e3_b23bc0a1dacc); #[repr(C)] pub struct IContactLocationField_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -677,7 +677,7 @@ pub struct IContactLocationField_Vtbl { 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, } -windows_core::imp::com_interface!(IContactLocationFieldFactory, IContactLocationFieldFactory_Vtbl, 0xf79932d7_2fdf_43fe_8f18_41897390bcfe); +windows_core::imp::define_interface!(IContactLocationFieldFactory, IContactLocationFieldFactory_Vtbl, 0xf79932d7_2fdf_43fe_8f18_41897390bcfe); windows_core::imp::interface_hierarchy!(IContactLocationFieldFactory, windows_core::IUnknown, windows_core::IInspectable); impl IContactLocationFieldFactory { pub fn CreateLocation_Default(&self, unstructuredaddress: &windows_core::HSTRING) -> windows_core::Result { @@ -712,7 +712,7 @@ pub struct IContactLocationFieldFactory_Vtbl { 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, } -windows_core::imp::com_interface!(IContactManagerForUser, IContactManagerForUser_Vtbl, 0xb74bba57_1076_4bef_aef3_54686d18387d); +windows_core::imp::define_interface!(IContactManagerForUser, IContactManagerForUser_Vtbl, 0xb74bba57_1076_4bef_aef3_54686d18387d); #[repr(C)] pub struct IContactManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -739,13 +739,13 @@ pub struct IContactManagerForUser_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IContactManagerForUser2, IContactManagerForUser2_Vtbl, 0x4d469c2e_3b75_4a73_bb30_736645472256); +windows_core::imp::define_interface!(IContactManagerForUser2, IContactManagerForUser2_Vtbl, 0x4d469c2e_3b75_4a73_bb30_736645472256); #[repr(C)] pub struct IContactManagerForUser2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShowFullContactCard: 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::com_interface!(IContactManagerStatics, IContactManagerStatics_Vtbl, 0x81f21ac0_f661_4708_ba4f_d386bd0d622e); +windows_core::imp::define_interface!(IContactManagerStatics, IContactManagerStatics_Vtbl, 0x81f21ac0_f661_4708_ba4f_d386bd0d622e); #[repr(C)] pub struct IContactManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -759,13 +759,13 @@ pub struct IContactManagerStatics_Vtbl { #[cfg(not(feature = "UI_Popups"))] ShowDelayLoadedContactCard: usize, } -windows_core::imp::com_interface!(IContactManagerStatics2, IContactManagerStatics2_Vtbl, 0xa178e620_47d8_48cc_963c_9592b6e510c6); +windows_core::imp::define_interface!(IContactManagerStatics2, IContactManagerStatics2_Vtbl, 0xa178e620_47d8_48cc_963c_9592b6e510c6); #[repr(C)] pub struct IContactManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestStoreAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactManagerStatics3, IContactManagerStatics3_Vtbl, 0xc4cc3d42_7586_492a_930b_7bc138fc2139); +windows_core::imp::define_interface!(IContactManagerStatics3, IContactManagerStatics3_Vtbl, 0xc4cc3d42_7586_492a_930b_7bc138fc2139); #[repr(C)] pub struct IContactManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -799,7 +799,7 @@ pub struct IContactManagerStatics3_Vtbl { pub SystemSortOrder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactNameOrder) -> windows_core::HRESULT, pub SetSystemSortOrder: unsafe extern "system" fn(*mut core::ffi::c_void, ContactNameOrder) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactManagerStatics4, IContactManagerStatics4_Vtbl, 0x24982272_347b_46dc_8d95_51bd41e15aaf); +windows_core::imp::define_interface!(IContactManagerStatics4, IContactManagerStatics4_Vtbl, 0x24982272_347b_46dc_8d95_51bd41e15aaf); #[repr(C)] pub struct IContactManagerStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -808,7 +808,7 @@ pub struct IContactManagerStatics4_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IContactManagerStatics5, IContactManagerStatics5_Vtbl, 0xf7591a87_acb7_4fad_90f2_a8ab64cdbba4); +windows_core::imp::define_interface!(IContactManagerStatics5, IContactManagerStatics5_Vtbl, 0xf7591a87_acb7_4fad_90f2_a8ab64cdbba4); #[repr(C)] pub struct IContactManagerStatics5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -816,7 +816,7 @@ pub struct IContactManagerStatics5_Vtbl { pub IncludeMiddleNameInSystemDisplayAndSort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIncludeMiddleNameInSystemDisplayAndSort: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactMatchReason, IContactMatchReason_Vtbl, 0xbc922504_e7d8_413e_95f4_b75c54c74077); +windows_core::imp::define_interface!(IContactMatchReason, IContactMatchReason_Vtbl, 0xbc922504_e7d8_413e_95f4_b75c54c74077); #[repr(C)] pub struct IContactMatchReason_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -827,7 +827,7 @@ pub struct IContactMatchReason_Vtbl { Segments: usize, pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactName, IContactName_Vtbl, 0xf404e97b_9034_453c_8ebf_140a38c86f1d); +windows_core::imp::define_interface!(IContactName, IContactName_Vtbl, 0xf404e97b_9034_453c_8ebf_140a38c86f1d); #[repr(C)] pub struct IContactName_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -848,7 +848,7 @@ pub struct IContactName_Vtbl { 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, } -windows_core::imp::com_interface!(IContactPanel, IContactPanel_Vtbl, 0x41bf1265_d2ee_4b97_a80a_7d8d64cca6f5); +windows_core::imp::define_interface!(IContactPanel, IContactPanel_Vtbl, 0x41bf1265_d2ee_4b97_a80a_7d8d64cca6f5); #[repr(C)] pub struct IContactPanel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -866,20 +866,20 @@ pub struct IContactPanel_Vtbl { pub Closing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveClosing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactPanelClosingEventArgs, IContactPanelClosingEventArgs_Vtbl, 0x222174d3_cf4b_46d7_b739_6edc16110bfb); +windows_core::imp::define_interface!(IContactPanelClosingEventArgs, IContactPanelClosingEventArgs_Vtbl, 0x222174d3_cf4b_46d7_b739_6edc16110bfb); #[repr(C)] pub struct IContactPanelClosingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactPanelLaunchFullAppRequestedEventArgs, IContactPanelLaunchFullAppRequestedEventArgs_Vtbl, 0x88d61c0e_23b4_4be8_8afc_072c25a4190d); +windows_core::imp::define_interface!(IContactPanelLaunchFullAppRequestedEventArgs, IContactPanelLaunchFullAppRequestedEventArgs_Vtbl, 0x88d61c0e_23b4_4be8_8afc_072c25a4190d); #[repr(C)] pub struct IContactPanelLaunchFullAppRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactPhone, IContactPhone_Vtbl, 0x467dab65_2712_4f52_b783_9ea8111c63cd); +windows_core::imp::define_interface!(IContactPhone, IContactPhone_Vtbl, 0x467dab65_2712_4f52_b783_9ea8111c63cd); #[repr(C)] pub struct IContactPhone_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -890,7 +890,7 @@ pub struct IContactPhone_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, } -windows_core::imp::com_interface!(IContactPicker, IContactPicker_Vtbl, 0x0e09fd91_42f8_4055_90a0_896f96738936); +windows_core::imp::define_interface!(IContactPicker, IContactPicker_Vtbl, 0x0e09fd91_42f8_4055_90a0_896f96738936); #[repr(C)] pub struct IContactPicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -908,7 +908,7 @@ pub struct IContactPicker_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PickMultipleContactsAsync: usize, } -windows_core::imp::com_interface!(IContactPicker2, IContactPicker2_Vtbl, 0xb35011cf_5cef_4d24_aa0c_340c5208725d); +windows_core::imp::define_interface!(IContactPicker2, IContactPicker2_Vtbl, 0xb35011cf_5cef_4d24_aa0c_340c5208725d); #[repr(C)] pub struct IContactPicker2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -922,7 +922,7 @@ pub struct IContactPicker2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PickContactsAsync: usize, } -windows_core::imp::com_interface!(IContactPicker3, IContactPicker3_Vtbl, 0x0e723315_b243_4bed_8516_22b1a7ac0ace); +windows_core::imp::define_interface!(IContactPicker3, IContactPicker3_Vtbl, 0x0e723315_b243_4bed_8516_22b1a7ac0ace); #[repr(C)] pub struct IContactPicker3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -931,7 +931,7 @@ pub struct IContactPicker3_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IContactPickerStatics, IContactPickerStatics_Vtbl, 0x7488c029_6a53_4258_a3e9_62dff6784b6c); +windows_core::imp::define_interface!(IContactPickerStatics, IContactPickerStatics_Vtbl, 0x7488c029_6a53_4258_a3e9_62dff6784b6c); #[repr(C)] pub struct IContactPickerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -941,7 +941,7 @@ pub struct IContactPickerStatics_Vtbl { CreateForUser: usize, pub IsSupportedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactQueryOptions, IContactQueryOptions_Vtbl, 0x4408cc9e_7d7c_42f0_8ac7_f50733ecdbc1); +windows_core::imp::define_interface!(IContactQueryOptions, IContactQueryOptions_Vtbl, 0x4408cc9e_7d7c_42f0_8ac7_f50733ecdbc1); #[repr(C)] pub struct IContactQueryOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -961,14 +961,14 @@ pub struct IContactQueryOptions_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AnnotationListIds: usize, } -windows_core::imp::com_interface!(IContactQueryOptionsFactory, IContactQueryOptionsFactory_Vtbl, 0x543fba47_8ce7_46cb_9dac_9aa42a1bc8e2); +windows_core::imp::define_interface!(IContactQueryOptionsFactory, IContactQueryOptionsFactory_Vtbl, 0x543fba47_8ce7_46cb_9dac_9aa42a1bc8e2); #[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, } -windows_core::imp::com_interface!(IContactQueryTextSearch, IContactQueryTextSearch_Vtbl, 0xf7e3f9cb_a957_439b_a0b7_1c02a1963ff0); +windows_core::imp::define_interface!(IContactQueryTextSearch, IContactQueryTextSearch_Vtbl, 0xf7e3f9cb_a957_439b_a0b7_1c02a1963ff0); #[repr(C)] pub struct IContactQueryTextSearch_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -979,7 +979,7 @@ pub struct IContactQueryTextSearch_Vtbl { 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, } -windows_core::imp::com_interface!(IContactReader, IContactReader_Vtbl, 0xd397e42e_1488_42f2_bf64_253f4884bfed); +windows_core::imp::define_interface!(IContactReader, IContactReader_Vtbl, 0xd397e42e_1488_42f2_bf64_253f4884bfed); #[repr(C)] pub struct IContactReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -989,7 +989,7 @@ pub struct IContactReader_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetMatchingPropertiesWithMatchReason: usize, } -windows_core::imp::com_interface!(IContactSignificantOther, IContactSignificantOther_Vtbl, 0x8873b5ab_c5fb_46d8_93fe_da3ff1934054); +windows_core::imp::define_interface!(IContactSignificantOther, IContactSignificantOther_Vtbl, 0x8873b5ab_c5fb_46d8_93fe_da3ff1934054); #[repr(C)] pub struct IContactSignificantOther_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -998,14 +998,14 @@ pub struct IContactSignificantOther_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, } -windows_core::imp::com_interface!(IContactSignificantOther2, IContactSignificantOther2_Vtbl, 0x8d7bd474_3f03_45f8_ba0f_c4ed37d64219); +windows_core::imp::define_interface!(IContactSignificantOther2, IContactSignificantOther2_Vtbl, 0x8d7bd474_3f03_45f8_ba0f_c4ed37d64219); #[repr(C)] pub struct IContactSignificantOther2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Relationship: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactRelationship) -> windows_core::HRESULT, pub SetRelationship: unsafe extern "system" fn(*mut core::ffi::c_void, ContactRelationship) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactStore, IContactStore_Vtbl, 0x2c220b10_3a6c_4293_b9bc_fe987f6e0d52); +windows_core::imp::define_interface!(IContactStore, IContactStore_Vtbl, 0x2c220b10_3a6c_4293_b9bc_fe987f6e0d52); #[repr(C)] pub struct IContactStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1019,7 +1019,7 @@ pub struct IContactStore_Vtbl { 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, } -windows_core::imp::com_interface!(IContactStore2, IContactStore2_Vtbl, 0x18ce1c22_ebd5_4bfb_b690_5f4f27c4f0e8); +windows_core::imp::define_interface!(IContactStore2, IContactStore2_Vtbl, 0x18ce1c22_ebd5_4bfb_b690_5f4f27c4f0e8); #[repr(C)] pub struct IContactStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1038,18 +1038,18 @@ pub struct IContactStore2_Vtbl { 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, } -windows_core::imp::com_interface!(IContactStore3, IContactStore3_Vtbl, 0xcb882c6c_004e_4050_87f0_840407ee6818); +windows_core::imp::define_interface!(IContactStore3, IContactStore3_Vtbl, 0xcb882c6c_004e_4050_87f0_840407ee6818); #[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, } -windows_core::imp::com_interface!(IContactStoreNotificationTriggerDetails, IContactStoreNotificationTriggerDetails_Vtbl, 0xabb298d6_878a_4f8b_a9ce_46bb7d1c84ce); +windows_core::imp::define_interface!(IContactStoreNotificationTriggerDetails, IContactStoreNotificationTriggerDetails_Vtbl, 0xabb298d6_878a_4f8b_a9ce_46bb7d1c84ce); #[repr(C)] pub struct IContactStoreNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IContactWebsite, IContactWebsite_Vtbl, 0x9f130176_dc1b_4055_ad66_652f39d990e8); +windows_core::imp::define_interface!(IContactWebsite, IContactWebsite_Vtbl, 0x9f130176_dc1b_4055_ad66_652f39d990e8); #[repr(C)] pub struct IContactWebsite_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1058,14 +1058,14 @@ pub struct IContactWebsite_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, } -windows_core::imp::com_interface!(IContactWebsite2, IContactWebsite2_Vtbl, 0xf87ee91e_5647_4068_bb5e_4b6f437ce308); +windows_core::imp::define_interface!(IContactWebsite2, IContactWebsite2_Vtbl, 0xf87ee91e_5647_4068_bb5e_4b6f437ce308); #[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, } -windows_core::imp::com_interface!(IFullContactCardOptions, IFullContactCardOptions_Vtbl, 0x8744436c_5cf9_4683_bdca_a1fdebf8dbce); +windows_core::imp::define_interface!(IFullContactCardOptions, IFullContactCardOptions_Vtbl, 0x8744436c_5cf9_4683_bdca_a1fdebf8dbce); #[repr(C)] pub struct IFullContactCardOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1079,7 +1079,7 @@ pub struct IFullContactCardOptions_Vtbl { SetDesiredRemainingView: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IKnownContactFieldStatics, IKnownContactFieldStatics_Vtbl, 0x2e0e1b12_d627_4fca_bad4_1faf168c7d14); +windows_core::imp::define_interface!(IKnownContactFieldStatics, IKnownContactFieldStatics_Vtbl, 0x2e0e1b12_d627_4fca_bad4_1faf168c7d14); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IKnownContactFieldStatics_Vtbl { @@ -1109,7 +1109,7 @@ pub struct IKnownContactFieldStatics_Vtbl { #[cfg(not(feature = "deprecated"))] ConvertTypeToName: usize, } -windows_core::imp::com_interface!(IPinnedContactIdsQueryResult, IPinnedContactIdsQueryResult_Vtbl, 0x7d9b2552_1579_4ddc_871f_a30a3aea9ba1); +windows_core::imp::define_interface!(IPinnedContactIdsQueryResult, IPinnedContactIdsQueryResult_Vtbl, 0x7d9b2552_1579_4ddc_871f_a30a3aea9ba1); #[repr(C)] pub struct IPinnedContactIdsQueryResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1118,7 +1118,7 @@ pub struct IPinnedContactIdsQueryResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ContactIds: usize, } -windows_core::imp::com_interface!(IPinnedContactManager, IPinnedContactManager_Vtbl, 0xfcbc740c_e1d6_45c3_b8b6_a35604e167a0); +windows_core::imp::define_interface!(IPinnedContactManager, IPinnedContactManager_Vtbl, 0xfcbc740c_e1d6_45c3_b8b6_a35604e167a0); #[repr(C)] pub struct IPinnedContactManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1137,7 +1137,7 @@ pub struct IPinnedContactManager_Vtbl { pub SignalContactActivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPinnedContactIdsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPinnedContactManagerStatics, IPinnedContactManagerStatics_Vtbl, 0xf65ccc7e_fdf9_486a_ace9_bc311d0ae7f0); +windows_core::imp::define_interface!(IPinnedContactManagerStatics, IPinnedContactManagerStatics_Vtbl, 0xf65ccc7e_fdf9_486a_ace9_bc311d0ae7f0); #[repr(C)] pub struct IPinnedContactManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs index ee20e8c036..6d7bee5d80 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ConversationalAgent/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IActivationSignalDetectionConfiguration, IActivationSignalDetectionConfiguration_Vtbl, 0x40d8be16_5217_581c_9ab2_ce9b2f2e8e00); +windows_core::imp::define_interface!(IActivationSignalDetectionConfiguration, IActivationSignalDetectionConfiguration_Vtbl, 0x40d8be16_5217_581c_9ab2_ce9b2f2e8e00); #[repr(C)] pub struct IActivationSignalDetectionConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -45,7 +45,7 @@ pub struct IActivationSignalDetectionConfiguration_Vtbl { pub ClearTrainingData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ClearTrainingDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivationSignalDetectionConfiguration2, IActivationSignalDetectionConfiguration2_Vtbl, 0x71d9b022_562c_57ce_a78b_8b4ff0145bab); +windows_core::imp::define_interface!(IActivationSignalDetectionConfiguration2, IActivationSignalDetectionConfiguration2_Vtbl, 0x71d9b022_562c_57ce_a78b_8b4ff0145bab); #[repr(C)] pub struct IActivationSignalDetectionConfiguration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -61,14 +61,14 @@ pub struct IActivationSignalDetectionConfiguration2_Vtbl { pub SetEnabledWithResult: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut ActivationSignalDetectionConfigurationStateChangeResult) -> windows_core::HRESULT, pub TrainingStepCompletionMaxAllowedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivationSignalDetectionConfigurationCreationResult, IActivationSignalDetectionConfigurationCreationResult_Vtbl, 0x4c89bc1b_8d12_5e48_a71c_7f6bc1cd66e0); +windows_core::imp::define_interface!(IActivationSignalDetectionConfigurationCreationResult, IActivationSignalDetectionConfigurationCreationResult_Vtbl, 0x4c89bc1b_8d12_5e48_a71c_7f6bc1cd66e0); #[repr(C)] pub struct IActivationSignalDetectionConfigurationCreationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ActivationSignalDetectionConfigurationCreationStatus) -> windows_core::HRESULT, pub Configuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivationSignalDetector, IActivationSignalDetector_Vtbl, 0xb5bf345f_a4d0_5b2b_8e65_b3c55ee756ff); +windows_core::imp::define_interface!(IActivationSignalDetector, IActivationSignalDetector_Vtbl, 0xb5bf345f_a4d0_5b2b_8e65_b3c55ee756ff); #[repr(C)] pub struct IActivationSignalDetector_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -110,7 +110,7 @@ pub struct IActivationSignalDetector_Vtbl { 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, } -windows_core::imp::com_interface!(IActivationSignalDetector2, IActivationSignalDetector2_Vtbl, 0xc7e2490a_baa5_59d2_85d1_ba42f7cf78c9); +windows_core::imp::define_interface!(IActivationSignalDetector2, IActivationSignalDetector2_Vtbl, 0xc7e2490a_baa5_59d2_85d1_ba42f7cf78c9); #[repr(C)] pub struct IActivationSignalDetector2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -128,7 +128,7 @@ pub struct IActivationSignalDetector2_Vtbl { 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, } -windows_core::imp::com_interface!(IConversationalAgentDetectorManager, IConversationalAgentDetectorManager_Vtbl, 0xde94fbb0_597a_5df8_8cfb_9dbb583ba3ff); +windows_core::imp::define_interface!(IConversationalAgentDetectorManager, IConversationalAgentDetectorManager_Vtbl, 0xde94fbb0_597a_5df8_8cfb_9dbb583ba3ff); #[repr(C)] pub struct IConversationalAgentDetectorManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -149,20 +149,20 @@ pub struct IConversationalAgentDetectorManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetActivationSignalDetectorsAsync: usize, } -windows_core::imp::com_interface!(IConversationalAgentDetectorManager2, IConversationalAgentDetectorManager2_Vtbl, 0x84610f31_d7f3_52fe_9311_c9eb4e3eb30a); +windows_core::imp::define_interface!(IConversationalAgentDetectorManager2, IConversationalAgentDetectorManager2_Vtbl, 0x84610f31_d7f3_52fe_9311_c9eb4e3eb30a); #[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, } -windows_core::imp::com_interface!(IConversationalAgentDetectorManagerStatics, IConversationalAgentDetectorManagerStatics_Vtbl, 0x36a8d283_fa0e_5693_8489_0fb2f0ab40d3); +windows_core::imp::define_interface!(IConversationalAgentDetectorManagerStatics, IConversationalAgentDetectorManagerStatics_Vtbl, 0x36a8d283_fa0e_5693_8489_0fb2f0ab40d3); #[repr(C)] pub struct IConversationalAgentDetectorManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Default: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConversationalAgentSession, IConversationalAgentSession_Vtbl, 0xdaaae09a_b7ba_57e5_ad13_df520f9b6fa7); +windows_core::imp::define_interface!(IConversationalAgentSession, IConversationalAgentSession_Vtbl, 0xdaaae09a_b7ba_57e5_ad13_df520f9b6fa7); #[repr(C)] pub struct IConversationalAgentSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -213,7 +213,7 @@ pub struct IConversationalAgentSession_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetSupportedSignalModelIds: usize, } -windows_core::imp::com_interface!(IConversationalAgentSession2, IConversationalAgentSession2_Vtbl, 0xa7a9fbf9_ac78_57ff_9596_acc7a1c9a607); +windows_core::imp::define_interface!(IConversationalAgentSession2, IConversationalAgentSession2_Vtbl, 0xa7a9fbf9_ac78_57ff_9596_acc7a1c9a607); #[repr(C)] pub struct IConversationalAgentSession2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -230,19 +230,19 @@ pub struct IConversationalAgentSession2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetMissingPrerequisitesAsync: usize, } -windows_core::imp::com_interface!(IConversationalAgentSessionInterruptedEventArgs, IConversationalAgentSessionInterruptedEventArgs_Vtbl, 0x9766591f_f63d_5d3e_9bf2_bd0760552686); +windows_core::imp::define_interface!(IConversationalAgentSessionInterruptedEventArgs, IConversationalAgentSessionInterruptedEventArgs_Vtbl, 0x9766591f_f63d_5d3e_9bf2_bd0760552686); #[repr(C)] pub struct IConversationalAgentSessionInterruptedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IConversationalAgentSessionStatics, IConversationalAgentSessionStatics_Vtbl, 0xa005166e_e954_576e_be04_11b8ed10f37b); +windows_core::imp::define_interface!(IConversationalAgentSessionStatics, IConversationalAgentSessionStatics_Vtbl, 0xa005166e_e954_576e_be04_11b8ed10f37b); #[repr(C)] pub struct IConversationalAgentSessionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetCurrentSessionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCurrentSessionSync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConversationalAgentSignal, IConversationalAgentSignal_Vtbl, 0x20ed25f7_b120_51f2_8603_265d6a47f232); +windows_core::imp::define_interface!(IConversationalAgentSignal, IConversationalAgentSignal_Vtbl, 0x20ed25f7_b120_51f2_8603_265d6a47f232); #[repr(C)] pub struct IConversationalAgentSignal_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -259,31 +259,31 @@ pub struct IConversationalAgentSignal_Vtbl { pub SignalEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetSignalEnd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConversationalAgentSignal2, IConversationalAgentSignal2_Vtbl, 0xd0cc7ba9_9a7b_5c34_880e_b6146c904ecb); +windows_core::imp::define_interface!(IConversationalAgentSignal2, IConversationalAgentSignal2_Vtbl, 0xd0cc7ba9_9a7b_5c34_880e_b6146c904ecb); #[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 DetectorKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ActivationSignalDetectorKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConversationalAgentSignalDetectedEventArgs, IConversationalAgentSignalDetectedEventArgs_Vtbl, 0x4d57eb8f_f88a_599b_91d3_d604876708bc); +windows_core::imp::define_interface!(IConversationalAgentSignalDetectedEventArgs, IConversationalAgentSignalDetectedEventArgs_Vtbl, 0x4d57eb8f_f88a_599b_91d3_d604876708bc); #[repr(C)] pub struct IConversationalAgentSignalDetectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IConversationalAgentSystemStateChangedEventArgs, IConversationalAgentSystemStateChangedEventArgs_Vtbl, 0x1c2c6e3e_2785_59a7_8e71_38adeef79928); +windows_core::imp::define_interface!(IConversationalAgentSystemStateChangedEventArgs, IConversationalAgentSystemStateChangedEventArgs_Vtbl, 0x1c2c6e3e_2785_59a7_8e71_38adeef79928); #[repr(C)] pub struct IConversationalAgentSystemStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SystemStateChangeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ConversationalAgentSystemStateChangeType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDetectionConfigurationAvailabilityChangedEventArgs, IDetectionConfigurationAvailabilityChangedEventArgs_Vtbl, 0x5129c9fb_4be8_5f14_af2b_88d62b1b4462); +windows_core::imp::define_interface!(IDetectionConfigurationAvailabilityChangedEventArgs, IDetectionConfigurationAvailabilityChangedEventArgs_Vtbl, 0x5129c9fb_4be8_5f14_af2b_88d62b1b4462); #[repr(C)] pub struct IDetectionConfigurationAvailabilityChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DetectionConfigurationAvailabilityChangeKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDetectionConfigurationAvailabilityInfo, IDetectionConfigurationAvailabilityInfo_Vtbl, 0xb5affeb0_40f0_5398_b838_91979c2c6208); +windows_core::imp::define_interface!(IDetectionConfigurationAvailabilityInfo, IDetectionConfigurationAvailabilityInfo_Vtbl, 0xb5affeb0_40f0_5398_b838_91979c2c6208); #[repr(C)] pub struct IDetectionConfigurationAvailabilityInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -292,7 +292,7 @@ pub struct IDetectionConfigurationAvailabilityInfo_Vtbl { pub HasPermission: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub HasLockScreenPermission: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDetectionConfigurationAvailabilityInfo2, IDetectionConfigurationAvailabilityInfo2_Vtbl, 0x30e06433_38b3_5c4b_84c3_62b6e685b2ff); +windows_core::imp::define_interface!(IDetectionConfigurationAvailabilityInfo2, IDetectionConfigurationAvailabilityInfo2_Vtbl, 0x30e06433_38b3_5c4b_84c3_62b6e685b2ff); #[repr(C)] pub struct IDetectionConfigurationAvailabilityInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs index 37b05a1c9f..f3b06f584c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/mod.rs @@ -1,17 +1,17 @@ -windows_core::imp::com_interface!(IAppListEntry, IAppListEntry_Vtbl, 0xef00f07f_2108_490a_877a_8a9f17c25fad); +windows_core::imp::define_interface!(IAppListEntry, IAppListEntry_Vtbl, 0xef00f07f_2108_490a_877a_8a9f17c25fad); #[repr(C)] pub struct IAppListEntry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DisplayInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LaunchAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppListEntry2, IAppListEntry2_Vtbl, 0xd0a618ad_bf35_42ac_ac06_86eeeb41d04b); +windows_core::imp::define_interface!(IAppListEntry2, IAppListEntry2_Vtbl, 0xd0a618ad_bf35_42ac_ac06_86eeeb41d04b); #[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, } -windows_core::imp::com_interface!(IAppListEntry3, IAppListEntry3_Vtbl, 0x6099f28d_fc32_470a_bc69_4b061a76ef2e); +windows_core::imp::define_interface!(IAppListEntry3, IAppListEntry3_Vtbl, 0x6099f28d_fc32_470a_bc69_4b061a76ef2e); #[repr(C)] pub struct IAppListEntry3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,13 +20,13 @@ pub struct IAppListEntry3_Vtbl { #[cfg(not(feature = "System"))] LaunchForUserAsync: usize, } -windows_core::imp::com_interface!(IAppListEntry4, IAppListEntry4_Vtbl, 0x2a131ed2_56f5_487c_8697_5166f3b33da0); +windows_core::imp::define_interface!(IAppListEntry4, IAppListEntry4_Vtbl, 0x2a131ed2_56f5_487c_8697_5166f3b33da0); #[repr(C)] pub struct IAppListEntry4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AppInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreApplication, ICoreApplication_Vtbl, 0x0aacf7a4_5e1d_49df_8034_fb6a68bc5ed1); +windows_core::imp::define_interface!(ICoreApplication, ICoreApplication_Vtbl, 0x0aacf7a4_5e1d_49df_8034_fb6a68bc5ed1); #[repr(C)] pub struct ICoreApplication_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -43,7 +43,7 @@ pub struct ICoreApplication_Vtbl { pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RunWithActivationFactories: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreApplication2, ICoreApplication2_Vtbl, 0x998681fb_1ab6_4b7f_be4a_9a0645224c04); +windows_core::imp::define_interface!(ICoreApplication2, ICoreApplication2_Vtbl, 0x998681fb_1ab6_4b7f_be4a_9a0645224c04); #[repr(C)] pub struct ICoreApplication2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,7 +58,7 @@ pub struct ICoreApplication2_Vtbl { pub RemoveEnteredBackground: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub EnablePrelaunch: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreApplication3, ICoreApplication3_Vtbl, 0xfeec0d39_598b_4507_8a67_772632580a57); +windows_core::imp::define_interface!(ICoreApplication3, ICoreApplication3_Vtbl, 0xfeec0d39_598b_4507_8a67_772632580a57); #[repr(C)] pub struct ICoreApplication3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,7 +68,7 @@ pub struct ICoreApplication3_Vtbl { #[cfg(not(feature = "System"))] RequestRestartForUserAsync: usize, } -windows_core::imp::com_interface!(ICoreApplicationExit, ICoreApplicationExit_Vtbl, 0xcf86461d_261e_4b72_9acd_44ed2ace6a29); +windows_core::imp::define_interface!(ICoreApplicationExit, ICoreApplicationExit_Vtbl, 0xcf86461d_261e_4b72_9acd_44ed2ace6a29); #[repr(C)] pub struct ICoreApplicationExit_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -76,7 +76,7 @@ pub struct ICoreApplicationExit_Vtbl { pub Exiting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveExiting: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreApplicationUnhandledError, ICoreApplicationUnhandledError_Vtbl, 0xf0e24ab0_dd09_42e1_b0bc_e0e131f78d7e); +windows_core::imp::define_interface!(ICoreApplicationUnhandledError, ICoreApplicationUnhandledError_Vtbl, 0xf0e24ab0_dd09_42e1_b0bc_e0e131f78d7e); windows_core::imp::interface_hierarchy!(ICoreApplicationUnhandledError, windows_core::IUnknown, windows_core::IInspectable); impl ICoreApplicationUnhandledError { pub fn UnhandledErrorDetected(&self, handler: P0) -> windows_core::Result @@ -103,14 +103,14 @@ pub struct ICoreApplicationUnhandledError_Vtbl { pub UnhandledErrorDetected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveUnhandledErrorDetected: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreApplicationUseCount, ICoreApplicationUseCount_Vtbl, 0x518dc408_c077_475b_809e_0bc0c57e4b74); +windows_core::imp::define_interface!(ICoreApplicationUseCount, ICoreApplicationUseCount_Vtbl, 0x518dc408_c077_475b_809e_0bc0c57e4b74); #[repr(C)] pub struct ICoreApplicationUseCount_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IncrementApplicationUseCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DecrementApplicationUseCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreApplicationView, ICoreApplicationView_Vtbl, 0x638bb2db_451d_4661_b099_414f34ffb9f1); +windows_core::imp::define_interface!(ICoreApplicationView, ICoreApplicationView_Vtbl, 0x638bb2db_451d_4661_b099_414f34ffb9f1); #[repr(C)] pub struct ICoreApplicationView_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -126,7 +126,7 @@ pub struct ICoreApplicationView_Vtbl { pub IsMain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsHosted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreApplicationView2, ICoreApplicationView2_Vtbl, 0x68eb7adf_917f_48eb_9aeb_7de53e086ab1); +windows_core::imp::define_interface!(ICoreApplicationView2, ICoreApplicationView2_Vtbl, 0x68eb7adf_917f_48eb_9aeb_7de53e086ab1); #[repr(C)] pub struct ICoreApplicationView2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -135,7 +135,7 @@ pub struct ICoreApplicationView2_Vtbl { #[cfg(not(feature = "UI_Core"))] Dispatcher: usize, } -windows_core::imp::com_interface!(ICoreApplicationView3, ICoreApplicationView3_Vtbl, 0x07ebe1b3_a4cf_4550_ab70_b07e85330bc8); +windows_core::imp::define_interface!(ICoreApplicationView3, ICoreApplicationView3_Vtbl, 0x07ebe1b3_a4cf_4550_ab70_b07e85330bc8); #[repr(C)] pub struct ICoreApplicationView3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -144,7 +144,7 @@ pub struct ICoreApplicationView3_Vtbl { pub HostedViewClosing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveHostedViewClosing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreApplicationView5, ICoreApplicationView5_Vtbl, 0x2bc095a8_8ef0_446d_9e60_3a3e0428c671); +windows_core::imp::define_interface!(ICoreApplicationView5, ICoreApplicationView5_Vtbl, 0x2bc095a8_8ef0_446d_9e60_3a3e0428c671); #[repr(C)] pub struct ICoreApplicationView5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -153,7 +153,7 @@ pub struct ICoreApplicationView5_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(ICoreApplicationView6, ICoreApplicationView6_Vtbl, 0xc119d49a_0679_49ba_803f_b79c5cf34cca); +windows_core::imp::define_interface!(ICoreApplicationView6, ICoreApplicationView6_Vtbl, 0xc119d49a_0679_49ba_803f_b79c5cf34cca); #[repr(C)] pub struct ICoreApplicationView6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -162,7 +162,7 @@ pub struct ICoreApplicationView6_Vtbl { #[cfg(not(feature = "System"))] DispatcherQueue: usize, } -windows_core::imp::com_interface!(ICoreApplicationViewTitleBar, ICoreApplicationViewTitleBar_Vtbl, 0x006d35e3_e1f1_431b_9508_29b96926ac53); +windows_core::imp::define_interface!(ICoreApplicationViewTitleBar, ICoreApplicationViewTitleBar_Vtbl, 0x006d35e3_e1f1_431b_9508_29b96926ac53); #[repr(C)] pub struct ICoreApplicationViewTitleBar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -177,7 +177,7 @@ pub struct ICoreApplicationViewTitleBar_Vtbl { pub IsVisibleChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveIsVisibleChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreImmersiveApplication, ICoreImmersiveApplication_Vtbl, 0x1ada0e3e_e4a2_4123_b451_dc96bf800419); +windows_core::imp::define_interface!(ICoreImmersiveApplication, ICoreImmersiveApplication_Vtbl, 0x1ada0e3e_e4a2_4123_b451_dc96bf800419); #[repr(C)] pub struct ICoreImmersiveApplication_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -188,19 +188,19 @@ pub struct ICoreImmersiveApplication_Vtbl { 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 MainView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreImmersiveApplication2, ICoreImmersiveApplication2_Vtbl, 0x828e1e36_e9e3_4cfc_9b66_48b78ea9bb2c); +windows_core::imp::define_interface!(ICoreImmersiveApplication2, ICoreImmersiveApplication2_Vtbl, 0x828e1e36_e9e3_4cfc_9b66_48b78ea9bb2c); #[repr(C)] pub struct ICoreImmersiveApplication2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateNewViewFromMainView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreImmersiveApplication3, ICoreImmersiveApplication3_Vtbl, 0x34a05b2f_ee0d_41e5_8314_cf10c91bf0af); +windows_core::imp::define_interface!(ICoreImmersiveApplication3, ICoreImmersiveApplication3_Vtbl, 0x34a05b2f_ee0d_41e5_8314_cf10c91bf0af); #[repr(C)] pub struct ICoreImmersiveApplication3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateNewViewWithViewSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameworkView, IFrameworkView_Vtbl, 0xfaab5cd0_8924_45ac_ad0f_a08fae5d0324); +windows_core::imp::define_interface!(IFrameworkView, IFrameworkView_Vtbl, 0xfaab5cd0_8924_45ac_ad0f_a08fae5d0324); windows_core::imp::interface_hierarchy!(IFrameworkView, windows_core::IUnknown, windows_core::IInspectable); impl IFrameworkView { pub fn Initialize(&self, applicationview: P0) -> windows_core::Result<()> @@ -246,7 +246,7 @@ pub struct IFrameworkView_Vtbl { 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, } -windows_core::imp::com_interface!(IFrameworkViewSource, IFrameworkViewSource_Vtbl, 0xcd770614_65c4_426c_9494_34fc43554862); +windows_core::imp::define_interface!(IFrameworkViewSource, IFrameworkViewSource_Vtbl, 0xcd770614_65c4_426c_9494_34fc43554862); windows_core::imp::interface_hierarchy!(IFrameworkViewSource, windows_core::IUnknown, windows_core::IInspectable); impl IFrameworkViewSource { pub fn CreateView(&self) -> windows_core::Result { @@ -265,20 +265,20 @@ pub struct IFrameworkViewSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostedViewClosingEventArgs, IHostedViewClosingEventArgs_Vtbl, 0xd238943c_b24e_4790_acb5_3e4243c4ff87); +windows_core::imp::define_interface!(IHostedViewClosingEventArgs, IHostedViewClosingEventArgs_Vtbl, 0xd238943c_b24e_4790_acb5_3e4243c4ff87); #[repr(C)] pub struct IHostedViewClosingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUnhandledError, IUnhandledError_Vtbl, 0x9459b726_53b5_4686_9eaf_fa8162dc3980); +windows_core::imp::define_interface!(IUnhandledError, IUnhandledError_Vtbl, 0x9459b726_53b5_4686_9eaf_fa8162dc3980); #[repr(C)] pub struct IUnhandledError_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Propagate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUnhandledErrorDetectedEventArgs, IUnhandledErrorDetectedEventArgs_Vtbl, 0x679ab78b_b336_4822_ac40_0d750f0b7a2b); +windows_core::imp::define_interface!(IUnhandledErrorDetectedEventArgs, IUnhandledErrorDetectedEventArgs_Vtbl, 0x679ab78b_b336_4822_ac40_0d750f0b7a2b); #[repr(C)] pub struct IUnhandledErrorDetectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 fd118b8ce6..5da766d8db 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 @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICoreDragDropManager, ICoreDragDropManager_Vtbl, 0x7d56d344_8464_4faf_aa49_37ea6e2d7bd1); +windows_core::imp::define_interface!(ICoreDragDropManager, ICoreDragDropManager_Vtbl, 0x7d56d344_8464_4faf_aa49_37ea6e2d7bd1); #[repr(C)] pub struct ICoreDragDropManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,13 +7,13 @@ pub struct ICoreDragDropManager_Vtbl { pub AreConcurrentOperationsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAreConcurrentOperationsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreDragDropManagerStatics, ICoreDragDropManagerStatics_Vtbl, 0x9542fdca_da12_4c1c_8d06_041db29733c3); +windows_core::imp::define_interface!(ICoreDragDropManagerStatics, ICoreDragDropManagerStatics_Vtbl, 0x9542fdca_da12_4c1c_8d06_041db29733c3); #[repr(C)] pub struct ICoreDragDropManagerStatics_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, } -windows_core::imp::com_interface!(ICoreDragInfo, ICoreDragInfo_Vtbl, 0x48353a8b_cb50_464e_9575_cd4e3a7ab028); +windows_core::imp::define_interface!(ICoreDragInfo, ICoreDragInfo_Vtbl, 0x48353a8b_cb50_464e_9575_cd4e3a7ab028); #[repr(C)] pub struct ICoreDragInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -21,13 +21,13 @@ pub struct ICoreDragInfo_Vtbl { pub Modifiers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::DragDropModifiers) -> windows_core::HRESULT, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::Point) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreDragInfo2, ICoreDragInfo2_Vtbl, 0xc54691e5_e6fb_4d74_b4b1_8a3c17f25e9e); +windows_core::imp::define_interface!(ICoreDragInfo2, ICoreDragInfo2_Vtbl, 0xc54691e5_e6fb_4d74_b4b1_8a3c17f25e9e); #[repr(C)] pub struct ICoreDragInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowedOperations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::DataPackageOperation) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreDragOperation, ICoreDragOperation_Vtbl, 0xcc06de4f_6db0_4e62_ab1b_a74a02dc6d85); +windows_core::imp::define_interface!(ICoreDragOperation, ICoreDragOperation_Vtbl, 0xcc06de4f_6db0_4e62_ab1b_a74a02dc6d85); #[repr(C)] pub struct ICoreDragOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -45,14 +45,14 @@ pub struct ICoreDragOperation_Vtbl { pub SetDragUIContentMode: unsafe extern "system" fn(*mut core::ffi::c_void, CoreDragUIContentMode) -> windows_core::HRESULT, pub StartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreDragOperation2, ICoreDragOperation2_Vtbl, 0x824b1e2c_d99a_4fc3_8507_6c182f33b46a); +windows_core::imp::define_interface!(ICoreDragOperation2, ICoreDragOperation2_Vtbl, 0x824b1e2c_d99a_4fc3_8507_6c182f33b46a); #[repr(C)] pub struct ICoreDragOperation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowedOperations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::DataPackageOperation) -> windows_core::HRESULT, pub SetAllowedOperations: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::DataPackageOperation) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreDragUIOverride, ICoreDragUIOverride_Vtbl, 0x89a85064_3389_4f4f_8897_7e8a3ffb3c93); +windows_core::imp::define_interface!(ICoreDragUIOverride, ICoreDragUIOverride_Vtbl, 0x89a85064_3389_4f4f_8897_7e8a3ffb3c93); #[repr(C)] pub struct ICoreDragUIOverride_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -74,7 +74,7 @@ pub struct ICoreDragUIOverride_Vtbl { pub SetIsGlyphVisible: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreDropOperationTarget, ICoreDropOperationTarget_Vtbl, 0xd9126196_4c5b_417d_bb37_76381def8db4); +windows_core::imp::define_interface!(ICoreDropOperationTarget, ICoreDropOperationTarget_Vtbl, 0xd9126196_4c5b_417d_bb37_76381def8db4); windows_core::imp::interface_hierarchy!(ICoreDropOperationTarget, windows_core::IUnknown, windows_core::IInspectable); impl ICoreDropOperationTarget { pub fn EnterAsync(&self, draginfo: P0, draguioverride: P1) -> windows_core::Result> @@ -131,7 +131,7 @@ pub struct ICoreDropOperationTarget_Vtbl { pub LeaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DropAsync: 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::com_interface!(ICoreDropOperationTargetRequestedEventArgs, ICoreDropOperationTargetRequestedEventArgs_Vtbl, 0x2aca929a_5e28_4ea6_829e_29134e665d6d); +windows_core::imp::define_interface!(ICoreDropOperationTargetRequestedEventArgs, ICoreDropOperationTargetRequestedEventArgs_Vtbl, 0x2aca929a_5e28_4ea6_829e_29134e665d6d); #[repr(C)] pub struct ICoreDropOperationTargetRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 579fe86c83..1b99b3020f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/ShareTarget/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IQuickLink, IQuickLink_Vtbl, 0x603e4308_f0be_4adc_acc9_8b27ab9cf556); +windows_core::imp::define_interface!(IQuickLink, IQuickLink_Vtbl, 0x603e4308_f0be_4adc_acc9_8b27ab9cf556); #[repr(C)] pub struct IQuickLink_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct IQuickLink_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedFileTypes: usize, } -windows_core::imp::com_interface!(IShareOperation, IShareOperation_Vtbl, 0x2246bab8_d0f8_41c1_a82a_4137db6504fb); +windows_core::imp::define_interface!(IShareOperation, IShareOperation_Vtbl, 0x2246bab8_d0f8_41c1_a82a_4137db6504fb); #[repr(C)] pub struct IShareOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,13 +37,13 @@ pub struct IShareOperation_Vtbl { 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, } -windows_core::imp::com_interface!(IShareOperation2, IShareOperation2_Vtbl, 0x0ffb97c1_9778_4a09_8e5b_cb5e482d0555); +windows_core::imp::define_interface!(IShareOperation2, IShareOperation2_Vtbl, 0x0ffb97c1_9778_4a09_8e5b_cb5e482d0555); #[repr(C)] pub struct IShareOperation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DismissUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShareOperation3, IShareOperation3_Vtbl, 0x5ef6b382_b7a7_4571_a2a6_994a034988b2); +windows_core::imp::define_interface!(IShareOperation3, IShareOperation3_Vtbl, 0x5ef6b382_b7a7_4571_a2a6_994a034988b2); #[repr(C)] pub struct IShareOperation3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs index 009ee7c25d..08f43e1d7e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -2,7 +2,7 @@ pub mod DragDrop; #[cfg(feature = "ApplicationModel_DataTransfer_ShareTarget")] pub mod ShareTarget; -windows_core::imp::com_interface!(IClipboardContentOptions, IClipboardContentOptions_Vtbl, 0xe888a98c_ad4b_5447_a056_ab3556276d2b); +windows_core::imp::define_interface!(IClipboardContentOptions, IClipboardContentOptions_Vtbl, 0xe888a98c_ad4b_5447_a056_ab3556276d2b); #[repr(C)] pub struct IClipboardContentOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,12 +19,12 @@ pub struct IClipboardContentOptions_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] HistoryFormats: usize, } -windows_core::imp::com_interface!(IClipboardHistoryChangedEventArgs, IClipboardHistoryChangedEventArgs_Vtbl, 0xc0be453f_8ea2_53ce_9aba_8d2212573452); +windows_core::imp::define_interface!(IClipboardHistoryChangedEventArgs, IClipboardHistoryChangedEventArgs_Vtbl, 0xc0be453f_8ea2_53ce_9aba_8d2212573452); #[repr(C)] pub struct IClipboardHistoryChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IClipboardHistoryItem, IClipboardHistoryItem_Vtbl, 0x0173bd8a_afff_5c50_ab92_3d19f481ec58); +windows_core::imp::define_interface!(IClipboardHistoryItem, IClipboardHistoryItem_Vtbl, 0x0173bd8a_afff_5c50_ab92_3d19f481ec58); #[repr(C)] pub struct IClipboardHistoryItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -32,7 +32,7 @@ pub struct IClipboardHistoryItem_Vtbl { 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, } -windows_core::imp::com_interface!(IClipboardHistoryItemsResult, IClipboardHistoryItemsResult_Vtbl, 0xe6dfdee6_0ee2_52e3_852b_f295db65939a); +windows_core::imp::define_interface!(IClipboardHistoryItemsResult, IClipboardHistoryItemsResult_Vtbl, 0xe6dfdee6_0ee2_52e3_852b_f295db65939a); #[repr(C)] pub struct IClipboardHistoryItemsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -42,7 +42,7 @@ pub struct IClipboardHistoryItemsResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Items: usize, } -windows_core::imp::com_interface!(IClipboardStatics, IClipboardStatics_Vtbl, 0xc627e291_34e2_4963_8eed_93cbb0ea3d70); +windows_core::imp::define_interface!(IClipboardStatics, IClipboardStatics_Vtbl, 0xc627e291_34e2_4963_8eed_93cbb0ea3d70); #[repr(C)] pub struct IClipboardStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,7 +53,7 @@ pub struct IClipboardStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IClipboardStatics2, IClipboardStatics2_Vtbl, 0xd2ac1b6a_d29f_554b_b303_f0452345fe02); +windows_core::imp::define_interface!(IClipboardStatics2, IClipboardStatics2_Vtbl, 0xd2ac1b6a_d29f_554b_b303_f0452345fe02); #[repr(C)] pub struct IClipboardStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -71,7 +71,7 @@ pub struct IClipboardStatics2_Vtbl { pub HistoryEnabledChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveHistoryEnabledChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataPackage, IDataPackage_Vtbl, 0x61ebf5c7_efea_4346_9554_981d7e198ffe); +windows_core::imp::define_interface!(IDataPackage, IDataPackage_Vtbl, 0x61ebf5c7_efea_4346_9554_981d7e198ffe); #[repr(C)] pub struct IDataPackage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -109,28 +109,28 @@ pub struct IDataPackage_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] SetStorageItems: usize, } -windows_core::imp::com_interface!(IDataPackage2, IDataPackage2_Vtbl, 0x041c1fe9_2409_45e1_a538_4c53eeee04a7); +windows_core::imp::define_interface!(IDataPackage2, IDataPackage2_Vtbl, 0x041c1fe9_2409_45e1_a538_4c53eeee04a7); #[repr(C)] pub struct IDataPackage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetApplicationLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetWebLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataPackage3, IDataPackage3_Vtbl, 0x88f31f5d_787b_4d32_965a_a9838105a056); +windows_core::imp::define_interface!(IDataPackage3, IDataPackage3_Vtbl, 0x88f31f5d_787b_4d32_965a_a9838105a056); #[repr(C)] pub struct IDataPackage3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShareCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveShareCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataPackage4, IDataPackage4_Vtbl, 0x13a24ec8_9382_536f_852a_3045e1b29a3b); +windows_core::imp::define_interface!(IDataPackage4, IDataPackage4_Vtbl, 0x13a24ec8_9382_536f_852a_3045e1b29a3b); #[repr(C)] pub struct IDataPackage4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShareCanceled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveShareCanceled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataPackagePropertySet, IDataPackagePropertySet_Vtbl, 0xcd1c93eb_4c4c_443a_a8d3_f5c241e91689); +windows_core::imp::define_interface!(IDataPackagePropertySet, IDataPackagePropertySet_Vtbl, 0xcd1c93eb_4c4c_443a_a8d3_f5c241e91689); #[repr(C)] pub struct IDataPackagePropertySet_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -155,7 +155,7 @@ pub struct IDataPackagePropertySet_Vtbl { 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, } -windows_core::imp::com_interface!(IDataPackagePropertySet2, IDataPackagePropertySet2_Vtbl, 0xeb505d4a_9800_46aa_b181_7b6f0f2b919a); +windows_core::imp::define_interface!(IDataPackagePropertySet2, IDataPackagePropertySet2_Vtbl, 0xeb505d4a_9800_46aa_b181_7b6f0f2b919a); #[repr(C)] pub struct IDataPackagePropertySet2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -182,21 +182,21 @@ pub struct IDataPackagePropertySet2_Vtbl { #[cfg(not(feature = "UI"))] SetLogoBackgroundColor: usize, } -windows_core::imp::com_interface!(IDataPackagePropertySet3, IDataPackagePropertySet3_Vtbl, 0x9e87fd9b_5205_401b_874a_455653bd39e8); +windows_core::imp::define_interface!(IDataPackagePropertySet3, IDataPackagePropertySet3_Vtbl, 0x9e87fd9b_5205_401b_874a_455653bd39e8); #[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, } -windows_core::imp::com_interface!(IDataPackagePropertySet4, IDataPackagePropertySet4_Vtbl, 0x6390ebf5_1739_4c74_b22f_865fab5e8545); +windows_core::imp::define_interface!(IDataPackagePropertySet4, IDataPackagePropertySet4_Vtbl, 0x6390ebf5_1739_4c74_b22f_865fab5e8545); #[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, } -windows_core::imp::com_interface!(IDataPackagePropertySetView, IDataPackagePropertySetView_Vtbl, 0xb94cec01_0c1a_4c57_be55_75d01289735d); +windows_core::imp::define_interface!(IDataPackagePropertySetView, IDataPackagePropertySetView_Vtbl, 0xb94cec01_0c1a_4c57_be55_75d01289735d); #[repr(C)] pub struct IDataPackagePropertySetView_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -213,7 +213,7 @@ pub struct IDataPackagePropertySetView_Vtbl { pub ApplicationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IDataPackagePropertySetView2, IDataPackagePropertySetView2_Vtbl, 0x6054509b_8ebe_4feb_9c1e_75e69de54b84); +windows_core::imp::define_interface!(IDataPackagePropertySetView2, IDataPackagePropertySetView2_Vtbl, 0x6054509b_8ebe_4feb_9c1e_75e69de54b84); #[repr(C)] pub struct IDataPackagePropertySetView2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -229,25 +229,25 @@ pub struct IDataPackagePropertySetView2_Vtbl { #[cfg(not(feature = "UI"))] LogoBackgroundColor: usize, } -windows_core::imp::com_interface!(IDataPackagePropertySetView3, IDataPackagePropertySetView3_Vtbl, 0xdb764ce5_d174_495c_84fc_1a51f6ab45d7); +windows_core::imp::define_interface!(IDataPackagePropertySetView3, IDataPackagePropertySetView3_Vtbl, 0xdb764ce5_d174_495c_84fc_1a51f6ab45d7); #[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, } -windows_core::imp::com_interface!(IDataPackagePropertySetView4, IDataPackagePropertySetView4_Vtbl, 0x4474c80d_d16f_40ae_9580_6f8562b94235); +windows_core::imp::define_interface!(IDataPackagePropertySetView4, IDataPackagePropertySetView4_Vtbl, 0x4474c80d_d16f_40ae_9580_6f8562b94235); #[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, } -windows_core::imp::com_interface!(IDataPackagePropertySetView5, IDataPackagePropertySetView5_Vtbl, 0x6f0a9445_3760_50bb_8523_c4202ded7d78); +windows_core::imp::define_interface!(IDataPackagePropertySetView5, IDataPackagePropertySetView5_Vtbl, 0x6f0a9445_3760_50bb_8523_c4202ded7d78); #[repr(C)] pub struct IDataPackagePropertySetView5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsFromRoamingClipboard: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataPackageView, IDataPackageView_Vtbl, 0x7b840471_5900_4d85_a90b_10cb85fe3552); +windows_core::imp::define_interface!(IDataPackageView, IDataPackageView_Vtbl, 0x7b840471_5900_4d85_a90b_10cb85fe3552); #[repr(C)] pub struct IDataPackageView_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -281,14 +281,14 @@ pub struct IDataPackageView_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] GetStorageItemsAsync: usize, } -windows_core::imp::com_interface!(IDataPackageView2, IDataPackageView2_Vtbl, 0x40ecba95_2450_4c1d_b6b4_ed45463dee9c); +windows_core::imp::define_interface!(IDataPackageView2, IDataPackageView2_Vtbl, 0x40ecba95_2450_4c1d_b6b4_ed45463dee9c); #[repr(C)] pub struct IDataPackageView2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetApplicationLinkAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetWebLinkAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataPackageView3, IDataPackageView3_Vtbl, 0xd37771a8_ddad_4288_8428_d1cae394128b); +windows_core::imp::define_interface!(IDataPackageView3, IDataPackageView3_Vtbl, 0xd37771a8_ddad_4288_8428_d1cae394128b); #[repr(C)] pub struct IDataPackageView3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -305,19 +305,19 @@ pub struct IDataPackageView3_Vtbl { #[cfg(not(feature = "Security_EnterpriseData"))] UnlockAndAssumeEnterpriseIdentity: usize, } -windows_core::imp::com_interface!(IDataPackageView4, IDataPackageView4_Vtbl, 0xdfe96f1f_e042_4433_a09f_26d6ffda8b85); +windows_core::imp::define_interface!(IDataPackageView4, IDataPackageView4_Vtbl, 0xdfe96f1f_e042_4433_a09f_26d6ffda8b85); #[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, } -windows_core::imp::com_interface!(IDataProviderDeferral, IDataProviderDeferral_Vtbl, 0xc2cf2373_2d26_43d9_b69d_dcb86d03f6da); +windows_core::imp::define_interface!(IDataProviderDeferral, IDataProviderDeferral_Vtbl, 0xc2cf2373_2d26_43d9_b69d_dcb86d03f6da); #[repr(C)] pub struct IDataProviderDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataProviderRequest, IDataProviderRequest_Vtbl, 0xebbc7157_d3c8_47da_acde_f82388d5f716); +windows_core::imp::define_interface!(IDataProviderRequest, IDataProviderRequest_Vtbl, 0xebbc7157_d3c8_47da_acde_f82388d5f716); #[repr(C)] pub struct IDataProviderRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -326,7 +326,7 @@ pub struct IDataProviderRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IDataRequest, IDataRequest_Vtbl, 0x4341ae3b_fc12_4e53_8c02_ac714c415a27); +windows_core::imp::define_interface!(IDataRequest, IDataRequest_Vtbl, 0x4341ae3b_fc12_4e53_8c02_ac714c415a27); #[repr(C)] pub struct IDataRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -336,19 +336,19 @@ pub struct IDataRequest_Vtbl { pub FailWithDisplayText: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IDataRequestDeferral, IDataRequestDeferral_Vtbl, 0x6dc4b89f_0386_4263_87c1_ed7dce30890e); +windows_core::imp::define_interface!(IDataRequestDeferral, IDataRequestDeferral_Vtbl, 0x6dc4b89f_0386_4263_87c1_ed7dce30890e); #[repr(C)] pub struct IDataRequestDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataRequestedEventArgs, IDataRequestedEventArgs_Vtbl, 0xcb8ba807_6ac5_43c9_8ac5_9ba232163182); +windows_core::imp::define_interface!(IDataRequestedEventArgs, IDataRequestedEventArgs_Vtbl, 0xcb8ba807_6ac5_43c9_8ac5_9ba232163182); #[repr(C)] pub struct IDataRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataTransferManager, IDataTransferManager_Vtbl, 0xa5caee9b_8708_49d1_8d36_67d25a8da00c); +windows_core::imp::define_interface!(IDataTransferManager, IDataTransferManager_Vtbl, 0xa5caee9b_8708_49d1_8d36_67d25a8da00c); #[repr(C)] pub struct IDataTransferManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -357,58 +357,58 @@ pub struct IDataTransferManager_Vtbl { pub TargetApplicationChosen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveTargetApplicationChosen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataTransferManager2, IDataTransferManager2_Vtbl, 0x30ae7d71_8ba8_4c02_8e3f_ddb23b388715); +windows_core::imp::define_interface!(IDataTransferManager2, IDataTransferManager2_Vtbl, 0x30ae7d71_8ba8_4c02_8e3f_ddb23b388715); #[repr(C)] pub struct IDataTransferManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShareProvidersRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveShareProvidersRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataTransferManagerStatics, IDataTransferManagerStatics_Vtbl, 0xa9da01aa_e00e_4cfe_aa44_2dd932dca3d8); +windows_core::imp::define_interface!(IDataTransferManagerStatics, IDataTransferManagerStatics_Vtbl, 0xa9da01aa_e00e_4cfe_aa44_2dd932dca3d8); #[repr(C)] pub struct IDataTransferManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShowShareUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetForCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataTransferManagerStatics2, IDataTransferManagerStatics2_Vtbl, 0xc54ec2ec_9f97_4d63_9868_395e271ad8f5); +windows_core::imp::define_interface!(IDataTransferManagerStatics2, IDataTransferManagerStatics2_Vtbl, 0xc54ec2ec_9f97_4d63_9868_395e271ad8f5); #[repr(C)] pub struct IDataTransferManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataTransferManagerStatics3, IDataTransferManagerStatics3_Vtbl, 0x05845473_6c82_4f5c_ac23_62e458361fac); +windows_core::imp::define_interface!(IDataTransferManagerStatics3, IDataTransferManagerStatics3_Vtbl, 0x05845473_6c82_4f5c_ac23_62e458361fac); #[repr(C)] pub struct IDataTransferManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShowShareUIWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHtmlFormatHelperStatics, IHtmlFormatHelperStatics_Vtbl, 0xe22e7749_dd70_446f_aefc_61cee59f655e); +windows_core::imp::define_interface!(IHtmlFormatHelperStatics, IHtmlFormatHelperStatics_Vtbl, 0xe22e7749_dd70_446f_aefc_61cee59f655e); #[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, } -windows_core::imp::com_interface!(IOperationCompletedEventArgs, IOperationCompletedEventArgs_Vtbl, 0xe7af329d_051d_4fab_b1a9_47fd77f70a41); +windows_core::imp::define_interface!(IOperationCompletedEventArgs, IOperationCompletedEventArgs_Vtbl, 0xe7af329d_051d_4fab_b1a9_47fd77f70a41); #[repr(C)] pub struct IOperationCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Operation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DataPackageOperation) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOperationCompletedEventArgs2, IOperationCompletedEventArgs2_Vtbl, 0x858fa073_1e19_4105_b2f7_c8478808d562); +windows_core::imp::define_interface!(IOperationCompletedEventArgs2, IOperationCompletedEventArgs2_Vtbl, 0x858fa073_1e19_4105_b2f7_c8478808d562); #[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, } -windows_core::imp::com_interface!(IShareCompletedEventArgs, IShareCompletedEventArgs_Vtbl, 0x4574c442_f913_4f60_9df7_cc4060ab1916); +windows_core::imp::define_interface!(IShareCompletedEventArgs, IShareCompletedEventArgs_Vtbl, 0x4574c442_f913_4f60_9df7_cc4060ab1916); #[repr(C)] pub struct IShareCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShareTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShareProvider, IShareProvider_Vtbl, 0x2fabe026_443e_4cda_af25_8d81070efd80); +windows_core::imp::define_interface!(IShareProvider, IShareProvider_Vtbl, 0x2fabe026_443e_4cda_af25_8d81070efd80); #[repr(C)] pub struct IShareProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -424,7 +424,7 @@ pub struct IShareProvider_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, } -windows_core::imp::com_interface!(IShareProviderFactory, IShareProviderFactory_Vtbl, 0x172a174c_e79e_4f6d_b07d_128f469e0296); +windows_core::imp::define_interface!(IShareProviderFactory, IShareProviderFactory_Vtbl, 0x172a174c_e79e_4f6d_b07d_128f469e0296); #[repr(C)] pub struct IShareProviderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -433,7 +433,7 @@ pub struct IShareProviderFactory_Vtbl { #[cfg(not(all(feature = "Storage_Streams", feature = "UI")))] Create: usize, } -windows_core::imp::com_interface!(IShareProviderOperation, IShareProviderOperation_Vtbl, 0x19cef937_d435_4179_b6af_14e0492b69f6); +windows_core::imp::define_interface!(IShareProviderOperation, IShareProviderOperation_Vtbl, 0x19cef937_d435_4179_b6af_14e0492b69f6); #[repr(C)] pub struct IShareProviderOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -441,7 +441,7 @@ pub struct IShareProviderOperation_Vtbl { pub Provider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShareProvidersRequestedEventArgs, IShareProvidersRequestedEventArgs_Vtbl, 0xf888f356_a3f8_4fce_85e4_8826e63be799); +windows_core::imp::define_interface!(IShareProvidersRequestedEventArgs, IShareProvidersRequestedEventArgs_Vtbl, 0xf888f356_a3f8_4fce_85e4_8826e63be799); #[repr(C)] pub struct IShareProvidersRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -452,14 +452,14 @@ pub struct IShareProvidersRequestedEventArgs_Vtbl { pub Data: unsafe extern "system" fn(*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::com_interface!(IShareTargetInfo, IShareTargetInfo_Vtbl, 0x385be607_c6e8_4114_b294_28f3bb6f9904); +windows_core::imp::define_interface!(IShareTargetInfo, IShareTargetInfo_Vtbl, 0x385be607_c6e8_4114_b294_28f3bb6f9904); #[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 ShareProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShareUIOptions, IShareUIOptions_Vtbl, 0x72fa8a80_342f_4d90_9551_2ae04e37680c); +windows_core::imp::define_interface!(IShareUIOptions, IShareUIOptions_Vtbl, 0x72fa8a80_342f_4d90_9551_2ae04e37680c); #[repr(C)] pub struct IShareUIOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -468,7 +468,7 @@ pub struct IShareUIOptions_Vtbl { pub SelectionRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSelectionRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISharedStorageAccessManagerStatics, ISharedStorageAccessManagerStatics_Vtbl, 0xc6132ada_34b1_4849_bd5f_d09fee3158c5); +windows_core::imp::define_interface!(ISharedStorageAccessManagerStatics, ISharedStorageAccessManagerStatics_Vtbl, 0xc6132ada_34b1_4849_bd5f_d09fee3158c5); #[repr(C)] pub struct ISharedStorageAccessManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -482,7 +482,7 @@ pub struct ISharedStorageAccessManagerStatics_Vtbl { RedeemTokenForFileAsync: usize, pub RemoveFile: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStandardDataFormatsStatics, IStandardDataFormatsStatics_Vtbl, 0x7ed681a1_a880_40c9_b4ed_0bee1e15f549); +windows_core::imp::define_interface!(IStandardDataFormatsStatics, IStandardDataFormatsStatics_Vtbl, 0x7ed681a1_a880_40c9_b4ed_0bee1e15f549); #[repr(C)] pub struct IStandardDataFormatsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -496,20 +496,20 @@ pub struct IStandardDataFormatsStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IStandardDataFormatsStatics2, IStandardDataFormatsStatics2_Vtbl, 0x42a254f4_9d76_42e8_861b_47c25dd0cf71); +windows_core::imp::define_interface!(IStandardDataFormatsStatics2, IStandardDataFormatsStatics2_Vtbl, 0x42a254f4_9d76_42e8_861b_47c25dd0cf71); #[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, } -windows_core::imp::com_interface!(IStandardDataFormatsStatics3, IStandardDataFormatsStatics3_Vtbl, 0x3b57b069_01d4_474c_8b5f_bc8e27f38b21); +windows_core::imp::define_interface!(IStandardDataFormatsStatics3, IStandardDataFormatsStatics3_Vtbl, 0x3b57b069_01d4_474c_8b5f_bc8e27f38b21); #[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, } -windows_core::imp::com_interface!(ITargetApplicationChosenEventArgs, ITargetApplicationChosenEventArgs_Vtbl, 0xca6fb8ac_2987_4ee3_9c54_d8afbcb86c1d); +windows_core::imp::define_interface!(ITargetApplicationChosenEventArgs, ITargetApplicationChosenEventArgs_Vtbl, 0xca6fb8ac_2987_4ee3_9c54_d8afbcb86c1d); #[repr(C)] pub struct ITargetApplicationChosenEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2390,7 +2390,7 @@ impl core::fmt::Debug for ShareUITheme { impl windows_core::RuntimeType for ShareUITheme { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.DataTransfer.ShareUITheme;i4)"); } -windows_core::imp::com_interface!(DataProviderHandler, DataProviderHandler_Vtbl, 0xe7ecd720_f2f4_4a2d_920e_170a2f482a27); +windows_core::imp::define_interface!(DataProviderHandler, DataProviderHandler_Vtbl, 0xe7ecd720_f2f4_4a2d_920e_170a2f482a27); impl DataProviderHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = DataProviderHandlerBox:: { vtable: &DataProviderHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -2450,7 +2450,7 @@ pub struct DataProviderHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ShareProviderHandler, ShareProviderHandler_Vtbl, 0xe7f9d9ba_e1ba_4e4d_bd65_d43845d3212f); +windows_core::imp::define_interface!(ShareProviderHandler, ShareProviderHandler_Vtbl, 0xe7f9d9ba_e1ba_4e4d_bd65_d43845d3212f); impl ShareProviderHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = ShareProviderHandlerBox:: { vtable: &ShareProviderHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; 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 7fa61250a5..154cdbccb8 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/DataProvider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IEmailDataProviderConnection, IEmailDataProviderConnection_Vtbl, 0x3b9c9dc7_37b2_4bf0_ae30_7b644a1c96e1); +windows_core::imp::define_interface!(IEmailDataProviderConnection, IEmailDataProviderConnection_Vtbl, 0x3b9c9dc7_37b2_4bf0_ae30_7b644a1c96e1); #[repr(C)] pub struct IEmailDataProviderConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -34,13 +34,13 @@ pub struct IEmailDataProviderConnection_Vtbl { pub RemoveServerSearchReadBatchRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailDataProviderTriggerDetails, IEmailDataProviderTriggerDetails_Vtbl, 0x8f3e4e50_341e_45f3_bba0_84a005e1319a); +windows_core::imp::define_interface!(IEmailDataProviderTriggerDetails, IEmailDataProviderTriggerDetails_Vtbl, 0x8f3e4e50_341e_45f3_bba0_84a005e1319a); #[repr(C)] pub struct IEmailDataProviderTriggerDetails_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, } -windows_core::imp::com_interface!(IEmailMailboxCreateFolderRequest, IEmailMailboxCreateFolderRequest_Vtbl, 0x184d3775_c921_4c39_a309_e16c9f22b04b); +windows_core::imp::define_interface!(IEmailMailboxCreateFolderRequest, IEmailMailboxCreateFolderRequest_Vtbl, 0x184d3775_c921_4c39_a309_e16c9f22b04b); #[repr(C)] pub struct IEmailMailboxCreateFolderRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -50,14 +50,14 @@ pub struct IEmailMailboxCreateFolderRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxCreateFolderRequestEventArgs, IEmailMailboxCreateFolderRequestEventArgs_Vtbl, 0x03e4c02c_241c_4ea9_a68f_ff20bc5afc85); +windows_core::imp::define_interface!(IEmailMailboxCreateFolderRequestEventArgs, IEmailMailboxCreateFolderRequestEventArgs_Vtbl, 0x03e4c02c_241c_4ea9_a68f_ff20bc5afc85); #[repr(C)] pub struct IEmailMailboxCreateFolderRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxDeleteFolderRequest, IEmailMailboxDeleteFolderRequest_Vtbl, 0x9469e88a_a931_4779_923d_09a3ea292e29); +windows_core::imp::define_interface!(IEmailMailboxDeleteFolderRequest, IEmailMailboxDeleteFolderRequest_Vtbl, 0x9469e88a_a931_4779_923d_09a3ea292e29); #[repr(C)] pub struct IEmailMailboxDeleteFolderRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -66,14 +66,14 @@ pub struct IEmailMailboxDeleteFolderRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxDeleteFolderRequestEventArgs, IEmailMailboxDeleteFolderRequestEventArgs_Vtbl, 0xb4d32d06_2332_4678_8378_28b579336846); +windows_core::imp::define_interface!(IEmailMailboxDeleteFolderRequestEventArgs, IEmailMailboxDeleteFolderRequestEventArgs_Vtbl, 0xb4d32d06_2332_4678_8378_28b579336846); #[repr(C)] pub struct IEmailMailboxDeleteFolderRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxDownloadAttachmentRequest, IEmailMailboxDownloadAttachmentRequest_Vtbl, 0x0b1dbbb4_750c_48e1_bce4_8d589684ffbc); +windows_core::imp::define_interface!(IEmailMailboxDownloadAttachmentRequest, IEmailMailboxDownloadAttachmentRequest_Vtbl, 0x0b1dbbb4_750c_48e1_bce4_8d589684ffbc); #[repr(C)] pub struct IEmailMailboxDownloadAttachmentRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -83,14 +83,14 @@ pub struct IEmailMailboxDownloadAttachmentRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxDownloadAttachmentRequestEventArgs, IEmailMailboxDownloadAttachmentRequestEventArgs_Vtbl, 0xccddc46d_ffa8_4877_9f9d_fed7bcaf4104); +windows_core::imp::define_interface!(IEmailMailboxDownloadAttachmentRequestEventArgs, IEmailMailboxDownloadAttachmentRequestEventArgs_Vtbl, 0xccddc46d_ffa8_4877_9f9d_fed7bcaf4104); #[repr(C)] pub struct IEmailMailboxDownloadAttachmentRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxDownloadMessageRequest, IEmailMailboxDownloadMessageRequest_Vtbl, 0x497b4187_5b4d_4b23_816c_f3842beb753e); +windows_core::imp::define_interface!(IEmailMailboxDownloadMessageRequest, IEmailMailboxDownloadMessageRequest_Vtbl, 0x497b4187_5b4d_4b23_816c_f3842beb753e); #[repr(C)] pub struct IEmailMailboxDownloadMessageRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -99,14 +99,14 @@ pub struct IEmailMailboxDownloadMessageRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxDownloadMessageRequestEventArgs, IEmailMailboxDownloadMessageRequestEventArgs_Vtbl, 0x470409ad_d0a0_4a5b_bb2a_37621039c53e); +windows_core::imp::define_interface!(IEmailMailboxDownloadMessageRequestEventArgs, IEmailMailboxDownloadMessageRequestEventArgs_Vtbl, 0x470409ad_d0a0_4a5b_bb2a_37621039c53e); #[repr(C)] pub struct IEmailMailboxDownloadMessageRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxEmptyFolderRequest, IEmailMailboxEmptyFolderRequest_Vtbl, 0xfe4b03ab_f86d_46d9_b4ce_bc8a6d9e9268); +windows_core::imp::define_interface!(IEmailMailboxEmptyFolderRequest, IEmailMailboxEmptyFolderRequest_Vtbl, 0xfe4b03ab_f86d_46d9_b4ce_bc8a6d9e9268); #[repr(C)] pub struct IEmailMailboxEmptyFolderRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -115,14 +115,14 @@ pub struct IEmailMailboxEmptyFolderRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxEmptyFolderRequestEventArgs, IEmailMailboxEmptyFolderRequestEventArgs_Vtbl, 0x7183f484_985a_4ac0_b33f_ee0e2627a3c0); +windows_core::imp::define_interface!(IEmailMailboxEmptyFolderRequestEventArgs, IEmailMailboxEmptyFolderRequestEventArgs_Vtbl, 0x7183f484_985a_4ac0_b33f_ee0e2627a3c0); #[repr(C)] pub struct IEmailMailboxEmptyFolderRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxForwardMeetingRequest, IEmailMailboxForwardMeetingRequest_Vtbl, 0x616d6af1_70d4_4832_b869_b80542ae9be8); +windows_core::imp::define_interface!(IEmailMailboxForwardMeetingRequest, IEmailMailboxForwardMeetingRequest_Vtbl, 0x616d6af1_70d4_4832_b869_b80542ae9be8); #[repr(C)] pub struct IEmailMailboxForwardMeetingRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -139,14 +139,14 @@ pub struct IEmailMailboxForwardMeetingRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxForwardMeetingRequestEventArgs, IEmailMailboxForwardMeetingRequestEventArgs_Vtbl, 0x2bd8f33a_2974_4759_a5a5_58f44d3c0275); +windows_core::imp::define_interface!(IEmailMailboxForwardMeetingRequestEventArgs, IEmailMailboxForwardMeetingRequestEventArgs_Vtbl, 0x2bd8f33a_2974_4759_a5a5_58f44d3c0275); #[repr(C)] pub struct IEmailMailboxForwardMeetingRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxGetAutoReplySettingsRequest, IEmailMailboxGetAutoReplySettingsRequest_Vtbl, 0x9b380789_1e88_4e01_84cc_1386ad9a2c2f); +windows_core::imp::define_interface!(IEmailMailboxGetAutoReplySettingsRequest, IEmailMailboxGetAutoReplySettingsRequest_Vtbl, 0x9b380789_1e88_4e01_84cc_1386ad9a2c2f); #[repr(C)] pub struct IEmailMailboxGetAutoReplySettingsRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -155,14 +155,14 @@ pub struct IEmailMailboxGetAutoReplySettingsRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxGetAutoReplySettingsRequestEventArgs, IEmailMailboxGetAutoReplySettingsRequestEventArgs_Vtbl, 0xd79f55c2_fd45_4004_8a91_9bacf38b7022); +windows_core::imp::define_interface!(IEmailMailboxGetAutoReplySettingsRequestEventArgs, IEmailMailboxGetAutoReplySettingsRequestEventArgs_Vtbl, 0xd79f55c2_fd45_4004_8a91_9bacf38b7022); #[repr(C)] pub struct IEmailMailboxGetAutoReplySettingsRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxMoveFolderRequest, IEmailMailboxMoveFolderRequest_Vtbl, 0x10ba2856_4a95_4068_91cc_67cc7acf454f); +windows_core::imp::define_interface!(IEmailMailboxMoveFolderRequest, IEmailMailboxMoveFolderRequest_Vtbl, 0x10ba2856_4a95_4068_91cc_67cc7acf454f); #[repr(C)] pub struct IEmailMailboxMoveFolderRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -173,14 +173,14 @@ pub struct IEmailMailboxMoveFolderRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxMoveFolderRequestEventArgs, IEmailMailboxMoveFolderRequestEventArgs_Vtbl, 0x38623020_14ba_4c88_8698_7239e3c8aaa7); +windows_core::imp::define_interface!(IEmailMailboxMoveFolderRequestEventArgs, IEmailMailboxMoveFolderRequestEventArgs_Vtbl, 0x38623020_14ba_4c88_8698_7239e3c8aaa7); #[repr(C)] pub struct IEmailMailboxMoveFolderRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxProposeNewTimeForMeetingRequest, IEmailMailboxProposeNewTimeForMeetingRequest_Vtbl, 0x5aeff152_9799_4f9f_a399_ff07f3eef04e); +windows_core::imp::define_interface!(IEmailMailboxProposeNewTimeForMeetingRequest, IEmailMailboxProposeNewTimeForMeetingRequest_Vtbl, 0x5aeff152_9799_4f9f_a399_ff07f3eef04e); #[repr(C)] pub struct IEmailMailboxProposeNewTimeForMeetingRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -193,14 +193,14 @@ pub struct IEmailMailboxProposeNewTimeForMeetingRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxProposeNewTimeForMeetingRequestEventArgs, IEmailMailboxProposeNewTimeForMeetingRequestEventArgs_Vtbl, 0xfb480b98_33ad_4a67_8251_0f9c249b6a20); +windows_core::imp::define_interface!(IEmailMailboxProposeNewTimeForMeetingRequestEventArgs, IEmailMailboxProposeNewTimeForMeetingRequestEventArgs_Vtbl, 0xfb480b98_33ad_4a67_8251_0f9c249b6a20); #[repr(C)] pub struct IEmailMailboxProposeNewTimeForMeetingRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxResolveRecipientsRequest, IEmailMailboxResolveRecipientsRequest_Vtbl, 0xefa4cf70_7b39_4c9b_811e_41eaf43a332d); +windows_core::imp::define_interface!(IEmailMailboxResolveRecipientsRequest, IEmailMailboxResolveRecipientsRequest_Vtbl, 0xefa4cf70_7b39_4c9b_811e_41eaf43a332d); #[repr(C)] pub struct IEmailMailboxResolveRecipientsRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -215,14 +215,14 @@ pub struct IEmailMailboxResolveRecipientsRequest_Vtbl { ReportCompletedAsync: usize, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxResolveRecipientsRequestEventArgs, IEmailMailboxResolveRecipientsRequestEventArgs_Vtbl, 0x260f9e02_b2cf_40f8_8c28_e3ed43b1e89a); +windows_core::imp::define_interface!(IEmailMailboxResolveRecipientsRequestEventArgs, IEmailMailboxResolveRecipientsRequestEventArgs_Vtbl, 0x260f9e02_b2cf_40f8_8c28_e3ed43b1e89a); #[repr(C)] pub struct IEmailMailboxResolveRecipientsRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxServerSearchReadBatchRequest, IEmailMailboxServerSearchReadBatchRequest_Vtbl, 0x090eebdf_5a96_41d3_8ad8_34912f9aa60e); +windows_core::imp::define_interface!(IEmailMailboxServerSearchReadBatchRequest, IEmailMailboxServerSearchReadBatchRequest_Vtbl, 0x090eebdf_5a96_41d3_8ad8_34912f9aa60e); #[repr(C)] pub struct IEmailMailboxServerSearchReadBatchRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -235,14 +235,14 @@ pub struct IEmailMailboxServerSearchReadBatchRequest_Vtbl { 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::EmailBatchStatus, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxServerSearchReadBatchRequestEventArgs, IEmailMailboxServerSearchReadBatchRequestEventArgs_Vtbl, 0x14101b4e_ed9e_45d1_ad7a_cc9b7f643ae2); +windows_core::imp::define_interface!(IEmailMailboxServerSearchReadBatchRequestEventArgs, IEmailMailboxServerSearchReadBatchRequestEventArgs_Vtbl, 0x14101b4e_ed9e_45d1_ad7a_cc9b7f643ae2); #[repr(C)] pub struct IEmailMailboxServerSearchReadBatchRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxSetAutoReplySettingsRequest, IEmailMailboxSetAutoReplySettingsRequest_Vtbl, 0x75a422d0_a88e_4e54_8dc7_c243186b774e); +windows_core::imp::define_interface!(IEmailMailboxSetAutoReplySettingsRequest, IEmailMailboxSetAutoReplySettingsRequest_Vtbl, 0x75a422d0_a88e_4e54_8dc7_c243186b774e); #[repr(C)] pub struct IEmailMailboxSetAutoReplySettingsRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -251,14 +251,14 @@ pub struct IEmailMailboxSetAutoReplySettingsRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxSetAutoReplySettingsRequestEventArgs, IEmailMailboxSetAutoReplySettingsRequestEventArgs_Vtbl, 0x09da11ad_d7ca_4087_ac86_53fa67f76246); +windows_core::imp::define_interface!(IEmailMailboxSetAutoReplySettingsRequestEventArgs, IEmailMailboxSetAutoReplySettingsRequestEventArgs_Vtbl, 0x09da11ad_d7ca_4087_ac86_53fa67f76246); #[repr(C)] pub struct IEmailMailboxSetAutoReplySettingsRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxSyncManagerSyncRequest, IEmailMailboxSyncManagerSyncRequest_Vtbl, 0x4e10e8e4_7e67_405a_b673_dc60c91090fc); +windows_core::imp::define_interface!(IEmailMailboxSyncManagerSyncRequest, IEmailMailboxSyncManagerSyncRequest_Vtbl, 0x4e10e8e4_7e67_405a_b673_dc60c91090fc); #[repr(C)] pub struct IEmailMailboxSyncManagerSyncRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -266,14 +266,14 @@ pub struct IEmailMailboxSyncManagerSyncRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxSyncManagerSyncRequestEventArgs, IEmailMailboxSyncManagerSyncRequestEventArgs_Vtbl, 0x439a031a_8fcc_4ae5_b9b5_d434e0a65aa8); +windows_core::imp::define_interface!(IEmailMailboxSyncManagerSyncRequestEventArgs, IEmailMailboxSyncManagerSyncRequestEventArgs_Vtbl, 0x439a031a_8fcc_4ae5_b9b5_d434e0a65aa8); #[repr(C)] pub struct IEmailMailboxSyncManagerSyncRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxUpdateMeetingResponseRequest, IEmailMailboxUpdateMeetingResponseRequest_Vtbl, 0x5b99ac93_b2cf_4888_ba4f_306b6b66df30); +windows_core::imp::define_interface!(IEmailMailboxUpdateMeetingResponseRequest, IEmailMailboxUpdateMeetingResponseRequest_Vtbl, 0x5b99ac93_b2cf_4888_ba4f_306b6b66df30); #[repr(C)] pub struct IEmailMailboxUpdateMeetingResponseRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -286,14 +286,14 @@ pub struct IEmailMailboxUpdateMeetingResponseRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxUpdateMeetingResponseRequestEventArgs, IEmailMailboxUpdateMeetingResponseRequestEventArgs_Vtbl, 0x6898d761_56c9_4f17_be31_66fda94ba159); +windows_core::imp::define_interface!(IEmailMailboxUpdateMeetingResponseRequestEventArgs, IEmailMailboxUpdateMeetingResponseRequestEventArgs_Vtbl, 0x6898d761_56c9_4f17_be31_66fda94ba159); #[repr(C)] pub struct IEmailMailboxUpdateMeetingResponseRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IEmailMailboxValidateCertificatesRequest, IEmailMailboxValidateCertificatesRequest_Vtbl, 0xa94d3931_e11a_4f97_b81a_187a70a8f41a); +windows_core::imp::define_interface!(IEmailMailboxValidateCertificatesRequest, IEmailMailboxValidateCertificatesRequest_Vtbl, 0xa94d3931_e11a_4f97_b81a_187a70a8f41a); #[repr(C)] pub struct IEmailMailboxValidateCertificatesRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -308,7 +308,7 @@ pub struct IEmailMailboxValidateCertificatesRequest_Vtbl { ReportCompletedAsync: usize, pub ReportFailedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxValidateCertificatesRequestEventArgs, IEmailMailboxValidateCertificatesRequestEventArgs_Vtbl, 0x2583bf17_02ff_49fe_a73c_03f37566c691); +windows_core::imp::define_interface!(IEmailMailboxValidateCertificatesRequestEventArgs, IEmailMailboxValidateCertificatesRequestEventArgs_Vtbl, 0x2583bf17_02ff_49fe_a73c_03f37566c691); #[repr(C)] pub struct IEmailMailboxValidateCertificatesRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs index 1e0e3da254..dce128229c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Email/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "ApplicationModel_Email_DataProvider")] pub mod DataProvider; -windows_core::imp::com_interface!(IEmailAttachment, IEmailAttachment_Vtbl, 0xf353caf9_57c8_4adb_b992_60fceb584f54); +windows_core::imp::define_interface!(IEmailAttachment, IEmailAttachment_Vtbl, 0xf353caf9_57c8_4adb_b992_60fceb584f54); #[repr(C)] pub struct IEmailAttachment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -15,7 +15,7 @@ pub struct IEmailAttachment_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SetData: usize, } -windows_core::imp::com_interface!(IEmailAttachment2, IEmailAttachment2_Vtbl, 0x225f1070_b0ff_4571_9d54_a706c48d55c6); +windows_core::imp::define_interface!(IEmailAttachment2, IEmailAttachment2_Vtbl, 0x225f1070_b0ff_4571_9d54_a706c48d55c6); #[repr(C)] pub struct IEmailAttachment2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -34,7 +34,7 @@ pub struct IEmailAttachment2_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailAttachmentFactory, IEmailAttachmentFactory_Vtbl, 0x796eac46_ed56_4979_8708_abb8bc854b7d); +windows_core::imp::define_interface!(IEmailAttachmentFactory, IEmailAttachmentFactory_Vtbl, 0x796eac46_ed56_4979_8708_abb8bc854b7d); #[repr(C)] pub struct IEmailAttachmentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -43,7 +43,7 @@ pub struct IEmailAttachmentFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Create: usize, } -windows_core::imp::com_interface!(IEmailAttachmentFactory2, IEmailAttachmentFactory2_Vtbl, 0x23259435_51f9_427d_adcd_241023c8cfb7); +windows_core::imp::define_interface!(IEmailAttachmentFactory2, IEmailAttachmentFactory2_Vtbl, 0x23259435_51f9_427d_adcd_241023c8cfb7); #[repr(C)] pub struct IEmailAttachmentFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -52,7 +52,7 @@ pub struct IEmailAttachmentFactory2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Create: usize, } -windows_core::imp::com_interface!(IEmailConversation, IEmailConversation_Vtbl, 0xda18c248_a0bc_4349_902d_90f66389f51b); +windows_core::imp::define_interface!(IEmailConversation, IEmailConversation_Vtbl, 0xda18c248_a0bc_4349_902d_90f66389f51b); #[repr(C)] pub struct IEmailConversation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -78,7 +78,7 @@ pub struct IEmailConversation_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindMessagesWithCountAsync: usize, } -windows_core::imp::com_interface!(IEmailConversationBatch, IEmailConversationBatch_Vtbl, 0xb8c1ab81_01c5_432a_9df1_fe85d98a279a); +windows_core::imp::define_interface!(IEmailConversationBatch, IEmailConversationBatch_Vtbl, 0xb8c1ab81_01c5_432a_9df1_fe85d98a279a); #[repr(C)] pub struct IEmailConversationBatch_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,13 +88,13 @@ pub struct IEmailConversationBatch_Vtbl { Conversations: usize, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailBatchStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailConversationReader, IEmailConversationReader_Vtbl, 0xb4630f82_2875_44c8_9b8c_85beb3a3c653); +windows_core::imp::define_interface!(IEmailConversationReader, IEmailConversationReader_Vtbl, 0xb4630f82_2875_44c8_9b8c_85beb3a3c653); #[repr(C)] pub struct IEmailConversationReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReadBatchAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailFolder, IEmailFolder_Vtbl, 0xa24f7771_996c_4864_b1ba_ed1240e57d11); +windows_core::imp::define_interface!(IEmailFolder, IEmailFolder_Vtbl, 0xa24f7771_996c_4864_b1ba_ed1240e57d11); #[repr(C)] pub struct IEmailFolder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -127,7 +127,7 @@ pub struct IEmailFolder_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailIrmInfo, IEmailIrmInfo_Vtbl, 0x90f52193_b1a0_4ebd_a6b6_ddca55606e0e); +windows_core::imp::define_interface!(IEmailIrmInfo, IEmailIrmInfo_Vtbl, 0x90f52193_b1a0_4ebd_a6b6_ddca55606e0e); #[repr(C)] pub struct IEmailIrmInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -156,13 +156,13 @@ pub struct IEmailIrmInfo_Vtbl { pub Template: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailIrmInfoFactory, IEmailIrmInfoFactory_Vtbl, 0x314bb18c_e3e6_4d7b_be8d_91a96311b01b); +windows_core::imp::define_interface!(IEmailIrmInfoFactory, IEmailIrmInfoFactory_Vtbl, 0x314bb18c_e3e6_4d7b_be8d_91a96311b01b); #[repr(C)] pub struct IEmailIrmInfoFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailIrmTemplate, IEmailIrmTemplate_Vtbl, 0xf327758d_546d_4bea_a963_54a38b2cc016); +windows_core::imp::define_interface!(IEmailIrmTemplate, IEmailIrmTemplate_Vtbl, 0xf327758d_546d_4bea_a963_54a38b2cc016); #[repr(C)] pub struct IEmailIrmTemplate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -173,13 +173,13 @@ pub struct IEmailIrmTemplate_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, } -windows_core::imp::com_interface!(IEmailIrmTemplateFactory, IEmailIrmTemplateFactory_Vtbl, 0x3da31876_8738_4418_b9cb_471b936fe71e); +windows_core::imp::define_interface!(IEmailIrmTemplateFactory, IEmailIrmTemplateFactory_Vtbl, 0x3da31876_8738_4418_b9cb_471b936fe71e); #[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, } -windows_core::imp::com_interface!(IEmailItemCounts, IEmailItemCounts_Vtbl, 0x5bd13321_fec8_4bab_83ba_0baf3c1f6cbd); +windows_core::imp::define_interface!(IEmailItemCounts, IEmailItemCounts_Vtbl, 0x5bd13321_fec8_4bab_83ba_0baf3c1f6cbd); #[repr(C)] pub struct IEmailItemCounts_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -188,7 +188,7 @@ pub struct IEmailItemCounts_Vtbl { pub Total: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Unread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailbox, IEmailMailbox_Vtbl, 0xa8790649_cf5b_411b_80b1_4a6a1484ce25); +windows_core::imp::define_interface!(IEmailMailbox, IEmailMailbox_Vtbl, 0xa8790649_cf5b_411b_80b1_4a6a1484ce25); #[repr(C)] pub struct IEmailMailbox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -249,7 +249,7 @@ pub struct IEmailMailbox_Vtbl { pub TrySetAutoReplySettingsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryGetAutoReplySettingsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, EmailMailboxAutoReplyMessageResponseKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailbox2, IEmailMailbox2_Vtbl, 0x14f8e404_6ca2_4ab2_9241_79cd7bf46346); +windows_core::imp::define_interface!(IEmailMailbox2, IEmailMailbox2_Vtbl, 0x14f8e404_6ca2_4ab2_9241_79cd7bf46346); #[repr(C)] pub struct IEmailMailbox2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -257,7 +257,7 @@ pub struct IEmailMailbox2_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailbox3, IEmailMailbox3_Vtbl, 0x3da5897b_458b_408a_8e37_ac8b05d8af56); +windows_core::imp::define_interface!(IEmailMailbox3, IEmailMailbox3_Vtbl, 0x3da5897b_458b_408a_8e37_ac8b05d8af56); #[repr(C)] pub struct IEmailMailbox3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -273,26 +273,26 @@ pub struct IEmailMailbox3_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailbox4, IEmailMailbox4_Vtbl, 0x5d1f301b_f222_48a7_b7b6_716356cd26a1); +windows_core::imp::define_interface!(IEmailMailbox4, IEmailMailbox4_Vtbl, 0x5d1f301b_f222_48a7_b7b6_716356cd26a1); #[repr(C)] pub struct IEmailMailbox4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RegisterSyncManagerAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailbox5, IEmailMailbox5_Vtbl, 0x39967087_0092_49be_bd0e_5d4dc9d96d90); +windows_core::imp::define_interface!(IEmailMailbox5, IEmailMailbox5_Vtbl, 0x39967087_0092_49be_bd0e_5d4dc9d96d90); #[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, } -windows_core::imp::com_interface!(IEmailMailboxAction, IEmailMailboxAction_Vtbl, 0xac9889fa_21fa_4927_9210_d410582fdf3e); +windows_core::imp::define_interface!(IEmailMailboxAction, IEmailMailboxAction_Vtbl, 0xac9889fa_21fa_4927_9210_d410582fdf3e); #[repr(C)] pub struct IEmailMailboxAction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailMailboxActionKind) -> windows_core::HRESULT, pub ChangeNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxAutoReply, IEmailMailboxAutoReply_Vtbl, 0xe223254c_8ab4_485b_b31f_04d15476bd59); +windows_core::imp::define_interface!(IEmailMailboxAutoReply, IEmailMailboxAutoReply_Vtbl, 0xe223254c_8ab4_485b_b31f_04d15476bd59); #[repr(C)] pub struct IEmailMailboxAutoReply_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -301,7 +301,7 @@ pub struct IEmailMailboxAutoReply_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMailboxAutoReplySettings, IEmailMailboxAutoReplySettings_Vtbl, 0xa87a9fa8_0ac6_4b77_ba77_a6b99e9a27b8); +windows_core::imp::define_interface!(IEmailMailboxAutoReplySettings, IEmailMailboxAutoReplySettings_Vtbl, 0xa87a9fa8_0ac6_4b77_ba77_a6b99e9a27b8); #[repr(C)] pub struct IEmailMailboxAutoReplySettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -317,7 +317,7 @@ pub struct IEmailMailboxAutoReplySettings_Vtbl { pub KnownExternalReply: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnknownExternalReply: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxCapabilities, IEmailMailboxCapabilities_Vtbl, 0xeedec3a6_89db_4305_82c4_439e0a33da11); +windows_core::imp::define_interface!(IEmailMailboxCapabilities, IEmailMailboxCapabilities_Vtbl, 0xeedec3a6_89db_4305_82c4_439e0a33da11); #[repr(C)] pub struct IEmailMailboxCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -330,7 +330,7 @@ pub struct IEmailMailboxCapabilities_Vtbl { pub CanProposeNewTimeForMeetings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub CanSmartSend: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxCapabilities2, IEmailMailboxCapabilities2_Vtbl, 0x69723ee4_2f21_4cbc_88ab_2e7602a4806b); +windows_core::imp::define_interface!(IEmailMailboxCapabilities2, IEmailMailboxCapabilities2_Vtbl, 0x69723ee4_2f21_4cbc_88ab_2e7602a4806b); #[repr(C)] pub struct IEmailMailboxCapabilities2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -341,7 +341,7 @@ pub struct IEmailMailboxCapabilities2_Vtbl { pub CanDeleteFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub CanMoveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxCapabilities3, IEmailMailboxCapabilities3_Vtbl, 0xf690e944_56f2_45aa_872c_0ce9f3db0b5c); +windows_core::imp::define_interface!(IEmailMailboxCapabilities3, IEmailMailboxCapabilities3_Vtbl, 0xf690e944_56f2_45aa_872c_0ce9f3db0b5c); #[repr(C)] pub struct IEmailMailboxCapabilities3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -360,7 +360,7 @@ pub struct IEmailMailboxCapabilities3_Vtbl { pub SetCanDeleteFolder: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub SetCanMoveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxChange, IEmailMailboxChange_Vtbl, 0x61edf54b_11ef_400c_adde_8cde65c85e66); +windows_core::imp::define_interface!(IEmailMailboxChange, IEmailMailboxChange_Vtbl, 0x61edf54b_11ef_400c_adde_8cde65c85e66); #[repr(C)] pub struct IEmailMailboxChange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -372,7 +372,7 @@ pub struct IEmailMailboxChange_Vtbl { pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Folder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxChangeReader, IEmailMailboxChangeReader_Vtbl, 0xbdbd0ebb_c53d_4331_97be_be75a2146a75); +windows_core::imp::define_interface!(IEmailMailboxChangeReader, IEmailMailboxChangeReader_Vtbl, 0xbdbd0ebb_c53d_4331_97be_be75a2146a75); #[repr(C)] pub struct IEmailMailboxChangeReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -383,7 +383,7 @@ pub struct IEmailMailboxChangeReader_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadBatchAsync: usize, } -windows_core::imp::com_interface!(IEmailMailboxChangeTracker, IEmailMailboxChangeTracker_Vtbl, 0x7ae48638_5166_42b7_8882_fd21c92bdd4b); +windows_core::imp::define_interface!(IEmailMailboxChangeTracker, IEmailMailboxChangeTracker_Vtbl, 0x7ae48638_5166_42b7_8882_fd21c92bdd4b); #[repr(C)] pub struct IEmailMailboxChangeTracker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -392,26 +392,26 @@ pub struct IEmailMailboxChangeTracker_Vtbl { pub GetChangeReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxChangedDeferral, IEmailMailboxChangedDeferral_Vtbl, 0x779a74c1_97c5_4b54_b30d_306232623e6d); +windows_core::imp::define_interface!(IEmailMailboxChangedDeferral, IEmailMailboxChangedDeferral_Vtbl, 0x779a74c1_97c5_4b54_b30d_306232623e6d); #[repr(C)] pub struct IEmailMailboxChangedDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxChangedEventArgs, IEmailMailboxChangedEventArgs_Vtbl, 0x3cfd5f6e_01d4_4e4a_a44c_b22dd42ec207); +windows_core::imp::define_interface!(IEmailMailboxChangedEventArgs, IEmailMailboxChangedEventArgs_Vtbl, 0x3cfd5f6e_01d4_4e4a_a44c_b22dd42ec207); #[repr(C)] pub struct IEmailMailboxChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxCreateFolderResult, IEmailMailboxCreateFolderResult_Vtbl, 0xb228557f_2885_4998_b595_8a2d374ce950); +windows_core::imp::define_interface!(IEmailMailboxCreateFolderResult, IEmailMailboxCreateFolderResult_Vtbl, 0xb228557f_2885_4998_b595_8a2d374ce950); #[repr(C)] pub struct IEmailMailboxCreateFolderResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailMailboxCreateFolderStatus) -> windows_core::HRESULT, pub Folder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxPolicies, IEmailMailboxPolicies_Vtbl, 0x1f3345c5_1c3b_4dc7_b410_6373783e545d); +windows_core::imp::define_interface!(IEmailMailboxPolicies, IEmailMailboxPolicies_Vtbl, 0x1f3345c5_1c3b_4dc7_b410_6373783e545d); #[repr(C)] pub struct IEmailMailboxPolicies_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -420,14 +420,14 @@ pub struct IEmailMailboxPolicies_Vtbl { pub RequiredSmimeEncryptionAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequiredSmimeSigningAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxPolicies2, IEmailMailboxPolicies2_Vtbl, 0xbab58afb_a14b_497c_a8e2_55eac29cc4b5); +windows_core::imp::define_interface!(IEmailMailboxPolicies2, IEmailMailboxPolicies2_Vtbl, 0xbab58afb_a14b_497c_a8e2_55eac29cc4b5); #[repr(C)] pub struct IEmailMailboxPolicies2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MustEncryptSmimeMessages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub MustSignSmimeMessages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxPolicies3, IEmailMailboxPolicies3_Vtbl, 0xbdd4a01f_4867_414a_81a2_803919c44191); +windows_core::imp::define_interface!(IEmailMailboxPolicies3, IEmailMailboxPolicies3_Vtbl, 0xbdd4a01f_4867_414a_81a2_803919c44191); #[repr(C)] pub struct IEmailMailboxPolicies3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -438,7 +438,7 @@ pub struct IEmailMailboxPolicies3_Vtbl { pub SetMustEncryptSmimeMessages: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub SetMustSignSmimeMessages: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxSyncManager, IEmailMailboxSyncManager_Vtbl, 0x517ac55a_3591_4b5d_85bc_c71dde862263); +windows_core::imp::define_interface!(IEmailMailboxSyncManager, IEmailMailboxSyncManager_Vtbl, 0x517ac55a_3591_4b5d_85bc_c71dde862263); #[repr(C)] pub struct IEmailMailboxSyncManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -449,7 +449,7 @@ pub struct IEmailMailboxSyncManager_Vtbl { pub SyncStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSyncStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMailboxSyncManager2, IEmailMailboxSyncManager2_Vtbl, 0xcd8dc97e_95c1_4f89_81b7_e6aecb6695fc); +windows_core::imp::define_interface!(IEmailMailboxSyncManager2, IEmailMailboxSyncManager2_Vtbl, 0xcd8dc97e_95c1_4f89_81b7_e6aecb6695fc); #[repr(C)] pub struct IEmailMailboxSyncManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -457,7 +457,7 @@ pub struct IEmailMailboxSyncManager2_Vtbl { pub SetLastSuccessfulSyncTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, pub SetLastAttemptedSyncTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailManagerForUser, IEmailManagerForUser_Vtbl, 0xf773de9f_3ca5_4b0f_90c1_156e40174ce5); +windows_core::imp::define_interface!(IEmailManagerForUser, IEmailManagerForUser_Vtbl, 0xf773de9f_3ca5_4b0f_90c1_156e40174ce5); #[repr(C)] pub struct IEmailManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -468,19 +468,19 @@ pub struct IEmailManagerForUser_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IEmailManagerStatics, IEmailManagerStatics_Vtbl, 0xf5128654_55c5_4890_a824_216c2618ce7f); +windows_core::imp::define_interface!(IEmailManagerStatics, IEmailManagerStatics_Vtbl, 0xf5128654_55c5_4890_a824_216c2618ce7f); #[repr(C)] pub struct IEmailManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShowComposeNewEmailAsync: 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::com_interface!(IEmailManagerStatics2, IEmailManagerStatics2_Vtbl, 0xac052da3_b194_425d_b6d9_d0f04135eda2); +windows_core::imp::define_interface!(IEmailManagerStatics2, IEmailManagerStatics2_Vtbl, 0xac052da3_b194_425d_b6d9_d0f04135eda2); #[repr(C)] pub struct IEmailManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestStoreAsync: unsafe extern "system" fn(*mut core::ffi::c_void, EmailStoreAccessType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailManagerStatics3, IEmailManagerStatics3_Vtbl, 0x4a722395_843e_4945_b3aa_349e07a362c5); +windows_core::imp::define_interface!(IEmailManagerStatics3, IEmailManagerStatics3_Vtbl, 0x4a722395_843e_4945_b3aa_349e07a362c5); #[repr(C)] pub struct IEmailManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -489,7 +489,7 @@ pub struct IEmailManagerStatics3_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IEmailMeetingInfo, IEmailMeetingInfo_Vtbl, 0x31c03fa9_7933_415f_a275_d165ba07026b); +windows_core::imp::define_interface!(IEmailMeetingInfo, IEmailMeetingInfo_Vtbl, 0x31c03fa9_7933_415f_a275_d165ba07026b); #[repr(C)] pub struct IEmailMeetingInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -526,13 +526,13 @@ pub struct IEmailMeetingInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailMeetingInfo2, IEmailMeetingInfo2_Vtbl, 0x7e59386d_b0d9_4fe5_867c_e31ed2b588b8); +windows_core::imp::define_interface!(IEmailMeetingInfo2, IEmailMeetingInfo2_Vtbl, 0x7e59386d_b0d9_4fe5_867c_e31ed2b588b8); #[repr(C)] pub struct IEmailMeetingInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsReportedOutOfDateByServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMessage, IEmailMessage_Vtbl, 0x6c6d948d_80b5_48f8_b0b1_e04e430f44e5); +windows_core::imp::define_interface!(IEmailMessage, IEmailMessage_Vtbl, 0x6c6d948d_80b5_48f8_b0b1_e04e430f44e5); #[repr(C)] pub struct IEmailMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -557,7 +557,7 @@ pub struct IEmailMessage_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Attachments: usize, } -windows_core::imp::com_interface!(IEmailMessage2, IEmailMessage2_Vtbl, 0xfdc8248b_9f1a_44db_bd3c_65c384770f86); +windows_core::imp::define_interface!(IEmailMessage2, IEmailMessage2_Vtbl, 0xfdc8248b_9f1a_44db_bd3c_65c384770f86); #[repr(C)] pub struct IEmailMessage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -613,7 +613,7 @@ pub struct IEmailMessage2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SetBodyStream: usize, } -windows_core::imp::com_interface!(IEmailMessage3, IEmailMessage3_Vtbl, 0xa1ea675c_e598_4d29_a018_fc7b7eece0a1); +windows_core::imp::define_interface!(IEmailMessage3, IEmailMessage3_Vtbl, 0xa1ea675c_e598_4d29_a018_fc7b7eece0a1); #[repr(C)] pub struct IEmailMessage3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -628,7 +628,7 @@ pub struct IEmailMessage3_Vtbl { pub SmimeKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailMessageSmimeKind) -> windows_core::HRESULT, pub SetSmimeKind: unsafe extern "system" fn(*mut core::ffi::c_void, EmailMessageSmimeKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMessage4, IEmailMessage4_Vtbl, 0x317cf181_3e7f_4a05_8394_3e10336dd435); +windows_core::imp::define_interface!(IEmailMessage4, IEmailMessage4_Vtbl, 0x317cf181_3e7f_4a05_8394_3e10336dd435); #[repr(C)] pub struct IEmailMessage4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -639,7 +639,7 @@ pub struct IEmailMessage4_Vtbl { pub SentRepresenting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSentRepresenting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMessageBatch, IEmailMessageBatch_Vtbl, 0x605cd08f_25d9_4f1b_9e51_0514c0149653); +windows_core::imp::define_interface!(IEmailMessageBatch, IEmailMessageBatch_Vtbl, 0x605cd08f_25d9_4f1b_9e51_0514c0149653); #[repr(C)] pub struct IEmailMessageBatch_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -649,13 +649,13 @@ pub struct IEmailMessageBatch_Vtbl { Messages: usize, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EmailBatchStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailMessageReader, IEmailMessageReader_Vtbl, 0x2f4abe9f_6213_4a85_a3b0_f92d1a839d19); +windows_core::imp::define_interface!(IEmailMessageReader, IEmailMessageReader_Vtbl, 0x2f4abe9f_6213_4a85_a3b0_f92d1a839d19); #[repr(C)] pub struct IEmailMessageReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReadBatchAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailQueryOptions, IEmailQueryOptions_Vtbl, 0x45504b9b_3e7f_4d52_b6dd_d6fd4e1fbd9a); +windows_core::imp::define_interface!(IEmailQueryOptions, IEmailQueryOptions_Vtbl, 0x45504b9b_3e7f_4d52_b6dd_d6fd4e1fbd9a); #[repr(C)] pub struct IEmailQueryOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -671,14 +671,14 @@ pub struct IEmailQueryOptions_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FolderIds: usize, } -windows_core::imp::com_interface!(IEmailQueryOptionsFactory, IEmailQueryOptionsFactory_Vtbl, 0x88f1a1b8_78ab_4ee8_b4e3_046d6e2fe5e2); +windows_core::imp::define_interface!(IEmailQueryOptionsFactory, IEmailQueryOptionsFactory_Vtbl, 0x88f1a1b8_78ab_4ee8_b4e3_046d6e2fe5e2); #[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, } -windows_core::imp::com_interface!(IEmailQueryTextSearch, IEmailQueryTextSearch_Vtbl, 0x9fa0a288_3c5d_46a5_a6e2_31d6fd17e540); +windows_core::imp::define_interface!(IEmailQueryTextSearch, IEmailQueryTextSearch_Vtbl, 0x9fa0a288_3c5d_46a5_a6e2_31d6fd17e540); #[repr(C)] pub struct IEmailQueryTextSearch_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -689,7 +689,7 @@ pub struct IEmailQueryTextSearch_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, } -windows_core::imp::com_interface!(IEmailRecipient, IEmailRecipient_Vtbl, 0xcae825b3_4478_4814_b900_c902b5e19b53); +windows_core::imp::define_interface!(IEmailRecipient, IEmailRecipient_Vtbl, 0xcae825b3_4478_4814_b900_c902b5e19b53); #[repr(C)] pub struct IEmailRecipient_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -698,14 +698,14 @@ pub struct IEmailRecipient_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, } -windows_core::imp::com_interface!(IEmailRecipientFactory, IEmailRecipientFactory_Vtbl, 0x5500b84d_c79a_4ef8_b909_722e18e3935d); +windows_core::imp::define_interface!(IEmailRecipientFactory, IEmailRecipientFactory_Vtbl, 0x5500b84d_c79a_4ef8_b909_722e18e3935d); #[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, } -windows_core::imp::com_interface!(IEmailRecipientResolutionResult, IEmailRecipientResolutionResult_Vtbl, 0x918338fa_8d8d_4573_80d1_07172a34b98d); +windows_core::imp::define_interface!(IEmailRecipientResolutionResult, IEmailRecipientResolutionResult_Vtbl, 0x918338fa_8d8d_4573_80d1_07172a34b98d); #[repr(C)] pub struct IEmailRecipientResolutionResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -715,7 +715,7 @@ pub struct IEmailRecipientResolutionResult_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates")))] PublicKeys: usize, } -windows_core::imp::com_interface!(IEmailRecipientResolutionResult2, IEmailRecipientResolutionResult2_Vtbl, 0x5e420bb6_ce5b_4bde_b9d4_e16da0b09fca); +windows_core::imp::define_interface!(IEmailRecipientResolutionResult2, IEmailRecipientResolutionResult2_Vtbl, 0x5e420bb6_ce5b_4bde_b9d4_e16da0b09fca); #[repr(C)] pub struct IEmailRecipientResolutionResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -725,7 +725,7 @@ pub struct IEmailRecipientResolutionResult2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates")))] SetPublicKeys: usize, } -windows_core::imp::com_interface!(IEmailStore, IEmailStore_Vtbl, 0xf803226e_9137_4f8b_a470_279ac3058eb6); +windows_core::imp::define_interface!(IEmailStore, IEmailStore_Vtbl, 0xf803226e_9137_4f8b_a470_279ac3058eb6); #[repr(C)] pub struct IEmailStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -744,7 +744,7 @@ pub struct IEmailStore_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailStoreNotificationTriggerDetails, IEmailStoreNotificationTriggerDetails_Vtbl, 0xce17563c_46e6_43c9_96f7_facf7dd710cb); +windows_core::imp::define_interface!(IEmailStoreNotificationTriggerDetails, IEmailStoreNotificationTriggerDetails_Vtbl, 0xce17563c_46e6_43c9_96f7_facf7dd710cb); #[repr(C)] pub struct IEmailStoreNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 4a96dc0581..26f693cc46 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/Foreground/mod.rs @@ -1,10 +1,10 @@ -windows_core::imp::com_interface!(IExtendedExecutionForegroundRevokedEventArgs, IExtendedExecutionForegroundRevokedEventArgs_Vtbl, 0xb07cd940_9557_aea4_2c99_bdd56d9be461); +windows_core::imp::define_interface!(IExtendedExecutionForegroundRevokedEventArgs, IExtendedExecutionForegroundRevokedEventArgs_Vtbl, 0xb07cd940_9557_aea4_2c99_bdd56d9be461); #[repr(C)] pub struct IExtendedExecutionForegroundRevokedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ExtendedExecutionForegroundRevokedReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExtendedExecutionForegroundSession, IExtendedExecutionForegroundSession_Vtbl, 0xfbf440e1_9d10_4201_b01e_c83275296f2e); +windows_core::imp::define_interface!(IExtendedExecutionForegroundSession, IExtendedExecutionForegroundSession_Vtbl, 0xfbf440e1_9d10_4201_b01e_c83275296f2e); #[repr(C)] pub struct IExtendedExecutionForegroundSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs index 0444235703..fc2b3601bf 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/ExtendedExecution/mod.rs @@ -1,12 +1,12 @@ #[cfg(feature = "ApplicationModel_ExtendedExecution_Foreground")] pub mod Foreground; -windows_core::imp::com_interface!(IExtendedExecutionRevokedEventArgs, IExtendedExecutionRevokedEventArgs_Vtbl, 0xbfbc9f16_63b5_4c0b_aad6_828af5373ec3); +windows_core::imp::define_interface!(IExtendedExecutionRevokedEventArgs, IExtendedExecutionRevokedEventArgs_Vtbl, 0xbfbc9f16_63b5_4c0b_aad6_828af5373ec3); #[repr(C)] pub struct IExtendedExecutionRevokedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ExtendedExecutionRevokedReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExtendedExecutionSession, IExtendedExecutionSession_Vtbl, 0xaf908a2d_118b_48f1_9308_0c4fc41e200f); +windows_core::imp::define_interface!(IExtendedExecutionSession, IExtendedExecutionSession_Vtbl, 0xaf908a2d_118b_48f1_9308_0c4fc41e200f); #[repr(C)] pub struct IExtendedExecutionSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs index 97e4464ea4..71155b87bd 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Holographic/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IHolographicKeyboard, IHolographicKeyboard_Vtbl, 0x07dd0893_aa21_5e6f_a91b_11b2b3fd7be3); +windows_core::imp::define_interface!(IHolographicKeyboard, IHolographicKeyboard_Vtbl, 0x07dd0893_aa21_5e6f_a91b_11b2b3fd7be3); #[repr(C)] pub struct IHolographicKeyboard_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -12,7 +12,7 @@ pub struct IHolographicKeyboard_Vtbl { SetPlacementOverrideWithMaxSize: usize, pub ResetPlacementOverride: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicKeyboardStatics, IHolographicKeyboardStatics_Vtbl, 0xb676c624_63d7_58cf_b06b_08baa032a23f); +windows_core::imp::define_interface!(IHolographicKeyboardStatics, IHolographicKeyboardStatics_Vtbl, 0xb676c624_63d7_58cf_b06b_08baa032a23f); #[repr(C)] pub struct IHolographicKeyboardStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs index b3705c9df5..0c72d5fdf2 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/LockScreen/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ILockApplicationHost, ILockApplicationHost_Vtbl, 0x38ee31ad_d94f_4e7c_81fa_4f4436506281); +windows_core::imp::define_interface!(ILockApplicationHost, ILockApplicationHost_Vtbl, 0x38ee31ad_d94f_4e7c_81fa_4f4436506281); #[repr(C)] pub struct ILockApplicationHost_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,13 +6,13 @@ pub struct ILockApplicationHost_Vtbl { pub Unlocking: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveUnlocking: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILockApplicationHostStatics, ILockApplicationHostStatics_Vtbl, 0xf48fab8e_23d7_4e63_96a1_666ff52d3b2c); +windows_core::imp::define_interface!(ILockApplicationHostStatics, ILockApplicationHostStatics_Vtbl, 0xf48fab8e_23d7_4e63_96a1_666ff52d3b2c); #[repr(C)] pub struct ILockApplicationHostStatics_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, } -windows_core::imp::com_interface!(ILockScreenBadge, ILockScreenBadge_Vtbl, 0xe95105d9_2bff_4db0_9b4f_3824778b9c9a); +windows_core::imp::define_interface!(ILockScreenBadge, ILockScreenBadge_Vtbl, 0xe95105d9_2bff_4db0_9b4f_3824778b9c9a); #[repr(C)] pub struct ILockScreenBadge_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -28,7 +28,7 @@ pub struct ILockScreenBadge_Vtbl { pub AutomationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub LaunchApp: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILockScreenInfo, ILockScreenInfo_Vtbl, 0xf59aa65c_9711_4dc9_a630_95b6cb8cdad0); +windows_core::imp::define_interface!(ILockScreenInfo, ILockScreenInfo_Vtbl, 0xf59aa65c_9711_4dc9_a630_95b6cb8cdad0); #[repr(C)] pub struct ILockScreenInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,13 +57,13 @@ pub struct ILockScreenInfo_Vtbl { #[cfg(not(feature = "Storage_Streams"))] AlarmIcon: usize, } -windows_core::imp::com_interface!(ILockScreenUnlockingDeferral, ILockScreenUnlockingDeferral_Vtbl, 0x7e7d1ad6_5203_43e7_9bd6_7c3947d1e3fe); +windows_core::imp::define_interface!(ILockScreenUnlockingDeferral, ILockScreenUnlockingDeferral_Vtbl, 0x7e7d1ad6_5203_43e7_9bd6_7c3947d1e3fe); #[repr(C)] pub struct ILockScreenUnlockingDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILockScreenUnlockingEventArgs, ILockScreenUnlockingEventArgs_Vtbl, 0x44e6c007_75fb_4abb_9f8b_824748900c71); +windows_core::imp::define_interface!(ILockScreenUnlockingEventArgs, ILockScreenUnlockingEventArgs_Vtbl, 0x44e6c007_75fb_4abb_9f8b_824748900c71); #[repr(C)] pub struct ILockScreenUnlockingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 2f90d1de7d..0fd4f665a1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/Provider/mod.rs @@ -1,11 +1,11 @@ -windows_core::imp::com_interface!(IPaymentAppCanMakePaymentTriggerDetails, IPaymentAppCanMakePaymentTriggerDetails_Vtbl, 0x0ce201f0_8b93_4eb6_8c46_2e4a6c6a26f6); +windows_core::imp::define_interface!(IPaymentAppCanMakePaymentTriggerDetails, IPaymentAppCanMakePaymentTriggerDetails_Vtbl, 0x0ce201f0_8b93_4eb6_8c46_2e4a6c6a26f6); #[repr(C)] pub struct IPaymentAppCanMakePaymentTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportCanMakePaymentResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentAppManager, IPaymentAppManager_Vtbl, 0x0e47aa53_8521_4969_a957_df2538a3a98f); +windows_core::imp::define_interface!(IPaymentAppManager, IPaymentAppManager_Vtbl, 0x0e47aa53_8521_4969_a957_df2538a3a98f); #[repr(C)] pub struct IPaymentAppManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -15,13 +15,13 @@ pub struct IPaymentAppManager_Vtbl { RegisterAsync: usize, pub UnregisterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentAppManagerStatics, IPaymentAppManagerStatics_Vtbl, 0xa341ac28_fc89_4406_b4d9_34e7fe79dfb6); +windows_core::imp::define_interface!(IPaymentAppManagerStatics, IPaymentAppManagerStatics_Vtbl, 0xa341ac28_fc89_4406_b4d9_34e7fe79dfb6); #[repr(C)] pub struct IPaymentAppManagerStatics_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, } -windows_core::imp::com_interface!(IPaymentTransaction, IPaymentTransaction_Vtbl, 0x62581da0_26a5_4e9b_a6eb_66606cf001d3); +windows_core::imp::define_interface!(IPaymentTransaction, IPaymentTransaction_Vtbl, 0x62581da0_26a5_4e9b_a6eb_66606cf001d3); #[repr(C)] pub struct IPaymentTransaction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,13 +37,13 @@ pub struct IPaymentTransaction_Vtbl { 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, pub Reject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentTransactionAcceptResult, IPaymentTransactionAcceptResult_Vtbl, 0x060e3276_d30c_4817_95a2_df7ae9273b56); +windows_core::imp::define_interface!(IPaymentTransactionAcceptResult, IPaymentTransactionAcceptResult_Vtbl, 0x060e3276_d30c_4817_95a2_df7ae9273b56); #[repr(C)] pub struct IPaymentTransactionAcceptResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::PaymentRequestCompletionStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentTransactionStatics, IPaymentTransactionStatics_Vtbl, 0x8d639750_ee0a_4df5_9b1e_1c0f9ec59881); +windows_core::imp::define_interface!(IPaymentTransactionStatics, IPaymentTransactionStatics_Vtbl, 0x8d639750_ee0a_4df5_9b1e_1c0f9ec59881); #[repr(C)] pub struct IPaymentTransactionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs index cebdf7f57d..e619d61056 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "ApplicationModel_Payments_Provider")] pub mod Provider; -windows_core::imp::com_interface!(IPaymentAddress, IPaymentAddress_Vtbl, 0x5f2264e9_6f3a_4166_a018_0a0b06bb32b5); +windows_core::imp::define_interface!(IPaymentAddress, IPaymentAddress_Vtbl, 0x5f2264e9_6f3a_4166_a018_0a0b06bb32b5); #[repr(C)] pub struct IPaymentAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,19 +37,19 @@ pub struct IPaymentAddress_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IPaymentCanMakePaymentResult, IPaymentCanMakePaymentResult_Vtbl, 0x7696fe55_d5d3_4d3d_b345_45591759c510); +windows_core::imp::define_interface!(IPaymentCanMakePaymentResult, IPaymentCanMakePaymentResult_Vtbl, 0x7696fe55_d5d3_4d3d_b345_45591759c510); #[repr(C)] pub struct IPaymentCanMakePaymentResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PaymentCanMakePaymentResultStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentCanMakePaymentResultFactory, IPaymentCanMakePaymentResultFactory_Vtbl, 0xbbdcaa3e_7d49_4f69_aa53_2a0f8164b7c9); +windows_core::imp::define_interface!(IPaymentCanMakePaymentResultFactory, IPaymentCanMakePaymentResultFactory_Vtbl, 0xbbdcaa3e_7d49_4f69_aa53_2a0f8164b7c9); #[repr(C)] pub struct IPaymentCanMakePaymentResultFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, PaymentCanMakePaymentResultStatus, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentCurrencyAmount, IPaymentCurrencyAmount_Vtbl, 0xe3a3e9e0_b41f_4987_bdcb_071331f2daa4); +windows_core::imp::define_interface!(IPaymentCurrencyAmount, IPaymentCurrencyAmount_Vtbl, 0xe3a3e9e0_b41f_4987_bdcb_071331f2daa4); #[repr(C)] pub struct IPaymentCurrencyAmount_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -60,14 +60,14 @@ pub struct IPaymentCurrencyAmount_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, } -windows_core::imp::com_interface!(IPaymentCurrencyAmountFactory, IPaymentCurrencyAmountFactory_Vtbl, 0x3257d338_140c_4575_8535_f773178c09a7); +windows_core::imp::define_interface!(IPaymentCurrencyAmountFactory, IPaymentCurrencyAmountFactory_Vtbl, 0x3257d338_140c_4575_8535_f773178c09a7); #[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, } -windows_core::imp::com_interface!(IPaymentDetails, IPaymentDetails_Vtbl, 0x53bb2d7d_e0eb_4053_8eae_ce7c48e02945); +windows_core::imp::define_interface!(IPaymentDetails, IPaymentDetails_Vtbl, 0x53bb2d7d_e0eb_4053_8eae_ce7c48e02945); #[repr(C)] pub struct IPaymentDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -98,7 +98,7 @@ pub struct IPaymentDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetModifiers: usize, } -windows_core::imp::com_interface!(IPaymentDetailsFactory, IPaymentDetailsFactory_Vtbl, 0xcfe8afee_c0ea_4ca1_8bc7_6de67b1f3763); +windows_core::imp::define_interface!(IPaymentDetailsFactory, IPaymentDetailsFactory_Vtbl, 0xcfe8afee_c0ea_4ca1_8bc7_6de67b1f3763); #[repr(C)] pub struct IPaymentDetailsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -108,7 +108,7 @@ pub struct IPaymentDetailsFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithDisplayItems: usize, } -windows_core::imp::com_interface!(IPaymentDetailsModifier, IPaymentDetailsModifier_Vtbl, 0xbe1c7d65_4323_41d7_b305_dfcb765f69de); +windows_core::imp::define_interface!(IPaymentDetailsModifier, IPaymentDetailsModifier_Vtbl, 0xbe1c7d65_4323_41d7_b305_dfcb765f69de); #[repr(C)] pub struct IPaymentDetailsModifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -123,7 +123,7 @@ pub struct IPaymentDetailsModifier_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AdditionalDisplayItems: usize, } -windows_core::imp::com_interface!(IPaymentDetailsModifierFactory, IPaymentDetailsModifierFactory_Vtbl, 0x79005286_54de_429c_9e4f_5dce6e10ebce); +windows_core::imp::define_interface!(IPaymentDetailsModifierFactory, IPaymentDetailsModifierFactory_Vtbl, 0x79005286_54de_429c_9e4f_5dce6e10ebce); #[repr(C)] pub struct IPaymentDetailsModifierFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -140,7 +140,7 @@ pub struct IPaymentDetailsModifierFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithAdditionalDisplayItemsAndJsonData: usize, } -windows_core::imp::com_interface!(IPaymentItem, IPaymentItem_Vtbl, 0x685ac88b_79b2_4b76_9e03_a876223dfe72); +windows_core::imp::define_interface!(IPaymentItem, IPaymentItem_Vtbl, 0x685ac88b_79b2_4b76_9e03_a876223dfe72); #[repr(C)] pub struct IPaymentItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -151,13 +151,13 @@ pub struct IPaymentItem_Vtbl { pub Pending: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetPending: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentItemFactory, IPaymentItemFactory_Vtbl, 0xc6ab7ad8_2503_4d1d_a778_02b2e5927b2c); +windows_core::imp::define_interface!(IPaymentItemFactory, IPaymentItemFactory_Vtbl, 0xc6ab7ad8_2503_4d1d_a778_02b2e5927b2c); #[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, } -windows_core::imp::com_interface!(IPaymentMediator, IPaymentMediator_Vtbl, 0xfb0ee829_ec0c_449a_83da_7ae3073365a2); +windows_core::imp::define_interface!(IPaymentMediator, IPaymentMediator_Vtbl, 0xfb0ee829_ec0c_449a_83da_7ae3073365a2); #[repr(C)] pub struct IPaymentMediator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -168,26 +168,26 @@ pub struct IPaymentMediator_Vtbl { pub SubmitPaymentRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SubmitPaymentRequestWithChangeHandlerAsync: 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::com_interface!(IPaymentMediator2, IPaymentMediator2_Vtbl, 0xceef98f1_e407_4128_8e73_d93d5f822786); +windows_core::imp::define_interface!(IPaymentMediator2, IPaymentMediator2_Vtbl, 0xceef98f1_e407_4128_8e73_d93d5f822786); #[repr(C)] pub struct IPaymentMediator2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CanMakePaymentAsync: 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::com_interface!(IPaymentMerchantInfo, IPaymentMerchantInfo_Vtbl, 0x63445050_0e94_4ed6_aacb_e6012bd327a7); +windows_core::imp::define_interface!(IPaymentMerchantInfo, IPaymentMerchantInfo_Vtbl, 0x63445050_0e94_4ed6_aacb_e6012bd327a7); #[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 Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentMerchantInfoFactory, IPaymentMerchantInfoFactory_Vtbl, 0x9e89ced3_ccb7_4167_a8ec_e10ae96dbcd1); +windows_core::imp::define_interface!(IPaymentMerchantInfoFactory, IPaymentMerchantInfoFactory_Vtbl, 0x9e89ced3_ccb7_4167_a8ec_e10ae96dbcd1); #[repr(C)] pub struct IPaymentMerchantInfoFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentMethodData, IPaymentMethodData_Vtbl, 0xd1d3caf4_de98_4129_b1b7_c3ad86237bf4); +windows_core::imp::define_interface!(IPaymentMethodData, IPaymentMethodData_Vtbl, 0xd1d3caf4_de98_4129_b1b7_c3ad86237bf4); #[repr(C)] pub struct IPaymentMethodData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -197,7 +197,7 @@ pub struct IPaymentMethodData_Vtbl { SupportedMethodIds: usize, pub JsonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentMethodDataFactory, IPaymentMethodDataFactory_Vtbl, 0x8addd27f_9baa_4a82_8342_a8210992a36b); +windows_core::imp::define_interface!(IPaymentMethodDataFactory, IPaymentMethodDataFactory_Vtbl, 0x8addd27f_9baa_4a82_8342_a8210992a36b); #[repr(C)] pub struct IPaymentMethodDataFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -210,7 +210,7 @@ pub struct IPaymentMethodDataFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithJsonData: usize, } -windows_core::imp::com_interface!(IPaymentOptions, IPaymentOptions_Vtbl, 0xaaa30854_1f2b_4365_8251_01b58915a5bc); +windows_core::imp::define_interface!(IPaymentOptions, IPaymentOptions_Vtbl, 0xaaa30854_1f2b_4365_8251_01b58915a5bc); #[repr(C)] pub struct IPaymentOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -225,7 +225,7 @@ pub struct IPaymentOptions_Vtbl { pub ShippingType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PaymentShippingType) -> windows_core::HRESULT, pub SetShippingType: unsafe extern "system" fn(*mut core::ffi::c_void, PaymentShippingType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentRequest, IPaymentRequest_Vtbl, 0xb74942e1_ed7b_47eb_bc08_78cc5d6896b6); +windows_core::imp::define_interface!(IPaymentRequest, IPaymentRequest_Vtbl, 0xb74942e1_ed7b_47eb_bc08_78cc5d6896b6); #[repr(C)] pub struct IPaymentRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -237,13 +237,13 @@ pub struct IPaymentRequest_Vtbl { MethodData: usize, pub Options: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentRequest2, IPaymentRequest2_Vtbl, 0xb63ccfb5_5998_493e_a04c_67048a50f141); +windows_core::imp::define_interface!(IPaymentRequest2, IPaymentRequest2_Vtbl, 0xb63ccfb5_5998_493e_a04c_67048a50f141); #[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, } -windows_core::imp::com_interface!(IPaymentRequestChangedArgs, IPaymentRequestChangedArgs_Vtbl, 0xc6145e44_cd8b_4be4_b555_27c99194c0c5); +windows_core::imp::define_interface!(IPaymentRequestChangedArgs, IPaymentRequestChangedArgs_Vtbl, 0xc6145e44_cd8b_4be4_b555_27c99194c0c5); #[repr(C)] pub struct IPaymentRequestChangedArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -252,7 +252,7 @@ pub struct IPaymentRequestChangedArgs_Vtbl { pub SelectedShippingOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Acknowledge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentRequestChangedResult, IPaymentRequestChangedResult_Vtbl, 0xdf699e5c_16c4_47ad_9401_8440ec0757db); +windows_core::imp::define_interface!(IPaymentRequestChangedResult, IPaymentRequestChangedResult_Vtbl, 0xdf699e5c_16c4_47ad_9401_8440ec0757db); #[repr(C)] pub struct IPaymentRequestChangedResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -263,14 +263,14 @@ pub struct IPaymentRequestChangedResult_Vtbl { 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, } -windows_core::imp::com_interface!(IPaymentRequestChangedResultFactory, IPaymentRequestChangedResultFactory_Vtbl, 0x08740f56_1d33_4431_814b_67ea24bf21db); +windows_core::imp::define_interface!(IPaymentRequestChangedResultFactory, IPaymentRequestChangedResultFactory_Vtbl, 0x08740f56_1d33_4431_814b_67ea24bf21db); #[repr(C)] pub struct IPaymentRequestChangedResultFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWithPaymentDetails: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentRequestFactory, IPaymentRequestFactory_Vtbl, 0x3e8a79dc_6b74_42d3_b103_f0de35fb1848); +windows_core::imp::define_interface!(IPaymentRequestFactory, IPaymentRequestFactory_Vtbl, 0x3e8a79dc_6b74_42d3_b103_f0de35fb1848); #[repr(C)] pub struct IPaymentRequestFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -287,7 +287,7 @@ pub struct IPaymentRequestFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithMerchantInfoAndOptions: usize, } -windows_core::imp::com_interface!(IPaymentRequestFactory2, IPaymentRequestFactory2_Vtbl, 0xe6ce1325_a506_4372_b7ef_1a031d5662d1); +windows_core::imp::define_interface!(IPaymentRequestFactory2, IPaymentRequestFactory2_Vtbl, 0xe6ce1325_a506_4372_b7ef_1a031d5662d1); #[repr(C)] pub struct IPaymentRequestFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -296,14 +296,14 @@ pub struct IPaymentRequestFactory2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithMerchantInfoOptionsAndId: usize, } -windows_core::imp::com_interface!(IPaymentRequestSubmitResult, IPaymentRequestSubmitResult_Vtbl, 0x7b9c3912_30f2_4e90_b249_8ce7d78ffe56); +windows_core::imp::define_interface!(IPaymentRequestSubmitResult, IPaymentRequestSubmitResult_Vtbl, 0x7b9c3912_30f2_4e90_b249_8ce7d78ffe56); #[repr(C)] pub struct IPaymentRequestSubmitResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PaymentRequestStatus) -> windows_core::HRESULT, pub Response: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPaymentResponse, IPaymentResponse_Vtbl, 0xe1389457_8bd2_4888_9fa8_97985545108e); +windows_core::imp::define_interface!(IPaymentResponse, IPaymentResponse_Vtbl, 0xe1389457_8bd2_4888_9fa8_97985545108e); #[repr(C)] pub struct IPaymentResponse_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -315,7 +315,7 @@ pub struct IPaymentResponse_Vtbl { pub PayerPhoneNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IPaymentShippingOption, IPaymentShippingOption_Vtbl, 0x13372ada_9753_4574_8966_93145a76c7f9); +windows_core::imp::define_interface!(IPaymentShippingOption, IPaymentShippingOption_Vtbl, 0x13372ada_9753_4574_8966_93145a76c7f9); #[repr(C)] pub struct IPaymentShippingOption_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -328,7 +328,7 @@ pub struct IPaymentShippingOption_Vtbl { 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, } -windows_core::imp::com_interface!(IPaymentShippingOptionFactory, IPaymentShippingOptionFactory_Vtbl, 0x5de5f917_b2d7_446b_9d73_6123fbca3bc6); +windows_core::imp::define_interface!(IPaymentShippingOptionFactory, IPaymentShippingOptionFactory_Vtbl, 0x5de5f917_b2d7_446b_9d73_6123fbca3bc6); #[repr(C)] pub struct IPaymentShippingOptionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -336,14 +336,14 @@ pub struct IPaymentShippingOptionFactory_Vtbl { 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, } -windows_core::imp::com_interface!(IPaymentToken, IPaymentToken_Vtbl, 0xbbcac013_ccd0_41f2_b2a1_0a2e4b5dce25); +windows_core::imp::define_interface!(IPaymentToken, IPaymentToken_Vtbl, 0xbbcac013_ccd0_41f2_b2a1_0a2e4b5dce25); #[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, } -windows_core::imp::com_interface!(IPaymentTokenFactory, IPaymentTokenFactory_Vtbl, 0x988cd7aa_4753_4904_8373_dd7b08b995c1); +windows_core::imp::define_interface!(IPaymentTokenFactory, IPaymentTokenFactory_Vtbl, 0x988cd7aa_4753_4904_8373_dd7b08b995c1); #[repr(C)] pub struct IPaymentTokenFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1731,7 +1731,7 @@ impl core::fmt::Debug for PaymentShippingType { impl windows_core::RuntimeType for PaymentShippingType { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Payments.PaymentShippingType;i4)"); } -windows_core::imp::com_interface!(PaymentRequestChangedHandler, PaymentRequestChangedHandler_Vtbl, 0x5078b9e1_f398_4f2c_a27e_94d371cf6c7d); +windows_core::imp::define_interface!(PaymentRequestChangedHandler, PaymentRequestChangedHandler_Vtbl, 0x5078b9e1_f398_4f2c_a27e_94d371cf6c7d); impl PaymentRequestChangedHandler { pub fn new, Option<&PaymentRequestChangedArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = PaymentRequestChangedHandlerBox:: { vtable: &PaymentRequestChangedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; 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 25b86e8da8..6d9cadfcd3 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Holographic/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IHolographicApplicationPreviewStatics, IHolographicApplicationPreviewStatics_Vtbl, 0xfe038691_2a3a_45a9_a208_7bed691919f3); +windows_core::imp::define_interface!(IHolographicApplicationPreviewStatics, IHolographicApplicationPreviewStatics_Vtbl, 0xfe038691_2a3a_45a9_a208_7bed691919f3); #[repr(C)] pub struct IHolographicApplicationPreviewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IHolographicApplicationPreviewStatics_Vtbl { IsHolographicActivation: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IHolographicKeyboardPlacementOverridePreview, IHolographicKeyboardPlacementOverridePreview_Vtbl, 0xc8a8ce3a_dfde_5a14_8d5f_182c526dd9c4); +windows_core::imp::define_interface!(IHolographicKeyboardPlacementOverridePreview, IHolographicKeyboardPlacementOverridePreview_Vtbl, 0xc8a8ce3a_dfde_5a14_8d5f_182c526dd9c4); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IHolographicKeyboardPlacementOverridePreview_Vtbl { @@ -28,7 +28,7 @@ pub struct IHolographicKeyboardPlacementOverridePreview_Vtbl { ResetPlacementOverride: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IHolographicKeyboardPlacementOverridePreviewStatics, IHolographicKeyboardPlacementOverridePreviewStatics_Vtbl, 0x202e6039_1ff6_5a06_aac4_a5e24fa3ec4b); +windows_core::imp::define_interface!(IHolographicKeyboardPlacementOverridePreviewStatics, IHolographicKeyboardPlacementOverridePreviewStatics_Vtbl, 0x202e6039_1ff6_5a06_aac4_a5e24fa3ec4b); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IHolographicKeyboardPlacementOverridePreviewStatics_Vtbl { 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 210ecec870..06cc967bea 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/InkWorkspace/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IInkWorkspaceHostedAppManager, IInkWorkspaceHostedAppManager_Vtbl, 0xfe0a7990_5e59_4bb7_8a63_7d218cd96300); +windows_core::imp::define_interface!(IInkWorkspaceHostedAppManager, IInkWorkspaceHostedAppManager_Vtbl, 0xfe0a7990_5e59_4bb7_8a63_7d218cd96300); #[repr(C)] pub struct IInkWorkspaceHostedAppManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct IInkWorkspaceHostedAppManager_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] SetThumbnailAsync: usize, } -windows_core::imp::com_interface!(IInkWorkspaceHostedAppManagerStatics, IInkWorkspaceHostedAppManagerStatics_Vtbl, 0xcbfd8cc5_a162_4bc4_84ee_e8716d5233c5); +windows_core::imp::define_interface!(IInkWorkspaceHostedAppManagerStatics, IInkWorkspaceHostedAppManagerStatics_Vtbl, 0xcbfd8cc5_a162_4bc4_84ee_e8716d5233c5); #[repr(C)] pub struct IInkWorkspaceHostedAppManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 344e9deffd..7dcb0f0c9f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Preview/Notes/mod.rs @@ -1,17 +1,17 @@ -windows_core::imp::com_interface!(INotePlacementChangedPreviewEventArgs, INotePlacementChangedPreviewEventArgs_Vtbl, 0x491d57b7_f780_4e7f_a939_9a4caf965214); +windows_core::imp::define_interface!(INotePlacementChangedPreviewEventArgs, INotePlacementChangedPreviewEventArgs_Vtbl, 0x491d57b7_f780_4e7f_a939_9a4caf965214); #[repr(C)] pub struct INotePlacementChangedPreviewEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ViewId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INoteVisibilityChangedPreviewEventArgs, INoteVisibilityChangedPreviewEventArgs_Vtbl, 0x0e34649e_3815_4ff6_83b3_a14d17120e24); +windows_core::imp::define_interface!(INoteVisibilityChangedPreviewEventArgs, INoteVisibilityChangedPreviewEventArgs_Vtbl, 0x0e34649e_3815_4ff6_83b3_a14d17120e24); #[repr(C)] pub struct INoteVisibilityChangedPreviewEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ViewId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub IsVisible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INotesWindowManagerPreview, INotesWindowManagerPreview_Vtbl, 0xdc2ac23e_4850_4f13_9cc7_ff487efdfcde); +windows_core::imp::define_interface!(INotesWindowManagerPreview, INotesWindowManagerPreview_Vtbl, 0xdc2ac23e_4850_4f13_9cc7_ff487efdfcde); #[repr(C)] pub struct INotesWindowManagerPreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -40,7 +40,7 @@ pub struct INotesWindowManagerPreview_Vtbl { pub NoteVisibilityChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveNoteVisibilityChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INotesWindowManagerPreview2, INotesWindowManagerPreview2_Vtbl, 0xedfe864a_1f54_4b09_9823_ff477f6fa3bc); +windows_core::imp::define_interface!(INotesWindowManagerPreview2, INotesWindowManagerPreview2_Vtbl, 0xedfe864a_1f54_4b09_9823_ff477f6fa3bc); #[repr(C)] pub struct INotesWindowManagerPreview2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -55,14 +55,14 @@ pub struct INotesWindowManagerPreview2_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] SetThumbnailImageForTaskSwitcherAsync: usize, } -windows_core::imp::com_interface!(INotesWindowManagerPreviewShowNoteOptions, INotesWindowManagerPreviewShowNoteOptions_Vtbl, 0x886b09d6_a6ae_4007_a56d_1ca70c84c0d2); +windows_core::imp::define_interface!(INotesWindowManagerPreviewShowNoteOptions, INotesWindowManagerPreviewShowNoteOptions_Vtbl, 0x886b09d6_a6ae_4007_a56d_1ca70c84c0d2); #[repr(C)] pub struct INotesWindowManagerPreviewShowNoteOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShowWithFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetShowWithFocus: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INotesWindowManagerPreviewStatics, INotesWindowManagerPreviewStatics_Vtbl, 0x6668cc88_0a8e_4127_a38e_995445868a78); +windows_core::imp::define_interface!(INotesWindowManagerPreviewStatics, INotesWindowManagerPreviewStatics_Vtbl, 0x6668cc88_0a8e_4127_a38e_995445868a78); #[repr(C)] pub struct INotesWindowManagerPreviewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 d7dedd9491..0560b8ee52 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(INamedResource, INamedResource_Vtbl, 0x1c98c219_0b13_4240_89a5_d495dc189a00); +windows_core::imp::define_interface!(INamedResource, INamedResource_Vtbl, 0x1c98c219_0b13_4240_89a5_d495dc189a00); #[repr(C)] pub struct INamedResource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,7 +18,7 @@ pub struct INamedResource_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ResolveAllForContext: usize, } -windows_core::imp::com_interface!(IResourceCandidate, IResourceCandidate_Vtbl, 0xaf5207d9_c433_4764_b3fd_8fa6bfbcbadc); +windows_core::imp::define_interface!(IResourceCandidate, IResourceCandidate_Vtbl, 0xaf5207d9_c433_4764_b3fd_8fa6bfbcbadc); #[repr(C)] pub struct IResourceCandidate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -36,7 +36,7 @@ pub struct IResourceCandidate_Vtbl { GetValueAsFileAsync: usize, pub GetQualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResourceCandidate2, IResourceCandidate2_Vtbl, 0x69e5b468_f6fc_4013_aaa2_d53f1757d3b5); +windows_core::imp::define_interface!(IResourceCandidate2, IResourceCandidate2_Vtbl, 0x69e5b468_f6fc_4013_aaa2_d53f1757d3b5); #[repr(C)] pub struct IResourceCandidate2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -45,13 +45,13 @@ pub struct IResourceCandidate2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetValueAsStreamAsync: usize, } -windows_core::imp::com_interface!(IResourceCandidate3, IResourceCandidate3_Vtbl, 0x08ae97f8_517a_4674_958c_4a3c7cd2cc6b); +windows_core::imp::define_interface!(IResourceCandidate3, IResourceCandidate3_Vtbl, 0x08ae97f8_517a_4674_958c_4a3c7cd2cc6b); #[repr(C)] pub struct IResourceCandidate3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ResourceCandidateKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResourceContext, IResourceContext_Vtbl, 0x2fa22f4b_707e_4b27_ad0d_d0d8cd468fd2); +windows_core::imp::define_interface!(IResourceContext, IResourceContext_Vtbl, 0x2fa22f4b_707e_4b27_ad0d_d0d8cd468fd2); #[repr(C)] pub struct IResourceContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -78,7 +78,7 @@ pub struct IResourceContext_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetLanguages: usize, } -windows_core::imp::com_interface!(IResourceContextStatics, IResourceContextStatics_Vtbl, 0x98be9d6c_6338_4b31_99df_b2b442f17149); +windows_core::imp::define_interface!(IResourceContextStatics, IResourceContextStatics_Vtbl, 0x98be9d6c_6338_4b31_99df_b2b442f17149); #[repr(C)] pub struct IResourceContextStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -87,7 +87,7 @@ pub struct IResourceContextStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateMatchingContext: usize, } -windows_core::imp::com_interface!(IResourceContextStatics2, IResourceContextStatics2_Vtbl, 0x41f752ef_12af_41b9_ab36_b1eb4b512460); +windows_core::imp::define_interface!(IResourceContextStatics2, IResourceContextStatics2_Vtbl, 0x41f752ef_12af_41b9_ab36_b1eb4b512460); #[repr(C)] pub struct IResourceContextStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -100,13 +100,13 @@ pub struct IResourceContextStatics2_Vtbl { ResetGlobalQualifierValuesForSpecifiedQualifiers: usize, pub GetForViewIndependentUse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResourceContextStatics3, IResourceContextStatics3_Vtbl, 0x20cf492c_af0f_450b_9da6_106dd0c29a39); +windows_core::imp::define_interface!(IResourceContextStatics3, IResourceContextStatics3_Vtbl, 0x20cf492c_af0f_450b_9da6_106dd0c29a39); #[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, } -windows_core::imp::com_interface!(IResourceContextStatics4, IResourceContextStatics4_Vtbl, 0x22eb9ccd_fb31_4bfa_b86b_df9d9d7bdc39); +windows_core::imp::define_interface!(IResourceContextStatics4, IResourceContextStatics4_Vtbl, 0x22eb9ccd_fb31_4bfa_b86b_df9d9d7bdc39); #[repr(C)] pub struct IResourceContextStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -115,7 +115,7 @@ pub struct IResourceContextStatics4_Vtbl { #[cfg(not(feature = "UI"))] GetForUIContext: usize, } -windows_core::imp::com_interface!(IResourceManager, IResourceManager_Vtbl, 0xf744d97b_9988_44fb_abd6_5378844cfa8b); +windows_core::imp::define_interface!(IResourceManager, IResourceManager_Vtbl, 0xf744d97b_9988_44fb_abd6_5378844cfa8b); #[repr(C)] pub struct IResourceManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -134,7 +134,7 @@ pub struct IResourceManager_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] UnloadPriFiles: usize, } -windows_core::imp::com_interface!(IResourceManager2, IResourceManager2_Vtbl, 0x9d66fe6c_a4d7_4c23_9e85_675f304c252d); +windows_core::imp::define_interface!(IResourceManager2, IResourceManager2_Vtbl, 0x9d66fe6c_a4d7_4c23_9e85_675f304c252d); #[repr(C)] pub struct IResourceManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -147,14 +147,14 @@ pub struct IResourceManager2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAllSubtreesForPackage: usize, } -windows_core::imp::com_interface!(IResourceManagerStatics, IResourceManagerStatics_Vtbl, 0x1cc0fdfc_69ee_4e43_9901_47f12687baf7); +windows_core::imp::define_interface!(IResourceManagerStatics, IResourceManagerStatics_Vtbl, 0x1cc0fdfc_69ee_4e43_9901_47f12687baf7); #[repr(C)] 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, } -windows_core::imp::com_interface!(IResourceMap, IResourceMap_Vtbl, 0x72284824_db8c_42f8_b08c_53ff357dad82); +windows_core::imp::define_interface!(IResourceMap, IResourceMap_Vtbl, 0x72284824_db8c_42f8_b08c_53ff357dad82); #[repr(C)] pub struct IResourceMap_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -163,7 +163,7 @@ pub struct IResourceMap_Vtbl { 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, } -windows_core::imp::com_interface!(IResourceQualifier, IResourceQualifier_Vtbl, 0x785da5b2_4afd_4376_a888_c5f9a6b7a05c); +windows_core::imp::define_interface!(IResourceQualifier, IResourceQualifier_Vtbl, 0x785da5b2_4afd_4376_a888_c5f9a6b7a05c); #[repr(C)] pub struct IResourceQualifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 a4fd712b39..c69fc3d016 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/Management/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IIndexedResourceCandidate, IIndexedResourceCandidate_Vtbl, 0x0e619ef3_faec_4414_a9d7_54acd5953f29); +windows_core::imp::define_interface!(IIndexedResourceCandidate, IIndexedResourceCandidate_Vtbl, 0x0e619ef3_faec_4414_a9d7_54acd5953f29); #[repr(C)] pub struct IIndexedResourceCandidate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -15,7 +15,7 @@ pub struct IIndexedResourceCandidate_Vtbl { 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, } -windows_core::imp::com_interface!(IIndexedResourceQualifier, IIndexedResourceQualifier_Vtbl, 0xdae3bb9b_d304_497f_a168_a340042c8adb); +windows_core::imp::define_interface!(IIndexedResourceQualifier, IIndexedResourceQualifier_Vtbl, 0xdae3bb9b_d304_497f_a168_a340042c8adb); #[repr(C)] pub struct IIndexedResourceQualifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct IIndexedResourceQualifier_Vtbl { pub QualifierValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IResourceIndexer, IResourceIndexer_Vtbl, 0x2d4cf9a5_e32f_4ab2_8748_96350a016da3); +windows_core::imp::define_interface!(IResourceIndexer, IResourceIndexer_Vtbl, 0x2d4cf9a5_e32f_4ab2_8748_96350a016da3); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IResourceIndexer_Vtbl { @@ -38,7 +38,7 @@ pub struct IResourceIndexer_Vtbl { IndexFileContentsAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IResourceIndexerFactory, IResourceIndexerFactory_Vtbl, 0xb8de3f09_31cd_4d97_bd30_8d39f742bc61); +windows_core::imp::define_interface!(IResourceIndexerFactory, IResourceIndexerFactory_Vtbl, 0xb8de3f09_31cd_4d97_bd30_8d39f742bc61); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IResourceIndexerFactory_Vtbl { @@ -49,7 +49,7 @@ pub struct IResourceIndexerFactory_Vtbl { CreateResourceIndexer: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IResourceIndexerFactory2, IResourceIndexerFactory2_Vtbl, 0x6040f18d_d5e5_4b60_9201_cd279cbcfed9); +windows_core::imp::define_interface!(IResourceIndexerFactory2, IResourceIndexerFactory2_Vtbl, 0x6040f18d_d5e5_4b60_9201_cd279cbcfed9); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IResourceIndexerFactory2_Vtbl { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs index 41073214e2..e548223c85 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Resources/mod.rs @@ -2,31 +2,31 @@ pub mod Core; #[cfg(feature = "ApplicationModel_Resources_Management")] pub mod Management; -windows_core::imp::com_interface!(IResourceLoader, IResourceLoader_Vtbl, 0x08524908_16ef_45ad_a602_293637d7e61a); +windows_core::imp::define_interface!(IResourceLoader, IResourceLoader_Vtbl, 0x08524908_16ef_45ad_a602_293637d7e61a); #[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, } -windows_core::imp::com_interface!(IResourceLoader2, IResourceLoader2_Vtbl, 0x10eb6ec6_8138_48c1_bc65_e1f14207367c); +windows_core::imp::define_interface!(IResourceLoader2, IResourceLoader2_Vtbl, 0x10eb6ec6_8138_48c1_bc65_e1f14207367c); #[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, } -windows_core::imp::com_interface!(IResourceLoaderFactory, IResourceLoaderFactory_Vtbl, 0xc33a3603_69dc_4285_a077_d5c0e47ccbe8); +windows_core::imp::define_interface!(IResourceLoaderFactory, IResourceLoaderFactory_Vtbl, 0xc33a3603_69dc_4285_a077_d5c0e47ccbe8); #[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, } -windows_core::imp::com_interface!(IResourceLoaderStatics, IResourceLoaderStatics_Vtbl, 0xbf777ce1_19c8_49c2_953c_47e9227b334e); +windows_core::imp::define_interface!(IResourceLoaderStatics, IResourceLoaderStatics_Vtbl, 0xbf777ce1_19c8_49c2_953c_47e9227b334e); #[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, } -windows_core::imp::com_interface!(IResourceLoaderStatics2, IResourceLoaderStatics2_Vtbl, 0x0cc04141_6466_4989_9494_0b82dfc53f1f); +windows_core::imp::define_interface!(IResourceLoaderStatics2, IResourceLoaderStatics2_Vtbl, 0x0cc04141_6466_4989_9494_0b82dfc53f1f); #[repr(C)] pub struct IResourceLoaderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,7 +35,7 @@ pub struct IResourceLoaderStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IResourceLoaderStatics3, IResourceLoaderStatics3_Vtbl, 0x64609dfb_64ac_491b_8100_0e558d61c1d0); +windows_core::imp::define_interface!(IResourceLoaderStatics3, IResourceLoaderStatics3_Vtbl, 0x64609dfb_64ac_491b_8100_0e558d61c1d0); #[repr(C)] pub struct IResourceLoaderStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,7 +44,7 @@ pub struct IResourceLoaderStatics3_Vtbl { #[cfg(not(feature = "UI"))] GetForUIContext: usize, } -windows_core::imp::com_interface!(IResourceLoaderStatics4, IResourceLoaderStatics4_Vtbl, 0x9fb36c32_6c8c_4316_962e_909539b5c259); +windows_core::imp::define_interface!(IResourceLoaderStatics4, IResourceLoaderStatics4_Vtbl, 0x9fb36c32_6c8c_4316_962e_909539b5c259); #[repr(C)] pub struct IResourceLoaderStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 a6b0c464b9..2253d97bc7 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/Core/mod.rs @@ -1,9 +1,9 @@ -windows_core::imp::com_interface!(IRequestingFocusOnKeyboardInputEventArgs, IRequestingFocusOnKeyboardInputEventArgs_Vtbl, 0xa1195f27_b1a7_41a2_879d_6a68687e5985); +windows_core::imp::define_interface!(IRequestingFocusOnKeyboardInputEventArgs, IRequestingFocusOnKeyboardInputEventArgs_Vtbl, 0xa1195f27_b1a7_41a2_879d_6a68687e5985); #[repr(C)] pub struct IRequestingFocusOnKeyboardInputEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISearchSuggestion, ISearchSuggestion_Vtbl, 0x5b5554b0_1527_437b_95c5_8d18d2b8af55); +windows_core::imp::define_interface!(ISearchSuggestion, ISearchSuggestion_Vtbl, 0x5b5554b0_1527_437b_95c5_8d18d2b8af55); #[repr(C)] pub struct ISearchSuggestion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,7 +17,7 @@ pub struct ISearchSuggestion_Vtbl { Image: usize, pub ImageAlternateText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchSuggestionManager, ISearchSuggestionManager_Vtbl, 0x3f0c50a1_cb9d_497b_b500_3c04ac959ad2); +windows_core::imp::define_interface!(ISearchSuggestionManager, ISearchSuggestionManager_Vtbl, 0x3f0c50a1_cb9d_497b_b500_3c04ac959ad2); #[repr(C)] pub struct ISearchSuggestionManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -41,7 +41,7 @@ pub struct ISearchSuggestionManager_Vtbl { pub RequestingFocusOnKeyboardInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRequestingFocusOnKeyboardInput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchSuggestionsRequestedEventArgs, ISearchSuggestionsRequestedEventArgs_Vtbl, 0x6fd519e5_9e7e_4ab4_8be3_c76b1bd4344a); +windows_core::imp::define_interface!(ISearchSuggestionsRequestedEventArgs, ISearchSuggestionsRequestedEventArgs_Vtbl, 0x6fd519e5_9e7e_4ab4_8be3_c76b1bd4344a); #[repr(C)] pub struct ISearchSuggestionsRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs index 5038791263..229ebaee54 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "ApplicationModel_Search_Core")] pub mod Core; -windows_core::imp::com_interface!(ILocalContentSuggestionSettings, ILocalContentSuggestionSettings_Vtbl, 0xeeaeb062_743d_456e_84a3_23f06f2d15d7); +windows_core::imp::define_interface!(ILocalContentSuggestionSettings, ILocalContentSuggestionSettings_Vtbl, 0xeeaeb062_743d_456e_84a3_23f06f2d15d7); #[repr(C)] pub struct ILocalContentSuggestionSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,7 +18,7 @@ pub struct ILocalContentSuggestionSettings_Vtbl { PropertiesToMatch: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISearchPane, ISearchPane_Vtbl, 0xfdacec38_3700_4d73_91a1_2f998674238a); +windows_core::imp::define_interface!(ISearchPane, ISearchPane_Vtbl, 0xfdacec38_3700_4d73_91a1_2f998674238a); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISearchPane_Vtbl { @@ -125,7 +125,7 @@ pub struct ISearchPane_Vtbl { TrySetQueryText: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISearchPaneQueryChangedEventArgs, ISearchPaneQueryChangedEventArgs_Vtbl, 0x3c064fe9_2351_4248_a529_7110f464a785); +windows_core::imp::define_interface!(ISearchPaneQueryChangedEventArgs, ISearchPaneQueryChangedEventArgs_Vtbl, 0x3c064fe9_2351_4248_a529_7110f464a785); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(ISearchPaneQueryChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -176,7 +176,7 @@ pub struct ISearchPaneQueryChangedEventArgs_Vtbl { #[cfg(not(feature = "deprecated"))] LinguisticDetails: usize, } -windows_core::imp::com_interface!(ISearchPaneQueryLinguisticDetails, ISearchPaneQueryLinguisticDetails_Vtbl, 0x82fb460e_0940_4b6d_b8d0_642b30989e15); +windows_core::imp::define_interface!(ISearchPaneQueryLinguisticDetails, ISearchPaneQueryLinguisticDetails_Vtbl, 0x82fb460e_0940_4b6d_b8d0_642b30989e15); #[repr(C)] pub struct ISearchPaneQueryLinguisticDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -188,7 +188,7 @@ pub struct ISearchPaneQueryLinguisticDetails_Vtbl { pub QueryTextCompositionLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISearchPaneQuerySubmittedEventArgs, ISearchPaneQuerySubmittedEventArgs_Vtbl, 0x143ba4fc_e9c5_4736_91b2_e8eb9cb88356); +windows_core::imp::define_interface!(ISearchPaneQuerySubmittedEventArgs, ISearchPaneQuerySubmittedEventArgs_Vtbl, 0x143ba4fc_e9c5_4736_91b2_e8eb9cb88356); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISearchPaneQuerySubmittedEventArgs_Vtbl { @@ -203,7 +203,7 @@ pub struct ISearchPaneQuerySubmittedEventArgs_Vtbl { Language: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails, ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails_Vtbl, 0x460c92e5_4c32_4538_a4d4_b6b4400d140f); +windows_core::imp::define_interface!(ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails, ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails_Vtbl, 0x460c92e5_4c32_4538_a4d4_b6b4400d140f); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails_Vtbl { @@ -214,7 +214,7 @@ pub struct ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails_Vtbl { LinguisticDetails: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISearchPaneResultSuggestionChosenEventArgs, ISearchPaneResultSuggestionChosenEventArgs_Vtbl, 0xc8316cc0_aed2_41e0_bce0_c26ca74f85ec); +windows_core::imp::define_interface!(ISearchPaneResultSuggestionChosenEventArgs, ISearchPaneResultSuggestionChosenEventArgs_Vtbl, 0xc8316cc0_aed2_41e0_bce0_c26ca74f85ec); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISearchPaneResultSuggestionChosenEventArgs_Vtbl { @@ -225,7 +225,7 @@ pub struct ISearchPaneResultSuggestionChosenEventArgs_Vtbl { Tag: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISearchPaneStatics, ISearchPaneStatics_Vtbl, 0x9572adf1_8f1d_481f_a15b_c61655f16a0e); +windows_core::imp::define_interface!(ISearchPaneStatics, ISearchPaneStatics_Vtbl, 0x9572adf1_8f1d_481f_a15b_c61655f16a0e); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISearchPaneStatics_Vtbl { @@ -236,7 +236,7 @@ pub struct ISearchPaneStatics_Vtbl { GetForCurrentView: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISearchPaneStaticsWithHideThisApplication, ISearchPaneStaticsWithHideThisApplication_Vtbl, 0x00732830_50f1_4d03_99ac_c6644c8ed8b5); +windows_core::imp::define_interface!(ISearchPaneStaticsWithHideThisApplication, ISearchPaneStaticsWithHideThisApplication_Vtbl, 0x00732830_50f1_4d03_99ac_c6644c8ed8b5); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISearchPaneStaticsWithHideThisApplication_Vtbl { @@ -247,7 +247,7 @@ pub struct ISearchPaneStaticsWithHideThisApplication_Vtbl { HideThisApplication: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISearchPaneSuggestionsRequest, ISearchPaneSuggestionsRequest_Vtbl, 0x81b10b1c_e561_4093_9b4d_2ad482794a53); +windows_core::imp::define_interface!(ISearchPaneSuggestionsRequest, ISearchPaneSuggestionsRequest_Vtbl, 0x81b10b1c_e561_4093_9b4d_2ad482794a53); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISearchPaneSuggestionsRequest_Vtbl { @@ -266,7 +266,7 @@ pub struct ISearchPaneSuggestionsRequest_Vtbl { GetDeferral: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISearchPaneSuggestionsRequestDeferral, ISearchPaneSuggestionsRequestDeferral_Vtbl, 0xa0d009f7_8748_4ee2_ad44_afa6be997c51); +windows_core::imp::define_interface!(ISearchPaneSuggestionsRequestDeferral, ISearchPaneSuggestionsRequestDeferral_Vtbl, 0xa0d009f7_8748_4ee2_ad44_afa6be997c51); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISearchPaneSuggestionsRequestDeferral_Vtbl { @@ -277,7 +277,7 @@ pub struct ISearchPaneSuggestionsRequestDeferral_Vtbl { Complete: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISearchPaneSuggestionsRequestedEventArgs, ISearchPaneSuggestionsRequestedEventArgs_Vtbl, 0xc89b8a2f_ac56_4460_8d2f_80023bec4fc5); +windows_core::imp::define_interface!(ISearchPaneSuggestionsRequestedEventArgs, ISearchPaneSuggestionsRequestedEventArgs_Vtbl, 0xc89b8a2f_ac56_4460_8d2f_80023bec4fc5); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISearchPaneSuggestionsRequestedEventArgs_Vtbl { @@ -288,7 +288,7 @@ pub struct ISearchPaneSuggestionsRequestedEventArgs_Vtbl { Request: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISearchPaneVisibilityChangedEventArgs, ISearchPaneVisibilityChangedEventArgs_Vtbl, 0x3c4d3046_ac4b_49f2_97d6_020e6182cb9c); +windows_core::imp::define_interface!(ISearchPaneVisibilityChangedEventArgs, ISearchPaneVisibilityChangedEventArgs_Vtbl, 0x3c4d3046_ac4b_49f2_97d6_020e6182cb9c); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISearchPaneVisibilityChangedEventArgs_Vtbl { @@ -298,7 +298,7 @@ pub struct ISearchPaneVisibilityChangedEventArgs_Vtbl { #[cfg(not(feature = "deprecated"))] Visible: usize, } -windows_core::imp::com_interface!(ISearchQueryLinguisticDetails, ISearchQueryLinguisticDetails_Vtbl, 0x46a1205b_69c9_4745_b72f_a8a4fc8f24ae); +windows_core::imp::define_interface!(ISearchQueryLinguisticDetails, ISearchQueryLinguisticDetails_Vtbl, 0x46a1205b_69c9_4745_b72f_a8a4fc8f24ae); #[repr(C)] pub struct ISearchQueryLinguisticDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -309,7 +309,7 @@ pub struct ISearchQueryLinguisticDetails_Vtbl { pub QueryTextCompositionStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub QueryTextCompositionLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchQueryLinguisticDetailsFactory, ISearchQueryLinguisticDetailsFactory_Vtbl, 0xcac6c3b8_3c64_4dfd_ad9f_479e4d4065a4); +windows_core::imp::define_interface!(ISearchQueryLinguisticDetailsFactory, ISearchQueryLinguisticDetailsFactory_Vtbl, 0xcac6c3b8_3c64_4dfd_ad9f_479e4d4065a4); #[repr(C)] pub struct ISearchQueryLinguisticDetailsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -318,7 +318,7 @@ pub struct ISearchQueryLinguisticDetailsFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateInstance: usize, } -windows_core::imp::com_interface!(ISearchSuggestionCollection, ISearchSuggestionCollection_Vtbl, 0x323a8a4b_fbea_4446_abbc_3da7915fdd3a); +windows_core::imp::define_interface!(ISearchSuggestionCollection, ISearchSuggestionCollection_Vtbl, 0x323a8a4b_fbea_4446_abbc_3da7915fdd3a); #[repr(C)] pub struct ISearchSuggestionCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -334,7 +334,7 @@ pub struct ISearchSuggestionCollection_Vtbl { AppendResultSuggestion: usize, pub AppendSearchSeparator: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchSuggestionsRequest, ISearchSuggestionsRequest_Vtbl, 0x4e4e26a7_44e5_4039_9099_6000ead1f0c6); +windows_core::imp::define_interface!(ISearchSuggestionsRequest, ISearchSuggestionsRequest_Vtbl, 0x4e4e26a7_44e5_4039_9099_6000ead1f0c6); #[repr(C)] pub struct ISearchSuggestionsRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -342,7 +342,7 @@ pub struct ISearchSuggestionsRequest_Vtbl { pub SearchSuggestionCollection: unsafe extern "system" fn(*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::com_interface!(ISearchSuggestionsRequestDeferral, ISearchSuggestionsRequestDeferral_Vtbl, 0xb71598a9_c065_456d_a845_1eccec5dc28b); +windows_core::imp::define_interface!(ISearchSuggestionsRequestDeferral, ISearchSuggestionsRequestDeferral_Vtbl, 0xb71598a9_c065_456d_a845_1eccec5dc28b); #[repr(C)] pub struct ISearchSuggestionsRequestDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs index e03535e0a8..d0cb3706d1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/LicenseManagement/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ILicenseManagerStatics, ILicenseManagerStatics_Vtbl, 0xb5ac3ae0_da47_4f20_9a23_09182c9476ff); +windows_core::imp::define_interface!(ILicenseManagerStatics, ILicenseManagerStatics_Vtbl, 0xb5ac3ae0_da47_4f20_9a23_09182c9476ff); #[repr(C)] pub struct ILicenseManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,13 +11,13 @@ pub struct ILicenseManagerStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetSatisfactionInfosAsync: usize, } -windows_core::imp::com_interface!(ILicenseManagerStatics2, ILicenseManagerStatics2_Vtbl, 0xab2ec47b_1f79_4480_b87e_2c499e601ba3); +windows_core::imp::define_interface!(ILicenseManagerStatics2, ILicenseManagerStatics2_Vtbl, 0xab2ec47b_1f79_4480_b87e_2c499e601ba3); #[repr(C)] pub struct ILicenseManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RefreshLicensesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, LicenseRefreshOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILicenseSatisfactionInfo, ILicenseSatisfactionInfo_Vtbl, 0x3ccbb08f_db31_48d5_8384_fa17c81474e2); +windows_core::imp::define_interface!(ILicenseSatisfactionInfo, ILicenseSatisfactionInfo_Vtbl, 0x3ccbb08f_db31_48d5_8384_fa17c81474e2); #[repr(C)] pub struct ILicenseSatisfactionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -29,7 +29,7 @@ pub struct ILicenseSatisfactionInfo_Vtbl { pub SatisfiedBySignedInUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsSatisfied: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILicenseSatisfactionResult, ILicenseSatisfactionResult_Vtbl, 0x3c674f73_3c87_4ee1_8201_f428359bd3af); +windows_core::imp::define_interface!(ILicenseSatisfactionResult, ILicenseSatisfactionResult_Vtbl, 0x3c674f73_3c87_4ee1_8201_f428359bd3af); #[repr(C)] pub struct ILicenseSatisfactionResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs index f52acc770a..c195210bde 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAppInstallItem, IAppInstallItem_Vtbl, 0x49d3dfab_168a_4cbf_a93a_9e448c82737d); +windows_core::imp::define_interface!(IAppInstallItem, IAppInstallItem_Vtbl, 0x49d3dfab_168a_4cbf_a93a_9e448c82737d); #[repr(C)] pub struct IAppInstallItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -15,7 +15,7 @@ pub struct IAppInstallItem_Vtbl { pub StatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallItem2, IAppInstallItem2_Vtbl, 0xd3972af8_40c0_4fd7_aa6c_0aa13ca6188c); +windows_core::imp::define_interface!(IAppInstallItem2, IAppInstallItem2_Vtbl, 0xd3972af8_40c0_4fd7_aa6c_0aa13ca6188c); #[repr(C)] pub struct IAppInstallItem2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct IAppInstallItem2_Vtbl { pub PauseWithTelemetry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, pub RestartWithTelemetry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallItem3, IAppInstallItem3_Vtbl, 0x6f3dc998_dd47_433c_9234_560172d67a45); +windows_core::imp::define_interface!(IAppInstallItem3, IAppInstallItem3_Vtbl, 0x6f3dc998_dd47_433c_9234_560172d67a45); #[repr(C)] pub struct IAppInstallItem3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,14 +33,14 @@ pub struct IAppInstallItem3_Vtbl { Children: usize, pub ItemOperationsMightAffectOtherItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallItem4, IAppInstallItem4_Vtbl, 0xc2d1ce12_71ff_4fc8_b540_453d4b37e1d1); +windows_core::imp::define_interface!(IAppInstallItem4, IAppInstallItem4_Vtbl, 0xc2d1ce12_71ff_4fc8_b540_453d4b37e1d1); #[repr(C)] pub struct IAppInstallItem4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LaunchAfterInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetLaunchAfterInstall: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallItem5, IAppInstallItem5_Vtbl, 0x5510e7cc_4076_4a0b_9472_c21d9d380e55); +windows_core::imp::define_interface!(IAppInstallItem5, IAppInstallItem5_Vtbl, 0x5510e7cc_4076_4a0b_9472_c21d9d380e55); #[repr(C)] pub struct IAppInstallItem5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -55,7 +55,7 @@ pub struct IAppInstallItem5_Vtbl { pub InstallInProgressToastNotificationMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppInstallationToastNotificationMode) -> windows_core::HRESULT, pub SetInstallInProgressToastNotificationMode: unsafe extern "system" fn(*mut core::ffi::c_void, AppInstallationToastNotificationMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallManager, IAppInstallManager_Vtbl, 0x9353e170_8441_4b45_bd72_7c2fa925beee); +windows_core::imp::define_interface!(IAppInstallManager, IAppInstallManager_Vtbl, 0x9353e170_8441_4b45_bd72_7c2fa925beee); #[repr(C)] pub struct IAppInstallManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -85,7 +85,7 @@ pub struct IAppInstallManager_Vtbl { pub IsStoreBlockedByPolicyAsync: 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 GetIsAppAllowedToInstallAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallManager2, IAppInstallManager2_Vtbl, 0x16937851_ed37_480d_8314_52e27c03f04a); +windows_core::imp::define_interface!(IAppInstallManager2, IAppInstallManager2_Vtbl, 0x16937851_ed37_480d_8314_52e27c03f04a); #[repr(C)] pub struct IAppInstallManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -101,7 +101,7 @@ pub struct IAppInstallManager2_Vtbl { pub PauseWithTelemetry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, pub RestartWithTelemetry: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallManager3, IAppInstallManager3_Vtbl, 0x95b24b17_e96a_4d0e_84e1_c8cb417a0178); +windows_core::imp::define_interface!(IAppInstallManager3, IAppInstallManager3_Vtbl, 0x95b24b17_e96a_4d0e_84e1_c8cb417a0178); #[repr(C)] pub struct IAppInstallManager3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -135,7 +135,7 @@ pub struct IAppInstallManager3_Vtbl { GetIsApplicableForUserAsync: usize, pub MoveToFrontOfDownloadQueue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallManager4, IAppInstallManager4_Vtbl, 0x260a2a16_5a9e_4ebd_b944_f2ba75c31159); +windows_core::imp::define_interface!(IAppInstallManager4, IAppInstallManager4_Vtbl, 0x260a2a16_5a9e_4ebd_b944_f2ba75c31159); #[repr(C)] pub struct IAppInstallManager4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -146,7 +146,7 @@ pub struct IAppInstallManager4_Vtbl { GetFreeUserEntitlementForUserAsync: usize, pub GetFreeDeviceEntitlementAsync: 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, } -windows_core::imp::com_interface!(IAppInstallManager5, IAppInstallManager5_Vtbl, 0x3cd7be4c_1be9_4f7f_b675_aa1d64a529b2); +windows_core::imp::define_interface!(IAppInstallManager5, IAppInstallManager5_Vtbl, 0x3cd7be4c_1be9_4f7f_b675_aa1d64a529b2); #[repr(C)] pub struct IAppInstallManager5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -155,7 +155,7 @@ pub struct IAppInstallManager5_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AppInstallItemsWithGroupSupport: usize, } -windows_core::imp::com_interface!(IAppInstallManager6, IAppInstallManager6_Vtbl, 0xc9e7d408_f27a_4471_b2f4_e76efcbebcca); +windows_core::imp::define_interface!(IAppInstallManager6, IAppInstallManager6_Vtbl, 0xc9e7d408_f27a_4471_b2f4_e76efcbebcca); #[repr(C)] pub struct IAppInstallManager6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -186,19 +186,19 @@ pub struct IAppInstallManager6_Vtbl { #[cfg(not(feature = "System"))] GetIsPackageIdentityAllowedToInstallForUserAsync: usize, } -windows_core::imp::com_interface!(IAppInstallManager7, IAppInstallManager7_Vtbl, 0xa5ee7b30_d5e4_49a3_9853_3db03203321d); +windows_core::imp::define_interface!(IAppInstallManager7, IAppInstallManager7_Vtbl, 0xa5ee7b30_d5e4_49a3_9853_3db03203321d); #[repr(C)] pub struct IAppInstallManager7_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CanInstallForAllUsers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallManagerItemEventArgs, IAppInstallManagerItemEventArgs_Vtbl, 0xbc505743_4674_4dd1_957e_c25682086a14); +windows_core::imp::define_interface!(IAppInstallManagerItemEventArgs, IAppInstallManagerItemEventArgs_Vtbl, 0xbc505743_4674_4dd1_957e_c25682086a14); #[repr(C)] pub struct IAppInstallManagerItemEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallOptions, IAppInstallOptions_Vtbl, 0xc9808300_1cb8_4eb6_8c9f_6a30c64a5b51); +windows_core::imp::define_interface!(IAppInstallOptions, IAppInstallOptions_Vtbl, 0xc9808300_1cb8_4eb6_8c9f_6a30c64a5b51); #[repr(C)] pub struct IAppInstallOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -221,7 +221,7 @@ pub struct IAppInstallOptions_Vtbl { pub LaunchAfterInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetLaunchAfterInstall: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallOptions2, IAppInstallOptions2_Vtbl, 0x8a04c0d7_c94b_425e_95b4_bf27faeaee89); +windows_core::imp::define_interface!(IAppInstallOptions2, IAppInstallOptions2_Vtbl, 0x8a04c0d7_c94b_425e_95b4_bf27faeaee89); #[repr(C)] pub struct IAppInstallOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -244,7 +244,7 @@ pub struct IAppInstallOptions2_Vtbl { pub ExtendedCampaignId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub SetExtendedCampaignId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallStatus, IAppInstallStatus_Vtbl, 0x936dccfa_2450_4126_88b1_6127a644dd5c); +windows_core::imp::define_interface!(IAppInstallStatus, IAppInstallStatus_Vtbl, 0x936dccfa_2450_4126_88b1_6127a644dd5c); #[repr(C)] pub struct IAppInstallStatus_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -254,7 +254,7 @@ pub struct IAppInstallStatus_Vtbl { pub PercentComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallStatus2, IAppInstallStatus2_Vtbl, 0x96e7818a_5e92_4aa9_8edc_58fed4b87e00); +windows_core::imp::define_interface!(IAppInstallStatus2, IAppInstallStatus2_Vtbl, 0x96e7818a_5e92_4aa9_8edc_58fed4b87e00); #[repr(C)] pub struct IAppInstallStatus2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -264,13 +264,13 @@ pub struct IAppInstallStatus2_Vtbl { User: usize, pub ReadyForLaunch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallStatus3, IAppInstallStatus3_Vtbl, 0xcb880c56_837b_4b4c_9ebb_6d44a0a96307); +windows_core::imp::define_interface!(IAppInstallStatus3, IAppInstallStatus3_Vtbl, 0xcb880c56_837b_4b4c_9ebb_6d44a0a96307); #[repr(C)] pub struct IAppInstallStatus3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsStaged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppUpdateOptions, IAppUpdateOptions_Vtbl, 0x26f0b02f_c2f3_4aea_af8c_6308dd9db85f); +windows_core::imp::define_interface!(IAppUpdateOptions, IAppUpdateOptions_Vtbl, 0x26f0b02f_c2f3_4aea_af8c_6308dd9db85f); #[repr(C)] pub struct IAppUpdateOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -279,14 +279,14 @@ pub struct IAppUpdateOptions_Vtbl { pub AllowForcedAppRestart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowForcedAppRestart: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppUpdateOptions2, IAppUpdateOptions2_Vtbl, 0xf4646e08_ed26_4bf9_9679_48f628e53df8); +windows_core::imp::define_interface!(IAppUpdateOptions2, IAppUpdateOptions2_Vtbl, 0xf4646e08_ed26_4bf9_9679_48f628e53df8); #[repr(C)] pub struct IAppUpdateOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AutomaticallyDownloadAndInstallUpdateIfFound: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAutomaticallyDownloadAndInstallUpdateIfFound: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetEntitlementResult, IGetEntitlementResult_Vtbl, 0x74fc843f_1a9e_4609_8e4d_819086d08a3d); +windows_core::imp::define_interface!(IGetEntitlementResult, IGetEntitlementResult_Vtbl, 0x74fc843f_1a9e_4609_8e4d_819086d08a3d); #[repr(C)] pub struct IGetEntitlementResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs index 875032583c..ed29c92092 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/Preview/mod.rs @@ -1,19 +1,19 @@ #[cfg(feature = "ApplicationModel_Store_Preview_InstallControl")] pub mod InstallControl; -windows_core::imp::com_interface!(IDeliveryOptimizationSettings, IDeliveryOptimizationSettings_Vtbl, 0x1810fda0_e853_565e_b874_7a8a7b9a0e0f); +windows_core::imp::define_interface!(IDeliveryOptimizationSettings, IDeliveryOptimizationSettings_Vtbl, 0x1810fda0_e853_565e_b874_7a8a7b9a0e0f); #[repr(C)] pub struct IDeliveryOptimizationSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DownloadMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeliveryOptimizationDownloadMode) -> windows_core::HRESULT, pub DownloadModeSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeliveryOptimizationDownloadModeSource) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeliveryOptimizationSettingsStatics, IDeliveryOptimizationSettingsStatics_Vtbl, 0x5c817caf_aed5_5999_b4c9_8c60898bc4f3); +windows_core::imp::define_interface!(IDeliveryOptimizationSettingsStatics, IDeliveryOptimizationSettingsStatics_Vtbl, 0x5c817caf_aed5_5999_b4c9_8c60898bc4f3); #[repr(C)] pub struct IDeliveryOptimizationSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetCurrentSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreConfigurationStatics, IStoreConfigurationStatics_Vtbl, 0x728f7fc0_8628_42ec_84a2_07780eb44d8b); +windows_core::imp::define_interface!(IStoreConfigurationStatics, IStoreConfigurationStatics_Vtbl, 0x728f7fc0_8628_42ec_84a2_07780eb44d8b); #[repr(C)] pub struct IStoreConfigurationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,14 +27,14 @@ pub struct IStoreConfigurationStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FilterUnsupportedSystemFeaturesAsync: usize, } -windows_core::imp::com_interface!(IStoreConfigurationStatics2, IStoreConfigurationStatics2_Vtbl, 0x657c4595_c8b7_4fe9_9f4c_4d71027d347e); +windows_core::imp::define_interface!(IStoreConfigurationStatics2, IStoreConfigurationStatics2_Vtbl, 0x657c4595_c8b7_4fe9_9f4c_4d71027d347e); #[repr(C)] pub struct IStoreConfigurationStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PurchasePromptingPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPurchasePromptingPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreConfigurationStatics3, IStoreConfigurationStatics3_Vtbl, 0x6d45f57c_f144_4cb5_9d3f_4eb05e30b6d3); +windows_core::imp::define_interface!(IStoreConfigurationStatics3, IStoreConfigurationStatics3_Vtbl, 0x6d45f57c_f144_4cb5_9d3f_4eb05e30b6d3); #[repr(C)] pub struct IStoreConfigurationStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -64,7 +64,7 @@ pub struct IStoreConfigurationStatics3_Vtbl { #[cfg(not(feature = "System"))] SetPurchasePromptingPolicyForUser: usize, } -windows_core::imp::com_interface!(IStoreConfigurationStatics4, IStoreConfigurationStatics4_Vtbl, 0x20ff56d2_4ee3_4cf0_9b12_552c03310f75); +windows_core::imp::define_interface!(IStoreConfigurationStatics4, IStoreConfigurationStatics4_Vtbl, 0x20ff56d2_4ee3_4cf0_9b12_552c03310f75); #[repr(C)] pub struct IStoreConfigurationStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,7 +89,7 @@ pub struct IStoreConfigurationStatics4_Vtbl { #[cfg(not(feature = "System"))] ShouldRestrictToEnterpriseStoreOnlyForUser: usize, } -windows_core::imp::com_interface!(IStoreConfigurationStatics5, IStoreConfigurationStatics5_Vtbl, 0xf7613191_8fa9_49db_822b_0160e7e4e5c5); +windows_core::imp::define_interface!(IStoreConfigurationStatics5, IStoreConfigurationStatics5_Vtbl, 0xf7613191_8fa9_49db_822b_0160e7e4e5c5); #[repr(C)] pub struct IStoreConfigurationStatics5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -102,7 +102,7 @@ pub struct IStoreConfigurationStatics5_Vtbl { #[cfg(not(feature = "System"))] PinToDesktopForUser: usize, } -windows_core::imp::com_interface!(IStoreHardwareManufacturerInfo, IStoreHardwareManufacturerInfo_Vtbl, 0xf292dc08_c654_43ac_a21f_34801c9d3388); +windows_core::imp::define_interface!(IStoreHardwareManufacturerInfo, IStoreHardwareManufacturerInfo_Vtbl, 0xf292dc08_c654_43ac_a21f_34801c9d3388); #[repr(C)] pub struct IStoreHardwareManufacturerInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -111,7 +111,7 @@ pub struct IStoreHardwareManufacturerInfo_Vtbl { pub ModelName: 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, } -windows_core::imp::com_interface!(IStorePreview, IStorePreview_Vtbl, 0x8a157241_840e_49a9_bc01_5d5b01fbc8e9); +windows_core::imp::define_interface!(IStorePreview, IStorePreview_Vtbl, 0x8a157241_840e_49a9_bc01_5d5b01fbc8e9); #[repr(C)] pub struct IStorePreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -121,7 +121,7 @@ pub struct IStorePreview_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] LoadAddOnProductInfosAsync: usize, } -windows_core::imp::com_interface!(IStorePreviewProductInfo, IStorePreviewProductInfo_Vtbl, 0x1937dbb3_6c01_4c9d_85cd_5babaac2b351); +windows_core::imp::define_interface!(IStorePreviewProductInfo, IStorePreviewProductInfo_Vtbl, 0x1937dbb3_6c01_4c9d_85cd_5babaac2b351); #[repr(C)] pub struct IStorePreviewProductInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -134,13 +134,13 @@ pub struct IStorePreviewProductInfo_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SkuInfoList: usize, } -windows_core::imp::com_interface!(IStorePreviewPurchaseResults, IStorePreviewPurchaseResults_Vtbl, 0xb0daaed1_d6c5_4e53_a043_fba0d8e61231); +windows_core::imp::define_interface!(IStorePreviewPurchaseResults, IStorePreviewPurchaseResults_Vtbl, 0xb0daaed1_d6c5_4e53_a043_fba0d8e61231); #[repr(C)] pub struct IStorePreviewPurchaseResults_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ProductPurchaseStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StorePreviewProductPurchaseStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorePreviewSkuInfo, IStorePreviewSkuInfo_Vtbl, 0x81fd76e2_0b26_48d9_98ce_27461c669d6c); +windows_core::imp::define_interface!(IStorePreviewSkuInfo, IStorePreviewSkuInfo_Vtbl, 0x81fd76e2_0b26_48d9_98ce_27461c669d6c); #[repr(C)] pub struct IStorePreviewSkuInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -154,7 +154,7 @@ pub struct IStorePreviewSkuInfo_Vtbl { pub FormattedListPrice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub ExtendedData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAuthenticationCoreManagerHelper, IWebAuthenticationCoreManagerHelper_Vtbl, 0x06a50525_e715_4123_9276_9d6f865ba55f); +windows_core::imp::define_interface!(IWebAuthenticationCoreManagerHelper, IWebAuthenticationCoreManagerHelper_Vtbl, 0x06a50525_e715_4123_9276_9d6f865ba55f); #[repr(C)] pub struct IWebAuthenticationCoreManagerHelper_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs index ed1c99de05..76527fba8c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs @@ -2,7 +2,7 @@ pub mod LicenseManagement; #[cfg(feature = "ApplicationModel_Store_Preview")] pub mod Preview; -windows_core::imp::com_interface!(ICurrentApp, ICurrentApp_Vtbl, 0xd52dc065_da3f_4685_995e_9b482eb5e603); +windows_core::imp::define_interface!(ICurrentApp, ICurrentApp_Vtbl, 0xd52dc065_da3f_4685_995e_9b482eb5e603); #[repr(C)] pub struct ICurrentApp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,14 +18,14 @@ pub struct ICurrentApp_Vtbl { pub GetAppReceiptAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetProductReceiptAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICurrentApp2Statics, ICurrentApp2Statics_Vtbl, 0xdf4e6e2d_3171_4ad3_8614_2c61244373cb); +windows_core::imp::define_interface!(ICurrentApp2Statics, ICurrentApp2Statics_Vtbl, 0xdf4e6e2d_3171_4ad3_8614_2c61244373cb); #[repr(C)] pub struct ICurrentApp2Statics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(ICurrentAppSimulator, ICurrentAppSimulator_Vtbl, 0xf17f9db1_74cd_4787_9787_19866e9a5559); +windows_core::imp::define_interface!(ICurrentAppSimulator, ICurrentAppSimulator_Vtbl, 0xf17f9db1_74cd_4787_9787_19866e9a5559); #[repr(C)] pub struct ICurrentAppSimulator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -45,7 +45,7 @@ pub struct ICurrentAppSimulator_Vtbl { #[cfg(not(feature = "Storage"))] ReloadSimulatorAsync: usize, } -windows_core::imp::com_interface!(ICurrentAppSimulatorStaticsWithFiltering, ICurrentAppSimulatorStaticsWithFiltering_Vtbl, 0x617e70e2_f86f_4b54_9666_dde285092c68); +windows_core::imp::define_interface!(ICurrentAppSimulatorStaticsWithFiltering, ICurrentAppSimulatorStaticsWithFiltering_Vtbl, 0x617e70e2_f86f_4b54_9666_dde285092c68); #[repr(C)] pub struct ICurrentAppSimulatorStaticsWithFiltering_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,13 +58,13 @@ pub struct ICurrentAppSimulatorStaticsWithFiltering_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] LoadListingInformationByKeywordsAsync: usize, } -windows_core::imp::com_interface!(ICurrentAppSimulatorWithCampaignId, ICurrentAppSimulatorWithCampaignId_Vtbl, 0x84678a43_df00_4672_a43f_b25b1441cfcf); +windows_core::imp::define_interface!(ICurrentAppSimulatorWithCampaignId, ICurrentAppSimulatorWithCampaignId_Vtbl, 0x84678a43_df00_4672_a43f_b25b1441cfcf); #[repr(C)] pub struct ICurrentAppSimulatorWithCampaignId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetAppPurchaseCampaignIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICurrentAppSimulatorWithConsumables, ICurrentAppSimulatorWithConsumables_Vtbl, 0x4e51f0ab_20e7_4412_9b85_59bb78388667); +windows_core::imp::define_interface!(ICurrentAppSimulatorWithConsumables, ICurrentAppSimulatorWithConsumables_Vtbl, 0x4e51f0ab_20e7_4412_9b85_59bb78388667); #[repr(C)] pub struct ICurrentAppSimulatorWithConsumables_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -76,7 +76,7 @@ pub struct ICurrentAppSimulatorWithConsumables_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetUnfulfilledConsumablesAsync: usize, } -windows_core::imp::com_interface!(ICurrentAppStaticsWithFiltering, ICurrentAppStaticsWithFiltering_Vtbl, 0xd36d6542_9085_438e_97ba_a25c976be2fd); +windows_core::imp::define_interface!(ICurrentAppStaticsWithFiltering, ICurrentAppStaticsWithFiltering_Vtbl, 0xd36d6542_9085_438e_97ba_a25c976be2fd); #[repr(C)] pub struct ICurrentAppStaticsWithFiltering_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -90,13 +90,13 @@ pub struct ICurrentAppStaticsWithFiltering_Vtbl { LoadListingInformationByKeywordsAsync: usize, pub ReportProductFulfillment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICurrentAppWithCampaignId, ICurrentAppWithCampaignId_Vtbl, 0x312f4cd0_36c1_44a6_b32b_432d608e4dd6); +windows_core::imp::define_interface!(ICurrentAppWithCampaignId, ICurrentAppWithCampaignId_Vtbl, 0x312f4cd0_36c1_44a6_b32b_432d608e4dd6); #[repr(C)] pub struct ICurrentAppWithCampaignId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetAppPurchaseCampaignIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICurrentAppWithConsumables, ICurrentAppWithConsumables_Vtbl, 0x844e0071_9e4f_4f79_995a_5f91172e6cef); +windows_core::imp::define_interface!(ICurrentAppWithConsumables, ICurrentAppWithConsumables_Vtbl, 0x844e0071_9e4f_4f79_995a_5f91172e6cef); #[repr(C)] pub struct ICurrentAppWithConsumables_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -108,7 +108,7 @@ pub struct ICurrentAppWithConsumables_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetUnfulfilledConsumablesAsync: usize, } -windows_core::imp::com_interface!(ILicenseInformation, ILicenseInformation_Vtbl, 0x8eb7dc30_f170_4ed5_8e21_1516da3fd367); +windows_core::imp::define_interface!(ILicenseInformation, ILicenseInformation_Vtbl, 0x8eb7dc30_f170_4ed5_8e21_1516da3fd367); #[repr(C)] pub struct ILicenseInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -122,7 +122,7 @@ pub struct ILicenseInformation_Vtbl { pub LicenseChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveLicenseChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IListingInformation, IListingInformation_Vtbl, 0x588b4abf_bc74_4383_b78c_99606323dece); +windows_core::imp::define_interface!(IListingInformation, IListingInformation_Vtbl, 0x588b4abf_bc74_4383_b78c_99606323dece); #[repr(C)] pub struct IListingInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -136,7 +136,7 @@ pub struct IListingInformation_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub AgeRating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IListingInformation2, IListingInformation2_Vtbl, 0xc0fd2c1d_b30e_4384_84ea_72fefa82223e); +windows_core::imp::define_interface!(IListingInformation2, IListingInformation2_Vtbl, 0xc0fd2c1d_b30e_4384_84ea_72fefa82223e); #[repr(C)] pub struct IListingInformation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -145,7 +145,7 @@ pub struct IListingInformation2_Vtbl { pub IsOnSale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub CurrencyCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProductLicense, IProductLicense_Vtbl, 0x363308c7_2bcf_4c0e_8f2f_e808aaa8f99d); +windows_core::imp::define_interface!(IProductLicense, IProductLicense_Vtbl, 0x363308c7_2bcf_4c0e_8f2f_e808aaa8f99d); #[repr(C)] pub struct IProductLicense_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -153,13 +153,13 @@ pub struct IProductLicense_Vtbl { 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, } -windows_core::imp::com_interface!(IProductLicenseWithFulfillment, IProductLicenseWithFulfillment_Vtbl, 0xfc535c8a_f667_40f3_ba3c_045a63abb3ac); +windows_core::imp::define_interface!(IProductLicenseWithFulfillment, IProductLicenseWithFulfillment_Vtbl, 0xfc535c8a_f667_40f3_ba3c_045a63abb3ac); #[repr(C)] pub struct IProductLicenseWithFulfillment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsConsumable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProductListing, IProductListing_Vtbl, 0x45a7d6ad_c750_4d9c_947c_b00dcbf9e9c2); +windows_core::imp::define_interface!(IProductListing, IProductListing_Vtbl, 0x45a7d6ad_c750_4d9c_947c_b00dcbf9e9c2); #[repr(C)] pub struct IProductListing_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -167,7 +167,7 @@ pub struct IProductListing_Vtbl { pub FormattedPrice: 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, } -windows_core::imp::com_interface!(IProductListing2, IProductListing2_Vtbl, 0xf89e290f_73fe_494d_a939_08a9b2495abe); +windows_core::imp::define_interface!(IProductListing2, IProductListing2_Vtbl, 0xf89e290f_73fe_494d_a939_08a9b2495abe); #[repr(C)] pub struct IProductListing2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -176,13 +176,13 @@ pub struct IProductListing2_Vtbl { pub IsOnSale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub CurrencyCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProductListingWithConsumables, IProductListingWithConsumables_Vtbl, 0xeb9e9790_8f6b_481f_93a7_5c3a63068149); +windows_core::imp::define_interface!(IProductListingWithConsumables, IProductListingWithConsumables_Vtbl, 0xeb9e9790_8f6b_481f_93a7_5c3a63068149); #[repr(C)] pub struct IProductListingWithConsumables_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ProductType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ProductType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProductListingWithMetadata, IProductListingWithMetadata_Vtbl, 0x124da567_23f8_423e_9532_189943c40ace); +windows_core::imp::define_interface!(IProductListingWithMetadata, IProductListingWithMetadata_Vtbl, 0x124da567_23f8_423e_9532_189943c40ace); #[repr(C)] pub struct IProductListingWithMetadata_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -195,7 +195,7 @@ pub struct IProductListingWithMetadata_Vtbl { pub Tag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub ImageUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProductPurchaseDisplayProperties, IProductPurchaseDisplayProperties_Vtbl, 0xd70b7420_bc92_401b_a809_c9b2e5dbbdaf); +windows_core::imp::define_interface!(IProductPurchaseDisplayProperties, IProductPurchaseDisplayProperties_Vtbl, 0xd70b7420_bc92_401b_a809_c9b2e5dbbdaf); #[repr(C)] pub struct IProductPurchaseDisplayProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -206,13 +206,13 @@ pub struct IProductPurchaseDisplayProperties_Vtbl { pub Image: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProductPurchaseDisplayPropertiesFactory, IProductPurchaseDisplayPropertiesFactory_Vtbl, 0x6f491df4_32d6_4b40_b474_b83038a4d9cf); +windows_core::imp::define_interface!(IProductPurchaseDisplayPropertiesFactory, IProductPurchaseDisplayPropertiesFactory_Vtbl, 0x6f491df4_32d6_4b40_b474_b83038a4d9cf); #[repr(C)] pub struct IProductPurchaseDisplayPropertiesFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateProductPurchaseDisplayProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPurchaseResults, IPurchaseResults_Vtbl, 0xed50b37e_8656_4f65_b8c8_ac7e0cb1a1c2); +windows_core::imp::define_interface!(IPurchaseResults, IPurchaseResults_Vtbl, 0xed50b37e_8656_4f65_b8c8_ac7e0cb1a1c2); #[repr(C)] pub struct IPurchaseResults_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -221,7 +221,7 @@ pub struct IPurchaseResults_Vtbl { pub ReceiptXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub OfferId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUnfulfilledConsumable, IUnfulfilledConsumable_Vtbl, 0x2df7fbbb_1cdd_4cb8_a014_7b9cf8986927); +windows_core::imp::define_interface!(IUnfulfilledConsumable, IUnfulfilledConsumable_Vtbl, 0x2df7fbbb_1cdd_4cb8_a014_7b9cf8986927); #[repr(C)] pub struct IUnfulfilledConsumable_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1033,7 +1033,7 @@ impl core::fmt::Debug for ProductType { impl windows_core::RuntimeType for ProductType { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.ApplicationModel.Store.ProductType;i4)"); } -windows_core::imp::com_interface!(LicenseChangedEventHandler, LicenseChangedEventHandler_Vtbl, 0xd4a50255_1369_4c36_832f_6f2d88e3659b); +windows_core::imp::define_interface!(LicenseChangedEventHandler, LicenseChangedEventHandler_Vtbl, 0xd4a50255_1369_4c36_832f_6f2d88e3659b); impl LicenseChangedEventHandler { pub fn new windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = LicenseChangedEventHandlerBox:: { vtable: &LicenseChangedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; 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 abc47c1a0b..ed64d1acd2 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICoreUserActivityManagerStatics, ICoreUserActivityManagerStatics_Vtbl, 0xca3adb02_a4be_4d4d_bfa8_6795f4264efb); +windows_core::imp::define_interface!(ICoreUserActivityManagerStatics, ICoreUserActivityManagerStatics_Vtbl, 0xca3adb02_a4be_4d4d_bfa8_6795f4264efb); #[repr(C)] pub struct ICoreUserActivityManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs index 538ef24f3d..8bbf8fb281 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "ApplicationModel_UserActivities_Core")] pub mod Core; -windows_core::imp::com_interface!(IUserActivity, IUserActivity_Vtbl, 0xfc103e9e_2cab_4d36_aea2_b4bb556cef0f); +windows_core::imp::define_interface!(IUserActivity, IUserActivity_Vtbl, 0xfc103e9e_2cab_4d36_aea2_b4bb556cef0f); #[repr(C)] pub struct IUserActivity_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,20 +20,20 @@ pub struct IUserActivity_Vtbl { pub SaveAsync: unsafe extern "system" fn(*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, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserActivity2, IUserActivity2_Vtbl, 0x9dc40c62_08c4_47ac_aa9c_2bb2221c55fd); +windows_core::imp::define_interface!(IUserActivity2, IUserActivity2_Vtbl, 0x9dc40c62_08c4_47ac_aa9c_2bb2221c55fd); #[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, } -windows_core::imp::com_interface!(IUserActivity3, IUserActivity3_Vtbl, 0xe7697744_e1a2_5147_8e06_55f1eeef271c); +windows_core::imp::define_interface!(IUserActivity3, IUserActivity3_Vtbl, 0xe7697744_e1a2_5147_8e06_55f1eeef271c); #[repr(C)] pub struct IUserActivity3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsRoamable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsRoamable: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserActivityAttribution, IUserActivityAttribution_Vtbl, 0x34a5c8b5_86dd_4aec_a491_6a4faea5d22e); +windows_core::imp::define_interface!(IUserActivityAttribution, IUserActivityAttribution_Vtbl, 0x34a5c8b5_86dd_4aec_a491_6a4faea5d22e); #[repr(C)] pub struct IUserActivityAttribution_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,13 +44,13 @@ pub struct IUserActivityAttribution_Vtbl { 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, } -windows_core::imp::com_interface!(IUserActivityAttributionFactory, IUserActivityAttributionFactory_Vtbl, 0xe62bd252_c566_4f42_9974_916c4d76377e); +windows_core::imp::define_interface!(IUserActivityAttributionFactory, IUserActivityAttributionFactory_Vtbl, 0xe62bd252_c566_4f42_9974_916c4d76377e); #[repr(C)] pub struct IUserActivityAttributionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateWithUri: 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::com_interface!(IUserActivityChannel, IUserActivityChannel_Vtbl, 0xbac0f8b8_a0e4_483b_b948_9cbabd06070c); +windows_core::imp::define_interface!(IUserActivityChannel, IUserActivityChannel_Vtbl, 0xbac0f8b8_a0e4_483b_b948_9cbabd06070c); #[repr(C)] pub struct IUserActivityChannel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,7 +58,7 @@ pub struct IUserActivityChannel_Vtbl { pub DeleteActivityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IUserActivityChannel2, IUserActivityChannel2_Vtbl, 0x1698e35b_eb7e_4ea0_bf17_a459e8be706c); +windows_core::imp::define_interface!(IUserActivityChannel2, IUserActivityChannel2_Vtbl, 0x1698e35b_eb7e_4ea0_bf17_a459e8be706c); #[repr(C)] pub struct IUserActivityChannel2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -71,13 +71,13 @@ pub struct IUserActivityChannel2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetSessionHistoryItemsForUserActivityAsync: usize, } -windows_core::imp::com_interface!(IUserActivityChannelStatics, IUserActivityChannelStatics_Vtbl, 0xc8c005ab_198d_4d80_abb2_c9775ec4a729); +windows_core::imp::define_interface!(IUserActivityChannelStatics, IUserActivityChannelStatics_Vtbl, 0xc8c005ab_198d_4d80_abb2_c9775ec4a729); #[repr(C)] pub struct IUserActivityChannelStatics_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, } -windows_core::imp::com_interface!(IUserActivityChannelStatics2, IUserActivityChannelStatics2_Vtbl, 0x8e87de30_aa4f_4624_9ad0_d40f3ba0317c); +windows_core::imp::define_interface!(IUserActivityChannelStatics2, IUserActivityChannelStatics2_Vtbl, 0x8e87de30_aa4f_4624_9ad0_d40f3ba0317c); #[repr(C)] pub struct IUserActivityChannelStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -87,7 +87,7 @@ pub struct IUserActivityChannelStatics2_Vtbl { #[cfg(not(feature = "Security_Credentials"))] TryGetForWebAccount: usize, } -windows_core::imp::com_interface!(IUserActivityChannelStatics3, IUserActivityChannelStatics3_Vtbl, 0x53bc4ddb_bbdf_5984_802a_5305874e205c); +windows_core::imp::define_interface!(IUserActivityChannelStatics3, IUserActivityChannelStatics3_Vtbl, 0x53bc4ddb_bbdf_5984_802a_5305874e205c); #[repr(C)] pub struct IUserActivityChannelStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -96,7 +96,7 @@ pub struct IUserActivityChannelStatics3_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IUserActivityContentInfo, IUserActivityContentInfo_Vtbl, 0xb399e5ad_137f_409d_822d_e1af27ce08dc); +windows_core::imp::define_interface!(IUserActivityContentInfo, IUserActivityContentInfo_Vtbl, 0xb399e5ad_137f_409d_822d_e1af27ce08dc); windows_core::imp::interface_hierarchy!(IUserActivityContentInfo, windows_core::IUnknown, windows_core::IInspectable); impl IUserActivityContentInfo { pub fn ToJson(&self) -> windows_core::Result { @@ -115,51 +115,51 @@ 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, } -windows_core::imp::com_interface!(IUserActivityContentInfoStatics, IUserActivityContentInfoStatics_Vtbl, 0x9988c34b_0386_4bc9_968a_8200b004144f); +windows_core::imp::define_interface!(IUserActivityContentInfoStatics, IUserActivityContentInfoStatics_Vtbl, 0x9988c34b_0386_4bc9_968a_8200b004144f); #[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, } -windows_core::imp::com_interface!(IUserActivityFactory, IUserActivityFactory_Vtbl, 0x7c385758_361d_4a67_8a3b_34ca2978f9a3); +windows_core::imp::define_interface!(IUserActivityFactory, IUserActivityFactory_Vtbl, 0x7c385758_361d_4a67_8a3b_34ca2978f9a3); #[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, } -windows_core::imp::com_interface!(IUserActivityRequest, IUserActivityRequest_Vtbl, 0xa0ef6355_cf35_4ff0_8833_50cb4b72e06d); +windows_core::imp::define_interface!(IUserActivityRequest, IUserActivityRequest_Vtbl, 0xa0ef6355_cf35_4ff0_8833_50cb4b72e06d); #[repr(C)] pub struct IUserActivityRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetUserActivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserActivityRequestManager, IUserActivityRequestManager_Vtbl, 0x0c30be4e_903d_48d6_82d4_4043ed57791b); +windows_core::imp::define_interface!(IUserActivityRequestManager, IUserActivityRequestManager_Vtbl, 0x0c30be4e_903d_48d6_82d4_4043ed57791b); #[repr(C)] pub struct IUserActivityRequestManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UserActivityRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveUserActivityRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserActivityRequestManagerStatics, IUserActivityRequestManagerStatics_Vtbl, 0xc0392df1_224a_432c_81e5_0c76b4c4cefa); +windows_core::imp::define_interface!(IUserActivityRequestManagerStatics, IUserActivityRequestManagerStatics_Vtbl, 0xc0392df1_224a_432c_81e5_0c76b4c4cefa); #[repr(C)] pub struct IUserActivityRequestManagerStatics_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, } -windows_core::imp::com_interface!(IUserActivityRequestedEventArgs, IUserActivityRequestedEventArgs_Vtbl, 0xa4cc7a4c_8229_4cfd_a3bc_c61d318575a4); +windows_core::imp::define_interface!(IUserActivityRequestedEventArgs, IUserActivityRequestedEventArgs_Vtbl, 0xa4cc7a4c_8229_4cfd_a3bc_c61d318575a4); #[repr(C)] pub struct IUserActivityRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IUserActivitySession, IUserActivitySession_Vtbl, 0xae434d78_24fa_44a3_ad48_6eda61aa1924); +windows_core::imp::define_interface!(IUserActivitySession, IUserActivitySession_Vtbl, 0xae434d78_24fa_44a3_ad48_6eda61aa1924); #[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, } -windows_core::imp::com_interface!(IUserActivitySessionHistoryItem, IUserActivitySessionHistoryItem_Vtbl, 0xe8d59bd3_3e5d_49fd_98d7_6da97521e255); +windows_core::imp::define_interface!(IUserActivitySessionHistoryItem, IUserActivitySessionHistoryItem_Vtbl, 0xe8d59bd3_3e5d_49fd_98d7_6da97521e255); #[repr(C)] pub struct IUserActivitySessionHistoryItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -167,7 +167,7 @@ pub struct IUserActivitySessionHistoryItem_Vtbl { pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub EndTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserActivityStatics, IUserActivityStatics_Vtbl, 0x8c8fd333_0e09_47f6_9ac7_95cf5c39367b); +windows_core::imp::define_interface!(IUserActivityStatics, IUserActivityStatics_Vtbl, 0x8c8fd333_0e09_47f6_9ac7_95cf5c39367b); #[repr(C)] pub struct IUserActivityStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -181,7 +181,7 @@ pub struct IUserActivityStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ToJsonArray: usize, } -windows_core::imp::com_interface!(IUserActivityVisualElements, IUserActivityVisualElements_Vtbl, 0x94757513_262f_49ef_bbbf_9b75d2e85250); +windows_core::imp::define_interface!(IUserActivityVisualElements, IUserActivityVisualElements_Vtbl, 0x94757513_262f_49ef_bbbf_9b75d2e85250); #[repr(C)] pub struct IUserActivityVisualElements_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -208,7 +208,7 @@ pub struct IUserActivityVisualElements_Vtbl { #[cfg(not(feature = "UI_Shell"))] Content: usize, } -windows_core::imp::com_interface!(IUserActivityVisualElements2, IUserActivityVisualElements2_Vtbl, 0xcaae7fc7_3eef_4359_825c_9d51b9220de3); +windows_core::imp::define_interface!(IUserActivityVisualElements2, IUserActivityVisualElements2_Vtbl, 0xcaae7fc7_3eef_4359_825c_9d51b9220de3); #[repr(C)] pub struct IUserActivityVisualElements2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 155b15b224..bb9f5263f7 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IUserDataAccountPartnerAccountInfo, IUserDataAccountPartnerAccountInfo_Vtbl, 0x5f200037_f6ef_4ec3_8630_012c59c1149f); +windows_core::imp::define_interface!(IUserDataAccountPartnerAccountInfo, IUserDataAccountPartnerAccountInfo_Vtbl, 0x5f200037_f6ef_4ec3_8630_012c59c1149f); #[repr(C)] pub struct IUserDataAccountPartnerAccountInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,7 +6,7 @@ pub struct IUserDataAccountPartnerAccountInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataAccountProviderAddAccountOperation, IUserDataAccountProviderAddAccountOperation_Vtbl, 0xb9c72530_3f84_4b5d_8eaa_45e97aa842ed); +windows_core::imp::define_interface!(IUserDataAccountProviderAddAccountOperation, IUserDataAccountProviderAddAccountOperation_Vtbl, 0xb9c72530_3f84_4b5d_8eaa_45e97aa842ed); #[repr(C)] pub struct IUserDataAccountProviderAddAccountOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,7 +17,7 @@ pub struct IUserDataAccountProviderAddAccountOperation_Vtbl { PartnerAccountInfos: usize, pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDataAccountProviderOperation, IUserDataAccountProviderOperation_Vtbl, 0xa20aad63_888c_4a62_a3dd_34d07a802b2b); +windows_core::imp::define_interface!(IUserDataAccountProviderOperation, IUserDataAccountProviderOperation_Vtbl, 0xa20aad63_888c_4a62_a3dd_34d07a802b2b); windows_core::imp::interface_hierarchy!(IUserDataAccountProviderOperation, windows_core::IUnknown, windows_core::IInspectable); impl IUserDataAccountProviderOperation { pub fn Kind(&self) -> windows_core::Result { @@ -36,14 +36,14 @@ pub struct IUserDataAccountProviderOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserDataAccountProviderOperationKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDataAccountProviderResolveErrorsOperation, IUserDataAccountProviderResolveErrorsOperation_Vtbl, 0x6235dc15_bfcb_41e1_9957_9759a28846cc); +windows_core::imp::define_interface!(IUserDataAccountProviderResolveErrorsOperation, IUserDataAccountProviderResolveErrorsOperation_Vtbl, 0x6235dc15_bfcb_41e1_9957_9759a28846cc); #[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 ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDataAccountProviderSettingsOperation, IUserDataAccountProviderSettingsOperation_Vtbl, 0x92034db7_8648_4f30_acfa_3002658ca80d); +windows_core::imp::define_interface!(IUserDataAccountProviderSettingsOperation, IUserDataAccountProviderSettingsOperation_Vtbl, 0x92034db7_8648_4f30_acfa_3002658ca80d); #[repr(C)] pub struct IUserDataAccountProviderSettingsOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 5fde990d84..7c316177f7 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/SystemAccess/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDeviceAccountConfiguration, IDeviceAccountConfiguration_Vtbl, 0xad0123a3_fbdc_4d1b_be43_5a27ea4a1b63); +windows_core::imp::define_interface!(IDeviceAccountConfiguration, IDeviceAccountConfiguration_Vtbl, 0xad0123a3_fbdc_4d1b_be43_5a27ea4a1b63); #[repr(C)] pub struct IDeviceAccountConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,7 +35,7 @@ pub struct IDeviceAccountConfiguration_Vtbl { 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, } -windows_core::imp::com_interface!(IDeviceAccountConfiguration2, IDeviceAccountConfiguration2_Vtbl, 0xf2b2e5a6_728d_4a4a_8945_2bf8580136de); +windows_core::imp::define_interface!(IDeviceAccountConfiguration2, IDeviceAccountConfiguration2_Vtbl, 0xf2b2e5a6_728d_4a4a_8945_2bf8580136de); #[repr(C)] pub struct IDeviceAccountConfiguration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -108,7 +108,7 @@ pub struct IDeviceAccountConfiguration2_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataAccountSystemAccessManagerStatics, IUserDataAccountSystemAccessManagerStatics_Vtbl, 0x9d6b11b9_cbe5_45f5_822b_c267b81dbdb6); +windows_core::imp::define_interface!(IUserDataAccountSystemAccessManagerStatics, IUserDataAccountSystemAccessManagerStatics_Vtbl, 0x9d6b11b9_cbe5_45f5_822b_c267b81dbdb6); #[repr(C)] pub struct IUserDataAccountSystemAccessManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -117,7 +117,7 @@ pub struct IUserDataAccountSystemAccessManagerStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AddAndShowDeviceAccountsAsync: usize, } -windows_core::imp::com_interface!(IUserDataAccountSystemAccessManagerStatics2, IUserDataAccountSystemAccessManagerStatics2_Vtbl, 0x943f854d_4b4e_439f_83d3_979b27c05ac7); +windows_core::imp::define_interface!(IUserDataAccountSystemAccessManagerStatics2, IUserDataAccountSystemAccessManagerStatics2_Vtbl, 0x943f854d_4b4e_439f_83d3_979b27c05ac7); #[repr(C)] pub struct IUserDataAccountSystemAccessManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs index a738da8ed9..6f6f357f3f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/mod.rs @@ -2,7 +2,7 @@ pub mod Provider; #[cfg(feature = "ApplicationModel_UserDataAccounts_SystemAccess")] pub mod SystemAccess; -windows_core::imp::com_interface!(IUserDataAccount, IUserDataAccount_Vtbl, 0xb9c4367e_b348_4910_be94_4ad4bba6dea7); +windows_core::imp::define_interface!(IUserDataAccount, IUserDataAccount_Vtbl, 0xb9c4367e_b348_4910_be94_4ad4bba6dea7); #[repr(C)] pub struct IUserDataAccount_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -36,14 +36,14 @@ pub struct IUserDataAccount_Vtbl { #[cfg(not(all(feature = "ApplicationModel_Contacts", feature = "Foundation_Collections")))] FindContactAnnotationListsAsync: usize, } -windows_core::imp::com_interface!(IUserDataAccount2, IUserDataAccount2_Vtbl, 0x078cd89f_de82_404b_8195_c8a3ac198f60); +windows_core::imp::define_interface!(IUserDataAccount2, IUserDataAccount2_Vtbl, 0x078cd89f_de82_404b_8195_c8a3ac198f60); #[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 IsProtectedUnderLock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDataAccount3, IUserDataAccount3_Vtbl, 0x01533845_6c43_4286_9d69_3e1709a1f266); +windows_core::imp::define_interface!(IUserDataAccount3, IUserDataAccount3_Vtbl, 0x01533845_6c43_4286_9d69_3e1709a1f266); #[repr(C)] pub struct IUserDataAccount3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -54,7 +54,7 @@ pub struct IUserDataAccount3_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, } -windows_core::imp::com_interface!(IUserDataAccount4, IUserDataAccount4_Vtbl, 0xc4315210_eae5_4f0a_a8b2_1cca115e008f); +windows_core::imp::define_interface!(IUserDataAccount4, IUserDataAccount4_Vtbl, 0xc4315210_eae5_4f0a_a8b2_1cca115e008f); #[repr(C)] pub struct IUserDataAccount4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -79,7 +79,7 @@ pub struct IUserDataAccount4_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SetIcon: usize, } -windows_core::imp::com_interface!(IUserDataAccountManagerForUser, IUserDataAccountManagerForUser_Vtbl, 0x56a6e8db_db8f_41ab_a65f_8c5971aac982); +windows_core::imp::define_interface!(IUserDataAccountManagerForUser, IUserDataAccountManagerForUser_Vtbl, 0x56a6e8db_db8f_41ab_a65f_8c5971aac982); #[repr(C)] pub struct IUserDataAccountManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,7 +89,7 @@ pub struct IUserDataAccountManagerForUser_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IUserDataAccountManagerStatics, IUserDataAccountManagerStatics_Vtbl, 0x0d9b89ea_1928_4a20_86d5_3c737f7dc3b0); +windows_core::imp::define_interface!(IUserDataAccountManagerStatics, IUserDataAccountManagerStatics_Vtbl, 0x0d9b89ea_1928_4a20_86d5_3c737f7dc3b0); #[repr(C)] pub struct IUserDataAccountManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -98,7 +98,7 @@ pub struct IUserDataAccountManagerStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataAccountManagerStatics2, IUserDataAccountManagerStatics2_Vtbl, 0x6a3ded88_316b_435e_b534_f7d4b4b7dba6); +windows_core::imp::define_interface!(IUserDataAccountManagerStatics2, IUserDataAccountManagerStatics2_Vtbl, 0x6a3ded88_316b_435e_b534_f7d4b4b7dba6); #[repr(C)] pub struct IUserDataAccountManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -107,7 +107,7 @@ pub struct IUserDataAccountManagerStatics2_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IUserDataAccountStore, IUserDataAccountStore_Vtbl, 0x2073b0ad_7d0a_4e76_bf45_2368f978a59a); +windows_core::imp::define_interface!(IUserDataAccountStore, IUserDataAccountStore_Vtbl, 0x2073b0ad_7d0a_4e76_bf45_2368f978a59a); #[repr(C)] pub struct IUserDataAccountStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -118,7 +118,7 @@ pub struct IUserDataAccountStore_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataAccountStore2, IUserDataAccountStore2_Vtbl, 0xb1e0aef7_9560_4631_8af0_061d30161469); +windows_core::imp::define_interface!(IUserDataAccountStore2, IUserDataAccountStore2_Vtbl, 0xb1e0aef7_9560_4631_8af0_061d30161469); #[repr(C)] pub struct IUserDataAccountStore2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -126,13 +126,13 @@ pub struct IUserDataAccountStore2_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, } -windows_core::imp::com_interface!(IUserDataAccountStore3, IUserDataAccountStore3_Vtbl, 0x8142c094_f3c9_478b_b117_6585bebb6789); +windows_core::imp::define_interface!(IUserDataAccountStore3, IUserDataAccountStore3_Vtbl, 0x8142c094_f3c9_478b_b117_6585bebb6789); #[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, } -windows_core::imp::com_interface!(IUserDataAccountStoreChangedEventArgs, IUserDataAccountStoreChangedEventArgs_Vtbl, 0x84e3e2e5_8820_4512_b1f6_2e035be1072c); +windows_core::imp::define_interface!(IUserDataAccountStoreChangedEventArgs, IUserDataAccountStoreChangedEventArgs_Vtbl, 0x84e3e2e5_8820_4512_b1f6_2e035be1072c); #[repr(C)] pub struct IUserDataAccountStoreChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 1e11bb4379..aadb557bfb 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/DataProvider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IUserDataTaskDataProviderConnection, IUserDataTaskDataProviderConnection_Vtbl, 0x9ff39d1d_a447_428b_afe9_e5402bdeb041); +windows_core::imp::define_interface!(IUserDataTaskDataProviderConnection, IUserDataTaskDataProviderConnection_Vtbl, 0x9ff39d1d_a447_428b_afe9_e5402bdeb041); #[repr(C)] pub struct IUserDataTaskDataProviderConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -14,13 +14,13 @@ pub struct IUserDataTaskDataProviderConnection_Vtbl { pub RemoveDeleteTaskRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDataTaskDataProviderTriggerDetails, IUserDataTaskDataProviderTriggerDetails_Vtbl, 0xae273202_b1c9_453e_afc5_b30af3bd217d); +windows_core::imp::define_interface!(IUserDataTaskDataProviderTriggerDetails, IUserDataTaskDataProviderTriggerDetails_Vtbl, 0xae273202_b1c9_453e_afc5_b30af3bd217d); #[repr(C)] pub struct IUserDataTaskDataProviderTriggerDetails_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, } -windows_core::imp::com_interface!(IUserDataTaskListCompleteTaskRequest, IUserDataTaskListCompleteTaskRequest_Vtbl, 0xf65e14a3_1a42_49da_8552_2873e52c55eb); +windows_core::imp::define_interface!(IUserDataTaskListCompleteTaskRequest, IUserDataTaskListCompleteTaskRequest_Vtbl, 0xf65e14a3_1a42_49da_8552_2873e52c55eb); #[repr(C)] pub struct IUserDataTaskListCompleteTaskRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -29,14 +29,14 @@ pub struct IUserDataTaskListCompleteTaskRequest_Vtbl { pub ReportCompletedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IUserDataTaskListCompleteTaskRequestEventArgs, IUserDataTaskListCompleteTaskRequestEventArgs_Vtbl, 0xd77c393d_4cf2_48ad_87fd_963f0eaa7a95); +windows_core::imp::define_interface!(IUserDataTaskListCompleteTaskRequestEventArgs, IUserDataTaskListCompleteTaskRequestEventArgs_Vtbl, 0xd77c393d_4cf2_48ad_87fd_963f0eaa7a95); #[repr(C)] pub struct IUserDataTaskListCompleteTaskRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IUserDataTaskListCreateOrUpdateTaskRequest, IUserDataTaskListCreateOrUpdateTaskRequest_Vtbl, 0x2133772c_55c2_4300_8279_04326e07cce4); +windows_core::imp::define_interface!(IUserDataTaskListCreateOrUpdateTaskRequest, IUserDataTaskListCreateOrUpdateTaskRequest_Vtbl, 0x2133772c_55c2_4300_8279_04326e07cce4); #[repr(C)] pub struct IUserDataTaskListCreateOrUpdateTaskRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -45,14 +45,14 @@ pub struct IUserDataTaskListCreateOrUpdateTaskRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataTaskListCreateOrUpdateTaskRequestEventArgs, IUserDataTaskListCreateOrUpdateTaskRequestEventArgs_Vtbl, 0x12c55a52_e378_419b_ae38_a5e9e604476e); +windows_core::imp::define_interface!(IUserDataTaskListCreateOrUpdateTaskRequestEventArgs, IUserDataTaskListCreateOrUpdateTaskRequestEventArgs_Vtbl, 0x12c55a52_e378_419b_ae38_a5e9e604476e); #[repr(C)] pub struct IUserDataTaskListCreateOrUpdateTaskRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IUserDataTaskListDeleteTaskRequest, IUserDataTaskListDeleteTaskRequest_Vtbl, 0x4b863c68_7657_4f3d_b074_d47ec8df07e7); +windows_core::imp::define_interface!(IUserDataTaskListDeleteTaskRequest, IUserDataTaskListDeleteTaskRequest_Vtbl, 0x4b863c68_7657_4f3d_b074_d47ec8df07e7); #[repr(C)] pub struct IUserDataTaskListDeleteTaskRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -61,14 +61,14 @@ pub struct IUserDataTaskListDeleteTaskRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataTaskListDeleteTaskRequestEventArgs, IUserDataTaskListDeleteTaskRequestEventArgs_Vtbl, 0x6063dad9_f562_4145_8efe_d50078c92b7f); +windows_core::imp::define_interface!(IUserDataTaskListDeleteTaskRequestEventArgs, IUserDataTaskListDeleteTaskRequestEventArgs_Vtbl, 0x6063dad9_f562_4145_8efe_d50078c92b7f); #[repr(C)] pub struct IUserDataTaskListDeleteTaskRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IUserDataTaskListSkipOccurrenceRequest, IUserDataTaskListSkipOccurrenceRequest_Vtbl, 0xab87e34d_1cd3_431c_9f58_089aa4338d85); +windows_core::imp::define_interface!(IUserDataTaskListSkipOccurrenceRequest, IUserDataTaskListSkipOccurrenceRequest_Vtbl, 0xab87e34d_1cd3_431c_9f58_089aa4338d85); #[repr(C)] pub struct IUserDataTaskListSkipOccurrenceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -77,14 +77,14 @@ pub struct IUserDataTaskListSkipOccurrenceRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataTaskListSkipOccurrenceRequestEventArgs, IUserDataTaskListSkipOccurrenceRequestEventArgs_Vtbl, 0x7a3b924a_cc2f_4e7b_aacd_a5b9d29cfa4e); +windows_core::imp::define_interface!(IUserDataTaskListSkipOccurrenceRequestEventArgs, IUserDataTaskListSkipOccurrenceRequestEventArgs_Vtbl, 0x7a3b924a_cc2f_4e7b_aacd_a5b9d29cfa4e); #[repr(C)] pub struct IUserDataTaskListSkipOccurrenceRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IUserDataTaskListSyncManagerSyncRequest, IUserDataTaskListSyncManagerSyncRequest_Vtbl, 0x40a73807_7590_4149_ae19_b211431a9f48); +windows_core::imp::define_interface!(IUserDataTaskListSyncManagerSyncRequest, IUserDataTaskListSyncManagerSyncRequest_Vtbl, 0x40a73807_7590_4149_ae19_b211431a9f48); #[repr(C)] pub struct IUserDataTaskListSyncManagerSyncRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -92,7 +92,7 @@ pub struct IUserDataTaskListSyncManagerSyncRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataTaskListSyncManagerSyncRequestEventArgs, IUserDataTaskListSyncManagerSyncRequestEventArgs_Vtbl, 0x8ead1c12_768e_43bd_8385_5cdc351ffdea); +windows_core::imp::define_interface!(IUserDataTaskListSyncManagerSyncRequestEventArgs, IUserDataTaskListSyncManagerSyncRequestEventArgs_Vtbl, 0x8ead1c12_768e_43bd_8385_5cdc351ffdea); #[repr(C)] pub struct IUserDataTaskListSyncManagerSyncRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs index 077b98f818..e83beda199 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataTasks/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "ApplicationModel_UserDataTasks_DataProvider")] pub mod DataProvider; -windows_core::imp::com_interface!(IUserDataTask, IUserDataTask_Vtbl, 0x7c6585d1_e0d4_4f99_aee2_bc2d5ddadf4c); +windows_core::imp::define_interface!(IUserDataTask, IUserDataTask_Vtbl, 0x7c6585d1_e0d4_4f99_aee2_bc2d5ddadf4c); #[repr(C)] pub struct IUserDataTask_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -32,7 +32,7 @@ pub struct IUserDataTask_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataTaskBatch, IUserDataTaskBatch_Vtbl, 0x382da5fe_20b5_431c_8f42_a5d292ec930c); +windows_core::imp::define_interface!(IUserDataTaskBatch, IUserDataTaskBatch_Vtbl, 0x382da5fe_20b5_431c_8f42_a5d292ec930c); #[repr(C)] pub struct IUserDataTaskBatch_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -41,7 +41,7 @@ pub struct IUserDataTaskBatch_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Tasks: usize, } -windows_core::imp::com_interface!(IUserDataTaskList, IUserDataTaskList_Vtbl, 0x49412e39_7c1d_4df1_bed3_314b7cbf5e4e); +windows_core::imp::define_interface!(IUserDataTaskList, IUserDataTaskList_Vtbl, 0x49412e39_7c1d_4df1_bed3_314b7cbf5e4e); #[repr(C)] pub struct IUserDataTaskList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -65,7 +65,7 @@ pub struct IUserDataTaskList_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataTaskListLimitedWriteOperations, IUserDataTaskListLimitedWriteOperations_Vtbl, 0x7aa267f2_6078_4183_919e_4f29f19cfae9); +windows_core::imp::define_interface!(IUserDataTaskListLimitedWriteOperations, IUserDataTaskListLimitedWriteOperations_Vtbl, 0x7aa267f2_6078_4183_919e_4f29f19cfae9); #[repr(C)] pub struct IUserDataTaskListLimitedWriteOperations_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -74,7 +74,7 @@ pub struct IUserDataTaskListLimitedWriteOperations_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataTaskListSyncManager, IUserDataTaskListSyncManager_Vtbl, 0x8e591a95_1dcf_469f_93ec_ba48bb553c6b); +windows_core::imp::define_interface!(IUserDataTaskListSyncManager, IUserDataTaskListSyncManager_Vtbl, 0x8e591a95_1dcf_469f_93ec_ba48bb553c6b); #[repr(C)] pub struct IUserDataTaskListSyncManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,7 +88,7 @@ pub struct IUserDataTaskListSyncManager_Vtbl { pub SyncStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSyncStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDataTaskManager, IUserDataTaskManager_Vtbl, 0x8451c914_e60b_48a9_9211_7fb8a56cb84c); +windows_core::imp::define_interface!(IUserDataTaskManager, IUserDataTaskManager_Vtbl, 0x8451c914_e60b_48a9_9211_7fb8a56cb84c); #[repr(C)] pub struct IUserDataTaskManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -98,7 +98,7 @@ pub struct IUserDataTaskManager_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IUserDataTaskManagerStatics, IUserDataTaskManagerStatics_Vtbl, 0xb35539f8_c502_47fc_a81e_100883719d55); +windows_core::imp::define_interface!(IUserDataTaskManagerStatics, IUserDataTaskManagerStatics_Vtbl, 0xb35539f8_c502_47fc_a81e_100883719d55); #[repr(C)] pub struct IUserDataTaskManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -108,7 +108,7 @@ pub struct IUserDataTaskManagerStatics_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IUserDataTaskQueryOptions, IUserDataTaskQueryOptions_Vtbl, 0x959f27ed_909a_4d30_8c1b_331d8fe667e2); +windows_core::imp::define_interface!(IUserDataTaskQueryOptions, IUserDataTaskQueryOptions_Vtbl, 0x959f27ed_909a_4d30_8c1b_331d8fe667e2); #[repr(C)] pub struct IUserDataTaskQueryOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -117,13 +117,13 @@ pub struct IUserDataTaskQueryOptions_Vtbl { pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserDataTaskQueryKind) -> windows_core::HRESULT, pub SetKind: unsafe extern "system" fn(*mut core::ffi::c_void, UserDataTaskQueryKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDataTaskReader, IUserDataTaskReader_Vtbl, 0x03e688b1_4ccf_4500_883b_e76290cfed63); +windows_core::imp::define_interface!(IUserDataTaskReader, IUserDataTaskReader_Vtbl, 0x03e688b1_4ccf_4500_883b_e76290cfed63); #[repr(C)] pub struct IUserDataTaskReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReadBatchAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDataTaskRecurrenceProperties, IUserDataTaskRecurrenceProperties_Vtbl, 0x73df80b0_27c6_40ce_b149_9cd41485a69e); +windows_core::imp::define_interface!(IUserDataTaskRecurrenceProperties, IUserDataTaskRecurrenceProperties_Vtbl, 0x73df80b0_27c6_40ce_b149_9cd41485a69e); #[repr(C)] pub struct IUserDataTaskRecurrenceProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -144,7 +144,7 @@ pub struct IUserDataTaskRecurrenceProperties_Vtbl { pub Day: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDataTaskRegenerationProperties, IUserDataTaskRegenerationProperties_Vtbl, 0x92ab0007_090e_4704_bb5c_84fc0b0d9c31); +windows_core::imp::define_interface!(IUserDataTaskRegenerationProperties, IUserDataTaskRegenerationProperties_Vtbl, 0x92ab0007_090e_4704_bb5c_84fc0b0d9c31); #[repr(C)] pub struct IUserDataTaskRegenerationProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -157,7 +157,7 @@ pub struct IUserDataTaskRegenerationProperties_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, } -windows_core::imp::com_interface!(IUserDataTaskStore, IUserDataTaskStore_Vtbl, 0xf06a9cb0_f1db_45ba_8a62_086004c0213d); +windows_core::imp::define_interface!(IUserDataTaskStore, IUserDataTaskStore_Vtbl, 0xf06a9cb0_f1db_45ba_8a62_086004c0213d); #[repr(C)] pub struct IUserDataTaskStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs index 6d78d9a08a..18a3d0acef 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/VoiceCommands/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IVoiceCommand, IVoiceCommand_Vtbl, 0x936f5273_ec82_42a6_a55c_d2d79ec6f920); +windows_core::imp::define_interface!(IVoiceCommand, IVoiceCommand_Vtbl, 0x936f5273_ec82_42a6_a55c_d2d79ec6f920); #[repr(C)] pub struct IVoiceCommand_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -12,19 +12,19 @@ pub struct IVoiceCommand_Vtbl { #[cfg(not(feature = "Media_SpeechRecognition"))] SpeechRecognitionResult: usize, } -windows_core::imp::com_interface!(IVoiceCommandCompletedEventArgs, IVoiceCommandCompletedEventArgs_Vtbl, 0xc85e675d_fe42_432c_9907_09df9fcf64e8); +windows_core::imp::define_interface!(IVoiceCommandCompletedEventArgs, IVoiceCommandCompletedEventArgs_Vtbl, 0xc85e675d_fe42_432c_9907_09df9fcf64e8); #[repr(C)] pub struct IVoiceCommandCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VoiceCommandCompletionReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVoiceCommandConfirmationResult, IVoiceCommandConfirmationResult_Vtbl, 0xa022593e_8221_4526_b083_840972262247); +windows_core::imp::define_interface!(IVoiceCommandConfirmationResult, IVoiceCommandConfirmationResult_Vtbl, 0xa022593e_8221_4526_b083_840972262247); #[repr(C)] pub struct IVoiceCommandConfirmationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Confirmed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVoiceCommandContentTile, IVoiceCommandContentTile_Vtbl, 0x3eefe9f0_b8c7_4c76_a0de_1607895ee327); +windows_core::imp::define_interface!(IVoiceCommandContentTile, IVoiceCommandContentTile_Vtbl, 0x3eefe9f0_b8c7_4c76_a0de_1607895ee327); #[repr(C)] pub struct IVoiceCommandContentTile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -51,7 +51,7 @@ pub struct IVoiceCommandContentTile_Vtbl { 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, } -windows_core::imp::com_interface!(IVoiceCommandDefinition, IVoiceCommandDefinition_Vtbl, 0x7972aad0_0974_4979_984b_cb8959cd61ae); +windows_core::imp::define_interface!(IVoiceCommandDefinition, IVoiceCommandDefinition_Vtbl, 0x7972aad0_0974_4979_984b_cb8959cd61ae); #[repr(C)] pub struct IVoiceCommandDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -62,7 +62,7 @@ pub struct IVoiceCommandDefinition_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetPhraseListAsync: usize, } -windows_core::imp::com_interface!(IVoiceCommandDefinitionManagerStatics, IVoiceCommandDefinitionManagerStatics_Vtbl, 0x8fe7a69e_067e_4f16_a18c_5b17e9499940); +windows_core::imp::define_interface!(IVoiceCommandDefinitionManagerStatics, IVoiceCommandDefinitionManagerStatics_Vtbl, 0x8fe7a69e_067e_4f16_a18c_5b17e9499940); #[repr(C)] pub struct IVoiceCommandDefinitionManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -75,13 +75,13 @@ pub struct IVoiceCommandDefinitionManagerStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] InstalledCommandDefinitions: usize, } -windows_core::imp::com_interface!(IVoiceCommandDisambiguationResult, IVoiceCommandDisambiguationResult_Vtbl, 0xecc68cfe_c9ac_45df_a8ea_feea08ef9c5e); +windows_core::imp::define_interface!(IVoiceCommandDisambiguationResult, IVoiceCommandDisambiguationResult_Vtbl, 0xecc68cfe_c9ac_45df_a8ea_feea08ef9c5e); #[repr(C)] pub struct IVoiceCommandDisambiguationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SelectedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVoiceCommandResponse, IVoiceCommandResponse_Vtbl, 0x0284b30e_8a3b_4cc4_a6a1_cad5be2716b5); +windows_core::imp::define_interface!(IVoiceCommandResponse, IVoiceCommandResponse_Vtbl, 0x0284b30e_8a3b_4cc4_a6a1_cad5be2716b5); #[repr(C)] pub struct IVoiceCommandResponse_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -96,7 +96,7 @@ pub struct IVoiceCommandResponse_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] VoiceCommandContentTiles: usize, } -windows_core::imp::com_interface!(IVoiceCommandResponseStatics, IVoiceCommandResponseStatics_Vtbl, 0x2932f813_0d3b_49f2_96dd_625019bd3b5d); +windows_core::imp::define_interface!(IVoiceCommandResponseStatics, IVoiceCommandResponseStatics_Vtbl, 0x2932f813_0d3b_49f2_96dd_625019bd3b5d); #[repr(C)] pub struct IVoiceCommandResponseStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -112,7 +112,7 @@ pub struct IVoiceCommandResponseStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateResponseForPromptWithTiles: usize, } -windows_core::imp::com_interface!(IVoiceCommandServiceConnection, IVoiceCommandServiceConnection_Vtbl, 0xd894bb9f_21da_44a4_98a2_fb131920a9cc); +windows_core::imp::define_interface!(IVoiceCommandServiceConnection, IVoiceCommandServiceConnection_Vtbl, 0xd894bb9f_21da_44a4_98a2_fb131920a9cc); #[repr(C)] pub struct IVoiceCommandServiceConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -130,7 +130,7 @@ pub struct IVoiceCommandServiceConnection_Vtbl { pub VoiceCommandCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveVoiceCommandCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVoiceCommandServiceConnectionStatics, IVoiceCommandServiceConnectionStatics_Vtbl, 0x370ebffb_2d34_42df_8770_074d0f334697); +windows_core::imp::define_interface!(IVoiceCommandServiceConnectionStatics, IVoiceCommandServiceConnectionStatics_Vtbl, 0x370ebffb_2d34_42df_8770_074d0f334697); #[repr(C)] pub struct IVoiceCommandServiceConnectionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -139,7 +139,7 @@ pub struct IVoiceCommandServiceConnectionStatics_Vtbl { #[cfg(not(feature = "ApplicationModel_AppService"))] FromAppServiceTriggerDetails: usize, } -windows_core::imp::com_interface!(IVoiceCommandUserMessage, IVoiceCommandUserMessage_Vtbl, 0x674eb3c0_44f6_4f07_b979_4c723fc08597); +windows_core::imp::define_interface!(IVoiceCommandUserMessage, IVoiceCommandUserMessage_Vtbl, 0x674eb3c0_44f6_4f07_b979_4c723fc08597); #[repr(C)] pub struct IVoiceCommandUserMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 0e6633b3b8..f60d14380e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/System/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletItemSystemStore, IWalletItemSystemStore_Vtbl, 0x522e2bff_96a2_4a17_8d19_fe1d9f837561); +windows_core::imp::define_interface!(IWalletItemSystemStore, IWalletItemSystemStore_Vtbl, 0x522e2bff_96a2_4a17_8d19_fe1d9f837561); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletItemSystemStore_Vtbl { @@ -26,7 +26,7 @@ pub struct IWalletItemSystemStore_Vtbl { LaunchAppForItemAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletItemSystemStore2, IWalletItemSystemStore2_Vtbl, 0xf98d3a4e_be00_4fdd_9734_6c113c1ac1cb); +windows_core::imp::define_interface!(IWalletItemSystemStore2, IWalletItemSystemStore2_Vtbl, 0xf98d3a4e_be00_4fdd_9734_6c113c1ac1cb); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletItemSystemStore2_Vtbl { @@ -41,7 +41,7 @@ pub struct IWalletItemSystemStore2_Vtbl { RemoveItemsChanged: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletManagerSystemStatics, IWalletManagerSystemStatics_Vtbl, 0xbee8eb89_2634_4b9a_8b23_ee8903c91fe0); +windows_core::imp::define_interface!(IWalletManagerSystemStatics, IWalletManagerSystemStatics_Vtbl, 0xbee8eb89_2634_4b9a_8b23_ee8903c91fe0); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletManagerSystemStatics_Vtbl { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs index 9967fab84b..a1b4dd3a04 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Wallet/mod.rs @@ -1,7 +1,7 @@ #[cfg(feature = "ApplicationModel_Wallet_System")] pub mod System; #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletBarcode, IWalletBarcode_Vtbl, 0x4f857b29_de80_4ea4_a1cd_81cd084dac27); +windows_core::imp::define_interface!(IWalletBarcode, IWalletBarcode_Vtbl, 0x4f857b29_de80_4ea4_a1cd_81cd084dac27); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletBarcode_Vtbl { @@ -20,7 +20,7 @@ pub struct IWalletBarcode_Vtbl { GetImageAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletBarcodeFactory, IWalletBarcodeFactory_Vtbl, 0x30117161_ed9c_469e_bbfd_306c95ea7108); +windows_core::imp::define_interface!(IWalletBarcodeFactory, IWalletBarcodeFactory_Vtbl, 0x30117161_ed9c_469e_bbfd_306c95ea7108); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletBarcodeFactory_Vtbl { @@ -35,7 +35,7 @@ pub struct IWalletBarcodeFactory_Vtbl { CreateCustomWalletBarcode: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletItem, IWalletItem_Vtbl, 0x20b54be8_118d_4ec4_996c_b963e7bd3e74); +windows_core::imp::define_interface!(IWalletItem, IWalletItem_Vtbl, 0x20b54be8_118d_4ec4_996c_b963e7bd3e74); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletItem_Vtbl { @@ -250,7 +250,7 @@ pub struct IWalletItem_Vtbl { Verbs: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletItemCustomProperty, IWalletItemCustomProperty_Vtbl, 0xb94b40f3_fa00_40fd_98dc_9de46697f1e7); +windows_core::imp::define_interface!(IWalletItemCustomProperty, IWalletItemCustomProperty_Vtbl, 0xb94b40f3_fa00_40fd_98dc_9de46697f1e7); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletItemCustomProperty_Vtbl { @@ -297,7 +297,7 @@ pub struct IWalletItemCustomProperty_Vtbl { SetSummaryViewPosition: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletItemCustomPropertyFactory, IWalletItemCustomPropertyFactory_Vtbl, 0xd0046a44_61a1_41aa_b259_a5610ab5d575); +windows_core::imp::define_interface!(IWalletItemCustomPropertyFactory, IWalletItemCustomPropertyFactory_Vtbl, 0xd0046a44_61a1_41aa_b259_a5610ab5d575); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletItemCustomPropertyFactory_Vtbl { @@ -308,7 +308,7 @@ pub struct IWalletItemCustomPropertyFactory_Vtbl { CreateWalletItemCustomProperty: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletItemFactory, IWalletItemFactory_Vtbl, 0x53e27470_4f0b_4a3e_99e5_0bbb1eab38d4); +windows_core::imp::define_interface!(IWalletItemFactory, IWalletItemFactory_Vtbl, 0x53e27470_4f0b_4a3e_99e5_0bbb1eab38d4); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletItemFactory_Vtbl { @@ -319,7 +319,7 @@ pub struct IWalletItemFactory_Vtbl { CreateWalletItem: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletItemStore, IWalletItemStore_Vtbl, 0x7160484b_6d49_48f8_91a9_40a1d0f13ef4); +windows_core::imp::define_interface!(IWalletItemStore, IWalletItemStore_Vtbl, 0x7160484b_6d49_48f8_91a9_40a1d0f13ef4); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletItemStore_Vtbl { @@ -366,7 +366,7 @@ pub struct IWalletItemStore_Vtbl { UpdateAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletItemStore2, IWalletItemStore2_Vtbl, 0x65e682f0_7009_4a15_bd54_4fff379bffe2); +windows_core::imp::define_interface!(IWalletItemStore2, IWalletItemStore2_Vtbl, 0x65e682f0_7009_4a15_bd54_4fff379bffe2); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletItemStore2_Vtbl { @@ -381,7 +381,7 @@ pub struct IWalletItemStore2_Vtbl { RemoveItemsChanged: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletManagerStatics, IWalletManagerStatics_Vtbl, 0x5111d6b8_c9a4_4c64_b4dd_e1e548001c0d); +windows_core::imp::define_interface!(IWalletManagerStatics, IWalletManagerStatics_Vtbl, 0x5111d6b8_c9a4_4c64_b4dd_e1e548001c0d); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletManagerStatics_Vtbl { @@ -392,7 +392,7 @@ pub struct IWalletManagerStatics_Vtbl { RequestStoreAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletRelevantLocation, IWalletRelevantLocation_Vtbl, 0x9fd8782a_e3f9_4de1_bab3_bb192e46b3f3); +windows_core::imp::define_interface!(IWalletRelevantLocation, IWalletRelevantLocation_Vtbl, 0x9fd8782a_e3f9_4de1_bab3_bb192e46b3f3); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletRelevantLocation_Vtbl { @@ -415,7 +415,7 @@ pub struct IWalletRelevantLocation_Vtbl { SetDisplayMessage: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletTransaction, IWalletTransaction_Vtbl, 0x40e1e940_2606_4519_81cb_bff1c60d1f79); +windows_core::imp::define_interface!(IWalletTransaction, IWalletTransaction_Vtbl, 0x40e1e940_2606_4519_81cb_bff1c60d1f79); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletTransaction_Vtbl { @@ -470,7 +470,7 @@ pub struct IWalletTransaction_Vtbl { SetIsLaunchable: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletVerb, IWalletVerb_Vtbl, 0x17b826d6_e3c1_4c74_8a94_217aadbc4884); +windows_core::imp::define_interface!(IWalletVerb, IWalletVerb_Vtbl, 0x17b826d6_e3c1_4c74_8a94_217aadbc4884); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletVerb_Vtbl { @@ -485,7 +485,7 @@ pub struct IWalletVerb_Vtbl { SetName: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IWalletVerbFactory, IWalletVerbFactory_Vtbl, 0x76012771_be58_4d5e_83ed_58b1669c7ad9); +windows_core::imp::define_interface!(IWalletVerbFactory, IWalletVerbFactory_Vtbl, 0x76012771_be58_4d5e_83ed_58b1669c7ad9); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IWalletVerbFactory_Vtbl { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs index 89f1aa3463..835f22a3c1 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/mod.rs @@ -50,7 +50,7 @@ pub mod UserDataTasks; pub mod VoiceCommands; #[cfg(feature = "ApplicationModel_Wallet")] pub mod Wallet; -windows_core::imp::com_interface!(IAppDisplayInfo, IAppDisplayInfo_Vtbl, 0x1aeb1103_e4d4_41aa_a4f6_c4a276e79eac); +windows_core::imp::define_interface!(IAppDisplayInfo, IAppDisplayInfo_Vtbl, 0x1aeb1103_e4d4_41aa_a4f6_c4a276e79eac); #[repr(C)] pub struct IAppDisplayInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -61,7 +61,7 @@ pub struct IAppDisplayInfo_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetLogo: usize, } -windows_core::imp::com_interface!(IAppInfo, IAppInfo_Vtbl, 0xcf7f59b3_6a09_4de8_a6c0_5792d56880d1); +windows_core::imp::define_interface!(IAppInfo, IAppInfo_Vtbl, 0xcf7f59b3_6a09_4de8_a6c0_5792d56880d1); #[repr(C)] pub struct IAppInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,25 +70,25 @@ pub struct IAppInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IAppInfo2, IAppInfo2_Vtbl, 0xbe4b1f5a_2098_431b_bd25_b30878748d47); +windows_core::imp::define_interface!(IAppInfo2, IAppInfo2_Vtbl, 0xbe4b1f5a_2098_431b_bd25_b30878748d47); #[repr(C)] pub struct IAppInfo2_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, } -windows_core::imp::com_interface!(IAppInfo3, IAppInfo3_Vtbl, 0x09a78e46_93a4_46de_9397_0843b57115ea); +windows_core::imp::define_interface!(IAppInfo3, IAppInfo3_Vtbl, 0x09a78e46_93a4_46de_9397_0843b57115ea); #[repr(C)] pub struct IAppInfo3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ExecutionContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppExecutionContext) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInfo4, IAppInfo4_Vtbl, 0x2f34bdeb_1609_4554_9f33_12e1e803e0d4); +windows_core::imp::define_interface!(IAppInfo4, IAppInfo4_Vtbl, 0x2f34bdeb_1609_4554_9f33_12e1e803e0d4); #[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, } -windows_core::imp::com_interface!(IAppInfoStatics, IAppInfoStatics_Vtbl, 0xcf1f782a_e48b_4f0c_9b0b_79c3f8957dd7); +windows_core::imp::define_interface!(IAppInfoStatics, IAppInfoStatics_Vtbl, 0xcf1f782a_e48b_4f0c_9b0b_79c3f8957dd7); #[repr(C)] pub struct IAppInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -99,13 +99,13 @@ pub struct IAppInfoStatics_Vtbl { #[cfg(not(feature = "System"))] GetFromAppUserModelIdForUser: usize, } -windows_core::imp::com_interface!(IAppInstallerInfo, IAppInstallerInfo_Vtbl, 0x29ab2ac0_d4f6_42a3_adcd_d6583c659508); +windows_core::imp::define_interface!(IAppInstallerInfo, IAppInstallerInfo_Vtbl, 0x29ab2ac0_d4f6_42a3_adcd_d6583c659508); #[repr(C)] pub struct IAppInstallerInfo_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, } -windows_core::imp::com_interface!(IAppInstallerInfo2, IAppInstallerInfo2_Vtbl, 0xd20f1388_8256_597c_8511_c84ec50d5e2b); +windows_core::imp::define_interface!(IAppInstallerInfo2, IAppInstallerInfo2_Vtbl, 0xd20f1388_8256_597c_8511_c84ec50d5e2b); #[repr(C)] pub struct IAppInstallerInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -137,7 +137,7 @@ pub struct IAppInstallerInfo2_Vtbl { OptionalPackageUris: usize, pub PolicySource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppInstallerPolicySource) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstance, IAppInstance_Vtbl, 0x675f2b47_f25f_4532_9fd6_3633e0634d01); +windows_core::imp::define_interface!(IAppInstance, IAppInstance_Vtbl, 0x675f2b47_f25f_4532_9fd6_3633e0634d01); #[repr(C)] pub struct IAppInstance_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -145,7 +145,7 @@ pub struct IAppInstance_Vtbl { 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, } -windows_core::imp::com_interface!(IAppInstanceStatics, IAppInstanceStatics_Vtbl, 0x9d11e77f_9ea6_47af_a6ec_46784c5ba254); +windows_core::imp::define_interface!(IAppInstanceStatics, IAppInstanceStatics_Vtbl, 0x9d11e77f_9ea6_47af_a6ec_46784c5ba254); #[repr(C)] pub struct IAppInstanceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -161,25 +161,25 @@ pub struct IAppInstanceStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetInstances: usize, } -windows_core::imp::com_interface!(ICameraApplicationManagerStatics, ICameraApplicationManagerStatics_Vtbl, 0x9599ddce_9bd3_435c_8054_c1add50028fe); +windows_core::imp::define_interface!(ICameraApplicationManagerStatics, ICameraApplicationManagerStatics_Vtbl, 0x9599ddce_9bd3_435c_8054_c1add50028fe); #[repr(C)] pub struct ICameraApplicationManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShowInstalledApplicationsUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDesignModeStatics, IDesignModeStatics_Vtbl, 0x2c3893cc_f81a_4e7a_b857_76a80887e185); +windows_core::imp::define_interface!(IDesignModeStatics, IDesignModeStatics_Vtbl, 0x2c3893cc_f81a_4e7a_b857_76a80887e185); #[repr(C)] pub struct IDesignModeStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DesignModeEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDesignModeStatics2, IDesignModeStatics2_Vtbl, 0x80cf8137_b064_4858_bec8_3eba22357535); +windows_core::imp::define_interface!(IDesignModeStatics2, IDesignModeStatics2_Vtbl, 0x80cf8137_b064_4858_bec8_3eba22357535); #[repr(C)] pub struct IDesignModeStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DesignMode2Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnteredBackgroundEventArgs, IEnteredBackgroundEventArgs_Vtbl, 0xf722dcc2_9827_403d_aaed_ecca9ac17398); +windows_core::imp::define_interface!(IEnteredBackgroundEventArgs, IEnteredBackgroundEventArgs_Vtbl, 0xf722dcc2_9827_403d_aaed_ecca9ac17398); windows_core::imp::interface_hierarchy!(IEnteredBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable); impl IEnteredBackgroundEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { @@ -198,7 +198,7 @@ pub struct IEnteredBackgroundEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFindRelatedPackagesOptions, IFindRelatedPackagesOptions_Vtbl, 0x41dd7eea_b335_521f_b96c_5ea07f5b7329); +windows_core::imp::define_interface!(IFindRelatedPackagesOptions, IFindRelatedPackagesOptions_Vtbl, 0x41dd7eea_b335_521f_b96c_5ea07f5b7329); #[repr(C)] pub struct IFindRelatedPackagesOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -213,20 +213,20 @@ pub struct IFindRelatedPackagesOptions_Vtbl { pub IncludeResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIncludeResources: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFindRelatedPackagesOptionsFactory, IFindRelatedPackagesOptionsFactory_Vtbl, 0xd7d17254_a4fd_55c4_98cf_f2710b7d8be2); +windows_core::imp::define_interface!(IFindRelatedPackagesOptionsFactory, IFindRelatedPackagesOptionsFactory_Vtbl, 0xd7d17254_a4fd_55c4_98cf_f2710b7d8be2); #[repr(C)] pub struct IFindRelatedPackagesOptionsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, PackageRelationship, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFullTrustProcessLaunchResult, IFullTrustProcessLaunchResult_Vtbl, 0x8917d888_edfb_515f_8e22_5ebceb69dfd9); +windows_core::imp::define_interface!(IFullTrustProcessLaunchResult, IFullTrustProcessLaunchResult_Vtbl, 0x8917d888_edfb_515f_8e22_5ebceb69dfd9); #[repr(C)] pub struct IFullTrustProcessLaunchResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LaunchResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FullTrustLaunchResult) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFullTrustProcessLauncherStatics, IFullTrustProcessLauncherStatics_Vtbl, 0xd784837f_1100_3c6b_a455_f6262cc331b6); +windows_core::imp::define_interface!(IFullTrustProcessLauncherStatics, IFullTrustProcessLauncherStatics_Vtbl, 0xd784837f_1100_3c6b_a455_f6262cc331b6); #[repr(C)] pub struct IFullTrustProcessLauncherStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -235,14 +235,14 @@ pub struct IFullTrustProcessLauncherStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IFullTrustProcessLauncherStatics2, IFullTrustProcessLauncherStatics2_Vtbl, 0x8b8ed72f_b65c_56cf_a1a7_2bf77cbc6ea8); +windows_core::imp::define_interface!(IFullTrustProcessLauncherStatics2, IFullTrustProcessLauncherStatics2_Vtbl, 0x8b8ed72f_b65c_56cf_a1a7_2bf77cbc6ea8); #[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, } -windows_core::imp::com_interface!(ILeavingBackgroundEventArgs, ILeavingBackgroundEventArgs_Vtbl, 0x39c6ec9a_ae6e_46f9_a07a_cfc23f88733e); +windows_core::imp::define_interface!(ILeavingBackgroundEventArgs, ILeavingBackgroundEventArgs_Vtbl, 0x39c6ec9a_ae6e_46f9_a07a_cfc23f88733e); windows_core::imp::interface_hierarchy!(ILeavingBackgroundEventArgs, windows_core::IUnknown, windows_core::IInspectable); impl ILeavingBackgroundEventArgs { pub fn GetDeferral(&self) -> windows_core::Result { @@ -261,7 +261,7 @@ pub struct ILeavingBackgroundEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILimitedAccessFeatureRequestResult, ILimitedAccessFeatureRequestResult_Vtbl, 0xd45156a6_1e24_5ddd_abb4_6188aba4d5bf); +windows_core::imp::define_interface!(ILimitedAccessFeatureRequestResult, ILimitedAccessFeatureRequestResult_Vtbl, 0xd45156a6_1e24_5ddd_abb4_6188aba4d5bf); #[repr(C)] pub struct ILimitedAccessFeatureRequestResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -269,13 +269,13 @@ pub struct ILimitedAccessFeatureRequestResult_Vtbl { 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, } -windows_core::imp::com_interface!(ILimitedAccessFeaturesStatics, ILimitedAccessFeaturesStatics_Vtbl, 0x8be612d4_302b_5fbf_a632_1a99e43e8925); +windows_core::imp::define_interface!(ILimitedAccessFeaturesStatics, ILimitedAccessFeaturesStatics_Vtbl, 0x8be612d4_302b_5fbf_a632_1a99e43e8925); #[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, } -windows_core::imp::com_interface!(IPackage, IPackage_Vtbl, 0x163c792f_bd75_413c_bf23_b1fe7b95d825); +windows_core::imp::define_interface!(IPackage, IPackage_Vtbl, 0x163c792f_bd75_413c_bf23_b1fe7b95d825); #[repr(C)] pub struct IPackage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -290,7 +290,7 @@ pub struct IPackage_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Dependencies: usize, } -windows_core::imp::com_interface!(IPackage2, IPackage2_Vtbl, 0xa6612fb6_7688_4ace_95fb_359538e7aa01); +windows_core::imp::define_interface!(IPackage2, IPackage2_Vtbl, 0xa6612fb6_7688_4ace_95fb_359538e7aa01); #[repr(C)] pub struct IPackage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -302,7 +302,7 @@ pub struct IPackage2_Vtbl { pub IsBundle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsDevelopmentMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackage3, IPackage3_Vtbl, 0x5f738b61_f86a_4917_93d1_f1ee9d3b35d9); +windows_core::imp::define_interface!(IPackage3, IPackage3_Vtbl, 0x5f738b61_f86a_4917_93d1_f1ee9d3b35d9); #[repr(C)] pub struct IPackage3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -313,7 +313,7 @@ pub struct IPackage3_Vtbl { #[cfg(not(all(feature = "ApplicationModel_Core", feature = "Foundation_Collections")))] GetAppListEntriesAsync: usize, } -windows_core::imp::com_interface!(IPackage4, IPackage4_Vtbl, 0x65aed1ae_b95b_450c_882b_6255187f397e); +windows_core::imp::define_interface!(IPackage4, IPackage4_Vtbl, 0x65aed1ae_b95b_450c_882b_6255187f397e); #[repr(C)] pub struct IPackage4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -321,7 +321,7 @@ pub struct IPackage4_Vtbl { pub IsOptional: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub VerifyContentIntegrityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackage5, IPackage5_Vtbl, 0x0e842dd4_d9ac_45ed_9a1e_74ce056b2635); +windows_core::imp::define_interface!(IPackage5, IPackage5_Vtbl, 0x0e842dd4_d9ac_45ed_9a1e_74ce056b2635); #[repr(C)] pub struct IPackage5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -340,14 +340,14 @@ pub struct IPackage5_Vtbl { StageContentGroupsWithPriorityAsync: usize, pub SetInUseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackage6, IPackage6_Vtbl, 0x8b1ad942_12d7_4754_ae4e_638cbc0e3a2e); +windows_core::imp::define_interface!(IPackage6, IPackage6_Vtbl, 0x8b1ad942_12d7_4754_ae4e_638cbc0e3a2e); #[repr(C)] pub struct IPackage6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetAppInstallerInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CheckUpdateAvailabilityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackage7, IPackage7_Vtbl, 0x86ff8d31_a2e4_45e0_9732_283a6d88fde1); +windows_core::imp::define_interface!(IPackage7, IPackage7_Vtbl, 0x86ff8d31_a2e4_45e0_9732_283a6d88fde1); #[repr(C)] pub struct IPackage7_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -360,7 +360,7 @@ pub struct IPackage7_Vtbl { #[cfg(not(feature = "Storage"))] EffectiveLocation: usize, } -windows_core::imp::com_interface!(IPackage8, IPackage8_Vtbl, 0x2c584f7b_ce2a_4be6_a093_77cfbb2a7ea1); +windows_core::imp::define_interface!(IPackage8, IPackage8_Vtbl, 0x2c584f7b_ce2a_4be6_a093_77cfbb2a7ea1); #[repr(C)] pub struct IPackage8_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -392,7 +392,7 @@ pub struct IPackage8_Vtbl { GetAppListEntries: usize, pub IsStub: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackage9, IPackage9_Vtbl, 0xd5ab224f_d7e1_49ec_90ce_720cdbd02e9c); +windows_core::imp::define_interface!(IPackage9, IPackage9_Vtbl, 0xd5ab224f_d7e1_49ec_90ce_720cdbd02e9c); #[repr(C)] pub struct IPackage9_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -402,7 +402,7 @@ pub struct IPackage9_Vtbl { FindRelatedPackages: usize, pub SourceUriSchemeName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageCatalog, IPackageCatalog_Vtbl, 0x230a3751_9de3_4445_be74_91fb325abefe); +windows_core::imp::define_interface!(IPackageCatalog, IPackageCatalog_Vtbl, 0x230a3751_9de3_4445_be74_91fb325abefe); #[repr(C)] pub struct IPackageCatalog_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -417,7 +417,7 @@ pub struct IPackageCatalog_Vtbl { pub PackageStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePackageStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageCatalog2, IPackageCatalog2_Vtbl, 0x96a60c36_8ff7_4344_b6bf_ee64c2207ed2); +windows_core::imp::define_interface!(IPackageCatalog2, IPackageCatalog2_Vtbl, 0x96a60c36_8ff7_4344_b6bf_ee64c2207ed2); #[repr(C)] pub struct IPackageCatalog2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -425,7 +425,7 @@ pub struct IPackageCatalog2_Vtbl { 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, } -windows_core::imp::com_interface!(IPackageCatalog3, IPackageCatalog3_Vtbl, 0x96dd5c88_8837_43f9_9015_033434ba14f3); +windows_core::imp::define_interface!(IPackageCatalog3, IPackageCatalog3_Vtbl, 0x96dd5c88_8837_43f9_9015_033434ba14f3); #[repr(C)] pub struct IPackageCatalog3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -434,7 +434,7 @@ pub struct IPackageCatalog3_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RemoveOptionalPackagesAsync: usize, } -windows_core::imp::com_interface!(IPackageCatalog4, IPackageCatalog4_Vtbl, 0xc37c399b_44cc_4b7b_8baf_796c04ead3b9); +windows_core::imp::define_interface!(IPackageCatalog4, IPackageCatalog4_Vtbl, 0xc37c399b_44cc_4b7b_8baf_796c04ead3b9); #[repr(C)] pub struct IPackageCatalog4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -444,14 +444,14 @@ pub struct IPackageCatalog4_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RemoveResourcePackagesAsync: usize, } -windows_core::imp::com_interface!(IPackageCatalogAddOptionalPackageResult, IPackageCatalogAddOptionalPackageResult_Vtbl, 0x3bf10cd4_b4df_47b3_a963_e2fa832f7dd3); +windows_core::imp::define_interface!(IPackageCatalogAddOptionalPackageResult, IPackageCatalogAddOptionalPackageResult_Vtbl, 0x3bf10cd4_b4df_47b3_a963_e2fa832f7dd3); #[repr(C)] pub struct IPackageCatalogAddOptionalPackageResult_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 ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageCatalogAddResourcePackageResult, IPackageCatalogAddResourcePackageResult_Vtbl, 0x9636ce0d_3e17_493f_aa08_ccec6fdef699); +windows_core::imp::define_interface!(IPackageCatalogAddResourcePackageResult, IPackageCatalogAddResourcePackageResult_Vtbl, 0x9636ce0d_3e17_493f_aa08_ccec6fdef699); #[repr(C)] pub struct IPackageCatalogAddResourcePackageResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -459,7 +459,7 @@ pub struct IPackageCatalogAddResourcePackageResult_Vtbl { pub IsComplete: 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, } -windows_core::imp::com_interface!(IPackageCatalogRemoveOptionalPackagesResult, IPackageCatalogRemoveOptionalPackagesResult_Vtbl, 0x29d2f97b_d974_4e64_9359_22cadfd79828); +windows_core::imp::define_interface!(IPackageCatalogRemoveOptionalPackagesResult, IPackageCatalogRemoveOptionalPackagesResult_Vtbl, 0x29d2f97b_d974_4e64_9359_22cadfd79828); #[repr(C)] pub struct IPackageCatalogRemoveOptionalPackagesResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -469,7 +469,7 @@ pub struct IPackageCatalogRemoveOptionalPackagesResult_Vtbl { PackagesRemoved: usize, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageCatalogRemoveResourcePackagesResult, IPackageCatalogRemoveResourcePackagesResult_Vtbl, 0xae719709_1a52_4321_87b3_e5a1a17981a7); +windows_core::imp::define_interface!(IPackageCatalogRemoveResourcePackagesResult, IPackageCatalogRemoveResourcePackagesResult_Vtbl, 0xae719709_1a52_4321_87b3_e5a1a17981a7); #[repr(C)] pub struct IPackageCatalogRemoveResourcePackagesResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -479,14 +479,14 @@ pub struct IPackageCatalogRemoveResourcePackagesResult_Vtbl { PackagesRemoved: usize, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageCatalogStatics, IPackageCatalogStatics_Vtbl, 0xa18c9696_e65b_4634_ba21_5e63eb7244a7); +windows_core::imp::define_interface!(IPackageCatalogStatics, IPackageCatalogStatics_Vtbl, 0xa18c9696_e65b_4634_ba21_5e63eb7244a7); #[repr(C)] pub struct IPackageCatalogStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OpenForCurrentPackage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OpenForCurrentUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageCatalogStatics2, IPackageCatalogStatics2_Vtbl, 0x4c11c159_9a28_598c_b185_55e1899b2be4); +windows_core::imp::define_interface!(IPackageCatalogStatics2, IPackageCatalogStatics2_Vtbl, 0x4c11c159_9a28_598c_b185_55e1899b2be4); windows_core::imp::interface_hierarchy!(IPackageCatalogStatics2, windows_core::IUnknown, windows_core::IInspectable); impl IPackageCatalogStatics2 { pub fn OpenForPackage(&self, package: P0) -> windows_core::Result @@ -508,7 +508,7 @@ pub struct IPackageCatalogStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OpenForPackage: 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::com_interface!(IPackageContentGroup, IPackageContentGroup_Vtbl, 0x8f62695d_120a_4798_b5e1_5800dda8f2e1); +windows_core::imp::define_interface!(IPackageContentGroup, IPackageContentGroup_Vtbl, 0x8f62695d_120a_4798_b5e1_5800dda8f2e1); #[repr(C)] pub struct IPackageContentGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -517,7 +517,7 @@ pub struct IPackageContentGroup_Vtbl { 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, } -windows_core::imp::com_interface!(IPackageContentGroupStagingEventArgs, IPackageContentGroupStagingEventArgs_Vtbl, 0x3d7bc27e_6f27_446c_986e_d4733d4d9113); +windows_core::imp::define_interface!(IPackageContentGroupStagingEventArgs, IPackageContentGroupStagingEventArgs_Vtbl, 0x3d7bc27e_6f27_446c_986e_d4733d4d9113); #[repr(C)] pub struct IPackageContentGroupStagingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -529,13 +529,13 @@ pub struct IPackageContentGroupStagingEventArgs_Vtbl { pub ContentGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub IsContentGroupRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageContentGroupStatics, IPackageContentGroupStatics_Vtbl, 0x70ee7619_5f12_4b92_b9ea_6ccada13bc75); +windows_core::imp::define_interface!(IPackageContentGroupStatics, IPackageContentGroupStatics_Vtbl, 0x70ee7619_5f12_4b92_b9ea_6ccada13bc75); #[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, } -windows_core::imp::com_interface!(IPackageId, IPackageId_Vtbl, 0x1adb665e_37c7_4790_9980_dd7ae74e8bb2); +windows_core::imp::define_interface!(IPackageId, IPackageId_Vtbl, 0x1adb665e_37c7_4790_9980_dd7ae74e8bb2); #[repr(C)] pub struct IPackageId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -551,14 +551,14 @@ pub struct IPackageId_Vtbl { 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, } -windows_core::imp::com_interface!(IPackageIdWithMetadata, IPackageIdWithMetadata_Vtbl, 0x40577a7c_0c9e_443d_9074_855f5ce0a08d); +windows_core::imp::define_interface!(IPackageIdWithMetadata, IPackageIdWithMetadata_Vtbl, 0x40577a7c_0c9e_443d_9074_855f5ce0a08d); #[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, } -windows_core::imp::com_interface!(IPackageInstallingEventArgs, IPackageInstallingEventArgs_Vtbl, 0x97741eb7_ab7a_401a_8b61_eb0e7faff237); +windows_core::imp::define_interface!(IPackageInstallingEventArgs, IPackageInstallingEventArgs_Vtbl, 0x97741eb7_ab7a_401a_8b61_eb0e7faff237); #[repr(C)] pub struct IPackageInstallingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -568,7 +568,7 @@ pub struct IPackageInstallingEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IPackageStagingEventArgs, IPackageStagingEventArgs_Vtbl, 0x1041682d_54e2_4f51_b828_9ef7046c210f); +windows_core::imp::define_interface!(IPackageStagingEventArgs, IPackageStagingEventArgs_Vtbl, 0x1041682d_54e2_4f51_b828_9ef7046c210f); #[repr(C)] pub struct IPackageStagingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -578,13 +578,13 @@ pub struct IPackageStagingEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IPackageStatics, IPackageStatics_Vtbl, 0x4e534bdf_2960_4878_97a4_9624deb72f2d); +windows_core::imp::define_interface!(IPackageStatics, IPackageStatics_Vtbl, 0x4e534bdf_2960_4878_97a4_9624deb72f2d); #[repr(C)] pub struct IPackageStatics_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, } -windows_core::imp::com_interface!(IPackageStatus, IPackageStatus_Vtbl, 0x5fe74f71_a365_4c09_a02d_046d525ea1da); +windows_core::imp::define_interface!(IPackageStatus, IPackageStatus_Vtbl, 0x5fe74f71_a365_4c09_a02d_046d525ea1da); #[repr(C)] pub struct IPackageStatus_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -601,19 +601,19 @@ pub struct IPackageStatus_Vtbl { pub Servicing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub DeploymentInProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageStatus2, IPackageStatus2_Vtbl, 0xf428fa93_7c56_4862_acfa_abaedcc0694d); +windows_core::imp::define_interface!(IPackageStatus2, IPackageStatus2_Vtbl, 0xf428fa93_7c56_4862_acfa_abaedcc0694d); #[repr(C)] pub struct IPackageStatus2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsPartiallyStaged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageStatusChangedEventArgs, IPackageStatusChangedEventArgs_Vtbl, 0x437d714d_bd80_4a70_bc50_f6e796509575); +windows_core::imp::define_interface!(IPackageStatusChangedEventArgs, IPackageStatusChangedEventArgs_Vtbl, 0x437d714d_bd80_4a70_bc50_f6e796509575); #[repr(C)] pub struct IPackageStatusChangedEventArgs_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, } -windows_core::imp::com_interface!(IPackageUninstallingEventArgs, IPackageUninstallingEventArgs_Vtbl, 0x4443aa52_ab22_44cd_82bb_4ec9b827367a); +windows_core::imp::define_interface!(IPackageUninstallingEventArgs, IPackageUninstallingEventArgs_Vtbl, 0x4443aa52_ab22_44cd_82bb_4ec9b827367a); #[repr(C)] pub struct IPackageUninstallingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -623,14 +623,14 @@ pub struct IPackageUninstallingEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IPackageUpdateAvailabilityResult, IPackageUpdateAvailabilityResult_Vtbl, 0x114e5009_199a_48a1_a079_313c45634a71); +windows_core::imp::define_interface!(IPackageUpdateAvailabilityResult, IPackageUpdateAvailabilityResult_Vtbl, 0x114e5009_199a_48a1_a079_313c45634a71); #[repr(C)] pub struct IPackageUpdateAvailabilityResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Availability: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PackageUpdateAvailability) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageUpdatingEventArgs, IPackageUpdatingEventArgs_Vtbl, 0xcd7b4228_fd74_443e_b114_23e677b0e86f); +windows_core::imp::define_interface!(IPackageUpdatingEventArgs, IPackageUpdatingEventArgs_Vtbl, 0xcd7b4228_fd74_443e_b114_23e677b0e86f); #[repr(C)] pub struct IPackageUpdatingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -641,7 +641,7 @@ pub struct IPackageUpdatingEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IPackageWithMetadata, IPackageWithMetadata_Vtbl, 0x95949780_1de9_40f2_b452_0de9f1910012); +windows_core::imp::define_interface!(IPackageWithMetadata, IPackageWithMetadata_Vtbl, 0x95949780_1de9_40f2_b452_0de9f1910012); #[repr(C)] pub struct IPackageWithMetadata_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -652,7 +652,7 @@ pub struct IPackageWithMetadata_Vtbl { #[cfg(not(feature = "deprecated"))] Launch: usize, } -windows_core::imp::com_interface!(IStartupTask, IStartupTask_Vtbl, 0xf75c23c8_b5f2_4f6c_88dd_36cb1d599d17); +windows_core::imp::define_interface!(IStartupTask, IStartupTask_Vtbl, 0xf75c23c8_b5f2_4f6c_88dd_36cb1d599d17); #[repr(C)] pub struct IStartupTask_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -661,7 +661,7 @@ pub struct IStartupTask_Vtbl { 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, } -windows_core::imp::com_interface!(IStartupTaskStatics, IStartupTaskStatics_Vtbl, 0xee5b60bd_a148_41a7_b26e_e8b88a1e62f8); +windows_core::imp::define_interface!(IStartupTaskStatics, IStartupTaskStatics_Vtbl, 0xee5b60bd_a148_41a7_b26e_e8b88a1e62f8); #[repr(C)] pub struct IStartupTaskStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -671,7 +671,7 @@ pub struct IStartupTaskStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ISuspendingDeferral, ISuspendingDeferral_Vtbl, 0x59140509_8bc9_4eb4_b636_dabdc4f46f66); +windows_core::imp::define_interface!(ISuspendingDeferral, ISuspendingDeferral_Vtbl, 0x59140509_8bc9_4eb4_b636_dabdc4f46f66); windows_core::imp::interface_hierarchy!(ISuspendingDeferral, windows_core::IUnknown, windows_core::IInspectable); impl ISuspendingDeferral { pub fn Complete(&self) -> windows_core::Result<()> { @@ -687,7 +687,7 @@ pub struct ISuspendingDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISuspendingEventArgs, ISuspendingEventArgs_Vtbl, 0x96061c05_2dba_4d08_b0bd_2b30a131c6aa); +windows_core::imp::define_interface!(ISuspendingEventArgs, ISuspendingEventArgs_Vtbl, 0x96061c05_2dba_4d08_b0bd_2b30a131c6aa); windows_core::imp::interface_hierarchy!(ISuspendingEventArgs, windows_core::IUnknown, windows_core::IInspectable); impl ISuspendingEventArgs { pub fn SuspendingOperation(&self) -> windows_core::Result { @@ -706,7 +706,7 @@ pub struct ISuspendingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SuspendingOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISuspendingOperation, ISuspendingOperation_Vtbl, 0x9da4ca41_20e1_4e9b_9f65_a9f435340c3a); +windows_core::imp::define_interface!(ISuspendingOperation, ISuspendingOperation_Vtbl, 0x9da4ca41_20e1_4e9b_9f65_a9f435340c3a); windows_core::imp::interface_hierarchy!(ISuspendingOperation, windows_core::IUnknown, windows_core::IInspectable); impl ISuspendingOperation { pub fn GetDeferral(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Data/Html/mod.rs b/crates/libs/windows/src/Windows/Data/Html/mod.rs index 8693a4d4e1..ab74977ddc 100644 --- a/crates/libs/windows/src/Windows/Data/Html/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Html/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IHtmlUtilities, IHtmlUtilities_Vtbl, 0xfec00add_2399_4fac_b5a7_05e9acd7181d); +windows_core::imp::define_interface!(IHtmlUtilities, IHtmlUtilities_Vtbl, 0xfec00add_2399_4fac_b5a7_05e9acd7181d); #[repr(C)] pub struct IHtmlUtilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Data/Json/mod.rs b/crates/libs/windows/src/Windows/Data/Json/mod.rs index a562eab2dd..c2266ef48d 100644 --- a/crates/libs/windows/src/Windows/Data/Json/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Json/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IJsonArray, IJsonArray_Vtbl, 0x08c1ddb6_0cbd_4a9a_b5d3_2f852dc37e81); +windows_core::imp::define_interface!(IJsonArray, IJsonArray_Vtbl, 0x08c1ddb6_0cbd_4a9a_b5d3_2f852dc37e81); #[repr(C)] pub struct IJsonArray_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,20 +8,20 @@ pub struct IJsonArray_Vtbl { 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, } -windows_core::imp::com_interface!(IJsonArrayStatics, IJsonArrayStatics_Vtbl, 0xdb1434a9_e164_499f_93e2_8a8f49bb90ba); +windows_core::imp::define_interface!(IJsonArrayStatics, IJsonArrayStatics_Vtbl, 0xdb1434a9_e164_499f_93e2_8a8f49bb90ba); #[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, } -windows_core::imp::com_interface!(IJsonErrorStatics2, IJsonErrorStatics2_Vtbl, 0x404030da_87d0_436c_83ab_fc7b12c0cc26); +windows_core::imp::define_interface!(IJsonErrorStatics2, IJsonErrorStatics2_Vtbl, 0x404030da_87d0_436c_83ab_fc7b12c0cc26); #[repr(C)] pub struct IJsonErrorStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetJsonStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut JsonErrorStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IJsonObject, IJsonObject_Vtbl, 0x064e24dd_29c2_4f83_9ac1_9ee11578beb3); +windows_core::imp::define_interface!(IJsonObject, IJsonObject_Vtbl, 0x064e24dd_29c2_4f83_9ac1_9ee11578beb3); #[repr(C)] pub struct IJsonObject_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,14 +33,14 @@ pub struct IJsonObject_Vtbl { 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, } -windows_core::imp::com_interface!(IJsonObjectStatics, IJsonObjectStatics_Vtbl, 0x2289f159_54de_45d8_abcc_22603fa066a0); +windows_core::imp::define_interface!(IJsonObjectStatics, IJsonObjectStatics_Vtbl, 0x2289f159_54de_45d8_abcc_22603fa066a0); #[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, } -windows_core::imp::com_interface!(IJsonObjectWithDefaultValues, IJsonObjectWithDefaultValues_Vtbl, 0xd960d2a2_b7f0_4f00_8e44_d82cf415ea13); +windows_core::imp::define_interface!(IJsonObjectWithDefaultValues, IJsonObjectWithDefaultValues_Vtbl, 0xd960d2a2_b7f0_4f00_8e44_d82cf415ea13); #[repr(C)] pub struct IJsonObjectWithDefaultValues_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -51,7 +51,7 @@ pub struct IJsonObjectWithDefaultValues_Vtbl { 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, } -windows_core::imp::com_interface!(IJsonValue, IJsonValue_Vtbl, 0xa3219ecb_f0b3_4dcd_beee_19d48cd3ed1e); +windows_core::imp::define_interface!(IJsonValue, IJsonValue_Vtbl, 0xa3219ecb_f0b3_4dcd_beee_19d48cd3ed1e); windows_core::imp::interface_hierarchy!(IJsonValue, windows_core::IUnknown, windows_core::IInspectable); impl IJsonValue { pub fn ValueType(&self) -> windows_core::Result { @@ -118,7 +118,7 @@ pub struct IJsonValue_Vtbl { pub GetArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IJsonValueStatics, IJsonValueStatics_Vtbl, 0x5f6b544a_2f53_48e1_91a3_f78b50a6345c); +windows_core::imp::define_interface!(IJsonValueStatics, IJsonValueStatics_Vtbl, 0x5f6b544a_2f53_48e1_91a3_f78b50a6345c); #[repr(C)] pub struct IJsonValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -128,7 +128,7 @@ pub struct IJsonValueStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IJsonValueStatics2, IJsonValueStatics2_Vtbl, 0x1d9ecbe4_3fe8_4335_8392_93d8e36865f0); +windows_core::imp::define_interface!(IJsonValueStatics2, IJsonValueStatics2_Vtbl, 0x1d9ecbe4_3fe8_4335_8392_93d8e36865f0); #[repr(C)] pub struct IJsonValueStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs index 7c28e204e1..b472b3275e 100644 --- a/crates/libs/windows/src/Windows/Data/Pdf/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Pdf/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPdfDocument, IPdfDocument_Vtbl, 0xac7ebedd_80fa_4089_846e_81b77ff5a86c); +windows_core::imp::define_interface!(IPdfDocument, IPdfDocument_Vtbl, 0xac7ebedd_80fa_4089_846e_81b77ff5a86c); #[repr(C)] pub struct IPdfDocument_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,7 +6,7 @@ pub struct IPdfDocument_Vtbl { pub PageCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub IsPasswordProtected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPdfDocumentStatics, IPdfDocumentStatics_Vtbl, 0x433a0b5f_c007_4788_90f2_08143d922599); +windows_core::imp::define_interface!(IPdfDocumentStatics, IPdfDocumentStatics_Vtbl, 0x433a0b5f_c007_4788_90f2_08143d922599); #[repr(C)] pub struct IPdfDocumentStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,7 +27,7 @@ pub struct IPdfDocumentStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] LoadFromStreamWithPasswordAsync: usize, } -windows_core::imp::com_interface!(IPdfPage, IPdfPage_Vtbl, 0x9db4b0c8_5320_4cfc_ad76_493fdad0e594); +windows_core::imp::define_interface!(IPdfPage, IPdfPage_Vtbl, 0x9db4b0c8_5320_4cfc_ad76_493fdad0e594); #[repr(C)] pub struct IPdfPage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -46,7 +46,7 @@ pub struct IPdfPage_Vtbl { pub Rotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PdfPageRotation) -> windows_core::HRESULT, pub PreferredZoom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPdfPageDimensions, IPdfPageDimensions_Vtbl, 0x22170471_313e_44e8_835d_63a3e7624a10); +windows_core::imp::define_interface!(IPdfPageDimensions, IPdfPageDimensions_Vtbl, 0x22170471_313e_44e8_835d_63a3e7624a10); #[repr(C)] pub struct IPdfPageDimensions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,7 +56,7 @@ pub struct IPdfPageDimensions_Vtbl { pub TrimBox: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, pub ArtBox: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPdfPageRenderOptions, IPdfPageRenderOptions_Vtbl, 0x3c98056f_b7cf_4c29_9a04_52d90267f425); +windows_core::imp::define_interface!(IPdfPageRenderOptions, IPdfPageRenderOptions_Vtbl, 0x3c98056f_b7cf_4c29_9a04_52d90267f425); #[repr(C)] pub struct IPdfPageRenderOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Data/Text/mod.rs b/crates/libs/windows/src/Windows/Data/Text/mod.rs index a92678c849..1810e472c3 100644 --- a/crates/libs/windows/src/Windows/Data/Text/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Text/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAlternateWordForm, IAlternateWordForm_Vtbl, 0x47396c1e_51b9_4207_9146_248e636a1d1d); +windows_core::imp::define_interface!(IAlternateWordForm, IAlternateWordForm_Vtbl, 0x47396c1e_51b9_4207_9146_248e636a1d1d); #[repr(C)] pub struct IAlternateWordForm_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,14 +6,14 @@ pub struct IAlternateWordForm_Vtbl { pub AlternateText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub NormalizationFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AlternateNormalizationFormat) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISelectableWordSegment, ISelectableWordSegment_Vtbl, 0x916a4cb7_8aa7_4c78_b374_5dedb752e60b); +windows_core::imp::define_interface!(ISelectableWordSegment, ISelectableWordSegment_Vtbl, 0x916a4cb7_8aa7_4c78_b374_5dedb752e60b); #[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 SourceTextSegment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TextSegment) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISelectableWordsSegmenter, ISelectableWordsSegmenter_Vtbl, 0xf6dc31e7_4b13_45c5_8897_7d71269e085d); +windows_core::imp::define_interface!(ISelectableWordsSegmenter, ISelectableWordsSegmenter_Vtbl, 0xf6dc31e7_4b13_45c5_8897_7d71269e085d); #[repr(C)] pub struct ISelectableWordsSegmenter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -28,13 +28,13 @@ pub struct ISelectableWordsSegmenter_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Tokenize: usize, } -windows_core::imp::com_interface!(ISelectableWordsSegmenterFactory, ISelectableWordsSegmenterFactory_Vtbl, 0x8c7a7648_6057_4339_bc70_f210010a4150); +windows_core::imp::define_interface!(ISelectableWordsSegmenterFactory, ISelectableWordsSegmenterFactory_Vtbl, 0x8c7a7648_6057_4339_bc70_f210010a4150); #[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, } -windows_core::imp::com_interface!(ISemanticTextQuery, ISemanticTextQuery_Vtbl, 0x6a1cab51_1fb2_4909_80b8_35731a2b3e7f); +windows_core::imp::define_interface!(ISemanticTextQuery, ISemanticTextQuery_Vtbl, 0x6a1cab51_1fb2_4909_80b8_35731a2b3e7f); #[repr(C)] pub struct ISemanticTextQuery_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -47,14 +47,14 @@ pub struct ISemanticTextQuery_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindInProperty: usize, } -windows_core::imp::com_interface!(ISemanticTextQueryFactory, ISemanticTextQueryFactory_Vtbl, 0x238c0503_f995_4587_8777_a2b7d80acfef); +windows_core::imp::define_interface!(ISemanticTextQueryFactory, ISemanticTextQueryFactory_Vtbl, 0x238c0503_f995_4587_8777_a2b7d80acfef); #[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, } -windows_core::imp::com_interface!(ITextConversionGenerator, ITextConversionGenerator_Vtbl, 0x03606a5e_2aa9_4ab6_af8b_a562b63a8992); +windows_core::imp::define_interface!(ITextConversionGenerator, ITextConversionGenerator_Vtbl, 0x03606a5e_2aa9_4ab6_af8b_a562b63a8992); #[repr(C)] pub struct ITextConversionGenerator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -69,20 +69,20 @@ pub struct ITextConversionGenerator_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesWithMaxCountAsync: usize, } -windows_core::imp::com_interface!(ITextConversionGeneratorFactory, ITextConversionGeneratorFactory_Vtbl, 0xfcaa3781_3083_49ab_be15_56dfbbb74d6f); +windows_core::imp::define_interface!(ITextConversionGeneratorFactory, ITextConversionGeneratorFactory_Vtbl, 0xfcaa3781_3083_49ab_be15_56dfbbb74d6f); #[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, } -windows_core::imp::com_interface!(ITextPhoneme, ITextPhoneme_Vtbl, 0x9362a40a_9b7a_4569_94cf_d84f2f38cf9b); +windows_core::imp::define_interface!(ITextPhoneme, ITextPhoneme_Vtbl, 0x9362a40a_9b7a_4569_94cf_d84f2f38cf9b); #[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, } -windows_core::imp::com_interface!(ITextPredictionGenerator, ITextPredictionGenerator_Vtbl, 0x5eacab07_abf1_4cb6_9d9e_326f2b468756); +windows_core::imp::define_interface!(ITextPredictionGenerator, ITextPredictionGenerator_Vtbl, 0x5eacab07_abf1_4cb6_9d9e_326f2b468756); #[repr(C)] pub struct ITextPredictionGenerator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -97,7 +97,7 @@ pub struct ITextPredictionGenerator_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetCandidatesWithMaxCountAsync: usize, } -windows_core::imp::com_interface!(ITextPredictionGenerator2, ITextPredictionGenerator2_Vtbl, 0xb84723b8_2c77_486a_900a_a3453eedc15d); +windows_core::imp::define_interface!(ITextPredictionGenerator2, ITextPredictionGenerator2_Vtbl, 0xb84723b8_2c77_486a_900a_a3453eedc15d); #[repr(C)] pub struct ITextPredictionGenerator2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -118,13 +118,13 @@ pub struct ITextPredictionGenerator2_Vtbl { #[cfg(not(feature = "UI_Text_Core"))] SetInputScope: usize, } -windows_core::imp::com_interface!(ITextPredictionGeneratorFactory, ITextPredictionGeneratorFactory_Vtbl, 0x7257b416_8ba2_4751_9d30_9d85435653a2); +windows_core::imp::define_interface!(ITextPredictionGeneratorFactory, ITextPredictionGeneratorFactory_Vtbl, 0x7257b416_8ba2_4751_9d30_9d85435653a2); #[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, } -windows_core::imp::com_interface!(ITextReverseConversionGenerator, ITextReverseConversionGenerator_Vtbl, 0x51e7f514_9c51_4d86_ae1b_b498fbad8313); +windows_core::imp::define_interface!(ITextReverseConversionGenerator, ITextReverseConversionGenerator_Vtbl, 0x51e7f514_9c51_4d86_ae1b_b498fbad8313); #[repr(C)] pub struct ITextReverseConversionGenerator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -132,7 +132,7 @@ pub struct ITextReverseConversionGenerator_Vtbl { 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, } -windows_core::imp::com_interface!(ITextReverseConversionGenerator2, ITextReverseConversionGenerator2_Vtbl, 0x1aafd2ec_85d6_46fd_828a_3a4830fa6e18); +windows_core::imp::define_interface!(ITextReverseConversionGenerator2, ITextReverseConversionGenerator2_Vtbl, 0x1aafd2ec_85d6_46fd_828a_3a4830fa6e18); #[repr(C)] pub struct ITextReverseConversionGenerator2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -141,13 +141,13 @@ pub struct ITextReverseConversionGenerator2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetPhonemesAsync: usize, } -windows_core::imp::com_interface!(ITextReverseConversionGeneratorFactory, ITextReverseConversionGeneratorFactory_Vtbl, 0x63bed326_1fda_41f6_89d5_23ddea3c729a); +windows_core::imp::define_interface!(ITextReverseConversionGeneratorFactory, ITextReverseConversionGeneratorFactory_Vtbl, 0x63bed326_1fda_41f6_89d5_23ddea3c729a); #[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, } -windows_core::imp::com_interface!(IUnicodeCharactersStatics, IUnicodeCharactersStatics_Vtbl, 0x97909e87_9291_4f91_b6c8_b6e359d7a7fb); +windows_core::imp::define_interface!(IUnicodeCharactersStatics, IUnicodeCharactersStatics_Vtbl, 0x97909e87_9291_4f91_b6c8_b6e359d7a7fb); #[repr(C)] pub struct IUnicodeCharactersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -169,7 +169,7 @@ pub struct IUnicodeCharactersStatics_Vtbl { pub GetNumericType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut UnicodeNumericType) -> windows_core::HRESULT, pub GetGeneralCategory: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut UnicodeGeneralCategory) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWordSegment, IWordSegment_Vtbl, 0xd2d4ba6d_987c_4cc0_b6bd_d49a11b38f9a); +windows_core::imp::define_interface!(IWordSegment, IWordSegment_Vtbl, 0xd2d4ba6d_987c_4cc0_b6bd_d49a11b38f9a); #[repr(C)] pub struct IWordSegment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -180,7 +180,7 @@ pub struct IWordSegment_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AlternateForms: usize, } -windows_core::imp::com_interface!(IWordsSegmenter, IWordsSegmenter_Vtbl, 0x86b4d4d1_b2fe_4e34_a81d_66640300454f); +windows_core::imp::define_interface!(IWordsSegmenter, IWordsSegmenter_Vtbl, 0x86b4d4d1_b2fe_4e34_a81d_66640300454f); #[repr(C)] pub struct IWordsSegmenter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -195,7 +195,7 @@ pub struct IWordsSegmenter_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Tokenize: usize, } -windows_core::imp::com_interface!(IWordsSegmenterFactory, IWordsSegmenterFactory_Vtbl, 0xe6977274_fc35_455c_8bfb_6d7f4653ca97); +windows_core::imp::define_interface!(IWordsSegmenterFactory, IWordsSegmenterFactory_Vtbl, 0xe6977274_fc35_455c_8bfb_6d7f4653ca97); #[repr(C)] pub struct IWordsSegmenterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1007,7 +1007,7 @@ impl Default for TextSegment { } } #[cfg(feature = "Foundation_Collections")] -windows_core::imp::com_interface!(SelectableWordSegmentsTokenizingHandler, SelectableWordSegmentsTokenizingHandler_Vtbl, 0x3a3dfc9c_aede_4dc7_9e6c_41c044bd3592); +windows_core::imp::define_interface!(SelectableWordSegmentsTokenizingHandler, SelectableWordSegmentsTokenizingHandler_Vtbl, 0x3a3dfc9c_aede_4dc7_9e6c_41c044bd3592); #[cfg(feature = "Foundation_Collections")] impl SelectableWordSegmentsTokenizingHandler { pub fn new>, Option<&super::super::Foundation::Collections::IIterable>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { @@ -1078,7 +1078,7 @@ pub struct SelectableWordSegmentsTokenizingHandler_Vtbl { Invoke: usize, } #[cfg(feature = "Foundation_Collections")] -windows_core::imp::com_interface!(WordSegmentsTokenizingHandler, WordSegmentsTokenizingHandler_Vtbl, 0xa5dd6357_bf2a_4c4f_a31f_29e71c6f8b35); +windows_core::imp::define_interface!(WordSegmentsTokenizingHandler, WordSegmentsTokenizingHandler_Vtbl, 0xa5dd6357_bf2a_4c4f_a31f_29e71c6f8b35); #[cfg(feature = "Foundation_Collections")] impl WordSegmentsTokenizingHandler { pub fn new>, Option<&super::super::Foundation::Collections::IIterable>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { diff --git a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs index 5b9fa58cff..aff6234c6d 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDtdEntity, IDtdEntity_Vtbl, 0x6a0b5ffc_63b4_480f_9e6a_8a92816aade4); +windows_core::imp::define_interface!(IDtdEntity, IDtdEntity_Vtbl, 0x6a0b5ffc_63b4_480f_9e6a_8a92816aade4); #[repr(C)] pub struct IDtdEntity_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,14 +6,14 @@ pub struct IDtdEntity_Vtbl { pub SystemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NotationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtdNotation, IDtdNotation_Vtbl, 0x8cb4e04d_6d46_4edb_ab73_df83c51ad397); +windows_core::imp::define_interface!(IDtdNotation, IDtdNotation_Vtbl, 0x8cb4e04d_6d46_4edb_ab73_df83c51ad397); #[repr(C)] pub struct IDtdNotation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PublicId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SystemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXmlAttribute, IXmlAttribute_Vtbl, 0xac144aa4_b4f1_4db6_b206_8a22c308db0a); +windows_core::imp::define_interface!(IXmlAttribute, IXmlAttribute_Vtbl, 0xac144aa4_b4f1_4db6_b206_8a22c308db0a); #[repr(C)] pub struct IXmlAttribute_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -22,12 +22,12 @@ pub struct IXmlAttribute_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, } -windows_core::imp::com_interface!(IXmlCDataSection, IXmlCDataSection_Vtbl, 0x4d04b46f_c8bd_45b4_8899_0400d7c2c60f); +windows_core::imp::define_interface!(IXmlCDataSection, IXmlCDataSection_Vtbl, 0x4d04b46f_c8bd_45b4_8899_0400d7c2c60f); #[repr(C)] pub struct IXmlCDataSection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IXmlCharacterData, IXmlCharacterData_Vtbl, 0x132e42ab_4e36_4df6_b1c8_0ce62fd88b26); +windows_core::imp::define_interface!(IXmlCharacterData, IXmlCharacterData_Vtbl, 0x132e42ab_4e36_4df6_b1c8_0ce62fd88b26); windows_core::imp::interface_hierarchy!(IXmlCharacterData, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IXmlCharacterData, IXmlNode, IXmlNodeSelector, IXmlNodeSerializer); impl IXmlCharacterData { @@ -312,12 +312,12 @@ pub struct IXmlCharacterData_Vtbl { 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, } -windows_core::imp::com_interface!(IXmlComment, IXmlComment_Vtbl, 0xbca474d5_b61f_4611_9cac_2e92e3476d47); +windows_core::imp::define_interface!(IXmlComment, IXmlComment_Vtbl, 0xbca474d5_b61f_4611_9cac_2e92e3476d47); #[repr(C)] pub struct IXmlComment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IXmlDocument, IXmlDocument_Vtbl, 0xf7f3a506_1e87_42d6_bcfb_b8c809fa5494); +windows_core::imp::define_interface!(IXmlDocument, IXmlDocument_Vtbl, 0xf7f3a506_1e87_42d6_bcfb_b8c809fa5494); #[repr(C)] pub struct IXmlDocument_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -339,12 +339,12 @@ pub struct IXmlDocument_Vtbl { pub GetElementById: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IXmlDocumentFragment, IXmlDocumentFragment_Vtbl, 0xe2ea6a96_0c21_44a5_8bc9_9e4a262708ec); +windows_core::imp::define_interface!(IXmlDocumentFragment, IXmlDocumentFragment_Vtbl, 0xe2ea6a96_0c21_44a5_8bc9_9e4a262708ec); #[repr(C)] pub struct IXmlDocumentFragment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IXmlDocumentIO, IXmlDocumentIO_Vtbl, 0x6cd0e74e_ee65_4489_9ebf_ca43e87ba637); +windows_core::imp::define_interface!(IXmlDocumentIO, IXmlDocumentIO_Vtbl, 0x6cd0e74e_ee65_4489_9ebf_ca43e87ba637); #[repr(C)] pub struct IXmlDocumentIO_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -355,7 +355,7 @@ pub struct IXmlDocumentIO_Vtbl { #[cfg(not(feature = "Storage"))] SaveToFileAsync: usize, } -windows_core::imp::com_interface!(IXmlDocumentIO2, IXmlDocumentIO2_Vtbl, 0x5d034661_7bd8_4ad5_9ebf_81e6347263b1); +windows_core::imp::define_interface!(IXmlDocumentIO2, IXmlDocumentIO2_Vtbl, 0x5d034661_7bd8_4ad5_9ebf_81e6347263b1); #[repr(C)] pub struct IXmlDocumentIO2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -368,7 +368,7 @@ pub struct IXmlDocumentIO2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] LoadXmlFromBufferWithSettings: usize, } -windows_core::imp::com_interface!(IXmlDocumentStatics, IXmlDocumentStatics_Vtbl, 0x5543d254_d757_4b79_9539_232b18f50bf1); +windows_core::imp::define_interface!(IXmlDocumentStatics, IXmlDocumentStatics_Vtbl, 0x5543d254_d757_4b79_9539_232b18f50bf1); #[repr(C)] pub struct IXmlDocumentStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -383,7 +383,7 @@ pub struct IXmlDocumentStatics_Vtbl { #[cfg(not(feature = "Storage"))] LoadFromFileWithSettingsAsync: usize, } -windows_core::imp::com_interface!(IXmlDocumentType, IXmlDocumentType_Vtbl, 0xf7342425_9781_4964_8e94_9b1c6dfc9bc7); +windows_core::imp::define_interface!(IXmlDocumentType, IXmlDocumentType_Vtbl, 0xf7342425_9781_4964_8e94_9b1c6dfc9bc7); #[repr(C)] pub struct IXmlDocumentType_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -391,13 +391,13 @@ pub struct IXmlDocumentType_Vtbl { 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, } -windows_core::imp::com_interface!(IXmlDomImplementation, IXmlDomImplementation_Vtbl, 0x6de58132_f11d_4fbb_8cc6_583cba93112f); +windows_core::imp::define_interface!(IXmlDomImplementation, IXmlDomImplementation_Vtbl, 0x6de58132_f11d_4fbb_8cc6_583cba93112f); #[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, } -windows_core::imp::com_interface!(IXmlElement, IXmlElement_Vtbl, 0x2dfb8a1f_6b10_4ef8_9f83_efcce8faec37); +windows_core::imp::define_interface!(IXmlElement, IXmlElement_Vtbl, 0x2dfb8a1f_6b10_4ef8_9f83_efcce8faec37); #[repr(C)] pub struct IXmlElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -415,12 +415,12 @@ pub struct IXmlElement_Vtbl { 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, } -windows_core::imp::com_interface!(IXmlEntityReference, IXmlEntityReference_Vtbl, 0x2e2f47bc_c3d0_4ccf_bb86_0ab8c36a61cf); +windows_core::imp::define_interface!(IXmlEntityReference, IXmlEntityReference_Vtbl, 0x2e2f47bc_c3d0_4ccf_bb86_0ab8c36a61cf); #[repr(C)] pub struct IXmlEntityReference_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IXmlLoadSettings, IXmlLoadSettings_Vtbl, 0x58aa07a8_fed6_46f7_b4c5_fb1ba72108d6); +windows_core::imp::define_interface!(IXmlLoadSettings, IXmlLoadSettings_Vtbl, 0x58aa07a8_fed6_46f7_b4c5_fb1ba72108d6); #[repr(C)] pub struct IXmlLoadSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -435,7 +435,7 @@ pub struct IXmlLoadSettings_Vtbl { pub ElementContentWhiteSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetElementContentWhiteSpace: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXmlNamedNodeMap, IXmlNamedNodeMap_Vtbl, 0xb3a69eb0_aab0_4b82_a6fa_b1453f7c021b); +windows_core::imp::define_interface!(IXmlNamedNodeMap, IXmlNamedNodeMap_Vtbl, 0xb3a69eb0_aab0_4b82_a6fa_b1453f7c021b); #[repr(C)] pub struct IXmlNamedNodeMap_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -448,7 +448,7 @@ pub struct IXmlNamedNodeMap_Vtbl { 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 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::com_interface!(IXmlNode, IXmlNode_Vtbl, 0x1c741d59_2122_47d5_a856_83f3d4214875); +windows_core::imp::define_interface!(IXmlNode, IXmlNode_Vtbl, 0x1c741d59_2122_47d5_a856_83f3d4214875); windows_core::imp::interface_hierarchy!(IXmlNode, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IXmlNode, IXmlNodeSelector, IXmlNodeSerializer); impl IXmlNode { @@ -707,14 +707,14 @@ pub struct IXmlNode_Vtbl { pub Normalize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXmlNodeList, IXmlNodeList_Vtbl, 0x8c60ad77_83a4_4ec1_9c54_7ba429e13da6); +windows_core::imp::define_interface!(IXmlNodeList, IXmlNodeList_Vtbl, 0x8c60ad77_83a4_4ec1_9c54_7ba429e13da6); #[repr(C)] pub struct IXmlNodeList_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, } -windows_core::imp::com_interface!(IXmlNodeSelector, IXmlNodeSelector_Vtbl, 0x63dbba8b_d0db_4fe1_b745_f9433afdc25b); +windows_core::imp::define_interface!(IXmlNodeSelector, IXmlNodeSelector_Vtbl, 0x63dbba8b_d0db_4fe1_b745_f9433afdc25b); windows_core::imp::interface_hierarchy!(IXmlNodeSelector, windows_core::IUnknown, windows_core::IInspectable); impl IXmlNodeSelector { pub fn SelectSingleNode(&self, xpath: &windows_core::HSTRING) -> windows_core::Result { @@ -763,7 +763,7 @@ pub struct IXmlNodeSelector_Vtbl { 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, } -windows_core::imp::com_interface!(IXmlNodeSerializer, IXmlNodeSerializer_Vtbl, 0x5cc5b382_e6dd_4991_abef_06d8d2e7bd0c); +windows_core::imp::define_interface!(IXmlNodeSerializer, IXmlNodeSerializer_Vtbl, 0x5cc5b382_e6dd_4991_abef_06d8d2e7bd0c); windows_core::imp::interface_hierarchy!(IXmlNodeSerializer, windows_core::IUnknown, windows_core::IInspectable); impl IXmlNodeSerializer { pub fn GetXml(&self) -> windows_core::Result { @@ -795,7 +795,7 @@ pub struct IXmlNodeSerializer_Vtbl { 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, } -windows_core::imp::com_interface!(IXmlProcessingInstruction, IXmlProcessingInstruction_Vtbl, 0x2707fd1e_1e92_4ece_b6f4_26f069078ddc); +windows_core::imp::define_interface!(IXmlProcessingInstruction, IXmlProcessingInstruction_Vtbl, 0x2707fd1e_1e92_4ece_b6f4_26f069078ddc); #[repr(C)] pub struct IXmlProcessingInstruction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -803,7 +803,7 @@ pub struct IXmlProcessingInstruction_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, } -windows_core::imp::com_interface!(IXmlText, IXmlText_Vtbl, 0xf931a4cb_308d_4760_a1d5_43b67450ac7e); +windows_core::imp::define_interface!(IXmlText, IXmlText_Vtbl, 0xf931a4cb_308d_4760_a1d5_43b67450ac7e); windows_core::imp::interface_hierarchy!(IXmlText, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IXmlText, IXmlCharacterData, IXmlNode, IXmlNodeSelector, IXmlNodeSerializer); impl IXmlText { 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 bb4cc5e5e0..cc3cca94fe 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Xsl/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IXsltProcessor, IXsltProcessor_Vtbl, 0x7b64703f_550c_48c6_a90f_93a5b964518f); +windows_core::imp::define_interface!(IXsltProcessor, IXsltProcessor_Vtbl, 0x7b64703f_550c_48c6_a90f_93a5b964518f); #[repr(C)] pub struct IXsltProcessor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct IXsltProcessor_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] TransformToString: usize, } -windows_core::imp::com_interface!(IXsltProcessor2, IXsltProcessor2_Vtbl, 0x8da45c56_97a5_44cb_a8be_27d86280c70a); +windows_core::imp::define_interface!(IXsltProcessor2, IXsltProcessor2_Vtbl, 0x8da45c56_97a5_44cb_a8be_27d86280c70a); #[repr(C)] pub struct IXsltProcessor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,7 +16,7 @@ pub struct IXsltProcessor2_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] TransformToDocument: usize, } -windows_core::imp::com_interface!(IXsltProcessorFactory, IXsltProcessorFactory_Vtbl, 0x274146c0_9a51_4663_bf30_0ef742146f20); +windows_core::imp::define_interface!(IXsltProcessorFactory, IXsltProcessorFactory_Vtbl, 0x274146c0_9a51_4663_bf30_0ef742146f20); #[repr(C)] pub struct IXsltProcessorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 8647e8d5ca..3e6c972e05 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/Provider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAdcControllerProvider, IAdcControllerProvider_Vtbl, 0xbe545828_816d_4de5_a048_aba06958aaa8); +windows_core::imp::define_interface!(IAdcControllerProvider, IAdcControllerProvider_Vtbl, 0xbe545828_816d_4de5_a048_aba06958aaa8); windows_core::imp::interface_hierarchy!(IAdcControllerProvider, windows_core::IUnknown, windows_core::IInspectable); impl IAdcControllerProvider { pub fn ChannelCount(&self) -> windows_core::Result { @@ -80,7 +80,7 @@ pub struct IAdcControllerProvider_Vtbl { pub ReleaseChannel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ReadValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdcProvider, IAdcProvider_Vtbl, 0x28953668_9359_4c57_bc88_e275e81638c9); +windows_core::imp::define_interface!(IAdcProvider, IAdcProvider_Vtbl, 0x28953668_9359_4c57_bc88_e275e81638c9); windows_core::imp::interface_hierarchy!(IAdcProvider, windows_core::IUnknown, windows_core::IInspectable); impl IAdcProvider { #[cfg(feature = "Foundation_Collections")] diff --git a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs index ea7a3c49fc..90515c816d 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Devices_Adc_Provider")] pub mod Provider; -windows_core::imp::com_interface!(IAdcChannel, IAdcChannel_Vtbl, 0x040bf414_2588_4a56_abef_73a260acc60a); +windows_core::imp::define_interface!(IAdcChannel, IAdcChannel_Vtbl, 0x040bf414_2588_4a56_abef_73a260acc60a); #[repr(C)] pub struct IAdcChannel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct IAdcChannel_Vtbl { pub ReadValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ReadRatio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdcController, IAdcController_Vtbl, 0x2a76e4b0_a896_4219_86b6_ea8cdce98f56); +windows_core::imp::define_interface!(IAdcController, IAdcController_Vtbl, 0x2a76e4b0_a896_4219_86b6_ea8cdce98f56); #[repr(C)] pub struct IAdcController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -21,7 +21,7 @@ pub struct IAdcController_Vtbl { pub IsChannelModeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, AdcChannelMode, *mut bool) -> windows_core::HRESULT, pub OpenChannel: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdcControllerStatics, IAdcControllerStatics_Vtbl, 0xcce98e0c_01f8_4891_bc3b_be53ef279ca4); +windows_core::imp::define_interface!(IAdcControllerStatics, IAdcControllerStatics_Vtbl, 0xcce98e0c_01f8_4891_bc3b_be53ef279ca4); #[repr(C)] pub struct IAdcControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,7 +30,7 @@ pub struct IAdcControllerStatics_Vtbl { #[cfg(not(all(feature = "Devices_Adc_Provider", feature = "Foundation_Collections")))] GetControllersAsync: usize, } -windows_core::imp::com_interface!(IAdcControllerStatics2, IAdcControllerStatics2_Vtbl, 0xa2b93b1d_977b_4f5a_a5fe_a6abaffe6484); +windows_core::imp::define_interface!(IAdcControllerStatics2, IAdcControllerStatics2_Vtbl, 0xa2b93b1d_977b_4f5a_a5fe_a6abaffe6484); #[repr(C)] pub struct IAdcControllerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Background/mod.rs b/crates/libs/windows/src/Windows/Devices/Background/mod.rs index 8431df711d..3e95fec2b0 100644 --- a/crates/libs/windows/src/Windows/Devices/Background/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Background/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDeviceServicingDetails, IDeviceServicingDetails_Vtbl, 0x4aabee29_2344_4ac4_8527_4a8ef6905645); +windows_core::imp::define_interface!(IDeviceServicingDetails, IDeviceServicingDetails_Vtbl, 0x4aabee29_2344_4ac4_8527_4a8ef6905645); #[repr(C)] pub struct IDeviceServicingDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,7 +6,7 @@ pub struct IDeviceServicingDetails_Vtbl { pub Arguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IDeviceUseDetails, IDeviceUseDetails_Vtbl, 0x7d565141_557e_4154_b994_e4f7a11fb323); +windows_core::imp::define_interface!(IDeviceUseDetails, IDeviceUseDetails_Vtbl, 0x7d565141_557e_4154_b994_e4f7a11fb323); #[repr(C)] pub struct IDeviceUseDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 dc554984df..93780c6ba0 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Advertisement/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IBluetoothLEAdvertisement, IBluetoothLEAdvertisement_Vtbl, 0x066fb2b7_33d1_4e7d_8367_cf81d0f79653); +windows_core::imp::define_interface!(IBluetoothLEAdvertisement, IBluetoothLEAdvertisement_Vtbl, 0x066fb2b7_33d1_4e7d_8367_cf81d0f79653); #[repr(C)] pub struct IBluetoothLEAdvertisement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,7 +27,7 @@ pub struct IBluetoothLEAdvertisement_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetSectionsByType: usize, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementBytePattern, IBluetoothLEAdvertisementBytePattern_Vtbl, 0xfbfad7f2_b9c5_4a08_bc51_502f8ef68a79); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementBytePattern, IBluetoothLEAdvertisementBytePattern_Vtbl, 0xfbfad7f2_b9c5_4a08_bc51_502f8ef68a79); #[repr(C)] pub struct IBluetoothLEAdvertisementBytePattern_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,7 +44,7 @@ pub struct IBluetoothLEAdvertisementBytePattern_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SetData: usize, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementBytePatternFactory, IBluetoothLEAdvertisementBytePatternFactory_Vtbl, 0xc2e24d73_fd5c_4ec3_be2a_9ca6fa11b7bd); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementBytePatternFactory, IBluetoothLEAdvertisementBytePatternFactory_Vtbl, 0xc2e24d73_fd5c_4ec3_be2a_9ca6fa11b7bd); #[repr(C)] pub struct IBluetoothLEAdvertisementBytePatternFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,7 +53,7 @@ pub struct IBluetoothLEAdvertisementBytePatternFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Create: usize, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementDataSection, IBluetoothLEAdvertisementDataSection_Vtbl, 0xd7213314_3a43_40f9_b6f0_92bfefc34ae3); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementDataSection, IBluetoothLEAdvertisementDataSection_Vtbl, 0xd7213314_3a43_40f9_b6f0_92bfefc34ae3); #[repr(C)] pub struct IBluetoothLEAdvertisementDataSection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,7 +68,7 @@ pub struct IBluetoothLEAdvertisementDataSection_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SetData: usize, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementDataSectionFactory, IBluetoothLEAdvertisementDataSectionFactory_Vtbl, 0xe7a40942_a845_4045_bf7e_3e9971db8a6b); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementDataSectionFactory, IBluetoothLEAdvertisementDataSectionFactory_Vtbl, 0xe7a40942_a845_4045_bf7e_3e9971db8a6b); #[repr(C)] pub struct IBluetoothLEAdvertisementDataSectionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -77,7 +77,7 @@ pub struct IBluetoothLEAdvertisementDataSectionFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Create: usize, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementDataTypesStatics, IBluetoothLEAdvertisementDataTypesStatics_Vtbl, 0x3bb6472f_0606_434b_a76e_74159f0684d3); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementDataTypesStatics, IBluetoothLEAdvertisementDataTypesStatics_Vtbl, 0x3bb6472f_0606_434b_a76e_74159f0684d3); #[repr(C)] pub struct IBluetoothLEAdvertisementDataTypesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -104,7 +104,7 @@ pub struct IBluetoothLEAdvertisementDataTypesStatics_Vtbl { pub AdvertisingInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub ManufacturerSpecificData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementFilter, IBluetoothLEAdvertisementFilter_Vtbl, 0x131eb0d3_d04e_47b1_837e_49405bf6f80f); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementFilter, IBluetoothLEAdvertisementFilter_Vtbl, 0x131eb0d3_d04e_47b1_837e_49405bf6f80f); #[repr(C)] pub struct IBluetoothLEAdvertisementFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -115,7 +115,7 @@ pub struct IBluetoothLEAdvertisementFilter_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] BytePatterns: usize, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementPublisher, IBluetoothLEAdvertisementPublisher_Vtbl, 0xcde820f9_d9fa_43d6_a264_ddd8b7da8b78); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementPublisher, IBluetoothLEAdvertisementPublisher_Vtbl, 0xcde820f9_d9fa_43d6_a264_ddd8b7da8b78); #[repr(C)] pub struct IBluetoothLEAdvertisementPublisher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -126,7 +126,7 @@ pub struct IBluetoothLEAdvertisementPublisher_Vtbl { 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, pub RemoveStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementPublisher2, IBluetoothLEAdvertisementPublisher2_Vtbl, 0xfbdb545e_56f1_510f_a434_217fbd9e7bd2); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementPublisher2, IBluetoothLEAdvertisementPublisher2_Vtbl, 0xfbdb545e_56f1_510f_a434_217fbd9e7bd2); #[repr(C)] pub struct IBluetoothLEAdvertisementPublisher2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -139,26 +139,26 @@ pub struct IBluetoothLEAdvertisementPublisher2_Vtbl { pub IncludeTransmitPowerLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIncludeTransmitPowerLevel: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementPublisherFactory, IBluetoothLEAdvertisementPublisherFactory_Vtbl, 0x5c5f065e_b863_4981_a1af_1c544d8b0c0d); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementPublisherFactory, IBluetoothLEAdvertisementPublisherFactory_Vtbl, 0x5c5f065e_b863_4981_a1af_1c544d8b0c0d); #[repr(C)] pub struct IBluetoothLEAdvertisementPublisherFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementPublisherStatusChangedEventArgs, IBluetoothLEAdvertisementPublisherStatusChangedEventArgs_Vtbl, 0x09c2bd9f_2dff_4b23_86ee_0d14fb94aeae); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementPublisherStatusChangedEventArgs, IBluetoothLEAdvertisementPublisherStatusChangedEventArgs_Vtbl, 0x09c2bd9f_2dff_4b23_86ee_0d14fb94aeae); #[repr(C)] pub struct IBluetoothLEAdvertisementPublisherStatusChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BluetoothLEAdvertisementPublisherStatus) -> windows_core::HRESULT, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::BluetoothError) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2, IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2_Vtbl, 0x8f62790e_dc88_5c8b_b34e_10b321850f88); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2, IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2_Vtbl, 0x8f62790e_dc88_5c8b_b34e_10b321850f88); #[repr(C)] pub struct IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SelectedTransmitPowerLevelInDBm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementReceivedEventArgs, IBluetoothLEAdvertisementReceivedEventArgs_Vtbl, 0x27987ddf_e596_41be_8d43_9e6731d4a913); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementReceivedEventArgs, IBluetoothLEAdvertisementReceivedEventArgs_Vtbl, 0x27987ddf_e596_41be_8d43_9e6731d4a913); #[repr(C)] pub struct IBluetoothLEAdvertisementReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -168,7 +168,7 @@ pub struct IBluetoothLEAdvertisementReceivedEventArgs_Vtbl { pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Advertisement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementReceivedEventArgs2, IBluetoothLEAdvertisementReceivedEventArgs2_Vtbl, 0x12d9c87b_0399_5f0e_a348_53b02b6b162e); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementReceivedEventArgs2, IBluetoothLEAdvertisementReceivedEventArgs2_Vtbl, 0x12d9c87b_0399_5f0e_a348_53b02b6b162e); #[repr(C)] pub struct IBluetoothLEAdvertisementReceivedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -180,7 +180,7 @@ pub struct IBluetoothLEAdvertisementReceivedEventArgs2_Vtbl { pub IsDirected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsScanResponse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementWatcher, IBluetoothLEAdvertisementWatcher_Vtbl, 0xa6ac336f_f3d3_4297_8d6c_c81ea6623f40); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementWatcher, IBluetoothLEAdvertisementWatcher_Vtbl, 0xa6ac336f_f3d3_4297_8d6c_c81ea6623f40); #[repr(C)] pub struct IBluetoothLEAdvertisementWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -202,26 +202,26 @@ pub struct IBluetoothLEAdvertisementWatcher_Vtbl { pub Stopped: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStopped: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementWatcher2, IBluetoothLEAdvertisementWatcher2_Vtbl, 0x01bf26bc_b164_5805_90a3_e8a7997ff225); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementWatcher2, IBluetoothLEAdvertisementWatcher2_Vtbl, 0x01bf26bc_b164_5805_90a3_e8a7997ff225); #[repr(C)] pub struct IBluetoothLEAdvertisementWatcher2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowExtendedAdvertisements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowExtendedAdvertisements: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementWatcherFactory, IBluetoothLEAdvertisementWatcherFactory_Vtbl, 0x9aaf2d56_39ac_453e_b32a_85c657e017f1); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementWatcherFactory, IBluetoothLEAdvertisementWatcherFactory_Vtbl, 0x9aaf2d56_39ac_453e_b32a_85c657e017f1); #[repr(C)] pub struct IBluetoothLEAdvertisementWatcherFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementWatcherStoppedEventArgs, IBluetoothLEAdvertisementWatcherStoppedEventArgs_Vtbl, 0xdd40f84d_e7b9_43e3_9c04_0685d085fd8c); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementWatcherStoppedEventArgs, IBluetoothLEAdvertisementWatcherStoppedEventArgs_Vtbl, 0xdd40f84d_e7b9_43e3_9c04_0685d085fd8c); #[repr(C)] pub struct IBluetoothLEAdvertisementWatcherStoppedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::BluetoothError) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEManufacturerData, IBluetoothLEManufacturerData_Vtbl, 0x912dba18_6963_4533_b061_4694dafb34e5); +windows_core::imp::define_interface!(IBluetoothLEManufacturerData, IBluetoothLEManufacturerData_Vtbl, 0x912dba18_6963_4533_b061_4694dafb34e5); #[repr(C)] pub struct IBluetoothLEManufacturerData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -236,7 +236,7 @@ pub struct IBluetoothLEManufacturerData_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SetData: usize, } -windows_core::imp::com_interface!(IBluetoothLEManufacturerDataFactory, IBluetoothLEManufacturerDataFactory_Vtbl, 0xc09b39f8_319a_441e_8de5_66a81e877a6c); +windows_core::imp::define_interface!(IBluetoothLEManufacturerDataFactory, IBluetoothLEManufacturerDataFactory_Vtbl, 0xc09b39f8_319a_441e_8de5_66a81e877a6c); #[repr(C)] pub struct IBluetoothLEManufacturerDataFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 75bc1ea1ee..c8e60df5e2 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Background/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IBluetoothLEAdvertisementPublisherTriggerDetails, IBluetoothLEAdvertisementPublisherTriggerDetails_Vtbl, 0x610eca86_3480_41c9_a918_7ddadf207e00); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementPublisherTriggerDetails, IBluetoothLEAdvertisementPublisherTriggerDetails_Vtbl, 0x610eca86_3480_41c9_a918_7ddadf207e00); #[repr(C)] pub struct IBluetoothLEAdvertisementPublisherTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,13 +8,13 @@ pub struct IBluetoothLEAdvertisementPublisherTriggerDetails_Vtbl { Status: usize, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::BluetoothError) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementPublisherTriggerDetails2, IBluetoothLEAdvertisementPublisherTriggerDetails2_Vtbl, 0xd4a3d025_c601_42d6_9829_4ccb3f5cd77f); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementPublisherTriggerDetails2, IBluetoothLEAdvertisementPublisherTriggerDetails2_Vtbl, 0xd4a3d025_c601_42d6_9829_4ccb3f5cd77f); #[repr(C)] pub struct IBluetoothLEAdvertisementPublisherTriggerDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SelectedTransmitPowerLevelInDBm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAdvertisementWatcherTriggerDetails, IBluetoothLEAdvertisementWatcherTriggerDetails_Vtbl, 0xa7db5ad7_2257_4e69_9784_fee645c1dce0); +windows_core::imp::define_interface!(IBluetoothLEAdvertisementWatcherTriggerDetails, IBluetoothLEAdvertisementWatcherTriggerDetails_Vtbl, 0xa7db5ad7_2257_4e69_9784_fee645c1dce0); #[repr(C)] pub struct IBluetoothLEAdvertisementWatcherTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -25,7 +25,7 @@ pub struct IBluetoothLEAdvertisementWatcherTriggerDetails_Vtbl { Advertisements: usize, pub SignalStrengthFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattCharacteristicNotificationTriggerDetails, IGattCharacteristicNotificationTriggerDetails_Vtbl, 0x9ba03b18_0fec_436a_93b1_f46c697532a2); +windows_core::imp::define_interface!(IGattCharacteristicNotificationTriggerDetails, IGattCharacteristicNotificationTriggerDetails_Vtbl, 0x9ba03b18_0fec_436a_93b1_f46c697532a2); #[repr(C)] pub struct IGattCharacteristicNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,7 +38,7 @@ pub struct IGattCharacteristicNotificationTriggerDetails_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Value: usize, } -windows_core::imp::com_interface!(IGattCharacteristicNotificationTriggerDetails2, IGattCharacteristicNotificationTriggerDetails2_Vtbl, 0x727a50dc_949d_454a_b192_983467e3d50f); +windows_core::imp::define_interface!(IGattCharacteristicNotificationTriggerDetails2, IGattCharacteristicNotificationTriggerDetails2_Vtbl, 0x727a50dc_949d_454a_b192_983467e3d50f); #[repr(C)] pub struct IGattCharacteristicNotificationTriggerDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -49,7 +49,7 @@ pub struct IGattCharacteristicNotificationTriggerDetails2_Vtbl { #[cfg(not(all(feature = "Devices_Bluetooth_GenericAttributeProfile", feature = "Foundation_Collections")))] ValueChangedEvents: usize, } -windows_core::imp::com_interface!(IGattServiceProviderConnection, IGattServiceProviderConnection_Vtbl, 0x7fa1b9b9_2f13_40b5_9582_8eb78e98ef13); +windows_core::imp::define_interface!(IGattServiceProviderConnection, IGattServiceProviderConnection_Vtbl, 0x7fa1b9b9_2f13_40b5_9582_8eb78e98ef13); #[repr(C)] pub struct IGattServiceProviderConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -60,7 +60,7 @@ pub struct IGattServiceProviderConnection_Vtbl { Service: usize, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattServiceProviderConnectionStatics, IGattServiceProviderConnectionStatics_Vtbl, 0x3d509f4b_0b0e_4466_b8cd_6ebdda1fa17d); +windows_core::imp::define_interface!(IGattServiceProviderConnectionStatics, IGattServiceProviderConnectionStatics_Vtbl, 0x3d509f4b_0b0e_4466_b8cd_6ebdda1fa17d); #[repr(C)] pub struct IGattServiceProviderConnectionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -69,13 +69,13 @@ pub struct IGattServiceProviderConnectionStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AllServices: usize, } -windows_core::imp::com_interface!(IGattServiceProviderTriggerDetails, IGattServiceProviderTriggerDetails_Vtbl, 0xae8c0625_05ff_4afb_b16a_de95f3cf0158); +windows_core::imp::define_interface!(IGattServiceProviderTriggerDetails, IGattServiceProviderTriggerDetails_Vtbl, 0xae8c0625_05ff_4afb_b16a_de95f3cf0158); #[repr(C)] pub struct IGattServiceProviderTriggerDetails_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, } -windows_core::imp::com_interface!(IRfcommConnectionTriggerDetails, IRfcommConnectionTriggerDetails_Vtbl, 0xf922734d_2e3c_4efc_ab59_fc5cf96f97e3); +windows_core::imp::define_interface!(IRfcommConnectionTriggerDetails, IRfcommConnectionTriggerDetails_Vtbl, 0xf922734d_2e3c_4efc_ab59_fc5cf96f97e3); #[repr(C)] pub struct IRfcommConnectionTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -86,7 +86,7 @@ pub struct IRfcommConnectionTriggerDetails_Vtbl { pub Incoming: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub RemoteDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRfcommInboundConnectionInformation, IRfcommInboundConnectionInformation_Vtbl, 0x6d3e75a8_5429_4059_92e3_1e8b65528707); +windows_core::imp::define_interface!(IRfcommInboundConnectionInformation, IRfcommInboundConnectionInformation_Vtbl, 0x6d3e75a8_5429_4059_92e3_1e8b65528707); #[repr(C)] pub struct IRfcommInboundConnectionInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -109,7 +109,7 @@ pub struct IRfcommInboundConnectionInformation_Vtbl { pub ServiceCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::BluetoothServiceCapabilities) -> windows_core::HRESULT, pub SetServiceCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, super::BluetoothServiceCapabilities) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRfcommOutboundConnectionInformation, IRfcommOutboundConnectionInformation_Vtbl, 0xb091227b_f434_4cb0_99b1_4ab8cedaedd7); +windows_core::imp::define_interface!(IRfcommOutboundConnectionInformation, IRfcommOutboundConnectionInformation_Vtbl, 0xb091227b_f434_4cb0_99b1_4ab8cedaedd7); #[repr(C)] pub struct IRfcommOutboundConnectionInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 de6efabbde..b5c37db4b2 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGattCharacteristic, IGattCharacteristic_Vtbl, 0x59cb50c1_5934_4f68_a198_eb864fa44e6b); +windows_core::imp::define_interface!(IGattCharacteristic, IGattCharacteristic_Vtbl, 0x59cb50c1_5934_4f68_a198_eb864fa44e6b); #[repr(C)] pub struct IGattCharacteristic_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -31,7 +31,7 @@ pub struct IGattCharacteristic_Vtbl { pub ValueChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveValueChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattCharacteristic2, IGattCharacteristic2_Vtbl, 0xae1ab578_ec06_4764_b780_9835a1d35d6e); +windows_core::imp::define_interface!(IGattCharacteristic2, IGattCharacteristic2_Vtbl, 0xae1ab578_ec06_4764_b780_9835a1d35d6e); #[repr(C)] pub struct IGattCharacteristic2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -41,7 +41,7 @@ pub struct IGattCharacteristic2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetAllDescriptors: usize, } -windows_core::imp::com_interface!(IGattCharacteristic3, IGattCharacteristic3_Vtbl, 0x3f3c663e_93d4_406b_b817_db81f8ed53b3); +windows_core::imp::define_interface!(IGattCharacteristic3, IGattCharacteristic3_Vtbl, 0x3f3c663e_93d4_406b_b817_db81f8ed53b3); #[repr(C)] pub struct IGattCharacteristic3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -59,7 +59,7 @@ pub struct IGattCharacteristic3_Vtbl { WriteValueWithResultAndOptionAsync: usize, pub WriteClientCharacteristicConfigurationDescriptorWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, GattClientCharacteristicConfigurationDescriptorValue, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattCharacteristicStatics, IGattCharacteristicStatics_Vtbl, 0x59cb50c3_5934_4f68_a198_eb864fa44e6b); +windows_core::imp::define_interface!(IGattCharacteristicStatics, IGattCharacteristicStatics_Vtbl, 0x59cb50c3_5934_4f68_a198_eb864fa44e6b); #[repr(C)] pub struct IGattCharacteristicStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,7 +68,7 @@ pub struct IGattCharacteristicStatics_Vtbl { #[cfg(not(feature = "deprecated"))] ConvertShortIdToUuid: usize, } -windows_core::imp::com_interface!(IGattCharacteristicUuidsStatics, IGattCharacteristicUuidsStatics_Vtbl, 0x58fa4586_b1de_470c_b7de_0d11ff44f4b7); +windows_core::imp::define_interface!(IGattCharacteristicUuidsStatics, IGattCharacteristicUuidsStatics_Vtbl, 0x58fa4586_b1de_470c_b7de_0d11ff44f4b7); #[repr(C)] pub struct IGattCharacteristicUuidsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -94,7 +94,7 @@ pub struct IGattCharacteristicUuidsStatics_Vtbl { pub TemperatureMeasurement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub TemperatureType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattCharacteristicUuidsStatics2, IGattCharacteristicUuidsStatics2_Vtbl, 0x1855b425_d46e_4a2c_9c3f_ed6dea29e7be); +windows_core::imp::define_interface!(IGattCharacteristicUuidsStatics2, IGattCharacteristicUuidsStatics2_Vtbl, 0x1855b425_d46e_4a2c_9c3f_ed6dea29e7be); #[repr(C)] pub struct IGattCharacteristicUuidsStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -159,7 +159,7 @@ pub struct IGattCharacteristicUuidsStatics2_Vtbl { pub TxPowerLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub UnreadAlertStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattCharacteristicsResult, IGattCharacteristicsResult_Vtbl, 0x1194945c_b257_4f3e_9db7_f68bc9a9aef2); +windows_core::imp::define_interface!(IGattCharacteristicsResult, IGattCharacteristicsResult_Vtbl, 0x1194945c_b257_4f3e_9db7_f68bc9a9aef2); #[repr(C)] pub struct IGattCharacteristicsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -170,7 +170,7 @@ pub struct IGattCharacteristicsResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Characteristics: usize, } -windows_core::imp::com_interface!(IGattClientNotificationResult, IGattClientNotificationResult_Vtbl, 0x506d5599_0112_419a_8e3b_ae21afabd2c2); +windows_core::imp::define_interface!(IGattClientNotificationResult, IGattClientNotificationResult_Vtbl, 0x506d5599_0112_419a_8e3b_ae21afabd2c2); #[repr(C)] pub struct IGattClientNotificationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -178,13 +178,13 @@ pub struct IGattClientNotificationResult_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattCommunicationStatus) -> windows_core::HRESULT, pub ProtocolError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattClientNotificationResult2, IGattClientNotificationResult2_Vtbl, 0x8faec497_45e0_497e_9582_29a1fe281ad5); +windows_core::imp::define_interface!(IGattClientNotificationResult2, IGattClientNotificationResult2_Vtbl, 0x8faec497_45e0_497e_9582_29a1fe281ad5); #[repr(C)] pub struct IGattClientNotificationResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BytesSent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattDescriptor, IGattDescriptor_Vtbl, 0x92055f2b_8084_4344_b4c2_284de19a8506); +windows_core::imp::define_interface!(IGattDescriptor, IGattDescriptor_Vtbl, 0x92055f2b_8084_4344_b4c2_284de19a8506); #[repr(C)] pub struct IGattDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -199,7 +199,7 @@ pub struct IGattDescriptor_Vtbl { #[cfg(not(feature = "Storage_Streams"))] WriteValueAsync: usize, } -windows_core::imp::com_interface!(IGattDescriptor2, IGattDescriptor2_Vtbl, 0x8f563d39_d630_406c_ba11_10cdd16b0e5e); +windows_core::imp::define_interface!(IGattDescriptor2, IGattDescriptor2_Vtbl, 0x8f563d39_d630_406c_ba11_10cdd16b0e5e); #[repr(C)] pub struct IGattDescriptor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -208,7 +208,7 @@ pub struct IGattDescriptor2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] WriteValueWithResultAsync: usize, } -windows_core::imp::com_interface!(IGattDescriptorStatics, IGattDescriptorStatics_Vtbl, 0x92055f2d_8084_4344_b4c2_284de19a8506); +windows_core::imp::define_interface!(IGattDescriptorStatics, IGattDescriptorStatics_Vtbl, 0x92055f2d_8084_4344_b4c2_284de19a8506); #[repr(C)] pub struct IGattDescriptorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -217,7 +217,7 @@ pub struct IGattDescriptorStatics_Vtbl { #[cfg(not(feature = "deprecated"))] ConvertShortIdToUuid: usize, } -windows_core::imp::com_interface!(IGattDescriptorUuidsStatics, IGattDescriptorUuidsStatics_Vtbl, 0xa6f862ce_9cfc_42f1_9185_ff37b75181d3); +windows_core::imp::define_interface!(IGattDescriptorUuidsStatics, IGattDescriptorUuidsStatics_Vtbl, 0xa6f862ce_9cfc_42f1_9185_ff37b75181d3); #[repr(C)] pub struct IGattDescriptorUuidsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -228,7 +228,7 @@ pub struct IGattDescriptorUuidsStatics_Vtbl { pub ClientCharacteristicConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub ServerCharacteristicConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattDescriptorsResult, IGattDescriptorsResult_Vtbl, 0x9bc091f3_95e7_4489_8d25_ff81955a57b9); +windows_core::imp::define_interface!(IGattDescriptorsResult, IGattDescriptorsResult_Vtbl, 0x9bc091f3_95e7_4489_8d25_ff81955a57b9); #[repr(C)] pub struct IGattDescriptorsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -239,7 +239,7 @@ pub struct IGattDescriptorsResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Descriptors: usize, } -windows_core::imp::com_interface!(IGattDeviceService, IGattDeviceService_Vtbl, 0xac7b7c05_b33c_47cf_990f_6b8f5577df71); +windows_core::imp::define_interface!(IGattDeviceService, IGattDeviceService_Vtbl, 0xac7b7c05_b33c_47cf_990f_6b8f5577df71); #[repr(C)] pub struct IGattDeviceService_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -255,7 +255,7 @@ pub struct IGattDeviceService_Vtbl { 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, } -windows_core::imp::com_interface!(IGattDeviceService2, IGattDeviceService2_Vtbl, 0xfc54520b_0b0d_4708_bae0_9ffd9489bc59); +windows_core::imp::define_interface!(IGattDeviceService2, IGattDeviceService2_Vtbl, 0xfc54520b_0b0d_4708_bae0_9ffd9489bc59); #[repr(C)] pub struct IGattDeviceService2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -276,7 +276,7 @@ pub struct IGattDeviceService2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetAllIncludedServices: usize, } -windows_core::imp::com_interface!(IGattDeviceService3, IGattDeviceService3_Vtbl, 0xb293a950_0c53_437c_a9b3_5c3210c6e569); +windows_core::imp::define_interface!(IGattDeviceService3, IGattDeviceService3_Vtbl, 0xb293a950_0c53_437c_a9b3_5c3210c6e569); #[repr(C)] pub struct IGattDeviceService3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -300,7 +300,7 @@ pub struct IGattDeviceService3_Vtbl { pub GetIncludedServicesForUuidAsync: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetIncludedServicesForUuidWithCacheModeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, super::BluetoothCacheMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattDeviceServiceStatics, IGattDeviceServiceStatics_Vtbl, 0x196d0022_faad_45dc_ae5b_2ac3184e84db); +windows_core::imp::define_interface!(IGattDeviceServiceStatics, IGattDeviceServiceStatics_Vtbl, 0x196d0022_faad_45dc_ae5b_2ac3184e84db); #[repr(C)] pub struct IGattDeviceServiceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -315,7 +315,7 @@ pub struct IGattDeviceServiceStatics_Vtbl { #[cfg(not(feature = "deprecated"))] ConvertShortIdToUuid: usize, } -windows_core::imp::com_interface!(IGattDeviceServiceStatics2, IGattDeviceServiceStatics2_Vtbl, 0x0604186e_24a6_4b0d_a2f2_30cc01545d25); +windows_core::imp::define_interface!(IGattDeviceServiceStatics2, IGattDeviceServiceStatics2_Vtbl, 0x0604186e_24a6_4b0d_a2f2_30cc01545d25); #[repr(C)] pub struct IGattDeviceServiceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -325,7 +325,7 @@ pub struct IGattDeviceServiceStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IGattDeviceServicesResult, IGattDeviceServicesResult_Vtbl, 0x171dd3ee_016d_419d_838a_576cf475a3d8); +windows_core::imp::define_interface!(IGattDeviceServicesResult, IGattDeviceServicesResult_Vtbl, 0x171dd3ee_016d_419d_838a_576cf475a3d8); #[repr(C)] pub struct IGattDeviceServicesResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -336,7 +336,7 @@ pub struct IGattDeviceServicesResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Services: usize, } -windows_core::imp::com_interface!(IGattLocalCharacteristic, IGattLocalCharacteristic_Vtbl, 0xaede376d_5412_4d74_92a8_8deb8526829c); +windows_core::imp::define_interface!(IGattLocalCharacteristic, IGattLocalCharacteristic_Vtbl, 0xaede376d_5412_4d74_92a8_8deb8526829c); #[repr(C)] pub struct IGattLocalCharacteristic_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -377,7 +377,7 @@ pub struct IGattLocalCharacteristic_Vtbl { #[cfg(not(feature = "Storage_Streams"))] NotifyValueForSubscribedClientAsync: usize, } -windows_core::imp::com_interface!(IGattLocalCharacteristicParameters, IGattLocalCharacteristicParameters_Vtbl, 0xfaf73db4_4cff_44c7_8445_040e6ead0063); +windows_core::imp::define_interface!(IGattLocalCharacteristicParameters, IGattLocalCharacteristicParameters_Vtbl, 0xfaf73db4_4cff_44c7_8445_040e6ead0063); #[repr(C)] pub struct IGattLocalCharacteristicParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -402,14 +402,14 @@ pub struct IGattLocalCharacteristicParameters_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PresentationFormats: usize, } -windows_core::imp::com_interface!(IGattLocalCharacteristicResult, IGattLocalCharacteristicResult_Vtbl, 0x7975de9b_0170_4397_9666_92f863f12ee6); +windows_core::imp::define_interface!(IGattLocalCharacteristicResult, IGattLocalCharacteristicResult_Vtbl, 0x7975de9b_0170_4397_9666_92f863f12ee6); #[repr(C)] pub struct IGattLocalCharacteristicResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Characteristic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::BluetoothError) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattLocalDescriptor, IGattLocalDescriptor_Vtbl, 0xf48ebe06_789d_4a4b_8652_bd017b5d2fc6); +windows_core::imp::define_interface!(IGattLocalDescriptor, IGattLocalDescriptor_Vtbl, 0xf48ebe06_789d_4a4b_8652_bd017b5d2fc6); #[repr(C)] pub struct IGattLocalDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -425,7 +425,7 @@ pub struct IGattLocalDescriptor_Vtbl { pub WriteRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveWriteRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattLocalDescriptorParameters, IGattLocalDescriptorParameters_Vtbl, 0x5fdede6a_f3c1_4b66_8c4b_e3d2293b40e9); +windows_core::imp::define_interface!(IGattLocalDescriptorParameters, IGattLocalDescriptorParameters_Vtbl, 0x5fdede6a_f3c1_4b66_8c4b_e3d2293b40e9); #[repr(C)] pub struct IGattLocalDescriptorParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -442,14 +442,14 @@ pub struct IGattLocalDescriptorParameters_Vtbl { 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, } -windows_core::imp::com_interface!(IGattLocalDescriptorResult, IGattLocalDescriptorResult_Vtbl, 0x375791be_321f_4366_bfc1_3bc6b82c79f8); +windows_core::imp::define_interface!(IGattLocalDescriptorResult, IGattLocalDescriptorResult_Vtbl, 0x375791be_321f_4366_bfc1_3bc6b82c79f8); #[repr(C)] pub struct IGattLocalDescriptorResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Descriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::BluetoothError) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattLocalService, IGattLocalService_Vtbl, 0xf513e258_f7f7_4902_b803_57fcc7d6fe83); +windows_core::imp::define_interface!(IGattLocalService, IGattLocalService_Vtbl, 0xf513e258_f7f7_4902_b803_57fcc7d6fe83); #[repr(C)] pub struct IGattLocalService_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -460,7 +460,7 @@ pub struct IGattLocalService_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Characteristics: usize, } -windows_core::imp::com_interface!(IGattPresentationFormat, IGattPresentationFormat_Vtbl, 0x196d0021_faad_45dc_ae5b_2ac3184e84db); +windows_core::imp::define_interface!(IGattPresentationFormat, IGattPresentationFormat_Vtbl, 0x196d0021_faad_45dc_ae5b_2ac3184e84db); #[repr(C)] pub struct IGattPresentationFormat_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -470,19 +470,19 @@ pub struct IGattPresentationFormat_Vtbl { pub Namespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattPresentationFormatStatics, IGattPresentationFormatStatics_Vtbl, 0x196d0020_faad_45dc_ae5b_2ac3184e84db); +windows_core::imp::define_interface!(IGattPresentationFormatStatics, IGattPresentationFormatStatics_Vtbl, 0x196d0020_faad_45dc_ae5b_2ac3184e84db); #[repr(C)] pub struct IGattPresentationFormatStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BluetoothSigAssignedNumbers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattPresentationFormatStatics2, IGattPresentationFormatStatics2_Vtbl, 0xa9c21713_b82f_435e_b634_21fd85a43c07); +windows_core::imp::define_interface!(IGattPresentationFormatStatics2, IGattPresentationFormatStatics2_Vtbl, 0xa9c21713_b82f_435e_b634_21fd85a43c07); #[repr(C)] pub struct IGattPresentationFormatStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromParts: unsafe extern "system" fn(*mut core::ffi::c_void, u8, i32, u16, u8, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattPresentationFormatTypesStatics, IGattPresentationFormatTypesStatics_Vtbl, 0xfaf1ba0a_30ba_409c_bef7_cffb6d03b8fb); +windows_core::imp::define_interface!(IGattPresentationFormatTypesStatics, IGattPresentationFormatTypesStatics_Vtbl, 0xfaf1ba0a_30ba_409c_bef7_cffb6d03b8fb); #[repr(C)] pub struct IGattPresentationFormatTypesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -514,7 +514,7 @@ pub struct IGattPresentationFormatTypesStatics_Vtbl { pub Utf16: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Struct: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattProtocolErrorStatics, IGattProtocolErrorStatics_Vtbl, 0xca46c5c5_0ecc_4809_bea3_cf79bc991e37); +windows_core::imp::define_interface!(IGattProtocolErrorStatics, IGattProtocolErrorStatics_Vtbl, 0xca46c5c5_0ecc_4809_bea3_cf79bc991e37); #[repr(C)] pub struct IGattProtocolErrorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -536,20 +536,20 @@ pub struct IGattProtocolErrorStatics_Vtbl { pub UnsupportedGroupType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub InsufficientResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattReadClientCharacteristicConfigurationDescriptorResult, IGattReadClientCharacteristicConfigurationDescriptorResult_Vtbl, 0x63a66f09_1aea_4c4c_a50f_97bae474b348); +windows_core::imp::define_interface!(IGattReadClientCharacteristicConfigurationDescriptorResult, IGattReadClientCharacteristicConfigurationDescriptorResult_Vtbl, 0x63a66f09_1aea_4c4c_a50f_97bae474b348); #[repr(C)] pub struct IGattReadClientCharacteristicConfigurationDescriptorResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattCommunicationStatus) -> windows_core::HRESULT, pub ClientCharacteristicConfigurationDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattClientCharacteristicConfigurationDescriptorValue) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattReadClientCharacteristicConfigurationDescriptorResult2, IGattReadClientCharacteristicConfigurationDescriptorResult2_Vtbl, 0x1bf1a59d_ba4d_4622_8651_f4ee150d0a5d); +windows_core::imp::define_interface!(IGattReadClientCharacteristicConfigurationDescriptorResult2, IGattReadClientCharacteristicConfigurationDescriptorResult2_Vtbl, 0x1bf1a59d_ba4d_4622_8651_f4ee150d0a5d); #[repr(C)] pub struct IGattReadClientCharacteristicConfigurationDescriptorResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ProtocolError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattReadRequest, IGattReadRequest_Vtbl, 0xf1dd6535_6acd_42a6_a4bb_d789dae0043e); +windows_core::imp::define_interface!(IGattReadRequest, IGattReadRequest_Vtbl, 0xf1dd6535_6acd_42a6_a4bb_d789dae0043e); #[repr(C)] pub struct IGattReadRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -564,7 +564,7 @@ pub struct IGattReadRequest_Vtbl { RespondWithValue: usize, pub RespondWithProtocolError: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattReadRequestedEventArgs, IGattReadRequestedEventArgs_Vtbl, 0x93497243_f39c_484b_8ab6_996ba486cfa3); +windows_core::imp::define_interface!(IGattReadRequestedEventArgs, IGattReadRequestedEventArgs_Vtbl, 0x93497243_f39c_484b_8ab6_996ba486cfa3); #[repr(C)] pub struct IGattReadRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -572,7 +572,7 @@ pub struct IGattReadRequestedEventArgs_Vtbl { pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattReadResult, IGattReadResult_Vtbl, 0x63a66f08_1aea_4c4c_a50f_97bae474b348); +windows_core::imp::define_interface!(IGattReadResult, IGattReadResult_Vtbl, 0x63a66f08_1aea_4c4c_a50f_97bae474b348); #[repr(C)] pub struct IGattReadResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -582,13 +582,13 @@ pub struct IGattReadResult_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Value: usize, } -windows_core::imp::com_interface!(IGattReadResult2, IGattReadResult2_Vtbl, 0xa10f50a0_fb43_48af_baaa_638a5c6329fe); +windows_core::imp::define_interface!(IGattReadResult2, IGattReadResult2_Vtbl, 0xa10f50a0_fb43_48af_baaa_638a5c6329fe); #[repr(C)] pub struct IGattReadResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ProtocolError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattReliableWriteTransaction, IGattReliableWriteTransaction_Vtbl, 0x63a66f07_1aea_4c4c_a50f_97bae474b348); +windows_core::imp::define_interface!(IGattReliableWriteTransaction, IGattReliableWriteTransaction_Vtbl, 0x63a66f07_1aea_4c4c_a50f_97bae474b348); #[repr(C)] pub struct IGattReliableWriteTransaction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -598,20 +598,20 @@ pub struct IGattReliableWriteTransaction_Vtbl { WriteValue: usize, pub CommitAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattReliableWriteTransaction2, IGattReliableWriteTransaction2_Vtbl, 0x51113987_ef12_462f_9fb2_a1a43a679416); +windows_core::imp::define_interface!(IGattReliableWriteTransaction2, IGattReliableWriteTransaction2_Vtbl, 0x51113987_ef12_462f_9fb2_a1a43a679416); #[repr(C)] pub struct IGattReliableWriteTransaction2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CommitWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattRequestStateChangedEventArgs, IGattRequestStateChangedEventArgs_Vtbl, 0xe834d92c_27be_44b3_9d0d_4fc6e808dd3f); +windows_core::imp::define_interface!(IGattRequestStateChangedEventArgs, IGattRequestStateChangedEventArgs_Vtbl, 0xe834d92c_27be_44b3_9d0d_4fc6e808dd3f); #[repr(C)] pub struct IGattRequestStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattRequestState) -> windows_core::HRESULT, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::BluetoothError) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattServiceProvider, IGattServiceProvider_Vtbl, 0x7822b3cd_2889_4f86_a051_3f0aed1c2760); +windows_core::imp::define_interface!(IGattServiceProvider, IGattServiceProvider_Vtbl, 0x7822b3cd_2889_4f86_a051_3f0aed1c2760); #[repr(C)] pub struct IGattServiceProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -623,14 +623,14 @@ pub struct IGattServiceProvider_Vtbl { pub StartAdvertisingWithParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub StopAdvertising: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattServiceProviderAdvertisementStatusChangedEventArgs, IGattServiceProviderAdvertisementStatusChangedEventArgs_Vtbl, 0x59a5aa65_fa21_4ffc_b155_04d928012686); +windows_core::imp::define_interface!(IGattServiceProviderAdvertisementStatusChangedEventArgs, IGattServiceProviderAdvertisementStatusChangedEventArgs_Vtbl, 0x59a5aa65_fa21_4ffc_b155_04d928012686); #[repr(C)] pub struct IGattServiceProviderAdvertisementStatusChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::BluetoothError) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattServiceProviderAdvertisementStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattServiceProviderAdvertisingParameters, IGattServiceProviderAdvertisingParameters_Vtbl, 0xe2ce31ab_6315_4c22_9bd7_781dbc3d8d82); +windows_core::imp::define_interface!(IGattServiceProviderAdvertisingParameters, IGattServiceProviderAdvertisingParameters_Vtbl, 0xe2ce31ab_6315_4c22_9bd7_781dbc3d8d82); #[repr(C)] pub struct IGattServiceProviderAdvertisingParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -639,7 +639,7 @@ pub struct IGattServiceProviderAdvertisingParameters_Vtbl { pub SetIsDiscoverable: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsDiscoverable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattServiceProviderAdvertisingParameters2, IGattServiceProviderAdvertisingParameters2_Vtbl, 0xff68468d_ca92_4434_9743_0e90988ad879); +windows_core::imp::define_interface!(IGattServiceProviderAdvertisingParameters2, IGattServiceProviderAdvertisingParameters2_Vtbl, 0xff68468d_ca92_4434_9743_0e90988ad879); #[repr(C)] pub struct IGattServiceProviderAdvertisingParameters2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -652,20 +652,20 @@ pub struct IGattServiceProviderAdvertisingParameters2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ServiceData: usize, } -windows_core::imp::com_interface!(IGattServiceProviderResult, IGattServiceProviderResult_Vtbl, 0x764696d8_c53e_428c_8a48_67afe02c3ae6); +windows_core::imp::define_interface!(IGattServiceProviderResult, IGattServiceProviderResult_Vtbl, 0x764696d8_c53e_428c_8a48_67afe02c3ae6); #[repr(C)] pub struct IGattServiceProviderResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::BluetoothError) -> windows_core::HRESULT, pub ServiceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattServiceProviderStatics, IGattServiceProviderStatics_Vtbl, 0x31794063_5256_4054_a4f4_7bbe7755a57e); +windows_core::imp::define_interface!(IGattServiceProviderStatics, IGattServiceProviderStatics_Vtbl, 0x31794063_5256_4054_a4f4_7bbe7755a57e); #[repr(C)] pub struct IGattServiceProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattServiceUuidsStatics, IGattServiceUuidsStatics_Vtbl, 0x6dc57058_9aba_4417_b8f2_dce016d34ee2); +windows_core::imp::define_interface!(IGattServiceUuidsStatics, IGattServiceUuidsStatics_Vtbl, 0x6dc57058_9aba_4417_b8f2_dce016d34ee2); #[repr(C)] pub struct IGattServiceUuidsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -679,7 +679,7 @@ pub struct IGattServiceUuidsStatics_Vtbl { pub HeartRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub RunningSpeedAndCadence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattServiceUuidsStatics2, IGattServiceUuidsStatics2_Vtbl, 0xd2ae94f5_3d15_4f79_9c0c_eaafa675155c); +windows_core::imp::define_interface!(IGattServiceUuidsStatics2, IGattServiceUuidsStatics2_Vtbl, 0xd2ae94f5_3d15_4f79_9c0c_eaafa675155c); #[repr(C)] pub struct IGattServiceUuidsStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -697,7 +697,7 @@ pub struct IGattServiceUuidsStatics2_Vtbl { pub ScanParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub TxPower: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattSession, IGattSession_Vtbl, 0xd23b5143_e04e_4c24_999c_9c256f9856b1); +windows_core::imp::define_interface!(IGattSession, IGattSession_Vtbl, 0xd23b5143_e04e_4c24_999c_9c256f9856b1); #[repr(C)] pub struct IGattSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -712,20 +712,20 @@ pub struct IGattSession_Vtbl { pub SessionStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSessionStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattSessionStatics, IGattSessionStatics_Vtbl, 0x2e65b95c_539f_4db7_82a8_73bdbbf73ebf); +windows_core::imp::define_interface!(IGattSessionStatics, IGattSessionStatics_Vtbl, 0x2e65b95c_539f_4db7_82a8_73bdbbf73ebf); #[repr(C)] pub struct IGattSessionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromDeviceIdAsync: 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::com_interface!(IGattSessionStatusChangedEventArgs, IGattSessionStatusChangedEventArgs_Vtbl, 0x7605b72e_837f_404c_ab34_3163f39ddf32); +windows_core::imp::define_interface!(IGattSessionStatusChangedEventArgs, IGattSessionStatusChangedEventArgs_Vtbl, 0x7605b72e_837f_404c_ab34_3163f39ddf32); #[repr(C)] pub struct IGattSessionStatusChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::BluetoothError) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GattSessionStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattSubscribedClient, IGattSubscribedClient_Vtbl, 0x736e9001_15a4_4ec2_9248_e3f20d463be9); +windows_core::imp::define_interface!(IGattSubscribedClient, IGattSubscribedClient_Vtbl, 0x736e9001_15a4_4ec2_9248_e3f20d463be9); #[repr(C)] pub struct IGattSubscribedClient_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -734,7 +734,7 @@ pub struct IGattSubscribedClient_Vtbl { pub MaxNotificationSizeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMaxNotificationSizeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattValueChangedEventArgs, IGattValueChangedEventArgs_Vtbl, 0xd21bdb54_06e3_4ed8_a263_acfac8ba7313); +windows_core::imp::define_interface!(IGattValueChangedEventArgs, IGattValueChangedEventArgs_Vtbl, 0xd21bdb54_06e3_4ed8_a263_acfac8ba7313); #[repr(C)] pub struct IGattValueChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -744,7 +744,7 @@ pub struct IGattValueChangedEventArgs_Vtbl { CharacteristicValue: usize, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattWriteRequest, IGattWriteRequest_Vtbl, 0xaeb6a9ed_de2f_4fc2_a9a8_94ea7844f13d); +windows_core::imp::define_interface!(IGattWriteRequest, IGattWriteRequest_Vtbl, 0xaeb6a9ed_de2f_4fc2_a9a8_94ea7844f13d); #[repr(C)] pub struct IGattWriteRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -760,7 +760,7 @@ pub struct IGattWriteRequest_Vtbl { pub Respond: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RespondWithProtocolError: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattWriteRequestedEventArgs, IGattWriteRequestedEventArgs_Vtbl, 0x2dec8bbe_a73a_471a_94d5_037deadd0806); +windows_core::imp::define_interface!(IGattWriteRequestedEventArgs, IGattWriteRequestedEventArgs_Vtbl, 0x2dec8bbe_a73a_471a_94d5_037deadd0806); #[repr(C)] pub struct IGattWriteRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -768,7 +768,7 @@ pub struct IGattWriteRequestedEventArgs_Vtbl { pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGattWriteResult, IGattWriteResult_Vtbl, 0x4991ddb1_cb2b_44f7_99fc_d29a2871dc9b); +windows_core::imp::define_interface!(IGattWriteResult, IGattWriteResult_Vtbl, 0x4991ddb1_cb2b_44f7_99fc_d29a2871dc9b); #[repr(C)] pub struct IGattWriteResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 11aeeaf89e..7895c1bd34 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IRfcommDeviceService, IRfcommDeviceService_Vtbl, 0xae81ff1f_c5a1_4c40_8c28_f3efd69062f3); +windows_core::imp::define_interface!(IRfcommDeviceService, IRfcommDeviceService_Vtbl, 0xae81ff1f_c5a1_4c40_8c28_f3efd69062f3); #[repr(C)] pub struct IRfcommDeviceService_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -25,13 +25,13 @@ pub struct IRfcommDeviceService_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] GetSdpRawAttributesWithCacheModeAsync: usize, } -windows_core::imp::com_interface!(IRfcommDeviceService2, IRfcommDeviceService2_Vtbl, 0x536ced14_ebcd_49fe_bf9f_40efc689b20d); +windows_core::imp::define_interface!(IRfcommDeviceService2, IRfcommDeviceService2_Vtbl, 0x536ced14_ebcd_49fe_bf9f_40efc689b20d); #[repr(C)] pub struct IRfcommDeviceService2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Device: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRfcommDeviceService3, IRfcommDeviceService3_Vtbl, 0x1c22ace6_dd44_4d23_866d_8f3486ee6490); +windows_core::imp::define_interface!(IRfcommDeviceService3, IRfcommDeviceService3_Vtbl, 0x1c22ace6_dd44_4d23_866d_8f3486ee6490); #[repr(C)] pub struct IRfcommDeviceService3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,14 +44,14 @@ pub struct IRfcommDeviceService3_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] RequestAccessAsync: usize, } -windows_core::imp::com_interface!(IRfcommDeviceServiceStatics, IRfcommDeviceServiceStatics_Vtbl, 0xa4a149ef_626d_41ac_b253_87ac5c27e28a); +windows_core::imp::define_interface!(IRfcommDeviceServiceStatics, IRfcommDeviceServiceStatics_Vtbl, 0xa4a149ef_626d_41ac_b253_87ac5c27e28a); #[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, } -windows_core::imp::com_interface!(IRfcommDeviceServiceStatics2, IRfcommDeviceServiceStatics2_Vtbl, 0xaa8cb1c9_e78d_4be4_8076_0a3d87a0a05f); +windows_core::imp::define_interface!(IRfcommDeviceServiceStatics2, IRfcommDeviceServiceStatics2_Vtbl, 0xaa8cb1c9_e78d_4be4_8076_0a3d87a0a05f); #[repr(C)] pub struct IRfcommDeviceServiceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -60,7 +60,7 @@ pub struct IRfcommDeviceServiceStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IRfcommDeviceServicesResult, IRfcommDeviceServicesResult_Vtbl, 0x3b48388c_7ccf_488e_9625_d259a5732d55); +windows_core::imp::define_interface!(IRfcommDeviceServicesResult, IRfcommDeviceServicesResult_Vtbl, 0x3b48388c_7ccf_488e_9625_d259a5732d55); #[repr(C)] pub struct IRfcommDeviceServicesResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,7 +70,7 @@ pub struct IRfcommDeviceServicesResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Services: usize, } -windows_core::imp::com_interface!(IRfcommServiceId, IRfcommServiceId_Vtbl, 0x22629204_7e02_4017_8136_da1b6a1b9bbf); +windows_core::imp::define_interface!(IRfcommServiceId, IRfcommServiceId_Vtbl, 0x22629204_7e02_4017_8136_da1b6a1b9bbf); #[repr(C)] pub struct IRfcommServiceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -78,7 +78,7 @@ pub struct IRfcommServiceId_Vtbl { 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, } -windows_core::imp::com_interface!(IRfcommServiceIdStatics, IRfcommServiceIdStatics_Vtbl, 0x2a179eba_a975_46e3_b56b_08ffd783a5fe); +windows_core::imp::define_interface!(IRfcommServiceIdStatics, IRfcommServiceIdStatics_Vtbl, 0x2a179eba_a975_46e3_b56b_08ffd783a5fe); #[repr(C)] pub struct IRfcommServiceIdStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -91,7 +91,7 @@ pub struct IRfcommServiceIdStatics_Vtbl { pub PhoneBookAccessPse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GenericFileTransfer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRfcommServiceProvider, IRfcommServiceProvider_Vtbl, 0xeadbfdc4_b1f6_44ff_9f7c_e7a82ab86821); +windows_core::imp::define_interface!(IRfcommServiceProvider, IRfcommServiceProvider_Vtbl, 0xeadbfdc4_b1f6_44ff_9f7c_e7a82ab86821); #[repr(C)] pub struct IRfcommServiceProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -106,7 +106,7 @@ pub struct IRfcommServiceProvider_Vtbl { StartAdvertising: usize, pub StopAdvertising: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRfcommServiceProvider2, IRfcommServiceProvider2_Vtbl, 0x736bdfc6_3c81_4d1e_baf2_ddbb81284512); +windows_core::imp::define_interface!(IRfcommServiceProvider2, IRfcommServiceProvider2_Vtbl, 0x736bdfc6_3c81_4d1e_baf2_ddbb81284512); #[repr(C)] pub struct IRfcommServiceProvider2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -115,7 +115,7 @@ pub struct IRfcommServiceProvider2_Vtbl { #[cfg(not(feature = "Networking_Sockets"))] StartAdvertisingWithRadioDiscoverability: usize, } -windows_core::imp::com_interface!(IRfcommServiceProviderStatics, IRfcommServiceProviderStatics_Vtbl, 0x98888303_69ca_413a_84f7_4344c7292997); +windows_core::imp::define_interface!(IRfcommServiceProviderStatics, IRfcommServiceProviderStatics_Vtbl, 0x98888303_69ca_413a_84f7_4344c7292997); #[repr(C)] pub struct IRfcommServiceProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs index 820ce05d76..0dcd603339 100644 --- a/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Bluetooth/mod.rs @@ -6,7 +6,7 @@ pub mod Background; pub mod GenericAttributeProfile; #[cfg(feature = "Devices_Bluetooth_Rfcomm")] pub mod Rfcomm; -windows_core::imp::com_interface!(IBluetoothAdapter, IBluetoothAdapter_Vtbl, 0x7974f04c_5f7a_4a34_9225_a855f84b1a8b); +windows_core::imp::define_interface!(IBluetoothAdapter, IBluetoothAdapter_Vtbl, 0x7974f04c_5f7a_4a34_9225_a855f84b1a8b); #[repr(C)] pub struct IBluetoothAdapter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -22,21 +22,21 @@ pub struct IBluetoothAdapter_Vtbl { #[cfg(not(feature = "Devices_Radios"))] GetRadioAsync: usize, } -windows_core::imp::com_interface!(IBluetoothAdapter2, IBluetoothAdapter2_Vtbl, 0xac94cecc_24d5_41b3_916d_1097c50b102b); +windows_core::imp::define_interface!(IBluetoothAdapter2, IBluetoothAdapter2_Vtbl, 0xac94cecc_24d5_41b3_916d_1097c50b102b); #[repr(C)] pub struct IBluetoothAdapter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AreClassicSecureConnectionsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub AreLowEnergySecureConnectionsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothAdapter3, IBluetoothAdapter3_Vtbl, 0x8f8624e0_cba9_5211_9f89_3aac62b4c6b8); +windows_core::imp::define_interface!(IBluetoothAdapter3, IBluetoothAdapter3_Vtbl, 0x8f8624e0_cba9_5211_9f89_3aac62b4c6b8); #[repr(C)] pub struct IBluetoothAdapter3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsExtendedAdvertisingSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub MaxAdvertisementDataLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothAdapterStatics, IBluetoothAdapterStatics_Vtbl, 0x8b02fb6a_ac4c_4741_8661_8eab7d17ea9f); +windows_core::imp::define_interface!(IBluetoothAdapterStatics, IBluetoothAdapterStatics_Vtbl, 0x8b02fb6a_ac4c_4741_8661_8eab7d17ea9f); #[repr(C)] pub struct IBluetoothAdapterStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,7 +44,7 @@ pub struct IBluetoothAdapterStatics_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 GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothClassOfDevice, IBluetoothClassOfDevice_Vtbl, 0xd640227e_d7d7_4661_9454_65039ca17a2b); +windows_core::imp::define_interface!(IBluetoothClassOfDevice, IBluetoothClassOfDevice_Vtbl, 0xd640227e_d7d7_4661_9454_65039ca17a2b); #[repr(C)] pub struct IBluetoothClassOfDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,14 +53,14 @@ pub struct IBluetoothClassOfDevice_Vtbl { pub MinorClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BluetoothMinorClass) -> windows_core::HRESULT, pub ServiceCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BluetoothServiceCapabilities) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothClassOfDeviceStatics, IBluetoothClassOfDeviceStatics_Vtbl, 0xe46135bd_0fa2_416c_91b4_c1e48ca061c1); +windows_core::imp::define_interface!(IBluetoothClassOfDeviceStatics, IBluetoothClassOfDeviceStatics_Vtbl, 0xe46135bd_0fa2_416c_91b4_c1e48ca061c1); #[repr(C)] pub struct IBluetoothClassOfDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromRawValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FromParts: unsafe extern "system" fn(*mut core::ffi::c_void, BluetoothMajorClass, BluetoothMinorClass, BluetoothServiceCapabilities, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothDevice, IBluetoothDevice_Vtbl, 0x2335b156_90d2_4a04_aef5_0e20b9e6b707); +windows_core::imp::define_interface!(IBluetoothDevice, IBluetoothDevice_Vtbl, 0x2335b156_90d2_4a04_aef5_0e20b9e6b707); #[repr(C)] pub struct IBluetoothDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,7 +88,7 @@ pub struct IBluetoothDevice_Vtbl { 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, } -windows_core::imp::com_interface!(IBluetoothDevice2, IBluetoothDevice2_Vtbl, 0x0133f954_b156_4dd0_b1f5_c11bc31a5163); +windows_core::imp::define_interface!(IBluetoothDevice2, IBluetoothDevice2_Vtbl, 0x0133f954_b156_4dd0_b1f5_c11bc31a5163); #[repr(C)] pub struct IBluetoothDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -97,7 +97,7 @@ pub struct IBluetoothDevice2_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] DeviceInformation: usize, } -windows_core::imp::com_interface!(IBluetoothDevice3, IBluetoothDevice3_Vtbl, 0x57fff78b_651a_4454_b90f_eb21ef0b0d71); +windows_core::imp::define_interface!(IBluetoothDevice3, IBluetoothDevice3_Vtbl, 0x57fff78b_651a_4454_b90f_eb21ef0b0d71); #[repr(C)] pub struct IBluetoothDevice3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -126,19 +126,19 @@ pub struct IBluetoothDevice3_Vtbl { #[cfg(not(feature = "Devices_Bluetooth_Rfcomm"))] GetRfcommServicesForIdWithCacheModeAsync: usize, } -windows_core::imp::com_interface!(IBluetoothDevice4, IBluetoothDevice4_Vtbl, 0x817c34ad_0e9c_42b2_a8dc_3e8094940d12); +windows_core::imp::define_interface!(IBluetoothDevice4, IBluetoothDevice4_Vtbl, 0x817c34ad_0e9c_42b2_a8dc_3e8094940d12); #[repr(C)] pub struct IBluetoothDevice4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BluetoothDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothDevice5, IBluetoothDevice5_Vtbl, 0xb5e0b385_5e85_4559_a10d_1c7281379f96); +windows_core::imp::define_interface!(IBluetoothDevice5, IBluetoothDevice5_Vtbl, 0xb5e0b385_5e85_4559_a10d_1c7281379f96); #[repr(C)] pub struct IBluetoothDevice5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub WasSecureConnectionUsedForPairing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothDeviceId, IBluetoothDeviceId_Vtbl, 0xc17949af_57c1_4642_bcce_e6c06b20ae76); +windows_core::imp::define_interface!(IBluetoothDeviceId, IBluetoothDeviceId_Vtbl, 0xc17949af_57c1_4642_bcce_e6c06b20ae76); #[repr(C)] pub struct IBluetoothDeviceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -146,13 +146,13 @@ pub struct IBluetoothDeviceId_Vtbl { 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, } -windows_core::imp::com_interface!(IBluetoothDeviceIdStatics, IBluetoothDeviceIdStatics_Vtbl, 0xa7884e67_3efb_4f31_bbc2_810e09977404); +windows_core::imp::define_interface!(IBluetoothDeviceIdStatics, IBluetoothDeviceIdStatics_Vtbl, 0xa7884e67_3efb_4f31_bbc2_810e09977404); #[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, } -windows_core::imp::com_interface!(IBluetoothDeviceStatics, IBluetoothDeviceStatics_Vtbl, 0x0991df51_57db_4725_bbd7_84f64327ec2c); +windows_core::imp::define_interface!(IBluetoothDeviceStatics, IBluetoothDeviceStatics_Vtbl, 0x0991df51_57db_4725_bbd7_84f64327ec2c); #[repr(C)] pub struct IBluetoothDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -164,7 +164,7 @@ pub struct IBluetoothDeviceStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IBluetoothDeviceStatics2, IBluetoothDeviceStatics2_Vtbl, 0xc29e8e2f_4e14_4477_aa1b_b8b47e5b7ece); +windows_core::imp::define_interface!(IBluetoothDeviceStatics2, IBluetoothDeviceStatics2_Vtbl, 0xc29e8e2f_4e14_4477_aa1b_b8b47e5b7ece); #[repr(C)] pub struct IBluetoothDeviceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -174,7 +174,7 @@ pub struct IBluetoothDeviceStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IBluetoothLEAppearance, IBluetoothLEAppearance_Vtbl, 0x5d2079f2_66a8_4258_985e_02b4d9509f18); +windows_core::imp::define_interface!(IBluetoothLEAppearance, IBluetoothLEAppearance_Vtbl, 0x5d2079f2_66a8_4258_985e_02b4d9509f18); #[repr(C)] pub struct IBluetoothLEAppearance_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -182,7 +182,7 @@ pub struct IBluetoothLEAppearance_Vtbl { pub Category: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub SubCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAppearanceCategoriesStatics, IBluetoothLEAppearanceCategoriesStatics_Vtbl, 0x6d4d54fe_046a_4185_aab6_824cf0610861); +windows_core::imp::define_interface!(IBluetoothLEAppearanceCategoriesStatics, IBluetoothLEAppearanceCategoriesStatics_Vtbl, 0x6d4d54fe_046a_4185_aab6_824cf0610861); #[repr(C)] pub struct IBluetoothLEAppearanceCategoriesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -209,14 +209,14 @@ pub struct IBluetoothLEAppearanceCategoriesStatics_Vtbl { pub WeightScale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub OutdoorSportActivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAppearanceStatics, IBluetoothLEAppearanceStatics_Vtbl, 0xa193c0c7_4504_4f4a_9ba5_cd1054e5e065); +windows_core::imp::define_interface!(IBluetoothLEAppearanceStatics, IBluetoothLEAppearanceStatics_Vtbl, 0xa193c0c7_4504_4f4a_9ba5_cd1054e5e065); #[repr(C)] pub struct IBluetoothLEAppearanceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromRawValue: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FromParts: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEAppearanceSubcategoriesStatics, IBluetoothLEAppearanceSubcategoriesStatics_Vtbl, 0xe57ba606_2144_415a_8312_71ccf291f8d1); +windows_core::imp::define_interface!(IBluetoothLEAppearanceSubcategoriesStatics, IBluetoothLEAppearanceSubcategoriesStatics_Vtbl, 0xe57ba606_2144_415a_8312_71ccf291f8d1); #[repr(C)] pub struct IBluetoothLEAppearanceSubcategoriesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -249,7 +249,7 @@ pub struct IBluetoothLEAppearanceSubcategoriesStatics_Vtbl { pub LocationPod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub LocationNavigationPod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEConnectionParameters, IBluetoothLEConnectionParameters_Vtbl, 0x33cb0771_8da9_508f_a366_1ca388c929ab); +windows_core::imp::define_interface!(IBluetoothLEConnectionParameters, IBluetoothLEConnectionParameters_Vtbl, 0x33cb0771_8da9_508f_a366_1ca388c929ab); #[repr(C)] pub struct IBluetoothLEConnectionParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -257,14 +257,14 @@ pub struct IBluetoothLEConnectionParameters_Vtbl { pub ConnectionLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub ConnectionInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEConnectionPhy, IBluetoothLEConnectionPhy_Vtbl, 0x781e5e48_621e_5a7e_8be6_1b9561ff63c9); +windows_core::imp::define_interface!(IBluetoothLEConnectionPhy, IBluetoothLEConnectionPhy_Vtbl, 0x781e5e48_621e_5a7e_8be6_1b9561ff63c9); #[repr(C)] pub struct IBluetoothLEConnectionPhy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TransmitInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReceiveInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEConnectionPhyInfo, IBluetoothLEConnectionPhyInfo_Vtbl, 0x9a100bdd_602e_5c27_a1ae_b230015a6394); +windows_core::imp::define_interface!(IBluetoothLEConnectionPhyInfo, IBluetoothLEConnectionPhyInfo_Vtbl, 0x9a100bdd_602e_5c27_a1ae_b230015a6394); #[repr(C)] pub struct IBluetoothLEConnectionPhyInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -272,7 +272,7 @@ pub struct IBluetoothLEConnectionPhyInfo_Vtbl { pub IsUncoded2MPhy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsCodedPhy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEDevice, IBluetoothLEDevice_Vtbl, 0xb5ee2f7b_4ad8_4642_ac48_80a0b500e887); +windows_core::imp::define_interface!(IBluetoothLEDevice, IBluetoothLEDevice_Vtbl, 0xb5ee2f7b_4ad8_4642_ac48_80a0b500e887); #[repr(C)] pub struct IBluetoothLEDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -295,7 +295,7 @@ pub struct IBluetoothLEDevice_Vtbl { 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, } -windows_core::imp::com_interface!(IBluetoothLEDevice2, IBluetoothLEDevice2_Vtbl, 0x26f062b3_7aee_4d31_baba_b1b9775f5916); +windows_core::imp::define_interface!(IBluetoothLEDevice2, IBluetoothLEDevice2_Vtbl, 0x26f062b3_7aee_4d31_baba_b1b9775f5916); #[repr(C)] pub struct IBluetoothLEDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -306,7 +306,7 @@ pub struct IBluetoothLEDevice2_Vtbl { pub Appearance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BluetoothAddressType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BluetoothAddressType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEDevice3, IBluetoothLEDevice3_Vtbl, 0xaee9e493_44ac_40dc_af33_b2c13c01ca46); +windows_core::imp::define_interface!(IBluetoothLEDevice3, IBluetoothLEDevice3_Vtbl, 0xaee9e493_44ac_40dc_af33_b2c13c01ca46); #[repr(C)] pub struct IBluetoothLEDevice3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -335,19 +335,19 @@ pub struct IBluetoothLEDevice3_Vtbl { #[cfg(not(feature = "Devices_Bluetooth_GenericAttributeProfile"))] GetGattServicesForUuidWithCacheModeAsync: usize, } -windows_core::imp::com_interface!(IBluetoothLEDevice4, IBluetoothLEDevice4_Vtbl, 0x2b605031_2248_4b2f_acf0_7cee36fc5870); +windows_core::imp::define_interface!(IBluetoothLEDevice4, IBluetoothLEDevice4_Vtbl, 0x2b605031_2248_4b2f_acf0_7cee36fc5870); #[repr(C)] pub struct IBluetoothLEDevice4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BluetoothDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEDevice5, IBluetoothLEDevice5_Vtbl, 0x9d6a1260_5287_458e_95ba_17c8b7bb326e); +windows_core::imp::define_interface!(IBluetoothLEDevice5, IBluetoothLEDevice5_Vtbl, 0x9d6a1260_5287_458e_95ba_17c8b7bb326e); #[repr(C)] pub struct IBluetoothLEDevice5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub WasSecureConnectionUsedForPairing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEDevice6, IBluetoothLEDevice6_Vtbl, 0xca7190ef_0cae_573c_a1ca_e1fc5bfc39e2); +windows_core::imp::define_interface!(IBluetoothLEDevice6, IBluetoothLEDevice6_Vtbl, 0xca7190ef_0cae_573c_a1ca_e1fc5bfc39e2); #[repr(C)] pub struct IBluetoothLEDevice6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -359,7 +359,7 @@ pub struct IBluetoothLEDevice6_Vtbl { pub ConnectionPhyChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveConnectionPhyChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEDeviceStatics, IBluetoothLEDeviceStatics_Vtbl, 0xc8cf1a19_f0b6_4bf0_8689_41303de2d9f4); +windows_core::imp::define_interface!(IBluetoothLEDeviceStatics, IBluetoothLEDeviceStatics_Vtbl, 0xc8cf1a19_f0b6_4bf0_8689_41303de2d9f4); #[repr(C)] pub struct IBluetoothLEDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -367,7 +367,7 @@ pub struct IBluetoothLEDeviceStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IBluetoothLEDeviceStatics2, IBluetoothLEDeviceStatics2_Vtbl, 0x5f12c06b_3bac_43e8_ad16_563271bd41c2); +windows_core::imp::define_interface!(IBluetoothLEDeviceStatics2, IBluetoothLEDeviceStatics2_Vtbl, 0x5f12c06b_3bac_43e8_ad16_563271bd41c2); #[repr(C)] pub struct IBluetoothLEDeviceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -379,7 +379,7 @@ pub struct IBluetoothLEDeviceStatics2_Vtbl { pub GetDeviceSelectorFromAppearance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut std::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::com_interface!(IBluetoothLEPreferredConnectionParameters, IBluetoothLEPreferredConnectionParameters_Vtbl, 0xf2f44344_7372_5f7b_9b34_29c944f5a715); +windows_core::imp::define_interface!(IBluetoothLEPreferredConnectionParameters, IBluetoothLEPreferredConnectionParameters_Vtbl, 0xf2f44344_7372_5f7b_9b34_29c944f5a715); #[repr(C)] pub struct IBluetoothLEPreferredConnectionParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -388,13 +388,13 @@ pub struct IBluetoothLEPreferredConnectionParameters_Vtbl { pub MinConnectionInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub MaxConnectionInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEPreferredConnectionParametersRequest, IBluetoothLEPreferredConnectionParametersRequest_Vtbl, 0x8a375276_a528_5266_b661_cce6a5ff9739); +windows_core::imp::define_interface!(IBluetoothLEPreferredConnectionParametersRequest, IBluetoothLEPreferredConnectionParametersRequest_Vtbl, 0x8a375276_a528_5266_b661_cce6a5ff9739); #[repr(C)] pub struct IBluetoothLEPreferredConnectionParametersRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BluetoothLEPreferredConnectionParametersRequestStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothLEPreferredConnectionParametersStatics, IBluetoothLEPreferredConnectionParametersStatics_Vtbl, 0x0e3e8edc_2751_55aa_a838_8faeee818d72); +windows_core::imp::define_interface!(IBluetoothLEPreferredConnectionParametersStatics, IBluetoothLEPreferredConnectionParametersStatics_Vtbl, 0x0e3e8edc_2751_55aa_a838_8faeee818d72); #[repr(C)] pub struct IBluetoothLEPreferredConnectionParametersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -402,7 +402,7 @@ pub struct IBluetoothLEPreferredConnectionParametersStatics_Vtbl { pub ThroughputOptimized: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PowerOptimized: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothSignalStrengthFilter, IBluetoothSignalStrengthFilter_Vtbl, 0xdf7b7391_6bb5_4cfe_90b1_5d7324edcf7f); +windows_core::imp::define_interface!(IBluetoothSignalStrengthFilter, IBluetoothSignalStrengthFilter_Vtbl, 0xdf7b7391_6bb5_4cfe_90b1_5d7324edcf7f); #[repr(C)] pub struct IBluetoothSignalStrengthFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -415,7 +415,7 @@ pub struct IBluetoothSignalStrengthFilter_Vtbl { pub SamplingInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSamplingInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBluetoothUuidHelperStatics, IBluetoothUuidHelperStatics_Vtbl, 0x17df0cd8_cf74_4b21_afe6_f57a11bcdea0); +windows_core::imp::define_interface!(IBluetoothUuidHelperStatics, IBluetoothUuidHelperStatics_Vtbl, 0x17df0cd8_cf74_4b21_afe6_f57a11bcdea0); #[repr(C)] pub struct IBluetoothUuidHelperStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs index ca41c4c6bd..61f9208352 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICustomDevice, ICustomDevice_Vtbl, 0xdd30251f_c48b_43bd_bcb1_dec88f15143e); +windows_core::imp::define_interface!(ICustomDevice, ICustomDevice_Vtbl, 0xdd30251f_c48b_43bd_bcb1_dec88f15143e); #[repr(C)] pub struct ICustomDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,14 +19,14 @@ pub struct ICustomDevice_Vtbl { #[cfg(not(feature = "Storage_Streams"))] TrySendIOControlAsync: usize, } -windows_core::imp::com_interface!(ICustomDeviceStatics, ICustomDeviceStatics_Vtbl, 0xc8220312_ef4c_46b1_a58e_eeb308dc8917); +windows_core::imp::define_interface!(ICustomDeviceStatics, ICustomDeviceStatics_Vtbl, 0xc8220312_ef4c_46b1_a58e_eeb308dc8917); #[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, } -windows_core::imp::com_interface!(IIOControlCode, IIOControlCode_Vtbl, 0x0e9559e7_60c8_4375_a761_7f8808066c60); +windows_core::imp::define_interface!(IIOControlCode, IIOControlCode_Vtbl, 0x0e9559e7_60c8_4375_a761_7f8808066c60); windows_core::imp::interface_hierarchy!(IIOControlCode, windows_core::IUnknown, windows_core::IInspectable); impl IIOControlCode { pub fn AccessMode(&self) -> windows_core::Result { @@ -77,13 +77,13 @@ pub struct IIOControlCode_Vtbl { pub DeviceType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub ControlCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIOControlCodeFactory, IIOControlCodeFactory_Vtbl, 0x856a7cf0_4c11_44ae_afc6_b8d4a212788f); +windows_core::imp::define_interface!(IIOControlCodeFactory, IIOControlCodeFactory_Vtbl, 0x856a7cf0_4c11_44ae_afc6_b8d4a212788f); #[repr(C)] pub struct IIOControlCodeFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateIOControlCode: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, IOControlAccessMode, IOControlBufferingMethod, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownDeviceTypesStatics, IKnownDeviceTypesStatics_Vtbl, 0xee5479c2_5448_45da_ad1b_24948c239094); +windows_core::imp::define_interface!(IKnownDeviceTypesStatics, IKnownDeviceTypesStatics_Vtbl, 0xee5479c2_5448_45da_ad1b_24948c239094); #[repr(C)] pub struct IKnownDeviceTypesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 114db02648..7009ee084d 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDisplayAdapter, IDisplayAdapter_Vtbl, 0xa56f5287_f000_5f2e_b5ac_3783a2b69af5); +windows_core::imp::define_interface!(IDisplayAdapter, IDisplayAdapter_Vtbl, 0xa56f5287_f000_5f2e_b5ac_3783a2b69af5); #[repr(C)] pub struct IDisplayAdapter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,7 +17,7 @@ pub struct IDisplayAdapter_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IDisplayAdapterStatics, IDisplayAdapterStatics_Vtbl, 0x1dac3cda_481f_5469_8470_82c4ba680a28); +windows_core::imp::define_interface!(IDisplayAdapterStatics, IDisplayAdapterStatics_Vtbl, 0x1dac3cda_481f_5469_8470_82c4ba680a28); #[repr(C)] pub struct IDisplayAdapterStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct IDisplayAdapterStatics_Vtbl { #[cfg(not(feature = "Graphics"))] FromId: usize, } -windows_core::imp::com_interface!(IDisplayDevice, IDisplayDevice_Vtbl, 0xa4c9b62c_335f_5731_8cb4_c1ccd4731070); +windows_core::imp::define_interface!(IDisplayDevice, IDisplayDevice_Vtbl, 0xa4c9b62c_335f_5731_8cb4_c1ccd4731070); #[repr(C)] pub struct IDisplayDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,7 +38,7 @@ pub struct IDisplayDevice_Vtbl { pub CreateSimpleScanout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsCapabilitySupported: unsafe extern "system" fn(*mut core::ffi::c_void, DisplayDeviceCapability, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayDevice2, IDisplayDevice2_Vtbl, 0x3fefe50c_0940_54bd_a02f_f9c7a536ad60); +windows_core::imp::define_interface!(IDisplayDevice2, IDisplayDevice2_Vtbl, 0x3fefe50c_0940_54bd_a02f_f9c7a536ad60); #[repr(C)] pub struct IDisplayDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -47,12 +47,12 @@ pub struct IDisplayDevice2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics")))] CreateSimpleScanoutWithDirtyRectsAndOptions: usize, } -windows_core::imp::com_interface!(IDisplayFence, IDisplayFence_Vtbl, 0x04dcf9ef_3406_5700_8fec_77eba4c5a74b); +windows_core::imp::define_interface!(IDisplayFence, IDisplayFence_Vtbl, 0x04dcf9ef_3406_5700_8fec_77eba4c5a74b); #[repr(C)] pub struct IDisplayFence_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IDisplayManager, IDisplayManager_Vtbl, 0x4ed9245b_15ec_56e2_9072_7fe5084a31a7); +windows_core::imp::define_interface!(IDisplayManager, IDisplayManager_Vtbl, 0x4ed9245b_15ec_56e2_9072_7fe5084a31a7); #[repr(C)] pub struct IDisplayManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -91,7 +91,7 @@ pub struct IDisplayManager_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IDisplayManagerChangedEventArgs, IDisplayManagerChangedEventArgs_Vtbl, 0x6abfa285_6cca_5731_bcdc_42e5d2f5c50f); +windows_core::imp::define_interface!(IDisplayManagerChangedEventArgs, IDisplayManagerChangedEventArgs_Vtbl, 0x6abfa285_6cca_5731_bcdc_42e5d2f5c50f); #[repr(C)] pub struct IDisplayManagerChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -99,7 +99,7 @@ pub struct IDisplayManagerChangedEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(IDisplayManagerDisabledEventArgs, IDisplayManagerDisabledEventArgs_Vtbl, 0x8726dde4_6793_5973_a11f_5ffbc93fdb90); +windows_core::imp::define_interface!(IDisplayManagerDisabledEventArgs, IDisplayManagerDisabledEventArgs_Vtbl, 0x8726dde4_6793_5973_a11f_5ffbc93fdb90); #[repr(C)] pub struct IDisplayManagerDisabledEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -107,7 +107,7 @@ pub struct IDisplayManagerDisabledEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(IDisplayManagerEnabledEventArgs, IDisplayManagerEnabledEventArgs_Vtbl, 0xf0cf3f6f_42fa_59a2_b297_26e1713de848); +windows_core::imp::define_interface!(IDisplayManagerEnabledEventArgs, IDisplayManagerEnabledEventArgs_Vtbl, 0xf0cf3f6f_42fa_59a2_b297_26e1713de848); #[repr(C)] pub struct IDisplayManagerEnabledEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -115,7 +115,7 @@ pub struct IDisplayManagerEnabledEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(IDisplayManagerPathsFailedOrInvalidatedEventArgs, IDisplayManagerPathsFailedOrInvalidatedEventArgs_Vtbl, 0x03a65659_1dec_5c15_b2a2_8fe9129869fe); +windows_core::imp::define_interface!(IDisplayManagerPathsFailedOrInvalidatedEventArgs, IDisplayManagerPathsFailedOrInvalidatedEventArgs_Vtbl, 0x03a65659_1dec_5c15_b2a2_8fe9129869fe); #[repr(C)] pub struct IDisplayManagerPathsFailedOrInvalidatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -123,7 +123,7 @@ pub struct IDisplayManagerPathsFailedOrInvalidatedEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(IDisplayManagerResultWithState, IDisplayManagerResultWithState_Vtbl, 0x8e656aa6_6614_54be_bfef_4994547f7be1); +windows_core::imp::define_interface!(IDisplayManagerResultWithState, IDisplayManagerResultWithState_Vtbl, 0x8e656aa6_6614_54be_bfef_4994547f7be1); #[repr(C)] pub struct IDisplayManagerResultWithState_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -131,13 +131,13 @@ pub struct IDisplayManagerResultWithState_Vtbl { pub ExtendedErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayManagerStatics, IDisplayManagerStatics_Vtbl, 0x2b6b9446_b999_5535_9d69_53f092c780a1); +windows_core::imp::define_interface!(IDisplayManagerStatics, IDisplayManagerStatics_Vtbl, 0x2b6b9446_b999_5535_9d69_53f092c780a1); #[repr(C)] pub struct IDisplayManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, DisplayManagerOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayModeInfo, IDisplayModeInfo_Vtbl, 0x48d513a0_f79b_5a74_a05e_da821f470868); +windows_core::imp::define_interface!(IDisplayModeInfo, IDisplayModeInfo_Vtbl, 0x48d513a0_f79b_5a74_a05e_da821f470868); #[repr(C)] pub struct IDisplayModeInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -166,7 +166,7 @@ pub struct IDisplayModeInfo_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IDisplayModeInfo2, IDisplayModeInfo2_Vtbl, 0xc86fa386_0ddb_5473_bfb0_4b7807b5f909); +windows_core::imp::define_interface!(IDisplayModeInfo2, IDisplayModeInfo2_Vtbl, 0xc86fa386_0ddb_5473_bfb0_4b7807b5f909); #[repr(C)] pub struct IDisplayModeInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -175,7 +175,7 @@ pub struct IDisplayModeInfo2_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] PhysicalPresentationRate: usize, } -windows_core::imp::com_interface!(IDisplayPath, IDisplayPath_Vtbl, 0xb3dfd64a_7460_5cde_811b_d5ae9f3d9f84); +windows_core::imp::define_interface!(IDisplayPath, IDisplayPath_Vtbl, 0xb3dfd64a_7460_5cde_811b_d5ae9f3d9f84); #[repr(C)] pub struct IDisplayPath_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -234,7 +234,7 @@ pub struct IDisplayPath_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IDisplayPath2, IDisplayPath2_Vtbl, 0xf32459c5_e994_570b_9ec8_ef42c35a8547); +windows_core::imp::define_interface!(IDisplayPath2, IDisplayPath2_Vtbl, 0xf32459c5_e994_570b_9ec8_ef42c35a8547); #[repr(C)] pub struct IDisplayPath2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -247,7 +247,7 @@ pub struct IDisplayPath2_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetPhysicalPresentationRate: usize, } -windows_core::imp::com_interface!(IDisplayPrimaryDescription, IDisplayPrimaryDescription_Vtbl, 0x872591d2_d533_50ff_a85e_06696194b77c); +windows_core::imp::define_interface!(IDisplayPrimaryDescription, IDisplayPrimaryDescription_Vtbl, 0x872591d2_d533_50ff_a85e_06696194b77c); #[repr(C)] pub struct IDisplayPrimaryDescription_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -271,7 +271,7 @@ pub struct IDisplayPrimaryDescription_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IDisplayPrimaryDescriptionFactory, IDisplayPrimaryDescriptionFactory_Vtbl, 0x1a6aff7b_3637_5c46_b479_76d576216e65); +windows_core::imp::define_interface!(IDisplayPrimaryDescriptionFactory, IDisplayPrimaryDescriptionFactory_Vtbl, 0x1a6aff7b_3637_5c46_b479_76d576216e65); #[repr(C)] pub struct IDisplayPrimaryDescriptionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -280,7 +280,7 @@ pub struct IDisplayPrimaryDescriptionFactory_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] CreateInstance: usize, } -windows_core::imp::com_interface!(IDisplayPrimaryDescriptionStatics, IDisplayPrimaryDescriptionStatics_Vtbl, 0xe60e4cfb_36c9_56dd_8fa1_6ff8c4e0ff07); +windows_core::imp::define_interface!(IDisplayPrimaryDescriptionStatics, IDisplayPrimaryDescriptionStatics_Vtbl, 0xe60e4cfb_36c9_56dd_8fa1_6ff8c4e0ff07); #[repr(C)] pub struct IDisplayPrimaryDescriptionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -289,12 +289,12 @@ pub struct IDisplayPrimaryDescriptionStatics_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_DirectX_Direct3D11")))] CreateWithProperties: usize, } -windows_core::imp::com_interface!(IDisplayScanout, IDisplayScanout_Vtbl, 0xe3051828_1ba5_50e7_8a39_bb1fd2f4f8b9); +windows_core::imp::define_interface!(IDisplayScanout, IDisplayScanout_Vtbl, 0xe3051828_1ba5_50e7_8a39_bb1fd2f4f8b9); #[repr(C)] pub struct IDisplayScanout_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IDisplaySource, IDisplaySource_Vtbl, 0xecd15fc1_eadc_51bc_971d_3bc628db2dd4); +windows_core::imp::define_interface!(IDisplaySource, IDisplaySource_Vtbl, 0xecd15fc1_eadc_51bc_971d_3bc628db2dd4); #[repr(C)] pub struct IDisplaySource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -308,7 +308,7 @@ pub struct IDisplaySource_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetMetadata: usize, } -windows_core::imp::com_interface!(IDisplaySource2, IDisplaySource2_Vtbl, 0x71e18952_b321_5af4_bfe8_03fbea31e40d); +windows_core::imp::define_interface!(IDisplaySource2, IDisplaySource2_Vtbl, 0x71e18952_b321_5af4_bfe8_03fbea31e40d); #[repr(C)] pub struct IDisplaySource2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -316,7 +316,7 @@ pub struct IDisplaySource2_Vtbl { 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, pub RemoveStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayState, IDisplayState_Vtbl, 0x08129321_11b5_5cb2_99f8_e90b479a8a1d); +windows_core::imp::define_interface!(IDisplayState, IDisplayState_Vtbl, 0x08129321_11b5_5cb2_99f8_e90b479a8a1d); #[repr(C)] pub struct IDisplayState_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -344,19 +344,19 @@ pub struct IDisplayState_Vtbl { pub TryApply: unsafe extern "system" fn(*mut core::ffi::c_void, DisplayStateApplyOptions, *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, } -windows_core::imp::com_interface!(IDisplayStateOperationResult, IDisplayStateOperationResult_Vtbl, 0xfcadbfdf_dc27_5638_b7f2_ebdfa4f7ea93); +windows_core::imp::define_interface!(IDisplayStateOperationResult, IDisplayStateOperationResult_Vtbl, 0xfcadbfdf_dc27_5638_b7f2_ebdfa4f7ea93); #[repr(C)] pub struct IDisplayStateOperationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DisplayStateOperationStatus) -> windows_core::HRESULT, pub ExtendedErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplaySurface, IDisplaySurface_Vtbl, 0x594f6cc6_139a_56d6_a4b1_15fe2cb76adb); +windows_core::imp::define_interface!(IDisplaySurface, IDisplaySurface_Vtbl, 0x594f6cc6_139a_56d6_a4b1_15fe2cb76adb); #[repr(C)] pub struct IDisplaySurface_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IDisplayTarget, IDisplayTarget_Vtbl, 0xaec57c6f_47b4_546b_987c_e73fa791fe3a); +windows_core::imp::define_interface!(IDisplayTarget, IDisplayTarget_Vtbl, 0xaec57c6f_47b4_546b_987c_e73fa791fe3a); #[repr(C)] pub struct IDisplayTarget_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -378,20 +378,20 @@ pub struct IDisplayTarget_Vtbl { pub IsSame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsEqual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayTask, IDisplayTask_Vtbl, 0x5e087448_135b_5bb0_bf63_637f84227c7a); +windows_core::imp::define_interface!(IDisplayTask, IDisplayTask_Vtbl, 0x5e087448_135b_5bb0_bf63_637f84227c7a); #[repr(C)] pub struct IDisplayTask_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetScanout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetWait: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayTask2, IDisplayTask2_Vtbl, 0x0957ea19_bd55_55de_9267_c97b61e71c37); +windows_core::imp::define_interface!(IDisplayTask2, IDisplayTask2_Vtbl, 0x0957ea19_bd55_55de_9267_c97b61e71c37); #[repr(C)] pub struct IDisplayTask2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetSignal: unsafe extern "system" fn(*mut core::ffi::c_void, DisplayTaskSignalKind, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayTaskPool, IDisplayTaskPool_Vtbl, 0xc676253d_237d_5548_aafa_3e517fefef1c); +windows_core::imp::define_interface!(IDisplayTaskPool, IDisplayTaskPool_Vtbl, 0xc676253d_237d_5548_aafa_3e517fefef1c); #[repr(C)] pub struct IDisplayTaskPool_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -401,13 +401,13 @@ pub struct IDisplayTaskPool_Vtbl { #[cfg(not(feature = "deprecated"))] ExecuteTask: usize, } -windows_core::imp::com_interface!(IDisplayTaskPool2, IDisplayTaskPool2_Vtbl, 0x46b879b6_5d17_5955_a872_eb38003db586); +windows_core::imp::define_interface!(IDisplayTaskPool2, IDisplayTaskPool2_Vtbl, 0x46b879b6_5d17_5955_a872_eb38003db586); #[repr(C)] pub struct IDisplayTaskPool2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryExecuteTask: 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::com_interface!(IDisplayTaskResult, IDisplayTaskResult_Vtbl, 0x6fbc7d67_f9b1_55e0_9d88_d3a5197a3f59); +windows_core::imp::define_interface!(IDisplayTaskResult, IDisplayTaskResult_Vtbl, 0x6fbc7d67_f9b1_55e0_9d88_d3a5197a3f59); #[repr(C)] pub struct IDisplayTaskResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -415,7 +415,7 @@ pub struct IDisplayTaskResult_Vtbl { pub PresentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub SourceStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DisplaySourceStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayView, IDisplayView_Vtbl, 0xb0c98ca1_b759_5b59_b1ad_f0786aa9e53d); +windows_core::imp::define_interface!(IDisplayView, IDisplayView_Vtbl, 0xb0c98ca1_b759_5b59_b1ad_f0786aa9e53d); #[repr(C)] pub struct IDisplayView_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -437,7 +437,7 @@ pub struct IDisplayView_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IDisplayWireFormat, IDisplayWireFormat_Vtbl, 0x1acc967d_872c_5a38_bbb9_1d4872b76255); +windows_core::imp::define_interface!(IDisplayWireFormat, IDisplayWireFormat_Vtbl, 0x1acc967d_872c_5a38_bbb9_1d4872b76255); #[repr(C)] pub struct IDisplayWireFormat_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -451,13 +451,13 @@ pub struct IDisplayWireFormat_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IDisplayWireFormatFactory, IDisplayWireFormatFactory_Vtbl, 0xb2efc8d5_09d6_55e6_ad22_9014b3d25229); +windows_core::imp::define_interface!(IDisplayWireFormatFactory, IDisplayWireFormatFactory_Vtbl, 0xb2efc8d5_09d6_55e6_ad22_9014b3d25229); #[repr(C)] pub struct IDisplayWireFormatFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, DisplayWireFormatPixelEncoding, i32, DisplayWireFormatColorSpace, DisplayWireFormatEotf, DisplayWireFormatHdrMetadata, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayWireFormatStatics, IDisplayWireFormatStatics_Vtbl, 0xc575a22d_c3e6_5f7a_bdfb_87c6ab8661d5); +windows_core::imp::define_interface!(IDisplayWireFormatStatics, IDisplayWireFormatStatics_Vtbl, 0xc575a22d_c3e6_5f7a_bdfb_87c6ab8661d5); #[repr(C)] pub struct IDisplayWireFormatStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Display/mod.rs b/crates/libs/windows/src/Windows/Devices/Display/mod.rs index 1c3c1d568e..1c46ee46bc 100644 --- a/crates/libs/windows/src/Windows/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Display/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Devices_Display_Core")] pub mod Core; -windows_core::imp::com_interface!(IDisplayMonitor, IDisplayMonitor_Vtbl, 0x1f6b15d4_1d01_4c51_87e2_6f954a772b59); +windows_core::imp::define_interface!(IDisplayMonitor, IDisplayMonitor_Vtbl, 0x1f6b15d4_1d01_4c51_87e2_6f954a772b59); #[repr(C)] pub struct IDisplayMonitor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -31,13 +31,13 @@ pub struct IDisplayMonitor_Vtbl { pub MaxAverageFullFrameLuminanceInNits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub GetDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, DisplayMonitorDescriptorKind, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayMonitor2, IDisplayMonitor2_Vtbl, 0x023018e6_cb23_5830_96df_a7bf6e602577); +windows_core::imp::define_interface!(IDisplayMonitor2, IDisplayMonitor2_Vtbl, 0x023018e6_cb23_5830_96df_a7bf6e602577); #[repr(C)] pub struct IDisplayMonitor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsDolbyVisionSupportedInHdrMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayMonitorStatics, IDisplayMonitorStatics_Vtbl, 0x6eae698f_a228_4c05_821d_b695d667de8e); +windows_core::imp::define_interface!(IDisplayMonitorStatics, IDisplayMonitorStatics_Vtbl, 0x6eae698f_a228_4c05_821d_b695d667de8e); #[repr(C)] pub struct IDisplayMonitorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 46db05f707..27911a3d67 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/Pnp/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPnpObject, IPnpObject_Vtbl, 0x95c66258_733b_4a8f_93a3_db078ac870c1); +windows_core::imp::define_interface!(IPnpObject, IPnpObject_Vtbl, 0x95c66258_733b_4a8f_93a3_db078ac870c1); #[repr(C)] pub struct IPnpObject_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -10,7 +10,7 @@ pub struct IPnpObject_Vtbl { Properties: usize, pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPnpObjectStatics, IPnpObjectStatics_Vtbl, 0xb3c32a3d_d168_4660_bbf3_a733b14b6e01); +windows_core::imp::define_interface!(IPnpObjectStatics, IPnpObjectStatics_Vtbl, 0xb3c32a3d_d168_4660_bbf3_a733b14b6e01); #[repr(C)] pub struct IPnpObjectStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,7 +35,7 @@ pub struct IPnpObjectStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWatcherAqsFilter: usize, } -windows_core::imp::com_interface!(IPnpObjectUpdate, IPnpObjectUpdate_Vtbl, 0x6f59e812_001e_4844_bcc6_432886856a17); +windows_core::imp::define_interface!(IPnpObjectUpdate, IPnpObjectUpdate_Vtbl, 0x6f59e812_001e_4844_bcc6_432886856a17); #[repr(C)] pub struct IPnpObjectUpdate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -46,7 +46,7 @@ pub struct IPnpObjectUpdate_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IPnpObjectWatcher, IPnpObjectWatcher_Vtbl, 0x83c95ca8_4772_4a7a_aca8_e48c42a89c44); +windows_core::imp::define_interface!(IPnpObjectWatcher, IPnpObjectWatcher_Vtbl, 0x83c95ca8_4772_4a7a_aca8_e48c42a89c44); #[repr(C)] pub struct IPnpObjectWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs index dbf0403997..babcdac1b1 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/mod.rs @@ -1,18 +1,18 @@ #[cfg(feature = "Devices_Enumeration_Pnp")] pub mod Pnp; -windows_core::imp::com_interface!(IDeviceAccessChangedEventArgs, IDeviceAccessChangedEventArgs_Vtbl, 0xdeda0bcc_4f9d_4f58_9dba_a9bc800408d5); +windows_core::imp::define_interface!(IDeviceAccessChangedEventArgs, IDeviceAccessChangedEventArgs_Vtbl, 0xdeda0bcc_4f9d_4f58_9dba_a9bc800408d5); #[repr(C)] pub struct IDeviceAccessChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeviceAccessStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceAccessChangedEventArgs2, IDeviceAccessChangedEventArgs2_Vtbl, 0x82523262_934b_4b30_a178_adc39f2f2be3); +windows_core::imp::define_interface!(IDeviceAccessChangedEventArgs2, IDeviceAccessChangedEventArgs2_Vtbl, 0x82523262_934b_4b30_a178_adc39f2f2be3); #[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, } -windows_core::imp::com_interface!(IDeviceAccessInformation, IDeviceAccessInformation_Vtbl, 0x0baa9a73_6de5_4915_8ddd_9a0554a6f545); +windows_core::imp::define_interface!(IDeviceAccessInformation, IDeviceAccessInformation_Vtbl, 0x0baa9a73_6de5_4915_8ddd_9a0554a6f545); #[repr(C)] pub struct IDeviceAccessInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,7 +20,7 @@ pub struct IDeviceAccessInformation_Vtbl { pub RemoveAccessChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub CurrentStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeviceAccessStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceAccessInformationStatics, IDeviceAccessInformationStatics_Vtbl, 0x574bd3d3_5f30_45cd_8a94_724fe5973084); +windows_core::imp::define_interface!(IDeviceAccessInformationStatics, IDeviceAccessInformationStatics_Vtbl, 0x574bd3d3_5f30_45cd_8a94_724fe5973084); #[repr(C)] pub struct IDeviceAccessInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -28,19 +28,19 @@ pub struct IDeviceAccessInformationStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IDeviceConnectionChangeTriggerDetails, IDeviceConnectionChangeTriggerDetails_Vtbl, 0xb8578c0c_bbc1_484b_bffa_7b31dcc200b2); +windows_core::imp::define_interface!(IDeviceConnectionChangeTriggerDetails, IDeviceConnectionChangeTriggerDetails_Vtbl, 0xb8578c0c_bbc1_484b_bffa_7b31dcc200b2); #[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, } -windows_core::imp::com_interface!(IDeviceDisconnectButtonClickedEventArgs, IDeviceDisconnectButtonClickedEventArgs_Vtbl, 0x8e44b56d_f902_4a00_b536_f37992e6a2a7); +windows_core::imp::define_interface!(IDeviceDisconnectButtonClickedEventArgs, IDeviceDisconnectButtonClickedEventArgs_Vtbl, 0x8e44b56d_f902_4a00_b536_f37992e6a2a7); #[repr(C)] pub struct IDeviceDisconnectButtonClickedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Device: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceInformation, IDeviceInformation_Vtbl, 0xaba0fb95_4398_489d_8e44_e6130927011f); +windows_core::imp::define_interface!(IDeviceInformation, IDeviceInformation_Vtbl, 0xaba0fb95_4398_489d_8e44_e6130927011f); #[repr(C)] pub struct IDeviceInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -63,14 +63,14 @@ pub struct IDeviceInformation_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetGlyphThumbnailAsync: usize, } -windows_core::imp::com_interface!(IDeviceInformation2, IDeviceInformation2_Vtbl, 0xf156a638_7997_48d9_a10c_269d46533f48); +windows_core::imp::define_interface!(IDeviceInformation2, IDeviceInformation2_Vtbl, 0xf156a638_7997_48d9_a10c_269d46533f48); #[repr(C)] pub struct IDeviceInformation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeviceInformationKind) -> windows_core::HRESULT, pub Pairing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceInformationCustomPairing, IDeviceInformationCustomPairing_Vtbl, 0x85138c02_4ee6_4914_8370_107a39144c0e); +windows_core::imp::define_interface!(IDeviceInformationCustomPairing, IDeviceInformationCustomPairing_Vtbl, 0x85138c02_4ee6_4914_8370_107a39144c0e); #[repr(C)] pub struct IDeviceInformationCustomPairing_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -80,7 +80,7 @@ pub struct IDeviceInformationCustomPairing_Vtbl { pub PairingRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePairingRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceInformationPairing, IDeviceInformationPairing_Vtbl, 0x2c4769f5_f684_40d5_8469_e8dbaab70485); +windows_core::imp::define_interface!(IDeviceInformationPairing, IDeviceInformationPairing_Vtbl, 0x2c4769f5_f684_40d5_8469_e8dbaab70485); #[repr(C)] pub struct IDeviceInformationPairing_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,7 +89,7 @@ pub struct IDeviceInformationPairing_Vtbl { pub PairAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PairWithProtectionLevelAsync: unsafe extern "system" fn(*mut core::ffi::c_void, DevicePairingProtectionLevel, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceInformationPairing2, IDeviceInformationPairing2_Vtbl, 0xf68612fd_0aee_4328_85cc_1c742bb1790d); +windows_core::imp::define_interface!(IDeviceInformationPairing2, IDeviceInformationPairing2_Vtbl, 0xf68612fd_0aee_4328_85cc_1c742bb1790d); #[repr(C)] pub struct IDeviceInformationPairing2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -98,19 +98,19 @@ pub struct IDeviceInformationPairing2_Vtbl { pub PairWithProtectionLevelAndSettingsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, DevicePairingProtectionLevel, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnpairAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceInformationPairingStatics, IDeviceInformationPairingStatics_Vtbl, 0xe915c408_36d4_49a1_bf13_514173799b6b); +windows_core::imp::define_interface!(IDeviceInformationPairingStatics, IDeviceInformationPairingStatics_Vtbl, 0xe915c408_36d4_49a1_bf13_514173799b6b); #[repr(C)] pub struct IDeviceInformationPairingStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryRegisterForAllInboundPairingRequests: unsafe extern "system" fn(*mut core::ffi::c_void, DevicePairingKinds, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceInformationPairingStatics2, IDeviceInformationPairingStatics2_Vtbl, 0x04de5372_b7b7_476b_a74f_c5836a704d98); +windows_core::imp::define_interface!(IDeviceInformationPairingStatics2, IDeviceInformationPairingStatics2_Vtbl, 0x04de5372_b7b7_476b_a74f_c5836a704d98); #[repr(C)] pub struct IDeviceInformationPairingStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryRegisterForAllInboundPairingRequestsWithProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, DevicePairingKinds, DevicePairingProtectionLevel, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceInformationStatics, IDeviceInformationStatics_Vtbl, 0xc17f100e_3a46_4a78_8013_769dc9b97390); +windows_core::imp::define_interface!(IDeviceInformationStatics, IDeviceInformationStatics_Vtbl, 0xc17f100e_3a46_4a78_8013_769dc9b97390); #[repr(C)] pub struct IDeviceInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -143,7 +143,7 @@ pub struct IDeviceInformationStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWatcherAqsFilterAndAdditionalProperties: usize, } -windows_core::imp::com_interface!(IDeviceInformationStatics2, IDeviceInformationStatics2_Vtbl, 0x493b4f34_a84f_45fd_9167_15d1cb1bd1f9); +windows_core::imp::define_interface!(IDeviceInformationStatics2, IDeviceInformationStatics2_Vtbl, 0x493b4f34_a84f_45fd_9167_15d1cb1bd1f9); #[repr(C)] pub struct IDeviceInformationStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -161,7 +161,7 @@ pub struct IDeviceInformationStatics2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWatcherWithKindAqsFilterAndAdditionalProperties: usize, } -windows_core::imp::com_interface!(IDeviceInformationUpdate, IDeviceInformationUpdate_Vtbl, 0x8f315305_d972_44b7_a37e_9e822c78213b); +windows_core::imp::define_interface!(IDeviceInformationUpdate, IDeviceInformationUpdate_Vtbl, 0x8f315305_d972_44b7_a37e_9e822c78213b); #[repr(C)] pub struct IDeviceInformationUpdate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -171,13 +171,13 @@ pub struct IDeviceInformationUpdate_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IDeviceInformationUpdate2, IDeviceInformationUpdate2_Vtbl, 0x5d9d148c_a873_485e_baa6_aa620788e3cc); +windows_core::imp::define_interface!(IDeviceInformationUpdate2, IDeviceInformationUpdate2_Vtbl, 0x5d9d148c_a873_485e_baa6_aa620788e3cc); #[repr(C)] pub struct IDeviceInformationUpdate2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeviceInformationKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDevicePairingRequestedEventArgs, IDevicePairingRequestedEventArgs_Vtbl, 0xf717fc56_de6b_487f_8376_0180aca69963); +windows_core::imp::define_interface!(IDevicePairingRequestedEventArgs, IDevicePairingRequestedEventArgs_Vtbl, 0xf717fc56_de6b_487f_8376_0180aca69963); #[repr(C)] pub struct IDevicePairingRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -188,7 +188,7 @@ pub struct IDevicePairingRequestedEventArgs_Vtbl { pub AcceptWithPin: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IDevicePairingRequestedEventArgs2, IDevicePairingRequestedEventArgs2_Vtbl, 0xc83752d9_e4d3_4db0_a360_a105e437dbdc); +windows_core::imp::define_interface!(IDevicePairingRequestedEventArgs2, IDevicePairingRequestedEventArgs2_Vtbl, 0xc83752d9_e4d3_4db0_a360_a105e437dbdc); #[repr(C)] pub struct IDevicePairingRequestedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -197,14 +197,14 @@ pub struct IDevicePairingRequestedEventArgs2_Vtbl { #[cfg(not(feature = "Security_Credentials"))] AcceptWithPasswordCredential: usize, } -windows_core::imp::com_interface!(IDevicePairingResult, IDevicePairingResult_Vtbl, 0x072b02bf_dd95_4025_9b37_de51adba37b7); +windows_core::imp::define_interface!(IDevicePairingResult, IDevicePairingResult_Vtbl, 0x072b02bf_dd95_4025_9b37_de51adba37b7); #[repr(C)] pub struct IDevicePairingResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DevicePairingResultStatus) -> windows_core::HRESULT, pub ProtectionLevelUsed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DevicePairingProtectionLevel) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDevicePairingSettings, IDevicePairingSettings_Vtbl, 0x482cb27c_83bb_420e_be51_6602b222de54); +windows_core::imp::define_interface!(IDevicePairingSettings, IDevicePairingSettings_Vtbl, 0x482cb27c_83bb_420e_be51_6602b222de54); windows_core::imp::interface_hierarchy!(IDevicePairingSettings, windows_core::IUnknown, windows_core::IInspectable); impl IDevicePairingSettings {} impl windows_core::RuntimeType for IDevicePairingSettings { @@ -214,7 +214,7 @@ impl windows_core::RuntimeType for IDevicePairingSettings { pub struct IDevicePairingSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IDevicePicker, IDevicePicker_Vtbl, 0x84997aa2_034a_4440_8813_7d0bd479bf5a); +windows_core::imp::define_interface!(IDevicePicker, IDevicePicker_Vtbl, 0x84997aa2_034a_4440_8813_7d0bd479bf5a); #[repr(C)] pub struct IDevicePicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -243,7 +243,7 @@ pub struct IDevicePicker_Vtbl { 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, } -windows_core::imp::com_interface!(IDevicePickerAppearance, IDevicePickerAppearance_Vtbl, 0xe69a12c6_e627_4ed8_9b6c_460af445e56d); +windows_core::imp::define_interface!(IDevicePickerAppearance, IDevicePickerAppearance_Vtbl, 0xe69a12c6_e627_4ed8_9b6c_460af445e56d); #[repr(C)] pub struct IDevicePickerAppearance_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -298,7 +298,7 @@ pub struct IDevicePickerAppearance_Vtbl { #[cfg(not(feature = "UI"))] SetSelectedAccentColor: usize, } -windows_core::imp::com_interface!(IDevicePickerFilter, IDevicePickerFilter_Vtbl, 0x91db92a2_57cb_48f1_9b59_a59b7a1f02a2); +windows_core::imp::define_interface!(IDevicePickerFilter, IDevicePickerFilter_Vtbl, 0x91db92a2_57cb_48f1_9b59_a59b7a1f02a2); #[repr(C)] pub struct IDevicePickerFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -311,19 +311,19 @@ pub struct IDevicePickerFilter_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedDeviceSelectors: usize, } -windows_core::imp::com_interface!(IDeviceSelectedEventArgs, IDeviceSelectedEventArgs_Vtbl, 0x269edade_1d2f_4940_8402_4156b81d3c77); +windows_core::imp::define_interface!(IDeviceSelectedEventArgs, IDeviceSelectedEventArgs_Vtbl, 0x269edade_1d2f_4940_8402_4156b81d3c77); #[repr(C)] pub struct IDeviceSelectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SelectedDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceUnpairingResult, IDeviceUnpairingResult_Vtbl, 0x66f44ad3_79d9_444b_92cf_a92ef72571c7); +windows_core::imp::define_interface!(IDeviceUnpairingResult, IDeviceUnpairingResult_Vtbl, 0x66f44ad3_79d9_444b_92cf_a92ef72571c7); #[repr(C)] pub struct IDeviceUnpairingResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DeviceUnpairingResultStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceWatcher, IDeviceWatcher_Vtbl, 0xc9eab97d_8f6b_4f96_a9f4_abc814e22271); +windows_core::imp::define_interface!(IDeviceWatcher, IDeviceWatcher_Vtbl, 0xc9eab97d_8f6b_4f96_a9f4_abc814e22271); #[repr(C)] pub struct IDeviceWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -341,7 +341,7 @@ pub struct IDeviceWatcher_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IDeviceWatcher2, IDeviceWatcher2_Vtbl, 0xff08456e_ed14_49e9_9a69_8117c54ae971); +windows_core::imp::define_interface!(IDeviceWatcher2, IDeviceWatcher2_Vtbl, 0xff08456e_ed14_49e9_9a69_8117c54ae971); #[repr(C)] pub struct IDeviceWatcher2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -350,7 +350,7 @@ pub struct IDeviceWatcher2_Vtbl { #[cfg(not(all(feature = "ApplicationModel_Background", feature = "Foundation_Collections")))] GetBackgroundTrigger: usize, } -windows_core::imp::com_interface!(IDeviceWatcherEvent, IDeviceWatcherEvent_Vtbl, 0x74aa9c0b_1dbd_47fd_b635_3cc556d0ff8b); +windows_core::imp::define_interface!(IDeviceWatcherEvent, IDeviceWatcherEvent_Vtbl, 0x74aa9c0b_1dbd_47fd_b635_3cc556d0ff8b); #[repr(C)] pub struct IDeviceWatcherEvent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -358,7 +358,7 @@ pub struct IDeviceWatcherEvent_Vtbl { pub DeviceInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeviceInformationUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceWatcherTriggerDetails, IDeviceWatcherTriggerDetails_Vtbl, 0x38808119_4cb7_4e57_a56d_776d07cbfef9); +windows_core::imp::define_interface!(IDeviceWatcherTriggerDetails, IDeviceWatcherTriggerDetails_Vtbl, 0x38808119_4cb7_4e57_a56d_776d07cbfef9); #[repr(C)] pub struct IDeviceWatcherTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -367,7 +367,7 @@ pub struct IDeviceWatcherTriggerDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] DeviceWatcherEvents: usize, } -windows_core::imp::com_interface!(IEnclosureLocation, IEnclosureLocation_Vtbl, 0x42340a27_5810_459c_aabb_c65e1f813ecf); +windows_core::imp::define_interface!(IEnclosureLocation, IEnclosureLocation_Vtbl, 0x42340a27_5810_459c_aabb_c65e1f813ecf); #[repr(C)] pub struct IEnclosureLocation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -375,7 +375,7 @@ pub struct IEnclosureLocation_Vtbl { pub InLid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Panel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Panel) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnclosureLocation2, IEnclosureLocation2_Vtbl, 0x2885995b_e07d_485d_8a9e_bdf29aef4f66); +windows_core::imp::define_interface!(IEnclosureLocation2, IEnclosureLocation2_Vtbl, 0x2885995b_e07d_485d_8a9e_bdf29aef4f66); #[repr(C)] pub struct IEnclosureLocation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 eee060c11f..39161ce6ac 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/Geofencing/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGeofence, IGeofence_Vtbl, 0x9c090823_edb8_47e0_8245_5bf61d321f2d); +windows_core::imp::define_interface!(IGeofence, IGeofence_Vtbl, 0x9c090823_edb8_47e0_8245_5bf61d321f2d); #[repr(C)] pub struct IGeofence_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -10,7 +10,7 @@ pub struct IGeofence_Vtbl { 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, } -windows_core::imp::com_interface!(IGeofenceFactory, IGeofenceFactory_Vtbl, 0x841f624b_325f_4b90_bca7_2b8022a93796); +windows_core::imp::define_interface!(IGeofenceFactory, IGeofenceFactory_Vtbl, 0x841f624b_325f_4b90_bca7_2b8022a93796); #[repr(C)] pub struct IGeofenceFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,7 +19,7 @@ pub struct IGeofenceFactory_Vtbl { 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, } -windows_core::imp::com_interface!(IGeofenceMonitor, IGeofenceMonitor_Vtbl, 0x4c0f5f78_1c1f_4621_bbbd_833b92247226); +windows_core::imp::define_interface!(IGeofenceMonitor, IGeofenceMonitor_Vtbl, 0x4c0f5f78_1c1f_4621_bbbd_833b92247226); #[repr(C)] pub struct IGeofenceMonitor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,13 +38,13 @@ pub struct IGeofenceMonitor_Vtbl { 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, pub RemoveStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeofenceMonitorStatics, IGeofenceMonitorStatics_Vtbl, 0x2dd32fcf_7e75_4899_ace3_2bd0a65cce06); +windows_core::imp::define_interface!(IGeofenceMonitorStatics, IGeofenceMonitorStatics_Vtbl, 0x2dd32fcf_7e75_4899_ace3_2bd0a65cce06); #[repr(C)] pub struct IGeofenceMonitorStatics_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, } -windows_core::imp::com_interface!(IGeofenceStateChangeReport, IGeofenceStateChangeReport_Vtbl, 0x9a243c18_2464_4c89_be05_b3ffff5babc5); +windows_core::imp::define_interface!(IGeofenceStateChangeReport, IGeofenceStateChangeReport_Vtbl, 0x9a243c18_2464_4c89_be05_b3ffff5babc5); #[repr(C)] pub struct IGeofenceStateChangeReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 bdf5175ffc..3dd0e2f98f 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/Provider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGeolocationProvider, IGeolocationProvider_Vtbl, 0xe4cf071d_3f64_509f_8dc2_0b74a059829d); +windows_core::imp::define_interface!(IGeolocationProvider, IGeolocationProvider_Vtbl, 0xe4cf071d_3f64_509f_8dc2_0b74a059829d); #[repr(C)] pub struct IGeolocationProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs index 8103297382..49c17be7bf 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/mod.rs @@ -2,7 +2,7 @@ pub mod Geofencing; #[cfg(feature = "Devices_Geolocation_Provider")] pub mod Provider; -windows_core::imp::com_interface!(ICivicAddress, ICivicAddress_Vtbl, 0xa8567a1a_64f4_4d48_bcea_f6b008eca34c); +windows_core::imp::define_interface!(ICivicAddress, ICivicAddress_Vtbl, 0xa8567a1a_64f4_4d48_bcea_f6b008eca34c); #[repr(C)] pub struct ICivicAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -12,7 +12,7 @@ pub struct ICivicAddress_Vtbl { pub PostalCode: 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 super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeoboundingBox, IGeoboundingBox_Vtbl, 0x0896c80b_274f_43da_9a06_cbfcdaeb4ec2); +windows_core::imp::define_interface!(IGeoboundingBox, IGeoboundingBox_Vtbl, 0x0896c80b_274f_43da_9a06_cbfcdaeb4ec2); #[repr(C)] pub struct IGeoboundingBox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -22,7 +22,7 @@ pub struct IGeoboundingBox_Vtbl { pub MinAltitude: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub MaxAltitude: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeoboundingBoxFactory, IGeoboundingBoxFactory_Vtbl, 0x4dfba589_0411_4abc_b3b5_5bbccb57d98c); +windows_core::imp::define_interface!(IGeoboundingBoxFactory, IGeoboundingBoxFactory_Vtbl, 0x4dfba589_0411_4abc_b3b5_5bbccb57d98c); #[repr(C)] pub struct IGeoboundingBoxFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,7 +30,7 @@ pub struct IGeoboundingBoxFactory_Vtbl { pub CreateWithAltitudeReference: unsafe extern "system" fn(*mut core::ffi::c_void, BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWithAltitudeReferenceAndSpatialReference: unsafe extern "system" fn(*mut core::ffi::c_void, BasicGeoposition, BasicGeoposition, AltitudeReferenceSystem, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeoboundingBoxStatics, IGeoboundingBoxStatics_Vtbl, 0x67b80708_e61a_4cd0_841b_93233792b5ca); +windows_core::imp::define_interface!(IGeoboundingBoxStatics, IGeoboundingBoxStatics_Vtbl, 0x67b80708_e61a_4cd0_841b_93233792b5ca); #[repr(C)] pub struct IGeoboundingBoxStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -47,14 +47,14 @@ pub struct IGeoboundingBoxStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] TryComputeWithAltitudeReferenceAndSpatialReference: usize, } -windows_core::imp::com_interface!(IGeocircle, IGeocircle_Vtbl, 0x39e45843_a7f9_4e63_92a7_ba0c28d124b1); +windows_core::imp::define_interface!(IGeocircle, IGeocircle_Vtbl, 0x39e45843_a7f9_4e63_92a7_ba0c28d124b1); #[repr(C)] pub struct IGeocircle_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Center: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BasicGeoposition) -> windows_core::HRESULT, pub Radius: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeocircleFactory, IGeocircleFactory_Vtbl, 0xafd6531f_72b1_4f7d_87cc_4ed4c9849c05); +windows_core::imp::define_interface!(IGeocircleFactory, IGeocircleFactory_Vtbl, 0xafd6531f_72b1_4f7d_87cc_4ed4c9849c05); #[repr(C)] pub struct IGeocircleFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -62,7 +62,7 @@ pub struct IGeocircleFactory_Vtbl { pub CreateWithAltitudeReferenceSystem: unsafe extern "system" fn(*mut core::ffi::c_void, BasicGeoposition, f64, AltitudeReferenceSystem, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWithAltitudeReferenceSystemAndSpatialReferenceId: unsafe extern "system" fn(*mut core::ffi::c_void, BasicGeoposition, f64, AltitudeReferenceSystem, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeocoordinate, IGeocoordinate_Vtbl, 0xee21a3aa_976a_4c70_803d_083ea55bcbc4); +windows_core::imp::define_interface!(IGeocoordinate, IGeocoordinate_Vtbl, 0xee21a3aa_976a_4c70_803d_083ea55bcbc4); #[repr(C)] pub struct IGeocoordinate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -84,7 +84,7 @@ pub struct IGeocoordinate_Vtbl { pub Speed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> 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::com_interface!(IGeocoordinateSatelliteData, IGeocoordinateSatelliteData_Vtbl, 0xc32a74d9_2608_474c_912c_06dd490f4af7); +windows_core::imp::define_interface!(IGeocoordinateSatelliteData, IGeocoordinateSatelliteData_Vtbl, 0xc32a74d9_2608_474c_912c_06dd490f4af7); #[repr(C)] pub struct IGeocoordinateSatelliteData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -92,39 +92,39 @@ pub struct IGeocoordinateSatelliteData_Vtbl { pub HorizontalDilutionOfPrecision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub VerticalDilutionOfPrecision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeocoordinateSatelliteData2, IGeocoordinateSatelliteData2_Vtbl, 0x761c8cfd_a19d_5a51_80f5_71676115483e); +windows_core::imp::define_interface!(IGeocoordinateSatelliteData2, IGeocoordinateSatelliteData2_Vtbl, 0x761c8cfd_a19d_5a51_80f5_71676115483e); #[repr(C)] pub struct IGeocoordinateSatelliteData2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GeometricDilutionOfPrecision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TimeDilutionOfPrecision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeocoordinateWithPoint, IGeocoordinateWithPoint_Vtbl, 0xfeea0525_d22c_4d46_b527_0b96066fc7db); +windows_core::imp::define_interface!(IGeocoordinateWithPoint, IGeocoordinateWithPoint_Vtbl, 0xfeea0525_d22c_4d46_b527_0b96066fc7db); #[repr(C)] pub struct IGeocoordinateWithPoint_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Point: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeocoordinateWithPositionData, IGeocoordinateWithPositionData_Vtbl, 0x95e634be_dbd6_40ac_b8f2_a65c0340d9a6); +windows_core::imp::define_interface!(IGeocoordinateWithPositionData, IGeocoordinateWithPositionData_Vtbl, 0x95e634be_dbd6_40ac_b8f2_a65c0340d9a6); #[repr(C)] pub struct IGeocoordinateWithPositionData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PositionSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PositionSource) -> windows_core::HRESULT, pub SatelliteData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeocoordinateWithPositionSourceTimestamp, IGeocoordinateWithPositionSourceTimestamp_Vtbl, 0x8543fc02_c9f1_4610_afe0_8bc3a6a87036); +windows_core::imp::define_interface!(IGeocoordinateWithPositionSourceTimestamp, IGeocoordinateWithPositionSourceTimestamp_Vtbl, 0x8543fc02_c9f1_4610_afe0_8bc3a6a87036); #[repr(C)] pub struct IGeocoordinateWithPositionSourceTimestamp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PositionSourceTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeocoordinateWithRemoteSource, IGeocoordinateWithRemoteSource_Vtbl, 0x397cebd7_ee38_5f3b_8900_c4a7bc9cf953); +windows_core::imp::define_interface!(IGeocoordinateWithRemoteSource, IGeocoordinateWithRemoteSource_Vtbl, 0x397cebd7_ee38_5f3b_8900_c4a7bc9cf953); #[repr(C)] pub struct IGeocoordinateWithRemoteSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsRemoteSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeolocator, IGeolocator_Vtbl, 0xa9c3bf62_4524_4989_8aa9_de019d2e551f); +windows_core::imp::define_interface!(IGeolocator, IGeolocator_Vtbl, 0xa9c3bf62_4524_4989_8aa9_de019d2e551f); #[repr(C)] pub struct IGeolocator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -142,13 +142,13 @@ pub struct IGeolocator_Vtbl { pub StatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeolocator2, IGeolocator2_Vtbl, 0xd1b42e6d_8891_43b4_ad36_27c6fe9a97b1); +windows_core::imp::define_interface!(IGeolocator2, IGeolocator2_Vtbl, 0xd1b42e6d_8891_43b4_ad36_27c6fe9a97b1); #[repr(C)] pub struct IGeolocator2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowFallbackToConsentlessPositions: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeolocatorStatics, IGeolocatorStatics_Vtbl, 0x9a8e7571_2df5_4591_9f87_eb5fd894e9b7); +windows_core::imp::define_interface!(IGeolocatorStatics, IGeolocatorStatics_Vtbl, 0x9a8e7571_2df5_4591_9f87_eb5fd894e9b7); #[repr(C)] pub struct IGeolocatorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -162,7 +162,7 @@ pub struct IGeolocatorStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetGeopositionHistoryWithDurationAsync: usize, } -windows_core::imp::com_interface!(IGeolocatorStatics2, IGeolocatorStatics2_Vtbl, 0x993011a2_fa1c_4631_a71d_0dbeb1250d9c); +windows_core::imp::define_interface!(IGeolocatorStatics2, IGeolocatorStatics2_Vtbl, 0x993011a2_fa1c_4631_a71d_0dbeb1250d9c); #[repr(C)] pub struct IGeolocatorStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -170,14 +170,14 @@ pub struct IGeolocatorStatics2_Vtbl { pub SetDefaultGeoposition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DefaultGeoposition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeolocatorWithScalarAccuracy, IGeolocatorWithScalarAccuracy_Vtbl, 0x96f5d3c1_b80f_460a_994d_a96c47a51aa4); +windows_core::imp::define_interface!(IGeolocatorWithScalarAccuracy, IGeolocatorWithScalarAccuracy_Vtbl, 0x96f5d3c1_b80f_460a_994d_a96c47a51aa4); #[repr(C)] pub struct IGeolocatorWithScalarAccuracy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DesiredAccuracyInMeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDesiredAccuracyInMeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeopath, IGeopath_Vtbl, 0xe53fd7b9_2da4_4714_a652_de8593289898); +windows_core::imp::define_interface!(IGeopath, IGeopath_Vtbl, 0xe53fd7b9_2da4_4714_a652_de8593289898); #[repr(C)] pub struct IGeopath_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -186,7 +186,7 @@ pub struct IGeopath_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Positions: usize, } -windows_core::imp::com_interface!(IGeopathFactory, IGeopathFactory_Vtbl, 0x27bea9c8_c7e7_4359_9b9b_fca3e05ef593); +windows_core::imp::define_interface!(IGeopathFactory, IGeopathFactory_Vtbl, 0x27bea9c8_c7e7_4359_9b9b_fca3e05ef593); #[repr(C)] pub struct IGeopathFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -203,13 +203,13 @@ pub struct IGeopathFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithAltitudeReferenceAndSpatialReference: usize, } -windows_core::imp::com_interface!(IGeopoint, IGeopoint_Vtbl, 0x6bfa00eb_e56e_49bb_9caf_cbaa78a8bcef); +windows_core::imp::define_interface!(IGeopoint, IGeopoint_Vtbl, 0x6bfa00eb_e56e_49bb_9caf_cbaa78a8bcef); #[repr(C)] pub struct IGeopoint_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BasicGeoposition) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeopointFactory, IGeopointFactory_Vtbl, 0xdb6b8d33_76bd_4e30_8af7_a844dc37b7a0); +windows_core::imp::define_interface!(IGeopointFactory, IGeopointFactory_Vtbl, 0xdb6b8d33_76bd_4e30_8af7_a844dc37b7a0); #[repr(C)] pub struct IGeopointFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -217,20 +217,20 @@ pub struct IGeopointFactory_Vtbl { pub CreateWithAltitudeReferenceSystem: unsafe extern "system" fn(*mut core::ffi::c_void, BasicGeoposition, AltitudeReferenceSystem, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWithAltitudeReferenceSystemAndSpatialReferenceId: unsafe extern "system" fn(*mut core::ffi::c_void, BasicGeoposition, AltitudeReferenceSystem, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeoposition, IGeoposition_Vtbl, 0xc18d0454_7d41_4ff7_a957_9dffb4ef7f5b); +windows_core::imp::define_interface!(IGeoposition, IGeoposition_Vtbl, 0xc18d0454_7d41_4ff7_a957_9dffb4ef7f5b); #[repr(C)] pub struct IGeoposition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Coordinate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CivicAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeoposition2, IGeoposition2_Vtbl, 0x7f62f697_8671_4b0d_86f8_474a8496187c); +windows_core::imp::define_interface!(IGeoposition2, IGeoposition2_Vtbl, 0x7f62f697_8671_4b0d_86f8_474a8496187c); #[repr(C)] pub struct IGeoposition2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub VenueData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeoshape, IGeoshape_Vtbl, 0xc99ca2af_c729_43c1_8fab_d6dec914df7e); +windows_core::imp::define_interface!(IGeoshape, IGeoshape_Vtbl, 0xc99ca2af_c729_43c1_8fab_d6dec914df7e); windows_core::imp::interface_hierarchy!(IGeoshape, windows_core::IUnknown, windows_core::IInspectable); impl IGeoshape { pub fn GeoshapeType(&self) -> windows_core::Result { @@ -265,7 +265,7 @@ pub struct IGeoshape_Vtbl { pub SpatialReferenceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub AltitudeReferenceSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AltitudeReferenceSystem) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeovisit, IGeovisit_Vtbl, 0xb1877a76_9ef6_41ab_a0dd_793ece76e2de); +windows_core::imp::define_interface!(IGeovisit, IGeovisit_Vtbl, 0xb1877a76_9ef6_41ab_a0dd_793ece76e2de); #[repr(C)] pub struct IGeovisit_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -273,7 +273,7 @@ pub struct IGeovisit_Vtbl { pub StateChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VisitStateChange) -> 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::com_interface!(IGeovisitMonitor, IGeovisitMonitor_Vtbl, 0x80118aaf_5944_4591_83c1_396647f54f2c); +windows_core::imp::define_interface!(IGeovisitMonitor, IGeovisitMonitor_Vtbl, 0x80118aaf_5944_4591_83c1_396647f54f2c); #[repr(C)] pub struct IGeovisitMonitor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -283,19 +283,19 @@ pub struct IGeovisitMonitor_Vtbl { pub VisitStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveVisitStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeovisitMonitorStatics, IGeovisitMonitorStatics_Vtbl, 0xbcf976a7_bbf2_4cdd_95cf_554c82edfb87); +windows_core::imp::define_interface!(IGeovisitMonitorStatics, IGeovisitMonitorStatics_Vtbl, 0xbcf976a7_bbf2_4cdd_95cf_554c82edfb87); #[repr(C)] pub struct IGeovisitMonitorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetLastReportAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeovisitStateChangedEventArgs, IGeovisitStateChangedEventArgs_Vtbl, 0xceb4d1ff_8b53_4968_beed_4cecd029ce15); +windows_core::imp::define_interface!(IGeovisitStateChangedEventArgs, IGeovisitStateChangedEventArgs_Vtbl, 0xceb4d1ff_8b53_4968_beed_4cecd029ce15); #[repr(C)] pub struct IGeovisitStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Visit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGeovisitTriggerDetails, IGeovisitTriggerDetails_Vtbl, 0xea770d9e_d1c9_454b_99b7_b2f8cdd2482f); +windows_core::imp::define_interface!(IGeovisitTriggerDetails, IGeovisitTriggerDetails_Vtbl, 0xea770d9e_d1c9_454b_99b7_b2f8cdd2482f); #[repr(C)] pub struct IGeovisitTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -304,19 +304,19 @@ pub struct IGeovisitTriggerDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadReports: usize, } -windows_core::imp::com_interface!(IPositionChangedEventArgs, IPositionChangedEventArgs_Vtbl, 0x37859ce5_9d1e_46c5_bf3b_6ad8cac1a093); +windows_core::imp::define_interface!(IPositionChangedEventArgs, IPositionChangedEventArgs_Vtbl, 0x37859ce5_9d1e_46c5_bf3b_6ad8cac1a093); #[repr(C)] pub struct IPositionChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStatusChangedEventArgs, IStatusChangedEventArgs_Vtbl, 0x3453d2da_8c93_4111_a205_9aecfc9be5c0); +windows_core::imp::define_interface!(IStatusChangedEventArgs, IStatusChangedEventArgs_Vtbl, 0x3453d2da_8c93_4111_a205_9aecfc9be5c0); #[repr(C)] pub struct IStatusChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PositionStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVenueData, IVenueData_Vtbl, 0x66f39187_60e3_4b2f_b527_4f53f1c3c677); +windows_core::imp::define_interface!(IVenueData, IVenueData_Vtbl, 0x66f39187_60e3_4b2f_b527_4f53f1c3c677); #[repr(C)] pub struct IVenueData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 f989fec95e..fcc0454da6 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGpioControllerProvider, IGpioControllerProvider_Vtbl, 0xad11cec7_19ea_4b21_874f_b91aed4a25db); +windows_core::imp::define_interface!(IGpioControllerProvider, IGpioControllerProvider_Vtbl, 0xad11cec7_19ea_4b21_874f_b91aed4a25db); windows_core::imp::interface_hierarchy!(IGpioControllerProvider, windows_core::IUnknown, windows_core::IInspectable); impl IGpioControllerProvider { pub fn PinCount(&self) -> windows_core::Result { @@ -25,7 +25,7 @@ pub struct IGpioControllerProvider_Vtbl { pub PinCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub OpenPinProvider: unsafe extern "system" fn(*mut core::ffi::c_void, i32, ProviderGpioSharingMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpioPinProvider, IGpioPinProvider_Vtbl, 0x42344cb7_6abc_40ff_9ce7_73b85301b900); +windows_core::imp::define_interface!(IGpioPinProvider, IGpioPinProvider_Vtbl, 0x42344cb7_6abc_40ff_9ce7_73b85301b900); windows_core::imp::interface_hierarchy!(IGpioPinProvider, windows_core::IUnknown, windows_core::IInspectable); impl IGpioPinProvider { pub fn ValueChanged(&self, handler: P0) -> windows_core::Result @@ -115,19 +115,19 @@ pub struct IGpioPinProvider_Vtbl { pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, ProviderGpioPinValue) -> windows_core::HRESULT, pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ProviderGpioPinValue) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpioPinProviderValueChangedEventArgs, IGpioPinProviderValueChangedEventArgs_Vtbl, 0x32a6d6f2_3d5b_44cd_8fbe_13a69f2edb24); +windows_core::imp::define_interface!(IGpioPinProviderValueChangedEventArgs, IGpioPinProviderValueChangedEventArgs_Vtbl, 0x32a6d6f2_3d5b_44cd_8fbe_13a69f2edb24); #[repr(C)] pub struct IGpioPinProviderValueChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Edge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ProviderGpioPinEdge) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpioPinProviderValueChangedEventArgsFactory, IGpioPinProviderValueChangedEventArgsFactory_Vtbl, 0x3ecb0b59_568c_4392_b24a_8a59a902b1f1); +windows_core::imp::define_interface!(IGpioPinProviderValueChangedEventArgsFactory, IGpioPinProviderValueChangedEventArgsFactory_Vtbl, 0x3ecb0b59_568c_4392_b24a_8a59a902b1f1); #[repr(C)] pub struct IGpioPinProviderValueChangedEventArgsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, ProviderGpioPinEdge, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpioProvider, IGpioProvider_Vtbl, 0x44e82707_08ca_434a_afe0_d61580446f7e); +windows_core::imp::define_interface!(IGpioProvider, IGpioProvider_Vtbl, 0x44e82707_08ca_434a_afe0_d61580446f7e); windows_core::imp::interface_hierarchy!(IGpioProvider, windows_core::IUnknown, windows_core::IInspectable); impl IGpioProvider { #[cfg(feature = "Foundation_Collections")] diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs index a1c9553997..95c1d4dd89 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Devices_Gpio_Provider")] pub mod Provider; -windows_core::imp::com_interface!(IGpioChangeCounter, IGpioChangeCounter_Vtbl, 0xcb5ec0de_6801_43ff_803d_4576628a8b26); +windows_core::imp::define_interface!(IGpioChangeCounter, IGpioChangeCounter_Vtbl, 0xcb5ec0de_6801_43ff_803d_4576628a8b26); #[repr(C)] pub struct IGpioChangeCounter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -12,13 +12,13 @@ pub struct IGpioChangeCounter_Vtbl { pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GpioChangeCount) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GpioChangeCount) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpioChangeCounterFactory, IGpioChangeCounterFactory_Vtbl, 0x147d94b6_0a9e_410c_b4fa_f89f4052084d); +windows_core::imp::define_interface!(IGpioChangeCounterFactory, IGpioChangeCounterFactory_Vtbl, 0x147d94b6_0a9e_410c_b4fa_f89f4052084d); #[repr(C)] pub struct IGpioChangeCounterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpioChangeReader, IGpioChangeReader_Vtbl, 0x0abc885f_e031_48e8_8590_70de78363c6d); +windows_core::imp::define_interface!(IGpioChangeReader, IGpioChangeReader_Vtbl, 0x0abc885f_e031_48e8_8590_70de78363c6d); #[repr(C)] pub struct IGpioChangeReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -40,14 +40,14 @@ pub struct IGpioChangeReader_Vtbl { GetAllItems: usize, pub WaitForItemsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpioChangeReaderFactory, IGpioChangeReaderFactory_Vtbl, 0xa9598ef3_390e_441a_9d1c_e8de0b2df0df); +windows_core::imp::define_interface!(IGpioChangeReaderFactory, IGpioChangeReaderFactory_Vtbl, 0xa9598ef3_390e_441a_9d1c_e8de0b2df0df); #[repr(C)] pub struct IGpioChangeReaderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWithCapacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpioController, IGpioController_Vtbl, 0x284012e3_7461_469c_a8bc_61d69d08a53c); +windows_core::imp::define_interface!(IGpioController, IGpioController_Vtbl, 0x284012e3_7461_469c_a8bc_61d69d08a53c); #[repr(C)] pub struct IGpioController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,13 +56,13 @@ pub struct IGpioController_Vtbl { pub OpenPinWithSharingMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, GpioSharingMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryOpenPin: unsafe extern "system" fn(*mut core::ffi::c_void, i32, GpioSharingMode, *mut *mut core::ffi::c_void, *mut GpioOpenStatus, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpioControllerStatics, IGpioControllerStatics_Vtbl, 0x2ed6f42e_7af7_4116_9533_c43d99a1fb64); +windows_core::imp::define_interface!(IGpioControllerStatics, IGpioControllerStatics_Vtbl, 0x2ed6f42e_7af7_4116_9533_c43d99a1fb64); #[repr(C)] pub struct IGpioControllerStatics_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, } -windows_core::imp::com_interface!(IGpioControllerStatics2, IGpioControllerStatics2_Vtbl, 0x912b7d20_6ca4_4106_a373_fffd346b0e5b); +windows_core::imp::define_interface!(IGpioControllerStatics2, IGpioControllerStatics2_Vtbl, 0x912b7d20_6ca4_4106_a373_fffd346b0e5b); #[repr(C)] pub struct IGpioControllerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -72,7 +72,7 @@ pub struct IGpioControllerStatics2_Vtbl { GetControllersAsync: usize, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpioPin, IGpioPin_Vtbl, 0x11d9b087_afae_4790_9ee9_e0eac942d201); +windows_core::imp::define_interface!(IGpioPin, IGpioPin_Vtbl, 0x11d9b087_afae_4790_9ee9_e0eac942d201); #[repr(C)] pub struct IGpioPin_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,7 +88,7 @@ pub struct IGpioPin_Vtbl { pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, GpioPinValue) -> windows_core::HRESULT, pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GpioPinValue) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpioPinValueChangedEventArgs, IGpioPinValueChangedEventArgs_Vtbl, 0x3137aae1_703d_4059_bd24_b5b25dffb84e); +windows_core::imp::define_interface!(IGpioPinValueChangedEventArgs, IGpioPinValueChangedEventArgs_Vtbl, 0x3137aae1_703d_4059_bd24_b5b25dffb84e); #[repr(C)] pub struct IGpioPinValueChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs index dac340082a..670fdb1d2a 100644 --- a/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Haptics/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IKnownSimpleHapticsControllerWaveformsStatics, IKnownSimpleHapticsControllerWaveformsStatics_Vtbl, 0x3d577ef7_4cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IKnownSimpleHapticsControllerWaveformsStatics, IKnownSimpleHapticsControllerWaveformsStatics_Vtbl, 0x3d577ef7_4cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IKnownSimpleHapticsControllerWaveformsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct IKnownSimpleHapticsControllerWaveformsStatics_Vtbl { pub Press: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub Release: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownSimpleHapticsControllerWaveformsStatics2, IKnownSimpleHapticsControllerWaveformsStatics2_Vtbl, 0xa7d24c27_b79d_510a_bf79_ff6d49173e1d); +windows_core::imp::define_interface!(IKnownSimpleHapticsControllerWaveformsStatics2, IKnownSimpleHapticsControllerWaveformsStatics2_Vtbl, 0xa7d24c27_b79d_510a_bf79_ff6d49173e1d); #[repr(C)] pub struct IKnownSimpleHapticsControllerWaveformsStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct IKnownSimpleHapticsControllerWaveformsStatics2_Vtbl { pub PencilContinuous: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub Success: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimpleHapticsController, ISimpleHapticsController_Vtbl, 0x3d577ef9_4cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(ISimpleHapticsController, ISimpleHapticsController_Vtbl, 0x3d577ef9_4cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct ISimpleHapticsController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -42,21 +42,21 @@ pub struct ISimpleHapticsController_Vtbl { pub SendHapticFeedbackForDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f64, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SendHapticFeedbackForPlayCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f64, i32, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimpleHapticsControllerFeedback, ISimpleHapticsControllerFeedback_Vtbl, 0x3d577ef8_4cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(ISimpleHapticsControllerFeedback, ISimpleHapticsControllerFeedback_Vtbl, 0x3d577ef8_4cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct ISimpleHapticsControllerFeedback_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Waveform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVibrationDevice, IVibrationDevice_Vtbl, 0x40f21a3e_8844_47ff_b312_06185a3844da); +windows_core::imp::define_interface!(IVibrationDevice, IVibrationDevice_Vtbl, 0x40f21a3e_8844_47ff_b312_06185a3844da); #[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 SimpleHapticsController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVibrationDeviceStatics, IVibrationDeviceStatics_Vtbl, 0x53e2eded_2290_4ac9_8eb3_1a84122eb71c); +windows_core::imp::define_interface!(IVibrationDeviceStatics, IVibrationDeviceStatics_Vtbl, 0x53e2eded_2290_4ac9_8eb3_1a84122eb71c); #[repr(C)] pub struct IVibrationDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs index 227e8a38a8..b88eeaee80 100644 --- a/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/HumanInterfaceDevice/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IHidBooleanControl, IHidBooleanControl_Vtbl, 0x524df48a_3695_408c_bba2_e2eb5abfbc20); +windows_core::imp::define_interface!(IHidBooleanControl, IHidBooleanControl_Vtbl, 0x524df48a_3695_408c_bba2_e2eb5abfbc20); #[repr(C)] pub struct IHidBooleanControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IHidBooleanControl_Vtbl { pub SetIsActive: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub ControlDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHidBooleanControlDescription, IHidBooleanControlDescription_Vtbl, 0x6196e543_29d8_4a2a_8683_849e207bbe31); +windows_core::imp::define_interface!(IHidBooleanControlDescription, IHidBooleanControlDescription_Vtbl, 0x6196e543_29d8_4a2a_8683_849e207bbe31); #[repr(C)] pub struct IHidBooleanControlDescription_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,13 +23,13 @@ pub struct IHidBooleanControlDescription_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ParentCollections: usize, } -windows_core::imp::com_interface!(IHidBooleanControlDescription2, IHidBooleanControlDescription2_Vtbl, 0xc8eed2ea_8a77_4c36_aa00_5ff0449d3e73); +windows_core::imp::define_interface!(IHidBooleanControlDescription2, IHidBooleanControlDescription2_Vtbl, 0xc8eed2ea_8a77_4c36_aa00_5ff0449d3e73); #[repr(C)] pub struct IHidBooleanControlDescription2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsAbsolute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHidCollection, IHidCollection_Vtbl, 0x7189f5a3_32f1_46e3_befd_44d2663b7e6a); +windows_core::imp::define_interface!(IHidCollection, IHidCollection_Vtbl, 0x7189f5a3_32f1_46e3_befd_44d2663b7e6a); #[repr(C)] pub struct IHidCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,7 +38,7 @@ pub struct IHidCollection_Vtbl { pub UsagePage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UsageId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHidDevice, IHidDevice_Vtbl, 0x5f8a14e7_2200_432e_95da_d09b87d574a8); +windows_core::imp::define_interface!(IHidDevice, IHidDevice_Vtbl, 0x5f8a14e7_2200_432e_95da_d09b87d574a8); #[repr(C)] pub struct IHidDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,7 +68,7 @@ pub struct IHidDevice_Vtbl { pub InputReportReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveInputReportReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHidDeviceStatics, IHidDeviceStatics_Vtbl, 0x9e5981e4_9856_418c_9f73_77de0cd85754); +windows_core::imp::define_interface!(IHidDeviceStatics, IHidDeviceStatics_Vtbl, 0x9e5981e4_9856_418c_9f73_77de0cd85754); #[repr(C)] pub struct IHidDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -79,7 +79,7 @@ pub struct IHidDeviceStatics_Vtbl { #[cfg(not(feature = "Storage"))] FromIdAsync: usize, } -windows_core::imp::com_interface!(IHidFeatureReport, IHidFeatureReport_Vtbl, 0x841d9b79_5ae5_46e3_82ef_1fec5c8942f4); +windows_core::imp::define_interface!(IHidFeatureReport, IHidFeatureReport_Vtbl, 0x841d9b79_5ae5_46e3_82ef_1fec5c8942f4); #[repr(C)] pub struct IHidFeatureReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -97,7 +97,7 @@ pub struct IHidFeatureReport_Vtbl { pub GetNumericControl: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetNumericControlByDescription: 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::com_interface!(IHidInputReport, IHidInputReport_Vtbl, 0xc35d0e50_f7e7_4e8d_b23e_cabbe56b90e9); +windows_core::imp::define_interface!(IHidInputReport, IHidInputReport_Vtbl, 0xc35d0e50_f7e7_4e8d_b23e_cabbe56b90e9); #[repr(C)] pub struct IHidInputReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -119,13 +119,13 @@ pub struct IHidInputReport_Vtbl { pub GetNumericControl: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetNumericControlByDescription: 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::com_interface!(IHidInputReportReceivedEventArgs, IHidInputReportReceivedEventArgs_Vtbl, 0x7059c5cb_59b2_4dc2_985c_0adc6136fa2d); +windows_core::imp::define_interface!(IHidInputReportReceivedEventArgs, IHidInputReportReceivedEventArgs_Vtbl, 0x7059c5cb_59b2_4dc2_985c_0adc6136fa2d); #[repr(C)] pub struct IHidInputReportReceivedEventArgs_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, } -windows_core::imp::com_interface!(IHidNumericControl, IHidNumericControl_Vtbl, 0xe38a12a5_35a7_4b75_89c8_fb1f28b10823); +windows_core::imp::define_interface!(IHidNumericControl, IHidNumericControl_Vtbl, 0xe38a12a5_35a7_4b75_89c8_fb1f28b10823); #[repr(C)] pub struct IHidNumericControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -139,7 +139,7 @@ pub struct IHidNumericControl_Vtbl { pub SetScaledValue: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, pub ControlDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHidNumericControlDescription, IHidNumericControlDescription_Vtbl, 0x638d5e86_1d97_4c75_927f_5ff58ba05e32); +windows_core::imp::define_interface!(IHidNumericControlDescription, IHidNumericControlDescription_Vtbl, 0x638d5e86_1d97_4c75_927f_5ff58ba05e32); #[repr(C)] pub struct IHidNumericControlDescription_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -163,7 +163,7 @@ pub struct IHidNumericControlDescription_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ParentCollections: usize, } -windows_core::imp::com_interface!(IHidOutputReport, IHidOutputReport_Vtbl, 0x62cb2544_c896_4463_93c1_df9db053c450); +windows_core::imp::define_interface!(IHidOutputReport, IHidOutputReport_Vtbl, 0x62cb2544_c896_4463_93c1_df9db053c450); #[repr(C)] pub struct IHidOutputReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 892345efa2..4292b2141a 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(II2cControllerProvider, II2cControllerProvider_Vtbl, 0x61c2bb82_4510_4163_a87c_4e15a9558980); +windows_core::imp::define_interface!(II2cControllerProvider, II2cControllerProvider_Vtbl, 0x61c2bb82_4510_4163_a87c_4e15a9558980); windows_core::imp::interface_hierarchy!(II2cControllerProvider, windows_core::IUnknown, windows_core::IInspectable); impl II2cControllerProvider { pub fn GetDeviceProvider(&self, settings: P0) -> windows_core::Result @@ -20,7 +20,7 @@ pub struct II2cControllerProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(II2cDeviceProvider, II2cDeviceProvider_Vtbl, 0xad342654_57e8_453e_8329_d1e447d103a9); +windows_core::imp::define_interface!(II2cDeviceProvider, II2cDeviceProvider_Vtbl, 0xad342654_57e8_453e_8329_d1e447d103a9); windows_core::imp::interface_hierarchy!(II2cDeviceProvider, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(II2cDeviceProvider, super::super::super::Foundation::IClosable); impl II2cDeviceProvider { @@ -83,7 +83,7 @@ pub struct II2cDeviceProvider_Vtbl { pub WriteRead: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8) -> windows_core::HRESULT, pub WriteReadPartial: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8, *mut ProviderI2cTransferResult) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(II2cProvider, II2cProvider_Vtbl, 0x6f13083e_bf62_4fe2_a95a_f08999669818); +windows_core::imp::define_interface!(II2cProvider, II2cProvider_Vtbl, 0x6f13083e_bf62_4fe2_a95a_f08999669818); windows_core::imp::interface_hierarchy!(II2cProvider, windows_core::IUnknown, windows_core::IInspectable); impl II2cProvider { #[cfg(feature = "Foundation_Collections")] @@ -106,7 +106,7 @@ pub struct II2cProvider_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetControllersAsync: usize, } -windows_core::imp::com_interface!(IProviderI2cConnectionSettings, IProviderI2cConnectionSettings_Vtbl, 0xe9db4e34_e510_44b7_809d_f2f85b555339); +windows_core::imp::define_interface!(IProviderI2cConnectionSettings, IProviderI2cConnectionSettings_Vtbl, 0xe9db4e34_e510_44b7_809d_f2f85b555339); #[repr(C)] pub struct IProviderI2cConnectionSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs index 572b27608f..86bd39210c 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Devices_I2c_Provider")] pub mod Provider; -windows_core::imp::com_interface!(II2cConnectionSettings, II2cConnectionSettings_Vtbl, 0xf2db1307_ab6f_4639_a767_54536dc3460f); +windows_core::imp::define_interface!(II2cConnectionSettings, II2cConnectionSettings_Vtbl, 0xf2db1307_ab6f_4639_a767_54536dc3460f); #[repr(C)] pub struct II2cConnectionSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,19 +11,19 @@ pub struct II2cConnectionSettings_Vtbl { pub SharingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut I2cSharingMode) -> windows_core::HRESULT, pub SetSharingMode: unsafe extern "system" fn(*mut core::ffi::c_void, I2cSharingMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(II2cConnectionSettingsFactory, II2cConnectionSettingsFactory_Vtbl, 0x81b586b3_9693_41b1_a243_ded4f6e66926); +windows_core::imp::define_interface!(II2cConnectionSettingsFactory, II2cConnectionSettingsFactory_Vtbl, 0x81b586b3_9693_41b1_a243_ded4f6e66926); #[repr(C)] pub struct II2cConnectionSettingsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(II2cController, II2cController_Vtbl, 0xc48ab1b2_87a0_4166_8e3e_b4b8f97cd729); +windows_core::imp::define_interface!(II2cController, II2cController_Vtbl, 0xc48ab1b2_87a0_4166_8e3e_b4b8f97cd729); #[repr(C)] pub struct II2cController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDevice: 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::com_interface!(II2cControllerStatics, II2cControllerStatics_Vtbl, 0x40fc0365_5f05_4e7e_84bd_100db8e0aec5); +windows_core::imp::define_interface!(II2cControllerStatics, II2cControllerStatics_Vtbl, 0x40fc0365_5f05_4e7e_84bd_100db8e0aec5); #[repr(C)] pub struct II2cControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,7 +33,7 @@ pub struct II2cControllerStatics_Vtbl { GetControllersAsync: usize, pub GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(II2cDevice, II2cDevice_Vtbl, 0x8636c136_b9c5_4f70_9449_cc46dc6f57eb); +windows_core::imp::define_interface!(II2cDevice, II2cDevice_Vtbl, 0x8636c136_b9c5_4f70_9449_cc46dc6f57eb); #[repr(C)] pub struct II2cDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -46,7 +46,7 @@ pub struct II2cDevice_Vtbl { pub WriteRead: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8) -> windows_core::HRESULT, pub WriteReadPartial: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8, *mut I2cTransferResult) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(II2cDeviceStatics, II2cDeviceStatics_Vtbl, 0x91a33be3_7334_4512_96bc_fbae9459f5f6); +windows_core::imp::define_interface!(II2cDeviceStatics, II2cDeviceStatics_Vtbl, 0x91a33be3_7334_4512_96bc_fbae9459f5f6); windows_core::imp::interface_hierarchy!(II2cDeviceStatics, windows_core::IUnknown, windows_core::IInspectable); impl II2cDeviceStatics { pub fn GetDeviceSelector(&self) -> windows_core::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 73bcaac31a..b4b4be3505 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/Preview/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGazeDevicePreview, IGazeDevicePreview_Vtbl, 0xe79e7ee9_b389_11e7_b201_c8d3ffb75721); +windows_core::imp::define_interface!(IGazeDevicePreview, IGazeDevicePreview_Vtbl, 0xe79e7ee9_b389_11e7_b201_c8d3ffb75721); #[repr(C)] pub struct IGazeDevicePreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,13 +16,13 @@ pub struct IGazeDevicePreview_Vtbl { #[cfg(not(all(feature = "Devices_HumanInterfaceDevice", feature = "Foundation_Collections")))] GetBooleanControlDescriptions: usize, } -windows_core::imp::com_interface!(IGazeDeviceWatcherAddedPreviewEventArgs, IGazeDeviceWatcherAddedPreviewEventArgs_Vtbl, 0xe79e7eed_b389_11e7_b201_c8d3ffb75721); +windows_core::imp::define_interface!(IGazeDeviceWatcherAddedPreviewEventArgs, IGazeDeviceWatcherAddedPreviewEventArgs_Vtbl, 0xe79e7eed_b389_11e7_b201_c8d3ffb75721); #[repr(C)] pub struct IGazeDeviceWatcherAddedPreviewEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Device: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGazeDeviceWatcherPreview, IGazeDeviceWatcherPreview_Vtbl, 0xe79e7ee7_b389_11e7_b201_c8d3ffb75721); +windows_core::imp::define_interface!(IGazeDeviceWatcherPreview, IGazeDeviceWatcherPreview_Vtbl, 0xe79e7ee7_b389_11e7_b201_c8d3ffb75721); #[repr(C)] pub struct IGazeDeviceWatcherPreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,19 +37,19 @@ pub struct IGazeDeviceWatcherPreview_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IGazeDeviceWatcherRemovedPreviewEventArgs, IGazeDeviceWatcherRemovedPreviewEventArgs_Vtbl, 0xf2631f08_0e3f_431f_a606_50b35af94a1c); +windows_core::imp::define_interface!(IGazeDeviceWatcherRemovedPreviewEventArgs, IGazeDeviceWatcherRemovedPreviewEventArgs_Vtbl, 0xf2631f08_0e3f_431f_a606_50b35af94a1c); #[repr(C)] pub struct IGazeDeviceWatcherRemovedPreviewEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Device: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGazeDeviceWatcherUpdatedPreviewEventArgs, IGazeDeviceWatcherUpdatedPreviewEventArgs_Vtbl, 0x7fe830ef_7f08_4737_88e1_4a83ae4e4885); +windows_core::imp::define_interface!(IGazeDeviceWatcherUpdatedPreviewEventArgs, IGazeDeviceWatcherUpdatedPreviewEventArgs_Vtbl, 0x7fe830ef_7f08_4737_88e1_4a83ae4e4885); #[repr(C)] pub struct IGazeDeviceWatcherUpdatedPreviewEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Device: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGazeEnteredPreviewEventArgs, IGazeEnteredPreviewEventArgs_Vtbl, 0x2567bf43_1225_489f_9dd1_daa7c50fbf4b); +windows_core::imp::define_interface!(IGazeEnteredPreviewEventArgs, IGazeEnteredPreviewEventArgs_Vtbl, 0x2567bf43_1225_489f_9dd1_daa7c50fbf4b); #[repr(C)] pub struct IGazeEnteredPreviewEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,7 +57,7 @@ pub struct IGazeEnteredPreviewEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub CurrentPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGazeExitedPreviewEventArgs, IGazeExitedPreviewEventArgs_Vtbl, 0x5d0af07e_7d83_40ef_9f0a_fbc1bbdcc5ac); +windows_core::imp::define_interface!(IGazeExitedPreviewEventArgs, IGazeExitedPreviewEventArgs_Vtbl, 0x5d0af07e_7d83_40ef_9f0a_fbc1bbdcc5ac); #[repr(C)] pub struct IGazeExitedPreviewEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -65,7 +65,7 @@ pub struct IGazeExitedPreviewEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub CurrentPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGazeInputSourcePreview, IGazeInputSourcePreview_Vtbl, 0xe79e7ee8_b389_11e7_b201_c8d3ffb75721); +windows_core::imp::define_interface!(IGazeInputSourcePreview, IGazeInputSourcePreview_Vtbl, 0xe79e7ee8_b389_11e7_b201_c8d3ffb75721); #[repr(C)] pub struct IGazeInputSourcePreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -76,14 +76,14 @@ pub struct IGazeInputSourcePreview_Vtbl { pub GazeExited: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveGazeExited: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGazeInputSourcePreviewStatics, IGazeInputSourcePreviewStatics_Vtbl, 0xe79e7ee6_b389_11e7_b201_c8d3ffb75721); +windows_core::imp::define_interface!(IGazeInputSourcePreviewStatics, IGazeInputSourcePreviewStatics_Vtbl, 0xe79e7ee6_b389_11e7_b201_c8d3ffb75721); #[repr(C)] pub struct IGazeInputSourcePreviewStatics_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 CreateWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGazeMovedPreviewEventArgs, IGazeMovedPreviewEventArgs_Vtbl, 0xe79e7eeb_b389_11e7_b201_c8d3ffb75721); +windows_core::imp::define_interface!(IGazeMovedPreviewEventArgs, IGazeMovedPreviewEventArgs_Vtbl, 0xe79e7eeb_b389_11e7_b201_c8d3ffb75721); #[repr(C)] pub struct IGazeMovedPreviewEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -95,7 +95,7 @@ pub struct IGazeMovedPreviewEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetIntermediatePoints: usize, } -windows_core::imp::com_interface!(IGazePointPreview, IGazePointPreview_Vtbl, 0xe79e7eea_b389_11e7_b201_c8d3ffb75721); +windows_core::imp::define_interface!(IGazePointPreview, IGazePointPreview_Vtbl, 0xe79e7eea_b389_11e7_b201_c8d3ffb75721); #[repr(C)] pub struct IGazePointPreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Input/mod.rs b/crates/libs/windows/src/Windows/Devices/Input/mod.rs index 18a3243c99..d39f7e573a 100644 --- a/crates/libs/windows/src/Windows/Devices/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Input/mod.rs @@ -1,12 +1,12 @@ #[cfg(feature = "Devices_Input_Preview")] pub mod Preview; -windows_core::imp::com_interface!(IKeyboardCapabilities, IKeyboardCapabilities_Vtbl, 0x3a3f9b56_6798_4bbc_833e_0f34b17c65ff); +windows_core::imp::define_interface!(IKeyboardCapabilities, IKeyboardCapabilities_Vtbl, 0x3a3f9b56_6798_4bbc_833e_0f34b17c65ff); #[repr(C)] pub struct IKeyboardCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub KeyboardPresent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMouseCapabilities, IMouseCapabilities_Vtbl, 0xbca5e023_7dd9_4b6b_9a92_55d43cb38f73); +windows_core::imp::define_interface!(IMouseCapabilities, IMouseCapabilities_Vtbl, 0xbca5e023_7dd9_4b6b_9a92_55d43cb38f73); #[repr(C)] pub struct IMouseCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,26 +16,26 @@ pub struct IMouseCapabilities_Vtbl { pub SwapButtons: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub NumberOfButtons: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMouseDevice, IMouseDevice_Vtbl, 0x88edf458_f2c8_49f4_be1f_c256b388bc11); +windows_core::imp::define_interface!(IMouseDevice, IMouseDevice_Vtbl, 0x88edf458_f2c8_49f4_be1f_c256b388bc11); #[repr(C)] pub struct IMouseDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MouseMoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMouseMoved: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMouseDeviceStatics, IMouseDeviceStatics_Vtbl, 0x484a9045_6d70_49db_8e68_46ffbd17d38d); +windows_core::imp::define_interface!(IMouseDeviceStatics, IMouseDeviceStatics_Vtbl, 0x484a9045_6d70_49db_8e68_46ffbd17d38d); #[repr(C)] pub struct IMouseDeviceStatics_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, } -windows_core::imp::com_interface!(IMouseEventArgs, IMouseEventArgs_Vtbl, 0xf625aa5d_2354_4cc7_9230_96941c969fde); +windows_core::imp::define_interface!(IMouseEventArgs, IMouseEventArgs_Vtbl, 0xf625aa5d_2354_4cc7_9230_96941c969fde); #[repr(C)] pub struct IMouseEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MouseDelta: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MouseDelta) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPenButtonListener, IPenButtonListener_Vtbl, 0x8245c376_1ee3_53f7_b1f7_8334a16f2815); +windows_core::imp::define_interface!(IPenButtonListener, IPenButtonListener_Vtbl, 0x8245c376_1ee3_53f7_b1f7_8334a16f2815); #[repr(C)] pub struct IPenButtonListener_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -49,19 +49,19 @@ pub struct IPenButtonListener_Vtbl { pub TailButtonLongPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveTailButtonLongPressed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPenButtonListenerStatics, IPenButtonListenerStatics_Vtbl, 0x19a8a584_862f_5f69_bfea_05f6584f133f); +windows_core::imp::define_interface!(IPenButtonListenerStatics, IPenButtonListenerStatics_Vtbl, 0x19a8a584_862f_5f69_bfea_05f6584f133f); #[repr(C)] pub struct IPenButtonListenerStatics_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, } -windows_core::imp::com_interface!(IPenDevice, IPenDevice_Vtbl, 0x31856eba_a738_5a8c_b8f6_f97ef68d18ef); +windows_core::imp::define_interface!(IPenDevice, IPenDevice_Vtbl, 0x31856eba_a738_5a8c_b8f6_f97ef68d18ef); #[repr(C)] pub struct IPenDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PenId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPenDevice2, IPenDevice2_Vtbl, 0x0207d327_7fb8_5566_8c34_f8342037b7f9); +windows_core::imp::define_interface!(IPenDevice2, IPenDevice2_Vtbl, 0x0207d327_7fb8_5566_8c34_f8342037b7f9); #[repr(C)] pub struct IPenDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,13 +70,13 @@ pub struct IPenDevice2_Vtbl { #[cfg(not(feature = "Devices_Haptics"))] SimpleHapticsController: usize, } -windows_core::imp::com_interface!(IPenDeviceStatics, IPenDeviceStatics_Vtbl, 0x9dfbbe01_0966_5180_bcb4_b85060e39479); +windows_core::imp::define_interface!(IPenDeviceStatics, IPenDeviceStatics_Vtbl, 0x9dfbbe01_0966_5180_bcb4_b85060e39479); #[repr(C)] pub struct IPenDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetFromPointerId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPenDockListener, IPenDockListener_Vtbl, 0x759f4d90_1dc0_55cb_ad18_b9101456f592); +windows_core::imp::define_interface!(IPenDockListener, IPenDockListener_Vtbl, 0x759f4d90_1dc0_55cb_ad18_b9101456f592); #[repr(C)] pub struct IPenDockListener_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,38 +88,38 @@ pub struct IPenDockListener_Vtbl { pub Undocked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveUndocked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPenDockListenerStatics, IPenDockListenerStatics_Vtbl, 0xcab75e9a_0016_5c72_969e_a97e11992a93); +windows_core::imp::define_interface!(IPenDockListenerStatics, IPenDockListenerStatics_Vtbl, 0xcab75e9a_0016_5c72_969e_a97e11992a93); #[repr(C)] pub struct IPenDockListenerStatics_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, } -windows_core::imp::com_interface!(IPenDockedEventArgs, IPenDockedEventArgs_Vtbl, 0xfd4277c6_ca63_5d4e_9ed3_a28a54521c8c); +windows_core::imp::define_interface!(IPenDockedEventArgs, IPenDockedEventArgs_Vtbl, 0xfd4277c6_ca63_5d4e_9ed3_a28a54521c8c); #[repr(C)] pub struct IPenDockedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPenTailButtonClickedEventArgs, IPenTailButtonClickedEventArgs_Vtbl, 0x5d2fb7b6_6ad3_5d3e_ab29_05ea2410e390); +windows_core::imp::define_interface!(IPenTailButtonClickedEventArgs, IPenTailButtonClickedEventArgs_Vtbl, 0x5d2fb7b6_6ad3_5d3e_ab29_05ea2410e390); #[repr(C)] pub struct IPenTailButtonClickedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPenTailButtonDoubleClickedEventArgs, IPenTailButtonDoubleClickedEventArgs_Vtbl, 0x846321a2_618a_5478_b04c_b358231da4a7); +windows_core::imp::define_interface!(IPenTailButtonDoubleClickedEventArgs, IPenTailButtonDoubleClickedEventArgs_Vtbl, 0x846321a2_618a_5478_b04c_b358231da4a7); #[repr(C)] pub struct IPenTailButtonDoubleClickedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPenTailButtonLongPressedEventArgs, IPenTailButtonLongPressedEventArgs_Vtbl, 0xf37c606e_c60a_5f42_b818_a53112406c13); +windows_core::imp::define_interface!(IPenTailButtonLongPressedEventArgs, IPenTailButtonLongPressedEventArgs_Vtbl, 0xf37c606e_c60a_5f42_b818_a53112406c13); #[repr(C)] pub struct IPenTailButtonLongPressedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPenUndockedEventArgs, IPenUndockedEventArgs_Vtbl, 0xccd09150_261b_59e6_a5d4_c1964cd03feb); +windows_core::imp::define_interface!(IPenUndockedEventArgs, IPenUndockedEventArgs_Vtbl, 0xccd09150_261b_59e6_a5d4_c1964cd03feb); #[repr(C)] pub struct IPenUndockedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPointerDevice, IPointerDevice_Vtbl, 0x93c9bafc_ebcb_467e_82c6_276feae36b5a); +windows_core::imp::define_interface!(IPointerDevice, IPointerDevice_Vtbl, 0x93c9bafc_ebcb_467e_82c6_276feae36b5a); #[repr(C)] pub struct IPointerDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -133,13 +133,13 @@ pub struct IPointerDevice_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedUsages: usize, } -windows_core::imp::com_interface!(IPointerDevice2, IPointerDevice2_Vtbl, 0xf8a6d2a0_c484_489f_ae3e_30d2ee1ffd3e); +windows_core::imp::define_interface!(IPointerDevice2, IPointerDevice2_Vtbl, 0xf8a6d2a0_c484_489f_ae3e_30d2ee1ffd3e); #[repr(C)] pub struct IPointerDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MaxPointersWithZDistance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPointerDeviceStatics, IPointerDeviceStatics_Vtbl, 0xd8b89aa1_d1c6_416e_bd8d_5790914dc563); +windows_core::imp::define_interface!(IPointerDeviceStatics, IPointerDeviceStatics_Vtbl, 0xd8b89aa1_d1c6_416e_bd8d_5790914dc563); #[repr(C)] pub struct IPointerDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -149,7 +149,7 @@ pub struct IPointerDeviceStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetPointerDevices: usize, } -windows_core::imp::com_interface!(ITouchCapabilities, ITouchCapabilities_Vtbl, 0x20dd55f9_13f1_46c8_9285_2c05fa3eda6f); +windows_core::imp::define_interface!(ITouchCapabilities, ITouchCapabilities_Vtbl, 0x20dd55f9_13f1_46c8_9285_2c05fa3eda6f); #[repr(C)] pub struct ITouchCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 f4795e5692..9a8cf23cbd 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ILampArrayBitmapEffect, ILampArrayBitmapEffect_Vtbl, 0x3238e065_d877_4627_89e5_2a88f7052fa6); +windows_core::imp::define_interface!(ILampArrayBitmapEffect, ILampArrayBitmapEffect_Vtbl, 0x3238e065_d877_4627_89e5_2a88f7052fa6); #[repr(C)] pub struct ILampArrayBitmapEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -12,13 +12,13 @@ pub struct ILampArrayBitmapEffect_Vtbl { pub BitmapRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveBitmapRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArrayBitmapEffectFactory, ILampArrayBitmapEffectFactory_Vtbl, 0x13608090_e336_4c8f_9053_a92407ca7b1d); +windows_core::imp::define_interface!(ILampArrayBitmapEffectFactory, ILampArrayBitmapEffectFactory_Vtbl, 0x13608090_e336_4c8f_9053_a92407ca7b1d); #[repr(C)] pub struct ILampArrayBitmapEffectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArrayBitmapRequestedEventArgs, ILampArrayBitmapRequestedEventArgs_Vtbl, 0xc8b4af9e_fe63_4d51_babd_619defb454ba); +windows_core::imp::define_interface!(ILampArrayBitmapRequestedEventArgs, ILampArrayBitmapRequestedEventArgs_Vtbl, 0xc8b4af9e_fe63_4d51_babd_619defb454ba); #[repr(C)] pub struct ILampArrayBitmapRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -28,7 +28,7 @@ pub struct ILampArrayBitmapRequestedEventArgs_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] UpdateBitmap: usize, } -windows_core::imp::com_interface!(ILampArrayBlinkEffect, ILampArrayBlinkEffect_Vtbl, 0xebbf35f6_2fc5_4bb3_b3c3_6221a7680d13); +windows_core::imp::define_interface!(ILampArrayBlinkEffect, ILampArrayBlinkEffect_Vtbl, 0xebbf35f6_2fc5_4bb3_b3c3_6221a7680d13); #[repr(C)] pub struct ILampArrayBlinkEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -55,13 +55,13 @@ pub struct ILampArrayBlinkEffect_Vtbl { pub RepetitionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LampArrayRepetitionMode) -> windows_core::HRESULT, pub SetRepetitionMode: unsafe extern "system" fn(*mut core::ffi::c_void, LampArrayRepetitionMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArrayBlinkEffectFactory, ILampArrayBlinkEffectFactory_Vtbl, 0x879f1d97_9f50_49b2_a56f_013aa08d55e0); +windows_core::imp::define_interface!(ILampArrayBlinkEffectFactory, ILampArrayBlinkEffectFactory_Vtbl, 0x879f1d97_9f50_49b2_a56f_013aa08d55e0); #[repr(C)] pub struct ILampArrayBlinkEffectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArrayColorRampEffect, ILampArrayColorRampEffect_Vtbl, 0x2b004437_40a7_432e_a0b9_0d570c2153ff); +windows_core::imp::define_interface!(ILampArrayColorRampEffect, ILampArrayColorRampEffect_Vtbl, 0x2b004437_40a7_432e_a0b9_0d570c2153ff); #[repr(C)] pub struct ILampArrayColorRampEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -80,13 +80,13 @@ pub struct ILampArrayColorRampEffect_Vtbl { pub CompletionBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LampArrayEffectCompletionBehavior) -> windows_core::HRESULT, pub SetCompletionBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, LampArrayEffectCompletionBehavior) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArrayColorRampEffectFactory, ILampArrayColorRampEffectFactory_Vtbl, 0x520bd133_0c74_4df5_bea7_4899e0266b0f); +windows_core::imp::define_interface!(ILampArrayColorRampEffectFactory, ILampArrayColorRampEffectFactory_Vtbl, 0x520bd133_0c74_4df5_bea7_4899e0266b0f); #[repr(C)] pub struct ILampArrayColorRampEffectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArrayCustomEffect, ILampArrayCustomEffect_Vtbl, 0xec579170_3c34_4876_818b_5765f78b0ee4); +windows_core::imp::define_interface!(ILampArrayCustomEffect, ILampArrayCustomEffect_Vtbl, 0xec579170_3c34_4876_818b_5765f78b0ee4); #[repr(C)] pub struct ILampArrayCustomEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -97,13 +97,13 @@ pub struct ILampArrayCustomEffect_Vtbl { pub UpdateRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveUpdateRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArrayCustomEffectFactory, ILampArrayCustomEffectFactory_Vtbl, 0x68b4774d_63e5_4af0_a58b_3e535b94e8c9); +windows_core::imp::define_interface!(ILampArrayCustomEffectFactory, ILampArrayCustomEffectFactory_Vtbl, 0x68b4774d_63e5_4af0_a58b_3e535b94e8c9); #[repr(C)] pub struct ILampArrayCustomEffectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArrayEffect, ILampArrayEffect_Vtbl, 0x11d45590_57fb_4546_b1ce_863107f740df); +windows_core::imp::define_interface!(ILampArrayEffect, ILampArrayEffect_Vtbl, 0x11d45590_57fb_4546_b1ce_863107f740df); windows_core::imp::interface_hierarchy!(ILampArrayEffect, windows_core::IUnknown, windows_core::IInspectable); impl ILampArrayEffect { pub fn ZIndex(&self) -> windows_core::Result { @@ -127,7 +127,7 @@ pub struct ILampArrayEffect_Vtbl { pub ZIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetZIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArrayEffectPlaylist, ILampArrayEffectPlaylist_Vtbl, 0x7de58bfe_6f61_4103_98c7_d6632f7b9169); +windows_core::imp::define_interface!(ILampArrayEffectPlaylist, ILampArrayEffectPlaylist_Vtbl, 0x7de58bfe_6f61_4103_98c7_d6632f7b9169); #[repr(C)] pub struct ILampArrayEffectPlaylist_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -143,7 +143,7 @@ pub struct ILampArrayEffectPlaylist_Vtbl { pub RepetitionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LampArrayRepetitionMode) -> windows_core::HRESULT, pub SetRepetitionMode: unsafe extern "system" fn(*mut core::ffi::c_void, LampArrayRepetitionMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArrayEffectPlaylistStatics, ILampArrayEffectPlaylistStatics_Vtbl, 0xfb15235c_ea35_4c7f_a016_f3bfc6a6c47d); +windows_core::imp::define_interface!(ILampArrayEffectPlaylistStatics, ILampArrayEffectPlaylistStatics_Vtbl, 0xfb15235c_ea35_4c7f_a016_f3bfc6a6c47d); #[repr(C)] pub struct ILampArrayEffectPlaylistStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -160,7 +160,7 @@ pub struct ILampArrayEffectPlaylistStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PauseAll: usize, } -windows_core::imp::com_interface!(ILampArraySolidEffect, ILampArraySolidEffect_Vtbl, 0x441f8213_43cc_4b33_80eb_c6ddde7dc8ed); +windows_core::imp::define_interface!(ILampArraySolidEffect, ILampArraySolidEffect_Vtbl, 0x441f8213_43cc_4b33_80eb_c6ddde7dc8ed); #[repr(C)] pub struct ILampArraySolidEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -179,13 +179,13 @@ pub struct ILampArraySolidEffect_Vtbl { pub CompletionBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LampArrayEffectCompletionBehavior) -> windows_core::HRESULT, pub SetCompletionBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, LampArrayEffectCompletionBehavior) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArraySolidEffectFactory, ILampArraySolidEffectFactory_Vtbl, 0xf862a32c_5576_4341_961b_aee1f13cf9dd); +windows_core::imp::define_interface!(ILampArraySolidEffectFactory, ILampArraySolidEffectFactory_Vtbl, 0xf862a32c_5576_4341_961b_aee1f13cf9dd); #[repr(C)] pub struct ILampArraySolidEffectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampArrayUpdateRequestedEventArgs, ILampArrayUpdateRequestedEventArgs_Vtbl, 0x73560d6a_576a_48af_8539_67ffa0ab3516); +windows_core::imp::define_interface!(ILampArrayUpdateRequestedEventArgs, ILampArrayUpdateRequestedEventArgs_Vtbl, 0x73560d6a_576a_48af_8539_67ffa0ab3516); #[repr(C)] pub struct ILampArrayUpdateRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs index 6163bca1b3..850f578739 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Devices_Lights_Effects")] pub mod Effects; -windows_core::imp::com_interface!(ILamp, ILamp_Vtbl, 0x047d5b9a_ea45_4b2b_b1a2_14dff00bde7b); +windows_core::imp::define_interface!(ILamp, ILamp_Vtbl, 0x047d5b9a_ea45_4b2b_b1a2_14dff00bde7b); #[repr(C)] pub struct ILamp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -21,7 +21,7 @@ pub struct ILamp_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, } -windows_core::imp::com_interface!(ILampArray, ILampArray_Vtbl, 0x7ace9787_c8a0_4e95_a1e0_d58676538649); +windows_core::imp::define_interface!(ILampArray, ILampArray_Vtbl, 0x7ace9787_c8a0_4e95_a1e0_d58676538649); #[repr(C)] pub struct ILampArray_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -85,7 +85,7 @@ pub struct ILampArray_Vtbl { #[cfg(not(feature = "Storage_Streams"))] RequestMessageAsync: usize, } -windows_core::imp::com_interface!(ILampArray2, ILampArray2_Vtbl, 0x050c181f_60a8_4711_a1af_1b1b4c658ea2); +windows_core::imp::define_interface!(ILampArray2, ILampArray2_Vtbl, 0x050c181f_60a8_4711_a1af_1b1b4c658ea2); #[repr(C)] pub struct ILampArray2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -93,20 +93,20 @@ pub struct ILampArray2_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, } -windows_core::imp::com_interface!(ILampArrayStatics, ILampArrayStatics_Vtbl, 0x7bb8c98d_5fc1_452d_bb1f_4ad410d398ff); +windows_core::imp::define_interface!(ILampArrayStatics, ILampArrayStatics_Vtbl, 0x7bb8c98d_5fc1_452d_bb1f_4ad410d398ff); #[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, } -windows_core::imp::com_interface!(ILampAvailabilityChangedEventArgs, ILampAvailabilityChangedEventArgs_Vtbl, 0x4f6e3ded_07a2_499d_9260_67e304532ba4); +windows_core::imp::define_interface!(ILampAvailabilityChangedEventArgs, ILampAvailabilityChangedEventArgs_Vtbl, 0x4f6e3ded_07a2_499d_9260_67e304532ba4); #[repr(C)] pub struct ILampAvailabilityChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampInfo, ILampInfo_Vtbl, 0x30bb521c_0acf_49da_8c10_150b9cf62713); +windows_core::imp::define_interface!(ILampInfo, ILampInfo_Vtbl, 0x30bb521c_0acf_49da_8c10_150b9cf62713); #[repr(C)] pub struct ILampInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -130,7 +130,7 @@ pub struct ILampInfo_Vtbl { GetNearestSupportedColor: usize, pub UpdateLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILampStatics, ILampStatics_Vtbl, 0xa822416c_8885_401e_b821_8e8b38a8e8ec); +windows_core::imp::define_interface!(ILampStatics, ILampStatics_Vtbl, 0xa822416c_8885_401e_b821_8e8b38a8e8ec); #[repr(C)] pub struct ILampStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs index 2f337d98e1..7ef7045a3b 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/mod.rs @@ -1,17 +1,17 @@ -windows_core::imp::com_interface!(IMidiChannelPressureMessage, IMidiChannelPressureMessage_Vtbl, 0xbe1fa860_62b4_4d52_a37e_92e54d35b909); +windows_core::imp::define_interface!(IMidiChannelPressureMessage, IMidiChannelPressureMessage_Vtbl, 0xbe1fa860_62b4_4d52_a37e_92e54d35b909); #[repr(C)] pub struct IMidiChannelPressureMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Channel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Pressure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiChannelPressureMessageFactory, IMidiChannelPressureMessageFactory_Vtbl, 0x6218ed2f_2284_412a_94cf_10fb04842c6c); +windows_core::imp::define_interface!(IMidiChannelPressureMessageFactory, IMidiChannelPressureMessageFactory_Vtbl, 0x6218ed2f_2284_412a_94cf_10fb04842c6c); #[repr(C)] pub struct IMidiChannelPressureMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateMidiChannelPressureMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiControlChangeMessage, IMidiControlChangeMessage_Vtbl, 0xb7e15f83_780d_405f_b781_3e1598c97f40); +windows_core::imp::define_interface!(IMidiControlChangeMessage, IMidiControlChangeMessage_Vtbl, 0xb7e15f83_780d_405f_b781_3e1598c97f40); #[repr(C)] pub struct IMidiControlChangeMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,13 +19,13 @@ pub struct IMidiControlChangeMessage_Vtbl { pub Controller: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub ControlValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiControlChangeMessageFactory, IMidiControlChangeMessageFactory_Vtbl, 0x2ab14321_956c_46ad_9752_f87f55052fe3); +windows_core::imp::define_interface!(IMidiControlChangeMessageFactory, IMidiControlChangeMessageFactory_Vtbl, 0x2ab14321_956c_46ad_9752_f87f55052fe3); #[repr(C)] pub struct IMidiControlChangeMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateMidiControlChangeMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiInPort, IMidiInPort_Vtbl, 0xd5c1d9db_971a_4eaf_a23d_ea19fe607ff9); +windows_core::imp::define_interface!(IMidiInPort, IMidiInPort_Vtbl, 0xd5c1d9db_971a_4eaf_a23d_ea19fe607ff9); #[repr(C)] pub struct IMidiInPort_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,14 +33,14 @@ pub struct IMidiInPort_Vtbl { 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, } -windows_core::imp::com_interface!(IMidiInPortStatics, IMidiInPortStatics_Vtbl, 0x44c439dc_67ff_4a6e_8bac_fdb6610cf296); +windows_core::imp::define_interface!(IMidiInPortStatics, IMidiInPortStatics_Vtbl, 0x44c439dc_67ff_4a6e_8bac_fdb6610cf296); #[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, } -windows_core::imp::com_interface!(IMidiMessage, IMidiMessage_Vtbl, 0x79767945_1094_4283_9be0_289fc0ee8334); +windows_core::imp::define_interface!(IMidiMessage, IMidiMessage_Vtbl, 0x79767945_1094_4283_9be0_289fc0ee8334); windows_core::imp::interface_hierarchy!(IMidiMessage, windows_core::IUnknown, windows_core::IInspectable); impl IMidiMessage { pub fn Timestamp(&self) -> windows_core::Result { @@ -79,13 +79,13 @@ pub struct IMidiMessage_Vtbl { RawData: usize, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MidiMessageType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiMessageReceivedEventArgs, IMidiMessageReceivedEventArgs_Vtbl, 0x76566e56_f328_4b51_907d_b3a8ce96bf80); +windows_core::imp::define_interface!(IMidiMessageReceivedEventArgs, IMidiMessageReceivedEventArgs_Vtbl, 0x76566e56_f328_4b51_907d_b3a8ce96bf80); #[repr(C)] pub struct IMidiMessageReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiNoteOffMessage, IMidiNoteOffMessage_Vtbl, 0x16fd8af4_198e_4d8f_a654_d305a293548f); +windows_core::imp::define_interface!(IMidiNoteOffMessage, IMidiNoteOffMessage_Vtbl, 0x16fd8af4_198e_4d8f_a654_d305a293548f); #[repr(C)] pub struct IMidiNoteOffMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -93,13 +93,13 @@ pub struct IMidiNoteOffMessage_Vtbl { pub Note: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Velocity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiNoteOffMessageFactory, IMidiNoteOffMessageFactory_Vtbl, 0xa6b240e0_a749_425f_8af4_a4d979cc15b5); +windows_core::imp::define_interface!(IMidiNoteOffMessageFactory, IMidiNoteOffMessageFactory_Vtbl, 0xa6b240e0_a749_425f_8af4_a4d979cc15b5); #[repr(C)] pub struct IMidiNoteOffMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateMidiNoteOffMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiNoteOnMessage, IMidiNoteOnMessage_Vtbl, 0xe0224af5_6181_46dd_afa2_410004c057aa); +windows_core::imp::define_interface!(IMidiNoteOnMessage, IMidiNoteOnMessage_Vtbl, 0xe0224af5_6181_46dd_afa2_410004c057aa); #[repr(C)] pub struct IMidiNoteOnMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -107,13 +107,13 @@ pub struct IMidiNoteOnMessage_Vtbl { pub Note: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Velocity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiNoteOnMessageFactory, IMidiNoteOnMessageFactory_Vtbl, 0x9b4280a0_59c1_420e_b517_15a10aa9606b); +windows_core::imp::define_interface!(IMidiNoteOnMessageFactory, IMidiNoteOnMessageFactory_Vtbl, 0x9b4280a0_59c1_420e_b517_15a10aa9606b); #[repr(C)] pub struct IMidiNoteOnMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateMidiNoteOnMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiOutPort, IMidiOutPort_Vtbl, 0x931d6d9f_57a2_4a3a_adb8_4640886f6693); +windows_core::imp::define_interface!(IMidiOutPort, IMidiOutPort_Vtbl, 0x931d6d9f_57a2_4a3a_adb8_4640886f6693); windows_core::imp::interface_hierarchy!(IMidiOutPort, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IMidiOutPort, super::super::Foundation::IClosable); impl IMidiOutPort { @@ -157,27 +157,27 @@ pub struct IMidiOutPort_Vtbl { SendBuffer: usize, pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiOutPortStatics, IMidiOutPortStatics_Vtbl, 0x065cc3e9_0f88_448b_9b64_a95826c65b8f); +windows_core::imp::define_interface!(IMidiOutPortStatics, IMidiOutPortStatics_Vtbl, 0x065cc3e9_0f88_448b_9b64_a95826c65b8f); #[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, } -windows_core::imp::com_interface!(IMidiPitchBendChangeMessage, IMidiPitchBendChangeMessage_Vtbl, 0x29df4cb1_2e9f_4faf_8c2b_9cb82a9079ca); +windows_core::imp::define_interface!(IMidiPitchBendChangeMessage, IMidiPitchBendChangeMessage_Vtbl, 0x29df4cb1_2e9f_4faf_8c2b_9cb82a9079ca); #[repr(C)] pub struct IMidiPitchBendChangeMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Channel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Bend: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiPitchBendChangeMessageFactory, IMidiPitchBendChangeMessageFactory_Vtbl, 0xf5eedf55_cfc8_4926_b30e_a3622393306c); +windows_core::imp::define_interface!(IMidiPitchBendChangeMessageFactory, IMidiPitchBendChangeMessageFactory_Vtbl, 0xf5eedf55_cfc8_4926_b30e_a3622393306c); #[repr(C)] pub struct IMidiPitchBendChangeMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateMidiPitchBendChangeMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiPolyphonicKeyPressureMessage, IMidiPolyphonicKeyPressureMessage_Vtbl, 0x1f7337fe_ace8_48a0_868e_7cdbf20f04d6); +windows_core::imp::define_interface!(IMidiPolyphonicKeyPressureMessage, IMidiPolyphonicKeyPressureMessage_Vtbl, 0x1f7337fe_ace8_48a0_868e_7cdbf20f04d6); #[repr(C)] pub struct IMidiPolyphonicKeyPressureMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -185,50 +185,50 @@ pub struct IMidiPolyphonicKeyPressureMessage_Vtbl { pub Note: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Pressure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiPolyphonicKeyPressureMessageFactory, IMidiPolyphonicKeyPressureMessageFactory_Vtbl, 0xe98f483e_c4b3_4dd2_917c_e349815a1b3b); +windows_core::imp::define_interface!(IMidiPolyphonicKeyPressureMessageFactory, IMidiPolyphonicKeyPressureMessageFactory_Vtbl, 0xe98f483e_c4b3_4dd2_917c_e349815a1b3b); #[repr(C)] pub struct IMidiPolyphonicKeyPressureMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateMidiPolyphonicKeyPressureMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiProgramChangeMessage, IMidiProgramChangeMessage_Vtbl, 0x9cbb3c78_7a3e_4327_aa98_20b8e4485af8); +windows_core::imp::define_interface!(IMidiProgramChangeMessage, IMidiProgramChangeMessage_Vtbl, 0x9cbb3c78_7a3e_4327_aa98_20b8e4485af8); #[repr(C)] pub struct IMidiProgramChangeMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Channel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Program: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiProgramChangeMessageFactory, IMidiProgramChangeMessageFactory_Vtbl, 0xd6b04387_524b_4104_9c99_6572bfd2e261); +windows_core::imp::define_interface!(IMidiProgramChangeMessageFactory, IMidiProgramChangeMessageFactory_Vtbl, 0xd6b04387_524b_4104_9c99_6572bfd2e261); #[repr(C)] pub struct IMidiProgramChangeMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateMidiProgramChangeMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiSongPositionPointerMessage, IMidiSongPositionPointerMessage_Vtbl, 0x4ca50c56_ec5e_4ae4_a115_88dc57cc2b79); +windows_core::imp::define_interface!(IMidiSongPositionPointerMessage, IMidiSongPositionPointerMessage_Vtbl, 0x4ca50c56_ec5e_4ae4_a115_88dc57cc2b79); #[repr(C)] pub struct IMidiSongPositionPointerMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Beats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiSongPositionPointerMessageFactory, IMidiSongPositionPointerMessageFactory_Vtbl, 0x9c00e996_f10b_4fea_b395_f5d6cf80f64e); +windows_core::imp::define_interface!(IMidiSongPositionPointerMessageFactory, IMidiSongPositionPointerMessageFactory_Vtbl, 0x9c00e996_f10b_4fea_b395_f5d6cf80f64e); #[repr(C)] pub struct IMidiSongPositionPointerMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateMidiSongPositionPointerMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiSongSelectMessage, IMidiSongSelectMessage_Vtbl, 0x49f0f27f_6d83_4741_a5bf_4629f6be974f); +windows_core::imp::define_interface!(IMidiSongSelectMessage, IMidiSongSelectMessage_Vtbl, 0x49f0f27f_6d83_4741_a5bf_4629f6be974f); #[repr(C)] pub struct IMidiSongSelectMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Song: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiSongSelectMessageFactory, IMidiSongSelectMessageFactory_Vtbl, 0x848878e4_8748_4129_a66c_a05493f75daa); +windows_core::imp::define_interface!(IMidiSongSelectMessageFactory, IMidiSongSelectMessageFactory_Vtbl, 0x848878e4_8748_4129_a66c_a05493f75daa); #[repr(C)] pub struct IMidiSongSelectMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateMidiSongSelectMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiSynthesizer, IMidiSynthesizer_Vtbl, 0xf0da155e_db90_405f_b8ae_21d2e17f2e45); +windows_core::imp::define_interface!(IMidiSynthesizer, IMidiSynthesizer_Vtbl, 0xf0da155e_db90_405f_b8ae_21d2e17f2e45); #[repr(C)] pub struct IMidiSynthesizer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -239,7 +239,7 @@ pub struct IMidiSynthesizer_Vtbl { pub Volume: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetVolume: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiSynthesizerStatics, IMidiSynthesizerStatics_Vtbl, 0x4224eaa8_6629_4d6b_aa8f_d4521a5a31ce); +windows_core::imp::define_interface!(IMidiSynthesizerStatics, IMidiSynthesizerStatics_Vtbl, 0x4224eaa8_6629_4d6b_aa8f_d4521a5a31ce); #[repr(C)] pub struct IMidiSynthesizerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -253,7 +253,7 @@ pub struct IMidiSynthesizerStatics_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] IsSynthesizer: usize, } -windows_core::imp::com_interface!(IMidiSystemExclusiveMessageFactory, IMidiSystemExclusiveMessageFactory_Vtbl, 0x083de222_3b74_4320_9b42_0ca8545f8a24); +windows_core::imp::define_interface!(IMidiSystemExclusiveMessageFactory, IMidiSystemExclusiveMessageFactory_Vtbl, 0x083de222_3b74_4320_9b42_0ca8545f8a24); #[repr(C)] pub struct IMidiSystemExclusiveMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -262,14 +262,14 @@ pub struct IMidiSystemExclusiveMessageFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateMidiSystemExclusiveMessage: usize, } -windows_core::imp::com_interface!(IMidiTimeCodeMessage, IMidiTimeCodeMessage_Vtbl, 0x0bf7087d_fa63_4a1c_8deb_c0e87796a6d7); +windows_core::imp::define_interface!(IMidiTimeCodeMessage, IMidiTimeCodeMessage_Vtbl, 0x0bf7087d_fa63_4a1c_8deb_c0e87796a6d7); #[repr(C)] pub struct IMidiTimeCodeMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FrameType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Values: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMidiTimeCodeMessageFactory, IMidiTimeCodeMessageFactory_Vtbl, 0xeb3099c5_771c_40de_b961_175a7489a85e); +windows_core::imp::define_interface!(IMidiTimeCodeMessageFactory, IMidiTimeCodeMessageFactory_Vtbl, 0xeb3099c5_771c_40de_b961_175a7489a85e); #[repr(C)] pub struct IMidiTimeCodeMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 34feaf85a0..4405f5feda 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/Provider/mod.rs @@ -1,46 +1,46 @@ -windows_core::imp::com_interface!(IBarcodeScannerDisableScannerRequest, IBarcodeScannerDisableScannerRequest_Vtbl, 0x88ecf7c0_37b9_4275_8e77_c8e52ae5a9c8); +windows_core::imp::define_interface!(IBarcodeScannerDisableScannerRequest, IBarcodeScannerDisableScannerRequest_Vtbl, 0x88ecf7c0_37b9_4275_8e77_c8e52ae5a9c8); #[repr(C)] pub struct IBarcodeScannerDisableScannerRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IBarcodeScannerDisableScannerRequest2, IBarcodeScannerDisableScannerRequest2_Vtbl, 0xccdfe625_65c3_4ccc_b457_f39c7a9ea60d); +windows_core::imp::define_interface!(IBarcodeScannerDisableScannerRequest2, IBarcodeScannerDisableScannerRequest2_Vtbl, 0xccdfe625_65c3_4ccc_b457_f39c7a9ea60d); #[repr(C)] 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, } -windows_core::imp::com_interface!(IBarcodeScannerDisableScannerRequestEventArgs, IBarcodeScannerDisableScannerRequestEventArgs_Vtbl, 0x7006e142_e802_46f5_b604_352a15ce9232); +windows_core::imp::define_interface!(IBarcodeScannerDisableScannerRequestEventArgs, IBarcodeScannerDisableScannerRequestEventArgs_Vtbl, 0x7006e142_e802_46f5_b604_352a15ce9232); #[repr(C)] pub struct IBarcodeScannerDisableScannerRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IBarcodeScannerEnableScannerRequest, IBarcodeScannerEnableScannerRequest_Vtbl, 0xc0b3e9ba_816a_452b_bd77_b7e453ec446d); +windows_core::imp::define_interface!(IBarcodeScannerEnableScannerRequest, IBarcodeScannerEnableScannerRequest_Vtbl, 0xc0b3e9ba_816a_452b_bd77_b7e453ec446d); #[repr(C)] pub struct IBarcodeScannerEnableScannerRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IBarcodeScannerEnableScannerRequest2, IBarcodeScannerEnableScannerRequest2_Vtbl, 0x71a4f2a8_9905_41ac_9121_b645916a84a1); +windows_core::imp::define_interface!(IBarcodeScannerEnableScannerRequest2, IBarcodeScannerEnableScannerRequest2_Vtbl, 0x71a4f2a8_9905_41ac_9121_b645916a84a1); #[repr(C)] 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, } -windows_core::imp::com_interface!(IBarcodeScannerEnableScannerRequestEventArgs, IBarcodeScannerEnableScannerRequestEventArgs_Vtbl, 0x956c9419_7b4e_4451_8c41_8e10cfbc5b41); +windows_core::imp::define_interface!(IBarcodeScannerEnableScannerRequestEventArgs, IBarcodeScannerEnableScannerRequestEventArgs_Vtbl, 0x956c9419_7b4e_4451_8c41_8e10cfbc5b41); #[repr(C)] pub struct IBarcodeScannerEnableScannerRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IBarcodeScannerFrameReader, IBarcodeScannerFrameReader_Vtbl, 0xdbc72b07_64c3_482b_93c8_65fb33c22208); +windows_core::imp::define_interface!(IBarcodeScannerFrameReader, IBarcodeScannerFrameReader_Vtbl, 0xdbc72b07_64c3_482b_93c8_65fb33c22208); #[repr(C)] pub struct IBarcodeScannerFrameReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -51,13 +51,13 @@ pub struct IBarcodeScannerFrameReader_Vtbl { pub FrameArrived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveFrameArrived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarcodeScannerFrameReaderFrameArrivedEventArgs, IBarcodeScannerFrameReaderFrameArrivedEventArgs_Vtbl, 0xb0bbd604_54fd_436d_8629_712e787223dd); +windows_core::imp::define_interface!(IBarcodeScannerFrameReaderFrameArrivedEventArgs, IBarcodeScannerFrameReaderFrameArrivedEventArgs_Vtbl, 0xb0bbd604_54fd_436d_8629_712e787223dd); #[repr(C)] pub struct IBarcodeScannerFrameReaderFrameArrivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarcodeScannerGetSymbologyAttributesRequest, IBarcodeScannerGetSymbologyAttributesRequest_Vtbl, 0x9774c46a_58e4_4c5f_b8e9_e41467632700); +windows_core::imp::define_interface!(IBarcodeScannerGetSymbologyAttributesRequest, IBarcodeScannerGetSymbologyAttributesRequest_Vtbl, 0x9774c46a_58e4_4c5f_b8e9_e41467632700); #[repr(C)] pub struct IBarcodeScannerGetSymbologyAttributesRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -65,42 +65,42 @@ pub struct IBarcodeScannerGetSymbologyAttributesRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IBarcodeScannerGetSymbologyAttributesRequest2, IBarcodeScannerGetSymbologyAttributesRequest2_Vtbl, 0x6a6a2b13_75a8_49fb_b852_bfb93d760af7); +windows_core::imp::define_interface!(IBarcodeScannerGetSymbologyAttributesRequest2, IBarcodeScannerGetSymbologyAttributesRequest2_Vtbl, 0x6a6a2b13_75a8_49fb_b852_bfb93d760af7); #[repr(C)] 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, } -windows_core::imp::com_interface!(IBarcodeScannerGetSymbologyAttributesRequestEventArgs, IBarcodeScannerGetSymbologyAttributesRequestEventArgs_Vtbl, 0x7f89de3e_fb5d_493c_b402_356b24d574a6); +windows_core::imp::define_interface!(IBarcodeScannerGetSymbologyAttributesRequestEventArgs, IBarcodeScannerGetSymbologyAttributesRequestEventArgs_Vtbl, 0x7f89de3e_fb5d_493c_b402_356b24d574a6); #[repr(C)] pub struct IBarcodeScannerGetSymbologyAttributesRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IBarcodeScannerHideVideoPreviewRequest, IBarcodeScannerHideVideoPreviewRequest_Vtbl, 0xfa4ebe7f_6670_40e1_b90b_bb10d8d425fa); +windows_core::imp::define_interface!(IBarcodeScannerHideVideoPreviewRequest, IBarcodeScannerHideVideoPreviewRequest_Vtbl, 0xfa4ebe7f_6670_40e1_b90b_bb10d8d425fa); #[repr(C)] pub struct IBarcodeScannerHideVideoPreviewRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IBarcodeScannerHideVideoPreviewRequest2, IBarcodeScannerHideVideoPreviewRequest2_Vtbl, 0x7e28435d_9814_431d_a2f2_d6248c5ad4b5); +windows_core::imp::define_interface!(IBarcodeScannerHideVideoPreviewRequest2, IBarcodeScannerHideVideoPreviewRequest2_Vtbl, 0x7e28435d_9814_431d_a2f2_d6248c5ad4b5); #[repr(C)] 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, } -windows_core::imp::com_interface!(IBarcodeScannerHideVideoPreviewRequestEventArgs, IBarcodeScannerHideVideoPreviewRequestEventArgs_Vtbl, 0x16a281fc_d6be_4bc7_9df1_33741f3eadea); +windows_core::imp::define_interface!(IBarcodeScannerHideVideoPreviewRequestEventArgs, IBarcodeScannerHideVideoPreviewRequestEventArgs_Vtbl, 0x16a281fc_d6be_4bc7_9df1_33741f3eadea); #[repr(C)] pub struct IBarcodeScannerHideVideoPreviewRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IBarcodeScannerProviderConnection, IBarcodeScannerProviderConnection_Vtbl, 0xb44acbed_0b3a_4fa3_86c5_491ea30780eb); +windows_core::imp::define_interface!(IBarcodeScannerProviderConnection, IBarcodeScannerProviderConnection_Vtbl, 0xb44acbed_0b3a_4fa3_86c5_491ea30780eb); #[repr(C)] pub struct IBarcodeScannerProviderConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -138,7 +138,7 @@ pub struct IBarcodeScannerProviderConnection_Vtbl { pub HideVideoPreviewRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveHideVideoPreviewRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarcodeScannerProviderConnection2, IBarcodeScannerProviderConnection2_Vtbl, 0xbe9b53cd_1134_418c_a06b_04423a73f3d7); +windows_core::imp::define_interface!(IBarcodeScannerProviderConnection2, IBarcodeScannerProviderConnection2_Vtbl, 0xbe9b53cd_1134_418c_a06b_04423a73f3d7); #[repr(C)] pub struct IBarcodeScannerProviderConnection2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -152,13 +152,13 @@ pub struct IBarcodeScannerProviderConnection2_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] CreateFrameReaderWithFormatAndSizeAsync: usize, } -windows_core::imp::com_interface!(IBarcodeScannerProviderTriggerDetails, IBarcodeScannerProviderTriggerDetails_Vtbl, 0x50856d82_24e3_48ce_99c7_70aac1cbc9f7); +windows_core::imp::define_interface!(IBarcodeScannerProviderTriggerDetails, IBarcodeScannerProviderTriggerDetails_Vtbl, 0x50856d82_24e3_48ce_99c7_70aac1cbc9f7); #[repr(C)] pub struct IBarcodeScannerProviderTriggerDetails_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, } -windows_core::imp::com_interface!(IBarcodeScannerSetActiveSymbologiesRequest, IBarcodeScannerSetActiveSymbologiesRequest_Vtbl, 0xdb3f32b9_f7da_41a1_9f79_07bcd95f0bdf); +windows_core::imp::define_interface!(IBarcodeScannerSetActiveSymbologiesRequest, IBarcodeScannerSetActiveSymbologiesRequest_Vtbl, 0xdb3f32b9_f7da_41a1_9f79_07bcd95f0bdf); #[repr(C)] pub struct IBarcodeScannerSetActiveSymbologiesRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -169,21 +169,21 @@ pub struct IBarcodeScannerSetActiveSymbologiesRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IBarcodeScannerSetActiveSymbologiesRequest2, IBarcodeScannerSetActiveSymbologiesRequest2_Vtbl, 0xf5ff6edf_fa9a_4749_b11b_e8fccb75bc6b); +windows_core::imp::define_interface!(IBarcodeScannerSetActiveSymbologiesRequest2, IBarcodeScannerSetActiveSymbologiesRequest2_Vtbl, 0xf5ff6edf_fa9a_4749_b11b_e8fccb75bc6b); #[repr(C)] 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, } -windows_core::imp::com_interface!(IBarcodeScannerSetActiveSymbologiesRequestEventArgs, IBarcodeScannerSetActiveSymbologiesRequestEventArgs_Vtbl, 0x06305afa_7bf6_4d52_801a_330272f60ae1); +windows_core::imp::define_interface!(IBarcodeScannerSetActiveSymbologiesRequestEventArgs, IBarcodeScannerSetActiveSymbologiesRequestEventArgs_Vtbl, 0x06305afa_7bf6_4d52_801a_330272f60ae1); #[repr(C)] pub struct IBarcodeScannerSetActiveSymbologiesRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IBarcodeScannerSetSymbologyAttributesRequest, IBarcodeScannerSetSymbologyAttributesRequest_Vtbl, 0x32fb814f_a37f_48b0_acea_dce1480f12ae); +windows_core::imp::define_interface!(IBarcodeScannerSetSymbologyAttributesRequest, IBarcodeScannerSetSymbologyAttributesRequest_Vtbl, 0x32fb814f_a37f_48b0_acea_dce1480f12ae); #[repr(C)] pub struct IBarcodeScannerSetSymbologyAttributesRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -192,63 +192,63 @@ pub struct IBarcodeScannerSetSymbologyAttributesRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IBarcodeScannerSetSymbologyAttributesRequest2, IBarcodeScannerSetSymbologyAttributesRequest2_Vtbl, 0xdffbbfc1_dba8_4b77_be1e_b56cd72f65b3); +windows_core::imp::define_interface!(IBarcodeScannerSetSymbologyAttributesRequest2, IBarcodeScannerSetSymbologyAttributesRequest2_Vtbl, 0xdffbbfc1_dba8_4b77_be1e_b56cd72f65b3); #[repr(C)] 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, } -windows_core::imp::com_interface!(IBarcodeScannerSetSymbologyAttributesRequestEventArgs, IBarcodeScannerSetSymbologyAttributesRequestEventArgs_Vtbl, 0xb2b89809_9824_47d4_85bd_d0077baa7bd2); +windows_core::imp::define_interface!(IBarcodeScannerSetSymbologyAttributesRequestEventArgs, IBarcodeScannerSetSymbologyAttributesRequestEventArgs_Vtbl, 0xb2b89809_9824_47d4_85bd_d0077baa7bd2); #[repr(C)] pub struct IBarcodeScannerSetSymbologyAttributesRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IBarcodeScannerStartSoftwareTriggerRequest, IBarcodeScannerStartSoftwareTriggerRequest_Vtbl, 0xe3fa7b27_ff62_4454_af4a_cb6144a3e3f7); +windows_core::imp::define_interface!(IBarcodeScannerStartSoftwareTriggerRequest, IBarcodeScannerStartSoftwareTriggerRequest_Vtbl, 0xe3fa7b27_ff62_4454_af4a_cb6144a3e3f7); #[repr(C)] pub struct IBarcodeScannerStartSoftwareTriggerRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IBarcodeScannerStartSoftwareTriggerRequest2, IBarcodeScannerStartSoftwareTriggerRequest2_Vtbl, 0xeb72a25c_6658_4765_a68e_327482653deb); +windows_core::imp::define_interface!(IBarcodeScannerStartSoftwareTriggerRequest2, IBarcodeScannerStartSoftwareTriggerRequest2_Vtbl, 0xeb72a25c_6658_4765_a68e_327482653deb); #[repr(C)] 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, } -windows_core::imp::com_interface!(IBarcodeScannerStartSoftwareTriggerRequestEventArgs, IBarcodeScannerStartSoftwareTriggerRequestEventArgs_Vtbl, 0x2305d843_c88f_4f3b_8c3b_d3df071051ec); +windows_core::imp::define_interface!(IBarcodeScannerStartSoftwareTriggerRequestEventArgs, IBarcodeScannerStartSoftwareTriggerRequestEventArgs_Vtbl, 0x2305d843_c88f_4f3b_8c3b_d3df071051ec); #[repr(C)] pub struct IBarcodeScannerStartSoftwareTriggerRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IBarcodeScannerStopSoftwareTriggerRequest, IBarcodeScannerStopSoftwareTriggerRequest_Vtbl, 0x6f9faf35_e287_4ca8_b70d_5a91d694f668); +windows_core::imp::define_interface!(IBarcodeScannerStopSoftwareTriggerRequest, IBarcodeScannerStopSoftwareTriggerRequest_Vtbl, 0x6f9faf35_e287_4ca8_b70d_5a91d694f668); #[repr(C)] pub struct IBarcodeScannerStopSoftwareTriggerRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IBarcodeScannerStopSoftwareTriggerRequest2, IBarcodeScannerStopSoftwareTriggerRequest2_Vtbl, 0xcb57c5dd_fe50_49f8_a0b4_bdc230814da2); +windows_core::imp::define_interface!(IBarcodeScannerStopSoftwareTriggerRequest2, IBarcodeScannerStopSoftwareTriggerRequest2_Vtbl, 0xcb57c5dd_fe50_49f8_a0b4_bdc230814da2); #[repr(C)] 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, } -windows_core::imp::com_interface!(IBarcodeScannerStopSoftwareTriggerRequestEventArgs, IBarcodeScannerStopSoftwareTriggerRequestEventArgs_Vtbl, 0xeac34450_4eb7_481a_9273_147a273b99b8); +windows_core::imp::define_interface!(IBarcodeScannerStopSoftwareTriggerRequestEventArgs, IBarcodeScannerStopSoftwareTriggerRequestEventArgs_Vtbl, 0xeac34450_4eb7_481a_9273_147a273b99b8); #[repr(C)] pub struct IBarcodeScannerStopSoftwareTriggerRequestEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*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::com_interface!(IBarcodeScannerVideoFrame, IBarcodeScannerVideoFrame_Vtbl, 0x7e585248_9df7_4121_a175_801d8000112e); +windows_core::imp::define_interface!(IBarcodeScannerVideoFrame, IBarcodeScannerVideoFrame_Vtbl, 0x7e585248_9df7_4121_a175_801d8000112e); #[repr(C)] pub struct IBarcodeScannerVideoFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -263,7 +263,7 @@ pub struct IBarcodeScannerVideoFrame_Vtbl { #[cfg(not(feature = "Storage_Streams"))] PixelData: usize, } -windows_core::imp::com_interface!(IBarcodeSymbologyAttributesBuilder, IBarcodeSymbologyAttributesBuilder_Vtbl, 0xc57b0cbf_e4f5_40b9_84cf_e63fbaea42b4); +windows_core::imp::define_interface!(IBarcodeSymbologyAttributesBuilder, IBarcodeSymbologyAttributesBuilder_Vtbl, 0xc57b0cbf_e4f5_40b9_84cf_e63fbaea42b4); #[repr(C)] pub struct IBarcodeSymbologyAttributesBuilder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs index b6d38d770b..45019d526a 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Devices_PointOfService_Provider")] pub mod Provider; -windows_core::imp::com_interface!(IBarcodeScanner, IBarcodeScanner_Vtbl, 0xbea33e06_b264_4f03_a9c1_45b20f01134f); +windows_core::imp::define_interface!(IBarcodeScanner, IBarcodeScanner_Vtbl, 0xbea33e06_b264_4f03_a9c1_45b20f01134f); #[repr(C)] pub struct IBarcodeScanner_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -25,13 +25,13 @@ pub struct IBarcodeScanner_Vtbl { 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, } -windows_core::imp::com_interface!(IBarcodeScanner2, IBarcodeScanner2_Vtbl, 0x89215167_8cee_436d_89ab_8dfb43bb4286); +windows_core::imp::define_interface!(IBarcodeScanner2, IBarcodeScanner2_Vtbl, 0x89215167_8cee_436d_89ab_8dfb43bb4286); #[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, } -windows_core::imp::com_interface!(IBarcodeScannerCapabilities, IBarcodeScannerCapabilities_Vtbl, 0xc60691e4_f2c8_4420_a307_b12ef6622857); +windows_core::imp::define_interface!(IBarcodeScannerCapabilities, IBarcodeScannerCapabilities_Vtbl, 0xc60691e4_f2c8_4420_a307_b12ef6622857); #[repr(C)] pub struct IBarcodeScannerCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -40,25 +40,25 @@ pub struct IBarcodeScannerCapabilities_Vtbl { pub IsStatisticsUpdatingSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsImagePreviewSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarcodeScannerCapabilities1, IBarcodeScannerCapabilities1_Vtbl, 0x8e5ab3e9_0e2c_472f_a1cc_ee8054b6a684); +windows_core::imp::define_interface!(IBarcodeScannerCapabilities1, IBarcodeScannerCapabilities1_Vtbl, 0x8e5ab3e9_0e2c_472f_a1cc_ee8054b6a684); #[repr(C)] pub struct IBarcodeScannerCapabilities1_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSoftwareTriggerSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarcodeScannerCapabilities2, IBarcodeScannerCapabilities2_Vtbl, 0xf211cfec_e1a1_4ea8_9abc_92b1596270ab); +windows_core::imp::define_interface!(IBarcodeScannerCapabilities2, IBarcodeScannerCapabilities2_Vtbl, 0xf211cfec_e1a1_4ea8_9abc_92b1596270ab); #[repr(C)] pub struct IBarcodeScannerCapabilities2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsVideoPreviewSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarcodeScannerDataReceivedEventArgs, IBarcodeScannerDataReceivedEventArgs_Vtbl, 0x4234a7e2_ed97_467d_ad2b_01e44313a929); +windows_core::imp::define_interface!(IBarcodeScannerDataReceivedEventArgs, IBarcodeScannerDataReceivedEventArgs_Vtbl, 0x4234a7e2_ed97_467d_ad2b_01e44313a929); #[repr(C)] pub struct IBarcodeScannerDataReceivedEventArgs_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, } -windows_core::imp::com_interface!(IBarcodeScannerErrorOccurredEventArgs, IBarcodeScannerErrorOccurredEventArgs_Vtbl, 0x2cd2602f_cf3a_4002_a75a_c5ec468f0a20); +windows_core::imp::define_interface!(IBarcodeScannerErrorOccurredEventArgs, IBarcodeScannerErrorOccurredEventArgs_Vtbl, 0x2cd2602f_cf3a_4002_a75a_c5ec468f0a20); #[repr(C)] pub struct IBarcodeScannerErrorOccurredEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -66,7 +66,7 @@ pub struct IBarcodeScannerErrorOccurredEventArgs_Vtbl { pub IsRetriable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ErrorData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarcodeScannerImagePreviewReceivedEventArgs, IBarcodeScannerImagePreviewReceivedEventArgs_Vtbl, 0xf3b7de85_6e8b_434e_9f58_06ef26bc4baf); +windows_core::imp::define_interface!(IBarcodeScannerImagePreviewReceivedEventArgs, IBarcodeScannerImagePreviewReceivedEventArgs_Vtbl, 0xf3b7de85_6e8b_434e_9f58_06ef26bc4baf); #[repr(C)] pub struct IBarcodeScannerImagePreviewReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -75,7 +75,7 @@ pub struct IBarcodeScannerImagePreviewReceivedEventArgs_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Preview: usize, } -windows_core::imp::com_interface!(IBarcodeScannerReport, IBarcodeScannerReport_Vtbl, 0x5ce4d8b0_a489_4b96_86c4_f0bf8a37753d); +windows_core::imp::define_interface!(IBarcodeScannerReport, IBarcodeScannerReport_Vtbl, 0x5ce4d8b0_a489_4b96_86c4_f0bf8a37753d); #[repr(C)] pub struct IBarcodeScannerReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,7 +89,7 @@ pub struct IBarcodeScannerReport_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ScanDataLabel: usize, } -windows_core::imp::com_interface!(IBarcodeScannerReportFactory, IBarcodeScannerReportFactory_Vtbl, 0xa2547326_2013_457c_8963_49c15dca78ce); +windows_core::imp::define_interface!(IBarcodeScannerReportFactory, IBarcodeScannerReportFactory_Vtbl, 0xa2547326_2013_457c_8963_49c15dca78ce); #[repr(C)] pub struct IBarcodeScannerReportFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -98,7 +98,7 @@ pub struct IBarcodeScannerReportFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateInstance: usize, } -windows_core::imp::com_interface!(IBarcodeScannerStatics, IBarcodeScannerStatics_Vtbl, 0x5d115f6f_da49_41e8_8c8c_f0cb62a9c4fc); +windows_core::imp::define_interface!(IBarcodeScannerStatics, IBarcodeScannerStatics_Vtbl, 0x5d115f6f_da49_41e8_8c8c_f0cb62a9c4fc); #[repr(C)] pub struct IBarcodeScannerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -106,20 +106,20 @@ pub struct IBarcodeScannerStatics_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, } -windows_core::imp::com_interface!(IBarcodeScannerStatics2, IBarcodeScannerStatics2_Vtbl, 0xb8652473_a36f_4007_b1d0_279ebe92a656); +windows_core::imp::define_interface!(IBarcodeScannerStatics2, IBarcodeScannerStatics2_Vtbl, 0xb8652473_a36f_4007_b1d0_279ebe92a656); #[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, } -windows_core::imp::com_interface!(IBarcodeScannerStatusUpdatedEventArgs, IBarcodeScannerStatusUpdatedEventArgs_Vtbl, 0x355d8586_9c43_462b_a91a_816dc97f452c); +windows_core::imp::define_interface!(IBarcodeScannerStatusUpdatedEventArgs, IBarcodeScannerStatusUpdatedEventArgs_Vtbl, 0x355d8586_9c43_462b_a91a_816dc97f452c); #[repr(C)] pub struct IBarcodeScannerStatusUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BarcodeScannerStatus) -> windows_core::HRESULT, pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarcodeSymbologiesStatics, IBarcodeSymbologiesStatics_Vtbl, 0xca8549bb_06d2_43f4_a44b_c620679fd8d0); +windows_core::imp::define_interface!(IBarcodeSymbologiesStatics, IBarcodeSymbologiesStatics_Vtbl, 0xca8549bb_06d2_43f4_a44b_c620679fd8d0); #[repr(C)] pub struct IBarcodeSymbologiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -218,13 +218,13 @@ pub struct IBarcodeSymbologiesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IBarcodeSymbologiesStatics2, IBarcodeSymbologiesStatics2_Vtbl, 0x8b7518f4_99d0_40bf_9424_b91d6dd4c6e0); +windows_core::imp::define_interface!(IBarcodeSymbologiesStatics2, IBarcodeSymbologiesStatics2_Vtbl, 0x8b7518f4_99d0_40bf_9424_b91d6dd4c6e0); #[repr(C)] pub struct IBarcodeSymbologiesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Gs1DWCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarcodeSymbologyAttributes, IBarcodeSymbologyAttributes_Vtbl, 0x66413a78_ab7a_4ada_8ece_936014b2ead7); +windows_core::imp::define_interface!(IBarcodeSymbologyAttributes, IBarcodeSymbologyAttributes_Vtbl, 0x66413a78_ab7a_4ada_8ece_936014b2ead7); #[repr(C)] pub struct IBarcodeSymbologyAttributes_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -242,7 +242,7 @@ pub struct IBarcodeSymbologyAttributes_Vtbl { pub SetDecodeLengthKind: unsafe extern "system" fn(*mut core::ffi::c_void, BarcodeSymbologyDecodeLengthKind) -> windows_core::HRESULT, pub IsDecodeLengthSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICashDrawer, ICashDrawer_Vtbl, 0x9f88f5c8_de54_4aee_a890_920bcbfe30fc); +windows_core::imp::define_interface!(ICashDrawer, ICashDrawer_Vtbl, 0x9f88f5c8_de54_4aee_a890_920bcbfe30fc); #[repr(C)] pub struct ICashDrawer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -260,7 +260,7 @@ pub struct ICashDrawer_Vtbl { 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, } -windows_core::imp::com_interface!(ICashDrawerCapabilities, ICashDrawerCapabilities_Vtbl, 0x0bc6de0b_e8e7_4b1f_b1d1_3e501ad08247); +windows_core::imp::define_interface!(ICashDrawerCapabilities, ICashDrawerCapabilities_Vtbl, 0x0bc6de0b_e8e7_4b1f_b1d1_3e501ad08247); #[repr(C)] pub struct ICashDrawerCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -271,7 +271,7 @@ pub struct ICashDrawerCapabilities_Vtbl { pub IsStatusMultiDrawerDetectSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsDrawerOpenSensorAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICashDrawerCloseAlarm, ICashDrawerCloseAlarm_Vtbl, 0x6bf88cc7_6f63_430e_ab3b_95d75ffbe87f); +windows_core::imp::define_interface!(ICashDrawerCloseAlarm, ICashDrawerCloseAlarm_Vtbl, 0x6bf88cc7_6f63_430e_ab3b_95d75ffbe87f); #[repr(C)] pub struct ICashDrawerCloseAlarm_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -287,7 +287,7 @@ pub struct ICashDrawerCloseAlarm_Vtbl { pub RemoveAlarmTimeoutExpired: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub StartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICashDrawerEventSource, ICashDrawerEventSource_Vtbl, 0xe006e46c_f2f9_442f_8dd6_06c10a4227ba); +windows_core::imp::define_interface!(ICashDrawerEventSource, ICashDrawerEventSource_Vtbl, 0xe006e46c_f2f9_442f_8dd6_06c10a4227ba); #[repr(C)] pub struct ICashDrawerEventSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -296,7 +296,7 @@ pub struct ICashDrawerEventSource_Vtbl { pub DrawerOpened: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDrawerOpened: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICashDrawerEventSourceEventArgs, ICashDrawerEventSourceEventArgs_Vtbl, 0x69cb3bc1_147f_421c_9c23_090123bb786c); +windows_core::imp::define_interface!(ICashDrawerEventSourceEventArgs, ICashDrawerEventSourceEventArgs_Vtbl, 0x69cb3bc1_147f_421c_9c23_090123bb786c); windows_core::imp::interface_hierarchy!(ICashDrawerEventSourceEventArgs, windows_core::IUnknown, windows_core::IInspectable); impl ICashDrawerEventSourceEventArgs { pub fn CashDrawer(&self) -> windows_core::Result { @@ -315,7 +315,7 @@ pub struct ICashDrawerEventSourceEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CashDrawer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICashDrawerStatics, ICashDrawerStatics_Vtbl, 0xdfa0955a_d437_4fff_b547_dda969a4f883); +windows_core::imp::define_interface!(ICashDrawerStatics, ICashDrawerStatics_Vtbl, 0xdfa0955a_d437_4fff_b547_dda969a4f883); #[repr(C)] pub struct ICashDrawerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -323,26 +323,26 @@ pub struct ICashDrawerStatics_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, } -windows_core::imp::com_interface!(ICashDrawerStatics2, ICashDrawerStatics2_Vtbl, 0x3e818121_8c42_40e8_9c0e_40297048104c); +windows_core::imp::define_interface!(ICashDrawerStatics2, ICashDrawerStatics2_Vtbl, 0x3e818121_8c42_40e8_9c0e_40297048104c); #[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, } -windows_core::imp::com_interface!(ICashDrawerStatus, ICashDrawerStatus_Vtbl, 0x6bbd78bf_dca1_4e06_99eb_5af6a5aec108); +windows_core::imp::define_interface!(ICashDrawerStatus, ICashDrawerStatus_Vtbl, 0x6bbd78bf_dca1_4e06_99eb_5af6a5aec108); #[repr(C)] pub struct ICashDrawerStatus_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StatusKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CashDrawerStatusKind) -> windows_core::HRESULT, pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICashDrawerStatusUpdatedEventArgs, ICashDrawerStatusUpdatedEventArgs_Vtbl, 0x30aae98a_0d70_459c_9553_87e124c52488); +windows_core::imp::define_interface!(ICashDrawerStatusUpdatedEventArgs, ICashDrawerStatusUpdatedEventArgs_Vtbl, 0x30aae98a_0d70_459c_9553_87e124c52488); #[repr(C)] pub struct ICashDrawerStatusUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClaimedBarcodeScanner, IClaimedBarcodeScanner_Vtbl, 0x4a63b49c_8fa4_4332_bb26_945d11d81e0f); +windows_core::imp::define_interface!(IClaimedBarcodeScanner, IClaimedBarcodeScanner_Vtbl, 0x4a63b49c_8fa4_4332_bb26_945d11d81e0f); #[repr(C)] pub struct IClaimedBarcodeScanner_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -381,21 +381,21 @@ pub struct IClaimedBarcodeScanner_Vtbl { pub ErrorOccurred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveErrorOccurred: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClaimedBarcodeScanner1, IClaimedBarcodeScanner1_Vtbl, 0xf61aad0c_8551_42b4_998c_970c20210a22); +windows_core::imp::define_interface!(IClaimedBarcodeScanner1, IClaimedBarcodeScanner1_Vtbl, 0xf61aad0c_8551_42b4_998c_970c20210a22); #[repr(C)] pub struct IClaimedBarcodeScanner1_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StartSoftwareTriggerAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StopSoftwareTriggerAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClaimedBarcodeScanner2, IClaimedBarcodeScanner2_Vtbl, 0xe3b59e8c_2d8b_4f70_8af3_3448bedd5fe2); +windows_core::imp::define_interface!(IClaimedBarcodeScanner2, IClaimedBarcodeScanner2_Vtbl, 0xe3b59e8c_2d8b_4f70_8af3_3448bedd5fe2); #[repr(C)] pub struct IClaimedBarcodeScanner2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetSymbologyAttributesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSymbologyAttributesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClaimedBarcodeScanner3, IClaimedBarcodeScanner3_Vtbl, 0xe6ceb430_712e_45fc_8b86_cd55f5aef79d); +windows_core::imp::define_interface!(IClaimedBarcodeScanner3, IClaimedBarcodeScanner3_Vtbl, 0xe6ceb430_712e_45fc_8b86_cd55f5aef79d); #[repr(C)] pub struct IClaimedBarcodeScanner3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -404,19 +404,19 @@ pub struct IClaimedBarcodeScanner3_Vtbl { pub SetIsVideoPreviewShownOnEnable: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsVideoPreviewShownOnEnable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClaimedBarcodeScanner4, IClaimedBarcodeScanner4_Vtbl, 0x5d501f97_376a_41a8_a230_2f37c1949dde); +windows_core::imp::define_interface!(IClaimedBarcodeScanner4, IClaimedBarcodeScanner4_Vtbl, 0x5d501f97_376a_41a8_a230_2f37c1949dde); #[repr(C)] pub struct IClaimedBarcodeScanner4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IClaimedBarcodeScannerClosedEventArgs, IClaimedBarcodeScannerClosedEventArgs_Vtbl, 0xcf7d5489_a22c_4c65_a901_88d77d833954); +windows_core::imp::define_interface!(IClaimedBarcodeScannerClosedEventArgs, IClaimedBarcodeScannerClosedEventArgs_Vtbl, 0xcf7d5489_a22c_4c65_a901_88d77d833954); #[repr(C)] pub struct IClaimedBarcodeScannerClosedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IClaimedCashDrawer, IClaimedCashDrawer_Vtbl, 0xca3f99af_abb8_42c1_8a84_5c66512f5a75); +windows_core::imp::define_interface!(IClaimedCashDrawer, IClaimedCashDrawer_Vtbl, 0xca3f99af_abb8_42c1_8a84_5c66512f5a75); #[repr(C)] pub struct IClaimedCashDrawer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -439,25 +439,25 @@ pub struct IClaimedCashDrawer_Vtbl { pub ReleaseDeviceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReleaseDeviceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClaimedCashDrawer2, IClaimedCashDrawer2_Vtbl, 0x9cbab5a2_de42_4d5b_b0c1_9b57a2ba89c3); +windows_core::imp::define_interface!(IClaimedCashDrawer2, IClaimedCashDrawer2_Vtbl, 0x9cbab5a2_de42_4d5b_b0c1_9b57a2ba89c3); #[repr(C)] pub struct IClaimedCashDrawer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IClaimedCashDrawerClosedEventArgs, IClaimedCashDrawerClosedEventArgs_Vtbl, 0xcc573f33_3f34_4c5c_baae_deadf16cd7fa); +windows_core::imp::define_interface!(IClaimedCashDrawerClosedEventArgs, IClaimedCashDrawerClosedEventArgs_Vtbl, 0xcc573f33_3f34_4c5c_baae_deadf16cd7fa); #[repr(C)] pub struct IClaimedCashDrawerClosedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IClaimedJournalPrinter, IClaimedJournalPrinter_Vtbl, 0x67ea0630_517d_487f_9fdf_d2e0a0a264a5); +windows_core::imp::define_interface!(IClaimedJournalPrinter, IClaimedJournalPrinter_Vtbl, 0x67ea0630_517d_487f_9fdf_d2e0a0a264a5); #[repr(C)] pub struct IClaimedJournalPrinter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateJob: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClaimedLineDisplay, IClaimedLineDisplay_Vtbl, 0x120ac970_9a75_4acf_aae7_09972bcf8794); +windows_core::imp::define_interface!(IClaimedLineDisplay, IClaimedLineDisplay_Vtbl, 0x120ac970_9a75_4acf_aae7_09972bcf8794); #[repr(C)] pub struct IClaimedLineDisplay_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -473,7 +473,7 @@ pub struct IClaimedLineDisplay_Vtbl { pub ReleaseDeviceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReleaseDeviceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClaimedLineDisplay2, IClaimedLineDisplay2_Vtbl, 0xa31c75ed_41f5_4e76_a074_795e47a46e97); +windows_core::imp::define_interface!(IClaimedLineDisplay2, IClaimedLineDisplay2_Vtbl, 0xa31c75ed_41f5_4e76_a074_795e47a46e97); #[repr(C)] pub struct IClaimedLineDisplay2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -513,19 +513,19 @@ pub struct IClaimedLineDisplay2_Vtbl { #[cfg(not(feature = "Storage"))] TryStoreStorageFileBitmapWithAlignmentAndWidthAsync: usize, } -windows_core::imp::com_interface!(IClaimedLineDisplay3, IClaimedLineDisplay3_Vtbl, 0x642ecd92_e9d4_4ecc_af75_329c274cd18f); +windows_core::imp::define_interface!(IClaimedLineDisplay3, IClaimedLineDisplay3_Vtbl, 0x642ecd92_e9d4_4ecc_af75_329c274cd18f); #[repr(C)] pub struct IClaimedLineDisplay3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IClaimedLineDisplayClosedEventArgs, IClaimedLineDisplayClosedEventArgs_Vtbl, 0xf915f364_d3d5_4f10_b511_90939edfacd8); +windows_core::imp::define_interface!(IClaimedLineDisplayClosedEventArgs, IClaimedLineDisplayClosedEventArgs_Vtbl, 0xf915f364_d3d5_4f10_b511_90939edfacd8); #[repr(C)] pub struct IClaimedLineDisplayClosedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IClaimedLineDisplayStatics, IClaimedLineDisplayStatics_Vtbl, 0x78ca98fb_8b6b_4973_86f0_3e570c351825); +windows_core::imp::define_interface!(IClaimedLineDisplayStatics, IClaimedLineDisplayStatics_Vtbl, 0x78ca98fb_8b6b_4973_86f0_3e570c351825); #[repr(C)] pub struct IClaimedLineDisplayStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -533,7 +533,7 @@ pub struct IClaimedLineDisplayStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IClaimedMagneticStripeReader, IClaimedMagneticStripeReader_Vtbl, 0x475ca8f3_9417_48bc_b9d7_4163a7844c02); +windows_core::imp::define_interface!(IClaimedMagneticStripeReader, IClaimedMagneticStripeReader_Vtbl, 0x475ca8f3_9417_48bc_b9d7_4163a7844c02); #[repr(C)] pub struct IClaimedMagneticStripeReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -580,19 +580,19 @@ pub struct IClaimedMagneticStripeReader_Vtbl { pub ErrorOccurred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveErrorOccurred: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClaimedMagneticStripeReader2, IClaimedMagneticStripeReader2_Vtbl, 0x236fafdf_e2dc_4d7d_9c78_060df2bf2928); +windows_core::imp::define_interface!(IClaimedMagneticStripeReader2, IClaimedMagneticStripeReader2_Vtbl, 0x236fafdf_e2dc_4d7d_9c78_060df2bf2928); #[repr(C)] pub struct IClaimedMagneticStripeReader2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IClaimedMagneticStripeReaderClosedEventArgs, IClaimedMagneticStripeReaderClosedEventArgs_Vtbl, 0x14ada93a_adcd_4c80_acda_c3eaed2647e1); +windows_core::imp::define_interface!(IClaimedMagneticStripeReaderClosedEventArgs, IClaimedMagneticStripeReaderClosedEventArgs_Vtbl, 0x14ada93a_adcd_4c80_acda_c3eaed2647e1); #[repr(C)] pub struct IClaimedMagneticStripeReaderClosedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IClaimedPosPrinter, IClaimedPosPrinter_Vtbl, 0x6d64ce0c_e03e_4b14_a38e_c28c34b86353); +windows_core::imp::define_interface!(IClaimedPosPrinter, IClaimedPosPrinter_Vtbl, 0x6d64ce0c_e03e_4b14_a38e_c28c34b86353); #[repr(C)] pub struct IClaimedPosPrinter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -622,19 +622,19 @@ pub struct IClaimedPosPrinter_Vtbl { pub ReleaseDeviceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReleaseDeviceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClaimedPosPrinter2, IClaimedPosPrinter2_Vtbl, 0x5bf7a3d5_5198_437a_82df_589993fa77e1); +windows_core::imp::define_interface!(IClaimedPosPrinter2, IClaimedPosPrinter2_Vtbl, 0x5bf7a3d5_5198_437a_82df_589993fa77e1); #[repr(C)] pub struct IClaimedPosPrinter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IClaimedPosPrinterClosedEventArgs, IClaimedPosPrinterClosedEventArgs_Vtbl, 0xe2b7a27b_4d40_471d_92ed_63375b18c788); +windows_core::imp::define_interface!(IClaimedPosPrinterClosedEventArgs, IClaimedPosPrinterClosedEventArgs_Vtbl, 0xe2b7a27b_4d40_471d_92ed_63375b18c788); #[repr(C)] pub struct IClaimedPosPrinterClosedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IClaimedReceiptPrinter, IClaimedReceiptPrinter_Vtbl, 0x9ad27a74_dd61_4ee2_9837_5b5d72d538b9); +windows_core::imp::define_interface!(IClaimedReceiptPrinter, IClaimedReceiptPrinter_Vtbl, 0x9ad27a74_dd61_4ee2_9837_5b5d72d538b9); #[repr(C)] pub struct IClaimedReceiptPrinter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -645,7 +645,7 @@ pub struct IClaimedReceiptPrinter_Vtbl { pub PrintArea: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, pub CreateJob: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClaimedSlipPrinter, IClaimedSlipPrinter_Vtbl, 0xbd5deff2_af90_4e8a_b77b_e3ae9ca63a7f); +windows_core::imp::define_interface!(IClaimedSlipPrinter, IClaimedSlipPrinter_Vtbl, 0xbd5deff2_af90_4e8a_b77b_e3ae9ca63a7f); #[repr(C)] pub struct IClaimedSlipPrinter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -663,7 +663,7 @@ pub struct IClaimedSlipPrinter_Vtbl { pub ChangePrintSide: unsafe extern "system" fn(*mut core::ffi::c_void, PosPrinterPrintSide) -> windows_core::HRESULT, pub CreateJob: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommonClaimedPosPrinterStation, ICommonClaimedPosPrinterStation_Vtbl, 0xb7eb66a8_fe8a_4cfb_8b42_e35b280cb27c); +windows_core::imp::define_interface!(ICommonClaimedPosPrinterStation, ICommonClaimedPosPrinterStation_Vtbl, 0xb7eb66a8_fe8a_4cfb_8b42_e35b280cb27c); windows_core::imp::interface_hierarchy!(ICommonClaimedPosPrinterStation, windows_core::IUnknown, windows_core::IInspectable); impl ICommonClaimedPosPrinterStation { pub fn SetCharactersPerLine(&self, value: u32) -> windows_core::Result<()> { @@ -811,7 +811,7 @@ pub struct ICommonClaimedPosPrinterStation_Vtbl { 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, } -windows_core::imp::com_interface!(ICommonPosPrintStationCapabilities, ICommonPosPrintStationCapabilities_Vtbl, 0xde5b52ca_e02e_40e9_9e5e_1b488e6aacfc); +windows_core::imp::define_interface!(ICommonPosPrintStationCapabilities, ICommonPosPrintStationCapabilities_Vtbl, 0xde5b52ca_e02e_40e9_9e5e_1b488e6aacfc); windows_core::imp::interface_hierarchy!(ICommonPosPrintStationCapabilities, windows_core::IUnknown, windows_core::IInspectable); impl ICommonPosPrintStationCapabilities { pub fn IsPrinterPresent(&self) -> windows_core::Result { @@ -930,7 +930,7 @@ pub struct ICommonPosPrintStationCapabilities_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedCharactersPerLine: usize, } -windows_core::imp::com_interface!(ICommonReceiptSlipCapabilities, ICommonReceiptSlipCapabilities_Vtbl, 0x09286b8b_9873_4d05_bfbe_4727a6038f69); +windows_core::imp::define_interface!(ICommonReceiptSlipCapabilities, ICommonReceiptSlipCapabilities_Vtbl, 0x09286b8b_9873_4d05_bfbe_4727a6038f69); windows_core::imp::interface_hierarchy!(ICommonReceiptSlipCapabilities, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ICommonReceiptSlipCapabilities, ICommonPosPrintStationCapabilities); impl ICommonReceiptSlipCapabilities { @@ -1114,7 +1114,7 @@ pub struct ICommonReceiptSlipCapabilities_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedBitmapRotations: usize, } -windows_core::imp::com_interface!(IJournalPrintJob, IJournalPrintJob_Vtbl, 0x9f4f2864_f3f0_55d0_8c39_74cc91783eed); +windows_core::imp::define_interface!(IJournalPrintJob, IJournalPrintJob_Vtbl, 0x9f4f2864_f3f0_55d0_8c39_74cc91783eed); #[repr(C)] pub struct IJournalPrintJob_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1122,12 +1122,12 @@ pub struct IJournalPrintJob_Vtbl { 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, } -windows_core::imp::com_interface!(IJournalPrinterCapabilities, IJournalPrinterCapabilities_Vtbl, 0x3b5ccc43_e047_4463_bb58_17b5ba1d8056); +windows_core::imp::define_interface!(IJournalPrinterCapabilities, IJournalPrinterCapabilities_Vtbl, 0x3b5ccc43_e047_4463_bb58_17b5ba1d8056); #[repr(C)] pub struct IJournalPrinterCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IJournalPrinterCapabilities2, IJournalPrinterCapabilities2_Vtbl, 0x03b0b645_33b8_533b_baaa_a4389283ab0a); +windows_core::imp::define_interface!(IJournalPrinterCapabilities2, IJournalPrinterCapabilities2_Vtbl, 0x03b0b645_33b8_533b_baaa_a4389283ab0a); #[repr(C)] pub struct IJournalPrinterCapabilities2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1138,7 +1138,7 @@ pub struct IJournalPrinterCapabilities2_Vtbl { pub IsReversePaperFeedByLineSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsReversePaperFeedByMapModeUnitSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILineDisplay, ILineDisplay_Vtbl, 0x24f5df4e_3c99_44e2_b73f_e51be3637a8c); +windows_core::imp::define_interface!(ILineDisplay, ILineDisplay_Vtbl, 0x24f5df4e_3c99_44e2_b73f_e51be3637a8c); #[repr(C)] pub struct ILineDisplay_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1151,13 +1151,13 @@ pub struct ILineDisplay_Vtbl { pub DeviceServiceVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(ILineDisplay2, ILineDisplay2_Vtbl, 0xc296a628_ef44_40f3_bd1c_b04c6a5cdc7d); +windows_core::imp::define_interface!(ILineDisplay2, ILineDisplay2_Vtbl, 0xc296a628_ef44_40f3_bd1c_b04c6a5cdc7d); #[repr(C)] pub struct ILineDisplay2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CheckPowerStatusAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILineDisplayAttributes, ILineDisplayAttributes_Vtbl, 0xc17de99c_229a_4c14_a6f1_b4e4b1fead92); +windows_core::imp::define_interface!(ILineDisplayAttributes, ILineDisplayAttributes_Vtbl, 0xc17de99c_229a_4c14_a6f1_b4e4b1fead92); #[repr(C)] pub struct ILineDisplayAttributes_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1176,7 +1176,7 @@ pub struct ILineDisplayAttributes_Vtbl { pub CurrentWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCurrentWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILineDisplayCapabilities, ILineDisplayCapabilities_Vtbl, 0x5a15b5d1_8dc5_4b9c_9172_303e47b70c55); +windows_core::imp::define_interface!(ILineDisplayCapabilities, ILineDisplayCapabilities_Vtbl, 0x5a15b5d1_8dc5_4b9c_9172_303e47b70c55); #[repr(C)] pub struct ILineDisplayCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1199,7 +1199,7 @@ pub struct ILineDisplayCapabilities_Vtbl { pub SupportedDescriptors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SupportedWindows: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILineDisplayCursor, ILineDisplayCursor_Vtbl, 0xecdffc45_754a_4e3b_ab2b_151181085605); +windows_core::imp::define_interface!(ILineDisplayCursor, ILineDisplayCursor_Vtbl, 0xecdffc45_754a_4e3b_ab2b_151181085605); #[repr(C)] pub struct ILineDisplayCursor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1213,7 +1213,7 @@ pub struct ILineDisplayCursor_Vtbl { pub GetAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryUpdateAttributesAsync: 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::com_interface!(ILineDisplayCursorAttributes, ILineDisplayCursorAttributes_Vtbl, 0x4e2d54fe_4ffd_4190_aae1_ce285f20c896); +windows_core::imp::define_interface!(ILineDisplayCursorAttributes, ILineDisplayCursorAttributes_Vtbl, 0x4e2d54fe_4ffd_4190_aae1_ce285f20c896); #[repr(C)] pub struct ILineDisplayCursorAttributes_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1226,7 +1226,7 @@ pub struct ILineDisplayCursorAttributes_Vtbl { pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Point) -> windows_core::HRESULT, pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Point) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILineDisplayCustomGlyphs, ILineDisplayCustomGlyphs_Vtbl, 0x2257f63c_f263_44f1_a1a0_e750a6a0ec54); +windows_core::imp::define_interface!(ILineDisplayCustomGlyphs, ILineDisplayCustomGlyphs_Vtbl, 0x2257f63c_f263_44f1_a1a0_e750a6a0ec54); #[repr(C)] pub struct ILineDisplayCustomGlyphs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1240,7 +1240,7 @@ pub struct ILineDisplayCustomGlyphs_Vtbl { #[cfg(not(feature = "Storage_Streams"))] TryRedefineAsync: usize, } -windows_core::imp::com_interface!(ILineDisplayMarquee, ILineDisplayMarquee_Vtbl, 0xa3d33e3e_f46a_4b7a_bc21_53eb3b57f8b4); +windows_core::imp::define_interface!(ILineDisplayMarquee, ILineDisplayMarquee_Vtbl, 0xa3d33e3e_f46a_4b7a_bc21_53eb3b57f8b4); #[repr(C)] pub struct ILineDisplayMarquee_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1253,7 +1253,7 @@ pub struct ILineDisplayMarquee_Vtbl { pub TryStartScrollingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, LineDisplayScrollDirection, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryStopScrollingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILineDisplayStatics, ILineDisplayStatics_Vtbl, 0x022dc0b6_11b0_4690_9547_0b39c5af2114); +windows_core::imp::define_interface!(ILineDisplayStatics, ILineDisplayStatics_Vtbl, 0x022dc0b6_11b0_4690_9547_0b39c5af2114); #[repr(C)] pub struct ILineDisplayStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1262,13 +1262,13 @@ pub struct ILineDisplayStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ILineDisplayStatics2, ILineDisplayStatics2_Vtbl, 0x600c3f1c_77ab_4968_a7de_c02ff169f2cc); +windows_core::imp::define_interface!(ILineDisplayStatics2, ILineDisplayStatics2_Vtbl, 0x600c3f1c_77ab_4968_a7de_c02ff169f2cc); #[repr(C)] pub struct ILineDisplayStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StatisticsCategorySelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILineDisplayStatisticsCategorySelector, ILineDisplayStatisticsCategorySelector_Vtbl, 0xb521c46b_9274_4d24_94f3_b6017b832444); +windows_core::imp::define_interface!(ILineDisplayStatisticsCategorySelector, ILineDisplayStatisticsCategorySelector_Vtbl, 0xb521c46b_9274_4d24_94f3_b6017b832444); #[repr(C)] pub struct ILineDisplayStatisticsCategorySelector_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1276,20 +1276,20 @@ pub struct ILineDisplayStatisticsCategorySelector_Vtbl { 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, } -windows_core::imp::com_interface!(ILineDisplayStatusUpdatedEventArgs, ILineDisplayStatusUpdatedEventArgs_Vtbl, 0xddd57c1a_86fb_4eba_93d1_6f5eda52b752); +windows_core::imp::define_interface!(ILineDisplayStatusUpdatedEventArgs, ILineDisplayStatusUpdatedEventArgs_Vtbl, 0xddd57c1a_86fb_4eba_93d1_6f5eda52b752); #[repr(C)] pub struct ILineDisplayStatusUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LineDisplayPowerStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILineDisplayStoredBitmap, ILineDisplayStoredBitmap_Vtbl, 0xf621515b_d81e_43ba_bf1b_bcfa3c785ba0); +windows_core::imp::define_interface!(ILineDisplayStoredBitmap, ILineDisplayStoredBitmap_Vtbl, 0xf621515b_d81e_43ba_bf1b_bcfa3c785ba0); #[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 TryDeleteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILineDisplayWindow, ILineDisplayWindow_Vtbl, 0xd21feef4_2364_4be5_bee1_851680af4964); +windows_core::imp::define_interface!(ILineDisplayWindow, ILineDisplayWindow_Vtbl, 0xd21feef4_2364_4be5_bee1_851680af4964); #[repr(C)] pub struct ILineDisplayWindow_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1303,7 +1303,7 @@ pub struct ILineDisplayWindow_Vtbl { 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, } -windows_core::imp::com_interface!(ILineDisplayWindow2, ILineDisplayWindow2_Vtbl, 0xa95ce2e6_bdd8_4365_8e11_de94de8dff02); +windows_core::imp::define_interface!(ILineDisplayWindow2, ILineDisplayWindow2_Vtbl, 0xa95ce2e6_bdd8_4365_8e11_de94de8dff02); #[repr(C)] pub struct ILineDisplayWindow2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1332,7 +1332,7 @@ pub struct ILineDisplayWindow2_Vtbl { #[cfg(not(feature = "Storage"))] TryDisplayStorageFileBitmapAtPointWithWidthAsync: usize, } -windows_core::imp::com_interface!(IMagneticStripeReader, IMagneticStripeReader_Vtbl, 0x1a92b015_47c3_468a_9333_0c6517574883); +windows_core::imp::define_interface!(IMagneticStripeReader, IMagneticStripeReader_Vtbl, 0x1a92b015_47c3_468a_9333_0c6517574883); #[repr(C)] pub struct IMagneticStripeReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1350,7 +1350,7 @@ pub struct IMagneticStripeReader_Vtbl { 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, } -windows_core::imp::com_interface!(IMagneticStripeReaderAamvaCardDataReceivedEventArgs, IMagneticStripeReaderAamvaCardDataReceivedEventArgs_Vtbl, 0x0a4bbd51_c316_4910_87f3_7a62ba862d31); +windows_core::imp::define_interface!(IMagneticStripeReaderAamvaCardDataReceivedEventArgs, IMagneticStripeReaderAamvaCardDataReceivedEventArgs_Vtbl, 0x0a4bbd51_c316_4910_87f3_7a62ba862d31); #[repr(C)] pub struct IMagneticStripeReaderAamvaCardDataReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1374,7 +1374,7 @@ pub struct IMagneticStripeReaderAamvaCardDataReceivedEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IMagneticStripeReaderBankCardDataReceivedEventArgs, IMagneticStripeReaderBankCardDataReceivedEventArgs_Vtbl, 0x2e958823_a31a_4763_882c_23725e39b08e); +windows_core::imp::define_interface!(IMagneticStripeReaderBankCardDataReceivedEventArgs, IMagneticStripeReaderBankCardDataReceivedEventArgs_Vtbl, 0x2e958823_a31a_4763_882c_23725e39b08e); #[repr(C)] pub struct IMagneticStripeReaderBankCardDataReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1388,7 +1388,7 @@ pub struct IMagneticStripeReaderBankCardDataReceivedEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IMagneticStripeReaderCapabilities, IMagneticStripeReaderCapabilities_Vtbl, 0x7128809c_c440_44a2_a467_469175d02896); +windows_core::imp::define_interface!(IMagneticStripeReaderCapabilities, IMagneticStripeReaderCapabilities_Vtbl, 0x7128809c_c440_44a2_a467_469175d02896); #[repr(C)] pub struct IMagneticStripeReaderCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1404,7 +1404,7 @@ pub struct IMagneticStripeReaderCapabilities_Vtbl { pub IsTrackDataMaskingSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsTransmitSentinelsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMagneticStripeReaderCardTypesStatics, IMagneticStripeReaderCardTypesStatics_Vtbl, 0x528f2c5d_2986_474f_8454_7ccd05928d5f); +windows_core::imp::define_interface!(IMagneticStripeReaderCardTypesStatics, IMagneticStripeReaderCardTypesStatics_Vtbl, 0x528f2c5d_2986_474f_8454_7ccd05928d5f); #[repr(C)] pub struct IMagneticStripeReaderCardTypesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1413,7 +1413,7 @@ pub struct IMagneticStripeReaderCardTypesStatics_Vtbl { pub Aamva: 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, } -windows_core::imp::com_interface!(IMagneticStripeReaderEncryptionAlgorithmsStatics, IMagneticStripeReaderEncryptionAlgorithmsStatics_Vtbl, 0x53b57350_c3db_4754_9c00_41392374a109); +windows_core::imp::define_interface!(IMagneticStripeReaderEncryptionAlgorithmsStatics, IMagneticStripeReaderEncryptionAlgorithmsStatics_Vtbl, 0x53b57350_c3db_4754_9c00_41392374a109); #[repr(C)] pub struct IMagneticStripeReaderEncryptionAlgorithmsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1421,7 +1421,7 @@ pub struct IMagneticStripeReaderEncryptionAlgorithmsStatics_Vtbl { pub TripleDesDukpt: 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, } -windows_core::imp::com_interface!(IMagneticStripeReaderErrorOccurredEventArgs, IMagneticStripeReaderErrorOccurredEventArgs_Vtbl, 0x1fedf95d_2c84_41ad_b778_f2356a789ab1); +windows_core::imp::define_interface!(IMagneticStripeReaderErrorOccurredEventArgs, IMagneticStripeReaderErrorOccurredEventArgs_Vtbl, 0x1fedf95d_2c84_41ad_b778_f2356a789ab1); #[repr(C)] pub struct IMagneticStripeReaderErrorOccurredEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1432,7 +1432,7 @@ pub struct IMagneticStripeReaderErrorOccurredEventArgs_Vtbl { pub ErrorData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PartialInputData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMagneticStripeReaderReport, IMagneticStripeReaderReport_Vtbl, 0x6a5b6047_99b0_4188_bef1_eddf79f78fe6); +windows_core::imp::define_interface!(IMagneticStripeReaderReport, IMagneticStripeReaderReport_Vtbl, 0x6a5b6047_99b0_4188_bef1_eddf79f78fe6); #[repr(C)] pub struct IMagneticStripeReaderReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1455,7 +1455,7 @@ pub struct IMagneticStripeReaderReport_Vtbl { #[cfg(not(feature = "Storage_Streams"))] AdditionalSecurityInformation: usize, } -windows_core::imp::com_interface!(IMagneticStripeReaderStatics, IMagneticStripeReaderStatics_Vtbl, 0xc45fab4a_efd7_4760_a5ce_15b0e47e94eb); +windows_core::imp::define_interface!(IMagneticStripeReaderStatics, IMagneticStripeReaderStatics_Vtbl, 0xc45fab4a_efd7_4760_a5ce_15b0e47e94eb); #[repr(C)] pub struct IMagneticStripeReaderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1463,20 +1463,20 @@ pub struct IMagneticStripeReaderStatics_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, } -windows_core::imp::com_interface!(IMagneticStripeReaderStatics2, IMagneticStripeReaderStatics2_Vtbl, 0x8cadc362_d667_48fa_86bc_f5ae1189262b); +windows_core::imp::define_interface!(IMagneticStripeReaderStatics2, IMagneticStripeReaderStatics2_Vtbl, 0x8cadc362_d667_48fa_86bc_f5ae1189262b); #[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, } -windows_core::imp::com_interface!(IMagneticStripeReaderStatusUpdatedEventArgs, IMagneticStripeReaderStatusUpdatedEventArgs_Vtbl, 0x09cc6bb0_3262_401d_9e8a_e80d6358906b); +windows_core::imp::define_interface!(IMagneticStripeReaderStatusUpdatedEventArgs, IMagneticStripeReaderStatusUpdatedEventArgs_Vtbl, 0x09cc6bb0_3262_401d_9e8a_e80d6358906b); #[repr(C)] pub struct IMagneticStripeReaderStatusUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MagneticStripeReaderStatus) -> windows_core::HRESULT, pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMagneticStripeReaderTrackData, IMagneticStripeReaderTrackData_Vtbl, 0x104cf671_4a9d_446e_abc5_20402307ba36); +windows_core::imp::define_interface!(IMagneticStripeReaderTrackData, IMagneticStripeReaderTrackData_Vtbl, 0x104cf671_4a9d_446e_abc5_20402307ba36); #[repr(C)] pub struct IMagneticStripeReaderTrackData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1493,13 +1493,13 @@ pub struct IMagneticStripeReaderTrackData_Vtbl { #[cfg(not(feature = "Storage_Streams"))] EncryptedData: usize, } -windows_core::imp::com_interface!(IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs, IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs_Vtbl, 0xaf0a5514_59cc_4a60_99e8_99a53dace5aa); +windows_core::imp::define_interface!(IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs, IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs_Vtbl, 0xaf0a5514_59cc_4a60_99e8_99a53dace5aa); #[repr(C)] pub struct IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs_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, } -windows_core::imp::com_interface!(IPosPrinter, IPosPrinter_Vtbl, 0x2a03c10e_9a19_4a01_994f_12dfad6adcbf); +windows_core::imp::define_interface!(IPosPrinter, IPosPrinter_Vtbl, 0x2a03c10e_9a19_4a01_994f_12dfad6adcbf); #[repr(C)] pub struct IPosPrinter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1523,7 +1523,7 @@ pub struct IPosPrinter_Vtbl { 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, } -windows_core::imp::com_interface!(IPosPrinter2, IPosPrinter2_Vtbl, 0x248475e8_8b98_5517_8e48_760e86f68987); +windows_core::imp::define_interface!(IPosPrinter2, IPosPrinter2_Vtbl, 0x248475e8_8b98_5517_8e48_760e86f68987); #[repr(C)] pub struct IPosPrinter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1533,7 +1533,7 @@ pub struct IPosPrinter2_Vtbl { 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, } -windows_core::imp::com_interface!(IPosPrinterCapabilities, IPosPrinterCapabilities_Vtbl, 0xcde95721_4380_4985_adc5_39db30cd93bc); +windows_core::imp::define_interface!(IPosPrinterCapabilities, IPosPrinterCapabilities_Vtbl, 0xcde95721_4380_4985_adc5_39db30cd93bc); #[repr(C)] pub struct IPosPrinterCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1548,7 +1548,7 @@ pub struct IPosPrinterCapabilities_Vtbl { pub Slip: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Journal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPosPrinterCharacterSetIdsStatics, IPosPrinterCharacterSetIdsStatics_Vtbl, 0x5c709eff_709a_4fe7_b215_06a748a38b39); +windows_core::imp::define_interface!(IPosPrinterCharacterSetIdsStatics, IPosPrinterCharacterSetIdsStatics_Vtbl, 0x5c709eff_709a_4fe7_b215_06a748a38b39); #[repr(C)] pub struct IPosPrinterCharacterSetIdsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1556,7 +1556,7 @@ pub struct IPosPrinterCharacterSetIdsStatics_Vtbl { pub Ascii: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Ansi: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPosPrinterFontProperty, IPosPrinterFontProperty_Vtbl, 0xa7f4e93a_f8ac_5f04_84d2_29b16d8a633c); +windows_core::imp::define_interface!(IPosPrinterFontProperty, IPosPrinterFontProperty_Vtbl, 0xa7f4e93a_f8ac_5f04_84d2_29b16d8a633c); #[repr(C)] pub struct IPosPrinterFontProperty_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1567,7 +1567,7 @@ pub struct IPosPrinterFontProperty_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CharacterSizes: usize, } -windows_core::imp::com_interface!(IPosPrinterJob, IPosPrinterJob_Vtbl, 0x9a94005c_0615_4591_a58f_30f87edfe2e4); +windows_core::imp::define_interface!(IPosPrinterJob, IPosPrinterJob_Vtbl, 0x9a94005c_0615_4591_a58f_30f87edfe2e4); windows_core::imp::interface_hierarchy!(IPosPrinterJob, windows_core::IUnknown, windows_core::IInspectable); impl IPosPrinterJob { pub fn Print(&self, data: &windows_core::HSTRING) -> windows_core::Result<()> { @@ -1601,7 +1601,7 @@ pub struct IPosPrinterJob_Vtbl { 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, } -windows_core::imp::com_interface!(IPosPrinterPrintOptions, IPosPrinterPrintOptions_Vtbl, 0x0a2e16fd_1d02_5a58_9d59_bfcde76fde86); +windows_core::imp::define_interface!(IPosPrinterPrintOptions, IPosPrinterPrintOptions_Vtbl, 0x0a2e16fd_1d02_5a58_9d59_bfcde76fde86); #[repr(C)] pub struct IPosPrinterPrintOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1632,12 +1632,12 @@ pub struct IPosPrinterPrintOptions_Vtbl { pub CharacterSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetCharacterSet: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPosPrinterReleaseDeviceRequestedEventArgs, IPosPrinterReleaseDeviceRequestedEventArgs_Vtbl, 0x2bcba359_1cef_40b2_9ecb_f927f856ae3c); +windows_core::imp::define_interface!(IPosPrinterReleaseDeviceRequestedEventArgs, IPosPrinterReleaseDeviceRequestedEventArgs_Vtbl, 0x2bcba359_1cef_40b2_9ecb_f927f856ae3c); #[repr(C)] pub struct IPosPrinterReleaseDeviceRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPosPrinterStatics, IPosPrinterStatics_Vtbl, 0x8ce0d4ea_132f_4cdf_a64a_2d0d7c96a85b); +windows_core::imp::define_interface!(IPosPrinterStatics, IPosPrinterStatics_Vtbl, 0x8ce0d4ea_132f_4cdf_a64a_2d0d7c96a85b); #[repr(C)] pub struct IPosPrinterStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1645,26 +1645,26 @@ pub struct IPosPrinterStatics_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, } -windows_core::imp::com_interface!(IPosPrinterStatics2, IPosPrinterStatics2_Vtbl, 0xeecd2c1c_b0d0_42e7_b137_b89b16244d41); +windows_core::imp::define_interface!(IPosPrinterStatics2, IPosPrinterStatics2_Vtbl, 0xeecd2c1c_b0d0_42e7_b137_b89b16244d41); #[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, } -windows_core::imp::com_interface!(IPosPrinterStatus, IPosPrinterStatus_Vtbl, 0xd1f0c730_da40_4328_bf76_5156fa33b747); +windows_core::imp::define_interface!(IPosPrinterStatus, IPosPrinterStatus_Vtbl, 0xd1f0c730_da40_4328_bf76_5156fa33b747); #[repr(C)] pub struct IPosPrinterStatus_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StatusKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PosPrinterStatusKind) -> windows_core::HRESULT, pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPosPrinterStatusUpdatedEventArgs, IPosPrinterStatusUpdatedEventArgs_Vtbl, 0x2edb87df_13a6_428d_ba81_b0e7c3e5a3cd); +windows_core::imp::define_interface!(IPosPrinterStatusUpdatedEventArgs, IPosPrinterStatusUpdatedEventArgs_Vtbl, 0x2edb87df_13a6_428d_ba81_b0e7c3e5a3cd); #[repr(C)] pub struct IPosPrinterStatusUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReceiptOrSlipJob, IReceiptOrSlipJob_Vtbl, 0x532199be_c8c3_4dc2_89e9_5c4a37b34ddc); +windows_core::imp::define_interface!(IReceiptOrSlipJob, IReceiptOrSlipJob_Vtbl, 0x532199be_c8c3_4dc2_89e9_5c4a37b34ddc); windows_core::imp::interface_hierarchy!(IReceiptOrSlipJob, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IReceiptOrSlipJob, IPosPrinterJob); impl IReceiptOrSlipJob { @@ -1826,7 +1826,7 @@ pub struct IReceiptOrSlipJob_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] PrintBitmapCustomWidthCustomAlign: usize, } -windows_core::imp::com_interface!(IReceiptPrintJob, IReceiptPrintJob_Vtbl, 0xaa96066e_acad_4b79_9d0f_c0cfc08dc77b); +windows_core::imp::define_interface!(IReceiptPrintJob, IReceiptPrintJob_Vtbl, 0xaa96066e_acad_4b79_9d0f_c0cfc08dc77b); #[repr(C)] pub struct IReceiptPrintJob_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1834,7 +1834,7 @@ pub struct IReceiptPrintJob_Vtbl { pub CutPaper: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub CutPaperDefault: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReceiptPrintJob2, IReceiptPrintJob2_Vtbl, 0x0cbc12e3_9e29_5179_bcd8_1811d3b9a10e); +windows_core::imp::define_interface!(IReceiptPrintJob2, IReceiptPrintJob2_Vtbl, 0x0cbc12e3_9e29_5179_bcd8_1811d3b9a10e); #[repr(C)] pub struct IReceiptPrintJob2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1843,7 +1843,7 @@ pub struct IReceiptPrintJob2_Vtbl { 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, } -windows_core::imp::com_interface!(IReceiptPrinterCapabilities, IReceiptPrinterCapabilities_Vtbl, 0xb8f0b58f_51a8_43fc_9bd5_8de272a6415b); +windows_core::imp::define_interface!(IReceiptPrinterCapabilities, IReceiptPrinterCapabilities_Vtbl, 0xb8f0b58f_51a8_43fc_9bd5_8de272a6415b); #[repr(C)] pub struct IReceiptPrinterCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1851,7 +1851,7 @@ pub struct IReceiptPrinterCapabilities_Vtbl { pub IsStampSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub MarkFeedCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PosPrinterMarkFeedCapabilities) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReceiptPrinterCapabilities2, IReceiptPrinterCapabilities2_Vtbl, 0x20030638_8a2c_55ac_9a7b_7576d8869e99); +windows_core::imp::define_interface!(IReceiptPrinterCapabilities2, IReceiptPrinterCapabilities2_Vtbl, 0x20030638_8a2c_55ac_9a7b_7576d8869e99); #[repr(C)] pub struct IReceiptPrinterCapabilities2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1862,7 +1862,7 @@ pub struct IReceiptPrinterCapabilities2_Vtbl { pub IsReversePaperFeedByLineSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsReversePaperFeedByMapModeUnitSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISlipPrintJob, ISlipPrintJob_Vtbl, 0x5d88f95d_6131_5a4b_b7d5_8ef2da7b4165); +windows_core::imp::define_interface!(ISlipPrintJob, ISlipPrintJob_Vtbl, 0x5d88f95d_6131_5a4b_b7d5_8ef2da7b4165); #[repr(C)] pub struct ISlipPrintJob_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1870,14 +1870,14 @@ pub struct ISlipPrintJob_Vtbl { 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, } -windows_core::imp::com_interface!(ISlipPrinterCapabilities, ISlipPrinterCapabilities_Vtbl, 0x99b16399_488c_4157_8ac2_9f57f708d3db); +windows_core::imp::define_interface!(ISlipPrinterCapabilities, ISlipPrinterCapabilities_Vtbl, 0x99b16399_488c_4157_8ac2_9f57f708d3db); #[repr(C)] pub struct ISlipPrinterCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsFullLengthSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsBothSidesPrintingSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISlipPrinterCapabilities2, ISlipPrinterCapabilities2_Vtbl, 0x6ff89671_2d1a_5000_87c2_b0851bfdf07e); +windows_core::imp::define_interface!(ISlipPrinterCapabilities2, ISlipPrinterCapabilities2_Vtbl, 0x6ff89671_2d1a_5000_87c2_b0851bfdf07e); #[repr(C)] pub struct ISlipPrinterCapabilities2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1888,7 +1888,7 @@ pub struct ISlipPrinterCapabilities2_Vtbl { pub IsReversePaperFeedByLineSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsReversePaperFeedByMapModeUnitSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUnifiedPosErrorData, IUnifiedPosErrorData_Vtbl, 0x2b998c3a_555c_4889_8ed8_c599bb3a712a); +windows_core::imp::define_interface!(IUnifiedPosErrorData, IUnifiedPosErrorData_Vtbl, 0x2b998c3a_555c_4889_8ed8_c599bb3a712a); #[repr(C)] pub struct IUnifiedPosErrorData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1897,7 +1897,7 @@ pub struct IUnifiedPosErrorData_Vtbl { 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, } -windows_core::imp::com_interface!(IUnifiedPosErrorDataFactory, IUnifiedPosErrorDataFactory_Vtbl, 0x4b982551_1ffe_451b_a368_63e0ce465f5a); +windows_core::imp::define_interface!(IUnifiedPosErrorDataFactory, IUnifiedPosErrorDataFactory_Vtbl, 0x4b982551_1ffe_451b_a368_63e0ce465f5a); #[repr(C)] pub struct IUnifiedPosErrorDataFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Portable/mod.rs b/crates/libs/windows/src/Windows/Devices/Portable/mod.rs index 88d9d61fbe..c84724ec31 100644 --- a/crates/libs/windows/src/Windows/Devices/Portable/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Portable/mod.rs @@ -1,11 +1,11 @@ -windows_core::imp::com_interface!(IServiceDeviceStatics, IServiceDeviceStatics_Vtbl, 0xa88214e1_59c7_4a20_aba6_9f6707937230); +windows_core::imp::define_interface!(IServiceDeviceStatics, IServiceDeviceStatics_Vtbl, 0xa88214e1_59c7_4a20_aba6_9f6707937230); #[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, } -windows_core::imp::com_interface!(IStorageDeviceStatics, IStorageDeviceStatics_Vtbl, 0x5ece44ee_1b23_4dd2_8652_bc164f003128); +windows_core::imp::define_interface!(IStorageDeviceStatics, IStorageDeviceStatics_Vtbl, 0x5ece44ee_1b23_4dd2_8652_bc164f003128); #[repr(C)] pub struct IStorageDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Power/mod.rs b/crates/libs/windows/src/Windows/Devices/Power/mod.rs index eaff387ddf..0814bd93b5 100644 --- a/crates/libs/windows/src/Windows/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Power/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IBattery, IBattery_Vtbl, 0xbc894fc6_0072_47c8_8b5d_614aaa7a437e); +windows_core::imp::define_interface!(IBattery, IBattery_Vtbl, 0xbc894fc6_0072_47c8_8b5d_614aaa7a437e); #[repr(C)] pub struct IBattery_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct IBattery_Vtbl { 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, } -windows_core::imp::com_interface!(IBatteryReport, IBatteryReport_Vtbl, 0xc9858c3a_4e13_420a_a8d0_24f18f395401); +windows_core::imp::define_interface!(IBatteryReport, IBatteryReport_Vtbl, 0xc9858c3a_4e13_420a_a8d0_24f18f395401); #[repr(C)] pub struct IBatteryReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,7 +20,7 @@ pub struct IBatteryReport_Vtbl { #[cfg(not(feature = "System_Power"))] Status: usize, } -windows_core::imp::com_interface!(IBatteryStatics, IBatteryStatics_Vtbl, 0x79cd72b6_9e5e_4452_bea6_dfcd541e597f); +windows_core::imp::define_interface!(IBatteryStatics, IBatteryStatics_Vtbl, 0x79cd72b6_9e5e_4452_bea6_dfcd541e597f); #[repr(C)] pub struct IBatteryStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 facfda16fd..0ecc3b3717 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/Extensions/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPrint3DWorkflow, IPrint3DWorkflow_Vtbl, 0xc56f74bd_3669_4a66_ab42_c8151930cd34); +windows_core::imp::define_interface!(IPrint3DWorkflow, IPrint3DWorkflow_Vtbl, 0xc56f74bd_3669_4a66_ab42_c8151930cd34); #[repr(C)] pub struct IPrint3DWorkflow_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,14 +9,14 @@ pub struct IPrint3DWorkflow_Vtbl { pub PrintRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePrintRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint3DWorkflow2, IPrint3DWorkflow2_Vtbl, 0xa2a6c54f_8ac1_4918_9741_e34f3004239e); +windows_core::imp::define_interface!(IPrint3DWorkflow2, IPrint3DWorkflow2_Vtbl, 0xa2a6c54f_8ac1_4918_9741_e34f3004239e); #[repr(C)] pub struct IPrint3DWorkflow2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PrinterChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePrinterChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint3DWorkflowPrintRequestedEventArgs, IPrint3DWorkflowPrintRequestedEventArgs_Vtbl, 0x19f8c858_5ac8_4b55_8a5f_e61567dafb4d); +windows_core::imp::define_interface!(IPrint3DWorkflowPrintRequestedEventArgs, IPrint3DWorkflowPrintRequestedEventArgs_Vtbl, 0x19f8c858_5ac8_4b55_8a5f_e61567dafb4d); #[repr(C)] pub struct IPrint3DWorkflowPrintRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -25,19 +25,19 @@ pub struct IPrint3DWorkflowPrintRequestedEventArgs_Vtbl { pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSourceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint3DWorkflowPrinterChangedEventArgs, IPrint3DWorkflowPrinterChangedEventArgs_Vtbl, 0x45226402_95fc_4847_93b3_134dbf5c60f7); +windows_core::imp::define_interface!(IPrint3DWorkflowPrinterChangedEventArgs, IPrint3DWorkflowPrinterChangedEventArgs_Vtbl, 0x45226402_95fc_4847_93b3_134dbf5c60f7); #[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, } -windows_core::imp::com_interface!(IPrintExtensionContextStatic, IPrintExtensionContextStatic_Vtbl, 0xe70d9fc1_ff79_4aa4_8c9b_0c93aedfde8a); +windows_core::imp::define_interface!(IPrintExtensionContextStatic, IPrintExtensionContextStatic_Vtbl, 0xe70d9fc1_ff79_4aa4_8c9b_0c93aedfde8a); #[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, } -windows_core::imp::com_interface!(IPrintNotificationEventDetails, IPrintNotificationEventDetails_Vtbl, 0xe00e4c8a_4828_4da1_8bb8_8672df8515e7); +windows_core::imp::define_interface!(IPrintNotificationEventDetails, IPrintNotificationEventDetails_Vtbl, 0xe00e4c8a_4828_4da1_8bb8_8672df8515e7); #[repr(C)] pub struct IPrintNotificationEventDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -45,7 +45,7 @@ pub struct IPrintNotificationEventDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintTaskConfiguration, IPrintTaskConfiguration_Vtbl, 0xe3c22451_3aa4_4885_9240_311f5f8fbe9d); +windows_core::imp::define_interface!(IPrintTaskConfiguration, IPrintTaskConfiguration_Vtbl, 0xe3c22451_3aa4_4885_9240_311f5f8fbe9d); #[repr(C)] pub struct IPrintTaskConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,7 +53,7 @@ pub struct IPrintTaskConfiguration_Vtbl { pub SaveRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSaveRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskConfigurationSaveRequest, IPrintTaskConfigurationSaveRequest_Vtbl, 0xeeaf2fcb_621e_4b62_ac77_b281cce08d60); +windows_core::imp::define_interface!(IPrintTaskConfigurationSaveRequest, IPrintTaskConfigurationSaveRequest_Vtbl, 0xeeaf2fcb_621e_4b62_ac77_b281cce08d60); #[repr(C)] pub struct IPrintTaskConfigurationSaveRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -62,13 +62,13 @@ pub struct IPrintTaskConfigurationSaveRequest_Vtbl { pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskConfigurationSaveRequestedDeferral, IPrintTaskConfigurationSaveRequestedDeferral_Vtbl, 0xe959d568_f729_44a4_871d_bd0628696a33); +windows_core::imp::define_interface!(IPrintTaskConfigurationSaveRequestedDeferral, IPrintTaskConfigurationSaveRequestedDeferral_Vtbl, 0xe959d568_f729_44a4_871d_bd0628696a33); #[repr(C)] pub struct IPrintTaskConfigurationSaveRequestedDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskConfigurationSaveRequestedEventArgs, IPrintTaskConfigurationSaveRequestedEventArgs_Vtbl, 0xe06c2879_0d61_4938_91d0_96a45bee8479); +windows_core::imp::define_interface!(IPrintTaskConfigurationSaveRequestedEventArgs, IPrintTaskConfigurationSaveRequestedEventArgs_Vtbl, 0xe06c2879_0d61_4938_91d0_96a45bee8479); #[repr(C)] pub struct IPrintTaskConfigurationSaveRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs index b70c5d7cc6..05a69e1ef7 100644 --- a/crates/libs/windows/src/Windows/Devices/Printers/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Printers/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Devices_Printers_Extensions")] pub mod Extensions; -windows_core::imp::com_interface!(IIppAttributeError, IIppAttributeError_Vtbl, 0x750feda1_9eef_5c39_93e4_46149bbcef27); +windows_core::imp::define_interface!(IIppAttributeError, IIppAttributeError_Vtbl, 0x750feda1_9eef_5c39_93e4_46149bbcef27); #[repr(C)] pub struct IIppAttributeError_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,7 +11,7 @@ pub struct IIppAttributeError_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetUnsupportedValues: usize, } -windows_core::imp::com_interface!(IIppAttributeValue, IIppAttributeValue_Vtbl, 0x99407fed_e2bb_59a3_988b_28a974052a26); +windows_core::imp::define_interface!(IIppAttributeValue, IIppAttributeValue_Vtbl, 0x99407fed_e2bb_59a3_988b_28a974052a26); #[repr(C)] pub struct IIppAttributeValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,7 +89,7 @@ pub struct IIppAttributeValue_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetMimeMediaTypeArray: usize, } -windows_core::imp::com_interface!(IIppAttributeValueStatics, IIppAttributeValueStatics_Vtbl, 0x10d43942_dd94_5998_b235_afafb6fa7935); +windows_core::imp::define_interface!(IIppAttributeValueStatics, IIppAttributeValueStatics_Vtbl, 0x10d43942_dd94_5998_b235_afafb6fa7935); #[repr(C)] pub struct IIppAttributeValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -193,20 +193,20 @@ pub struct IIppAttributeValueStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateMimeMediaArray: usize, } -windows_core::imp::com_interface!(IIppIntegerRange, IIppIntegerRange_Vtbl, 0x92907346_c3ea_5ed6_bdb1_3752c62c6f7f); +windows_core::imp::define_interface!(IIppIntegerRange, IIppIntegerRange_Vtbl, 0x92907346_c3ea_5ed6_bdb1_3752c62c6f7f); #[repr(C)] pub struct IIppIntegerRange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub End: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIppIntegerRangeFactory, IIppIntegerRangeFactory_Vtbl, 0x75d4ecae_f87e_54ad_b5d0_465204db7553); +windows_core::imp::define_interface!(IIppIntegerRangeFactory, IIppIntegerRangeFactory_Vtbl, 0x75d4ecae_f87e_54ad_b5d0_465204db7553); #[repr(C)] pub struct IIppIntegerRangeFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIppPrintDevice, IIppPrintDevice_Vtbl, 0xd748ac56_76f3_5dc6_afd4_c2a8686b9359); +windows_core::imp::define_interface!(IIppPrintDevice, IIppPrintDevice_Vtbl, 0xd748ac56_76f3_5dc6_afd4_c2a8686b9359); #[repr(C)] pub struct IIppPrintDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -229,7 +229,7 @@ pub struct IIppPrintDevice_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetPrinterAttributes: usize, } -windows_core::imp::com_interface!(IIppPrintDevice2, IIppPrintDevice2_Vtbl, 0xf7c844c9_9d21_5c63_ac20_3676915be2d7); +windows_core::imp::define_interface!(IIppPrintDevice2, IIppPrintDevice2_Vtbl, 0xf7c844c9_9d21_5c63_ac20_3676915be2d7); #[repr(C)] pub struct IIppPrintDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -238,7 +238,7 @@ pub struct IIppPrintDevice2_Vtbl { pub IsPdlPassthroughSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IIppPrintDeviceStatics, IIppPrintDeviceStatics_Vtbl, 0x7dc19f08_7f20_52ab_94a7_894b83b2a17e); +windows_core::imp::define_interface!(IIppPrintDeviceStatics, IIppPrintDeviceStatics_Vtbl, 0x7dc19f08_7f20_52ab_94a7_894b83b2a17e); #[repr(C)] pub struct IIppPrintDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -247,7 +247,7 @@ pub struct IIppPrintDeviceStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IIppResolution, IIppResolution_Vtbl, 0xcb493f86_6bf3_56f5_86ce_263d08aead63); +windows_core::imp::define_interface!(IIppResolution, IIppResolution_Vtbl, 0xcb493f86_6bf3_56f5_86ce_263d08aead63); #[repr(C)] pub struct IIppResolution_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -255,13 +255,13 @@ pub struct IIppResolution_Vtbl { pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Unit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IppResolutionUnit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIppResolutionFactory, IIppResolutionFactory_Vtbl, 0xe481c2ae_251a_5326_b173_95543ed99a35); +windows_core::imp::define_interface!(IIppResolutionFactory, IIppResolutionFactory_Vtbl, 0xe481c2ae_251a_5326_b173_95543ed99a35); #[repr(C)] pub struct IIppResolutionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, IppResolutionUnit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIppSetAttributesResult, IIppSetAttributesResult_Vtbl, 0x7d1c7f55_aa9d_58a3_90e9_17bdc5281f07); +windows_core::imp::define_interface!(IIppSetAttributesResult, IIppSetAttributesResult_Vtbl, 0x7d1c7f55_aa9d_58a3_90e9_17bdc5281f07); #[repr(C)] pub struct IIppSetAttributesResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -271,20 +271,20 @@ pub struct IIppSetAttributesResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AttributeErrors: usize, } -windows_core::imp::com_interface!(IIppTextWithLanguage, IIppTextWithLanguage_Vtbl, 0x326447a6_5149_5936_90e8_0c736036bf77); +windows_core::imp::define_interface!(IIppTextWithLanguage, IIppTextWithLanguage_Vtbl, 0x326447a6_5149_5936_90e8_0c736036bf77); #[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, } -windows_core::imp::com_interface!(IIppTextWithLanguageFactory, IIppTextWithLanguageFactory_Vtbl, 0xca4a1e8d_2968_5775_997c_8a46f1a574ed); +windows_core::imp::define_interface!(IIppTextWithLanguageFactory, IIppTextWithLanguageFactory_Vtbl, 0xca4a1e8d_2968_5775_997c_8a46f1a574ed); #[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, } -windows_core::imp::com_interface!(IPageConfigurationSettings, IPageConfigurationSettings_Vtbl, 0xb6fc1e02_5331_54ff_95a0_1fcb76bb97a9); +windows_core::imp::define_interface!(IPageConfigurationSettings, IPageConfigurationSettings_Vtbl, 0xb6fc1e02_5331_54ff_95a0_1fcb76bb97a9); #[repr(C)] pub struct IPageConfigurationSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -293,7 +293,7 @@ pub struct IPageConfigurationSettings_Vtbl { pub SizeSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PageConfigurationSource) -> windows_core::HRESULT, pub SetSizeSource: unsafe extern "system" fn(*mut core::ffi::c_void, PageConfigurationSource) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPdlPassthroughProvider, IPdlPassthroughProvider_Vtbl, 0x23c71dd2_6117_553f_9378_180af5849a49); +windows_core::imp::define_interface!(IPdlPassthroughProvider, IPdlPassthroughProvider_Vtbl, 0x23c71dd2_6117_553f_9378_180af5849a49); #[repr(C)] pub struct IPdlPassthroughProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -310,7 +310,7 @@ pub struct IPdlPassthroughProvider_Vtbl { #[cfg(not(feature = "Storage_Streams"))] StartPrintJobWithPrintTicket: usize, } -windows_core::imp::com_interface!(IPdlPassthroughTarget, IPdlPassthroughTarget_Vtbl, 0x9840be79_67f8_5385_a5b9_e8c96e0fca76); +windows_core::imp::define_interface!(IPdlPassthroughTarget, IPdlPassthroughTarget_Vtbl, 0x9840be79_67f8_5385_a5b9_e8c96e0fca76); #[repr(C)] pub struct IPdlPassthroughTarget_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -321,20 +321,20 @@ pub struct IPdlPassthroughTarget_Vtbl { GetOutputStream: usize, pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint3DDevice, IPrint3DDevice_Vtbl, 0x041c3d19_9713_42a2_9813_7dc3337428d3); +windows_core::imp::define_interface!(IPrint3DDevice, IPrint3DDevice_Vtbl, 0x041c3d19_9713_42a2_9813_7dc3337428d3); #[repr(C)] pub struct IPrint3DDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PrintSchema: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint3DDeviceStatics, IPrint3DDeviceStatics_Vtbl, 0xfde3620a_67cd_41b7_a344_5150a1fd75b5); +windows_core::imp::define_interface!(IPrint3DDeviceStatics, IPrint3DDeviceStatics_Vtbl, 0xfde3620a_67cd_41b7_a344_5150a1fd75b5); #[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, } -windows_core::imp::com_interface!(IPrintSchema, IPrintSchema_Vtbl, 0xc2b98316_26b8_4bfb_8138_9f962c22a35b); +windows_core::imp::define_interface!(IPrintSchema, IPrintSchema_Vtbl, 0xc2b98316_26b8_4bfb_8138_9f962c22a35b); #[repr(C)] pub struct IPrintSchema_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 233eb29418..d73084e465 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPwmControllerProvider, IPwmControllerProvider_Vtbl, 0x1300593b_e2e3_40a4_b7d9_48dff0377a52); +windows_core::imp::define_interface!(IPwmControllerProvider, IPwmControllerProvider_Vtbl, 0x1300593b_e2e3_40a4_b7d9_48dff0377a52); windows_core::imp::interface_hierarchy!(IPwmControllerProvider, windows_core::IUnknown, windows_core::IInspectable); impl IPwmControllerProvider { pub fn PinCount(&self) -> windows_core::Result { @@ -74,7 +74,7 @@ pub struct IPwmControllerProvider_Vtbl { pub DisablePin: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SetPulseParameters: unsafe extern "system" fn(*mut core::ffi::c_void, i32, f64, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPwmProvider, IPwmProvider_Vtbl, 0xa3301228_52f1_47b0_9349_66ba43d25902); +windows_core::imp::define_interface!(IPwmProvider, IPwmProvider_Vtbl, 0xa3301228_52f1_47b0_9349_66ba43d25902); windows_core::imp::interface_hierarchy!(IPwmProvider, windows_core::IUnknown, windows_core::IInspectable); impl IPwmProvider { #[cfg(feature = "Foundation_Collections")] diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs index 522521e149..597fb4e45b 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Devices_Pwm_Provider")] pub mod Provider; -windows_core::imp::com_interface!(IPwmController, IPwmController_Vtbl, 0xc45f5c85_d2e8_42cf_9bd6_cf5ed029e6a7); +windows_core::imp::define_interface!(IPwmController, IPwmController_Vtbl, 0xc45f5c85_d2e8_42cf_9bd6_cf5ed029e6a7); #[repr(C)] pub struct IPwmController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,7 +11,7 @@ pub struct IPwmController_Vtbl { pub MaxFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub OpenPin: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPwmControllerStatics, IPwmControllerStatics_Vtbl, 0x4263bda1_8946_4404_bd48_81dd124af4d9); +windows_core::imp::define_interface!(IPwmControllerStatics, IPwmControllerStatics_Vtbl, 0x4263bda1_8946_4404_bd48_81dd124af4d9); #[repr(C)] pub struct IPwmControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,13 +20,13 @@ pub struct IPwmControllerStatics_Vtbl { #[cfg(not(all(feature = "Devices_Pwm_Provider", feature = "Foundation_Collections")))] GetControllersAsync: usize, } -windows_core::imp::com_interface!(IPwmControllerStatics2, IPwmControllerStatics2_Vtbl, 0x44fc5b1f_f119_4bdd_97ad_f76ef986736d); +windows_core::imp::define_interface!(IPwmControllerStatics2, IPwmControllerStatics2_Vtbl, 0x44fc5b1f_f119_4bdd_97ad_f76ef986736d); #[repr(C)] pub struct IPwmControllerStatics2_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, } -windows_core::imp::com_interface!(IPwmControllerStatics3, IPwmControllerStatics3_Vtbl, 0xb2581871_0229_4344_ae3f_9b7cd0e66b94); +windows_core::imp::define_interface!(IPwmControllerStatics3, IPwmControllerStatics3_Vtbl, 0xb2581871_0229_4344_ae3f_9b7cd0e66b94); #[repr(C)] pub struct IPwmControllerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -34,7 +34,7 @@ pub struct IPwmControllerStatics3_Vtbl { 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, } -windows_core::imp::com_interface!(IPwmPin, IPwmPin_Vtbl, 0x22972dc8_c6cf_4821_b7f9_c6454fb6af79); +windows_core::imp::define_interface!(IPwmPin, IPwmPin_Vtbl, 0x22972dc8_c6cf_4821_b7f9_c6454fb6af79); #[repr(C)] pub struct IPwmPin_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs index 72e21afcad..897e6ecade 100644 --- a/crates/libs/windows/src/Windows/Devices/Radios/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Radios/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IRadio, IRadio_Vtbl, 0x252118df_b33e_416a_875f_1cf38ae2d83e); +windows_core::imp::define_interface!(IRadio, IRadio_Vtbl, 0x252118df_b33e_416a_875f_1cf38ae2d83e); #[repr(C)] pub struct IRadio_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IRadio_Vtbl { pub Name: 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 RadioKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadioStatics, IRadioStatics_Vtbl, 0x5fb6a12e_67cb_46ae_aae9_65919f86eff4); +windows_core::imp::define_interface!(IRadioStatics, IRadioStatics_Vtbl, 0x5fb6a12e_67cb_46ae_aae9_65919f86eff4); #[repr(C)] pub struct IRadioStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs index b75ce26ef4..041afb4ffc 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IImageScanner, IImageScanner_Vtbl, 0x53a88f78_5298_48a0_8da3_8087519665e0); +windows_core::imp::define_interface!(IImageScanner, IImageScanner_Vtbl, 0x53a88f78_5298_48a0_8da3_8087519665e0); #[repr(C)] pub struct IImageScanner_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,7 +18,7 @@ pub struct IImageScanner_Vtbl { #[cfg(not(feature = "Storage"))] ScanFilesToFolderAsync: usize, } -windows_core::imp::com_interface!(IImageScannerFeederConfiguration, IImageScannerFeederConfiguration_Vtbl, 0x74bdacee_fa97_4c17_8280_40e39c6dcc67); +windows_core::imp::define_interface!(IImageScannerFeederConfiguration, IImageScannerFeederConfiguration_Vtbl, 0x74bdacee_fa97_4c17_8280_40e39c6dcc67); #[repr(C)] pub struct IImageScannerFeederConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -55,7 +55,7 @@ pub struct IImageScannerFeederConfiguration_Vtbl { pub ScanAhead: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetScanAhead: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageScannerFormatConfiguration, IImageScannerFormatConfiguration_Vtbl, 0xae275d11_dadf_4010_bf10_cca5c83dcbb0); +windows_core::imp::define_interface!(IImageScannerFormatConfiguration, IImageScannerFormatConfiguration_Vtbl, 0xae275d11_dadf_4010_bf10_cca5c83dcbb0); windows_core::imp::interface_hierarchy!(IImageScannerFormatConfiguration, windows_core::IUnknown, windows_core::IInspectable); impl IImageScannerFormatConfiguration { pub fn DefaultFormat(&self) -> windows_core::Result { @@ -95,14 +95,14 @@ pub struct IImageScannerFormatConfiguration_Vtbl { pub SetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, ImageScannerFormat) -> windows_core::HRESULT, pub IsFormatSupported: unsafe extern "system" fn(*mut core::ffi::c_void, ImageScannerFormat, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageScannerPreviewResult, IImageScannerPreviewResult_Vtbl, 0x08b7fe8e_8891_441d_be9c_176fa109c8bb); +windows_core::imp::define_interface!(IImageScannerPreviewResult, IImageScannerPreviewResult_Vtbl, 0x08b7fe8e_8891_441d_be9c_176fa109c8bb); #[repr(C)] pub struct IImageScannerPreviewResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Succeeded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Format: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ImageScannerFormat) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageScannerScanResult, IImageScannerScanResult_Vtbl, 0xc91624cd_9037_4e48_84c1_ac0975076bc5); +windows_core::imp::define_interface!(IImageScannerScanResult, IImageScannerScanResult_Vtbl, 0xc91624cd_9037_4e48_84c1_ac0975076bc5); #[repr(C)] pub struct IImageScannerScanResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -111,7 +111,7 @@ pub struct IImageScannerScanResult_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] ScannedFiles: usize, } -windows_core::imp::com_interface!(IImageScannerSourceConfiguration, IImageScannerSourceConfiguration_Vtbl, 0xbfb50055_0b44_4c82_9e89_205f9c234e59); +windows_core::imp::define_interface!(IImageScannerSourceConfiguration, IImageScannerSourceConfiguration_Vtbl, 0xbfb50055_0b44_4c82_9e89_205f9c234e59); windows_core::imp::interface_hierarchy!(IImageScannerSourceConfiguration, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IImageScannerSourceConfiguration, IImageScannerFormatConfiguration); impl IImageScannerSourceConfiguration { @@ -362,7 +362,7 @@ pub struct IImageScannerSourceConfiguration_Vtbl { pub Contrast: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetContrast: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageScannerStatics, IImageScannerStatics_Vtbl, 0xbc57e70e_d804_4477_9fb5_b911b5473897); +windows_core::imp::define_interface!(IImageScannerStatics, IImageScannerStatics_Vtbl, 0xbc57e70e_d804_4477_9fb5_b911b5473897); #[repr(C)] pub struct IImageScannerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 79d0b54e90..357379ce59 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/Custom/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICustomSensor, ICustomSensor_Vtbl, 0xa136f9ad_4034_4b4d_99dd_531aac649c09); +windows_core::imp::define_interface!(ICustomSensor, ICustomSensor_Vtbl, 0xa136f9ad_4034_4b4d_99dd_531aac649c09); #[repr(C)] pub struct ICustomSensor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -10,7 +10,7 @@ pub struct ICustomSensor_Vtbl { 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, } -windows_core::imp::com_interface!(ICustomSensor2, ICustomSensor2_Vtbl, 0x20db3111_ec58_4d9f_bfbd_e77825088510); +windows_core::imp::define_interface!(ICustomSensor2, ICustomSensor2_Vtbl, 0x20db3111_ec58_4d9f_bfbd_e77825088510); #[repr(C)] pub struct ICustomSensor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,7 +18,7 @@ pub struct ICustomSensor2_Vtbl { pub ReportLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICustomSensorReading, ICustomSensorReading_Vtbl, 0x64004f4d_446a_4366_a87a_5f963268ec53); +windows_core::imp::define_interface!(ICustomSensorReading, ICustomSensorReading_Vtbl, 0x64004f4d_446a_4366_a87a_5f963268ec53); #[repr(C)] pub struct ICustomSensorReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -28,19 +28,19 @@ pub struct ICustomSensorReading_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(ICustomSensorReading2, ICustomSensorReading2_Vtbl, 0x223c98ea_bf73_4992_9a48_d3c897594ccb); +windows_core::imp::define_interface!(ICustomSensorReading2, ICustomSensorReading2_Vtbl, 0x223c98ea_bf73_4992_9a48_d3c897594ccb); #[repr(C)] pub struct ICustomSensorReading2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PerformanceCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICustomSensorReadingChangedEventArgs, ICustomSensorReadingChangedEventArgs_Vtbl, 0x6b202023_cffd_4cc1_8ff0_e21823d76fcc); +windows_core::imp::define_interface!(ICustomSensorReadingChangedEventArgs, ICustomSensorReadingChangedEventArgs_Vtbl, 0x6b202023_cffd_4cc1_8ff0_e21823d76fcc); #[repr(C)] pub struct ICustomSensorReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICustomSensorStatics, ICustomSensorStatics_Vtbl, 0x992052cf_f422_4c7d_836b_e7dc74a7124b); +windows_core::imp::define_interface!(ICustomSensorStatics, ICustomSensorStatics_Vtbl, 0x992052cf_f422_4c7d_836b_e7dc74a7124b); #[repr(C)] pub struct ICustomSensorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs index 27bfc95d69..1e708c79f0 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Devices_Sensors_Custom")] pub mod Custom; -windows_core::imp::com_interface!(IAccelerometer, IAccelerometer_Vtbl, 0xdf184548_2711_4da7_8098_4b82205d3c7d); +windows_core::imp::define_interface!(IAccelerometer, IAccelerometer_Vtbl, 0xdf184548_2711_4da7_8098_4b82205d3c7d); #[repr(C)] pub struct IAccelerometer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -13,7 +13,7 @@ pub struct IAccelerometer_Vtbl { pub Shaken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveShaken: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccelerometer2, IAccelerometer2_Vtbl, 0xe8f092ee_4964_401a_b602_220d7153c60a); +windows_core::imp::define_interface!(IAccelerometer2, IAccelerometer2_Vtbl, 0xe8f092ee_4964_401a_b602_220d7153c60a); #[repr(C)] pub struct IAccelerometer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct IAccelerometer2_Vtbl { #[cfg(not(feature = "Graphics_Display"))] ReadingTransform: usize, } -windows_core::imp::com_interface!(IAccelerometer3, IAccelerometer3_Vtbl, 0x87e0022a_ed80_49eb_bf8a_a4ea31e5cd84); +windows_core::imp::define_interface!(IAccelerometer3, IAccelerometer3_Vtbl, 0x87e0022a_ed80_49eb_bf8a_a4ea31e5cd84); #[repr(C)] pub struct IAccelerometer3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -34,19 +34,19 @@ pub struct IAccelerometer3_Vtbl { pub ReportLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccelerometer4, IAccelerometer4_Vtbl, 0x1d373c4f_42d3_45b2_8144_ab7fb665eb59); +windows_core::imp::define_interface!(IAccelerometer4, IAccelerometer4_Vtbl, 0x1d373c4f_42d3_45b2_8144_ab7fb665eb59); #[repr(C)] pub struct IAccelerometer4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReadingType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AccelerometerReadingType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccelerometer5, IAccelerometer5_Vtbl, 0x7e7e7021_def4_53a6_af43_806fd538edf6); +windows_core::imp::define_interface!(IAccelerometer5, IAccelerometer5_Vtbl, 0x7e7e7021_def4_53a6_af43_806fd538edf6); #[repr(C)] pub struct IAccelerometer5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccelerometerDataThreshold, IAccelerometerDataThreshold_Vtbl, 0xf92c1b68_6320_5577_879e_9942621c3dd9); +windows_core::imp::define_interface!(IAccelerometerDataThreshold, IAccelerometerDataThreshold_Vtbl, 0xf92c1b68_6320_5577_879e_9942621c3dd9); #[repr(C)] pub struct IAccelerometerDataThreshold_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,13 +57,13 @@ pub struct IAccelerometerDataThreshold_Vtbl { pub ZAxisInGForce: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetZAxisInGForce: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccelerometerDeviceId, IAccelerometerDeviceId_Vtbl, 0x7eac64a9_97d5_446d_ab5a_917df9b96a2c); +windows_core::imp::define_interface!(IAccelerometerDeviceId, IAccelerometerDeviceId_Vtbl, 0x7eac64a9_97d5_446d_ab5a_917df9b96a2c); #[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, } -windows_core::imp::com_interface!(IAccelerometerReading, IAccelerometerReading_Vtbl, 0xb9fe7acb_d351_40af_8bb6_7aa9ae641fb7); +windows_core::imp::define_interface!(IAccelerometerReading, IAccelerometerReading_Vtbl, 0xb9fe7acb_d351_40af_8bb6_7aa9ae641fb7); #[repr(C)] pub struct IAccelerometerReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -72,7 +72,7 @@ pub struct IAccelerometerReading_Vtbl { pub AccelerationY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub AccelerationZ: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccelerometerReading2, IAccelerometerReading2_Vtbl, 0x0a864aa2_15ae_4a40_be55_db58d7de7389); +windows_core::imp::define_interface!(IAccelerometerReading2, IAccelerometerReading2_Vtbl, 0x0a864aa2_15ae_4a40_be55_db58d7de7389); #[repr(C)] pub struct IAccelerometerReading2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -82,38 +82,38 @@ pub struct IAccelerometerReading2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IAccelerometerReadingChangedEventArgs, IAccelerometerReadingChangedEventArgs_Vtbl, 0x0095c65b_b6ac_475a_9f44_8b32d35a3f25); +windows_core::imp::define_interface!(IAccelerometerReadingChangedEventArgs, IAccelerometerReadingChangedEventArgs_Vtbl, 0x0095c65b_b6ac_475a_9f44_8b32d35a3f25); #[repr(C)] pub struct IAccelerometerReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccelerometerShakenEventArgs, IAccelerometerShakenEventArgs_Vtbl, 0x95ff01d1_4a28_4f35_98e8_8178aae4084a); +windows_core::imp::define_interface!(IAccelerometerShakenEventArgs, IAccelerometerShakenEventArgs_Vtbl, 0x95ff01d1_4a28_4f35_98e8_8178aae4084a); #[repr(C)] pub struct IAccelerometerShakenEventArgs_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, } -windows_core::imp::com_interface!(IAccelerometerStatics, IAccelerometerStatics_Vtbl, 0xa5e28b74_5a87_4a2d_becc_0f906ea061dd); +windows_core::imp::define_interface!(IAccelerometerStatics, IAccelerometerStatics_Vtbl, 0xa5e28b74_5a87_4a2d_becc_0f906ea061dd); #[repr(C)] pub struct IAccelerometerStatics_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, } -windows_core::imp::com_interface!(IAccelerometerStatics2, IAccelerometerStatics2_Vtbl, 0xc4c4842f_d86b_4685_b2d7_3396f798d57b); +windows_core::imp::define_interface!(IAccelerometerStatics2, IAccelerometerStatics2_Vtbl, 0xc4c4842f_d86b_4685_b2d7_3396f798d57b); #[repr(C)] pub struct IAccelerometerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefaultWithAccelerometerReadingType: unsafe extern "system" fn(*mut core::ffi::c_void, AccelerometerReadingType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccelerometerStatics3, IAccelerometerStatics3_Vtbl, 0x9de218cf_455d_4cf3_8200_70e1410340f8); +windows_core::imp::define_interface!(IAccelerometerStatics3, IAccelerometerStatics3_Vtbl, 0x9de218cf_455d_4cf3_8200_70e1410340f8); #[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, } -windows_core::imp::com_interface!(IActivitySensor, IActivitySensor_Vtbl, 0xcd7a630c_fb5f_48eb_b09b_a2708d1c61ef); +windows_core::imp::define_interface!(IActivitySensor, IActivitySensor_Vtbl, 0xcd7a630c_fb5f_48eb_b09b_a2708d1c61ef); #[repr(C)] pub struct IActivitySensor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -132,7 +132,7 @@ pub struct IActivitySensor_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivitySensorReading, IActivitySensorReading_Vtbl, 0x85125a96_1472_40a2_b2ae_e1ef29226c78); +windows_core::imp::define_interface!(IActivitySensorReading, IActivitySensorReading_Vtbl, 0x85125a96_1472_40a2_b2ae_e1ef29226c78); #[repr(C)] pub struct IActivitySensorReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -140,19 +140,19 @@ pub struct IActivitySensorReading_Vtbl { pub Activity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ActivityType) -> windows_core::HRESULT, pub Confidence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ActivitySensorReadingConfidence) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivitySensorReadingChangeReport, IActivitySensorReadingChangeReport_Vtbl, 0x4f3c2915_d93b_47bd_960a_f20fb2f322b9); +windows_core::imp::define_interface!(IActivitySensorReadingChangeReport, IActivitySensorReadingChangeReport_Vtbl, 0x4f3c2915_d93b_47bd_960a_f20fb2f322b9); #[repr(C)] pub struct IActivitySensorReadingChangeReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivitySensorReadingChangedEventArgs, IActivitySensorReadingChangedEventArgs_Vtbl, 0xde386717_aeb6_4ec7_946a_d9cc19b951ec); +windows_core::imp::define_interface!(IActivitySensorReadingChangedEventArgs, IActivitySensorReadingChangedEventArgs_Vtbl, 0xde386717_aeb6_4ec7_946a_d9cc19b951ec); #[repr(C)] pub struct IActivitySensorReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivitySensorStatics, IActivitySensorStatics_Vtbl, 0xa71e0e9d_ee8b_45d1_b25b_08cc0df92ab6); +windows_core::imp::define_interface!(IActivitySensorStatics, IActivitySensorStatics_Vtbl, 0xa71e0e9d_ee8b_45d1_b25b_08cc0df92ab6); #[repr(C)] pub struct IActivitySensorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -168,7 +168,7 @@ pub struct IActivitySensorStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetSystemHistoryWithDurationAsync: usize, } -windows_core::imp::com_interface!(IActivitySensorTriggerDetails, IActivitySensorTriggerDetails_Vtbl, 0x2c9e6612_b9ca_4677_b263_243297f79d3a); +windows_core::imp::define_interface!(IActivitySensorTriggerDetails, IActivitySensorTriggerDetails_Vtbl, 0x2c9e6612_b9ca_4677_b263_243297f79d3a); #[repr(C)] pub struct IActivitySensorTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -177,14 +177,14 @@ pub struct IActivitySensorTriggerDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadReports: usize, } -windows_core::imp::com_interface!(IAdaptiveDimmingOptions, IAdaptiveDimmingOptions_Vtbl, 0xd3213cf7_89b5_5732_b2a0_aefe324f54e6); +windows_core::imp::define_interface!(IAdaptiveDimmingOptions, IAdaptiveDimmingOptions_Vtbl, 0xd3213cf7_89b5_5732_b2a0_aefe324f54e6); #[repr(C)] pub struct IAdaptiveDimmingOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowWhenExternalDisplayConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowWhenExternalDisplayConnected: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAltimeter, IAltimeter_Vtbl, 0x72f057fd_8f04_49f1_b4a7_f4e363b701a2); +windows_core::imp::define_interface!(IAltimeter, IAltimeter_Vtbl, 0x72f057fd_8f04_49f1_b4a7_f4e363b701a2); #[repr(C)] pub struct IAltimeter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -196,7 +196,7 @@ pub struct IAltimeter_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAltimeter2, IAltimeter2_Vtbl, 0xc9471bf9_2add_48f5_9f08_3d0c7660d938); +windows_core::imp::define_interface!(IAltimeter2, IAltimeter2_Vtbl, 0xc9471bf9_2add_48f5_9f08_3d0c7660d938); #[repr(C)] pub struct IAltimeter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -204,14 +204,14 @@ pub struct IAltimeter2_Vtbl { pub ReportLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAltimeterReading, IAltimeterReading_Vtbl, 0xfbe8ef73_7f5e_48c8_aa1a_f1f3befc1144); +windows_core::imp::define_interface!(IAltimeterReading, IAltimeterReading_Vtbl, 0xfbe8ef73_7f5e_48c8_aa1a_f1f3befc1144); #[repr(C)] pub struct IAltimeterReading_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 AltitudeChangeInMeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAltimeterReading2, IAltimeterReading2_Vtbl, 0x543a1bd9_6d0b_42b2_bd69_bc8fae0f782c); +windows_core::imp::define_interface!(IAltimeterReading2, IAltimeterReading2_Vtbl, 0x543a1bd9_6d0b_42b2_bd69_bc8fae0f782c); #[repr(C)] pub struct IAltimeterReading2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -221,19 +221,19 @@ pub struct IAltimeterReading2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IAltimeterReadingChangedEventArgs, IAltimeterReadingChangedEventArgs_Vtbl, 0x7069d077_446d_47f7_998c_ebc23b45e4a2); +windows_core::imp::define_interface!(IAltimeterReadingChangedEventArgs, IAltimeterReadingChangedEventArgs_Vtbl, 0x7069d077_446d_47f7_998c_ebc23b45e4a2); #[repr(C)] pub struct IAltimeterReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAltimeterStatics, IAltimeterStatics_Vtbl, 0x9eb4d7c3_e5ac_47ce_8eef_d3718168c01f); +windows_core::imp::define_interface!(IAltimeterStatics, IAltimeterStatics_Vtbl, 0x9eb4d7c3_e5ac_47ce_8eef_d3718168c01f); #[repr(C)] pub struct IAltimeterStatics_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, } -windows_core::imp::com_interface!(IBarometer, IBarometer_Vtbl, 0x934475a8_78bf_452f_b017_f0209ce6dab4); +windows_core::imp::define_interface!(IBarometer, IBarometer_Vtbl, 0x934475a8_78bf_452f_b017_f0209ce6dab4); #[repr(C)] pub struct IBarometer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -245,7 +245,7 @@ pub struct IBarometer_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarometer2, IBarometer2_Vtbl, 0x32bcc418_3eeb_4d04_9574_7633a8781f9f); +windows_core::imp::define_interface!(IBarometer2, IBarometer2_Vtbl, 0x32bcc418_3eeb_4d04_9574_7633a8781f9f); #[repr(C)] pub struct IBarometer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -253,27 +253,27 @@ pub struct IBarometer2_Vtbl { pub ReportLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarometer3, IBarometer3_Vtbl, 0x0e35f0ea_02b5_5a04_b03d_822084863a54); +windows_core::imp::define_interface!(IBarometer3, IBarometer3_Vtbl, 0x0e35f0ea_02b5_5a04_b03d_822084863a54); #[repr(C)] pub struct IBarometer3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarometerDataThreshold, IBarometerDataThreshold_Vtbl, 0x076b952c_cb62_5a90_a0d1_f85e4a936394); +windows_core::imp::define_interface!(IBarometerDataThreshold, IBarometerDataThreshold_Vtbl, 0x076b952c_cb62_5a90_a0d1_f85e4a936394); #[repr(C)] pub struct IBarometerDataThreshold_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Hectopascals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetHectopascals: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarometerReading, IBarometerReading_Vtbl, 0xf5b9d2e6_1df6_4a1a_a7ad_321d4f5db247); +windows_core::imp::define_interface!(IBarometerReading, IBarometerReading_Vtbl, 0xf5b9d2e6_1df6_4a1a_a7ad_321d4f5db247); #[repr(C)] pub struct IBarometerReading_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 StationPressureInHectopascals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarometerReading2, IBarometerReading2_Vtbl, 0x85a244eb_90c5_4875_891c_3865b4c357e7); +windows_core::imp::define_interface!(IBarometerReading2, IBarometerReading2_Vtbl, 0x85a244eb_90c5_4875_891c_3865b4c357e7); #[repr(C)] pub struct IBarometerReading2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -283,26 +283,26 @@ pub struct IBarometerReading2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IBarometerReadingChangedEventArgs, IBarometerReadingChangedEventArgs_Vtbl, 0x3d84945f_037b_404f_9bbb_6232d69543c3); +windows_core::imp::define_interface!(IBarometerReadingChangedEventArgs, IBarometerReadingChangedEventArgs_Vtbl, 0x3d84945f_037b_404f_9bbb_6232d69543c3); #[repr(C)] pub struct IBarometerReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBarometerStatics, IBarometerStatics_Vtbl, 0x286b270a_02e3_4f86_84fc_fdd892b5940f); +windows_core::imp::define_interface!(IBarometerStatics, IBarometerStatics_Vtbl, 0x286b270a_02e3_4f86_84fc_fdd892b5940f); #[repr(C)] pub struct IBarometerStatics_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, } -windows_core::imp::com_interface!(IBarometerStatics2, IBarometerStatics2_Vtbl, 0x8fc6b1e7_95ff_44ac_878e_d65c8308c34c); +windows_core::imp::define_interface!(IBarometerStatics2, IBarometerStatics2_Vtbl, 0x8fc6b1e7_95ff_44ac_878e_d65c8308c34c); #[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, } -windows_core::imp::com_interface!(ICompass, ICompass_Vtbl, 0x292ffa94_1b45_403c_ba06_b106dba69a64); +windows_core::imp::define_interface!(ICompass, ICompass_Vtbl, 0x292ffa94_1b45_403c_ba06_b106dba69a64); #[repr(C)] pub struct ICompass_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -313,7 +313,7 @@ pub struct ICompass_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompass2, ICompass2_Vtbl, 0x36f26d09_c7d7_434f_b461_979ddfc2322f); +windows_core::imp::define_interface!(ICompass2, ICompass2_Vtbl, 0x36f26d09_c7d7_434f_b461_979ddfc2322f); #[repr(C)] pub struct ICompass2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -326,7 +326,7 @@ pub struct ICompass2_Vtbl { #[cfg(not(feature = "Graphics_Display"))] ReadingTransform: usize, } -windows_core::imp::com_interface!(ICompass3, ICompass3_Vtbl, 0xa424801b_c5ea_4d45_a0ec_4b791f041a89); +windows_core::imp::define_interface!(ICompass3, ICompass3_Vtbl, 0xa424801b_c5ea_4d45_a0ec_4b791f041a89); #[repr(C)] pub struct ICompass3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -334,26 +334,26 @@ pub struct ICompass3_Vtbl { pub ReportLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompass4, ICompass4_Vtbl, 0x291e7f11_ec32_5dcc_bfcb_0bb39eba5774); +windows_core::imp::define_interface!(ICompass4, ICompass4_Vtbl, 0x291e7f11_ec32_5dcc_bfcb_0bb39eba5774); #[repr(C)] pub struct ICompass4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompassDataThreshold, ICompassDataThreshold_Vtbl, 0xd15b52b3_d39d_5ec8_b2e4_f193e6ab34ed); +windows_core::imp::define_interface!(ICompassDataThreshold, ICompassDataThreshold_Vtbl, 0xd15b52b3_d39d_5ec8_b2e4_f193e6ab34ed); #[repr(C)] pub struct ICompassDataThreshold_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Degrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompassDeviceId, ICompassDeviceId_Vtbl, 0xd181ca29_b085_4b1d_870a_4ff57ba74fd4); +windows_core::imp::define_interface!(ICompassDeviceId, ICompassDeviceId_Vtbl, 0xd181ca29_b085_4b1d_870a_4ff57ba74fd4); #[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, } -windows_core::imp::com_interface!(ICompassReading, ICompassReading_Vtbl, 0x82911128_513d_4dc9_b781_5eedfbf02d0c); +windows_core::imp::define_interface!(ICompassReading, ICompassReading_Vtbl, 0x82911128_513d_4dc9_b781_5eedfbf02d0c); #[repr(C)] pub struct ICompassReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -361,7 +361,7 @@ pub struct ICompassReading_Vtbl { pub HeadingMagneticNorth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub HeadingTrueNorth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompassReading2, ICompassReading2_Vtbl, 0xb13a661e_51bb_4a12_bedd_ad47ff87d2e8); +windows_core::imp::define_interface!(ICompassReading2, ICompassReading2_Vtbl, 0xb13a661e_51bb_4a12_bedd_ad47ff87d2e8); #[repr(C)] pub struct ICompassReading2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -371,32 +371,32 @@ pub struct ICompassReading2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(ICompassReadingChangedEventArgs, ICompassReadingChangedEventArgs_Vtbl, 0x8f1549b0_e8bc_4c7e_b009_4e41df137072); +windows_core::imp::define_interface!(ICompassReadingChangedEventArgs, ICompassReadingChangedEventArgs_Vtbl, 0x8f1549b0_e8bc_4c7e_b009_4e41df137072); #[repr(C)] pub struct ICompassReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompassReadingHeadingAccuracy, ICompassReadingHeadingAccuracy_Vtbl, 0xe761354e_8911_40f7_9e16_6ecc7daec5de); +windows_core::imp::define_interface!(ICompassReadingHeadingAccuracy, ICompassReadingHeadingAccuracy_Vtbl, 0xe761354e_8911_40f7_9e16_6ecc7daec5de); #[repr(C)] pub struct ICompassReadingHeadingAccuracy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub HeadingAccuracy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MagnetometerAccuracy) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompassStatics, ICompassStatics_Vtbl, 0x9abc97df_56ec_4c25_b54d_40a68bb5b269); +windows_core::imp::define_interface!(ICompassStatics, ICompassStatics_Vtbl, 0x9abc97df_56ec_4c25_b54d_40a68bb5b269); #[repr(C)] pub struct ICompassStatics_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, } -windows_core::imp::com_interface!(ICompassStatics2, ICompassStatics2_Vtbl, 0x0ace0ead_3baa_4990_9ce4_be0913754ed2); +windows_core::imp::define_interface!(ICompassStatics2, ICompassStatics2_Vtbl, 0x0ace0ead_3baa_4990_9ce4_be0913754ed2); #[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, } -windows_core::imp::com_interface!(IGyrometer, IGyrometer_Vtbl, 0xfdb9a9c4_84b1_4ca2_9763_9b589506c70c); +windows_core::imp::define_interface!(IGyrometer, IGyrometer_Vtbl, 0xfdb9a9c4_84b1_4ca2_9763_9b589506c70c); #[repr(C)] pub struct IGyrometer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -407,7 +407,7 @@ pub struct IGyrometer_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGyrometer2, IGyrometer2_Vtbl, 0x63df2443_8ce8_41c3_ac44_8698810b557f); +windows_core::imp::define_interface!(IGyrometer2, IGyrometer2_Vtbl, 0x63df2443_8ce8_41c3_ac44_8698810b557f); #[repr(C)] pub struct IGyrometer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -420,7 +420,7 @@ pub struct IGyrometer2_Vtbl { #[cfg(not(feature = "Graphics_Display"))] ReadingTransform: usize, } -windows_core::imp::com_interface!(IGyrometer3, IGyrometer3_Vtbl, 0x5d6f88d5_8fbc_4484_914b_528adfd947b1); +windows_core::imp::define_interface!(IGyrometer3, IGyrometer3_Vtbl, 0x5d6f88d5_8fbc_4484_914b_528adfd947b1); #[repr(C)] pub struct IGyrometer3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -428,13 +428,13 @@ pub struct IGyrometer3_Vtbl { pub ReportLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGyrometer4, IGyrometer4_Vtbl, 0x0628a60c_4c4b_5096_94e6_c356df68bef7); +windows_core::imp::define_interface!(IGyrometer4, IGyrometer4_Vtbl, 0x0628a60c_4c4b_5096_94e6_c356df68bef7); #[repr(C)] pub struct IGyrometer4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGyrometerDataThreshold, IGyrometerDataThreshold_Vtbl, 0x8648b31e_6e52_5259_bbad_242a69dc38c8); +windows_core::imp::define_interface!(IGyrometerDataThreshold, IGyrometerDataThreshold_Vtbl, 0x8648b31e_6e52_5259_bbad_242a69dc38c8); #[repr(C)] pub struct IGyrometerDataThreshold_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -445,13 +445,13 @@ pub struct IGyrometerDataThreshold_Vtbl { pub ZAxisInDegreesPerSecond: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetZAxisInDegreesPerSecond: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGyrometerDeviceId, IGyrometerDeviceId_Vtbl, 0x1ee5e978_89a2_4275_9e95_7126f4708760); +windows_core::imp::define_interface!(IGyrometerDeviceId, IGyrometerDeviceId_Vtbl, 0x1ee5e978_89a2_4275_9e95_7126f4708760); #[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, } -windows_core::imp::com_interface!(IGyrometerReading, IGyrometerReading_Vtbl, 0xb3d6de5c_1ee4_456f_9de7_e2493b5c8e03); +windows_core::imp::define_interface!(IGyrometerReading, IGyrometerReading_Vtbl, 0xb3d6de5c_1ee4_456f_9de7_e2493b5c8e03); #[repr(C)] pub struct IGyrometerReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -460,7 +460,7 @@ pub struct IGyrometerReading_Vtbl { pub AngularVelocityY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub AngularVelocityZ: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGyrometerReading2, IGyrometerReading2_Vtbl, 0x16afe13c_2b89_44bb_822b_d1e1556ff09b); +windows_core::imp::define_interface!(IGyrometerReading2, IGyrometerReading2_Vtbl, 0x16afe13c_2b89_44bb_822b_d1e1556ff09b); #[repr(C)] pub struct IGyrometerReading2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -470,26 +470,26 @@ pub struct IGyrometerReading2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IGyrometerReadingChangedEventArgs, IGyrometerReadingChangedEventArgs_Vtbl, 0x0fdf1895_6f9e_42ce_8d58_388c0ab8356d); +windows_core::imp::define_interface!(IGyrometerReadingChangedEventArgs, IGyrometerReadingChangedEventArgs_Vtbl, 0x0fdf1895_6f9e_42ce_8d58_388c0ab8356d); #[repr(C)] pub struct IGyrometerReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGyrometerStatics, IGyrometerStatics_Vtbl, 0x83b6e7c9_e49d_4b39_86e6_cd554be4c5c1); +windows_core::imp::define_interface!(IGyrometerStatics, IGyrometerStatics_Vtbl, 0x83b6e7c9_e49d_4b39_86e6_cd554be4c5c1); #[repr(C)] pub struct IGyrometerStatics_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, } -windows_core::imp::com_interface!(IGyrometerStatics2, IGyrometerStatics2_Vtbl, 0xef83f7a1_d700_4204_9613_79c6b161df4e); +windows_core::imp::define_interface!(IGyrometerStatics2, IGyrometerStatics2_Vtbl, 0xef83f7a1_d700_4204_9613_79c6b161df4e); #[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, } -windows_core::imp::com_interface!(IHingeAngleReading, IHingeAngleReading_Vtbl, 0xa3cd45b9_1bf1_4f65_a704_e2da04f182c0); +windows_core::imp::define_interface!(IHingeAngleReading, IHingeAngleReading_Vtbl, 0xa3cd45b9_1bf1_4f65_a704_e2da04f182c0); #[repr(C)] pub struct IHingeAngleReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -500,7 +500,7 @@ pub struct IHingeAngleReading_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IHingeAngleSensor, IHingeAngleSensor_Vtbl, 0xe9d3be02_bfdf_437f_8c29_88c77393d309); +windows_core::imp::define_interface!(IHingeAngleSensor, IHingeAngleSensor_Vtbl, 0xe9d3be02_bfdf_437f_8c29_88c77393d309); #[repr(C)] pub struct IHingeAngleSensor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -512,13 +512,13 @@ pub struct IHingeAngleSensor_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHingeAngleSensorReadingChangedEventArgs, IHingeAngleSensorReadingChangedEventArgs_Vtbl, 0x24d9558b_fad0_42b8_a854_78923049a1ba); +windows_core::imp::define_interface!(IHingeAngleSensorReadingChangedEventArgs, IHingeAngleSensorReadingChangedEventArgs_Vtbl, 0x24d9558b_fad0_42b8_a854_78923049a1ba); #[repr(C)] pub struct IHingeAngleSensorReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHingeAngleSensorStatics, IHingeAngleSensorStatics_Vtbl, 0xb7b63910_fbb1_4123_89ce_4ea34eb0dfca); +windows_core::imp::define_interface!(IHingeAngleSensorStatics, IHingeAngleSensorStatics_Vtbl, 0xb7b63910_fbb1_4123_89ce_4ea34eb0dfca); #[repr(C)] pub struct IHingeAngleSensorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -527,7 +527,7 @@ pub struct IHingeAngleSensorStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IHumanPresenceFeatures, IHumanPresenceFeatures_Vtbl, 0xbdb09fda_3244_557a_bd29_8b004f59f2cc); +windows_core::imp::define_interface!(IHumanPresenceFeatures, IHumanPresenceFeatures_Vtbl, 0xbdb09fda_3244_557a_bd29_8b004f59f2cc); #[repr(C)] pub struct IHumanPresenceFeatures_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -543,13 +543,13 @@ pub struct IHumanPresenceFeatures_Vtbl { #[cfg(not(feature = "deprecated"))] IsAttentionAwareDimmingSupported: usize, } -windows_core::imp::com_interface!(IHumanPresenceFeatures2, IHumanPresenceFeatures2_Vtbl, 0x08a9cdda_d929_5ec2_81e2_940bafa089cf); +windows_core::imp::define_interface!(IHumanPresenceFeatures2, IHumanPresenceFeatures2_Vtbl, 0x08a9cdda_d929_5ec2_81e2_940bafa089cf); #[repr(C)] pub struct IHumanPresenceFeatures2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsAdaptiveDimmingSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHumanPresenceSensor, IHumanPresenceSensor_Vtbl, 0x2116788b_e389_5cc3_9a97_cb17be1008bd); +windows_core::imp::define_interface!(IHumanPresenceSensor, IHumanPresenceSensor_Vtbl, 0x2116788b_e389_5cc3_9a97_cb17be1008bd); #[repr(C)] pub struct IHumanPresenceSensor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -560,14 +560,14 @@ pub struct IHumanPresenceSensor_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHumanPresenceSensor2, IHumanPresenceSensor2_Vtbl, 0xf8833779_65fe_541a_b9d6_1e474a485e7a); +windows_core::imp::define_interface!(IHumanPresenceSensor2, IHumanPresenceSensor2_Vtbl, 0xf8833779_65fe_541a_b9d6_1e474a485e7a); #[repr(C)] pub struct IHumanPresenceSensor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsPresenceSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsEngagementSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHumanPresenceSensorExtension, IHumanPresenceSensorExtension_Vtbl, 0x3e526a71_2d1d_5d43_8a8e_a434a8242ef0); +windows_core::imp::define_interface!(IHumanPresenceSensorExtension, IHumanPresenceSensorExtension_Vtbl, 0x3e526a71_2d1d_5d43_8a8e_a434a8242ef0); windows_core::imp::interface_hierarchy!(IHumanPresenceSensorExtension, windows_core::IUnknown, windows_core::IInspectable); impl IHumanPresenceSensorExtension { pub fn Initialize(&self, deviceinterface: &windows_core::HSTRING) -> windows_core::Result<()> { @@ -622,7 +622,7 @@ pub struct IHumanPresenceSensorExtension_Vtbl { pub Uninitialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHumanPresenceSensorReading, IHumanPresenceSensorReading_Vtbl, 0x83533bf5_a85a_5d50_8be4_6072d745a3bb); +windows_core::imp::define_interface!(IHumanPresenceSensorReading, IHumanPresenceSensorReading_Vtbl, 0x83533bf5_a85a_5d50_8be4_6072d745a3bb); #[repr(C)] pub struct IHumanPresenceSensorReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -631,7 +631,7 @@ pub struct IHumanPresenceSensorReading_Vtbl { pub Engagement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut HumanEngagement) -> windows_core::HRESULT, pub DistanceInMillimeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHumanPresenceSensorReading2, IHumanPresenceSensorReading2_Vtbl, 0xc4f0e950_3bff_53d6_a0f8_514ea3705c66); +windows_core::imp::define_interface!(IHumanPresenceSensorReading2, IHumanPresenceSensorReading2_Vtbl, 0xc4f0e950_3bff_53d6_a0f8_514ea3705c66); #[repr(C)] pub struct IHumanPresenceSensorReading2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -640,13 +640,13 @@ pub struct IHumanPresenceSensorReading2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IHumanPresenceSensorReadingChangedEventArgs, IHumanPresenceSensorReadingChangedEventArgs_Vtbl, 0xa9dc4583_fd69_5c5e_ab1f_942204eae2db); +windows_core::imp::define_interface!(IHumanPresenceSensorReadingChangedEventArgs, IHumanPresenceSensorReadingChangedEventArgs_Vtbl, 0xa9dc4583_fd69_5c5e_ab1f_942204eae2db); #[repr(C)] pub struct IHumanPresenceSensorReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHumanPresenceSensorReadingUpdate, IHumanPresenceSensorReadingUpdate_Vtbl, 0x42419c77_6d2f_55a0_9e01_c9cbe7b2d6df); +windows_core::imp::define_interface!(IHumanPresenceSensorReadingUpdate, IHumanPresenceSensorReadingUpdate_Vtbl, 0x42419c77_6d2f_55a0_9e01_c9cbe7b2d6df); #[repr(C)] pub struct IHumanPresenceSensorReadingUpdate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -659,7 +659,7 @@ pub struct IHumanPresenceSensorReadingUpdate_Vtbl { pub DistanceInMillimeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDistanceInMillimeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHumanPresenceSensorStatics, IHumanPresenceSensorStatics_Vtbl, 0x2ae89842_dba9_56b2_9f27_eac69d621004); +windows_core::imp::define_interface!(IHumanPresenceSensorStatics, IHumanPresenceSensorStatics_Vtbl, 0x2ae89842_dba9_56b2_9f27_eac69d621004); #[repr(C)] pub struct IHumanPresenceSensorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -667,14 +667,14 @@ pub struct IHumanPresenceSensorStatics_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 GetDefaultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHumanPresenceSensorStatics2, IHumanPresenceSensorStatics2_Vtbl, 0x5de35843_d260_5a87_995e_ace91326e1c4); +windows_core::imp::define_interface!(IHumanPresenceSensorStatics2, IHumanPresenceSensorStatics2_Vtbl, 0x5de35843_d260_5a87_995e_ace91326e1c4); #[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 GetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHumanPresenceSettings, IHumanPresenceSettings_Vtbl, 0xef4daf5b_07b7_5eb6_86bb_b7ff49ce44fb); +windows_core::imp::define_interface!(IHumanPresenceSettings, IHumanPresenceSettings_Vtbl, 0xef4daf5b_07b7_5eb6_86bb_b7ff49ce44fb); #[repr(C)] pub struct IHumanPresenceSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -699,7 +699,7 @@ pub struct IHumanPresenceSettings_Vtbl { #[cfg(not(feature = "deprecated"))] SetIsAttentionAwareDimmingEnabled: usize, } -windows_core::imp::com_interface!(IHumanPresenceSettings2, IHumanPresenceSettings2_Vtbl, 0xa26f705e_8696_5eb4_b9e1_26a508de1cd4); +windows_core::imp::define_interface!(IHumanPresenceSettings2, IHumanPresenceSettings2_Vtbl, 0xa26f705e_8696_5eb4_b9e1_26a508de1cd4); #[repr(C)] pub struct IHumanPresenceSettings2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -709,7 +709,7 @@ pub struct IHumanPresenceSettings2_Vtbl { pub DimmingOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LockOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHumanPresenceSettingsStatics, IHumanPresenceSettingsStatics_Vtbl, 0x7f343202_e010_52c4_af0c_04a8f1e033da); +windows_core::imp::define_interface!(IHumanPresenceSettingsStatics, IHumanPresenceSettingsStatics_Vtbl, 0x7f343202_e010_52c4_af0c_04a8f1e033da); #[repr(C)] pub struct IHumanPresenceSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -726,7 +726,7 @@ pub struct IHumanPresenceSettingsStatics_Vtbl { pub SettingsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSettingsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInclinometer, IInclinometer_Vtbl, 0x2648ca6f_2286_406f_9161_f0c4bd806ebf); +windows_core::imp::define_interface!(IInclinometer, IInclinometer_Vtbl, 0x2648ca6f_2286_406f_9161_f0c4bd806ebf); #[repr(C)] pub struct IInclinometer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -737,7 +737,7 @@ pub struct IInclinometer_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInclinometer2, IInclinometer2_Vtbl, 0x029f3393_28b2_45f8_bb16_61e86a7fae6e); +windows_core::imp::define_interface!(IInclinometer2, IInclinometer2_Vtbl, 0x029f3393_28b2_45f8_bb16_61e86a7fae6e); #[repr(C)] pub struct IInclinometer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -751,7 +751,7 @@ pub struct IInclinometer2_Vtbl { ReadingTransform: usize, pub ReadingType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SensorReadingType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInclinometer3, IInclinometer3_Vtbl, 0x3a095004_d765_4384_a3d7_0283f3abe6ae); +windows_core::imp::define_interface!(IInclinometer3, IInclinometer3_Vtbl, 0x3a095004_d765_4384_a3d7_0283f3abe6ae); #[repr(C)] pub struct IInclinometer3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -759,13 +759,13 @@ pub struct IInclinometer3_Vtbl { pub ReportLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInclinometer4, IInclinometer4_Vtbl, 0x43852618_8fca_548e_bbf5_5c50412b6aa4); +windows_core::imp::define_interface!(IInclinometer4, IInclinometer4_Vtbl, 0x43852618_8fca_548e_bbf5_5c50412b6aa4); #[repr(C)] pub struct IInclinometer4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInclinometerDataThreshold, IInclinometerDataThreshold_Vtbl, 0xf80a4783_7bfe_545e_bb60_a0ebc47bd2fb); +windows_core::imp::define_interface!(IInclinometerDataThreshold, IInclinometerDataThreshold_Vtbl, 0xf80a4783_7bfe_545e_bb60_a0ebc47bd2fb); #[repr(C)] pub struct IInclinometerDataThreshold_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -776,13 +776,13 @@ pub struct IInclinometerDataThreshold_Vtbl { pub YawInDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetYawInDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInclinometerDeviceId, IInclinometerDeviceId_Vtbl, 0x01e91982_41ff_4406_ae83_62210ff16fe3); +windows_core::imp::define_interface!(IInclinometerDeviceId, IInclinometerDeviceId_Vtbl, 0x01e91982_41ff_4406_ae83_62210ff16fe3); #[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, } -windows_core::imp::com_interface!(IInclinometerReading, IInclinometerReading_Vtbl, 0x9f44f055_b6f6_497f_b127_1a775e501458); +windows_core::imp::define_interface!(IInclinometerReading, IInclinometerReading_Vtbl, 0x9f44f055_b6f6_497f_b127_1a775e501458); #[repr(C)] pub struct IInclinometerReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -791,7 +791,7 @@ pub struct IInclinometerReading_Vtbl { pub RollDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub YawDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInclinometerReading2, IInclinometerReading2_Vtbl, 0x4f164781_e90b_4658_8915_0103e08a805a); +windows_core::imp::define_interface!(IInclinometerReading2, IInclinometerReading2_Vtbl, 0x4f164781_e90b_4658_8915_0103e08a805a); #[repr(C)] pub struct IInclinometerReading2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -801,44 +801,44 @@ pub struct IInclinometerReading2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IInclinometerReadingChangedEventArgs, IInclinometerReadingChangedEventArgs_Vtbl, 0x4ae91dc1_e7eb_4938_8511_ae0d6b440438); +windows_core::imp::define_interface!(IInclinometerReadingChangedEventArgs, IInclinometerReadingChangedEventArgs_Vtbl, 0x4ae91dc1_e7eb_4938_8511_ae0d6b440438); #[repr(C)] pub struct IInclinometerReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInclinometerReadingYawAccuracy, IInclinometerReadingYawAccuracy_Vtbl, 0xb453e880_1fe3_4986_a257_e6ece2723949); +windows_core::imp::define_interface!(IInclinometerReadingYawAccuracy, IInclinometerReadingYawAccuracy_Vtbl, 0xb453e880_1fe3_4986_a257_e6ece2723949); #[repr(C)] pub struct IInclinometerReadingYawAccuracy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub YawAccuracy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MagnetometerAccuracy) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInclinometerStatics, IInclinometerStatics_Vtbl, 0xf22ec551_9c30_453a_8b49_3c3eeb33cb61); +windows_core::imp::define_interface!(IInclinometerStatics, IInclinometerStatics_Vtbl, 0xf22ec551_9c30_453a_8b49_3c3eeb33cb61); #[repr(C)] pub struct IInclinometerStatics_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, } -windows_core::imp::com_interface!(IInclinometerStatics2, IInclinometerStatics2_Vtbl, 0x043f9775_6a1e_499c_86e0_638c1a864b00); +windows_core::imp::define_interface!(IInclinometerStatics2, IInclinometerStatics2_Vtbl, 0x043f9775_6a1e_499c_86e0_638c1a864b00); #[repr(C)] pub struct IInclinometerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefaultForRelativeReadings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInclinometerStatics3, IInclinometerStatics3_Vtbl, 0xbd9a4280_b91a_4829_9392_abc0b6bdf2b4); +windows_core::imp::define_interface!(IInclinometerStatics3, IInclinometerStatics3_Vtbl, 0xbd9a4280_b91a_4829_9392_abc0b6bdf2b4); #[repr(C)] pub struct IInclinometerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefaultWithSensorReadingType: unsafe extern "system" fn(*mut core::ffi::c_void, SensorReadingType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInclinometerStatics4, IInclinometerStatics4_Vtbl, 0xe8ba96f9_6e85_4a83_aed0_d7cdcc9856c8); +windows_core::imp::define_interface!(IInclinometerStatics4, IInclinometerStatics4_Vtbl, 0xe8ba96f9_6e85_4a83_aed0_d7cdcc9856c8); #[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, } -windows_core::imp::com_interface!(ILightSensor, ILightSensor_Vtbl, 0xf84c0718_0c54_47ae_922e_789f57fb03a0); +windows_core::imp::define_interface!(ILightSensor, ILightSensor_Vtbl, 0xf84c0718_0c54_47ae_922e_789f57fb03a0); #[repr(C)] pub struct ILightSensor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -849,7 +849,7 @@ pub struct ILightSensor_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILightSensor2, ILightSensor2_Vtbl, 0x486b24e8_a94c_4090_8f48_09f782a9f7d5); +windows_core::imp::define_interface!(ILightSensor2, ILightSensor2_Vtbl, 0x486b24e8_a94c_4090_8f48_09f782a9f7d5); #[repr(C)] pub struct ILightSensor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -857,13 +857,13 @@ pub struct ILightSensor2_Vtbl { pub ReportLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILightSensor3, ILightSensor3_Vtbl, 0x4876d0ff_9f4c_5f72_adbd_a3471b063c00); +windows_core::imp::define_interface!(ILightSensor3, ILightSensor3_Vtbl, 0x4876d0ff_9f4c_5f72_adbd_a3471b063c00); #[repr(C)] pub struct ILightSensor3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILightSensorDataThreshold, ILightSensorDataThreshold_Vtbl, 0xb160afd1_878f_5492_9f2c_33dc3ae584a3); +windows_core::imp::define_interface!(ILightSensorDataThreshold, ILightSensorDataThreshold_Vtbl, 0xb160afd1_878f_5492_9f2c_33dc3ae584a3); #[repr(C)] pub struct ILightSensorDataThreshold_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -872,20 +872,20 @@ pub struct ILightSensorDataThreshold_Vtbl { pub AbsoluteLux: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetAbsoluteLux: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILightSensorDeviceId, ILightSensorDeviceId_Vtbl, 0x7fee49f8_0afb_4f51_87f0_6c26375ce94f); +windows_core::imp::define_interface!(ILightSensorDeviceId, ILightSensorDeviceId_Vtbl, 0x7fee49f8_0afb_4f51_87f0_6c26375ce94f); #[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, } -windows_core::imp::com_interface!(ILightSensorReading, ILightSensorReading_Vtbl, 0xffdf6300_227c_4d2b_b302_fc0142485c68); +windows_core::imp::define_interface!(ILightSensorReading, ILightSensorReading_Vtbl, 0xffdf6300_227c_4d2b_b302_fc0142485c68); #[repr(C)] pub struct ILightSensorReading_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 IlluminanceInLux: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILightSensorReading2, ILightSensorReading2_Vtbl, 0xb7512185_44a3_44c9_8190_9ef6de0a8a74); +windows_core::imp::define_interface!(ILightSensorReading2, ILightSensorReading2_Vtbl, 0xb7512185_44a3_44c9_8190_9ef6de0a8a74); #[repr(C)] pub struct ILightSensorReading2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -895,33 +895,33 @@ pub struct ILightSensorReading2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(ILightSensorReadingChangedEventArgs, ILightSensorReadingChangedEventArgs_Vtbl, 0xa3a2f4cf_258b_420c_b8ab_8edd601ecf50); +windows_core::imp::define_interface!(ILightSensorReadingChangedEventArgs, ILightSensorReadingChangedEventArgs_Vtbl, 0xa3a2f4cf_258b_420c_b8ab_8edd601ecf50); #[repr(C)] pub struct ILightSensorReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILightSensorStatics, ILightSensorStatics_Vtbl, 0x45db8c84_c3a8_471e_9a53_6457fad87c0e); +windows_core::imp::define_interface!(ILightSensorStatics, ILightSensorStatics_Vtbl, 0x45db8c84_c3a8_471e_9a53_6457fad87c0e); #[repr(C)] pub struct ILightSensorStatics_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, } -windows_core::imp::com_interface!(ILightSensorStatics2, ILightSensorStatics2_Vtbl, 0x0ec0a650_ddc6_40ab_ace3_ec3359d42c51); +windows_core::imp::define_interface!(ILightSensorStatics2, ILightSensorStatics2_Vtbl, 0x0ec0a650_ddc6_40ab_ace3_ec3359d42c51); #[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, } -windows_core::imp::com_interface!(ILockOnLeaveOptions, ILockOnLeaveOptions_Vtbl, 0x3c6bf8bd_04c1_5829_8d4e_70521755b8be); +windows_core::imp::define_interface!(ILockOnLeaveOptions, ILockOnLeaveOptions_Vtbl, 0x3c6bf8bd_04c1_5829_8d4e_70521755b8be); #[repr(C)] pub struct ILockOnLeaveOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowWhenExternalDisplayConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowWhenExternalDisplayConnected: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMagnetometer, IMagnetometer_Vtbl, 0x484f626e_d3c9_4111_b3f6_2cf1faa418d5); +windows_core::imp::define_interface!(IMagnetometer, IMagnetometer_Vtbl, 0x484f626e_d3c9_4111_b3f6_2cf1faa418d5); #[repr(C)] pub struct IMagnetometer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -932,7 +932,7 @@ pub struct IMagnetometer_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMagnetometer2, IMagnetometer2_Vtbl, 0xb4656c85_26f6_444b_a9e2_a23f966cd368); +windows_core::imp::define_interface!(IMagnetometer2, IMagnetometer2_Vtbl, 0xb4656c85_26f6_444b_a9e2_a23f966cd368); #[repr(C)] pub struct IMagnetometer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -945,7 +945,7 @@ pub struct IMagnetometer2_Vtbl { #[cfg(not(feature = "Graphics_Display"))] ReadingTransform: usize, } -windows_core::imp::com_interface!(IMagnetometer3, IMagnetometer3_Vtbl, 0xbe93db7c_a625_48ef_acf7_fac104832671); +windows_core::imp::define_interface!(IMagnetometer3, IMagnetometer3_Vtbl, 0xbe93db7c_a625_48ef_acf7_fac104832671); #[repr(C)] pub struct IMagnetometer3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -953,13 +953,13 @@ pub struct IMagnetometer3_Vtbl { pub ReportLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMagnetometer4, IMagnetometer4_Vtbl, 0xdfb17901_3e0f_508f_b24b_f2bb75015f40); +windows_core::imp::define_interface!(IMagnetometer4, IMagnetometer4_Vtbl, 0xdfb17901_3e0f_508f_b24b_f2bb75015f40); #[repr(C)] pub struct IMagnetometer4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMagnetometerDataThreshold, IMagnetometerDataThreshold_Vtbl, 0xd177cb01_9063_5fa5_b596_b445e9dc3401); +windows_core::imp::define_interface!(IMagnetometerDataThreshold, IMagnetometerDataThreshold_Vtbl, 0xd177cb01_9063_5fa5_b596_b445e9dc3401); #[repr(C)] pub struct IMagnetometerDataThreshold_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -970,13 +970,13 @@ pub struct IMagnetometerDataThreshold_Vtbl { pub ZAxisMicroteslas: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetZAxisMicroteslas: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMagnetometerDeviceId, IMagnetometerDeviceId_Vtbl, 0x58b498c2_7e4b_404c_9fc5_5de8b40ebae3); +windows_core::imp::define_interface!(IMagnetometerDeviceId, IMagnetometerDeviceId_Vtbl, 0x58b498c2_7e4b_404c_9fc5_5de8b40ebae3); #[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, } -windows_core::imp::com_interface!(IMagnetometerReading, IMagnetometerReading_Vtbl, 0x0c2cc40d_ebfd_4e5c_bb11_afc29b3cae61); +windows_core::imp::define_interface!(IMagnetometerReading, IMagnetometerReading_Vtbl, 0x0c2cc40d_ebfd_4e5c_bb11_afc29b3cae61); #[repr(C)] pub struct IMagnetometerReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -986,7 +986,7 @@ pub struct IMagnetometerReading_Vtbl { pub MagneticFieldZ: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub DirectionalAccuracy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MagnetometerAccuracy) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMagnetometerReading2, IMagnetometerReading2_Vtbl, 0xd4c95c61_61d9_404b_a328_066f177a1409); +windows_core::imp::define_interface!(IMagnetometerReading2, IMagnetometerReading2_Vtbl, 0xd4c95c61_61d9_404b_a328_066f177a1409); #[repr(C)] pub struct IMagnetometerReading2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -996,26 +996,26 @@ pub struct IMagnetometerReading2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IMagnetometerReadingChangedEventArgs, IMagnetometerReadingChangedEventArgs_Vtbl, 0x17eae872_2eb9_4ee7_8ad0_3127537d949b); +windows_core::imp::define_interface!(IMagnetometerReadingChangedEventArgs, IMagnetometerReadingChangedEventArgs_Vtbl, 0x17eae872_2eb9_4ee7_8ad0_3127537d949b); #[repr(C)] pub struct IMagnetometerReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMagnetometerStatics, IMagnetometerStatics_Vtbl, 0x853c64cc_0698_4dda_a6df_9cb9cc4ab40a); +windows_core::imp::define_interface!(IMagnetometerStatics, IMagnetometerStatics_Vtbl, 0x853c64cc_0698_4dda_a6df_9cb9cc4ab40a); #[repr(C)] pub struct IMagnetometerStatics_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, } -windows_core::imp::com_interface!(IMagnetometerStatics2, IMagnetometerStatics2_Vtbl, 0x2c0819f0_ffc6_4f89_a06f_18fa10792933); +windows_core::imp::define_interface!(IMagnetometerStatics2, IMagnetometerStatics2_Vtbl, 0x2c0819f0_ffc6_4f89_a06f_18fa10792933); #[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, } -windows_core::imp::com_interface!(IOrientationSensor, IOrientationSensor_Vtbl, 0x5e354635_cf6b_4c63_abd8_10252b0bf6ec); +windows_core::imp::define_interface!(IOrientationSensor, IOrientationSensor_Vtbl, 0x5e354635_cf6b_4c63_abd8_10252b0bf6ec); #[repr(C)] pub struct IOrientationSensor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1026,7 +1026,7 @@ pub struct IOrientationSensor_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOrientationSensor2, IOrientationSensor2_Vtbl, 0x0d924cf9_2f1f_49c9_8042_4a1813d67760); +windows_core::imp::define_interface!(IOrientationSensor2, IOrientationSensor2_Vtbl, 0x0d924cf9_2f1f_49c9_8042_4a1813d67760); #[repr(C)] pub struct IOrientationSensor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1040,7 +1040,7 @@ pub struct IOrientationSensor2_Vtbl { ReadingTransform: usize, pub ReadingType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SensorReadingType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOrientationSensor3, IOrientationSensor3_Vtbl, 0x2cce578d_646b_48c5_b7ee_44fdc4c6aafd); +windows_core::imp::define_interface!(IOrientationSensor3, IOrientationSensor3_Vtbl, 0x2cce578d_646b_48c5_b7ee_44fdc4c6aafd); #[repr(C)] pub struct IOrientationSensor3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1048,13 +1048,13 @@ pub struct IOrientationSensor3_Vtbl { pub ReportLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxBatchSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOrientationSensorDeviceId, IOrientationSensorDeviceId_Vtbl, 0x5a69b648_4c29_49ec_b28f_ea1d117b66f0); +windows_core::imp::define_interface!(IOrientationSensorDeviceId, IOrientationSensorDeviceId_Vtbl, 0x5a69b648_4c29_49ec_b28f_ea1d117b66f0); #[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, } -windows_core::imp::com_interface!(IOrientationSensorReading, IOrientationSensorReading_Vtbl, 0x4756c993_6595_4897_bcc6_d537ee757564); +windows_core::imp::define_interface!(IOrientationSensorReading, IOrientationSensorReading_Vtbl, 0x4756c993_6595_4897_bcc6_d537ee757564); #[repr(C)] pub struct IOrientationSensorReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1062,7 +1062,7 @@ pub struct IOrientationSensorReading_Vtbl { pub RotationMatrix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Quaternion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOrientationSensorReading2, IOrientationSensorReading2_Vtbl, 0x00576e5f_49f8_4c05_9e07_24fac79408c3); +windows_core::imp::define_interface!(IOrientationSensorReading2, IOrientationSensorReading2_Vtbl, 0x00576e5f_49f8_4c05_9e07_24fac79408c3); #[repr(C)] pub struct IOrientationSensorReading2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1072,38 +1072,38 @@ pub struct IOrientationSensorReading2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IOrientationSensorReadingChangedEventArgs, IOrientationSensorReadingChangedEventArgs_Vtbl, 0x012c1186_c3ba_46bc_ae65_7a98996cbfb8); +windows_core::imp::define_interface!(IOrientationSensorReadingChangedEventArgs, IOrientationSensorReadingChangedEventArgs_Vtbl, 0x012c1186_c3ba_46bc_ae65_7a98996cbfb8); #[repr(C)] pub struct IOrientationSensorReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOrientationSensorReadingYawAccuracy, IOrientationSensorReadingYawAccuracy_Vtbl, 0xd1ac9824_3f5a_49a2_bc7b_1180bc38cd2b); +windows_core::imp::define_interface!(IOrientationSensorReadingYawAccuracy, IOrientationSensorReadingYawAccuracy_Vtbl, 0xd1ac9824_3f5a_49a2_bc7b_1180bc38cd2b); #[repr(C)] pub struct IOrientationSensorReadingYawAccuracy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub YawAccuracy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MagnetometerAccuracy) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOrientationSensorStatics, IOrientationSensorStatics_Vtbl, 0x10ef8712_fb4c_428a_898b_2765e409e669); +windows_core::imp::define_interface!(IOrientationSensorStatics, IOrientationSensorStatics_Vtbl, 0x10ef8712_fb4c_428a_898b_2765e409e669); #[repr(C)] pub struct IOrientationSensorStatics_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, } -windows_core::imp::com_interface!(IOrientationSensorStatics2, IOrientationSensorStatics2_Vtbl, 0x59da0d0b_d40a_4c71_9276_8a272a0a6619); +windows_core::imp::define_interface!(IOrientationSensorStatics2, IOrientationSensorStatics2_Vtbl, 0x59da0d0b_d40a_4c71_9276_8a272a0a6619); #[repr(C)] pub struct IOrientationSensorStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefaultForRelativeReadings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOrientationSensorStatics3, IOrientationSensorStatics3_Vtbl, 0xd82ce920_2777_40ff_9f59_d654b085f12f); +windows_core::imp::define_interface!(IOrientationSensorStatics3, IOrientationSensorStatics3_Vtbl, 0xd82ce920_2777_40ff_9f59_d654b085f12f); #[repr(C)] pub struct IOrientationSensorStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDefaultWithSensorReadingType: unsafe extern "system" fn(*mut core::ffi::c_void, SensorReadingType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefaultWithSensorReadingTypeAndSensorOptimizationGoal: unsafe extern "system" fn(*mut core::ffi::c_void, SensorReadingType, SensorOptimizationGoal, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOrientationSensorStatics4, IOrientationSensorStatics4_Vtbl, 0xa67feb55_2c85_4b28_a0fe_58c4b20495f5); +windows_core::imp::define_interface!(IOrientationSensorStatics4, IOrientationSensorStatics4_Vtbl, 0xa67feb55_2c85_4b28_a0fe_58c4b20495f5); #[repr(C)] pub struct IOrientationSensorStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1111,7 +1111,7 @@ pub struct IOrientationSensorStatics4_Vtbl { 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, } -windows_core::imp::com_interface!(IPedometer, IPedometer_Vtbl, 0x9a1e013d_3d98_45f8_8920_8e4ecaca5f97); +windows_core::imp::define_interface!(IPedometer, IPedometer_Vtbl, 0x9a1e013d_3d98_45f8_8920_8e4ecaca5f97); #[repr(C)] pub struct IPedometer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1123,7 +1123,7 @@ pub struct IPedometer_Vtbl { pub ReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPedometer2, IPedometer2_Vtbl, 0xe5a406df_2b81_4add_b2ff_77ab6c98ba19); +windows_core::imp::define_interface!(IPedometer2, IPedometer2_Vtbl, 0xe5a406df_2b81_4add_b2ff_77ab6c98ba19); #[repr(C)] pub struct IPedometer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1132,13 +1132,13 @@ pub struct IPedometer2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetCurrentReadings: usize, } -windows_core::imp::com_interface!(IPedometerDataThresholdFactory, IPedometerDataThresholdFactory_Vtbl, 0xcbad8f50_7a54_466b_9010_77a162fca5d7); +windows_core::imp::define_interface!(IPedometerDataThresholdFactory, IPedometerDataThresholdFactory_Vtbl, 0xcbad8f50_7a54_466b_9010_77a162fca5d7); #[repr(C)] pub struct IPedometerDataThresholdFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPedometerReading, IPedometerReading_Vtbl, 0x2245dcf4_a8e1_432f_896a_be0dd9b02d24); +windows_core::imp::define_interface!(IPedometerReading, IPedometerReading_Vtbl, 0x2245dcf4_a8e1_432f_896a_be0dd9b02d24); #[repr(C)] pub struct IPedometerReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1147,13 +1147,13 @@ pub struct IPedometerReading_Vtbl { pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub CumulativeStepsDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPedometerReadingChangedEventArgs, IPedometerReadingChangedEventArgs_Vtbl, 0xf855e47e_abbc_4456_86a8_25cf2b333742); +windows_core::imp::define_interface!(IPedometerReadingChangedEventArgs, IPedometerReadingChangedEventArgs_Vtbl, 0xf855e47e_abbc_4456_86a8_25cf2b333742); #[repr(C)] pub struct IPedometerReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPedometerStatics, IPedometerStatics_Vtbl, 0x82980a2f_4083_4dfb_b411_938ea0f4b946); +windows_core::imp::define_interface!(IPedometerStatics, IPedometerStatics_Vtbl, 0x82980a2f_4083_4dfb_b411_938ea0f4b946); #[repr(C)] pub struct IPedometerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1169,7 +1169,7 @@ pub struct IPedometerStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetSystemHistoryWithDurationAsync: usize, } -windows_core::imp::com_interface!(IPedometerStatics2, IPedometerStatics2_Vtbl, 0x79f5c6bb_ce0e_4133_b47e_8627ea72f677); +windows_core::imp::define_interface!(IPedometerStatics2, IPedometerStatics2_Vtbl, 0x79f5c6bb_ce0e_4133_b47e_8627ea72f677); #[repr(C)] pub struct IPedometerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1178,7 +1178,7 @@ pub struct IPedometerStatics2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetReadingsFromTriggerDetails: usize, } -windows_core::imp::com_interface!(IProximitySensor, IProximitySensor_Vtbl, 0x54c076b8_ecfb_4944_b928_74fc504d47ee); +windows_core::imp::define_interface!(IProximitySensor, IProximitySensor_Vtbl, 0x54c076b8_ecfb_4944_b928_74fc504d47ee); #[repr(C)] pub struct IProximitySensor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1190,13 +1190,13 @@ pub struct IProximitySensor_Vtbl { pub RemoveReadingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub CreateDisplayOnOffController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProximitySensorDataThresholdFactory, IProximitySensorDataThresholdFactory_Vtbl, 0x905ac121_6d27_4ad3_9db5_6467f2a5ad9d); +windows_core::imp::define_interface!(IProximitySensorDataThresholdFactory, IProximitySensorDataThresholdFactory_Vtbl, 0x905ac121_6d27_4ad3_9db5_6467f2a5ad9d); #[repr(C)] pub struct IProximitySensorDataThresholdFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProximitySensorReading, IProximitySensorReading_Vtbl, 0x71228d59_132d_4d5f_8ff9_2f0db8751ced); +windows_core::imp::define_interface!(IProximitySensorReading, IProximitySensorReading_Vtbl, 0x71228d59_132d_4d5f_8ff9_2f0db8751ced); #[repr(C)] pub struct IProximitySensorReading_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1204,20 +1204,20 @@ pub struct IProximitySensorReading_Vtbl { pub IsDetected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub DistanceInMillimeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProximitySensorReadingChangedEventArgs, IProximitySensorReadingChangedEventArgs_Vtbl, 0xcfc2f366_c3e8_40fd_8cc3_67e289004938); +windows_core::imp::define_interface!(IProximitySensorReadingChangedEventArgs, IProximitySensorReadingChangedEventArgs_Vtbl, 0xcfc2f366_c3e8_40fd_8cc3_67e289004938); #[repr(C)] pub struct IProximitySensorReadingChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProximitySensorStatics, IProximitySensorStatics_Vtbl, 0x29186649_6269_4e57_a5ad_82be80813392); +windows_core::imp::define_interface!(IProximitySensorStatics, IProximitySensorStatics_Vtbl, 0x29186649_6269_4e57_a5ad_82be80813392); #[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, } -windows_core::imp::com_interface!(IProximitySensorStatics2, IProximitySensorStatics2_Vtbl, 0xcbf473ae_e9ca_422f_ad67_4c3d25df350c); +windows_core::imp::define_interface!(IProximitySensorStatics2, IProximitySensorStatics2_Vtbl, 0xcbf473ae_e9ca_422f_ad67_4c3d25df350c); #[repr(C)] pub struct IProximitySensorStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1226,7 +1226,7 @@ pub struct IProximitySensorStatics2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetReadingsFromTriggerDetails: usize, } -windows_core::imp::com_interface!(ISensorDataThreshold, ISensorDataThreshold_Vtbl, 0x54daec61_fe4b_4e07_b260_3a4cdfbe396e); +windows_core::imp::define_interface!(ISensorDataThreshold, ISensorDataThreshold_Vtbl, 0x54daec61_fe4b_4e07_b260_3a4cdfbe396e); windows_core::imp::interface_hierarchy!(ISensorDataThreshold, windows_core::IUnknown, windows_core::IInspectable); impl ISensorDataThreshold {} impl windows_core::RuntimeType for ISensorDataThreshold { @@ -1236,14 +1236,14 @@ impl windows_core::RuntimeType for ISensorDataThreshold { pub struct ISensorDataThreshold_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISensorDataThresholdTriggerDetails, ISensorDataThresholdTriggerDetails_Vtbl, 0x9106f1b7_e88d_48b1_bc90_619c7b349391); +windows_core::imp::define_interface!(ISensorDataThresholdTriggerDetails, ISensorDataThresholdTriggerDetails_Vtbl, 0x9106f1b7_e88d_48b1_bc90_619c7b349391); #[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 SensorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SensorType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISensorQuaternion, ISensorQuaternion_Vtbl, 0xc9c5c827_c71c_46e7_9da3_36a193b232bc); +windows_core::imp::define_interface!(ISensorQuaternion, ISensorQuaternion_Vtbl, 0xc9c5c827_c71c_46e7_9da3_36a193b232bc); #[repr(C)] pub struct ISensorQuaternion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1252,7 +1252,7 @@ pub struct ISensorQuaternion_Vtbl { pub Y: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub Z: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISensorRotationMatrix, ISensorRotationMatrix_Vtbl, 0x0a3d5a67_22f4_4392_9538_65d0bd064aa6); +windows_core::imp::define_interface!(ISensorRotationMatrix, ISensorRotationMatrix_Vtbl, 0x0a3d5a67_22f4_4392_9538_65d0bd064aa6); #[repr(C)] pub struct ISensorRotationMatrix_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1266,7 +1266,7 @@ pub struct ISensorRotationMatrix_Vtbl { pub M32: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub M33: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimpleOrientationSensor, ISimpleOrientationSensor_Vtbl, 0x5ff53856_214a_4dee_a3f9_616f1ab06ffd); +windows_core::imp::define_interface!(ISimpleOrientationSensor, ISimpleOrientationSensor_Vtbl, 0x5ff53856_214a_4dee_a3f9_616f1ab06ffd); #[repr(C)] pub struct ISimpleOrientationSensor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1274,7 +1274,7 @@ pub struct ISimpleOrientationSensor_Vtbl { pub OrientationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveOrientationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimpleOrientationSensor2, ISimpleOrientationSensor2_Vtbl, 0xa277a798_8870_453e_8bd6_b8f5d8d7941b); +windows_core::imp::define_interface!(ISimpleOrientationSensor2, ISimpleOrientationSensor2_Vtbl, 0xa277a798_8870_453e_8bd6_b8f5d8d7941b); #[repr(C)] pub struct ISimpleOrientationSensor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1287,33 +1287,33 @@ pub struct ISimpleOrientationSensor2_Vtbl { #[cfg(not(feature = "Graphics_Display"))] ReadingTransform: usize, } -windows_core::imp::com_interface!(ISimpleOrientationSensorDeviceId, ISimpleOrientationSensorDeviceId_Vtbl, 0xfbc00acb_3b76_41f6_8091_30efe646d3cf); +windows_core::imp::define_interface!(ISimpleOrientationSensorDeviceId, ISimpleOrientationSensorDeviceId_Vtbl, 0xfbc00acb_3b76_41f6_8091_30efe646d3cf); #[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, } -windows_core::imp::com_interface!(ISimpleOrientationSensorOrientationChangedEventArgs, ISimpleOrientationSensorOrientationChangedEventArgs_Vtbl, 0xbcd5c660_23d4_4b4c_a22e_ba81ade0c601); +windows_core::imp::define_interface!(ISimpleOrientationSensorOrientationChangedEventArgs, ISimpleOrientationSensorOrientationChangedEventArgs_Vtbl, 0xbcd5c660_23d4_4b4c_a22e_ba81ade0c601); #[repr(C)] pub struct ISimpleOrientationSensorOrientationChangedEventArgs_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 Orientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SimpleOrientation) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimpleOrientationSensorStatics, ISimpleOrientationSensorStatics_Vtbl, 0x72ed066f_70aa_40c6_9b1b_3433f7459b4e); +windows_core::imp::define_interface!(ISimpleOrientationSensorStatics, ISimpleOrientationSensorStatics_Vtbl, 0x72ed066f_70aa_40c6_9b1b_3433f7459b4e); #[repr(C)] pub struct ISimpleOrientationSensorStatics_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, } -windows_core::imp::com_interface!(ISimpleOrientationSensorStatics2, ISimpleOrientationSensorStatics2_Vtbl, 0x848f9c7f_b138_4e11_8910_a2a2a3b56d83); +windows_core::imp::define_interface!(ISimpleOrientationSensorStatics2, ISimpleOrientationSensorStatics2_Vtbl, 0x848f9c7f_b138_4e11_8910_a2a2a3b56d83); #[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, } -windows_core::imp::com_interface!(IWakeOnApproachOptions, IWakeOnApproachOptions_Vtbl, 0xf0b87ae7_7e1f_5ea5_814d_6b7e07defc2b); +windows_core::imp::define_interface!(IWakeOnApproachOptions, IWakeOnApproachOptions_Vtbl, 0xf0b87ae7_7e1f_5ea5_814d_6b7e07defc2b); #[repr(C)] pub struct IWakeOnApproachOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs index 055a2d6dde..e193fc285e 100644 --- a/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SerialCommunication/mod.rs @@ -1,16 +1,16 @@ -windows_core::imp::com_interface!(IErrorReceivedEventArgs, IErrorReceivedEventArgs_Vtbl, 0xfcc6bf59_1283_4d8a_bfdf_566b33ddb28f); +windows_core::imp::define_interface!(IErrorReceivedEventArgs, IErrorReceivedEventArgs_Vtbl, 0xfcc6bf59_1283_4d8a_bfdf_566b33ddb28f); #[repr(C)] pub struct IErrorReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SerialError) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPinChangedEventArgs, IPinChangedEventArgs_Vtbl, 0xa2bf1db0_fc9c_4607_93d0_fa5e8343ee22); +windows_core::imp::define_interface!(IPinChangedEventArgs, IPinChangedEventArgs_Vtbl, 0xa2bf1db0_fc9c_4607_93d0_fa5e8343ee22); #[repr(C)] pub struct IPinChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PinChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SerialPinChange) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISerialDevice, ISerialDevice_Vtbl, 0xe187ccc6_2210_414f_b65a_f5553a03372a); +windows_core::imp::define_interface!(ISerialDevice, ISerialDevice_Vtbl, 0xe187ccc6_2210_414f_b65a_f5553a03372a); #[repr(C)] pub struct ISerialDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -54,7 +54,7 @@ pub struct ISerialDevice_Vtbl { pub PinChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePinChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISerialDeviceStatics, ISerialDeviceStatics_Vtbl, 0x058c4a70_0836_4993_ae1a_b61ae3be056b); +windows_core::imp::define_interface!(ISerialDeviceStatics, ISerialDeviceStatics_Vtbl, 0x058c4a70_0836_4993_ae1a_b61ae3be056b); #[repr(C)] pub struct ISerialDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs index 6eec548d16..ea5d6f9a35 100644 --- a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs @@ -1,16 +1,16 @@ -windows_core::imp::com_interface!(ICardAddedEventArgs, ICardAddedEventArgs_Vtbl, 0x18bbef98_f18b_4dd3_b118_dfb2c8e23cc6); +windows_core::imp::define_interface!(ICardAddedEventArgs, ICardAddedEventArgs_Vtbl, 0x18bbef98_f18b_4dd3_b118_dfb2c8e23cc6); #[repr(C)] pub struct ICardAddedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SmartCard: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICardRemovedEventArgs, ICardRemovedEventArgs_Vtbl, 0x15331aaf_22d7_4945_afc9_03b46f42a6cd); +windows_core::imp::define_interface!(ICardRemovedEventArgs, ICardRemovedEventArgs_Vtbl, 0x15331aaf_22d7_4945_afc9_03b46f42a6cd); #[repr(C)] pub struct ICardRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SmartCard: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownSmartCardAppletIds, IKnownSmartCardAppletIds_Vtbl, 0x7b04d8d8_95b4_4c88_8cea_411e55511efc); +windows_core::imp::define_interface!(IKnownSmartCardAppletIds, IKnownSmartCardAppletIds_Vtbl, 0x7b04d8d8_95b4_4c88_8cea_411e55511efc); #[repr(C)] pub struct IKnownSmartCardAppletIds_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct IKnownSmartCardAppletIds_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ProximityPaymentSystemEnvironment: usize, } -windows_core::imp::com_interface!(ISmartCard, ISmartCard_Vtbl, 0x1b718871_6434_43f4_b55a_6a29623870aa); +windows_core::imp::define_interface!(ISmartCard, ISmartCard_Vtbl, 0x1b718871_6434_43f4_b55a_6a29623870aa); #[repr(C)] pub struct ISmartCard_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -34,7 +34,7 @@ pub struct ISmartCard_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetAnswerToResetAsync: usize, } -windows_core::imp::com_interface!(ISmartCardAppletIdGroup, ISmartCardAppletIdGroup_Vtbl, 0x7db165e6_6264_56f4_5e03_c86385395eb1); +windows_core::imp::define_interface!(ISmartCardAppletIdGroup, ISmartCardAppletIdGroup_Vtbl, 0x7db165e6_6264_56f4_5e03_c86385395eb1); #[repr(C)] pub struct ISmartCardAppletIdGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -51,7 +51,7 @@ pub struct ISmartCardAppletIdGroup_Vtbl { pub AutomaticEnablement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAutomaticEnablement: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardAppletIdGroup2, ISmartCardAppletIdGroup2_Vtbl, 0x6b0ef9dc_9956_4a62_8d4e_d37a68ebc3a6); +windows_core::imp::define_interface!(ISmartCardAppletIdGroup2, ISmartCardAppletIdGroup2_Vtbl, 0x6b0ef9dc_9956_4a62_8d4e_d37a68ebc3a6); #[repr(C)] pub struct ISmartCardAppletIdGroup2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -72,7 +72,7 @@ pub struct ISmartCardAppletIdGroup2_Vtbl { pub SecureUserAuthenticationRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetSecureUserAuthenticationRequired: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardAppletIdGroupFactory, ISmartCardAppletIdGroupFactory_Vtbl, 0x9105eb4d_4a65_4e41_8061_cbe83f3695e5); +windows_core::imp::define_interface!(ISmartCardAppletIdGroupFactory, ISmartCardAppletIdGroupFactory_Vtbl, 0x9105eb4d_4a65_4e41_8061_cbe83f3695e5); #[repr(C)] pub struct ISmartCardAppletIdGroupFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -81,7 +81,7 @@ pub struct ISmartCardAppletIdGroupFactory_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] Create: usize, } -windows_core::imp::com_interface!(ISmartCardAppletIdGroupRegistration, ISmartCardAppletIdGroupRegistration_Vtbl, 0xdf1208d1_31bb_5596_43b1_6d69a0257b3a); +windows_core::imp::define_interface!(ISmartCardAppletIdGroupRegistration, ISmartCardAppletIdGroupRegistration_Vtbl, 0xdf1208d1_31bb_5596_43b1_6d69a0257b3a); #[repr(C)] pub struct ISmartCardAppletIdGroupRegistration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -94,7 +94,7 @@ pub struct ISmartCardAppletIdGroupRegistration_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetAutomaticResponseApdusAsync: usize, } -windows_core::imp::com_interface!(ISmartCardAppletIdGroupRegistration2, ISmartCardAppletIdGroupRegistration2_Vtbl, 0x5f5508d8_98a7_4f2e_91d9_6cfcceda407f); +windows_core::imp::define_interface!(ISmartCardAppletIdGroupRegistration2, ISmartCardAppletIdGroupRegistration2_Vtbl, 0x5f5508d8_98a7_4f2e_91d9_6cfcceda407f); #[repr(C)] pub struct ISmartCardAppletIdGroupRegistration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -104,13 +104,13 @@ pub struct ISmartCardAppletIdGroupRegistration2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetPropertiesAsync: usize, } -windows_core::imp::com_interface!(ISmartCardAppletIdGroupStatics, ISmartCardAppletIdGroupStatics_Vtbl, 0xab2899a9_e76c_45cf_bf1d_90eaa6205927); +windows_core::imp::define_interface!(ISmartCardAppletIdGroupStatics, ISmartCardAppletIdGroupStatics_Vtbl, 0xab2899a9_e76c_45cf_bf1d_90eaa6205927); #[repr(C)] pub struct ISmartCardAppletIdGroupStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MaxAppletIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardAutomaticResponseApdu, ISmartCardAutomaticResponseApdu_Vtbl, 0x52152bab_c63e_4531_a857_d756d99b986a); +windows_core::imp::define_interface!(ISmartCardAutomaticResponseApdu, ISmartCardAutomaticResponseApdu_Vtbl, 0x52152bab_c63e_4531_a857_d756d99b986a); #[repr(C)] pub struct ISmartCardAutomaticResponseApdu_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -149,7 +149,7 @@ pub struct ISmartCardAutomaticResponseApdu_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SetResponseApdu: usize, } -windows_core::imp::com_interface!(ISmartCardAutomaticResponseApdu2, ISmartCardAutomaticResponseApdu2_Vtbl, 0x44aebb14_559d_4531_4e51_89db6fa8a57a); +windows_core::imp::define_interface!(ISmartCardAutomaticResponseApdu2, ISmartCardAutomaticResponseApdu2_Vtbl, 0x44aebb14_559d_4531_4e51_89db6fa8a57a); #[repr(C)] pub struct ISmartCardAutomaticResponseApdu2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -158,14 +158,14 @@ pub struct ISmartCardAutomaticResponseApdu2_Vtbl { pub OutputState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetOutputState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardAutomaticResponseApdu3, ISmartCardAutomaticResponseApdu3_Vtbl, 0xbf43da74_6576_4392_9367_fe3bc9e2d496); +windows_core::imp::define_interface!(ISmartCardAutomaticResponseApdu3, ISmartCardAutomaticResponseApdu3_Vtbl, 0xbf43da74_6576_4392_9367_fe3bc9e2d496); #[repr(C)] pub struct ISmartCardAutomaticResponseApdu3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowWhenCryptogramGeneratorNotPrepared: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowWhenCryptogramGeneratorNotPrepared: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardAutomaticResponseApduFactory, ISmartCardAutomaticResponseApduFactory_Vtbl, 0xe97ea2fa_d02c_4c55_b02a_8cff7fa9f05b); +windows_core::imp::define_interface!(ISmartCardAutomaticResponseApduFactory, ISmartCardAutomaticResponseApduFactory_Vtbl, 0xe97ea2fa_d02c_4c55_b02a_8cff7fa9f05b); #[repr(C)] pub struct ISmartCardAutomaticResponseApduFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -174,7 +174,7 @@ pub struct ISmartCardAutomaticResponseApduFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Create: usize, } -windows_core::imp::com_interface!(ISmartCardChallengeContext, ISmartCardChallengeContext_Vtbl, 0x192a5319_c9c4_4947_81cc_44794a61ef91); +windows_core::imp::define_interface!(ISmartCardChallengeContext, ISmartCardChallengeContext_Vtbl, 0x192a5319_c9c4_4947_81cc_44794a61ef91); #[repr(C)] pub struct ISmartCardChallengeContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -199,13 +199,13 @@ pub struct ISmartCardChallengeContext_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ChangeAdministrativeKeyAsync: usize, } -windows_core::imp::com_interface!(ISmartCardConnect, ISmartCardConnect_Vtbl, 0x2fdf87e5_028d_491e_a058_3382c3986f40); +windows_core::imp::define_interface!(ISmartCardConnect, ISmartCardConnect_Vtbl, 0x2fdf87e5_028d_491e_a058_3382c3986f40); #[repr(C)] pub struct ISmartCardConnect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ConnectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardConnection, ISmartCardConnection_Vtbl, 0x7edb991a_a81a_47bc_a649_156be6b7f231); +windows_core::imp::define_interface!(ISmartCardConnection, ISmartCardConnection_Vtbl, 0x7edb991a_a81a_47bc_a649_156be6b7f231); #[repr(C)] pub struct ISmartCardConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -214,7 +214,7 @@ pub struct ISmartCardConnection_Vtbl { #[cfg(not(feature = "Storage_Streams"))] TransmitAsync: usize, } -windows_core::imp::com_interface!(ISmartCardCryptogramGenerator, ISmartCardCryptogramGenerator_Vtbl, 0xe39f587b_edd3_4e49_b594_0ff5e4d0c76f); +windows_core::imp::define_interface!(ISmartCardCryptogramGenerator, ISmartCardCryptogramGenerator_Vtbl, 0xe39f587b_edd3_4e49_b594_0ff5e4d0c76f); #[repr(C)] pub struct ISmartCardCryptogramGenerator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -255,7 +255,7 @@ pub struct ISmartCardCryptogramGenerator_Vtbl { 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, } -windows_core::imp::com_interface!(ISmartCardCryptogramGenerator2, ISmartCardCryptogramGenerator2_Vtbl, 0x7116aa34_5d6d_4b4a_96a3_efa47d2a7e25); +windows_core::imp::define_interface!(ISmartCardCryptogramGenerator2, ISmartCardCryptogramGenerator2_Vtbl, 0x7116aa34_5d6d_4b4a_96a3_efa47d2a7e25); #[repr(C)] pub struct ISmartCardCryptogramGenerator2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -268,19 +268,19 @@ pub struct ISmartCardCryptogramGenerator2_Vtbl { 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, } -windows_core::imp::com_interface!(ISmartCardCryptogramGeneratorStatics, ISmartCardCryptogramGeneratorStatics_Vtbl, 0x09933910_cb9c_4015_967d_5234f3b02900); +windows_core::imp::define_interface!(ISmartCardCryptogramGeneratorStatics, ISmartCardCryptogramGeneratorStatics_Vtbl, 0x09933910_cb9c_4015_967d_5234f3b02900); #[repr(C)] pub struct ISmartCardCryptogramGeneratorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetSmartCardCryptogramGeneratorAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardCryptogramGeneratorStatics2, ISmartCardCryptogramGeneratorStatics2_Vtbl, 0x09bdf5e5_b4bd_4e23_a588_74469204c128); +windows_core::imp::define_interface!(ISmartCardCryptogramGeneratorStatics2, ISmartCardCryptogramGeneratorStatics2_Vtbl, 0x09bdf5e5_b4bd_4e23_a588_74469204c128); #[repr(C)] pub struct ISmartCardCryptogramGeneratorStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult, ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_Vtbl, 0x2798e029_d687_4c92_86c6_399e9a0ecb09); +windows_core::imp::define_interface!(ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult, ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_Vtbl, 0x2798e029_d687_4c92_86c6_399e9a0ecb09); #[repr(C)] pub struct ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -290,7 +290,7 @@ pub struct ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult_Vtb #[cfg(not(feature = "Foundation_Collections"))] Characteristics: usize, } -windows_core::imp::com_interface!(ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult, ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_Vtbl, 0x4e6a8a5c_9773_46c4_a32f_b1e543159e04); +windows_core::imp::define_interface!(ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult, ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_Vtbl, 0x4e6a8a5c_9773_46c4_a32f_b1e543159e04); #[repr(C)] pub struct ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -300,7 +300,7 @@ pub struct ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsRes #[cfg(not(feature = "Foundation_Collections"))] Characteristics: usize, } -windows_core::imp::com_interface!(ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult, ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_Vtbl, 0x8c7ce857_a7e7_489d_b9d6_368061515012); +windows_core::imp::define_interface!(ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult, ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_Vtbl, 0x8c7ce857_a7e7_489d_b9d6_368061515012); #[repr(C)] pub struct ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -310,7 +310,7 @@ pub struct ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult_V #[cfg(not(feature = "Foundation_Collections"))] Characteristics: usize, } -windows_core::imp::com_interface!(ISmartCardCryptogramMaterialCharacteristics, ISmartCardCryptogramMaterialCharacteristics_Vtbl, 0xfc9ac5cc_c1d7_4153_923b_a2d43c6c8d49); +windows_core::imp::define_interface!(ISmartCardCryptogramMaterialCharacteristics, ISmartCardCryptogramMaterialCharacteristics_Vtbl, 0xfc9ac5cc_c1d7_4153_923b_a2d43c6c8d49); #[repr(C)] pub struct ISmartCardCryptogramMaterialCharacteristics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -332,7 +332,7 @@ pub struct ISmartCardCryptogramMaterialCharacteristics_Vtbl { pub ProtectionVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MaterialLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardCryptogramMaterialPackageCharacteristics, ISmartCardCryptogramMaterialPackageCharacteristics_Vtbl, 0xffb58e1f_0692_4c47_93cf_34d91f9dcd00); +windows_core::imp::define_interface!(ISmartCardCryptogramMaterialPackageCharacteristics, ISmartCardCryptogramMaterialPackageCharacteristics_Vtbl, 0xffb58e1f_0692_4c47_93cf_34d91f9dcd00); #[repr(C)] pub struct ISmartCardCryptogramMaterialPackageCharacteristics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -341,7 +341,7 @@ pub struct ISmartCardCryptogramMaterialPackageCharacteristics_Vtbl { 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, } -windows_core::imp::com_interface!(ISmartCardCryptogramMaterialPossessionProof, ISmartCardCryptogramMaterialPossessionProof_Vtbl, 0xe5b9ab8c_a141_4135_9add_b0d2e3aa1fc9); +windows_core::imp::define_interface!(ISmartCardCryptogramMaterialPossessionProof, ISmartCardCryptogramMaterialPossessionProof_Vtbl, 0xe5b9ab8c_a141_4135_9add_b0d2e3aa1fc9); #[repr(C)] pub struct ISmartCardCryptogramMaterialPossessionProof_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -351,7 +351,7 @@ pub struct ISmartCardCryptogramMaterialPossessionProof_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Proof: usize, } -windows_core::imp::com_interface!(ISmartCardCryptogramPlacementStep, ISmartCardCryptogramPlacementStep_Vtbl, 0x947b03eb_8342_4792_a2e5_925636378a53); +windows_core::imp::define_interface!(ISmartCardCryptogramPlacementStep, ISmartCardCryptogramPlacementStep_Vtbl, 0x947b03eb_8342_4792_a2e5_925636378a53); #[repr(C)] pub struct ISmartCardCryptogramPlacementStep_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -380,7 +380,7 @@ pub struct ISmartCardCryptogramPlacementStep_Vtbl { pub ChainedOutputStep: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetChainedOutputStep: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardCryptogramStorageKeyCharacteristics, ISmartCardCryptogramStorageKeyCharacteristics_Vtbl, 0x8552546e_4457_4825_b464_635471a39f5c); +windows_core::imp::define_interface!(ISmartCardCryptogramStorageKeyCharacteristics, ISmartCardCryptogramStorageKeyCharacteristics_Vtbl, 0x8552546e_4457_4825_b464_635471a39f5c); #[repr(C)] pub struct ISmartCardCryptogramStorageKeyCharacteristics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -389,7 +389,7 @@ pub struct ISmartCardCryptogramStorageKeyCharacteristics_Vtbl { 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, } -windows_core::imp::com_interface!(ISmartCardCryptogramStorageKeyInfo, ISmartCardCryptogramStorageKeyInfo_Vtbl, 0x77b0f00d_b097_4f61_a26a_9561639c9c3a); +windows_core::imp::define_interface!(ISmartCardCryptogramStorageKeyInfo, ISmartCardCryptogramStorageKeyInfo_Vtbl, 0x77b0f00d_b097_4f61_a26a_9561639c9c3a); #[repr(C)] pub struct ISmartCardCryptogramStorageKeyInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -413,19 +413,19 @@ pub struct ISmartCardCryptogramStorageKeyInfo_Vtbl { AttestationCertificateChain: usize, pub Capabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardCryptogramStorageKeyCapabilities) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardCryptogramStorageKeyInfo2, ISmartCardCryptogramStorageKeyInfo2_Vtbl, 0x000440f9_f7fd_417d_89e1_fbb0382adc4d); +windows_core::imp::define_interface!(ISmartCardCryptogramStorageKeyInfo2, ISmartCardCryptogramStorageKeyInfo2_Vtbl, 0x000440f9_f7fd_417d_89e1_fbb0382adc4d); #[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, } -windows_core::imp::com_interface!(ISmartCardEmulator, ISmartCardEmulator_Vtbl, 0xdfb906b2_875e_47e5_8077_e8bff1b1c6fb); +windows_core::imp::define_interface!(ISmartCardEmulator, ISmartCardEmulator_Vtbl, 0xdfb906b2_875e_47e5_8077_e8bff1b1c6fb); #[repr(C)] pub struct ISmartCardEmulator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub EnablementPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardEmulatorEnablementPolicy) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardEmulator2, ISmartCardEmulator2_Vtbl, 0xfe3fc0b8_8529_411a_807b_48edc2a0ab44); +windows_core::imp::define_interface!(ISmartCardEmulator2, ISmartCardEmulator2_Vtbl, 0xfe3fc0b8_8529_411a_807b_48edc2a0ab44); #[repr(C)] pub struct ISmartCardEmulator2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -436,7 +436,7 @@ pub struct ISmartCardEmulator2_Vtbl { pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsHostCardEmulationSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardEmulatorApduReceivedEventArgs, ISmartCardEmulatorApduReceivedEventArgs_Vtbl, 0xd55d1576_69d2_5333_5b5f_f8c0d6e9f09f); +windows_core::imp::define_interface!(ISmartCardEmulatorApduReceivedEventArgs, ISmartCardEmulatorApduReceivedEventArgs_Vtbl, 0xd55d1576_69d2_5333_5b5f_f8c0d6e9f09f); #[repr(C)] pub struct ISmartCardEmulatorApduReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -451,7 +451,7 @@ pub struct ISmartCardEmulatorApduReceivedEventArgs_Vtbl { TryRespondAsync: usize, pub AutomaticResponseStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardAutomaticResponseStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardEmulatorApduReceivedEventArgs2, ISmartCardEmulatorApduReceivedEventArgs2_Vtbl, 0x8bf93df0_22e1_4238_8610_94ce4a965425); +windows_core::imp::define_interface!(ISmartCardEmulatorApduReceivedEventArgs2, ISmartCardEmulatorApduReceivedEventArgs2_Vtbl, 0x8bf93df0_22e1_4238_8610_94ce4a965425); #[repr(C)] pub struct ISmartCardEmulatorApduReceivedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -461,7 +461,7 @@ pub struct ISmartCardEmulatorApduReceivedEventArgs2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] TryRespondWithStateAsync: usize, } -windows_core::imp::com_interface!(ISmartCardEmulatorApduReceivedEventArgsWithCryptograms, ISmartCardEmulatorApduReceivedEventArgsWithCryptograms_Vtbl, 0xd550bac7_b7bf_4e29_9294_0c4ac3c941bd); +windows_core::imp::define_interface!(ISmartCardEmulatorApduReceivedEventArgsWithCryptograms, ISmartCardEmulatorApduReceivedEventArgsWithCryptograms_Vtbl, 0xd550bac7_b7bf_4e29_9294_0c4ac3c941bd); #[repr(C)] pub struct ISmartCardEmulatorApduReceivedEventArgsWithCryptograms_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -474,27 +474,27 @@ pub struct ISmartCardEmulatorApduReceivedEventArgsWithCryptograms_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] TryRespondWithCryptogramsAndStateAsync: usize, } -windows_core::imp::com_interface!(ISmartCardEmulatorConnectionDeactivatedEventArgs, ISmartCardEmulatorConnectionDeactivatedEventArgs_Vtbl, 0x2186d8d3_c5eb_5262_43df_62a0a1b55557); +windows_core::imp::define_interface!(ISmartCardEmulatorConnectionDeactivatedEventArgs, ISmartCardEmulatorConnectionDeactivatedEventArgs_Vtbl, 0x2186d8d3_c5eb_5262_43df_62a0a1b55557); #[repr(C)] pub struct ISmartCardEmulatorConnectionDeactivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ConnectionProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardEmulatorConnectionDeactivatedReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardEmulatorConnectionProperties, ISmartCardEmulatorConnectionProperties_Vtbl, 0x4e2ca5ee_f969_507d_6cf9_34e2d18df311); +windows_core::imp::define_interface!(ISmartCardEmulatorConnectionProperties, ISmartCardEmulatorConnectionProperties_Vtbl, 0x4e2ca5ee_f969_507d_6cf9_34e2d18df311); #[repr(C)] pub struct ISmartCardEmulatorConnectionProperties_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 Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardEmulatorConnectionSource) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardEmulatorStatics, ISmartCardEmulatorStatics_Vtbl, 0x7a9bfc4b_c4d3_494f_b8a2_6215d81e85b2); +windows_core::imp::define_interface!(ISmartCardEmulatorStatics, ISmartCardEmulatorStatics_Vtbl, 0x7a9bfc4b_c4d3_494f_b8a2_6215d81e85b2); #[repr(C)] pub struct ISmartCardEmulatorStatics_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, } -windows_core::imp::com_interface!(ISmartCardEmulatorStatics2, ISmartCardEmulatorStatics2_Vtbl, 0x69ae9f8a_b775_488b_8436_6c1e28ed731f); +windows_core::imp::define_interface!(ISmartCardEmulatorStatics2, ISmartCardEmulatorStatics2_Vtbl, 0x69ae9f8a_b775_488b_8436_6c1e28ed731f); #[repr(C)] pub struct ISmartCardEmulatorStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -506,13 +506,13 @@ pub struct ISmartCardEmulatorStatics2_Vtbl { pub UnregisterAppletIdGroupAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MaxAppletIdGroupRegistrations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardEmulatorStatics3, ISmartCardEmulatorStatics3_Vtbl, 0x59ea142a_9f09_43f5_8565_cfa8148e4cb2); +windows_core::imp::define_interface!(ISmartCardEmulatorStatics3, ISmartCardEmulatorStatics3_Vtbl, 0x59ea142a_9f09_43f5_8565_cfa8148e4cb2); #[repr(C)] pub struct ISmartCardEmulatorStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardPinPolicy, ISmartCardPinPolicy_Vtbl, 0x183ce184_4db6_4841_ac9e_2ac1f39b7304); +windows_core::imp::define_interface!(ISmartCardPinPolicy, ISmartCardPinPolicy_Vtbl, 0x183ce184_4db6_4841_ac9e_2ac1f39b7304); #[repr(C)] pub struct ISmartCardPinPolicy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -529,13 +529,13 @@ pub struct ISmartCardPinPolicy_Vtbl { pub SpecialCharacters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmartCardPinCharacterPolicyOption) -> windows_core::HRESULT, pub SetSpecialCharacters: unsafe extern "system" fn(*mut core::ffi::c_void, SmartCardPinCharacterPolicyOption) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardPinResetDeferral, ISmartCardPinResetDeferral_Vtbl, 0x18c94aac_7805_4004_85e4_bbefac8f6884); +windows_core::imp::define_interface!(ISmartCardPinResetDeferral, ISmartCardPinResetDeferral_Vtbl, 0x18c94aac_7805_4004_85e4_bbefac8f6884); #[repr(C)] pub struct ISmartCardPinResetDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardPinResetRequest, ISmartCardPinResetRequest_Vtbl, 0x12fe3c4d_5fb9_4e8e_9ff6_61f475124fef); +windows_core::imp::define_interface!(ISmartCardPinResetRequest, ISmartCardPinResetRequest_Vtbl, 0x12fe3c4d_5fb9_4e8e_9ff6_61f475124fef); #[repr(C)] pub struct ISmartCardPinResetRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -550,7 +550,7 @@ pub struct ISmartCardPinResetRequest_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SetResponse: usize, } -windows_core::imp::com_interface!(ISmartCardProvisioning, ISmartCardProvisioning_Vtbl, 0x19eeedbd_1fab_477c_b712_1a2c5af1fd6e); +windows_core::imp::define_interface!(ISmartCardProvisioning, ISmartCardProvisioning_Vtbl, 0x19eeedbd_1fab_477c_b712_1a2c5af1fd6e); #[repr(C)] pub struct ISmartCardProvisioning_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -561,13 +561,13 @@ pub struct ISmartCardProvisioning_Vtbl { pub RequestPinChangeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestPinResetAsync: 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::com_interface!(ISmartCardProvisioning2, ISmartCardProvisioning2_Vtbl, 0x10fd28eb_3f79_4b66_9b7c_11c149b7d0bc); +windows_core::imp::define_interface!(ISmartCardProvisioning2, ISmartCardProvisioning2_Vtbl, 0x10fd28eb_3f79_4b66_9b7c_11c149b7d0bc); #[repr(C)] pub struct ISmartCardProvisioning2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetAuthorityKeyContainerNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardProvisioningStatics, ISmartCardProvisioningStatics_Vtbl, 0x13882848_0d13_4e70_9735_51daeca5254f); +windows_core::imp::define_interface!(ISmartCardProvisioningStatics, ISmartCardProvisioningStatics_Vtbl, 0x13882848_0d13_4e70_9735_51daeca5254f); #[repr(C)] pub struct ISmartCardProvisioningStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -582,7 +582,7 @@ pub struct ISmartCardProvisioningStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ISmartCardProvisioningStatics2, ISmartCardProvisioningStatics2_Vtbl, 0x3447c6a8_c9a0_4bd6_b50d_251f4e8d3a62); +windows_core::imp::define_interface!(ISmartCardProvisioningStatics2, ISmartCardProvisioningStatics2_Vtbl, 0x3447c6a8_c9a0_4bd6_b50d_251f4e8d3a62); #[repr(C)] pub struct ISmartCardProvisioningStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -595,7 +595,7 @@ pub struct ISmartCardProvisioningStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] RequestAttestedVirtualSmartCardCreationAsyncWithCardId: usize, } -windows_core::imp::com_interface!(ISmartCardReader, ISmartCardReader_Vtbl, 0x1074b4e0_54c2_4df0_817a_14c14378f06c); +windows_core::imp::define_interface!(ISmartCardReader, ISmartCardReader_Vtbl, 0x1074b4e0_54c2_4df0_817a_14c14378f06c); #[repr(C)] pub struct ISmartCardReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -612,7 +612,7 @@ pub struct ISmartCardReader_Vtbl { pub CardRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCardRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartCardReaderStatics, ISmartCardReaderStatics_Vtbl, 0x103c04e1_a1ca_48f2_a281_5b6f669af107); +windows_core::imp::define_interface!(ISmartCardReaderStatics, ISmartCardReaderStatics_Vtbl, 0x103c04e1_a1ca_48f2_a281_5b6f669af107); #[repr(C)] pub struct ISmartCardReaderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -620,7 +620,7 @@ pub struct ISmartCardReaderStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ISmartCardTriggerDetails, ISmartCardTriggerDetails_Vtbl, 0x5f9bf11e_39ef_4f2b_b44f_0a9155b177bc); +windows_core::imp::define_interface!(ISmartCardTriggerDetails, ISmartCardTriggerDetails_Vtbl, 0x5f9bf11e_39ef_4f2b_b44f_0a9155b177bc); #[repr(C)] pub struct ISmartCardTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -634,7 +634,7 @@ pub struct ISmartCardTriggerDetails_Vtbl { #[cfg(not(feature = "Storage_Streams"))] TriggerData: usize, } -windows_core::imp::com_interface!(ISmartCardTriggerDetails2, ISmartCardTriggerDetails2_Vtbl, 0x2945c569_8975_4a51_9e1a_5f8a76ee51af); +windows_core::imp::define_interface!(ISmartCardTriggerDetails2, ISmartCardTriggerDetails2_Vtbl, 0x2945c569_8975_4a51_9e1a_5f8a76ee51af); #[repr(C)] pub struct ISmartCardTriggerDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -642,7 +642,7 @@ pub struct ISmartCardTriggerDetails2_Vtbl { 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, } -windows_core::imp::com_interface!(ISmartCardTriggerDetails3, ISmartCardTriggerDetails3_Vtbl, 0xb3e2c27d_18c6_4ba8_8376_ef03d4912666); +windows_core::imp::define_interface!(ISmartCardTriggerDetails3, ISmartCardTriggerDetails3_Vtbl, 0xb3e2c27d_18c6_4ba8_8376_ef03d4912666); #[repr(C)] pub struct ISmartCardTriggerDetails3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -3306,7 +3306,7 @@ impl core::fmt::Debug for SmartCardUnlockPromptingBehavior { impl windows_core::RuntimeType for SmartCardUnlockPromptingBehavior { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.Devices.SmartCards.SmartCardUnlockPromptingBehavior;i4)"); } -windows_core::imp::com_interface!(SmartCardPinResetHandler, SmartCardPinResetHandler_Vtbl, 0x138d5e40_f3bc_4a5c_b41d_4b4ef684e237); +windows_core::imp::define_interface!(SmartCardPinResetHandler, SmartCardPinResetHandler_Vtbl, 0x138d5e40_f3bc_4a5c_b41d_4b4ef684e237); impl SmartCardPinResetHandler { pub fn new, Option<&SmartCardPinResetRequest>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = SmartCardPinResetHandlerBox:: { vtable: &SmartCardPinResetHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index 1c1e04a332..d10c730d12 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISmsAppMessage, ISmsAppMessage_Vtbl, 0xe8bb8494_d3a0_4a0a_86d7_291033a8cf54); +windows_core::imp::define_interface!(ISmsAppMessage, ISmsAppMessage_Vtbl, 0xe8bb8494_d3a0_4a0a_86d7_291033a8cf54); #[repr(C)] pub struct ISmsAppMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -32,7 +32,7 @@ pub struct ISmsAppMessage_Vtbl { SetBinaryBody: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISmsBinaryMessage, ISmsBinaryMessage_Vtbl, 0x5bf4e813_3b53_4c6e_b61a_d86a63755650); +windows_core::imp::define_interface!(ISmsBinaryMessage, ISmsBinaryMessage_Vtbl, 0x5bf4e813_3b53_4c6e_b61a_d86a63755650); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(ISmsBinaryMessage, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -105,7 +105,7 @@ pub struct ISmsBinaryMessage_Vtbl { #[cfg(not(feature = "deprecated"))] SetData: usize, } -windows_core::imp::com_interface!(ISmsBroadcastMessage, ISmsBroadcastMessage_Vtbl, 0x75aebbf1_e4b7_4874_a09c_2956e592f957); +windows_core::imp::define_interface!(ISmsBroadcastMessage, ISmsBroadcastMessage_Vtbl, 0x75aebbf1_e4b7_4874_a09c_2956e592f957); #[repr(C)] pub struct ISmsBroadcastMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -121,7 +121,7 @@ pub struct ISmsBroadcastMessage_Vtbl { pub IsUserPopupRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISmsDevice, ISmsDevice_Vtbl, 0x091791ed_872b_4eec_9c72_ab11627b34ec); +windows_core::imp::define_interface!(ISmsDevice, ISmsDevice_Vtbl, 0x091791ed_872b_4eec_9c72_ab11627b34ec); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(ISmsDevice, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -262,7 +262,7 @@ pub struct ISmsDevice_Vtbl { #[cfg(not(feature = "deprecated"))] RemoveSmsDeviceStatusChanged: usize, } -windows_core::imp::com_interface!(ISmsDevice2, ISmsDevice2_Vtbl, 0xbd8a5c13_e522_46cb_b8d5_9ead30fb6c47); +windows_core::imp::define_interface!(ISmsDevice2, ISmsDevice2_Vtbl, 0xbd8a5c13_e522_46cb_b8d5_9ead30fb6c47); #[repr(C)] pub struct ISmsDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -278,7 +278,7 @@ pub struct ISmsDevice2_Vtbl { pub DeviceStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDeviceStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmsDevice2Statics, ISmsDevice2Statics_Vtbl, 0x65c78325_1031_491e_8fb6_ef9991afe363); +windows_core::imp::define_interface!(ISmsDevice2Statics, ISmsDevice2Statics_Vtbl, 0x65c78325_1031_491e_8fb6_ef9991afe363); #[repr(C)] pub struct ISmsDevice2Statics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -288,7 +288,7 @@ pub struct ISmsDevice2Statics_Vtbl { pub FromParentId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISmsDeviceMessageStore, ISmsDeviceMessageStore_Vtbl, 0x9889f253_f188_4427_8d54_ce0c2423c5c1); +windows_core::imp::define_interface!(ISmsDeviceMessageStore, ISmsDeviceMessageStore_Vtbl, 0x9889f253_f188_4427_8d54_ce0c2423c5c1); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISmsDeviceMessageStore_Vtbl { @@ -315,7 +315,7 @@ pub struct ISmsDeviceMessageStore_Vtbl { MaxMessages: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISmsDeviceStatics, ISmsDeviceStatics_Vtbl, 0xf88d07ea_d815_4dd1_a234_4520ce4604a4); +windows_core::imp::define_interface!(ISmsDeviceStatics, ISmsDeviceStatics_Vtbl, 0xf88d07ea_d815_4dd1_a234_4520ce4604a4); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISmsDeviceStatics_Vtbl { @@ -334,7 +334,7 @@ pub struct ISmsDeviceStatics_Vtbl { GetDefaultAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISmsDeviceStatics2, ISmsDeviceStatics2_Vtbl, 0x2ca11c87_0873_4caf_8a7d_bd471e8586d1); +windows_core::imp::define_interface!(ISmsDeviceStatics2, ISmsDeviceStatics2_Vtbl, 0x2ca11c87_0873_4caf_8a7d_bd471e8586d1); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISmsDeviceStatics2_Vtbl { @@ -344,7 +344,7 @@ pub struct ISmsDeviceStatics2_Vtbl { #[cfg(not(feature = "deprecated"))] FromNetworkAccountIdAsync: usize, } -windows_core::imp::com_interface!(ISmsFilterRule, ISmsFilterRule_Vtbl, 0x40e32fae_b049_4fbc_afe9_e2a610eff55c); +windows_core::imp::define_interface!(ISmsFilterRule, ISmsFilterRule_Vtbl, 0x40e32fae_b049_4fbc_afe9_e2a610eff55c); #[repr(C)] pub struct ISmsFilterRule_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -396,13 +396,13 @@ pub struct ISmsFilterRule_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] BroadcastChannels: usize, } -windows_core::imp::com_interface!(ISmsFilterRuleFactory, ISmsFilterRuleFactory_Vtbl, 0x00c36508_6296_4f29_9aad_8920ceba3ce8); +windows_core::imp::define_interface!(ISmsFilterRuleFactory, ISmsFilterRuleFactory_Vtbl, 0x00c36508_6296_4f29_9aad_8920ceba3ce8); #[repr(C)] pub struct ISmsFilterRuleFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFilterRule: unsafe extern "system" fn(*mut core::ffi::c_void, SmsMessageType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmsFilterRules, ISmsFilterRules_Vtbl, 0x4e47eafb_79cd_4881_9894_55a4135b23fa); +windows_core::imp::define_interface!(ISmsFilterRules, ISmsFilterRules_Vtbl, 0x4e47eafb_79cd_4881_9894_55a4135b23fa); #[repr(C)] pub struct ISmsFilterRules_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -412,13 +412,13 @@ pub struct ISmsFilterRules_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Rules: usize, } -windows_core::imp::com_interface!(ISmsFilterRulesFactory, ISmsFilterRulesFactory_Vtbl, 0xa09924ed_6e2e_4530_9fde_465d02eed00e); +windows_core::imp::define_interface!(ISmsFilterRulesFactory, ISmsFilterRulesFactory_Vtbl, 0xa09924ed_6e2e_4530_9fde_465d02eed00e); #[repr(C)] pub struct ISmsFilterRulesFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFilterRules: unsafe extern "system" fn(*mut core::ffi::c_void, SmsFilterActionType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmsMessage, ISmsMessage_Vtbl, 0xed3c5e28_6984_4b07_811d_8d5906ed3cea); +windows_core::imp::define_interface!(ISmsMessage, ISmsMessage_Vtbl, 0xed3c5e28_6984_4b07_811d_8d5906ed3cea); windows_core::imp::interface_hierarchy!(ISmsMessage, windows_core::IUnknown, windows_core::IInspectable); impl ISmsMessage { pub fn Id(&self) -> windows_core::Result { @@ -445,7 +445,7 @@ pub struct ISmsMessage_Vtbl { pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MessageClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SmsMessageClass) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmsMessageBase, ISmsMessageBase_Vtbl, 0x2cf0fe30_fe50_4fc6_aa88_4ccfe27a29ea); +windows_core::imp::define_interface!(ISmsMessageBase, ISmsMessageBase_Vtbl, 0x2cf0fe30_fe50_4fc6_aa88_4ccfe27a29ea); windows_core::imp::interface_hierarchy!(ISmsMessageBase, windows_core::IUnknown, windows_core::IInspectable); impl ISmsMessageBase { pub fn MessageType(&self) -> windows_core::Result { @@ -497,7 +497,7 @@ pub struct ISmsMessageBase_Vtbl { pub SimIccId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISmsMessageReceivedEventArgs, ISmsMessageReceivedEventArgs_Vtbl, 0x08e80a98_b8e5_41c1_a3d8_d3abfae22675); +windows_core::imp::define_interface!(ISmsMessageReceivedEventArgs, ISmsMessageReceivedEventArgs_Vtbl, 0x08e80a98_b8e5_41c1_a3d8_d3abfae22675); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISmsMessageReceivedEventArgs_Vtbl { @@ -511,7 +511,7 @@ pub struct ISmsMessageReceivedEventArgs_Vtbl { #[cfg(not(feature = "deprecated"))] BinaryMessage: usize, } -windows_core::imp::com_interface!(ISmsMessageReceivedTriggerDetails, ISmsMessageReceivedTriggerDetails_Vtbl, 0x2bcfcbd4_2657_4128_ad5f_e3877132bdb1); +windows_core::imp::define_interface!(ISmsMessageReceivedTriggerDetails, ISmsMessageReceivedTriggerDetails_Vtbl, 0x2bcfcbd4_2657_4128_ad5f_e3877132bdb1); #[repr(C)] pub struct ISmsMessageReceivedTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -525,7 +525,7 @@ pub struct ISmsMessageReceivedTriggerDetails_Vtbl { pub Drop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Accept: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmsMessageRegistration, ISmsMessageRegistration_Vtbl, 0x1720503e_f34f_446b_83b3_0ff19923b409); +windows_core::imp::define_interface!(ISmsMessageRegistration, ISmsMessageRegistration_Vtbl, 0x1720503e_f34f_446b_83b3_0ff19923b409); #[repr(C)] pub struct ISmsMessageRegistration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -534,7 +534,7 @@ pub struct ISmsMessageRegistration_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, } -windows_core::imp::com_interface!(ISmsMessageRegistrationStatics, ISmsMessageRegistrationStatics_Vtbl, 0x63a05464_2898_4778_a03c_6f994907d63a); +windows_core::imp::define_interface!(ISmsMessageRegistrationStatics, ISmsMessageRegistrationStatics_Vtbl, 0x63a05464_2898_4778_a03c_6f994907d63a); #[repr(C)] pub struct ISmsMessageRegistrationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -545,7 +545,7 @@ pub struct ISmsMessageRegistrationStatics_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, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISmsReceivedEventDetails, ISmsReceivedEventDetails_Vtbl, 0x5bb50f15_e46d_4c82_847d_5a0304c1d53d); +windows_core::imp::define_interface!(ISmsReceivedEventDetails, ISmsReceivedEventDetails_Vtbl, 0x5bb50f15_e46d_4c82_847d_5a0304c1d53d); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISmsReceivedEventDetails_Vtbl { @@ -560,7 +560,7 @@ pub struct ISmsReceivedEventDetails_Vtbl { MessageIndex: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISmsReceivedEventDetails2, ISmsReceivedEventDetails2_Vtbl, 0x40e05c86_a7b4_4771_9ae7_0b5ffb12c03a); +windows_core::imp::define_interface!(ISmsReceivedEventDetails2, ISmsReceivedEventDetails2_Vtbl, 0x40e05c86_a7b4_4771_9ae7_0b5ffb12c03a); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISmsReceivedEventDetails2_Vtbl { @@ -574,7 +574,7 @@ pub struct ISmsReceivedEventDetails2_Vtbl { #[cfg(not(feature = "deprecated"))] BinaryMessage: usize, } -windows_core::imp::com_interface!(ISmsSendMessageResult, ISmsSendMessageResult_Vtbl, 0xdb139af2_78c9_4feb_9622_452328088d62); +windows_core::imp::define_interface!(ISmsSendMessageResult, ISmsSendMessageResult_Vtbl, 0xdb139af2_78c9_4feb_9622_452328088d62); #[repr(C)] pub struct ISmsSendMessageResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -589,7 +589,7 @@ pub struct ISmsSendMessageResult_Vtbl { pub NetworkCauseCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TransportFailureCause: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmsStatusMessage, ISmsStatusMessage_Vtbl, 0xe6d28342_b70b_4677_9379_c9783fdff8f4); +windows_core::imp::define_interface!(ISmsStatusMessage, ISmsStatusMessage_Vtbl, 0xe6d28342_b70b_4677_9379_c9783fdff8f4); #[repr(C)] pub struct ISmsStatusMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -602,7 +602,7 @@ pub struct ISmsStatusMessage_Vtbl { pub DischargeTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISmsTextMessage, ISmsTextMessage_Vtbl, 0xd61c904c_a495_487f_9a6f_971548c5bc9f); +windows_core::imp::define_interface!(ISmsTextMessage, ISmsTextMessage_Vtbl, 0xd61c904c_a495_487f_9a6f_971548c5bc9f); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(ISmsTextMessage, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -777,7 +777,7 @@ pub struct ISmsTextMessage_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] ToBinaryMessages: usize, } -windows_core::imp::com_interface!(ISmsTextMessage2, ISmsTextMessage2_Vtbl, 0x22a0d893_4555_4755_b5a1_e7fd84955f8d); +windows_core::imp::define_interface!(ISmsTextMessage2, ISmsTextMessage2_Vtbl, 0x22a0d893_4555_4755_b5a1_e7fd84955f8d); #[repr(C)] pub struct ISmsTextMessage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -799,7 +799,7 @@ pub struct ISmsTextMessage2_Vtbl { pub ProtocolId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISmsTextMessageStatics, ISmsTextMessageStatics_Vtbl, 0x7f68c5ed_3ccc_47a3_8c55_380d3b010892); +windows_core::imp::define_interface!(ISmsTextMessageStatics, ISmsTextMessageStatics_Vtbl, 0x7f68c5ed_3ccc_47a3_8c55_380d3b010892); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISmsTextMessageStatics_Vtbl { @@ -813,7 +813,7 @@ pub struct ISmsTextMessageStatics_Vtbl { #[cfg(not(feature = "deprecated"))] FromBinaryData: usize, } -windows_core::imp::com_interface!(ISmsVoicemailMessage, ISmsVoicemailMessage_Vtbl, 0x271aa0a6_95b1_44ff_bcb8_b8fdd7e08bc3); +windows_core::imp::define_interface!(ISmsVoicemailMessage, ISmsVoicemailMessage_Vtbl, 0x271aa0a6_95b1_44ff_bcb8_b8fdd7e08bc3); #[repr(C)] pub struct ISmsVoicemailMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -822,7 +822,7 @@ pub struct ISmsVoicemailMessage_Vtbl { pub Body: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(ISmsWapMessage, ISmsWapMessage_Vtbl, 0xcd937743_7a55_4d3b_9021_f22e022d09c5); +windows_core::imp::define_interface!(ISmsWapMessage, ISmsWapMessage_Vtbl, 0xcd937743_7a55_4d3b_9021_f22e022d09c5); #[repr(C)] pub struct ISmsWapMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -3593,7 +3593,7 @@ impl Default for SmsEncodedLength { } } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(SmsDeviceStatusChangedEventHandler, SmsDeviceStatusChangedEventHandler_Vtbl, 0x982b1162_3dd7_4618_af89_0c272d5d06d8); +windows_core::imp::define_interface!(SmsDeviceStatusChangedEventHandler, SmsDeviceStatusChangedEventHandler_Vtbl, 0x982b1162_3dd7_4618_af89_0c272d5d06d8); #[cfg(feature = "deprecated")] impl SmsDeviceStatusChangedEventHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { @@ -3663,7 +3663,7 @@ pub struct SmsDeviceStatusChangedEventHandler_Vtbl { Invoke: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(SmsMessageReceivedEventHandler, SmsMessageReceivedEventHandler_Vtbl, 0x0b7ad409_ec2d_47ce_a253_732beeebcacd); +windows_core::imp::define_interface!(SmsMessageReceivedEventHandler, SmsMessageReceivedEventHandler_Vtbl, 0x0b7ad409_ec2d_47ce_a253_732beeebcacd); #[cfg(feature = "deprecated")] impl SmsMessageReceivedEventHandler { pub fn new, Option<&SmsMessageReceivedEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { diff --git a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs index 90e9b492ae..5160bbb917 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IProviderSpiConnectionSettings, IProviderSpiConnectionSettings_Vtbl, 0xf6034550_a542_4ec0_9601_a4dd68f8697b); +windows_core::imp::define_interface!(IProviderSpiConnectionSettings, IProviderSpiConnectionSettings_Vtbl, 0xf6034550_a542_4ec0_9601_a4dd68f8697b); #[repr(C)] pub struct IProviderSpiConnectionSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -13,13 +13,13 @@ pub struct IProviderSpiConnectionSettings_Vtbl { pub SharingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ProviderSpiSharingMode) -> windows_core::HRESULT, pub SetSharingMode: unsafe extern "system" fn(*mut core::ffi::c_void, ProviderSpiSharingMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProviderSpiConnectionSettingsFactory, IProviderSpiConnectionSettingsFactory_Vtbl, 0x66456b5a_0c79_43e3_9f3c_e59780ac18fa); +windows_core::imp::define_interface!(IProviderSpiConnectionSettingsFactory, IProviderSpiConnectionSettingsFactory_Vtbl, 0x66456b5a_0c79_43e3_9f3c_e59780ac18fa); #[repr(C)] pub struct IProviderSpiConnectionSettingsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpiControllerProvider, ISpiControllerProvider_Vtbl, 0xc1686504_02ce_4226_a385_4f11fb04b41b); +windows_core::imp::define_interface!(ISpiControllerProvider, ISpiControllerProvider_Vtbl, 0xc1686504_02ce_4226_a385_4f11fb04b41b); windows_core::imp::interface_hierarchy!(ISpiControllerProvider, windows_core::IUnknown, windows_core::IInspectable); impl ISpiControllerProvider { pub fn GetDeviceProvider(&self, settings: P0) -> windows_core::Result @@ -41,7 +41,7 @@ pub struct ISpiControllerProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeviceProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpiDeviceProvider, ISpiDeviceProvider_Vtbl, 0x0d1c3443_304b_405c_b4f7_f5ab1074461e); +windows_core::imp::define_interface!(ISpiDeviceProvider, ISpiDeviceProvider_Vtbl, 0x0d1c3443_304b_405c_b4f7_f5ab1074461e); windows_core::imp::interface_hierarchy!(ISpiDeviceProvider, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ISpiDeviceProvider, super::super::super::Foundation::IClosable); impl ISpiDeviceProvider { @@ -93,7 +93,7 @@ pub struct ISpiDeviceProvider_Vtbl { pub TransferSequential: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8) -> windows_core::HRESULT, pub TransferFullDuplex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpiProvider, ISpiProvider_Vtbl, 0x96b461e2_77d4_48ce_aaa0_75715a8362cf); +windows_core::imp::define_interface!(ISpiProvider, ISpiProvider_Vtbl, 0x96b461e2_77d4_48ce_aaa0_75715a8362cf); windows_core::imp::interface_hierarchy!(ISpiProvider, windows_core::IUnknown, windows_core::IInspectable); impl ISpiProvider { #[cfg(feature = "Foundation_Collections")] diff --git a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs index 3a2a9cf666..5d1a1b7415 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Devices_Spi_Provider")] pub mod Provider; -windows_core::imp::com_interface!(ISpiBusInfo, ISpiBusInfo_Vtbl, 0x9929444a_54f2_48c6_b952_9c32fc02c669); +windows_core::imp::define_interface!(ISpiBusInfo, ISpiBusInfo_Vtbl, 0x9929444a_54f2_48c6_b952_9c32fc02c669); #[repr(C)] pub struct ISpiBusInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -12,7 +12,7 @@ pub struct ISpiBusInfo_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedDataBitLengths: usize, } -windows_core::imp::com_interface!(ISpiConnectionSettings, ISpiConnectionSettings_Vtbl, 0x5283a37f_f935_4b9f_a7a7_3a7890afa5ce); +windows_core::imp::define_interface!(ISpiConnectionSettings, ISpiConnectionSettings_Vtbl, 0x5283a37f_f935_4b9f_a7a7_3a7890afa5ce); #[repr(C)] pub struct ISpiConnectionSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,19 +27,19 @@ pub struct ISpiConnectionSettings_Vtbl { pub SharingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpiSharingMode) -> windows_core::HRESULT, pub SetSharingMode: unsafe extern "system" fn(*mut core::ffi::c_void, SpiSharingMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpiConnectionSettingsFactory, ISpiConnectionSettingsFactory_Vtbl, 0xff99081e_10c4_44b7_9fea_a748b5a46f31); +windows_core::imp::define_interface!(ISpiConnectionSettingsFactory, ISpiConnectionSettingsFactory_Vtbl, 0xff99081e_10c4_44b7_9fea_a748b5a46f31); #[repr(C)] pub struct ISpiConnectionSettingsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpiController, ISpiController_Vtbl, 0xa8d3c829_9895_4159_a934_8741f1ee6d27); +windows_core::imp::define_interface!(ISpiController, ISpiController_Vtbl, 0xa8d3c829_9895_4159_a934_8741f1ee6d27); #[repr(C)] pub struct ISpiController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDevice: 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::com_interface!(ISpiControllerStatics, ISpiControllerStatics_Vtbl, 0x0d5229e2_138b_4e48_b964_4f2f79b9c5a2); +windows_core::imp::define_interface!(ISpiControllerStatics, ISpiControllerStatics_Vtbl, 0x0d5229e2_138b_4e48_b964_4f2f79b9c5a2); #[repr(C)] pub struct ISpiControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -49,7 +49,7 @@ pub struct ISpiControllerStatics_Vtbl { #[cfg(not(all(feature = "Devices_Spi_Provider", feature = "Foundation_Collections")))] GetControllersAsync: usize, } -windows_core::imp::com_interface!(ISpiDevice, ISpiDevice_Vtbl, 0x05d5356d_11b6_4d39_84d5_95dfb4c9f2ce); +windows_core::imp::define_interface!(ISpiDevice, ISpiDevice_Vtbl, 0x05d5356d_11b6_4d39_84d5_95dfb4c9f2ce); #[repr(C)] pub struct ISpiDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -60,7 +60,7 @@ pub struct ISpiDevice_Vtbl { pub TransferSequential: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8) -> windows_core::HRESULT, pub TransferFullDuplex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpiDeviceStatics, ISpiDeviceStatics_Vtbl, 0xa278e559_5720_4d3f_bd93_56f5ff5a5879); +windows_core::imp::define_interface!(ISpiDeviceStatics, ISpiDeviceStatics_Vtbl, 0xa278e559_5720_4d3f_bd93_56f5ff5a5879); windows_core::imp::interface_hierarchy!(ISpiDeviceStatics, windows_core::IUnknown, windows_core::IInspectable); impl ISpiDeviceStatics { pub fn GetDeviceSelector(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs index 65eea6913e..4149b5d8d5 100644 --- a/crates/libs/windows/src/Windows/Devices/Usb/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Usb/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IUsbBulkInEndpointDescriptor, IUsbBulkInEndpointDescriptor_Vtbl, 0x3c6e4846_06cf_42a9_9dc2_971c1b14b6e3); +windows_core::imp::define_interface!(IUsbBulkInEndpointDescriptor, IUsbBulkInEndpointDescriptor_Vtbl, 0x3c6e4846_06cf_42a9_9dc2_971c1b14b6e3); #[repr(C)] pub struct IUsbBulkInEndpointDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,7 +6,7 @@ pub struct IUsbBulkInEndpointDescriptor_Vtbl { pub EndpointNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Pipe: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbBulkInPipe, IUsbBulkInPipe_Vtbl, 0xf01d2d3b_4548_4d50_b326_d82cdabe1220); +windows_core::imp::define_interface!(IUsbBulkInPipe, IUsbBulkInPipe_Vtbl, 0xf01d2d3b_4548_4d50_b326_d82cdabe1220); #[repr(C)] pub struct IUsbBulkInPipe_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -21,7 +21,7 @@ pub struct IUsbBulkInPipe_Vtbl { #[cfg(not(feature = "Storage_Streams"))] InputStream: usize, } -windows_core::imp::com_interface!(IUsbBulkOutEndpointDescriptor, IUsbBulkOutEndpointDescriptor_Vtbl, 0x2820847a_ffee_4f60_9be1_956cac3ecb65); +windows_core::imp::define_interface!(IUsbBulkOutEndpointDescriptor, IUsbBulkOutEndpointDescriptor_Vtbl, 0x2820847a_ffee_4f60_9be1_956cac3ecb65); #[repr(C)] pub struct IUsbBulkOutEndpointDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -29,7 +29,7 @@ pub struct IUsbBulkOutEndpointDescriptor_Vtbl { pub EndpointNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Pipe: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbBulkOutPipe, IUsbBulkOutPipe_Vtbl, 0xa8e9ee6e_0115_45aa_8b21_37b225bccee7); +windows_core::imp::define_interface!(IUsbBulkOutPipe, IUsbBulkOutPipe_Vtbl, 0xa8e9ee6e_0115_45aa_8b21_37b225bccee7); #[repr(C)] pub struct IUsbBulkOutPipe_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -42,7 +42,7 @@ pub struct IUsbBulkOutPipe_Vtbl { #[cfg(not(feature = "Storage_Streams"))] OutputStream: usize, } -windows_core::imp::com_interface!(IUsbConfiguration, IUsbConfiguration_Vtbl, 0x68177429_36a9_46d7_b873_fc689251ec30); +windows_core::imp::define_interface!(IUsbConfiguration, IUsbConfiguration_Vtbl, 0x68177429_36a9_46d7_b873_fc689251ec30); #[repr(C)] pub struct IUsbConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,7 +56,7 @@ pub struct IUsbConfiguration_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Descriptors: usize, } -windows_core::imp::com_interface!(IUsbConfigurationDescriptor, IUsbConfigurationDescriptor_Vtbl, 0xf2176d92_b442_407a_8207_7d646c0385f3); +windows_core::imp::define_interface!(IUsbConfigurationDescriptor, IUsbConfigurationDescriptor_Vtbl, 0xf2176d92_b442_407a_8207_7d646c0385f3); #[repr(C)] pub struct IUsbConfigurationDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -65,14 +65,14 @@ pub struct IUsbConfigurationDescriptor_Vtbl { pub SelfPowered: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub RemoteWakeup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbConfigurationDescriptorStatics, IUsbConfigurationDescriptorStatics_Vtbl, 0x424ced93_e740_40a1_92bd_da120ea04914); +windows_core::imp::define_interface!(IUsbConfigurationDescriptorStatics, IUsbConfigurationDescriptorStatics_Vtbl, 0x424ced93_e740_40a1_92bd_da120ea04914); #[repr(C)] pub struct IUsbConfigurationDescriptorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Parse: 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::com_interface!(IUsbControlRequestType, IUsbControlRequestType_Vtbl, 0x8e9465a6_d73d_46de_94be_aae7f07c0f5c); +windows_core::imp::define_interface!(IUsbControlRequestType, IUsbControlRequestType_Vtbl, 0x8e9465a6_d73d_46de_94be_aae7f07c0f5c); #[repr(C)] pub struct IUsbControlRequestType_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -85,7 +85,7 @@ pub struct IUsbControlRequestType_Vtbl { pub AsByte: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub SetAsByte: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbDescriptor, IUsbDescriptor_Vtbl, 0x0a89f216_5f9d_4874_8904_da9ad3f5528f); +windows_core::imp::define_interface!(IUsbDescriptor, IUsbDescriptor_Vtbl, 0x0a89f216_5f9d_4874_8904_da9ad3f5528f); #[repr(C)] pub struct IUsbDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -96,7 +96,7 @@ pub struct IUsbDescriptor_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ReadDescriptorBuffer: usize, } -windows_core::imp::com_interface!(IUsbDevice, IUsbDevice_Vtbl, 0x5249b992_c456_44d5_ad5e_24f5a089f63b); +windows_core::imp::define_interface!(IUsbDevice, IUsbDevice_Vtbl, 0x5249b992_c456_44d5_ad5e_24f5a089f63b); #[repr(C)] pub struct IUsbDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -117,7 +117,7 @@ pub struct IUsbDevice_Vtbl { pub DeviceDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Configuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbDeviceClass, IUsbDeviceClass_Vtbl, 0x051942f9_845e_47eb_b12a_38f2f617afe7); +windows_core::imp::define_interface!(IUsbDeviceClass, IUsbDeviceClass_Vtbl, 0x051942f9_845e_47eb_b12a_38f2f617afe7); #[repr(C)] pub struct IUsbDeviceClass_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -128,12 +128,12 @@ pub struct IUsbDeviceClass_Vtbl { pub ProtocolCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetProtocolCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbDeviceClasses, IUsbDeviceClasses_Vtbl, 0x686f955d_9b92_4b30_9781_c22c55ac35cb); +windows_core::imp::define_interface!(IUsbDeviceClasses, IUsbDeviceClasses_Vtbl, 0x686f955d_9b92_4b30_9781_c22c55ac35cb); #[repr(C)] pub struct IUsbDeviceClasses_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IUsbDeviceClassesStatics, IUsbDeviceClassesStatics_Vtbl, 0xb20b0527_c580_4599_a165_981b4fd03230); +windows_core::imp::define_interface!(IUsbDeviceClassesStatics, IUsbDeviceClassesStatics_Vtbl, 0xb20b0527_c580_4599_a165_981b4fd03230); #[repr(C)] pub struct IUsbDeviceClassesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -147,7 +147,7 @@ pub struct IUsbDeviceClassesStatics_Vtbl { pub Measurement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub VendorSpecific: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbDeviceDescriptor, IUsbDeviceDescriptor_Vtbl, 0x1f48d1f6_ba97_4322_b92c_b5b189216588); +windows_core::imp::define_interface!(IUsbDeviceDescriptor, IUsbDeviceDescriptor_Vtbl, 0x1f48d1f6_ba97_4322_b92c_b5b189216588); #[repr(C)] pub struct IUsbDeviceDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -158,7 +158,7 @@ pub struct IUsbDeviceDescriptor_Vtbl { pub BcdDeviceRevision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub NumberOfConfigurations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbDeviceStatics, IUsbDeviceStatics_Vtbl, 0x066b85a2_09b7_4446_8502_6fe6dcaa7309); +windows_core::imp::define_interface!(IUsbDeviceStatics, IUsbDeviceStatics_Vtbl, 0x066b85a2_09b7_4446_8502_6fe6dcaa7309); #[repr(C)] pub struct IUsbDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -168,7 +168,7 @@ pub struct IUsbDeviceStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IUsbEndpointDescriptor, IUsbEndpointDescriptor_Vtbl, 0x6b4862d9_8df7_4b40_ac83_578f139f0575); +windows_core::imp::define_interface!(IUsbEndpointDescriptor, IUsbEndpointDescriptor_Vtbl, 0x6b4862d9_8df7_4b40_ac83_578f139f0575); #[repr(C)] pub struct IUsbEndpointDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -180,14 +180,14 @@ pub struct IUsbEndpointDescriptor_Vtbl { pub AsBulkOutEndpointDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AsInterruptOutEndpointDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbEndpointDescriptorStatics, IUsbEndpointDescriptorStatics_Vtbl, 0xc890b201_9a6a_495e_a82c_295b9e708106); +windows_core::imp::define_interface!(IUsbEndpointDescriptorStatics, IUsbEndpointDescriptorStatics_Vtbl, 0xc890b201_9a6a_495e_a82c_295b9e708106); #[repr(C)] pub struct IUsbEndpointDescriptorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Parse: 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::com_interface!(IUsbInterface, IUsbInterface_Vtbl, 0xa0322b95_7f47_48ab_a727_678c25be2112); +windows_core::imp::define_interface!(IUsbInterface, IUsbInterface_Vtbl, 0xa0322b95_7f47_48ab_a727_678c25be2112); #[repr(C)] pub struct IUsbInterface_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -217,7 +217,7 @@ pub struct IUsbInterface_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Descriptors: usize, } -windows_core::imp::com_interface!(IUsbInterfaceDescriptor, IUsbInterfaceDescriptor_Vtbl, 0x199670c7_b7ee_4f90_8cd5_94a2e257598a); +windows_core::imp::define_interface!(IUsbInterfaceDescriptor, IUsbInterfaceDescriptor_Vtbl, 0x199670c7_b7ee_4f90_8cd5_94a2e257598a); #[repr(C)] pub struct IUsbInterfaceDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -227,14 +227,14 @@ pub struct IUsbInterfaceDescriptor_Vtbl { pub AlternateSettingNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub InterfaceNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbInterfaceDescriptorStatics, IUsbInterfaceDescriptorStatics_Vtbl, 0xe34a9ff5_77d6_48b6_b0be_16c6422316fe); +windows_core::imp::define_interface!(IUsbInterfaceDescriptorStatics, IUsbInterfaceDescriptorStatics_Vtbl, 0xe34a9ff5_77d6_48b6_b0be_16c6422316fe); #[repr(C)] pub struct IUsbInterfaceDescriptorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryParse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Parse: 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::com_interface!(IUsbInterfaceSetting, IUsbInterfaceSetting_Vtbl, 0x1827bba7_8da7_4af7_8f4c_7f3032e781f5); +windows_core::imp::define_interface!(IUsbInterfaceSetting, IUsbInterfaceSetting_Vtbl, 0x1827bba7_8da7_4af7_8f4c_7f3032e781f5); #[repr(C)] pub struct IUsbInterfaceSetting_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -262,7 +262,7 @@ pub struct IUsbInterfaceSetting_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Descriptors: usize, } -windows_core::imp::com_interface!(IUsbInterruptInEndpointDescriptor, IUsbInterruptInEndpointDescriptor_Vtbl, 0xc0528967_c911_4c3a_86b2_419c2da89039); +windows_core::imp::define_interface!(IUsbInterruptInEndpointDescriptor, IUsbInterruptInEndpointDescriptor_Vtbl, 0xc0528967_c911_4c3a_86b2_419c2da89039); #[repr(C)] pub struct IUsbInterruptInEndpointDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -271,7 +271,7 @@ pub struct IUsbInterruptInEndpointDescriptor_Vtbl { pub Interval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub Pipe: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbInterruptInEventArgs, IUsbInterruptInEventArgs_Vtbl, 0xb7b04092_1418_4936_8209_299cf5605583); +windows_core::imp::define_interface!(IUsbInterruptInEventArgs, IUsbInterruptInEventArgs_Vtbl, 0xb7b04092_1418_4936_8209_299cf5605583); #[repr(C)] pub struct IUsbInterruptInEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -280,7 +280,7 @@ pub struct IUsbInterruptInEventArgs_Vtbl { #[cfg(not(feature = "Storage_Streams"))] InterruptData: usize, } -windows_core::imp::com_interface!(IUsbInterruptInPipe, IUsbInterruptInPipe_Vtbl, 0xfa007116_84d7_48c7_8a3f_4c0b235f2ea6); +windows_core::imp::define_interface!(IUsbInterruptInPipe, IUsbInterruptInPipe_Vtbl, 0xfa007116_84d7_48c7_8a3f_4c0b235f2ea6); #[repr(C)] pub struct IUsbInterruptInPipe_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -289,7 +289,7 @@ pub struct IUsbInterruptInPipe_Vtbl { 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, } -windows_core::imp::com_interface!(IUsbInterruptOutEndpointDescriptor, IUsbInterruptOutEndpointDescriptor_Vtbl, 0xcc9fed81_10ca_4533_952d_9e278341e80f); +windows_core::imp::define_interface!(IUsbInterruptOutEndpointDescriptor, IUsbInterruptOutEndpointDescriptor_Vtbl, 0xcc9fed81_10ca_4533_952d_9e278341e80f); #[repr(C)] pub struct IUsbInterruptOutEndpointDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -298,7 +298,7 @@ pub struct IUsbInterruptOutEndpointDescriptor_Vtbl { pub Interval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub Pipe: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUsbInterruptOutPipe, IUsbInterruptOutPipe_Vtbl, 0xe984c8a9_aaf9_49d0_b96c_f661ab4a7f95); +windows_core::imp::define_interface!(IUsbInterruptOutPipe, IUsbInterruptOutPipe_Vtbl, 0xe984c8a9_aaf9_49d0_b96c_f661ab4a7f95); #[repr(C)] pub struct IUsbInterruptOutPipe_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -311,7 +311,7 @@ pub struct IUsbInterruptOutPipe_Vtbl { #[cfg(not(feature = "Storage_Streams"))] OutputStream: usize, } -windows_core::imp::com_interface!(IUsbSetupPacket, IUsbSetupPacket_Vtbl, 0x104ba132_c78f_4c51_b654_e49d02f2cb03); +windows_core::imp::define_interface!(IUsbSetupPacket, IUsbSetupPacket_Vtbl, 0x104ba132_c78f_4c51_b654_e49d02f2cb03); #[repr(C)] pub struct IUsbSetupPacket_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -326,7 +326,7 @@ pub struct IUsbSetupPacket_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, } -windows_core::imp::com_interface!(IUsbSetupPacketFactory, IUsbSetupPacketFactory_Vtbl, 0xc9257d50_1b2e_4a41_a2a7_338f0cef3c14); +windows_core::imp::define_interface!(IUsbSetupPacketFactory, IUsbSetupPacketFactory_Vtbl, 0xc9257d50_1b2e_4a41_a2a7_338f0cef3c14); #[repr(C)] pub struct IUsbSetupPacketFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs index a5acc4443b..f94aa34738 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFi/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IWiFiAdapter, IWiFiAdapter_Vtbl, 0xa6c4e423_3d75_43a4_b9de_11e26b72d9b0); +windows_core::imp::define_interface!(IWiFiAdapter, IWiFiAdapter_Vtbl, 0xa6c4e423_3d75_43a4_b9de_11e26b72d9b0); #[repr(C)] pub struct IWiFiAdapter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -21,7 +21,7 @@ pub struct IWiFiAdapter_Vtbl { ConnectWithPasswordCredentialAndSsidAsync: usize, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiAdapter2, IWiFiAdapter2_Vtbl, 0x5bc4501d_81e4_453d_9430_1fcafbadd6b6); +windows_core::imp::define_interface!(IWiFiAdapter2, IWiFiAdapter2_Vtbl, 0x5bc4501d_81e4_453d_9430_1fcafbadd6b6); #[repr(C)] pub struct IWiFiAdapter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -31,7 +31,7 @@ pub struct IWiFiAdapter2_Vtbl { #[cfg(not(feature = "Security_Credentials"))] ConnectWithPasswordCredentialAndSsidAndConnectionMethodAsync: usize, } -windows_core::imp::com_interface!(IWiFiAdapterStatics, IWiFiAdapterStatics_Vtbl, 0xda25fddd_d24c_43e3_aabd_c4659f730f99); +windows_core::imp::define_interface!(IWiFiAdapterStatics, IWiFiAdapterStatics_Vtbl, 0xda25fddd_d24c_43e3_aabd_c4659f730f99); #[repr(C)] pub struct IWiFiAdapterStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -43,7 +43,7 @@ pub struct IWiFiAdapterStatics_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 RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiAvailableNetwork, IWiFiAvailableNetwork_Vtbl, 0x26e96246_183e_4704_9826_71b4a2f0f668); +windows_core::imp::define_interface!(IWiFiAvailableNetwork, IWiFiAvailableNetwork_Vtbl, 0x26e96246_183e_4704_9826_71b4a2f0f668); #[repr(C)] pub struct IWiFiAvailableNetwork_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -62,13 +62,13 @@ pub struct IWiFiAvailableNetwork_Vtbl { pub BeaconInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub IsWiFiDirect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiConnectionResult, IWiFiConnectionResult_Vtbl, 0x143bdfd9_c37d_40be_a5c8_857bce85a931); +windows_core::imp::define_interface!(IWiFiConnectionResult, IWiFiConnectionResult_Vtbl, 0x143bdfd9_c37d_40be_a5c8_857bce85a931); #[repr(C)] pub struct IWiFiConnectionResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WiFiConnectionStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiNetworkReport, IWiFiNetworkReport_Vtbl, 0x9524ded2_5911_445e_8194_be4f1a704895); +windows_core::imp::define_interface!(IWiFiNetworkReport, IWiFiNetworkReport_Vtbl, 0x9524ded2_5911_445e_8194_be4f1a704895); #[repr(C)] pub struct IWiFiNetworkReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -78,7 +78,7 @@ pub struct IWiFiNetworkReport_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AvailableNetworks: usize, } -windows_core::imp::com_interface!(IWiFiOnDemandHotspotConnectTriggerDetails, IWiFiOnDemandHotspotConnectTriggerDetails_Vtbl, 0xa268eb58_68f5_59cf_8d38_35bf44b097ef); +windows_core::imp::define_interface!(IWiFiOnDemandHotspotConnectTriggerDetails, IWiFiOnDemandHotspotConnectTriggerDetails_Vtbl, 0xa268eb58_68f5_59cf_8d38_35bf44b097ef); #[repr(C)] pub struct IWiFiOnDemandHotspotConnectTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -87,13 +87,13 @@ pub struct IWiFiOnDemandHotspotConnectTriggerDetails_Vtbl { pub ConnectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiOnDemandHotspotConnectionResult, IWiFiOnDemandHotspotConnectionResult_Vtbl, 0x911794a1_6c82_5de3_8a4a_f9ff22a4957a); +windows_core::imp::define_interface!(IWiFiOnDemandHotspotConnectionResult, IWiFiOnDemandHotspotConnectionResult_Vtbl, 0x911794a1_6c82_5de3_8a4a_f9ff22a4957a); #[repr(C)] pub struct IWiFiOnDemandHotspotConnectionResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WiFiOnDemandHotspotConnectStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiOnDemandHotspotNetwork, IWiFiOnDemandHotspotNetwork_Vtbl, 0x18dc7115_a04e_507c_bbaf_b78369d29fa7); +windows_core::imp::define_interface!(IWiFiOnDemandHotspotNetwork, IWiFiOnDemandHotspotNetwork_Vtbl, 0x18dc7115_a04e_507c_bbaf_b78369d29fa7); #[repr(C)] pub struct IWiFiOnDemandHotspotNetwork_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -101,7 +101,7 @@ pub struct IWiFiOnDemandHotspotNetwork_Vtbl { pub UpdateProperties: 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 windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiOnDemandHotspotNetworkProperties, IWiFiOnDemandHotspotNetworkProperties_Vtbl, 0xc810a1f2_c81d_5852_be50_e4bd4d81e98d); +windows_core::imp::define_interface!(IWiFiOnDemandHotspotNetworkProperties, IWiFiOnDemandHotspotNetworkProperties_Vtbl, 0xc810a1f2_c81d_5852_be50_e4bd4d81e98d); #[repr(C)] pub struct IWiFiOnDemandHotspotNetworkProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -126,13 +126,13 @@ pub struct IWiFiOnDemandHotspotNetworkProperties_Vtbl { #[cfg(not(feature = "Security_Credentials"))] SetPassword: usize, } -windows_core::imp::com_interface!(IWiFiOnDemandHotspotNetworkStatics, IWiFiOnDemandHotspotNetworkStatics_Vtbl, 0x00f5b8ac_80e7_5054_871c_8739f374e3c9); +windows_core::imp::define_interface!(IWiFiOnDemandHotspotNetworkStatics, IWiFiOnDemandHotspotNetworkStatics_Vtbl, 0x00f5b8ac_80e7_5054_871c_8739f374e3c9); #[repr(C)] pub struct IWiFiOnDemandHotspotNetworkStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetOrCreateById: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiWpsConfigurationResult, IWiFiWpsConfigurationResult_Vtbl, 0x67b49871_17ee_42d1_b14f_5a11f1226fb5); +windows_core::imp::define_interface!(IWiFiWpsConfigurationResult, IWiFiWpsConfigurationResult_Vtbl, 0x67b49871_17ee_42d1_b14f_5a11f1226fb5); #[repr(C)] pub struct IWiFiWpsConfigurationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 994c9aa53a..96308918f7 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/Services/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IWiFiDirectService, IWiFiDirectService_Vtbl, 0x50aabbb8_5f71_45ec_84f1_a1e4fc7879a3); +windows_core::imp::define_interface!(IWiFiDirectService, IWiFiDirectService_Vtbl, 0x50aabbb8_5f71_45ec_84f1_a1e4fc7879a3); #[repr(C)] pub struct IWiFiDirectService_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,7 +27,7 @@ pub struct IWiFiDirectService_Vtbl { 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, } -windows_core::imp::com_interface!(IWiFiDirectServiceAdvertiser, IWiFiDirectServiceAdvertiser_Vtbl, 0xa4aa1ee1_9d8f_4f4f_93ee_7ddea2e37f46); +windows_core::imp::define_interface!(IWiFiDirectServiceAdvertiser, IWiFiDirectServiceAdvertiser_Vtbl, 0xa4aa1ee1_9d8f_4f4f_93ee_7ddea2e37f46); #[repr(C)] pub struct IWiFiDirectServiceAdvertiser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -83,13 +83,13 @@ pub struct IWiFiDirectServiceAdvertiser_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IWiFiDirectServiceAdvertiserFactory, IWiFiDirectServiceAdvertiserFactory_Vtbl, 0x3106ac0d_b446_4f13_9f9a_8ae925feba2b); +windows_core::imp::define_interface!(IWiFiDirectServiceAdvertiserFactory, IWiFiDirectServiceAdvertiserFactory_Vtbl, 0x3106ac0d_b446_4f13_9f9a_8ae925feba2b); #[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, } -windows_core::imp::com_interface!(IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs, IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs_Vtbl, 0xdcd9e01e_83df_43e5_8f43_cbe8479e84eb); +windows_core::imp::define_interface!(IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs, IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs_Vtbl, 0xdcd9e01e_83df_43e5_8f43_cbe8479e84eb); #[repr(C)] pub struct IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -99,14 +99,14 @@ pub struct IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SessionInfo: usize, } -windows_core::imp::com_interface!(IWiFiDirectServiceProvisioningInfo, IWiFiDirectServiceProvisioningInfo_Vtbl, 0x8bdb7cfe_97d9_45a2_8e99_db50910fb6a6); +windows_core::imp::define_interface!(IWiFiDirectServiceProvisioningInfo, IWiFiDirectServiceProvisioningInfo_Vtbl, 0x8bdb7cfe_97d9_45a2_8e99_db50910fb6a6); #[repr(C)] pub struct IWiFiDirectServiceProvisioningInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SelectedConfigurationMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WiFiDirectServiceConfigurationMethod) -> windows_core::HRESULT, pub IsGroupFormationNeeded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiDirectServiceRemotePortAddedEventArgs, IWiFiDirectServiceRemotePortAddedEventArgs_Vtbl, 0xd4cebac1_3fd3_4f0e_b7bd_782906f44411); +windows_core::imp::define_interface!(IWiFiDirectServiceRemotePortAddedEventArgs, IWiFiDirectServiceRemotePortAddedEventArgs_Vtbl, 0xd4cebac1_3fd3_4f0e_b7bd_782906f44411); #[repr(C)] pub struct IWiFiDirectServiceRemotePortAddedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -116,7 +116,7 @@ pub struct IWiFiDirectServiceRemotePortAddedEventArgs_Vtbl { EndpointPairs: usize, pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WiFiDirectServiceIPProtocol) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiDirectServiceSession, IWiFiDirectServiceSession_Vtbl, 0x81142163_e426_47cb_8640_e1b3588bf26f); +windows_core::imp::define_interface!(IWiFiDirectServiceSession, IWiFiDirectServiceSession_Vtbl, 0x81142163_e426_47cb_8640_e1b3588bf26f); #[repr(C)] pub struct IWiFiDirectServiceSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -144,7 +144,7 @@ pub struct IWiFiDirectServiceSession_Vtbl { pub RemotePortAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRemotePortAdded: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiDirectServiceSessionDeferredEventArgs, IWiFiDirectServiceSessionDeferredEventArgs_Vtbl, 0x8dfc197f_1201_4f1f_b6f4_5df1b7b9fb2e); +windows_core::imp::define_interface!(IWiFiDirectServiceSessionDeferredEventArgs, IWiFiDirectServiceSessionDeferredEventArgs_Vtbl, 0x8dfc197f_1201_4f1f_b6f4_5df1b7b9fb2e); #[repr(C)] pub struct IWiFiDirectServiceSessionDeferredEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -153,7 +153,7 @@ pub struct IWiFiDirectServiceSessionDeferredEventArgs_Vtbl { #[cfg(not(feature = "Storage_Streams"))] DeferredSessionInfo: usize, } -windows_core::imp::com_interface!(IWiFiDirectServiceSessionRequest, IWiFiDirectServiceSessionRequest_Vtbl, 0xa0e27c8b_50cb_4a58_9bcf_e472b99fba04); +windows_core::imp::define_interface!(IWiFiDirectServiceSessionRequest, IWiFiDirectServiceSessionRequest_Vtbl, 0xa0e27c8b_50cb_4a58_9bcf_e472b99fba04); #[repr(C)] pub struct IWiFiDirectServiceSessionRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -167,13 +167,13 @@ pub struct IWiFiDirectServiceSessionRequest_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SessionInfo: usize, } -windows_core::imp::com_interface!(IWiFiDirectServiceSessionRequestedEventArgs, IWiFiDirectServiceSessionRequestedEventArgs_Vtbl, 0x74bdcc11_53d6_4999_b4f8_6c8ecc1771e7); +windows_core::imp::define_interface!(IWiFiDirectServiceSessionRequestedEventArgs, IWiFiDirectServiceSessionRequestedEventArgs_Vtbl, 0x74bdcc11_53d6_4999_b4f8_6c8ecc1771e7); #[repr(C)] pub struct IWiFiDirectServiceSessionRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetSessionRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiDirectServiceStatics, IWiFiDirectServiceStatics_Vtbl, 0x7db40045_fd74_4688_b725_5dce86acf233); +windows_core::imp::define_interface!(IWiFiDirectServiceStatics, IWiFiDirectServiceStatics_Vtbl, 0x7db40045_fd74_4688_b725_5dce86acf233); #[repr(C)] pub struct IWiFiDirectServiceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs index b2c0b152cc..4047fc3737 100644 --- a/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/WiFiDirect/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Devices_WiFiDirect_Services")] pub mod Services; -windows_core::imp::com_interface!(IWiFiDirectAdvertisement, IWiFiDirectAdvertisement_Vtbl, 0xab511a2d_2a06_49a1_a584_61435c7905a6); +windows_core::imp::define_interface!(IWiFiDirectAdvertisement, IWiFiDirectAdvertisement_Vtbl, 0xab511a2d_2a06_49a1_a584_61435c7905a6); #[repr(C)] pub struct IWiFiDirectAdvertisement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,7 +18,7 @@ pub struct IWiFiDirectAdvertisement_Vtbl { pub SetIsAutonomousGroupOwnerEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub LegacySettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiDirectAdvertisement2, IWiFiDirectAdvertisement2_Vtbl, 0xb759aa46_d816_491b_917a_b40d7dc403a2); +windows_core::imp::define_interface!(IWiFiDirectAdvertisement2, IWiFiDirectAdvertisement2_Vtbl, 0xb759aa46_d816_491b_917a_b40d7dc403a2); #[repr(C)] pub struct IWiFiDirectAdvertisement2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,7 +27,7 @@ pub struct IWiFiDirectAdvertisement2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedConfigurationMethods: usize, } -windows_core::imp::com_interface!(IWiFiDirectAdvertisementPublisher, IWiFiDirectAdvertisementPublisher_Vtbl, 0xb35a2d1a_9b1f_45d9_925a_694d66df68ef); +windows_core::imp::define_interface!(IWiFiDirectAdvertisementPublisher, IWiFiDirectAdvertisementPublisher_Vtbl, 0xb35a2d1a_9b1f_45d9_925a_694d66df68ef); #[repr(C)] pub struct IWiFiDirectAdvertisementPublisher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,28 +38,28 @@ pub struct IWiFiDirectAdvertisementPublisher_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IWiFiDirectAdvertisementPublisherStatusChangedEventArgs, IWiFiDirectAdvertisementPublisherStatusChangedEventArgs_Vtbl, 0xaafde53c_5481_46e6_90dd_32116518f192); +windows_core::imp::define_interface!(IWiFiDirectAdvertisementPublisherStatusChangedEventArgs, IWiFiDirectAdvertisementPublisherStatusChangedEventArgs_Vtbl, 0xaafde53c_5481_46e6_90dd_32116518f192); #[repr(C)] pub struct IWiFiDirectAdvertisementPublisherStatusChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WiFiDirectAdvertisementPublisherStatus) -> windows_core::HRESULT, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WiFiDirectError) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiDirectConnectionListener, IWiFiDirectConnectionListener_Vtbl, 0x699c1b0d_8d13_4ee9_b9ec_9c72f8251f7d); +windows_core::imp::define_interface!(IWiFiDirectConnectionListener, IWiFiDirectConnectionListener_Vtbl, 0x699c1b0d_8d13_4ee9_b9ec_9c72f8251f7d); #[repr(C)] pub struct IWiFiDirectConnectionListener_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ConnectionRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveConnectionRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiDirectConnectionParameters, IWiFiDirectConnectionParameters_Vtbl, 0xb2e55405_5702_4b16_a02c_bbcd21ef6098); +windows_core::imp::define_interface!(IWiFiDirectConnectionParameters, IWiFiDirectConnectionParameters_Vtbl, 0xb2e55405_5702_4b16_a02c_bbcd21ef6098); #[repr(C)] pub struct IWiFiDirectConnectionParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GroupOwnerIntent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, pub SetGroupOwnerIntent: unsafe extern "system" fn(*mut core::ffi::c_void, i16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiDirectConnectionParameters2, IWiFiDirectConnectionParameters2_Vtbl, 0xab3b0fbe_aa82_44b4_88c8_e3056b89801d); +windows_core::imp::define_interface!(IWiFiDirectConnectionParameters2, IWiFiDirectConnectionParameters2_Vtbl, 0xab3b0fbe_aa82_44b4_88c8_e3056b89801d); #[repr(C)] pub struct IWiFiDirectConnectionParameters2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,7 +70,7 @@ pub struct IWiFiDirectConnectionParameters2_Vtbl { pub PreferredPairingProcedure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WiFiDirectPairingProcedure) -> windows_core::HRESULT, pub SetPreferredPairingProcedure: unsafe extern "system" fn(*mut core::ffi::c_void, WiFiDirectPairingProcedure) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiDirectConnectionParametersStatics, IWiFiDirectConnectionParametersStatics_Vtbl, 0x598af493_7642_456f_b9d8_e8a9eb1f401a); +windows_core::imp::define_interface!(IWiFiDirectConnectionParametersStatics, IWiFiDirectConnectionParametersStatics_Vtbl, 0x598af493_7642_456f_b9d8_e8a9eb1f401a); #[repr(C)] pub struct IWiFiDirectConnectionParametersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -79,7 +79,7 @@ pub struct IWiFiDirectConnectionParametersStatics_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] GetDevicePairingKinds: usize, } -windows_core::imp::com_interface!(IWiFiDirectConnectionRequest, IWiFiDirectConnectionRequest_Vtbl, 0x8eb99605_914f_49c3_a614_d18dc5b19b43); +windows_core::imp::define_interface!(IWiFiDirectConnectionRequest, IWiFiDirectConnectionRequest_Vtbl, 0x8eb99605_914f_49c3_a614_d18dc5b19b43); #[repr(C)] pub struct IWiFiDirectConnectionRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,13 +88,13 @@ pub struct IWiFiDirectConnectionRequest_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] DeviceInformation: usize, } -windows_core::imp::com_interface!(IWiFiDirectConnectionRequestedEventArgs, IWiFiDirectConnectionRequestedEventArgs_Vtbl, 0xf99d20be_d38d_484f_8215_e7b65abf244c); +windows_core::imp::define_interface!(IWiFiDirectConnectionRequestedEventArgs, IWiFiDirectConnectionRequestedEventArgs_Vtbl, 0xf99d20be_d38d_484f_8215_e7b65abf244c); #[repr(C)] pub struct IWiFiDirectConnectionRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetConnectionRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiFiDirectDevice, IWiFiDirectDevice_Vtbl, 0x72deaaa8_72eb_4dae_8a28_8513355d2777); +windows_core::imp::define_interface!(IWiFiDirectDevice, IWiFiDirectDevice_Vtbl, 0x72deaaa8_72eb_4dae_8a28_8513355d2777); #[repr(C)] pub struct IWiFiDirectDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -107,21 +107,21 @@ pub struct IWiFiDirectDevice_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Networking")))] GetConnectionEndpointPairs: usize, } -windows_core::imp::com_interface!(IWiFiDirectDeviceStatics, IWiFiDirectDeviceStatics_Vtbl, 0xe86cb57c_3aac_4851_a792_482aaf931b04); +windows_core::imp::define_interface!(IWiFiDirectDeviceStatics, IWiFiDirectDeviceStatics_Vtbl, 0xe86cb57c_3aac_4851_a792_482aaf931b04); #[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, } -windows_core::imp::com_interface!(IWiFiDirectDeviceStatics2, IWiFiDirectDeviceStatics2_Vtbl, 0x1a953e49_b103_437e_9226_ab67971342f9); +windows_core::imp::define_interface!(IWiFiDirectDeviceStatics2, IWiFiDirectDeviceStatics2_Vtbl, 0x1a953e49_b103_437e_9226_ab67971342f9); #[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, } -windows_core::imp::com_interface!(IWiFiDirectInformationElement, IWiFiDirectInformationElement_Vtbl, 0xaffb72d6_76bb_497e_ac8b_dc72838bc309); +windows_core::imp::define_interface!(IWiFiDirectInformationElement, IWiFiDirectInformationElement_Vtbl, 0xaffb72d6_76bb_497e_ac8b_dc72838bc309); #[repr(C)] pub struct IWiFiDirectInformationElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -144,7 +144,7 @@ pub struct IWiFiDirectInformationElement_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SetValue: usize, } -windows_core::imp::com_interface!(IWiFiDirectInformationElementStatics, IWiFiDirectInformationElementStatics_Vtbl, 0xdbd02f16_11a5_4e60_8caa_34772148378a); +windows_core::imp::define_interface!(IWiFiDirectInformationElementStatics, IWiFiDirectInformationElementStatics_Vtbl, 0xdbd02f16_11a5_4e60_8caa_34772148378a); #[repr(C)] pub struct IWiFiDirectInformationElementStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -157,7 +157,7 @@ pub struct IWiFiDirectInformationElementStatics_Vtbl { #[cfg(not(all(feature = "Devices_Enumeration", feature = "Foundation_Collections")))] CreateFromDeviceInformation: usize, } -windows_core::imp::com_interface!(IWiFiDirectLegacySettings, IWiFiDirectLegacySettings_Vtbl, 0xa64fdbba_f2fd_4567_a91b_f5c2f5321057); +windows_core::imp::define_interface!(IWiFiDirectLegacySettings, IWiFiDirectLegacySettings_Vtbl, 0xa64fdbba_f2fd_4567_a91b_f5c2f5321057); #[repr(C)] pub struct IWiFiDirectLegacySettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Devices/mod.rs b/crates/libs/windows/src/Windows/Devices/mod.rs index 883e86df29..af3324c93e 100644 --- a/crates/libs/windows/src/Windows/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/mod.rs @@ -56,7 +56,7 @@ pub mod Usb; pub mod WiFi; #[cfg(feature = "Devices_WiFiDirect")] pub mod WiFiDirect; -windows_core::imp::com_interface!(ILowLevelDevicesAggregateProvider, ILowLevelDevicesAggregateProvider_Vtbl, 0xa73e561c_aac1_4ec7_a852_479f7060d01f); +windows_core::imp::define_interface!(ILowLevelDevicesAggregateProvider, ILowLevelDevicesAggregateProvider_Vtbl, 0xa73e561c_aac1_4ec7_a852_479f7060d01f); windows_core::imp::interface_hierarchy!(ILowLevelDevicesAggregateProvider, windows_core::IUnknown, windows_core::IInspectable); impl ILowLevelDevicesAggregateProvider { #[cfg(feature = "Devices_Adc_Provider")] @@ -127,7 +127,7 @@ pub struct ILowLevelDevicesAggregateProvider_Vtbl { #[cfg(not(feature = "Devices_Spi_Provider"))] SpiControllerProvider: usize, } -windows_core::imp::com_interface!(ILowLevelDevicesAggregateProviderFactory, ILowLevelDevicesAggregateProviderFactory_Vtbl, 0x9ac4aaf6_3473_465e_96d5_36281a2c57af); +windows_core::imp::define_interface!(ILowLevelDevicesAggregateProviderFactory, ILowLevelDevicesAggregateProviderFactory_Vtbl, 0x9ac4aaf6_3473_465e_96d5_36281a2c57af); #[repr(C)] pub struct ILowLevelDevicesAggregateProviderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -136,12 +136,12 @@ pub struct ILowLevelDevicesAggregateProviderFactory_Vtbl { #[cfg(not(all(feature = "Devices_Adc_Provider", feature = "Devices_Gpio_Provider", feature = "Devices_I2c_Provider", feature = "Devices_Pwm_Provider", feature = "Devices_Spi_Provider")))] Create: usize, } -windows_core::imp::com_interface!(ILowLevelDevicesController, ILowLevelDevicesController_Vtbl, 0x2ec23dd4_179b_45de_9b39_3ae02527de52); +windows_core::imp::define_interface!(ILowLevelDevicesController, ILowLevelDevicesController_Vtbl, 0x2ec23dd4_179b_45de_9b39_3ae02527de52); #[repr(C)] pub struct ILowLevelDevicesController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ILowLevelDevicesControllerStatics, ILowLevelDevicesControllerStatics_Vtbl, 0x093e926a_fccb_4394_a697_19de637c2db3); +windows_core::imp::define_interface!(ILowLevelDevicesControllerStatics, ILowLevelDevicesControllerStatics_Vtbl, 0x093e926a_fccb_4394_a697_19de637c2db3); #[repr(C)] pub struct ILowLevelDevicesControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs b/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs index 40596540ad..bf5138a8e0 100644 --- a/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs +++ b/crates/libs/windows/src/Windows/Embedded/DeviceLockdown/mod.rs @@ -1,10 +1,10 @@ -windows_core::imp::com_interface!(IDeviceLockdownProfileInformation, IDeviceLockdownProfileInformation_Vtbl, 0x7980e14e_45b1_4a96_92fc_62756b739678); +windows_core::imp::define_interface!(IDeviceLockdownProfileInformation, IDeviceLockdownProfileInformation_Vtbl, 0x7980e14e_45b1_4a96_92fc_62756b739678); #[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, } -windows_core::imp::com_interface!(IDeviceLockdownProfileStatics, IDeviceLockdownProfileStatics_Vtbl, 0x622f6965_f9a8_41a1_a691_88cd80c7a069); +windows_core::imp::define_interface!(IDeviceLockdownProfileStatics, IDeviceLockdownProfileStatics_Vtbl, 0x622f6965_f9a8_41a1_a691_88cd80c7a069); #[repr(C)] pub struct IDeviceLockdownProfileStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs index ef8574e681..5215ebc795 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs @@ -661,7 +661,7 @@ where pub RemoveVectorChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::EventRegistrationToken) -> windows_core::HRESULT, pub T: core::marker::PhantomData, } -windows_core::imp::com_interface!(IPropertySet, IPropertySet_Vtbl, 0x8a43ed9f_f4e6_4421_acf9_1dab2986820c); +windows_core::imp::define_interface!(IPropertySet, IPropertySet_Vtbl, 0x8a43ed9f_f4e6_4421_acf9_1dab2986820c); windows_core::imp::interface_hierarchy!(IPropertySet, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPropertySet, IIterable < IKeyValuePair < windows_core::HSTRING , windows_core::IInspectable > >, IMap < windows_core::HSTRING , windows_core::IInspectable >, IObservableMap < windows_core::HSTRING , windows_core::IInspectable >); impl IPropertySet { @@ -907,7 +907,7 @@ where pub ReplaceAll: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::AbiType) -> windows_core::HRESULT, pub T: core::marker::PhantomData, } -windows_core::imp::com_interface!(IVectorChangedEventArgs, IVectorChangedEventArgs_Vtbl, 0x575933df_34fe_4480_af15_07691f3d5d9b); +windows_core::imp::define_interface!(IVectorChangedEventArgs, IVectorChangedEventArgs_Vtbl, 0x575933df_34fe_4480_af15_07691f3d5d9b); windows_core::imp::interface_hierarchy!(IVectorChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable); impl IVectorChangedEventArgs { pub fn CollectionChange(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs index fce6b9b7db..791bdb9cd2 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAsyncCausalityTracerStatics, IAsyncCausalityTracerStatics_Vtbl, 0x50850b26_267e_451b_a890_ab6a370245ee); +windows_core::imp::define_interface!(IAsyncCausalityTracerStatics, IAsyncCausalityTracerStatics_Vtbl, 0x50850b26_267e_451b_a890_ab6a370245ee); #[repr(C)] pub struct IAsyncCausalityTracerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -10,7 +10,7 @@ pub struct IAsyncCausalityTracerStatics_Vtbl { pub TracingStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveTracingStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IErrorDetails, IErrorDetails_Vtbl, 0x378cbb01_2cc9_428f_8c55_2c990d463e8f); +windows_core::imp::define_interface!(IErrorDetails, IErrorDetails_Vtbl, 0x378cbb01_2cc9_428f_8c55_2c990d463e8f); #[repr(C)] pub struct IErrorDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,13 +18,13 @@ pub struct IErrorDetails_Vtbl { pub LongDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IErrorDetailsStatics, IErrorDetailsStatics_Vtbl, 0xb7703750_0b1d_46c8_aa0e_4b8178e4fce9); +windows_core::imp::define_interface!(IErrorDetailsStatics, IErrorDetailsStatics_Vtbl, 0xb7703750_0b1d_46c8_aa0e_4b8178e4fce9); #[repr(C)] pub struct IErrorDetailsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFromHResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IErrorReportingSettings, IErrorReportingSettings_Vtbl, 0x16369792_b03e_4ba1_8bb8_d28f4ab4d2c0); +windows_core::imp::define_interface!(IErrorReportingSettings, IErrorReportingSettings_Vtbl, 0x16369792_b03e_4ba1_8bb8_d28f4ab4d2c0); windows_core::imp::interface_hierarchy!(IErrorReportingSettings, windows_core::IUnknown, windows_core::IInspectable); impl IErrorReportingSettings { pub fn SetErrorOptions(&self, value: ErrorOptions) -> windows_core::Result<()> { @@ -48,7 +48,7 @@ pub struct IErrorReportingSettings_Vtbl { pub SetErrorOptions: unsafe extern "system" fn(*mut core::ffi::c_void, ErrorOptions) -> windows_core::HRESULT, pub GetErrorOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ErrorOptions) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileLoggingSession, IFileLoggingSession_Vtbl, 0x24c74216_fed2_404c_895f_1f9699cb02f7); +windows_core::imp::define_interface!(IFileLoggingSession, IFileLoggingSession_Vtbl, 0x24c74216_fed2_404c_895f_1f9699cb02f7); windows_core::imp::interface_hierarchy!(IFileLoggingSession, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IFileLoggingSession, super::IClosable); impl IFileLoggingSession { @@ -124,13 +124,13 @@ pub struct IFileLoggingSession_Vtbl { pub LogFileGenerated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveLogFileGenerated: unsafe extern "system" fn(*mut core::ffi::c_void, super::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileLoggingSessionFactory, IFileLoggingSessionFactory_Vtbl, 0xeea08dce_8447_4daa_9133_12eb46f697d4); +windows_core::imp::define_interface!(IFileLoggingSessionFactory, IFileLoggingSessionFactory_Vtbl, 0xeea08dce_8447_4daa_9133_12eb46f697d4); #[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, } -windows_core::imp::com_interface!(ILogFileGeneratedEventArgs, ILogFileGeneratedEventArgs_Vtbl, 0x269e976f_0d38_4c1a_b53f_b395d881df84); +windows_core::imp::define_interface!(ILogFileGeneratedEventArgs, ILogFileGeneratedEventArgs_Vtbl, 0x269e976f_0d38_4c1a_b53f_b395d881df84); #[repr(C)] pub struct ILogFileGeneratedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -139,14 +139,14 @@ pub struct ILogFileGeneratedEventArgs_Vtbl { #[cfg(not(feature = "Storage"))] File: usize, } -windows_core::imp::com_interface!(ILoggingActivity, ILoggingActivity_Vtbl, 0xbc032941_b766_4cb5_9848_97ac6ba6d60c); +windows_core::imp::define_interface!(ILoggingActivity, ILoggingActivity_Vtbl, 0xbc032941_b766_4cb5_9848_97ac6ba6d60c); #[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 Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILoggingActivity2, ILoggingActivity2_Vtbl, 0x26c29808_6322_456a_af82_80c8642f178b); +windows_core::imp::define_interface!(ILoggingActivity2, ILoggingActivity2_Vtbl, 0x26c29808_6322_456a_af82_80c8642f178b); #[repr(C)] pub struct ILoggingActivity2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -155,14 +155,14 @@ pub struct ILoggingActivity2_Vtbl { 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, } -windows_core::imp::com_interface!(ILoggingActivityFactory, ILoggingActivityFactory_Vtbl, 0x6b33b483_e10a_4c58_97d5_10fb451074fb); +windows_core::imp::define_interface!(ILoggingActivityFactory, ILoggingActivityFactory_Vtbl, 0x6b33b483_e10a_4c58_97d5_10fb451074fb); #[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, } -windows_core::imp::com_interface!(ILoggingChannel, ILoggingChannel_Vtbl, 0xe9a50343_11d7_4f01_b5ca_cf495278c0a8); +windows_core::imp::define_interface!(ILoggingChannel, ILoggingChannel_Vtbl, 0xe9a50343_11d7_4f01_b5ca_cf495278c0a8); windows_core::imp::interface_hierarchy!(ILoggingChannel, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ILoggingChannel, super::IClosable); impl ILoggingChannel { @@ -238,13 +238,13 @@ pub struct ILoggingChannel_Vtbl { 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, } -windows_core::imp::com_interface!(ILoggingChannel2, ILoggingChannel2_Vtbl, 0x9f4c3cf3_0bac_45a5_9e33_baf3f3a246a5); +windows_core::imp::define_interface!(ILoggingChannel2, ILoggingChannel2_Vtbl, 0x9f4c3cf3_0bac_45a5_9e33_baf3f3a246a5); #[repr(C)] pub struct ILoggingChannel2_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, } -windows_core::imp::com_interface!(ILoggingChannelFactory, ILoggingChannelFactory_Vtbl, 0x4edc5b9c_af80_4a9b_b0dc_398f9ae5207b); +windows_core::imp::define_interface!(ILoggingChannelFactory, ILoggingChannelFactory_Vtbl, 0x4edc5b9c_af80_4a9b_b0dc_398f9ae5207b); #[repr(C)] pub struct ILoggingChannelFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -253,27 +253,27 @@ pub struct ILoggingChannelFactory_Vtbl { #[cfg(not(feature = "deprecated"))] Create: usize, } -windows_core::imp::com_interface!(ILoggingChannelFactory2, ILoggingChannelFactory2_Vtbl, 0x4c6ef5dd_3b27_4dc9_99f0_299c6e4603a1); +windows_core::imp::define_interface!(ILoggingChannelFactory2, ILoggingChannelFactory2_Vtbl, 0x4c6ef5dd_3b27_4dc9_99f0_299c6e4603a1); #[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, } -windows_core::imp::com_interface!(ILoggingChannelOptions, ILoggingChannelOptions_Vtbl, 0xc3e847ff_0ebb_4a53_8c54_dec24926cb2c); +windows_core::imp::define_interface!(ILoggingChannelOptions, ILoggingChannelOptions_Vtbl, 0xc3e847ff_0ebb_4a53_8c54_dec24926cb2c); #[repr(C)] pub struct ILoggingChannelOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Group: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub SetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILoggingChannelOptionsFactory, ILoggingChannelOptionsFactory_Vtbl, 0xa93151da_7faf_4191_8755_5e86dc65d896); +windows_core::imp::define_interface!(ILoggingChannelOptionsFactory, ILoggingChannelOptionsFactory_Vtbl, 0xa93151da_7faf_4191_8755_5e86dc65d896); #[repr(C)] pub struct ILoggingChannelOptionsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILoggingFields, ILoggingFields_Vtbl, 0xd7f6b7af_762d_4579_83bd_52c23bc333bc); +windows_core::imp::define_interface!(ILoggingFields, ILoggingFields_Vtbl, 0xd7f6b7af_762d_4579_83bd_52c23bc333bc); #[repr(C)] pub struct ILoggingFields_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -393,7 +393,7 @@ pub struct ILoggingFields_Vtbl { 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, } -windows_core::imp::com_interface!(ILoggingOptions, ILoggingOptions_Vtbl, 0x90bc7850_0192_4f5d_ac26_006adaca12d8); +windows_core::imp::define_interface!(ILoggingOptions, ILoggingOptions_Vtbl, 0x90bc7850_0192_4f5d_ac26_006adaca12d8); #[repr(C)] pub struct ILoggingOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -410,13 +410,13 @@ pub struct ILoggingOptions_Vtbl { pub RelatedActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub SetRelatedActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILoggingOptionsFactory, ILoggingOptionsFactory_Vtbl, 0xd713c6cb_98ab_464b_9f22_a3268478368a); +windows_core::imp::define_interface!(ILoggingOptionsFactory, ILoggingOptionsFactory_Vtbl, 0xd713c6cb_98ab_464b_9f22_a3268478368a); #[repr(C)] pub struct ILoggingOptionsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateWithKeywords: unsafe extern "system" fn(*mut core::ffi::c_void, i64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILoggingSession, ILoggingSession_Vtbl, 0x6221f306_9380_4ad7_baf5_41ea9310d768); +windows_core::imp::define_interface!(ILoggingSession, ILoggingSession_Vtbl, 0x6221f306_9380_4ad7_baf5_41ea9310d768); windows_core::imp::interface_hierarchy!(ILoggingSession, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ILoggingSession, super::IClosable); impl ILoggingSession { @@ -479,13 +479,13 @@ pub struct ILoggingSession_Vtbl { 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, } -windows_core::imp::com_interface!(ILoggingSessionFactory, ILoggingSessionFactory_Vtbl, 0x4e937ee5_58fd_45e0_8c2f_a132eff95c1e); +windows_core::imp::define_interface!(ILoggingSessionFactory, ILoggingSessionFactory_Vtbl, 0x4e937ee5_58fd_45e0_8c2f_a132eff95c1e); #[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, } -windows_core::imp::com_interface!(ILoggingTarget, ILoggingTarget_Vtbl, 0x65f16c35_e388_4e26_b17a_f51cd3a83916); +windows_core::imp::define_interface!(ILoggingTarget, ILoggingTarget_Vtbl, 0x65f16c35_e388_4e26_b17a_f51cd3a83916); windows_core::imp::interface_hierarchy!(ILoggingTarget, windows_core::IUnknown, windows_core::IInspectable); impl ILoggingTarget { pub fn IsEnabled(&self) -> windows_core::Result { @@ -592,7 +592,7 @@ pub struct ILoggingTarget_Vtbl { 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, } -windows_core::imp::com_interface!(ITracingStatusChangedEventArgs, ITracingStatusChangedEventArgs_Vtbl, 0x410b7711_ff3b_477f_9c9a_d2efda302dc3); +windows_core::imp::define_interface!(ITracingStatusChangedEventArgs, ITracingStatusChangedEventArgs_Vtbl, 0x410b7711_ff3b_477f_9c9a_d2efda302dc3); #[repr(C)] pub struct ITracingStatusChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs index 289a8e9161..d1575ffdc4 100644 --- a/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Metadata/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IApiInformationStatics, IApiInformationStatics_Vtbl, 0x997439fe_f681_4a11_b416_c13a47e8ba36); +windows_core::imp::define_interface!(IApiInformationStatics, IApiInformationStatics_Vtbl, 0x997439fe_f681_4a11_b416_c13a47e8ba36); #[repr(C)] pub struct IApiInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Foundation/mod.rs b/crates/libs/windows/src/Windows/Foundation/mod.rs index 667a2a34e0..39ed45553a 100644 --- a/crates/libs/windows/src/Windows/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/mod.rs @@ -6,7 +6,7 @@ pub mod Diagnostics; pub mod Metadata; #[cfg(feature = "Foundation_Numerics")] pub mod Numerics; -windows_core::imp::com_interface!(IAsyncAction, IAsyncAction_Vtbl, 0x5a648006_843a_4da9_865b_9d26e5dfad7b); +windows_core::imp::define_interface!(IAsyncAction, IAsyncAction_Vtbl, 0x5a648006_843a_4da9_865b_9d26e5dfad7b); windows_core::imp::interface_hierarchy!(IAsyncAction, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IAsyncAction, IAsyncInfo); impl IAsyncAction { @@ -223,7 +223,7 @@ where pub GetResults: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub TProgress: core::marker::PhantomData, } -windows_core::imp::com_interface!(IAsyncInfo, IAsyncInfo_Vtbl, 0x00000036_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IAsyncInfo, IAsyncInfo_Vtbl, 0x00000036_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IAsyncInfo, windows_core::IUnknown, windows_core::IInspectable); impl IAsyncInfo { pub fn Id(&self) -> windows_core::Result { @@ -509,7 +509,7 @@ where pub TResult: core::marker::PhantomData, pub TProgress: core::marker::PhantomData, } -windows_core::imp::com_interface!(IClosable, IClosable_Vtbl, 0x30d5a829_7fa4_4026_83bb_d75bae4ea99e); +windows_core::imp::define_interface!(IClosable, IClosable_Vtbl, 0x30d5a829_7fa4_4026_83bb_d75bae4ea99e); windows_core::imp::interface_hierarchy!(IClosable, windows_core::IUnknown, windows_core::IInspectable); impl IClosable { pub fn Close(&self) -> windows_core::Result<()> { @@ -525,19 +525,19 @@ pub struct IClosable_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeferral, IDeferral_Vtbl, 0xd6269732_3b7f_46a7_b40b_4fdca2a2c693); +windows_core::imp::define_interface!(IDeferral, IDeferral_Vtbl, 0xd6269732_3b7f_46a7_b40b_4fdca2a2c693); #[repr(C)] pub struct IDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeferralFactory, IDeferralFactory_Vtbl, 0x65a1ecc5_3fb5_4832_8ca9_f061b281d13a); +windows_core::imp::define_interface!(IDeferralFactory, IDeferralFactory_Vtbl, 0x65a1ecc5_3fb5_4832_8ca9_f061b281d13a); #[repr(C)] pub struct IDeferralFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetActivationFactory, IGetActivationFactory_Vtbl, 0x4edb8ee2_96dd_49a7_94f7_4607ddab8e3c); +windows_core::imp::define_interface!(IGetActivationFactory, IGetActivationFactory_Vtbl, 0x4edb8ee2_96dd_49a7_94f7_4607ddab8e3c); windows_core::imp::interface_hierarchy!(IGetActivationFactory, windows_core::IUnknown, windows_core::IInspectable); impl IGetActivationFactory { pub fn GetActivationFactory(&self, activatableclassid: &windows_core::HSTRING) -> windows_core::Result { @@ -556,7 +556,7 @@ 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, } -windows_core::imp::com_interface!(IGuidHelperStatics, IGuidHelperStatics_Vtbl, 0x59c7966b_ae52_5283_ad7f_a1b9e9678add); +windows_core::imp::define_interface!(IGuidHelperStatics, IGuidHelperStatics_Vtbl, 0x59c7966b_ae52_5283_ad7f_a1b9e9678add); #[repr(C)] pub struct IGuidHelperStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -564,7 +564,7 @@ pub struct IGuidHelperStatics_Vtbl { pub Empty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Equals: unsafe extern "system" fn(*mut core::ffi::c_void, &windows_core::GUID, &windows_core::GUID, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMemoryBuffer, IMemoryBuffer_Vtbl, 0xfbc4dd2a_245b_11e4_af98_689423260cf8); +windows_core::imp::define_interface!(IMemoryBuffer, IMemoryBuffer_Vtbl, 0xfbc4dd2a_245b_11e4_af98_689423260cf8); windows_core::imp::interface_hierarchy!(IMemoryBuffer, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IMemoryBuffer, IClosable); impl IMemoryBuffer { @@ -588,13 +588,13 @@ pub struct IMemoryBuffer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMemoryBufferFactory, IMemoryBufferFactory_Vtbl, 0xfbc4dd2b_245b_11e4_af98_689423260cf8); +windows_core::imp::define_interface!(IMemoryBufferFactory, IMemoryBufferFactory_Vtbl, 0xfbc4dd2b_245b_11e4_af98_689423260cf8); #[repr(C)] pub struct IMemoryBufferFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMemoryBufferReference, IMemoryBufferReference_Vtbl, 0xfbc4dd29_245b_11e4_af98_689423260cf8); +windows_core::imp::define_interface!(IMemoryBufferReference, IMemoryBufferReference_Vtbl, 0xfbc4dd29_245b_11e4_af98_689423260cf8); windows_core::imp::interface_hierarchy!(IMemoryBufferReference, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IMemoryBufferReference, IClosable); impl IMemoryBufferReference { @@ -634,7 +634,7 @@ pub struct IMemoryBufferReference_Vtbl { pub Closed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut EventRegistrationToken) -> windows_core::HRESULT, pub RemoveClosed: unsafe extern "system" fn(*mut core::ffi::c_void, EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyValue, IPropertyValue_Vtbl, 0x4bd682dd_7554_40e9_9a9b_82654ede7e62); +windows_core::imp::define_interface!(IPropertyValue, IPropertyValue_Vtbl, 0x4bd682dd_7554_40e9_9a9b_82654ede7e62); windows_core::imp::interface_hierarchy!(IPropertyValue, windows_core::IUnknown, windows_core::IInspectable); impl IPropertyValue { pub fn Type(&self) -> windows_core::Result { @@ -900,7 +900,7 @@ pub struct IPropertyValue_Vtbl { pub GetSizeArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut Size) -> windows_core::HRESULT, pub GetRectArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyValueStatics, IPropertyValueStatics_Vtbl, 0x629bdbc8_d932_4ff4_96b9_8d96c5c1e858); +windows_core::imp::define_interface!(IPropertyValueStatics, IPropertyValueStatics_Vtbl, 0x629bdbc8_d932_4ff4_96b9_8d96c5c1e858); #[repr(C)] pub struct IPropertyValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1446,7 +1446,7 @@ where pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::AbiType) -> windows_core::HRESULT, pub T: core::marker::PhantomData, } -windows_core::imp::com_interface!(IStringable, IStringable_Vtbl, 0x96369f54_8eb6_48f0_abce_c1b211e627c3); +windows_core::imp::define_interface!(IStringable, IStringable_Vtbl, 0x96369f54_8eb6_48f0_abce_c1b211e627c3); windows_core::imp::interface_hierarchy!(IStringable, windows_core::IUnknown, windows_core::IInspectable); impl IStringable { pub fn ToString(&self) -> windows_core::Result { @@ -1465,14 +1465,14 @@ 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, } -windows_core::imp::com_interface!(IUriEscapeStatics, IUriEscapeStatics_Vtbl, 0xc1d432ba_c824_4452_a7fd_512bc3bbe9a1); +windows_core::imp::define_interface!(IUriEscapeStatics, IUriEscapeStatics_Vtbl, 0xc1d432ba_c824_4452_a7fd_512bc3bbe9a1); #[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, } -windows_core::imp::com_interface!(IUriRuntimeClass, IUriRuntimeClass_Vtbl, 0x9e365e57_48b2_4160_956f_c7385120bbfc); +windows_core::imp::define_interface!(IUriRuntimeClass, IUriRuntimeClass_Vtbl, 0x9e365e57_48b2_4160_956f_c7385120bbfc); #[repr(C)] pub struct IUriRuntimeClass_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1494,21 +1494,21 @@ pub struct IUriRuntimeClass_Vtbl { 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, } -windows_core::imp::com_interface!(IUriRuntimeClassFactory, IUriRuntimeClassFactory_Vtbl, 0x44a9796f_723e_4fdf_a218_033e75b0c084); +windows_core::imp::define_interface!(IUriRuntimeClassFactory, IUriRuntimeClassFactory_Vtbl, 0x44a9796f_723e_4fdf_a218_033e75b0c084); #[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, } -windows_core::imp::com_interface!(IUriRuntimeClassWithAbsoluteCanonicalUri, IUriRuntimeClassWithAbsoluteCanonicalUri_Vtbl, 0x758d9661_221c_480f_a339_50656673f46f); +windows_core::imp::define_interface!(IUriRuntimeClassWithAbsoluteCanonicalUri, IUriRuntimeClassWithAbsoluteCanonicalUri_Vtbl, 0x758d9661_221c_480f_a339_50656673f46f); #[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, } -windows_core::imp::com_interface!(IWwwFormUrlDecoderEntry, IWwwFormUrlDecoderEntry_Vtbl, 0x125e7431_f678_4e8e_b670_20a9b06c512d); +windows_core::imp::define_interface!(IWwwFormUrlDecoderEntry, IWwwFormUrlDecoderEntry_Vtbl, 0x125e7431_f678_4e8e_b670_20a9b06c512d); windows_core::imp::interface_hierarchy!(IWwwFormUrlDecoderEntry, windows_core::IUnknown, windows_core::IInspectable); impl IWwwFormUrlDecoderEntry { pub fn Name(&self) -> windows_core::Result { @@ -1535,13 +1535,13 @@ pub struct IWwwFormUrlDecoderEntry_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, } -windows_core::imp::com_interface!(IWwwFormUrlDecoderRuntimeClass, IWwwFormUrlDecoderRuntimeClass_Vtbl, 0xd45a0451_f225_4542_9296_0e1df5d254df); +windows_core::imp::define_interface!(IWwwFormUrlDecoderRuntimeClass, IWwwFormUrlDecoderRuntimeClass_Vtbl, 0xd45a0451_f225_4542_9296_0e1df5d254df); #[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, } -windows_core::imp::com_interface!(IWwwFormUrlDecoderRuntimeClassFactory, IWwwFormUrlDecoderRuntimeClassFactory_Vtbl, 0x5b8c6b3d_24ae_41b5_a1bf_f0c3d544845b); +windows_core::imp::define_interface!(IWwwFormUrlDecoderRuntimeClassFactory, IWwwFormUrlDecoderRuntimeClassFactory_Vtbl, 0x5b8c6b3d_24ae_41b5_a1bf_f0c3d544845b); #[repr(C)] pub struct IWwwFormUrlDecoderRuntimeClassFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2506,7 +2506,7 @@ impl Default for TimeSpan { unsafe { core::mem::zeroed() } } } -windows_core::imp::com_interface!(AsyncActionCompletedHandler, AsyncActionCompletedHandler_Vtbl, 0xa4ed5c81_76c9_40bd_8be6_b1d90fb20ae7); +windows_core::imp::define_interface!(AsyncActionCompletedHandler, AsyncActionCompletedHandler_Vtbl, 0xa4ed5c81_76c9_40bd_8be6_b1d90fb20ae7); impl AsyncActionCompletedHandler { pub fn new, AsyncStatus) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = AsyncActionCompletedHandlerBox:: { vtable: &AsyncActionCompletedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -2973,7 +2973,7 @@ where pub TResult: core::marker::PhantomData, pub TProgress: core::marker::PhantomData, } -windows_core::imp::com_interface!(DeferralCompletedHandler, DeferralCompletedHandler_Vtbl, 0xed32a372_f3c8_4faa_9cfb_470148da3888); +windows_core::imp::define_interface!(DeferralCompletedHandler, DeferralCompletedHandler_Vtbl, 0xed32a372_f3c8_4faa_9cfb_470148da3888); impl DeferralCompletedHandler { pub fn new windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = DeferralCompletedHandlerBox:: { vtable: &DeferralCompletedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; 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 2eaf41a7b6..0f95eae207 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Custom/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICustomGameControllerFactory, ICustomGameControllerFactory_Vtbl, 0x69a0ae5e_758e_4cbe_ace6_62155fe9126f); +windows_core::imp::define_interface!(ICustomGameControllerFactory, ICustomGameControllerFactory_Vtbl, 0x69a0ae5e_758e_4cbe_ace6_62155fe9126f); windows_core::imp::interface_hierarchy!(ICustomGameControllerFactory, windows_core::IUnknown, windows_core::IInspectable); impl ICustomGameControllerFactory { pub fn CreateGameController(&self, provider: P0) -> windows_core::Result @@ -36,7 +36,7 @@ pub struct ICustomGameControllerFactory_Vtbl { pub OnGameControllerAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnGameControllerRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameControllerFactoryManagerStatics, IGameControllerFactoryManagerStatics_Vtbl, 0x36cb66e3_d0a1_4986_a24c_40b137deba9e); +windows_core::imp::define_interface!(IGameControllerFactoryManagerStatics, IGameControllerFactoryManagerStatics_Vtbl, 0x36cb66e3_d0a1_4986_a24c_40b137deba9e); #[repr(C)] pub struct IGameControllerFactoryManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,13 +44,13 @@ pub struct IGameControllerFactoryManagerStatics_Vtbl { pub RegisterCustomFactoryForHardwareId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u16, u16) -> windows_core::HRESULT, pub RegisterCustomFactoryForXusbType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, XusbDeviceType, XusbDeviceSubtype) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameControllerFactoryManagerStatics2, IGameControllerFactoryManagerStatics2_Vtbl, 0xeace5644_19df_4115_b32a_2793e2aea3bb); +windows_core::imp::define_interface!(IGameControllerFactoryManagerStatics2, IGameControllerFactoryManagerStatics2_Vtbl, 0xeace5644_19df_4115_b32a_2793e2aea3bb); #[repr(C)] pub struct IGameControllerFactoryManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryGetFactoryControllerFromGameController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameControllerInputSink, IGameControllerInputSink_Vtbl, 0x1ff6f922_c640_4c78_a820_9a715c558bcb); +windows_core::imp::define_interface!(IGameControllerInputSink, IGameControllerInputSink_Vtbl, 0x1ff6f922_c640_4c78_a820_9a715c558bcb); windows_core::imp::interface_hierarchy!(IGameControllerInputSink, windows_core::IUnknown, windows_core::IInspectable); impl IGameControllerInputSink { pub fn OnInputResumed(&self, timestamp: u64) -> windows_core::Result<()> { @@ -71,7 +71,7 @@ pub struct IGameControllerInputSink_Vtbl { pub OnInputResumed: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub OnInputSuspended: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameControllerProvider, IGameControllerProvider_Vtbl, 0xe6d73982_2996_4559_b16c_3e57d46e58d6); +windows_core::imp::define_interface!(IGameControllerProvider, IGameControllerProvider_Vtbl, 0xe6d73982_2996_4559_b16c_3e57d46e58d6); windows_core::imp::interface_hierarchy!(IGameControllerProvider, windows_core::IUnknown, windows_core::IInspectable); impl IGameControllerProvider { pub fn FirmwareVersionInfo(&self) -> windows_core::Result { @@ -122,7 +122,7 @@ pub struct IGameControllerProvider_Vtbl { pub HardwareVersionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GameControllerVersionInfo) -> windows_core::HRESULT, pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGipFirmwareUpdateResult, IGipFirmwareUpdateResult_Vtbl, 0x6b794d32_8553_4292_8e03_e16651a2f8bc); +windows_core::imp::define_interface!(IGipFirmwareUpdateResult, IGipFirmwareUpdateResult_Vtbl, 0x6b794d32_8553_4292_8e03_e16651a2f8bc); #[repr(C)] pub struct IGipFirmwareUpdateResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -130,7 +130,7 @@ pub struct IGipFirmwareUpdateResult_Vtbl { pub FinalComponentId: 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 GipFirmwareUpdateStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGipGameControllerInputSink, IGipGameControllerInputSink_Vtbl, 0xa2108abf_09f1_43bc_a140_80f899ec36fb); +windows_core::imp::define_interface!(IGipGameControllerInputSink, IGipGameControllerInputSink_Vtbl, 0xa2108abf_09f1_43bc_a140_80f899ec36fb); windows_core::imp::interface_hierarchy!(IGipGameControllerInputSink, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IGipGameControllerInputSink, IGameControllerInputSink); impl IGipGameControllerInputSink { @@ -160,7 +160,7 @@ pub struct IGipGameControllerInputSink_Vtbl { pub OnKeyReceived: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u8, bool) -> windows_core::HRESULT, pub OnMessageReceived: unsafe extern "system" fn(*mut core::ffi::c_void, u64, GipMessageClass, u8, u8, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGipGameControllerProvider, IGipGameControllerProvider_Vtbl, 0xdbcf1e19_1af5_45a8_bf02_a0ee50c823fc); +windows_core::imp::define_interface!(IGipGameControllerProvider, IGipGameControllerProvider_Vtbl, 0xdbcf1e19_1af5_45a8_bf02_a0ee50c823fc); #[repr(C)] pub struct IGipGameControllerProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -171,7 +171,7 @@ pub struct IGipGameControllerProvider_Vtbl { #[cfg(not(feature = "Storage_Streams"))] UpdateFirmwareAsync: usize, } -windows_core::imp::com_interface!(IHidGameControllerInputSink, IHidGameControllerInputSink_Vtbl, 0xf754c322_182d_40e4_a126_fcee4ffa1e31); +windows_core::imp::define_interface!(IHidGameControllerInputSink, IHidGameControllerInputSink_Vtbl, 0xf754c322_182d_40e4_a126_fcee4ffa1e31); windows_core::imp::interface_hierarchy!(IHidGameControllerInputSink, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IHidGameControllerInputSink, IGameControllerInputSink); impl IHidGameControllerInputSink { @@ -196,7 +196,7 @@ pub struct IHidGameControllerInputSink_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OnInputReportReceived: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u8, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHidGameControllerProvider, IHidGameControllerProvider_Vtbl, 0x95ce3af4_abf0_4b68_a081_3b7de73ff0e7); +windows_core::imp::define_interface!(IHidGameControllerProvider, IHidGameControllerProvider_Vtbl, 0x95ce3af4_abf0_4b68_a081_3b7de73ff0e7); #[repr(C)] pub struct IHidGameControllerProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -206,7 +206,7 @@ pub struct IHidGameControllerProvider_Vtbl { pub SendFeatureReport: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u32, *const u8) -> windows_core::HRESULT, pub SendOutputReport: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXusbGameControllerInputSink, IXusbGameControllerInputSink_Vtbl, 0xb2ac1d95_6ecb_42b3_8aab_025401ca4712); +windows_core::imp::define_interface!(IXusbGameControllerInputSink, IXusbGameControllerInputSink_Vtbl, 0xb2ac1d95_6ecb_42b3_8aab_025401ca4712); windows_core::imp::interface_hierarchy!(IXusbGameControllerInputSink, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IXusbGameControllerInputSink, IGameControllerInputSink); impl IXusbGameControllerInputSink { @@ -231,7 +231,7 @@ pub struct IXusbGameControllerInputSink_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OnInputReceived: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u8, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXusbGameControllerProvider, IXusbGameControllerProvider_Vtbl, 0x6e2971eb_0efb_48b4_808b_837643b2f216); +windows_core::imp::define_interface!(IXusbGameControllerProvider, IXusbGameControllerProvider_Vtbl, 0x6e2971eb_0efb_48b4_808b_837643b2f216); #[repr(C)] pub struct IXusbGameControllerProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 9cafcfbeae..89f3d0106b 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IConditionForceEffect, IConditionForceEffect_Vtbl, 0x32d1ea68_3695_4e69_85c0_cd1944189140); +windows_core::imp::define_interface!(IConditionForceEffect, IConditionForceEffect_Vtbl, 0x32d1ea68_3695_4e69_85c0_cd1944189140); #[repr(C)] pub struct IConditionForceEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,13 +8,13 @@ pub struct IConditionForceEffect_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetParameters: usize, } -windows_core::imp::com_interface!(IConditionForceEffectFactory, IConditionForceEffectFactory_Vtbl, 0x91a99264_1810_4eb6_a773_bfd3b8cddbab); +windows_core::imp::define_interface!(IConditionForceEffectFactory, IConditionForceEffectFactory_Vtbl, 0x91a99264_1810_4eb6_a773_bfd3b8cddbab); #[repr(C)] pub struct IConditionForceEffectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, ConditionForceEffectKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConstantForceEffect, IConstantForceEffect_Vtbl, 0x9bfa0140_f3c7_415c_b068_0f068734bce0); +windows_core::imp::define_interface!(IConstantForceEffect, IConstantForceEffect_Vtbl, 0x9bfa0140_f3c7_415c_b068_0f068734bce0); #[repr(C)] pub struct IConstantForceEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,7 +27,7 @@ pub struct IConstantForceEffect_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetParametersWithEnvelope: usize, } -windows_core::imp::com_interface!(IForceFeedbackEffect, IForceFeedbackEffect_Vtbl, 0xa17fba0c_2ae4_48c2_8063_eabd0777cb89); +windows_core::imp::define_interface!(IForceFeedbackEffect, IForceFeedbackEffect_Vtbl, 0xa17fba0c_2ae4_48c2_8063_eabd0777cb89); windows_core::imp::interface_hierarchy!(IForceFeedbackEffect, windows_core::IUnknown, windows_core::IInspectable); impl IForceFeedbackEffect { pub fn Gain(&self) -> windows_core::Result { @@ -69,7 +69,7 @@ pub struct IForceFeedbackEffect_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IForceFeedbackMotor, IForceFeedbackMotor_Vtbl, 0x8d3d417c_a5ea_4516_8026_2b00f74ef6e5); +windows_core::imp::define_interface!(IForceFeedbackMotor, IForceFeedbackMotor_Vtbl, 0x8d3d417c_a5ea_4516_8026_2b00f74ef6e5); #[repr(C)] pub struct IForceFeedbackMotor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -87,7 +87,7 @@ pub struct IForceFeedbackMotor_Vtbl { pub TryResetAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryUnloadEffectAsync: 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::com_interface!(IPeriodicForceEffect, IPeriodicForceEffect_Vtbl, 0x5c5138d7_fc75_4d52_9a0a_efe4cab5fe64); +windows_core::imp::define_interface!(IPeriodicForceEffect, IPeriodicForceEffect_Vtbl, 0x5c5138d7_fc75_4d52_9a0a_efe4cab5fe64); #[repr(C)] pub struct IPeriodicForceEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -101,13 +101,13 @@ pub struct IPeriodicForceEffect_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetParametersWithEnvelope: usize, } -windows_core::imp::com_interface!(IPeriodicForceEffectFactory, IPeriodicForceEffectFactory_Vtbl, 0x6f62eb1a_9851_477b_b318_35ecaa15070f); +windows_core::imp::define_interface!(IPeriodicForceEffectFactory, IPeriodicForceEffectFactory_Vtbl, 0x6f62eb1a_9851_477b_b318_35ecaa15070f); #[repr(C)] pub struct IPeriodicForceEffectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, PeriodicForceEffectKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRampForceEffect, IRampForceEffect_Vtbl, 0xf1f81259_1ca6_4080_b56d_b43f3354d052); +windows_core::imp::define_interface!(IRampForceEffect, IRampForceEffect_Vtbl, 0xf1f81259_1ca6_4080_b56d_b43f3354d052); #[repr(C)] pub struct IRampForceEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 896e9d9c53..1eb8f426ef 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Preview/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGameControllerProviderInfoStatics, IGameControllerProviderInfoStatics_Vtbl, 0x0be1e6c5_d9bd_44ee_8362_488b2e464bfb); +windows_core::imp::define_interface!(IGameControllerProviderInfoStatics, IGameControllerProviderInfoStatics_Vtbl, 0x0be1e6c5_d9bd_44ee_8362_488b2e464bfb); #[repr(C)] pub struct IGameControllerProviderInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs index 0d11789200..4e43f71e13 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/mod.rs @@ -4,14 +4,14 @@ pub mod Custom; pub mod ForceFeedback; #[cfg(feature = "Gaming_Input_Preview")] pub mod Preview; -windows_core::imp::com_interface!(IArcadeStick, IArcadeStick_Vtbl, 0xb14a539d_befb_4c81_8051_15ecf3b13036); +windows_core::imp::define_interface!(IArcadeStick, IArcadeStick_Vtbl, 0xb14a539d_befb_4c81_8051_15ecf3b13036); #[repr(C)] pub struct IArcadeStick_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetButtonLabel: unsafe extern "system" fn(*mut core::ffi::c_void, ArcadeStickButtons, *mut GameControllerButtonLabel) -> windows_core::HRESULT, pub GetCurrentReading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ArcadeStickReading) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IArcadeStickStatics, IArcadeStickStatics_Vtbl, 0x5c37b8c8_37b1_4ad8_9458_200f1a30018e); +windows_core::imp::define_interface!(IArcadeStickStatics, IArcadeStickStatics_Vtbl, 0x5c37b8c8_37b1_4ad8_9458_200f1a30018e); #[repr(C)] pub struct IArcadeStickStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -24,13 +24,13 @@ pub struct IArcadeStickStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ArcadeSticks: usize, } -windows_core::imp::com_interface!(IArcadeStickStatics2, IArcadeStickStatics2_Vtbl, 0x52b5d744_bb86_445a_b59c_596f0e2a49df); +windows_core::imp::define_interface!(IArcadeStickStatics2, IArcadeStickStatics2_Vtbl, 0x52b5d744_bb86_445a_b59c_596f0e2a49df); #[repr(C)] pub struct IArcadeStickStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromGameController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFlightStick, IFlightStick_Vtbl, 0xb4a2c01c_b83b_4459_a1a9_97b03c33da7c); +windows_core::imp::define_interface!(IFlightStick, IFlightStick_Vtbl, 0xb4a2c01c_b83b_4459_a1a9_97b03c33da7c); #[repr(C)] pub struct IFlightStick_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,7 +38,7 @@ pub struct IFlightStick_Vtbl { pub GetButtonLabel: unsafe extern "system" fn(*mut core::ffi::c_void, FlightStickButtons, *mut GameControllerButtonLabel) -> windows_core::HRESULT, pub GetCurrentReading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FlightStickReading) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFlightStickStatics, IFlightStickStatics_Vtbl, 0x5514924a_fecc_435e_83dc_5cec8a18a520); +windows_core::imp::define_interface!(IFlightStickStatics, IFlightStickStatics_Vtbl, 0x5514924a_fecc_435e_83dc_5cec8a18a520); #[repr(C)] pub struct IFlightStickStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -52,7 +52,7 @@ pub struct IFlightStickStatics_Vtbl { FlightSticks: usize, pub FromGameController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameController, IGameController_Vtbl, 0x1baf6522_5f64_42c5_8267_b9fe2215bfbd); +windows_core::imp::define_interface!(IGameController, IGameController_Vtbl, 0x1baf6522_5f64_42c5_8267_b9fe2215bfbd); windows_core::imp::interface_hierarchy!(IGameController, windows_core::IUnknown, windows_core::IInspectable); impl IGameController { pub fn HeadsetConnected(&self, value: P0) -> windows_core::Result @@ -143,7 +143,7 @@ pub struct IGameController_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IGameControllerBatteryInfo, IGameControllerBatteryInfo_Vtbl, 0xdcecc681_3963_4da6_955d_553f3b6f6161); +windows_core::imp::define_interface!(IGameControllerBatteryInfo, IGameControllerBatteryInfo_Vtbl, 0xdcecc681_3963_4da6_955d_553f3b6f6161); windows_core::imp::interface_hierarchy!(IGameControllerBatteryInfo, windows_core::IUnknown, windows_core::IInspectable); impl IGameControllerBatteryInfo { #[cfg(feature = "Devices_Power")] @@ -166,7 +166,7 @@ pub struct IGameControllerBatteryInfo_Vtbl { #[cfg(not(feature = "Devices_Power"))] TryGetBatteryReport: usize, } -windows_core::imp::com_interface!(IGamepad, IGamepad_Vtbl, 0xbc7bb43c_0a69_3903_9e9d_a50f86a45de5); +windows_core::imp::define_interface!(IGamepad, IGamepad_Vtbl, 0xbc7bb43c_0a69_3903_9e9d_a50f86a45de5); #[repr(C)] pub struct IGamepad_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -174,13 +174,13 @@ pub struct IGamepad_Vtbl { pub SetVibration: unsafe extern "system" fn(*mut core::ffi::c_void, GamepadVibration) -> windows_core::HRESULT, pub GetCurrentReading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GamepadReading) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGamepad2, IGamepad2_Vtbl, 0x3c1689bd_5915_4245_b0c0_c89fae0308ff); +windows_core::imp::define_interface!(IGamepad2, IGamepad2_Vtbl, 0x3c1689bd_5915_4245_b0c0_c89fae0308ff); #[repr(C)] pub struct IGamepad2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetButtonLabel: unsafe extern "system" fn(*mut core::ffi::c_void, GamepadButtons, *mut GameControllerButtonLabel) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGamepadStatics, IGamepadStatics_Vtbl, 0x8bbce529_d49c_39e9_9560_e47dde96b7c8); +windows_core::imp::define_interface!(IGamepadStatics, IGamepadStatics_Vtbl, 0x8bbce529_d49c_39e9_9560_e47dde96b7c8); #[repr(C)] pub struct IGamepadStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -193,20 +193,20 @@ pub struct IGamepadStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Gamepads: usize, } -windows_core::imp::com_interface!(IGamepadStatics2, IGamepadStatics2_Vtbl, 0x42676dc5_0856_47c4_9213_b395504c3a3c); +windows_core::imp::define_interface!(IGamepadStatics2, IGamepadStatics2_Vtbl, 0x42676dc5_0856_47c4_9213_b395504c3a3c); #[repr(C)] pub struct IGamepadStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromGameController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHeadset, IHeadset_Vtbl, 0x3fd156ef_6925_3fa8_9181_029c5223ae3b); +windows_core::imp::define_interface!(IHeadset, IHeadset_Vtbl, 0x3fd156ef_6925_3fa8_9181_029c5223ae3b); #[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, } -windows_core::imp::com_interface!(IRacingWheel, IRacingWheel_Vtbl, 0xf546656f_e106_4c82_a90f_554012904b85); +windows_core::imp::define_interface!(IRacingWheel, IRacingWheel_Vtbl, 0xf546656f_e106_4c82_a90f_554012904b85); #[repr(C)] pub struct IRacingWheel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -222,7 +222,7 @@ pub struct IRacingWheel_Vtbl { pub GetButtonLabel: unsafe extern "system" fn(*mut core::ffi::c_void, RacingWheelButtons, *mut GameControllerButtonLabel) -> windows_core::HRESULT, pub GetCurrentReading: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RacingWheelReading) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRacingWheelStatics, IRacingWheelStatics_Vtbl, 0x3ac12cd5_581b_4936_9f94_69f1e6514c7d); +windows_core::imp::define_interface!(IRacingWheelStatics, IRacingWheelStatics_Vtbl, 0x3ac12cd5_581b_4936_9f94_69f1e6514c7d); #[repr(C)] pub struct IRacingWheelStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -235,13 +235,13 @@ pub struct IRacingWheelStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RacingWheels: usize, } -windows_core::imp::com_interface!(IRacingWheelStatics2, IRacingWheelStatics2_Vtbl, 0xe666bcaa_edfd_4323_a9f6_3c384048d1ed); +windows_core::imp::define_interface!(IRacingWheelStatics2, IRacingWheelStatics2_Vtbl, 0xe666bcaa_edfd_4323_a9f6_3c384048d1ed); #[repr(C)] pub struct IRacingWheelStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromGameController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRawGameController, IRawGameController_Vtbl, 0x7cad6d91_a7e1_4f71_9a78_33e9c5dfea62); +windows_core::imp::define_interface!(IRawGameController, IRawGameController_Vtbl, 0x7cad6d91_a7e1_4f71_9a78_33e9c5dfea62); #[repr(C)] pub struct IRawGameController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -258,7 +258,7 @@ pub struct IRawGameController_Vtbl { pub GetCurrentReading: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut bool, u32, *mut GameControllerSwitchPosition, u32, *mut f64, *mut u64) -> windows_core::HRESULT, pub GetSwitchKind: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut GameControllerSwitchKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRawGameController2, IRawGameController2_Vtbl, 0x43c0c035_bb73_4756_a787_3ed6bea617bd); +windows_core::imp::define_interface!(IRawGameController2, IRawGameController2_Vtbl, 0x43c0c035_bb73_4756_a787_3ed6bea617bd); #[repr(C)] pub struct IRawGameController2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -269,7 +269,7 @@ pub struct IRawGameController2_Vtbl { 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, } -windows_core::imp::com_interface!(IRawGameControllerStatics, IRawGameControllerStatics_Vtbl, 0xeb8d0792_e95a_4b19_afc7_0a59f8bf759e); +windows_core::imp::define_interface!(IRawGameControllerStatics, IRawGameControllerStatics_Vtbl, 0xeb8d0792_e95a_4b19_afc7_0a59f8bf759e); #[repr(C)] pub struct IRawGameControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -283,7 +283,7 @@ pub struct IRawGameControllerStatics_Vtbl { RawGameControllers: usize, pub FromGameController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUINavigationController, IUINavigationController_Vtbl, 0xe5aeefdd_f50e_4a55_8cdc_d33229548175); +windows_core::imp::define_interface!(IUINavigationController, IUINavigationController_Vtbl, 0xe5aeefdd_f50e_4a55_8cdc_d33229548175); #[repr(C)] pub struct IUINavigationController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -291,7 +291,7 @@ pub struct IUINavigationController_Vtbl { pub GetOptionalButtonLabel: unsafe extern "system" fn(*mut core::ffi::c_void, OptionalUINavigationButtons, *mut GameControllerButtonLabel) -> windows_core::HRESULT, pub GetRequiredButtonLabel: unsafe extern "system" fn(*mut core::ffi::c_void, RequiredUINavigationButtons, *mut GameControllerButtonLabel) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUINavigationControllerStatics, IUINavigationControllerStatics_Vtbl, 0x2f14930a_f6f8_4a48_8d89_94786cca0c2e); +windows_core::imp::define_interface!(IUINavigationControllerStatics, IUINavigationControllerStatics_Vtbl, 0x2f14930a_f6f8_4a48_8d89_94786cca0c2e); #[repr(C)] pub struct IUINavigationControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -304,7 +304,7 @@ pub struct IUINavigationControllerStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] UINavigationControllers: usize, } -windows_core::imp::com_interface!(IUINavigationControllerStatics2, IUINavigationControllerStatics2_Vtbl, 0xe0cb28e3_b20b_4b0b_9ed4_f3d53cec0de4); +windows_core::imp::define_interface!(IUINavigationControllerStatics2, IUINavigationControllerStatics2_Vtbl, 0xe0cb28e3_b20b_4b0b_9ed4_f3d53cec0de4); #[repr(C)] pub struct IUINavigationControllerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 7d87df0b98..3f03d9cee9 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGameListEntry, IGameListEntry_Vtbl, 0x735924d3_811f_4494_b69c_c641a0c61543); +windows_core::imp::define_interface!(IGameListEntry, IGameListEntry_Vtbl, 0x735924d3_811f_4494_b69c_c641a0c61543); windows_core::imp::interface_hierarchy!(IGameListEntry, windows_core::IUnknown, windows_core::IInspectable); impl IGameListEntry { #[cfg(feature = "ApplicationModel")] @@ -57,7 +57,7 @@ pub struct IGameListEntry_Vtbl { Properties: usize, pub SetCategoryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, GameListCategory, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameListEntry2, IGameListEntry2_Vtbl, 0xd84a8f8b_8749_4a25_90d3_f6c5a427886d); +windows_core::imp::define_interface!(IGameListEntry2, IGameListEntry2_Vtbl, 0xd84a8f8b_8749_4a25_90d3_f6c5a427886d); #[repr(C)] pub struct IGameListEntry2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -79,7 +79,7 @@ pub struct IGameListEntry2_Vtbl { pub SetTitleIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IGameListStatics, IGameListStatics_Vtbl, 0x2ddd0f6f_9c66_4b05_945c_d6ed78491b8c); +windows_core::imp::define_interface!(IGameListStatics, IGameListStatics_Vtbl, 0x2ddd0f6f_9c66_4b05_945c_d6ed78491b8c); #[repr(C)] pub struct IGameListStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -98,7 +98,7 @@ pub struct IGameListStatics_Vtbl { pub GameUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveGameUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameListStatics2, IGameListStatics2_Vtbl, 0x395f2098_ea1a_45aa_9268_a83905686f27); +windows_core::imp::define_interface!(IGameListStatics2, IGameListStatics2_Vtbl, 0x395f2098_ea1a_45aa_9268_a83905686f27); #[repr(C)] pub struct IGameListStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -108,7 +108,7 @@ pub struct IGameListStatics2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] UnmergeEntryAsync: usize, } -windows_core::imp::com_interface!(IGameModeConfiguration, IGameModeConfiguration_Vtbl, 0x78e591af_b142_4ef0_8830_55bc2be4f5ea); +windows_core::imp::define_interface!(IGameModeConfiguration, IGameModeConfiguration_Vtbl, 0x78e591af_b142_4ef0_8830_55bc2be4f5ea); #[repr(C)] pub struct IGameModeConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -134,7 +134,7 @@ pub struct IGameModeConfiguration_Vtbl { pub SetAffinitizeToExclusiveCpus: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameModeUserConfiguration, IGameModeUserConfiguration_Vtbl, 0x72d34af4_756b_470f_a0c2_ba62a90795db); +windows_core::imp::define_interface!(IGameModeUserConfiguration, IGameModeUserConfiguration_Vtbl, 0x72d34af4_756b_470f_a0c2_ba62a90795db); #[repr(C)] pub struct IGameModeUserConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -144,7 +144,7 @@ pub struct IGameModeUserConfiguration_Vtbl { GamingRelatedProcessNames: usize, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameModeUserConfigurationStatics, IGameModeUserConfigurationStatics_Vtbl, 0x6e50d97c_66ea_478e_a4a1_f57c0e8d00e7); +windows_core::imp::define_interface!(IGameModeUserConfigurationStatics, IGameModeUserConfigurationStatics_Vtbl, 0x6e50d97c_66ea_478e_a4a1_f57c0e8d00e7); #[repr(C)] pub struct IGameModeUserConfigurationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -579,7 +579,7 @@ impl core::fmt::Debug for GameListEntryLaunchableState { impl windows_core::RuntimeType for GameListEntryLaunchableState { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.Gaming.Preview.GamesEnumeration.GameListEntryLaunchableState;i4)"); } -windows_core::imp::com_interface!(GameListChangedEventHandler, GameListChangedEventHandler_Vtbl, 0x25f6a421_d8f5_4d91_b40e_53d5e86fde64); +windows_core::imp::define_interface!(GameListChangedEventHandler, GameListChangedEventHandler_Vtbl, 0x25f6a421_d8f5_4d91_b40e_53d5e86fde64); impl GameListChangedEventHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = GameListChangedEventHandlerBox:: { vtable: &GameListChangedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -639,7 +639,7 @@ pub struct GameListChangedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(GameListRemovedEventHandler, GameListRemovedEventHandler_Vtbl, 0x10c5648f_6c8f_4712_9b38_474bc22e76d8); +windows_core::imp::define_interface!(GameListRemovedEventHandler, GameListRemovedEventHandler_Vtbl, 0x10c5648f_6c8f_4712_9b38_474bc22e76d8); impl GameListRemovedEventHandler { pub fn new windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = GameListRemovedEventHandlerBox:: { vtable: &GameListRemovedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs index 3c45d74478..50538f1b34 100644 --- a/crates/libs/windows/src/Windows/Gaming/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/UI/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGameBarStatics, IGameBarStatics_Vtbl, 0x1db9a292_cc78_4173_be45_b61e67283ea7); +windows_core::imp::define_interface!(IGameBarStatics, IGameBarStatics_Vtbl, 0x1db9a292_cc78_4173_be45_b61e67283ea7); #[repr(C)] pub struct IGameBarStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IGameBarStatics_Vtbl { pub Visible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsInputRedirected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameChatMessageReceivedEventArgs, IGameChatMessageReceivedEventArgs_Vtbl, 0xa28201f1_3fb9_4e42_a403_7afce2023b1e); +windows_core::imp::define_interface!(IGameChatMessageReceivedEventArgs, IGameChatMessageReceivedEventArgs_Vtbl, 0xa28201f1_3fb9_4e42_a403_7afce2023b1e); #[repr(C)] pub struct IGameChatMessageReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,7 +19,7 @@ pub struct IGameChatMessageReceivedEventArgs_Vtbl { pub Message: 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 GameChatMessageOrigin) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameChatOverlay, IGameChatOverlay_Vtbl, 0xfbc64865_f6fc_4a48_ae07_03ac6ed43704); +windows_core::imp::define_interface!(IGameChatOverlay, IGameChatOverlay_Vtbl, 0xfbc64865_f6fc_4a48_ae07_03ac6ed43704); #[repr(C)] pub struct IGameChatOverlay_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,7 +27,7 @@ pub struct IGameChatOverlay_Vtbl { 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, } -windows_core::imp::com_interface!(IGameChatOverlayMessageSource, IGameChatOverlayMessageSource_Vtbl, 0x1e177397_59fb_4f4f_8e9a_80acf817743c); +windows_core::imp::define_interface!(IGameChatOverlayMessageSource, IGameChatOverlayMessageSource_Vtbl, 0x1e177397_59fb_4f4f_8e9a_80acf817743c); #[repr(C)] pub struct IGameChatOverlayMessageSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,13 +35,13 @@ pub struct IGameChatOverlayMessageSource_Vtbl { pub RemoveMessageReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub SetDelayBeforeClosingAfterMessageReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameChatOverlayStatics, IGameChatOverlayStatics_Vtbl, 0x89acf614_7867_49f7_9687_25d9dbf444d1); +windows_core::imp::define_interface!(IGameChatOverlayStatics, IGameChatOverlayStatics_Vtbl, 0x89acf614_7867_49f7_9687_25d9dbf444d1); #[repr(C)] pub struct IGameChatOverlayStatics_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, } -windows_core::imp::com_interface!(IGameUIProviderActivatedEventArgs, IGameUIProviderActivatedEventArgs_Vtbl, 0xa7b3203e_caf7_4ded_bbd2_47de43bb6dd5); +windows_core::imp::define_interface!(IGameUIProviderActivatedEventArgs, IGameUIProviderActivatedEventArgs_Vtbl, 0xa7b3203e_caf7_4ded_bbd2_47de43bb6dd5); #[repr(C)] pub struct IGameUIProviderActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 d4eaba963f..0f02cc221e 100644 --- a/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/XboxLive/Storage/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGameSaveBlobGetResult, IGameSaveBlobGetResult_Vtbl, 0x917281e0_7201_4953_aa2c_4008f03aef45); +windows_core::imp::define_interface!(IGameSaveBlobGetResult, IGameSaveBlobGetResult_Vtbl, 0x917281e0_7201_4953_aa2c_4008f03aef45); #[repr(C)] pub struct IGameSaveBlobGetResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,14 +8,14 @@ pub struct IGameSaveBlobGetResult_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] Value: usize, } -windows_core::imp::com_interface!(IGameSaveBlobInfo, IGameSaveBlobInfo_Vtbl, 0xadd38034_baf0_4645_b6d0_46edaffb3c2b); +windows_core::imp::define_interface!(IGameSaveBlobInfo, IGameSaveBlobInfo_Vtbl, 0xadd38034_baf0_4645_b6d0_46edaffb3c2b); #[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 Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameSaveBlobInfoGetResult, IGameSaveBlobInfoGetResult_Vtbl, 0xc7578582_3697_42bf_989c_665d923b5231); +windows_core::imp::define_interface!(IGameSaveBlobInfoGetResult, IGameSaveBlobInfoGetResult_Vtbl, 0xc7578582_3697_42bf_989c_665d923b5231); #[repr(C)] pub struct IGameSaveBlobInfoGetResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -25,7 +25,7 @@ pub struct IGameSaveBlobInfoGetResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Value: usize, } -windows_core::imp::com_interface!(IGameSaveBlobInfoQuery, IGameSaveBlobInfoQuery_Vtbl, 0x9fdd74b2_eeee_447b_a9d2_7f96c0f83208); +windows_core::imp::define_interface!(IGameSaveBlobInfoQuery, IGameSaveBlobInfoQuery_Vtbl, 0x9fdd74b2_eeee_447b_a9d2_7f96c0f83208); #[repr(C)] pub struct IGameSaveBlobInfoQuery_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,7 +33,7 @@ pub struct IGameSaveBlobInfoQuery_Vtbl { pub GetBlobInfoWithIndexAndMaxAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetItemCountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameSaveContainer, IGameSaveContainer_Vtbl, 0xc3c08f89_563f_4ecd_9c6f_33fd0e323d10); +windows_core::imp::define_interface!(IGameSaveContainer, IGameSaveContainer_Vtbl, 0xc3c08f89_563f_4ecd_9c6f_33fd0e323d10); #[repr(C)] pub struct IGameSaveContainer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,7 +57,7 @@ pub struct IGameSaveContainer_Vtbl { 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, } -windows_core::imp::com_interface!(IGameSaveContainerInfo, IGameSaveContainerInfo_Vtbl, 0xb7e27300_155d_4bb4_b2ba_930306f391b5); +windows_core::imp::define_interface!(IGameSaveContainerInfo, IGameSaveContainerInfo_Vtbl, 0xb7e27300_155d_4bb4_b2ba_930306f391b5); #[repr(C)] pub struct IGameSaveContainerInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -67,7 +67,7 @@ pub struct IGameSaveContainerInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IGameSaveContainerInfoGetResult, IGameSaveContainerInfoGetResult_Vtbl, 0xffc50d74_c581_4f9d_9e39_30a10c1e4c50); +windows_core::imp::define_interface!(IGameSaveContainerInfoGetResult, IGameSaveContainerInfoGetResult_Vtbl, 0xffc50d74_c581_4f9d_9e39_30a10c1e4c50); #[repr(C)] pub struct IGameSaveContainerInfoGetResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -77,7 +77,7 @@ pub struct IGameSaveContainerInfoGetResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Value: usize, } -windows_core::imp::com_interface!(IGameSaveContainerInfoQuery, IGameSaveContainerInfoQuery_Vtbl, 0x3c94e863_6f80_4327_9327_ffc11afd42b3); +windows_core::imp::define_interface!(IGameSaveContainerInfoQuery, IGameSaveContainerInfoQuery_Vtbl, 0x3c94e863_6f80_4327_9327_ffc11afd42b3); #[repr(C)] pub struct IGameSaveContainerInfoQuery_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -85,13 +85,13 @@ pub struct IGameSaveContainerInfoQuery_Vtbl { pub GetContainerInfoWithIndexAndMaxAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetItemCountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameSaveOperationResult, IGameSaveOperationResult_Vtbl, 0xcf0f1a05_24a0_4582_9a55_b1bbbb9388d8); +windows_core::imp::define_interface!(IGameSaveOperationResult, IGameSaveOperationResult_Vtbl, 0xcf0f1a05_24a0_4582_9a55_b1bbbb9388d8); #[repr(C)] pub struct IGameSaveOperationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GameSaveErrorStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameSaveProvider, IGameSaveProvider_Vtbl, 0x90a60394_80fe_4211_97f8_a5de14dd95d2); +windows_core::imp::define_interface!(IGameSaveProvider, IGameSaveProvider_Vtbl, 0x90a60394_80fe_4211_97f8_a5de14dd95d2); #[repr(C)] pub struct IGameSaveProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -109,14 +109,14 @@ pub struct IGameSaveProvider_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ContainersChangedSinceLastSync: usize, } -windows_core::imp::com_interface!(IGameSaveProviderGetResult, IGameSaveProviderGetResult_Vtbl, 0x3ab90816_d393_4d65_ac16_41c3e67ab945); +windows_core::imp::define_interface!(IGameSaveProviderGetResult, IGameSaveProviderGetResult_Vtbl, 0x3ab90816_d393_4d65_ac16_41c3e67ab945); #[repr(C)] pub struct IGameSaveProviderGetResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GameSaveErrorStatus) -> windows_core::HRESULT, pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameSaveProviderStatics, IGameSaveProviderStatics_Vtbl, 0xd01d3ed0_7b03_449d_8cbd_3402842a1048); +windows_core::imp::define_interface!(IGameSaveProviderStatics, IGameSaveProviderStatics_Vtbl, 0xd01d3ed0_7b03_449d_8cbd_3402842a1048); #[repr(C)] pub struct IGameSaveProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs index 1d984c579b..121d7042e9 100644 --- a/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Collation/mod.rs @@ -1,17 +1,17 @@ -windows_core::imp::com_interface!(ICharacterGrouping, ICharacterGrouping_Vtbl, 0xfae761bb_805d_4bb0_95bb_c1f7c3e8eb8e); +windows_core::imp::define_interface!(ICharacterGrouping, ICharacterGrouping_Vtbl, 0xfae761bb_805d_4bb0_95bb_c1f7c3e8eb8e); #[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, } -windows_core::imp::com_interface!(ICharacterGroupings, ICharacterGroupings_Vtbl, 0xb8d20a75_d4cf_4055_80e5_ce169c226496); +windows_core::imp::define_interface!(ICharacterGroupings, ICharacterGroupings_Vtbl, 0xb8d20a75_d4cf_4055_80e5_ce169c226496); #[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, } -windows_core::imp::com_interface!(ICharacterGroupingsFactory, ICharacterGroupingsFactory_Vtbl, 0x99ea9fd9_886d_4401_9f98_69c82d4c2f78); +windows_core::imp::define_interface!(ICharacterGroupingsFactory, ICharacterGroupingsFactory_Vtbl, 0x99ea9fd9_886d_4401_9f98_69c82d4c2f78); #[repr(C)] pub struct ICharacterGroupingsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs index 44e32c15cd..215893d7b1 100644 --- a/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/DateTimeFormatting/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDateTimeFormatter, IDateTimeFormatter_Vtbl, 0x95eeca10_73e0_4e4b_a183_3d6ad0ba35ec); +windows_core::imp::define_interface!(IDateTimeFormatter, IDateTimeFormatter_Vtbl, 0x95eeca10_73e0_4e4b_a183_3d6ad0ba35ec); #[repr(C)] pub struct IDateTimeFormatter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,13 +27,13 @@ pub struct IDateTimeFormatter_Vtbl { 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, } -windows_core::imp::com_interface!(IDateTimeFormatter2, IDateTimeFormatter2_Vtbl, 0x27c91a86_bdaa_4fd0_9e36_671d5aa5ee03); +windows_core::imp::define_interface!(IDateTimeFormatter2, IDateTimeFormatter2_Vtbl, 0x27c91a86_bdaa_4fd0_9e36_671d5aa5ee03); #[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, } -windows_core::imp::com_interface!(IDateTimeFormatterFactory, IDateTimeFormatterFactory_Vtbl, 0xec8d8a53_1a2e_412d_8815_3b745fb1a2a0); +windows_core::imp::define_interface!(IDateTimeFormatterFactory, IDateTimeFormatterFactory_Vtbl, 0xec8d8a53_1a2e_412d_8815_3b745fb1a2a0); #[repr(C)] pub struct IDateTimeFormatterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,7 +57,7 @@ pub struct IDateTimeFormatterFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateDateTimeFormatterDateTimeContext: usize, } -windows_core::imp::com_interface!(IDateTimeFormatterStatics, IDateTimeFormatterStatics_Vtbl, 0xbfcde7c0_df4c_4a2e_9012_f47daf3f1212); +windows_core::imp::define_interface!(IDateTimeFormatterStatics, IDateTimeFormatterStatics_Vtbl, 0xbfcde7c0_df4c_4a2e_9012_f47daf3f1212); #[repr(C)] pub struct IDateTimeFormatterStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs b/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs index 6959c31a43..7327ae699b 100644 --- a/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/Fonts/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ILanguageFont, ILanguageFont_Vtbl, 0xb12e5c3a_b76d_459b_beeb_901151cd77d1); +windows_core::imp::define_interface!(ILanguageFont, ILanguageFont_Vtbl, 0xb12e5c3a_b76d_459b_beeb_901151cd77d1); #[repr(C)] pub struct ILanguageFont_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,7 +17,7 @@ pub struct ILanguageFont_Vtbl { FontStyle: usize, pub ScaleFactor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILanguageFontGroup, ILanguageFontGroup_Vtbl, 0xf33a7fc3_3a5c_4aea_b9ff_b39fb242f7f6); +windows_core::imp::define_interface!(ILanguageFontGroup, ILanguageFontGroup_Vtbl, 0xf33a7fc3_3a5c_4aea_b9ff_b39fb242f7f6); #[repr(C)] pub struct ILanguageFontGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,7 +33,7 @@ pub struct ILanguageFontGroup_Vtbl { pub DocumentAlternate1Font: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DocumentAlternate2Font: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILanguageFontGroupFactory, ILanguageFontGroupFactory_Vtbl, 0xfcaeac67_4e77_49c7_b856_dde934fc735b); +windows_core::imp::define_interface!(ILanguageFontGroupFactory, ILanguageFontGroupFactory_Vtbl, 0xfcaeac67_4e77_49c7_b856_dde934fc735b); #[repr(C)] pub struct ILanguageFontGroupFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs index f5e0a9e847..351c9bdc05 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICurrencyFormatter, ICurrencyFormatter_Vtbl, 0x11730ca5_4b00_41b2_b332_73b12a497d54); +windows_core::imp::define_interface!(ICurrencyFormatter, ICurrencyFormatter_Vtbl, 0x11730ca5_4b00_41b2_b332_73b12a497d54); #[repr(C)] pub struct ICurrencyFormatter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct ICurrencyFormatter_Vtbl { #[cfg(not(feature = "deprecated"))] SetCurrency: usize, } -windows_core::imp::com_interface!(ICurrencyFormatter2, ICurrencyFormatter2_Vtbl, 0x072c2f1d_e7ba_4197_920e_247c92f7dea6); +windows_core::imp::define_interface!(ICurrencyFormatter2, ICurrencyFormatter2_Vtbl, 0x072c2f1d_e7ba_4197_920e_247c92f7dea6); #[repr(C)] pub struct ICurrencyFormatter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,7 +16,7 @@ pub struct ICurrencyFormatter2_Vtbl { pub SetMode: unsafe extern "system" fn(*mut core::ffi::c_void, CurrencyFormatterMode) -> windows_core::HRESULT, pub ApplyRoundingForCurrency: unsafe extern "system" fn(*mut core::ffi::c_void, RoundingAlgorithm) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICurrencyFormatterFactory, ICurrencyFormatterFactory_Vtbl, 0x86c7537e_b938_4aa2_84b0_2c33dc5b1450); +windows_core::imp::define_interface!(ICurrencyFormatterFactory, ICurrencyFormatterFactory_Vtbl, 0x86c7537e_b938_4aa2_84b0_2c33dc5b1450); #[repr(C)] pub struct ICurrencyFormatterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct ICurrencyFormatterFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateCurrencyFormatterCodeContext: usize, } -windows_core::imp::com_interface!(IDecimalFormatterFactory, IDecimalFormatterFactory_Vtbl, 0x0d018c9a_e393_46b8_b830_7a69c8f89fbb); +windows_core::imp::define_interface!(IDecimalFormatterFactory, IDecimalFormatterFactory_Vtbl, 0x0d018c9a_e393_46b8_b830_7a69c8f89fbb); #[repr(C)] pub struct IDecimalFormatterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,7 +35,7 @@ pub struct IDecimalFormatterFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateDecimalFormatter: usize, } -windows_core::imp::com_interface!(IIncrementNumberRounder, IIncrementNumberRounder_Vtbl, 0x70a64ff8_66ab_4155_9da1_739e46764543); +windows_core::imp::define_interface!(IIncrementNumberRounder, IIncrementNumberRounder_Vtbl, 0x70a64ff8_66ab_4155_9da1_739e46764543); #[repr(C)] pub struct IIncrementNumberRounder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,7 +44,7 @@ pub struct IIncrementNumberRounder_Vtbl { pub Increment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetIncrement: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INumberFormatter, INumberFormatter_Vtbl, 0xa5007c49_7676_4db7_8631_1b6ff265caa9); +windows_core::imp::define_interface!(INumberFormatter, INumberFormatter_Vtbl, 0xa5007c49_7676_4db7_8631_1b6ff265caa9); windows_core::imp::interface_hierarchy!(INumberFormatter, windows_core::IUnknown, windows_core::IInspectable); impl INumberFormatter { pub fn FormatInt(&self, value: i64) -> windows_core::Result { @@ -79,7 +79,7 @@ pub struct INumberFormatter_Vtbl { 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, } -windows_core::imp::com_interface!(INumberFormatter2, INumberFormatter2_Vtbl, 0xd4a8c1f0_80d0_4b0d_a89e_882c1e8f8310); +windows_core::imp::define_interface!(INumberFormatter2, INumberFormatter2_Vtbl, 0xd4a8c1f0_80d0_4b0d_a89e_882c1e8f8310); windows_core::imp::interface_hierarchy!(INumberFormatter2, windows_core::IUnknown, windows_core::IInspectable); impl INumberFormatter2 { pub fn FormatInt(&self, value: i64) -> windows_core::Result { @@ -114,7 +114,7 @@ pub struct INumberFormatter2_Vtbl { 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, } -windows_core::imp::com_interface!(INumberFormatterOptions, INumberFormatterOptions_Vtbl, 0x80332d21_aee1_4a39_baa2_07ed8c96daf6); +windows_core::imp::define_interface!(INumberFormatterOptions, INumberFormatterOptions_Vtbl, 0x80332d21_aee1_4a39_baa2_07ed8c96daf6); windows_core::imp::interface_hierarchy!(INumberFormatterOptions, windows_core::IUnknown, windows_core::IInspectable); impl INumberFormatterOptions { #[cfg(feature = "Foundation_Collections")] @@ -226,7 +226,7 @@ pub struct INumberFormatterOptions_Vtbl { 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, } -windows_core::imp::com_interface!(INumberParser, INumberParser_Vtbl, 0xe6659412_4a13_4a53_83a1_392fbe4cff9f); +windows_core::imp::define_interface!(INumberParser, INumberParser_Vtbl, 0xe6659412_4a13_4a53_83a1_392fbe4cff9f); windows_core::imp::interface_hierarchy!(INumberParser, windows_core::IUnknown, windows_core::IInspectable); impl INumberParser { pub fn ParseInt(&self, text: &windows_core::HSTRING) -> windows_core::Result> { @@ -261,7 +261,7 @@ pub struct INumberParser_Vtbl { 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, } -windows_core::imp::com_interface!(INumberRounder, INumberRounder_Vtbl, 0x5473c375_38ed_4631_b80c_ef34fc48b7f5); +windows_core::imp::define_interface!(INumberRounder, INumberRounder_Vtbl, 0x5473c375_38ed_4631_b80c_ef34fc48b7f5); windows_core::imp::interface_hierarchy!(INumberRounder, windows_core::IUnknown, windows_core::IInspectable); impl INumberRounder { pub fn RoundInt32(&self, value: i32) -> windows_core::Result { @@ -320,7 +320,7 @@ pub struct INumberRounder_Vtbl { pub RoundSingle: unsafe extern "system" fn(*mut core::ffi::c_void, f32, *mut f32) -> windows_core::HRESULT, pub RoundDouble: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INumberRounderOption, INumberRounderOption_Vtbl, 0x3b088433_646f_4efe_8d48_66eb2e49e736); +windows_core::imp::define_interface!(INumberRounderOption, INumberRounderOption_Vtbl, 0x3b088433_646f_4efe_8d48_66eb2e49e736); windows_core::imp::interface_hierarchy!(INumberRounderOption, windows_core::IUnknown, windows_core::IInspectable); impl INumberRounderOption { pub fn NumberRounder(&self) -> windows_core::Result { @@ -347,7 +347,7 @@ pub struct INumberRounderOption_Vtbl { pub NumberRounder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetNumberRounder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INumeralSystemTranslator, INumeralSystemTranslator_Vtbl, 0x28f5bc2c_8c23_4234_ad2e_fa5a3a426e9b); +windows_core::imp::define_interface!(INumeralSystemTranslator, INumeralSystemTranslator_Vtbl, 0x28f5bc2c_8c23_4234_ad2e_fa5a3a426e9b); #[repr(C)] pub struct INumeralSystemTranslator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -360,7 +360,7 @@ pub struct INumeralSystemTranslator_Vtbl { 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, } -windows_core::imp::com_interface!(INumeralSystemTranslatorFactory, INumeralSystemTranslatorFactory_Vtbl, 0x9630c8da_36ef_4d88_a85c_6f0d98d620a6); +windows_core::imp::define_interface!(INumeralSystemTranslatorFactory, INumeralSystemTranslatorFactory_Vtbl, 0x9630c8da_36ef_4d88_a85c_6f0d98d620a6); #[repr(C)] pub struct INumeralSystemTranslatorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -369,7 +369,7 @@ pub struct INumeralSystemTranslatorFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Create: usize, } -windows_core::imp::com_interface!(IPercentFormatterFactory, IPercentFormatterFactory_Vtbl, 0xb7828aef_fed4_4018_a6e2_e09961e03765); +windows_core::imp::define_interface!(IPercentFormatterFactory, IPercentFormatterFactory_Vtbl, 0xb7828aef_fed4_4018_a6e2_e09961e03765); #[repr(C)] pub struct IPercentFormatterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -378,7 +378,7 @@ pub struct IPercentFormatterFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreatePercentFormatter: usize, } -windows_core::imp::com_interface!(IPermilleFormatterFactory, IPermilleFormatterFactory_Vtbl, 0x2b37b4ac_e638_4ed5_a998_62f6b06a49ae); +windows_core::imp::define_interface!(IPermilleFormatterFactory, IPermilleFormatterFactory_Vtbl, 0x2b37b4ac_e638_4ed5_a998_62f6b06a49ae); #[repr(C)] pub struct IPermilleFormatterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -387,7 +387,7 @@ pub struct IPermilleFormatterFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreatePermilleFormatter: usize, } -windows_core::imp::com_interface!(ISignedZeroOption, ISignedZeroOption_Vtbl, 0xfd1cdd31_0a3c_49c4_a642_96a1564f4f30); +windows_core::imp::define_interface!(ISignedZeroOption, ISignedZeroOption_Vtbl, 0xfd1cdd31_0a3c_49c4_a642_96a1564f4f30); windows_core::imp::interface_hierarchy!(ISignedZeroOption, windows_core::IUnknown, windows_core::IInspectable); impl ISignedZeroOption { pub fn IsZeroSigned(&self) -> windows_core::Result { @@ -411,7 +411,7 @@ pub struct ISignedZeroOption_Vtbl { pub IsZeroSigned: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsZeroSigned: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISignificantDigitsNumberRounder, ISignificantDigitsNumberRounder_Vtbl, 0xf5941bca_6646_4913_8c76_1b191ff94dfd); +windows_core::imp::define_interface!(ISignificantDigitsNumberRounder, ISignificantDigitsNumberRounder_Vtbl, 0xf5941bca_6646_4913_8c76_1b191ff94dfd); #[repr(C)] pub struct ISignificantDigitsNumberRounder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -420,7 +420,7 @@ pub struct ISignificantDigitsNumberRounder_Vtbl { pub SignificantDigits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetSignificantDigits: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISignificantDigitsOption, ISignificantDigitsOption_Vtbl, 0x1d4dfcdd_2d43_4ee8_bbf1_c1b26a711a58); +windows_core::imp::define_interface!(ISignificantDigitsOption, ISignificantDigitsOption_Vtbl, 0x1d4dfcdd_2d43_4ee8_bbf1_c1b26a711a58); windows_core::imp::interface_hierarchy!(ISignificantDigitsOption, windows_core::IUnknown, windows_core::IInspectable); impl ISignificantDigitsOption { pub fn SignificantDigits(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs index c37d10b2d8..f37a6e1c16 100644 --- a/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/PhoneNumberFormatting/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPhoneNumberFormatter, IPhoneNumberFormatter_Vtbl, 0x1556b49e_bad4_4b4a_900d_4407adb7c981); +windows_core::imp::define_interface!(IPhoneNumberFormatter, IPhoneNumberFormatter_Vtbl, 0x1556b49e_bad4_4b4a_900d_4407adb7c981); #[repr(C)] pub struct IPhoneNumberFormatter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct IPhoneNumberFormatter_Vtbl { 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, } -windows_core::imp::com_interface!(IPhoneNumberFormatterStatics, IPhoneNumberFormatterStatics_Vtbl, 0x5ca6f931_84d9_414b_ab4e_a0552c878602); +windows_core::imp::define_interface!(IPhoneNumberFormatterStatics, IPhoneNumberFormatterStatics_Vtbl, 0x5ca6f931_84d9_414b_ab4e_a0552c878602); #[repr(C)] pub struct IPhoneNumberFormatterStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,7 +17,7 @@ pub struct IPhoneNumberFormatterStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IPhoneNumberInfo, IPhoneNumberInfo_Vtbl, 0x1c7ce4dd_c8b4_4ea3_9aef_b342e2c5b417); +windows_core::imp::define_interface!(IPhoneNumberInfo, IPhoneNumberInfo_Vtbl, 0x1c7ce4dd_c8b4_4ea3_9aef_b342e2c5b417); #[repr(C)] pub struct IPhoneNumberInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,13 +30,13 @@ pub struct IPhoneNumberInfo_Vtbl { pub GetGeographicRegionCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IPhoneNumberInfoFactory, IPhoneNumberInfoFactory_Vtbl, 0x8202b964_adaa_4cff_8fcf_17e7516a28ff); +windows_core::imp::define_interface!(IPhoneNumberInfoFactory, IPhoneNumberInfoFactory_Vtbl, 0x8202b964_adaa_4cff_8fcf_17e7516a28ff); #[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, } -windows_core::imp::com_interface!(IPhoneNumberInfoStatics, IPhoneNumberInfoStatics_Vtbl, 0x5b3f4f6a_86a9_40e9_8649_6d61161928d4); +windows_core::imp::define_interface!(IPhoneNumberInfoStatics, IPhoneNumberInfoStatics_Vtbl, 0x5b3f4f6a_86a9_40e9_8649_6d61161928d4); #[repr(C)] pub struct IPhoneNumberInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Globalization/mod.rs b/crates/libs/windows/src/Windows/Globalization/mod.rs index 8631886995..e1818858a4 100644 --- a/crates/libs/windows/src/Windows/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Globalization/mod.rs @@ -8,7 +8,7 @@ pub mod Fonts; pub mod NumberFormatting; #[cfg(feature = "Globalization_PhoneNumberFormatting")] pub mod PhoneNumberFormatting; -windows_core::imp::com_interface!(IApplicationLanguagesStatics, IApplicationLanguagesStatics_Vtbl, 0x75b40847_0a4c_4a92_9565_fd63c95f7aed); +windows_core::imp::define_interface!(IApplicationLanguagesStatics, IApplicationLanguagesStatics_Vtbl, 0x75b40847_0a4c_4a92_9565_fd63c95f7aed); #[repr(C)] pub struct IApplicationLanguagesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct IApplicationLanguagesStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ManifestLanguages: usize, } -windows_core::imp::com_interface!(IApplicationLanguagesStatics2, IApplicationLanguagesStatics2_Vtbl, 0x1df0de4f_072b_4d7b_8f06_cb2db40f2bb5); +windows_core::imp::define_interface!(IApplicationLanguagesStatics2, IApplicationLanguagesStatics2_Vtbl, 0x1df0de4f_072b_4d7b_8f06_cb2db40f2bb5); #[repr(C)] pub struct IApplicationLanguagesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -32,7 +32,7 @@ pub struct IApplicationLanguagesStatics2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "System")))] GetLanguagesForUser: usize, } -windows_core::imp::com_interface!(ICalendar, ICalendar_Vtbl, 0xca30221d_86d9_40fb_a26b_d44eb7cf08ea); +windows_core::imp::define_interface!(ICalendar, ICalendar_Vtbl, 0xca30221d_86d9_40fb_a26b_d44eb7cf08ea); #[repr(C)] pub struct ICalendar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -138,7 +138,7 @@ pub struct ICalendar_Vtbl { pub ResolvedLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub IsDaylightSavingTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICalendarFactory, ICalendarFactory_Vtbl, 0x83f58412_e56b_4c75_a66e_0f63d57758a6); +windows_core::imp::define_interface!(ICalendarFactory, ICalendarFactory_Vtbl, 0x83f58412_e56b_4c75_a66e_0f63d57758a6); #[repr(C)] pub struct ICalendarFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -151,7 +151,7 @@ pub struct ICalendarFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateCalendar: usize, } -windows_core::imp::com_interface!(ICalendarFactory2, ICalendarFactory2_Vtbl, 0xb44b378c_ca7e_4590_9e72_ea2bec1a5115); +windows_core::imp::define_interface!(ICalendarFactory2, ICalendarFactory2_Vtbl, 0xb44b378c_ca7e_4590_9e72_ea2bec1a5115); #[repr(C)] pub struct ICalendarFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -160,7 +160,7 @@ pub struct ICalendarFactory2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateCalendarWithTimeZone: usize, } -windows_core::imp::com_interface!(ICalendarIdentifiersStatics, ICalendarIdentifiersStatics_Vtbl, 0x80653f68_2cb2_4c1f_b590_f0f52bf4fd1a); +windows_core::imp::define_interface!(ICalendarIdentifiersStatics, ICalendarIdentifiersStatics_Vtbl, 0x80653f68_2cb2_4c1f_b590_f0f52bf4fd1a); #[repr(C)] pub struct ICalendarIdentifiersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -174,13 +174,13 @@ pub struct ICalendarIdentifiersStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ICalendarIdentifiersStatics2, ICalendarIdentifiersStatics2_Vtbl, 0x7df4d488_5fd0_42a7_95b5_7d98d823075f); +windows_core::imp::define_interface!(ICalendarIdentifiersStatics2, ICalendarIdentifiersStatics2_Vtbl, 0x7df4d488_5fd0_42a7_95b5_7d98d823075f); #[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, } -windows_core::imp::com_interface!(ICalendarIdentifiersStatics3, ICalendarIdentifiersStatics3_Vtbl, 0x2c225423_1fad_40c0_9334_a8eb90db04f5); +windows_core::imp::define_interface!(ICalendarIdentifiersStatics3, ICalendarIdentifiersStatics3_Vtbl, 0x2c225423_1fad_40c0_9334_a8eb90db04f5); #[repr(C)] pub struct ICalendarIdentifiersStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -190,27 +190,27 @@ pub struct ICalendarIdentifiersStatics3_Vtbl { 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, } -windows_core::imp::com_interface!(IClockIdentifiersStatics, IClockIdentifiersStatics_Vtbl, 0x523805bb_12ec_4f83_bc31_b1b4376b0808); +windows_core::imp::define_interface!(IClockIdentifiersStatics, IClockIdentifiersStatics_Vtbl, 0x523805bb_12ec_4f83_bc31_b1b4376b0808); #[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, } -windows_core::imp::com_interface!(ICurrencyAmount, ICurrencyAmount_Vtbl, 0x74b49942_eb75_443a_95b3_7d723f56f93c); +windows_core::imp::define_interface!(ICurrencyAmount, ICurrencyAmount_Vtbl, 0x74b49942_eb75_443a_95b3_7d723f56f93c); #[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, } -windows_core::imp::com_interface!(ICurrencyAmountFactory, ICurrencyAmountFactory_Vtbl, 0x48d7168f_ef3b_4aee_a6a1_4b036fe03ff0); +windows_core::imp::define_interface!(ICurrencyAmountFactory, ICurrencyAmountFactory_Vtbl, 0x48d7168f_ef3b_4aee_a6a1_4b036fe03ff0); #[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, } -windows_core::imp::com_interface!(ICurrencyIdentifiersStatics, ICurrencyIdentifiersStatics_Vtbl, 0x9f1d091b_d586_4913_9b6a_a9bd2dc12874); +windows_core::imp::define_interface!(ICurrencyIdentifiersStatics, ICurrencyIdentifiersStatics_Vtbl, 0x9f1d091b_d586_4913_9b6a_a9bd2dc12874); #[repr(C)] pub struct ICurrencyIdentifiersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -372,13 +372,13 @@ pub struct ICurrencyIdentifiersStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ICurrencyIdentifiersStatics2, ICurrencyIdentifiersStatics2_Vtbl, 0x1814797f_c3b2_4c33_9591_980011950d37); +windows_core::imp::define_interface!(ICurrencyIdentifiersStatics2, ICurrencyIdentifiersStatics2_Vtbl, 0x1814797f_c3b2_4c33_9591_980011950d37); #[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, } -windows_core::imp::com_interface!(ICurrencyIdentifiersStatics3, ICurrencyIdentifiersStatics3_Vtbl, 0x4fb23bfa_ed25_4f4d_857f_237f1748c21c); +windows_core::imp::define_interface!(ICurrencyIdentifiersStatics3, ICurrencyIdentifiersStatics3_Vtbl, 0x4fb23bfa_ed25_4f4d_857f_237f1748c21c); #[repr(C)] pub struct ICurrencyIdentifiersStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -387,7 +387,7 @@ pub struct ICurrencyIdentifiersStatics3_Vtbl { 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, } -windows_core::imp::com_interface!(IGeographicRegion, IGeographicRegion_Vtbl, 0x01e9a621_4a64_4ed9_954f_9edeb07bd903); +windows_core::imp::define_interface!(IGeographicRegion, IGeographicRegion_Vtbl, 0x01e9a621_4a64_4ed9_954f_9edeb07bd903); #[repr(C)] pub struct IGeographicRegion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -402,19 +402,19 @@ pub struct IGeographicRegion_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CurrenciesInUse: usize, } -windows_core::imp::com_interface!(IGeographicRegionFactory, IGeographicRegionFactory_Vtbl, 0x53425270_77b4_426b_859f_81e19d512546); +windows_core::imp::define_interface!(IGeographicRegionFactory, IGeographicRegionFactory_Vtbl, 0x53425270_77b4_426b_859f_81e19d512546); #[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, } -windows_core::imp::com_interface!(IGeographicRegionStatics, IGeographicRegionStatics_Vtbl, 0x29e28974_7ad9_4ef4_8799_b3b44fadec08); +windows_core::imp::define_interface!(IGeographicRegionStatics, IGeographicRegionStatics_Vtbl, 0x29e28974_7ad9_4ef4_8799_b3b44fadec08); #[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, } -windows_core::imp::com_interface!(IJapanesePhoneme, IJapanesePhoneme_Vtbl, 0x2f6a9300_e85b_43e6_897d_5d82f862df21); +windows_core::imp::define_interface!(IJapanesePhoneme, IJapanesePhoneme_Vtbl, 0x2f6a9300_e85b_43e6_897d_5d82f862df21); #[repr(C)] pub struct IJapanesePhoneme_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -422,7 +422,7 @@ pub struct IJapanesePhoneme_Vtbl { pub YomiText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub IsPhraseStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IJapanesePhoneticAnalyzerStatics, IJapanesePhoneticAnalyzerStatics_Vtbl, 0x88ab9e90_93de_41b2_b4d5_8edb227fd1c2); +windows_core::imp::define_interface!(IJapanesePhoneticAnalyzerStatics, IJapanesePhoneticAnalyzerStatics_Vtbl, 0x88ab9e90_93de_41b2_b4d5_8edb227fd1c2); #[repr(C)] pub struct IJapanesePhoneticAnalyzerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -435,7 +435,7 @@ pub struct IJapanesePhoneticAnalyzerStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetWordsWithMonoRubyOption: usize, } -windows_core::imp::com_interface!(ILanguage, ILanguage_Vtbl, 0xea79a752_f7c2_4265_b1bd_c4dec4e4f080); +windows_core::imp::define_interface!(ILanguage, ILanguage_Vtbl, 0xea79a752_f7c2_4265_b1bd_c4dec4e4f080); #[repr(C)] pub struct ILanguage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -444,19 +444,19 @@ pub struct ILanguage_Vtbl { 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, } -windows_core::imp::com_interface!(ILanguage2, ILanguage2_Vtbl, 0x6a47e5b5_d94d_4886_a404_a5a5b9d5b494); +windows_core::imp::define_interface!(ILanguage2, ILanguage2_Vtbl, 0x6a47e5b5_d94d_4886_a404_a5a5b9d5b494); #[repr(C)] pub struct ILanguage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LayoutDirection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LanguageLayoutDirection) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILanguage3, ILanguage3_Vtbl, 0xc6af3d10_641a_5ba4_bb43_5e12aed75954); +windows_core::imp::define_interface!(ILanguage3, ILanguage3_Vtbl, 0xc6af3d10_641a_5ba4_bb43_5e12aed75954); #[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, } -windows_core::imp::com_interface!(ILanguageExtensionSubtags, ILanguageExtensionSubtags_Vtbl, 0x7d7daf45_368d_4364_852b_dec927037b85); +windows_core::imp::define_interface!(ILanguageExtensionSubtags, ILanguageExtensionSubtags_Vtbl, 0x7d7daf45_368d_4364_852b_dec927037b85); #[repr(C)] pub struct ILanguageExtensionSubtags_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -465,26 +465,26 @@ pub struct ILanguageExtensionSubtags_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetExtensionSubtags: usize, } -windows_core::imp::com_interface!(ILanguageFactory, ILanguageFactory_Vtbl, 0x9b0252ac_0c27_44f8_b792_9793fb66c63e); +windows_core::imp::define_interface!(ILanguageFactory, ILanguageFactory_Vtbl, 0x9b0252ac_0c27_44f8_b792_9793fb66c63e); #[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, } -windows_core::imp::com_interface!(ILanguageStatics, ILanguageStatics_Vtbl, 0xb23cd557_0865_46d4_89b8_d59be8990f0d); +windows_core::imp::define_interface!(ILanguageStatics, ILanguageStatics_Vtbl, 0xb23cd557_0865_46d4_89b8_d59be8990f0d); #[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, } -windows_core::imp::com_interface!(ILanguageStatics2, ILanguageStatics2_Vtbl, 0x30199f6e_914b_4b2a_9d6e_e3b0e27dbe4f); +windows_core::imp::define_interface!(ILanguageStatics2, ILanguageStatics2_Vtbl, 0x30199f6e_914b_4b2a_9d6e_e3b0e27dbe4f); #[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, } -windows_core::imp::com_interface!(ILanguageStatics3, ILanguageStatics3_Vtbl, 0xd15ecb5a_71de_5752_9542_fac5b4f27261); +windows_core::imp::define_interface!(ILanguageStatics3, ILanguageStatics3_Vtbl, 0xd15ecb5a_71de_5752_9542_fac5b4f27261); #[repr(C)] pub struct ILanguageStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -493,7 +493,7 @@ pub struct ILanguageStatics3_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetMuiCompatibleLanguageListFromLanguageTags: usize, } -windows_core::imp::com_interface!(INumeralSystemIdentifiersStatics, INumeralSystemIdentifiersStatics_Vtbl, 0xa5c662c3_68c9_4d3d_b765_972029e21dec); +windows_core::imp::define_interface!(INumeralSystemIdentifiersStatics, INumeralSystemIdentifiersStatics_Vtbl, 0xa5c662c3_68c9_4d3d_b765_972029e21dec); #[repr(C)] pub struct INumeralSystemIdentifiersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -534,7 +534,7 @@ pub struct INumeralSystemIdentifiersStatics_Vtbl { 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, } -windows_core::imp::com_interface!(INumeralSystemIdentifiersStatics2, INumeralSystemIdentifiersStatics2_Vtbl, 0x7f003228_9ddb_4a34_9104_0260c091a7c7); +windows_core::imp::define_interface!(INumeralSystemIdentifiersStatics2, INumeralSystemIdentifiersStatics2_Vtbl, 0x7f003228_9ddb_4a34_9104_0260c091a7c7); #[repr(C)] pub struct INumeralSystemIdentifiersStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -551,7 +551,7 @@ pub struct INumeralSystemIdentifiersStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(ITimeZoneOnCalendar, ITimeZoneOnCalendar_Vtbl, 0xbb3c25e5_46cf_4317_a3f5_02621ad54478); +windows_core::imp::define_interface!(ITimeZoneOnCalendar, ITimeZoneOnCalendar_Vtbl, 0xbb3c25e5_46cf_4317_a3f5_02621ad54478); #[repr(C)] pub struct ITimeZoneOnCalendar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs index 07796c8f82..856cd1ae25 100644 --- a/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Capture/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDirect3D11CaptureFrame, IDirect3D11CaptureFrame_Vtbl, 0xfa50c623_38da_4b32_acf3_fa9734ad800e); +windows_core::imp::define_interface!(IDirect3D11CaptureFrame, IDirect3D11CaptureFrame_Vtbl, 0xfa50c623_38da_4b32_acf3_fa9734ad800e); #[repr(C)] pub struct IDirect3D11CaptureFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IDirect3D11CaptureFrame_Vtbl { pub SystemRelativeTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub ContentSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::SizeInt32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3D11CaptureFramePool, IDirect3D11CaptureFramePool_Vtbl, 0x24eb6d22_1975_422e_82e7_780dbd8ddf24); +windows_core::imp::define_interface!(IDirect3D11CaptureFramePool, IDirect3D11CaptureFramePool_Vtbl, 0x24eb6d22_1975_422e_82e7_780dbd8ddf24); #[repr(C)] pub struct IDirect3D11CaptureFramePool_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct IDirect3D11CaptureFramePool_Vtbl { #[cfg(not(feature = "System"))] DispatcherQueue: usize, } -windows_core::imp::com_interface!(IDirect3D11CaptureFramePoolStatics, IDirect3D11CaptureFramePoolStatics_Vtbl, 0x7784056a_67aa_4d53_ae54_1088d5a8ca21); +windows_core::imp::define_interface!(IDirect3D11CaptureFramePoolStatics, IDirect3D11CaptureFramePoolStatics_Vtbl, 0x7784056a_67aa_4d53_ae54_1088d5a8ca21); #[repr(C)] pub struct IDirect3D11CaptureFramePoolStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,7 +35,7 @@ pub struct IDirect3D11CaptureFramePoolStatics_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] Create: usize, } -windows_core::imp::com_interface!(IDirect3D11CaptureFramePoolStatics2, IDirect3D11CaptureFramePoolStatics2_Vtbl, 0x589b103f_6bbc_5df5_a991_02e28b3b66d5); +windows_core::imp::define_interface!(IDirect3D11CaptureFramePoolStatics2, IDirect3D11CaptureFramePoolStatics2_Vtbl, 0x589b103f_6bbc_5df5_a991_02e28b3b66d5); #[repr(C)] pub struct IDirect3D11CaptureFramePoolStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,7 +44,7 @@ pub struct IDirect3D11CaptureFramePoolStatics2_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] CreateFreeThreaded: usize, } -windows_core::imp::com_interface!(IGraphicsCaptureAccessStatics, IGraphicsCaptureAccessStatics_Vtbl, 0x743ed370_06ec_5040_a58a_901f0f757095); +windows_core::imp::define_interface!(IGraphicsCaptureAccessStatics, IGraphicsCaptureAccessStatics_Vtbl, 0x743ed370_06ec_5040_a58a_901f0f757095); #[repr(C)] pub struct IGraphicsCaptureAccessStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,7 +53,7 @@ pub struct IGraphicsCaptureAccessStatics_Vtbl { #[cfg(not(feature = "Security_Authorization_AppCapabilityAccess"))] RequestAccessAsync: usize, } -windows_core::imp::com_interface!(IGraphicsCaptureItem, IGraphicsCaptureItem_Vtbl, 0x79c3f95b_31f7_4ec2_a464_632ef5d30760); +windows_core::imp::define_interface!(IGraphicsCaptureItem, IGraphicsCaptureItem_Vtbl, 0x79c3f95b_31f7_4ec2_a464_632ef5d30760); #[repr(C)] pub struct IGraphicsCaptureItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -62,7 +62,7 @@ pub struct IGraphicsCaptureItem_Vtbl { 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, } -windows_core::imp::com_interface!(IGraphicsCaptureItemStatics, IGraphicsCaptureItemStatics_Vtbl, 0xa87ebea5_457c_5788_ab47_0cf1d3637e74); +windows_core::imp::define_interface!(IGraphicsCaptureItemStatics, IGraphicsCaptureItemStatics_Vtbl, 0xa87ebea5_457c_5788_ab47_0cf1d3637e74); #[repr(C)] pub struct IGraphicsCaptureItemStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -71,7 +71,7 @@ pub struct IGraphicsCaptureItemStatics_Vtbl { #[cfg(not(feature = "UI_Composition"))] CreateFromVisual: usize, } -windows_core::imp::com_interface!(IGraphicsCaptureItemStatics2, IGraphicsCaptureItemStatics2_Vtbl, 0x3b92acc9_e584_5862_bf5c_9c316c6d2dbb); +windows_core::imp::define_interface!(IGraphicsCaptureItemStatics2, IGraphicsCaptureItemStatics2_Vtbl, 0x3b92acc9_e584_5862_bf5c_9c316c6d2dbb); #[repr(C)] pub struct IGraphicsCaptureItemStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -81,33 +81,33 @@ pub struct IGraphicsCaptureItemStatics2_Vtbl { TryCreateFromWindowId: usize, pub TryCreateFromDisplayId: unsafe extern "system" fn(*mut core::ffi::c_void, super::DisplayId, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGraphicsCapturePicker, IGraphicsCapturePicker_Vtbl, 0x5a1711b3_ad79_4b4a_9336_1318fdde3539); +windows_core::imp::define_interface!(IGraphicsCapturePicker, IGraphicsCapturePicker_Vtbl, 0x5a1711b3_ad79_4b4a_9336_1318fdde3539); #[repr(C)] pub struct IGraphicsCapturePicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PickSingleItemAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGraphicsCaptureSession, IGraphicsCaptureSession_Vtbl, 0x814e42a9_f70f_4ad7_939b_fddcc6eb880d); +windows_core::imp::define_interface!(IGraphicsCaptureSession, IGraphicsCaptureSession_Vtbl, 0x814e42a9_f70f_4ad7_939b_fddcc6eb880d); #[repr(C)] pub struct IGraphicsCaptureSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StartCapture: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGraphicsCaptureSession2, IGraphicsCaptureSession2_Vtbl, 0x2c39ae40_7d2e_5044_804e_8b6799d4cf9e); +windows_core::imp::define_interface!(IGraphicsCaptureSession2, IGraphicsCaptureSession2_Vtbl, 0x2c39ae40_7d2e_5044_804e_8b6799d4cf9e); #[repr(C)] pub struct IGraphicsCaptureSession2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsCursorCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsCursorCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGraphicsCaptureSession3, IGraphicsCaptureSession3_Vtbl, 0xf2cdd966_22ae_5ea1_9596_3a289344c3be); +windows_core::imp::define_interface!(IGraphicsCaptureSession3, IGraphicsCaptureSession3_Vtbl, 0xf2cdd966_22ae_5ea1_9596_3a289344c3be); #[repr(C)] pub struct IGraphicsCaptureSession3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsBorderRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsBorderRequired: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGraphicsCaptureSessionStatics, IGraphicsCaptureSessionStatics_Vtbl, 0x2224a540_5974_49aa_b232_0882536f4cb5); +windows_core::imp::define_interface!(IGraphicsCaptureSessionStatics, IGraphicsCaptureSessionStatics_Vtbl, 0x2224a540_5974_49aa_b232_0882536f4cb5); #[repr(C)] pub struct IGraphicsCaptureSessionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 a01a5da0ea..6ca0a2c7da 100644 --- a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDirect3DDevice, IDirect3DDevice_Vtbl, 0xa37624ab_8d5f_4650_9d3e_9eae3d9bc670); +windows_core::imp::define_interface!(IDirect3DDevice, IDirect3DDevice_Vtbl, 0xa37624ab_8d5f_4650_9d3e_9eae3d9bc670); windows_core::imp::interface_hierarchy!(IDirect3DDevice, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IDirect3DDevice, super::super::super::Foundation::IClosable); impl IDirect3DDevice { @@ -19,7 +19,7 @@ pub struct IDirect3DDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Trim: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DSurface, IDirect3DSurface_Vtbl, 0x0bf4a146_13c1_4694_bee3_7abf15eaf586); +windows_core::imp::define_interface!(IDirect3DSurface, IDirect3DSurface_Vtbl, 0x0bf4a146_13c1_4694_bee3_7abf15eaf586); windows_core::imp::interface_hierarchy!(IDirect3DSurface, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IDirect3DSurface, super::super::super::Foundation::IClosable); impl IDirect3DSurface { 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 5fe3ed2338..db3c792399 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IHdmiDisplayInformation, IHdmiDisplayInformation_Vtbl, 0x130b3c0a_f565_476e_abd5_ea05aee74c69); +windows_core::imp::define_interface!(IHdmiDisplayInformation, IHdmiDisplayInformation_Vtbl, 0x130b3c0a_f565_476e_abd5_ea05aee74c69); #[repr(C)] pub struct IHdmiDisplayInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -14,13 +14,13 @@ pub struct IHdmiDisplayInformation_Vtbl { pub DisplayModesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDisplayModesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHdmiDisplayInformationStatics, IHdmiDisplayInformationStatics_Vtbl, 0x6ce6b260_f42a_4a15_914c_7b8e2a5a65df); +windows_core::imp::define_interface!(IHdmiDisplayInformationStatics, IHdmiDisplayInformationStatics_Vtbl, 0x6ce6b260_f42a_4a15_914c_7b8e2a5a65df); #[repr(C)] pub struct IHdmiDisplayInformationStatics_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, } -windows_core::imp::com_interface!(IHdmiDisplayMode, IHdmiDisplayMode_Vtbl, 0x0c06d5ad_1b90_4f51_9981_ef5a1c0ddf66); +windows_core::imp::define_interface!(IHdmiDisplayMode, IHdmiDisplayMode_Vtbl, 0x0c06d5ad_1b90_4f51_9981_ef5a1c0ddf66); #[repr(C)] pub struct IHdmiDisplayMode_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -36,7 +36,7 @@ pub struct IHdmiDisplayMode_Vtbl { pub IsSmpte2084Supported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Is2086MetadataSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHdmiDisplayMode2, IHdmiDisplayMode2_Vtbl, 0x07cd4e9f_4b3c_42b8_84e7_895368718af2); +windows_core::imp::define_interface!(IHdmiDisplayMode2, IHdmiDisplayMode2_Vtbl, 0x07cd4e9f_4b3c_42b8_84e7_895368718af2); #[repr(C)] pub struct IHdmiDisplayMode2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs index 65e457a436..9ebf78952c 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Graphics_Display_Core")] pub mod Core; -windows_core::imp::com_interface!(IAdvancedColorInfo, IAdvancedColorInfo_Vtbl, 0x8797dcfb_b229_4081_ae9a_2cc85e34ad6a); +windows_core::imp::define_interface!(IAdvancedColorInfo, IAdvancedColorInfo_Vtbl, 0x8797dcfb_b229_4081_ae9a_2cc85e34ad6a); #[repr(C)] pub struct IAdvancedColorInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,7 +16,7 @@ pub struct IAdvancedColorInfo_Vtbl { pub IsHdrMetadataFormatCurrentlySupported: unsafe extern "system" fn(*mut core::ffi::c_void, HdrMetadataFormat, *mut bool) -> windows_core::HRESULT, pub IsAdvancedColorKindAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, AdvancedColorKind, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBrightnessOverride, IBrightnessOverride_Vtbl, 0x96c9621a_c143_4392_bedd_4a7e9574c8fd); +windows_core::imp::define_interface!(IBrightnessOverride, IBrightnessOverride_Vtbl, 0x96c9621a_c143_4392_bedd_4a7e9574c8fd); #[repr(C)] pub struct IBrightnessOverride_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,14 +35,14 @@ pub struct IBrightnessOverride_Vtbl { pub BrightnessLevelChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveBrightnessLevelChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBrightnessOverrideSettings, IBrightnessOverrideSettings_Vtbl, 0xd112ab2a_7604_4dba_bcf8_4b6f49502cb0); +windows_core::imp::define_interface!(IBrightnessOverrideSettings, IBrightnessOverrideSettings_Vtbl, 0xd112ab2a_7604_4dba_bcf8_4b6f49502cb0); #[repr(C)] pub struct IBrightnessOverrideSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DesiredLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub DesiredNits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBrightnessOverrideSettingsStatics, IBrightnessOverrideSettingsStatics_Vtbl, 0xd487dc90_6f74_440b_b383_5fe96cf00b0f); +windows_core::imp::define_interface!(IBrightnessOverrideSettingsStatics, IBrightnessOverrideSettingsStatics_Vtbl, 0xd487dc90_6f74_440b_b383_5fe96cf00b0f); #[repr(C)] pub struct IBrightnessOverrideSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -50,7 +50,7 @@ pub struct IBrightnessOverrideSettingsStatics_Vtbl { pub CreateFromNits: unsafe extern "system" fn(*mut core::ffi::c_void, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFromDisplayBrightnessOverrideScenario: unsafe extern "system" fn(*mut core::ffi::c_void, DisplayBrightnessOverrideScenario, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBrightnessOverrideStatics, IBrightnessOverrideStatics_Vtbl, 0x03a7b9ed_e1f1_4a68_a11f_946ad8ce5393); +windows_core::imp::define_interface!(IBrightnessOverrideStatics, IBrightnessOverrideStatics_Vtbl, 0x03a7b9ed_e1f1_4a68_a11f_946ad8ce5393); #[repr(C)] pub struct IBrightnessOverrideStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,19 +58,19 @@ pub struct IBrightnessOverrideStatics_Vtbl { pub GetForCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveForSystemAsync: 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::com_interface!(IColorOverrideSettings, IColorOverrideSettings_Vtbl, 0xfbefa134_4a81_4c4d_a5b6_7d1b5c4bd00b); +windows_core::imp::define_interface!(IColorOverrideSettings, IColorOverrideSettings_Vtbl, 0xfbefa134_4a81_4c4d_a5b6_7d1b5c4bd00b); #[repr(C)] pub struct IColorOverrideSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DesiredDisplayColorOverrideScenario: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DisplayColorOverrideScenario) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IColorOverrideSettingsStatics, IColorOverrideSettingsStatics_Vtbl, 0xb068e05f_c41f_4ac9_afab_827ab6248f9a); +windows_core::imp::define_interface!(IColorOverrideSettingsStatics, IColorOverrideSettingsStatics_Vtbl, 0xb068e05f_c41f_4ac9_afab_827ab6248f9a); #[repr(C)] pub struct IColorOverrideSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFromDisplayColorOverrideScenario: unsafe extern "system" fn(*mut core::ffi::c_void, DisplayColorOverrideScenario, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayEnhancementOverride, IDisplayEnhancementOverride_Vtbl, 0x429594cf_d97a_4b02_a428_5c4292f7f522); +windows_core::imp::define_interface!(IDisplayEnhancementOverride, IDisplayEnhancementOverride_Vtbl, 0x429594cf_d97a_4b02_a428_5c4292f7f522); #[repr(C)] pub struct IDisplayEnhancementOverride_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -90,7 +90,7 @@ pub struct IDisplayEnhancementOverride_Vtbl { pub DisplayEnhancementOverrideCapabilitiesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDisplayEnhancementOverrideCapabilitiesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayEnhancementOverrideCapabilities, IDisplayEnhancementOverrideCapabilities_Vtbl, 0x457060de_ee5a_47b7_9918_1e51e812ccc8); +windows_core::imp::define_interface!(IDisplayEnhancementOverrideCapabilities, IDisplayEnhancementOverrideCapabilities_Vtbl, 0x457060de_ee5a_47b7_9918_1e51e812ccc8); #[repr(C)] pub struct IDisplayEnhancementOverrideCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -101,19 +101,19 @@ pub struct IDisplayEnhancementOverrideCapabilities_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetSupportedNitRanges: usize, } -windows_core::imp::com_interface!(IDisplayEnhancementOverrideCapabilitiesChangedEventArgs, IDisplayEnhancementOverrideCapabilitiesChangedEventArgs_Vtbl, 0xdb61e664_15fa_49da_8b77_07dbd2af585d); +windows_core::imp::define_interface!(IDisplayEnhancementOverrideCapabilitiesChangedEventArgs, IDisplayEnhancementOverrideCapabilitiesChangedEventArgs_Vtbl, 0xdb61e664_15fa_49da_8b77_07dbd2af585d); #[repr(C)] pub struct IDisplayEnhancementOverrideCapabilitiesChangedEventArgs_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, } -windows_core::imp::com_interface!(IDisplayEnhancementOverrideStatics, IDisplayEnhancementOverrideStatics_Vtbl, 0xcf5b7ec1_9791_4453_b013_29b6f778e519); +windows_core::imp::define_interface!(IDisplayEnhancementOverrideStatics, IDisplayEnhancementOverrideStatics_Vtbl, 0xcf5b7ec1_9791_4453_b013_29b6f778e519); #[repr(C)] pub struct IDisplayEnhancementOverrideStatics_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, } -windows_core::imp::com_interface!(IDisplayInformation, IDisplayInformation_Vtbl, 0xbed112ae_adc3_4dc9_ae65_851f4d7d4799); +windows_core::imp::define_interface!(IDisplayInformation, IDisplayInformation_Vtbl, 0xbed112ae_adc3_4dc9_ae65_851f4d7d4799); #[repr(C)] pub struct IDisplayInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -137,26 +137,26 @@ pub struct IDisplayInformation_Vtbl { pub ColorProfileChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveColorProfileChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayInformation2, IDisplayInformation2_Vtbl, 0x4dcd0021_fad1_4b8e_8edf_775887b8bf19); +windows_core::imp::define_interface!(IDisplayInformation2, IDisplayInformation2_Vtbl, 0x4dcd0021_fad1_4b8e_8edf_775887b8bf19); #[repr(C)] pub struct IDisplayInformation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RawPixelsPerViewPixel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayInformation3, IDisplayInformation3_Vtbl, 0xdb15011d_0f09_4466_8ff3_11de9a3c929a); +windows_core::imp::define_interface!(IDisplayInformation3, IDisplayInformation3_Vtbl, 0xdb15011d_0f09_4466_8ff3_11de9a3c929a); #[repr(C)] pub struct IDisplayInformation3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DiagonalSizeInInches: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayInformation4, IDisplayInformation4_Vtbl, 0xc972ce2f_1242_46be_b536_e1aafe9e7acf); +windows_core::imp::define_interface!(IDisplayInformation4, IDisplayInformation4_Vtbl, 0xc972ce2f_1242_46be_b536_e1aafe9e7acf); #[repr(C)] pub struct IDisplayInformation4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ScreenWidthInRawPixels: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub ScreenHeightInRawPixels: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayInformation5, IDisplayInformation5_Vtbl, 0x3a5442dc_2cde_4a8d_80d1_21dc5adcc1aa); +windows_core::imp::define_interface!(IDisplayInformation5, IDisplayInformation5_Vtbl, 0x3a5442dc_2cde_4a8d_80d1_21dc5adcc1aa); #[repr(C)] pub struct IDisplayInformation5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -164,7 +164,7 @@ pub struct IDisplayInformation5_Vtbl { pub AdvancedColorInfoChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAdvancedColorInfoChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayInformationStatics, IDisplayInformationStatics_Vtbl, 0xc6a02a6c_d452_44dc_ba07_96f3c6adf9d1); +windows_core::imp::define_interface!(IDisplayInformationStatics, IDisplayInformationStatics_Vtbl, 0xc6a02a6c_d452_44dc_ba07_96f3c6adf9d1); #[repr(C)] pub struct IDisplayInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -175,7 +175,7 @@ pub struct IDisplayInformationStatics_Vtbl { pub RemoveDisplayContentsInvalidated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IDisplayPropertiesStatics, IDisplayPropertiesStatics_Vtbl, 0x6937ed8d_30ea_4ded_8271_4553ff02f68a); +windows_core::imp::define_interface!(IDisplayPropertiesStatics, IDisplayPropertiesStatics_Vtbl, 0x6937ed8d_30ea_4ded_8271_4553ff02f68a); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IDisplayPropertiesStatics_Vtbl { @@ -253,12 +253,12 @@ pub struct IDisplayPropertiesStatics_Vtbl { #[cfg(not(feature = "deprecated"))] RemoveDisplayContentsInvalidated: usize, } -windows_core::imp::com_interface!(IDisplayServices, IDisplayServices_Vtbl, 0x1b54f32b_890d_5747_bd26_fdbdeb0c8a71); +windows_core::imp::define_interface!(IDisplayServices, IDisplayServices_Vtbl, 0x1b54f32b_890d_5747_bd26_fdbdeb0c8a71); #[repr(C)] pub struct IDisplayServices_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IDisplayServicesStatics, IDisplayServicesStatics_Vtbl, 0xdc2096bf_730a_5560_b461_91c13d692e0c); +windows_core::imp::define_interface!(IDisplayServicesStatics, IDisplayServicesStatics_Vtbl, 0xdc2096bf_730a_5560_b461_91c13d692e0c); #[repr(C)] pub struct IDisplayServicesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1418,7 +1418,7 @@ impl Default for NitRange { } } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(DisplayPropertiesEventHandler, DisplayPropertiesEventHandler_Vtbl, 0xdbdd8b01_f1a1_46d1_9ee3_543bcc995980); +windows_core::imp::define_interface!(DisplayPropertiesEventHandler, DisplayPropertiesEventHandler_Vtbl, 0xdbdd8b01_f1a1_46d1_9ee3_543bcc995980); #[cfg(feature = "deprecated")] impl DisplayPropertiesEventHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { diff --git a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs index 8bf929a069..f78452fe3c 100644 --- a/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Effects/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGraphicsEffect, IGraphicsEffect_Vtbl, 0xcb51c0ce_8fe6_4636_b202_861faa07d8f3); +windows_core::imp::define_interface!(IGraphicsEffect, IGraphicsEffect_Vtbl, 0xcb51c0ce_8fe6_4636_b202_861faa07d8f3); windows_core::imp::interface_hierarchy!(IGraphicsEffect, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IGraphicsEffect, IGraphicsEffectSource); impl IGraphicsEffect { @@ -23,7 +23,7 @@ pub struct IGraphicsEffect_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, } -windows_core::imp::com_interface!(IGraphicsEffectSource, IGraphicsEffectSource_Vtbl, 0x2d8f9ddc_4339_4eb9_9216_f9deb75658a2); +windows_core::imp::define_interface!(IGraphicsEffectSource, IGraphicsEffectSource_Vtbl, 0x2d8f9ddc_4339_4eb9_9216_f9deb75658a2); windows_core::imp::interface_hierarchy!(IGraphicsEffectSource, windows_core::IUnknown, windows_core::IInspectable); impl IGraphicsEffectSource {} impl windows_core::RuntimeType for IGraphicsEffectSource { diff --git a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs index 224cc08703..7ee6082a9e 100644 --- a/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Holographic/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IHolographicCamera, IHolographicCamera_Vtbl, 0xe4e98445_9bed_4980_9ba0_e87680d1cb74); +windows_core::imp::define_interface!(IHolographicCamera, IHolographicCamera_Vtbl, 0xe4e98445_9bed_4980_9ba0_e87680d1cb74); #[repr(C)] pub struct IHolographicCamera_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -10,7 +10,7 @@ pub struct IHolographicCamera_Vtbl { pub SetNearPlaneDistance: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub SetFarPlaneDistance: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicCamera2, IHolographicCamera2_Vtbl, 0xb55b9f1a_ba8c_4f84_ad79_2e7e1e2450f3); +windows_core::imp::define_interface!(IHolographicCamera2, IHolographicCamera2_Vtbl, 0xb55b9f1a_ba8c_4f84_ad79_2e7e1e2450f3); #[repr(C)] pub struct IHolographicCamera2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,7 +18,7 @@ pub struct IHolographicCamera2_Vtbl { pub RightViewportParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Display: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicCamera3, IHolographicCamera3_Vtbl, 0x45aa4fb3_7b59_524e_4a3f_4a6ad6650477); +windows_core::imp::define_interface!(IHolographicCamera3, IHolographicCamera3_Vtbl, 0x45aa4fb3_7b59_524e_4a3f_4a6ad6650477); #[repr(C)] pub struct IHolographicCamera3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,13 +30,13 @@ pub struct IHolographicCamera3_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] QuadLayers: usize, } -windows_core::imp::com_interface!(IHolographicCamera4, IHolographicCamera4_Vtbl, 0x9a2531d6_4723_4f39_a9a5_9d05181d9b44); +windows_core::imp::define_interface!(IHolographicCamera4, IHolographicCamera4_Vtbl, 0x9a2531d6_4723_4f39_a9a5_9d05181d9b44); #[repr(C)] pub struct IHolographicCamera4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CanOverrideViewport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicCamera5, IHolographicCamera5_Vtbl, 0x229706f2_628d_4ef5_9c08_a63fdd7787c6); +windows_core::imp::define_interface!(IHolographicCamera5, IHolographicCamera5_Vtbl, 0x229706f2_628d_4ef5_9c08_a63fdd7787c6); #[repr(C)] pub struct IHolographicCamera5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,13 +44,13 @@ pub struct IHolographicCamera5_Vtbl { pub IsHardwareContentProtectionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsHardwareContentProtectionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicCamera6, IHolographicCamera6_Vtbl, 0x0209194f_632d_5154_ab52_0b5d15b12505); +windows_core::imp::define_interface!(IHolographicCamera6, IHolographicCamera6_Vtbl, 0x0209194f_632d_5154_ab52_0b5d15b12505); #[repr(C)] pub struct IHolographicCamera6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ViewConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicCameraPose, IHolographicCameraPose_Vtbl, 0x0d7d7e30_12de_45bd_912b_c7f6561599d1); +windows_core::imp::define_interface!(IHolographicCameraPose, IHolographicCameraPose_Vtbl, 0x0d7d7e30_12de_45bd_912b_c7f6561599d1); #[repr(C)] pub struct IHolographicCameraPose_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -75,7 +75,7 @@ pub struct IHolographicCameraPose_Vtbl { pub NearPlaneDistance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub FarPlaneDistance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicCameraPose2, IHolographicCameraPose2_Vtbl, 0x232be073_5d2d_4560_814e_2697c4fce16b); +windows_core::imp::define_interface!(IHolographicCameraPose2, IHolographicCameraPose2_Vtbl, 0x232be073_5d2d_4560_814e_2697c4fce16b); #[repr(C)] pub struct IHolographicCameraPose2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,7 +89,7 @@ pub struct IHolographicCameraPose2_Vtbl { OverrideProjectionTransform: usize, pub OverrideViewport: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Rect, super::super::Foundation::Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicCameraRenderingParameters, IHolographicCameraRenderingParameters_Vtbl, 0x8eac2ed1_5bf4_4e16_8236_ae0800c11d0d); +windows_core::imp::define_interface!(IHolographicCameraRenderingParameters, IHolographicCameraRenderingParameters_Vtbl, 0x8eac2ed1_5bf4_4e16_8236_ae0800c11d0d); #[repr(C)] pub struct IHolographicCameraRenderingParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -114,7 +114,7 @@ pub struct IHolographicCameraRenderingParameters_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] Direct3D11BackBuffer: usize, } -windows_core::imp::com_interface!(IHolographicCameraRenderingParameters2, IHolographicCameraRenderingParameters2_Vtbl, 0x261270e3_b696_4634_94d6_be0681643599); +windows_core::imp::define_interface!(IHolographicCameraRenderingParameters2, IHolographicCameraRenderingParameters2_Vtbl, 0x261270e3_b696_4634_94d6_be0681643599); #[repr(C)] pub struct IHolographicCameraRenderingParameters2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -125,21 +125,21 @@ pub struct IHolographicCameraRenderingParameters2_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] CommitDirect3D11DepthBuffer: usize, } -windows_core::imp::com_interface!(IHolographicCameraRenderingParameters3, IHolographicCameraRenderingParameters3_Vtbl, 0xb1aa513f_136d_4b06_b9d4_e4b914cd0683); +windows_core::imp::define_interface!(IHolographicCameraRenderingParameters3, IHolographicCameraRenderingParameters3_Vtbl, 0xb1aa513f_136d_4b06_b9d4_e4b914cd0683); #[repr(C)] pub struct IHolographicCameraRenderingParameters3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsContentProtectionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsContentProtectionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicCameraRenderingParameters4, IHolographicCameraRenderingParameters4_Vtbl, 0x0878fa4c_e163_57dc_82b7_c406ab3e0537); +windows_core::imp::define_interface!(IHolographicCameraRenderingParameters4, IHolographicCameraRenderingParameters4_Vtbl, 0x0878fa4c_e163_57dc_82b7_c406ab3e0537); #[repr(C)] pub struct IHolographicCameraRenderingParameters4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DepthReprojectionMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut HolographicDepthReprojectionMethod) -> windows_core::HRESULT, pub SetDepthReprojectionMethod: unsafe extern "system" fn(*mut core::ffi::c_void, HolographicDepthReprojectionMethod) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicCameraViewportParameters, IHolographicCameraViewportParameters_Vtbl, 0x80cdf3f7_842a_41e1_93ed_5692ab1fbb10); +windows_core::imp::define_interface!(IHolographicCameraViewportParameters, IHolographicCameraViewportParameters_Vtbl, 0x80cdf3f7_842a_41e1_93ed_5692ab1fbb10); #[repr(C)] pub struct IHolographicCameraViewportParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -152,7 +152,7 @@ pub struct IHolographicCameraViewportParameters_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] VisibleAreaMesh: usize, } -windows_core::imp::com_interface!(IHolographicDisplay, IHolographicDisplay_Vtbl, 0x9acea414_1d9f_4090_a388_90c06f6eae9c); +windows_core::imp::define_interface!(IHolographicDisplay, IHolographicDisplay_Vtbl, 0x9acea414_1d9f_4090_a388_90c06f6eae9c); #[repr(C)] pub struct IHolographicDisplay_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -166,25 +166,25 @@ pub struct IHolographicDisplay_Vtbl { #[cfg(not(feature = "Perception_Spatial"))] SpatialLocator: usize, } -windows_core::imp::com_interface!(IHolographicDisplay2, IHolographicDisplay2_Vtbl, 0x75ac3f82_e755_436c_8d96_4d32d131473e); +windows_core::imp::define_interface!(IHolographicDisplay2, IHolographicDisplay2_Vtbl, 0x75ac3f82_e755_436c_8d96_4d32d131473e); #[repr(C)] pub struct IHolographicDisplay2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RefreshRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicDisplay3, IHolographicDisplay3_Vtbl, 0xfc4c6ac6_6480_5008_b29e_157d77c843f7); +windows_core::imp::define_interface!(IHolographicDisplay3, IHolographicDisplay3_Vtbl, 0xfc4c6ac6_6480_5008_b29e_157d77c843f7); #[repr(C)] pub struct IHolographicDisplay3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryGetViewConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, HolographicViewConfigurationKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicDisplayStatics, IHolographicDisplayStatics_Vtbl, 0xcb374983_e7b0_4841_8355_3ae5b536e9a4); +windows_core::imp::define_interface!(IHolographicDisplayStatics, IHolographicDisplayStatics_Vtbl, 0xcb374983_e7b0_4841_8355_3ae5b536e9a4); #[repr(C)] pub struct IHolographicDisplayStatics_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, } -windows_core::imp::com_interface!(IHolographicFrame, IHolographicFrame_Vtbl, 0xc6988eb6_a8b9_3054_a6eb_d624b6536375); +windows_core::imp::define_interface!(IHolographicFrame, IHolographicFrame_Vtbl, 0xc6988eb6_a8b9_3054_a6eb_d624b6536375); #[repr(C)] pub struct IHolographicFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -204,19 +204,19 @@ pub struct IHolographicFrame_Vtbl { pub PresentUsingCurrentPredictionWithBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, HolographicFramePresentWaitBehavior, *mut HolographicFramePresentResult) -> windows_core::HRESULT, pub WaitForFrameToFinish: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicFrame2, IHolographicFrame2_Vtbl, 0x283f37bf_3bf2_5e91_6633_870574e6f217); +windows_core::imp::define_interface!(IHolographicFrame2, IHolographicFrame2_Vtbl, 0x283f37bf_3bf2_5e91_6633_870574e6f217); #[repr(C)] pub struct IHolographicFrame2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetQuadLayerUpdateParameters: 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::com_interface!(IHolographicFrame3, IHolographicFrame3_Vtbl, 0xe5e964c9_8a27_55d3_9f98_94530d369052); +windows_core::imp::define_interface!(IHolographicFrame3, IHolographicFrame3_Vtbl, 0xe5e964c9_8a27_55d3_9f98_94530d369052); #[repr(C)] pub struct IHolographicFrame3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut HolographicFrameId) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicFramePrediction, IHolographicFramePrediction_Vtbl, 0x520f4de1_5c0a_4e79_a81e_6abe02bb2739); +windows_core::imp::define_interface!(IHolographicFramePrediction, IHolographicFramePrediction_Vtbl, 0x520f4de1_5c0a_4e79_a81e_6abe02bb2739); #[repr(C)] pub struct IHolographicFramePrediction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -230,7 +230,7 @@ pub struct IHolographicFramePrediction_Vtbl { Timestamp: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IHolographicFramePresentationMonitor, IHolographicFramePresentationMonitor_Vtbl, 0xca87256c_6fae_428e_bb83_25dfee51136b); +windows_core::imp::define_interface!(IHolographicFramePresentationMonitor, IHolographicFramePresentationMonitor_Vtbl, 0xca87256c_6fae_428e_bb83_25dfee51136b); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IHolographicFramePresentationMonitor_Vtbl { @@ -241,7 +241,7 @@ pub struct IHolographicFramePresentationMonitor_Vtbl { ReadReports: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IHolographicFramePresentationReport, IHolographicFramePresentationReport_Vtbl, 0x80baf614_f2f4_4c8a_8de3_065c78f6d5de); +windows_core::imp::define_interface!(IHolographicFramePresentationReport, IHolographicFramePresentationReport_Vtbl, 0x80baf614_f2f4_4c8a_8de3_065c78f6d5de); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IHolographicFramePresentationReport_Vtbl { @@ -267,7 +267,7 @@ pub struct IHolographicFramePresentationReport_Vtbl { #[cfg(not(feature = "deprecated"))] PresentationCount: usize, } -windows_core::imp::com_interface!(IHolographicFrameRenderingReport, IHolographicFrameRenderingReport_Vtbl, 0x05f32de4_e384_51b3_b934_f0d3a0f78606); +windows_core::imp::define_interface!(IHolographicFrameRenderingReport, IHolographicFrameRenderingReport_Vtbl, 0x05f32de4_e384_51b3_b934_f0d3a0f78606); #[repr(C)] pub struct IHolographicFrameRenderingReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -277,7 +277,7 @@ pub struct IHolographicFrameRenderingReport_Vtbl { pub SystemRelativeActualGpuFinishTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SystemRelativeTargetLatchTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicFrameScanoutMonitor, IHolographicFrameScanoutMonitor_Vtbl, 0x7e83efa9_843c_5401_8095_9bc1b8b08638); +windows_core::imp::define_interface!(IHolographicFrameScanoutMonitor, IHolographicFrameScanoutMonitor_Vtbl, 0x7e83efa9_843c_5401_8095_9bc1b8b08638); #[repr(C)] pub struct IHolographicFrameScanoutMonitor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -286,7 +286,7 @@ pub struct IHolographicFrameScanoutMonitor_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadReports: usize, } -windows_core::imp::com_interface!(IHolographicFrameScanoutReport, IHolographicFrameScanoutReport_Vtbl, 0x0ebbe606_03a0_5ca0_b46e_bba068d7233f); +windows_core::imp::define_interface!(IHolographicFrameScanoutReport, IHolographicFrameScanoutReport_Vtbl, 0x0ebbe606_03a0_5ca0_b46e_bba068d7233f); #[repr(C)] pub struct IHolographicFrameScanoutReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -296,7 +296,7 @@ pub struct IHolographicFrameScanoutReport_Vtbl { pub SystemRelativeScanoutStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SystemRelativePhotonTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicQuadLayer, IHolographicQuadLayer_Vtbl, 0x903460c9_c9d9_5d5c_41ac_a2d5ab0fd331); +windows_core::imp::define_interface!(IHolographicQuadLayer, IHolographicQuadLayer_Vtbl, 0x903460c9_c9d9_5d5c_41ac_a2d5ab0fd331); #[repr(C)] pub struct IHolographicQuadLayer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -306,7 +306,7 @@ pub struct IHolographicQuadLayer_Vtbl { PixelFormat: usize, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Size) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicQuadLayerFactory, IHolographicQuadLayerFactory_Vtbl, 0xa67538f3_5a14_5a10_489a_455065b37b76); +windows_core::imp::define_interface!(IHolographicQuadLayerFactory, IHolographicQuadLayerFactory_Vtbl, 0xa67538f3_5a14_5a10_489a_455065b37b76); #[repr(C)] pub struct IHolographicQuadLayerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -316,7 +316,7 @@ pub struct IHolographicQuadLayerFactory_Vtbl { #[cfg(not(feature = "Graphics_DirectX"))] CreateWithPixelFormat: usize, } -windows_core::imp::com_interface!(IHolographicQuadLayerUpdateParameters, IHolographicQuadLayerUpdateParameters_Vtbl, 0x2b0ea3b0_798d_5bca_55c2_2c0c762ebb08); +windows_core::imp::define_interface!(IHolographicQuadLayerUpdateParameters, IHolographicQuadLayerUpdateParameters_Vtbl, 0x2b0ea3b0_798d_5bca_55c2_2c0c762ebb08); #[repr(C)] pub struct IHolographicQuadLayerUpdateParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -339,7 +339,7 @@ pub struct IHolographicQuadLayerUpdateParameters_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] UpdateLocationWithDisplayRelativeMode: usize, } -windows_core::imp::com_interface!(IHolographicQuadLayerUpdateParameters2, IHolographicQuadLayerUpdateParameters2_Vtbl, 0x4f33d32d_82c1_46c1_8980_3cb70d98182b); +windows_core::imp::define_interface!(IHolographicQuadLayerUpdateParameters2, IHolographicQuadLayerUpdateParameters2_Vtbl, 0x4f33d32d_82c1_46c1_8980_3cb70d98182b); #[repr(C)] pub struct IHolographicQuadLayerUpdateParameters2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -349,7 +349,7 @@ pub struct IHolographicQuadLayerUpdateParameters2_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] AcquireBufferToUpdateContentWithHardwareProtection: usize, } -windows_core::imp::com_interface!(IHolographicSpace, IHolographicSpace_Vtbl, 0x4380dba6_5e78_434f_807c_3433d1efe8b7); +windows_core::imp::define_interface!(IHolographicSpace, IHolographicSpace_Vtbl, 0x4380dba6_5e78_434f_807c_3433d1efe8b7); #[repr(C)] pub struct IHolographicSpace_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -364,7 +364,7 @@ pub struct IHolographicSpace_Vtbl { pub RemoveCameraRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub CreateNextFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicSpace2, IHolographicSpace2_Vtbl, 0x4f81a9a8_b7ff_4883_9827_7d677287ea70); +windows_core::imp::define_interface!(IHolographicSpace2, IHolographicSpace2_Vtbl, 0x4f81a9a8_b7ff_4883_9827_7d677287ea70); #[repr(C)] pub struct IHolographicSpace2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -378,26 +378,26 @@ pub struct IHolographicSpace2_Vtbl { #[cfg(not(feature = "deprecated"))] CreateFramePresentationMonitor: usize, } -windows_core::imp::com_interface!(IHolographicSpace3, IHolographicSpace3_Vtbl, 0xdf1733d1_f224_587e_8d71_1e8fc8f07b1f); +windows_core::imp::define_interface!(IHolographicSpace3, IHolographicSpace3_Vtbl, 0xdf1733d1_f224_587e_8d71_1e8fc8f07b1f); #[repr(C)] pub struct IHolographicSpace3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFrameScanoutMonitor: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicSpaceCameraAddedEventArgs, IHolographicSpaceCameraAddedEventArgs_Vtbl, 0x58f1da35_bbb3_3c8f_993d_6c80e7feb99f); +windows_core::imp::define_interface!(IHolographicSpaceCameraAddedEventArgs, IHolographicSpaceCameraAddedEventArgs_Vtbl, 0x58f1da35_bbb3_3c8f_993d_6c80e7feb99f); #[repr(C)] pub struct IHolographicSpaceCameraAddedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Camera: unsafe extern "system" fn(*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::com_interface!(IHolographicSpaceCameraRemovedEventArgs, IHolographicSpaceCameraRemovedEventArgs_Vtbl, 0x805444a8_f2ae_322e_8da9_836a0a95a4c1); +windows_core::imp::define_interface!(IHolographicSpaceCameraRemovedEventArgs, IHolographicSpaceCameraRemovedEventArgs_Vtbl, 0x805444a8_f2ae_322e_8da9_836a0a95a4c1); #[repr(C)] pub struct IHolographicSpaceCameraRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Camera: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicSpaceStatics, IHolographicSpaceStatics_Vtbl, 0x364e6064_c8f2_3ba1_8391_66b8489e67fd); +windows_core::imp::define_interface!(IHolographicSpaceStatics, IHolographicSpaceStatics_Vtbl, 0x364e6064_c8f2_3ba1_8391_66b8489e67fd); #[repr(C)] pub struct IHolographicSpaceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -406,7 +406,7 @@ pub struct IHolographicSpaceStatics_Vtbl { #[cfg(not(feature = "UI_Core"))] CreateForCoreWindow: usize, } -windows_core::imp::com_interface!(IHolographicSpaceStatics2, IHolographicSpaceStatics2_Vtbl, 0x0e777088_75fc_48af_8758_0652f6f07c59); +windows_core::imp::define_interface!(IHolographicSpaceStatics2, IHolographicSpaceStatics2_Vtbl, 0x0e777088_75fc_48af_8758_0652f6f07c59); #[repr(C)] pub struct IHolographicSpaceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -415,13 +415,13 @@ pub struct IHolographicSpaceStatics2_Vtbl { pub IsAvailableChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveIsAvailableChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicSpaceStatics3, IHolographicSpaceStatics3_Vtbl, 0x3b00de3d_b1a3_4dfe_8e79_fec5909e6df8); +windows_core::imp::define_interface!(IHolographicSpaceStatics3, IHolographicSpaceStatics3_Vtbl, 0x3b00de3d_b1a3_4dfe_8e79_fec5909e6df8); #[repr(C)] pub struct IHolographicSpaceStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsConfigured: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicViewConfiguration, IHolographicViewConfiguration_Vtbl, 0x5c1de6e6_67e9_5004_b02c_67a3a122b576); +windows_core::imp::define_interface!(IHolographicViewConfiguration, IHolographicViewConfiguration_Vtbl, 0x5c1de6e6_67e9_5004_b02c_67a3a122b576); #[repr(C)] pub struct IHolographicViewConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -447,7 +447,7 @@ pub struct IHolographicViewConfiguration_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, } -windows_core::imp::com_interface!(IHolographicViewConfiguration2, IHolographicViewConfiguration2_Vtbl, 0xe241756e_e0d0_5019_9af5_1b165bc2f54e); +windows_core::imp::define_interface!(IHolographicViewConfiguration2, IHolographicViewConfiguration2_Vtbl, 0xe241756e_e0d0_5019_9af5_1b165bc2f54e); #[repr(C)] pub struct IHolographicViewConfiguration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs index 61f3809b70..421bea5675 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/mod.rs @@ -1,11 +1,11 @@ -windows_core::imp::com_interface!(IBitmapBuffer, IBitmapBuffer_Vtbl, 0xa53e04c4_399c_438c_b28f_a63a6b83d1a1); +windows_core::imp::define_interface!(IBitmapBuffer, IBitmapBuffer_Vtbl, 0xa53e04c4_399c_438c_b28f_a63a6b83d1a1); #[repr(C)] pub struct IBitmapBuffer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetPlaneCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetPlaneDescription: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut BitmapPlaneDescription) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitmapCodecInformation, IBitmapCodecInformation_Vtbl, 0x400caaf2_c4b0_4392_a3b0_6f6f9ba95cb4); +windows_core::imp::define_interface!(IBitmapCodecInformation, IBitmapCodecInformation_Vtbl, 0x400caaf2_c4b0_4392_a3b0_6f6f9ba95cb4); #[repr(C)] pub struct IBitmapCodecInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,7 +20,7 @@ pub struct IBitmapCodecInformation_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] MimeTypes: usize, } -windows_core::imp::com_interface!(IBitmapDecoder, IBitmapDecoder_Vtbl, 0xacef22ba_1d74_4c91_9dfc_9620745233e6); +windows_core::imp::define_interface!(IBitmapDecoder, IBitmapDecoder_Vtbl, 0xacef22ba_1d74_4c91_9dfc_9620745233e6); #[repr(C)] pub struct IBitmapDecoder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,7 +33,7 @@ pub struct IBitmapDecoder_Vtbl { GetPreviewAsync: usize, pub GetFrameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitmapDecoderStatics, IBitmapDecoderStatics_Vtbl, 0x438ccb26_bcef_4e95_bad6_23a822e58d01); +windows_core::imp::define_interface!(IBitmapDecoderStatics, IBitmapDecoderStatics_Vtbl, 0x438ccb26_bcef_4e95_bad6_23a822e58d01); #[repr(C)] pub struct IBitmapDecoderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,14 +57,14 @@ pub struct IBitmapDecoderStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateWithIdAsync: usize, } -windows_core::imp::com_interface!(IBitmapDecoderStatics2, IBitmapDecoderStatics2_Vtbl, 0x50ba68ea_99a1_40c4_80d9_aef0dafa6c3f); +windows_core::imp::define_interface!(IBitmapDecoderStatics2, IBitmapDecoderStatics2_Vtbl, 0x50ba68ea_99a1_40c4_80d9_aef0dafa6c3f); #[repr(C)] pub struct IBitmapDecoderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub HeifDecoderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub WebpDecoderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitmapEncoder, IBitmapEncoder_Vtbl, 0x2bc468e3_e1f8_4b54_95e8_32919551ce62); +windows_core::imp::define_interface!(IBitmapEncoder, IBitmapEncoder_Vtbl, 0x2bc468e3_e1f8_4b54_95e8_32919551ce62); #[repr(C)] pub struct IBitmapEncoder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -86,7 +86,7 @@ pub struct IBitmapEncoder_Vtbl { GoToNextFrameWithEncodingOptionsAsync: usize, pub FlushAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitmapEncoderStatics, IBitmapEncoderStatics_Vtbl, 0xa74356a7_a4e4_4eb9_8e40_564de7e1ccb2); +windows_core::imp::define_interface!(IBitmapEncoderStatics, IBitmapEncoderStatics_Vtbl, 0xa74356a7_a4e4_4eb9_8e40_564de7e1ccb2); #[repr(C)] pub struct IBitmapEncoderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -114,19 +114,19 @@ pub struct IBitmapEncoderStatics_Vtbl { CreateForTranscodingAsync: usize, pub CreateForInPlacePropertyEncodingAsync: 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::com_interface!(IBitmapEncoderStatics2, IBitmapEncoderStatics2_Vtbl, 0x33cbc259_fe31_41b1_b812_086d21e87e16); +windows_core::imp::define_interface!(IBitmapEncoderStatics2, IBitmapEncoderStatics2_Vtbl, 0x33cbc259_fe31_41b1_b812_086d21e87e16); #[repr(C)] pub struct IBitmapEncoderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub HeifEncoderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitmapEncoderWithSoftwareBitmap, IBitmapEncoderWithSoftwareBitmap_Vtbl, 0x686cd241_4330_4c77_ace4_0334968b1768); +windows_core::imp::define_interface!(IBitmapEncoderWithSoftwareBitmap, IBitmapEncoderWithSoftwareBitmap_Vtbl, 0x686cd241_4330_4c77_ace4_0334968b1768); #[repr(C)] pub struct IBitmapEncoderWithSoftwareBitmap_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetSoftwareBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitmapFrame, IBitmapFrame_Vtbl, 0x72a49a1c_8081_438d_91bc_94ecfc8185c6); +windows_core::imp::define_interface!(IBitmapFrame, IBitmapFrame_Vtbl, 0x72a49a1c_8081_438d_91bc_94ecfc8185c6); windows_core::imp::interface_hierarchy!(IBitmapFrame, windows_core::IUnknown, windows_core::IInspectable); impl IBitmapFrame { #[cfg(feature = "Storage_Streams")] @@ -240,7 +240,7 @@ pub struct IBitmapFrame_Vtbl { pub GetPixelDataAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPixelDataTransformedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, BitmapPixelFormat, BitmapAlphaMode, *mut core::ffi::c_void, ExifOrientationMode, ColorManagementMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitmapFrameWithSoftwareBitmap, IBitmapFrameWithSoftwareBitmap_Vtbl, 0xfe287c9a_420c_4963_87ad_691436e08383); +windows_core::imp::define_interface!(IBitmapFrameWithSoftwareBitmap, IBitmapFrameWithSoftwareBitmap_Vtbl, 0xfe287c9a_420c_4963_87ad_691436e08383); windows_core::imp::interface_hierarchy!(IBitmapFrameWithSoftwareBitmap, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IBitmapFrameWithSoftwareBitmap, IBitmapFrame); impl IBitmapFrameWithSoftwareBitmap { @@ -367,7 +367,7 @@ pub struct IBitmapFrameWithSoftwareBitmap_Vtbl { pub GetSoftwareBitmapConvertedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, BitmapPixelFormat, BitmapAlphaMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSoftwareBitmapTransformedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, BitmapPixelFormat, BitmapAlphaMode, *mut core::ffi::c_void, ExifOrientationMode, ColorManagementMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitmapProperties, IBitmapProperties_Vtbl, 0xea9f4f1b_b505_4450_a4d1_e8ca94529d8d); +windows_core::imp::define_interface!(IBitmapProperties, IBitmapProperties_Vtbl, 0xea9f4f1b_b505_4450_a4d1_e8ca94529d8d); #[repr(C)] pub struct IBitmapProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -376,7 +376,7 @@ pub struct IBitmapProperties_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetPropertiesAsync: usize, } -windows_core::imp::com_interface!(IBitmapPropertiesView, IBitmapPropertiesView_Vtbl, 0x7e0fe87a_3a70_48f8_9c55_196cf5a545f5); +windows_core::imp::define_interface!(IBitmapPropertiesView, IBitmapPropertiesView_Vtbl, 0x7e0fe87a_3a70_48f8_9c55_196cf5a545f5); windows_core::imp::interface_hierarchy!(IBitmapPropertiesView, windows_core::IUnknown, windows_core::IInspectable); impl IBitmapPropertiesView { #[cfg(feature = "Foundation_Collections")] @@ -402,7 +402,7 @@ pub struct IBitmapPropertiesView_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetPropertiesAsync: usize, } -windows_core::imp::com_interface!(IBitmapTransform, IBitmapTransform_Vtbl, 0xae755344_e268_4d35_adcf_e995d31a8d34); +windows_core::imp::define_interface!(IBitmapTransform, IBitmapTransform_Vtbl, 0xae755344_e268_4d35_adcf_e995d31a8d34); #[repr(C)] pub struct IBitmapTransform_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -419,26 +419,26 @@ pub struct IBitmapTransform_Vtbl { pub Bounds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BitmapBounds) -> windows_core::HRESULT, pub SetBounds: unsafe extern "system" fn(*mut core::ffi::c_void, BitmapBounds) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitmapTypedValue, IBitmapTypedValue_Vtbl, 0xcd8044a9_2443_4000_b0cd_79316c56f589); +windows_core::imp::define_interface!(IBitmapTypedValue, IBitmapTypedValue_Vtbl, 0xcd8044a9_2443_4000_b0cd_79316c56f589); #[repr(C)] pub struct IBitmapTypedValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Value: 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 super::super::Foundation::PropertyType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitmapTypedValueFactory, IBitmapTypedValueFactory_Vtbl, 0x92dbb599_ce13_46bb_9545_cb3a3f63eb8b); +windows_core::imp::define_interface!(IBitmapTypedValueFactory, IBitmapTypedValueFactory_Vtbl, 0x92dbb599_ce13_46bb_9545_cb3a3f63eb8b); #[repr(C)] pub struct IBitmapTypedValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::PropertyType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPixelDataProvider, IPixelDataProvider_Vtbl, 0xdd831f25_185c_4595_9fb9_ccbe6ec18a6f); +windows_core::imp::define_interface!(IPixelDataProvider, IPixelDataProvider_Vtbl, 0xdd831f25_185c_4595_9fb9_ccbe6ec18a6f); #[repr(C)] pub struct IPixelDataProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DetachPixelData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISoftwareBitmap, ISoftwareBitmap_Vtbl, 0x689e0708_7eef_483f_963f_da938818e073); +windows_core::imp::define_interface!(ISoftwareBitmap, ISoftwareBitmap_Vtbl, 0x689e0708_7eef_483f_963f_da938818e073); #[repr(C)] pub struct ISoftwareBitmap_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -463,14 +463,14 @@ pub struct ISoftwareBitmap_Vtbl { CopyToBuffer: usize, pub GetReadOnlyView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISoftwareBitmapFactory, ISoftwareBitmapFactory_Vtbl, 0xc99feb69_2d62_4d47_a6b3_4fdb6a07fdf8); +windows_core::imp::define_interface!(ISoftwareBitmapFactory, ISoftwareBitmapFactory_Vtbl, 0xc99feb69_2d62_4d47_a6b3_4fdb6a07fdf8); #[repr(C)] pub struct ISoftwareBitmapFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, BitmapPixelFormat, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWithAlpha: unsafe extern "system" fn(*mut core::ffi::c_void, BitmapPixelFormat, i32, i32, BitmapAlphaMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISoftwareBitmapStatics, ISoftwareBitmapStatics_Vtbl, 0xdf0385db_672f_4a9d_806e_c2442f343e86); +windows_core::imp::define_interface!(ISoftwareBitmapStatics, ISoftwareBitmapStatics_Vtbl, 0xdf0385db_672f_4a9d_806e_c2442f343e86); #[repr(C)] pub struct ISoftwareBitmapStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 c7de9cae08..5ff4b47d6b 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPrintBindingOptionDetails, IPrintBindingOptionDetails_Vtbl, 0xc3f4cc98_9564_4f16_a055_a98b9a49e9d3); +windows_core::imp::define_interface!(IPrintBindingOptionDetails, IPrintBindingOptionDetails_Vtbl, 0xc3f4cc98_9564_4f16_a055_a98b9a49e9d3); #[repr(C)] pub struct IPrintBindingOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct IPrintBindingOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintBorderingOptionDetails, IPrintBorderingOptionDetails_Vtbl, 0x4d73bc8f_fb53_4eb2_985f_1d91de0b7639); +windows_core::imp::define_interface!(IPrintBorderingOptionDetails, IPrintBorderingOptionDetails_Vtbl, 0x4d73bc8f_fb53_4eb2_985f_1d91de0b7639); #[repr(C)] pub struct IPrintBorderingOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,7 +16,7 @@ pub struct IPrintBorderingOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintCollationOptionDetails, IPrintCollationOptionDetails_Vtbl, 0xd6abb166_a5a6_40dc_acc3_739f28f1e5d3); +windows_core::imp::define_interface!(IPrintCollationOptionDetails, IPrintCollationOptionDetails_Vtbl, 0xd6abb166_a5a6_40dc_acc3_739f28f1e5d3); #[repr(C)] pub struct IPrintCollationOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -25,7 +25,7 @@ pub struct IPrintCollationOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintColorModeOptionDetails, IPrintColorModeOptionDetails_Vtbl, 0xdba97704_f1d6_4843_a484_9b447cdcf3b6); +windows_core::imp::define_interface!(IPrintColorModeOptionDetails, IPrintColorModeOptionDetails_Vtbl, 0xdba97704_f1d6_4843_a484_9b447cdcf3b6); #[repr(C)] pub struct IPrintColorModeOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -34,7 +34,7 @@ pub struct IPrintColorModeOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintCopiesOptionDetails, IPrintCopiesOptionDetails_Vtbl, 0x42053099_4339_4343_898d_2c47b5e0c341); +windows_core::imp::define_interface!(IPrintCopiesOptionDetails, IPrintCopiesOptionDetails_Vtbl, 0x42053099_4339_4343_898d_2c47b5e0c341); #[repr(C)] pub struct IPrintCopiesOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -43,7 +43,7 @@ pub struct IPrintCopiesOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintCustomItemDetails, IPrintCustomItemDetails_Vtbl, 0x5704b637_5c3a_449a_aa36_b3291b1192fd); +windows_core::imp::define_interface!(IPrintCustomItemDetails, IPrintCustomItemDetails_Vtbl, 0x5704b637_5c3a_449a_aa36_b3291b1192fd); #[repr(C)] pub struct IPrintCustomItemDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -51,13 +51,13 @@ pub struct IPrintCustomItemDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintCustomItemListOptionDetails, IPrintCustomItemListOptionDetails_Vtbl, 0xa5fafd88_58f2_4ebd_b90f_51e4f2944c5d); +windows_core::imp::define_interface!(IPrintCustomItemListOptionDetails, IPrintCustomItemListOptionDetails_Vtbl, 0xa5fafd88_58f2_4ebd_b90f_51e4f2944c5d); #[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, } -windows_core::imp::com_interface!(IPrintCustomItemListOptionDetails2, IPrintCustomItemListOptionDetails2_Vtbl, 0xc9d6353d_651c_4a39_906e_1091a1801bf1); +windows_core::imp::define_interface!(IPrintCustomItemListOptionDetails2, IPrintCustomItemListOptionDetails2_Vtbl, 0xc9d6353d_651c_4a39_906e_1091a1801bf1); #[repr(C)] pub struct IPrintCustomItemListOptionDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -66,7 +66,7 @@ pub struct IPrintCustomItemListOptionDetails2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] AddItem: usize, } -windows_core::imp::com_interface!(IPrintCustomItemListOptionDetails3, IPrintCustomItemListOptionDetails3_Vtbl, 0x4fa1b53f_3c34_4868_a407_fc5eab259b21); +windows_core::imp::define_interface!(IPrintCustomItemListOptionDetails3, IPrintCustomItemListOptionDetails3_Vtbl, 0x4fa1b53f_3c34_4868_a407_fc5eab259b21); #[repr(C)] pub struct IPrintCustomItemListOptionDetails3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -75,7 +75,7 @@ pub struct IPrintCustomItemListOptionDetails3_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintCustomOptionDetails, IPrintCustomOptionDetails_Vtbl, 0xe32bde1c_28af_4b90_95da_a3acf320b929); +windows_core::imp::define_interface!(IPrintCustomOptionDetails, IPrintCustomOptionDetails_Vtbl, 0xe32bde1c_28af_4b90_95da_a3acf320b929); windows_core::imp::interface_hierarchy!(IPrintCustomOptionDetails, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPrintCustomOptionDetails, IPrintOptionDetails); impl IPrintCustomOptionDetails { @@ -153,14 +153,14 @@ pub struct IPrintCustomOptionDetails_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, } -windows_core::imp::com_interface!(IPrintCustomTextOptionDetails, IPrintCustomTextOptionDetails_Vtbl, 0x2ad171f8_c8bd_4905_9192_0d75136e8b31); +windows_core::imp::define_interface!(IPrintCustomTextOptionDetails, IPrintCustomTextOptionDetails_Vtbl, 0x2ad171f8_c8bd_4905_9192_0d75136e8b31); #[repr(C)] pub struct IPrintCustomTextOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetMaxCharacters: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub MaxCharacters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintCustomTextOptionDetails2, IPrintCustomTextOptionDetails2_Vtbl, 0xcea70b54_b977_4718_8338_7ed2b0d86fe3); +windows_core::imp::define_interface!(IPrintCustomTextOptionDetails2, IPrintCustomTextOptionDetails2_Vtbl, 0xcea70b54_b977_4718_8338_7ed2b0d86fe3); #[repr(C)] pub struct IPrintCustomTextOptionDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -169,7 +169,7 @@ pub struct IPrintCustomTextOptionDetails2_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintCustomToggleOptionDetails, IPrintCustomToggleOptionDetails_Vtbl, 0x9db4d514_e461_4608_8ee9_db6f5ed073c6); +windows_core::imp::define_interface!(IPrintCustomToggleOptionDetails, IPrintCustomToggleOptionDetails_Vtbl, 0x9db4d514_e461_4608_8ee9_db6f5ed073c6); #[repr(C)] pub struct IPrintCustomToggleOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -178,7 +178,7 @@ pub struct IPrintCustomToggleOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintDuplexOptionDetails, IPrintDuplexOptionDetails_Vtbl, 0xfcd94591_d4a4_44fa_b3fe_42e0ba28d5ad); +windows_core::imp::define_interface!(IPrintDuplexOptionDetails, IPrintDuplexOptionDetails_Vtbl, 0xfcd94591_d4a4_44fa_b3fe_42e0ba28d5ad); #[repr(C)] pub struct IPrintDuplexOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -187,7 +187,7 @@ pub struct IPrintDuplexOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintHolePunchOptionDetails, IPrintHolePunchOptionDetails_Vtbl, 0xa6de1f18_482c_4657_9d71_8ddddbea1e1e); +windows_core::imp::define_interface!(IPrintHolePunchOptionDetails, IPrintHolePunchOptionDetails_Vtbl, 0xa6de1f18_482c_4657_9d71_8ddddbea1e1e); #[repr(C)] pub struct IPrintHolePunchOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -196,7 +196,7 @@ pub struct IPrintHolePunchOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintItemListOptionDetails, IPrintItemListOptionDetails_Vtbl, 0x9a2257bf_fe61_43d8_a24f_a3f6ab7320e7); +windows_core::imp::define_interface!(IPrintItemListOptionDetails, IPrintItemListOptionDetails_Vtbl, 0x9a2257bf_fe61_43d8_a24f_a3f6ab7320e7); windows_core::imp::interface_hierarchy!(IPrintItemListOptionDetails, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPrintItemListOptionDetails, IPrintOptionDetails); impl IPrintItemListOptionDetails { @@ -273,7 +273,7 @@ pub struct IPrintItemListOptionDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Items: usize, } -windows_core::imp::com_interface!(IPrintMediaSizeOptionDetails, IPrintMediaSizeOptionDetails_Vtbl, 0x6c8d5bcf_c0bf_47c8_b84a_628e7d0d1a1d); +windows_core::imp::define_interface!(IPrintMediaSizeOptionDetails, IPrintMediaSizeOptionDetails_Vtbl, 0x6c8d5bcf_c0bf_47c8_b84a_628e7d0d1a1d); #[repr(C)] pub struct IPrintMediaSizeOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -282,7 +282,7 @@ pub struct IPrintMediaSizeOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintMediaTypeOptionDetails, IPrintMediaTypeOptionDetails_Vtbl, 0xf8c7000b_abf3_4abc_8e86_22abc5744a43); +windows_core::imp::define_interface!(IPrintMediaTypeOptionDetails, IPrintMediaTypeOptionDetails_Vtbl, 0xf8c7000b_abf3_4abc_8e86_22abc5744a43); #[repr(C)] pub struct IPrintMediaTypeOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -291,7 +291,7 @@ pub struct IPrintMediaTypeOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintNumberOptionDetails, IPrintNumberOptionDetails_Vtbl, 0x4d01bbaf_645c_4de9_965f_6fc6bbc47cab); +windows_core::imp::define_interface!(IPrintNumberOptionDetails, IPrintNumberOptionDetails_Vtbl, 0x4d01bbaf_645c_4de9_965f_6fc6bbc47cab); windows_core::imp::interface_hierarchy!(IPrintNumberOptionDetails, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPrintNumberOptionDetails, IPrintOptionDetails); impl IPrintNumberOptionDetails { @@ -372,7 +372,7 @@ pub struct IPrintNumberOptionDetails_Vtbl { pub MinValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MaxValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintOptionDetails, IPrintOptionDetails_Vtbl, 0x390686cf_d682_495f_adfe_d7333f5c1808); +windows_core::imp::define_interface!(IPrintOptionDetails, IPrintOptionDetails_Vtbl, 0x390686cf_d682_495f_adfe_d7333f5c1808); windows_core::imp::interface_hierarchy!(IPrintOptionDetails, windows_core::IUnknown, windows_core::IInspectable); impl IPrintOptionDetails { pub fn OptionId(&self) -> windows_core::Result { @@ -444,7 +444,7 @@ pub struct IPrintOptionDetails_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TrySetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintOrientationOptionDetails, IPrintOrientationOptionDetails_Vtbl, 0x46c38879_66e0_4da0_87b4_d25457824eb7); +windows_core::imp::define_interface!(IPrintOrientationOptionDetails, IPrintOrientationOptionDetails_Vtbl, 0x46c38879_66e0_4da0_87b4_d25457824eb7); #[repr(C)] pub struct IPrintOrientationOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -453,7 +453,7 @@ pub struct IPrintOrientationOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintPageRangeOptionDetails, IPrintPageRangeOptionDetails_Vtbl, 0x5a19e4b7_2be8_4aa7_9ea5_defbe8713b4e); +windows_core::imp::define_interface!(IPrintPageRangeOptionDetails, IPrintPageRangeOptionDetails_Vtbl, 0x5a19e4b7_2be8_4aa7_9ea5_defbe8713b4e); #[repr(C)] pub struct IPrintPageRangeOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -462,7 +462,7 @@ pub struct IPrintPageRangeOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintQualityOptionDetails, IPrintQualityOptionDetails_Vtbl, 0x2dd06ba1_ce1a_44e6_84f9_3a92ea1e3044); +windows_core::imp::define_interface!(IPrintQualityOptionDetails, IPrintQualityOptionDetails_Vtbl, 0x2dd06ba1_ce1a_44e6_84f9_3a92ea1e3044); #[repr(C)] pub struct IPrintQualityOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -471,7 +471,7 @@ pub struct IPrintQualityOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintStapleOptionDetails, IPrintStapleOptionDetails_Vtbl, 0xd43175bd_9c0b_44e0_84f6_ceebce653800); +windows_core::imp::define_interface!(IPrintStapleOptionDetails, IPrintStapleOptionDetails_Vtbl, 0xd43175bd_9c0b_44e0_84f6_ceebce653800); #[repr(C)] pub struct IPrintStapleOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -480,13 +480,13 @@ pub struct IPrintStapleOptionDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintTaskOptionChangedEventArgs, IPrintTaskOptionChangedEventArgs_Vtbl, 0x65197d05_a5ee_4307_9407_9acad147679c); +windows_core::imp::define_interface!(IPrintTaskOptionChangedEventArgs, IPrintTaskOptionChangedEventArgs_Vtbl, 0x65197d05_a5ee_4307_9407_9acad147679c); #[repr(C)] pub struct IPrintTaskOptionChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OptionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskOptionDetails, IPrintTaskOptionDetails_Vtbl, 0xf5720af1_a89e_42a6_81af_f8e010b38a68); +windows_core::imp::define_interface!(IPrintTaskOptionDetails, IPrintTaskOptionDetails_Vtbl, 0xf5720af1_a89e_42a6_81af_f8e010b38a68); #[repr(C)] pub struct IPrintTaskOptionDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -501,19 +501,19 @@ pub struct IPrintTaskOptionDetails_Vtbl { 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, pub RemoveBeginValidation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskOptionDetails2, IPrintTaskOptionDetails2_Vtbl, 0x53730a09_f968_4692_a177_c074597186db); +windows_core::imp::define_interface!(IPrintTaskOptionDetails2, IPrintTaskOptionDetails2_Vtbl, 0x53730a09_f968_4692_a177_c074597186db); #[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, } -windows_core::imp::com_interface!(IPrintTaskOptionDetailsStatic, IPrintTaskOptionDetailsStatic_Vtbl, 0x135da193_0961_4b6e_8766_f13b7fbccd58); +windows_core::imp::define_interface!(IPrintTaskOptionDetailsStatic, IPrintTaskOptionDetailsStatic_Vtbl, 0x135da193_0961_4b6e_8766_f13b7fbccd58); #[repr(C)] pub struct IPrintTaskOptionDetailsStatic_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetFromPrintTaskOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTextOptionDetails, IPrintTextOptionDetails_Vtbl, 0xad75e563_5ce4_46bc_9918_ab9fad144c5b); +windows_core::imp::define_interface!(IPrintTextOptionDetails, IPrintTextOptionDetails_Vtbl, 0xad75e563_5ce4_46bc_9918_ab9fad144c5b); windows_core::imp::interface_hierarchy!(IPrintTextOptionDetails, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPrintTextOptionDetails, IPrintOptionDetails); impl IPrintTextOptionDetails { 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 cde1dd01c5..e6ee9973bc 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintSupport/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPrintSupportExtensionSession, IPrintSupportExtensionSession_Vtbl, 0xeea45f1a_f4c6_54b3_a0b8_a559839aa4c3); +windows_core::imp::define_interface!(IPrintSupportExtensionSession, IPrintSupportExtensionSession_Vtbl, 0xeea45f1a_f4c6_54b3_a0b8_a559839aa4c3); #[repr(C)] pub struct IPrintSupportExtensionSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -12,20 +12,20 @@ pub struct IPrintSupportExtensionSession_Vtbl { pub RemovePrintDeviceCapabilitiesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintSupportExtensionSession2, IPrintSupportExtensionSession2_Vtbl, 0x10fa8c11_6de8_5765_8fcf_e716e0f27ed1); +windows_core::imp::define_interface!(IPrintSupportExtensionSession2, IPrintSupportExtensionSession2_Vtbl, 0x10fa8c11_6de8_5765_8fcf_e716e0f27ed1); #[repr(C)] pub struct IPrintSupportExtensionSession2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PrinterSelected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePrinterSelected: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintSupportExtensionTriggerDetails, IPrintSupportExtensionTriggerDetails_Vtbl, 0xae083711_9b09_55d1_a0ae_2a14c5f83d6a); +windows_core::imp::define_interface!(IPrintSupportExtensionTriggerDetails, IPrintSupportExtensionTriggerDetails_Vtbl, 0xae083711_9b09_55d1_a0ae_2a14c5f83d6a); #[repr(C)] pub struct IPrintSupportExtensionTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintSupportPrintDeviceCapabilitiesChangedEventArgs, IPrintSupportPrintDeviceCapabilitiesChangedEventArgs_Vtbl, 0x15969bf0_9028_5722_8a37_7d7c34b41dd6); +windows_core::imp::define_interface!(IPrintSupportPrintDeviceCapabilitiesChangedEventArgs, IPrintSupportPrintDeviceCapabilitiesChangedEventArgs_Vtbl, 0x15969bf0_9028_5722_8a37_7d7c34b41dd6); #[repr(C)] pub struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -39,7 +39,7 @@ pub struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs_Vtbl { UpdatePrintDeviceCapabilities: usize, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2, IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2_Vtbl, 0x469df9e7_fd07_5eeb_a07d_9fcc67f089ba); +windows_core::imp::define_interface!(IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2, IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2_Vtbl, 0x469df9e7_fd07_5eeb_a07d_9fcc67f089ba); #[repr(C)] pub struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,19 +58,19 @@ pub struct IPrintSupportPrintDeviceCapabilitiesChangedEventArgs2_Vtbl { UpdatePrintDeviceResources: usize, pub SetPrintDeviceCapabilitiesUpdatePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintSupportPrintDeviceCapabilitiesUpdatePolicy, IPrintSupportPrintDeviceCapabilitiesUpdatePolicy_Vtbl, 0x5f5fc025_8c35_5529_8038_8cdc3634bbcd); +windows_core::imp::define_interface!(IPrintSupportPrintDeviceCapabilitiesUpdatePolicy, IPrintSupportPrintDeviceCapabilitiesUpdatePolicy_Vtbl, 0x5f5fc025_8c35_5529_8038_8cdc3634bbcd); #[repr(C)] pub struct IPrintSupportPrintDeviceCapabilitiesUpdatePolicy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics, IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics_Vtbl, 0x3d9e1a70_7c39_551f_aa1f_f8ca35b3119e); +windows_core::imp::define_interface!(IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics, IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics_Vtbl, 0x3d9e1a70_7c39_551f_aa1f_f8ca35b3119e); #[repr(C)] pub struct IPrintSupportPrintDeviceCapabilitiesUpdatePolicyStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreatePeriodicRefresh: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreatePrintJobRefresh: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintSupportPrintTicketElement, IPrintSupportPrintTicketElement_Vtbl, 0x4b2a4489_730d_5be7_80e6_8332941abf13); +windows_core::imp::define_interface!(IPrintSupportPrintTicketElement, IPrintSupportPrintTicketElement_Vtbl, 0x4b2a4489_730d_5be7_80e6_8332941abf13); #[repr(C)] pub struct IPrintSupportPrintTicketElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -79,7 +79,7 @@ pub struct IPrintSupportPrintTicketElement_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintSupportPrintTicketValidationRequestedEventArgs, IPrintSupportPrintTicketValidationRequestedEventArgs_Vtbl, 0x338e4e69_db55_55c7_8338_ef64680a8f90); +windows_core::imp::define_interface!(IPrintSupportPrintTicketValidationRequestedEventArgs, IPrintSupportPrintTicketValidationRequestedEventArgs_Vtbl, 0x338e4e69_db55_55c7_8338_ef64680a8f90); #[repr(C)] pub struct IPrintSupportPrintTicketValidationRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -90,7 +90,7 @@ pub struct IPrintSupportPrintTicketValidationRequestedEventArgs_Vtbl { pub SetPrintTicketValidationStatus: unsafe extern "system" fn(*mut core::ffi::c_void, WorkflowPrintTicketValidationStatus) -> 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::com_interface!(IPrintSupportPrinterSelectedEventArgs, IPrintSupportPrinterSelectedEventArgs_Vtbl, 0x7b1cb7d9_a8a4_5c09_adb2_66165f817977); +windows_core::imp::define_interface!(IPrintSupportPrinterSelectedEventArgs, IPrintSupportPrinterSelectedEventArgs_Vtbl, 0x7b1cb7d9_a8a4_5c09_adb2_66165f817977); #[repr(C)] pub struct IPrintSupportPrinterSelectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -121,7 +121,7 @@ pub struct IPrintSupportPrinterSelectedEventArgs_Vtbl { SetAdaptiveCard: usize, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintSupportSessionInfo, IPrintSupportSessionInfo_Vtbl, 0x852149af_777d_53e9_9ee9_45d3f4b5be9c); +windows_core::imp::define_interface!(IPrintSupportSessionInfo, IPrintSupportSessionInfo_Vtbl, 0x852149af_777d_53e9_9ee9_45d3f4b5be9c); #[repr(C)] pub struct IPrintSupportSessionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -134,14 +134,14 @@ pub struct IPrintSupportSessionInfo_Vtbl { #[cfg(not(feature = "Devices_Printers"))] Printer: usize, } -windows_core::imp::com_interface!(IPrintSupportSettingsActivatedEventArgs, IPrintSupportSettingsActivatedEventArgs_Vtbl, 0x1e1b565e_a013_55ea_9b8c_eea39d9fb6c1); +windows_core::imp::define_interface!(IPrintSupportSettingsActivatedEventArgs, IPrintSupportSettingsActivatedEventArgs_Vtbl, 0x1e1b565e_a013_55ea_9b8c_eea39d9fb6c1); #[repr(C)] pub struct IPrintSupportSettingsActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Session: unsafe extern "system" fn(*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::com_interface!(IPrintSupportSettingsUISession, IPrintSupportSettingsUISession_Vtbl, 0xc6da2251_83c3_55e4_a0f8_5de8b062adbf); +windows_core::imp::define_interface!(IPrintSupportSettingsUISession, IPrintSupportSettingsUISession_Vtbl, 0xc6da2251_83c3_55e4_a0f8_5de8b062adbf); #[repr(C)] pub struct IPrintSupportSettingsUISession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 50517c1c7e..2bcccc75a7 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/PrintTicket/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPrintTicketCapabilities, IPrintTicketCapabilities_Vtbl, 0x8c45508b_bbdc_4256_a142_2fd615ecb416); +windows_core::imp::define_interface!(IPrintTicketCapabilities, IPrintTicketCapabilities_Vtbl, 0x8c45508b_bbdc_4256_a142_2fd615ecb416); #[repr(C)] pub struct IPrintTicketCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct IPrintTicketCapabilities_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintTicketFeature, IPrintTicketFeature_Vtbl, 0xe7607d6a_59f5_4103_8858_b97710963d39); +windows_core::imp::define_interface!(IPrintTicketFeature, IPrintTicketFeature_Vtbl, 0xe7607d6a_59f5_4103_8858_b97710963d39); #[repr(C)] pub struct IPrintTicketFeature_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -46,7 +46,7 @@ pub struct IPrintTicketFeature_Vtbl { pub SetSelectedOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SelectionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintTicketFeatureSelectionType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTicketOption, IPrintTicketOption_Vtbl, 0xb086cf90_b367_4e4b_bd48_9c78a0bb31ce); +windows_core::imp::define_interface!(IPrintTicketOption, IPrintTicketOption_Vtbl, 0xb086cf90_b367_4e4b_bd48_9c78a0bb31ce); #[repr(C)] pub struct IPrintTicketOption_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,7 +68,7 @@ pub struct IPrintTicketOption_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintTicketParameterDefinition, IPrintTicketParameterDefinition_Vtbl, 0xd6bab4e4_2962_4c01_b7f3_9a9294eb8335); +windows_core::imp::define_interface!(IPrintTicketParameterDefinition, IPrintTicketParameterDefinition_Vtbl, 0xd6bab4e4_2962_4c01_b7f3_9a9294eb8335); #[repr(C)] pub struct IPrintTicketParameterDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -83,7 +83,7 @@ pub struct IPrintTicketParameterDefinition_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintTicketParameterInitializer, IPrintTicketParameterInitializer_Vtbl, 0x5e3335bb_a0a5_48b1_9d5c_07116ddc597a); +windows_core::imp::define_interface!(IPrintTicketParameterInitializer, IPrintTicketParameterInitializer_Vtbl, 0x5e3335bb_a0a5_48b1_9d5c_07116ddc597a); #[repr(C)] pub struct IPrintTicketParameterInitializer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -96,7 +96,7 @@ pub struct IPrintTicketParameterInitializer_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTicketValue, IPrintTicketValue_Vtbl, 0x66b30a32_244d_4e22_a98b_bb3cf1f2dd91); +windows_core::imp::define_interface!(IPrintTicketValue, IPrintTicketValue_Vtbl, 0x66b30a32_244d_4e22_a98b_bb3cf1f2dd91); #[repr(C)] pub struct IPrintTicketValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -104,7 +104,7 @@ pub struct IPrintTicketValue_Vtbl { 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, } -windows_core::imp::com_interface!(IWorkflowPrintTicket, IWorkflowPrintTicket_Vtbl, 0x41d52285_35e8_448e_a8c5_e4b6a2cf826c); +windows_core::imp::define_interface!(IWorkflowPrintTicket, IWorkflowPrintTicket_Vtbl, 0x41d52285_35e8_448e_a8c5_e4b6a2cf826c); #[repr(C)] pub struct IWorkflowPrintTicket_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -138,7 +138,7 @@ pub struct IWorkflowPrintTicket_Vtbl { 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 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::com_interface!(IWorkflowPrintTicketValidationResult, IWorkflowPrintTicketValidationResult_Vtbl, 0x0ad1f392_da7b_4a36_bf36_6a99a62e2059); +windows_core::imp::define_interface!(IWorkflowPrintTicketValidationResult, IWorkflowPrintTicketValidationResult_Vtbl, 0x0ad1f392_da7b_4a36_bf36_6a99a62e2059); #[repr(C)] pub struct IWorkflowPrintTicketValidationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 7430e380e2..65407849e0 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/Workflow/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPrintWorkflowBackgroundSession, IPrintWorkflowBackgroundSession_Vtbl, 0x5b7913ba_0c5e_528a_7458_86a46cbddc45); +windows_core::imp::define_interface!(IPrintWorkflowBackgroundSession, IPrintWorkflowBackgroundSession_Vtbl, 0x5b7913ba_0c5e_528a_7458_86a46cbddc45); #[repr(C)] pub struct IPrintWorkflowBackgroundSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IPrintWorkflowBackgroundSession_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintWorkflowSessionStatus) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowBackgroundSetupRequestedEventArgs, IPrintWorkflowBackgroundSetupRequestedEventArgs_Vtbl, 0x43e97342_1750_59c9_61fb_383748a20362); +windows_core::imp::define_interface!(IPrintWorkflowBackgroundSetupRequestedEventArgs, IPrintWorkflowBackgroundSetupRequestedEventArgs_Vtbl, 0x43e97342_1750_59c9_61fb_383748a20362); #[repr(C)] pub struct IPrintWorkflowBackgroundSetupRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -21,7 +21,7 @@ pub struct IPrintWorkflowBackgroundSetupRequestedEventArgs_Vtbl { pub SetRequiresUI: unsafe extern "system" fn(*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::com_interface!(IPrintWorkflowConfiguration, IPrintWorkflowConfiguration_Vtbl, 0xd0aac4ed_fd4b_5df5_4bb6_8d0d159ebe3f); +windows_core::imp::define_interface!(IPrintWorkflowConfiguration, IPrintWorkflowConfiguration_Vtbl, 0xd0aac4ed_fd4b_5df5_4bb6_8d0d159ebe3f); #[repr(C)] pub struct IPrintWorkflowConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -29,13 +29,13 @@ pub struct IPrintWorkflowConfiguration_Vtbl { 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, } -windows_core::imp::com_interface!(IPrintWorkflowConfiguration2, IPrintWorkflowConfiguration2_Vtbl, 0xde350a50_a6d4_5be2_8b9a_09d3d39ea780); +windows_core::imp::define_interface!(IPrintWorkflowConfiguration2, IPrintWorkflowConfiguration2_Vtbl, 0xde350a50_a6d4_5be2_8b9a_09d3d39ea780); #[repr(C)] pub struct IPrintWorkflowConfiguration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AbortPrintFlow: unsafe extern "system" fn(*mut core::ffi::c_void, PrintWorkflowJobAbortReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowForegroundSession, IPrintWorkflowForegroundSession_Vtbl, 0xc79b63d0_f8ec_4ceb_953a_c8876157dd33); +windows_core::imp::define_interface!(IPrintWorkflowForegroundSession, IPrintWorkflowForegroundSession_Vtbl, 0xc79b63d0_f8ec_4ceb_953a_c8876157dd33); #[repr(C)] pub struct IPrintWorkflowForegroundSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -46,7 +46,7 @@ pub struct IPrintWorkflowForegroundSession_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintWorkflowSessionStatus) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowForegroundSetupRequestedEventArgs, IPrintWorkflowForegroundSetupRequestedEventArgs_Vtbl, 0xbbe38247_9c1b_4dd3_9b2b_c80468d941b3); +windows_core::imp::define_interface!(IPrintWorkflowForegroundSetupRequestedEventArgs, IPrintWorkflowForegroundSetupRequestedEventArgs_Vtbl, 0xbbe38247_9c1b_4dd3_9b2b_c80468d941b3); #[repr(C)] pub struct IPrintWorkflowForegroundSetupRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,13 +57,13 @@ pub struct IPrintWorkflowForegroundSetupRequestedEventArgs_Vtbl { pub Configuration: unsafe extern "system" fn(*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::com_interface!(IPrintWorkflowJobActivatedEventArgs, IPrintWorkflowJobActivatedEventArgs_Vtbl, 0xd4bd5e6d_034e_5e00_a616_f961a033dcc8); +windows_core::imp::define_interface!(IPrintWorkflowJobActivatedEventArgs, IPrintWorkflowJobActivatedEventArgs_Vtbl, 0xd4bd5e6d_034e_5e00_a616_f961a033dcc8); #[repr(C)] pub struct IPrintWorkflowJobActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowJobBackgroundSession, IPrintWorkflowJobBackgroundSession_Vtbl, 0xc5ec6ad8_20c9_5d51_8507_2734b46f96c5); +windows_core::imp::define_interface!(IPrintWorkflowJobBackgroundSession, IPrintWorkflowJobBackgroundSession_Vtbl, 0xc5ec6ad8_20c9_5d51_8507_2734b46f96c5); #[repr(C)] pub struct IPrintWorkflowJobBackgroundSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -74,7 +74,7 @@ pub struct IPrintWorkflowJobBackgroundSession_Vtbl { pub RemovePdlModificationRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowJobNotificationEventArgs, IPrintWorkflowJobNotificationEventArgs_Vtbl, 0x0ae16fba_5398_5eba_b472_978650186a9a); +windows_core::imp::define_interface!(IPrintWorkflowJobNotificationEventArgs, IPrintWorkflowJobNotificationEventArgs_Vtbl, 0x0ae16fba_5398_5eba_b472_978650186a9a); #[repr(C)] pub struct IPrintWorkflowJobNotificationEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -82,7 +82,7 @@ pub struct IPrintWorkflowJobNotificationEventArgs_Vtbl { pub PrinterJob: unsafe extern "system" fn(*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::com_interface!(IPrintWorkflowJobStartingEventArgs, IPrintWorkflowJobStartingEventArgs_Vtbl, 0xe3d99ba8_31ad_5e09_b0d7_601b97f161ad); +windows_core::imp::define_interface!(IPrintWorkflowJobStartingEventArgs, IPrintWorkflowJobStartingEventArgs_Vtbl, 0xe3d99ba8_31ad_5e09_b0d7_601b97f161ad); #[repr(C)] pub struct IPrintWorkflowJobStartingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -94,13 +94,13 @@ pub struct IPrintWorkflowJobStartingEventArgs_Vtbl { pub SetSkipSystemRendering: unsafe extern "system" fn(*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::com_interface!(IPrintWorkflowJobTriggerDetails, IPrintWorkflowJobTriggerDetails_Vtbl, 0xff296129_60e2_51db_ba8c_e2ccddb516b9); +windows_core::imp::define_interface!(IPrintWorkflowJobTriggerDetails, IPrintWorkflowJobTriggerDetails_Vtbl, 0xff296129_60e2_51db_ba8c_e2ccddb516b9); #[repr(C)] pub struct IPrintWorkflowJobTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PrintWorkflowJobSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowJobUISession, IPrintWorkflowJobUISession_Vtbl, 0x00c8736b_7637_5687_a302_0f664d2aac65); +windows_core::imp::define_interface!(IPrintWorkflowJobUISession, IPrintWorkflowJobUISession_Vtbl, 0x00c8736b_7637_5687_a302_0f664d2aac65); #[repr(C)] pub struct IPrintWorkflowJobUISession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -111,12 +111,12 @@ pub struct IPrintWorkflowJobUISession_Vtbl { pub RemoveJobNotification: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowObjectModelSourceFileContent, IPrintWorkflowObjectModelSourceFileContent_Vtbl, 0xc36c8a6a_8a2a_419a_b3c3_2090e6bfab2f); +windows_core::imp::define_interface!(IPrintWorkflowObjectModelSourceFileContent, IPrintWorkflowObjectModelSourceFileContent_Vtbl, 0xc36c8a6a_8a2a_419a_b3c3_2090e6bfab2f); #[repr(C)] pub struct IPrintWorkflowObjectModelSourceFileContent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPrintWorkflowObjectModelSourceFileContentFactory, IPrintWorkflowObjectModelSourceFileContentFactory_Vtbl, 0x93b1b903_f013_56d6_b708_99ac2ccb12ee); +windows_core::imp::define_interface!(IPrintWorkflowObjectModelSourceFileContentFactory, IPrintWorkflowObjectModelSourceFileContentFactory_Vtbl, 0x93b1b903_f013_56d6_b708_99ac2ccb12ee); #[repr(C)] pub struct IPrintWorkflowObjectModelSourceFileContentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -125,12 +125,12 @@ pub struct IPrintWorkflowObjectModelSourceFileContentFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateInstance: usize, } -windows_core::imp::com_interface!(IPrintWorkflowObjectModelTargetPackage, IPrintWorkflowObjectModelTargetPackage_Vtbl, 0x7d96bc74_9b54_4ca1_ad3a_979c3d44ddac); +windows_core::imp::define_interface!(IPrintWorkflowObjectModelTargetPackage, IPrintWorkflowObjectModelTargetPackage_Vtbl, 0x7d96bc74_9b54_4ca1_ad3a_979c3d44ddac); #[repr(C)] pub struct IPrintWorkflowObjectModelTargetPackage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPrintWorkflowPdlConverter, IPrintWorkflowPdlConverter_Vtbl, 0x40604b62_0ae4_51f1_818f_731dc0b005ab); +windows_core::imp::define_interface!(IPrintWorkflowPdlConverter, IPrintWorkflowPdlConverter_Vtbl, 0x40604b62_0ae4_51f1_818f_731dc0b005ab); #[repr(C)] pub struct IPrintWorkflowPdlConverter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -139,7 +139,7 @@ pub struct IPrintWorkflowPdlConverter_Vtbl { #[cfg(not(all(feature = "Graphics_Printing_PrintTicket", feature = "Storage_Streams")))] ConvertPdlAsync: usize, } -windows_core::imp::com_interface!(IPrintWorkflowPdlConverter2, IPrintWorkflowPdlConverter2_Vtbl, 0x854ceec1_7837_5b93_b7af_57a6998c2f71); +windows_core::imp::define_interface!(IPrintWorkflowPdlConverter2, IPrintWorkflowPdlConverter2_Vtbl, 0x854ceec1_7837_5b93_b7af_57a6998c2f71); #[repr(C)] pub struct IPrintWorkflowPdlConverter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -148,7 +148,7 @@ pub struct IPrintWorkflowPdlConverter2_Vtbl { #[cfg(not(all(feature = "Graphics_Printing_PrintTicket", feature = "Storage_Streams")))] ConvertPdlAsync: usize, } -windows_core::imp::com_interface!(IPrintWorkflowPdlDataAvailableEventArgs, IPrintWorkflowPdlDataAvailableEventArgs_Vtbl, 0xd4ad6b50_1547_5991_a0ef_e2ee20211518); +windows_core::imp::define_interface!(IPrintWorkflowPdlDataAvailableEventArgs, IPrintWorkflowPdlDataAvailableEventArgs_Vtbl, 0xd4ad6b50_1547_5991_a0ef_e2ee20211518); #[repr(C)] pub struct IPrintWorkflowPdlDataAvailableEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -157,7 +157,7 @@ pub struct IPrintWorkflowPdlDataAvailableEventArgs_Vtbl { pub SourceContent: unsafe extern "system" fn(*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::com_interface!(IPrintWorkflowPdlModificationRequestedEventArgs, IPrintWorkflowPdlModificationRequestedEventArgs_Vtbl, 0x1a339a61_2e13_5edd_a707_ceec61d7333b); +windows_core::imp::define_interface!(IPrintWorkflowPdlModificationRequestedEventArgs, IPrintWorkflowPdlModificationRequestedEventArgs_Vtbl, 0x1a339a61_2e13_5edd_a707_ceec61d7333b); #[repr(C)] pub struct IPrintWorkflowPdlModificationRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -177,7 +177,7 @@ pub struct IPrintWorkflowPdlModificationRequestedEventArgs_Vtbl { pub GetPdlConverter: unsafe extern "system" fn(*mut core::ffi::c_void, PrintWorkflowPdlConversionType, *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::com_interface!(IPrintWorkflowPdlModificationRequestedEventArgs2, IPrintWorkflowPdlModificationRequestedEventArgs2_Vtbl, 0x8d692147_6c62_5e31_a0e7_d49f92c111c0); +windows_core::imp::define_interface!(IPrintWorkflowPdlModificationRequestedEventArgs2, IPrintWorkflowPdlModificationRequestedEventArgs2_Vtbl, 0x8d692147_6c62_5e31_a0e7_d49f92c111c0); #[repr(C)] pub struct IPrintWorkflowPdlModificationRequestedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -190,7 +190,7 @@ pub struct IPrintWorkflowPdlModificationRequestedEventArgs2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateJobOnPrinterWithAttributesBuffer: usize, } -windows_core::imp::com_interface!(IPrintWorkflowPdlSourceContent, IPrintWorkflowPdlSourceContent_Vtbl, 0x92f7fc41_32b8_56ab_845e_b1e68b3aedd5); +windows_core::imp::define_interface!(IPrintWorkflowPdlSourceContent, IPrintWorkflowPdlSourceContent_Vtbl, 0x92f7fc41_32b8_56ab_845e_b1e68b3aedd5); #[repr(C)] pub struct IPrintWorkflowPdlSourceContent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -204,7 +204,7 @@ pub struct IPrintWorkflowPdlSourceContent_Vtbl { #[cfg(not(feature = "Storage"))] GetContentFileAsync: usize, } -windows_core::imp::com_interface!(IPrintWorkflowPdlTargetStream, IPrintWorkflowPdlTargetStream_Vtbl, 0xa742dfe5_1ee3_52a9_9f9f_2e2043180fd1); +windows_core::imp::define_interface!(IPrintWorkflowPdlTargetStream, IPrintWorkflowPdlTargetStream_Vtbl, 0xa742dfe5_1ee3_52a9_9f9f_2e2043180fd1); #[repr(C)] pub struct IPrintWorkflowPdlTargetStream_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -214,7 +214,7 @@ pub struct IPrintWorkflowPdlTargetStream_Vtbl { GetOutputStream: usize, pub CompleteStreamSubmission: unsafe extern "system" fn(*mut core::ffi::c_void, PrintWorkflowSubmittedStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowPrinterJob, IPrintWorkflowPrinterJob_Vtbl, 0x12009f94_0d14_5443_bc09_250311ce570b); +windows_core::imp::define_interface!(IPrintWorkflowPrinterJob, IPrintWorkflowPrinterJob_Vtbl, 0x12009f94_0d14_5443_bc09_250311ce570b); #[repr(C)] pub struct IPrintWorkflowPrinterJob_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -245,7 +245,7 @@ pub struct IPrintWorkflowPrinterJob_Vtbl { #[cfg(not(all(feature = "Devices_Printers", feature = "Foundation_Collections")))] SetJobAttributes: usize, } -windows_core::imp::com_interface!(IPrintWorkflowSourceContent, IPrintWorkflowSourceContent_Vtbl, 0x1a28c641_ceb1_4533_bb73_fbe63eefdb18); +windows_core::imp::define_interface!(IPrintWorkflowSourceContent, IPrintWorkflowSourceContent_Vtbl, 0x1a28c641_ceb1_4533_bb73_fbe63eefdb18); #[repr(C)] pub struct IPrintWorkflowSourceContent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -256,7 +256,7 @@ pub struct IPrintWorkflowSourceContent_Vtbl { pub GetSourceSpoolDataAsStreamContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSourceSpoolDataAsXpsObjectModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowSpoolStreamContent, IPrintWorkflowSpoolStreamContent_Vtbl, 0x72e55ece_e406_4b74_84e1_3ff3fdcdaf70); +windows_core::imp::define_interface!(IPrintWorkflowSpoolStreamContent, IPrintWorkflowSpoolStreamContent_Vtbl, 0x72e55ece_e406_4b74_84e1_3ff3fdcdaf70); #[repr(C)] pub struct IPrintWorkflowSpoolStreamContent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -265,7 +265,7 @@ pub struct IPrintWorkflowSpoolStreamContent_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetInputStream: usize, } -windows_core::imp::com_interface!(IPrintWorkflowStreamTarget, IPrintWorkflowStreamTarget_Vtbl, 0xb23bba84_8565_488b_9839_1c9e7c7aa916); +windows_core::imp::define_interface!(IPrintWorkflowStreamTarget, IPrintWorkflowStreamTarget_Vtbl, 0xb23bba84_8565_488b_9839_1c9e7c7aa916); #[repr(C)] pub struct IPrintWorkflowStreamTarget_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -274,7 +274,7 @@ pub struct IPrintWorkflowStreamTarget_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetOutputStream: usize, } -windows_core::imp::com_interface!(IPrintWorkflowSubmittedEventArgs, IPrintWorkflowSubmittedEventArgs_Vtbl, 0x3add0a41_3794_5569_5c87_40e8ff720f83); +windows_core::imp::define_interface!(IPrintWorkflowSubmittedEventArgs, IPrintWorkflowSubmittedEventArgs_Vtbl, 0x3add0a41_3794_5569_5c87_40e8ff720f83); #[repr(C)] pub struct IPrintWorkflowSubmittedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -285,7 +285,7 @@ pub struct IPrintWorkflowSubmittedEventArgs_Vtbl { GetTarget: usize, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowSubmittedOperation, IPrintWorkflowSubmittedOperation_Vtbl, 0x2e4e6216_3be1_5f0f_5c81_a5a2bd4eab0e); +windows_core::imp::define_interface!(IPrintWorkflowSubmittedOperation, IPrintWorkflowSubmittedOperation_Vtbl, 0x2e4e6216_3be1_5f0f_5c81_a5a2bd4eab0e); #[repr(C)] pub struct IPrintWorkflowSubmittedOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -293,33 +293,33 @@ pub struct IPrintWorkflowSubmittedOperation_Vtbl { pub Configuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub XpsContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowTarget, IPrintWorkflowTarget_Vtbl, 0x29da276c_0a73_5aed_4f3d_970d3251f057); +windows_core::imp::define_interface!(IPrintWorkflowTarget, IPrintWorkflowTarget_Vtbl, 0x29da276c_0a73_5aed_4f3d_970d3251f057); #[repr(C)] pub struct IPrintWorkflowTarget_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TargetAsStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TargetAsXpsObjectModelPackage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowTriggerDetails, IPrintWorkflowTriggerDetails_Vtbl, 0x5739d868_9d86_4052_b0cb_f310becd59bb); +windows_core::imp::define_interface!(IPrintWorkflowTriggerDetails, IPrintWorkflowTriggerDetails_Vtbl, 0x5739d868_9d86_4052_b0cb_f310becd59bb); #[repr(C)] pub struct IPrintWorkflowTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PrintWorkflowSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowUIActivatedEventArgs, IPrintWorkflowUIActivatedEventArgs_Vtbl, 0xbc8a844d_09eb_5746_72a6_8dc8b5edbe9b); +windows_core::imp::define_interface!(IPrintWorkflowUIActivatedEventArgs, IPrintWorkflowUIActivatedEventArgs_Vtbl, 0xbc8a844d_09eb_5746_72a6_8dc8b5edbe9b); #[repr(C)] pub struct IPrintWorkflowUIActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PrintWorkflowSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowUILauncher, IPrintWorkflowUILauncher_Vtbl, 0x64e9e22f_14cc_5828_96fb_39163fb6c378); +windows_core::imp::define_interface!(IPrintWorkflowUILauncher, IPrintWorkflowUILauncher_Vtbl, 0x64e9e22f_14cc_5828_96fb_39163fb6c378); #[repr(C)] pub struct IPrintWorkflowUILauncher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsUILaunchEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub LaunchAndCompleteUIAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowXpsDataAvailableEventArgs, IPrintWorkflowXpsDataAvailableEventArgs_Vtbl, 0x4d11c331_54d1_434e_be0e_82c5fa58e5b2); +windows_core::imp::define_interface!(IPrintWorkflowXpsDataAvailableEventArgs, IPrintWorkflowXpsDataAvailableEventArgs_Vtbl, 0x4d11c331_54d1_434e_be0e_82c5fa58e5b2); #[repr(C)] pub struct IPrintWorkflowXpsDataAvailableEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs index a288e17084..5678477b4f 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs @@ -6,7 +6,7 @@ pub mod PrintSupport; pub mod PrintTicket; #[cfg(feature = "Graphics_Printing_Workflow")] pub mod Workflow; -windows_core::imp::com_interface!(IPrintDocumentSource, IPrintDocumentSource_Vtbl, 0xdedc0c30_f1eb_47df_aae6_ed5427511f01); +windows_core::imp::define_interface!(IPrintDocumentSource, IPrintDocumentSource_Vtbl, 0xdedc0c30_f1eb_47df_aae6_ed5427511f01); windows_core::imp::interface_hierarchy!(IPrintDocumentSource, windows_core::IUnknown, windows_core::IInspectable); impl IPrintDocumentSource {} impl windows_core::RuntimeType for IPrintDocumentSource { @@ -16,27 +16,27 @@ impl windows_core::RuntimeType for IPrintDocumentSource { pub struct IPrintDocumentSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPrintManager, IPrintManager_Vtbl, 0xff2a9694_8c99_44fd_ae4a_19d9aa9a0f0a); +windows_core::imp::define_interface!(IPrintManager, IPrintManager_Vtbl, 0xff2a9694_8c99_44fd_ae4a_19d9aa9a0f0a); #[repr(C)] pub struct IPrintManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PrintTaskRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePrintTaskRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintManagerStatic, IPrintManagerStatic_Vtbl, 0x58185dcd_e634_4654_84f0_e0152a8217ac); +windows_core::imp::define_interface!(IPrintManagerStatic, IPrintManagerStatic_Vtbl, 0x58185dcd_e634_4654_84f0_e0152a8217ac); #[repr(C)] pub struct IPrintManagerStatic_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 ShowPrintUIAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintManagerStatic2, IPrintManagerStatic2_Vtbl, 0x35a99955_e6ab_4139_9abd_b86a729b3598); +windows_core::imp::define_interface!(IPrintManagerStatic2, IPrintManagerStatic2_Vtbl, 0x35a99955_e6ab_4139_9abd_b86a729b3598); #[repr(C)] pub struct IPrintManagerStatic2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintPageInfo, IPrintPageInfo_Vtbl, 0xdd4be9c9_a6a1_4ada_930e_da872a4f23d3); +windows_core::imp::define_interface!(IPrintPageInfo, IPrintPageInfo_Vtbl, 0xdd4be9c9_a6a1_4ada_930e_da872a4f23d3); #[repr(C)] pub struct IPrintPageInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -51,21 +51,21 @@ pub struct IPrintPageInfo_Vtbl { pub SetOrientation: unsafe extern "system" fn(*mut core::ffi::c_void, PrintOrientation) -> windows_core::HRESULT, pub Orientation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintOrientation) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintPageRange, IPrintPageRange_Vtbl, 0xf8a06c54_6e7c_51c5_57fd_0660c2d71513); +windows_core::imp::define_interface!(IPrintPageRange, IPrintPageRange_Vtbl, 0xf8a06c54_6e7c_51c5_57fd_0660c2d71513); #[repr(C)] pub struct IPrintPageRange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FirstPageNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub LastPageNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintPageRangeFactory, IPrintPageRangeFactory_Vtbl, 0x408fd45f_e047_5f85_7129_fb085a4fad14); +windows_core::imp::define_interface!(IPrintPageRangeFactory, IPrintPageRangeFactory_Vtbl, 0x408fd45f_e047_5f85_7129_fb085a4fad14); #[repr(C)] pub struct IPrintPageRangeFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWithSinglePage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintPageRangeOptions, IPrintPageRangeOptions_Vtbl, 0xce6db728_1357_46b2_a923_79f995f448fc); +windows_core::imp::define_interface!(IPrintPageRangeOptions, IPrintPageRangeOptions_Vtbl, 0xce6db728_1357_46b2_a923_79f995f448fc); #[repr(C)] pub struct IPrintPageRangeOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -76,7 +76,7 @@ pub struct IPrintPageRangeOptions_Vtbl { pub SetAllowCustomSetOfPages: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub AllowCustomSetOfPages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTask, IPrintTask_Vtbl, 0x61d80247_6cf6_4fad_84e2_a5e82e2d4ceb); +windows_core::imp::define_interface!(IPrintTask, IPrintTask_Vtbl, 0x61d80247_6cf6_4fad_84e2_a5e82e2d4ceb); #[repr(C)] pub struct IPrintTask_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -95,20 +95,20 @@ pub struct IPrintTask_Vtbl { pub Completed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTask2, IPrintTask2_Vtbl, 0x36234877_3e53_4d9d_8f5e_316ac8dedae1); +windows_core::imp::define_interface!(IPrintTask2, IPrintTask2_Vtbl, 0x36234877_3e53_4d9d_8f5e_316ac8dedae1); #[repr(C)] pub struct IPrintTask2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetIsPreviewEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsPreviewEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskCompletedEventArgs, IPrintTaskCompletedEventArgs_Vtbl, 0x5bcd34af_24e9_4c10_8d07_14c346ba3fce); +windows_core::imp::define_interface!(IPrintTaskCompletedEventArgs, IPrintTaskCompletedEventArgs_Vtbl, 0x5bcd34af_24e9_4c10_8d07_14c346ba3fce); #[repr(C)] pub struct IPrintTaskCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Completion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PrintTaskCompletion) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskOptions, IPrintTaskOptions_Vtbl, 0x5a0a66bb_d289_41bb_96dd_57e28338ae3f); +windows_core::imp::define_interface!(IPrintTaskOptions, IPrintTaskOptions_Vtbl, 0x5a0a66bb_d289_41bb_96dd_57e28338ae3f); #[repr(C)] pub struct IPrintTaskOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -119,7 +119,7 @@ pub struct IPrintTaskOptions_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetPagePrintTicket: usize, } -windows_core::imp::com_interface!(IPrintTaskOptions2, IPrintTaskOptions2_Vtbl, 0xeb9b1606_9a36_4b59_8617_b217849262e1); +windows_core::imp::define_interface!(IPrintTaskOptions2, IPrintTaskOptions2_Vtbl, 0xeb9b1606_9a36_4b59_8617_b217849262e1); #[repr(C)] pub struct IPrintTaskOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -129,7 +129,7 @@ pub struct IPrintTaskOptions2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CustomPageRanges: usize, } -windows_core::imp::com_interface!(IPrintTaskOptionsCore, IPrintTaskOptionsCore_Vtbl, 0x1bdbb474_4ed1_41eb_be3c_72d18ed67337); +windows_core::imp::define_interface!(IPrintTaskOptionsCore, IPrintTaskOptionsCore_Vtbl, 0x1bdbb474_4ed1_41eb_be3c_72d18ed67337); windows_core::imp::interface_hierarchy!(IPrintTaskOptionsCore, windows_core::IUnknown, windows_core::IInspectable); impl IPrintTaskOptionsCore { pub fn GetPageDescription(&self, jobpagenumber: u32) -> windows_core::Result { @@ -148,7 +148,7 @@ pub struct IPrintTaskOptionsCore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetPageDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut PrintPageDescription) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskOptionsCoreProperties, IPrintTaskOptionsCoreProperties_Vtbl, 0xc1b71832_9e93_4e55_814b_3326a59efce1); +windows_core::imp::define_interface!(IPrintTaskOptionsCoreProperties, IPrintTaskOptionsCoreProperties_Vtbl, 0xc1b71832_9e93_4e55_814b_3326a59efce1); windows_core::imp::interface_hierarchy!(IPrintTaskOptionsCoreProperties, windows_core::IUnknown, windows_core::IInspectable); impl IPrintTaskOptionsCoreProperties { pub fn SetMediaSize(&self, value: PrintMediaSize) -> windows_core::Result<()> { @@ -318,7 +318,7 @@ pub struct IPrintTaskOptionsCoreProperties_Vtbl { pub SetNumberOfCopies: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub NumberOfCopies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskOptionsCoreUIConfiguration, IPrintTaskOptionsCoreUIConfiguration_Vtbl, 0x62e69e23_9a1e_4336_b74f_3cc7f4cff709); +windows_core::imp::define_interface!(IPrintTaskOptionsCoreUIConfiguration, IPrintTaskOptionsCoreUIConfiguration_Vtbl, 0x62e69e23_9a1e_4336_b74f_3cc7f4cff709); windows_core::imp::interface_hierarchy!(IPrintTaskOptionsCoreUIConfiguration, windows_core::IUnknown, windows_core::IInspectable); impl IPrintTaskOptionsCoreUIConfiguration { #[cfg(feature = "Foundation_Collections")] @@ -341,13 +341,13 @@ pub struct IPrintTaskOptionsCoreUIConfiguration_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] DisplayedOptions: usize, } -windows_core::imp::com_interface!(IPrintTaskProgressingEventArgs, IPrintTaskProgressingEventArgs_Vtbl, 0x810cd3cb_b410_4282_a073_5ac378234174); +windows_core::imp::define_interface!(IPrintTaskProgressingEventArgs, IPrintTaskProgressingEventArgs_Vtbl, 0x810cd3cb_b410_4282_a073_5ac378234174); #[repr(C)] pub struct IPrintTaskProgressingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DocumentPageCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskRequest, IPrintTaskRequest_Vtbl, 0x6ff61e2e_2722_4240_a67c_f364849a17f3); +windows_core::imp::define_interface!(IPrintTaskRequest, IPrintTaskRequest_Vtbl, 0x6ff61e2e_2722_4240_a67c_f364849a17f3); #[repr(C)] pub struct IPrintTaskRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -355,19 +355,19 @@ pub struct IPrintTaskRequest_Vtbl { 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 GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskRequestedDeferral, IPrintTaskRequestedDeferral_Vtbl, 0xcfefb3f0_ce3e_42c7_9496_64800c622c44); +windows_core::imp::define_interface!(IPrintTaskRequestedDeferral, IPrintTaskRequestedDeferral_Vtbl, 0xcfefb3f0_ce3e_42c7_9496_64800c622c44); #[repr(C)] pub struct IPrintTaskRequestedDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskRequestedEventArgs, IPrintTaskRequestedEventArgs_Vtbl, 0xd0aff924_a31b_454c_a7b6_5d0cc522fc16); +windows_core::imp::define_interface!(IPrintTaskRequestedEventArgs, IPrintTaskRequestedEventArgs_Vtbl, 0xd0aff924_a31b_454c_a7b6_5d0cc522fc16); #[repr(C)] pub struct IPrintTaskRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskSourceRequestedArgs, IPrintTaskSourceRequestedArgs_Vtbl, 0xf9f067be_f456_41f0_9c98_5ce73e851410); +windows_core::imp::define_interface!(IPrintTaskSourceRequestedArgs, IPrintTaskSourceRequestedArgs_Vtbl, 0xf9f067be_f456_41f0_9c98_5ce73e851410); #[repr(C)] pub struct IPrintTaskSourceRequestedArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -375,13 +375,13 @@ pub struct IPrintTaskSourceRequestedArgs_Vtbl { pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *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::com_interface!(IPrintTaskSourceRequestedDeferral, IPrintTaskSourceRequestedDeferral_Vtbl, 0x4a1560d1_6992_4d9d_8555_4ca4563fb166); +windows_core::imp::define_interface!(IPrintTaskSourceRequestedDeferral, IPrintTaskSourceRequestedDeferral_Vtbl, 0x4a1560d1_6992_4d9d_8555_4ca4563fb166); #[repr(C)] pub struct IPrintTaskSourceRequestedDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskTargetDeviceSupport, IPrintTaskTargetDeviceSupport_Vtbl, 0x295d70c0_c2cb_4b7d_b0ea_93095091a220); +windows_core::imp::define_interface!(IPrintTaskTargetDeviceSupport, IPrintTaskTargetDeviceSupport_Vtbl, 0x295d70c0_c2cb_4b7d_b0ea_93095091a220); #[repr(C)] pub struct IPrintTaskTargetDeviceSupport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -390,7 +390,7 @@ pub struct IPrintTaskTargetDeviceSupport_Vtbl { pub SetIs3DManufacturingTargetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Is3DManufacturingTargetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStandardPrintTaskOptionsStatic, IStandardPrintTaskOptionsStatic_Vtbl, 0xb4483d26_0dd0_4cd4_baff_930fc7d6a574); +windows_core::imp::define_interface!(IStandardPrintTaskOptionsStatic, IStandardPrintTaskOptionsStatic_Vtbl, 0xb4483d26_0dd0_4cd4_baff_930fc7d6a574); #[repr(C)] pub struct IStandardPrintTaskOptionsStatic_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -408,13 +408,13 @@ pub struct IStandardPrintTaskOptionsStatic_Vtbl { 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, } -windows_core::imp::com_interface!(IStandardPrintTaskOptionsStatic2, IStandardPrintTaskOptionsStatic2_Vtbl, 0x3be38bf4_7a44_4269_9a52_81261e289ee9); +windows_core::imp::define_interface!(IStandardPrintTaskOptionsStatic2, IStandardPrintTaskOptionsStatic2_Vtbl, 0x3be38bf4_7a44_4269_9a52_81261e289ee9); #[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, } -windows_core::imp::com_interface!(IStandardPrintTaskOptionsStatic3, IStandardPrintTaskOptionsStatic3_Vtbl, 0xbbf68e86_3858_41b3_a799_55dd9888d475); +windows_core::imp::define_interface!(IStandardPrintTaskOptionsStatic3, IStandardPrintTaskOptionsStatic3_Vtbl, 0xbbf68e86_3858_41b3_a799_55dd9888d475); #[repr(C)] pub struct IStandardPrintTaskOptionsStatic3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1819,7 +1819,7 @@ impl Default for PrintPageDescription { unsafe { core::mem::zeroed() } } } -windows_core::imp::com_interface!(PrintTaskSourceRequestedHandler, PrintTaskSourceRequestedHandler_Vtbl, 0x6c109fa8_5cb6_4b3a_8663_f39cb02dc9b4); +windows_core::imp::define_interface!(PrintTaskSourceRequestedHandler, PrintTaskSourceRequestedHandler_Vtbl, 0x6c109fa8_5cb6_4b3a_8663_f39cb02dc9b4); impl PrintTaskSourceRequestedHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = PrintTaskSourceRequestedHandlerBox:: { vtable: &PrintTaskSourceRequestedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs index 2ad5ce82eb..b66b13a791 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs @@ -1,18 +1,18 @@ -windows_core::imp::com_interface!(IPrint3DManager, IPrint3DManager_Vtbl, 0x4d2fcb0a_7366_4971_8bd5_17c4e3e8c6c0); +windows_core::imp::define_interface!(IPrint3DManager, IPrint3DManager_Vtbl, 0x4d2fcb0a_7366_4971_8bd5_17c4e3e8c6c0); #[repr(C)] pub struct IPrint3DManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TaskRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveTaskRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint3DManagerStatics, IPrint3DManagerStatics_Vtbl, 0x0ef1cafe_a9ad_4c08_a917_1d1f863eabcb); +windows_core::imp::define_interface!(IPrint3DManagerStatics, IPrint3DManagerStatics_Vtbl, 0x0ef1cafe_a9ad_4c08_a917_1d1f863eabcb); #[repr(C)] pub struct IPrint3DManagerStatics_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 ShowPrintUIAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint3DTask, IPrint3DTask_Vtbl, 0x8ce3d080_2118_4c28_80de_f426d70191ae); +windows_core::imp::define_interface!(IPrint3DTask, IPrint3DTask_Vtbl, 0x8ce3d080_2118_4c28_80de_f426d70191ae); #[repr(C)] pub struct IPrint3DTask_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -24,38 +24,38 @@ pub struct IPrint3DTask_Vtbl { pub SourceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSourceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint3DTaskCompletedEventArgs, IPrint3DTaskCompletedEventArgs_Vtbl, 0xcc1914af_2614_4f1d_accc_d6fc4fda5455); +windows_core::imp::define_interface!(IPrint3DTaskCompletedEventArgs, IPrint3DTaskCompletedEventArgs_Vtbl, 0xcc1914af_2614_4f1d_accc_d6fc4fda5455); #[repr(C)] pub struct IPrint3DTaskCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Completion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Print3DTaskCompletion) -> windows_core::HRESULT, pub ExtendedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Print3DTaskDetail) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint3DTaskRequest, IPrint3DTaskRequest_Vtbl, 0x2595c46f_2245_4c5a_8731_0d604dc6bc3c); +windows_core::imp::define_interface!(IPrint3DTaskRequest, IPrint3DTaskRequest_Vtbl, 0x2595c46f_2245_4c5a_8731_0d604dc6bc3c); #[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, } -windows_core::imp::com_interface!(IPrint3DTaskRequestedEventArgs, IPrint3DTaskRequestedEventArgs_Vtbl, 0x150cb77f_18c5_40d7_9f40_fab3096e05a9); +windows_core::imp::define_interface!(IPrint3DTaskRequestedEventArgs, IPrint3DTaskRequestedEventArgs_Vtbl, 0x150cb77f_18c5_40d7_9f40_fab3096e05a9); #[repr(C)] pub struct IPrint3DTaskRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint3DTaskSourceChangedEventArgs, IPrint3DTaskSourceChangedEventArgs_Vtbl, 0x5bcd34af_24e9_4c10_8d07_14c346ba3fcf); +windows_core::imp::define_interface!(IPrint3DTaskSourceChangedEventArgs, IPrint3DTaskSourceChangedEventArgs_Vtbl, 0x5bcd34af_24e9_4c10_8d07_14c346ba3fcf); #[repr(C)] pub struct IPrint3DTaskSourceChangedEventArgs_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, } -windows_core::imp::com_interface!(IPrint3DTaskSourceRequestedArgs, IPrint3DTaskSourceRequestedArgs_Vtbl, 0xc77c9aba_24af_424d_a3bf_92250c355602); +windows_core::imp::define_interface!(IPrint3DTaskSourceRequestedArgs, IPrint3DTaskSourceRequestedArgs_Vtbl, 0xc77c9aba_24af_424d_a3bf_92250c355602); #[repr(C)] pub struct IPrint3DTaskSourceRequestedArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3D3MFPackage, IPrinting3D3MFPackage_Vtbl, 0xf64dd5c8_2ab7_45a9_a1b7_267e948d5b18); +windows_core::imp::define_interface!(IPrinting3D3MFPackage, IPrinting3D3MFPackage_Vtbl, 0xf64dd5c8_2ab7_45a9_a1b7_267e948d5b18); #[repr(C)] pub struct IPrinting3D3MFPackage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -91,14 +91,14 @@ pub struct IPrinting3D3MFPackage_Vtbl { LoadModelFromPackageAsync: usize, pub SaveModelToPackageAsync: 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::com_interface!(IPrinting3D3MFPackage2, IPrinting3D3MFPackage2_Vtbl, 0x965c7ac4_93cb_4430_92b8_789cd454f883); +windows_core::imp::define_interface!(IPrinting3D3MFPackage2, IPrinting3D3MFPackage2_Vtbl, 0x965c7ac4_93cb_4430_92b8_789cd454f883); #[repr(C)] pub struct IPrinting3D3MFPackage2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Compression: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Printing3DPackageCompression) -> windows_core::HRESULT, pub SetCompression: unsafe extern "system" fn(*mut core::ffi::c_void, Printing3DPackageCompression) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3D3MFPackageStatics, IPrinting3D3MFPackageStatics_Vtbl, 0x7058d9af_7a9a_4787_b817_f6f459214823); +windows_core::imp::define_interface!(IPrinting3D3MFPackageStatics, IPrinting3D3MFPackageStatics_Vtbl, 0x7058d9af_7a9a_4787_b817_f6f459214823); #[repr(C)] pub struct IPrinting3D3MFPackageStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -107,7 +107,7 @@ pub struct IPrinting3D3MFPackageStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] LoadAsync: usize, } -windows_core::imp::com_interface!(IPrinting3DBaseMaterial, IPrinting3DBaseMaterial_Vtbl, 0xd0f0e743_c50c_4bcb_9d04_fc16adcea2c9); +windows_core::imp::define_interface!(IPrinting3DBaseMaterial, IPrinting3DBaseMaterial_Vtbl, 0xd0f0e743_c50c_4bcb_9d04_fc16adcea2c9); #[repr(C)] pub struct IPrinting3DBaseMaterial_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -116,7 +116,7 @@ pub struct IPrinting3DBaseMaterial_Vtbl { 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, } -windows_core::imp::com_interface!(IPrinting3DBaseMaterialGroup, IPrinting3DBaseMaterialGroup_Vtbl, 0x94f070b8_2515_4a8d_a1f0_d0fc13d06021); +windows_core::imp::define_interface!(IPrinting3DBaseMaterialGroup, IPrinting3DBaseMaterialGroup_Vtbl, 0x94f070b8_2515_4a8d_a1f0_d0fc13d06021); #[repr(C)] pub struct IPrinting3DBaseMaterialGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -126,27 +126,27 @@ pub struct IPrinting3DBaseMaterialGroup_Vtbl { Bases: usize, pub MaterialGroupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DBaseMaterialGroupFactory, IPrinting3DBaseMaterialGroupFactory_Vtbl, 0x5c1546dc_8697_4193_976b_84bb4116e5bf); +windows_core::imp::define_interface!(IPrinting3DBaseMaterialGroupFactory, IPrinting3DBaseMaterialGroupFactory_Vtbl, 0x5c1546dc_8697_4193_976b_84bb4116e5bf); #[repr(C)] pub struct IPrinting3DBaseMaterialGroupFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DBaseMaterialStatics, IPrinting3DBaseMaterialStatics_Vtbl, 0x815a47bc_374a_476d_be92_3ecfd1cb9776); +windows_core::imp::define_interface!(IPrinting3DBaseMaterialStatics, IPrinting3DBaseMaterialStatics_Vtbl, 0x815a47bc_374a_476d_be92_3ecfd1cb9776); #[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, } -windows_core::imp::com_interface!(IPrinting3DColorMaterial, IPrinting3DColorMaterial_Vtbl, 0xe1899928_7ce7_4285_a35d_f145c9510c7b); +windows_core::imp::define_interface!(IPrinting3DColorMaterial, IPrinting3DColorMaterial_Vtbl, 0xe1899928_7ce7_4285_a35d_f145c9510c7b); #[repr(C)] pub struct IPrinting3DColorMaterial_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DColorMaterial2, IPrinting3DColorMaterial2_Vtbl, 0xfab0e852_0aef_44e9_9ddd_36eeea5acd44); +windows_core::imp::define_interface!(IPrinting3DColorMaterial2, IPrinting3DColorMaterial2_Vtbl, 0xfab0e852_0aef_44e9_9ddd_36eeea5acd44); #[repr(C)] pub struct IPrinting3DColorMaterial2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -159,7 +159,7 @@ pub struct IPrinting3DColorMaterial2_Vtbl { #[cfg(not(feature = "UI"))] SetColor: usize, } -windows_core::imp::com_interface!(IPrinting3DColorMaterialGroup, IPrinting3DColorMaterialGroup_Vtbl, 0x001a6bd0_aadf_4226_afe9_f369a0b45004); +windows_core::imp::define_interface!(IPrinting3DColorMaterialGroup, IPrinting3DColorMaterialGroup_Vtbl, 0x001a6bd0_aadf_4226_afe9_f369a0b45004); #[repr(C)] pub struct IPrinting3DColorMaterialGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -169,13 +169,13 @@ pub struct IPrinting3DColorMaterialGroup_Vtbl { Colors: usize, pub MaterialGroupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DColorMaterialGroupFactory, IPrinting3DColorMaterialGroupFactory_Vtbl, 0x71d38d6d_b1ea_4a5b_bc54_19c65f3df044); +windows_core::imp::define_interface!(IPrinting3DColorMaterialGroupFactory, IPrinting3DColorMaterialGroupFactory_Vtbl, 0x71d38d6d_b1ea_4a5b_bc54_19c65f3df044); #[repr(C)] pub struct IPrinting3DColorMaterialGroupFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DComponent, IPrinting3DComponent_Vtbl, 0x7e287845_bf7f_4cdb_a27f_30a01437fede); +windows_core::imp::define_interface!(IPrinting3DComponent, IPrinting3DComponent_Vtbl, 0x7e287845_bf7f_4cdb_a27f_30a01437fede); #[repr(C)] pub struct IPrinting3DComponent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -194,7 +194,7 @@ pub struct IPrinting3DComponent_Vtbl { 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, } -windows_core::imp::com_interface!(IPrinting3DComponentWithMatrix, IPrinting3DComponentWithMatrix_Vtbl, 0x3279f335_0ef0_456b_9a21_49bebe8b51c2); +windows_core::imp::define_interface!(IPrinting3DComponentWithMatrix, IPrinting3DComponentWithMatrix_Vtbl, 0x3279f335_0ef0_456b_9a21_49bebe8b51c2); #[repr(C)] pub struct IPrinting3DComponentWithMatrix_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -209,7 +209,7 @@ pub struct IPrinting3DComponentWithMatrix_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetMatrix: usize, } -windows_core::imp::com_interface!(IPrinting3DCompositeMaterial, IPrinting3DCompositeMaterial_Vtbl, 0x462238dd_562e_4f6c_882d_f4d841fd63c7); +windows_core::imp::define_interface!(IPrinting3DCompositeMaterial, IPrinting3DCompositeMaterial_Vtbl, 0x462238dd_562e_4f6c_882d_f4d841fd63c7); #[repr(C)] pub struct IPrinting3DCompositeMaterial_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -218,7 +218,7 @@ pub struct IPrinting3DCompositeMaterial_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Values: usize, } -windows_core::imp::com_interface!(IPrinting3DCompositeMaterialGroup, IPrinting3DCompositeMaterialGroup_Vtbl, 0x8d946a5b_40f1_496d_a5fb_340a5a678e30); +windows_core::imp::define_interface!(IPrinting3DCompositeMaterialGroup, IPrinting3DCompositeMaterialGroup_Vtbl, 0x8d946a5b_40f1_496d_a5fb_340a5a678e30); #[repr(C)] pub struct IPrinting3DCompositeMaterialGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -232,20 +232,20 @@ pub struct IPrinting3DCompositeMaterialGroup_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] MaterialIndices: usize, } -windows_core::imp::com_interface!(IPrinting3DCompositeMaterialGroup2, IPrinting3DCompositeMaterialGroup2_Vtbl, 0x06e86d62_7d3b_41e1_944c_bafde4555483); +windows_core::imp::define_interface!(IPrinting3DCompositeMaterialGroup2, IPrinting3DCompositeMaterialGroup2_Vtbl, 0x06e86d62_7d3b_41e1_944c_bafde4555483); #[repr(C)] pub struct IPrinting3DCompositeMaterialGroup2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BaseMaterialGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBaseMaterialGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DCompositeMaterialGroupFactory, IPrinting3DCompositeMaterialGroupFactory_Vtbl, 0xd08ecd13_92ff_43aa_a627_8d43c22c817e); +windows_core::imp::define_interface!(IPrinting3DCompositeMaterialGroupFactory, IPrinting3DCompositeMaterialGroupFactory_Vtbl, 0xd08ecd13_92ff_43aa_a627_8d43c22c817e); #[repr(C)] pub struct IPrinting3DCompositeMaterialGroupFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DFaceReductionOptions, IPrinting3DFaceReductionOptions_Vtbl, 0xbbfed397_2d74_46f7_be85_99a67bbb6629); +windows_core::imp::define_interface!(IPrinting3DFaceReductionOptions, IPrinting3DFaceReductionOptions_Vtbl, 0xbbfed397_2d74_46f7_be85_99a67bbb6629); #[repr(C)] pub struct IPrinting3DFaceReductionOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -256,7 +256,7 @@ pub struct IPrinting3DFaceReductionOptions_Vtbl { pub MaxEdgeLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetMaxEdgeLength: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DMaterial, IPrinting3DMaterial_Vtbl, 0x378db256_ed62_4952_b85b_03567d7c465e); +windows_core::imp::define_interface!(IPrinting3DMaterial, IPrinting3DMaterial_Vtbl, 0x378db256_ed62_4952_b85b_03567d7c465e); #[repr(C)] pub struct IPrinting3DMaterial_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -281,7 +281,7 @@ pub struct IPrinting3DMaterial_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] MultiplePropertyGroups: usize, } -windows_core::imp::com_interface!(IPrinting3DMesh, IPrinting3DMesh_Vtbl, 0x192e90dc_0228_2e01_bc20_c5290cbf32c4); +windows_core::imp::define_interface!(IPrinting3DMesh, IPrinting3DMesh_Vtbl, 0x192e90dc_0228_2e01_bc20_c5290cbf32c4); #[repr(C)] pub struct IPrinting3DMesh_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -327,7 +327,7 @@ pub struct IPrinting3DMesh_Vtbl { BufferSet: usize, pub VerifyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, Printing3DMeshVerificationMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DMeshVerificationResult, IPrinting3DMeshVerificationResult_Vtbl, 0x195671ba_e93a_4e8a_a46f_dea8e852197e); +windows_core::imp::define_interface!(IPrinting3DMeshVerificationResult, IPrinting3DMeshVerificationResult_Vtbl, 0x195671ba_e93a_4e8a_a46f_dea8e852197e); #[repr(C)] pub struct IPrinting3DMeshVerificationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -341,7 +341,7 @@ pub struct IPrinting3DMeshVerificationResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReversedNormalTriangles: usize, } -windows_core::imp::com_interface!(IPrinting3DModel, IPrinting3DModel_Vtbl, 0x2d012ef0_52fb_919a_77b0_4b1a3b80324f); +windows_core::imp::define_interface!(IPrinting3DModel, IPrinting3DModel_Vtbl, 0x2d012ef0_52fb_919a_77b0_4b1a3b80324f); #[repr(C)] pub struct IPrinting3DModel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -376,7 +376,7 @@ pub struct IPrinting3DModel_Vtbl { pub RepairAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IPrinting3DModel2, IPrinting3DModel2_Vtbl, 0xc92069c7_c841_47f3_a84e_a149fd08b657); +windows_core::imp::define_interface!(IPrinting3DModel2, IPrinting3DModel2_Vtbl, 0xc92069c7_c841_47f3_a84e_a149fd08b657); #[repr(C)] pub struct IPrinting3DModel2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -387,7 +387,7 @@ pub struct IPrinting3DModel2_Vtbl { pub TryReduceFacesWithOptionsAndTimeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RepairWithProgressAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DModelTexture, IPrinting3DModelTexture_Vtbl, 0x5dafcf01_b59d_483c_97bb_a4d546d1c75c); +windows_core::imp::define_interface!(IPrinting3DModelTexture, IPrinting3DModelTexture_Vtbl, 0x5dafcf01_b59d_483c_97bb_a4d546d1c75c); #[repr(C)] pub struct IPrinting3DModelTexture_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -398,7 +398,7 @@ pub struct IPrinting3DModelTexture_Vtbl { pub TileStyleV: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Printing3DTextureEdgeBehavior) -> windows_core::HRESULT, pub SetTileStyleV: unsafe extern "system" fn(*mut core::ffi::c_void, Printing3DTextureEdgeBehavior) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DMultiplePropertyMaterial, IPrinting3DMultiplePropertyMaterial_Vtbl, 0x25a6254b_c6e9_484d_a214_a25e5776ba62); +windows_core::imp::define_interface!(IPrinting3DMultiplePropertyMaterial, IPrinting3DMultiplePropertyMaterial_Vtbl, 0x25a6254b_c6e9_484d_a214_a25e5776ba62); #[repr(C)] pub struct IPrinting3DMultiplePropertyMaterial_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -407,7 +407,7 @@ pub struct IPrinting3DMultiplePropertyMaterial_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] MaterialIndices: usize, } -windows_core::imp::com_interface!(IPrinting3DMultiplePropertyMaterialGroup, IPrinting3DMultiplePropertyMaterialGroup_Vtbl, 0xf0950519_aeb9_4515_a39b_a088fbbb277c); +windows_core::imp::define_interface!(IPrinting3DMultiplePropertyMaterialGroup, IPrinting3DMultiplePropertyMaterialGroup_Vtbl, 0xf0950519_aeb9_4515_a39b_a088fbbb277c); #[repr(C)] pub struct IPrinting3DMultiplePropertyMaterialGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -421,13 +421,13 @@ pub struct IPrinting3DMultiplePropertyMaterialGroup_Vtbl { MaterialGroupIndices: usize, pub MaterialGroupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DMultiplePropertyMaterialGroupFactory, IPrinting3DMultiplePropertyMaterialGroupFactory_Vtbl, 0x323e196e_d4c6_451e_a814_4d78a210fe53); +windows_core::imp::define_interface!(IPrinting3DMultiplePropertyMaterialGroupFactory, IPrinting3DMultiplePropertyMaterialGroupFactory_Vtbl, 0x323e196e_d4c6_451e_a814_4d78a210fe53); #[repr(C)] pub struct IPrinting3DMultiplePropertyMaterialGroupFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DTexture2CoordMaterial, IPrinting3DTexture2CoordMaterial_Vtbl, 0x8d844bfb_07e9_4986_9833_8dd3d48c6859); +windows_core::imp::define_interface!(IPrinting3DTexture2CoordMaterial, IPrinting3DTexture2CoordMaterial_Vtbl, 0x8d844bfb_07e9_4986_9833_8dd3d48c6859); #[repr(C)] pub struct IPrinting3DTexture2CoordMaterial_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -438,7 +438,7 @@ pub struct IPrinting3DTexture2CoordMaterial_Vtbl { pub V: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetV: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DTexture2CoordMaterialGroup, IPrinting3DTexture2CoordMaterialGroup_Vtbl, 0x627d7ca7_6d90_4fb9_9fc4_9feff3dfa892); +windows_core::imp::define_interface!(IPrinting3DTexture2CoordMaterialGroup, IPrinting3DTexture2CoordMaterialGroup_Vtbl, 0x627d7ca7_6d90_4fb9_9fc4_9feff3dfa892); #[repr(C)] pub struct IPrinting3DTexture2CoordMaterialGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -448,20 +448,20 @@ pub struct IPrinting3DTexture2CoordMaterialGroup_Vtbl { Texture2Coords: usize, pub MaterialGroupId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DTexture2CoordMaterialGroup2, IPrinting3DTexture2CoordMaterialGroup2_Vtbl, 0x69fbdbba_b12e_429b_8386_df5284f6e80f); +windows_core::imp::define_interface!(IPrinting3DTexture2CoordMaterialGroup2, IPrinting3DTexture2CoordMaterialGroup2_Vtbl, 0x69fbdbba_b12e_429b_8386_df5284f6e80f); #[repr(C)] pub struct IPrinting3DTexture2CoordMaterialGroup2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Texture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetTexture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DTexture2CoordMaterialGroupFactory, IPrinting3DTexture2CoordMaterialGroupFactory_Vtbl, 0xcbb049b0_468a_4c6f_b2a2_8eb8ba8dea48); +windows_core::imp::define_interface!(IPrinting3DTexture2CoordMaterialGroupFactory, IPrinting3DTexture2CoordMaterialGroupFactory_Vtbl, 0xcbb049b0_468a_4c6f_b2a2_8eb8ba8dea48); #[repr(C)] pub struct IPrinting3DTexture2CoordMaterialGroupFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DTextureResource, IPrinting3DTextureResource_Vtbl, 0xa70df32d_6ab1_44ae_bc45_a27382c0d38c); +windows_core::imp::define_interface!(IPrinting3DTextureResource, IPrinting3DTextureResource_Vtbl, 0xa70df32d_6ab1_44ae_bc45_a27382c0d38c); #[repr(C)] pub struct IPrinting3DTextureResource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2328,7 +2328,7 @@ impl Default for Printing3DBufferDescription { unsafe { core::mem::zeroed() } } } -windows_core::imp::com_interface!(Print3DTaskSourceRequestedHandler, Print3DTaskSourceRequestedHandler_Vtbl, 0xe9175e70_c917_46de_bb51_d9a94db3711f); +windows_core::imp::define_interface!(Print3DTaskSourceRequestedHandler, Print3DTaskSourceRequestedHandler_Vtbl, 0xe9175e70_c917_46de_bb51_d9a94db3711f); impl Print3DTaskSourceRequestedHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = Print3DTaskSourceRequestedHandlerBox:: { vtable: &Print3DTaskSourceRequestedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/Graphics/mod.rs b/crates/libs/windows/src/Windows/Graphics/mod.rs index 9a202dbc5e..d1d7e938c9 100644 --- a/crates/libs/windows/src/Windows/Graphics/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/mod.rs @@ -14,7 +14,7 @@ pub mod Imaging; pub mod Printing; #[cfg(feature = "Graphics_Printing3D")] pub mod Printing3D; -windows_core::imp::com_interface!(IGeometrySource2D, IGeometrySource2D_Vtbl, 0xcaff7902_670c_4181_a624_da977203b845); +windows_core::imp::define_interface!(IGeometrySource2D, IGeometrySource2D_Vtbl, 0xcaff7902_670c_4181_a624_da977203b845); windows_core::imp::interface_hierarchy!(IGeometrySource2D, windows_core::IUnknown, windows_core::IInspectable); impl IGeometrySource2D {} impl windows_core::RuntimeType for IGeometrySource2D { diff --git a/crates/libs/windows/src/Windows/Management/Core/mod.rs b/crates/libs/windows/src/Windows/Management/Core/mod.rs index 70ef9e96b5..92e3b64f29 100644 --- a/crates/libs/windows/src/Windows/Management/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Core/mod.rs @@ -1,9 +1,9 @@ -windows_core::imp::com_interface!(IApplicationDataManager, IApplicationDataManager_Vtbl, 0x74d10432_2e99_4000_9a3a_64307e858129); +windows_core::imp::define_interface!(IApplicationDataManager, IApplicationDataManager_Vtbl, 0x74d10432_2e99_4000_9a3a_64307e858129); #[repr(C)] pub struct IApplicationDataManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IApplicationDataManagerStatics, IApplicationDataManagerStatics_Vtbl, 0x1e1862e3_698e_49a1_9752_dee94925b9b3); +windows_core::imp::define_interface!(IApplicationDataManagerStatics, IApplicationDataManagerStatics_Vtbl, 0x1e1862e3_698e_49a1_9752_dee94925b9b3); #[repr(C)] pub struct IApplicationDataManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 d4ebd03a9d..2a2172a9fb 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/Preview/mod.rs @@ -1,10 +1,10 @@ -windows_core::imp::com_interface!(IClassicAppManagerStatics, IClassicAppManagerStatics_Vtbl, 0xe2fad668_882c_4f33_b035_0df7b90d67e6); +windows_core::imp::define_interface!(IClassicAppManagerStatics, IClassicAppManagerStatics_Vtbl, 0xe2fad668_882c_4f33_b035_0df7b90d67e6); #[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, } -windows_core::imp::com_interface!(IInstalledClassicAppInfo, IInstalledClassicAppInfo_Vtbl, 0x0a7d3da3_65d0_4086_80d6_0610d760207d); +windows_core::imp::define_interface!(IInstalledClassicAppInfo, IInstalledClassicAppInfo_Vtbl, 0x0a7d3da3_65d0_4086_80d6_0610d760207d); #[repr(C)] pub struct IInstalledClassicAppInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs index 91e9f75a3a..30268db688 100644 --- a/crates/libs/windows/src/Windows/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Deployment/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Management_Deployment_Preview")] pub mod Preview; -windows_core::imp::com_interface!(IAddPackageOptions, IAddPackageOptions_Vtbl, 0x05cee018_f68f_422b_95a4_66679ec77fc0); +windows_core::imp::define_interface!(IAddPackageOptions, IAddPackageOptions_Vtbl, 0x05cee018_f68f_422b_95a4_66679ec77fc0); #[repr(C)] pub struct IAddPackageOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -47,7 +47,7 @@ pub struct IAddPackageOptions_Vtbl { pub DeferRegistrationWhenPackagesAreInUse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetDeferRegistrationWhenPackagesAreInUse: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAddPackageOptions2, IAddPackageOptions2_Vtbl, 0xee515828_bf33_40f7_84af_1b6fad2919d7); +windows_core::imp::define_interface!(IAddPackageOptions2, IAddPackageOptions2_Vtbl, 0xee515828_bf33_40f7_84af_1b6fad2919d7); #[repr(C)] pub struct IAddPackageOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,7 +58,7 @@ pub struct IAddPackageOptions2_Vtbl { pub LimitToExistingPackages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetLimitToExistingPackages: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppInstallerManager, IAppInstallerManager_Vtbl, 0xe7ee21c3_2103_53ee_9b18_68afeab0033d); +windows_core::imp::define_interface!(IAppInstallerManager, IAppInstallerManager_Vtbl, 0xe7ee21c3_2103_53ee_9b18_68afeab0033d); #[repr(C)] pub struct IAppInstallerManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -66,14 +66,14 @@ pub struct IAppInstallerManager_Vtbl { 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, } -windows_core::imp::com_interface!(IAppInstallerManagerStatics, IAppInstallerManagerStatics_Vtbl, 0xc95a6ed5_fc59_5336_9b2e_2b07c5e61434); +windows_core::imp::define_interface!(IAppInstallerManagerStatics, IAppInstallerManagerStatics_Vtbl, 0xc95a6ed5_fc59_5336_9b2e_2b07c5e61434); #[repr(C)] pub struct IAppInstallerManagerStatics_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 GetForSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAutoUpdateSettingsOptions, IAutoUpdateSettingsOptions_Vtbl, 0x67491d87_35e1_512a_8968_1ae88d1be6d3); +windows_core::imp::define_interface!(IAutoUpdateSettingsOptions, IAutoUpdateSettingsOptions_Vtbl, 0x67491d87_35e1_512a_8968_1ae88d1be6d3); #[repr(C)] pub struct IAutoUpdateSettingsOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -118,7 +118,7 @@ pub struct IAutoUpdateSettingsOptions_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] OptionalPackageUris: usize, } -windows_core::imp::com_interface!(IAutoUpdateSettingsOptionsStatics, IAutoUpdateSettingsOptionsStatics_Vtbl, 0x887b337d_0c05_54d0_bd49_3bb7a2c084cb); +windows_core::imp::define_interface!(IAutoUpdateSettingsOptionsStatics, IAutoUpdateSettingsOptionsStatics_Vtbl, 0x887b337d_0c05_54d0_bd49_3bb7a2c084cb); #[repr(C)] pub struct IAutoUpdateSettingsOptionsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -127,7 +127,7 @@ pub struct IAutoUpdateSettingsOptionsStatics_Vtbl { #[cfg(not(feature = "ApplicationModel"))] CreateFromAppInstallerInfo: usize, } -windows_core::imp::com_interface!(ICreateSharedPackageContainerOptions, ICreateSharedPackageContainerOptions_Vtbl, 0xc2ab6ece_f664_5c8e_a4b3_2a33276d3dde); +windows_core::imp::define_interface!(ICreateSharedPackageContainerOptions, ICreateSharedPackageContainerOptions_Vtbl, 0xc2ab6ece_f664_5c8e_a4b3_2a33276d3dde); #[repr(C)] pub struct ICreateSharedPackageContainerOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -140,7 +140,7 @@ pub struct ICreateSharedPackageContainerOptions_Vtbl { pub CreateCollisionOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SharedPackageContainerCreationCollisionOptions) -> windows_core::HRESULT, pub SetCreateCollisionOption: unsafe extern "system" fn(*mut core::ffi::c_void, SharedPackageContainerCreationCollisionOptions) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateSharedPackageContainerResult, ICreateSharedPackageContainerResult_Vtbl, 0xce8810bf_151c_5707_b936_497e564afc7a); +windows_core::imp::define_interface!(ICreateSharedPackageContainerResult, ICreateSharedPackageContainerResult_Vtbl, 0xce8810bf_151c_5707_b936_497e564afc7a); #[repr(C)] pub struct ICreateSharedPackageContainerResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -148,7 +148,7 @@ pub struct ICreateSharedPackageContainerResult_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SharedPackageContainerOperationStatus) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeleteSharedPackageContainerOptions, IDeleteSharedPackageContainerOptions_Vtbl, 0x9d81865f_986e_5138_8b5d_384d8e66ed6c); +windows_core::imp::define_interface!(IDeleteSharedPackageContainerOptions, IDeleteSharedPackageContainerOptions_Vtbl, 0x9d81865f_986e_5138_8b5d_384d8e66ed6c); #[repr(C)] pub struct IDeleteSharedPackageContainerOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -157,14 +157,14 @@ pub struct IDeleteSharedPackageContainerOptions_Vtbl { pub AllUsers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllUsers: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeleteSharedPackageContainerResult, IDeleteSharedPackageContainerResult_Vtbl, 0x35398884_5736_517b_85bc_e598c81ab284); +windows_core::imp::define_interface!(IDeleteSharedPackageContainerResult, IDeleteSharedPackageContainerResult_Vtbl, 0x35398884_5736_517b_85bc_e598c81ab284); #[repr(C)] pub struct IDeleteSharedPackageContainerResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SharedPackageContainerOperationStatus) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeploymentResult, IDeploymentResult_Vtbl, 0x2563b9ae_b77d_4c1f_8a7b_20e6ad515ef3); +windows_core::imp::define_interface!(IDeploymentResult, IDeploymentResult_Vtbl, 0x2563b9ae_b77d_4c1f_8a7b_20e6ad515ef3); #[repr(C)] pub struct IDeploymentResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -172,13 +172,13 @@ pub struct IDeploymentResult_Vtbl { 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, } -windows_core::imp::com_interface!(IDeploymentResult2, IDeploymentResult2_Vtbl, 0xfc0e715c_5a01_4bd7_bcf1_381c8c82e04a); +windows_core::imp::define_interface!(IDeploymentResult2, IDeploymentResult2_Vtbl, 0xfc0e715c_5a01_4bd7_bcf1_381c8c82e04a); #[repr(C)] pub struct IDeploymentResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsRegistered: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFindSharedPackageContainerOptions, IFindSharedPackageContainerOptions_Vtbl, 0xb40fc8fe_8384_54cc_817d_ae09d3b6a606); +windows_core::imp::define_interface!(IFindSharedPackageContainerOptions, IFindSharedPackageContainerOptions_Vtbl, 0xb40fc8fe_8384_54cc_817d_ae09d3b6a606); #[repr(C)] pub struct IFindSharedPackageContainerOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -187,7 +187,7 @@ pub struct IFindSharedPackageContainerOptions_Vtbl { 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, } -windows_core::imp::com_interface!(IPackageAllUserProvisioningOptions, IPackageAllUserProvisioningOptions_Vtbl, 0xda35aa22_1de0_5d3e_99ff_d24f3118bf5e); +windows_core::imp::define_interface!(IPackageAllUserProvisioningOptions, IPackageAllUserProvisioningOptions_Vtbl, 0xda35aa22_1de0_5d3e_99ff_d24f3118bf5e); #[repr(C)] pub struct IPackageAllUserProvisioningOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -200,7 +200,7 @@ pub struct IPackageAllUserProvisioningOptions_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ProjectionOrderPackageFamilyNames: usize, } -windows_core::imp::com_interface!(IPackageManager, IPackageManager_Vtbl, 0x9a7d4b65_5e8f_4fc7_a2e5_7f6925cb8b53); +windows_core::imp::define_interface!(IPackageManager, IPackageManager_Vtbl, 0x9a7d4b65_5e8f_4fc7_a2e5_7f6925cb8b53); #[repr(C)] pub struct IPackageManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -260,13 +260,13 @@ pub struct IPackageManager_Vtbl { #[cfg(not(feature = "ApplicationModel"))] FindPackageByUserSecurityIdPackageFullName: usize, } -windows_core::imp::com_interface!(IPackageManager10, IPackageManager10_Vtbl, 0xa7d7d07e_2e66_4093_aed5_e093ed87b3bb); +windows_core::imp::define_interface!(IPackageManager10, IPackageManager10_Vtbl, 0xa7d7d07e_2e66_4093_aed5_e093ed87b3bb); #[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, } -windows_core::imp::com_interface!(IPackageManager2, IPackageManager2_Vtbl, 0xf7aad08d_0840_46f2_b5d8_cad47693a095); +windows_core::imp::define_interface!(IPackageManager2, IPackageManager2_Vtbl, 0xf7aad08d_0840_46f2_b5d8_cad47693a095); #[repr(C)] pub struct IPackageManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -305,7 +305,7 @@ pub struct IPackageManager2_Vtbl { 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, } -windows_core::imp::com_interface!(IPackageManager3, IPackageManager3_Vtbl, 0xdaad9948_36f1_41a7_9188_bc263e0dcb72); +windows_core::imp::define_interface!(IPackageManager3, IPackageManager3_Vtbl, 0xdaad9948_36f1_41a7_9188_bc263e0dcb72); #[repr(C)] pub struct IPackageManager3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -337,7 +337,7 @@ pub struct IPackageManager3_Vtbl { 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, } -windows_core::imp::com_interface!(IPackageManager4, IPackageManager4_Vtbl, 0x3c719963_bab6_46bf_8ff7_da4719230ae6); +windows_core::imp::define_interface!(IPackageManager4, IPackageManager4_Vtbl, 0x3c719963_bab6_46bf_8ff7_da4719230ae6); #[repr(C)] pub struct IPackageManager4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -346,7 +346,7 @@ pub struct IPackageManager4_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetPackageVolumesAsync: usize, } -windows_core::imp::com_interface!(IPackageManager5, IPackageManager5_Vtbl, 0x711f3117_1afd_4313_978c_9bb6e1b864a7); +windows_core::imp::define_interface!(IPackageManager5, IPackageManager5_Vtbl, 0x711f3117_1afd_4313_978c_9bb6e1b864a7); #[repr(C)] pub struct IPackageManager5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -364,7 +364,7 @@ pub struct IPackageManager5_Vtbl { RegisterPackageByFamilyNameAndOptionalPackagesAsync: usize, pub DebugSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageManager6, IPackageManager6_Vtbl, 0x0847e909_53cd_4e4f_832e_57d180f6e447); +windows_core::imp::define_interface!(IPackageManager6, IPackageManager6_Vtbl, 0x0847e909_53cd_4e4f_832e_57d180f6e447); #[repr(C)] pub struct IPackageManager6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -384,7 +384,7 @@ pub struct IPackageManager6_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RequestAddPackageAsync: usize, } -windows_core::imp::com_interface!(IPackageManager7, IPackageManager7_Vtbl, 0xf28654f4_2ba7_4b80_88d6_be15f9a23fba); +windows_core::imp::define_interface!(IPackageManager7, IPackageManager7_Vtbl, 0xf28654f4_2ba7_4b80_88d6_be15f9a23fba); #[repr(C)] pub struct IPackageManager7_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -393,13 +393,13 @@ pub struct IPackageManager7_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RequestAddPackageAndRelatedSetAsync: usize, } -windows_core::imp::com_interface!(IPackageManager8, IPackageManager8_Vtbl, 0xb8575330_1298_4ee2_80ee_7f659c5d2782); +windows_core::imp::define_interface!(IPackageManager8, IPackageManager8_Vtbl, 0xb8575330_1298_4ee2_80ee_7f659c5d2782); #[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, } -windows_core::imp::com_interface!(IPackageManager9, IPackageManager9_Vtbl, 0x1aa79035_cc71_4b2e_80a6_c7041d8579a7); +windows_core::imp::define_interface!(IPackageManager9, IPackageManager9_Vtbl, 0x1aa79035_cc71_4b2e_80a6_c7041d8579a7); #[repr(C)] pub struct IPackageManager9_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -417,7 +417,7 @@ pub struct IPackageManager9_Vtbl { 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, } -windows_core::imp::com_interface!(IPackageManagerDebugSettings, IPackageManagerDebugSettings_Vtbl, 0x1a611683_a988_4fcf_8f0f_ce175898e8eb); +windows_core::imp::define_interface!(IPackageManagerDebugSettings, IPackageManagerDebugSettings_Vtbl, 0x1a611683_a988_4fcf_8f0f_ce175898e8eb); #[repr(C)] pub struct IPackageManagerDebugSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -430,14 +430,14 @@ pub struct IPackageManagerDebugSettings_Vtbl { #[cfg(not(feature = "ApplicationModel"))] SetContentGroupStateWithPercentageAsync: usize, } -windows_core::imp::com_interface!(IPackageUserInformation, IPackageUserInformation_Vtbl, 0xf6383423_fa09_4cbc_9055_15ca275e2e7e); +windows_core::imp::define_interface!(IPackageUserInformation, IPackageUserInformation_Vtbl, 0xf6383423_fa09_4cbc_9055_15ca275e2e7e); #[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 InstallState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PackageInstallState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageVolume, IPackageVolume_Vtbl, 0xcf2672c3_1a40_4450_9739_2ace2e898853); +windows_core::imp::define_interface!(IPackageVolume, IPackageVolume_Vtbl, 0xcf2672c3_1a40_4450_9739_2ace2e898853); #[repr(C)] pub struct IPackageVolume_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -504,7 +504,7 @@ pub struct IPackageVolume_Vtbl { #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackageByUserSecurityIdPackageFullName: usize, } -windows_core::imp::com_interface!(IPackageVolume2, IPackageVolume2_Vtbl, 0x46abcf2e_9dd4_47a2_ab8c_c6408349bcd8); +windows_core::imp::define_interface!(IPackageVolume2, IPackageVolume2_Vtbl, 0x46abcf2e_9dd4_47a2_ab8c_c6408349bcd8); #[repr(C)] pub struct IPackageVolume2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -512,7 +512,7 @@ pub struct IPackageVolume2_Vtbl { pub IsAppxInstallSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub GetAvailableSpaceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRegisterPackageOptions, IRegisterPackageOptions_Vtbl, 0x677112a7_50d4_496c_8415_0602b4c6d3bf); +windows_core::imp::define_interface!(IRegisterPackageOptions, IRegisterPackageOptions_Vtbl, 0x677112a7_50d4_496c_8415_0602b4c6d3bf); #[repr(C)] pub struct IRegisterPackageOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -545,7 +545,7 @@ pub struct IRegisterPackageOptions_Vtbl { pub DeferRegistrationWhenPackagesAreInUse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetDeferRegistrationWhenPackagesAreInUse: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRegisterPackageOptions2, IRegisterPackageOptions2_Vtbl, 0x3dfa9743_86ff_4a11_bc93_434eb6be3a0b); +windows_core::imp::define_interface!(IRegisterPackageOptions2, IRegisterPackageOptions2_Vtbl, 0x3dfa9743_86ff_4a11_bc93_434eb6be3a0b); #[repr(C)] pub struct IRegisterPackageOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -554,7 +554,7 @@ pub struct IRegisterPackageOptions2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ExpectedDigests: usize, } -windows_core::imp::com_interface!(ISharedPackageContainer, ISharedPackageContainer_Vtbl, 0x177f1aa9_151e_5ef7_b1d9_2fba0b4b0d17); +windows_core::imp::define_interface!(ISharedPackageContainer, ISharedPackageContainer_Vtbl, 0x177f1aa9_151e_5ef7_b1d9_2fba0b4b0d17); #[repr(C)] pub struct ISharedPackageContainer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -567,7 +567,7 @@ pub struct ISharedPackageContainer_Vtbl { 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 ResetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISharedPackageContainerManager, ISharedPackageContainerManager_Vtbl, 0xbe353068_1ef7_5ac8_ab3f_0b9f612f0274); +windows_core::imp::define_interface!(ISharedPackageContainerManager, ISharedPackageContainerManager_Vtbl, 0xbe353068_1ef7_5ac8_ab3f_0b9f612f0274); #[repr(C)] pub struct ISharedPackageContainerManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -583,7 +583,7 @@ pub struct ISharedPackageContainerManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindContainersWithOptions: usize, } -windows_core::imp::com_interface!(ISharedPackageContainerManagerStatics, ISharedPackageContainerManagerStatics_Vtbl, 0x2ef56348_838a_5f55_a89e_1198a2c627e6); +windows_core::imp::define_interface!(ISharedPackageContainerManagerStatics, ISharedPackageContainerManagerStatics_Vtbl, 0x2ef56348_838a_5f55_a89e_1198a2c627e6); #[repr(C)] pub struct ISharedPackageContainerManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -591,19 +591,19 @@ pub struct ISharedPackageContainerManagerStatics_Vtbl { pub GetForUser: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(ISharedPackageContainerMember, ISharedPackageContainerMember_Vtbl, 0xfe0d0438_43c9_5426_b89c_f79bf85ddff4); +windows_core::imp::define_interface!(ISharedPackageContainerMember, ISharedPackageContainerMember_Vtbl, 0xfe0d0438_43c9_5426_b89c_f79bf85ddff4); #[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, } -windows_core::imp::com_interface!(ISharedPackageContainerMemberFactory, ISharedPackageContainerMemberFactory_Vtbl, 0x49b0ceeb_498f_5a62_b738_b3ca0d436704); +windows_core::imp::define_interface!(ISharedPackageContainerMemberFactory, ISharedPackageContainerMemberFactory_Vtbl, 0x49b0ceeb_498f_5a62_b738_b3ca0d436704); #[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, } -windows_core::imp::com_interface!(IStagePackageOptions, IStagePackageOptions_Vtbl, 0x0b110c9c_b95d_4c56_bd36_6d656800d06b); +windows_core::imp::define_interface!(IStagePackageOptions, IStagePackageOptions_Vtbl, 0x0b110c9c_b95d_4c56_bd36_6d656800d06b); #[repr(C)] pub struct IStagePackageOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -642,7 +642,7 @@ pub struct IStagePackageOptions_Vtbl { pub AllowUnsigned: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowUnsigned: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStagePackageOptions2, IStagePackageOptions2_Vtbl, 0x990c4ccc_6226_4192_ba92_79875fce0d9c); +windows_core::imp::define_interface!(IStagePackageOptions2, IStagePackageOptions2_Vtbl, 0x990c4ccc_6226_4192_ba92_79875fce0d9c); #[repr(C)] pub struct IStagePackageOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -651,7 +651,7 @@ pub struct IStagePackageOptions2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ExpectedDigests: usize, } -windows_core::imp::com_interface!(IUpdateSharedPackageContainerOptions, IUpdateSharedPackageContainerOptions_Vtbl, 0x80672e83_7194_59f9_b5b9_daa5375f130a); +windows_core::imp::define_interface!(IUpdateSharedPackageContainerOptions, IUpdateSharedPackageContainerOptions_Vtbl, 0x80672e83_7194_59f9_b5b9_daa5375f130a); #[repr(C)] pub struct IUpdateSharedPackageContainerOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -660,7 +660,7 @@ pub struct IUpdateSharedPackageContainerOptions_Vtbl { pub RequirePackagesPresent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetRequirePackagesPresent: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUpdateSharedPackageContainerResult, IUpdateSharedPackageContainerResult_Vtbl, 0xaa407df7_c72d_5458_aea3_4645b6a8ee99); +windows_core::imp::define_interface!(IUpdateSharedPackageContainerResult, IUpdateSharedPackageContainerResult_Vtbl, 0xaa407df7_c72d_5458_aea3_4645b6a8ee99); #[repr(C)] pub struct IUpdateSharedPackageContainerResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Management/Policies/mod.rs b/crates/libs/windows/src/Windows/Management/Policies/mod.rs index 51b2d84030..d890642f56 100644 --- a/crates/libs/windows/src/Windows/Management/Policies/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Policies/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(INamedPolicyData, INamedPolicyData_Vtbl, 0x38dcb198_95ac_4077_a643_8078cae26400); +windows_core::imp::define_interface!(INamedPolicyData, INamedPolicyData_Vtbl, 0x38dcb198_95ac_4077_a643_8078cae26400); #[repr(C)] pub struct INamedPolicyData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -22,7 +22,7 @@ pub struct INamedPolicyData_Vtbl { 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, } -windows_core::imp::com_interface!(INamedPolicyStatics, INamedPolicyStatics_Vtbl, 0x7f793be7_76c4_4058_8cad_67662cd05f0d); +windows_core::imp::define_interface!(INamedPolicyStatics, INamedPolicyStatics_Vtbl, 0x7f793be7_76c4_4058_8cad_67662cd05f0d); #[repr(C)] pub struct INamedPolicyStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Management/Update/mod.rs b/crates/libs/windows/src/Windows/Management/Update/mod.rs index fad0a51440..7f5c4b9580 100644 --- a/crates/libs/windows/src/Windows/Management/Update/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Update/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPreviewBuildsManager, IPreviewBuildsManager_Vtbl, 0xfa07dd61_7e4f_59f7_7c9f_def9051c5f62); +windows_core::imp::define_interface!(IPreviewBuildsManager, IPreviewBuildsManager_Vtbl, 0xfa07dd61_7e4f_59f7_7c9f_def9051c5f62); #[repr(C)] pub struct IPreviewBuildsManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,14 +7,14 @@ pub struct IPreviewBuildsManager_Vtbl { pub GetCurrentState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SyncAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPreviewBuildsManagerStatics, IPreviewBuildsManagerStatics_Vtbl, 0x3e422887_b112_5a70_7da1_97d78d32aa29); +windows_core::imp::define_interface!(IPreviewBuildsManagerStatics, IPreviewBuildsManagerStatics_Vtbl, 0x3e422887_b112_5a70_7da1_97d78d32aa29); #[repr(C)] pub struct IPreviewBuildsManagerStatics_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 IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPreviewBuildsState, IPreviewBuildsState_Vtbl, 0xa2f2903e_b223_5f63_7546_3e8eac070a2e); +windows_core::imp::define_interface!(IPreviewBuildsState, IPreviewBuildsState_Vtbl, 0xa2f2903e_b223_5f63_7546_3e8eac070a2e); #[repr(C)] pub struct IPreviewBuildsState_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct IPreviewBuildsState_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IWindowsUpdate, IWindowsUpdate_Vtbl, 0xc3c88dd7_0ef3_52b2_a9ad_66bfc6bd9582); +windows_core::imp::define_interface!(IWindowsUpdate, IWindowsUpdate_Vtbl, 0xc3c88dd7_0ef3_52b2_a9ad_66bfc6bd9582); #[repr(C)] pub struct IWindowsUpdate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -52,7 +52,7 @@ pub struct IWindowsUpdate_Vtbl { pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IWindowsUpdateActionCompletedEventArgs, IWindowsUpdateActionCompletedEventArgs_Vtbl, 0x2c44b950_a655_5321_aec1_aee762922131); +windows_core::imp::define_interface!(IWindowsUpdateActionCompletedEventArgs, IWindowsUpdateActionCompletedEventArgs_Vtbl, 0x2c44b950_a655_5321_aec1_aee762922131); #[repr(C)] pub struct IWindowsUpdateActionCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -61,14 +61,14 @@ pub struct IWindowsUpdateActionCompletedEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IWindowsUpdateActionProgress, IWindowsUpdateActionProgress_Vtbl, 0x83b22d8a_4bb0_549f_ba39_59724882d137); +windows_core::imp::define_interface!(IWindowsUpdateActionProgress, IWindowsUpdateActionProgress_Vtbl, 0x83b22d8a_4bb0_549f_ba39_59724882d137); #[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 Progress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsUpdateActionResult, IWindowsUpdateActionResult_Vtbl, 0xe6692c62_f697_51b7_ab7f_e73e5e688f12); +windows_core::imp::define_interface!(IWindowsUpdateActionResult, IWindowsUpdateActionResult_Vtbl, 0xe6692c62_f697_51b7_ab7f_e73e5e688f12); #[repr(C)] pub struct IWindowsUpdateActionResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -77,7 +77,7 @@ pub struct IWindowsUpdateActionResult_Vtbl { 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, } -windows_core::imp::com_interface!(IWindowsUpdateAdministrator, IWindowsUpdateAdministrator_Vtbl, 0x7a60181c_ba1e_5cf9_aa65_304120b73d72); +windows_core::imp::define_interface!(IWindowsUpdateAdministrator, IWindowsUpdateAdministrator_Vtbl, 0x7a60181c_ba1e_5cf9_aa65_304120b73d72); #[repr(C)] pub struct IWindowsUpdateAdministrator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -91,7 +91,7 @@ pub struct IWindowsUpdateAdministrator_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetUpdates: usize, } -windows_core::imp::com_interface!(IWindowsUpdateAdministratorStatics, IWindowsUpdateAdministratorStatics_Vtbl, 0x013e6d36_ef69_53bc_8db8_c403bca550ed); +windows_core::imp::define_interface!(IWindowsUpdateAdministratorStatics, IWindowsUpdateAdministratorStatics_Vtbl, 0x013e6d36_ef69_53bc_8db8_c403bca550ed); #[repr(C)] pub struct IWindowsUpdateAdministratorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -102,7 +102,7 @@ pub struct IWindowsUpdateAdministratorStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IWindowsUpdateApprovalData, IWindowsUpdateApprovalData_Vtbl, 0xaadf5bfd_84db_59bc_85e2_ad4fc1f62f7c); +windows_core::imp::define_interface!(IWindowsUpdateApprovalData, IWindowsUpdateApprovalData_Vtbl, 0xaadf5bfd_84db_59bc_85e2_ad4fc1f62f7c); #[repr(C)] pub struct IWindowsUpdateApprovalData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -117,28 +117,28 @@ pub struct IWindowsUpdateApprovalData_Vtbl { pub OptOutOfAutoReboot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetOptOutOfAutoReboot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsUpdateAttentionRequiredInfo, IWindowsUpdateAttentionRequiredInfo_Vtbl, 0x44df2579_74d3_5ffa_b6ce_09e187e1e0ed); +windows_core::imp::define_interface!(IWindowsUpdateAttentionRequiredInfo, IWindowsUpdateAttentionRequiredInfo_Vtbl, 0x44df2579_74d3_5ffa_b6ce_09e187e1e0ed); #[repr(C)] pub struct IWindowsUpdateAttentionRequiredInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WindowsUpdateAttentionRequiredReason) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsUpdateAttentionRequiredReasonChangedEventArgs, IWindowsUpdateAttentionRequiredReasonChangedEventArgs_Vtbl, 0x0627abca_dbb8_524a_b1d2_d9df004eeb31); +windows_core::imp::define_interface!(IWindowsUpdateAttentionRequiredReasonChangedEventArgs, IWindowsUpdateAttentionRequiredReasonChangedEventArgs_Vtbl, 0x0627abca_dbb8_524a_b1d2_d9df004eeb31); #[repr(C)] pub struct IWindowsUpdateAttentionRequiredReasonChangedEventArgs_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 Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WindowsUpdateAttentionRequiredReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsUpdateGetAdministratorResult, IWindowsUpdateGetAdministratorResult_Vtbl, 0xbb39ffc4_2c42_5b1c_8995_343341c92c50); +windows_core::imp::define_interface!(IWindowsUpdateGetAdministratorResult, IWindowsUpdateGetAdministratorResult_Vtbl, 0xbb39ffc4_2c42_5b1c_8995_343341c92c50); #[repr(C)] pub struct IWindowsUpdateGetAdministratorResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Administrator: 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 WindowsUpdateAdministratorStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsUpdateItem, IWindowsUpdateItem_Vtbl, 0xb222e44a_49b6_59bf_a033_ef617cd73a98); +windows_core::imp::define_interface!(IWindowsUpdateItem, IWindowsUpdateItem_Vtbl, 0xb222e44a_49b6_59bf_a033_ef617cd73a98); #[repr(C)] pub struct IWindowsUpdateItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -151,7 +151,7 @@ pub struct IWindowsUpdateItem_Vtbl { 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, } -windows_core::imp::com_interface!(IWindowsUpdateManager, IWindowsUpdateManager_Vtbl, 0x5dd966c0_a71a_5602_bbd0_09a70e4573fa); +windows_core::imp::define_interface!(IWindowsUpdateManager, IWindowsUpdateManager_Vtbl, 0x5dd966c0_a71a_5602_bbd0_09a70e4573fa); #[repr(C)] pub struct IWindowsUpdateManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -184,20 +184,20 @@ pub struct IWindowsUpdateManager_Vtbl { GetMostRecentCompletedUpdatesAsync: usize, pub StartScan: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsUpdateManagerFactory, IWindowsUpdateManagerFactory_Vtbl, 0x1b394df8_decb_5f44_b47c_6ccf3bcfdb37); +windows_core::imp::define_interface!(IWindowsUpdateManagerFactory, IWindowsUpdateManagerFactory_Vtbl, 0x1b394df8_decb_5f44_b47c_6ccf3bcfdb37); #[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, } -windows_core::imp::com_interface!(IWindowsUpdateProgressChangedEventArgs, IWindowsUpdateProgressChangedEventArgs_Vtbl, 0xbbfbdeeb_94c8_5aa7_b0fb_66c67c233b0a); +windows_core::imp::define_interface!(IWindowsUpdateProgressChangedEventArgs, IWindowsUpdateProgressChangedEventArgs_Vtbl, 0xbbfbdeeb_94c8_5aa7_b0fb_66c67c233b0a); #[repr(C)] pub struct IWindowsUpdateProgressChangedEventArgs_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 ActionProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsUpdateRestartRequestOptions, IWindowsUpdateRestartRequestOptions_Vtbl, 0x38cfb7d3_4188_5222_905c_6c4443c951ee); +windows_core::imp::define_interface!(IWindowsUpdateRestartRequestOptions, IWindowsUpdateRestartRequestOptions_Vtbl, 0x38cfb7d3_4188_5222_905c_6c4443c951ee); #[repr(C)] pub struct IWindowsUpdateRestartRequestOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -216,13 +216,13 @@ pub struct IWindowsUpdateRestartRequestOptions_Vtbl { 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, } -windows_core::imp::com_interface!(IWindowsUpdateRestartRequestOptionsFactory, IWindowsUpdateRestartRequestOptionsFactory_Vtbl, 0x75f41d04_0e17_50d0_8c15_6b9d0539b3a9); +windows_core::imp::define_interface!(IWindowsUpdateRestartRequestOptionsFactory, IWindowsUpdateRestartRequestOptionsFactory_Vtbl, 0x75f41d04_0e17_50d0_8c15_6b9d0539b3a9); #[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, } -windows_core::imp::com_interface!(IWindowsUpdateScanCompletedEventArgs, IWindowsUpdateScanCompletedEventArgs_Vtbl, 0x95b6953e_ba5c_5fe8_b115_12de184a6bb0); +windows_core::imp::define_interface!(IWindowsUpdateScanCompletedEventArgs, IWindowsUpdateScanCompletedEventArgs_Vtbl, 0x95b6953e_ba5c_5fe8_b115_12de184a6bb0); #[repr(C)] pub struct IWindowsUpdateScanCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Management/Workplace/mod.rs b/crates/libs/windows/src/Windows/Management/Workplace/mod.rs index d7c7f850ba..2baf212c63 100644 --- a/crates/libs/windows/src/Windows/Management/Workplace/mod.rs +++ b/crates/libs/windows/src/Windows/Management/Workplace/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IMdmAllowPolicyStatics, IMdmAllowPolicyStatics_Vtbl, 0xc39709e7_741c_41f2_a4b6_314c31502586); +windows_core::imp::define_interface!(IMdmAllowPolicyStatics, IMdmAllowPolicyStatics_Vtbl, 0xc39709e7_741c_41f2_a4b6_314c31502586); #[repr(C)] pub struct IMdmAllowPolicyStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,13 +7,13 @@ pub struct IMdmAllowPolicyStatics_Vtbl { pub IsMicrosoftAccountAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsStoreAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMdmPolicyStatics2, IMdmPolicyStatics2_Vtbl, 0xc99c7526_03d4_49f9_a993_43efccd265c4); +windows_core::imp::define_interface!(IMdmPolicyStatics2, IMdmPolicyStatics2_Vtbl, 0xc99c7526_03d4_49f9_a993_43efccd265c4); #[repr(C)] pub struct IMdmPolicyStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetMessagingSyncPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MessagingSyncPolicy) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWorkplaceSettingsStatics, IWorkplaceSettingsStatics_Vtbl, 0xe4676ffd_2d92_4c08_bad4_f6590b54a6d3); +windows_core::imp::define_interface!(IWorkplaceSettingsStatics, IWorkplaceSettingsStatics_Vtbl, 0xe4676ffd_2d92_4c08_bad4_f6590b54a6d3); #[repr(C)] pub struct IWorkplaceSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Management/mod.rs b/crates/libs/windows/src/Windows/Management/mod.rs index 25dda89216..a2e5de157e 100644 --- a/crates/libs/windows/src/Windows/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Management/mod.rs @@ -8,7 +8,7 @@ pub mod Policies; pub mod Update; #[cfg(feature = "Management_Workplace")] pub mod Workplace; -windows_core::imp::com_interface!(IMdmAlert, IMdmAlert_Vtbl, 0xb0fbc327_28c1_4b52_a548_c5807caf70b6); +windows_core::imp::define_interface!(IMdmAlert, IMdmAlert_Vtbl, 0xb0fbc327_28c1_4b52_a548_c5807caf70b6); #[repr(C)] pub struct IMdmAlert_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct IMdmAlert_Vtbl { 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, } -windows_core::imp::com_interface!(IMdmSession, IMdmSession_Vtbl, 0xfe89314c_8f64_4797_a9d7_9d88f86ae166); +windows_core::imp::define_interface!(IMdmSession, IMdmSession_Vtbl, 0xfe89314c_8f64_4797_a9d7_9d88f86ae166); #[repr(C)] pub struct IMdmSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -45,7 +45,7 @@ pub struct IMdmSession_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] StartWithAlertsAsync: usize, } -windows_core::imp::com_interface!(IMdmSessionManagerStatics, IMdmSessionManagerStatics_Vtbl, 0xcf4ad959_f745_4b79_9b5c_de0bf8efe44b); +windows_core::imp::define_interface!(IMdmSessionManagerStatics, IMdmSessionManagerStatics_Vtbl, 0xcf4ad959_f745_4b79_9b5c_de0bf8efe44b); #[repr(C)] pub struct IMdmSessionManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs index 6ba2d65754..45f9f160ee 100644 --- a/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppBroadcasting/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAppBroadcastingMonitor, IAppBroadcastingMonitor_Vtbl, 0x00f95a68_8907_48a0_b8ef_24d208137542); +windows_core::imp::define_interface!(IAppBroadcastingMonitor, IAppBroadcastingMonitor_Vtbl, 0x00f95a68_8907_48a0_b8ef_24d208137542); #[repr(C)] pub struct IAppBroadcastingMonitor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,14 +6,14 @@ pub struct IAppBroadcastingMonitor_Vtbl { pub IsCurrentAppBroadcastingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveIsCurrentAppBroadcastingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastingStatus, IAppBroadcastingStatus_Vtbl, 0x1225e4df_03a1_42f8_8b80_c9228cd9cf2e); +windows_core::imp::define_interface!(IAppBroadcastingStatus, IAppBroadcastingStatus_Vtbl, 0x1225e4df_03a1_42f8_8b80_c9228cd9cf2e); #[repr(C)] pub struct IAppBroadcastingStatus_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CanStartBroadcast: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Details: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastingStatusDetails, IAppBroadcastingStatusDetails_Vtbl, 0x069dada4_b573_4e3c_8e19_1bafacd09713); +windows_core::imp::define_interface!(IAppBroadcastingStatusDetails, IAppBroadcastingStatusDetails_Vtbl, 0x069dada4_b573_4e3c_8e19_1bafacd09713); #[repr(C)] pub struct IAppBroadcastingStatusDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,14 +26,14 @@ pub struct IAppBroadcastingStatusDetails_Vtbl { pub IsDisabledByUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsDisabledBySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastingUI, IAppBroadcastingUI_Vtbl, 0xe56f9f8f_ee99_4dca_a3c3_70af3db44f5f); +windows_core::imp::define_interface!(IAppBroadcastingUI, IAppBroadcastingUI_Vtbl, 0xe56f9f8f_ee99_4dca_a3c3_70af3db44f5f); #[repr(C)] pub struct IAppBroadcastingUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowBroadcastUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastingUIStatics, IAppBroadcastingUIStatics_Vtbl, 0x55a8a79d_23cb_4579_9c34_886fe02c045a); +windows_core::imp::define_interface!(IAppBroadcastingUIStatics, IAppBroadcastingUIStatics_Vtbl, 0x55a8a79d_23cb_4579_9c34_886fe02c045a); #[repr(C)] pub struct IAppBroadcastingUIStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs index d296dee3f3..376f88b2e5 100644 --- a/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs +++ b/crates/libs/windows/src/Windows/Media/AppRecording/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAppRecordingManager, IAppRecordingManager_Vtbl, 0xe7e26076_a044_48e2_a512_3094d574c7cc); +windows_core::imp::define_interface!(IAppRecordingManager, IAppRecordingManager_Vtbl, 0xe7e26076_a044_48e2_a512_3094d574c7cc); #[repr(C)] pub struct IAppRecordingManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,13 +20,13 @@ pub struct IAppRecordingManager_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] SaveScreenshotToFilesAsync: usize, } -windows_core::imp::com_interface!(IAppRecordingManagerStatics, IAppRecordingManagerStatics_Vtbl, 0x50e709f7_38ce_4bd3_9db2_e72bbe9de11d); +windows_core::imp::define_interface!(IAppRecordingManagerStatics, IAppRecordingManagerStatics_Vtbl, 0x50e709f7_38ce_4bd3_9db2_e72bbe9de11d); #[repr(C)] pub struct IAppRecordingManagerStatics_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, } -windows_core::imp::com_interface!(IAppRecordingResult, IAppRecordingResult_Vtbl, 0x3a900864_c66d_46f9_b2d9_5bc2dad070d7); +windows_core::imp::define_interface!(IAppRecordingResult, IAppRecordingResult_Vtbl, 0x3a900864_c66d_46f9_b2d9_5bc2dad070d7); #[repr(C)] pub struct IAppRecordingResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,7 +35,7 @@ pub struct IAppRecordingResult_Vtbl { pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub IsFileTruncated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppRecordingSaveScreenshotResult, IAppRecordingSaveScreenshotResult_Vtbl, 0x9c5b8d0a_0abb_4457_aaee_24f9c12ec778); +windows_core::imp::define_interface!(IAppRecordingSaveScreenshotResult, IAppRecordingSaveScreenshotResult_Vtbl, 0x9c5b8d0a_0abb_4457_aaee_24f9c12ec778); #[repr(C)] pub struct IAppRecordingSaveScreenshotResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -46,7 +46,7 @@ pub struct IAppRecordingSaveScreenshotResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SavedScreenshotInfos: usize, } -windows_core::imp::com_interface!(IAppRecordingSavedScreenshotInfo, IAppRecordingSavedScreenshotInfo_Vtbl, 0x9b642d0a_189a_4d00_bf25_e1bb1249d594); +windows_core::imp::define_interface!(IAppRecordingSavedScreenshotInfo, IAppRecordingSavedScreenshotInfo_Vtbl, 0x9b642d0a_189a_4d00_bf25_e1bb1249d594); #[repr(C)] pub struct IAppRecordingSavedScreenshotInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,7 +56,7 @@ pub struct IAppRecordingSavedScreenshotInfo_Vtbl { File: usize, pub MediaEncodingSubtype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppRecordingStatus, IAppRecordingStatus_Vtbl, 0x1d0cc82c_bc18_4b8a_a6ef_127efab3b5d9); +windows_core::imp::define_interface!(IAppRecordingStatus, IAppRecordingStatus_Vtbl, 0x1d0cc82c_bc18_4b8a_a6ef_127efab3b5d9); #[repr(C)] pub struct IAppRecordingStatus_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -65,7 +65,7 @@ pub struct IAppRecordingStatus_Vtbl { pub HistoricalBufferDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub Details: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppRecordingStatusDetails, IAppRecordingStatusDetails_Vtbl, 0xb538a9b0_14ed_4412_ac45_6d672c9c9949); +windows_core::imp::define_interface!(IAppRecordingStatusDetails, IAppRecordingStatusDetails_Vtbl, 0xb538a9b0_14ed_4412_ac45_6d672c9c9949); #[repr(C)] pub struct IAppRecordingStatusDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Audio/mod.rs b/crates/libs/windows/src/Windows/Media/Audio/mod.rs index 657a5a2527..ca1a90f8b6 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAudioDeviceInputNode, IAudioDeviceInputNode_Vtbl, 0xb01b6be1_6f4e_49e2_ac01_559d62beb3a9); +windows_core::imp::define_interface!(IAudioDeviceInputNode, IAudioDeviceInputNode_Vtbl, 0xb01b6be1_6f4e_49e2_ac01_559d62beb3a9); #[repr(C)] pub struct IAudioDeviceInputNode_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct IAudioDeviceInputNode_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] Device: usize, } -windows_core::imp::com_interface!(IAudioDeviceOutputNode, IAudioDeviceOutputNode_Vtbl, 0x362edbff_ff1c_4434_9e0f_bd2ef522ac82); +windows_core::imp::define_interface!(IAudioDeviceOutputNode, IAudioDeviceOutputNode_Vtbl, 0x362edbff_ff1c_4434_9e0f_bd2ef522ac82); #[repr(C)] pub struct IAudioDeviceOutputNode_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,7 +16,7 @@ pub struct IAudioDeviceOutputNode_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] Device: usize, } -windows_core::imp::com_interface!(IAudioFileInputNode, IAudioFileInputNode_Vtbl, 0x905b67c8_6f65_4cd4_8890_4694843c276d); +windows_core::imp::define_interface!(IAudioFileInputNode, IAudioFileInputNode_Vtbl, 0x905b67c8_6f65_4cd4_8890_4694843c276d); #[repr(C)] pub struct IAudioFileInputNode_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,7 +38,7 @@ pub struct IAudioFileInputNode_Vtbl { pub FileCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveFileCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioFileOutputNode, IAudioFileOutputNode_Vtbl, 0x50e01980_5166_4093_80f8_ada00089e9cf); +windows_core::imp::define_interface!(IAudioFileOutputNode, IAudioFileOutputNode_Vtbl, 0x50e01980_5166_4093_80f8_ada00089e9cf); #[repr(C)] pub struct IAudioFileOutputNode_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -55,13 +55,13 @@ pub struct IAudioFileOutputNode_Vtbl { #[cfg(not(feature = "Media_Transcoding"))] FinalizeAsync: usize, } -windows_core::imp::com_interface!(IAudioFrameCompletedEventArgs, IAudioFrameCompletedEventArgs_Vtbl, 0xdc7c829e_0208_4504_a5a8_f0f268920a65); +windows_core::imp::define_interface!(IAudioFrameCompletedEventArgs, IAudioFrameCompletedEventArgs_Vtbl, 0xdc7c829e_0208_4504_a5a8_f0f268920a65); #[repr(C)] pub struct IAudioFrameCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Frame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioFrameInputNode, IAudioFrameInputNode_Vtbl, 0x01b266c7_fd96_4ff5_a3c5_d27a9bf44237); +windows_core::imp::define_interface!(IAudioFrameInputNode, IAudioFrameInputNode_Vtbl, 0x01b266c7_fd96_4ff5_a3c5_d27a9bf44237); #[repr(C)] pub struct IAudioFrameInputNode_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -75,13 +75,13 @@ pub struct IAudioFrameInputNode_Vtbl { pub QuantumStarted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveQuantumStarted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioFrameOutputNode, IAudioFrameOutputNode_Vtbl, 0xb847371b_3299_45f5_88b3_c9d12a3f1cc8); +windows_core::imp::define_interface!(IAudioFrameOutputNode, IAudioFrameOutputNode_Vtbl, 0xb847371b_3299_45f5_88b3_c9d12a3f1cc8); #[repr(C)] pub struct IAudioFrameOutputNode_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioGraph, IAudioGraph_Vtbl, 0x1ad46eed_e48c_4e14_9660_2c4f83e9cdd8); +windows_core::imp::define_interface!(IAudioGraph, IAudioGraph_Vtbl, 0x1ad46eed_e48c_4e14_9660_2c4f83e9cdd8); #[repr(C)] pub struct IAudioGraph_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -147,7 +147,7 @@ pub struct IAudioGraph_Vtbl { pub RenderDeviceAudioProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::AudioProcessing) -> windows_core::HRESULT, pub SamplesPerQuantum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioGraph2, IAudioGraph2_Vtbl, 0x4e4c3bd5_4fc1_45f6_a947_3cd38f4fd839); +windows_core::imp::define_interface!(IAudioGraph2, IAudioGraph2_Vtbl, 0x4e4c3bd5_4fc1_45f6_a947_3cd38f4fd839); #[repr(C)] pub struct IAudioGraph2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -169,7 +169,7 @@ pub struct IAudioGraph2_Vtbl { CreateSubmixNodeWithFormatAndEmitter: usize, pub CreateBatchUpdater: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioGraph3, IAudioGraph3_Vtbl, 0xddcd25ae_1185_42a7_831d_6a9b0fc86820); +windows_core::imp::define_interface!(IAudioGraph3, IAudioGraph3_Vtbl, 0xddcd25ae_1185_42a7_831d_6a9b0fc86820); #[repr(C)] pub struct IAudioGraph3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -182,7 +182,7 @@ pub struct IAudioGraph3_Vtbl { #[cfg(not(feature = "Media_Core"))] CreateMediaSourceAudioInputNodeWithEmitterAsync: usize, } -windows_core::imp::com_interface!(IAudioGraphConnection, IAudioGraphConnection_Vtbl, 0x763070ed_d04e_4fac_b233_600b42edd469); +windows_core::imp::define_interface!(IAudioGraphConnection, IAudioGraphConnection_Vtbl, 0x763070ed_d04e_4fac_b233_600b42edd469); #[repr(C)] pub struct IAudioGraphConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -190,7 +190,7 @@ pub struct IAudioGraphConnection_Vtbl { pub SetGain: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub Gain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioGraphSettings, IAudioGraphSettings_Vtbl, 0x1d59647f_e6fe_4628_84f8_9d8bdba25785); +windows_core::imp::define_interface!(IAudioGraphSettings, IAudioGraphSettings_Vtbl, 0x1d59647f_e6fe_4628_84f8_9d8bdba25785); #[repr(C)] pub struct IAudioGraphSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -225,14 +225,14 @@ pub struct IAudioGraphSettings_Vtbl { pub DesiredRenderDeviceAudioProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::AudioProcessing) -> windows_core::HRESULT, pub SetDesiredRenderDeviceAudioProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, super::AudioProcessing) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioGraphSettings2, IAudioGraphSettings2_Vtbl, 0x72919787_4dab_46e3_b4c9_d8e1a2636062); +windows_core::imp::define_interface!(IAudioGraphSettings2, IAudioGraphSettings2_Vtbl, 0x72919787_4dab_46e3_b4c9_d8e1a2636062); #[repr(C)] pub struct IAudioGraphSettings2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetMaxPlaybackSpeedFactor: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub MaxPlaybackSpeedFactor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioGraphSettingsFactory, IAudioGraphSettingsFactory_Vtbl, 0xa5d91cc6_c2eb_4a61_a214_1d66d75f83da); +windows_core::imp::define_interface!(IAudioGraphSettingsFactory, IAudioGraphSettingsFactory_Vtbl, 0xa5d91cc6_c2eb_4a61_a214_1d66d75f83da); #[repr(C)] pub struct IAudioGraphSettingsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -241,19 +241,19 @@ pub struct IAudioGraphSettingsFactory_Vtbl { #[cfg(not(feature = "Media_Render"))] Create: usize, } -windows_core::imp::com_interface!(IAudioGraphStatics, IAudioGraphStatics_Vtbl, 0x76ec3132_e159_4ab7_a82a_17beb4b31e94); +windows_core::imp::define_interface!(IAudioGraphStatics, IAudioGraphStatics_Vtbl, 0x76ec3132_e159_4ab7_a82a_17beb4b31e94); #[repr(C)] pub struct IAudioGraphStatics_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, } -windows_core::imp::com_interface!(IAudioGraphUnrecoverableErrorOccurredEventArgs, IAudioGraphUnrecoverableErrorOccurredEventArgs_Vtbl, 0xc3d9cbe0_3ff6_4fb3_b262_50d435c55423); +windows_core::imp::define_interface!(IAudioGraphUnrecoverableErrorOccurredEventArgs, IAudioGraphUnrecoverableErrorOccurredEventArgs_Vtbl, 0xc3d9cbe0_3ff6_4fb3_b262_50d435c55423); #[repr(C)] pub struct IAudioGraphUnrecoverableErrorOccurredEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioGraphUnrecoverableError) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioInputNode, IAudioInputNode_Vtbl, 0xd148005c_8428_4784_b7fd_a99d468c5d20); +windows_core::imp::define_interface!(IAudioInputNode, IAudioInputNode_Vtbl, 0xd148005c_8428_4784_b7fd_a99d468c5d20); windows_core::imp::interface_hierarchy!(IAudioInputNode, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IAudioInputNode, IAudioNode, super::super::Foundation::IClosable); impl IAudioInputNode { @@ -371,7 +371,7 @@ pub struct IAudioInputNode_Vtbl { pub AddOutgoingConnectionWithGain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub RemoveOutgoingConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioInputNode2, IAudioInputNode2_Vtbl, 0x905156b7_ca68_4c6d_a8bc_e3ee17fe3fd2); +windows_core::imp::define_interface!(IAudioInputNode2, IAudioInputNode2_Vtbl, 0x905156b7_ca68_4c6d_a8bc_e3ee17fe3fd2); windows_core::imp::interface_hierarchy!(IAudioInputNode2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IAudioInputNode2, IAudioInputNode, IAudioNode, super::super::Foundation::IClosable); impl IAudioInputNode2 { @@ -490,7 +490,7 @@ pub struct IAudioInputNode2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Emitter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioNode, IAudioNode_Vtbl, 0x15389d7f_dbd8_4819_bf03_668e9357cd6d); +windows_core::imp::define_interface!(IAudioNode, IAudioNode_Vtbl, 0x15389d7f_dbd8_4819_bf03_668e9357cd6d); windows_core::imp::interface_hierarchy!(IAudioNode, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IAudioNode, super::super::Foundation::IClosable); impl IAudioNode { @@ -595,7 +595,7 @@ pub struct IAudioNode_Vtbl { #[cfg(not(feature = "Media_Effects"))] EnableEffectsByDefinition: usize, } -windows_core::imp::com_interface!(IAudioNodeEmitter, IAudioNodeEmitter_Vtbl, 0x3676971d_880a_47b8_adf7_1323a9d965be); +windows_core::imp::define_interface!(IAudioNodeEmitter, IAudioNodeEmitter_Vtbl, 0x3676971d_880a_47b8_adf7_1323a9d965be); #[repr(C)] pub struct IAudioNodeEmitter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -633,14 +633,14 @@ pub struct IAudioNodeEmitter_Vtbl { SetDopplerVelocity: usize, pub IsDopplerDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioNodeEmitter2, IAudioNodeEmitter2_Vtbl, 0x4ab6eecb_ec29_47f8_818c_b6b660a5aeb1); +windows_core::imp::define_interface!(IAudioNodeEmitter2, IAudioNodeEmitter2_Vtbl, 0x4ab6eecb_ec29_47f8_818c_b6b660a5aeb1); #[repr(C)] pub struct IAudioNodeEmitter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SpatialAudioModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialAudioModel) -> windows_core::HRESULT, pub SetSpatialAudioModel: unsafe extern "system" fn(*mut core::ffi::c_void, SpatialAudioModel) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioNodeEmitterConeProperties, IAudioNodeEmitterConeProperties_Vtbl, 0xe99b2cee_02ca_4375_9326_0c6ae4bcdfb5); +windows_core::imp::define_interface!(IAudioNodeEmitterConeProperties, IAudioNodeEmitterConeProperties_Vtbl, 0xe99b2cee_02ca_4375_9326_0c6ae4bcdfb5); #[repr(C)] pub struct IAudioNodeEmitterConeProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -648,7 +648,7 @@ pub struct IAudioNodeEmitterConeProperties_Vtbl { pub OuterAngle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub OuterAngleGain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioNodeEmitterDecayModel, IAudioNodeEmitterDecayModel_Vtbl, 0x1d1d5af7_0d53_4fa9_bd84_d5816a86f3ff); +windows_core::imp::define_interface!(IAudioNodeEmitterDecayModel, IAudioNodeEmitterDecayModel_Vtbl, 0x1d1d5af7_0d53_4fa9_bd84_d5816a86f3ff); #[repr(C)] pub struct IAudioNodeEmitterDecayModel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -657,41 +657,41 @@ pub struct IAudioNodeEmitterDecayModel_Vtbl { pub MaxGain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub NaturalProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioNodeEmitterDecayModelStatics, IAudioNodeEmitterDecayModelStatics_Vtbl, 0xc7787ca8_f178_462f_bc81_8dd5cbe5dae8); +windows_core::imp::define_interface!(IAudioNodeEmitterDecayModelStatics, IAudioNodeEmitterDecayModelStatics_Vtbl, 0xc7787ca8_f178_462f_bc81_8dd5cbe5dae8); #[repr(C)] pub struct IAudioNodeEmitterDecayModelStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateNatural: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, f64, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateCustom: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioNodeEmitterFactory, IAudioNodeEmitterFactory_Vtbl, 0xfdc8489a_6ad6_4ce4_b7f7_a99370df7ee9); +windows_core::imp::define_interface!(IAudioNodeEmitterFactory, IAudioNodeEmitterFactory_Vtbl, 0xfdc8489a_6ad6_4ce4_b7f7_a99370df7ee9); #[repr(C)] pub struct IAudioNodeEmitterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateAudioNodeEmitter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, AudioNodeEmitterSettings, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioNodeEmitterNaturalDecayModelProperties, IAudioNodeEmitterNaturalDecayModelProperties_Vtbl, 0x48934bcf_cf2c_4efc_9331_75bd22df1f0c); +windows_core::imp::define_interface!(IAudioNodeEmitterNaturalDecayModelProperties, IAudioNodeEmitterNaturalDecayModelProperties_Vtbl, 0x48934bcf_cf2c_4efc_9331_75bd22df1f0c); #[repr(C)] pub struct IAudioNodeEmitterNaturalDecayModelProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UnityGainDistance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub CutoffDistance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioNodeEmitterShape, IAudioNodeEmitterShape_Vtbl, 0xea0311c5_e73d_44bc_859c_45553bbc4828); +windows_core::imp::define_interface!(IAudioNodeEmitterShape, IAudioNodeEmitterShape_Vtbl, 0xea0311c5_e73d_44bc_859c_45553bbc4828); #[repr(C)] pub struct IAudioNodeEmitterShape_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioNodeEmitterShapeKind) -> windows_core::HRESULT, pub ConeProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioNodeEmitterShapeStatics, IAudioNodeEmitterShapeStatics_Vtbl, 0x57bb2771_ffa5_4b86_a779_e264aeb9145f); +windows_core::imp::define_interface!(IAudioNodeEmitterShapeStatics, IAudioNodeEmitterShapeStatics_Vtbl, 0x57bb2771_ffa5_4b86_a779_e264aeb9145f); #[repr(C)] pub struct IAudioNodeEmitterShapeStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateCone: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateOmnidirectional: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioNodeListener, IAudioNodeListener_Vtbl, 0xd9722e16_0c0a_41da_b755_6c77835fb1eb); +windows_core::imp::define_interface!(IAudioNodeListener, IAudioNodeListener_Vtbl, 0xd9722e16_0c0a_41da_b755_6c77835fb1eb); #[repr(C)] pub struct IAudioNodeListener_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -722,7 +722,7 @@ pub struct IAudioNodeListener_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetDopplerVelocity: usize, } -windows_core::imp::com_interface!(IAudioNodeWithListener, IAudioNodeWithListener_Vtbl, 0x0e0f907c_79ff_4544_9eeb_01257b15105a); +windows_core::imp::define_interface!(IAudioNodeWithListener, IAudioNodeWithListener_Vtbl, 0x0e0f907c_79ff_4544_9eeb_01257b15105a); windows_core::imp::interface_hierarchy!(IAudioNodeWithListener, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IAudioNodeWithListener, IAudioNode, super::super::Foundation::IClosable); impl IAudioNodeWithListener { @@ -820,7 +820,7 @@ pub struct IAudioNodeWithListener_Vtbl { pub SetListener: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Listener: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioPlaybackConnection, IAudioPlaybackConnection_Vtbl, 0x1a4c1dea_cafc_50e7_8718_ea3f81cbfa51); +windows_core::imp::define_interface!(IAudioPlaybackConnection, IAudioPlaybackConnection_Vtbl, 0x1a4c1dea_cafc_50e7_8718_ea3f81cbfa51); #[repr(C)] pub struct IAudioPlaybackConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -833,21 +833,21 @@ pub struct IAudioPlaybackConnection_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, } -windows_core::imp::com_interface!(IAudioPlaybackConnectionOpenResult, IAudioPlaybackConnectionOpenResult_Vtbl, 0x4e656aef_39f9_5fc9_a519_a5bbfd9fe921); +windows_core::imp::define_interface!(IAudioPlaybackConnectionOpenResult, IAudioPlaybackConnectionOpenResult_Vtbl, 0x4e656aef_39f9_5fc9_a519_a5bbfd9fe921); #[repr(C)] pub struct IAudioPlaybackConnectionOpenResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioPlaybackConnectionOpenResultStatus) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioPlaybackConnectionStatics, IAudioPlaybackConnectionStatics_Vtbl, 0xe60963a2_69e6_5ffc_9e13_824a85213daf); +windows_core::imp::define_interface!(IAudioPlaybackConnectionStatics, IAudioPlaybackConnectionStatics_Vtbl, 0xe60963a2_69e6_5ffc_9e13_824a85213daf); #[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, } -windows_core::imp::com_interface!(IAudioStateMonitor, IAudioStateMonitor_Vtbl, 0x1d13d136_0199_4cdc_b84e_e72c2b581ece); +windows_core::imp::define_interface!(IAudioStateMonitor, IAudioStateMonitor_Vtbl, 0x1d13d136_0199_4cdc_b84e_e72c2b581ece); #[repr(C)] pub struct IAudioStateMonitor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -855,7 +855,7 @@ pub struct IAudioStateMonitor_Vtbl { pub RemoveSoundLevelChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub SoundLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::SoundLevel) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioStateMonitorStatics, IAudioStateMonitorStatics_Vtbl, 0x6374ea4c_1b3b_4001_94d9_dd225330fa40); +windows_core::imp::define_interface!(IAudioStateMonitorStatics, IAudioStateMonitorStatics_Vtbl, 0x6374ea4c_1b3b_4001_94d9_dd225330fa40); #[repr(C)] pub struct IAudioStateMonitorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -886,85 +886,85 @@ pub struct IAudioStateMonitorStatics_Vtbl { #[cfg(not(feature = "Media_Capture"))] CreateForCaptureMonitoringWithCategoryAndDeviceId: usize, } -windows_core::imp::com_interface!(ICreateAudioDeviceInputNodeResult, ICreateAudioDeviceInputNodeResult_Vtbl, 0x16eec7a8_1ca7_40ef_91a4_d346e0aa1bba); +windows_core::imp::define_interface!(ICreateAudioDeviceInputNodeResult, ICreateAudioDeviceInputNodeResult_Vtbl, 0x16eec7a8_1ca7_40ef_91a4_d346e0aa1bba); #[repr(C)] pub struct ICreateAudioDeviceInputNodeResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioDeviceNodeCreationStatus) -> windows_core::HRESULT, pub DeviceInputNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateAudioDeviceInputNodeResult2, ICreateAudioDeviceInputNodeResult2_Vtbl, 0x921c69ce_3f35_41c7_9622_79f608baedc2); +windows_core::imp::define_interface!(ICreateAudioDeviceInputNodeResult2, ICreateAudioDeviceInputNodeResult2_Vtbl, 0x921c69ce_3f35_41c7_9622_79f608baedc2); #[repr(C)] pub struct ICreateAudioDeviceInputNodeResult2_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, } -windows_core::imp::com_interface!(ICreateAudioDeviceOutputNodeResult, ICreateAudioDeviceOutputNodeResult_Vtbl, 0xf7776d27_1d9a_47f7_9cd4_2859cc1b7bff); +windows_core::imp::define_interface!(ICreateAudioDeviceOutputNodeResult, ICreateAudioDeviceOutputNodeResult_Vtbl, 0xf7776d27_1d9a_47f7_9cd4_2859cc1b7bff); #[repr(C)] pub struct ICreateAudioDeviceOutputNodeResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioDeviceNodeCreationStatus) -> windows_core::HRESULT, pub DeviceOutputNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateAudioDeviceOutputNodeResult2, ICreateAudioDeviceOutputNodeResult2_Vtbl, 0x4864269f_bdce_4ab1_bd38_fbae93aedaca); +windows_core::imp::define_interface!(ICreateAudioDeviceOutputNodeResult2, ICreateAudioDeviceOutputNodeResult2_Vtbl, 0x4864269f_bdce_4ab1_bd38_fbae93aedaca); #[repr(C)] pub struct ICreateAudioDeviceOutputNodeResult2_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, } -windows_core::imp::com_interface!(ICreateAudioFileInputNodeResult, ICreateAudioFileInputNodeResult_Vtbl, 0xce83d61c_e297_4c50_9ce7_1c7a69d6bd09); +windows_core::imp::define_interface!(ICreateAudioFileInputNodeResult, ICreateAudioFileInputNodeResult_Vtbl, 0xce83d61c_e297_4c50_9ce7_1c7a69d6bd09); #[repr(C)] pub struct ICreateAudioFileInputNodeResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioFileNodeCreationStatus) -> windows_core::HRESULT, pub FileInputNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateAudioFileInputNodeResult2, ICreateAudioFileInputNodeResult2_Vtbl, 0xf9082020_3d80_4fe0_81c1_768fea7ca7e0); +windows_core::imp::define_interface!(ICreateAudioFileInputNodeResult2, ICreateAudioFileInputNodeResult2_Vtbl, 0xf9082020_3d80_4fe0_81c1_768fea7ca7e0); #[repr(C)] pub struct ICreateAudioFileInputNodeResult2_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, } -windows_core::imp::com_interface!(ICreateAudioFileOutputNodeResult, ICreateAudioFileOutputNodeResult_Vtbl, 0x47d6ba7b_e909_453f_866e_5540cda734ff); +windows_core::imp::define_interface!(ICreateAudioFileOutputNodeResult, ICreateAudioFileOutputNodeResult_Vtbl, 0x47d6ba7b_e909_453f_866e_5540cda734ff); #[repr(C)] pub struct ICreateAudioFileOutputNodeResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioFileNodeCreationStatus) -> windows_core::HRESULT, pub FileOutputNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateAudioFileOutputNodeResult2, ICreateAudioFileOutputNodeResult2_Vtbl, 0x9f01b50d_3318_47b3_a60a_1b492be7fc0d); +windows_core::imp::define_interface!(ICreateAudioFileOutputNodeResult2, ICreateAudioFileOutputNodeResult2_Vtbl, 0x9f01b50d_3318_47b3_a60a_1b492be7fc0d); #[repr(C)] pub struct ICreateAudioFileOutputNodeResult2_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, } -windows_core::imp::com_interface!(ICreateAudioGraphResult, ICreateAudioGraphResult_Vtbl, 0x5453ef7e_7bde_4b76_bb5d_48f79cfc8c0b); +windows_core::imp::define_interface!(ICreateAudioGraphResult, ICreateAudioGraphResult_Vtbl, 0x5453ef7e_7bde_4b76_bb5d_48f79cfc8c0b); #[repr(C)] pub struct ICreateAudioGraphResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioGraphCreationStatus) -> windows_core::HRESULT, pub Graph: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateAudioGraphResult2, ICreateAudioGraphResult2_Vtbl, 0x6d738dfc_88c6_4fcb_a534_85cedd4050a1); +windows_core::imp::define_interface!(ICreateAudioGraphResult2, ICreateAudioGraphResult2_Vtbl, 0x6d738dfc_88c6_4fcb_a534_85cedd4050a1); #[repr(C)] pub struct ICreateAudioGraphResult2_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, } -windows_core::imp::com_interface!(ICreateMediaSourceAudioInputNodeResult, ICreateMediaSourceAudioInputNodeResult_Vtbl, 0x46a658a3_53c0_4d59_9e51_cc1d1044a4c4); +windows_core::imp::define_interface!(ICreateMediaSourceAudioInputNodeResult, ICreateMediaSourceAudioInputNodeResult_Vtbl, 0x46a658a3_53c0_4d59_9e51_cc1d1044a4c4); #[repr(C)] pub struct ICreateMediaSourceAudioInputNodeResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaSourceAudioInputNodeCreationStatus) -> windows_core::HRESULT, pub Node: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateMediaSourceAudioInputNodeResult2, ICreateMediaSourceAudioInputNodeResult2_Vtbl, 0x63514ce8_6a1a_49e3_97ec_28fd5be114e5); +windows_core::imp::define_interface!(ICreateMediaSourceAudioInputNodeResult2, ICreateMediaSourceAudioInputNodeResult2_Vtbl, 0x63514ce8_6a1a_49e3_97ec_28fd5be114e5); #[repr(C)] pub struct ICreateMediaSourceAudioInputNodeResult2_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, } -windows_core::imp::com_interface!(IEchoEffectDefinition, IEchoEffectDefinition_Vtbl, 0x0e4d3faa_36b8_4c91_b9da_11f44a8a6610); +windows_core::imp::define_interface!(IEchoEffectDefinition, IEchoEffectDefinition_Vtbl, 0x0e4d3faa_36b8_4c91_b9da_11f44a8a6610); #[repr(C)] pub struct IEchoEffectDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -975,13 +975,13 @@ pub struct IEchoEffectDefinition_Vtbl { pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEchoEffectDefinitionFactory, IEchoEffectDefinitionFactory_Vtbl, 0x0d4e2257_aaf2_4e86_a54c_fb79db8f6c12); +windows_core::imp::define_interface!(IEchoEffectDefinitionFactory, IEchoEffectDefinitionFactory_Vtbl, 0x0d4e2257_aaf2_4e86_a54c_fb79db8f6c12); #[repr(C)] pub struct IEchoEffectDefinitionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEqualizerBand, IEqualizerBand_Vtbl, 0xc00a5a6a_262d_4b85_9bb7_43280b62ed0c); +windows_core::imp::define_interface!(IEqualizerBand, IEqualizerBand_Vtbl, 0xc00a5a6a_262d_4b85_9bb7_43280b62ed0c); #[repr(C)] pub struct IEqualizerBand_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -992,7 +992,7 @@ pub struct IEqualizerBand_Vtbl { pub Gain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetGain: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEqualizerEffectDefinition, IEqualizerEffectDefinition_Vtbl, 0x023f6f1f_83fe_449a_a822_c696442d16b0); +windows_core::imp::define_interface!(IEqualizerEffectDefinition, IEqualizerEffectDefinition_Vtbl, 0x023f6f1f_83fe_449a_a822_c696442d16b0); #[repr(C)] pub struct IEqualizerEffectDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1001,19 +1001,19 @@ pub struct IEqualizerEffectDefinition_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Bands: usize, } -windows_core::imp::com_interface!(IEqualizerEffectDefinitionFactory, IEqualizerEffectDefinitionFactory_Vtbl, 0xd2876fc4_d410_4eb5_9e69_c9aa1277eaf0); +windows_core::imp::define_interface!(IEqualizerEffectDefinitionFactory, IEqualizerEffectDefinitionFactory_Vtbl, 0xd2876fc4_d410_4eb5_9e69_c9aa1277eaf0); #[repr(C)] pub struct IEqualizerEffectDefinitionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameInputNodeQuantumStartedEventArgs, IFrameInputNodeQuantumStartedEventArgs_Vtbl, 0x3d9bd498_a306_4f06_bd9f_e9efc8226304); +windows_core::imp::define_interface!(IFrameInputNodeQuantumStartedEventArgs, IFrameInputNodeQuantumStartedEventArgs_Vtbl, 0x3d9bd498_a306_4f06_bd9f_e9efc8226304); #[repr(C)] pub struct IFrameInputNodeQuantumStartedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequiredSamples: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILimiterEffectDefinition, ILimiterEffectDefinition_Vtbl, 0x6b755d19_2603_47ba_bdeb_39055e3486dc); +windows_core::imp::define_interface!(ILimiterEffectDefinition, ILimiterEffectDefinition_Vtbl, 0x6b755d19_2603_47ba_bdeb_39055e3486dc); #[repr(C)] pub struct ILimiterEffectDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1022,13 +1022,13 @@ pub struct ILimiterEffectDefinition_Vtbl { pub SetLoudness: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Loudness: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILimiterEffectDefinitionFactory, ILimiterEffectDefinitionFactory_Vtbl, 0xecbae6f1_61ff_45ef_b8f5_48659a57c72d); +windows_core::imp::define_interface!(ILimiterEffectDefinitionFactory, ILimiterEffectDefinitionFactory_Vtbl, 0xecbae6f1_61ff_45ef_b8f5_48659a57c72d); #[repr(C)] pub struct ILimiterEffectDefinitionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaSourceAudioInputNode, IMediaSourceAudioInputNode_Vtbl, 0x99d8983b_a88a_4041_8e4f_ddbac0c91fd3); +windows_core::imp::define_interface!(IMediaSourceAudioInputNode, IMediaSourceAudioInputNode_Vtbl, 0x99d8983b_a88a_4041_8e4f_ddbac0c91fd3); #[repr(C)] pub struct IMediaSourceAudioInputNode_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1050,7 +1050,7 @@ pub struct IMediaSourceAudioInputNode_Vtbl { pub MediaSourceCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMediaSourceCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReverbEffectDefinition, IReverbEffectDefinition_Vtbl, 0x4606aa89_f563_4d0a_8f6e_f0cddff35d84); +windows_core::imp::define_interface!(IReverbEffectDefinition, IReverbEffectDefinition_Vtbl, 0x4606aa89_f563_4d0a_8f6e_f0cddff35d84); #[repr(C)] pub struct IReverbEffectDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1101,19 +1101,19 @@ pub struct IReverbEffectDefinition_Vtbl { pub SetDisableLateField: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub DisableLateField: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReverbEffectDefinitionFactory, IReverbEffectDefinitionFactory_Vtbl, 0xa7d5cbfe_100b_4ff0_9da6_dc4e05a759f0); +windows_core::imp::define_interface!(IReverbEffectDefinitionFactory, IReverbEffectDefinitionFactory_Vtbl, 0xa7d5cbfe_100b_4ff0_9da6_dc4e05a759f0); #[repr(C)] pub struct IReverbEffectDefinitionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISetDefaultSpatialAudioFormatResult, ISetDefaultSpatialAudioFormatResult_Vtbl, 0x1c2aa511_1400_5e70_9ea9_ae151241e8ea); +windows_core::imp::define_interface!(ISetDefaultSpatialAudioFormatResult, ISetDefaultSpatialAudioFormatResult_Vtbl, 0x1c2aa511_1400_5e70_9ea9_ae151241e8ea); #[repr(C)] pub struct ISetDefaultSpatialAudioFormatResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SetDefaultSpatialAudioFormatStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioDeviceConfiguration, ISpatialAudioDeviceConfiguration_Vtbl, 0xee830034_61cf_5749_9da4_10f0fe028199); +windows_core::imp::define_interface!(ISpatialAudioDeviceConfiguration, ISpatialAudioDeviceConfiguration_Vtbl, 0xee830034_61cf_5749_9da4_10f0fe028199); #[repr(C)] pub struct ISpatialAudioDeviceConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1126,13 +1126,13 @@ pub struct ISpatialAudioDeviceConfiguration_Vtbl { 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, } -windows_core::imp::com_interface!(ISpatialAudioDeviceConfigurationStatics, ISpatialAudioDeviceConfigurationStatics_Vtbl, 0x3ec37f7b_936d_4e04_9728_2827d9f758c4); +windows_core::imp::define_interface!(ISpatialAudioDeviceConfigurationStatics, ISpatialAudioDeviceConfigurationStatics_Vtbl, 0x3ec37f7b_936d_4e04_9728_2827d9f758c4); #[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, } -windows_core::imp::com_interface!(ISpatialAudioFormatConfiguration, ISpatialAudioFormatConfiguration_Vtbl, 0x32df09a8_50f0_5395_9923_7d44ca71ed6d); +windows_core::imp::define_interface!(ISpatialAudioFormatConfiguration, ISpatialAudioFormatConfiguration_Vtbl, 0x32df09a8_50f0_5395_9923_7d44ca71ed6d); #[repr(C)] pub struct ISpatialAudioFormatConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1141,13 +1141,13 @@ pub struct ISpatialAudioFormatConfiguration_Vtbl { 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, } -windows_core::imp::com_interface!(ISpatialAudioFormatConfigurationStatics, ISpatialAudioFormatConfigurationStatics_Vtbl, 0x2b5fef71_67c9_4e5f_a35b_41680711f8c7); +windows_core::imp::define_interface!(ISpatialAudioFormatConfigurationStatics, ISpatialAudioFormatConfigurationStatics_Vtbl, 0x2b5fef71_67c9_4e5f_a35b_41680711f8c7); #[repr(C)] pub struct ISpatialAudioFormatConfigurationStatics_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, } -windows_core::imp::com_interface!(ISpatialAudioFormatSubtypeStatics, ISpatialAudioFormatSubtypeStatics_Vtbl, 0xb3de8a47_83ee_4266_a945_bedf507afeed); +windows_core::imp::define_interface!(ISpatialAudioFormatSubtypeStatics, ISpatialAudioFormatSubtypeStatics_Vtbl, 0xb3de8a47_83ee_4266_a945_bedf507afeed); #[repr(C)] pub struct ISpatialAudioFormatSubtypeStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1158,7 +1158,7 @@ pub struct ISpatialAudioFormatSubtypeStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ISpatialAudioFormatSubtypeStatics2, ISpatialAudioFormatSubtypeStatics2_Vtbl, 0x4565e6cb_d95b_5621_b6af_0e8849c57c80); +windows_core::imp::define_interface!(ISpatialAudioFormatSubtypeStatics2, ISpatialAudioFormatSubtypeStatics2_Vtbl, 0x4565e6cb_d95b_5621_b6af_0e8849c57c80); #[repr(C)] pub struct ISpatialAudioFormatSubtypeStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 575c680056..f8ac1b3c0e 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IVariablePhotoCapturedEventArgs, IVariablePhotoCapturedEventArgs_Vtbl, 0xd1eb4c5c_1b53_4e4a_8b5c_db7887ac949b); +windows_core::imp::define_interface!(IVariablePhotoCapturedEventArgs, IVariablePhotoCapturedEventArgs_Vtbl, 0xd1eb4c5c_1b53_4e4a_8b5c_db7887ac949b); #[repr(C)] pub struct IVariablePhotoCapturedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct IVariablePhotoCapturedEventArgs_Vtbl { pub UsedFrameControllerIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CapturedFrameControlValues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVariablePhotoSequenceCapture, IVariablePhotoSequenceCapture_Vtbl, 0xd0112d1d_031e_4041_a6d6_bd742476a8ee); +windows_core::imp::define_interface!(IVariablePhotoSequenceCapture, IVariablePhotoSequenceCapture_Vtbl, 0xd0112d1d_031e_4041_a6d6_bd742476a8ee); #[repr(C)] pub struct IVariablePhotoSequenceCapture_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,7 +19,7 @@ pub struct IVariablePhotoSequenceCapture_Vtbl { pub Stopped: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStopped: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVariablePhotoSequenceCapture2, IVariablePhotoSequenceCapture2_Vtbl, 0xfe2c62bc_50b0_43e3_917c_e3b92798942f); +windows_core::imp::define_interface!(IVariablePhotoSequenceCapture2, IVariablePhotoSequenceCapture2_Vtbl, 0xfe2c62bc_50b0_43e3_917c_e3b92798942f); #[repr(C)] pub struct IVariablePhotoSequenceCapture2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 61dc9e7de6..b8df4b619f 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/Frames/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAudioMediaFrame, IAudioMediaFrame_Vtbl, 0xa3a9feff_8021_441b_9a46_e7f0137b7981); +windows_core::imp::define_interface!(IAudioMediaFrame, IAudioMediaFrame_Vtbl, 0xa3a9feff_8021_441b_9a46_e7f0137b7981); #[repr(C)] pub struct IAudioMediaFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IAudioMediaFrame_Vtbl { AudioEncodingProperties: usize, pub GetAudioFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBufferMediaFrame, IBufferMediaFrame_Vtbl, 0xb5b153c7_9b84_4062_b79c_a365b2596854); +windows_core::imp::define_interface!(IBufferMediaFrame, IBufferMediaFrame_Vtbl, 0xb5b153c7_9b84_4062_b79c_a365b2596854); #[repr(C)] pub struct IBufferMediaFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,7 +19,7 @@ pub struct IBufferMediaFrame_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Buffer: usize, } -windows_core::imp::com_interface!(IDepthMediaFrame, IDepthMediaFrame_Vtbl, 0x47135e4f_8549_45c0_925b_80d35efdb10a); +windows_core::imp::define_interface!(IDepthMediaFrame, IDepthMediaFrame_Vtbl, 0x47135e4f_8549_45c0_925b_80d35efdb10a); #[repr(C)] pub struct IDepthMediaFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -31,21 +31,21 @@ pub struct IDepthMediaFrame_Vtbl { #[cfg(not(all(feature = "Media_Devices_Core", feature = "Perception_Spatial")))] TryCreateCoordinateMapper: usize, } -windows_core::imp::com_interface!(IDepthMediaFrame2, IDepthMediaFrame2_Vtbl, 0x6cca473d_c4a4_4176_b0cd_33eae3b35aa3); +windows_core::imp::define_interface!(IDepthMediaFrame2, IDepthMediaFrame2_Vtbl, 0x6cca473d_c4a4_4176_b0cd_33eae3b35aa3); #[repr(C)] pub struct IDepthMediaFrame2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MaxReliableDepth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub MinReliableDepth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDepthMediaFrameFormat, IDepthMediaFrameFormat_Vtbl, 0xc312cf40_d729_453e_8780_2e04f140d28e); +windows_core::imp::define_interface!(IDepthMediaFrameFormat, IDepthMediaFrameFormat_Vtbl, 0xc312cf40_d729_453e_8780_2e04f140d28e); #[repr(C)] pub struct IDepthMediaFrameFormat_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub VideoFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DepthScaleInMeters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInfraredMediaFrame, IInfraredMediaFrame_Vtbl, 0x3fd13503_004b_4f0e_91ac_465299b41658); +windows_core::imp::define_interface!(IInfraredMediaFrame, IInfraredMediaFrame_Vtbl, 0x3fd13503_004b_4f0e_91ac_465299b41658); #[repr(C)] pub struct IInfraredMediaFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,12 +53,12 @@ pub struct IInfraredMediaFrame_Vtbl { pub VideoMediaFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsIlluminated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaFrameArrivedEventArgs, IMediaFrameArrivedEventArgs_Vtbl, 0x0b430add_a490_4435_ada1_9affd55239f7); +windows_core::imp::define_interface!(IMediaFrameArrivedEventArgs, IMediaFrameArrivedEventArgs_Vtbl, 0x0b430add_a490_4435_ada1_9affd55239f7); #[repr(C)] pub struct IMediaFrameArrivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IMediaFrameFormat, IMediaFrameFormat_Vtbl, 0x71902b4e_b279_4a97_a9db_bd5a2fb78f39); +windows_core::imp::define_interface!(IMediaFrameFormat, IMediaFrameFormat_Vtbl, 0x71902b4e_b279_4a97_a9db_bd5a2fb78f39); #[repr(C)] pub struct IMediaFrameFormat_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -74,7 +74,7 @@ pub struct IMediaFrameFormat_Vtbl { Properties: usize, pub VideoFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaFrameFormat2, IMediaFrameFormat2_Vtbl, 0x63856340_5e87_4c10_86d1_6df097a6c6a8); +windows_core::imp::define_interface!(IMediaFrameFormat2, IMediaFrameFormat2_Vtbl, 0x63856340_5e87_4c10_86d1_6df097a6c6a8); #[repr(C)] pub struct IMediaFrameFormat2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -83,7 +83,7 @@ pub struct IMediaFrameFormat2_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] AudioEncodingProperties: usize, } -windows_core::imp::com_interface!(IMediaFrameReader, IMediaFrameReader_Vtbl, 0xe4c94395_2028_48ed_90b0_d1c1b162e24c); +windows_core::imp::define_interface!(IMediaFrameReader, IMediaFrameReader_Vtbl, 0xe4c94395_2028_48ed_90b0_d1c1b162e24c); #[repr(C)] pub struct IMediaFrameReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -93,14 +93,14 @@ pub struct IMediaFrameReader_Vtbl { pub StartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IMediaFrameReader2, IMediaFrameReader2_Vtbl, 0x871127b3_8531_4050_87cc_a13733cf3e9b); +windows_core::imp::define_interface!(IMediaFrameReader2, IMediaFrameReader2_Vtbl, 0x871127b3_8531_4050_87cc_a13733cf3e9b); #[repr(C)] pub struct IMediaFrameReader2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetAcquisitionMode: unsafe extern "system" fn(*mut core::ffi::c_void, MediaFrameReaderAcquisitionMode) -> windows_core::HRESULT, pub AcquisitionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaFrameReaderAcquisitionMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaFrameReference, IMediaFrameReference_Vtbl, 0xf6b88641_f0dc_4044_8dc9_961cedd05bad); +windows_core::imp::define_interface!(IMediaFrameReference, IMediaFrameReference_Vtbl, 0xf6b88641_f0dc_4044_8dc9_961cedd05bad); #[repr(C)] pub struct IMediaFrameReference_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -119,13 +119,13 @@ pub struct IMediaFrameReference_Vtbl { #[cfg(not(feature = "Perception_Spatial"))] CoordinateSystem: usize, } -windows_core::imp::com_interface!(IMediaFrameReference2, IMediaFrameReference2_Vtbl, 0xddbc3ecc_d5b2_49ef_836a_947d989b80c1); +windows_core::imp::define_interface!(IMediaFrameReference2, IMediaFrameReference2_Vtbl, 0xddbc3ecc_d5b2_49ef_836a_947d989b80c1); #[repr(C)] pub struct IMediaFrameReference2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AudioMediaFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaFrameSource, IMediaFrameSource_Vtbl, 0xd6782953_90db_46a8_8add_2aa884a8d253); +windows_core::imp::define_interface!(IMediaFrameSource, IMediaFrameSource_Vtbl, 0xd6782953_90db_46a8_8add_2aa884a8d253); #[repr(C)] pub struct IMediaFrameSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -144,7 +144,7 @@ pub struct IMediaFrameSource_Vtbl { #[cfg(not(feature = "Media_Devices_Core"))] TryGetCameraIntrinsics: usize, } -windows_core::imp::com_interface!(IMediaFrameSourceController, IMediaFrameSourceController_Vtbl, 0x6d076635_316d_4b8f_b7b6_eeb04a8c6525); +windows_core::imp::define_interface!(IMediaFrameSourceController, IMediaFrameSourceController_Vtbl, 0x6d076635_316d_4b8f_b7b6_eeb04a8c6525); #[repr(C)] pub struct IMediaFrameSourceController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -155,14 +155,14 @@ pub struct IMediaFrameSourceController_Vtbl { #[cfg(not(feature = "Media_Devices"))] VideoDeviceController: usize, } -windows_core::imp::com_interface!(IMediaFrameSourceController2, IMediaFrameSourceController2_Vtbl, 0xefc49fd4_fcf2_4a03_b4e4_ac9628739bee); +windows_core::imp::define_interface!(IMediaFrameSourceController2, IMediaFrameSourceController2_Vtbl, 0xefc49fd4_fcf2_4a03_b4e4_ac9628739bee); #[repr(C)] pub struct IMediaFrameSourceController2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetPropertyByExtendedIdAsync: 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 SetPropertyByExtendedIdAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaFrameSourceController3, IMediaFrameSourceController3_Vtbl, 0x1f0cf815_2464_4651_b1e8_4a82dbdb54de); +windows_core::imp::define_interface!(IMediaFrameSourceController3, IMediaFrameSourceController3_Vtbl, 0x1f0cf815_2464_4651_b1e8_4a82dbdb54de); #[repr(C)] pub struct IMediaFrameSourceController3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -171,14 +171,14 @@ pub struct IMediaFrameSourceController3_Vtbl { #[cfg(not(feature = "Media_Devices"))] AudioDeviceController: usize, } -windows_core::imp::com_interface!(IMediaFrameSourceGetPropertyResult, IMediaFrameSourceGetPropertyResult_Vtbl, 0x088616c2_3a64_4bd5_bd2b_e7c898d2f37a); +windows_core::imp::define_interface!(IMediaFrameSourceGetPropertyResult, IMediaFrameSourceGetPropertyResult_Vtbl, 0x088616c2_3a64_4bd5_bd2b_e7c898d2f37a); #[repr(C)] pub struct IMediaFrameSourceGetPropertyResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaFrameSourceGetPropertyStatus) -> windows_core::HRESULT, pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaFrameSourceGroup, IMediaFrameSourceGroup_Vtbl, 0x7f605b87_4832_4b5f_ae3d_412faab37d34); +windows_core::imp::define_interface!(IMediaFrameSourceGroup, IMediaFrameSourceGroup_Vtbl, 0x7f605b87_4832_4b5f_ae3d_412faab37d34); #[repr(C)] pub struct IMediaFrameSourceGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -189,7 +189,7 @@ pub struct IMediaFrameSourceGroup_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SourceInfos: usize, } -windows_core::imp::com_interface!(IMediaFrameSourceGroupStatics, IMediaFrameSourceGroupStatics_Vtbl, 0x1c48bfc5_436f_4508_94cf_d5d8b7326445); +windows_core::imp::define_interface!(IMediaFrameSourceGroupStatics, IMediaFrameSourceGroupStatics_Vtbl, 0x1c48bfc5_436f_4508_94cf_d5d8b7326445); #[repr(C)] pub struct IMediaFrameSourceGroupStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -200,7 +200,7 @@ pub struct IMediaFrameSourceGroupStatics_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, } -windows_core::imp::com_interface!(IMediaFrameSourceInfo, IMediaFrameSourceInfo_Vtbl, 0x87bdc9cd_4601_408f_91cf_038318cd0af3); +windows_core::imp::define_interface!(IMediaFrameSourceInfo, IMediaFrameSourceInfo_Vtbl, 0x87bdc9cd_4601_408f_91cf_038318cd0af3); #[repr(C)] pub struct IMediaFrameSourceInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -221,7 +221,7 @@ pub struct IMediaFrameSourceInfo_Vtbl { #[cfg(not(feature = "Perception_Spatial"))] CoordinateSystem: usize, } -windows_core::imp::com_interface!(IMediaFrameSourceInfo2, IMediaFrameSourceInfo2_Vtbl, 0x195a7855_6457_42c6_a769_19b65bd32e6e); +windows_core::imp::define_interface!(IMediaFrameSourceInfo2, IMediaFrameSourceInfo2_Vtbl, 0x195a7855_6457_42c6_a769_19b65bd32e6e); #[repr(C)] pub struct IMediaFrameSourceInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -231,7 +231,7 @@ pub struct IMediaFrameSourceInfo2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] VideoProfileMediaDescription: usize, } -windows_core::imp::com_interface!(IMediaFrameSourceInfo3, IMediaFrameSourceInfo3_Vtbl, 0xca824ab6_66ea_5885_a2b6_26c0eeec3c7b); +windows_core::imp::define_interface!(IMediaFrameSourceInfo3, IMediaFrameSourceInfo3_Vtbl, 0xca824ab6_66ea_5885_a2b6_26c0eeec3c7b); #[repr(C)] pub struct IMediaFrameSourceInfo3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -240,18 +240,18 @@ pub struct IMediaFrameSourceInfo3_Vtbl { #[cfg(not(all(feature = "Devices_Enumeration", feature = "UI_WindowManagement")))] GetRelativePanel: usize, } -windows_core::imp::com_interface!(IMediaFrameSourceInfo4, IMediaFrameSourceInfo4_Vtbl, 0x4817d721_85eb_470c_8f37_43ca5498e41d); +windows_core::imp::define_interface!(IMediaFrameSourceInfo4, IMediaFrameSourceInfo4_Vtbl, 0x4817d721_85eb_470c_8f37_43ca5498e41d); #[repr(C)] pub struct IMediaFrameSourceInfo4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsShareable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMultiSourceMediaFrameArrivedEventArgs, IMultiSourceMediaFrameArrivedEventArgs_Vtbl, 0x63115e01_cf51_48fd_aab0_6d693eb48127); +windows_core::imp::define_interface!(IMultiSourceMediaFrameArrivedEventArgs, IMultiSourceMediaFrameArrivedEventArgs_Vtbl, 0x63115e01_cf51_48fd_aab0_6d693eb48127); #[repr(C)] pub struct IMultiSourceMediaFrameArrivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IMultiSourceMediaFrameReader, IMultiSourceMediaFrameReader_Vtbl, 0x8d144402_f763_488d_98f2_b437bcf075e7); +windows_core::imp::define_interface!(IMultiSourceMediaFrameReader, IMultiSourceMediaFrameReader_Vtbl, 0x8d144402_f763_488d_98f2_b437bcf075e7); #[repr(C)] pub struct IMultiSourceMediaFrameReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -261,20 +261,20 @@ pub struct IMultiSourceMediaFrameReader_Vtbl { pub StartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IMultiSourceMediaFrameReader2, IMultiSourceMediaFrameReader2_Vtbl, 0xef5c8abd_fc5c_4c6b_9d81_3cb9cc637c26); +windows_core::imp::define_interface!(IMultiSourceMediaFrameReader2, IMultiSourceMediaFrameReader2_Vtbl, 0xef5c8abd_fc5c_4c6b_9d81_3cb9cc637c26); #[repr(C)] pub struct IMultiSourceMediaFrameReader2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetAcquisitionMode: unsafe extern "system" fn(*mut core::ffi::c_void, MediaFrameReaderAcquisitionMode) -> windows_core::HRESULT, pub AcquisitionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaFrameReaderAcquisitionMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMultiSourceMediaFrameReference, IMultiSourceMediaFrameReference_Vtbl, 0x21964b1a_7fe2_44d6_92e5_298e6d2810e9); +windows_core::imp::define_interface!(IMultiSourceMediaFrameReference, IMultiSourceMediaFrameReference_Vtbl, 0x21964b1a_7fe2_44d6_92e5_298e6d2810e9); #[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, } -windows_core::imp::com_interface!(IVideoMediaFrame, IVideoMediaFrame_Vtbl, 0x00dd4ccb_32bd_4fe1_a013_7cc13cf5dbcf); +windows_core::imp::define_interface!(IVideoMediaFrame, IVideoMediaFrame_Vtbl, 0x00dd4ccb_32bd_4fe1_a013_7cc13cf5dbcf); #[repr(C)] pub struct IVideoMediaFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -296,7 +296,7 @@ pub struct IVideoMediaFrame_Vtbl { pub DepthMediaFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVideoFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoMediaFrameFormat, IVideoMediaFrameFormat_Vtbl, 0x46027fc0_d71b_45c7_8f14_6d9a0ae604e4); +windows_core::imp::define_interface!(IVideoMediaFrameFormat, IVideoMediaFrameFormat_Vtbl, 0x46027fc0_d71b_45c7_8f14_6d9a0ae604e4); #[repr(C)] pub struct IVideoMediaFrameFormat_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Capture/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/mod.rs index 999bfae6fa..b78fc1e6c2 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/mod.rs @@ -2,7 +2,7 @@ pub mod Core; #[cfg(feature = "Media_Capture_Frames")] pub mod Frames; -windows_core::imp::com_interface!(IAdvancedCapturedPhoto, IAdvancedCapturedPhoto_Vtbl, 0xf072728b_b292_4491_9d41_99807a550bbf); +windows_core::imp::define_interface!(IAdvancedCapturedPhoto, IAdvancedCapturedPhoto_Vtbl, 0xf072728b_b292_4491_9d41_99807a550bbf); #[repr(C)] pub struct IAdvancedCapturedPhoto_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -13,13 +13,13 @@ pub struct IAdvancedCapturedPhoto_Vtbl { Mode: usize, pub Context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedCapturedPhoto2, IAdvancedCapturedPhoto2_Vtbl, 0x18cf6cd8_cffe_42d8_8104_017bb318f4a1); +windows_core::imp::define_interface!(IAdvancedCapturedPhoto2, IAdvancedCapturedPhoto2_Vtbl, 0x18cf6cd8_cffe_42d8_8104_017bb318f4a1); #[repr(C)] pub struct IAdvancedCapturedPhoto2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FrameBoundsRelativeToReferencePhoto: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedPhotoCapture, IAdvancedPhotoCapture_Vtbl, 0x83ffaafa_6667_44dc_973c_a6bce596aa0f); +windows_core::imp::define_interface!(IAdvancedPhotoCapture, IAdvancedPhotoCapture_Vtbl, 0x83ffaafa_6667_44dc_973c_a6bce596aa0f); #[repr(C)] pub struct IAdvancedPhotoCapture_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -31,7 +31,7 @@ pub struct IAdvancedPhotoCapture_Vtbl { pub RemoveAllPhotosCaptured: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub FinishAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastBackgroundService, IAppBroadcastBackgroundService_Vtbl, 0xbad1e72a_fa94_46f9_95fc_d71511cda70b); +windows_core::imp::define_interface!(IAppBroadcastBackgroundService, IAppBroadcastBackgroundService_Vtbl, 0xbad1e72a_fa94_46f9_95fc_d71511cda70b); #[repr(C)] pub struct IAppBroadcastBackgroundService_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -50,7 +50,7 @@ pub struct IAppBroadcastBackgroundService_Vtbl { 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, } -windows_core::imp::com_interface!(IAppBroadcastBackgroundService2, IAppBroadcastBackgroundService2_Vtbl, 0xfc8ccbbf_5549_4b87_959f_23ca401fd473); +windows_core::imp::define_interface!(IAppBroadcastBackgroundService2, IAppBroadcastBackgroundService2_Vtbl, 0xfc8ccbbf_5549_4b87_959f_23ca401fd473); #[repr(C)] pub struct IAppBroadcastBackgroundService2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -66,7 +66,7 @@ pub struct IAppBroadcastBackgroundService2_Vtbl { pub BroadcastChannelChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveBroadcastChannelChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastBackgroundServiceSignInInfo, IAppBroadcastBackgroundServiceSignInInfo_Vtbl, 0x5e735275_88c8_4eca_89ba_4825985db880); +windows_core::imp::define_interface!(IAppBroadcastBackgroundServiceSignInInfo, IAppBroadcastBackgroundServiceSignInInfo_Vtbl, 0x5e735275_88c8_4eca_89ba_4825985db880); #[repr(C)] pub struct IAppBroadcastBackgroundServiceSignInInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -84,14 +84,14 @@ pub struct IAppBroadcastBackgroundServiceSignInInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IAppBroadcastBackgroundServiceSignInInfo2, IAppBroadcastBackgroundServiceSignInInfo2_Vtbl, 0x9104285c_62cf_4a3c_a7ee_aeb507404645); +windows_core::imp::define_interface!(IAppBroadcastBackgroundServiceSignInInfo2, IAppBroadcastBackgroundServiceSignInInfo2_Vtbl, 0x9104285c_62cf_4a3c_a7ee_aeb507404645); #[repr(C)] pub struct IAppBroadcastBackgroundServiceSignInInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UserNameChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveUserNameChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastBackgroundServiceStreamInfo, IAppBroadcastBackgroundServiceStreamInfo_Vtbl, 0x31dc02bc_990a_4904_aa96_fe364381f136); +windows_core::imp::define_interface!(IAppBroadcastBackgroundServiceStreamInfo, IAppBroadcastBackgroundServiceStreamInfo_Vtbl, 0x31dc02bc_990a_4904_aa96_fe364381f136); #[repr(C)] pub struct IAppBroadcastBackgroundServiceStreamInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -110,20 +110,20 @@ pub struct IAppBroadcastBackgroundServiceStreamInfo_Vtbl { pub VideoEncodingBitrateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveVideoEncodingBitrateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastBackgroundServiceStreamInfo2, IAppBroadcastBackgroundServiceStreamInfo2_Vtbl, 0xbd1e9f6d_94dc_4fce_9541_a9f129596334); +windows_core::imp::define_interface!(IAppBroadcastBackgroundServiceStreamInfo2, IAppBroadcastBackgroundServiceStreamInfo2_Vtbl, 0xbd1e9f6d_94dc_4fce_9541_a9f129596334); #[repr(C)] pub struct IAppBroadcastBackgroundServiceStreamInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportProblemWithStream: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastCameraCaptureStateChangedEventArgs, IAppBroadcastCameraCaptureStateChangedEventArgs_Vtbl, 0x1e334cd0_b882_4b88_8692_05999aceb70f); +windows_core::imp::define_interface!(IAppBroadcastCameraCaptureStateChangedEventArgs, IAppBroadcastCameraCaptureStateChangedEventArgs_Vtbl, 0x1e334cd0_b882_4b88_8692_05999aceb70f); #[repr(C)] pub struct IAppBroadcastCameraCaptureStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppBroadcastCameraCaptureState) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastGlobalSettings, IAppBroadcastGlobalSettings_Vtbl, 0xb2cb27a5_70fc_4e17_80bd_6ba0fd3ff3a0); +windows_core::imp::define_interface!(IAppBroadcastGlobalSettings, IAppBroadcastGlobalSettings_Vtbl, 0xb2cb27a5_70fc_4e17_80bd_6ba0fd3ff3a0); #[repr(C)] pub struct IAppBroadcastGlobalSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -152,14 +152,14 @@ pub struct IAppBroadcastGlobalSettings_Vtbl { pub SetIsCursorImageCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsCursorImageCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastHeartbeatRequestedEventArgs, IAppBroadcastHeartbeatRequestedEventArgs_Vtbl, 0xcea54283_ee51_4dbf_9472_79a9ed4e2165); +windows_core::imp::define_interface!(IAppBroadcastHeartbeatRequestedEventArgs, IAppBroadcastHeartbeatRequestedEventArgs_Vtbl, 0xcea54283_ee51_4dbf_9472_79a9ed4e2165); #[repr(C)] pub struct IAppBroadcastHeartbeatRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastManagerStatics, IAppBroadcastManagerStatics_Vtbl, 0x364e018b_1e4e_411f_ab3e_92959844c156); +windows_core::imp::define_interface!(IAppBroadcastManagerStatics, IAppBroadcastManagerStatics_Vtbl, 0x364e018b_1e4e_411f_ab3e_92959844c156); #[repr(C)] pub struct IAppBroadcastManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -168,14 +168,14 @@ pub struct IAppBroadcastManagerStatics_Vtbl { pub GetProviderSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ApplyProviderSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastMicrophoneCaptureStateChangedEventArgs, IAppBroadcastMicrophoneCaptureStateChangedEventArgs_Vtbl, 0xa86ad5e9_9440_4908_9d09_65b7e315d795); +windows_core::imp::define_interface!(IAppBroadcastMicrophoneCaptureStateChangedEventArgs, IAppBroadcastMicrophoneCaptureStateChangedEventArgs_Vtbl, 0xa86ad5e9_9440_4908_9d09_65b7e315d795); #[repr(C)] pub struct IAppBroadcastMicrophoneCaptureStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppBroadcastMicrophoneCaptureState) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastPlugIn, IAppBroadcastPlugIn_Vtbl, 0x520c1e66_6513_4574_ac54_23b79729615b); +windows_core::imp::define_interface!(IAppBroadcastPlugIn, IAppBroadcastPlugIn_Vtbl, 0x520c1e66_6513_4574_ac54_23b79729615b); #[repr(C)] pub struct IAppBroadcastPlugIn_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -187,7 +187,7 @@ pub struct IAppBroadcastPlugIn_Vtbl { Logo: usize, pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastPlugInManager, IAppBroadcastPlugInManager_Vtbl, 0xe550d979_27a1_49a7_bbf4_d7a9e9d07668); +windows_core::imp::define_interface!(IAppBroadcastPlugInManager, IAppBroadcastPlugInManager_Vtbl, 0xe550d979_27a1_49a7_bbf4_d7a9e9d07668); #[repr(C)] pub struct IAppBroadcastPlugInManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -199,7 +199,7 @@ pub struct IAppBroadcastPlugInManager_Vtbl { pub DefaultPlugIn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDefaultPlugIn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastPlugInManagerStatics, IAppBroadcastPlugInManagerStatics_Vtbl, 0xf2645c20_5c76_4cdc_9364_82fe9eb6534d); +windows_core::imp::define_interface!(IAppBroadcastPlugInManagerStatics, IAppBroadcastPlugInManagerStatics_Vtbl, 0xf2645c20_5c76_4cdc_9364_82fe9eb6534d); #[repr(C)] pub struct IAppBroadcastPlugInManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -209,13 +209,13 @@ pub struct IAppBroadcastPlugInManagerStatics_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IAppBroadcastPlugInStateChangedEventArgs, IAppBroadcastPlugInStateChangedEventArgs_Vtbl, 0x4881d0f2_abc5_4fc6_84b0_89370bb47212); +windows_core::imp::define_interface!(IAppBroadcastPlugInStateChangedEventArgs, IAppBroadcastPlugInStateChangedEventArgs_Vtbl, 0x4881d0f2_abc5_4fc6_84b0_89370bb47212); #[repr(C)] pub struct IAppBroadcastPlugInStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PlugInState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppBroadcastPlugInState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastPreview, IAppBroadcastPreview_Vtbl, 0x14b60f5a_6e4a_4b80_a14f_67ee77d153e7); +windows_core::imp::define_interface!(IAppBroadcastPreview, IAppBroadcastPreview_Vtbl, 0x14b60f5a_6e4a_4b80_a14f_67ee77d153e7); #[repr(C)] pub struct IAppBroadcastPreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -226,14 +226,14 @@ pub struct IAppBroadcastPreview_Vtbl { pub RemovePreviewStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub PreviewStreamReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastPreviewStateChangedEventArgs, IAppBroadcastPreviewStateChangedEventArgs_Vtbl, 0x5a57f2de_8dea_4e86_90ad_03fc26b9653c); +windows_core::imp::define_interface!(IAppBroadcastPreviewStateChangedEventArgs, IAppBroadcastPreviewStateChangedEventArgs_Vtbl, 0x5a57f2de_8dea_4e86_90ad_03fc26b9653c); #[repr(C)] pub struct IAppBroadcastPreviewStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PreviewState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppBroadcastPreviewState) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastPreviewStreamReader, IAppBroadcastPreviewStreamReader_Vtbl, 0x92228d50_db3f_40a8_8cd4_f4e371ddab37); +windows_core::imp::define_interface!(IAppBroadcastPreviewStreamReader, IAppBroadcastPreviewStreamReader_Vtbl, 0x92228d50_db3f_40a8_8cd4_f4e371ddab37); #[repr(C)] pub struct IAppBroadcastPreviewStreamReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -252,7 +252,7 @@ pub struct IAppBroadcastPreviewStreamReader_Vtbl { pub VideoFrameArrived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveVideoFrameArrived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastPreviewStreamVideoFrame, IAppBroadcastPreviewStreamVideoFrame_Vtbl, 0x010fbea1_94fe_4499_b8c0_8d244279fb12); +windows_core::imp::define_interface!(IAppBroadcastPreviewStreamVideoFrame, IAppBroadcastPreviewStreamVideoFrame_Vtbl, 0x010fbea1_94fe_4499_b8c0_8d244279fb12); #[repr(C)] pub struct IAppBroadcastPreviewStreamVideoFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -262,7 +262,7 @@ pub struct IAppBroadcastPreviewStreamVideoFrame_Vtbl { #[cfg(not(feature = "Storage_Streams"))] VideoBuffer: usize, } -windows_core::imp::com_interface!(IAppBroadcastPreviewStreamVideoHeader, IAppBroadcastPreviewStreamVideoHeader_Vtbl, 0x8bef6113_da84_4499_a7ab_87118cb4a157); +windows_core::imp::define_interface!(IAppBroadcastPreviewStreamVideoHeader, IAppBroadcastPreviewStreamVideoHeader_Vtbl, 0x8bef6113_da84_4499_a7ab_87118cb4a157); #[repr(C)] pub struct IAppBroadcastPreviewStreamVideoHeader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -271,7 +271,7 @@ pub struct IAppBroadcastPreviewStreamVideoHeader_Vtbl { pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub FrameId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastProviderSettings, IAppBroadcastProviderSettings_Vtbl, 0xc30bdf62_9948_458f_ad50_aa06ec03da08); +windows_core::imp::define_interface!(IAppBroadcastProviderSettings, IAppBroadcastProviderSettings_Vtbl, 0xc30bdf62_9948_458f_ad50_aa06ec03da08); #[repr(C)] pub struct IAppBroadcastProviderSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -290,7 +290,7 @@ pub struct IAppBroadcastProviderSettings_Vtbl { pub SetVideoEncodingResolutionMode: unsafe extern "system" fn(*mut core::ffi::c_void, AppBroadcastVideoEncodingResolutionMode) -> windows_core::HRESULT, pub VideoEncodingResolutionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppBroadcastVideoEncodingResolutionMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastServices, IAppBroadcastServices_Vtbl, 0x8660b4d6_969b_4e3c_ac3a_8b042ee4ee63); +windows_core::imp::define_interface!(IAppBroadcastServices, IAppBroadcastServices_Vtbl, 0x8660b4d6_969b_4e3c_ac3a_8b042ee4ee63); #[repr(C)] pub struct IAppBroadcastServices_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -310,14 +310,14 @@ pub struct IAppBroadcastServices_Vtbl { pub StartPreview: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Size, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastSignInStateChangedEventArgs, IAppBroadcastSignInStateChangedEventArgs_Vtbl, 0x02b692a4_5919_4a9e_8d5e_c9bb0dd3377a); +windows_core::imp::define_interface!(IAppBroadcastSignInStateChangedEventArgs, IAppBroadcastSignInStateChangedEventArgs_Vtbl, 0x02b692a4_5919_4a9e_8d5e_c9bb0dd3377a); #[repr(C)] pub struct IAppBroadcastSignInStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SignInState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppBroadcastSignInState) -> windows_core::HRESULT, pub Result: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppBroadcastSignInResult) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastState, IAppBroadcastState_Vtbl, 0xee08056d_8099_4ddd_922e_c56dac58abfb); +windows_core::imp::define_interface!(IAppBroadcastState, IAppBroadcastState_Vtbl, 0xee08056d_8099_4ddd_922e_c56dac58abfb); #[repr(C)] pub struct IAppBroadcastState_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -363,7 +363,7 @@ pub struct IAppBroadcastState_Vtbl { pub CaptureTargetClosed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCaptureTargetClosed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastStreamAudioFrame, IAppBroadcastStreamAudioFrame_Vtbl, 0xefab4ac8_21ba_453f_8bb7_5e938a2e9a74); +windows_core::imp::define_interface!(IAppBroadcastStreamAudioFrame, IAppBroadcastStreamAudioFrame_Vtbl, 0xefab4ac8_21ba_453f_8bb7_5e938a2e9a74); #[repr(C)] pub struct IAppBroadcastStreamAudioFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -373,7 +373,7 @@ pub struct IAppBroadcastStreamAudioFrame_Vtbl { #[cfg(not(feature = "Storage_Streams"))] AudioBuffer: usize, } -windows_core::imp::com_interface!(IAppBroadcastStreamAudioHeader, IAppBroadcastStreamAudioHeader_Vtbl, 0xbf21a570_6b78_4216_9f07_5aff5256f1b7); +windows_core::imp::define_interface!(IAppBroadcastStreamAudioHeader, IAppBroadcastStreamAudioHeader_Vtbl, 0xbf21a570_6b78_4216_9f07_5aff5256f1b7); #[repr(C)] pub struct IAppBroadcastStreamAudioHeader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -383,7 +383,7 @@ pub struct IAppBroadcastStreamAudioHeader_Vtbl { pub HasDiscontinuity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub FrameId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastStreamReader, IAppBroadcastStreamReader_Vtbl, 0xb338bcf9_3364_4460_b5f1_3cc2796a8aa2); +windows_core::imp::define_interface!(IAppBroadcastStreamReader, IAppBroadcastStreamReader_Vtbl, 0xb338bcf9_3364_4460_b5f1_3cc2796a8aa2); #[repr(C)] pub struct IAppBroadcastStreamReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -404,13 +404,13 @@ pub struct IAppBroadcastStreamReader_Vtbl { pub VideoFrameArrived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveVideoFrameArrived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastStreamStateChangedEventArgs, IAppBroadcastStreamStateChangedEventArgs_Vtbl, 0x5108a733_d008_4a89_93be_58aed961374e); +windows_core::imp::define_interface!(IAppBroadcastStreamStateChangedEventArgs, IAppBroadcastStreamStateChangedEventArgs_Vtbl, 0x5108a733_d008_4a89_93be_58aed961374e); #[repr(C)] pub struct IAppBroadcastStreamStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StreamState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppBroadcastStreamState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastStreamVideoFrame, IAppBroadcastStreamVideoFrame_Vtbl, 0x0f97cf2b_c9e4_4e88_8194_d814cbd585d8); +windows_core::imp::define_interface!(IAppBroadcastStreamVideoFrame, IAppBroadcastStreamVideoFrame_Vtbl, 0x0f97cf2b_c9e4_4e88_8194_d814cbd585d8); #[repr(C)] pub struct IAppBroadcastStreamVideoFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -420,7 +420,7 @@ pub struct IAppBroadcastStreamVideoFrame_Vtbl { #[cfg(not(feature = "Storage_Streams"))] VideoBuffer: usize, } -windows_core::imp::com_interface!(IAppBroadcastStreamVideoHeader, IAppBroadcastStreamVideoHeader_Vtbl, 0x0b9ebece_7e32_432d_8ca2_36bf10b9f462); +windows_core::imp::define_interface!(IAppBroadcastStreamVideoHeader, IAppBroadcastStreamVideoHeader_Vtbl, 0x0b9ebece_7e32_432d_8ca2_36bf10b9f462); #[repr(C)] pub struct IAppBroadcastStreamVideoHeader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -431,19 +431,19 @@ pub struct IAppBroadcastStreamVideoHeader_Vtbl { pub HasDiscontinuity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub FrameId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastTriggerDetails, IAppBroadcastTriggerDetails_Vtbl, 0xdeebab35_ec5e_4d8f_b1c0_5da6e8c75638); +windows_core::imp::define_interface!(IAppBroadcastTriggerDetails, IAppBroadcastTriggerDetails_Vtbl, 0xdeebab35_ec5e_4d8f_b1c0_5da6e8c75638); #[repr(C)] pub struct IAppBroadcastTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BackgroundService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppBroadcastViewerCountChangedEventArgs, IAppBroadcastViewerCountChangedEventArgs_Vtbl, 0xe6e11825_5401_4ade_8bd2_c14ecee6807d); +windows_core::imp::define_interface!(IAppBroadcastViewerCountChangedEventArgs, IAppBroadcastViewerCountChangedEventArgs_Vtbl, 0xe6e11825_5401_4ade_8bd2_c14ecee6807d); #[repr(C)] pub struct IAppBroadcastViewerCountChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ViewerCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCapture, IAppCapture_Vtbl, 0x9749d453_a29a_45ed_8f29_22d09942cff7); +windows_core::imp::define_interface!(IAppCapture, IAppCapture_Vtbl, 0x9749d453_a29a_45ed_8f29_22d09942cff7); #[repr(C)] pub struct IAppCapture_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -452,7 +452,7 @@ pub struct IAppCapture_Vtbl { pub CapturingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCapturingChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureAlternateShortcutKeys, IAppCaptureAlternateShortcutKeys_Vtbl, 0x19e8e0ef_236c_40f9_b38f_9b7dd65d1ccc); +windows_core::imp::define_interface!(IAppCaptureAlternateShortcutKeys, IAppCaptureAlternateShortcutKeys_Vtbl, 0x19e8e0ef_236c_40f9_b38f_9b7dd65d1ccc); #[repr(C)] pub struct IAppCaptureAlternateShortcutKeys_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -537,7 +537,7 @@ pub struct IAppCaptureAlternateShortcutKeys_Vtbl { #[cfg(not(feature = "System"))] ToggleRecordingIndicatorKeyModifiers: usize, } -windows_core::imp::com_interface!(IAppCaptureAlternateShortcutKeys2, IAppCaptureAlternateShortcutKeys2_Vtbl, 0xc3669090_dd17_47f0_95e5_ce42286cf338); +windows_core::imp::define_interface!(IAppCaptureAlternateShortcutKeys2, IAppCaptureAlternateShortcutKeys2_Vtbl, 0xc3669090_dd17_47f0_95e5_ce42286cf338); #[repr(C)] pub struct IAppCaptureAlternateShortcutKeys2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -558,7 +558,7 @@ pub struct IAppCaptureAlternateShortcutKeys2_Vtbl { #[cfg(not(feature = "System"))] ToggleMicrophoneCaptureKeyModifiers: usize, } -windows_core::imp::com_interface!(IAppCaptureAlternateShortcutKeys3, IAppCaptureAlternateShortcutKeys3_Vtbl, 0x7b81448c_418e_469c_a49a_45b597c826b6); +windows_core::imp::define_interface!(IAppCaptureAlternateShortcutKeys3, IAppCaptureAlternateShortcutKeys3_Vtbl, 0x7b81448c_418e_469c_a49a_45b597c826b6); #[repr(C)] pub struct IAppCaptureAlternateShortcutKeys3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -595,13 +595,13 @@ pub struct IAppCaptureAlternateShortcutKeys3_Vtbl { #[cfg(not(feature = "System"))] ToggleBroadcastKeyModifiers: usize, } -windows_core::imp::com_interface!(IAppCaptureDurationGeneratedEventArgs, IAppCaptureDurationGeneratedEventArgs_Vtbl, 0xc1f5563b_ffa1_44c9_975f_27fbeb553b35); +windows_core::imp::define_interface!(IAppCaptureDurationGeneratedEventArgs, IAppCaptureDurationGeneratedEventArgs_Vtbl, 0xc1f5563b_ffa1_44c9_975f_27fbeb553b35); #[repr(C)] pub struct IAppCaptureDurationGeneratedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Duration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureFileGeneratedEventArgs, IAppCaptureFileGeneratedEventArgs_Vtbl, 0x4189fbf4_465e_45bf_907f_165b3fb23758); +windows_core::imp::define_interface!(IAppCaptureFileGeneratedEventArgs, IAppCaptureFileGeneratedEventArgs_Vtbl, 0x4189fbf4_465e_45bf_907f_165b3fb23758); #[repr(C)] pub struct IAppCaptureFileGeneratedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -610,14 +610,14 @@ pub struct IAppCaptureFileGeneratedEventArgs_Vtbl { #[cfg(not(feature = "Storage"))] File: usize, } -windows_core::imp::com_interface!(IAppCaptureManagerStatics, IAppCaptureManagerStatics_Vtbl, 0x7d9e3ea7_6282_4735_8d4e_aa45f90f6723); +windows_core::imp::define_interface!(IAppCaptureManagerStatics, IAppCaptureManagerStatics_Vtbl, 0x7d9e3ea7_6282_4735_8d4e_aa45f90f6723); #[repr(C)] pub struct IAppCaptureManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetCurrentSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ApplySettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureMetadataWriter, IAppCaptureMetadataWriter_Vtbl, 0xe0ce4877_9aaf_46b4_ad31_6a60b441c780); +windows_core::imp::define_interface!(IAppCaptureMetadataWriter, IAppCaptureMetadataWriter_Vtbl, 0xe0ce4877_9aaf_46b4_ad31_6a60b441c780); #[repr(C)] pub struct IAppCaptureMetadataWriter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -633,14 +633,14 @@ pub struct IAppCaptureMetadataWriter_Vtbl { pub MetadataPurged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMetadataPurged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureMicrophoneCaptureStateChangedEventArgs, IAppCaptureMicrophoneCaptureStateChangedEventArgs_Vtbl, 0x324d249e_45bc_4c35_bc35_e469fc7a69e0); +windows_core::imp::define_interface!(IAppCaptureMicrophoneCaptureStateChangedEventArgs, IAppCaptureMicrophoneCaptureStateChangedEventArgs_Vtbl, 0x324d249e_45bc_4c35_bc35_e469fc7a69e0); #[repr(C)] pub struct IAppCaptureMicrophoneCaptureStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppCaptureMicrophoneCaptureState) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureRecordOperation, IAppCaptureRecordOperation_Vtbl, 0xc66020a9_1538_495c_9bbb_2ba870ec5861); +windows_core::imp::define_interface!(IAppCaptureRecordOperation, IAppCaptureRecordOperation_Vtbl, 0xc66020a9_1538_495c_9bbb_2ba870ec5861); #[repr(C)] pub struct IAppCaptureRecordOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -660,14 +660,14 @@ pub struct IAppCaptureRecordOperation_Vtbl { pub FileGenerated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveFileGenerated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureRecordingStateChangedEventArgs, IAppCaptureRecordingStateChangedEventArgs_Vtbl, 0x24fc8712_e305_490d_b415_6b1c9049736b); +windows_core::imp::define_interface!(IAppCaptureRecordingStateChangedEventArgs, IAppCaptureRecordingStateChangedEventArgs_Vtbl, 0x24fc8712_e305_490d_b415_6b1c9049736b); #[repr(C)] pub struct IAppCaptureRecordingStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppCaptureRecordingState) -> windows_core::HRESULT, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureServices, IAppCaptureServices_Vtbl, 0x44fec0b5_34f5_4f18_ae8c_b9123abbfc0d); +windows_core::imp::define_interface!(IAppCaptureServices, IAppCaptureServices_Vtbl, 0x44fec0b5_34f5_4f18_ae8c_b9123abbfc0d); #[repr(C)] pub struct IAppCaptureServices_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -676,7 +676,7 @@ pub struct IAppCaptureServices_Vtbl { pub CanCapture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureSettings, IAppCaptureSettings_Vtbl, 0x14683a86_8807_48d3_883a_970ee4532a39); +windows_core::imp::define_interface!(IAppCaptureSettings, IAppCaptureSettings_Vtbl, 0x14683a86_8807_48d3_883a_970ee4532a39); #[repr(C)] pub struct IAppCaptureSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -729,21 +729,21 @@ pub struct IAppCaptureSettings_Vtbl { pub IsMemoryConstrained: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub HasHardwareEncoder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureSettings2, IAppCaptureSettings2_Vtbl, 0xfcb8cee7_e26b_476f_9b1a_ec342d2a8fde); +windows_core::imp::define_interface!(IAppCaptureSettings2, IAppCaptureSettings2_Vtbl, 0xfcb8cee7_e26b_476f_9b1a_ec342d2a8fde); #[repr(C)] pub struct IAppCaptureSettings2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsGpuConstrained: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub AlternateShortcutKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureSettings3, IAppCaptureSettings3_Vtbl, 0xa93502fe_88c2_42d6_aaaa_40feffd75aec); +windows_core::imp::define_interface!(IAppCaptureSettings3, IAppCaptureSettings3_Vtbl, 0xa93502fe_88c2_42d6_aaaa_40feffd75aec); #[repr(C)] pub struct IAppCaptureSettings3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetIsMicrophoneCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsMicrophoneCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureSettings4, IAppCaptureSettings4_Vtbl, 0x07c2774c_1a81_482f_a244_049d95f25b0b); +windows_core::imp::define_interface!(IAppCaptureSettings4, IAppCaptureSettings4_Vtbl, 0x07c2774c_1a81_482f_a244_049d95f25b0b); #[repr(C)] pub struct IAppCaptureSettings4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -756,7 +756,7 @@ pub struct IAppCaptureSettings4_Vtbl { pub SetVideoEncodingFrameRateMode: unsafe extern "system" fn(*mut core::ffi::c_void, AppCaptureVideoEncodingFrameRateMode) -> windows_core::HRESULT, pub VideoEncodingFrameRateMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppCaptureVideoEncodingFrameRateMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureSettings5, IAppCaptureSettings5_Vtbl, 0x18894522_b0e8_4ba0_8f13_3eaa5fa4013b); +windows_core::imp::define_interface!(IAppCaptureSettings5, IAppCaptureSettings5_Vtbl, 0x18894522_b0e8_4ba0_8f13_3eaa5fa4013b); #[repr(C)] pub struct IAppCaptureSettings5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -765,7 +765,7 @@ pub struct IAppCaptureSettings5_Vtbl { pub SetIsCursorImageCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsCursorImageCaptureEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureState, IAppCaptureState_Vtbl, 0x73134372_d4eb_44ce_9538_465f506ac4ea); +windows_core::imp::define_interface!(IAppCaptureState, IAppCaptureState_Vtbl, 0x73134372_d4eb_44ce_9538_465f506ac4ea); #[repr(C)] pub struct IAppCaptureState_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -781,19 +781,19 @@ pub struct IAppCaptureState_Vtbl { pub CaptureTargetClosed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCaptureTargetClosed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCaptureStatics, IAppCaptureStatics_Vtbl, 0xf922dd6c_0a7e_4e74_8b20_9c1f902d08a1); +windows_core::imp::define_interface!(IAppCaptureStatics, IAppCaptureStatics_Vtbl, 0xf922dd6c_0a7e_4e74_8b20_9c1f902d08a1); #[repr(C)] pub struct IAppCaptureStatics_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, } -windows_core::imp::com_interface!(IAppCaptureStatics2, IAppCaptureStatics2_Vtbl, 0xb2d881d4_836c_4da4_afd7_facc041e1cf3); +windows_core::imp::define_interface!(IAppCaptureStatics2, IAppCaptureStatics2_Vtbl, 0xb2d881d4_836c_4da4_afd7_facc041e1cf3); #[repr(C)] pub struct IAppCaptureStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetAllowedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICameraCaptureUI, ICameraCaptureUI_Vtbl, 0x48587540_6f93_4bb4_b8f3_e89e48948c91); +windows_core::imp::define_interface!(ICameraCaptureUI, ICameraCaptureUI_Vtbl, 0x48587540_6f93_4bb4_b8f3_e89e48948c91); #[repr(C)] pub struct ICameraCaptureUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -804,7 +804,7 @@ pub struct ICameraCaptureUI_Vtbl { #[cfg(not(feature = "Storage"))] CaptureFileAsync: usize, } -windows_core::imp::com_interface!(ICameraCaptureUIPhotoCaptureSettings, ICameraCaptureUIPhotoCaptureSettings_Vtbl, 0xb9f5be97_3472_46a8_8a9e_04ce42ccc97d); +windows_core::imp::define_interface!(ICameraCaptureUIPhotoCaptureSettings, ICameraCaptureUIPhotoCaptureSettings_Vtbl, 0xb9f5be97_3472_46a8_8a9e_04ce42ccc97d); #[repr(C)] pub struct ICameraCaptureUIPhotoCaptureSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -819,7 +819,7 @@ pub struct ICameraCaptureUIPhotoCaptureSettings_Vtbl { pub AllowCropping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowCropping: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICameraCaptureUIVideoCaptureSettings, ICameraCaptureUIVideoCaptureSettings_Vtbl, 0x64e92d1f_a28d_425a_b84f_e568335ff24e); +windows_core::imp::define_interface!(ICameraCaptureUIVideoCaptureSettings, ICameraCaptureUIVideoCaptureSettings_Vtbl, 0x64e92d1f_a28d_425a_b84f_e568335ff24e); #[repr(C)] pub struct ICameraCaptureUIVideoCaptureSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -832,20 +832,20 @@ pub struct ICameraCaptureUIVideoCaptureSettings_Vtbl { pub AllowTrimming: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowTrimming: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICameraOptionsUIStatics, ICameraOptionsUIStatics_Vtbl, 0x3b0d5e34_3906_4b7d_946c_7bde844499ae); +windows_core::imp::define_interface!(ICameraOptionsUIStatics, ICameraOptionsUIStatics_Vtbl, 0x3b0d5e34_3906_4b7d_946c_7bde844499ae); #[repr(C)] pub struct ICameraOptionsUIStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICapturedFrame, ICapturedFrame_Vtbl, 0x1dd2de1f_571b_44d8_8e80_a08a1578766e); +windows_core::imp::define_interface!(ICapturedFrame, ICapturedFrame_Vtbl, 0x1dd2de1f_571b_44d8_8e80_a08a1578766e); #[repr(C)] pub struct ICapturedFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(ICapturedFrame2, ICapturedFrame2_Vtbl, 0x543fa6d1_bd78_4866_adda_24314bc65dea); +windows_core::imp::define_interface!(ICapturedFrame2, ICapturedFrame2_Vtbl, 0x543fa6d1_bd78_4866_adda_24314bc65dea); #[repr(C)] pub struct ICapturedFrame2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -855,7 +855,7 @@ pub struct ICapturedFrame2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_Imaging")))] BitmapProperties: usize, } -windows_core::imp::com_interface!(ICapturedFrameControlValues, ICapturedFrameControlValues_Vtbl, 0x90c65b7f_4e0d_4ca4_882d_7a144fed0a90); +windows_core::imp::define_interface!(ICapturedFrameControlValues, ICapturedFrameControlValues_Vtbl, 0x90c65b7f_4e0d_4ca4_882d_7a144fed0a90); #[repr(C)] pub struct ICapturedFrameControlValues_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -872,7 +872,7 @@ pub struct ICapturedFrameControlValues_Vtbl { pub WhiteBalance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ZoomFactor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICapturedFrameControlValues2, ICapturedFrameControlValues2_Vtbl, 0x500b2b88_06d2_4aa7_a7db_d37af73321d8); +windows_core::imp::define_interface!(ICapturedFrameControlValues2, ICapturedFrameControlValues2_Vtbl, 0x500b2b88_06d2_4aa7_a7db_d37af73321d8); #[repr(C)] pub struct ICapturedFrameControlValues2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -888,7 +888,7 @@ pub struct ICapturedFrameControlValues2_Vtbl { SensorFrameRate: usize, pub WhiteBalanceGain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICapturedFrameWithSoftwareBitmap, ICapturedFrameWithSoftwareBitmap_Vtbl, 0xb58e8b6e_8503_49b5_9e86_897d26a3ff3d); +windows_core::imp::define_interface!(ICapturedFrameWithSoftwareBitmap, ICapturedFrameWithSoftwareBitmap_Vtbl, 0xb58e8b6e_8503_49b5_9e86_897d26a3ff3d); #[repr(C)] pub struct ICapturedFrameWithSoftwareBitmap_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -897,14 +897,14 @@ pub struct ICapturedFrameWithSoftwareBitmap_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] SoftwareBitmap: usize, } -windows_core::imp::com_interface!(ICapturedPhoto, ICapturedPhoto_Vtbl, 0xb0ce7e5a_cfcc_4d6c_8ad1_0869208aca16); +windows_core::imp::define_interface!(ICapturedPhoto, ICapturedPhoto_Vtbl, 0xb0ce7e5a_cfcc_4d6c_8ad1_0869208aca16); #[repr(C)] pub struct ICapturedPhoto_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Frame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Thumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameBarServices, IGameBarServices_Vtbl, 0x2dbead57_50a6_499e_8c6c_d330a7311796); +windows_core::imp::define_interface!(IGameBarServices, IGameBarServices_Vtbl, 0x2dbead57_50a6_499e_8c6c_d330a7311796); #[repr(C)] pub struct IGameBarServices_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -918,33 +918,33 @@ pub struct IGameBarServices_Vtbl { pub CommandReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCommandReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameBarServicesCommandEventArgs, IGameBarServicesCommandEventArgs_Vtbl, 0xa74226b2_f176_4fcf_8fbb_cf698b2eb8e0); +windows_core::imp::define_interface!(IGameBarServicesCommandEventArgs, IGameBarServicesCommandEventArgs_Vtbl, 0xa74226b2_f176_4fcf_8fbb_cf698b2eb8e0); #[repr(C)] pub struct IGameBarServicesCommandEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Command: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GameBarCommand) -> windows_core::HRESULT, pub Origin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GameBarCommandOrigin) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameBarServicesManager, IGameBarServicesManager_Vtbl, 0x3a4b9cfa_7f8b_4c60_9dbb_0bcd262dffc6); +windows_core::imp::define_interface!(IGameBarServicesManager, IGameBarServicesManager_Vtbl, 0x3a4b9cfa_7f8b_4c60_9dbb_0bcd262dffc6); #[repr(C)] pub struct IGameBarServicesManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GameBarServicesCreated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveGameBarServicesCreated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameBarServicesManagerGameBarServicesCreatedEventArgs, IGameBarServicesManagerGameBarServicesCreatedEventArgs_Vtbl, 0xededbd9c_143e_49a3_a5ea_0b1995c8d46e); +windows_core::imp::define_interface!(IGameBarServicesManagerGameBarServicesCreatedEventArgs, IGameBarServicesManagerGameBarServicesCreatedEventArgs_Vtbl, 0xededbd9c_143e_49a3_a5ea_0b1995c8d46e); #[repr(C)] pub struct IGameBarServicesManagerGameBarServicesCreatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GameBarServices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameBarServicesManagerStatics, IGameBarServicesManagerStatics_Vtbl, 0x34c1b616_ff25_4792_98f2_d3753f15ac13); +windows_core::imp::define_interface!(IGameBarServicesManagerStatics, IGameBarServicesManagerStatics_Vtbl, 0x34c1b616_ff25_4792_98f2_d3753f15ac13); #[repr(C)] pub struct IGameBarServicesManagerStatics_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, } -windows_core::imp::com_interface!(IGameBarServicesTargetInfo, IGameBarServicesTargetInfo_Vtbl, 0xb4202f92_1611_4e05_b6ef_dfd737ae33b0); +windows_core::imp::define_interface!(IGameBarServicesTargetInfo, IGameBarServicesTargetInfo_Vtbl, 0xb4202f92_1611_4e05_b6ef_dfd737ae33b0); #[repr(C)] pub struct IGameBarServicesTargetInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -953,7 +953,7 @@ pub struct IGameBarServicesTargetInfo_Vtbl { pub TitleId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub DisplayMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GameBarServicesDisplayMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILowLagMediaRecording, ILowLagMediaRecording_Vtbl, 0x41c8baf7_ff3f_49f0_a477_f195e3ce5108); +windows_core::imp::define_interface!(ILowLagMediaRecording, ILowLagMediaRecording_Vtbl, 0x41c8baf7_ff3f_49f0_a477_f195e3ce5108); #[repr(C)] pub struct ILowLagMediaRecording_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -961,7 +961,7 @@ pub struct ILowLagMediaRecording_Vtbl { pub StopAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FinishAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILowLagMediaRecording2, ILowLagMediaRecording2_Vtbl, 0x6369c758_5644_41e2_97af_8ef56a25e225); +windows_core::imp::define_interface!(ILowLagMediaRecording2, ILowLagMediaRecording2_Vtbl, 0x6369c758_5644_41e2_97af_8ef56a25e225); #[repr(C)] pub struct ILowLagMediaRecording2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -971,7 +971,7 @@ pub struct ILowLagMediaRecording2_Vtbl { PauseAsync: usize, pub ResumeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILowLagMediaRecording3, ILowLagMediaRecording3_Vtbl, 0x5c33ab12_48f7_47da_b41e_90880a5fe0ec); +windows_core::imp::define_interface!(ILowLagMediaRecording3, ILowLagMediaRecording3_Vtbl, 0x5c33ab12_48f7_47da_b41e_90880a5fe0ec); #[repr(C)] pub struct ILowLagMediaRecording3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -981,14 +981,14 @@ pub struct ILowLagMediaRecording3_Vtbl { PauseWithResultAsync: usize, pub StopWithResultAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILowLagPhotoCapture, ILowLagPhotoCapture_Vtbl, 0xa37251b7_6b44_473d_8f24_f703d6c0ec44); +windows_core::imp::define_interface!(ILowLagPhotoCapture, ILowLagPhotoCapture_Vtbl, 0xa37251b7_6b44_473d_8f24_f703d6c0ec44); #[repr(C)] pub struct ILowLagPhotoCapture_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CaptureAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FinishAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILowLagPhotoSequenceCapture, ILowLagPhotoSequenceCapture_Vtbl, 0x7cc346bb_b9a9_4c91_8ffa_287e9c668669); +windows_core::imp::define_interface!(ILowLagPhotoSequenceCapture, ILowLagPhotoSequenceCapture_Vtbl, 0x7cc346bb_b9a9_4c91_8ffa_287e9c668669); #[repr(C)] pub struct ILowLagPhotoSequenceCapture_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -998,7 +998,7 @@ pub struct ILowLagPhotoSequenceCapture_Vtbl { pub PhotoCaptured: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePhotoCaptured: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCapture, IMediaCapture_Vtbl, 0xc61afbb4_fb10_4a34_ac18_ca80d9c8e7ee); +windows_core::imp::define_interface!(IMediaCapture, IMediaCapture_Vtbl, 0xc61afbb4_fb10_4a34_ac18_ca80d9c8e7ee); #[repr(C)] pub struct IMediaCapture_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1056,7 +1056,7 @@ pub struct IMediaCapture_Vtbl { pub SetRecordRotation: unsafe extern "system" fn(*mut core::ffi::c_void, VideoRotation) -> windows_core::HRESULT, pub GetRecordRotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VideoRotation) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCapture2, IMediaCapture2_Vtbl, 0x9cc68260_7da1_4043_b652_21b8878daff9); +windows_core::imp::define_interface!(IMediaCapture2, IMediaCapture2_Vtbl, 0x9cc68260_7da1_4043_b652_21b8878daff9); #[repr(C)] pub struct IMediaCapture2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1089,7 +1089,7 @@ pub struct IMediaCapture2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_MediaProperties")))] SetEncodingPropertiesAsync: usize, } -windows_core::imp::com_interface!(IMediaCapture3, IMediaCapture3_Vtbl, 0xd4136f30_1564_466e_bc0a_af94e02ab016); +windows_core::imp::define_interface!(IMediaCapture3, IMediaCapture3_Vtbl, 0xd4136f30_1564_466e_bc0a_af94e02ab016); #[repr(C)] pub struct IMediaCapture3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1102,7 +1102,7 @@ pub struct IMediaCapture3_Vtbl { pub PhotoConfirmationCaptured: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePhotoConfirmationCaptured: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCapture4, IMediaCapture4_Vtbl, 0xbacd6fd6_fb08_4947_aea2_ce14eff0ce13); +windows_core::imp::define_interface!(IMediaCapture4, IMediaCapture4_Vtbl, 0xbacd6fd6_fb08_4947_aea2_ce14eff0ce13); #[repr(C)] pub struct IMediaCapture4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1135,7 +1135,7 @@ pub struct IMediaCapture4_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] PrepareAdvancedPhotoCaptureAsync: usize, } -windows_core::imp::com_interface!(IMediaCapture5, IMediaCapture5_Vtbl, 0xda787c22_3a9b_4720_a71e_97900a316e5a); +windows_core::imp::define_interface!(IMediaCapture5, IMediaCapture5_Vtbl, 0xda787c22_3a9b_4720_a71e_97900a316e5a); #[repr(C)] pub struct IMediaCapture5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1162,7 +1162,7 @@ pub struct IMediaCapture5_Vtbl { #[cfg(not(all(feature = "Graphics_Imaging", feature = "Media_Capture_Frames")))] CreateFrameReaderWithSubtypeAndSizeAsync: usize, } -windows_core::imp::com_interface!(IMediaCapture6, IMediaCapture6_Vtbl, 0x228948bd_4b20_4bb1_9fd6_a583212a1012); +windows_core::imp::define_interface!(IMediaCapture6, IMediaCapture6_Vtbl, 0x228948bd_4b20_4bb1_9fd6_a583212a1012); #[repr(C)] pub struct IMediaCapture6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1173,7 +1173,7 @@ pub struct IMediaCapture6_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_Capture_Frames")))] CreateMultiSourceFrameReaderAsync: usize, } -windows_core::imp::com_interface!(IMediaCapture7, IMediaCapture7_Vtbl, 0x9169f102_8888_541a_95bc_24e4d462542a); +windows_core::imp::define_interface!(IMediaCapture7, IMediaCapture7_Vtbl, 0x9169f102_8888_541a_95bc_24e4d462542a); #[repr(C)] pub struct IMediaCapture7_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1182,21 +1182,21 @@ pub struct IMediaCapture7_Vtbl { #[cfg(not(feature = "UI_WindowManagement"))] CreateRelativePanelWatcher: usize, } -windows_core::imp::com_interface!(IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs, IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs_Vtbl, 0x9d2f920d_a588_43c6_89d6_5ad322af006a); +windows_core::imp::define_interface!(IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs, IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs_Vtbl, 0x9d2f920d_a588_43c6_89d6_5ad322af006a); #[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 Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaCaptureDeviceExclusiveControlStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCaptureFailedEventArgs, IMediaCaptureFailedEventArgs_Vtbl, 0x80fde3f4_54c4_42c0_8d19_cea1a87ca18b); +windows_core::imp::define_interface!(IMediaCaptureFailedEventArgs, IMediaCaptureFailedEventArgs_Vtbl, 0x80fde3f4_54c4_42c0_8d19_cea1a87ca18b); #[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 Code: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCaptureFocusChangedEventArgs, IMediaCaptureFocusChangedEventArgs_Vtbl, 0x81e1bc7f_2277_493e_abee_d3f44ff98c04); +windows_core::imp::define_interface!(IMediaCaptureFocusChangedEventArgs, IMediaCaptureFocusChangedEventArgs_Vtbl, 0x81e1bc7f_2277_493e_abee_d3f44ff98c04); #[repr(C)] pub struct IMediaCaptureFocusChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1205,7 +1205,7 @@ pub struct IMediaCaptureFocusChangedEventArgs_Vtbl { #[cfg(not(feature = "Media_Devices"))] FocusState: usize, } -windows_core::imp::com_interface!(IMediaCaptureInitializationSettings, IMediaCaptureInitializationSettings_Vtbl, 0x9782ba70_ea65_4900_9356_8ca887726884); +windows_core::imp::define_interface!(IMediaCaptureInitializationSettings, IMediaCaptureInitializationSettings_Vtbl, 0x9782ba70_ea65_4900_9356_8ca887726884); #[repr(C)] pub struct IMediaCaptureInitializationSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1218,7 +1218,7 @@ pub struct IMediaCaptureInitializationSettings_Vtbl { pub SetPhotoCaptureSource: unsafe extern "system" fn(*mut core::ffi::c_void, PhotoCaptureSource) -> windows_core::HRESULT, pub PhotoCaptureSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PhotoCaptureSource) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCaptureInitializationSettings2, IMediaCaptureInitializationSettings2_Vtbl, 0x404e0626_c9dc_43e9_aee4_e6bf1b57b44c); +windows_core::imp::define_interface!(IMediaCaptureInitializationSettings2, IMediaCaptureInitializationSettings2_Vtbl, 0x404e0626_c9dc_43e9_aee4_e6bf1b57b44c); #[repr(C)] pub struct IMediaCaptureInitializationSettings2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1227,7 +1227,7 @@ pub struct IMediaCaptureInitializationSettings2_Vtbl { pub SetAudioProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, super::AudioProcessing) -> windows_core::HRESULT, pub AudioProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::AudioProcessing) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCaptureInitializationSettings3, IMediaCaptureInitializationSettings3_Vtbl, 0x4160519d_be48_4730_8104_0cf6e9e97948); +windows_core::imp::define_interface!(IMediaCaptureInitializationSettings3, IMediaCaptureInitializationSettings3_Vtbl, 0x4160519d_be48_4730_8104_0cf6e9e97948); #[repr(C)] pub struct IMediaCaptureInitializationSettings3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1248,7 +1248,7 @@ pub struct IMediaCaptureInitializationSettings3_Vtbl { #[cfg(not(feature = "Media_Core"))] VideoSource: usize, } -windows_core::imp::com_interface!(IMediaCaptureInitializationSettings4, IMediaCaptureInitializationSettings4_Vtbl, 0xf502a537_4cb7_4d28_95ed_4f9f012e0518); +windows_core::imp::define_interface!(IMediaCaptureInitializationSettings4, IMediaCaptureInitializationSettings4_Vtbl, 0xf502a537_4cb7_4d28_95ed_4f9f012e0518); #[repr(C)] pub struct IMediaCaptureInitializationSettings4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1261,7 +1261,7 @@ pub struct IMediaCaptureInitializationSettings4_Vtbl { pub PhotoMediaDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPhotoMediaDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCaptureInitializationSettings5, IMediaCaptureInitializationSettings5_Vtbl, 0xd5a2e3b8_2626_4e94_b7b3_5308a0f64b1a); +windows_core::imp::define_interface!(IMediaCaptureInitializationSettings5, IMediaCaptureInitializationSettings5_Vtbl, 0xd5a2e3b8_2626_4e94_b7b3_5308a0f64b1a); #[repr(C)] pub struct IMediaCaptureInitializationSettings5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1278,14 +1278,14 @@ pub struct IMediaCaptureInitializationSettings5_Vtbl { pub MemoryPreference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaCaptureMemoryPreference) -> windows_core::HRESULT, pub SetMemoryPreference: unsafe extern "system" fn(*mut core::ffi::c_void, MediaCaptureMemoryPreference) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCaptureInitializationSettings6, IMediaCaptureInitializationSettings6_Vtbl, 0xb2e26b47_3db1_4d33_ab63_0ffa09056585); +windows_core::imp::define_interface!(IMediaCaptureInitializationSettings6, IMediaCaptureInitializationSettings6_Vtbl, 0xb2e26b47_3db1_4d33_ab63_0ffa09056585); #[repr(C)] pub struct IMediaCaptureInitializationSettings6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AlwaysPlaySystemShutterSound: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAlwaysPlaySystemShutterSound: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCaptureInitializationSettings7, IMediaCaptureInitializationSettings7_Vtbl, 0x41546967_f58a_5d82_9ef4_ed572fb5e34e); +windows_core::imp::define_interface!(IMediaCaptureInitializationSettings7, IMediaCaptureInitializationSettings7_Vtbl, 0x41546967_f58a_5d82_9ef4_ed572fb5e34e); #[repr(C)] pub struct IMediaCaptureInitializationSettings7_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1300,14 +1300,14 @@ pub struct IMediaCaptureInitializationSettings7_Vtbl { pub DeviceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDeviceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCapturePauseResult, IMediaCapturePauseResult_Vtbl, 0xaec47ca3_4477_4b04_a06f_2c1c5182fe9d); +windows_core::imp::define_interface!(IMediaCapturePauseResult, IMediaCapturePauseResult_Vtbl, 0xaec47ca3_4477_4b04_a06f_2c1c5182fe9d); #[repr(C)] pub struct IMediaCapturePauseResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LastFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RecordDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCaptureRelativePanelWatcher, IMediaCaptureRelativePanelWatcher_Vtbl, 0x7d896566_04be_5b89_b30e_bd34a9f12db0); +windows_core::imp::define_interface!(IMediaCaptureRelativePanelWatcher, IMediaCaptureRelativePanelWatcher_Vtbl, 0x7d896566_04be_5b89_b30e_bd34a9f12db0); #[repr(C)] pub struct IMediaCaptureRelativePanelWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1320,7 +1320,7 @@ pub struct IMediaCaptureRelativePanelWatcher_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IMediaCaptureSettings, IMediaCaptureSettings_Vtbl, 0x1d83aafe_6d45_4477_8dc4_ac5bc01c4091); +windows_core::imp::define_interface!(IMediaCaptureSettings, IMediaCaptureSettings_Vtbl, 0x1d83aafe_6d45_4477_8dc4_ac5bc01c4091); #[repr(C)] pub struct IMediaCaptureSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1330,7 +1330,7 @@ pub struct IMediaCaptureSettings_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaCaptureSettings2, IMediaCaptureSettings2_Vtbl, 0x6f9e7cfb_fa9f_4b13_9cbe_5ab94f1f3493); +windows_core::imp::define_interface!(IMediaCaptureSettings2, IMediaCaptureSettings2_Vtbl, 0x6f9e7cfb_fa9f_4b13_9cbe_5ab94f1f3493); #[repr(C)] pub struct IMediaCaptureSettings2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1343,7 +1343,7 @@ pub struct IMediaCaptureSettings2_Vtbl { pub MediaCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaCategory) -> windows_core::HRESULT, pub AudioProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::AudioProcessing) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCaptureSettings3, IMediaCaptureSettings3_Vtbl, 0x303c67c2_8058_4b1b_b877_8c2ef3528440); +windows_core::imp::define_interface!(IMediaCaptureSettings3, IMediaCaptureSettings3_Vtbl, 0x303c67c2_8058_4b1b_b877_8c2ef3528440); #[repr(C)] pub struct IMediaCaptureSettings3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1352,7 +1352,7 @@ pub struct IMediaCaptureSettings3_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] Direct3D11Device: usize, } -windows_core::imp::com_interface!(IMediaCaptureStatics, IMediaCaptureStatics_Vtbl, 0xacef81ff_99ed_4645_965e_1925cfc63834); +windows_core::imp::define_interface!(IMediaCaptureStatics, IMediaCaptureStatics_Vtbl, 0xacef81ff_99ed_4645_965e_1925cfc63834); #[repr(C)] pub struct IMediaCaptureStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1370,14 +1370,14 @@ pub struct IMediaCaptureStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindKnownVideoProfiles: usize, } -windows_core::imp::com_interface!(IMediaCaptureStopResult, IMediaCaptureStopResult_Vtbl, 0xf9db6a2a_a092_4ad1_97d4_f201f9d082db); +windows_core::imp::define_interface!(IMediaCaptureStopResult, IMediaCaptureStopResult_Vtbl, 0xf9db6a2a_a092_4ad1_97d4_f201f9d082db); #[repr(C)] pub struct IMediaCaptureStopResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LastFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RecordDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCaptureVideoPreview, IMediaCaptureVideoPreview_Vtbl, 0x27727073_549e_447f_a20a_4f03c479d8c0); +windows_core::imp::define_interface!(IMediaCaptureVideoPreview, IMediaCaptureVideoPreview_Vtbl, 0x27727073_549e_447f_a20a_4f03c479d8c0); #[repr(C)] pub struct IMediaCaptureVideoPreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1392,7 +1392,7 @@ pub struct IMediaCaptureVideoPreview_Vtbl { StartPreviewToCustomSinkIdAsync: usize, pub StopPreviewAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaCaptureVideoProfile, IMediaCaptureVideoProfile_Vtbl, 0x21a073bf_a3ee_4ecf_9ef6_50b0bc4e1305); +windows_core::imp::define_interface!(IMediaCaptureVideoProfile, IMediaCaptureVideoProfile_Vtbl, 0x21a073bf_a3ee_4ecf_9ef6_50b0bc4e1305); #[repr(C)] pub struct IMediaCaptureVideoProfile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1415,7 +1415,7 @@ pub struct IMediaCaptureVideoProfile_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetConcurrency: usize, } -windows_core::imp::com_interface!(IMediaCaptureVideoProfile2, IMediaCaptureVideoProfile2_Vtbl, 0x97ddc95f_94ce_468f_9316_fc5bc2638f6b); +windows_core::imp::define_interface!(IMediaCaptureVideoProfile2, IMediaCaptureVideoProfile2_Vtbl, 0x97ddc95f_94ce_468f_9316_fc5bc2638f6b); #[repr(C)] pub struct IMediaCaptureVideoProfile2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1428,7 +1428,7 @@ pub struct IMediaCaptureVideoProfile2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IMediaCaptureVideoProfileMediaDescription, IMediaCaptureVideoProfileMediaDescription_Vtbl, 0x8012afef_b691_49ff_83f2_c1e76eaaea1b); +windows_core::imp::define_interface!(IMediaCaptureVideoProfileMediaDescription, IMediaCaptureVideoProfileMediaDescription_Vtbl, 0x8012afef_b691_49ff_83f2_c1e76eaaea1b); #[repr(C)] pub struct IMediaCaptureVideoProfileMediaDescription_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1444,7 +1444,7 @@ pub struct IMediaCaptureVideoProfileMediaDescription_Vtbl { #[cfg(not(feature = "deprecated"))] IsHdrVideoSupported: usize, } -windows_core::imp::com_interface!(IMediaCaptureVideoProfileMediaDescription2, IMediaCaptureVideoProfileMediaDescription2_Vtbl, 0xc6a6ef13_322d_413a_b85a_68a88e02f4e9); +windows_core::imp::define_interface!(IMediaCaptureVideoProfileMediaDescription2, IMediaCaptureVideoProfileMediaDescription2_Vtbl, 0xc6a6ef13_322d_413a_b85a_68a88e02f4e9); #[repr(C)] pub struct IMediaCaptureVideoProfileMediaDescription2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1454,14 +1454,14 @@ pub struct IMediaCaptureVideoProfileMediaDescription2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IOptionalReferencePhotoCapturedEventArgs, IOptionalReferencePhotoCapturedEventArgs_Vtbl, 0x470f88b3_1e6d_4051_9c8b_f1d85af047b7); +windows_core::imp::define_interface!(IOptionalReferencePhotoCapturedEventArgs, IOptionalReferencePhotoCapturedEventArgs_Vtbl, 0x470f88b3_1e6d_4051_9c8b_f1d85af047b7); #[repr(C)] pub struct IOptionalReferencePhotoCapturedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Frame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoCapturedEventArgs, IPhotoCapturedEventArgs_Vtbl, 0x373bfbc1_984e_4ff0_bf85_1c00aabc5a45); +windows_core::imp::define_interface!(IPhotoCapturedEventArgs, IPhotoCapturedEventArgs_Vtbl, 0x373bfbc1_984e_4ff0_bf85_1c00aabc5a45); #[repr(C)] pub struct IPhotoCapturedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1469,14 +1469,14 @@ pub struct IPhotoCapturedEventArgs_Vtbl { pub Thumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CaptureTimeOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoConfirmationCapturedEventArgs, IPhotoConfirmationCapturedEventArgs_Vtbl, 0xab473672_c28a_4827_8f8d_3636d3beb51e); +windows_core::imp::define_interface!(IPhotoConfirmationCapturedEventArgs, IPhotoConfirmationCapturedEventArgs_Vtbl, 0xab473672_c28a_4827_8f8d_3636d3beb51e); #[repr(C)] pub struct IPhotoConfirmationCapturedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Frame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CaptureTimeOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScreenCapture, IScreenCapture_Vtbl, 0x89179ef7_cd12_4e0e_a6d4_5b3de98b2e9b); +windows_core::imp::define_interface!(IScreenCapture, IScreenCapture_Vtbl, 0x89179ef7_cd12_4e0e_a6d4_5b3de98b2e9b); #[repr(C)] pub struct IScreenCapture_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1493,20 +1493,20 @@ pub struct IScreenCapture_Vtbl { pub SourceSuspensionChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSourceSuspensionChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScreenCaptureStatics, IScreenCaptureStatics_Vtbl, 0xc898c3b0_c8a5_11e2_8b8b_0800200c9a66); +windows_core::imp::define_interface!(IScreenCaptureStatics, IScreenCaptureStatics_Vtbl, 0xc898c3b0_c8a5_11e2_8b8b_0800200c9a66); #[repr(C)] pub struct IScreenCaptureStatics_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, } -windows_core::imp::com_interface!(ISourceSuspensionChangedEventArgs, ISourceSuspensionChangedEventArgs_Vtbl, 0x2ece7b5e_d49b_4394_bc32_f97d6cedec1c); +windows_core::imp::define_interface!(ISourceSuspensionChangedEventArgs, ISourceSuspensionChangedEventArgs_Vtbl, 0x2ece7b5e_d49b_4394_bc32_f97d6cedec1c); #[repr(C)] pub struct ISourceSuspensionChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsAudioSuspended: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsVideoSuspended: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoStreamConfiguration, IVideoStreamConfiguration_Vtbl, 0xd8770a6f_4390_4b5e_ad3e_0f8af0963490); +windows_core::imp::define_interface!(IVideoStreamConfiguration, IVideoStreamConfiguration_Vtbl, 0xd8770a6f_4390_4b5e_ad3e_0f8af0963490); #[repr(C)] pub struct IVideoStreamConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7990,7 +7990,7 @@ impl Default for WhiteBalanceGain { unsafe { core::mem::zeroed() } } } -windows_core::imp::com_interface!(MediaCaptureFailedEventHandler, MediaCaptureFailedEventHandler_Vtbl, 0x2014effb_5cd8_4f08_a314_0d360da59f14); +windows_core::imp::define_interface!(MediaCaptureFailedEventHandler, MediaCaptureFailedEventHandler_Vtbl, 0x2014effb_5cd8_4f08_a314_0d360da59f14); impl MediaCaptureFailedEventHandler { pub fn new, Option<&MediaCaptureFailedEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = MediaCaptureFailedEventHandlerBox:: { vtable: &MediaCaptureFailedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -8051,7 +8051,7 @@ pub struct MediaCaptureFailedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: 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::com_interface!(RecordLimitationExceededEventHandler, RecordLimitationExceededEventHandler_Vtbl, 0x3fae8f2e_4fe1_4ffd_aaba_e1f1337d4e53); +windows_core::imp::define_interface!(RecordLimitationExceededEventHandler, RecordLimitationExceededEventHandler_Vtbl, 0x3fae8f2e_4fe1_4ffd_aaba_e1f1337d4e53); impl RecordLimitationExceededEventHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = RecordLimitationExceededEventHandlerBox:: { vtable: &RecordLimitationExceededEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/Media/Casting/mod.rs b/crates/libs/windows/src/Windows/Media/Casting/mod.rs index 684d581d01..768436c7b5 100644 --- a/crates/libs/windows/src/Windows/Media/Casting/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Casting/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICastingConnection, ICastingConnection_Vtbl, 0xcd951653_c2f1_4498_8b78_5fb4cd3640dd); +windows_core::imp::define_interface!(ICastingConnection, ICastingConnection_Vtbl, 0xcd951653_c2f1_4498_8b78_5fb4cd3640dd); #[repr(C)] pub struct ICastingConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -13,14 +13,14 @@ pub struct ICastingConnection_Vtbl { pub RequestStartCastingAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DisconnectAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICastingConnectionErrorOccurredEventArgs, ICastingConnectionErrorOccurredEventArgs_Vtbl, 0xa7fb3c69_8719_4f00_81fb_961863c79a32); +windows_core::imp::define_interface!(ICastingConnectionErrorOccurredEventArgs, ICastingConnectionErrorOccurredEventArgs_Vtbl, 0xa7fb3c69_8719_4f00_81fb_961863c79a32); #[repr(C)] 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, } -windows_core::imp::com_interface!(ICastingDevice, ICastingDevice_Vtbl, 0xde721c83_4a43_4ad1_a6d2_2492a796c3f2); +windows_core::imp::define_interface!(ICastingDevice, ICastingDevice_Vtbl, 0xde721c83_4a43_4ad1_a6d2_2492a796c3f2); #[repr(C)] pub struct ICastingDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,7 +33,7 @@ pub struct ICastingDevice_Vtbl { pub GetSupportedCastingPlaybackTypesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateCastingConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICastingDevicePicker, ICastingDevicePicker_Vtbl, 0xdcd39924_0591_49be_aacb_4b82ee756a95); +windows_core::imp::define_interface!(ICastingDevicePicker, ICastingDevicePicker_Vtbl, 0xdcd39924_0591_49be_aacb_4b82ee756a95); #[repr(C)] pub struct ICastingDevicePicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,7 +53,7 @@ pub struct ICastingDevicePicker_Vtbl { ShowWithPlacement: usize, pub Hide: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICastingDevicePickerFilter, ICastingDevicePickerFilter_Vtbl, 0xbe8c619c_b563_4354_ae33_9fdaad8c6291); +windows_core::imp::define_interface!(ICastingDevicePickerFilter, ICastingDevicePickerFilter_Vtbl, 0xbe8c619c_b563_4354_ae33_9fdaad8c6291); #[repr(C)] pub struct ICastingDevicePickerFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,13 +68,13 @@ pub struct ICastingDevicePickerFilter_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedCastingSources: usize, } -windows_core::imp::com_interface!(ICastingDeviceSelectedEventArgs, ICastingDeviceSelectedEventArgs_Vtbl, 0xdc439e86_dd57_4d0d_9400_af45e4fb3663); +windows_core::imp::define_interface!(ICastingDeviceSelectedEventArgs, ICastingDeviceSelectedEventArgs_Vtbl, 0xdc439e86_dd57_4d0d_9400_af45e4fb3663); #[repr(C)] pub struct ICastingDeviceSelectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SelectedCastingDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICastingDeviceStatics, ICastingDeviceStatics_Vtbl, 0xe7d958d7_4d13_4237_a365_4c4f6a4cfd2f); +windows_core::imp::define_interface!(ICastingDeviceStatics, ICastingDeviceStatics_Vtbl, 0xe7d958d7_4d13_4237_a365_4c4f6a4cfd2f); #[repr(C)] pub struct ICastingDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -86,7 +86,7 @@ pub struct ICastingDeviceStatics_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] DeviceInfoSupportsCastingAsync: usize, } -windows_core::imp::com_interface!(ICastingSource, ICastingSource_Vtbl, 0xf429ea72_3467_47e6_a027_522923e9d727); +windows_core::imp::define_interface!(ICastingSource, ICastingSource_Vtbl, 0xf429ea72_3467_47e6_a027_522923e9d727); #[repr(C)] pub struct ICastingSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs b/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs index 3aa65d9290..6b27bbb119 100644 --- a/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ClosedCaptioning/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IClosedCaptionPropertiesStatics, IClosedCaptionPropertiesStatics_Vtbl, 0x10aa1f84_cc30_4141_b503_5272289e0c20); +windows_core::imp::define_interface!(IClosedCaptionPropertiesStatics, IClosedCaptionPropertiesStatics_Vtbl, 0x10aa1f84_cc30_4141_b503_5272289e0c20); #[repr(C)] pub struct IClosedCaptionPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -24,7 +24,7 @@ pub struct IClosedCaptionPropertiesStatics_Vtbl { ComputedRegionColor: usize, pub RegionOpacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ClosedCaptionOpacity) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClosedCaptionPropertiesStatics2, IClosedCaptionPropertiesStatics2_Vtbl, 0x9de26870_37de_4197_8845_9a48dc5ac317); +windows_core::imp::define_interface!(IClosedCaptionPropertiesStatics2, IClosedCaptionPropertiesStatics2_Vtbl, 0x9de26870_37de_4197_8845_9a48dc5ac317); #[repr(C)] pub struct IClosedCaptionPropertiesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs index f40e857372..7d436f5f76 100644 --- a/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs +++ b/crates/libs/windows/src/Windows/Media/ContentRestrictions/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IContentRestrictionsBrowsePolicy, IContentRestrictionsBrowsePolicy_Vtbl, 0x8c0133a4_442e_461a_8757_fad2f5bd37e4); +windows_core::imp::define_interface!(IContentRestrictionsBrowsePolicy, IContentRestrictionsBrowsePolicy_Vtbl, 0x8c0133a4_442e_461a_8757_fad2f5bd37e4); #[repr(C)] pub struct IContentRestrictionsBrowsePolicy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,7 +6,7 @@ pub struct IContentRestrictionsBrowsePolicy_Vtbl { 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, } -windows_core::imp::com_interface!(IRatedContentDescription, IRatedContentDescription_Vtbl, 0x694866df_66b2_4dc3_96b1_f090eedee255); +windows_core::imp::define_interface!(IRatedContentDescription, IRatedContentDescription_Vtbl, 0x694866df_66b2_4dc3_96b1_f090eedee255); #[repr(C)] pub struct IRatedContentDescription_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,13 +33,13 @@ pub struct IRatedContentDescription_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetRatings: usize, } -windows_core::imp::com_interface!(IRatedContentDescriptionFactory, IRatedContentDescriptionFactory_Vtbl, 0x2e38df62_9b90_4fa6_89c1_4b8d2ffb3573); +windows_core::imp::define_interface!(IRatedContentDescriptionFactory, IRatedContentDescriptionFactory_Vtbl, 0x2e38df62_9b90_4fa6_89c1_4b8d2ffb3573); #[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, } -windows_core::imp::com_interface!(IRatedContentRestrictions, IRatedContentRestrictions_Vtbl, 0x3f7f23cb_ba07_4401_a49d_8b9222205723); +windows_core::imp::define_interface!(IRatedContentRestrictions, IRatedContentRestrictions_Vtbl, 0x3f7f23cb_ba07_4401_a49d_8b9222205723); #[repr(C)] pub struct IRatedContentRestrictions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -49,7 +49,7 @@ pub struct IRatedContentRestrictions_Vtbl { pub RestrictionsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRestrictionsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRatedContentRestrictionsFactory, IRatedContentRestrictionsFactory_Vtbl, 0xfb4b2996_c3bd_4910_9619_97cfd0694d56); +windows_core::imp::define_interface!(IRatedContentRestrictionsFactory, IRatedContentRestrictionsFactory_Vtbl, 0xfb4b2996_c3bd_4910_9619_97cfd0694d56); #[repr(C)] pub struct IRatedContentRestrictionsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Control/mod.rs b/crates/libs/windows/src/Windows/Media/Control/mod.rs index 308414c929..c2a059c7d2 100644 --- a/crates/libs/windows/src/Windows/Media/Control/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Control/mod.rs @@ -1,9 +1,9 @@ -windows_core::imp::com_interface!(ICurrentSessionChangedEventArgs, ICurrentSessionChangedEventArgs_Vtbl, 0x6969cb39_0bfa_5fe0_8d73_09cc5e5408e1); +windows_core::imp::define_interface!(ICurrentSessionChangedEventArgs, ICurrentSessionChangedEventArgs_Vtbl, 0x6969cb39_0bfa_5fe0_8d73_09cc5e5408e1); #[repr(C)] pub struct ICurrentSessionChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IGlobalSystemMediaTransportControlsSession, IGlobalSystemMediaTransportControlsSession_Vtbl, 0x7148c835_9b14_5ae2_ab85_dc9b1c14e1a8); +windows_core::imp::define_interface!(IGlobalSystemMediaTransportControlsSession, IGlobalSystemMediaTransportControlsSession_Vtbl, 0x7148c835_9b14_5ae2_ab85_dc9b1c14e1a8); #[repr(C)] pub struct IGlobalSystemMediaTransportControlsSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,7 +33,7 @@ pub struct IGlobalSystemMediaTransportControlsSession_Vtbl { pub MediaPropertiesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMediaPropertiesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGlobalSystemMediaTransportControlsSessionManager, IGlobalSystemMediaTransportControlsSessionManager_Vtbl, 0xcace8eac_e86e_504a_ab31_5ff8ff1bce49); +windows_core::imp::define_interface!(IGlobalSystemMediaTransportControlsSessionManager, IGlobalSystemMediaTransportControlsSessionManager_Vtbl, 0xcace8eac_e86e_504a_ab31_5ff8ff1bce49); #[repr(C)] pub struct IGlobalSystemMediaTransportControlsSessionManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -47,13 +47,13 @@ pub struct IGlobalSystemMediaTransportControlsSessionManager_Vtbl { pub SessionsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSessionsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGlobalSystemMediaTransportControlsSessionManagerStatics, IGlobalSystemMediaTransportControlsSessionManagerStatics_Vtbl, 0x2050c4ee_11a0_57de_aed7_c97c70338245); +windows_core::imp::define_interface!(IGlobalSystemMediaTransportControlsSessionManagerStatics, IGlobalSystemMediaTransportControlsSessionManagerStatics_Vtbl, 0x2050c4ee_11a0_57de_aed7_c97c70338245); #[repr(C)] pub struct IGlobalSystemMediaTransportControlsSessionManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGlobalSystemMediaTransportControlsSessionMediaProperties, IGlobalSystemMediaTransportControlsSessionMediaProperties_Vtbl, 0x68856cf6_adb4_54b2_ac16_05837907acb6); +windows_core::imp::define_interface!(IGlobalSystemMediaTransportControlsSessionMediaProperties, IGlobalSystemMediaTransportControlsSessionMediaProperties_Vtbl, 0x68856cf6_adb4_54b2_ac16_05837907acb6); #[repr(C)] pub struct IGlobalSystemMediaTransportControlsSessionMediaProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -74,7 +74,7 @@ pub struct IGlobalSystemMediaTransportControlsSessionMediaProperties_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Thumbnail: usize, } -windows_core::imp::com_interface!(IGlobalSystemMediaTransportControlsSessionPlaybackControls, IGlobalSystemMediaTransportControlsSessionPlaybackControls_Vtbl, 0x6501a3e6_bc7a_503a_bb1b_68f158f3fb03); +windows_core::imp::define_interface!(IGlobalSystemMediaTransportControlsSessionPlaybackControls, IGlobalSystemMediaTransportControlsSessionPlaybackControls_Vtbl, 0x6501a3e6_bc7a_503a_bb1b_68f158f3fb03); #[repr(C)] pub struct IGlobalSystemMediaTransportControlsSessionPlaybackControls_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -94,7 +94,7 @@ pub struct IGlobalSystemMediaTransportControlsSessionPlaybackControls_Vtbl { pub IsPlaybackRateEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsPlaybackPositionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGlobalSystemMediaTransportControlsSessionPlaybackInfo, IGlobalSystemMediaTransportControlsSessionPlaybackInfo_Vtbl, 0x94b4b6cf_e8ba_51ad_87a7_c10ade106127); +windows_core::imp::define_interface!(IGlobalSystemMediaTransportControlsSessionPlaybackInfo, IGlobalSystemMediaTransportControlsSessionPlaybackInfo_Vtbl, 0x94b4b6cf_e8ba_51ad_87a7_c10ade106127); #[repr(C)] pub struct IGlobalSystemMediaTransportControlsSessionPlaybackInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -105,7 +105,7 @@ pub struct IGlobalSystemMediaTransportControlsSessionPlaybackInfo_Vtbl { pub PlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsShuffleActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGlobalSystemMediaTransportControlsSessionTimelineProperties, IGlobalSystemMediaTransportControlsSessionTimelineProperties_Vtbl, 0xede34136_6f25_588d_8ecf_ea5b6735aaa5); +windows_core::imp::define_interface!(IGlobalSystemMediaTransportControlsSessionTimelineProperties, IGlobalSystemMediaTransportControlsSessionTimelineProperties_Vtbl, 0xede34136_6f25_588d_8ecf_ea5b6735aaa5); #[repr(C)] pub struct IGlobalSystemMediaTransportControlsSessionTimelineProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -116,22 +116,22 @@ pub struct IGlobalSystemMediaTransportControlsSessionTimelineProperties_Vtbl { pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub LastUpdatedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPropertiesChangedEventArgs, IMediaPropertiesChangedEventArgs_Vtbl, 0x7d3741cb_adf0_5cef_91ba_cfabcdd77678); +windows_core::imp::define_interface!(IMediaPropertiesChangedEventArgs, IMediaPropertiesChangedEventArgs_Vtbl, 0x7d3741cb_adf0_5cef_91ba_cfabcdd77678); #[repr(C)] pub struct IMediaPropertiesChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPlaybackInfoChangedEventArgs, IPlaybackInfoChangedEventArgs_Vtbl, 0x786756c2_bc0d_50a5_8807_054291fef139); +windows_core::imp::define_interface!(IPlaybackInfoChangedEventArgs, IPlaybackInfoChangedEventArgs_Vtbl, 0x786756c2_bc0d_50a5_8807_054291fef139); #[repr(C)] pub struct IPlaybackInfoChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISessionsChangedEventArgs, ISessionsChangedEventArgs_Vtbl, 0xbbf0cd32_42c4_5a58_b317_f34bbfbd26e0); +windows_core::imp::define_interface!(ISessionsChangedEventArgs, ISessionsChangedEventArgs_Vtbl, 0xbbf0cd32_42c4_5a58_b317_f34bbfbd26e0); #[repr(C)] pub struct ISessionsChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ITimelinePropertiesChangedEventArgs, ITimelinePropertiesChangedEventArgs_Vtbl, 0x29033a2f_c923_5a77_bcaf_055ff415ad32); +windows_core::imp::define_interface!(ITimelinePropertiesChangedEventArgs, ITimelinePropertiesChangedEventArgs_Vtbl, 0x29033a2f_c923_5a77_bcaf_055ff415ad32); #[repr(C)] pub struct ITimelinePropertiesChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 43e955a9ec..8505f9cbf3 100644 --- a/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/Preview/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISoundLevelBrokerStatics, ISoundLevelBrokerStatics_Vtbl, 0x6a633961_dbed_464c_a09a_33412f5caa3f); +windows_core::imp::define_interface!(ISoundLevelBrokerStatics, ISoundLevelBrokerStatics_Vtbl, 0x6a633961_dbed_464c_a09a_33412f5caa3f); #[repr(C)] pub struct ISoundLevelBrokerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Core/mod.rs b/crates/libs/windows/src/Windows/Media/Core/mod.rs index 081afde5ea..8d275b599d 100644 --- a/crates/libs/windows/src/Windows/Media/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Core/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Media_Core_Preview")] pub mod Preview; -windows_core::imp::com_interface!(IAudioStreamDescriptor, IAudioStreamDescriptor_Vtbl, 0x1e3692e4_4027_4847_a70b_df1d9a2a7b04); +windows_core::imp::define_interface!(IAudioStreamDescriptor, IAudioStreamDescriptor_Vtbl, 0x1e3692e4_4027_4847_a70b_df1d9a2a7b04); #[repr(C)] pub struct IAudioStreamDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IAudioStreamDescriptor_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] EncodingProperties: usize, } -windows_core::imp::com_interface!(IAudioStreamDescriptor2, IAudioStreamDescriptor2_Vtbl, 0x2e68f1f6_a448_497b_8840_85082665acf9); +windows_core::imp::define_interface!(IAudioStreamDescriptor2, IAudioStreamDescriptor2_Vtbl, 0x2e68f1f6_a448_497b_8840_85082665acf9); #[repr(C)] pub struct IAudioStreamDescriptor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,13 +18,13 @@ pub struct IAudioStreamDescriptor2_Vtbl { pub SetTrailingEncoderPadding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub TrailingEncoderPadding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioStreamDescriptor3, IAudioStreamDescriptor3_Vtbl, 0x4d220da1_8e83_44ef_8973_2f63e993f36b); +windows_core::imp::define_interface!(IAudioStreamDescriptor3, IAudioStreamDescriptor3_Vtbl, 0x4d220da1_8e83_44ef_8973_2f63e993f36b); #[repr(C)] pub struct IAudioStreamDescriptor3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioStreamDescriptorFactory, IAudioStreamDescriptorFactory_Vtbl, 0x4a86ce9e_4cb1_4380_8e0c_83504b7f5bf3); +windows_core::imp::define_interface!(IAudioStreamDescriptorFactory, IAudioStreamDescriptorFactory_Vtbl, 0x4a86ce9e_4cb1_4380_8e0c_83504b7f5bf3); #[repr(C)] pub struct IAudioStreamDescriptorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,7 +33,7 @@ pub struct IAudioStreamDescriptorFactory_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] Create: usize, } -windows_core::imp::com_interface!(IAudioTrack, IAudioTrack_Vtbl, 0xf23b6e77_3ef7_40de_b943_068b1321701d); +windows_core::imp::define_interface!(IAudioTrack, IAudioTrack_Vtbl, 0xf23b6e77_3ef7_40de_b943_068b1321701d); #[repr(C)] pub struct IAudioTrack_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -50,13 +50,13 @@ pub struct IAudioTrack_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IAudioTrackOpenFailedEventArgs, IAudioTrackOpenFailedEventArgs_Vtbl, 0xeeddb9b9_bb7c_4112_bf76_9384676f824b); +windows_core::imp::define_interface!(IAudioTrackOpenFailedEventArgs, IAudioTrackOpenFailedEventArgs_Vtbl, 0xeeddb9b9_bb7c_4112_bf76_9384676f824b); #[repr(C)] pub struct IAudioTrackOpenFailedEventArgs_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, } -windows_core::imp::com_interface!(IAudioTrackSupportInfo, IAudioTrackSupportInfo_Vtbl, 0x178beff7_cc39_44a6_b951_4a5653f073fa); +windows_core::imp::define_interface!(IAudioTrackSupportInfo, IAudioTrackSupportInfo_Vtbl, 0x178beff7_cc39_44a6_b951_4a5653f073fa); #[repr(C)] pub struct IAudioTrackSupportInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -65,14 +65,14 @@ pub struct IAudioTrackSupportInfo_Vtbl { pub DegradationReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioDecoderDegradationReason) -> windows_core::HRESULT, pub MediaSourceStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaSourceStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChapterCue, IChapterCue_Vtbl, 0x72a98001_d38a_4c0a_8fa6_75cddaf4664c); +windows_core::imp::define_interface!(IChapterCue, IChapterCue_Vtbl, 0x72a98001_d38a_4c0a_8fa6_75cddaf4664c); #[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, } -windows_core::imp::com_interface!(ICodecInfo, ICodecInfo_Vtbl, 0x51e89f85_ea97_499c_86ac_4ce5e73f3a42); +windows_core::imp::define_interface!(ICodecInfo, ICodecInfo_Vtbl, 0x51e89f85_ea97_499c_86ac_4ce5e73f3a42); #[repr(C)] pub struct ICodecInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -85,7 +85,7 @@ pub struct ICodecInfo_Vtbl { pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub IsTrusted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICodecQuery, ICodecQuery_Vtbl, 0x222a953a_af61_4e04_808a_a4634e2f3ac4); +windows_core::imp::define_interface!(ICodecQuery, ICodecQuery_Vtbl, 0x222a953a_af61_4e04_808a_a4634e2f3ac4); #[repr(C)] pub struct ICodecQuery_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -94,7 +94,7 @@ pub struct ICodecQuery_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindAllAsync: usize, } -windows_core::imp::com_interface!(ICodecSubtypesStatics, ICodecSubtypesStatics_Vtbl, 0xa66ac4f2_888b_4224_8cf6_2a8d4eb02382); +windows_core::imp::define_interface!(ICodecSubtypesStatics, ICodecSubtypesStatics_Vtbl, 0xa66ac4f2_888b_4224_8cf6_2a8d4eb02382); #[repr(C)] pub struct ICodecSubtypesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -150,7 +150,7 @@ pub struct ICodecSubtypesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IDataCue, IDataCue_Vtbl, 0x7c7f676d_1fbc_4e2d_9a87_ee38bd1dc637); +windows_core::imp::define_interface!(IDataCue, IDataCue_Vtbl, 0x7c7f676d_1fbc_4e2d_9a87_ee38bd1dc637); #[repr(C)] pub struct IDataCue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -163,7 +163,7 @@ pub struct IDataCue_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Data: usize, } -windows_core::imp::com_interface!(IDataCue2, IDataCue2_Vtbl, 0xbc561b15_95f2_49e8_96f1_8dd5dac68d93); +windows_core::imp::define_interface!(IDataCue2, IDataCue2_Vtbl, 0xbc561b15_95f2_49e8_96f1_8dd5dac68d93); #[repr(C)] pub struct IDataCue2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -172,13 +172,13 @@ pub struct IDataCue2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IFaceDetectedEventArgs, IFaceDetectedEventArgs_Vtbl, 0x19918426_c65b_46ba_85f8_13880576c90a); +windows_core::imp::define_interface!(IFaceDetectedEventArgs, IFaceDetectedEventArgs_Vtbl, 0x19918426_c65b_46ba_85f8_13880576c90a); #[repr(C)] pub struct IFaceDetectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ResultFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFaceDetectionEffect, IFaceDetectionEffect_Vtbl, 0xae15ebd2_0542_42a9_bc90_f283a29f46c1); +windows_core::imp::define_interface!(IFaceDetectionEffect, IFaceDetectionEffect_Vtbl, 0xae15ebd2_0542_42a9_bc90_f283a29f46c1); #[repr(C)] pub struct IFaceDetectionEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -189,7 +189,7 @@ pub struct IFaceDetectionEffect_Vtbl { pub FaceDetected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveFaceDetected: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFaceDetectionEffectDefinition, IFaceDetectionEffectDefinition_Vtbl, 0x43dca081_b848_4f33_b702_1fd2624fb016); +windows_core::imp::define_interface!(IFaceDetectionEffectDefinition, IFaceDetectionEffectDefinition_Vtbl, 0x43dca081_b848_4f33_b702_1fd2624fb016); #[repr(C)] pub struct IFaceDetectionEffectDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -198,7 +198,7 @@ pub struct IFaceDetectionEffectDefinition_Vtbl { pub SetSynchronousDetectionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub SynchronousDetectionEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFaceDetectionEffectFrame, IFaceDetectionEffectFrame_Vtbl, 0x8ab08993_5dc8_447b_a247_5270bd802ece); +windows_core::imp::define_interface!(IFaceDetectionEffectFrame, IFaceDetectionEffectFrame_Vtbl, 0x8ab08993_5dc8_447b_a247_5270bd802ece); #[repr(C)] pub struct IFaceDetectionEffectFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -207,14 +207,14 @@ pub struct IFaceDetectionEffectFrame_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_FaceAnalysis")))] DetectedFaces: usize, } -windows_core::imp::com_interface!(IHighDynamicRangeControl, IHighDynamicRangeControl_Vtbl, 0x55f1a7ae_d957_4dc9_9d1c_8553a82a7d99); +windows_core::imp::define_interface!(IHighDynamicRangeControl, IHighDynamicRangeControl_Vtbl, 0x55f1a7ae_d957_4dc9_9d1c_8553a82a7d99); #[repr(C)] pub struct IHighDynamicRangeControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHighDynamicRangeOutput, IHighDynamicRangeOutput_Vtbl, 0x0f57806b_253b_4119_bb40_3a90e51384f7); +windows_core::imp::define_interface!(IHighDynamicRangeOutput, IHighDynamicRangeOutput_Vtbl, 0x0f57806b_253b_4119_bb40_3a90e51384f7); #[repr(C)] pub struct IHighDynamicRangeOutput_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -224,7 +224,7 @@ pub struct IHighDynamicRangeOutput_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_Devices_Core")))] FrameControllers: usize, } -windows_core::imp::com_interface!(IImageCue, IImageCue_Vtbl, 0x52828282_367b_440b_9116_3c84570dd270); +windows_core::imp::define_interface!(IImageCue, IImageCue_Vtbl, 0x52828282_367b_440b_9116_3c84570dd270); #[repr(C)] pub struct IImageCue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -241,7 +241,7 @@ pub struct IImageCue_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] SoftwareBitmap: usize, } -windows_core::imp::com_interface!(IInitializeMediaStreamSourceRequestedEventArgs, IInitializeMediaStreamSourceRequestedEventArgs_Vtbl, 0x25bc45e1_9b08_4c2e_a855_4542f1a75deb); +windows_core::imp::define_interface!(IInitializeMediaStreamSourceRequestedEventArgs, IInitializeMediaStreamSourceRequestedEventArgs_Vtbl, 0x25bc45e1_9b08_4c2e_a855_4542f1a75deb); #[repr(C)] pub struct IInitializeMediaStreamSourceRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -252,7 +252,7 @@ pub struct IInitializeMediaStreamSourceRequestedEventArgs_Vtbl { RandomAccessStream: usize, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILowLightFusionResult, ILowLightFusionResult_Vtbl, 0x78edbe35_27a0_42e0_9cd3_738d2089de9c); +windows_core::imp::define_interface!(ILowLightFusionResult, ILowLightFusionResult_Vtbl, 0x78edbe35_27a0_42e0_9cd3_738d2089de9c); #[repr(C)] pub struct ILowLightFusionResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -261,7 +261,7 @@ pub struct ILowLightFusionResult_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] Frame: usize, } -windows_core::imp::com_interface!(ILowLightFusionStatics, ILowLightFusionStatics_Vtbl, 0x5305016d_c29e_40e2_87a9_9e1fd2f192f5); +windows_core::imp::define_interface!(ILowLightFusionStatics, ILowLightFusionStatics_Vtbl, 0x5305016d_c29e_40e2_87a9_9e1fd2f192f5); #[repr(C)] pub struct ILowLightFusionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -275,7 +275,7 @@ pub struct ILowLightFusionStatics_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_Imaging")))] FuseAsync: usize, } -windows_core::imp::com_interface!(IMediaBinder, IMediaBinder_Vtbl, 0x2b7e40aa_de07_424f_83f1_f1de46c4fa2e); +windows_core::imp::define_interface!(IMediaBinder, IMediaBinder_Vtbl, 0x2b7e40aa_de07_424f_83f1_f1de46c4fa2e); #[repr(C)] pub struct IMediaBinder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -285,7 +285,7 @@ pub struct IMediaBinder_Vtbl { pub SetToken: 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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaBindingEventArgs, IMediaBindingEventArgs_Vtbl, 0xb61cb25a_1b6d_4630_a86d_2f0837f712e5); +windows_core::imp::define_interface!(IMediaBindingEventArgs, IMediaBindingEventArgs_Vtbl, 0xb61cb25a_1b6d_4630_a86d_2f0837f712e5); #[repr(C)] pub struct IMediaBindingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -303,7 +303,7 @@ pub struct IMediaBindingEventArgs_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SetStreamReference: usize, } -windows_core::imp::com_interface!(IMediaBindingEventArgs2, IMediaBindingEventArgs2_Vtbl, 0x0464cceb_bb5a_482f_b8ba_f0284c696567); +windows_core::imp::define_interface!(IMediaBindingEventArgs2, IMediaBindingEventArgs2_Vtbl, 0x0464cceb_bb5a_482f_b8ba_f0284c696567); #[repr(C)] pub struct IMediaBindingEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -316,7 +316,7 @@ pub struct IMediaBindingEventArgs2_Vtbl { #[cfg(not(feature = "Storage"))] SetStorageFile: usize, } -windows_core::imp::com_interface!(IMediaBindingEventArgs3, IMediaBindingEventArgs3_Vtbl, 0xf8eb475e_19be_44fc_a5ed_7aba315037f9); +windows_core::imp::define_interface!(IMediaBindingEventArgs3, IMediaBindingEventArgs3_Vtbl, 0xf8eb475e_19be_44fc_a5ed_7aba315037f9); #[repr(C)] pub struct IMediaBindingEventArgs3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -325,7 +325,7 @@ pub struct IMediaBindingEventArgs3_Vtbl { #[cfg(not(feature = "Networking_BackgroundTransfer"))] SetDownloadOperation: usize, } -windows_core::imp::com_interface!(IMediaCue, IMediaCue_Vtbl, 0xc7d15e5d_59dc_431f_a0ee_27744323b36d); +windows_core::imp::define_interface!(IMediaCue, IMediaCue_Vtbl, 0xc7d15e5d_59dc_431f_a0ee_27744323b36d); windows_core::imp::interface_hierarchy!(IMediaCue, windows_core::IUnknown, windows_core::IInspectable); impl IMediaCue { pub fn SetStartTime(&self, value: super::super::Foundation::TimeSpan) -> windows_core::Result<()> { @@ -375,13 +375,13 @@ pub struct IMediaCue_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaCueEventArgs, IMediaCueEventArgs_Vtbl, 0xd12f47f7_5fa4_4e68_9fe5_32160dcee57e); +windows_core::imp::define_interface!(IMediaCueEventArgs, IMediaCueEventArgs_Vtbl, 0xd12f47f7_5fa4_4e68_9fe5_32160dcee57e); #[repr(C)] pub struct IMediaCueEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Cue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaSource, IMediaSource_Vtbl, 0xe7bfb599_a09d_4c21_bcdf_20af4f86b3d9); +windows_core::imp::define_interface!(IMediaSource, IMediaSource_Vtbl, 0xe7bfb599_a09d_4c21_bcdf_20af4f86b3d9); windows_core::imp::interface_hierarchy!(IMediaSource, windows_core::IUnknown, windows_core::IInspectable); impl IMediaSource {} impl windows_core::RuntimeType for IMediaSource { @@ -391,7 +391,7 @@ impl windows_core::RuntimeType for IMediaSource { pub struct IMediaSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IMediaSource2, IMediaSource2_Vtbl, 0x2eb61048_655f_4c37_b813_b4e45dfa0abe); +windows_core::imp::define_interface!(IMediaSource2, IMediaSource2_Vtbl, 0x2eb61048_655f_4c37_b813_b4e45dfa0abe); #[repr(C)] pub struct IMediaSource2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -412,7 +412,7 @@ pub struct IMediaSource2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ExternalTimedMetadataTracks: usize, } -windows_core::imp::com_interface!(IMediaSource3, IMediaSource3_Vtbl, 0xb59f0d9b_4b6e_41ed_bbb4_7c7509a994ad); +windows_core::imp::define_interface!(IMediaSource3, IMediaSource3_Vtbl, 0xb59f0d9b_4b6e_41ed_bbb4_7c7509a994ad); #[repr(C)] pub struct IMediaSource3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -421,7 +421,7 @@ pub struct IMediaSource3_Vtbl { pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaSourceState) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaSource4, IMediaSource4_Vtbl, 0xbdafad57_8eff_4c63_85a6_84de0ae3e4f2); +windows_core::imp::define_interface!(IMediaSource4, IMediaSource4_Vtbl, 0xbdafad57_8eff_4c63_85a6_84de0ae3e4f2); #[repr(C)] pub struct IMediaSource4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -434,7 +434,7 @@ pub struct IMediaSource4_Vtbl { pub Uri: 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, } -windows_core::imp::com_interface!(IMediaSource5, IMediaSource5_Vtbl, 0x331a22ae_ed2e_4a22_94c8_b743a92b3022); +windows_core::imp::define_interface!(IMediaSource5, IMediaSource5_Vtbl, 0x331a22ae_ed2e_4a22_94c8_b743a92b3022); #[repr(C)] pub struct IMediaSource5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -443,7 +443,7 @@ pub struct IMediaSource5_Vtbl { #[cfg(not(feature = "Networking_BackgroundTransfer"))] DownloadOperation: usize, } -windows_core::imp::com_interface!(IMediaSourceAppServiceConnection, IMediaSourceAppServiceConnection_Vtbl, 0x61e1ea97_1916_4810_b7f4_b642be829596); +windows_core::imp::define_interface!(IMediaSourceAppServiceConnection, IMediaSourceAppServiceConnection_Vtbl, 0x61e1ea97_1916_4810_b7f4_b642be829596); #[repr(C)] pub struct IMediaSourceAppServiceConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -451,7 +451,7 @@ pub struct IMediaSourceAppServiceConnection_Vtbl { pub RemoveInitializeMediaStreamSourceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaSourceAppServiceConnectionFactory, IMediaSourceAppServiceConnectionFactory_Vtbl, 0x65b912eb_80b9_44f9_9c1e_e120f6d92838); +windows_core::imp::define_interface!(IMediaSourceAppServiceConnectionFactory, IMediaSourceAppServiceConnectionFactory_Vtbl, 0x65b912eb_80b9_44f9_9c1e_e120f6d92838); #[repr(C)] pub struct IMediaSourceAppServiceConnectionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -460,26 +460,26 @@ pub struct IMediaSourceAppServiceConnectionFactory_Vtbl { #[cfg(not(feature = "ApplicationModel_AppService"))] Create: usize, } -windows_core::imp::com_interface!(IMediaSourceError, IMediaSourceError_Vtbl, 0x5c0a8965_37c5_4e9d_8d21_1cdee90cecc6); +windows_core::imp::define_interface!(IMediaSourceError, IMediaSourceError_Vtbl, 0x5c0a8965_37c5_4e9d_8d21_1cdee90cecc6); #[repr(C)] pub struct IMediaSourceError_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, } -windows_core::imp::com_interface!(IMediaSourceOpenOperationCompletedEventArgs, IMediaSourceOpenOperationCompletedEventArgs_Vtbl, 0xfc682ceb_e281_477c_a8e0_1acd654114c8); +windows_core::imp::define_interface!(IMediaSourceOpenOperationCompletedEventArgs, IMediaSourceOpenOperationCompletedEventArgs_Vtbl, 0xfc682ceb_e281_477c_a8e0_1acd654114c8); #[repr(C)] pub struct IMediaSourceOpenOperationCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaSourceStateChangedEventArgs, IMediaSourceStateChangedEventArgs_Vtbl, 0x0a30af82_9071_4bac_bc39_ca2a93b717a9); +windows_core::imp::define_interface!(IMediaSourceStateChangedEventArgs, IMediaSourceStateChangedEventArgs_Vtbl, 0x0a30af82_9071_4bac_bc39_ca2a93b717a9); #[repr(C)] pub struct IMediaSourceStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OldState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaSourceState) -> windows_core::HRESULT, pub NewState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaSourceState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaSourceStatics, IMediaSourceStatics_Vtbl, 0xf77d6fa4_4652_410e_b1d8_e9a5e245a45c); +windows_core::imp::define_interface!(IMediaSourceStatics, IMediaSourceStatics_Vtbl, 0xf77d6fa4_4652_410e_b1d8_e9a5e245a45c); #[repr(C)] pub struct IMediaSourceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -504,13 +504,13 @@ pub struct IMediaSourceStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaSourceStatics2, IMediaSourceStatics2_Vtbl, 0xeee161a4_7f13_4896_b8cb_df0de5bcb9f1); +windows_core::imp::define_interface!(IMediaSourceStatics2, IMediaSourceStatics2_Vtbl, 0xeee161a4_7f13_4896_b8cb_df0de5bcb9f1); #[repr(C)] pub struct IMediaSourceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFromMediaBinder: 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::com_interface!(IMediaSourceStatics3, IMediaSourceStatics3_Vtbl, 0x453a30d6_2bea_4122_9f73_eace04526e35); +windows_core::imp::define_interface!(IMediaSourceStatics3, IMediaSourceStatics3_Vtbl, 0x453a30d6_2bea_4122_9f73_eace04526e35); #[repr(C)] pub struct IMediaSourceStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -519,7 +519,7 @@ pub struct IMediaSourceStatics3_Vtbl { #[cfg(not(feature = "Media_Capture_Frames"))] CreateFromMediaFrameSource: usize, } -windows_core::imp::com_interface!(IMediaSourceStatics4, IMediaSourceStatics4_Vtbl, 0x281b3bfc_e50a_4428_a500_9c4ed918d3f0); +windows_core::imp::define_interface!(IMediaSourceStatics4, IMediaSourceStatics4_Vtbl, 0x281b3bfc_e50a_4428_a500_9c4ed918d3f0); #[repr(C)] pub struct IMediaSourceStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -528,7 +528,7 @@ pub struct IMediaSourceStatics4_Vtbl { #[cfg(not(feature = "Networking_BackgroundTransfer"))] CreateFromDownloadOperation: usize, } -windows_core::imp::com_interface!(IMediaStreamDescriptor, IMediaStreamDescriptor_Vtbl, 0x80f16e6e_92f7_451e_97d2_afd80742da70); +windows_core::imp::define_interface!(IMediaStreamDescriptor, IMediaStreamDescriptor_Vtbl, 0x80f16e6e_92f7_451e_97d2_afd80742da70); windows_core::imp::interface_hierarchy!(IMediaStreamDescriptor, windows_core::IUnknown, windows_core::IInspectable); impl IMediaStreamDescriptor { pub fn IsSelected(&self) -> windows_core::Result { @@ -573,7 +573,7 @@ pub struct IMediaStreamDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaStreamDescriptor2, IMediaStreamDescriptor2_Vtbl, 0x5073010f_e8b2_4071_b00b_ebf337a76b58); +windows_core::imp::define_interface!(IMediaStreamDescriptor2, IMediaStreamDescriptor2_Vtbl, 0x5073010f_e8b2_4071_b00b_ebf337a76b58); windows_core::imp::interface_hierarchy!(IMediaStreamDescriptor2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IMediaStreamDescriptor2, IMediaStreamDescriptor); impl IMediaStreamDescriptor2 { @@ -627,7 +627,7 @@ pub struct IMediaStreamDescriptor2_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, } -windows_core::imp::com_interface!(IMediaStreamSample, IMediaStreamSample_Vtbl, 0x5c8db627_4b80_4361_9837_6cb7481ad9d6); +windows_core::imp::define_interface!(IMediaStreamSample, IMediaStreamSample_Vtbl, 0x5c8db627_4b80_4361_9837_6cb7481ad9d6); #[repr(C)] pub struct IMediaStreamSample_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -652,7 +652,7 @@ pub struct IMediaStreamSample_Vtbl { pub SetDiscontinuous: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Discontinuous: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSample2, IMediaStreamSample2_Vtbl, 0x45078691_fce8_4746_a1c8_10c25d3d7cd3); +windows_core::imp::define_interface!(IMediaStreamSample2, IMediaStreamSample2_Vtbl, 0x45078691_fce8_4746_a1c8_10c25d3d7cd3); #[repr(C)] pub struct IMediaStreamSample2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -661,7 +661,7 @@ pub struct IMediaStreamSample2_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] Direct3D11Surface: usize, } -windows_core::imp::com_interface!(IMediaStreamSampleProtectionProperties, IMediaStreamSampleProtectionProperties_Vtbl, 0x4eb88292_ecdf_493e_841d_dd4add7caca2); +windows_core::imp::define_interface!(IMediaStreamSampleProtectionProperties, IMediaStreamSampleProtectionProperties_Vtbl, 0x4eb88292_ecdf_493e_841d_dd4add7caca2); #[repr(C)] pub struct IMediaStreamSampleProtectionProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -672,7 +672,7 @@ pub struct IMediaStreamSampleProtectionProperties_Vtbl { pub SetSubSampleMapping: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, pub GetSubSampleMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSampleStatics, IMediaStreamSampleStatics_Vtbl, 0xdfdf218f_a6cf_4579_be41_73dd941ad972); +windows_core::imp::define_interface!(IMediaStreamSampleStatics, IMediaStreamSampleStatics_Vtbl, 0xdfdf218f_a6cf_4579_be41_73dd941ad972); #[repr(C)] pub struct IMediaStreamSampleStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -685,7 +685,7 @@ pub struct IMediaStreamSampleStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromStreamAsync: usize, } -windows_core::imp::com_interface!(IMediaStreamSampleStatics2, IMediaStreamSampleStatics2_Vtbl, 0x9efe9521_6d46_494c_a2f8_d662922e2dd7); +windows_core::imp::define_interface!(IMediaStreamSampleStatics2, IMediaStreamSampleStatics2_Vtbl, 0x9efe9521_6d46_494c_a2f8_d662922e2dd7); #[repr(C)] pub struct IMediaStreamSampleStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -694,7 +694,7 @@ pub struct IMediaStreamSampleStatics2_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] CreateFromDirect3D11Surface: usize, } -windows_core::imp::com_interface!(IMediaStreamSource, IMediaStreamSource_Vtbl, 0x3712d543_45eb_4138_aa62_c01e26f3843f); +windows_core::imp::define_interface!(IMediaStreamSource, IMediaStreamSource_Vtbl, 0x3712d543_45eb_4138_aa62_c01e26f3843f); #[repr(C)] pub struct IMediaStreamSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -743,53 +743,53 @@ pub struct IMediaStreamSource_Vtbl { Thumbnail: usize, pub AddProtectionKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const u8, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSource2, IMediaStreamSource2_Vtbl, 0xec55d0ad_2e6a_4f74_adbb_b562d1533849); +windows_core::imp::define_interface!(IMediaStreamSource2, IMediaStreamSource2_Vtbl, 0xec55d0ad_2e6a_4f74_adbb_b562d1533849); #[repr(C)] pub struct IMediaStreamSource2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SampleRendered: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSampleRendered: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSource3, IMediaStreamSource3_Vtbl, 0x6a2a2746_3ddd_4ddf_a121_94045ecf9440); +windows_core::imp::define_interface!(IMediaStreamSource3, IMediaStreamSource3_Vtbl, 0x6a2a2746_3ddd_4ddf_a121_94045ecf9440); #[repr(C)] pub struct IMediaStreamSource3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetMaxSupportedPlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub MaxSupportedPlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSource4, IMediaStreamSource4_Vtbl, 0x1d0cfcab_830d_417c_a3a9_2454fd6415c7); +windows_core::imp::define_interface!(IMediaStreamSource4, IMediaStreamSource4_Vtbl, 0x1d0cfcab_830d_417c_a3a9_2454fd6415c7); #[repr(C)] pub struct IMediaStreamSource4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetIsLive: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsLive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSourceClosedEventArgs, IMediaStreamSourceClosedEventArgs_Vtbl, 0xcd8c7eb2_4816_4e24_88f0_491ef7386406); +windows_core::imp::define_interface!(IMediaStreamSourceClosedEventArgs, IMediaStreamSourceClosedEventArgs_Vtbl, 0xcd8c7eb2_4816_4e24_88f0_491ef7386406); #[repr(C)] pub struct IMediaStreamSourceClosedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSourceClosedRequest, IMediaStreamSourceClosedRequest_Vtbl, 0x907c00e9_18a3_4951_887a_2c1eebd5c69e); +windows_core::imp::define_interface!(IMediaStreamSourceClosedRequest, IMediaStreamSourceClosedRequest_Vtbl, 0x907c00e9_18a3_4951_887a_2c1eebd5c69e); #[repr(C)] pub struct IMediaStreamSourceClosedRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaStreamSourceClosedReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSourceFactory, IMediaStreamSourceFactory_Vtbl, 0xef77e0d9_d158_4b7a_863f_203342fbfd41); +windows_core::imp::define_interface!(IMediaStreamSourceFactory, IMediaStreamSourceFactory_Vtbl, 0xef77e0d9_d158_4b7a_863f_203342fbfd41); #[repr(C)] pub struct IMediaStreamSourceFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFromDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFromDescriptors: 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::com_interface!(IMediaStreamSourceSampleRenderedEventArgs, IMediaStreamSourceSampleRenderedEventArgs_Vtbl, 0x9d697b05_d4f2_4c7a_9dfe_8d6cd0b3ee84); +windows_core::imp::define_interface!(IMediaStreamSourceSampleRenderedEventArgs, IMediaStreamSourceSampleRenderedEventArgs_Vtbl, 0x9d697b05_d4f2_4c7a_9dfe_8d6cd0b3ee84); #[repr(C)] pub struct IMediaStreamSourceSampleRenderedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SampleLag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSourceSampleRequest, IMediaStreamSourceSampleRequest_Vtbl, 0x4db341a9_3501_4d9b_83f9_8f235c822532); +windows_core::imp::define_interface!(IMediaStreamSourceSampleRequest, IMediaStreamSourceSampleRequest_Vtbl, 0x4db341a9_3501_4d9b_83f9_8f235c822532); #[repr(C)] pub struct IMediaStreamSourceSampleRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -799,25 +799,25 @@ pub struct IMediaStreamSourceSampleRequest_Vtbl { pub Sample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReportSampleProgress: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSourceSampleRequestDeferral, IMediaStreamSourceSampleRequestDeferral_Vtbl, 0x7895cc02_f982_43c8_9d16_c62d999319be); +windows_core::imp::define_interface!(IMediaStreamSourceSampleRequestDeferral, IMediaStreamSourceSampleRequestDeferral_Vtbl, 0x7895cc02_f982_43c8_9d16_c62d999319be); #[repr(C)] pub struct IMediaStreamSourceSampleRequestDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSourceSampleRequestedEventArgs, IMediaStreamSourceSampleRequestedEventArgs_Vtbl, 0x10f9bb9e_71c5_492f_847f_0da1f35e81f8); +windows_core::imp::define_interface!(IMediaStreamSourceSampleRequestedEventArgs, IMediaStreamSourceSampleRequestedEventArgs_Vtbl, 0x10f9bb9e_71c5_492f_847f_0da1f35e81f8); #[repr(C)] pub struct IMediaStreamSourceSampleRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSourceStartingEventArgs, IMediaStreamSourceStartingEventArgs_Vtbl, 0xf41468f2_c274_4940_a5bb_28a572452fa7); +windows_core::imp::define_interface!(IMediaStreamSourceStartingEventArgs, IMediaStreamSourceStartingEventArgs_Vtbl, 0xf41468f2_c274_4940_a5bb_28a572452fa7); #[repr(C)] pub struct IMediaStreamSourceStartingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSourceStartingRequest, IMediaStreamSourceStartingRequest_Vtbl, 0x2a9093e4_35c4_4b1b_a791_0d99db56dd1d); +windows_core::imp::define_interface!(IMediaStreamSourceStartingRequest, IMediaStreamSourceStartingRequest_Vtbl, 0x2a9093e4_35c4_4b1b_a791_0d99db56dd1d); #[repr(C)] pub struct IMediaStreamSourceStartingRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -825,13 +825,13 @@ pub struct IMediaStreamSourceStartingRequest_Vtbl { pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetActualStartPosition: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSourceStartingRequestDeferral, IMediaStreamSourceStartingRequestDeferral_Vtbl, 0x3f1356a5_6340_4dc4_9910_068ed9f598f8); +windows_core::imp::define_interface!(IMediaStreamSourceStartingRequestDeferral, IMediaStreamSourceStartingRequestDeferral_Vtbl, 0x3f1356a5_6340_4dc4_9910_068ed9f598f8); #[repr(C)] pub struct IMediaStreamSourceStartingRequestDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSourceSwitchStreamsRequest, IMediaStreamSourceSwitchStreamsRequest_Vtbl, 0x41b8808e_38a9_4ec3_9ba0_b69b85501e90); +windows_core::imp::define_interface!(IMediaStreamSourceSwitchStreamsRequest, IMediaStreamSourceSwitchStreamsRequest_Vtbl, 0x41b8808e_38a9_4ec3_9ba0_b69b85501e90); #[repr(C)] pub struct IMediaStreamSourceSwitchStreamsRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -839,19 +839,19 @@ pub struct IMediaStreamSourceSwitchStreamsRequest_Vtbl { pub NewStreamDescriptor: unsafe extern "system" fn(*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::com_interface!(IMediaStreamSourceSwitchStreamsRequestDeferral, IMediaStreamSourceSwitchStreamsRequestDeferral_Vtbl, 0xbee3d835_a505_4f9a_b943_2b8cb1b4bbd9); +windows_core::imp::define_interface!(IMediaStreamSourceSwitchStreamsRequestDeferral, IMediaStreamSourceSwitchStreamsRequestDeferral_Vtbl, 0xbee3d835_a505_4f9a_b943_2b8cb1b4bbd9); #[repr(C)] pub struct IMediaStreamSourceSwitchStreamsRequestDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStreamSourceSwitchStreamsRequestedEventArgs, IMediaStreamSourceSwitchStreamsRequestedEventArgs_Vtbl, 0x42202b72_6ea1_4677_981e_350a0da412aa); +windows_core::imp::define_interface!(IMediaStreamSourceSwitchStreamsRequestedEventArgs, IMediaStreamSourceSwitchStreamsRequestedEventArgs_Vtbl, 0x42202b72_6ea1_4677_981e_350a0da412aa); #[repr(C)] pub struct IMediaStreamSourceSwitchStreamsRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaTrack, IMediaTrack_Vtbl, 0x03e1fafc_c931_491a_b46b_c10ee8c256b7); +windows_core::imp::define_interface!(IMediaTrack, IMediaTrack_Vtbl, 0x03e1fafc_c931_491a_b46b_c10ee8c256b7); windows_core::imp::interface_hierarchy!(IMediaTrack, windows_core::IUnknown, windows_core::IInspectable); impl IMediaTrack { pub fn Id(&self) -> windows_core::Result { @@ -899,7 +899,7 @@ pub struct IMediaTrack_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, } -windows_core::imp::com_interface!(IMseSourceBuffer, IMseSourceBuffer_Vtbl, 0x0c1aa3e3_df8d_4079_a3fe_6849184b4e2f); +windows_core::imp::define_interface!(IMseSourceBuffer, IMseSourceBuffer_Vtbl, 0x0c1aa3e3_df8d_4079_a3fe_6849184b4e2f); #[repr(C)] pub struct IMseSourceBuffer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -941,7 +941,7 @@ pub struct IMseSourceBuffer_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMseSourceBufferList, IMseSourceBufferList_Vtbl, 0x95fae8e7_a8e7_4ebf_8927_145e940ba511); +windows_core::imp::define_interface!(IMseSourceBufferList, IMseSourceBufferList_Vtbl, 0x95fae8e7_a8e7_4ebf_8927_145e940ba511); #[repr(C)] pub struct IMseSourceBufferList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -954,7 +954,7 @@ pub struct IMseSourceBufferList_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Buffers: usize, } -windows_core::imp::com_interface!(IMseStreamSource, IMseStreamSource_Vtbl, 0xb0b4198d_02f4_4923_88dd_81bc3f360ffa); +windows_core::imp::define_interface!(IMseStreamSource, IMseStreamSource_Vtbl, 0xb0b4198d_02f4_4923_88dd_81bc3f360ffa); #[repr(C)] pub struct IMseStreamSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -973,20 +973,20 @@ pub struct IMseStreamSource_Vtbl { 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, } -windows_core::imp::com_interface!(IMseStreamSource2, IMseStreamSource2_Vtbl, 0x66f57d37_f9e7_418a_9cde_a020e956552b); +windows_core::imp::define_interface!(IMseStreamSource2, IMseStreamSource2_Vtbl, 0x66f57d37_f9e7_418a_9cde_a020e956552b); #[repr(C)] pub struct IMseStreamSource2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LiveSeekableRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetLiveSeekableRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMseStreamSourceStatics, IMseStreamSourceStatics_Vtbl, 0x465c679d_d570_43ce_ba21_0bff5f3fbd0a); +windows_core::imp::define_interface!(IMseStreamSourceStatics, IMseStreamSourceStatics_Vtbl, 0x465c679d_d570_43ce_ba21_0bff5f3fbd0a); #[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, } -windows_core::imp::com_interface!(ISceneAnalysisEffect, ISceneAnalysisEffect_Vtbl, 0xc04ba319_ca41_4813_bffd_7b08b0ed2557); +windows_core::imp::define_interface!(ISceneAnalysisEffect, ISceneAnalysisEffect_Vtbl, 0xc04ba319_ca41_4813_bffd_7b08b0ed2557); #[repr(C)] pub struct ISceneAnalysisEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -996,7 +996,7 @@ pub struct ISceneAnalysisEffect_Vtbl { pub SceneAnalyzed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSceneAnalyzed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneAnalysisEffectFrame, ISceneAnalysisEffectFrame_Vtbl, 0xd8b10e4c_7fd9_42e1_85eb_6572c297c987); +windows_core::imp::define_interface!(ISceneAnalysisEffectFrame, ISceneAnalysisEffectFrame_Vtbl, 0xd8b10e4c_7fd9_42e1_85eb_6572c297c987); #[repr(C)] pub struct ISceneAnalysisEffectFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1006,19 +1006,19 @@ pub struct ISceneAnalysisEffectFrame_Vtbl { FrameControlValues: usize, pub HighDynamicRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneAnalysisEffectFrame2, ISceneAnalysisEffectFrame2_Vtbl, 0x2d4e29be_061f_47ae_9915_02524b5f9a5f); +windows_core::imp::define_interface!(ISceneAnalysisEffectFrame2, ISceneAnalysisEffectFrame2_Vtbl, 0x2d4e29be_061f_47ae_9915_02524b5f9a5f); #[repr(C)] pub struct ISceneAnalysisEffectFrame2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AnalysisRecommendation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SceneAnalysisRecommendation) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneAnalyzedEventArgs, ISceneAnalyzedEventArgs_Vtbl, 0x146b9588_2851_45e4_ad55_44cf8df8db4d); +windows_core::imp::define_interface!(ISceneAnalyzedEventArgs, ISceneAnalyzedEventArgs_Vtbl, 0x146b9588_2851_45e4_ad55_44cf8df8db4d); #[repr(C)] pub struct ISceneAnalyzedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ResultFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISingleSelectMediaTrackList, ISingleSelectMediaTrackList_Vtbl, 0x77206f1f_c34f_494f_8077_2bad9ff4ecf1); +windows_core::imp::define_interface!(ISingleSelectMediaTrackList, ISingleSelectMediaTrackList_Vtbl, 0x77206f1f_c34f_494f_8077_2bad9ff4ecf1); windows_core::imp::interface_hierarchy!(ISingleSelectMediaTrackList, windows_core::IUnknown, windows_core::IInspectable); impl ISingleSelectMediaTrackList { pub fn SelectedIndexChanged(&self, handler: P0) -> windows_core::Result @@ -1058,7 +1058,7 @@ pub struct ISingleSelectMediaTrackList_Vtbl { pub SetSelectedIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SelectedIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechCue, ISpeechCue_Vtbl, 0xaee254dc_1725_4bad_8043_a98499b017a2); +windows_core::imp::define_interface!(ISpeechCue, ISpeechCue_Vtbl, 0xaee254dc_1725_4bad_8043_a98499b017a2); #[repr(C)] pub struct ISpeechCue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1069,7 +1069,7 @@ pub struct ISpeechCue_Vtbl { pub EndPositionInInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetEndPositionInInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedMetadataStreamDescriptor, ITimedMetadataStreamDescriptor_Vtbl, 0x133336bf_296a_463e_9ff9_01cd25691408); +windows_core::imp::define_interface!(ITimedMetadataStreamDescriptor, ITimedMetadataStreamDescriptor_Vtbl, 0x133336bf_296a_463e_9ff9_01cd25691408); #[repr(C)] pub struct ITimedMetadataStreamDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1079,7 +1079,7 @@ pub struct ITimedMetadataStreamDescriptor_Vtbl { EncodingProperties: usize, pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedMetadataStreamDescriptorFactory, ITimedMetadataStreamDescriptorFactory_Vtbl, 0xc027de30_7362_4ff9_98b1_2dfd0b8d1cae); +windows_core::imp::define_interface!(ITimedMetadataStreamDescriptorFactory, ITimedMetadataStreamDescriptorFactory_Vtbl, 0xc027de30_7362_4ff9_98b1_2dfd0b8d1cae); #[repr(C)] pub struct ITimedMetadataStreamDescriptorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1088,7 +1088,7 @@ pub struct ITimedMetadataStreamDescriptorFactory_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] Create: usize, } -windows_core::imp::com_interface!(ITimedMetadataTrack, ITimedMetadataTrack_Vtbl, 0x9e6aed9e_f67a_49a9_b330_cf03b0e9cf07); +windows_core::imp::define_interface!(ITimedMetadataTrack, ITimedMetadataTrack_Vtbl, 0x9e6aed9e_f67a_49a9_b330_cf03b0e9cf07); #[repr(C)] pub struct ITimedMetadataTrack_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1111,7 +1111,7 @@ pub struct ITimedMetadataTrack_Vtbl { 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, } -windows_core::imp::com_interface!(ITimedMetadataTrack2, ITimedMetadataTrack2_Vtbl, 0x21b4b648_9f9d_40ba_a8f3_1a92753aef0b); +windows_core::imp::define_interface!(ITimedMetadataTrack2, ITimedMetadataTrack2_Vtbl, 0x21b4b648_9f9d_40ba_a8f3_1a92753aef0b); #[repr(C)] pub struct ITimedMetadataTrack2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1121,26 +1121,26 @@ pub struct ITimedMetadataTrack2_Vtbl { PlaybackItem: usize, pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedMetadataTrackError, ITimedMetadataTrackError_Vtbl, 0xb3767915_4114_4819_b9d9_dd76089e72f8); +windows_core::imp::define_interface!(ITimedMetadataTrackError, ITimedMetadataTrackError_Vtbl, 0xb3767915_4114_4819_b9d9_dd76089e72f8); #[repr(C)] pub struct ITimedMetadataTrackError_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedMetadataTrackErrorCode) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedMetadataTrackFactory, ITimedMetadataTrackFactory_Vtbl, 0x8dd57611_97b3_4e1f_852c_0f482c81ad26); +windows_core::imp::define_interface!(ITimedMetadataTrackFactory, ITimedMetadataTrackFactory_Vtbl, 0x8dd57611_97b3_4e1f_852c_0f482c81ad26); #[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, } -windows_core::imp::com_interface!(ITimedMetadataTrackFailedEventArgs, ITimedMetadataTrackFailedEventArgs_Vtbl, 0xa57fc9d1_6789_4d4d_b07f_84b4f31acb70); +windows_core::imp::define_interface!(ITimedMetadataTrackFailedEventArgs, ITimedMetadataTrackFailedEventArgs_Vtbl, 0xa57fc9d1_6789_4d4d_b07f_84b4f31acb70); #[repr(C)] pub struct ITimedMetadataTrackFailedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedMetadataTrackProvider, ITimedMetadataTrackProvider_Vtbl, 0x3b7f2024_f74e_4ade_93c5_219da05b6856); +windows_core::imp::define_interface!(ITimedMetadataTrackProvider, ITimedMetadataTrackProvider_Vtbl, 0x3b7f2024_f74e_4ade_93c5_219da05b6856); windows_core::imp::interface_hierarchy!(ITimedMetadataTrackProvider, windows_core::IUnknown, windows_core::IInspectable); impl ITimedMetadataTrackProvider { #[cfg(feature = "Foundation_Collections")] @@ -1163,7 +1163,7 @@ pub struct ITimedMetadataTrackProvider_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] TimedMetadataTracks: usize, } -windows_core::imp::com_interface!(ITimedTextBouten, ITimedTextBouten_Vtbl, 0xd9062783_5597_5092_820c_8f738e0f774a); +windows_core::imp::define_interface!(ITimedTextBouten, ITimedTextBouten_Vtbl, 0xd9062783_5597_5092_820c_8f738e0f774a); #[repr(C)] pub struct ITimedTextBouten_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1180,7 +1180,7 @@ pub struct ITimedTextBouten_Vtbl { pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedTextBoutenPosition) -> windows_core::HRESULT, pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, TimedTextBoutenPosition) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedTextCue, ITimedTextCue_Vtbl, 0x51c79e51_3b86_494d_b359_bb2ea7aca9a9); +windows_core::imp::define_interface!(ITimedTextCue, ITimedTextCue_Vtbl, 0x51c79e51_3b86_494d_b359_bb2ea7aca9a9); #[repr(C)] pub struct ITimedTextCue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1193,7 +1193,7 @@ pub struct ITimedTextCue_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Lines: usize, } -windows_core::imp::com_interface!(ITimedTextLine, ITimedTextLine_Vtbl, 0x978d7ce2_7308_4c66_be50_65777289f5df); +windows_core::imp::define_interface!(ITimedTextLine, ITimedTextLine_Vtbl, 0x978d7ce2_7308_4c66_be50_65777289f5df); #[repr(C)] pub struct ITimedTextLine_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1204,7 +1204,7 @@ pub struct ITimedTextLine_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Subformats: usize, } -windows_core::imp::com_interface!(ITimedTextRegion, ITimedTextRegion_Vtbl, 0x1ed0881f_8a06_4222_9f59_b21bf40124b4); +windows_core::imp::define_interface!(ITimedTextRegion, ITimedTextRegion_Vtbl, 0x1ed0881f_8a06_4222_9f59_b21bf40124b4); #[repr(C)] pub struct ITimedTextRegion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1239,7 +1239,7 @@ pub struct ITimedTextRegion_Vtbl { pub ScrollMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedTextScrollMode) -> windows_core::HRESULT, pub SetScrollMode: unsafe extern "system" fn(*mut core::ffi::c_void, TimedTextScrollMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedTextRuby, ITimedTextRuby_Vtbl, 0x10335c29_5b3c_5693_9959_d05a0bd24628); +windows_core::imp::define_interface!(ITimedTextRuby, ITimedTextRuby_Vtbl, 0x10335c29_5b3c_5693_9959_d05a0bd24628); #[repr(C)] pub struct ITimedTextRuby_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1252,14 +1252,14 @@ pub struct ITimedTextRuby_Vtbl { pub Reserve: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedTextRubyReserve) -> windows_core::HRESULT, pub SetReserve: unsafe extern "system" fn(*mut core::ffi::c_void, TimedTextRubyReserve) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedTextSource, ITimedTextSource_Vtbl, 0xc4ed9ba6_101f_404d_a949_82f33fcd93b7); +windows_core::imp::define_interface!(ITimedTextSource, ITimedTextSource_Vtbl, 0xc4ed9ba6_101f_404d_a949_82f33fcd93b7); #[repr(C)] pub struct ITimedTextSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Resolved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveResolved: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedTextSourceResolveResultEventArgs, ITimedTextSourceResolveResultEventArgs_Vtbl, 0x48907c9c_dcd8_4c33_9ad3_6cdce7b1c566); +windows_core::imp::define_interface!(ITimedTextSourceResolveResultEventArgs, ITimedTextSourceResolveResultEventArgs_Vtbl, 0x48907c9c_dcd8_4c33_9ad3_6cdce7b1c566); #[repr(C)] pub struct ITimedTextSourceResolveResultEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1269,7 +1269,7 @@ pub struct ITimedTextSourceResolveResultEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Tracks: usize, } -windows_core::imp::com_interface!(ITimedTextSourceStatics, ITimedTextSourceStatics_Vtbl, 0x7e311853_9aba_4ac4_bb98_2fb176c3bfdd); +windows_core::imp::define_interface!(ITimedTextSourceStatics, ITimedTextSourceStatics_Vtbl, 0x7e311853_9aba_4ac4_bb98_2fb176c3bfdd); #[repr(C)] pub struct ITimedTextSourceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1284,7 +1284,7 @@ pub struct ITimedTextSourceStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ITimedTextSourceStatics2, ITimedTextSourceStatics2_Vtbl, 0xb66b7602_923e_43fa_9633_587075812db5); +windows_core::imp::define_interface!(ITimedTextSourceStatics2, ITimedTextSourceStatics2_Vtbl, 0xb66b7602_923e_43fa_9633_587075812db5); #[repr(C)] pub struct ITimedTextSourceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1299,7 +1299,7 @@ pub struct ITimedTextSourceStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(ITimedTextStyle, ITimedTextStyle_Vtbl, 0x1bb2384d_a825_40c2_a7f5_281eaedf3b55); +windows_core::imp::define_interface!(ITimedTextStyle, ITimedTextStyle_Vtbl, 0x1bb2384d_a825_40c2_a7f5_281eaedf3b55); #[repr(C)] pub struct ITimedTextStyle_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1346,7 +1346,7 @@ pub struct ITimedTextStyle_Vtbl { pub OutlineRadius: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedTextDouble) -> windows_core::HRESULT, pub SetOutlineRadius: unsafe extern "system" fn(*mut core::ffi::c_void, TimedTextDouble) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedTextStyle2, ITimedTextStyle2_Vtbl, 0x655f492d_6111_4787_89cc_686fece57e14); +windows_core::imp::define_interface!(ITimedTextStyle2, ITimedTextStyle2_Vtbl, 0x655f492d_6111_4787_89cc_686fece57e14); #[repr(C)] pub struct ITimedTextStyle2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1359,7 +1359,7 @@ pub struct ITimedTextStyle2_Vtbl { pub IsOverlineEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsOverlineEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedTextStyle3, ITimedTextStyle3_Vtbl, 0xf803f93b_3e99_595e_bbb7_78a2fa13c270); +windows_core::imp::define_interface!(ITimedTextStyle3, ITimedTextStyle3_Vtbl, 0xf803f93b_3e99_595e_bbb7_78a2fa13c270); #[repr(C)] pub struct ITimedTextStyle3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1370,7 +1370,7 @@ pub struct ITimedTextStyle3_Vtbl { pub FontAngleInDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetFontAngleInDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedTextSubformat, ITimedTextSubformat_Vtbl, 0xd713502f_3261_4722_a0c2_b937b2390f14); +windows_core::imp::define_interface!(ITimedTextSubformat, ITimedTextSubformat_Vtbl, 0xd713502f_3261_4722_a0c2_b937b2390f14); #[repr(C)] pub struct ITimedTextSubformat_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1381,7 +1381,7 @@ pub struct ITimedTextSubformat_Vtbl { pub SubformatStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSubformatStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoStabilizationEffect, IVideoStabilizationEffect_Vtbl, 0x0808a650_9698_4e57_877b_bd7cb2ee0f8a); +windows_core::imp::define_interface!(IVideoStabilizationEffect, IVideoStabilizationEffect_Vtbl, 0x0808a650_9698_4e57_877b_bd7cb2ee0f8a); #[repr(C)] pub struct IVideoStabilizationEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1394,13 +1394,13 @@ pub struct IVideoStabilizationEffect_Vtbl { #[cfg(not(all(feature = "Media_Capture", feature = "Media_Devices", feature = "Media_MediaProperties")))] GetRecommendedStreamConfiguration: usize, } -windows_core::imp::com_interface!(IVideoStabilizationEffectEnabledChangedEventArgs, IVideoStabilizationEffectEnabledChangedEventArgs_Vtbl, 0x187eff28_67bb_4713_b900_4168da164529); +windows_core::imp::define_interface!(IVideoStabilizationEffectEnabledChangedEventArgs, IVideoStabilizationEffectEnabledChangedEventArgs_Vtbl, 0x187eff28_67bb_4713_b900_4168da164529); #[repr(C)] pub struct IVideoStabilizationEffectEnabledChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VideoStabilizationEffectEnabledChangedReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoStreamDescriptor, IVideoStreamDescriptor_Vtbl, 0x12ee0d55_9c2b_4440_8057_2c7a90f0cbec); +windows_core::imp::define_interface!(IVideoStreamDescriptor, IVideoStreamDescriptor_Vtbl, 0x12ee0d55_9c2b_4440_8057_2c7a90f0cbec); #[repr(C)] pub struct IVideoStreamDescriptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1409,13 +1409,13 @@ pub struct IVideoStreamDescriptor_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] EncodingProperties: usize, } -windows_core::imp::com_interface!(IVideoStreamDescriptor2, IVideoStreamDescriptor2_Vtbl, 0x8b306e10_453e_4088_832d_c36fa4f94af3); +windows_core::imp::define_interface!(IVideoStreamDescriptor2, IVideoStreamDescriptor2_Vtbl, 0x8b306e10_453e_4088_832d_c36fa4f94af3); #[repr(C)] pub struct IVideoStreamDescriptor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoStreamDescriptorFactory, IVideoStreamDescriptorFactory_Vtbl, 0x494ef6d1_bb75_43d2_9e5e_7b79a3afced4); +windows_core::imp::define_interface!(IVideoStreamDescriptorFactory, IVideoStreamDescriptorFactory_Vtbl, 0x494ef6d1_bb75_43d2_9e5e_7b79a3afced4); #[repr(C)] pub struct IVideoStreamDescriptorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1424,7 +1424,7 @@ pub struct IVideoStreamDescriptorFactory_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] Create: usize, } -windows_core::imp::com_interface!(IVideoTrack, IVideoTrack_Vtbl, 0x99f3b7f3_e298_4396_bb6a_a51be6a2a20a); +windows_core::imp::define_interface!(IVideoTrack, IVideoTrack_Vtbl, 0x99f3b7f3_e298_4396_bb6a_a51be6a2a20a); #[repr(C)] pub struct IVideoTrack_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1441,13 +1441,13 @@ pub struct IVideoTrack_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IVideoTrackOpenFailedEventArgs, IVideoTrackOpenFailedEventArgs_Vtbl, 0x7679e231_04f9_4c82_a4ee_8602c8bb4754); +windows_core::imp::define_interface!(IVideoTrackOpenFailedEventArgs, IVideoTrackOpenFailedEventArgs_Vtbl, 0x7679e231_04f9_4c82_a4ee_8602c8bb4754); #[repr(C)] pub struct IVideoTrackOpenFailedEventArgs_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, } -windows_core::imp::com_interface!(IVideoTrackSupportInfo, IVideoTrackSupportInfo_Vtbl, 0x4bb534a0_fc5f_450d_8ff0_778d590486de); +windows_core::imp::define_interface!(IVideoTrackSupportInfo, IVideoTrackSupportInfo_Vtbl, 0x4bb534a0_fc5f_450d_8ff0_778d590486de); #[repr(C)] pub struct IVideoTrackSupportInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 554fa77c14..8a49c7c592 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICameraIntrinsics, ICameraIntrinsics_Vtbl, 0x0aa6ed32_6589_49da_afde_594270ca0aac); +windows_core::imp::define_interface!(ICameraIntrinsics, ICameraIntrinsics_Vtbl, 0x0aa6ed32_6589_49da_afde_594270ca0aac); #[repr(C)] pub struct ICameraIntrinsics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,7 +37,7 @@ pub struct ICameraIntrinsics_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] UnprojectPixelsAtUnitDepth: usize, } -windows_core::imp::com_interface!(ICameraIntrinsics2, ICameraIntrinsics2_Vtbl, 0x0cdaa447_0798_4b4d_839f_c5ec414db27a); +windows_core::imp::define_interface!(ICameraIntrinsics2, ICameraIntrinsics2_Vtbl, 0x0cdaa447_0798_4b4d_839f_c5ec414db27a); #[repr(C)] pub struct ICameraIntrinsics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -50,7 +50,7 @@ pub struct ICameraIntrinsics2_Vtbl { pub UndistortPoint: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::Point, *mut super::super::super::Foundation::Point) -> windows_core::HRESULT, pub UndistortPoints: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::super::Foundation::Point, u32, *mut super::super::super::Foundation::Point) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICameraIntrinsicsFactory, ICameraIntrinsicsFactory_Vtbl, 0xc0ddc486_2132_4a34_a659_9bfe2a055712); +windows_core::imp::define_interface!(ICameraIntrinsicsFactory, ICameraIntrinsicsFactory_Vtbl, 0xc0ddc486_2132_4a34_a659_9bfe2a055712); #[repr(C)] pub struct ICameraIntrinsicsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -59,7 +59,7 @@ pub struct ICameraIntrinsicsFactory_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] Create: usize, } -windows_core::imp::com_interface!(IDepthCorrelatedCoordinateMapper, IDepthCorrelatedCoordinateMapper_Vtbl, 0xf95d89fb_8af0_4cb0_926d_696866e5046a); +windows_core::imp::define_interface!(IDepthCorrelatedCoordinateMapper, IDepthCorrelatedCoordinateMapper_Vtbl, 0xf95d89fb_8af0_4cb0_926d_696866e5046a); #[repr(C)] pub struct IDepthCorrelatedCoordinateMapper_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -80,7 +80,7 @@ pub struct IDepthCorrelatedCoordinateMapper_Vtbl { #[cfg(not(feature = "Perception_Spatial"))] MapPoints: usize, } -windows_core::imp::com_interface!(IFrameControlCapabilities, IFrameControlCapabilities_Vtbl, 0xa8ffae60_4e9e_4377_a789_e24c4ae7e544); +windows_core::imp::define_interface!(IFrameControlCapabilities, IFrameControlCapabilities_Vtbl, 0xa8ffae60_4e9e_4377_a789_e24c4ae7e544); #[repr(C)] pub struct IFrameControlCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -90,13 +90,13 @@ pub struct IFrameControlCapabilities_Vtbl { pub Focus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PhotoConfirmationSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameControlCapabilities2, IFrameControlCapabilities2_Vtbl, 0xce9b0464_4730_440f_bd3e_efe8a8f230a8); +windows_core::imp::define_interface!(IFrameControlCapabilities2, IFrameControlCapabilities2_Vtbl, 0xce9b0464_4730_440f_bd3e_efe8a8f230a8); #[repr(C)] pub struct IFrameControlCapabilities2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Flash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameController, IFrameController_Vtbl, 0xc16459d9_baef_4052_9177_48aff2af7522); +windows_core::imp::define_interface!(IFrameController, IFrameController_Vtbl, 0xc16459d9_baef_4052_9177_48aff2af7522); #[repr(C)] pub struct IFrameController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -107,13 +107,13 @@ pub struct IFrameController_Vtbl { pub PhotoConfirmationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPhotoConfirmationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameController2, IFrameController2_Vtbl, 0x00d3bc75_d87c_485b_8a09_5c358568b427); +windows_core::imp::define_interface!(IFrameController2, IFrameController2_Vtbl, 0x00d3bc75_d87c_485b_8a09_5c358568b427); #[repr(C)] pub struct IFrameController2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FlashControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameExposureCapabilities, IFrameExposureCapabilities_Vtbl, 0xbdbe9ce3_3985_4e72_97c2_0590d61307a1); +windows_core::imp::define_interface!(IFrameExposureCapabilities, IFrameExposureCapabilities_Vtbl, 0xbdbe9ce3_3985_4e72_97c2_0590d61307a1); #[repr(C)] pub struct IFrameExposureCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -122,7 +122,7 @@ pub struct IFrameExposureCapabilities_Vtbl { pub Max: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub Step: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameExposureCompensationCapabilities, IFrameExposureCompensationCapabilities_Vtbl, 0xb988a823_8065_41ee_b04f_722265954500); +windows_core::imp::define_interface!(IFrameExposureCompensationCapabilities, IFrameExposureCompensationCapabilities_Vtbl, 0xb988a823_8065_41ee_b04f_722265954500); #[repr(C)] pub struct IFrameExposureCompensationCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -131,14 +131,14 @@ pub struct IFrameExposureCompensationCapabilities_Vtbl { pub Max: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub Step: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameExposureCompensationControl, IFrameExposureCompensationControl_Vtbl, 0xe95896c9_f7f9_48ca_8591_a26531cb1578); +windows_core::imp::define_interface!(IFrameExposureCompensationControl, IFrameExposureCompensationControl_Vtbl, 0xe95896c9_f7f9_48ca_8591_a26531cb1578); #[repr(C)] pub struct IFrameExposureCompensationControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IFrameExposureControl, IFrameExposureControl_Vtbl, 0xb1605a61_ffaf_4752_b621_f5b6f117f432); +windows_core::imp::define_interface!(IFrameExposureControl, IFrameExposureControl_Vtbl, 0xb1605a61_ffaf_4752_b621_f5b6f117f432); #[repr(C)] pub struct IFrameExposureControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -147,7 +147,7 @@ pub struct IFrameExposureControl_Vtbl { 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, } -windows_core::imp::com_interface!(IFrameFlashCapabilities, IFrameFlashCapabilities_Vtbl, 0xbb9341a2_5ebe_4f62_8223_0e2b05bfbbd0); +windows_core::imp::define_interface!(IFrameFlashCapabilities, IFrameFlashCapabilities_Vtbl, 0xbb9341a2_5ebe_4f62_8223_0e2b05bfbbd0); #[repr(C)] pub struct IFrameFlashCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -155,7 +155,7 @@ pub struct IFrameFlashCapabilities_Vtbl { pub RedEyeReductionSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub PowerSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameFlashControl, IFrameFlashControl_Vtbl, 0x75d5f6c7_bd45_4fab_9375_45ac04b332c2); +windows_core::imp::define_interface!(IFrameFlashControl, IFrameFlashControl_Vtbl, 0x75d5f6c7_bd45_4fab_9375_45ac04b332c2); #[repr(C)] pub struct IFrameFlashControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -168,7 +168,7 @@ pub struct IFrameFlashControl_Vtbl { pub PowerPercent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetPowerPercent: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameFocusCapabilities, IFrameFocusCapabilities_Vtbl, 0x7b25cd58_01c0_4065_9c40_c1a721425c1a); +windows_core::imp::define_interface!(IFrameFocusCapabilities, IFrameFocusCapabilities_Vtbl, 0x7b25cd58_01c0_4065_9c40_c1a721425c1a); #[repr(C)] pub struct IFrameFocusCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -177,14 +177,14 @@ pub struct IFrameFocusCapabilities_Vtbl { pub Max: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Step: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameFocusControl, IFrameFocusControl_Vtbl, 0x272df1d0_d912_4214_a67b_e38a8d48d8c6); +windows_core::imp::define_interface!(IFrameFocusControl, IFrameFocusControl_Vtbl, 0x272df1d0_d912_4214_a67b_e38a8d48d8c6); #[repr(C)] pub struct IFrameFocusControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(IFrameIsoSpeedCapabilities, IFrameIsoSpeedCapabilities_Vtbl, 0x16bdff61_6df6_4ac9_b92a_9f6ecd1ad2fa); +windows_core::imp::define_interface!(IFrameIsoSpeedCapabilities, IFrameIsoSpeedCapabilities_Vtbl, 0x16bdff61_6df6_4ac9_b92a_9f6ecd1ad2fa); #[repr(C)] pub struct IFrameIsoSpeedCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -193,7 +193,7 @@ pub struct IFrameIsoSpeedCapabilities_Vtbl { pub Max: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Step: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameIsoSpeedControl, IFrameIsoSpeedControl_Vtbl, 0x1a03efed_786a_4c75_a557_7ab9a85f588c); +windows_core::imp::define_interface!(IFrameIsoSpeedControl, IFrameIsoSpeedControl_Vtbl, 0x1a03efed_786a_4c75_a557_7ab9a85f588c); #[repr(C)] pub struct IFrameIsoSpeedControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -202,7 +202,7 @@ pub struct IFrameIsoSpeedControl_Vtbl { 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, } -windows_core::imp::com_interface!(IVariablePhotoSequenceController, IVariablePhotoSequenceController_Vtbl, 0x7fbff880_ed8c_43fd_a7c3_b35809e4229a); +windows_core::imp::define_interface!(IVariablePhotoSequenceController, IVariablePhotoSequenceController_Vtbl, 0x7fbff880_ed8c_43fd_a7c3_b35809e4229a); #[repr(C)] pub struct IVariablePhotoSequenceController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index cbed34d1f7..c748dc50fd 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -1,13 +1,13 @@ #[cfg(feature = "Media_Devices_Core")] pub mod Core; -windows_core::imp::com_interface!(IAdvancedPhotoCaptureSettings, IAdvancedPhotoCaptureSettings_Vtbl, 0x08f3863a_0018_445b_93d2_646d1c5ed05c); +windows_core::imp::define_interface!(IAdvancedPhotoCaptureSettings, IAdvancedPhotoCaptureSettings_Vtbl, 0x08f3863a_0018_445b_93d2_646d1c5ed05c); #[repr(C)] pub struct IAdvancedPhotoCaptureSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AdvancedPhotoMode) -> windows_core::HRESULT, pub SetMode: unsafe extern "system" fn(*mut core::ffi::c_void, AdvancedPhotoMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedPhotoControl, IAdvancedPhotoControl_Vtbl, 0xc5b15486_9001_4682_9309_68eae0080eec); +windows_core::imp::define_interface!(IAdvancedPhotoControl, IAdvancedPhotoControl_Vtbl, 0xc5b15486_9001_4682_9309_68eae0080eec); #[repr(C)] pub struct IAdvancedPhotoControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,20 +19,20 @@ pub struct IAdvancedPhotoControl_Vtbl { pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AdvancedPhotoMode) -> windows_core::HRESULT, pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedVideoCaptureDeviceController, IAdvancedVideoCaptureDeviceController_Vtbl, 0xde6ff4d3_2b96_4583_80ab_b5b01dc6a8d7); +windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController, IAdvancedVideoCaptureDeviceController_Vtbl, 0xde6ff4d3_2b96_4583_80ab_b5b01dc6a8d7); #[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, } -windows_core::imp::com_interface!(IAdvancedVideoCaptureDeviceController10, IAdvancedVideoCaptureDeviceController10_Vtbl, 0xc621b82d_d6f0_5c1b_a388_a6e938407146); +windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController10, IAdvancedVideoCaptureDeviceController10_Vtbl, 0xc621b82d_d6f0_5c1b_a388_a6e938407146); #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController10_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CameraOcclusionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedVideoCaptureDeviceController11, IAdvancedVideoCaptureDeviceController11_Vtbl, 0xd5b65ae2_3772_580c_a630_e75de9106904); +windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController11, IAdvancedVideoCaptureDeviceController11_Vtbl, 0xd5b65ae2_3772_580c_a630_e75de9106904); #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController11_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -41,7 +41,7 @@ pub struct IAdvancedVideoCaptureDeviceController11_Vtbl { #[cfg(not(feature = "Media_Capture"))] TryAcquireExclusiveControl: usize, } -windows_core::imp::com_interface!(IAdvancedVideoCaptureDeviceController2, IAdvancedVideoCaptureDeviceController2_Vtbl, 0x8bb94f8f_f11a_43db_b402_11930b80ae56); +windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController2, IAdvancedVideoCaptureDeviceController2_Vtbl, 0x8bb94f8f_f11a_43db_b402_11930b80ae56); #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -59,7 +59,7 @@ pub struct IAdvancedVideoCaptureDeviceController2_Vtbl { pub PrimaryUse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CaptureUse) -> windows_core::HRESULT, pub SetPrimaryUse: unsafe extern "system" fn(*mut core::ffi::c_void, CaptureUse) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedVideoCaptureDeviceController3, IAdvancedVideoCaptureDeviceController3_Vtbl, 0xa98b8f34_ee0d_470c_b9f0_4229c4bbd089); +windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController3, IAdvancedVideoCaptureDeviceController3_Vtbl, 0xa98b8f34_ee0d_470c_b9f0_4229c4bbd089); #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,7 +70,7 @@ pub struct IAdvancedVideoCaptureDeviceController3_Vtbl { pub PhotoConfirmationControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ZoomControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedVideoCaptureDeviceController4, IAdvancedVideoCaptureDeviceController4_Vtbl, 0xea9fbfaf_d371_41c3_9a17_824a87ebdfd2); +windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController4, IAdvancedVideoCaptureDeviceController4_Vtbl, 0xea9fbfaf_d371_41c3_9a17_824a87ebdfd2); #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -81,7 +81,7 @@ pub struct IAdvancedVideoCaptureDeviceController4_Vtbl { pub OpticalImageStabilizationControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AdvancedPhotoControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedVideoCaptureDeviceController5, IAdvancedVideoCaptureDeviceController5_Vtbl, 0x33512b17_b9cb_4a23_b875_f9eaab535492); +windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController5, IAdvancedVideoCaptureDeviceController5_Vtbl, 0x33512b17_b9cb_4a23_b875_f9eaab535492); #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -91,31 +91,31 @@ pub struct IAdvancedVideoCaptureDeviceController5_Vtbl { 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, } -windows_core::imp::com_interface!(IAdvancedVideoCaptureDeviceController6, IAdvancedVideoCaptureDeviceController6_Vtbl, 0xb6563a53_68a1_44b7_9f89_b5fa97ac0cbe); +windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController6, IAdvancedVideoCaptureDeviceController6_Vtbl, 0xb6563a53_68a1_44b7_9f89_b5fa97ac0cbe); #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub VideoTemporalDenoisingControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedVideoCaptureDeviceController7, IAdvancedVideoCaptureDeviceController7_Vtbl, 0x8d2927f0_a054_50e7_b7df_7c04234d10f0); +windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController7, IAdvancedVideoCaptureDeviceController7_Vtbl, 0x8d2927f0_a054_50e7_b7df_7c04234d10f0); #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController7_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InfraredTorchControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedVideoCaptureDeviceController8, IAdvancedVideoCaptureDeviceController8_Vtbl, 0xd843f010_e7fb_595b_9a78_0e54c4532b43); +windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController8, IAdvancedVideoCaptureDeviceController8_Vtbl, 0xd843f010_e7fb_595b_9a78_0e54c4532b43); #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController8_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PanelBasedOptimizationControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedVideoCaptureDeviceController9, IAdvancedVideoCaptureDeviceController9_Vtbl, 0x8bdca95d_0255_51bc_a10d_5a169ec1625a); +windows_core::imp::define_interface!(IAdvancedVideoCaptureDeviceController9, IAdvancedVideoCaptureDeviceController9_Vtbl, 0x8bdca95d_0255_51bc_a10d_5a169ec1625a); #[repr(C)] pub struct IAdvancedVideoCaptureDeviceController9_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DigitalWindowControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioDeviceController, IAudioDeviceController_Vtbl, 0xedd4a388_79c7_4f7c_90e8_ef934b21580a); +windows_core::imp::define_interface!(IAudioDeviceController, IAudioDeviceController_Vtbl, 0xedd4a388_79c7_4f7c_90e8_ef934b21580a); #[repr(C)] pub struct IAudioDeviceController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -124,7 +124,7 @@ pub struct IAudioDeviceController_Vtbl { pub SetVolumePercent: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, pub VolumePercent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioDeviceModule, IAudioDeviceModule_Vtbl, 0x86cfac36_47c1_4b33_9852_8773ec4be123); +windows_core::imp::define_interface!(IAudioDeviceModule, IAudioDeviceModule_Vtbl, 0x86cfac36_47c1_4b33_9852_8773ec4be123); #[repr(C)] pub struct IAudioDeviceModule_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -138,7 +138,7 @@ pub struct IAudioDeviceModule_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SendCommandAsync: usize, } -windows_core::imp::com_interface!(IAudioDeviceModuleNotificationEventArgs, IAudioDeviceModuleNotificationEventArgs_Vtbl, 0xe3e3ccaf_224c_48be_956b_9a13134e96e8); +windows_core::imp::define_interface!(IAudioDeviceModuleNotificationEventArgs, IAudioDeviceModuleNotificationEventArgs_Vtbl, 0xe3e3ccaf_224c_48be_956b_9a13134e96e8); #[repr(C)] pub struct IAudioDeviceModuleNotificationEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -148,7 +148,7 @@ pub struct IAudioDeviceModuleNotificationEventArgs_Vtbl { #[cfg(not(feature = "Storage_Streams"))] NotificationData: usize, } -windows_core::imp::com_interface!(IAudioDeviceModulesManager, IAudioDeviceModulesManager_Vtbl, 0x6aa40c4d_960a_4d1c_b318_0022604547ed); +windows_core::imp::define_interface!(IAudioDeviceModulesManager, IAudioDeviceModulesManager_Vtbl, 0x6aa40c4d_960a_4d1c_b318_0022604547ed); #[repr(C)] pub struct IAudioDeviceModulesManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -163,13 +163,13 @@ pub struct IAudioDeviceModulesManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindAll: usize, } -windows_core::imp::com_interface!(IAudioDeviceModulesManagerFactory, IAudioDeviceModulesManagerFactory_Vtbl, 0x8db03670_e64d_4773_96c0_bc7ebf0e063f); +windows_core::imp::define_interface!(IAudioDeviceModulesManagerFactory, IAudioDeviceModulesManagerFactory_Vtbl, 0x8db03670_e64d_4773_96c0_bc7ebf0e063f); #[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, } -windows_core::imp::com_interface!(ICallControl, ICallControl_Vtbl, 0xa520d0d6_ae8d_45db_8011_ca49d3b3e578); +windows_core::imp::define_interface!(ICallControl, ICallControl_Vtbl, 0xa520d0d6_ae8d_45db_8011_ca49d3b3e578); #[repr(C)] pub struct ICallControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -191,14 +191,14 @@ pub struct ICallControl_Vtbl { pub AudioTransferRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAudioTransferRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICallControlStatics, ICallControlStatics_Vtbl, 0x03945ad5_85ab_40e1_af19_56c94303b019); +windows_core::imp::define_interface!(ICallControlStatics, ICallControlStatics_Vtbl, 0x03945ad5_85ab_40e1_af19_56c94303b019); #[repr(C)] 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, } -windows_core::imp::com_interface!(ICameraOcclusionInfo, ICameraOcclusionInfo_Vtbl, 0xaf6c4ad0_a84d_5db6_be58_a5da21cfe011); +windows_core::imp::define_interface!(ICameraOcclusionInfo, ICameraOcclusionInfo_Vtbl, 0xaf6c4ad0_a84d_5db6_be58_a5da21cfe011); #[repr(C)] pub struct ICameraOcclusionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -207,20 +207,20 @@ pub struct ICameraOcclusionInfo_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, } -windows_core::imp::com_interface!(ICameraOcclusionState, ICameraOcclusionState_Vtbl, 0x430adeb8_6842_5e55_9bde_04b4ef3a8a57); +windows_core::imp::define_interface!(ICameraOcclusionState, ICameraOcclusionState_Vtbl, 0x430adeb8_6842_5e55_9bde_04b4ef3a8a57); #[repr(C)] pub struct ICameraOcclusionState_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsOccluded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsOcclusionKind: unsafe extern "system" fn(*mut core::ffi::c_void, CameraOcclusionKind, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICameraOcclusionStateChangedEventArgs, ICameraOcclusionStateChangedEventArgs_Vtbl, 0x8512d848_c0de_57ca_a1ca_fb2c3d23df55); +windows_core::imp::define_interface!(ICameraOcclusionStateChangedEventArgs, ICameraOcclusionStateChangedEventArgs_Vtbl, 0x8512d848_c0de_57ca_a1ca_fb2c3d23df55); #[repr(C)] pub struct ICameraOcclusionStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDefaultAudioDeviceChangedEventArgs, IDefaultAudioDeviceChangedEventArgs_Vtbl, 0x110f882f_1c05_4657_a18e_47c9b69f07ab); +windows_core::imp::define_interface!(IDefaultAudioDeviceChangedEventArgs, IDefaultAudioDeviceChangedEventArgs_Vtbl, 0x110f882f_1c05_4657_a18e_47c9b69f07ab); windows_core::imp::interface_hierarchy!(IDefaultAudioDeviceChangedEventArgs, windows_core::IUnknown, windows_core::IInspectable); impl IDefaultAudioDeviceChangedEventArgs { pub fn Id(&self) -> windows_core::Result { @@ -247,14 +247,14 @@ pub struct IDefaultAudioDeviceChangedEventArgs_Vtbl { pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub Role: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioDeviceRole) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDialRequestedEventArgs, IDialRequestedEventArgs_Vtbl, 0x037b929e_953c_4286_8866_4f0f376c855a); +windows_core::imp::define_interface!(IDialRequestedEventArgs, IDialRequestedEventArgs_Vtbl, 0x037b929e_953c_4286_8866_4f0f376c855a); #[repr(C)] pub struct IDialRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDigitalWindowBounds, IDigitalWindowBounds_Vtbl, 0xdd4f21dd_d173_5c6b_8c25_bdd26d5122b1); +windows_core::imp::define_interface!(IDigitalWindowBounds, IDigitalWindowBounds_Vtbl, 0xdd4f21dd_d173_5c6b_8c25_bdd26d5122b1); #[repr(C)] pub struct IDigitalWindowBounds_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -265,7 +265,7 @@ pub struct IDigitalWindowBounds_Vtbl { pub Scale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetScale: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDigitalWindowCapability, IDigitalWindowCapability_Vtbl, 0xd78bad2c_f721_5244_a196_b56ccbec606c); +windows_core::imp::define_interface!(IDigitalWindowCapability, IDigitalWindowCapability_Vtbl, 0xd78bad2c_f721_5244_a196_b56ccbec606c); #[repr(C)] pub struct IDigitalWindowCapability_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -276,7 +276,7 @@ pub struct IDigitalWindowCapability_Vtbl { pub MinScaleValueWithoutUpsampling: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub NormalizedFieldOfViewLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDigitalWindowControl, IDigitalWindowControl_Vtbl, 0x23b69eff_65d2_53ea_8780_de582b48b544); +windows_core::imp::define_interface!(IDigitalWindowControl, IDigitalWindowControl_Vtbl, 0x23b69eff_65d2_53ea_8780_de582b48b544); #[repr(C)] pub struct IDigitalWindowControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -292,7 +292,7 @@ pub struct IDigitalWindowControl_Vtbl { SupportedCapabilities: usize, pub GetCapabilityForSize: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExposureCompensationControl, IExposureCompensationControl_Vtbl, 0x81c8e834_dcec_4011_a610_1f3847e64aca); +windows_core::imp::define_interface!(IExposureCompensationControl, IExposureCompensationControl_Vtbl, 0x81c8e834_dcec_4011_a610_1f3847e64aca); #[repr(C)] pub struct IExposureCompensationControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -303,7 +303,7 @@ pub struct IExposureCompensationControl_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetValueAsync: unsafe extern "system" fn(*mut core::ffi::c_void, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExposureControl, IExposureControl_Vtbl, 0x09e8cbe2_ad96_4f28_a0e0_96ed7e1b5fd2); +windows_core::imp::define_interface!(IExposureControl, IExposureControl_Vtbl, 0x09e8cbe2_ad96_4f28_a0e0_96ed7e1b5fd2); #[repr(C)] pub struct IExposureControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -316,7 +316,7 @@ pub struct IExposureControl_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetValueAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExposurePriorityVideoControl, IExposurePriorityVideoControl_Vtbl, 0x2cb240a3_5168_4271_9ea5_47621a98a352); +windows_core::imp::define_interface!(IExposurePriorityVideoControl, IExposurePriorityVideoControl_Vtbl, 0x2cb240a3_5168_4271_9ea5_47621a98a352); #[repr(C)] pub struct IExposurePriorityVideoControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -324,7 +324,7 @@ pub struct IExposurePriorityVideoControl_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, } -windows_core::imp::com_interface!(IFlashControl, IFlashControl_Vtbl, 0xdef41dbe_7d68_45e3_8c0f_be7bb32837d0); +windows_core::imp::define_interface!(IFlashControl, IFlashControl_Vtbl, 0xdef41dbe_7d68_45e3_8c0f_be7bb32837d0); #[repr(C)] pub struct IFlashControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -340,7 +340,7 @@ pub struct IFlashControl_Vtbl { pub PowerPercent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetPowerPercent: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFlashControl2, IFlashControl2_Vtbl, 0x7d29cc9e_75e1_4af7_bd7d_4e38e1c06cd6); +windows_core::imp::define_interface!(IFlashControl2, IFlashControl2_Vtbl, 0x7d29cc9e_75e1_4af7_bd7d_4e38e1c06cd6); #[repr(C)] pub struct IFlashControl2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -348,7 +348,7 @@ pub struct IFlashControl2_Vtbl { pub AssistantLightEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAssistantLightEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFocusControl, IFocusControl_Vtbl, 0xc0d889f6_5228_4453_b153_85606592b238); +windows_core::imp::define_interface!(IFocusControl, IFocusControl_Vtbl, 0xc0d889f6_5228_4453_b153_85606592b238); #[repr(C)] pub struct IFocusControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -367,7 +367,7 @@ pub struct IFocusControl_Vtbl { pub SetValueAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FocusAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFocusControl2, IFocusControl2_Vtbl, 0x3f7cff48_c534_4e9e_94c3_52ef2afd5d07); +windows_core::imp::define_interface!(IFocusControl2, IFocusControl2_Vtbl, 0x3f7cff48_c534_4e9e_94c3_52ef2afd5d07); #[repr(C)] pub struct IFocusControl2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -391,7 +391,7 @@ pub struct IFocusControl2_Vtbl { pub LockAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFocusSettings, IFocusSettings_Vtbl, 0x79958f6b_3263_4275_85d6_aeae891c96ee); +windows_core::imp::define_interface!(IFocusSettings, IFocusSettings_Vtbl, 0x79958f6b_3263_4275_85d6_aeae891c96ee); #[repr(C)] pub struct IFocusSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -408,7 +408,7 @@ pub struct IFocusSettings_Vtbl { pub DisableDriverFallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetDisableDriverFallback: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHdrVideoControl, IHdrVideoControl_Vtbl, 0x55d8e2d0_30c0_43bf_9b9a_9799d70ced94); +windows_core::imp::define_interface!(IHdrVideoControl, IHdrVideoControl_Vtbl, 0x55d8e2d0_30c0_43bf_9b9a_9799d70ced94); #[repr(C)] pub struct IHdrVideoControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -420,7 +420,7 @@ pub struct IHdrVideoControl_Vtbl { pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut HdrVideoMode) -> windows_core::HRESULT, pub SetMode: unsafe extern "system" fn(*mut core::ffi::c_void, HdrVideoMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInfraredTorchControl, IInfraredTorchControl_Vtbl, 0x1cba2c83_6cb6_5a04_a6fc_3be7b33ff056); +windows_core::imp::define_interface!(IInfraredTorchControl, IInfraredTorchControl_Vtbl, 0x1cba2c83_6cb6_5a04_a6fc_3be7b33ff056); #[repr(C)] pub struct IInfraredTorchControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -437,7 +437,7 @@ pub struct IInfraredTorchControl_Vtbl { pub Power: 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, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsoSpeedControl, IIsoSpeedControl_Vtbl, 0x27b6c322_25ad_4f1b_aaab_524ab376ca33); +windows_core::imp::define_interface!(IIsoSpeedControl, IIsoSpeedControl_Vtbl, 0x27b6c322_25ad_4f1b_aaab_524ab376ca33); #[repr(C)] pub struct IIsoSpeedControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -455,7 +455,7 @@ pub struct IIsoSpeedControl_Vtbl { #[cfg(not(feature = "deprecated"))] SetPresetAsync: usize, } -windows_core::imp::com_interface!(IIsoSpeedControl2, IIsoSpeedControl2_Vtbl, 0x6f1578f2_6d77_4f8a_8c2f_6130b6395053); +windows_core::imp::define_interface!(IIsoSpeedControl2, IIsoSpeedControl2_Vtbl, 0x6f1578f2_6d77_4f8a_8c2f_6130b6395053); #[repr(C)] pub struct IIsoSpeedControl2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -467,13 +467,13 @@ pub struct IIsoSpeedControl2_Vtbl { pub Auto: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAutoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeypadPressedEventArgs, IKeypadPressedEventArgs_Vtbl, 0xd3a43900_b4fa_49cd_9442_89af6568f601); +windows_core::imp::define_interface!(IKeypadPressedEventArgs, IKeypadPressedEventArgs_Vtbl, 0xd3a43900_b4fa_49cd_9442_89af6568f601); #[repr(C)] pub struct IKeypadPressedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TelephonyKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TelephonyKey) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILowLagPhotoControl, ILowLagPhotoControl_Vtbl, 0x6d5c4dd0_fadf_415d_aee6_3baa529300c9); +windows_core::imp::define_interface!(ILowLagPhotoControl, ILowLagPhotoControl_Vtbl, 0x6d5c4dd0_fadf_415d_aee6_3baa529300c9); #[repr(C)] pub struct ILowLagPhotoControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -499,7 +499,7 @@ pub struct ILowLagPhotoControl_Vtbl { pub SetDesiredThumbnailSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub HardwareAcceleratedThumbnailSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILowLagPhotoSequenceControl, ILowLagPhotoSequenceControl_Vtbl, 0x3dcf909d_6d16_409c_bafe_b9a594c6fde6); +windows_core::imp::define_interface!(ILowLagPhotoSequenceControl, ILowLagPhotoSequenceControl_Vtbl, 0x3dcf909d_6d16_409c_bafe_b9a594c6fde6); #[repr(C)] pub struct ILowLagPhotoSequenceControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -532,7 +532,7 @@ pub struct ILowLagPhotoSequenceControl_Vtbl { pub SetDesiredThumbnailSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub HardwareAcceleratedThumbnailSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaDeviceControl, IMediaDeviceControl_Vtbl, 0xefa8dfa9_6f75_4863_ba0b_583f3036b4de); +windows_core::imp::define_interface!(IMediaDeviceControl, IMediaDeviceControl_Vtbl, 0xefa8dfa9_6f75_4863_ba0b_583f3036b4de); #[repr(C)] pub struct IMediaDeviceControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -542,7 +542,7 @@ pub struct IMediaDeviceControl_Vtbl { pub TryGetAuto: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool, *mut bool) -> windows_core::HRESULT, pub TrySetAuto: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaDeviceControlCapabilities, IMediaDeviceControlCapabilities_Vtbl, 0x23005816_eb85_43e2_b92b_8240d5ee70ec); +windows_core::imp::define_interface!(IMediaDeviceControlCapabilities, IMediaDeviceControlCapabilities_Vtbl, 0x23005816_eb85_43e2_b92b_8240d5ee70ec); #[repr(C)] pub struct IMediaDeviceControlCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -553,7 +553,7 @@ pub struct IMediaDeviceControlCapabilities_Vtbl { pub Default: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub AutoModeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaDeviceController, IMediaDeviceController_Vtbl, 0xf6f8f5ce_209a_48fb_86fc_d44578f317e6); +windows_core::imp::define_interface!(IMediaDeviceController, IMediaDeviceController_Vtbl, 0xf6f8f5ce_209a_48fb_86fc_d44578f317e6); windows_core::imp::interface_hierarchy!(IMediaDeviceController, windows_core::IUnknown, windows_core::IInspectable); impl IMediaDeviceController { #[cfg(all(feature = "Foundation_Collections", feature = "Media_Capture", feature = "Media_MediaProperties"))] @@ -603,7 +603,7 @@ pub struct IMediaDeviceController_Vtbl { #[cfg(not(all(feature = "Media_Capture", feature = "Media_MediaProperties")))] SetMediaStreamPropertiesAsync: usize, } -windows_core::imp::com_interface!(IMediaDeviceStatics, IMediaDeviceStatics_Vtbl, 0xaa2d9a40_909f_4bba_bf8b_0c0d296f14f0); +windows_core::imp::define_interface!(IMediaDeviceStatics, IMediaDeviceStatics_Vtbl, 0xaa2d9a40_909f_4bba_bf8b_0c0d296f14f0); #[repr(C)] pub struct IMediaDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -617,7 +617,7 @@ pub struct IMediaDeviceStatics_Vtbl { pub DefaultAudioRenderDeviceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDefaultAudioRenderDeviceChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IModuleCommandResult, IModuleCommandResult_Vtbl, 0x520d1eb4_1374_4c7d_b1e4_39dcdf3eae4e); +windows_core::imp::define_interface!(IModuleCommandResult, IModuleCommandResult_Vtbl, 0x520d1eb4_1374_4c7d_b1e4_39dcdf3eae4e); #[repr(C)] pub struct IModuleCommandResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -627,7 +627,7 @@ pub struct IModuleCommandResult_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Result: usize, } -windows_core::imp::com_interface!(IOpticalImageStabilizationControl, IOpticalImageStabilizationControl_Vtbl, 0xbfad9c1d_00bc_423b_8eb2_a0178ca94247); +windows_core::imp::define_interface!(IOpticalImageStabilizationControl, IOpticalImageStabilizationControl_Vtbl, 0xbfad9c1d_00bc_423b_8eb2_a0178ca94247); #[repr(C)] pub struct IOpticalImageStabilizationControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -639,7 +639,7 @@ pub struct IOpticalImageStabilizationControl_Vtbl { pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OpticalImageStabilizationMode) -> windows_core::HRESULT, pub SetMode: unsafe extern "system" fn(*mut core::ffi::c_void, OpticalImageStabilizationMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPanelBasedOptimizationControl, IPanelBasedOptimizationControl_Vtbl, 0x33323223_6247_5419_a5a4_3d808645d917); +windows_core::imp::define_interface!(IPanelBasedOptimizationControl, IPanelBasedOptimizationControl_Vtbl, 0x33323223_6247_5419_a5a4_3d808645d917); #[repr(C)] pub struct IPanelBasedOptimizationControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -653,7 +653,7 @@ pub struct IPanelBasedOptimizationControl_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] SetPanel: usize, } -windows_core::imp::com_interface!(IPhotoConfirmationControl, IPhotoConfirmationControl_Vtbl, 0xc8f3f363_ff5e_4582_a9a8_0550f85a4a76); +windows_core::imp::define_interface!(IPhotoConfirmationControl, IPhotoConfirmationControl_Vtbl, 0xc8f3f363_ff5e_4582_a9a8_0550f85a4a76); #[repr(C)] pub struct IPhotoConfirmationControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -669,13 +669,13 @@ pub struct IPhotoConfirmationControl_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] SetPixelFormat: usize, } -windows_core::imp::com_interface!(IRedialRequestedEventArgs, IRedialRequestedEventArgs_Vtbl, 0x7eb55209_76ab_4c31_b40e_4b58379d580c); +windows_core::imp::define_interface!(IRedialRequestedEventArgs, IRedialRequestedEventArgs_Vtbl, 0x7eb55209_76ab_4c31_b40e_4b58379d580c); #[repr(C)] pub struct IRedialRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRegionOfInterest, IRegionOfInterest_Vtbl, 0xe5ecc834_ce66_4e05_a78f_cf391a5ec2d1); +windows_core::imp::define_interface!(IRegionOfInterest, IRegionOfInterest_Vtbl, 0xe5ecc834_ce66_4e05_a78f_cf391a5ec2d1); #[repr(C)] pub struct IRegionOfInterest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -688,7 +688,7 @@ pub struct IRegionOfInterest_Vtbl { pub Bounds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, pub SetBounds: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRegionOfInterest2, IRegionOfInterest2_Vtbl, 0x19fe2a91_73aa_4d51_8a9d_56ccf7db7f54); +windows_core::imp::define_interface!(IRegionOfInterest2, IRegionOfInterest2_Vtbl, 0x19fe2a91_73aa_4d51_8a9d_56ccf7db7f54); #[repr(C)] pub struct IRegionOfInterest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -699,7 +699,7 @@ pub struct IRegionOfInterest2_Vtbl { pub Weight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetWeight: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRegionsOfInterestControl, IRegionsOfInterestControl_Vtbl, 0xc323f527_ab0b_4558_8b5b_df5693db0378); +windows_core::imp::define_interface!(IRegionsOfInterestControl, IRegionsOfInterestControl_Vtbl, 0xc323f527_ab0b_4558_8b5b_df5693db0378); #[repr(C)] pub struct IRegionsOfInterestControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -717,7 +717,7 @@ pub struct IRegionsOfInterestControl_Vtbl { pub AutoWhiteBalanceSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub AutoExposureSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneModeControl, ISceneModeControl_Vtbl, 0xd48e5af7_8d59_4854_8c62_12c70ba89b7c); +windows_core::imp::define_interface!(ISceneModeControl, ISceneModeControl_Vtbl, 0xd48e5af7_8d59_4854_8c62_12c70ba89b7c); #[repr(C)] pub struct ISceneModeControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -728,7 +728,7 @@ pub struct ISceneModeControl_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CaptureSceneMode) -> windows_core::HRESULT, pub SetValueAsync: unsafe extern "system" fn(*mut core::ffi::c_void, CaptureSceneMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITorchControl, ITorchControl_Vtbl, 0xa6053665_8250_416c_919a_724296afa306); +windows_core::imp::define_interface!(ITorchControl, ITorchControl_Vtbl, 0xa6053665_8250_416c_919a_724296afa306); #[repr(C)] pub struct ITorchControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -739,7 +739,7 @@ pub struct ITorchControl_Vtbl { pub PowerPercent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetPowerPercent: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoDeviceController, IVideoDeviceController_Vtbl, 0x99555575_2e2e_40b8_b6c7_f82d10013210); +windows_core::imp::define_interface!(IVideoDeviceController, IVideoDeviceController_Vtbl, 0x99555575_2e2e_40b8_b6c7_f82d10013210); #[repr(C)] pub struct IVideoDeviceController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -763,14 +763,14 @@ pub struct IVideoDeviceController_Vtbl { #[cfg(not(feature = "Media_Capture"))] TryGetPowerlineFrequency: usize, } -windows_core::imp::com_interface!(IVideoDeviceControllerGetDevicePropertyResult, IVideoDeviceControllerGetDevicePropertyResult_Vtbl, 0xc5d88395_6ed5_4790_8b5d_0ef13935d0f8); +windows_core::imp::define_interface!(IVideoDeviceControllerGetDevicePropertyResult, IVideoDeviceControllerGetDevicePropertyResult_Vtbl, 0xc5d88395_6ed5_4790_8b5d_0ef13935d0f8); #[repr(C)] pub struct IVideoDeviceControllerGetDevicePropertyResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VideoDeviceControllerGetDevicePropertyStatus) -> windows_core::HRESULT, pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoTemporalDenoisingControl, IVideoTemporalDenoisingControl_Vtbl, 0x7ab34735_3e2a_4a32_baff_4358c4fbdd57); +windows_core::imp::define_interface!(IVideoTemporalDenoisingControl, IVideoTemporalDenoisingControl_Vtbl, 0x7ab34735_3e2a_4a32_baff_4358c4fbdd57); #[repr(C)] pub struct IVideoTemporalDenoisingControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -782,7 +782,7 @@ pub struct IVideoTemporalDenoisingControl_Vtbl { pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VideoTemporalDenoisingMode) -> windows_core::HRESULT, pub SetMode: unsafe extern "system" fn(*mut core::ffi::c_void, VideoTemporalDenoisingMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWhiteBalanceControl, IWhiteBalanceControl_Vtbl, 0x781f047e_7162_49c8_a8f9_9481c565363e); +windows_core::imp::define_interface!(IWhiteBalanceControl, IWhiteBalanceControl_Vtbl, 0x781f047e_7162_49c8_a8f9_9481c565363e); #[repr(C)] pub struct IWhiteBalanceControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -795,7 +795,7 @@ pub struct IWhiteBalanceControl_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetValueAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IZoomControl, IZoomControl_Vtbl, 0x3a1e0b12_32da_4c17_bfd7_8d0c73c8f5a5); +windows_core::imp::define_interface!(IZoomControl, IZoomControl_Vtbl, 0x3a1e0b12_32da_4c17_bfd7_8d0c73c8f5a5); #[repr(C)] pub struct IZoomControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -806,7 +806,7 @@ pub struct IZoomControl_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IZoomControl2, IZoomControl2_Vtbl, 0x69843db0_2e99_4641_8529_184f319d1671); +windows_core::imp::define_interface!(IZoomControl2, IZoomControl2_Vtbl, 0x69843db0_2e99_4641_8529_184f319d1671); #[repr(C)] pub struct IZoomControl2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -817,7 +817,7 @@ pub struct IZoomControl2_Vtbl { pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ZoomTransitionMode) -> windows_core::HRESULT, pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IZoomSettings, IZoomSettings_Vtbl, 0x6ad66b24_14b4_4bfd_b18f_88fe24463b52); +windows_core::imp::define_interface!(IZoomSettings, IZoomSettings_Vtbl, 0x6ad66b24_14b4_4bfd_b18f_88fe24463b52); #[repr(C)] pub struct IZoomSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -4462,7 +4462,7 @@ impl core::fmt::Debug for ZoomTransitionMode { impl windows_core::RuntimeType for ZoomTransitionMode { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Devices.ZoomTransitionMode;i4)"); } -windows_core::imp::com_interface!(CallControlEventHandler, CallControlEventHandler_Vtbl, 0x596f759f_50df_4454_bc63_4d3d01b61958); +windows_core::imp::define_interface!(CallControlEventHandler, CallControlEventHandler_Vtbl, 0x596f759f_50df_4454_bc63_4d3d01b61958); impl CallControlEventHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = CallControlEventHandlerBox:: { vtable: &CallControlEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -4522,7 +4522,7 @@ pub struct CallControlEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(DialRequestedEventHandler, DialRequestedEventHandler_Vtbl, 0x5abbffdb_c21f_4bc4_891b_257e28c1b1a4); +windows_core::imp::define_interface!(DialRequestedEventHandler, DialRequestedEventHandler_Vtbl, 0x5abbffdb_c21f_4bc4_891b_257e28c1b1a4); impl DialRequestedEventHandler { pub fn new, Option<&DialRequestedEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = DialRequestedEventHandlerBox:: { vtable: &DialRequestedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -4583,7 +4583,7 @@ pub struct DialRequestedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: 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::com_interface!(KeypadPressedEventHandler, KeypadPressedEventHandler_Vtbl, 0xe637a454_c527_422c_8926_c9af83b559a0); +windows_core::imp::define_interface!(KeypadPressedEventHandler, KeypadPressedEventHandler_Vtbl, 0xe637a454_c527_422c_8926_c9af83b559a0); impl KeypadPressedEventHandler { pub fn new, Option<&KeypadPressedEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = KeypadPressedEventHandlerBox:: { vtable: &KeypadPressedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -4644,7 +4644,7 @@ pub struct KeypadPressedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: 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::com_interface!(RedialRequestedEventHandler, RedialRequestedEventHandler_Vtbl, 0xbaf257d1_4ebd_4b84_9f47_6ec43d75d8b1); +windows_core::imp::define_interface!(RedialRequestedEventHandler, RedialRequestedEventHandler_Vtbl, 0xbaf257d1_4ebd_4b84_9f47_6ec43d75d8b1); impl RedialRequestedEventHandler { pub fn new, Option<&RedialRequestedEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = RedialRequestedEventHandlerBox:: { vtable: &RedialRequestedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs index ff55c69743..6ded635b02 100644 --- a/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Media/DialProtocol/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDialApp, IDialApp_Vtbl, 0x555ffbd3_45b7_49f3_bbd7_302db6084646); +windows_core::imp::define_interface!(IDialApp, IDialApp_Vtbl, 0x555ffbd3_45b7_49f3_bbd7_302db6084646); #[repr(C)] pub struct IDialApp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,21 +7,21 @@ pub struct IDialApp_Vtbl { 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, } -windows_core::imp::com_interface!(IDialAppStateDetails, IDialAppStateDetails_Vtbl, 0xddc4a4a1_f5de_400d_bea4_8c8466bb2961); +windows_core::imp::define_interface!(IDialAppStateDetails, IDialAppStateDetails_Vtbl, 0xddc4a4a1_f5de_400d_bea4_8c8466bb2961); #[repr(C)] 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, } -windows_core::imp::com_interface!(IDialDevice, IDialDevice_Vtbl, 0xfff0edaf_759f_41d2_a20a_7f29ce0b3784); +windows_core::imp::define_interface!(IDialDevice, IDialDevice_Vtbl, 0xfff0edaf_759f_41d2_a20a_7f29ce0b3784); #[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, } -windows_core::imp::com_interface!(IDialDevice2, IDialDevice2_Vtbl, 0xbab7f3d5_5bfb_4eba_8b32_b57c5c5ee5c9); +windows_core::imp::define_interface!(IDialDevice2, IDialDevice2_Vtbl, 0xbab7f3d5_5bfb_4eba_8b32_b57c5c5ee5c9); #[repr(C)] pub struct IDialDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -31,7 +31,7 @@ pub struct IDialDevice2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Thumbnail: usize, } -windows_core::imp::com_interface!(IDialDevicePicker, IDialDevicePicker_Vtbl, 0xba7e520a_ff59_4f4b_bdac_d89f495ad6e1); +windows_core::imp::define_interface!(IDialDevicePicker, IDialDevicePicker_Vtbl, 0xba7e520a_ff59_4f4b_bdac_d89f495ad6e1); #[repr(C)] pub struct IDialDevicePicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -59,7 +59,7 @@ pub struct IDialDevicePicker_Vtbl { 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, DialDeviceDisplayStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDialDevicePickerFilter, IDialDevicePickerFilter_Vtbl, 0xc17c93ba_86c0_485d_b8d6_0f9a8f641590); +windows_core::imp::define_interface!(IDialDevicePickerFilter, IDialDevicePickerFilter_Vtbl, 0xc17c93ba_86c0_485d_b8d6_0f9a8f641590); #[repr(C)] pub struct IDialDevicePickerFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,13 +68,13 @@ pub struct IDialDevicePickerFilter_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedAppNames: usize, } -windows_core::imp::com_interface!(IDialDeviceSelectedEventArgs, IDialDeviceSelectedEventArgs_Vtbl, 0x480b92ad_ac76_47eb_9c06_a19304da0247); +windows_core::imp::define_interface!(IDialDeviceSelectedEventArgs, IDialDeviceSelectedEventArgs_Vtbl, 0x480b92ad_ac76_47eb_9c06_a19304da0247); #[repr(C)] pub struct IDialDeviceSelectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SelectedDialDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDialDeviceStatics, IDialDeviceStatics_Vtbl, 0xaa69cc95_01f8_4758_8461_2bbd1cdc3cf3); +windows_core::imp::define_interface!(IDialDeviceStatics, IDialDeviceStatics_Vtbl, 0xaa69cc95_01f8_4758_8461_2bbd1cdc3cf3); #[repr(C)] pub struct IDialDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -85,13 +85,13 @@ pub struct IDialDeviceStatics_Vtbl { #[cfg(not(feature = "Devices_Enumeration"))] DeviceInfoSupportsDialAsync: usize, } -windows_core::imp::com_interface!(IDialDisconnectButtonClickedEventArgs, IDialDisconnectButtonClickedEventArgs_Vtbl, 0x52765152_9c81_4e55_adc2_0ebe99cde3b6); +windows_core::imp::define_interface!(IDialDisconnectButtonClickedEventArgs, IDialDisconnectButtonClickedEventArgs_Vtbl, 0x52765152_9c81_4e55_adc2_0ebe99cde3b6); #[repr(C)] pub struct IDialDisconnectButtonClickedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Device: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDialReceiverApp, IDialReceiverApp_Vtbl, 0xfd3e7c57_5045_470e_b304_4dd9b13e7d11); +windows_core::imp::define_interface!(IDialReceiverApp, IDialReceiverApp_Vtbl, 0xfd3e7c57_5045_470e_b304_4dd9b13e7d11); #[repr(C)] pub struct IDialReceiverApp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -104,13 +104,13 @@ pub struct IDialReceiverApp_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetAdditionalDataAsync: usize, } -windows_core::imp::com_interface!(IDialReceiverApp2, IDialReceiverApp2_Vtbl, 0x530c5805_9130_42ac_a504_1977dcb2ea8a); +windows_core::imp::define_interface!(IDialReceiverApp2, IDialReceiverApp2_Vtbl, 0x530c5805_9130_42ac_a504_1977dcb2ea8a); #[repr(C)] pub struct IDialReceiverApp2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetUniqueDeviceNameAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDialReceiverAppStatics, IDialReceiverAppStatics_Vtbl, 0x53183a3c_4c36_4d02_b28a_f2a9da38ec52); +windows_core::imp::define_interface!(IDialReceiverAppStatics, IDialReceiverAppStatics_Vtbl, 0x53183a3c_4c36_4d02_b28a_f2a9da38ec52); #[repr(C)] pub struct IDialReceiverAppStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Editing/mod.rs b/crates/libs/windows/src/Windows/Media/Editing/mod.rs index fa88af3ff3..f33f96d63f 100644 --- a/crates/libs/windows/src/Windows/Media/Editing/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Editing/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IBackgroundAudioTrack, IBackgroundAudioTrack_Vtbl, 0x4b91b3bd_9e21_4266_a9c2_67dd011a2357); +windows_core::imp::define_interface!(IBackgroundAudioTrack, IBackgroundAudioTrack_Vtbl, 0x4b91b3bd_9e21_4266_a9c2_67dd011a2357); #[repr(C)] pub struct IBackgroundAudioTrack_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct IBackgroundAudioTrack_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_Effects")))] AudioEffectDefinitions: usize, } -windows_core::imp::com_interface!(IBackgroundAudioTrackStatics, IBackgroundAudioTrackStatics_Vtbl, 0xd9b1c0d7_d018_42a8_a559_cb4d9e97e664); +windows_core::imp::define_interface!(IBackgroundAudioTrackStatics, IBackgroundAudioTrackStatics_Vtbl, 0xd9b1c0d7_d018_42a8_a559_cb4d9e97e664); #[repr(C)] pub struct IBackgroundAudioTrackStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -36,7 +36,7 @@ pub struct IBackgroundAudioTrackStatics_Vtbl { #[cfg(not(feature = "Storage"))] CreateFromFileAsync: usize, } -windows_core::imp::com_interface!(IEmbeddedAudioTrack, IEmbeddedAudioTrack_Vtbl, 0x55ee5a7a_2d30_3fba_a190_4f1a6454f88f); +windows_core::imp::define_interface!(IEmbeddedAudioTrack, IEmbeddedAudioTrack_Vtbl, 0x55ee5a7a_2d30_3fba_a190_4f1a6454f88f); #[repr(C)] pub struct IEmbeddedAudioTrack_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -45,7 +45,7 @@ pub struct IEmbeddedAudioTrack_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] GetAudioEncodingProperties: usize, } -windows_core::imp::com_interface!(IMediaClip, IMediaClip_Vtbl, 0x53f25366_5fba_3ea4_8693_24761811140a); +windows_core::imp::define_interface!(IMediaClip, IMediaClip_Vtbl, 0x53f25366_5fba_3ea4_8693_24761811140a); #[repr(C)] pub struct IMediaClip_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -83,7 +83,7 @@ pub struct IMediaClip_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_Effects")))] VideoEffectDefinitions: usize, } -windows_core::imp::com_interface!(IMediaClipStatics, IMediaClipStatics_Vtbl, 0xfa402b68_928f_43c4_bc6e_783a1a359656); +windows_core::imp::define_interface!(IMediaClipStatics, IMediaClipStatics_Vtbl, 0xfa402b68_928f_43c4_bc6e_783a1a359656); #[repr(C)] pub struct IMediaClipStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -100,7 +100,7 @@ pub struct IMediaClipStatics_Vtbl { #[cfg(not(feature = "Storage"))] CreateFromImageFileAsync: usize, } -windows_core::imp::com_interface!(IMediaClipStatics2, IMediaClipStatics2_Vtbl, 0x5b1dd7b3_854e_4d9b_877d_4774a556cd12); +windows_core::imp::define_interface!(IMediaClipStatics2, IMediaClipStatics2_Vtbl, 0x5b1dd7b3_854e_4d9b_877d_4774a556cd12); #[repr(C)] pub struct IMediaClipStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -109,7 +109,7 @@ pub struct IMediaClipStatics2_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] CreateFromSurface: usize, } -windows_core::imp::com_interface!(IMediaComposition, IMediaComposition_Vtbl, 0x2e06e605_dc71_41d6_b837_2d2bc14a2947); +windows_core::imp::define_interface!(IMediaComposition, IMediaComposition_Vtbl, 0x2e06e605_dc71_41d6_b837_2d2bc14a2947); #[repr(C)] pub struct IMediaComposition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -168,7 +168,7 @@ pub struct IMediaComposition_Vtbl { #[cfg(not(feature = "Media_Core"))] GeneratePreviewMediaStreamSource: usize, } -windows_core::imp::com_interface!(IMediaComposition2, IMediaComposition2_Vtbl, 0xa59e5372_2366_492c_bec8_e6dfba6d0281); +windows_core::imp::define_interface!(IMediaComposition2, IMediaComposition2_Vtbl, 0xa59e5372_2366_492c_bec8_e6dfba6d0281); #[repr(C)] pub struct IMediaComposition2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -177,7 +177,7 @@ pub struct IMediaComposition2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] OverlayLayers: usize, } -windows_core::imp::com_interface!(IMediaCompositionStatics, IMediaCompositionStatics_Vtbl, 0x87a08f04_e32a_45ce_8f66_a30df0766224); +windows_core::imp::define_interface!(IMediaCompositionStatics, IMediaCompositionStatics_Vtbl, 0x87a08f04_e32a_45ce_8f66_a30df0766224); #[repr(C)] pub struct IMediaCompositionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -186,7 +186,7 @@ pub struct IMediaCompositionStatics_Vtbl { #[cfg(not(feature = "Storage"))] LoadAsync: usize, } -windows_core::imp::com_interface!(IMediaOverlay, IMediaOverlay_Vtbl, 0xa902ae5d_7869_4830_8ab1_94dc01c05fa4); +windows_core::imp::define_interface!(IMediaOverlay, IMediaOverlay_Vtbl, 0xa902ae5d_7869_4830_8ab1_94dc01c05fa4); #[repr(C)] pub struct IMediaOverlay_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -201,14 +201,14 @@ pub struct IMediaOverlay_Vtbl { pub AudioEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAudioEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaOverlayFactory, IMediaOverlayFactory_Vtbl, 0xb584828a_6188_4f8f_a2e0_aa552d598e18); +windows_core::imp::define_interface!(IMediaOverlayFactory, IMediaOverlayFactory_Vtbl, 0xb584828a_6188_4f8f_a2e0_aa552d598e18); #[repr(C)] pub struct IMediaOverlayFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWithPositionAndOpacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::Rect, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaOverlayLayer, IMediaOverlayLayer_Vtbl, 0xa6d9ba57_eeda_46c6_bbe5_e398c84168ac); +windows_core::imp::define_interface!(IMediaOverlayLayer, IMediaOverlayLayer_Vtbl, 0xa6d9ba57_eeda_46c6_bbe5_e398c84168ac); #[repr(C)] pub struct IMediaOverlayLayer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -222,7 +222,7 @@ pub struct IMediaOverlayLayer_Vtbl { #[cfg(not(feature = "Media_Effects"))] CustomCompositorDefinition: usize, } -windows_core::imp::com_interface!(IMediaOverlayLayerFactory, IMediaOverlayLayerFactory_Vtbl, 0x947cb473_a39e_4362_abbf_9f8b5070a062); +windows_core::imp::define_interface!(IMediaOverlayLayerFactory, IMediaOverlayLayerFactory_Vtbl, 0x947cb473_a39e_4362_abbf_9f8b5070a062); #[repr(C)] pub struct IMediaOverlayLayerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Effects/mod.rs b/crates/libs/windows/src/Windows/Media/Effects/mod.rs index 2427c67077..5c5f2b29c8 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAudioCaptureEffectsManager, IAudioCaptureEffectsManager_Vtbl, 0x8f85c271_038d_4393_8298_540110608eef); +windows_core::imp::define_interface!(IAudioCaptureEffectsManager, IAudioCaptureEffectsManager_Vtbl, 0x8f85c271_038d_4393_8298_540110608eef); #[repr(C)] pub struct IAudioCaptureEffectsManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,13 +9,13 @@ pub struct IAudioCaptureEffectsManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAudioCaptureEffects: usize, } -windows_core::imp::com_interface!(IAudioEffect, IAudioEffect_Vtbl, 0x34aafa51_9207_4055_be93_6e5734a86ae4); +windows_core::imp::define_interface!(IAudioEffect, IAudioEffect_Vtbl, 0x34aafa51_9207_4055_be93_6e5734a86ae4); #[repr(C)] pub struct IAudioEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AudioEffectType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioEffectType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEffectDefinition, IAudioEffectDefinition_Vtbl, 0xe4d7f974_7d80_4f73_9089_e31c9db9c294); +windows_core::imp::define_interface!(IAudioEffectDefinition, IAudioEffectDefinition_Vtbl, 0xe4d7f974_7d80_4f73_9089_e31c9db9c294); windows_core::imp::interface_hierarchy!(IAudioEffectDefinition, windows_core::IUnknown, windows_core::IInspectable); impl IAudioEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { @@ -46,7 +46,7 @@ pub struct IAudioEffectDefinition_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IAudioEffectDefinitionFactory, IAudioEffectDefinitionFactory_Vtbl, 0x8e1da646_e705_45ed_8a2b_fc4e4f405a97); +windows_core::imp::define_interface!(IAudioEffectDefinitionFactory, IAudioEffectDefinitionFactory_Vtbl, 0x8e1da646_e705_45ed_8a2b_fc4e4f405a97); #[repr(C)] pub struct IAudioEffectDefinitionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,7 +56,7 @@ pub struct IAudioEffectDefinitionFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithProperties: usize, } -windows_core::imp::com_interface!(IAudioEffectsManagerStatics, IAudioEffectsManagerStatics_Vtbl, 0x66406c04_86fa_47cc_a315_f489d8c3fe10); +windows_core::imp::define_interface!(IAudioEffectsManagerStatics, IAudioEffectsManagerStatics_Vtbl, 0x66406c04_86fa_47cc_a315_f489d8c3fe10); #[repr(C)] pub struct IAudioEffectsManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -77,7 +77,7 @@ pub struct IAudioEffectsManagerStatics_Vtbl { #[cfg(not(feature = "Media_Capture"))] CreateAudioCaptureEffectsManagerWithMode: usize, } -windows_core::imp::com_interface!(IAudioRenderEffectsManager, IAudioRenderEffectsManager_Vtbl, 0x4dc98966_8751_42b2_bfcb_39ca7864bd47); +windows_core::imp::define_interface!(IAudioRenderEffectsManager, IAudioRenderEffectsManager_Vtbl, 0x4dc98966_8751_42b2_bfcb_39ca7864bd47); #[repr(C)] pub struct IAudioRenderEffectsManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,7 +89,7 @@ pub struct IAudioRenderEffectsManager_Vtbl { GetAudioRenderEffects: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IAudioRenderEffectsManager2, IAudioRenderEffectsManager2_Vtbl, 0xa844cd09_5ecc_44b3_bb4e_1db07287139c); +windows_core::imp::define_interface!(IAudioRenderEffectsManager2, IAudioRenderEffectsManager2_Vtbl, 0xa844cd09_5ecc_44b3_bb4e_1db07287139c); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IAudioRenderEffectsManager2_Vtbl { @@ -107,7 +107,7 @@ pub struct IAudioRenderEffectsManager2_Vtbl { #[cfg(not(feature = "deprecated"))] ShowSettingsUI: usize, } -windows_core::imp::com_interface!(IBasicAudioEffect, IBasicAudioEffect_Vtbl, 0x8c062c53_6bc0_48b8_a99a_4b41550f1359); +windows_core::imp::define_interface!(IBasicAudioEffect, IBasicAudioEffect_Vtbl, 0x8c062c53_6bc0_48b8_a99a_4b41550f1359); windows_core::imp::interface_hierarchy!(IBasicAudioEffect, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IBasicAudioEffect, super::IMediaExtension); impl IBasicAudioEffect { @@ -177,7 +177,7 @@ pub struct IBasicAudioEffect_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void, MediaEffectClosedReason) -> windows_core::HRESULT, pub DiscardQueuedFrames: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBasicVideoEffect, IBasicVideoEffect_Vtbl, 0x8262c7ef_b360_40be_949b_2ff42ff35693); +windows_core::imp::define_interface!(IBasicVideoEffect, IBasicVideoEffect_Vtbl, 0x8262c7ef_b360_40be_949b_2ff42ff35693); windows_core::imp::interface_hierarchy!(IBasicVideoEffect, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IBasicVideoEffect, super::IMediaExtension); impl IBasicVideoEffect { @@ -264,7 +264,7 @@ pub struct IBasicVideoEffect_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void, MediaEffectClosedReason) -> windows_core::HRESULT, pub DiscardQueuedFrames: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositeVideoFrameContext, ICompositeVideoFrameContext_Vtbl, 0x6c30024b_f514_4278_a5f7_b9188049d110); +windows_core::imp::define_interface!(ICompositeVideoFrameContext, ICompositeVideoFrameContext_Vtbl, 0x6c30024b_f514_4278_a5f7_b9188049d110); #[repr(C)] pub struct ICompositeVideoFrameContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -279,28 +279,28 @@ pub struct ICompositeVideoFrameContext_Vtbl { #[cfg(not(all(feature = "Graphics_DirectX_Direct3D11", feature = "Media_Editing")))] GetOverlayForSurface: usize, } -windows_core::imp::com_interface!(IProcessAudioFrameContext, IProcessAudioFrameContext_Vtbl, 0x4cd92946_1222_4a27_a586_fb3e20273255); +windows_core::imp::define_interface!(IProcessAudioFrameContext, IProcessAudioFrameContext_Vtbl, 0x4cd92946_1222_4a27_a586_fb3e20273255); #[repr(C)] pub struct IProcessAudioFrameContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InputFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OutputFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessVideoFrameContext, IProcessVideoFrameContext_Vtbl, 0x276f0e2b_6461_401e_ba78_0fdad6114eec); +windows_core::imp::define_interface!(IProcessVideoFrameContext, IProcessVideoFrameContext_Vtbl, 0x276f0e2b_6461_401e_ba78_0fdad6114eec); #[repr(C)] pub struct IProcessVideoFrameContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InputFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OutputFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISlowMotionEffectDefinition, ISlowMotionEffectDefinition_Vtbl, 0x35053cd0_176c_4763_82c4_1b02dbe31737); +windows_core::imp::define_interface!(ISlowMotionEffectDefinition, ISlowMotionEffectDefinition_Vtbl, 0x35053cd0_176c_4763_82c4_1b02dbe31737); #[repr(C)] pub struct ISlowMotionEffectDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TimeStretchRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetTimeStretchRate: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoCompositor, IVideoCompositor_Vtbl, 0x8510b43e_420c_420f_96c7_7c98bba1fc55); +windows_core::imp::define_interface!(IVideoCompositor, IVideoCompositor_Vtbl, 0x8510b43e_420c_420f_96c7_7c98bba1fc55); windows_core::imp::interface_hierarchy!(IVideoCompositor, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IVideoCompositor, super::IMediaExtension); impl IVideoCompositor { @@ -359,7 +359,7 @@ pub struct IVideoCompositor_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void, MediaEffectClosedReason) -> windows_core::HRESULT, pub DiscardQueuedFrames: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoCompositorDefinition, IVideoCompositorDefinition_Vtbl, 0x7946b8d0_2010_4ae3_9ab2_2cef42edd4d2); +windows_core::imp::define_interface!(IVideoCompositorDefinition, IVideoCompositorDefinition_Vtbl, 0x7946b8d0_2010_4ae3_9ab2_2cef42edd4d2); windows_core::imp::interface_hierarchy!(IVideoCompositorDefinition, windows_core::IUnknown, windows_core::IInspectable); impl IVideoCompositorDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { @@ -390,7 +390,7 @@ pub struct IVideoCompositorDefinition_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IVideoCompositorDefinitionFactory, IVideoCompositorDefinitionFactory_Vtbl, 0x4366fd10_68b8_4d52_89b6_02a968cca899); +windows_core::imp::define_interface!(IVideoCompositorDefinitionFactory, IVideoCompositorDefinitionFactory_Vtbl, 0x4366fd10_68b8_4d52_89b6_02a968cca899); #[repr(C)] pub struct IVideoCompositorDefinitionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -400,7 +400,7 @@ pub struct IVideoCompositorDefinitionFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithProperties: usize, } -windows_core::imp::com_interface!(IVideoEffectDefinition, IVideoEffectDefinition_Vtbl, 0x39f38cf0_8d0f_4f3e_84fc_2d46a5297943); +windows_core::imp::define_interface!(IVideoEffectDefinition, IVideoEffectDefinition_Vtbl, 0x39f38cf0_8d0f_4f3e_84fc_2d46a5297943); windows_core::imp::interface_hierarchy!(IVideoEffectDefinition, windows_core::IUnknown, windows_core::IInspectable); impl IVideoEffectDefinition { pub fn ActivatableClassId(&self) -> windows_core::Result { @@ -431,7 +431,7 @@ pub struct IVideoEffectDefinition_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IVideoEffectDefinitionFactory, IVideoEffectDefinitionFactory_Vtbl, 0x81439b4e_6e33_428f_9d21_b5aafef7617c); +windows_core::imp::define_interface!(IVideoEffectDefinitionFactory, IVideoEffectDefinitionFactory_Vtbl, 0x81439b4e_6e33_428f_9d21_b5aafef7617c); #[repr(C)] pub struct IVideoEffectDefinitionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -441,7 +441,7 @@ pub struct IVideoEffectDefinitionFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithProperties: usize, } -windows_core::imp::com_interface!(IVideoTransformEffectDefinition, IVideoTransformEffectDefinition_Vtbl, 0x9664bb6a_1ea6_4aa6_8074_abe8851ecae2); +windows_core::imp::define_interface!(IVideoTransformEffectDefinition, IVideoTransformEffectDefinition_Vtbl, 0x9664bb6a_1ea6_4aa6_8074_abe8851ecae2); #[repr(C)] pub struct IVideoTransformEffectDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -482,13 +482,13 @@ pub struct IVideoTransformEffectDefinition_Vtbl { #[cfg(not(feature = "Media_Transcoding"))] ProcessingAlgorithm: usize, } -windows_core::imp::com_interface!(IVideoTransformEffectDefinition2, IVideoTransformEffectDefinition2_Vtbl, 0xf0a8089f_66c8_4694_9fd9_1136abf7444a); +windows_core::imp::define_interface!(IVideoTransformEffectDefinition2, IVideoTransformEffectDefinition2_Vtbl, 0xf0a8089f_66c8_4694_9fd9_1136abf7444a); #[repr(C)] pub struct IVideoTransformEffectDefinition2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SphericalProjection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoTransformSphericalProjection, IVideoTransformSphericalProjection_Vtbl, 0xcf4401f0_9bf2_4c39_9f41_e022514a8468); +windows_core::imp::define_interface!(IVideoTransformSphericalProjection, IVideoTransformSphericalProjection_Vtbl, 0xcf4401f0_9bf2_4c39_9f41_e022514a8468); #[repr(C)] pub struct IVideoTransformSphericalProjection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs index f0f9a318af..57f4c1a770 100644 --- a/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/FaceAnalysis/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDetectedFace, IDetectedFace_Vtbl, 0x8200d454_66bc_34df_9410_e89400195414); +windows_core::imp::define_interface!(IDetectedFace, IDetectedFace_Vtbl, 0x8200d454_66bc_34df_9410_e89400195414); #[repr(C)] pub struct IDetectedFace_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct IDetectedFace_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] FaceBox: usize, } -windows_core::imp::com_interface!(IFaceDetector, IFaceDetector_Vtbl, 0x16b672dc_fe6f_3117_8d95_c3f04d51630c); +windows_core::imp::define_interface!(IFaceDetector, IFaceDetector_Vtbl, 0x16b672dc_fe6f_3117_8d95_c3f04d51630c); #[repr(C)] pub struct IFaceDetector_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -36,7 +36,7 @@ pub struct IFaceDetector_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] SetMaxDetectableFaceSize: usize, } -windows_core::imp::com_interface!(IFaceDetectorStatics, IFaceDetectorStatics_Vtbl, 0xbc042d67_9047_33f6_881b_6746c1b218b8); +windows_core::imp::define_interface!(IFaceDetectorStatics, IFaceDetectorStatics_Vtbl, 0xbc042d67_9047_33f6_881b_6746c1b218b8); #[repr(C)] pub struct IFaceDetectorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -51,7 +51,7 @@ pub struct IFaceDetectorStatics_Vtbl { IsBitmapPixelFormatSupported: usize, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFaceTracker, IFaceTracker_Vtbl, 0x6ba67d8c_a841_4420_93e6_2420a1884fcf); +windows_core::imp::define_interface!(IFaceTracker, IFaceTracker_Vtbl, 0x6ba67d8c_a841_4420_93e6_2420a1884fcf); #[repr(C)] pub struct IFaceTracker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -76,7 +76,7 @@ pub struct IFaceTracker_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] SetMaxDetectableFaceSize: usize, } -windows_core::imp::com_interface!(IFaceTrackerStatics, IFaceTrackerStatics_Vtbl, 0xe9629198_1801_3fa5_932e_31d767af6c4d); +windows_core::imp::define_interface!(IFaceTrackerStatics, IFaceTrackerStatics_Vtbl, 0xe9629198_1801_3fa5_932e_31d767af6c4d); #[repr(C)] pub struct IFaceTrackerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Import/mod.rs b/crates/libs/windows/src/Windows/Media/Import/mod.rs index b74f2d1788..75b3f25002 100644 --- a/crates/libs/windows/src/Windows/Media/Import/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Import/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPhotoImportDeleteImportedItemsFromSourceResult, IPhotoImportDeleteImportedItemsFromSourceResult_Vtbl, 0xf4e112f8_843d_428a_a1a6_81510292b0ae); +windows_core::imp::define_interface!(IPhotoImportDeleteImportedItemsFromSourceResult, IPhotoImportDeleteImportedItemsFromSourceResult_Vtbl, 0xf4e112f8_843d_428a_a1a6_81510292b0ae); #[repr(C)] pub struct IPhotoImportDeleteImportedItemsFromSourceResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,7 +19,7 @@ pub struct IPhotoImportDeleteImportedItemsFromSourceResult_Vtbl { pub TotalCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub TotalSizeInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoImportFindItemsResult, IPhotoImportFindItemsResult_Vtbl, 0x3915e647_6c78_492b_844e_8fe5e8f6bfb9); +windows_core::imp::define_interface!(IPhotoImportFindItemsResult, IPhotoImportFindItemsResult_Vtbl, 0x3915e647_6c78_492b_844e_8fe5e8f6bfb9); #[repr(C)] pub struct IPhotoImportFindItemsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -60,13 +60,13 @@ pub struct IPhotoImportFindItemsResult_Vtbl { pub ItemImported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveItemImported: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoImportFindItemsResult2, IPhotoImportFindItemsResult2_Vtbl, 0xfbdd6a3b_ecf9_406a_815e_5015625b0a88); +windows_core::imp::define_interface!(IPhotoImportFindItemsResult2, IPhotoImportFindItemsResult2_Vtbl, 0xfbdd6a3b_ecf9_406a_815e_5015625b0a88); #[repr(C)] pub struct IPhotoImportFindItemsResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AddItemsInDateRangeToSelection: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoImportImportItemsResult, IPhotoImportImportItemsResult_Vtbl, 0xe4d4f478_d419_4443_a84e_f06a850c0b00); +windows_core::imp::define_interface!(IPhotoImportImportItemsResult, IPhotoImportImportItemsResult_Vtbl, 0xe4d4f478_d419_4443_a84e_f06a850c0b00); #[repr(C)] pub struct IPhotoImportImportItemsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,7 +88,7 @@ pub struct IPhotoImportImportItemsResult_Vtbl { pub TotalSizeInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub DeleteImportedItemsFromSourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoImportItem, IPhotoImportItem_Vtbl, 0xa9d07e76_9bfc_43b8_b356_633b6a988c9e); +windows_core::imp::define_interface!(IPhotoImportItem, IPhotoImportItem_Vtbl, 0xa9d07e76_9bfc_43b8_b356_633b6a988c9e); #[repr(C)] pub struct IPhotoImportItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -121,19 +121,19 @@ pub struct IPhotoImportItem_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] DeletedFileNames: usize, } -windows_core::imp::com_interface!(IPhotoImportItem2, IPhotoImportItem2_Vtbl, 0xf1053505_f53b_46a3_9e30_3610791a9110); +windows_core::imp::define_interface!(IPhotoImportItem2, IPhotoImportItem2_Vtbl, 0xf1053505_f53b_46a3_9e30_3610791a9110); #[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, } -windows_core::imp::com_interface!(IPhotoImportItemImportedEventArgs, IPhotoImportItemImportedEventArgs_Vtbl, 0x42cb2fdd_7d68_47b5_bc7c_ceb73e0c77dc); +windows_core::imp::define_interface!(IPhotoImportItemImportedEventArgs, IPhotoImportItemImportedEventArgs_Vtbl, 0x42cb2fdd_7d68_47b5_bc7c_ceb73e0c77dc); #[repr(C)] pub struct IPhotoImportItemImportedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ImportedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoImportManagerStatics, IPhotoImportManagerStatics_Vtbl, 0x2771903d_a046_4f06_9b9c_bfd662e83287); +windows_core::imp::define_interface!(IPhotoImportManagerStatics, IPhotoImportManagerStatics_Vtbl, 0x2771903d_a046_4f06_9b9c_bfd662e83287); #[repr(C)] pub struct IPhotoImportManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -147,7 +147,7 @@ pub struct IPhotoImportManagerStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetPendingOperations: usize, } -windows_core::imp::com_interface!(IPhotoImportOperation, IPhotoImportOperation_Vtbl, 0xd9f797e4_a09a_4ee4_a4b1_20940277a5be); +windows_core::imp::define_interface!(IPhotoImportOperation, IPhotoImportOperation_Vtbl, 0xd9f797e4_a09a_4ee4_a4b1_20940277a5be); #[repr(C)] pub struct IPhotoImportOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -157,13 +157,13 @@ pub struct IPhotoImportOperation_Vtbl { pub ContinueImportingItemsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ContinueDeletingImportedItemsFromSourceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoImportSelectionChangedEventArgs, IPhotoImportSelectionChangedEventArgs_Vtbl, 0x10461782_fa9d_4c30_8bc9_4d64911572d5); +windows_core::imp::define_interface!(IPhotoImportSelectionChangedEventArgs, IPhotoImportSelectionChangedEventArgs_Vtbl, 0x10461782_fa9d_4c30_8bc9_4d64911572d5); #[repr(C)] pub struct IPhotoImportSelectionChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSelectionEmpty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoImportSession, IPhotoImportSession_Vtbl, 0xaa63916e_ecdb_4efe_94c6_5f5cafe34cfb); +windows_core::imp::define_interface!(IPhotoImportSession, IPhotoImportSession_Vtbl, 0xaa63916e_ecdb_4efe_94c6_5f5cafe34cfb); #[repr(C)] pub struct IPhotoImportSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -185,7 +185,7 @@ pub struct IPhotoImportSession_Vtbl { pub DestinationFileNamePrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IPhotoImportSession2, IPhotoImportSession2_Vtbl, 0x2a526710_3ec6_469d_a375_2b9f4785391e); +windows_core::imp::define_interface!(IPhotoImportSession2, IPhotoImportSession2_Vtbl, 0x2a526710_3ec6_469d_a375_2b9f4785391e); #[repr(C)] pub struct IPhotoImportSession2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -194,7 +194,7 @@ pub struct IPhotoImportSession2_Vtbl { pub SetRememberDeselectedItems: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub RememberDeselectedItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoImportSidecar, IPhotoImportSidecar_Vtbl, 0x46d7d757_f802_44c7_9c98_7a71f4bc1486); +windows_core::imp::define_interface!(IPhotoImportSidecar, IPhotoImportSidecar_Vtbl, 0x46d7d757_f802_44c7_9c98_7a71f4bc1486); #[repr(C)] pub struct IPhotoImportSidecar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -202,7 +202,7 @@ pub struct IPhotoImportSidecar_Vtbl { 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, } -windows_core::imp::com_interface!(IPhotoImportSource, IPhotoImportSource_Vtbl, 0x1f8ea35e_145b_4cd6_87f1_54965a982fef); +windows_core::imp::define_interface!(IPhotoImportSource, IPhotoImportSource_Vtbl, 0x1f8ea35e_145b_4cd6_87f1_54965a982fef); #[repr(C)] pub struct IPhotoImportSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -230,7 +230,7 @@ pub struct IPhotoImportSource_Vtbl { Thumbnail: usize, pub CreateImportSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoImportSourceStatics, IPhotoImportSourceStatics_Vtbl, 0x0528e586_32d8_467c_8cee_23a1b2f43e85); +windows_core::imp::define_interface!(IPhotoImportSourceStatics, IPhotoImportSourceStatics_Vtbl, 0x0528e586_32d8_467c_8cee_23a1b2f43e85); #[repr(C)] pub struct IPhotoImportSourceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -240,7 +240,7 @@ pub struct IPhotoImportSourceStatics_Vtbl { #[cfg(not(feature = "Storage"))] FromFolderAsync: usize, } -windows_core::imp::com_interface!(IPhotoImportStorageMedium, IPhotoImportStorageMedium_Vtbl, 0xf2b9b093_fc85_487f_87c2_58d675d05b07); +windows_core::imp::define_interface!(IPhotoImportStorageMedium, IPhotoImportStorageMedium_Vtbl, 0xf2b9b093_fc85_487f_87c2_58d675d05b07); #[repr(C)] pub struct IPhotoImportStorageMedium_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -253,7 +253,7 @@ pub struct IPhotoImportStorageMedium_Vtbl { pub AvailableSpaceInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoImportVideoSegment, IPhotoImportVideoSegment_Vtbl, 0x623c0289_321a_41d8_9166_8c62a333276c); +windows_core::imp::define_interface!(IPhotoImportVideoSegment, IPhotoImportVideoSegment_Vtbl, 0x623c0289_321a_41d8_9166_8c62a333276c); #[repr(C)] pub struct IPhotoImportVideoSegment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs index d5b2c3f708..2c939a256d 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAudioEncodingProperties, IAudioEncodingProperties_Vtbl, 0x62bc7a16_005c_4b3b_8a0b_0a090e9687f3); +windows_core::imp::define_interface!(IAudioEncodingProperties, IAudioEncodingProperties_Vtbl, 0x62bc7a16_005c_4b3b_8a0b_0a090e9687f3); #[repr(C)] pub struct IAudioEncodingProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,19 +11,19 @@ pub struct IAudioEncodingProperties_Vtbl { pub SetBitsPerSample: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub BitsPerSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEncodingProperties2, IAudioEncodingProperties2_Vtbl, 0xc45d54da_80bd_4c23_80d5_72d4a181e894); +windows_core::imp::define_interface!(IAudioEncodingProperties2, IAudioEncodingProperties2_Vtbl, 0xc45d54da_80bd_4c23_80d5_72d4a181e894); #[repr(C)] pub struct IAudioEncodingProperties2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSpatial: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEncodingProperties3, IAudioEncodingProperties3_Vtbl, 0x87600341_748c_4f8d_b0fd_10caf08ff087); +windows_core::imp::define_interface!(IAudioEncodingProperties3, IAudioEncodingProperties3_Vtbl, 0x87600341_748c_4f8d_b0fd_10caf08ff087); #[repr(C)] pub struct IAudioEncodingProperties3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEncodingPropertiesStatics, IAudioEncodingPropertiesStatics_Vtbl, 0x0cad332c_ebe9_4527_b36d_e42a13cf38db); +windows_core::imp::define_interface!(IAudioEncodingPropertiesStatics, IAudioEncodingPropertiesStatics_Vtbl, 0x0cad332c_ebe9_4527_b36d_e42a13cf38db); #[repr(C)] pub struct IAudioEncodingPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,21 +33,21 @@ pub struct IAudioEncodingPropertiesStatics_Vtbl { pub CreatePcm: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWma: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEncodingPropertiesStatics2, IAudioEncodingPropertiesStatics2_Vtbl, 0x7489316f_77a0_433d_8ed5_4040280e8665); +windows_core::imp::define_interface!(IAudioEncodingPropertiesStatics2, IAudioEncodingPropertiesStatics2_Vtbl, 0x7489316f_77a0_433d_8ed5_4040280e8665); #[repr(C)] pub struct IAudioEncodingPropertiesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateAlac: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFlac: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEncodingPropertiesWithFormatUserData, IAudioEncodingPropertiesWithFormatUserData_Vtbl, 0x98f10d79_13ea_49ff_be70_2673db69702c); +windows_core::imp::define_interface!(IAudioEncodingPropertiesWithFormatUserData, IAudioEncodingPropertiesWithFormatUserData_Vtbl, 0x98f10d79_13ea_49ff_be70_2673db69702c); #[repr(C)] pub struct IAudioEncodingPropertiesWithFormatUserData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetFormatUserData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, pub GetFormatUserData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAv1ProfileIdsStatics, IAv1ProfileIdsStatics_Vtbl, 0x9105812b_7c09_5882_88a4_678008a5174d); +windows_core::imp::define_interface!(IAv1ProfileIdsStatics, IAv1ProfileIdsStatics_Vtbl, 0x9105812b_7c09_5882_88a4_678008a5174d); #[repr(C)] pub struct IAv1ProfileIdsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -64,18 +64,18 @@ pub struct IAv1ProfileIdsStatics_Vtbl { pub ProfessionalChromaSubsampling422BitDepth10: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ProfessionalChromaSubsampling422BitDepth12: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContainerEncodingProperties, IContainerEncodingProperties_Vtbl, 0x59ac2a57_b32a_479e_8a61_4b7f2e9e7ea0); +windows_core::imp::define_interface!(IContainerEncodingProperties, IContainerEncodingProperties_Vtbl, 0x59ac2a57_b32a_479e_8a61_4b7f2e9e7ea0); #[repr(C)] pub struct IContainerEncodingProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IContainerEncodingProperties2, IContainerEncodingProperties2_Vtbl, 0xb272c029_ae26_4819_baad_ad7a49b0a876); +windows_core::imp::define_interface!(IContainerEncodingProperties2, IContainerEncodingProperties2_Vtbl, 0xb272c029_ae26_4819_baad_ad7a49b0a876); #[repr(C)] pub struct IContainerEncodingProperties2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IH264ProfileIdsStatics, IH264ProfileIdsStatics_Vtbl, 0x38654ca7_846a_4f97_a2e5_c3a15bbf70fd); +windows_core::imp::define_interface!(IH264ProfileIdsStatics, IH264ProfileIdsStatics_Vtbl, 0x38654ca7_846a_4f97_a2e5_c3a15bbf70fd); #[repr(C)] pub struct IH264ProfileIdsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -90,7 +90,7 @@ pub struct IH264ProfileIdsStatics_Vtbl { pub StereoHigh: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MultiviewHigh: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHevcProfileIdsStatics, IHevcProfileIdsStatics_Vtbl, 0x1e50d280_2aa7_53c1_973f_2189fa656f53); +windows_core::imp::define_interface!(IHevcProfileIdsStatics, IHevcProfileIdsStatics_Vtbl, 0x1e50d280_2aa7_53c1_973f_2189fa656f53); #[repr(C)] pub struct IHevcProfileIdsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -117,7 +117,7 @@ pub struct IHevcProfileIdsStatics_Vtbl { pub MainStillChromaSubsampling444BitDepth8: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MainStillChromaSubsampling444BitDepth16: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageEncodingProperties, IImageEncodingProperties_Vtbl, 0x78625635_f331_4189_b1c3_b48d5ae034f1); +windows_core::imp::define_interface!(IImageEncodingProperties, IImageEncodingProperties_Vtbl, 0x78625635_f331_4189_b1c3_b48d5ae034f1); #[repr(C)] pub struct IImageEncodingProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -126,13 +126,13 @@ pub struct IImageEncodingProperties_Vtbl { pub SetHeight: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageEncodingProperties2, IImageEncodingProperties2_Vtbl, 0xc854a2df_c923_469b_ac8e_6a9f3c1cd9e3); +windows_core::imp::define_interface!(IImageEncodingProperties2, IImageEncodingProperties2_Vtbl, 0xc854a2df_c923_469b_ac8e_6a9f3c1cd9e3); #[repr(C)] pub struct IImageEncodingProperties2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageEncodingPropertiesStatics, IImageEncodingPropertiesStatics_Vtbl, 0x257c68dc_8b99_439e_aa59_913a36161297); +windows_core::imp::define_interface!(IImageEncodingPropertiesStatics, IImageEncodingPropertiesStatics_Vtbl, 0x257c68dc_8b99_439e_aa59_913a36161297); #[repr(C)] pub struct IImageEncodingPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -140,20 +140,20 @@ pub struct IImageEncodingPropertiesStatics_Vtbl { pub CreatePng: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateJpegXR: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageEncodingPropertiesStatics2, IImageEncodingPropertiesStatics2_Vtbl, 0xf6c25b29_3824_46b0_956e_501329e1be3c); +windows_core::imp::define_interface!(IImageEncodingPropertiesStatics2, IImageEncodingPropertiesStatics2_Vtbl, 0xf6c25b29_3824_46b0_956e_501329e1be3c); #[repr(C)] pub struct IImageEncodingPropertiesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateUncompressed: unsafe extern "system" fn(*mut core::ffi::c_void, MediaPixelFormat, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateBmp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageEncodingPropertiesStatics3, IImageEncodingPropertiesStatics3_Vtbl, 0x48f4814d_a2ff_48dc_8ea0_e90680663656); +windows_core::imp::define_interface!(IImageEncodingPropertiesStatics3, IImageEncodingPropertiesStatics3_Vtbl, 0x48f4814d_a2ff_48dc_8ea0_e90680663656); #[repr(C)] pub struct IImageEncodingPropertiesStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateHeif: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaEncodingProfile, IMediaEncodingProfile_Vtbl, 0xe7dbf5a8_1db9_4783_876b_3dfe12acfdb3); +windows_core::imp::define_interface!(IMediaEncodingProfile, IMediaEncodingProfile_Vtbl, 0xe7dbf5a8_1db9_4783_876b_3dfe12acfdb3); #[repr(C)] pub struct IMediaEncodingProfile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -164,7 +164,7 @@ pub struct IMediaEncodingProfile_Vtbl { pub SetContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Container: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaEncodingProfile2, IMediaEncodingProfile2_Vtbl, 0x349b3e0a_4035_488e_9877_85632865ed10); +windows_core::imp::define_interface!(IMediaEncodingProfile2, IMediaEncodingProfile2_Vtbl, 0x349b3e0a_4035_488e_9877_85632865ed10); #[repr(C)] pub struct IMediaEncodingProfile2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -185,7 +185,7 @@ pub struct IMediaEncodingProfile2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_Core")))] GetVideoTracks: usize, } -windows_core::imp::com_interface!(IMediaEncodingProfile3, IMediaEncodingProfile3_Vtbl, 0xba6ebe88_7570_4e69_accf_5611ad015f88); +windows_core::imp::define_interface!(IMediaEncodingProfile3, IMediaEncodingProfile3_Vtbl, 0xba6ebe88_7570_4e69_accf_5611ad015f88); #[repr(C)] pub struct IMediaEncodingProfile3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -198,7 +198,7 @@ pub struct IMediaEncodingProfile3_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_Core")))] GetTimedMetadataTracks: usize, } -windows_core::imp::com_interface!(IMediaEncodingProfileStatics, IMediaEncodingProfileStatics_Vtbl, 0x197f352c_2ede_4a45_a896_817a4854f8fe); +windows_core::imp::define_interface!(IMediaEncodingProfileStatics, IMediaEncodingProfileStatics_Vtbl, 0x197f352c_2ede_4a45_a896_817a4854f8fe); #[repr(C)] pub struct IMediaEncodingProfileStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -216,14 +216,14 @@ pub struct IMediaEncodingProfileStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromStreamAsync: usize, } -windows_core::imp::com_interface!(IMediaEncodingProfileStatics2, IMediaEncodingProfileStatics2_Vtbl, 0xce8de74f_6af4_4288_8fe2_79adf1f79a43); +windows_core::imp::define_interface!(IMediaEncodingProfileStatics2, IMediaEncodingProfileStatics2_Vtbl, 0xce8de74f_6af4_4288_8fe2_79adf1f79a43); #[repr(C)] pub struct IMediaEncodingProfileStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateWav: unsafe extern "system" fn(*mut core::ffi::c_void, AudioEncodingQuality, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateAvi: unsafe extern "system" fn(*mut core::ffi::c_void, VideoEncodingQuality, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaEncodingProfileStatics3, IMediaEncodingProfileStatics3_Vtbl, 0x90dac5aa_cf76_4294_a9ed_1a1420f51f6b); +windows_core::imp::define_interface!(IMediaEncodingProfileStatics3, IMediaEncodingProfileStatics3_Vtbl, 0x90dac5aa_cf76_4294_a9ed_1a1420f51f6b); #[repr(C)] pub struct IMediaEncodingProfileStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -231,14 +231,14 @@ pub struct IMediaEncodingProfileStatics3_Vtbl { pub CreateFlac: unsafe extern "system" fn(*mut core::ffi::c_void, AudioEncodingQuality, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateHevc: unsafe extern "system" fn(*mut core::ffi::c_void, VideoEncodingQuality, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaEncodingProfileStatics4, IMediaEncodingProfileStatics4_Vtbl, 0x6fafd7b5_9404_514a_81dd_c9444d648af0); +windows_core::imp::define_interface!(IMediaEncodingProfileStatics4, IMediaEncodingProfileStatics4_Vtbl, 0x6fafd7b5_9404_514a_81dd_c9444d648af0); #[repr(C)] pub struct IMediaEncodingProfileStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateVp9: unsafe extern "system" fn(*mut core::ffi::c_void, VideoEncodingQuality, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateAv1: unsafe extern "system" fn(*mut core::ffi::c_void, VideoEncodingQuality, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaEncodingProperties, IMediaEncodingProperties_Vtbl, 0xb4002af6_acd4_4e5a_a24b_5d7498a8b8c4); +windows_core::imp::define_interface!(IMediaEncodingProperties, IMediaEncodingProperties_Vtbl, 0xb4002af6_acd4_4e5a_a24b_5d7498a8b8c4); windows_core::imp::interface_hierarchy!(IMediaEncodingProperties, windows_core::IUnknown, windows_core::IInspectable); impl IMediaEncodingProperties { #[cfg(feature = "Foundation_Collections")] @@ -282,7 +282,7 @@ pub struct IMediaEncodingProperties_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaEncodingSubtypesStatics, IMediaEncodingSubtypesStatics_Vtbl, 0x37b6580e_a171_4464_ba5a_53189e48c1c8); +windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics, IMediaEncodingSubtypesStatics_Vtbl, 0x37b6580e_a171_4464_ba5a_53189e48c1c8); #[repr(C)] pub struct IMediaEncodingSubtypesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -327,7 +327,7 @@ pub struct IMediaEncodingSubtypesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaEncodingSubtypesStatics2, IMediaEncodingSubtypesStatics2_Vtbl, 0x4b7cd23d_42ff_4d33_8531_0626bee4b52d); +windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics2, IMediaEncodingSubtypesStatics2_Vtbl, 0x4b7cd23d_42ff_4d33_8531_0626bee4b52d); #[repr(C)] pub struct IMediaEncodingSubtypesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -336,26 +336,26 @@ pub struct IMediaEncodingSubtypesStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaEncodingSubtypesStatics3, IMediaEncodingSubtypesStatics3_Vtbl, 0xba2414e4_883d_464e_a44f_097da08ef7ff); +windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics3, IMediaEncodingSubtypesStatics3_Vtbl, 0xba2414e4_883d_464e_a44f_097da08ef7ff); #[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, } -windows_core::imp::com_interface!(IMediaEncodingSubtypesStatics4, IMediaEncodingSubtypesStatics4_Vtbl, 0xddece58a_3949_4644_8a2c_59ef02c642fa); +windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics4, IMediaEncodingSubtypesStatics4_Vtbl, 0xddece58a_3949_4644_8a2c_59ef02c642fa); #[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, } -windows_core::imp::com_interface!(IMediaEncodingSubtypesStatics5, IMediaEncodingSubtypesStatics5_Vtbl, 0x5ad4a007_ffce_4760_9828_5d0c99637e6a); +windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics5, IMediaEncodingSubtypesStatics5_Vtbl, 0x5ad4a007_ffce_4760_9828_5d0c99637e6a); #[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, } -windows_core::imp::com_interface!(IMediaEncodingSubtypesStatics6, IMediaEncodingSubtypesStatics6_Vtbl, 0xa1252973_a984_5912_93bb_54e7e569e053); +windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics6, IMediaEncodingSubtypesStatics6_Vtbl, 0xa1252973_a984_5912_93bb_54e7e569e053); #[repr(C)] pub struct IMediaEncodingSubtypesStatics6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -364,13 +364,13 @@ pub struct IMediaEncodingSubtypesStatics6_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaEncodingSubtypesStatics7, IMediaEncodingSubtypesStatics7_Vtbl, 0x92f2dca7_9937_52a1_b619_ddfad81cd99c); +windows_core::imp::define_interface!(IMediaEncodingSubtypesStatics7, IMediaEncodingSubtypesStatics7_Vtbl, 0x92f2dca7_9937_52a1_b619_ddfad81cd99c); #[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, } -windows_core::imp::com_interface!(IMediaRatio, IMediaRatio_Vtbl, 0xd2d0fee5_8929_401d_ac78_7d357e378163); +windows_core::imp::define_interface!(IMediaRatio, IMediaRatio_Vtbl, 0xd2d0fee5_8929_401d_ac78_7d357e378163); #[repr(C)] pub struct IMediaRatio_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -379,7 +379,7 @@ pub struct IMediaRatio_Vtbl { pub SetDenominator: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Denominator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMpeg2ProfileIdsStatics, IMpeg2ProfileIdsStatics_Vtbl, 0xa461ff85_e57a_4128_9b21_d5331b04235c); +windows_core::imp::define_interface!(IMpeg2ProfileIdsStatics, IMpeg2ProfileIdsStatics_Vtbl, 0xa461ff85_e57a_4128_9b21_d5331b04235c); #[repr(C)] pub struct IMpeg2ProfileIdsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -389,7 +389,7 @@ pub struct IMpeg2ProfileIdsStatics_Vtbl { pub SpatiallyScalable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub High: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedMetadataEncodingProperties, ITimedMetadataEncodingProperties_Vtbl, 0x51cd30d3_d690_4cfa_97f4_4a398e9db420); +windows_core::imp::define_interface!(ITimedMetadataEncodingProperties, ITimedMetadataEncodingProperties_Vtbl, 0x51cd30d3_d690_4cfa_97f4_4a398e9db420); #[repr(C)] pub struct ITimedMetadataEncodingProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -397,7 +397,7 @@ pub struct ITimedMetadataEncodingProperties_Vtbl { pub GetFormatUserData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedMetadataEncodingPropertiesStatics, ITimedMetadataEncodingPropertiesStatics_Vtbl, 0x6629bb67_6e55_5643_89a0_7a7e8d85b52c); +windows_core::imp::define_interface!(ITimedMetadataEncodingPropertiesStatics, ITimedMetadataEncodingPropertiesStatics_Vtbl, 0x6629bb67_6e55_5643_89a0_7a7e8d85b52c); #[repr(C)] pub struct ITimedMetadataEncodingPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -406,7 +406,7 @@ pub struct ITimedMetadataEncodingPropertiesStatics_Vtbl { pub CreateSsa: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateVobSub: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoEncodingProperties, IVideoEncodingProperties_Vtbl, 0x76ee6c9a_37c2_4f2a_880a_1282bbb4373d); +windows_core::imp::define_interface!(IVideoEncodingProperties, IVideoEncodingProperties_Vtbl, 0x76ee6c9a_37c2_4f2a_880a_1282bbb4373d); #[repr(C)] pub struct IVideoEncodingProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -419,7 +419,7 @@ pub struct IVideoEncodingProperties_Vtbl { pub FrameRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PixelAspectRatio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoEncodingProperties2, IVideoEncodingProperties2_Vtbl, 0xf743a1ef_d465_4290_a94b_ef0f1528f8e3); +windows_core::imp::define_interface!(IVideoEncodingProperties2, IVideoEncodingProperties2_Vtbl, 0xf743a1ef_d465_4290_a94b_ef0f1528f8e3); #[repr(C)] pub struct IVideoEncodingProperties2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -428,25 +428,25 @@ pub struct IVideoEncodingProperties2_Vtbl { pub SetProfileId: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ProfileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoEncodingProperties3, IVideoEncodingProperties3_Vtbl, 0x386bcdc4_873a_479f_b3eb_56c1fcbec6d7); +windows_core::imp::define_interface!(IVideoEncodingProperties3, IVideoEncodingProperties3_Vtbl, 0x386bcdc4_873a_479f_b3eb_56c1fcbec6d7); #[repr(C)] pub struct IVideoEncodingProperties3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StereoscopicVideoPackingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StereoscopicVideoPackingMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoEncodingProperties4, IVideoEncodingProperties4_Vtbl, 0x724ef014_c10c_40f2_9d72_3ee13b45fa8e); +windows_core::imp::define_interface!(IVideoEncodingProperties4, IVideoEncodingProperties4_Vtbl, 0x724ef014_c10c_40f2_9d72_3ee13b45fa8e); #[repr(C)] pub struct IVideoEncodingProperties4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SphericalVideoFrameFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SphericalVideoFrameFormat) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoEncodingProperties5, IVideoEncodingProperties5_Vtbl, 0x4959080f_272f_4ece_a4df_c0ccdb33d840); +windows_core::imp::define_interface!(IVideoEncodingProperties5, IVideoEncodingProperties5_Vtbl, 0x4959080f_272f_4ece_a4df_c0ccdb33d840); #[repr(C)] pub struct IVideoEncodingProperties5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoEncodingPropertiesStatics, IVideoEncodingPropertiesStatics_Vtbl, 0x3ce14d44_1dc5_43db_9f38_ebebf90152cb); +windows_core::imp::define_interface!(IVideoEncodingPropertiesStatics, IVideoEncodingPropertiesStatics_Vtbl, 0x3ce14d44_1dc5_43db_9f38_ebebf90152cb); #[repr(C)] pub struct IVideoEncodingPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -454,20 +454,20 @@ pub struct IVideoEncodingPropertiesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IVideoEncodingPropertiesStatics2, IVideoEncodingPropertiesStatics2_Vtbl, 0xcf1ebd5d_49fe_4d00_b59a_cfa4dfc51944); +windows_core::imp::define_interface!(IVideoEncodingPropertiesStatics2, IVideoEncodingPropertiesStatics2_Vtbl, 0xcf1ebd5d_49fe_4d00_b59a_cfa4dfc51944); #[repr(C)] pub struct IVideoEncodingPropertiesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateHevc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoEncodingPropertiesStatics3, IVideoEncodingPropertiesStatics3_Vtbl, 0x65b46685_60da_5e51_91a2_b38c4763b872); +windows_core::imp::define_interface!(IVideoEncodingPropertiesStatics3, IVideoEncodingPropertiesStatics3_Vtbl, 0x65b46685_60da_5e51_91a2_b38c4763b872); #[repr(C)] pub struct IVideoEncodingPropertiesStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateVp9: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateAv1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVp9ProfileIdsStatics, IVp9ProfileIdsStatics_Vtbl, 0x20311a55_fe06_5883_92d9_6080c97743e5); +windows_core::imp::define_interface!(IVp9ProfileIdsStatics, IVp9ProfileIdsStatics_Vtbl, 0x20311a55_fe06_5883_92d9_6080c97743e5); #[repr(C)] pub struct IVp9ProfileIdsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs index cc3e523725..fd138cce69 100644 --- a/crates/libs/windows/src/Windows/Media/Miracast/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Miracast/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IMiracastReceiver, IMiracastReceiver_Vtbl, 0x7a315258_e444_51b4_aff7_b88daa1229e0); +windows_core::imp::define_interface!(IMiracastReceiver, IMiracastReceiver_Vtbl, 0x7a315258_e444_51b4_aff7_b88daa1229e0); #[repr(C)] pub struct IMiracastReceiver_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -22,14 +22,14 @@ pub struct IMiracastReceiver_Vtbl { pub ClearKnownTransmitters: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveKnownTransmitter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMiracastReceiverApplySettingsResult, IMiracastReceiverApplySettingsResult_Vtbl, 0xd0aa6272_09cd_58e1_a4f2_5d5143d312f9); +windows_core::imp::define_interface!(IMiracastReceiverApplySettingsResult, IMiracastReceiverApplySettingsResult_Vtbl, 0xd0aa6272_09cd_58e1_a4f2_5d5143d312f9); #[repr(C)] pub struct IMiracastReceiverApplySettingsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MiracastReceiverApplySettingsStatus) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMiracastReceiverConnection, IMiracastReceiverConnection_Vtbl, 0x704b2f36_d2e5_551f_a854_f822b7917d28); +windows_core::imp::define_interface!(IMiracastReceiverConnection, IMiracastReceiverConnection_Vtbl, 0x704b2f36_d2e5_551f_a854_f822b7917d28); #[repr(C)] pub struct IMiracastReceiverConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,7 +44,7 @@ pub struct IMiracastReceiverConnection_Vtbl { pub CursorImageChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StreamControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMiracastReceiverConnectionCreatedEventArgs, IMiracastReceiverConnectionCreatedEventArgs_Vtbl, 0x7d8dfa39_307a_5c0f_94bd_d0c69d169982); +windows_core::imp::define_interface!(IMiracastReceiverConnectionCreatedEventArgs, IMiracastReceiverConnectionCreatedEventArgs_Vtbl, 0x7d8dfa39_307a_5c0f_94bd_d0c69d169982); #[repr(C)] pub struct IMiracastReceiverConnectionCreatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -52,7 +52,7 @@ pub struct IMiracastReceiverConnectionCreatedEventArgs_Vtbl { pub Pin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IMiracastReceiverCursorImageChannel, IMiracastReceiverCursorImageChannel_Vtbl, 0xd9ac332d_723a_5a9d_b90a_81153efa2a0f); +windows_core::imp::define_interface!(IMiracastReceiverCursorImageChannel, IMiracastReceiverCursorImageChannel_Vtbl, 0xd9ac332d_723a_5a9d_b90a_81153efa2a0f); #[repr(C)] pub struct IMiracastReceiverCursorImageChannel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -74,7 +74,7 @@ pub struct IMiracastReceiverCursorImageChannel_Vtbl { pub PositionChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePositionChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMiracastReceiverCursorImageChannelSettings, IMiracastReceiverCursorImageChannelSettings_Vtbl, 0xccdbedff_bd00_5b9c_8e4c_00cacf86b634); +windows_core::imp::define_interface!(IMiracastReceiverCursorImageChannelSettings, IMiracastReceiverCursorImageChannelSettings_Vtbl, 0xccdbedff_bd00_5b9c_8e4c_00cacf86b634); #[repr(C)] pub struct IMiracastReceiverCursorImageChannelSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,13 +89,13 @@ pub struct IMiracastReceiverCursorImageChannelSettings_Vtbl { #[cfg(not(feature = "Graphics"))] SetMaxImageSize: usize, } -windows_core::imp::com_interface!(IMiracastReceiverDisconnectedEventArgs, IMiracastReceiverDisconnectedEventArgs_Vtbl, 0xd9a15e5e_5fee_57e6_b4b0_04727db93229); +windows_core::imp::define_interface!(IMiracastReceiverDisconnectedEventArgs, IMiracastReceiverDisconnectedEventArgs_Vtbl, 0xd9a15e5e_5fee_57e6_b4b0_04727db93229); #[repr(C)] pub struct IMiracastReceiverDisconnectedEventArgs_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, } -windows_core::imp::com_interface!(IMiracastReceiverGameControllerDevice, IMiracastReceiverGameControllerDevice_Vtbl, 0x2d7171e8_bed4_5118_a058_e2477eb5888d); +windows_core::imp::define_interface!(IMiracastReceiverGameControllerDevice, IMiracastReceiverGameControllerDevice_Vtbl, 0x2d7171e8_bed4_5118_a058_e2477eb5888d); #[repr(C)] pub struct IMiracastReceiverGameControllerDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -108,14 +108,14 @@ pub struct IMiracastReceiverGameControllerDevice_Vtbl { 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, } -windows_core::imp::com_interface!(IMiracastReceiverInputDevices, IMiracastReceiverInputDevices_Vtbl, 0xda35bb02_28aa_5ee8_96f5_a42901c66f00); +windows_core::imp::define_interface!(IMiracastReceiverInputDevices, IMiracastReceiverInputDevices_Vtbl, 0xda35bb02_28aa_5ee8_96f5_a42901c66f00); #[repr(C)] pub struct IMiracastReceiverInputDevices_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Keyboard: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GameController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMiracastReceiverKeyboardDevice, IMiracastReceiverKeyboardDevice_Vtbl, 0xbeb67272_06c0_54ff_ac96_217464ff2501); +windows_core::imp::define_interface!(IMiracastReceiverKeyboardDevice, IMiracastReceiverKeyboardDevice_Vtbl, 0xbeb67272_06c0_54ff_ac96_217464ff2501); #[repr(C)] pub struct IMiracastReceiverKeyboardDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -126,7 +126,7 @@ pub struct IMiracastReceiverKeyboardDevice_Vtbl { 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, } -windows_core::imp::com_interface!(IMiracastReceiverMediaSourceCreatedEventArgs, IMiracastReceiverMediaSourceCreatedEventArgs_Vtbl, 0x17cf519e_1246_531d_945a_6b158e39c3aa); +windows_core::imp::define_interface!(IMiracastReceiverMediaSourceCreatedEventArgs, IMiracastReceiverMediaSourceCreatedEventArgs_Vtbl, 0x17cf519e_1246_531d_945a_6b158e39c3aa); #[repr(C)] pub struct IMiracastReceiverMediaSourceCreatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -138,7 +138,7 @@ pub struct IMiracastReceiverMediaSourceCreatedEventArgs_Vtbl { pub CursorImageChannelSettings: unsafe extern "system" fn(*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::com_interface!(IMiracastReceiverSession, IMiracastReceiverSession_Vtbl, 0x1d2bcdb4_ef8b_5209_bfc9_c32116504803); +windows_core::imp::define_interface!(IMiracastReceiverSession, IMiracastReceiverSession_Vtbl, 0x1d2bcdb4_ef8b_5209_bfc9_c32116504803); #[repr(C)] pub struct IMiracastReceiverSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -155,14 +155,14 @@ pub struct IMiracastReceiverSession_Vtbl { pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *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, } -windows_core::imp::com_interface!(IMiracastReceiverSessionStartResult, IMiracastReceiverSessionStartResult_Vtbl, 0xb7c573ee_40ca_51ff_95f2_c9de34f2e90e); +windows_core::imp::define_interface!(IMiracastReceiverSessionStartResult, IMiracastReceiverSessionStartResult_Vtbl, 0xb7c573ee_40ca_51ff_95f2_c9de34f2e90e); #[repr(C)] pub struct IMiracastReceiverSessionStartResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MiracastReceiverSessionStartStatus) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMiracastReceiverSettings, IMiracastReceiverSettings_Vtbl, 0x57cd2f24_c55a_5fbe_9464_eb05307705dd); +windows_core::imp::define_interface!(IMiracastReceiverSettings, IMiracastReceiverSettings_Vtbl, 0x57cd2f24_c55a_5fbe_9464_eb05307705dd); #[repr(C)] pub struct IMiracastReceiverSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -177,7 +177,7 @@ pub struct IMiracastReceiverSettings_Vtbl { pub RequireAuthorizationFromKnownTransmitters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetRequireAuthorizationFromKnownTransmitters: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMiracastReceiverStatus, IMiracastReceiverStatus_Vtbl, 0xc28a5591_23ab_519e_ad09_90bff6dcc87e); +windows_core::imp::define_interface!(IMiracastReceiverStatus, IMiracastReceiverStatus_Vtbl, 0xc28a5591_23ab_519e_ad09_90bff6dcc87e); #[repr(C)] pub struct IMiracastReceiverStatus_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -190,7 +190,7 @@ pub struct IMiracastReceiverStatus_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] KnownTransmitters: usize, } -windows_core::imp::com_interface!(IMiracastReceiverStreamControl, IMiracastReceiverStreamControl_Vtbl, 0x38ea2d8b_2769_5ad7_8a8a_254b9df7ba82); +windows_core::imp::define_interface!(IMiracastReceiverStreamControl, IMiracastReceiverStreamControl_Vtbl, 0x38ea2d8b_2769_5ad7_8a8a_254b9df7ba82); #[repr(C)] pub struct IMiracastReceiverStreamControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -201,7 +201,7 @@ pub struct IMiracastReceiverStreamControl_Vtbl { pub MuteAudio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetMuteAudio: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMiracastReceiverVideoStreamSettings, IMiracastReceiverVideoStreamSettings_Vtbl, 0x169b5e1b_149d_52d0_b126_6f89744e4f50); +windows_core::imp::define_interface!(IMiracastReceiverVideoStreamSettings, IMiracastReceiverVideoStreamSettings_Vtbl, 0x169b5e1b_149d_52d0_b126_6f89744e4f50); #[repr(C)] pub struct IMiracastReceiverVideoStreamSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -216,7 +216,7 @@ pub struct IMiracastReceiverVideoStreamSettings_Vtbl { pub Bitrate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBitrate: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMiracastTransmitter, IMiracastTransmitter_Vtbl, 0x342d79fd_2e64_5508_8a30_833d1eac70d0); +windows_core::imp::define_interface!(IMiracastTransmitter, IMiracastTransmitter_Vtbl, 0x342d79fd_2e64_5508_8a30_833d1eac70d0); #[repr(C)] pub struct IMiracastTransmitter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs index 04f1aa81b2..938ebe7eff 100644 --- a/crates/libs/windows/src/Windows/Media/Ocr/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Ocr/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IOcrEngine, IOcrEngine_Vtbl, 0x5a14bc41_5b76_3140_b680_8825562683ac); +windows_core::imp::define_interface!(IOcrEngine, IOcrEngine_Vtbl, 0x5a14bc41_5b76_3140_b680_8825562683ac); #[repr(C)] pub struct IOcrEngine_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,7 +11,7 @@ pub struct IOcrEngine_Vtbl { #[cfg(not(feature = "Globalization"))] RecognizerLanguage: usize, } -windows_core::imp::com_interface!(IOcrEngineStatics, IOcrEngineStatics_Vtbl, 0x5bffa85a_3384_3540_9940_699120d428a8); +windows_core::imp::define_interface!(IOcrEngineStatics, IOcrEngineStatics_Vtbl, 0x5bffa85a_3384_3540_9940_699120d428a8); #[repr(C)] pub struct IOcrEngineStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,7 +30,7 @@ pub struct IOcrEngineStatics_Vtbl { TryCreateFromLanguage: usize, pub TryCreateFromUserProfileLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOcrLine, IOcrLine_Vtbl, 0x0043a16f_e31f_3a24_899c_d444bd088124); +windows_core::imp::define_interface!(IOcrLine, IOcrLine_Vtbl, 0x0043a16f_e31f_3a24_899c_d444bd088124); #[repr(C)] pub struct IOcrLine_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -40,7 +40,7 @@ pub struct IOcrLine_Vtbl { Words: usize, pub Text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOcrResult, IOcrResult_Vtbl, 0x9bd235b2_175b_3d6a_92e2_388c206e2f63); +windows_core::imp::define_interface!(IOcrResult, IOcrResult_Vtbl, 0x9bd235b2_175b_3d6a_92e2_388c206e2f63); #[repr(C)] pub struct IOcrResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -51,7 +51,7 @@ pub struct IOcrResult_Vtbl { 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, } -windows_core::imp::com_interface!(IOcrWord, IOcrWord_Vtbl, 0x3c2a477a_5cd9_3525_ba2a_23d1e0a68a1d); +windows_core::imp::define_interface!(IOcrWord, IOcrWord_Vtbl, 0x3c2a477a_5cd9_3525_ba2a_23d1e0a68a1d); #[repr(C)] pub struct IOcrWord_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs index 7c1d332523..0ec3e87bd5 100644 --- a/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs +++ b/crates/libs/windows/src/Windows/Media/PlayTo/mod.rs @@ -1,17 +1,17 @@ -windows_core::imp::com_interface!(ICurrentTimeChangeRequestedEventArgs, ICurrentTimeChangeRequestedEventArgs_Vtbl, 0x99711324_edc7_4bf5_91f6_3c8627db59e5); +windows_core::imp::define_interface!(ICurrentTimeChangeRequestedEventArgs, ICurrentTimeChangeRequestedEventArgs_Vtbl, 0x99711324_edc7_4bf5_91f6_3c8627db59e5); #[repr(C)] pub struct ICurrentTimeChangeRequestedEventArgs_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, } -windows_core::imp::com_interface!(IMuteChangeRequestedEventArgs, IMuteChangeRequestedEventArgs_Vtbl, 0xe4b4f5f6_af1f_4f1e_b437_7da32400e1d4); +windows_core::imp::define_interface!(IMuteChangeRequestedEventArgs, IMuteChangeRequestedEventArgs_Vtbl, 0xe4b4f5f6_af1f_4f1e_b437_7da32400e1d4); #[repr(C)] pub struct IMuteChangeRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Mute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToConnection, IPlayToConnection_Vtbl, 0x112fbfc8_f235_4fde_8d41_9bf27c9e9a40); +windows_core::imp::define_interface!(IPlayToConnection, IPlayToConnection_Vtbl, 0x112fbfc8_f235_4fde_8d41_9bf27c9e9a40); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToConnection_Vtbl { @@ -46,7 +46,7 @@ pub struct IPlayToConnection_Vtbl { RemoveError: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToConnectionErrorEventArgs, IPlayToConnectionErrorEventArgs_Vtbl, 0xbf5eada6_88e6_445f_9d40_d9b9f8939896); +windows_core::imp::define_interface!(IPlayToConnectionErrorEventArgs, IPlayToConnectionErrorEventArgs_Vtbl, 0xbf5eada6_88e6_445f_9d40_d9b9f8939896); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToConnectionErrorEventArgs_Vtbl { @@ -61,7 +61,7 @@ pub struct IPlayToConnectionErrorEventArgs_Vtbl { Message: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToConnectionStateChangedEventArgs, IPlayToConnectionStateChangedEventArgs_Vtbl, 0x68c4b50f_0c20_4980_8602_58c62238d423); +windows_core::imp::define_interface!(IPlayToConnectionStateChangedEventArgs, IPlayToConnectionStateChangedEventArgs_Vtbl, 0x68c4b50f_0c20_4980_8602_58c62238d423); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToConnectionStateChangedEventArgs_Vtbl { @@ -76,7 +76,7 @@ pub struct IPlayToConnectionStateChangedEventArgs_Vtbl { CurrentState: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToConnectionTransferredEventArgs, IPlayToConnectionTransferredEventArgs_Vtbl, 0xfae3193a_0683_47d9_8df0_18cbb48984d8); +windows_core::imp::define_interface!(IPlayToConnectionTransferredEventArgs, IPlayToConnectionTransferredEventArgs_Vtbl, 0xfae3193a_0683_47d9_8df0_18cbb48984d8); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToConnectionTransferredEventArgs_Vtbl { @@ -91,7 +91,7 @@ pub struct IPlayToConnectionTransferredEventArgs_Vtbl { CurrentSource: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToManager, IPlayToManager_Vtbl, 0xf56a206e_1b77_42ef_8f0d_b949f8d9b260); +windows_core::imp::define_interface!(IPlayToManager, IPlayToManager_Vtbl, 0xf56a206e_1b77_42ef_8f0d_b949f8d9b260); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToManager_Vtbl { @@ -122,7 +122,7 @@ pub struct IPlayToManager_Vtbl { DefaultSourceSelection: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToManagerStatics, IPlayToManagerStatics_Vtbl, 0x64e6a887_3982_4f3b_ba20_6155e435325b); +windows_core::imp::define_interface!(IPlayToManagerStatics, IPlayToManagerStatics_Vtbl, 0x64e6a887_3982_4f3b_ba20_6155e435325b); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToManagerStatics_Vtbl { @@ -136,7 +136,7 @@ pub struct IPlayToManagerStatics_Vtbl { #[cfg(not(feature = "deprecated"))] ShowPlayToUI: usize, } -windows_core::imp::com_interface!(IPlayToReceiver, IPlayToReceiver_Vtbl, 0xac15cf47_a162_4aa6_af1b_3aa35f3b9069); +windows_core::imp::define_interface!(IPlayToReceiver, IPlayToReceiver_Vtbl, 0xac15cf47_a162_4aa6_af1b_3aa35f3b9069); #[repr(C)] pub struct IPlayToReceiver_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -186,7 +186,7 @@ pub struct IPlayToReceiver_Vtbl { pub StopAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToSource, IPlayToSource_Vtbl, 0x7f138a08_fbb7_4b09_8356_aa5f4e335c31); +windows_core::imp::define_interface!(IPlayToSource, IPlayToSource_Vtbl, 0x7f138a08_fbb7_4b09_8356_aa5f4e335c31); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToSource_Vtbl { @@ -209,7 +209,7 @@ pub struct IPlayToSource_Vtbl { PlayNext: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToSourceDeferral, IPlayToSourceDeferral_Vtbl, 0x4100891d_278e_4f29_859b_a9e501053e7d); +windows_core::imp::define_interface!(IPlayToSourceDeferral, IPlayToSourceDeferral_Vtbl, 0x4100891d_278e_4f29_859b_a9e501053e7d); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToSourceDeferral_Vtbl { @@ -220,7 +220,7 @@ pub struct IPlayToSourceDeferral_Vtbl { Complete: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToSourceRequest, IPlayToSourceRequest_Vtbl, 0xf8584665_64f4_44a0_ac0d_468d2b8fda83); +windows_core::imp::define_interface!(IPlayToSourceRequest, IPlayToSourceRequest_Vtbl, 0xf8584665_64f4_44a0_ac0d_468d2b8fda83); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToSourceRequest_Vtbl { @@ -243,7 +243,7 @@ pub struct IPlayToSourceRequest_Vtbl { SetSource: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToSourceRequestedEventArgs, IPlayToSourceRequestedEventArgs_Vtbl, 0xc5cdc330_29df_4ec6_9da9_9fbdfcfc1b3e); +windows_core::imp::define_interface!(IPlayToSourceRequestedEventArgs, IPlayToSourceRequestedEventArgs_Vtbl, 0xc5cdc330_29df_4ec6_9da9_9fbdfcfc1b3e); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToSourceRequestedEventArgs_Vtbl { @@ -254,7 +254,7 @@ pub struct IPlayToSourceRequestedEventArgs_Vtbl { SourceRequest: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToSourceSelectedEventArgs, IPlayToSourceSelectedEventArgs_Vtbl, 0x0c9d8511_5202_4dcb_8c67_abda12bb3c12); +windows_core::imp::define_interface!(IPlayToSourceSelectedEventArgs, IPlayToSourceSelectedEventArgs_Vtbl, 0x0c9d8511_5202_4dcb_8c67_abda12bb3c12); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToSourceSelectedEventArgs_Vtbl { @@ -281,7 +281,7 @@ pub struct IPlayToSourceSelectedEventArgs_Vtbl { SupportsVideo: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IPlayToSourceWithPreferredSourceUri, IPlayToSourceWithPreferredSourceUri_Vtbl, 0xaab253eb_3301_4dc4_afba_b2f2ed9635a0); +windows_core::imp::define_interface!(IPlayToSourceWithPreferredSourceUri, IPlayToSourceWithPreferredSourceUri_Vtbl, 0xaab253eb_3301_4dc4_afba_b2f2ed9635a0); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IPlayToSourceWithPreferredSourceUri_Vtbl { @@ -295,13 +295,13 @@ pub struct IPlayToSourceWithPreferredSourceUri_Vtbl { #[cfg(not(feature = "deprecated"))] SetPreferredSourceUri: usize, } -windows_core::imp::com_interface!(IPlaybackRateChangeRequestedEventArgs, IPlaybackRateChangeRequestedEventArgs_Vtbl, 0x0f5661ae_2c88_4cca_8540_d586095d13a5); +windows_core::imp::define_interface!(IPlaybackRateChangeRequestedEventArgs, IPlaybackRateChangeRequestedEventArgs_Vtbl, 0x0f5661ae_2c88_4cca_8540_d586095d13a5); #[repr(C)] pub struct IPlaybackRateChangeRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Rate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISourceChangeRequestedEventArgs, ISourceChangeRequestedEventArgs_Vtbl, 0xfb3f3a96_7aa6_4a8b_86e7_54f6c6d34f64); +windows_core::imp::define_interface!(ISourceChangeRequestedEventArgs, ISourceChangeRequestedEventArgs_Vtbl, 0xfb3f3a96_7aa6_4a8b_86e7_54f6c6d34f64); #[repr(C)] pub struct ISourceChangeRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -325,7 +325,7 @@ pub struct ISourceChangeRequestedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IVolumeChangeRequestedEventArgs, IVolumeChangeRequestedEventArgs_Vtbl, 0x6f026d5c_cf75_4c2b_913e_6d7c6c329179); +windows_core::imp::define_interface!(IVolumeChangeRequestedEventArgs, IVolumeChangeRequestedEventArgs_Vtbl, 0x6f026d5c_cf75_4c2b_913e_6d7c6c329179); #[repr(C)] pub struct IVolumeChangeRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Playback/mod.rs b/crates/libs/windows/src/Windows/Media/Playback/mod.rs index 88d933c95d..5a69f594cb 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IBackgroundMediaPlayerStatics, IBackgroundMediaPlayerStatics_Vtbl, 0x856ddbc1_55f7_471f_a0f2_68ac4c904592); +windows_core::imp::define_interface!(IBackgroundMediaPlayerStatics, IBackgroundMediaPlayerStatics_Vtbl, 0x856ddbc1_55f7_471f_a0f2_68ac4c904592); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IBackgroundMediaPlayerStatics_Vtbl { @@ -41,20 +41,20 @@ pub struct IBackgroundMediaPlayerStatics_Vtbl { #[cfg(not(feature = "deprecated"))] Shutdown: usize, } -windows_core::imp::com_interface!(ICurrentMediaPlaybackItemChangedEventArgs, ICurrentMediaPlaybackItemChangedEventArgs_Vtbl, 0x1743a892_5c43_4a15_967a_572d2d0f26c6); +windows_core::imp::define_interface!(ICurrentMediaPlaybackItemChangedEventArgs, ICurrentMediaPlaybackItemChangedEventArgs_Vtbl, 0x1743a892_5c43_4a15_967a_572d2d0f26c6); #[repr(C)] pub struct ICurrentMediaPlaybackItemChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NewItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OldItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICurrentMediaPlaybackItemChangedEventArgs2, ICurrentMediaPlaybackItemChangedEventArgs2_Vtbl, 0x1d80a51e_996e_40a9_be48_e66ec90b2b7d); +windows_core::imp::define_interface!(ICurrentMediaPlaybackItemChangedEventArgs2, ICurrentMediaPlaybackItemChangedEventArgs2_Vtbl, 0x1d80a51e_996e_40a9_be48_e66ec90b2b7d); #[repr(C)] pub struct ICurrentMediaPlaybackItemChangedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaPlaybackItemChangedReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaBreak, IMediaBreak_Vtbl, 0x714be270_0def_4ebc_a489_6b34930e1558); +windows_core::imp::define_interface!(IMediaBreak, IMediaBreak_Vtbl, 0x714be270_0def_4ebc_a489_6b34930e1558); #[repr(C)] pub struct IMediaBreak_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,20 +68,20 @@ pub struct IMediaBreak_Vtbl { pub CanStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetCanStart: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaBreakEndedEventArgs, IMediaBreakEndedEventArgs_Vtbl, 0x32b93276_1c5d_4fee_8732_236dc3a88580); +windows_core::imp::define_interface!(IMediaBreakEndedEventArgs, IMediaBreakEndedEventArgs_Vtbl, 0x32b93276_1c5d_4fee_8732_236dc3a88580); #[repr(C)] pub struct IMediaBreakEndedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MediaBreak: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaBreakFactory, IMediaBreakFactory_Vtbl, 0x4516e002_18e0_4079_8b5f_d33495c15d2e); +windows_core::imp::define_interface!(IMediaBreakFactory, IMediaBreakFactory_Vtbl, 0x4516e002_18e0_4079_8b5f_d33495c15d2e); #[repr(C)] pub struct IMediaBreakFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, MediaBreakInsertionMethod, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWithPresentationPosition: unsafe extern "system" fn(*mut core::ffi::c_void, MediaBreakInsertionMethod, super::super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaBreakManager, IMediaBreakManager_Vtbl, 0xa854ddb1_feb4_4d9b_9d97_0fdbe58e5e39); +windows_core::imp::define_interface!(IMediaBreakManager, IMediaBreakManager_Vtbl, 0xa854ddb1_feb4_4d9b_9d97_0fdbe58e5e39); #[repr(C)] pub struct IMediaBreakManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -98,7 +98,7 @@ pub struct IMediaBreakManager_Vtbl { pub PlayBreak: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SkipCurrentBreak: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaBreakSchedule, IMediaBreakSchedule_Vtbl, 0xa19a5813_98b6_41d8_83da_f971d22b7bba); +windows_core::imp::define_interface!(IMediaBreakSchedule, IMediaBreakSchedule_Vtbl, 0xa19a5813_98b6_41d8_83da_f971d22b7bba); #[repr(C)] pub struct IMediaBreakSchedule_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -116,7 +116,7 @@ pub struct IMediaBreakSchedule_Vtbl { pub PostrollBreak: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PlaybackItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaBreakSeekedOverEventArgs, IMediaBreakSeekedOverEventArgs_Vtbl, 0xe5aa6746_0606_4492_b9d3_c3c8fde0a4ea); +windows_core::imp::define_interface!(IMediaBreakSeekedOverEventArgs, IMediaBreakSeekedOverEventArgs_Vtbl, 0xe5aa6746_0606_4492_b9d3_c3c8fde0a4ea); #[repr(C)] pub struct IMediaBreakSeekedOverEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -127,20 +127,20 @@ pub struct IMediaBreakSeekedOverEventArgs_Vtbl { pub OldPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub NewPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaBreakSkippedEventArgs, IMediaBreakSkippedEventArgs_Vtbl, 0x6ee94c05_2f54_4a3e_a3ab_24c3b270b4a3); +windows_core::imp::define_interface!(IMediaBreakSkippedEventArgs, IMediaBreakSkippedEventArgs_Vtbl, 0x6ee94c05_2f54_4a3e_a3ab_24c3b270b4a3); #[repr(C)] pub struct IMediaBreakSkippedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MediaBreak: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaBreakStartedEventArgs, IMediaBreakStartedEventArgs_Vtbl, 0xa87efe71_dfd4_454a_956e_0a4a648395f8); +windows_core::imp::define_interface!(IMediaBreakStartedEventArgs, IMediaBreakStartedEventArgs_Vtbl, 0xa87efe71_dfd4_454a_956e_0a4a648395f8); #[repr(C)] pub struct IMediaBreakStartedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MediaBreak: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IMediaEnginePlaybackSource, IMediaEnginePlaybackSource_Vtbl, 0x5c1d0ba7_3856_48b9_8dc6_244bf107bf8c); +windows_core::imp::define_interface!(IMediaEnginePlaybackSource, IMediaEnginePlaybackSource_Vtbl, 0x5c1d0ba7_3856_48b9_8dc6_244bf107bf8c); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(IMediaEnginePlaybackSource, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -179,7 +179,7 @@ pub struct IMediaEnginePlaybackSource_Vtbl { #[cfg(not(feature = "deprecated"))] SetPlaybackSource: usize, } -windows_core::imp::com_interface!(IMediaItemDisplayProperties, IMediaItemDisplayProperties_Vtbl, 0x1e3c1b48_7097_4384_a217_c1291dfa8c16); +windows_core::imp::define_interface!(IMediaItemDisplayProperties, IMediaItemDisplayProperties_Vtbl, 0x1e3c1b48_7097_4384_a217_c1291dfa8c16); #[repr(C)] pub struct IMediaItemDisplayProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -197,7 +197,7 @@ pub struct IMediaItemDisplayProperties_Vtbl { SetThumbnail: usize, pub ClearAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackCommandManager, IMediaPlaybackCommandManager_Vtbl, 0x5acee5a6_5cb6_4a5a_8521_cc86b1c1ed37); +windows_core::imp::define_interface!(IMediaPlaybackCommandManager, IMediaPlaybackCommandManager_Vtbl, 0x5acee5a6_5cb6_4a5a_8521_cc86b1c1ed37); #[repr(C)] pub struct IMediaPlaybackCommandManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -235,7 +235,7 @@ pub struct IMediaPlaybackCommandManager_Vtbl { pub RateReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRateReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs, IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_Vtbl, 0x3d6f4f23_5230_4411_a0e9_bad94c2a045c); +windows_core::imp::define_interface!(IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs, IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_Vtbl, 0x3d6f4f23_5230_4411_a0e9_bad94c2a045c); #[repr(C)] pub struct IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -244,7 +244,7 @@ pub struct IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs_Vtbl { pub AutoRepeatMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::MediaPlaybackAutoRepeatMode) -> 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::com_interface!(IMediaPlaybackCommandManagerCommandBehavior, IMediaPlaybackCommandManagerCommandBehavior_Vtbl, 0x786c1e78_ce78_4a10_afd6_843fcbb90c2e); +windows_core::imp::define_interface!(IMediaPlaybackCommandManagerCommandBehavior, IMediaPlaybackCommandManagerCommandBehavior_Vtbl, 0x786c1e78_ce78_4a10_afd6_843fcbb90c2e); #[repr(C)] pub struct IMediaPlaybackCommandManagerCommandBehavior_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -255,7 +255,7 @@ pub struct IMediaPlaybackCommandManagerCommandBehavior_Vtbl { pub IsEnabledChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveIsEnabledChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackCommandManagerFastForwardReceivedEventArgs, IMediaPlaybackCommandManagerFastForwardReceivedEventArgs_Vtbl, 0x30f064d9_b491_4d0a_bc21_3098bd1332e9); +windows_core::imp::define_interface!(IMediaPlaybackCommandManagerFastForwardReceivedEventArgs, IMediaPlaybackCommandManagerFastForwardReceivedEventArgs_Vtbl, 0x30f064d9_b491_4d0a_bc21_3098bd1332e9); #[repr(C)] pub struct IMediaPlaybackCommandManagerFastForwardReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -263,7 +263,7 @@ pub struct IMediaPlaybackCommandManagerFastForwardReceivedEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(IMediaPlaybackCommandManagerNextReceivedEventArgs, IMediaPlaybackCommandManagerNextReceivedEventArgs_Vtbl, 0xe1504433_a2b0_45d4_b9de_5f42ac14a839); +windows_core::imp::define_interface!(IMediaPlaybackCommandManagerNextReceivedEventArgs, IMediaPlaybackCommandManagerNextReceivedEventArgs_Vtbl, 0xe1504433_a2b0_45d4_b9de_5f42ac14a839); #[repr(C)] pub struct IMediaPlaybackCommandManagerNextReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -271,7 +271,7 @@ pub struct IMediaPlaybackCommandManagerNextReceivedEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(IMediaPlaybackCommandManagerPauseReceivedEventArgs, IMediaPlaybackCommandManagerPauseReceivedEventArgs_Vtbl, 0x5ceccd1c_c25c_4221_b16c_c3c98ce012d6); +windows_core::imp::define_interface!(IMediaPlaybackCommandManagerPauseReceivedEventArgs, IMediaPlaybackCommandManagerPauseReceivedEventArgs_Vtbl, 0x5ceccd1c_c25c_4221_b16c_c3c98ce012d6); #[repr(C)] pub struct IMediaPlaybackCommandManagerPauseReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -279,7 +279,7 @@ pub struct IMediaPlaybackCommandManagerPauseReceivedEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(IMediaPlaybackCommandManagerPlayReceivedEventArgs, IMediaPlaybackCommandManagerPlayReceivedEventArgs_Vtbl, 0x9af0004e_578b_4c56_a006_16159d888a48); +windows_core::imp::define_interface!(IMediaPlaybackCommandManagerPlayReceivedEventArgs, IMediaPlaybackCommandManagerPlayReceivedEventArgs_Vtbl, 0x9af0004e_578b_4c56_a006_16159d888a48); #[repr(C)] pub struct IMediaPlaybackCommandManagerPlayReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -287,7 +287,7 @@ pub struct IMediaPlaybackCommandManagerPlayReceivedEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(IMediaPlaybackCommandManagerPositionReceivedEventArgs, IMediaPlaybackCommandManagerPositionReceivedEventArgs_Vtbl, 0x5591a754_d627_4bdd_a90d_86a015b24902); +windows_core::imp::define_interface!(IMediaPlaybackCommandManagerPositionReceivedEventArgs, IMediaPlaybackCommandManagerPositionReceivedEventArgs_Vtbl, 0x5591a754_d627_4bdd_a90d_86a015b24902); #[repr(C)] pub struct IMediaPlaybackCommandManagerPositionReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -296,7 +296,7 @@ pub struct IMediaPlaybackCommandManagerPositionReceivedEventArgs_Vtbl { pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> 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::com_interface!(IMediaPlaybackCommandManagerPreviousReceivedEventArgs, IMediaPlaybackCommandManagerPreviousReceivedEventArgs_Vtbl, 0x525e3081_4632_4f76_99b1_d771623f6287); +windows_core::imp::define_interface!(IMediaPlaybackCommandManagerPreviousReceivedEventArgs, IMediaPlaybackCommandManagerPreviousReceivedEventArgs_Vtbl, 0x525e3081_4632_4f76_99b1_d771623f6287); #[repr(C)] pub struct IMediaPlaybackCommandManagerPreviousReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -304,7 +304,7 @@ pub struct IMediaPlaybackCommandManagerPreviousReceivedEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(IMediaPlaybackCommandManagerRateReceivedEventArgs, IMediaPlaybackCommandManagerRateReceivedEventArgs_Vtbl, 0x18ea3939_4a16_4169_8b05_3eb9f5ff78eb); +windows_core::imp::define_interface!(IMediaPlaybackCommandManagerRateReceivedEventArgs, IMediaPlaybackCommandManagerRateReceivedEventArgs_Vtbl, 0x18ea3939_4a16_4169_8b05_3eb9f5ff78eb); #[repr(C)] pub struct IMediaPlaybackCommandManagerRateReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -313,7 +313,7 @@ pub struct IMediaPlaybackCommandManagerRateReceivedEventArgs_Vtbl { pub PlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> 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::com_interface!(IMediaPlaybackCommandManagerRewindReceivedEventArgs, IMediaPlaybackCommandManagerRewindReceivedEventArgs_Vtbl, 0x9f085947_a3c0_425d_aaef_97ba7898b141); +windows_core::imp::define_interface!(IMediaPlaybackCommandManagerRewindReceivedEventArgs, IMediaPlaybackCommandManagerRewindReceivedEventArgs_Vtbl, 0x9f085947_a3c0_425d_aaef_97ba7898b141); #[repr(C)] pub struct IMediaPlaybackCommandManagerRewindReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -321,7 +321,7 @@ pub struct IMediaPlaybackCommandManagerRewindReceivedEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(IMediaPlaybackCommandManagerShuffleReceivedEventArgs, IMediaPlaybackCommandManagerShuffleReceivedEventArgs_Vtbl, 0x50a05cef_63ee_4a96_b7b5_fee08b9ff90c); +windows_core::imp::define_interface!(IMediaPlaybackCommandManagerShuffleReceivedEventArgs, IMediaPlaybackCommandManagerShuffleReceivedEventArgs_Vtbl, 0x50a05cef_63ee_4a96_b7b5_fee08b9ff90c); #[repr(C)] pub struct IMediaPlaybackCommandManagerShuffleReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -330,7 +330,7 @@ pub struct IMediaPlaybackCommandManagerShuffleReceivedEventArgs_Vtbl { pub IsShuffleRequested: 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, } -windows_core::imp::com_interface!(IMediaPlaybackItem, IMediaPlaybackItem_Vtbl, 0x047097d2_e4af_48ab_b283_6929e674ece2); +windows_core::imp::define_interface!(IMediaPlaybackItem, IMediaPlaybackItem_Vtbl, 0x047097d2_e4af_48ab_b283_6929e674ece2); #[repr(C)] pub struct IMediaPlaybackItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -366,7 +366,7 @@ pub struct IMediaPlaybackItem_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Media_Core")))] TimedMetadataTracks: usize, } -windows_core::imp::com_interface!(IMediaPlaybackItem2, IMediaPlaybackItem2_Vtbl, 0xd859d171_d7ef_4b81_ac1f_f40493cbb091); +windows_core::imp::define_interface!(IMediaPlaybackItem2, IMediaPlaybackItem2_Vtbl, 0xd859d171_d7ef_4b81_ac1f_f40493cbb091); #[repr(C)] pub struct IMediaPlaybackItem2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -378,7 +378,7 @@ pub struct IMediaPlaybackItem2_Vtbl { pub GetDisplayProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ApplyDisplayProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackItem3, IMediaPlaybackItem3_Vtbl, 0x0d328220_b80a_4d09_9ff8_f87094a1c831); +windows_core::imp::define_interface!(IMediaPlaybackItem3, IMediaPlaybackItem3_Vtbl, 0x0d328220_b80a_4d09_9ff8_f87094a1c831); #[repr(C)] pub struct IMediaPlaybackItem3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -388,14 +388,14 @@ pub struct IMediaPlaybackItem3_Vtbl { pub AutoLoadedDisplayProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AutoLoadedDisplayPropertyKind) -> windows_core::HRESULT, pub SetAutoLoadedDisplayProperties: unsafe extern "system" fn(*mut core::ffi::c_void, AutoLoadedDisplayPropertyKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackItemError, IMediaPlaybackItemError_Vtbl, 0x69fbef2b_dcd6_4df9_a450_dbf4c6f1c2c2); +windows_core::imp::define_interface!(IMediaPlaybackItemError, IMediaPlaybackItemError_Vtbl, 0x69fbef2b_dcd6_4df9_a450_dbf4c6f1c2c2); #[repr(C)] pub struct IMediaPlaybackItemError_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaPlaybackItemErrorCode) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackItemFactory, IMediaPlaybackItemFactory_Vtbl, 0x7133fce1_1769_4ff9_a7c1_38d2c4d42360); +windows_core::imp::define_interface!(IMediaPlaybackItemFactory, IMediaPlaybackItemFactory_Vtbl, 0x7133fce1_1769_4ff9_a7c1_38d2c4d42360); #[repr(C)] pub struct IMediaPlaybackItemFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -404,7 +404,7 @@ pub struct IMediaPlaybackItemFactory_Vtbl { #[cfg(not(feature = "Media_Core"))] Create: usize, } -windows_core::imp::com_interface!(IMediaPlaybackItemFactory2, IMediaPlaybackItemFactory2_Vtbl, 0xd77cdf3a_b947_4972_b35d_adfb931a71e6); +windows_core::imp::define_interface!(IMediaPlaybackItemFactory2, IMediaPlaybackItemFactory2_Vtbl, 0xd77cdf3a_b947_4972_b35d_adfb931a71e6); #[repr(C)] pub struct IMediaPlaybackItemFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -417,20 +417,20 @@ pub struct IMediaPlaybackItemFactory2_Vtbl { #[cfg(not(feature = "Media_Core"))] CreateWithStartTimeAndDurationLimit: usize, } -windows_core::imp::com_interface!(IMediaPlaybackItemFailedEventArgs, IMediaPlaybackItemFailedEventArgs_Vtbl, 0x7703134a_e9a7_47c3_862c_c656d30683d4); +windows_core::imp::define_interface!(IMediaPlaybackItemFailedEventArgs, IMediaPlaybackItemFailedEventArgs_Vtbl, 0x7703134a_e9a7_47c3_862c_c656d30683d4); #[repr(C)] pub struct IMediaPlaybackItemFailedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackItemOpenedEventArgs, IMediaPlaybackItemOpenedEventArgs_Vtbl, 0xcbd9bd82_3037_4fbe_ae8f_39fc39edf4ef); +windows_core::imp::define_interface!(IMediaPlaybackItemOpenedEventArgs, IMediaPlaybackItemOpenedEventArgs_Vtbl, 0xcbd9bd82_3037_4fbe_ae8f_39fc39edf4ef); #[repr(C)] pub struct IMediaPlaybackItemOpenedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackItemStatics, IMediaPlaybackItemStatics_Vtbl, 0x4b1be7f4_4345_403c_8a67_f5de91df4c86); +windows_core::imp::define_interface!(IMediaPlaybackItemStatics, IMediaPlaybackItemStatics_Vtbl, 0x4b1be7f4_4345_403c_8a67_f5de91df4c86); #[repr(C)] pub struct IMediaPlaybackItemStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -439,7 +439,7 @@ pub struct IMediaPlaybackItemStatics_Vtbl { #[cfg(not(feature = "Media_Core"))] FindFromMediaSource: usize, } -windows_core::imp::com_interface!(IMediaPlaybackList, IMediaPlaybackList_Vtbl, 0x7f77ee9c_dc42_4e26_a98d_7850df8ec925); +windows_core::imp::define_interface!(IMediaPlaybackList, IMediaPlaybackList_Vtbl, 0x7f77ee9c_dc42_4e26_a98d_7850df8ec925); #[repr(C)] pub struct IMediaPlaybackList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -463,7 +463,7 @@ pub struct IMediaPlaybackList_Vtbl { pub MovePrevious: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MoveTo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackList2, IMediaPlaybackList2_Vtbl, 0x0e09b478_600a_4274_a14b_0b6723d0f48b); +windows_core::imp::define_interface!(IMediaPlaybackList2, IMediaPlaybackList2_Vtbl, 0x0e09b478_600a_4274_a14b_0b6723d0f48b); #[repr(C)] pub struct IMediaPlaybackList2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -480,14 +480,14 @@ pub struct IMediaPlaybackList2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetShuffledItems: usize, } -windows_core::imp::com_interface!(IMediaPlaybackList3, IMediaPlaybackList3_Vtbl, 0xdd24bba9_bc47_4463_aa90_c18b7e5ffde1); +windows_core::imp::define_interface!(IMediaPlaybackList3, IMediaPlaybackList3_Vtbl, 0xdd24bba9_bc47_4463_aa90_c18b7e5ffde1); #[repr(C)] pub struct IMediaPlaybackList3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MaxPlayedItemsToKeepOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMaxPlayedItemsToKeepOpen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackSession, IMediaPlaybackSession_Vtbl, 0xc32b683d_0407_41ba_8946_8b345a5a5435); +windows_core::imp::define_interface!(IMediaPlaybackSession, IMediaPlaybackSession_Vtbl, 0xc32b683d_0407_41ba_8946_8b345a5a5435); #[repr(C)] pub struct IMediaPlaybackSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -536,7 +536,7 @@ pub struct IMediaPlaybackSession_Vtbl { #[cfg(not(feature = "Media_MediaProperties"))] SetStereoscopicVideoPackingMode: usize, } -windows_core::imp::com_interface!(IMediaPlaybackSession2, IMediaPlaybackSession2_Vtbl, 0xf8ba7c79_1fc8_4097_ad70_c0fa18cc0050); +windows_core::imp::define_interface!(IMediaPlaybackSession2, IMediaPlaybackSession2_Vtbl, 0xf8ba7c79_1fc8_4097_ad70_c0fa18cc0050); #[repr(C)] pub struct IMediaPlaybackSession2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -565,7 +565,7 @@ pub struct IMediaPlaybackSession2_Vtbl { GetSeekableRanges: usize, pub IsSupportedPlaybackRateRange: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackSession3, IMediaPlaybackSession3_Vtbl, 0x7ba2b41a_a3e2_405f_b77b_a4812c238b66); +windows_core::imp::define_interface!(IMediaPlaybackSession3, IMediaPlaybackSession3_Vtbl, 0x7ba2b41a_a3e2_405f_b77b_a4812c238b66); #[repr(C)] pub struct IMediaPlaybackSession3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -579,19 +579,19 @@ pub struct IMediaPlaybackSession3_Vtbl { SetPlaybackRotation: usize, pub GetOutputDegradationPolicyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackSessionBufferingStartedEventArgs, IMediaPlaybackSessionBufferingStartedEventArgs_Vtbl, 0xcd6aafed_74e2_43b5_b115_76236c33791a); +windows_core::imp::define_interface!(IMediaPlaybackSessionBufferingStartedEventArgs, IMediaPlaybackSessionBufferingStartedEventArgs_Vtbl, 0xcd6aafed_74e2_43b5_b115_76236c33791a); #[repr(C)] pub struct IMediaPlaybackSessionBufferingStartedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsPlaybackInterruption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackSessionOutputDegradationPolicyState, IMediaPlaybackSessionOutputDegradationPolicyState_Vtbl, 0x558e727d_f633_49f9_965a_abaa1db709be); +windows_core::imp::define_interface!(IMediaPlaybackSessionOutputDegradationPolicyState, IMediaPlaybackSessionOutputDegradationPolicyState_Vtbl, 0x558e727d_f633_49f9_965a_abaa1db709be); #[repr(C)] pub struct IMediaPlaybackSessionOutputDegradationPolicyState_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub VideoConstrictionReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaPlaybackSessionVideoConstrictionReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackSource, IMediaPlaybackSource_Vtbl, 0xef9dc2bc_9317_4696_b051_2bad643177b5); +windows_core::imp::define_interface!(IMediaPlaybackSource, IMediaPlaybackSource_Vtbl, 0xef9dc2bc_9317_4696_b051_2bad643177b5); windows_core::imp::interface_hierarchy!(IMediaPlaybackSource, windows_core::IUnknown, windows_core::IInspectable); impl IMediaPlaybackSource {} impl windows_core::RuntimeType for IMediaPlaybackSource { @@ -601,7 +601,7 @@ impl windows_core::RuntimeType for IMediaPlaybackSource { pub struct IMediaPlaybackSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IMediaPlaybackSphericalVideoProjection, IMediaPlaybackSphericalVideoProjection_Vtbl, 0xd405b37c_6f0e_4661_b8ee_d487ba9752d5); +windows_core::imp::define_interface!(IMediaPlaybackSphericalVideoProjection, IMediaPlaybackSphericalVideoProjection_Vtbl, 0xd405b37c_6f0e_4661_b8ee_d487ba9752d5); #[repr(C)] pub struct IMediaPlaybackSphericalVideoProjection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -628,7 +628,7 @@ pub struct IMediaPlaybackSphericalVideoProjection_Vtbl { pub ProjectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SphericalVideoProjectionMode) -> windows_core::HRESULT, pub SetProjectionMode: unsafe extern "system" fn(*mut core::ffi::c_void, SphericalVideoProjectionMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlaybackTimedMetadataTrackList, IMediaPlaybackTimedMetadataTrackList_Vtbl, 0x72b41319_bbfb_46a3_9372_9c9c744b9438); +windows_core::imp::define_interface!(IMediaPlaybackTimedMetadataTrackList, IMediaPlaybackTimedMetadataTrackList_Vtbl, 0x72b41319_bbfb_46a3_9372_9c9c744b9438); #[repr(C)] pub struct IMediaPlaybackTimedMetadataTrackList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -640,7 +640,7 @@ pub struct IMediaPlaybackTimedMetadataTrackList_Vtbl { pub GetPresentationMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut TimedMetadataTrackPresentationMode) -> windows_core::HRESULT, pub SetPresentationMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, TimedMetadataTrackPresentationMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlayer, IMediaPlayer_Vtbl, 0x381a83cb_6fff_499b_8d64_2885dfc1249e); +windows_core::imp::define_interface!(IMediaPlayer, IMediaPlayer_Vtbl, 0x381a83cb_6fff_499b_8d64_2885dfc1249e); #[repr(C)] pub struct IMediaPlayer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -759,7 +759,7 @@ pub struct IMediaPlayer_Vtbl { #[cfg(not(feature = "deprecated"))] SetUriSource: usize, } -windows_core::imp::com_interface!(IMediaPlayer2, IMediaPlayer2_Vtbl, 0x3c841218_2123_4fc5_9082_2f883f77bdf5); +windows_core::imp::define_interface!(IMediaPlayer2, IMediaPlayer2_Vtbl, 0x3c841218_2123_4fc5_9082_2f883f77bdf5); #[repr(C)] pub struct IMediaPlayer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -769,7 +769,7 @@ pub struct IMediaPlayer2_Vtbl { pub AudioDeviceType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaPlayerAudioDeviceType) -> windows_core::HRESULT, pub SetAudioDeviceType: unsafe extern "system" fn(*mut core::ffi::c_void, MediaPlayerAudioDeviceType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlayer3, IMediaPlayer3_Vtbl, 0xee0660da_031b_4feb_bd9b_92e0a0a8d299); +windows_core::imp::define_interface!(IMediaPlayer3, IMediaPlayer3_Vtbl, 0xee0660da_031b_4feb_bd9b_92e0a0a8d299); #[repr(C)] pub struct IMediaPlayer3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -805,7 +805,7 @@ pub struct IMediaPlayer3_Vtbl { #[cfg(not(feature = "Media_Casting"))] GetAsCastingSource: usize, } -windows_core::imp::com_interface!(IMediaPlayer4, IMediaPlayer4_Vtbl, 0x80035db0_7448_4770_afcf_2a57450914c5); +windows_core::imp::define_interface!(IMediaPlayer4, IMediaPlayer4_Vtbl, 0x80035db0_7448_4770_afcf_2a57450914c5); #[repr(C)] pub struct IMediaPlayer4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -815,7 +815,7 @@ pub struct IMediaPlayer4_Vtbl { #[cfg(not(feature = "UI_Composition"))] GetSurface: usize, } -windows_core::imp::com_interface!(IMediaPlayer5, IMediaPlayer5_Vtbl, 0xcfe537fd_f86a_4446_bf4d_c8e792b7b4b3); +windows_core::imp::define_interface!(IMediaPlayer5, IMediaPlayer5_Vtbl, 0xcfe537fd_f86a_4446_bf4d_c8e792b7b4b3); #[repr(C)] pub struct IMediaPlayer5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -836,7 +836,7 @@ pub struct IMediaPlayer5_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] CopyFrameToStereoscopicVideoSurfaces: usize, } -windows_core::imp::com_interface!(IMediaPlayer6, IMediaPlayer6_Vtbl, 0xe0caa086_ae65_414c_b010_8bc55f00e692); +windows_core::imp::define_interface!(IMediaPlayer6, IMediaPlayer6_Vtbl, 0xe0caa086_ae65_414c_b010_8bc55f00e692); #[repr(C)] pub struct IMediaPlayer6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -851,7 +851,7 @@ pub struct IMediaPlayer6_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] RenderSubtitlesToSurfaceWithTargetRectangle: usize, } -windows_core::imp::com_interface!(IMediaPlayer7, IMediaPlayer7_Vtbl, 0x5d1dc478_4500_4531_b3f4_777a71491f7f); +windows_core::imp::define_interface!(IMediaPlayer7, IMediaPlayer7_Vtbl, 0x5d1dc478_4500_4531_b3f4_777a71491f7f); #[repr(C)] pub struct IMediaPlayer7_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -860,7 +860,7 @@ pub struct IMediaPlayer7_Vtbl { #[cfg(not(feature = "Media_Audio"))] AudioStateMonitor: usize, } -windows_core::imp::com_interface!(IMediaPlayerDataReceivedEventArgs, IMediaPlayerDataReceivedEventArgs_Vtbl, 0xc75a9405_c801_412a_835b_83fc0e622a8e); +windows_core::imp::define_interface!(IMediaPlayerDataReceivedEventArgs, IMediaPlayerDataReceivedEventArgs_Vtbl, 0xc75a9405_c801_412a_835b_83fc0e622a8e); #[repr(C)] pub struct IMediaPlayerDataReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -869,7 +869,7 @@ pub struct IMediaPlayerDataReceivedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Data: usize, } -windows_core::imp::com_interface!(IMediaPlayerEffects, IMediaPlayerEffects_Vtbl, 0x85a1deda_cab6_4cc0_8be3_6035f4de2591); +windows_core::imp::define_interface!(IMediaPlayerEffects, IMediaPlayerEffects_Vtbl, 0x85a1deda_cab6_4cc0_8be3_6035f4de2591); #[repr(C)] pub struct IMediaPlayerEffects_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -879,7 +879,7 @@ pub struct IMediaPlayerEffects_Vtbl { AddAudioEffect: usize, pub RemoveAllEffects: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlayerEffects2, IMediaPlayerEffects2_Vtbl, 0xfa419a79_1bbe_46c5_ae1f_8ee69fb3c2c7); +windows_core::imp::define_interface!(IMediaPlayerEffects2, IMediaPlayerEffects2_Vtbl, 0xfa419a79_1bbe_46c5_ae1f_8ee69fb3c2c7); #[repr(C)] pub struct IMediaPlayerEffects2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -888,7 +888,7 @@ pub struct IMediaPlayerEffects2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AddVideoEffect: usize, } -windows_core::imp::com_interface!(IMediaPlayerFailedEventArgs, IMediaPlayerFailedEventArgs_Vtbl, 0x2744e9b9_a7e3_4f16_bac4_7914ebc08301); +windows_core::imp::define_interface!(IMediaPlayerFailedEventArgs, IMediaPlayerFailedEventArgs_Vtbl, 0x2744e9b9_a7e3_4f16_bac4_7914ebc08301); #[repr(C)] pub struct IMediaPlayerFailedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -896,13 +896,13 @@ pub struct IMediaPlayerFailedEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaPlayerRateChangedEventArgs, IMediaPlayerRateChangedEventArgs_Vtbl, 0x40600d58_3b61_4bb2_989f_fc65608b6cab); +windows_core::imp::define_interface!(IMediaPlayerRateChangedEventArgs, IMediaPlayerRateChangedEventArgs_Vtbl, 0x40600d58_3b61_4bb2_989f_fc65608b6cab); #[repr(C)] pub struct IMediaPlayerRateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NewRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaPlayerSource, IMediaPlayerSource_Vtbl, 0xbd4f8897_1423_4c3e_82c5_0fb1af94f715); +windows_core::imp::define_interface!(IMediaPlayerSource, IMediaPlayerSource_Vtbl, 0xbd4f8897_1423_4c3e_82c5_0fb1af94f715); #[repr(C)] pub struct IMediaPlayerSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -927,14 +927,14 @@ pub struct IMediaPlayerSource_Vtbl { #[cfg(not(all(feature = "Media_Core", feature = "deprecated")))] SetMediaSource: usize, } -windows_core::imp::com_interface!(IMediaPlayerSource2, IMediaPlayerSource2_Vtbl, 0x82449b9f_7322_4c0b_b03b_3e69a48260c5); +windows_core::imp::define_interface!(IMediaPlayerSource2, IMediaPlayerSource2_Vtbl, 0x82449b9f_7322_4c0b_b03b_3e69a48260c5); #[repr(C)] pub struct IMediaPlayerSource2_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, } -windows_core::imp::com_interface!(IMediaPlayerSurface, IMediaPlayerSurface_Vtbl, 0x0ed653bc_b736_49c3_830b_764a3845313a); +windows_core::imp::define_interface!(IMediaPlayerSurface, IMediaPlayerSurface_Vtbl, 0x0ed653bc_b736_49c3_830b_764a3845313a); #[repr(C)] pub struct IMediaPlayerSurface_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -948,7 +948,7 @@ pub struct IMediaPlayerSurface_Vtbl { Compositor: usize, pub MediaPlayer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlaybackMediaMarker, IPlaybackMediaMarker_Vtbl, 0xc4d22f5c_3c1c_4444_b6b9_778b0422d41a); +windows_core::imp::define_interface!(IPlaybackMediaMarker, IPlaybackMediaMarker_Vtbl, 0xc4d22f5c_3c1c_4444_b6b9_778b0422d41a); #[repr(C)] pub struct IPlaybackMediaMarker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -956,20 +956,20 @@ pub struct IPlaybackMediaMarker_Vtbl { 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, } -windows_core::imp::com_interface!(IPlaybackMediaMarkerFactory, IPlaybackMediaMarkerFactory_Vtbl, 0x8c530a78_e0ae_4e1a_a8c8_e23f982a937b); +windows_core::imp::define_interface!(IPlaybackMediaMarkerFactory, IPlaybackMediaMarkerFactory_Vtbl, 0x8c530a78_e0ae_4e1a_a8c8_e23f982a937b); #[repr(C)] 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, } -windows_core::imp::com_interface!(IPlaybackMediaMarkerReachedEventArgs, IPlaybackMediaMarkerReachedEventArgs_Vtbl, 0x578cd1b9_90e2_4e60_abc4_8740b01f6196); +windows_core::imp::define_interface!(IPlaybackMediaMarkerReachedEventArgs, IPlaybackMediaMarkerReachedEventArgs_Vtbl, 0x578cd1b9_90e2_4e60_abc4_8740b01f6196); #[repr(C)] pub struct IPlaybackMediaMarkerReachedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PlaybackMediaMarker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlaybackMediaMarkerSequence, IPlaybackMediaMarkerSequence_Vtbl, 0xf2810cee_638b_46cf_8817_1d111fe9d8c4); +windows_core::imp::define_interface!(IPlaybackMediaMarkerSequence, IPlaybackMediaMarkerSequence_Vtbl, 0xf2810cee_638b_46cf_8817_1d111fe9d8c4); #[repr(C)] pub struct IPlaybackMediaMarkerSequence_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -977,7 +977,7 @@ pub struct IPlaybackMediaMarkerSequence_Vtbl { pub Insert: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimedMetadataPresentationModeChangedEventArgs, ITimedMetadataPresentationModeChangedEventArgs_Vtbl, 0xd1636099_65df_45ae_8cef_dc0b53fdc2bb); +windows_core::imp::define_interface!(ITimedMetadataPresentationModeChangedEventArgs, ITimedMetadataPresentationModeChangedEventArgs_Vtbl, 0xd1636099_65df_45ae_8cef_dc0b53fdc2bb); #[repr(C)] pub struct ITimedMetadataPresentationModeChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs index 12f9abd6a9..488e648c14 100644 --- a/crates/libs/windows/src/Windows/Media/Playlists/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Playlists/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPlaylist, IPlaylist_Vtbl, 0x803736f5_cf44_4d97_83b3_7a089e9ab663); +windows_core::imp::define_interface!(IPlaylist, IPlaylist_Vtbl, 0x803736f5_cf44_4d97_83b3_7a089e9ab663); #[repr(C)] pub struct IPlaylist_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,7 +16,7 @@ pub struct IPlaylist_Vtbl { #[cfg(not(feature = "Storage"))] SaveAsWithFormatAsync: usize, } -windows_core::imp::com_interface!(IPlaylistStatics, IPlaylistStatics_Vtbl, 0xc5c331cd_81f9_4ff3_95b9_70b6ff046b68); +windows_core::imp::define_interface!(IPlaylistStatics, IPlaylistStatics_Vtbl, 0xc5c331cd_81f9_4ff3_95b9_70b6ff046b68); #[repr(C)] pub struct IPlaylistStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 627b43f728..e8aa478647 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDClient, INDClient_Vtbl, 0x3bd6781b_61b8_46e2_99a5_8abcb6b9f7d6); +windows_core::imp::define_interface!(INDClient, INDClient_Vtbl, 0x3bd6781b_61b8_46e2_99a5_8abcb6b9f7d6); #[cfg(feature = "deprecated")] #[repr(C)] pub struct INDClient_Vtbl { @@ -62,7 +62,7 @@ pub struct INDClient_Vtbl { Close: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDClientFactory, INDClientFactory_Vtbl, 0x3e53dd62_fee8_451f_b0d4_f706cca3e037); +windows_core::imp::define_interface!(INDClientFactory, INDClientFactory_Vtbl, 0x3e53dd62_fee8_451f_b0d4_f706cca3e037); #[cfg(feature = "deprecated")] #[repr(C)] pub struct INDClientFactory_Vtbl { @@ -73,7 +73,7 @@ pub struct INDClientFactory_Vtbl { CreateInstance: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDClosedCaptionDataReceivedEventArgs, INDClosedCaptionDataReceivedEventArgs_Vtbl, 0x4738d29f_c345_4649_8468_b8c5fc357190); +windows_core::imp::define_interface!(INDClosedCaptionDataReceivedEventArgs, INDClosedCaptionDataReceivedEventArgs_Vtbl, 0x4738d29f_c345_4649_8468_b8c5fc357190); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDClosedCaptionDataReceivedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -125,7 +125,7 @@ pub struct INDClosedCaptionDataReceivedEventArgs_Vtbl { ClosedCaptionData: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDCustomData, INDCustomData_Vtbl, 0xf5cb0fdc_2d09_4f19_b5e1_76a0b3ee9267); +windows_core::imp::define_interface!(INDCustomData, INDCustomData_Vtbl, 0xf5cb0fdc_2d09_4f19_b5e1_76a0b3ee9267); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDCustomData, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -165,7 +165,7 @@ pub struct INDCustomData_Vtbl { CustomData: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDCustomDataFactory, INDCustomDataFactory_Vtbl, 0xd65405ab_3424_4833_8c9a_af5fdeb22872); +windows_core::imp::define_interface!(INDCustomDataFactory, INDCustomDataFactory_Vtbl, 0xd65405ab_3424_4833_8c9a_af5fdeb22872); #[cfg(feature = "deprecated")] #[repr(C)] pub struct INDCustomDataFactory_Vtbl { @@ -176,7 +176,7 @@ pub struct INDCustomDataFactory_Vtbl { CreateInstance: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDDownloadEngine, INDDownloadEngine_Vtbl, 0x2d223d65_c4b6_4438_8d46_b96e6d0fb21f); +windows_core::imp::define_interface!(INDDownloadEngine, INDDownloadEngine_Vtbl, 0x2d223d65_c4b6_4438_8d46_b96e6d0fb21f); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDDownloadEngine, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -288,7 +288,7 @@ pub struct INDDownloadEngine_Vtbl { Notifier: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDDownloadEngineNotifier, INDDownloadEngineNotifier_Vtbl, 0xd720b4d4_f4b8_4530_a809_9193a571e7fc); +windows_core::imp::define_interface!(INDDownloadEngineNotifier, INDDownloadEngineNotifier_Vtbl, 0xd720b4d4_f4b8_4530_a809_9193a571e7fc); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDDownloadEngineNotifier, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -361,7 +361,7 @@ pub struct INDDownloadEngineNotifier_Vtbl { OnNetworkError: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDLicenseFetchCompletedEventArgs, INDLicenseFetchCompletedEventArgs_Vtbl, 0x1ee30a1a_11b2_4558_8865_e3a516922517); +windows_core::imp::define_interface!(INDLicenseFetchCompletedEventArgs, INDLicenseFetchCompletedEventArgs_Vtbl, 0x1ee30a1a_11b2_4558_8865_e3a516922517); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDLicenseFetchCompletedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -389,7 +389,7 @@ pub struct INDLicenseFetchCompletedEventArgs_Vtbl { ResponseCustomData: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDLicenseFetchDescriptor, INDLicenseFetchDescriptor_Vtbl, 0x5498d33a_e686_4935_a567_7ca77ad20fa4); +windows_core::imp::define_interface!(INDLicenseFetchDescriptor, INDLicenseFetchDescriptor_Vtbl, 0x5498d33a_e686_4935_a567_7ca77ad20fa4); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDLicenseFetchDescriptor, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -453,7 +453,7 @@ pub struct INDLicenseFetchDescriptor_Vtbl { SetLicenseFetchChallengeCustomData: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDLicenseFetchDescriptorFactory, INDLicenseFetchDescriptorFactory_Vtbl, 0xd0031202_cfac_4f00_ae6a_97af80b848f2); +windows_core::imp::define_interface!(INDLicenseFetchDescriptorFactory, INDLicenseFetchDescriptorFactory_Vtbl, 0xd0031202_cfac_4f00_ae6a_97af80b848f2); #[cfg(feature = "deprecated")] #[repr(C)] pub struct INDLicenseFetchDescriptorFactory_Vtbl { @@ -464,7 +464,7 @@ pub struct INDLicenseFetchDescriptorFactory_Vtbl { CreateInstance: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDLicenseFetchResult, INDLicenseFetchResult_Vtbl, 0x21d39698_aa62_45ff_a5ff_8037e5433825); +windows_core::imp::define_interface!(INDLicenseFetchResult, INDLicenseFetchResult_Vtbl, 0x21d39698_aa62_45ff_a5ff_8037e5433825); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDLicenseFetchResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -492,7 +492,7 @@ pub struct INDLicenseFetchResult_Vtbl { ResponseCustomData: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDMessenger, INDMessenger_Vtbl, 0xd42df95d_a75b_47bf_8249_bc83820da38a); +windows_core::imp::define_interface!(INDMessenger, INDMessenger_Vtbl, 0xd42df95d_a75b_47bf_8249_bc83820da38a); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDMessenger, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -556,7 +556,7 @@ pub struct INDMessenger_Vtbl { SendLicenseFetchRequestAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDProximityDetectionCompletedEventArgs, INDProximityDetectionCompletedEventArgs_Vtbl, 0x2a706328_da25_4f8c_9eb7_5d0fc3658bca); +windows_core::imp::define_interface!(INDProximityDetectionCompletedEventArgs, INDProximityDetectionCompletedEventArgs_Vtbl, 0x2a706328_da25_4f8c_9eb7_5d0fc3658bca); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDProximityDetectionCompletedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -584,7 +584,7 @@ pub struct INDProximityDetectionCompletedEventArgs_Vtbl { ProximityDetectionRetryCount: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDRegistrationCompletedEventArgs, INDRegistrationCompletedEventArgs_Vtbl, 0x9e39b64d_ab5b_4905_acdc_787a77c6374d); +windows_core::imp::define_interface!(INDRegistrationCompletedEventArgs, INDRegistrationCompletedEventArgs_Vtbl, 0x9e39b64d_ab5b_4905_acdc_787a77c6374d); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDRegistrationCompletedEventArgs, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -645,7 +645,7 @@ pub struct INDRegistrationCompletedEventArgs_Vtbl { SetTransmitterCertificateAccepted: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDSendResult, INDSendResult_Vtbl, 0xe3685517_a584_479d_90b7_d689c7bf7c80); +windows_core::imp::define_interface!(INDSendResult, INDSendResult_Vtbl, 0xe3685517_a584_479d_90b7_d689c7bf7c80); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDSendResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -673,7 +673,7 @@ pub struct INDSendResult_Vtbl { Response: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDStartResult, INDStartResult_Vtbl, 0x79f6e96e_f50f_4015_8ba4_c2bc344ebd4e); +windows_core::imp::define_interface!(INDStartResult, INDStartResult_Vtbl, 0x79f6e96e_f50f_4015_8ba4_c2bc344ebd4e); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDStartResult, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -701,7 +701,7 @@ pub struct INDStartResult_Vtbl { MediaStreamSource: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDStorageFileHelper, INDStorageFileHelper_Vtbl, 0xd8f0bef8_91d2_4d47_a3f9_eaff4edb729f); +windows_core::imp::define_interface!(INDStorageFileHelper, INDStorageFileHelper_Vtbl, 0xd8f0bef8_91d2_4d47_a3f9_eaff4edb729f); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDStorageFileHelper, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -732,7 +732,7 @@ pub struct INDStorageFileHelper_Vtbl { GetFileURLs: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDStreamParser, INDStreamParser_Vtbl, 0xe0baa198_9796_41c9_8695_59437e67e66a); +windows_core::imp::define_interface!(INDStreamParser, INDStreamParser_Vtbl, 0xe0baa198_9796_41c9_8695_59437e67e66a); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDStreamParser, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -802,7 +802,7 @@ pub struct INDStreamParser_Vtbl { Notifier: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDStreamParserNotifier, INDStreamParserNotifier_Vtbl, 0xc167acd0_2ce6_426c_ace5_5e9275fea715); +windows_core::imp::define_interface!(INDStreamParserNotifier, INDStreamParserNotifier_Vtbl, 0xc167acd0_2ce6_426c_ace5_5e9275fea715); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDStreamParserNotifier, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -867,7 +867,7 @@ pub struct INDStreamParserNotifier_Vtbl { OnBeginSetupDecryptor: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDTCPMessengerFactory, INDTCPMessengerFactory_Vtbl, 0x7dd85cfe_1b99_4f68_8f82_8177f7cedf2b); +windows_core::imp::define_interface!(INDTCPMessengerFactory, INDTCPMessengerFactory_Vtbl, 0x7dd85cfe_1b99_4f68_8f82_8177f7cedf2b); #[cfg(feature = "deprecated")] #[repr(C)] pub struct INDTCPMessengerFactory_Vtbl { @@ -878,7 +878,7 @@ pub struct INDTCPMessengerFactory_Vtbl { CreateInstance: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(INDTransmitterProperties, INDTransmitterProperties_Vtbl, 0xe536af23_ac4f_4adc_8c66_4ff7c2702dd6); +windows_core::imp::define_interface!(INDTransmitterProperties, INDTransmitterProperties_Vtbl, 0xe536af23_ac4f_4adc_8c66_4ff7c2702dd6); #[cfg(feature = "deprecated")] windows_core::imp::interface_hierarchy!(INDTransmitterProperties, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "deprecated")] @@ -1025,7 +1025,7 @@ pub struct INDTransmitterProperties_Vtbl { #[cfg(not(feature = "deprecated"))] ModelNumber: usize, } -windows_core::imp::com_interface!(IPlayReadyContentHeader, IPlayReadyContentHeader_Vtbl, 0x9a438a6a_7f4c_452e_88bd_0148c6387a2c); +windows_core::imp::define_interface!(IPlayReadyContentHeader, IPlayReadyContentHeader_Vtbl, 0x9a438a6a_7f4c_452e_88bd_0148c6387a2c); #[repr(C)] pub struct IPlayReadyContentHeader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1040,14 +1040,14 @@ pub struct IPlayReadyContentHeader_Vtbl { 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, } -windows_core::imp::com_interface!(IPlayReadyContentHeader2, IPlayReadyContentHeader2_Vtbl, 0x359c79f4_2180_498c_965b_e754d875eab2); +windows_core::imp::define_interface!(IPlayReadyContentHeader2, IPlayReadyContentHeader2_Vtbl, 0x359c79f4_2180_498c_965b_e754d875eab2); #[repr(C)] 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, } -windows_core::imp::com_interface!(IPlayReadyContentHeaderFactory, IPlayReadyContentHeaderFactory_Vtbl, 0xcb97c8ff_b758_4776_bf01_217a8b510b2c); +windows_core::imp::define_interface!(IPlayReadyContentHeaderFactory, IPlayReadyContentHeaderFactory_Vtbl, 0xcb97c8ff_b758_4776_bf01_217a8b510b2c); #[repr(C)] pub struct IPlayReadyContentHeaderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1055,19 +1055,19 @@ pub struct IPlayReadyContentHeaderFactory_Vtbl { 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 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::com_interface!(IPlayReadyContentHeaderFactory2, IPlayReadyContentHeaderFactory2_Vtbl, 0xd1239cf5_ae6d_4778_97fd_6e3a2eeadbeb); +windows_core::imp::define_interface!(IPlayReadyContentHeaderFactory2, IPlayReadyContentHeaderFactory2_Vtbl, 0xd1239cf5_ae6d_4778_97fd_6e3a2eeadbeb); #[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, } -windows_core::imp::com_interface!(IPlayReadyContentResolver, IPlayReadyContentResolver_Vtbl, 0xfbfd2523_906d_4982_a6b8_6849565a7ce8); +windows_core::imp::define_interface!(IPlayReadyContentResolver, IPlayReadyContentResolver_Vtbl, 0xfbfd2523_906d_4982_a6b8_6849565a7ce8); #[repr(C)] pub struct IPlayReadyContentResolver_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ServiceRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyDomain, IPlayReadyDomain_Vtbl, 0xadcc93ac_97e6_43ef_95e4_d7868f3b16a9); +windows_core::imp::define_interface!(IPlayReadyDomain, IPlayReadyDomain_Vtbl, 0xadcc93ac_97e6_43ef_95e4_d7868f3b16a9); windows_core::imp::interface_hierarchy!(IPlayReadyDomain, windows_core::IUnknown, windows_core::IInspectable); impl IPlayReadyDomain { pub fn AccountId(&self) -> windows_core::Result { @@ -1118,7 +1118,7 @@ pub struct IPlayReadyDomain_Vtbl { pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IPlayReadyDomainIterableFactory, IPlayReadyDomainIterableFactory_Vtbl, 0x4df384ee_3121_4df3_a5e8_d0c24c0500fc); +windows_core::imp::define_interface!(IPlayReadyDomainIterableFactory, IPlayReadyDomainIterableFactory_Vtbl, 0x4df384ee_3121_4df3_a5e8_d0c24c0500fc); #[repr(C)] pub struct IPlayReadyDomainIterableFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1127,7 +1127,7 @@ pub struct IPlayReadyDomainIterableFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateInstance: usize, } -windows_core::imp::com_interface!(IPlayReadyDomainJoinServiceRequest, IPlayReadyDomainJoinServiceRequest_Vtbl, 0x171b4a5a_405f_4739_b040_67b9f0c38758); +windows_core::imp::define_interface!(IPlayReadyDomainJoinServiceRequest, IPlayReadyDomainJoinServiceRequest_Vtbl, 0x171b4a5a_405f_4739_b040_67b9f0c38758); #[repr(C)] pub struct IPlayReadyDomainJoinServiceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1138,7 +1138,7 @@ pub struct IPlayReadyDomainJoinServiceRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IPlayReadyDomainLeaveServiceRequest, IPlayReadyDomainLeaveServiceRequest_Vtbl, 0x062d58be_97ad_4917_aa03_46d4c252d464); +windows_core::imp::define_interface!(IPlayReadyDomainLeaveServiceRequest, IPlayReadyDomainLeaveServiceRequest_Vtbl, 0x062d58be_97ad_4917_aa03_46d4c252d464); #[repr(C)] pub struct IPlayReadyDomainLeaveServiceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1147,7 +1147,7 @@ pub struct IPlayReadyDomainLeaveServiceRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IPlayReadyITADataGenerator, IPlayReadyITADataGenerator_Vtbl, 0x24446b8e_10b9_4530_b25b_901a8029a9b2); +windows_core::imp::define_interface!(IPlayReadyITADataGenerator, IPlayReadyITADataGenerator_Vtbl, 0x24446b8e_10b9_4530_b25b_901a8029a9b2); #[repr(C)] pub struct IPlayReadyITADataGenerator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1156,12 +1156,12 @@ pub struct IPlayReadyITADataGenerator_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GenerateData: usize, } -windows_core::imp::com_interface!(IPlayReadyIndividualizationServiceRequest, IPlayReadyIndividualizationServiceRequest_Vtbl, 0x21f5a86b_008c_4611_ab2f_aaa6c69f0e24); +windows_core::imp::define_interface!(IPlayReadyIndividualizationServiceRequest, IPlayReadyIndividualizationServiceRequest_Vtbl, 0x21f5a86b_008c_4611_ab2f_aaa6c69f0e24); #[repr(C)] pub struct IPlayReadyIndividualizationServiceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPlayReadyLicense, IPlayReadyLicense_Vtbl, 0xee474c4e_fa3c_414d_a9f2_3ffc1ef832d4); +windows_core::imp::define_interface!(IPlayReadyLicense, IPlayReadyLicense_Vtbl, 0xee474c4e_fa3c_414d_a9f2_3ffc1ef832d4); windows_core::imp::interface_hierarchy!(IPlayReadyLicense, windows_core::IUnknown, windows_core::IInspectable); impl IPlayReadyLicense { pub fn FullyEvaluated(&self) -> windows_core::Result { @@ -1228,7 +1228,7 @@ pub struct IPlayReadyLicense_Vtbl { pub ChainDepth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetKIDAtChainDepth: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyLicense2, IPlayReadyLicense2_Vtbl, 0x30f4e7a7_d8e3_48a0_bcda_ff9f40530436); +windows_core::imp::define_interface!(IPlayReadyLicense2, IPlayReadyLicense2_Vtbl, 0x30f4e7a7_d8e3_48a0_bcda_ff9f40530436); #[repr(C)] pub struct IPlayReadyLicense2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1237,7 +1237,7 @@ pub struct IPlayReadyLicense2_Vtbl { pub InMemoryOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ExpiresInRealTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyLicenseAcquisitionServiceRequest, IPlayReadyLicenseAcquisitionServiceRequest_Vtbl, 0x5d85ff45_3e9f_4f48_93e1_9530c8d58c3e); +windows_core::imp::define_interface!(IPlayReadyLicenseAcquisitionServiceRequest, IPlayReadyLicenseAcquisitionServiceRequest_Vtbl, 0x5d85ff45_3e9f_4f48_93e1_9530c8d58c3e); windows_core::imp::interface_hierarchy!(IPlayReadyLicenseAcquisitionServiceRequest, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPlayReadyLicenseAcquisitionServiceRequest, super::IMediaProtectionServiceRequest, IPlayReadyServiceRequest); impl IPlayReadyLicenseAcquisitionServiceRequest { @@ -1352,13 +1352,13 @@ pub struct IPlayReadyLicenseAcquisitionServiceRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IPlayReadyLicenseAcquisitionServiceRequest2, IPlayReadyLicenseAcquisitionServiceRequest2_Vtbl, 0xb7fa5eb5_fe0c_b225_bc60_5a9edd32ceb5); +windows_core::imp::define_interface!(IPlayReadyLicenseAcquisitionServiceRequest2, IPlayReadyLicenseAcquisitionServiceRequest2_Vtbl, 0xb7fa5eb5_fe0c_b225_bc60_5a9edd32ceb5); #[repr(C)] pub struct IPlayReadyLicenseAcquisitionServiceRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SessionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyLicenseAcquisitionServiceRequest3, IPlayReadyLicenseAcquisitionServiceRequest3_Vtbl, 0x394e5f4d_7f75_430d_b2e7_7f75f34b2d75); +windows_core::imp::define_interface!(IPlayReadyLicenseAcquisitionServiceRequest3, IPlayReadyLicenseAcquisitionServiceRequest3_Vtbl, 0x394e5f4d_7f75_430d_b2e7_7f75f34b2d75); #[repr(C)] pub struct IPlayReadyLicenseAcquisitionServiceRequest3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1367,7 +1367,7 @@ pub struct IPlayReadyLicenseAcquisitionServiceRequest3_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateLicenseIterable: usize, } -windows_core::imp::com_interface!(IPlayReadyLicenseIterableFactory, IPlayReadyLicenseIterableFactory_Vtbl, 0xd4179f08_0837_4978_8e68_be4293c8d7a6); +windows_core::imp::define_interface!(IPlayReadyLicenseIterableFactory, IPlayReadyLicenseIterableFactory_Vtbl, 0xd4179f08_0837_4978_8e68_be4293c8d7a6); #[repr(C)] pub struct IPlayReadyLicenseIterableFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1376,13 +1376,13 @@ pub struct IPlayReadyLicenseIterableFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateInstance: usize, } -windows_core::imp::com_interface!(IPlayReadyLicenseManagement, IPlayReadyLicenseManagement_Vtbl, 0xaaeb2141_0957_4405_b892_8bf3ec5dadd9); +windows_core::imp::define_interface!(IPlayReadyLicenseManagement, IPlayReadyLicenseManagement_Vtbl, 0xaaeb2141_0957_4405_b892_8bf3ec5dadd9); #[repr(C)] pub struct IPlayReadyLicenseManagement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DeleteLicenses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyLicenseSession, IPlayReadyLicenseSession_Vtbl, 0xa1723a39_87fa_4fdd_abbb_a9720e845259); +windows_core::imp::define_interface!(IPlayReadyLicenseSession, IPlayReadyLicenseSession_Vtbl, 0xa1723a39_87fa_4fdd_abbb_a9720e845259); windows_core::imp::interface_hierarchy!(IPlayReadyLicenseSession, windows_core::IUnknown, windows_core::IInspectable); impl IPlayReadyLicenseSession { pub fn CreateLAServiceRequest(&self) -> windows_core::Result { @@ -1409,7 +1409,7 @@ pub struct IPlayReadyLicenseSession_Vtbl { pub CreateLAServiceRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ConfigureMediaProtectionManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyLicenseSession2, IPlayReadyLicenseSession2_Vtbl, 0x4909be3a_3aed_4656_8ad7_ee0fd7799510); +windows_core::imp::define_interface!(IPlayReadyLicenseSession2, IPlayReadyLicenseSession2_Vtbl, 0x4909be3a_3aed_4656_8ad7_ee0fd7799510); windows_core::imp::interface_hierarchy!(IPlayReadyLicenseSession2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPlayReadyLicenseSession2, IPlayReadyLicenseSession); impl IPlayReadyLicenseSession2 { @@ -1450,7 +1450,7 @@ pub struct IPlayReadyLicenseSession2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateLicenseIterable: usize, } -windows_core::imp::com_interface!(IPlayReadyLicenseSessionFactory, IPlayReadyLicenseSessionFactory_Vtbl, 0x62492699_6527_429e_98be_48d798ac2739); +windows_core::imp::define_interface!(IPlayReadyLicenseSessionFactory, IPlayReadyLicenseSessionFactory_Vtbl, 0x62492699_6527_429e_98be_48d798ac2739); #[repr(C)] pub struct IPlayReadyLicenseSessionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1459,19 +1459,19 @@ pub struct IPlayReadyLicenseSessionFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateInstance: usize, } -windows_core::imp::com_interface!(IPlayReadyMeteringReportServiceRequest, IPlayReadyMeteringReportServiceRequest_Vtbl, 0xc12b231c_0ecd_4f11_a185_1e24a4a67fb7); +windows_core::imp::define_interface!(IPlayReadyMeteringReportServiceRequest, IPlayReadyMeteringReportServiceRequest_Vtbl, 0xc12b231c_0ecd_4f11_a185_1e24a4a67fb7); #[repr(C)] pub struct IPlayReadyMeteringReportServiceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MeteringCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub SetMeteringCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyRevocationServiceRequest, IPlayReadyRevocationServiceRequest_Vtbl, 0x543d66ac_faf0_4560_84a5_0e4acec939e4); +windows_core::imp::define_interface!(IPlayReadyRevocationServiceRequest, IPlayReadyRevocationServiceRequest_Vtbl, 0x543d66ac_faf0_4560_84a5_0e4acec939e4); #[repr(C)] pub struct IPlayReadyRevocationServiceRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPlayReadySecureStopIterableFactory, IPlayReadySecureStopIterableFactory_Vtbl, 0x5f1f0165_4214_4d9e_81eb_e89f9d294aee); +windows_core::imp::define_interface!(IPlayReadySecureStopIterableFactory, IPlayReadySecureStopIterableFactory_Vtbl, 0x5f1f0165_4214_4d9e_81eb_e89f9d294aee); #[repr(C)] pub struct IPlayReadySecureStopIterableFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1480,7 +1480,7 @@ pub struct IPlayReadySecureStopIterableFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateInstance: usize, } -windows_core::imp::com_interface!(IPlayReadySecureStopServiceRequest, IPlayReadySecureStopServiceRequest_Vtbl, 0xb5501ee5_01bf_4401_9677_05630a6a4cc8); +windows_core::imp::define_interface!(IPlayReadySecureStopServiceRequest, IPlayReadySecureStopServiceRequest_Vtbl, 0xb5501ee5_01bf_4401_9677_05630a6a4cc8); windows_core::imp::interface_hierarchy!(IPlayReadySecureStopServiceRequest, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPlayReadySecureStopServiceRequest, super::IMediaProtectionServiceRequest, IPlayReadyServiceRequest); impl IPlayReadySecureStopServiceRequest { @@ -1606,14 +1606,14 @@ pub struct IPlayReadySecureStopServiceRequest_Vtbl { pub Stopped: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub PublisherCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadySecureStopServiceRequestFactory, IPlayReadySecureStopServiceRequestFactory_Vtbl, 0x0e448ac9_e67e_494e_9f49_6285438c76cf); +windows_core::imp::define_interface!(IPlayReadySecureStopServiceRequestFactory, IPlayReadySecureStopServiceRequestFactory_Vtbl, 0x0e448ac9_e67e_494e_9f49_6285438c76cf); #[repr(C)] pub struct IPlayReadySecureStopServiceRequestFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateInstanceFromSessionID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyServiceRequest, IPlayReadyServiceRequest_Vtbl, 0x8bad2836_a703_45a6_a180_76f3565aa725); +windows_core::imp::define_interface!(IPlayReadyServiceRequest, IPlayReadyServiceRequest_Vtbl, 0x8bad2836_a703_45a6_a180_76f3565aa725); windows_core::imp::interface_hierarchy!(IPlayReadyServiceRequest, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IPlayReadyServiceRequest, super::IMediaProtectionServiceRequest); impl IPlayReadyServiceRequest { @@ -1708,7 +1708,7 @@ pub struct IPlayReadyServiceRequest_Vtbl { pub GenerateManualEnablingChallenge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProcessManualEnablingResponse: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadySoapMessage, IPlayReadySoapMessage_Vtbl, 0xb659fcb5_ce41_41ba_8a0d_61df5fffa139); +windows_core::imp::define_interface!(IPlayReadySoapMessage, IPlayReadySoapMessage_Vtbl, 0xb659fcb5_ce41_41ba_8a0d_61df5fffa139); #[repr(C)] pub struct IPlayReadySoapMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1719,7 +1719,7 @@ pub struct IPlayReadySoapMessage_Vtbl { MessageHeaders: usize, pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyStatics, IPlayReadyStatics_Vtbl, 0x5e69c00d_247c_469a_8f31_5c1a1571d9c6); +windows_core::imp::define_interface!(IPlayReadyStatics, IPlayReadyStatics_Vtbl, 0x5e69c00d_247c_469a_8f31_5c1a1571d9c6); #[repr(C)] pub struct IPlayReadyStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1732,27 +1732,27 @@ pub struct IPlayReadyStatics_Vtbl { pub MediaProtectionSystemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub PlayReadySecurityVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyStatics2, IPlayReadyStatics2_Vtbl, 0x1f8d6a92_5f9a_423e_9466_b33969af7a3d); +windows_core::imp::define_interface!(IPlayReadyStatics2, IPlayReadyStatics2_Vtbl, 0x1f8d6a92_5f9a_423e_9466_b33969af7a3d); #[repr(C)] pub struct IPlayReadyStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PlayReadyCertificateSecurityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyStatics3, IPlayReadyStatics3_Vtbl, 0x3fa33f71_2dd3_4bed_ae49_f7148e63e710); +windows_core::imp::define_interface!(IPlayReadyStatics3, IPlayReadyStatics3_Vtbl, 0x3fa33f71_2dd3_4bed_ae49_f7148e63e710); #[repr(C)] pub struct IPlayReadyStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SecureStopServiceRequestType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub CheckSupportedHardware: unsafe extern "system" fn(*mut core::ffi::c_void, PlayReadyHardwareDRMFeatures, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyStatics4, IPlayReadyStatics4_Vtbl, 0x50a91300_d824_4231_9d5e_78ef8844c7d7); +windows_core::imp::define_interface!(IPlayReadyStatics4, IPlayReadyStatics4_Vtbl, 0x50a91300_d824_4231_9d5e_78ef8844c7d7); #[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 ProtectionSystemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayReadyStatics5, IPlayReadyStatics5_Vtbl, 0x230a7075_dfa0_4f8e_a779_cefea9c6824b); +windows_core::imp::define_interface!(IPlayReadyStatics5, IPlayReadyStatics5_Vtbl, 0x230a7075_dfa0_4f8e_a779_cefea9c6824b); #[repr(C)] pub struct IPlayReadyStatics5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Protection/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/mod.rs index bfa4afbd05..4df0d89174 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/mod.rs @@ -1,19 +1,19 @@ #[cfg(feature = "Media_Protection_PlayReady")] pub mod PlayReady; -windows_core::imp::com_interface!(IComponentLoadFailedEventArgs, IComponentLoadFailedEventArgs_Vtbl, 0x95972e93_7746_417e_8495_f031bbc5862c); +windows_core::imp::define_interface!(IComponentLoadFailedEventArgs, IComponentLoadFailedEventArgs_Vtbl, 0x95972e93_7746_417e_8495_f031bbc5862c); #[repr(C)] pub struct IComponentLoadFailedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Information: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Completion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComponentRenewalStatics, IComponentRenewalStatics_Vtbl, 0x6ffbcd67_b795_48c5_8b7b_a7c4efe202e3); +windows_core::imp::define_interface!(IComponentRenewalStatics, IComponentRenewalStatics_Vtbl, 0x6ffbcd67_b795_48c5_8b7b_a7c4efe202e3); #[repr(C)] pub struct IComponentRenewalStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RenewSystemComponentsAsync: 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::com_interface!(IHdcpSession, IHdcpSession_Vtbl, 0x718845e9_64d7_426d_809b_1be461941a2a); +windows_core::imp::define_interface!(IHdcpSession, IHdcpSession_Vtbl, 0x718845e9_64d7_426d_809b_1be461941a2a); #[repr(C)] pub struct IHdcpSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct IHdcpSession_Vtbl { pub ProtectionChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveProtectionChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaProtectionManager, IMediaProtectionManager_Vtbl, 0x45694947_c741_434b_a79e_474c12d93d2f); +windows_core::imp::define_interface!(IMediaProtectionManager, IMediaProtectionManager_Vtbl, 0x45694947_c741_434b_a79e_474c12d93d2f); #[repr(C)] pub struct IMediaProtectionManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,7 +38,7 @@ pub struct IMediaProtectionManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IMediaProtectionPMPServer, IMediaProtectionPMPServer_Vtbl, 0x0c111226_7b26_4d31_95bb_9c1b08ef7fc0); +windows_core::imp::define_interface!(IMediaProtectionPMPServer, IMediaProtectionPMPServer_Vtbl, 0x0c111226_7b26_4d31_95bb_9c1b08ef7fc0); #[repr(C)] pub struct IMediaProtectionPMPServer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -47,7 +47,7 @@ pub struct IMediaProtectionPMPServer_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IMediaProtectionPMPServerFactory, IMediaProtectionPMPServerFactory_Vtbl, 0x602c8e5e_f7d2_487e_af91_dbc4252b2182); +windows_core::imp::define_interface!(IMediaProtectionPMPServerFactory, IMediaProtectionPMPServerFactory_Vtbl, 0x602c8e5e_f7d2_487e_af91_dbc4252b2182); #[repr(C)] pub struct IMediaProtectionPMPServerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,13 +56,13 @@ pub struct IMediaProtectionPMPServerFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreatePMPServer: usize, } -windows_core::imp::com_interface!(IMediaProtectionServiceCompletion, IMediaProtectionServiceCompletion_Vtbl, 0x8b5cca18_cfd5_44ee_a2ed_df76010c14b5); +windows_core::imp::define_interface!(IMediaProtectionServiceCompletion, IMediaProtectionServiceCompletion_Vtbl, 0x8b5cca18_cfd5_44ee_a2ed_df76010c14b5); #[repr(C)] pub struct IMediaProtectionServiceCompletion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaProtectionServiceRequest, IMediaProtectionServiceRequest_Vtbl, 0xb1de0ea6_2094_478d_87a4_8b95200f85c6); +windows_core::imp::define_interface!(IMediaProtectionServiceRequest, IMediaProtectionServiceRequest_Vtbl, 0xb1de0ea6_2094_478d_87a4_8b95200f85c6); windows_core::imp::interface_hierarchy!(IMediaProtectionServiceRequest, windows_core::IUnknown, windows_core::IInspectable); impl IMediaProtectionServiceRequest { pub fn ProtectionSystem(&self) -> windows_core::Result { @@ -89,13 +89,13 @@ pub struct IMediaProtectionServiceRequest_Vtbl { pub ProtectionSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProtectionCapabilities, IProtectionCapabilities_Vtbl, 0xc7ac5d7e_7480_4d29_a464_7bcd913dd8e4); +windows_core::imp::define_interface!(IProtectionCapabilities, IProtectionCapabilities_Vtbl, 0xc7ac5d7e_7480_4d29_a464_7bcd913dd8e4); #[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, } -windows_core::imp::com_interface!(IRevocationAndRenewalInformation, IRevocationAndRenewalInformation_Vtbl, 0xf3a1937b_2501_439e_a6e7_6fc95e175fcf); +windows_core::imp::define_interface!(IRevocationAndRenewalInformation, IRevocationAndRenewalInformation_Vtbl, 0xf3a1937b_2501_439e_a6e7_6fc95e175fcf); #[repr(C)] pub struct IRevocationAndRenewalInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -104,7 +104,7 @@ pub struct IRevocationAndRenewalInformation_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Items: usize, } -windows_core::imp::com_interface!(IRevocationAndRenewalItem, IRevocationAndRenewalItem_Vtbl, 0x3099c20c_3cf0_49ea_902d_caf32d2dde2c); +windows_core::imp::define_interface!(IRevocationAndRenewalItem, IRevocationAndRenewalItem_Vtbl, 0x3099c20c_3cf0_49ea_902d_caf32d2dde2c); #[repr(C)] pub struct IRevocationAndRenewalItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -114,14 +114,14 @@ pub struct IRevocationAndRenewalItem_Vtbl { 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, } -windows_core::imp::com_interface!(IServiceRequestedEventArgs, IServiceRequestedEventArgs_Vtbl, 0x34283baf_abb4_4fc1_bd89_93f106573a49); +windows_core::imp::define_interface!(IServiceRequestedEventArgs, IServiceRequestedEventArgs_Vtbl, 0x34283baf_abb4_4fc1_bd89_93f106573a49); #[repr(C)] pub struct IServiceRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Completion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceRequestedEventArgs2, IServiceRequestedEventArgs2_Vtbl, 0x553c69d6_fafe_4128_8dfa_130e398a13a7); +windows_core::imp::define_interface!(IServiceRequestedEventArgs2, IServiceRequestedEventArgs2_Vtbl, 0x553c69d6_fafe_4128_8dfa_130e398a13a7); #[repr(C)] pub struct IServiceRequestedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -701,7 +701,7 @@ impl core::ops::Not for RevocationAndRenewalReasons { impl windows_core::RuntimeType for RevocationAndRenewalReasons { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.Media.Protection.RevocationAndRenewalReasons;u4)"); } -windows_core::imp::com_interface!(ComponentLoadFailedEventHandler, ComponentLoadFailedEventHandler_Vtbl, 0x95da643c_6db9_424b_86ca_091af432081c); +windows_core::imp::define_interface!(ComponentLoadFailedEventHandler, ComponentLoadFailedEventHandler_Vtbl, 0x95da643c_6db9_424b_86ca_091af432081c); impl ComponentLoadFailedEventHandler { pub fn new, Option<&ComponentLoadFailedEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = ComponentLoadFailedEventHandlerBox:: { vtable: &ComponentLoadFailedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -762,7 +762,7 @@ pub struct ComponentLoadFailedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: 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::com_interface!(RebootNeededEventHandler, RebootNeededEventHandler_Vtbl, 0x64e12a45_973b_4a3a_b260_91898a49a82c); +windows_core::imp::define_interface!(RebootNeededEventHandler, RebootNeededEventHandler_Vtbl, 0x64e12a45_973b_4a3a_b260_91898a49a82c); impl RebootNeededEventHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = RebootNeededEventHandlerBox:: { vtable: &RebootNeededEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -822,7 +822,7 @@ pub struct RebootNeededEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ServiceRequestedEventHandler, ServiceRequestedEventHandler_Vtbl, 0xd2d690ba_cac9_48e1_95c0_d38495a84055); +windows_core::imp::define_interface!(ServiceRequestedEventHandler, ServiceRequestedEventHandler_Vtbl, 0xd2d690ba_cac9_48e1_95c0_d38495a84055); impl ServiceRequestedEventHandler { pub fn new, Option<&ServiceRequestedEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = ServiceRequestedEventHandlerBox:: { vtable: &ServiceRequestedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs index c3c87b31f8..dfaf01857c 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/mod.rs @@ -1,16 +1,16 @@ -windows_core::imp::com_interface!(ISpeechContinuousRecognitionCompletedEventArgs, ISpeechContinuousRecognitionCompletedEventArgs_Vtbl, 0xe3d069bb_e30c_5e18_424b_7fbe81f8fbd0); +windows_core::imp::define_interface!(ISpeechContinuousRecognitionCompletedEventArgs, ISpeechContinuousRecognitionCompletedEventArgs_Vtbl, 0xe3d069bb_e30c_5e18_424b_7fbe81f8fbd0); #[repr(C)] pub struct ISpeechContinuousRecognitionCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechRecognitionResultStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechContinuousRecognitionResultGeneratedEventArgs, ISpeechContinuousRecognitionResultGeneratedEventArgs_Vtbl, 0x19091e1e_6e7e_5a46_40fb_76594f786504); +windows_core::imp::define_interface!(ISpeechContinuousRecognitionResultGeneratedEventArgs, ISpeechContinuousRecognitionResultGeneratedEventArgs_Vtbl, 0x19091e1e_6e7e_5a46_40fb_76594f786504); #[repr(C)] pub struct ISpeechContinuousRecognitionResultGeneratedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Result: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechContinuousRecognitionSession, ISpeechContinuousRecognitionSession_Vtbl, 0x6a213c04_6614_49f8_99a2_b5e9b3a085c8); +windows_core::imp::define_interface!(ISpeechContinuousRecognitionSession, ISpeechContinuousRecognitionSession_Vtbl, 0x6a213c04_6614_49f8_99a2_b5e9b3a085c8); #[repr(C)] pub struct ISpeechContinuousRecognitionSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,13 +27,13 @@ pub struct ISpeechContinuousRecognitionSession_Vtbl { pub ResultGenerated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveResultGenerated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechRecognitionCompilationResult, ISpeechRecognitionCompilationResult_Vtbl, 0x407e6c5d_6ac7_4da4_9cc1_2fce32cf7489); +windows_core::imp::define_interface!(ISpeechRecognitionCompilationResult, ISpeechRecognitionCompilationResult_Vtbl, 0x407e6c5d_6ac7_4da4_9cc1_2fce32cf7489); #[repr(C)] pub struct ISpeechRecognitionCompilationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechRecognitionResultStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechRecognitionConstraint, ISpeechRecognitionConstraint_Vtbl, 0x79ac1628_4d68_43c4_8911_40dc4101b55b); +windows_core::imp::define_interface!(ISpeechRecognitionConstraint, ISpeechRecognitionConstraint_Vtbl, 0x79ac1628_4d68_43c4_8911_40dc4101b55b); windows_core::imp::interface_hierarchy!(ISpeechRecognitionConstraint, windows_core::IUnknown, windows_core::IInspectable); impl ISpeechRecognitionConstraint { pub fn IsEnabled(&self) -> windows_core::Result { @@ -91,7 +91,7 @@ pub struct ISpeechRecognitionConstraint_Vtbl { 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, } -windows_core::imp::com_interface!(ISpeechRecognitionGrammarFileConstraint, ISpeechRecognitionGrammarFileConstraint_Vtbl, 0xb5031a8f_85ca_4fa4_b11a_474fc41b3835); +windows_core::imp::define_interface!(ISpeechRecognitionGrammarFileConstraint, ISpeechRecognitionGrammarFileConstraint_Vtbl, 0xb5031a8f_85ca_4fa4_b11a_474fc41b3835); #[repr(C)] pub struct ISpeechRecognitionGrammarFileConstraint_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -100,7 +100,7 @@ pub struct ISpeechRecognitionGrammarFileConstraint_Vtbl { #[cfg(not(feature = "Storage"))] GrammarFile: usize, } -windows_core::imp::com_interface!(ISpeechRecognitionGrammarFileConstraintFactory, ISpeechRecognitionGrammarFileConstraintFactory_Vtbl, 0x3da770eb_c479_4c27_9f19_89974ef392d1); +windows_core::imp::define_interface!(ISpeechRecognitionGrammarFileConstraintFactory, ISpeechRecognitionGrammarFileConstraintFactory_Vtbl, 0x3da770eb_c479_4c27_9f19_89974ef392d1); #[repr(C)] pub struct ISpeechRecognitionGrammarFileConstraintFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -113,19 +113,19 @@ pub struct ISpeechRecognitionGrammarFileConstraintFactory_Vtbl { #[cfg(not(feature = "Storage"))] CreateWithTag: usize, } -windows_core::imp::com_interface!(ISpeechRecognitionHypothesis, ISpeechRecognitionHypothesis_Vtbl, 0x7a7b25b0_99c5_4f7d_bf84_10aa1302b634); +windows_core::imp::define_interface!(ISpeechRecognitionHypothesis, ISpeechRecognitionHypothesis_Vtbl, 0x7a7b25b0_99c5_4f7d_bf84_10aa1302b634); #[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, } -windows_core::imp::com_interface!(ISpeechRecognitionHypothesisGeneratedEventArgs, ISpeechRecognitionHypothesisGeneratedEventArgs_Vtbl, 0x55161a7a_8023_5866_411d_1213bb271476); +windows_core::imp::define_interface!(ISpeechRecognitionHypothesisGeneratedEventArgs, ISpeechRecognitionHypothesisGeneratedEventArgs_Vtbl, 0x55161a7a_8023_5866_411d_1213bb271476); #[repr(C)] pub struct ISpeechRecognitionHypothesisGeneratedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Hypothesis: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechRecognitionListConstraint, ISpeechRecognitionListConstraint_Vtbl, 0x09c487e9_e4ad_4526_81f2_4946fb481d98); +windows_core::imp::define_interface!(ISpeechRecognitionListConstraint, ISpeechRecognitionListConstraint_Vtbl, 0x09c487e9_e4ad_4526_81f2_4946fb481d98); #[repr(C)] pub struct ISpeechRecognitionListConstraint_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -134,7 +134,7 @@ pub struct ISpeechRecognitionListConstraint_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Commands: usize, } -windows_core::imp::com_interface!(ISpeechRecognitionListConstraintFactory, ISpeechRecognitionListConstraintFactory_Vtbl, 0x40f3cdc7_562a_426a_9f3b_3b4e282be1d5); +windows_core::imp::define_interface!(ISpeechRecognitionListConstraintFactory, ISpeechRecognitionListConstraintFactory_Vtbl, 0x40f3cdc7_562a_426a_9f3b_3b4e282be1d5); #[repr(C)] pub struct ISpeechRecognitionListConstraintFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -147,13 +147,13 @@ pub struct ISpeechRecognitionListConstraintFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithTag: usize, } -windows_core::imp::com_interface!(ISpeechRecognitionQualityDegradingEventArgs, ISpeechRecognitionQualityDegradingEventArgs_Vtbl, 0x4fe24105_8c3a_4c7e_8d0a_5bd4f5b14ad8); +windows_core::imp::define_interface!(ISpeechRecognitionQualityDegradingEventArgs, ISpeechRecognitionQualityDegradingEventArgs_Vtbl, 0x4fe24105_8c3a_4c7e_8d0a_5bd4f5b14ad8); #[repr(C)] pub struct ISpeechRecognitionQualityDegradingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Problem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechRecognitionAudioProblem) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechRecognitionResult, ISpeechRecognitionResult_Vtbl, 0x4e303157_034e_4652_857e_d0454cc4beec); +windows_core::imp::define_interface!(ISpeechRecognitionResult, ISpeechRecognitionResult_Vtbl, 0x4e303157_034e_4652_857e_d0454cc4beec); #[repr(C)] pub struct ISpeechRecognitionResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -172,14 +172,14 @@ pub struct ISpeechRecognitionResult_Vtbl { RulePath: usize, pub RawConfidence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechRecognitionResult2, ISpeechRecognitionResult2_Vtbl, 0xaf7ed1ba_451b_4166_a0c1_1ffe84032d03); +windows_core::imp::define_interface!(ISpeechRecognitionResult2, ISpeechRecognitionResult2_Vtbl, 0xaf7ed1ba_451b_4166_a0c1_1ffe84032d03); #[repr(C)] pub struct ISpeechRecognitionResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PhraseStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub PhraseDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechRecognitionSemanticInterpretation, ISpeechRecognitionSemanticInterpretation_Vtbl, 0xaae1da9b_7e32_4c1f_89fe_0c65f486f52e); +windows_core::imp::define_interface!(ISpeechRecognitionSemanticInterpretation, ISpeechRecognitionSemanticInterpretation_Vtbl, 0xaae1da9b_7e32_4c1f_89fe_0c65f486f52e); #[repr(C)] pub struct ISpeechRecognitionSemanticInterpretation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -188,26 +188,26 @@ pub struct ISpeechRecognitionSemanticInterpretation_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(ISpeechRecognitionTopicConstraint, ISpeechRecognitionTopicConstraint_Vtbl, 0xbf6fdf19_825d_4e69_a681_36e48cf1c93e); +windows_core::imp::define_interface!(ISpeechRecognitionTopicConstraint, ISpeechRecognitionTopicConstraint_Vtbl, 0xbf6fdf19_825d_4e69_a681_36e48cf1c93e); #[repr(C)] 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, } -windows_core::imp::com_interface!(ISpeechRecognitionTopicConstraintFactory, ISpeechRecognitionTopicConstraintFactory_Vtbl, 0x6e6863df_ec05_47d7_a5df_56a3431e58d2); +windows_core::imp::define_interface!(ISpeechRecognitionTopicConstraintFactory, ISpeechRecognitionTopicConstraintFactory_Vtbl, 0x6e6863df_ec05_47d7_a5df_56a3431e58d2); #[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, } -windows_core::imp::com_interface!(ISpeechRecognitionVoiceCommandDefinitionConstraint, ISpeechRecognitionVoiceCommandDefinitionConstraint_Vtbl, 0xf2791c2b_1ef4_4ae7_9d77_b6ff10b8a3c2); +windows_core::imp::define_interface!(ISpeechRecognitionVoiceCommandDefinitionConstraint, ISpeechRecognitionVoiceCommandDefinitionConstraint_Vtbl, 0xf2791c2b_1ef4_4ae7_9d77_b6ff10b8a3c2); #[repr(C)] pub struct ISpeechRecognitionVoiceCommandDefinitionConstraint_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISpeechRecognizer, ISpeechRecognizer_Vtbl, 0x0bc3c9cb_c26a_40f2_aeb5_8096b2e48073); +windows_core::imp::define_interface!(ISpeechRecognizer, ISpeechRecognizer_Vtbl, 0x0bc3c9cb_c26a_40f2_aeb5_8096b2e48073); #[repr(C)] pub struct ISpeechRecognizer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -229,7 +229,7 @@ pub struct ISpeechRecognizer_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, } -windows_core::imp::com_interface!(ISpeechRecognizer2, ISpeechRecognizer2_Vtbl, 0x63c9baf1_91e3_4ea4_86a1_7c3867d084a6); +windows_core::imp::define_interface!(ISpeechRecognizer2, ISpeechRecognizer2_Vtbl, 0x63c9baf1_91e3_4ea4_86a1_7c3867d084a6); #[repr(C)] pub struct ISpeechRecognizer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -239,7 +239,7 @@ pub struct ISpeechRecognizer2_Vtbl { pub HypothesisGenerated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveHypothesisGenerated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechRecognizerFactory, ISpeechRecognizerFactory_Vtbl, 0x60c488dd_7fb8_4033_ac70_d046f64818e1); +windows_core::imp::define_interface!(ISpeechRecognizerFactory, ISpeechRecognizerFactory_Vtbl, 0x60c488dd_7fb8_4033_ac70_d046f64818e1); #[repr(C)] pub struct ISpeechRecognizerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -248,13 +248,13 @@ pub struct ISpeechRecognizerFactory_Vtbl { #[cfg(not(feature = "Globalization"))] Create: usize, } -windows_core::imp::com_interface!(ISpeechRecognizerStateChangedEventArgs, ISpeechRecognizerStateChangedEventArgs_Vtbl, 0x563d4f09_ba03_4bad_ad81_ddc6c4dab0c3); +windows_core::imp::define_interface!(ISpeechRecognizerStateChangedEventArgs, ISpeechRecognizerStateChangedEventArgs_Vtbl, 0x563d4f09_ba03_4bad_ad81_ddc6c4dab0c3); #[repr(C)] pub struct ISpeechRecognizerStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechRecognizerState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechRecognizerStatics, ISpeechRecognizerStatics_Vtbl, 0x87a35eac_a7dc_4b0b_bcc9_24f47c0b7ebf); +windows_core::imp::define_interface!(ISpeechRecognizerStatics, ISpeechRecognizerStatics_Vtbl, 0x87a35eac_a7dc_4b0b_bcc9_24f47c0b7ebf); #[repr(C)] pub struct ISpeechRecognizerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -271,7 +271,7 @@ pub struct ISpeechRecognizerStatics_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Globalization")))] SupportedGrammarLanguages: usize, } -windows_core::imp::com_interface!(ISpeechRecognizerStatics2, ISpeechRecognizerStatics2_Vtbl, 0x1d1b0d95_7565_4ef9_a2f3_ba15162a96cf); +windows_core::imp::define_interface!(ISpeechRecognizerStatics2, ISpeechRecognizerStatics2_Vtbl, 0x1d1b0d95_7565_4ef9_a2f3_ba15162a96cf); #[repr(C)] pub struct ISpeechRecognizerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -280,7 +280,7 @@ pub struct ISpeechRecognizerStatics2_Vtbl { #[cfg(not(feature = "Globalization"))] TrySetSystemSpeechLanguageAsync: usize, } -windows_core::imp::com_interface!(ISpeechRecognizerTimeouts, ISpeechRecognizerTimeouts_Vtbl, 0x2ef76fca_6a3c_4dca_a153_df1bc88a79af); +windows_core::imp::define_interface!(ISpeechRecognizerTimeouts, ISpeechRecognizerTimeouts_Vtbl, 0x2ef76fca_6a3c_4dca_a153_df1bc88a79af); #[repr(C)] pub struct ISpeechRecognizerTimeouts_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -291,7 +291,7 @@ pub struct ISpeechRecognizerTimeouts_Vtbl { pub BabbleTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetBabbleTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechRecognizerUIOptions, ISpeechRecognizerUIOptions_Vtbl, 0x7888d641_b92b_44ba_a25f_d1864630641f); +windows_core::imp::define_interface!(ISpeechRecognizerUIOptions, ISpeechRecognizerUIOptions_Vtbl, 0x7888d641_b92b_44ba_a25f_d1864630641f); #[repr(C)] pub struct ISpeechRecognizerUIOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -304,7 +304,7 @@ pub struct ISpeechRecognizerUIOptions_Vtbl { pub ShowConfirmation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetShowConfirmation: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVoiceCommandManager, IVoiceCommandManager_Vtbl, 0xaa3a8dd5_b6e7_4ee2_baa9_dd6baced0a2b); +windows_core::imp::define_interface!(IVoiceCommandManager, IVoiceCommandManager_Vtbl, 0xaa3a8dd5_b6e7_4ee2_baa9_dd6baced0a2b); #[repr(C)] pub struct IVoiceCommandManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -317,7 +317,7 @@ pub struct IVoiceCommandManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] InstalledCommandSets: usize, } -windows_core::imp::com_interface!(IVoiceCommandSet, IVoiceCommandSet_Vtbl, 0x0bedda75_46e6_4b11_a088_5c68632899b5); +windows_core::imp::define_interface!(IVoiceCommandSet, IVoiceCommandSet_Vtbl, 0x0bedda75_46e6_4b11_a088_5c68632899b5); #[repr(C)] pub struct IVoiceCommandSet_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs index 43045c02d9..10f041c1c6 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechSynthesis/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IInstalledVoicesStatic, IInstalledVoicesStatic_Vtbl, 0x7d526ecc_7533_4c3f_85be_888c2baeebdc); +windows_core::imp::define_interface!(IInstalledVoicesStatic, IInstalledVoicesStatic_Vtbl, 0x7d526ecc_7533_4c3f_85be_888c2baeebdc); #[repr(C)] pub struct IInstalledVoicesStatic_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,13 +8,13 @@ pub struct IInstalledVoicesStatic_Vtbl { AllVoices: usize, pub DefaultVoice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInstalledVoicesStatic2, IInstalledVoicesStatic2_Vtbl, 0x64255f2e_358d_4058_be9a_fd3fcb423530); +windows_core::imp::define_interface!(IInstalledVoicesStatic2, IInstalledVoicesStatic2_Vtbl, 0x64255f2e_358d_4058_be9a_fd3fcb423530); #[repr(C)] pub struct IInstalledVoicesStatic2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TrySetDefaultVoiceAsync: 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::com_interface!(ISpeechSynthesisStream, ISpeechSynthesisStream_Vtbl, 0x83e46e93_244c_4622_ba0b_6229c4d0d65d); +windows_core::imp::define_interface!(ISpeechSynthesisStream, ISpeechSynthesisStream_Vtbl, 0x83e46e93_244c_4622_ba0b_6229c4d0d65d); #[repr(C)] pub struct ISpeechSynthesisStream_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct ISpeechSynthesisStream_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Markers: usize, } -windows_core::imp::com_interface!(ISpeechSynthesizer, ISpeechSynthesizer_Vtbl, 0xce9f7c76_97f4_4ced_ad68_d51c458e45c6); +windows_core::imp::define_interface!(ISpeechSynthesizer, ISpeechSynthesizer_Vtbl, 0xce9f7c76_97f4_4ced_ad68_d51c458e45c6); #[repr(C)] pub struct ISpeechSynthesizer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -32,13 +32,13 @@ pub struct ISpeechSynthesizer_Vtbl { 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, } -windows_core::imp::com_interface!(ISpeechSynthesizer2, ISpeechSynthesizer2_Vtbl, 0xa7c5ecb2_4339_4d6a_bbf8_c7a4f1544c2e); +windows_core::imp::define_interface!(ISpeechSynthesizer2, ISpeechSynthesizer2_Vtbl, 0xa7c5ecb2_4339_4d6a_bbf8_c7a4f1544c2e); #[repr(C)] pub struct ISpeechSynthesizer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Options: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechSynthesizerOptions, ISpeechSynthesizerOptions_Vtbl, 0xa0e23871_cc3d_43c9_91b1_ee185324d83d); +windows_core::imp::define_interface!(ISpeechSynthesizerOptions, ISpeechSynthesizerOptions_Vtbl, 0xa0e23871_cc3d_43c9_91b1_ee185324d83d); #[repr(C)] pub struct ISpeechSynthesizerOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -47,7 +47,7 @@ pub struct ISpeechSynthesizerOptions_Vtbl { pub IncludeSentenceBoundaryMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIncludeSentenceBoundaryMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechSynthesizerOptions2, ISpeechSynthesizerOptions2_Vtbl, 0x1cbef60e_119c_4bed_b118_d250c3a25793); +windows_core::imp::define_interface!(ISpeechSynthesizerOptions2, ISpeechSynthesizerOptions2_Vtbl, 0x1cbef60e_119c_4bed_b118_d250c3a25793); #[repr(C)] pub struct ISpeechSynthesizerOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,7 +58,7 @@ pub struct ISpeechSynthesizerOptions2_Vtbl { pub AudioPitch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetAudioPitch: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechSynthesizerOptions3, ISpeechSynthesizerOptions3_Vtbl, 0x401ed877_902c_4814_a582_a5d0c0769fa8); +windows_core::imp::define_interface!(ISpeechSynthesizerOptions3, ISpeechSynthesizerOptions3_Vtbl, 0x401ed877_902c_4814_a582_a5d0c0769fa8); #[repr(C)] pub struct ISpeechSynthesizerOptions3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -67,7 +67,7 @@ pub struct ISpeechSynthesizerOptions3_Vtbl { pub PunctuationSilence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpeechPunctuationSilence) -> windows_core::HRESULT, pub SetPunctuationSilence: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechPunctuationSilence) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVoiceInformation, IVoiceInformation_Vtbl, 0xb127d6a4_1291_4604_aa9c_83134083352c); +windows_core::imp::define_interface!(IVoiceInformation, IVoiceInformation_Vtbl, 0xb127d6a4_1291_4604_aa9c_83134083352c); #[repr(C)] pub struct IVoiceInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 80c466e84f..21996fb16a 100644 --- a/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Streaming/Adaptive/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAdaptiveMediaSource, IAdaptiveMediaSource_Vtbl, 0x4c7332ef_d39f_4396_b4d9_043957a7c964); +windows_core::imp::define_interface!(IAdaptiveMediaSource, IAdaptiveMediaSource_Vtbl, 0x4c7332ef_d39f_4396_b4d9_043957a7c964); #[repr(C)] pub struct IAdaptiveMediaSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -32,13 +32,13 @@ pub struct IAdaptiveMediaSource_Vtbl { pub DownloadFailed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDownloadFailed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSource2, IAdaptiveMediaSource2_Vtbl, 0x17890342_6760_4bb9_a58a_f7aa98b08c0e); +windows_core::imp::define_interface!(IAdaptiveMediaSource2, IAdaptiveMediaSource2_Vtbl, 0x17890342_6760_4bb9_a58a_f7aa98b08c0e); #[repr(C)] pub struct IAdaptiveMediaSource2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AdvancedSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSource3, IAdaptiveMediaSource3_Vtbl, 0xba7023fd_c334_461b_a36e_c99f54f7174a); +windows_core::imp::define_interface!(IAdaptiveMediaSource3, IAdaptiveMediaSource3_Vtbl, 0xba7023fd_c334_461b_a36e_c99f54f7174a); #[repr(C)] pub struct IAdaptiveMediaSource3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -49,7 +49,7 @@ pub struct IAdaptiveMediaSource3_Vtbl { pub Diagnostics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCorrelatedTimes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceAdvancedSettings, IAdaptiveMediaSourceAdvancedSettings_Vtbl, 0x55db1680_1aeb_47dc_aa08_9a11610ba45a); +windows_core::imp::define_interface!(IAdaptiveMediaSourceAdvancedSettings, IAdaptiveMediaSourceAdvancedSettings_Vtbl, 0x55db1680_1aeb_47dc_aa08_9a11610ba45a); #[repr(C)] pub struct IAdaptiveMediaSourceAdvancedSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -60,7 +60,7 @@ pub struct IAdaptiveMediaSourceAdvancedSettings_Vtbl { pub BitrateDowngradeTriggerRatio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBitrateDowngradeTriggerRatio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceCorrelatedTimes, IAdaptiveMediaSourceCorrelatedTimes_Vtbl, 0x05108787_e032_48e1_ab8d_002b0b3051df); +windows_core::imp::define_interface!(IAdaptiveMediaSourceCorrelatedTimes, IAdaptiveMediaSourceCorrelatedTimes_Vtbl, 0x05108787_e032_48e1_ab8d_002b0b3051df); #[repr(C)] pub struct IAdaptiveMediaSourceCorrelatedTimes_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,7 +68,7 @@ pub struct IAdaptiveMediaSourceCorrelatedTimes_Vtbl { pub PresentationTimeStamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProgramDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceCreationResult, IAdaptiveMediaSourceCreationResult_Vtbl, 0x4686b6b2_800f_4e31_9093_76d4782013e7); +windows_core::imp::define_interface!(IAdaptiveMediaSourceCreationResult, IAdaptiveMediaSourceCreationResult_Vtbl, 0x4686b6b2_800f_4e31_9093_76d4782013e7); #[repr(C)] pub struct IAdaptiveMediaSourceCreationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -79,13 +79,13 @@ pub struct IAdaptiveMediaSourceCreationResult_Vtbl { #[cfg(not(feature = "Web_Http"))] HttpResponseMessage: usize, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceCreationResult2, IAdaptiveMediaSourceCreationResult2_Vtbl, 0x1c3243bf_1c44_404b_a201_df45ac7898e8); +windows_core::imp::define_interface!(IAdaptiveMediaSourceCreationResult2, IAdaptiveMediaSourceCreationResult2_Vtbl, 0x1c3243bf_1c44_404b_a201_df45ac7898e8); #[repr(C)] pub struct IAdaptiveMediaSourceCreationResult2_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, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDiagnosticAvailableEventArgs, IAdaptiveMediaSourceDiagnosticAvailableEventArgs_Vtbl, 0x3af64f06_6d9c_494a_b7a9_b3a5dee6ad68); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDiagnosticAvailableEventArgs, IAdaptiveMediaSourceDiagnosticAvailableEventArgs_Vtbl, 0x3af64f06_6d9c_494a_b7a9_b3a5dee6ad68); #[repr(C)] pub struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -99,40 +99,40 @@ pub struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs_Vtbl { pub ResourceByteRangeLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Bitrate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDiagnosticAvailableEventArgs2, IAdaptiveMediaSourceDiagnosticAvailableEventArgs2_Vtbl, 0x8c6dd857_16a5_4d9f_810e_00bd901b3ef9); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDiagnosticAvailableEventArgs2, IAdaptiveMediaSourceDiagnosticAvailableEventArgs2_Vtbl, 0x8c6dd857_16a5_4d9f_810e_00bd901b3ef9); #[repr(C)] pub struct IAdaptiveMediaSourceDiagnosticAvailableEventArgs2_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, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDiagnosticAvailableEventArgs3, IAdaptiveMediaSourceDiagnosticAvailableEventArgs3_Vtbl, 0xc3650cd5_daeb_4103_84da_68769ad513ff); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDiagnosticAvailableEventArgs3, IAdaptiveMediaSourceDiagnosticAvailableEventArgs3_Vtbl, 0xc3650cd5_daeb_4103_84da_68769ad513ff); #[repr(C)] 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, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDiagnostics, IAdaptiveMediaSourceDiagnostics_Vtbl, 0x9b24ee68_962e_448c_aebf_b29b56098e23); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDiagnostics, IAdaptiveMediaSourceDiagnostics_Vtbl, 0x9b24ee68_962e_448c_aebf_b29b56098e23); #[repr(C)] pub struct IAdaptiveMediaSourceDiagnostics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DiagnosticAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDiagnosticAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadBitrateChangedEventArgs, IAdaptiveMediaSourceDownloadBitrateChangedEventArgs_Vtbl, 0x670c0a44_e04e_4eff_816a_17399f78f4ba); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadBitrateChangedEventArgs, IAdaptiveMediaSourceDownloadBitrateChangedEventArgs_Vtbl, 0x670c0a44_e04e_4eff_816a_17399f78f4ba); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadBitrateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OldValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub NewValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2, IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2_Vtbl, 0xf3f1f444_96ae_4de0_b540_2b3246e6968c); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2, IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2_Vtbl, 0xf3f1f444_96ae_4de0_b540_2b3246e6968c); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AdaptiveMediaSourceDownloadBitrateChangedReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadCompletedEventArgs, IAdaptiveMediaSourceDownloadCompletedEventArgs_Vtbl, 0x19240dc3_5b37_4a1a_8970_d621cb6ca83b); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadCompletedEventArgs, IAdaptiveMediaSourceDownloadCompletedEventArgs_Vtbl, 0x19240dc3_5b37_4a1a_8970_d621cb6ca83b); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -145,7 +145,7 @@ pub struct IAdaptiveMediaSourceDownloadCompletedEventArgs_Vtbl { #[cfg(not(feature = "Web_Http"))] HttpResponseMessage: usize, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadCompletedEventArgs2, IAdaptiveMediaSourceDownloadCompletedEventArgs2_Vtbl, 0x704744c4_964a_40e4_af95_9177dd6dfa00); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadCompletedEventArgs2, IAdaptiveMediaSourceDownloadCompletedEventArgs2_Vtbl, 0x704744c4_964a_40e4_af95_9177dd6dfa00); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadCompletedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -153,14 +153,14 @@ pub struct IAdaptiveMediaSourceDownloadCompletedEventArgs2_Vtbl { pub Statistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadCompletedEventArgs3, IAdaptiveMediaSourceDownloadCompletedEventArgs3_Vtbl, 0x0f8a8bd1_93b2_47c6_badc_8be2c8f7f6e8); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadCompletedEventArgs3, IAdaptiveMediaSourceDownloadCompletedEventArgs3_Vtbl, 0x0f8a8bd1_93b2_47c6_badc_8be2c8f7f6e8); #[repr(C)] 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, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadFailedEventArgs, IAdaptiveMediaSourceDownloadFailedEventArgs_Vtbl, 0x37739048_f4ab_40a4_b135_c6dfd8bd7ff1); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadFailedEventArgs, IAdaptiveMediaSourceDownloadFailedEventArgs_Vtbl, 0x37739048_f4ab_40a4_b135_c6dfd8bd7ff1); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadFailedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -173,7 +173,7 @@ pub struct IAdaptiveMediaSourceDownloadFailedEventArgs_Vtbl { #[cfg(not(feature = "Web_Http"))] HttpResponseMessage: usize, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadFailedEventArgs2, IAdaptiveMediaSourceDownloadFailedEventArgs2_Vtbl, 0x70919568_967c_4986_90c5_c6fc4b31e2d8); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadFailedEventArgs2, IAdaptiveMediaSourceDownloadFailedEventArgs2_Vtbl, 0x70919568_967c_4986_90c5_c6fc4b31e2d8); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadFailedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -182,20 +182,20 @@ pub struct IAdaptiveMediaSourceDownloadFailedEventArgs2_Vtbl { pub Statistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadFailedEventArgs3, IAdaptiveMediaSourceDownloadFailedEventArgs3_Vtbl, 0xd0354549_1132_4a10_915a_c2211b5b9409); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadFailedEventArgs3, IAdaptiveMediaSourceDownloadFailedEventArgs3_Vtbl, 0xd0354549_1132_4a10_915a_c2211b5b9409); #[repr(C)] 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, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadRequestedDeferral, IAdaptiveMediaSourceDownloadRequestedDeferral_Vtbl, 0x05c68f64_fa20_4dbd_9821_4bf4c9bf77ab); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadRequestedDeferral, IAdaptiveMediaSourceDownloadRequestedDeferral_Vtbl, 0x05c68f64_fa20_4dbd_9821_4bf4c9bf77ab); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadRequestedDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadRequestedEventArgs, IAdaptiveMediaSourceDownloadRequestedEventArgs_Vtbl, 0xc83fdffd_44a9_47a2_bf96_03398b4bfaaf); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadRequestedEventArgs, IAdaptiveMediaSourceDownloadRequestedEventArgs_Vtbl, 0xc83fdffd_44a9_47a2_bf96_03398b4bfaaf); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -206,21 +206,21 @@ pub struct IAdaptiveMediaSourceDownloadRequestedEventArgs_Vtbl { pub Result: unsafe extern "system" fn(*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::com_interface!(IAdaptiveMediaSourceDownloadRequestedEventArgs2, IAdaptiveMediaSourceDownloadRequestedEventArgs2_Vtbl, 0xb37d8bfe_aa44_4d82_825b_611de3bcfecb); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadRequestedEventArgs2, IAdaptiveMediaSourceDownloadRequestedEventArgs2_Vtbl, 0xb37d8bfe_aa44_4d82_825b_611de3bcfecb); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadRequestedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadRequestedEventArgs3, IAdaptiveMediaSourceDownloadRequestedEventArgs3_Vtbl, 0x333c50fd_4f62_4481_ab44_1e47b0574225); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadRequestedEventArgs3, IAdaptiveMediaSourceDownloadRequestedEventArgs3_Vtbl, 0x333c50fd_4f62_4481_ab44_1e47b0574225); #[repr(C)] 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, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadResult, IAdaptiveMediaSourceDownloadResult_Vtbl, 0xf4afdc73_bcee_4a6a_9f0a_fec41e2339b0); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadResult, IAdaptiveMediaSourceDownloadResult_Vtbl, 0xf4afdc73_bcee_4a6a_9f0a_fec41e2339b0); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -247,7 +247,7 @@ pub struct IAdaptiveMediaSourceDownloadResult_Vtbl { 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, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadResult2, IAdaptiveMediaSourceDownloadResult2_Vtbl, 0x15552cb7_7b80_4ac4_8660_a4b97f7c70f0); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadResult2, IAdaptiveMediaSourceDownloadResult2_Vtbl, 0x15552cb7_7b80_4ac4_8660_a4b97f7c70f0); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -256,7 +256,7 @@ pub struct IAdaptiveMediaSourceDownloadResult2_Vtbl { pub ResourceByteRangeLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetResourceByteRangeLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceDownloadStatistics, IAdaptiveMediaSourceDownloadStatistics_Vtbl, 0xa306cefb_e96a_4dff_a9b8_1ae08c01ae98); +windows_core::imp::define_interface!(IAdaptiveMediaSourceDownloadStatistics, IAdaptiveMediaSourceDownloadStatistics_Vtbl, 0xa306cefb_e96a_4dff_a9b8_1ae08c01ae98); #[repr(C)] pub struct IAdaptiveMediaSourceDownloadStatistics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -265,7 +265,7 @@ pub struct IAdaptiveMediaSourceDownloadStatistics_Vtbl { pub TimeToFirstByteReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TimeToLastByteReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs, IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_Vtbl, 0x23a29f6d_7dda_4a51_87a9_6fa8c5b292be); +windows_core::imp::define_interface!(IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs, IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_Vtbl, 0x23a29f6d_7dda_4a51_87a9_6fa8c5b292be); #[repr(C)] pub struct IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -273,7 +273,7 @@ pub struct IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs_Vtbl { pub NewValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub AudioOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdaptiveMediaSourceStatics, IAdaptiveMediaSourceStatics_Vtbl, 0x50a6bd5d_66ef_4cd3_9579_9e660507dc3f); +windows_core::imp::define_interface!(IAdaptiveMediaSourceStatics, IAdaptiveMediaSourceStatics_Vtbl, 0x50a6bd5d_66ef_4cd3_9579_9e660507dc3f); #[repr(C)] pub struct IAdaptiveMediaSourceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs index 0dc3b7afa0..ab946ef5b8 100644 --- a/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Transcoding/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IMediaTranscoder, IMediaTranscoder_Vtbl, 0x190c99d2_a0aa_4d34_86bc_eed1b12c2f5b); +windows_core::imp::define_interface!(IMediaTranscoder, IMediaTranscoder_Vtbl, 0x190c99d2_a0aa_4d34_86bc_eed1b12c2f5b); #[repr(C)] pub struct IMediaTranscoder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,7 +30,7 @@ pub struct IMediaTranscoder_Vtbl { #[cfg(not(all(feature = "Media_MediaProperties", feature = "Storage_Streams")))] PrepareStreamTranscodeAsync: usize, } -windows_core::imp::com_interface!(IMediaTranscoder2, IMediaTranscoder2_Vtbl, 0x40531d74_35e0_4f04_8574_ca8bc4e5a082); +windows_core::imp::define_interface!(IMediaTranscoder2, IMediaTranscoder2_Vtbl, 0x40531d74_35e0_4f04_8574_ca8bc4e5a082); #[repr(C)] pub struct IMediaTranscoder2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -41,7 +41,7 @@ pub struct IMediaTranscoder2_Vtbl { pub SetVideoProcessingAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, MediaVideoProcessingAlgorithm) -> windows_core::HRESULT, pub VideoProcessingAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaVideoProcessingAlgorithm) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrepareTranscodeResult, IPrepareTranscodeResult_Vtbl, 0x05f25dce_994f_4a34_9d68_97ccce1730d6); +windows_core::imp::define_interface!(IPrepareTranscodeResult, IPrepareTranscodeResult_Vtbl, 0x05f25dce_994f_4a34_9d68_97ccce1730d6); #[repr(C)] pub struct IPrepareTranscodeResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Media/mod.rs b/crates/libs/windows/src/Windows/Media/mod.rs index 6ce7e1a22e..887f98d680 100644 --- a/crates/libs/windows/src/Windows/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Media/mod.rs @@ -52,7 +52,7 @@ pub mod SpeechSynthesis; pub mod Streaming; #[cfg(feature = "Media_Transcoding")] pub mod Transcoding; -windows_core::imp::com_interface!(IAudioBuffer, IAudioBuffer_Vtbl, 0x35175827_724b_4c6a_b130_f6537f9ae0d0); +windows_core::imp::define_interface!(IAudioBuffer, IAudioBuffer_Vtbl, 0x35175827_724b_4c6a_b130_f6537f9ae0d0); #[repr(C)] pub struct IAudioBuffer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -60,25 +60,25 @@ pub struct IAudioBuffer_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, } -windows_core::imp::com_interface!(IAudioFrame, IAudioFrame_Vtbl, 0xe36ac304_aab2_4277_9ed0_43cedf8e29c6); +windows_core::imp::define_interface!(IAudioFrame, IAudioFrame_Vtbl, 0xe36ac304_aab2_4277_9ed0_43cedf8e29c6); #[repr(C)] pub struct IAudioFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LockBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, AudioBufferAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioFrameFactory, IAudioFrameFactory_Vtbl, 0x91a90ade_2422_40a6_b9ad_30d02404317d); +windows_core::imp::define_interface!(IAudioFrameFactory, IAudioFrameFactory_Vtbl, 0x91a90ade_2422_40a6_b9ad_30d02404317d); #[repr(C)] pub struct IAudioFrameFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAutoRepeatModeChangeRequestedEventArgs, IAutoRepeatModeChangeRequestedEventArgs_Vtbl, 0xea137efa_d852_438e_882b_c990109a78f4); +windows_core::imp::define_interface!(IAutoRepeatModeChangeRequestedEventArgs, IAutoRepeatModeChangeRequestedEventArgs_Vtbl, 0xea137efa_d852_438e_882b_c990109a78f4); #[repr(C)] pub struct IAutoRepeatModeChangeRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestedAutoRepeatMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MediaPlaybackAutoRepeatMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageDisplayProperties, IImageDisplayProperties_Vtbl, 0xcd0bc7ef_54e7_411f_9933_f0e98b0a96d2); +windows_core::imp::define_interface!(IImageDisplayProperties, IImageDisplayProperties_Vtbl, 0xcd0bc7ef_54e7_411f_9933_f0e98b0a96d2); #[repr(C)] pub struct IImageDisplayProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,7 +88,7 @@ pub struct IImageDisplayProperties_Vtbl { pub SetSubtitle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IMediaControl, IMediaControl_Vtbl, 0x98f1fbe1_7a8d_42cb_b6fe_8fe698264f13); +windows_core::imp::define_interface!(IMediaControl, IMediaControl_Vtbl, 0x98f1fbe1_7a8d_42cb_b6fe_8fe698264f13); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IMediaControl_Vtbl { @@ -226,7 +226,7 @@ pub struct IMediaControl_Vtbl { #[cfg(not(feature = "deprecated"))] AlbumArt: usize, } -windows_core::imp::com_interface!(IMediaExtension, IMediaExtension_Vtbl, 0x07915118_45df_442b_8a3f_f7826a6370ab); +windows_core::imp::define_interface!(IMediaExtension, IMediaExtension_Vtbl, 0x07915118_45df_442b_8a3f_f7826a6370ab); windows_core::imp::interface_hierarchy!(IMediaExtension, windows_core::IUnknown, windows_core::IInspectable); impl IMediaExtension { #[cfg(feature = "Foundation_Collections")] @@ -249,7 +249,7 @@ pub struct IMediaExtension_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetProperties: usize, } -windows_core::imp::com_interface!(IMediaExtensionManager, IMediaExtensionManager_Vtbl, 0x4a25eaf5_242d_4dfb_97f4_69b7c42576ff); +windows_core::imp::define_interface!(IMediaExtensionManager, IMediaExtensionManager_Vtbl, 0x4a25eaf5_242d_4dfb_97f4_69b7c42576ff); #[repr(C)] pub struct IMediaExtensionManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -284,7 +284,7 @@ pub struct IMediaExtensionManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RegisterVideoEncoderWithSettings: usize, } -windows_core::imp::com_interface!(IMediaExtensionManager2, IMediaExtensionManager2_Vtbl, 0x5bcebf47_4043_4fed_acaf_54ec29dfb1f7); +windows_core::imp::define_interface!(IMediaExtensionManager2, IMediaExtensionManager2_Vtbl, 0x5bcebf47_4043_4fed_acaf_54ec29dfb1f7); #[repr(C)] pub struct IMediaExtensionManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -293,7 +293,7 @@ pub struct IMediaExtensionManager2_Vtbl { #[cfg(not(feature = "ApplicationModel_AppService"))] RegisterMediaExtensionForAppService: usize, } -windows_core::imp::com_interface!(IMediaFrame, IMediaFrame_Vtbl, 0xbfb52f8c_5943_47d8_8e10_05308aa5fbd0); +windows_core::imp::define_interface!(IMediaFrame, IMediaFrame_Vtbl, 0xbfb52f8c_5943_47d8_8e10_05308aa5fbd0); windows_core::imp::interface_hierarchy!(IMediaFrame, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IMediaFrame, super::Foundation::IClosable); impl IMediaFrame { @@ -398,7 +398,7 @@ pub struct IMediaFrame_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ExtendedProperties: usize, } -windows_core::imp::com_interface!(IMediaMarker, IMediaMarker_Vtbl, 0x1803def8_dca5_4b6f_9c20_e3d3c0643625); +windows_core::imp::define_interface!(IMediaMarker, IMediaMarker_Vtbl, 0x1803def8_dca5_4b6f_9c20_e3d3c0643625); windows_core::imp::interface_hierarchy!(IMediaMarker, windows_core::IUnknown, windows_core::IInspectable); impl IMediaMarker { pub fn Time(&self) -> windows_core::Result { @@ -433,13 +433,13 @@ pub struct IMediaMarker_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaMarkerTypesStatics, IMediaMarkerTypesStatics_Vtbl, 0xbb198040_482f_4743_8832_45853821ece0); +windows_core::imp::define_interface!(IMediaMarkerTypesStatics, IMediaMarkerTypesStatics_Vtbl, 0xbb198040_482f_4743_8832_45853821ece0); #[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, } -windows_core::imp::com_interface!(IMediaMarkers, IMediaMarkers_Vtbl, 0xafeab189_f8dd_466e_aa10_920b52353fdf); +windows_core::imp::define_interface!(IMediaMarkers, IMediaMarkers_Vtbl, 0xafeab189_f8dd_466e_aa10_920b52353fdf); windows_core::imp::interface_hierarchy!(IMediaMarkers, windows_core::IUnknown, windows_core::IInspectable); impl IMediaMarkers { #[cfg(feature = "Foundation_Collections")] @@ -462,7 +462,7 @@ pub struct IMediaMarkers_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Markers: usize, } -windows_core::imp::com_interface!(IMediaProcessingTriggerDetails, IMediaProcessingTriggerDetails_Vtbl, 0xeb8564ac_a351_4f4e_b4f0_9bf2408993db); +windows_core::imp::define_interface!(IMediaProcessingTriggerDetails, IMediaProcessingTriggerDetails_Vtbl, 0xeb8564ac_a351_4f4e_b4f0_9bf2408993db); #[repr(C)] pub struct IMediaProcessingTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -471,7 +471,7 @@ pub struct IMediaProcessingTriggerDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Arguments: usize, } -windows_core::imp::com_interface!(IMediaTimelineController, IMediaTimelineController_Vtbl, 0x8ed361f3_0b78_4360_bf71_0c841999ea1b); +windows_core::imp::define_interface!(IMediaTimelineController, IMediaTimelineController_Vtbl, 0x8ed361f3_0b78_4360_bf71_0c841999ea1b); #[repr(C)] pub struct IMediaTimelineController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -488,7 +488,7 @@ pub struct IMediaTimelineController_Vtbl { pub StateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaTimelineController2, IMediaTimelineController2_Vtbl, 0xef74ea38_9e72_4df9_8355_6e90c81bbadd); +windows_core::imp::define_interface!(IMediaTimelineController2, IMediaTimelineController2_Vtbl, 0xef74ea38_9e72_4df9_8355_6e90c81bbadd); #[repr(C)] pub struct IMediaTimelineController2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -501,13 +501,13 @@ pub struct IMediaTimelineController2_Vtbl { pub Ended: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveEnded: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaTimelineControllerFailedEventArgs, IMediaTimelineControllerFailedEventArgs_Vtbl, 0x8821f81d_3e77_43fb_be26_4fc87a044834); +windows_core::imp::define_interface!(IMediaTimelineControllerFailedEventArgs, IMediaTimelineControllerFailedEventArgs_Vtbl, 0x8821f81d_3e77_43fb_be26_4fc87a044834); #[repr(C)] pub struct IMediaTimelineControllerFailedEventArgs_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, } -windows_core::imp::com_interface!(IMusicDisplayProperties, IMusicDisplayProperties_Vtbl, 0x6bbf0c59_d0a0_4d26_92a0_f978e1d18e7b); +windows_core::imp::define_interface!(IMusicDisplayProperties, IMusicDisplayProperties_Vtbl, 0x6bbf0c59_d0a0_4d26_92a0_f978e1d18e7b); #[repr(C)] pub struct IMusicDisplayProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -518,7 +518,7 @@ pub struct IMusicDisplayProperties_Vtbl { 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, } -windows_core::imp::com_interface!(IMusicDisplayProperties2, IMusicDisplayProperties2_Vtbl, 0x00368462_97d3_44b9_b00f_008afcefaf18); +windows_core::imp::define_interface!(IMusicDisplayProperties2, IMusicDisplayProperties2_Vtbl, 0x00368462_97d3_44b9_b00f_008afcefaf18); #[repr(C)] pub struct IMusicDisplayProperties2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -531,32 +531,32 @@ pub struct IMusicDisplayProperties2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Genres: usize, } -windows_core::imp::com_interface!(IMusicDisplayProperties3, IMusicDisplayProperties3_Vtbl, 0x4db51ac1_0681_4e8c_9401_b8159d9eefc7); +windows_core::imp::define_interface!(IMusicDisplayProperties3, IMusicDisplayProperties3_Vtbl, 0x4db51ac1_0681_4e8c_9401_b8159d9eefc7); #[repr(C)] pub struct IMusicDisplayProperties3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AlbumTrackCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetAlbumTrackCount: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlaybackPositionChangeRequestedEventArgs, IPlaybackPositionChangeRequestedEventArgs_Vtbl, 0xb4493f88_eb28_4961_9c14_335e44f3e125); +windows_core::imp::define_interface!(IPlaybackPositionChangeRequestedEventArgs, IPlaybackPositionChangeRequestedEventArgs_Vtbl, 0xb4493f88_eb28_4961_9c14_335e44f3e125); #[repr(C)] pub struct IPlaybackPositionChangeRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestedPlaybackPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlaybackRateChangeRequestedEventArgs, IPlaybackRateChangeRequestedEventArgs_Vtbl, 0x2ce2c41f_3cd6_4f77_9ba7_eb27c26a2140); +windows_core::imp::define_interface!(IPlaybackRateChangeRequestedEventArgs, IPlaybackRateChangeRequestedEventArgs_Vtbl, 0x2ce2c41f_3cd6_4f77_9ba7_eb27c26a2140); #[repr(C)] pub struct IPlaybackRateChangeRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestedPlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShuffleEnabledChangeRequestedEventArgs, IShuffleEnabledChangeRequestedEventArgs_Vtbl, 0x49b593fe_4fd0_4666_a314_c0e01940d302); +windows_core::imp::define_interface!(IShuffleEnabledChangeRequestedEventArgs, IShuffleEnabledChangeRequestedEventArgs_Vtbl, 0x49b593fe_4fd0_4666_a314_c0e01940d302); #[repr(C)] pub struct IShuffleEnabledChangeRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestedShuffleEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemMediaTransportControls, ISystemMediaTransportControls_Vtbl, 0x99fa3ff4_1742_42a6_902e_087d41f965ec); +windows_core::imp::define_interface!(ISystemMediaTransportControls, ISystemMediaTransportControls_Vtbl, 0x99fa3ff4_1742_42a6_902e_087d41f965ec); #[repr(C)] pub struct ISystemMediaTransportControls_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -591,7 +591,7 @@ pub struct ISystemMediaTransportControls_Vtbl { pub PropertyChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePropertyChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemMediaTransportControls2, ISystemMediaTransportControls2_Vtbl, 0xea98d2f6_7f3c_4af2_a586_72889808efb1); +windows_core::imp::define_interface!(ISystemMediaTransportControls2, ISystemMediaTransportControls2_Vtbl, 0xea98d2f6_7f3c_4af2_a586_72889808efb1); #[repr(C)] pub struct ISystemMediaTransportControls2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -611,13 +611,13 @@ pub struct ISystemMediaTransportControls2_Vtbl { pub AutoRepeatModeChangeRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAutoRepeatModeChangeRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemMediaTransportControlsButtonPressedEventArgs, ISystemMediaTransportControlsButtonPressedEventArgs_Vtbl, 0xb7f47116_a56f_4dc8_9e11_92031f4a87c2); +windows_core::imp::define_interface!(ISystemMediaTransportControlsButtonPressedEventArgs, ISystemMediaTransportControlsButtonPressedEventArgs_Vtbl, 0xb7f47116_a56f_4dc8_9e11_92031f4a87c2); #[repr(C)] pub struct ISystemMediaTransportControlsButtonPressedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Button: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SystemMediaTransportControlsButton) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemMediaTransportControlsDisplayUpdater, ISystemMediaTransportControlsDisplayUpdater_Vtbl, 0x8abbc53e_fa55_4ecf_ad8e_c984e5dd1550); +windows_core::imp::define_interface!(ISystemMediaTransportControlsDisplayUpdater, ISystemMediaTransportControlsDisplayUpdater_Vtbl, 0x8abbc53e_fa55_4ecf_ad8e_c984e5dd1550); #[repr(C)] pub struct ISystemMediaTransportControlsDisplayUpdater_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -643,19 +643,19 @@ pub struct ISystemMediaTransportControlsDisplayUpdater_Vtbl { pub ClearAll: 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, } -windows_core::imp::com_interface!(ISystemMediaTransportControlsPropertyChangedEventArgs, ISystemMediaTransportControlsPropertyChangedEventArgs_Vtbl, 0xd0ca0936_339b_4cb3_8eeb_737607f56e08); +windows_core::imp::define_interface!(ISystemMediaTransportControlsPropertyChangedEventArgs, ISystemMediaTransportControlsPropertyChangedEventArgs_Vtbl, 0xd0ca0936_339b_4cb3_8eeb_737607f56e08); #[repr(C)] pub struct ISystemMediaTransportControlsPropertyChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Property: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SystemMediaTransportControlsProperty) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemMediaTransportControlsStatics, ISystemMediaTransportControlsStatics_Vtbl, 0x43ba380a_eca4_4832_91ab_d415fae484c6); +windows_core::imp::define_interface!(ISystemMediaTransportControlsStatics, ISystemMediaTransportControlsStatics_Vtbl, 0x43ba380a_eca4_4832_91ab_d415fae484c6); #[repr(C)] pub struct ISystemMediaTransportControlsStatics_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, } -windows_core::imp::com_interface!(ISystemMediaTransportControlsTimelineProperties, ISystemMediaTransportControlsTimelineProperties_Vtbl, 0x5125316a_c3a2_475b_8507_93534dc88f15); +windows_core::imp::define_interface!(ISystemMediaTransportControlsTimelineProperties, ISystemMediaTransportControlsTimelineProperties_Vtbl, 0x5125316a_c3a2_475b_8507_93534dc88f15); #[repr(C)] pub struct ISystemMediaTransportControlsTimelineProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -670,7 +670,7 @@ pub struct ISystemMediaTransportControlsTimelineProperties_Vtbl { pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoDisplayProperties, IVideoDisplayProperties_Vtbl, 0x5609fdb1_5d2d_4872_8170_45dee5bc2f5c); +windows_core::imp::define_interface!(IVideoDisplayProperties, IVideoDisplayProperties_Vtbl, 0x5609fdb1_5d2d_4872_8170_45dee5bc2f5c); #[repr(C)] pub struct IVideoDisplayProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -679,7 +679,7 @@ pub struct IVideoDisplayProperties_Vtbl { 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, } -windows_core::imp::com_interface!(IVideoDisplayProperties2, IVideoDisplayProperties2_Vtbl, 0xb410e1ce_ab52_41ab_a486_cc10fab152f9); +windows_core::imp::define_interface!(IVideoDisplayProperties2, IVideoDisplayProperties2_Vtbl, 0xb410e1ce_ab52_41ab_a486_cc10fab152f9); #[repr(C)] pub struct IVideoDisplayProperties2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -688,13 +688,13 @@ pub struct IVideoDisplayProperties2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Genres: usize, } -windows_core::imp::com_interface!(IVideoEffectsStatics, IVideoEffectsStatics_Vtbl, 0x1fcda5e8_baf1_4521_980c_3bcebb44cf38); +windows_core::imp::define_interface!(IVideoEffectsStatics, IVideoEffectsStatics_Vtbl, 0x1fcda5e8_baf1_4521_980c_3bcebb44cf38); #[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, } -windows_core::imp::com_interface!(IVideoFrame, IVideoFrame_Vtbl, 0x0cc06625_90fc_4c92_bd95_7ded21819d1c); +windows_core::imp::define_interface!(IVideoFrame, IVideoFrame_Vtbl, 0x0cc06625_90fc_4c92_bd95_7ded21819d1c); #[repr(C)] pub struct IVideoFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -708,7 +708,7 @@ pub struct IVideoFrame_Vtbl { #[cfg(not(feature = "Graphics_DirectX_Direct3D11"))] Direct3DSurface: usize, } -windows_core::imp::com_interface!(IVideoFrame2, IVideoFrame2_Vtbl, 0x3837840d_336c_4366_8d46_060798736c5d); +windows_core::imp::define_interface!(IVideoFrame2, IVideoFrame2_Vtbl, 0x3837840d_336c_4366_8d46_060798736c5d); #[repr(C)] pub struct IVideoFrame2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -717,7 +717,7 @@ pub struct IVideoFrame2_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] CopyToWithBoundsAsync: usize, } -windows_core::imp::com_interface!(IVideoFrameFactory, IVideoFrameFactory_Vtbl, 0x014b6d69_2228_4c92_92ff_50c380d3e776); +windows_core::imp::define_interface!(IVideoFrameFactory, IVideoFrameFactory_Vtbl, 0x014b6d69_2228_4c92_92ff_50c380d3e776); #[repr(C)] pub struct IVideoFrameFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -730,7 +730,7 @@ pub struct IVideoFrameFactory_Vtbl { #[cfg(not(feature = "Graphics_Imaging"))] CreateWithAlpha: usize, } -windows_core::imp::com_interface!(IVideoFrameStatics, IVideoFrameStatics_Vtbl, 0xab2a556f_6111_4b33_8ec3_2b209a02e17a); +windows_core::imp::define_interface!(IVideoFrameStatics, IVideoFrameStatics_Vtbl, 0xab2a556f_6111_4b33_8ec3_2b209a02e17a); #[repr(C)] pub struct IVideoFrameStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs index 194da3953e..abc34e6eba 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IBackgroundDownloader, IBackgroundDownloader_Vtbl, 0xc1c79333_6649_4b1d_a826_a4b3dd234d0b); +windows_core::imp::define_interface!(IBackgroundDownloader, IBackgroundDownloader_Vtbl, 0xc1c79333_6649_4b1d_a826_a4b3dd234d0b); #[repr(C)] pub struct IBackgroundDownloader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -15,7 +15,7 @@ pub struct IBackgroundDownloader_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateDownloadAsync: usize, } -windows_core::imp::com_interface!(IBackgroundDownloader2, IBackgroundDownloader2_Vtbl, 0xa94a5847_348d_4a35_890e_8a1ef3798479); +windows_core::imp::define_interface!(IBackgroundDownloader2, IBackgroundDownloader2_Vtbl, 0xa94a5847_348d_4a35_890e_8a1ef3798479); #[repr(C)] pub struct IBackgroundDownloader2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -54,19 +54,19 @@ pub struct IBackgroundDownloader2_Vtbl { #[cfg(not(feature = "UI_Notifications"))] SetFailureTileNotification: usize, } -windows_core::imp::com_interface!(IBackgroundDownloader3, IBackgroundDownloader3_Vtbl, 0xd11a8c48_86e8_48e2_b615_6976aabf861d); +windows_core::imp::define_interface!(IBackgroundDownloader3, IBackgroundDownloader3_Vtbl, 0xd11a8c48_86e8_48e2_b615_6976aabf861d); #[repr(C)] pub struct IBackgroundDownloader3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CompletionGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundDownloaderFactory, IBackgroundDownloaderFactory_Vtbl, 0x26836c24_d89e_46f4_a29a_4f4d4f144155); +windows_core::imp::define_interface!(IBackgroundDownloaderFactory, IBackgroundDownloaderFactory_Vtbl, 0x26836c24_d89e_46f4_a29a_4f4d4f144155); #[repr(C)] pub struct IBackgroundDownloaderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateWithCompletionGroup: 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::com_interface!(IBackgroundDownloaderStaticMethods, IBackgroundDownloaderStaticMethods_Vtbl, 0x52a65a35_c64e_426c_9919_540d0d21a650); +windows_core::imp::define_interface!(IBackgroundDownloaderStaticMethods, IBackgroundDownloaderStaticMethods_Vtbl, 0x52a65a35_c64e_426c_9919_540d0d21a650); #[repr(C)] pub struct IBackgroundDownloaderStaticMethods_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -79,7 +79,7 @@ pub struct IBackgroundDownloaderStaticMethods_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetCurrentDownloadsForGroupAsync: usize, } -windows_core::imp::com_interface!(IBackgroundDownloaderStaticMethods2, IBackgroundDownloaderStaticMethods2_Vtbl, 0x2faa1327_1ad4_4ca5_b2cd_08dbf0746afe); +windows_core::imp::define_interface!(IBackgroundDownloaderStaticMethods2, IBackgroundDownloaderStaticMethods2_Vtbl, 0x2faa1327_1ad4_4ca5_b2cd_08dbf0746afe); #[repr(C)] pub struct IBackgroundDownloaderStaticMethods2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,7 +89,7 @@ pub struct IBackgroundDownloaderStaticMethods2_Vtbl { GetCurrentDownloadsForTransferGroupAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IBackgroundDownloaderUserConsent, IBackgroundDownloaderUserConsent_Vtbl, 0x5d14e906_9266_4808_bd71_5925f2a3130a); +windows_core::imp::define_interface!(IBackgroundDownloaderUserConsent, IBackgroundDownloaderUserConsent_Vtbl, 0x5d14e906_9266_4808_bd71_5925f2a3130a); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IBackgroundDownloaderUserConsent_Vtbl { @@ -99,7 +99,7 @@ pub struct IBackgroundDownloaderUserConsent_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] RequestUnconstrainedDownloadsAsync: usize, } -windows_core::imp::com_interface!(IBackgroundTransferBase, IBackgroundTransferBase_Vtbl, 0x2a9da250_c769_458c_afe8_feb8d4d3b2ef); +windows_core::imp::define_interface!(IBackgroundTransferBase, IBackgroundTransferBase_Vtbl, 0x2a9da250_c769_458c_afe8_feb8d4d3b2ef); windows_core::imp::interface_hierarchy!(IBackgroundTransferBase, windows_core::IUnknown, windows_core::IInspectable); impl IBackgroundTransferBase { pub fn SetRequestHeader(&self, headername: &windows_core::HSTRING, headervalue: &windows_core::HSTRING) -> windows_core::Result<()> { @@ -210,7 +210,7 @@ pub struct IBackgroundTransferBase_Vtbl { pub CostPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BackgroundTransferCostPolicy) -> windows_core::HRESULT, pub SetCostPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundTransferCostPolicy) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTransferCompletionGroup, IBackgroundTransferCompletionGroup_Vtbl, 0x2d930225_986b_574d_7950_0add47f5d706); +windows_core::imp::define_interface!(IBackgroundTransferCompletionGroup, IBackgroundTransferCompletionGroup_Vtbl, 0x2d930225_986b_574d_7950_0add47f5d706); #[repr(C)] pub struct IBackgroundTransferCompletionGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -221,7 +221,7 @@ pub struct IBackgroundTransferCompletionGroup_Vtbl { pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTransferCompletionGroupTriggerDetails, IBackgroundTransferCompletionGroupTriggerDetails_Vtbl, 0x7b6be286_6e47_5136_7fcb_fa4389f46f5b); +windows_core::imp::define_interface!(IBackgroundTransferCompletionGroupTriggerDetails, IBackgroundTransferCompletionGroupTriggerDetails_Vtbl, 0x7b6be286_6e47_5136_7fcb_fa4389f46f5b); #[repr(C)] pub struct IBackgroundTransferCompletionGroupTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -234,7 +234,7 @@ pub struct IBackgroundTransferCompletionGroupTriggerDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Uploads: usize, } -windows_core::imp::com_interface!(IBackgroundTransferContentPart, IBackgroundTransferContentPart_Vtbl, 0xe8e15657_d7d1_4ed8_838e_674ac217ace6); +windows_core::imp::define_interface!(IBackgroundTransferContentPart, IBackgroundTransferContentPart_Vtbl, 0xe8e15657_d7d1_4ed8_838e_674ac217ace6); #[repr(C)] pub struct IBackgroundTransferContentPart_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -245,7 +245,7 @@ pub struct IBackgroundTransferContentPart_Vtbl { #[cfg(not(feature = "Storage"))] SetFile: usize, } -windows_core::imp::com_interface!(IBackgroundTransferContentPartFactory, IBackgroundTransferContentPartFactory_Vtbl, 0x90ef98a9_7a01_4a0b_9f80_a0b0bb370f8d); +windows_core::imp::define_interface!(IBackgroundTransferContentPartFactory, IBackgroundTransferContentPartFactory_Vtbl, 0x90ef98a9_7a01_4a0b_9f80_a0b0bb370f8d); windows_core::imp::interface_hierarchy!(IBackgroundTransferContentPartFactory, windows_core::IUnknown, windows_core::IInspectable); impl IBackgroundTransferContentPartFactory { pub fn CreateWithName(&self, name: &windows_core::HSTRING) -> windows_core::Result { @@ -272,7 +272,7 @@ pub struct IBackgroundTransferContentPartFactory_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, } -windows_core::imp::com_interface!(IBackgroundTransferErrorStaticMethods, IBackgroundTransferErrorStaticMethods_Vtbl, 0xaad33b04_1192_4bf4_8b68_39c5add244e2); +windows_core::imp::define_interface!(IBackgroundTransferErrorStaticMethods, IBackgroundTransferErrorStaticMethods_Vtbl, 0xaad33b04_1192_4bf4_8b68_39c5add244e2); #[repr(C)] pub struct IBackgroundTransferErrorStaticMethods_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -281,7 +281,7 @@ pub struct IBackgroundTransferErrorStaticMethods_Vtbl { #[cfg(not(feature = "Web"))] GetStatus: usize, } -windows_core::imp::com_interface!(IBackgroundTransferGroup, IBackgroundTransferGroup_Vtbl, 0xd8c3e3e4_6459_4540_85eb_aaa1c8903677); +windows_core::imp::define_interface!(IBackgroundTransferGroup, IBackgroundTransferGroup_Vtbl, 0xd8c3e3e4_6459_4540_85eb_aaa1c8903677); #[repr(C)] pub struct IBackgroundTransferGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -289,13 +289,13 @@ pub struct IBackgroundTransferGroup_Vtbl { 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, } -windows_core::imp::com_interface!(IBackgroundTransferGroupStatics, IBackgroundTransferGroupStatics_Vtbl, 0x02ec50b2_7d18_495b_aa22_32a97d45d3e2); +windows_core::imp::define_interface!(IBackgroundTransferGroupStatics, IBackgroundTransferGroupStatics_Vtbl, 0x02ec50b2_7d18_495b_aa22_32a97d45d3e2); #[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, } -windows_core::imp::com_interface!(IBackgroundTransferOperation, IBackgroundTransferOperation_Vtbl, 0xded06846_90ca_44fb_8fb1_124154c0d539); +windows_core::imp::define_interface!(IBackgroundTransferOperation, IBackgroundTransferOperation_Vtbl, 0xded06846_90ca_44fb_8fb1_124154c0d539); windows_core::imp::interface_hierarchy!(IBackgroundTransferOperation, windows_core::IUnknown, windows_core::IInspectable); impl IBackgroundTransferOperation { pub fn Guid(&self) -> windows_core::Result { @@ -375,7 +375,7 @@ pub struct IBackgroundTransferOperation_Vtbl { GetResultStreamAt: usize, pub GetResponseInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTransferOperationPriority, IBackgroundTransferOperationPriority_Vtbl, 0x04854327_5254_4b3a_915e_0aa49275c0f9); +windows_core::imp::define_interface!(IBackgroundTransferOperationPriority, IBackgroundTransferOperationPriority_Vtbl, 0x04854327_5254_4b3a_915e_0aa49275c0f9); windows_core::imp::interface_hierarchy!(IBackgroundTransferOperationPriority, windows_core::IUnknown, windows_core::IInspectable); impl IBackgroundTransferOperationPriority { pub fn Priority(&self) -> windows_core::Result { @@ -399,7 +399,7 @@ pub struct IBackgroundTransferOperationPriority_Vtbl { pub Priority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BackgroundTransferPriority) -> windows_core::HRESULT, pub SetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, BackgroundTransferPriority) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundTransferRangesDownloadedEventArgs, IBackgroundTransferRangesDownloadedEventArgs_Vtbl, 0x3ebc7453_bf48_4a88_9248_b0c165184f5c); +windows_core::imp::define_interface!(IBackgroundTransferRangesDownloadedEventArgs, IBackgroundTransferRangesDownloadedEventArgs_Vtbl, 0x3ebc7453_bf48_4a88_9248_b0c165184f5c); #[repr(C)] pub struct IBackgroundTransferRangesDownloadedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -410,7 +410,7 @@ pub struct IBackgroundTransferRangesDownloadedEventArgs_Vtbl { AddedRanges: usize, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundUploader, IBackgroundUploader_Vtbl, 0xc595c9ae_cead_465b_8801_c55ac90a01ce); +windows_core::imp::define_interface!(IBackgroundUploader, IBackgroundUploader_Vtbl, 0xc595c9ae_cead_465b_8801_c55ac90a01ce); #[repr(C)] pub struct IBackgroundUploader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -435,7 +435,7 @@ pub struct IBackgroundUploader_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateUploadWithSubTypeAndBoundaryAsync: usize, } -windows_core::imp::com_interface!(IBackgroundUploader2, IBackgroundUploader2_Vtbl, 0x8e0612ce_0c34_4463_807f_198a1b8bd4ad); +windows_core::imp::define_interface!(IBackgroundUploader2, IBackgroundUploader2_Vtbl, 0x8e0612ce_0c34_4463_807f_198a1b8bd4ad); #[repr(C)] pub struct IBackgroundUploader2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -474,19 +474,19 @@ pub struct IBackgroundUploader2_Vtbl { #[cfg(not(feature = "UI_Notifications"))] SetFailureTileNotification: usize, } -windows_core::imp::com_interface!(IBackgroundUploader3, IBackgroundUploader3_Vtbl, 0xb95e9439_5bf0_4b3a_8c47_2c6199a854b9); +windows_core::imp::define_interface!(IBackgroundUploader3, IBackgroundUploader3_Vtbl, 0xb95e9439_5bf0_4b3a_8c47_2c6199a854b9); #[repr(C)] pub struct IBackgroundUploader3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CompletionGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundUploaderFactory, IBackgroundUploaderFactory_Vtbl, 0x736203c7_10e7_48a0_ac3c_1ac71095ec57); +windows_core::imp::define_interface!(IBackgroundUploaderFactory, IBackgroundUploaderFactory_Vtbl, 0x736203c7_10e7_48a0_ac3c_1ac71095ec57); #[repr(C)] pub struct IBackgroundUploaderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateWithCompletionGroup: 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::com_interface!(IBackgroundUploaderStaticMethods, IBackgroundUploaderStaticMethods_Vtbl, 0xf2875cfb_9b05_4741_9121_740a83e247df); +windows_core::imp::define_interface!(IBackgroundUploaderStaticMethods, IBackgroundUploaderStaticMethods_Vtbl, 0xf2875cfb_9b05_4741_9121_740a83e247df); #[repr(C)] pub struct IBackgroundUploaderStaticMethods_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -499,7 +499,7 @@ pub struct IBackgroundUploaderStaticMethods_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] GetCurrentUploadsForGroupAsync: usize, } -windows_core::imp::com_interface!(IBackgroundUploaderStaticMethods2, IBackgroundUploaderStaticMethods2_Vtbl, 0xe919ac62_ea08_42f0_a2ac_07e467549080); +windows_core::imp::define_interface!(IBackgroundUploaderStaticMethods2, IBackgroundUploaderStaticMethods2_Vtbl, 0xe919ac62_ea08_42f0_a2ac_07e467549080); #[repr(C)] pub struct IBackgroundUploaderStaticMethods2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -509,7 +509,7 @@ pub struct IBackgroundUploaderStaticMethods2_Vtbl { GetCurrentUploadsForTransferGroupAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IBackgroundUploaderUserConsent, IBackgroundUploaderUserConsent_Vtbl, 0x3bb384cb_0760_461d_907f_5138f84d44c1); +windows_core::imp::define_interface!(IBackgroundUploaderUserConsent, IBackgroundUploaderUserConsent_Vtbl, 0x3bb384cb_0760_461d_907f_5138f84d44c1); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IBackgroundUploaderUserConsent_Vtbl { @@ -519,7 +519,7 @@ pub struct IBackgroundUploaderUserConsent_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "deprecated")))] RequestUnconstrainedUploadsAsync: usize, } -windows_core::imp::com_interface!(IContentPrefetcher, IContentPrefetcher_Vtbl, 0xa8d6f754_7dc1_4cd9_8810_2a6aa9417e11); +windows_core::imp::define_interface!(IContentPrefetcher, IContentPrefetcher_Vtbl, 0xa8d6f754_7dc1_4cd9_8810_2a6aa9417e11); #[repr(C)] pub struct IContentPrefetcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -530,13 +530,13 @@ pub struct IContentPrefetcher_Vtbl { pub SetIndirectContentUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub IndirectContentUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContentPrefetcherTime, IContentPrefetcherTime_Vtbl, 0xe361fd08_132a_4fde_a7cc_fcb0e66523af); +windows_core::imp::define_interface!(IContentPrefetcherTime, IContentPrefetcherTime_Vtbl, 0xe361fd08_132a_4fde_a7cc_fcb0e66523af); #[repr(C)] pub struct IContentPrefetcherTime_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LastSuccessfulPrefetchTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDownloadOperation, IDownloadOperation_Vtbl, 0xbd87ebb0_5714_4e09_ba68_bef73903b0d7); +windows_core::imp::define_interface!(IDownloadOperation, IDownloadOperation_Vtbl, 0xbd87ebb0_5714_4e09_ba68_bef73903b0d7); #[repr(C)] pub struct IDownloadOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -550,13 +550,13 @@ pub struct IDownloadOperation_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, } -windows_core::imp::com_interface!(IDownloadOperation2, IDownloadOperation2_Vtbl, 0xa3cced40_8f9c_4353_9cd4_290dee387c38); +windows_core::imp::define_interface!(IDownloadOperation2, IDownloadOperation2_Vtbl, 0xa3cced40_8f9c_4353_9cd4_290dee387c38); #[repr(C)] pub struct IDownloadOperation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TransferGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDownloadOperation3, IDownloadOperation3_Vtbl, 0x5027351c_7d5e_4adc_b8d3_df5c6031b9cc); +windows_core::imp::define_interface!(IDownloadOperation3, IDownloadOperation3_Vtbl, 0x5027351c_7d5e_4adc_b8d3_df5c6031b9cc); #[repr(C)] pub struct IDownloadOperation3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -582,20 +582,20 @@ pub struct IDownloadOperation3_Vtbl { #[cfg(not(feature = "Web"))] CurrentWebErrorStatus: usize, } -windows_core::imp::com_interface!(IDownloadOperation4, IDownloadOperation4_Vtbl, 0x0cdaaef4_8cef_404a_966d_f058400bed80); +windows_core::imp::define_interface!(IDownloadOperation4, IDownloadOperation4_Vtbl, 0x0cdaaef4_8cef_404a_966d_f058400bed80); #[repr(C)] pub struct IDownloadOperation4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MakeCurrentInTransferGroup: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDownloadOperation5, IDownloadOperation5_Vtbl, 0xa699a86f_5590_463a_b8d6_1e491a2760a5); +windows_core::imp::define_interface!(IDownloadOperation5, IDownloadOperation5_Vtbl, 0xa699a86f_5590_463a_b8d6_1e491a2760a5); #[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, } -windows_core::imp::com_interface!(IResponseInformation, IResponseInformation_Vtbl, 0xf8bb9a12_f713_4792_8b68_d9d297f91d2e); +windows_core::imp::define_interface!(IResponseInformation, IResponseInformation_Vtbl, 0xf8bb9a12_f713_4792_8b68_d9d297f91d2e); #[repr(C)] pub struct IResponseInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -608,7 +608,7 @@ pub struct IResponseInformation_Vtbl { Headers: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IUnconstrainedTransferRequestResult, IUnconstrainedTransferRequestResult_Vtbl, 0x4c24b81f_d944_4112_a98e_6a69522b7ebb); +windows_core::imp::define_interface!(IUnconstrainedTransferRequestResult, IUnconstrainedTransferRequestResult_Vtbl, 0x4c24b81f_d944_4112_a98e_6a69522b7ebb); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IUnconstrainedTransferRequestResult_Vtbl { @@ -618,7 +618,7 @@ pub struct IUnconstrainedTransferRequestResult_Vtbl { #[cfg(not(feature = "deprecated"))] IsUnconstrained: usize, } -windows_core::imp::com_interface!(IUploadOperation, IUploadOperation_Vtbl, 0x3e5624e0_7389_434c_8b35_427fd36bbdae); +windows_core::imp::define_interface!(IUploadOperation, IUploadOperation_Vtbl, 0x3e5624e0_7389_434c_8b35_427fd36bbdae); #[repr(C)] pub struct IUploadOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -630,19 +630,19 @@ pub struct IUploadOperation_Vtbl { pub StartAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AttachAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUploadOperation2, IUploadOperation2_Vtbl, 0x556189f2_2774_4df6_9fa5_209f2bfb12f7); +windows_core::imp::define_interface!(IUploadOperation2, IUploadOperation2_Vtbl, 0x556189f2_2774_4df6_9fa5_209f2bfb12f7); #[repr(C)] pub struct IUploadOperation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TransferGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUploadOperation3, IUploadOperation3_Vtbl, 0x42c92ca3_de39_4546_bc62_3774b4294de3); +windows_core::imp::define_interface!(IUploadOperation3, IUploadOperation3_Vtbl, 0x42c92ca3_de39_4546_bc62_3774b4294de3); #[repr(C)] pub struct IUploadOperation3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MakeCurrentInTransferGroup: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUploadOperation4, IUploadOperation4_Vtbl, 0x50edef31_fac5_41ee_b030_dc77caee9faa); +windows_core::imp::define_interface!(IUploadOperation4, IUploadOperation4_Vtbl, 0x50edef31_fac5_41ee_b030_dc77caee9faa); #[repr(C)] pub struct IUploadOperation4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs index 3d5f8ecd37..83f3553370 100644 --- a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAttributedNetworkUsage, IAttributedNetworkUsage_Vtbl, 0xf769b039_eca2_45eb_ade1_b0368b756c49); +windows_core::imp::define_interface!(IAttributedNetworkUsage, IAttributedNetworkUsage_Vtbl, 0xf769b039_eca2_45eb_ade1_b0368b756c49); #[repr(C)] pub struct IAttributedNetworkUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,7 +11,7 @@ pub struct IAttributedNetworkUsage_Vtbl { #[cfg(not(feature = "Storage_Streams"))] AttributionThumbnail: usize, } -windows_core::imp::com_interface!(ICellularApnContext, ICellularApnContext_Vtbl, 0x6fa529f4_effd_4542_9ab2_705bbf94943a); +windows_core::imp::define_interface!(ICellularApnContext, ICellularApnContext_Vtbl, 0x6fa529f4_effd_4542_9ab2_705bbf94943a); #[repr(C)] pub struct ICellularApnContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -28,14 +28,14 @@ pub struct ICellularApnContext_Vtbl { pub AuthenticationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CellularApnAuthenticationType) -> windows_core::HRESULT, pub SetAuthenticationType: unsafe extern "system" fn(*mut core::ffi::c_void, CellularApnAuthenticationType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICellularApnContext2, ICellularApnContext2_Vtbl, 0x76b0eb1a_ac49_4350_b1e5_dc4763bc69c7); +windows_core::imp::define_interface!(ICellularApnContext2, ICellularApnContext2_Vtbl, 0x76b0eb1a_ac49_4350_b1e5_dc4763bc69c7); #[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, } -windows_core::imp::com_interface!(IConnectionCost, IConnectionCost_Vtbl, 0xbad7d829_3416_4b10_a202_bac0b075bdae); +windows_core::imp::define_interface!(IConnectionCost, IConnectionCost_Vtbl, 0xbad7d829_3416_4b10_a202_bac0b075bdae); #[repr(C)] pub struct IConnectionCost_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,13 +44,13 @@ pub struct IConnectionCost_Vtbl { pub OverDataLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ApproachingDataLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectionCost2, IConnectionCost2_Vtbl, 0x8e113a05_e209_4549_bb25_5e0db691cb05); +windows_core::imp::define_interface!(IConnectionCost2, IConnectionCost2_Vtbl, 0x8e113a05_e209_4549_bb25_5e0db691cb05); #[repr(C)] pub struct IConnectionCost2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BackgroundDataUsageRestricted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectionProfile, IConnectionProfile_Vtbl, 0x71ba143c_598e_49d0_84eb_8febaedcc195); +windows_core::imp::define_interface!(IConnectionProfile, IConnectionProfile_Vtbl, 0x71ba143c_598e_49d0_84eb_8febaedcc195); #[repr(C)] pub struct IConnectionProfile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -73,7 +73,7 @@ pub struct IConnectionProfile_Vtbl { GetLocalUsagePerRoamingStates: usize, pub NetworkSecuritySettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectionProfile2, IConnectionProfile2_Vtbl, 0xe2045145_4c9f_400c_9150_7ec7d6e2888a); +windows_core::imp::define_interface!(IConnectionProfile2, IConnectionProfile2_Vtbl, 0xe2045145_4c9f_400c_9150_7ec7d6e2888a); #[repr(C)] pub struct IConnectionProfile2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -93,7 +93,7 @@ pub struct IConnectionProfile2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetConnectivityIntervalsAsync: usize, } -windows_core::imp::com_interface!(IConnectionProfile3, IConnectionProfile3_Vtbl, 0x578c2528_4cd9_4161_8045_201cfd5b115c); +windows_core::imp::define_interface!(IConnectionProfile3, IConnectionProfile3_Vtbl, 0x578c2528_4cd9_4161_8045_201cfd5b115c); #[repr(C)] pub struct IConnectionProfile3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -102,7 +102,7 @@ pub struct IConnectionProfile3_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetAttributedNetworkUsageAsync: usize, } -windows_core::imp::com_interface!(IConnectionProfile4, IConnectionProfile4_Vtbl, 0x7a2d42cd_81e0_4ae6_abed_ab9ca13eb714); +windows_core::imp::define_interface!(IConnectionProfile4, IConnectionProfile4_Vtbl, 0x7a2d42cd_81e0_4ae6_abed_ab9ca13eb714); #[repr(C)] pub struct IConnectionProfile4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -111,20 +111,20 @@ pub struct IConnectionProfile4_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetProviderNetworkUsageAsync: usize, } -windows_core::imp::com_interface!(IConnectionProfile5, IConnectionProfile5_Vtbl, 0x85361ec7_9c73_4be0_8f14_578eec71ee0e); +windows_core::imp::define_interface!(IConnectionProfile5, IConnectionProfile5_Vtbl, 0x85361ec7_9c73_4be0_8f14_578eec71ee0e); #[repr(C)] pub struct IConnectionProfile5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CanDelete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> 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::com_interface!(IConnectionProfile6, IConnectionProfile6_Vtbl, 0xdc27dfe2_7a6f_5d0e_9589_2fe2e5b6f9aa); +windows_core::imp::define_interface!(IConnectionProfile6, IConnectionProfile6_Vtbl, 0xdc27dfe2_7a6f_5d0e_9589_2fe2e5b6f9aa); #[repr(C)] pub struct IConnectionProfile6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsDomainAuthenticatedBy: unsafe extern "system" fn(*mut core::ffi::c_void, DomainAuthenticationKind, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectionProfileFilter, IConnectionProfileFilter_Vtbl, 0x204c7cc8_bd2d_4e8d_a4b3_455ec337388a); +windows_core::imp::define_interface!(IConnectionProfileFilter, IConnectionProfileFilter_Vtbl, 0x204c7cc8_bd2d_4e8d_a4b3_455ec337388a); #[repr(C)] pub struct IConnectionProfileFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -139,7 +139,7 @@ pub struct IConnectionProfileFilter_Vtbl { pub SetServiceProviderGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ServiceProviderGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectionProfileFilter2, IConnectionProfileFilter2_Vtbl, 0xcd068ee1_c3fc_4fad_9ddc_593faa4b7885); +windows_core::imp::define_interface!(IConnectionProfileFilter2, IConnectionProfileFilter2_Vtbl, 0xcd068ee1_c3fc_4fad_9ddc_593faa4b7885); #[repr(C)] pub struct IConnectionProfileFilter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -154,27 +154,27 @@ pub struct IConnectionProfileFilter2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] RawData: usize, } -windows_core::imp::com_interface!(IConnectionProfileFilter3, IConnectionProfileFilter3_Vtbl, 0x0aaa09c0_5014_447c_8809_aee4cb0af94a); +windows_core::imp::define_interface!(IConnectionProfileFilter3, IConnectionProfileFilter3_Vtbl, 0x0aaa09c0_5014_447c_8809_aee4cb0af94a); #[repr(C)] pub struct IConnectionProfileFilter3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetPurposeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PurposeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectionSession, IConnectionSession_Vtbl, 0xff905d4c_f83b_41b0_8a0c_1462d9c56b73); +windows_core::imp::define_interface!(IConnectionSession, IConnectionSession_Vtbl, 0xff905d4c_f83b_41b0_8a0c_1462d9c56b73); #[repr(C)] pub struct IConnectionSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ConnectionProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectivityInterval, IConnectivityInterval_Vtbl, 0x4faa3fff_6746_4824_a964_eed8e87f8709); +windows_core::imp::define_interface!(IConnectivityInterval, IConnectivityInterval_Vtbl, 0x4faa3fff_6746_4824_a964_eed8e87f8709); #[repr(C)] pub struct IConnectivityInterval_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub ConnectionDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectivityManagerStatics, IConnectivityManagerStatics_Vtbl, 0x5120d4b1_4fb1_48b0_afc9_42e0092a8164); +windows_core::imp::define_interface!(IConnectivityManagerStatics, IConnectivityManagerStatics_Vtbl, 0x5120d4b1_4fb1_48b0_afc9_42e0092a8164); #[repr(C)] pub struct IConnectivityManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -182,7 +182,7 @@ pub struct IConnectivityManagerStatics_Vtbl { pub AddHttpRoutePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveHttpRoutePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataPlanStatus, IDataPlanStatus_Vtbl, 0x977a8b8c_3885_40f3_8851_42cd2bd568bb); +windows_core::imp::define_interface!(IDataPlanStatus, IDataPlanStatus_Vtbl, 0x977a8b8c_3885_40f3_8851_42cd2bd568bb); #[repr(C)] pub struct IDataPlanStatus_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -193,7 +193,7 @@ pub struct IDataPlanStatus_Vtbl { pub NextBillingCycle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MaxTransferSizeInMegabytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataPlanUsage, IDataPlanUsage_Vtbl, 0xb921492d_3b44_47ff_b361_be59e69ed1b0); +windows_core::imp::define_interface!(IDataPlanUsage, IDataPlanUsage_Vtbl, 0xb921492d_3b44_47ff_b361_be59e69ed1b0); #[repr(C)] pub struct IDataPlanUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -201,7 +201,7 @@ pub struct IDataPlanUsage_Vtbl { pub LastSyncTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IDataUsage, IDataUsage_Vtbl, 0xc1431dd3_b146_4d39_b959_0c69b096c512); +windows_core::imp::define_interface!(IDataUsage, IDataUsage_Vtbl, 0xc1431dd3_b146_4d39_b959_0c69b096c512); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IDataUsage_Vtbl { @@ -215,14 +215,14 @@ pub struct IDataUsage_Vtbl { #[cfg(not(feature = "deprecated"))] BytesReceived: usize, } -windows_core::imp::com_interface!(IIPInformation, IIPInformation_Vtbl, 0xd85145e0_138f_47d7_9b3a_36bb488cef33); +windows_core::imp::define_interface!(IIPInformation, IIPInformation_Vtbl, 0xd85145e0_138f_47d7_9b3a_36bb488cef33); #[repr(C)] pub struct IIPInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NetworkAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PrefixLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILanIdentifier, ILanIdentifier_Vtbl, 0x48aa53aa_1108_4546_a6cb_9a74da4b7ba0); +windows_core::imp::define_interface!(ILanIdentifier, ILanIdentifier_Vtbl, 0x48aa53aa_1108_4546_a6cb_9a74da4b7ba0); #[repr(C)] pub struct ILanIdentifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -230,7 +230,7 @@ pub struct ILanIdentifier_Vtbl { pub PortId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NetworkAdapterId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILanIdentifierData, ILanIdentifierData_Vtbl, 0xa74e83c3_d639_45be_a36a_c4e4aeaf6d9b); +windows_core::imp::define_interface!(ILanIdentifierData, ILanIdentifierData_Vtbl, 0xa74e83c3_d639_45be_a36a_c4e4aeaf6d9b); #[repr(C)] pub struct ILanIdentifierData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -240,7 +240,7 @@ pub struct ILanIdentifierData_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Value: usize, } -windows_core::imp::com_interface!(INetworkAdapter, INetworkAdapter_Vtbl, 0x3b542e03_5388_496c_a8a3_affd39aec2e6); +windows_core::imp::define_interface!(INetworkAdapter, INetworkAdapter_Vtbl, 0x3b542e03_5388_496c_a8a3_affd39aec2e6); #[repr(C)] pub struct INetworkAdapter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -251,7 +251,7 @@ pub struct INetworkAdapter_Vtbl { pub NetworkAdapterId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetConnectedProfileAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkInformationStatics, INetworkInformationStatics_Vtbl, 0x5074f851_950d_4165_9c15_365619481eea); +windows_core::imp::define_interface!(INetworkInformationStatics, INetworkInformationStatics_Vtbl, 0x5074f851_950d_4165_9c15_365619481eea); #[repr(C)] pub struct INetworkInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -276,7 +276,7 @@ pub struct INetworkInformationStatics_Vtbl { pub NetworkStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveNetworkStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkInformationStatics2, INetworkInformationStatics2_Vtbl, 0x459ced14_2832_49b6_ba6e_e265f04786a8); +windows_core::imp::define_interface!(INetworkInformationStatics2, INetworkInformationStatics2_Vtbl, 0x459ced14_2832_49b6_ba6e_e265f04786a8); #[repr(C)] pub struct INetworkInformationStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -285,21 +285,21 @@ pub struct INetworkInformationStatics2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindConnectionProfilesAsync: usize, } -windows_core::imp::com_interface!(INetworkItem, INetworkItem_Vtbl, 0x01bc4d39_f5e0_4567_a28c_42080c831b2b); +windows_core::imp::define_interface!(INetworkItem, INetworkItem_Vtbl, 0x01bc4d39_f5e0_4567_a28c_42080c831b2b); #[repr(C)] pub struct INetworkItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NetworkId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetNetworkTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NetworkTypes) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkSecuritySettings, INetworkSecuritySettings_Vtbl, 0x7ca07e8d_917b_4b5f_b84d_28f7a5ac5402); +windows_core::imp::define_interface!(INetworkSecuritySettings, INetworkSecuritySettings_Vtbl, 0x7ca07e8d_917b_4b5f_b84d_28f7a5ac5402); #[repr(C)] pub struct INetworkSecuritySettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NetworkAuthenticationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NetworkAuthenticationType) -> windows_core::HRESULT, pub NetworkEncryptionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NetworkEncryptionType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkStateChangeEventDetails, INetworkStateChangeEventDetails_Vtbl, 0x1f0cf333_d7a6_44dd_a4e9_687c476b903d); +windows_core::imp::define_interface!(INetworkStateChangeEventDetails, INetworkStateChangeEventDetails_Vtbl, 0x1f0cf333_d7a6_44dd_a4e9_687c476b903d); #[repr(C)] pub struct INetworkStateChangeEventDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -310,14 +310,14 @@ pub struct INetworkStateChangeEventDetails_Vtbl { pub HasNewHostNameList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub HasNewWwanRegistrationState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkStateChangeEventDetails2, INetworkStateChangeEventDetails2_Vtbl, 0xd643c0e8_30d3_4f6a_ad47_6a1873ceb3c1); +windows_core::imp::define_interface!(INetworkStateChangeEventDetails2, INetworkStateChangeEventDetails2_Vtbl, 0xd643c0e8_30d3_4f6a_ad47_6a1873ceb3c1); #[repr(C)] pub struct INetworkStateChangeEventDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub HasNewTetheringOperationalState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub HasNewTetheringClientCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkUsage, INetworkUsage_Vtbl, 0x49da8fce_9985_4927_bf5b_072b5c65f8d9); +windows_core::imp::define_interface!(INetworkUsage, INetworkUsage_Vtbl, 0x49da8fce_9985_4927_bf5b_072b5c65f8d9); #[repr(C)] pub struct INetworkUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -325,7 +325,7 @@ pub struct INetworkUsage_Vtbl { pub BytesReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub ConnectionDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProviderNetworkUsage, IProviderNetworkUsage_Vtbl, 0x5ec69e04_7931_48c8_b8f3_46300fa42728); +windows_core::imp::define_interface!(IProviderNetworkUsage, IProviderNetworkUsage_Vtbl, 0x5ec69e04_7931_48c8_b8f3_46300fa42728); #[repr(C)] pub struct IProviderNetworkUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -333,7 +333,7 @@ pub struct IProviderNetworkUsage_Vtbl { 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, } -windows_core::imp::com_interface!(IProxyConfiguration, IProxyConfiguration_Vtbl, 0xef3a60b4_9004_4dd6_b7d8_b3e502f4aad0); +windows_core::imp::define_interface!(IProxyConfiguration, IProxyConfiguration_Vtbl, 0xef3a60b4_9004_4dd6_b7d8_b3e502f4aad0); #[repr(C)] pub struct IProxyConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -343,7 +343,7 @@ pub struct IProxyConfiguration_Vtbl { ProxyUris: usize, pub CanConnectDirectly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRoutePolicy, IRoutePolicy_Vtbl, 0x11abc4ac_0fc7_42e4_8742_569923b1ca11); +windows_core::imp::define_interface!(IRoutePolicy, IRoutePolicy_Vtbl, 0x11abc4ac_0fc7_42e4_8742_569923b1ca11); #[repr(C)] pub struct IRoutePolicy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -351,19 +351,19 @@ pub struct IRoutePolicy_Vtbl { pub HostName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub HostNameType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::DomainNameType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRoutePolicyFactory, IRoutePolicyFactory_Vtbl, 0x36027933_a18e_4db5_a697_f58fa7364e44); +windows_core::imp::define_interface!(IRoutePolicyFactory, IRoutePolicyFactory_Vtbl, 0x36027933_a18e_4db5_a697_f58fa7364e44); #[repr(C)] pub struct IRoutePolicyFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateRoutePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::DomainNameType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWlanConnectionProfileDetails, IWlanConnectionProfileDetails_Vtbl, 0x562098cb_b35a_4bf1_a884_b7557e88ff86); +windows_core::imp::define_interface!(IWlanConnectionProfileDetails, IWlanConnectionProfileDetails_Vtbl, 0x562098cb_b35a_4bf1_a884_b7557e88ff86); #[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, } -windows_core::imp::com_interface!(IWwanConnectionProfileDetails, IWwanConnectionProfileDetails_Vtbl, 0x0e4da8fe_835f_4df3_82fd_df556ebc09ef); +windows_core::imp::define_interface!(IWwanConnectionProfileDetails, IWwanConnectionProfileDetails_Vtbl, 0x0e4da8fe_835f_4df3_82fd_df556ebc09ef); #[repr(C)] pub struct IWwanConnectionProfileDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -372,7 +372,7 @@ pub struct IWwanConnectionProfileDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IWwanConnectionProfileDetails2, IWwanConnectionProfileDetails2_Vtbl, 0x7a754ede_a1ed_48b2_8e92_b460033d52e2); +windows_core::imp::define_interface!(IWwanConnectionProfileDetails2, IWwanConnectionProfileDetails2_Vtbl, 0x7a754ede_a1ed_48b2_8e92_b460033d52e2); #[repr(C)] pub struct IWwanConnectionProfileDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2250,7 +2250,7 @@ impl Default for NetworkUsageStates { unsafe { core::mem::zeroed() } } } -windows_core::imp::com_interface!(NetworkStatusChangedEventHandler, NetworkStatusChangedEventHandler_Vtbl, 0x71ba143f_598e_49d0_84eb_8febaedcc195); +windows_core::imp::define_interface!(NetworkStatusChangedEventHandler, NetworkStatusChangedEventHandler_Vtbl, 0x71ba143f_598e_49d0_84eb_8febaedcc195); impl NetworkStatusChangedEventHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = NetworkStatusChangedEventHandlerBox:: { vtable: &NetworkStatusChangedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs index b378bbd748..82fc5cf474 100644 --- a/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/NetworkOperators/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IESim, IESim_Vtbl, 0x6f6e6e26_f123_437d_8ced_dc1d2bc0c3a9); +windows_core::imp::define_interface!(IESim, IESim_Vtbl, 0x6f6e6e26_f123_437d_8ced_dc1d2bc0c3a9); #[repr(C)] pub struct IESim_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,7 +18,7 @@ pub struct IESim_Vtbl { 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, } -windows_core::imp::com_interface!(IESim2, IESim2_Vtbl, 0xbd4fd0a0_c68f_56eb_b99b_8f34b8100299); +windows_core::imp::define_interface!(IESim2, IESim2_Vtbl, 0xbd4fd0a0_c68f_56eb_b99b_8f34b8100299); #[repr(C)] pub struct IESim2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,26 +27,26 @@ pub struct IESim2_Vtbl { 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, } -windows_core::imp::com_interface!(IESim3, IESim3_Vtbl, 0xfe1edf45_01b8_5d31_b8d3_d9cbebb2b831); +windows_core::imp::define_interface!(IESim3, IESim3_Vtbl, 0xfe1edf45_01b8_5d31_b8d3_d9cbebb2b831); #[repr(C)] pub struct IESim3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SlotIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESimAddedEventArgs, IESimAddedEventArgs_Vtbl, 0x38bd0a58_4d5a_4d08_8da7_e73eff369ddd); +windows_core::imp::define_interface!(IESimAddedEventArgs, IESimAddedEventArgs_Vtbl, 0x38bd0a58_4d5a_4d08_8da7_e73eff369ddd); #[repr(C)] pub struct IESimAddedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ESim: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESimDiscoverEvent, IESimDiscoverEvent_Vtbl, 0xe59ac3e3_39bc_5f6f_9321_0d4a182d261b); +windows_core::imp::define_interface!(IESimDiscoverEvent, IESimDiscoverEvent_Vtbl, 0xe59ac3e3_39bc_5f6f_9321_0d4a182d261b); #[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, } -windows_core::imp::com_interface!(IESimDiscoverResult, IESimDiscoverResult_Vtbl, 0x56b4bb5e_ab2f_5ac6_b359_dd5a8e237926); +windows_core::imp::define_interface!(IESimDiscoverResult, IESimDiscoverResult_Vtbl, 0x56b4bb5e_ab2f_5ac6_b359_dd5a8e237926); #[repr(C)] pub struct IESimDiscoverResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,14 +58,14 @@ pub struct IESimDiscoverResult_Vtbl { pub ProfileMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Result: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESimDownloadProfileMetadataResult, IESimDownloadProfileMetadataResult_Vtbl, 0xc4234d9e_5ad6_426d_8d00_4434f449afec); +windows_core::imp::define_interface!(IESimDownloadProfileMetadataResult, IESimDownloadProfileMetadataResult_Vtbl, 0xc4234d9e_5ad6_426d_8d00_4434f449afec); #[repr(C)] pub struct IESimDownloadProfileMetadataResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Result: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProfileMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESimManagerStatics, IESimManagerStatics_Vtbl, 0x0bfa2c0c_df88_4631_bf04_c12e281b3962); +windows_core::imp::define_interface!(IESimManagerStatics, IESimManagerStatics_Vtbl, 0x0bfa2c0c_df88_4631_bf04_c12e281b3962); #[repr(C)] pub struct IESimManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -74,19 +74,19 @@ pub struct IESimManagerStatics_Vtbl { pub ServiceInfoChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveServiceInfoChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESimOperationResult, IESimOperationResult_Vtbl, 0xa67b63b1_309b_4e77_9e7e_cd93f1ddc7b9); +windows_core::imp::define_interface!(IESimOperationResult, IESimOperationResult_Vtbl, 0xa67b63b1_309b_4e77_9e7e_cd93f1ddc7b9); #[repr(C)] pub struct IESimOperationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ESimOperationStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESimPolicy, IESimPolicy_Vtbl, 0x41e1b99d_cf7e_4315_882b_6f1e74b0d38f); +windows_core::imp::define_interface!(IESimPolicy, IESimPolicy_Vtbl, 0x41e1b99d_cf7e_4315_882b_6f1e74b0d38f); #[repr(C)] pub struct IESimPolicy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShouldEnableManagingUi: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESimProfile, IESimProfile_Vtbl, 0xee1e7880_06a9_4027_b4f8_ddb23d7810e0); +windows_core::imp::define_interface!(IESimProfile, IESimProfile_Vtbl, 0xee1e7880_06a9_4027_b4f8_ddb23d7810e0); #[repr(C)] pub struct IESimProfile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -105,7 +105,7 @@ pub struct IESimProfile_Vtbl { 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, } -windows_core::imp::com_interface!(IESimProfileMetadata, IESimProfileMetadata_Vtbl, 0xed25831f_90db_498d_a7b4_ebce807d3c23); +windows_core::imp::define_interface!(IESimProfileMetadata, IESimProfileMetadata_Vtbl, 0xed25831f_90db_498d_a7b4_ebce807d3c23); #[repr(C)] pub struct IESimProfileMetadata_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -126,7 +126,7 @@ pub struct IESimProfileMetadata_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, } -windows_core::imp::com_interface!(IESimProfilePolicy, IESimProfilePolicy_Vtbl, 0xe6dd0f1d_9c5c_46c5_a289_a948999bf062); +windows_core::imp::define_interface!(IESimProfilePolicy, IESimProfilePolicy_Vtbl, 0xe6dd0f1d_9c5c_46c5_a289_a948999bf062); #[repr(C)] pub struct IESimProfilePolicy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -134,26 +134,26 @@ pub struct IESimProfilePolicy_Vtbl { pub CanDisable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsManagedByEnterprise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESimRemovedEventArgs, IESimRemovedEventArgs_Vtbl, 0xdec5277b_2fd9_4ed9_8376_d9b5e41278a3); +windows_core::imp::define_interface!(IESimRemovedEventArgs, IESimRemovedEventArgs_Vtbl, 0xdec5277b_2fd9_4ed9_8376_d9b5e41278a3); #[repr(C)] pub struct IESimRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ESim: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESimServiceInfo, IESimServiceInfo_Vtbl, 0xf16aabcf_7f59_4a51_8494_bd89d5ff50ee); +windows_core::imp::define_interface!(IESimServiceInfo, IESimServiceInfo_Vtbl, 0xf16aabcf_7f59_4a51_8494_bd89d5ff50ee); #[repr(C)] pub struct IESimServiceInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AuthenticationPreference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ESimAuthenticationPreference) -> windows_core::HRESULT, pub IsESimUiEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESimUpdatedEventArgs, IESimUpdatedEventArgs_Vtbl, 0x4c125cec_508d_4b88_83cb_68bef8168d12); +windows_core::imp::define_interface!(IESimUpdatedEventArgs, IESimUpdatedEventArgs_Vtbl, 0x4c125cec_508d_4b88_83cb_68bef8168d12); #[repr(C)] pub struct IESimUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ESim: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESimWatcher, IESimWatcher_Vtbl, 0xc1f84ceb_a28d_4fbf_9771_6e31b81ccf22); +windows_core::imp::define_interface!(IESimWatcher, IESimWatcher_Vtbl, 0xc1f84ceb_a28d_4fbf_9771_6e31b81ccf22); #[repr(C)] pub struct IESimWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -171,13 +171,13 @@ pub struct IESimWatcher_Vtbl { pub Updated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFdnAccessManagerStatics, IFdnAccessManagerStatics_Vtbl, 0xf2aa4395_f1e6_4319_aa3e_477ca64b2bdf); +windows_core::imp::define_interface!(IFdnAccessManagerStatics, IFdnAccessManagerStatics_Vtbl, 0xf2aa4395_f1e6_4319_aa3e_477ca64b2bdf); #[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, } -windows_core::imp::com_interface!(IHotspotAuthenticationContext, IHotspotAuthenticationContext_Vtbl, 0xe756c791_1003_4de5_83c7_de61d88831d0); +windows_core::imp::define_interface!(IHotspotAuthenticationContext, IHotspotAuthenticationContext_Vtbl, 0xe756c791_1003_4de5_83c7_de61d88831d0); #[repr(C)] pub struct IHotspotAuthenticationContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -197,25 +197,25 @@ pub struct IHotspotAuthenticationContext_Vtbl { 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, } -windows_core::imp::com_interface!(IHotspotAuthenticationContext2, IHotspotAuthenticationContext2_Vtbl, 0xe756c791_1004_4de5_83c7_de61d88831d0); +windows_core::imp::define_interface!(IHotspotAuthenticationContext2, IHotspotAuthenticationContext2_Vtbl, 0xe756c791_1004_4de5_83c7_de61d88831d0); #[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, } -windows_core::imp::com_interface!(IHotspotAuthenticationContextStatics, IHotspotAuthenticationContextStatics_Vtbl, 0xe756c791_1002_4de5_83c7_de61d88831d0); +windows_core::imp::define_interface!(IHotspotAuthenticationContextStatics, IHotspotAuthenticationContextStatics_Vtbl, 0xe756c791_1002_4de5_83c7_de61d88831d0); #[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, } -windows_core::imp::com_interface!(IHotspotAuthenticationEventDetails, IHotspotAuthenticationEventDetails_Vtbl, 0xe756c791_1001_4de5_83c7_de61d88831d0); +windows_core::imp::define_interface!(IHotspotAuthenticationEventDetails, IHotspotAuthenticationEventDetails_Vtbl, 0xe756c791_1001_4de5_83c7_de61d88831d0); #[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, } -windows_core::imp::com_interface!(IHotspotCredentialsAuthenticationResult, IHotspotCredentialsAuthenticationResult_Vtbl, 0xe756c791_1005_4de5_83c7_de61d88831d0); +windows_core::imp::define_interface!(IHotspotCredentialsAuthenticationResult, IHotspotCredentialsAuthenticationResult_Vtbl, 0xe756c791_1005_4de5_83c7_de61d88831d0); #[repr(C)] pub struct IHotspotCredentialsAuthenticationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -227,7 +227,7 @@ pub struct IHotspotCredentialsAuthenticationResult_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] AuthenticationReplyXml: usize, } -windows_core::imp::com_interface!(IKnownCSimFilePathsStatics, IKnownCSimFilePathsStatics_Vtbl, 0xb458aeed_49f1_4c22_b073_96d511bf9c35); +windows_core::imp::define_interface!(IKnownCSimFilePathsStatics, IKnownCSimFilePathsStatics_Vtbl, 0xb458aeed_49f1_4c22_b073_96d511bf9c35); #[repr(C)] pub struct IKnownCSimFilePathsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -244,7 +244,7 @@ pub struct IKnownCSimFilePathsStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Gid2: usize, } -windows_core::imp::com_interface!(IKnownRuimFilePathsStatics, IKnownRuimFilePathsStatics_Vtbl, 0x3883c8b9_ff24_4571_a867_09f960426e14); +windows_core::imp::define_interface!(IKnownRuimFilePathsStatics, IKnownRuimFilePathsStatics_Vtbl, 0x3883c8b9_ff24_4571_a867_09f960426e14); #[repr(C)] pub struct IKnownRuimFilePathsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -261,7 +261,7 @@ pub struct IKnownRuimFilePathsStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Gid2: usize, } -windows_core::imp::com_interface!(IKnownSimFilePathsStatics, IKnownSimFilePathsStatics_Vtbl, 0x80cd1a63_37a5_43d3_80a3_ccd23e8fecee); +windows_core::imp::define_interface!(IKnownSimFilePathsStatics, IKnownSimFilePathsStatics_Vtbl, 0x80cd1a63_37a5_43d3_80a3_ccd23e8fecee); #[repr(C)] pub struct IKnownSimFilePathsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -282,7 +282,7 @@ pub struct IKnownSimFilePathsStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Gid2: usize, } -windows_core::imp::com_interface!(IKnownUSimFilePathsStatics, IKnownUSimFilePathsStatics_Vtbl, 0x7c34e581_1f1b_43f4_9530_8b092d32d71f); +windows_core::imp::define_interface!(IKnownUSimFilePathsStatics, IKnownUSimFilePathsStatics_Vtbl, 0x7c34e581_1f1b_43f4_9530_8b092d32d71f); #[repr(C)] pub struct IKnownUSimFilePathsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -307,7 +307,7 @@ pub struct IKnownUSimFilePathsStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Gid2: usize, } -windows_core::imp::com_interface!(IMobileBroadbandAccount, IMobileBroadbandAccount_Vtbl, 0x36c24ccd_cee2_43e0_a603_ee86a36d6570); +windows_core::imp::define_interface!(IMobileBroadbandAccount, IMobileBroadbandAccount_Vtbl, 0x36c24ccd_cee2_43e0_a603_ee86a36d6570); #[repr(C)] pub struct IMobileBroadbandAccount_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -317,7 +317,7 @@ pub struct IMobileBroadbandAccount_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandAccount2, IMobileBroadbandAccount2_Vtbl, 0x38f52f1c_1136_4257_959f_b658a352b6d4); +windows_core::imp::define_interface!(IMobileBroadbandAccount2, IMobileBroadbandAccount2_Vtbl, 0x38f52f1c_1136_4257_959f_b658a352b6d4); #[repr(C)] pub struct IMobileBroadbandAccount2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -326,19 +326,19 @@ pub struct IMobileBroadbandAccount2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Networking_Connectivity")))] GetConnectionProfiles: usize, } -windows_core::imp::com_interface!(IMobileBroadbandAccount3, IMobileBroadbandAccount3_Vtbl, 0x092a1e21_9379_4b9b_ad31_d5fee2f748c6); +windows_core::imp::define_interface!(IMobileBroadbandAccount3, IMobileBroadbandAccount3_Vtbl, 0x092a1e21_9379_4b9b_ad31_d5fee2f748c6); #[repr(C)] pub struct IMobileBroadbandAccount3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AccountExperienceUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandAccountEventArgs, IMobileBroadbandAccountEventArgs_Vtbl, 0x3853c880_77de_4c04_bead_a123b08c9f59); +windows_core::imp::define_interface!(IMobileBroadbandAccountEventArgs, IMobileBroadbandAccountEventArgs_Vtbl, 0x3853c880_77de_4c04_bead_a123b08c9f59); #[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, } -windows_core::imp::com_interface!(IMobileBroadbandAccountStatics, IMobileBroadbandAccountStatics_Vtbl, 0xaa7f4d24_afc1_4fc8_ae9a_a9175310faad); +windows_core::imp::define_interface!(IMobileBroadbandAccountStatics, IMobileBroadbandAccountStatics_Vtbl, 0xaa7f4d24_afc1_4fc8_ae9a_a9175310faad); #[repr(C)] pub struct IMobileBroadbandAccountStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -348,7 +348,7 @@ pub struct IMobileBroadbandAccountStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandAccountUpdatedEventArgs, IMobileBroadbandAccountUpdatedEventArgs_Vtbl, 0x7bc31d88_a6bd_49e1_80ab_6b91354a57d4); +windows_core::imp::define_interface!(IMobileBroadbandAccountUpdatedEventArgs, IMobileBroadbandAccountUpdatedEventArgs_Vtbl, 0x7bc31d88_a6bd_49e1_80ab_6b91354a57d4); #[repr(C)] pub struct IMobileBroadbandAccountUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -356,7 +356,7 @@ pub struct IMobileBroadbandAccountUpdatedEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandAccountWatcher, IMobileBroadbandAccountWatcher_Vtbl, 0x6bf3335e_23b5_449f_928d_5e0d3e04471d); +windows_core::imp::define_interface!(IMobileBroadbandAccountWatcher, IMobileBroadbandAccountWatcher_Vtbl, 0x6bf3335e_23b5_449f_928d_5e0d3e04471d); #[repr(C)] pub struct IMobileBroadbandAccountWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -374,20 +374,20 @@ pub struct IMobileBroadbandAccountWatcher_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IMobileBroadbandAntennaSar, IMobileBroadbandAntennaSar_Vtbl, 0xb9af4b7e_cbf9_4109_90be_5c06bfd513b6); +windows_core::imp::define_interface!(IMobileBroadbandAntennaSar, IMobileBroadbandAntennaSar_Vtbl, 0xb9af4b7e_cbf9_4109_90be_5c06bfd513b6); #[repr(C)] pub struct IMobileBroadbandAntennaSar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AntennaIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SarBackoffIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandAntennaSarFactory, IMobileBroadbandAntennaSarFactory_Vtbl, 0xa91e1716_c04d_4a21_8698_1459dc672c6e); +windows_core::imp::define_interface!(IMobileBroadbandAntennaSarFactory, IMobileBroadbandAntennaSarFactory_Vtbl, 0xa91e1716_c04d_4a21_8698_1459dc672c6e); #[repr(C)] pub struct IMobileBroadbandAntennaSarFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateWithIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandCellCdma, IMobileBroadbandCellCdma_Vtbl, 0x0601b3b4_411a_4f2e_8287_76f5650c60cd); +windows_core::imp::define_interface!(IMobileBroadbandCellCdma, IMobileBroadbandCellCdma_Vtbl, 0x0601b3b4_411a_4f2e_8287_76f5650c60cd); #[repr(C)] pub struct IMobileBroadbandCellCdma_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -400,7 +400,7 @@ pub struct IMobileBroadbandCellCdma_Vtbl { pub PilotSignalStrengthInDB: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SystemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandCellGsm, IMobileBroadbandCellGsm_Vtbl, 0xcc917f06_7ee0_47b8_9e1f_c3b48df9df5b); +windows_core::imp::define_interface!(IMobileBroadbandCellGsm, IMobileBroadbandCellGsm_Vtbl, 0xcc917f06_7ee0_47b8_9e1f_c3b48df9df5b); #[repr(C)] pub struct IMobileBroadbandCellGsm_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -412,7 +412,7 @@ pub struct IMobileBroadbandCellGsm_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandCellLte, IMobileBroadbandCellLte_Vtbl, 0x9197c87b_2b78_456d_8b53_aaa25d0af741); +windows_core::imp::define_interface!(IMobileBroadbandCellLte, IMobileBroadbandCellLte_Vtbl, 0x9197c87b_2b78_456d_8b53_aaa25d0af741); #[repr(C)] pub struct IMobileBroadbandCellLte_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -425,7 +425,7 @@ pub struct IMobileBroadbandCellLte_Vtbl { pub TimingAdvanceInBitPeriods: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TrackingAreaCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandCellNR, IMobileBroadbandCellNR_Vtbl, 0xa13f0deb_66fc_4b4b_83a9_a487a3a5a0a6); +windows_core::imp::define_interface!(IMobileBroadbandCellNR, IMobileBroadbandCellNR_Vtbl, 0xa13f0deb_66fc_4b4b_83a9_a487a3a5a0a6); #[repr(C)] pub struct IMobileBroadbandCellNR_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -439,7 +439,7 @@ pub struct IMobileBroadbandCellNR_Vtbl { pub TrackingAreaCode: 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, } -windows_core::imp::com_interface!(IMobileBroadbandCellTdscdma, IMobileBroadbandCellTdscdma_Vtbl, 0x0eda1655_db0e_4182_8cda_cc419a7bde08); +windows_core::imp::define_interface!(IMobileBroadbandCellTdscdma, IMobileBroadbandCellTdscdma_Vtbl, 0x0eda1655_db0e_4182_8cda_cc419a7bde08); #[repr(C)] pub struct IMobileBroadbandCellTdscdma_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -452,7 +452,7 @@ pub struct IMobileBroadbandCellTdscdma_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandCellUmts, IMobileBroadbandCellUmts_Vtbl, 0x77b4b5ae_49c8_4f15_b285_4c26a7f67215); +windows_core::imp::define_interface!(IMobileBroadbandCellUmts, IMobileBroadbandCellUmts_Vtbl, 0x77b4b5ae_49c8_4f15_b285_4c26a7f67215); #[repr(C)] pub struct IMobileBroadbandCellUmts_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -465,7 +465,7 @@ pub struct IMobileBroadbandCellUmts_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandCellsInfo, IMobileBroadbandCellsInfo_Vtbl, 0x89a9562a_e472_4da5_929c_de61711dd261); +windows_core::imp::define_interface!(IMobileBroadbandCellsInfo, IMobileBroadbandCellsInfo_Vtbl, 0x89a9562a_e472_4da5_929c_de61711dd261); #[repr(C)] pub struct IMobileBroadbandCellsInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -510,7 +510,7 @@ pub struct IMobileBroadbandCellsInfo_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ServingCellsUmts: usize, } -windows_core::imp::com_interface!(IMobileBroadbandCellsInfo2, IMobileBroadbandCellsInfo2_Vtbl, 0x66205912_b89f_4e12_bbb6_d5cf09a820ca); +windows_core::imp::define_interface!(IMobileBroadbandCellsInfo2, IMobileBroadbandCellsInfo2_Vtbl, 0x66205912_b89f_4e12_bbb6_d5cf09a820ca); #[repr(C)] pub struct IMobileBroadbandCellsInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -523,13 +523,13 @@ pub struct IMobileBroadbandCellsInfo2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ServingCellsNR: usize, } -windows_core::imp::com_interface!(IMobileBroadbandCurrentSlotIndexChangedEventArgs, IMobileBroadbandCurrentSlotIndexChangedEventArgs_Vtbl, 0xf718b184_c370_5fd4_a670_1846cb9bce47); +windows_core::imp::define_interface!(IMobileBroadbandCurrentSlotIndexChangedEventArgs, IMobileBroadbandCurrentSlotIndexChangedEventArgs_Vtbl, 0xf718b184_c370_5fd4_a670_1846cb9bce47); #[repr(C)] pub struct IMobileBroadbandCurrentSlotIndexChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CurrentSlotIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceInformation, IMobileBroadbandDeviceInformation_Vtbl, 0xe6d08168_e381_4c6e_9be8_fe156969a446); +windows_core::imp::define_interface!(IMobileBroadbandDeviceInformation, IMobileBroadbandDeviceInformation_Vtbl, 0xe6d08168_e381_4c6e_9be8_fe156969a446); #[repr(C)] pub struct IMobileBroadbandDeviceInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -554,7 +554,7 @@ pub struct IMobileBroadbandDeviceInformation_Vtbl { pub DeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub CurrentRadioState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MobileBroadbandRadioState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceInformation2, IMobileBroadbandDeviceInformation2_Vtbl, 0x2e467af1_f932_4737_a722_03ba72370cb8); +windows_core::imp::define_interface!(IMobileBroadbandDeviceInformation2, IMobileBroadbandDeviceInformation2_Vtbl, 0x2e467af1_f932_4737_a722_03ba72370cb8); #[repr(C)] pub struct IMobileBroadbandDeviceInformation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -562,7 +562,7 @@ pub struct IMobileBroadbandDeviceInformation2_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceInformation3, IMobileBroadbandDeviceInformation3_Vtbl, 0xe08bb4bd_5d30_4b5a_92cc_d54df881d49e); +windows_core::imp::define_interface!(IMobileBroadbandDeviceInformation3, IMobileBroadbandDeviceInformation3_Vtbl, 0xe08bb4bd_5d30_4b5a_92cc_d54df881d49e); #[repr(C)] pub struct IMobileBroadbandDeviceInformation3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -570,13 +570,13 @@ pub struct IMobileBroadbandDeviceInformation3_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceInformation4, IMobileBroadbandDeviceInformation4_Vtbl, 0x263f3152_7b9d_582c_b17c_f80a60b50031); +windows_core::imp::define_interface!(IMobileBroadbandDeviceInformation4, IMobileBroadbandDeviceInformation4_Vtbl, 0x263f3152_7b9d_582c_b17c_f80a60b50031); #[repr(C)] pub struct IMobileBroadbandDeviceInformation4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SlotManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceService, IMobileBroadbandDeviceService_Vtbl, 0x22be1a52_bd80_40ac_8e1f_2e07836a3dbd); +windows_core::imp::define_interface!(IMobileBroadbandDeviceService, IMobileBroadbandDeviceService_Vtbl, 0x22be1a52_bd80_40ac_8e1f_2e07836a3dbd); #[repr(C)] pub struct IMobileBroadbandDeviceService_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -588,7 +588,7 @@ pub struct IMobileBroadbandDeviceService_Vtbl { pub OpenDataSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OpenCommandSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceServiceCommandResult, IMobileBroadbandDeviceServiceCommandResult_Vtbl, 0xb0f46abb_94d6_44b9_a538_f0810b645389); +windows_core::imp::define_interface!(IMobileBroadbandDeviceServiceCommandResult, IMobileBroadbandDeviceServiceCommandResult_Vtbl, 0xb0f46abb_94d6_44b9_a538_f0810b645389); #[repr(C)] pub struct IMobileBroadbandDeviceServiceCommandResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -598,7 +598,7 @@ pub struct IMobileBroadbandDeviceServiceCommandResult_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ResponseData: usize, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceServiceCommandSession, IMobileBroadbandDeviceServiceCommandSession_Vtbl, 0xfc098a45_913b_4914_b6c3_ae6304593e75); +windows_core::imp::define_interface!(IMobileBroadbandDeviceServiceCommandSession, IMobileBroadbandDeviceServiceCommandSession_Vtbl, 0xfc098a45_913b_4914_b6c3_ae6304593e75); #[repr(C)] pub struct IMobileBroadbandDeviceServiceCommandSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -612,7 +612,7 @@ pub struct IMobileBroadbandDeviceServiceCommandSession_Vtbl { SendSetCommandAsync: usize, pub CloseSession: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceServiceDataReceivedEventArgs, IMobileBroadbandDeviceServiceDataReceivedEventArgs_Vtbl, 0xb6aa13de_1380_40e3_8618_73cbca48138c); +windows_core::imp::define_interface!(IMobileBroadbandDeviceServiceDataReceivedEventArgs, IMobileBroadbandDeviceServiceDataReceivedEventArgs_Vtbl, 0xb6aa13de_1380_40e3_8618_73cbca48138c); #[repr(C)] pub struct IMobileBroadbandDeviceServiceDataReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -621,7 +621,7 @@ pub struct IMobileBroadbandDeviceServiceDataReceivedEventArgs_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ReceivedData: usize, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceServiceDataSession, IMobileBroadbandDeviceServiceDataSession_Vtbl, 0xdad62333_8bcf_4289_8a37_045c2169486a); +windows_core::imp::define_interface!(IMobileBroadbandDeviceServiceDataSession, IMobileBroadbandDeviceServiceDataSession_Vtbl, 0xdad62333_8bcf_4289_8a37_045c2169486a); #[repr(C)] pub struct IMobileBroadbandDeviceServiceDataSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -633,7 +633,7 @@ pub struct IMobileBroadbandDeviceServiceDataSession_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceServiceInformation, IMobileBroadbandDeviceServiceInformation_Vtbl, 0x53d69b5b_c4ed_45f0_803a_d9417a6d9846); +windows_core::imp::define_interface!(IMobileBroadbandDeviceServiceInformation, IMobileBroadbandDeviceServiceInformation_Vtbl, 0x53d69b5b_c4ed_45f0_803a_d9417a6d9846); #[repr(C)] pub struct IMobileBroadbandDeviceServiceInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -641,7 +641,7 @@ pub struct IMobileBroadbandDeviceServiceInformation_Vtbl { pub IsDataReadSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsDataWriteSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceServiceTriggerDetails, IMobileBroadbandDeviceServiceTriggerDetails_Vtbl, 0x4a055b70_b9ae_4458_9241_a6a5fbf18a0c); +windows_core::imp::define_interface!(IMobileBroadbandDeviceServiceTriggerDetails, IMobileBroadbandDeviceServiceTriggerDetails_Vtbl, 0x4a055b70_b9ae_4458_9241_a6a5fbf18a0c); #[repr(C)] pub struct IMobileBroadbandDeviceServiceTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -652,13 +652,13 @@ pub struct IMobileBroadbandDeviceServiceTriggerDetails_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ReceivedData: usize, } -windows_core::imp::com_interface!(IMobileBroadbandDeviceServiceTriggerDetails2, IMobileBroadbandDeviceServiceTriggerDetails2_Vtbl, 0xd83d5f16_336a_553f_94bb_0cd1a2ff0c81); +windows_core::imp::define_interface!(IMobileBroadbandDeviceServiceTriggerDetails2, IMobileBroadbandDeviceServiceTriggerDetails2_Vtbl, 0xd83d5f16_336a_553f_94bb_0cd1a2ff0c81); #[repr(C)] pub struct IMobileBroadbandDeviceServiceTriggerDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub EventId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandModem, IMobileBroadbandModem_Vtbl, 0xd0356912_e9f9_4f67_a03d_43189a316bf1); +windows_core::imp::define_interface!(IMobileBroadbandModem, IMobileBroadbandModem_Vtbl, 0xd0356912_e9f9_4f67_a03d_43189a316bf1); #[repr(C)] pub struct IMobileBroadbandModem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -676,14 +676,14 @@ pub struct IMobileBroadbandModem_Vtbl { pub GetCurrentConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CurrentNetwork: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandModem2, IMobileBroadbandModem2_Vtbl, 0x12862b28_b9eb_4ee2_bbe3_711f53eea373); +windows_core::imp::define_interface!(IMobileBroadbandModem2, IMobileBroadbandModem2_Vtbl, 0x12862b28_b9eb_4ee2_bbe3_711f53eea373); #[repr(C)] pub struct IMobileBroadbandModem2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetIsPassthroughEnabledAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetIsPassthroughEnabledAsync: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandModem3, IMobileBroadbandModem3_Vtbl, 0xe9fec6ea_2f34_4582_9102_c314d2a87eec); +windows_core::imp::define_interface!(IMobileBroadbandModem3, IMobileBroadbandModem3_Vtbl, 0xe9fec6ea_2f34_4582_9102_c314d2a87eec); #[repr(C)] pub struct IMobileBroadbandModem3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -692,7 +692,7 @@ pub struct IMobileBroadbandModem3_Vtbl { pub IsInEmergencyCallModeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveIsInEmergencyCallModeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandModem4, IMobileBroadbandModem4_Vtbl, 0x4a0398c2_91be_412b_b569_586e9f0030d1); +windows_core::imp::define_interface!(IMobileBroadbandModem4, IMobileBroadbandModem4_Vtbl, 0x4a0398c2_91be_412b_b569_586e9f0030d1); #[repr(C)] pub struct IMobileBroadbandModem4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -701,7 +701,7 @@ pub struct IMobileBroadbandModem4_Vtbl { pub SetIsPassthroughEnabledWithSlotIndex: unsafe extern "system" fn(*mut core::ffi::c_void, bool, i32, *mut MobileBroadbandModemStatus) -> windows_core::HRESULT, pub GetIsPassthroughEnabledWithSlotIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandModemConfiguration, IMobileBroadbandModemConfiguration_Vtbl, 0xfce035a3_d6cd_4320_b982_be9d3ec7890f); +windows_core::imp::define_interface!(IMobileBroadbandModemConfiguration, IMobileBroadbandModemConfiguration_Vtbl, 0xfce035a3_d6cd_4320_b982_be9d3ec7890f); #[repr(C)] pub struct IMobileBroadbandModemConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -709,13 +709,13 @@ pub struct IMobileBroadbandModemConfiguration_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandModemConfiguration2, IMobileBroadbandModemConfiguration2_Vtbl, 0x320ff5c5_e460_42ae_aa51_69621e7a4477); +windows_core::imp::define_interface!(IMobileBroadbandModemConfiguration2, IMobileBroadbandModemConfiguration2_Vtbl, 0x320ff5c5_e460_42ae_aa51_69621e7a4477); #[repr(C)] pub struct IMobileBroadbandModemConfiguration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SarManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandModemIsolation, IMobileBroadbandModemIsolation_Vtbl, 0xb5618fec_e661_4330_9bb4_3480212ec354); +windows_core::imp::define_interface!(IMobileBroadbandModemIsolation, IMobileBroadbandModemIsolation_Vtbl, 0xb5618fec_e661_4330_9bb4_3480212ec354); #[repr(C)] pub struct IMobileBroadbandModemIsolation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -724,13 +724,13 @@ pub struct IMobileBroadbandModemIsolation_Vtbl { pub ApplyConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ClearConfigurationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandModemIsolationFactory, IMobileBroadbandModemIsolationFactory_Vtbl, 0x21d7ec58_c2b1_4c2f_a030_72820a24ecd9); +windows_core::imp::define_interface!(IMobileBroadbandModemIsolationFactory, IMobileBroadbandModemIsolationFactory_Vtbl, 0x21d7ec58_c2b1_4c2f_a030_72820a24ecd9); #[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, } -windows_core::imp::com_interface!(IMobileBroadbandModemStatics, IMobileBroadbandModemStatics_Vtbl, 0xf99ed637_d6f1_4a78_8cbc_6421a65063c8); +windows_core::imp::define_interface!(IMobileBroadbandModemStatics, IMobileBroadbandModemStatics_Vtbl, 0xf99ed637_d6f1_4a78_8cbc_6421a65063c8); #[repr(C)] pub struct IMobileBroadbandModemStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -738,7 +738,7 @@ pub struct IMobileBroadbandModemStatics_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 GetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandNetwork, IMobileBroadbandNetwork_Vtbl, 0xcb63928c_0309_4cb6_a8c1_6a5a3c8e1ff6); +windows_core::imp::define_interface!(IMobileBroadbandNetwork, IMobileBroadbandNetwork_Vtbl, 0xcb63928c_0309_4cb6_a8c1_6a5a3c8e1ff6); #[repr(C)] pub struct IMobileBroadbandNetwork_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -756,7 +756,7 @@ pub struct IMobileBroadbandNetwork_Vtbl { pub RegisteredProviderName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub ShowConnectionUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandNetwork2, IMobileBroadbandNetwork2_Vtbl, 0x5a55db22_62f7_4bdd_ba1d_477441960ba0); +windows_core::imp::define_interface!(IMobileBroadbandNetwork2, IMobileBroadbandNetwork2_Vtbl, 0x5a55db22_62f7_4bdd_ba1d_477441960ba0); #[repr(C)] pub struct IMobileBroadbandNetwork2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -766,20 +766,20 @@ pub struct IMobileBroadbandNetwork2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RegistrationUiccApps: usize, } -windows_core::imp::com_interface!(IMobileBroadbandNetwork3, IMobileBroadbandNetwork3_Vtbl, 0x33670a8a_c7ef_444c_ab6c_df7ef7a390fe); +windows_core::imp::define_interface!(IMobileBroadbandNetwork3, IMobileBroadbandNetwork3_Vtbl, 0x33670a8a_c7ef_444c_ab6c_df7ef7a390fe); #[repr(C)] pub struct IMobileBroadbandNetwork3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetCellsInfoAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandNetworkRegistrationStateChange, IMobileBroadbandNetworkRegistrationStateChange_Vtbl, 0xbeaf94e1_960f_49b4_a08d_7d85e968c7ec); +windows_core::imp::define_interface!(IMobileBroadbandNetworkRegistrationStateChange, IMobileBroadbandNetworkRegistrationStateChange_Vtbl, 0xbeaf94e1_960f_49b4_a08d_7d85e968c7ec); #[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 Network: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails, IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails_Vtbl, 0x89135cff_28b8_46aa_b137_1c4b0f21edfe); +windows_core::imp::define_interface!(IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails, IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails_Vtbl, 0x89135cff_28b8_46aa_b137_1c4b0f21edfe); #[repr(C)] pub struct IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -788,7 +788,7 @@ pub struct IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] NetworkRegistrationStateChanges: usize, } -windows_core::imp::com_interface!(IMobileBroadbandPco, IMobileBroadbandPco_Vtbl, 0xd4e4fcbe_e3a3_43c5_a87b_6c86d229d7fa); +windows_core::imp::define_interface!(IMobileBroadbandPco, IMobileBroadbandPco_Vtbl, 0xd4e4fcbe_e3a3_43c5_a87b_6c86d229d7fa); #[repr(C)] pub struct IMobileBroadbandPco_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -799,13 +799,13 @@ pub struct IMobileBroadbandPco_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandPcoDataChangeTriggerDetails, IMobileBroadbandPcoDataChangeTriggerDetails_Vtbl, 0x263f5114_64e0_4493_909b_2d14a01962b1); +windows_core::imp::define_interface!(IMobileBroadbandPcoDataChangeTriggerDetails, IMobileBroadbandPcoDataChangeTriggerDetails_Vtbl, 0x263f5114_64e0_4493_909b_2d14a01962b1); #[repr(C)] pub struct IMobileBroadbandPcoDataChangeTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UpdatedData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandPin, IMobileBroadbandPin_Vtbl, 0xe661d709_e779_45bf_8281_75323df9e321); +windows_core::imp::define_interface!(IMobileBroadbandPin, IMobileBroadbandPin_Vtbl, 0xe661d709_e779_45bf_8281_75323df9e321); #[repr(C)] pub struct IMobileBroadbandPin_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -822,7 +822,7 @@ pub struct IMobileBroadbandPin_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandPinLockStateChange, IMobileBroadbandPinLockStateChange_Vtbl, 0xbe16673e_1f04_4f95_8b90_e7f559dde7e5); +windows_core::imp::define_interface!(IMobileBroadbandPinLockStateChange, IMobileBroadbandPinLockStateChange_Vtbl, 0xbe16673e_1f04_4f95_8b90_e7f559dde7e5); #[repr(C)] pub struct IMobileBroadbandPinLockStateChange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -830,7 +830,7 @@ pub struct IMobileBroadbandPinLockStateChange_Vtbl { 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, } -windows_core::imp::com_interface!(IMobileBroadbandPinLockStateChangeTriggerDetails, IMobileBroadbandPinLockStateChangeTriggerDetails_Vtbl, 0xd338c091_3e91_4d38_9036_aee83a6e79ad); +windows_core::imp::define_interface!(IMobileBroadbandPinLockStateChangeTriggerDetails, IMobileBroadbandPinLockStateChangeTriggerDetails_Vtbl, 0xd338c091_3e91_4d38_9036_aee83a6e79ad); #[repr(C)] pub struct IMobileBroadbandPinLockStateChangeTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -839,7 +839,7 @@ pub struct IMobileBroadbandPinLockStateChangeTriggerDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PinLockStateChanges: usize, } -windows_core::imp::com_interface!(IMobileBroadbandPinManager, IMobileBroadbandPinManager_Vtbl, 0x83567edd_6e1f_4b9b_a413_2b1f50cc36df); +windows_core::imp::define_interface!(IMobileBroadbandPinManager, IMobileBroadbandPinManager_Vtbl, 0x83567edd_6e1f_4b9b_a413_2b1f50cc36df); #[repr(C)] pub struct IMobileBroadbandPinManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -849,21 +849,21 @@ pub struct IMobileBroadbandPinManager_Vtbl { SupportedPins: usize, pub GetPin: unsafe extern "system" fn(*mut core::ffi::c_void, MobileBroadbandPinType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandPinOperationResult, IMobileBroadbandPinOperationResult_Vtbl, 0x11dddc32_31e7_49f5_b663_123d3bef0362); +windows_core::imp::define_interface!(IMobileBroadbandPinOperationResult, IMobileBroadbandPinOperationResult_Vtbl, 0x11dddc32_31e7_49f5_b663_123d3bef0362); #[repr(C)] pub struct IMobileBroadbandPinOperationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSuccessful: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub AttemptsRemaining: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandRadioStateChange, IMobileBroadbandRadioStateChange_Vtbl, 0xb054a561_9833_4aed_9717_4348b21a24b3); +windows_core::imp::define_interface!(IMobileBroadbandRadioStateChange, IMobileBroadbandRadioStateChange_Vtbl, 0xb054a561_9833_4aed_9717_4348b21a24b3); #[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 RadioState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MobileBroadbandRadioState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandRadioStateChangeTriggerDetails, IMobileBroadbandRadioStateChangeTriggerDetails_Vtbl, 0x71301ace_093c_42c6_b0db_ad1f75a65445); +windows_core::imp::define_interface!(IMobileBroadbandRadioStateChangeTriggerDetails, IMobileBroadbandRadioStateChangeTriggerDetails_Vtbl, 0x71301ace_093c_42c6_b0db_ad1f75a65445); #[repr(C)] pub struct IMobileBroadbandRadioStateChangeTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -872,7 +872,7 @@ pub struct IMobileBroadbandRadioStateChangeTriggerDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RadioStateChanges: usize, } -windows_core::imp::com_interface!(IMobileBroadbandSarManager, IMobileBroadbandSarManager_Vtbl, 0xe5b26833_967e_40c9_a485_19c0dd209e22); +windows_core::imp::define_interface!(IMobileBroadbandSarManager, IMobileBroadbandSarManager_Vtbl, 0xe5b26833_967e_40c9_a485_19c0dd209e22); #[repr(C)] pub struct IMobileBroadbandSarManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -898,26 +898,26 @@ pub struct IMobileBroadbandSarManager_Vtbl { pub StartTransmissionStateMonitoring: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub StopTransmissionStateMonitoring: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandSlotInfo, IMobileBroadbandSlotInfo_Vtbl, 0xbd350b32_882e_542a_b17d_0bb1b49bae9e); +windows_core::imp::define_interface!(IMobileBroadbandSlotInfo, IMobileBroadbandSlotInfo_Vtbl, 0xbd350b32_882e_542a_b17d_0bb1b49bae9e); #[repr(C)] pub struct IMobileBroadbandSlotInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Index: 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 MobileBroadbandSlotState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandSlotInfo2, IMobileBroadbandSlotInfo2_Vtbl, 0x393cb039_ca44_524c_822d_83a3620f0efc); +windows_core::imp::define_interface!(IMobileBroadbandSlotInfo2, IMobileBroadbandSlotInfo2_Vtbl, 0x393cb039_ca44_524c_822d_83a3620f0efc); #[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, } -windows_core::imp::com_interface!(IMobileBroadbandSlotInfoChangedEventArgs, IMobileBroadbandSlotInfoChangedEventArgs_Vtbl, 0x3158839f_950c_54ce_a48d_ba4529b48f0f); +windows_core::imp::define_interface!(IMobileBroadbandSlotInfoChangedEventArgs, IMobileBroadbandSlotInfoChangedEventArgs_Vtbl, 0x3158839f_950c_54ce_a48d_ba4529b48f0f); #[repr(C)] pub struct IMobileBroadbandSlotInfoChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SlotInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandSlotManager, IMobileBroadbandSlotManager_Vtbl, 0xeba07cd6_2019_5f81_a294_cc364a11d0b2); +windows_core::imp::define_interface!(IMobileBroadbandSlotManager, IMobileBroadbandSlotManager_Vtbl, 0xeba07cd6_2019_5f81_a294_cc364a11d0b2); #[repr(C)] pub struct IMobileBroadbandSlotManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -933,20 +933,20 @@ pub struct IMobileBroadbandSlotManager_Vtbl { pub CurrentSlotIndexChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCurrentSlotIndexChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandTransmissionStateChangedEventArgs, IMobileBroadbandTransmissionStateChangedEventArgs_Vtbl, 0x612e3875_040a_4f99_a4f9_61d7c32da129); +windows_core::imp::define_interface!(IMobileBroadbandTransmissionStateChangedEventArgs, IMobileBroadbandTransmissionStateChangedEventArgs_Vtbl, 0x612e3875_040a_4f99_a4f9_61d7c32da129); #[repr(C)] pub struct IMobileBroadbandTransmissionStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsTransmitting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandUicc, IMobileBroadbandUicc_Vtbl, 0xe634f691_525a_4ce2_8fce_aa4162579154); +windows_core::imp::define_interface!(IMobileBroadbandUicc, IMobileBroadbandUicc_Vtbl, 0xe634f691_525a_4ce2_8fce_aa4162579154); #[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 GetUiccAppsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandUiccApp, IMobileBroadbandUiccApp_Vtbl, 0x4d170556_98a1_43dd_b2ec_50c90cf248df); +windows_core::imp::define_interface!(IMobileBroadbandUiccApp, IMobileBroadbandUiccApp_Vtbl, 0x4d170556_98a1_43dd_b2ec_50c90cf248df); #[repr(C)] pub struct IMobileBroadbandUiccApp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -964,7 +964,7 @@ pub struct IMobileBroadbandUiccApp_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReadRecordAsync: usize, } -windows_core::imp::com_interface!(IMobileBroadbandUiccAppReadRecordResult, IMobileBroadbandUiccAppReadRecordResult_Vtbl, 0x64c95285_358e_47c5_8249_695f383b2bdb); +windows_core::imp::define_interface!(IMobileBroadbandUiccAppReadRecordResult, IMobileBroadbandUiccAppReadRecordResult_Vtbl, 0x64c95285_358e_47c5_8249_695f383b2bdb); #[repr(C)] pub struct IMobileBroadbandUiccAppReadRecordResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -974,7 +974,7 @@ pub struct IMobileBroadbandUiccAppReadRecordResult_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Data: usize, } -windows_core::imp::com_interface!(IMobileBroadbandUiccAppRecordDetailsResult, IMobileBroadbandUiccAppRecordDetailsResult_Vtbl, 0xd919682f_be14_4934_981d_2f57b9ed83e6); +windows_core::imp::define_interface!(IMobileBroadbandUiccAppRecordDetailsResult, IMobileBroadbandUiccAppRecordDetailsResult_Vtbl, 0xd919682f_be14_4934_981d_2f57b9ed83e6); #[repr(C)] pub struct IMobileBroadbandUiccAppRecordDetailsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -985,7 +985,7 @@ pub struct IMobileBroadbandUiccAppRecordDetailsResult_Vtbl { pub ReadAccessCondition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UiccAccessCondition) -> windows_core::HRESULT, pub WriteAccessCondition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UiccAccessCondition) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMobileBroadbandUiccAppsResult, IMobileBroadbandUiccAppsResult_Vtbl, 0x744930eb_8157_4a41_8494_6bf54c9b1d2b); +windows_core::imp::define_interface!(IMobileBroadbandUiccAppsResult, IMobileBroadbandUiccAppsResult_Vtbl, 0x744930eb_8157_4a41_8494_6bf54c9b1d2b); #[repr(C)] pub struct IMobileBroadbandUiccAppsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -995,13 +995,13 @@ pub struct IMobileBroadbandUiccAppsResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] UiccApps: usize, } -windows_core::imp::com_interface!(INetworkOperatorDataUsageTriggerDetails, INetworkOperatorDataUsageTriggerDetails_Vtbl, 0x50e3126d_a465_4eeb_9317_28a167630cea); +windows_core::imp::define_interface!(INetworkOperatorDataUsageTriggerDetails, INetworkOperatorDataUsageTriggerDetails_Vtbl, 0x50e3126d_a465_4eeb_9317_28a167630cea); #[repr(C)] pub struct INetworkOperatorDataUsageTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NotificationKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NetworkOperatorDataUsageNotificationKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkOperatorNotificationEventDetails, INetworkOperatorNotificationEventDetails_Vtbl, 0xbc68a9d1_82e1_4488_9f2c_1276c2468fac); +windows_core::imp::define_interface!(INetworkOperatorNotificationEventDetails, INetworkOperatorNotificationEventDetails_Vtbl, 0xbc68a9d1_82e1_4488_9f2c_1276c2468fac); #[repr(C)] pub struct INetworkOperatorNotificationEventDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1015,7 +1015,7 @@ pub struct INetworkOperatorNotificationEventDetails_Vtbl { #[cfg(not(feature = "Devices_Sms"))] SmsMessage: usize, } -windows_core::imp::com_interface!(INetworkOperatorTetheringAccessPointConfiguration, INetworkOperatorTetheringAccessPointConfiguration_Vtbl, 0x0bcc0284_412e_403d_acc6_b757e34774a4); +windows_core::imp::define_interface!(INetworkOperatorTetheringAccessPointConfiguration, INetworkOperatorTetheringAccessPointConfiguration_Vtbl, 0x0bcc0284_412e_403d_acc6_b757e34774a4); #[repr(C)] pub struct INetworkOperatorTetheringAccessPointConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1024,7 +1024,7 @@ pub struct INetworkOperatorTetheringAccessPointConfiguration_Vtbl { 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, } -windows_core::imp::com_interface!(INetworkOperatorTetheringAccessPointConfiguration2, INetworkOperatorTetheringAccessPointConfiguration2_Vtbl, 0xb1809142_7238_59a0_928b_74ab46fd64b6); +windows_core::imp::define_interface!(INetworkOperatorTetheringAccessPointConfiguration2, INetworkOperatorTetheringAccessPointConfiguration2_Vtbl, 0xb1809142_7238_59a0_928b_74ab46fd64b6); #[repr(C)] pub struct INetworkOperatorTetheringAccessPointConfiguration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1033,7 +1033,7 @@ pub struct INetworkOperatorTetheringAccessPointConfiguration2_Vtbl { pub Band: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TetheringWiFiBand) -> windows_core::HRESULT, pub SetBand: unsafe extern "system" fn(*mut core::ffi::c_void, TetheringWiFiBand) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkOperatorTetheringClient, INetworkOperatorTetheringClient_Vtbl, 0x709d254c_595f_4847_bb30_646935542918); +windows_core::imp::define_interface!(INetworkOperatorTetheringClient, INetworkOperatorTetheringClient_Vtbl, 0x709d254c_595f_4847_bb30_646935542918); #[repr(C)] pub struct INetworkOperatorTetheringClient_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1043,7 +1043,7 @@ pub struct INetworkOperatorTetheringClient_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] HostNames: usize, } -windows_core::imp::com_interface!(INetworkOperatorTetheringClientManager, INetworkOperatorTetheringClientManager_Vtbl, 0x91b14016_8dca_4225_bbed_eef8b8d718d7); +windows_core::imp::define_interface!(INetworkOperatorTetheringClientManager, INetworkOperatorTetheringClientManager_Vtbl, 0x91b14016_8dca_4225_bbed_eef8b8d718d7); #[repr(C)] pub struct INetworkOperatorTetheringClientManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1052,13 +1052,13 @@ pub struct INetworkOperatorTetheringClientManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetTetheringClients: usize, } -windows_core::imp::com_interface!(INetworkOperatorTetheringEntitlementCheck, INetworkOperatorTetheringEntitlementCheck_Vtbl, 0x0108916d_9e9a_4af6_8da3_60493b19c204); +windows_core::imp::define_interface!(INetworkOperatorTetheringEntitlementCheck, INetworkOperatorTetheringEntitlementCheck_Vtbl, 0x0108916d_9e9a_4af6_8da3_60493b19c204); #[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, } -windows_core::imp::com_interface!(INetworkOperatorTetheringManager, INetworkOperatorTetheringManager_Vtbl, 0xd45a8da0_0e86_4d98_8ba4_dd70d4b764d3); +windows_core::imp::define_interface!(INetworkOperatorTetheringManager, INetworkOperatorTetheringManager_Vtbl, 0xd45a8da0_0e86_4d98_8ba4_dd70d4b764d3); #[repr(C)] pub struct INetworkOperatorTetheringManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1070,14 +1070,14 @@ pub struct INetworkOperatorTetheringManager_Vtbl { pub StartTetheringAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StopTetheringAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkOperatorTetheringManagerStatics, INetworkOperatorTetheringManagerStatics_Vtbl, 0x3ebcbacc_f8c3_405c_9964_70a1eeabe194); +windows_core::imp::define_interface!(INetworkOperatorTetheringManagerStatics, INetworkOperatorTetheringManagerStatics_Vtbl, 0x3ebcbacc_f8c3_405c_9964_70a1eeabe194); #[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, } -windows_core::imp::com_interface!(INetworkOperatorTetheringManagerStatics2, INetworkOperatorTetheringManagerStatics2_Vtbl, 0x5b235412_35f0_49e7_9b08_16d278fbaa42); +windows_core::imp::define_interface!(INetworkOperatorTetheringManagerStatics2, INetworkOperatorTetheringManagerStatics2_Vtbl, 0x5b235412_35f0_49e7_9b08_16d278fbaa42); #[repr(C)] pub struct INetworkOperatorTetheringManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1090,7 +1090,7 @@ pub struct INetworkOperatorTetheringManagerStatics2_Vtbl { #[cfg(not(feature = "Networking_Connectivity"))] CreateFromConnectionProfile: usize, } -windows_core::imp::com_interface!(INetworkOperatorTetheringManagerStatics3, INetworkOperatorTetheringManagerStatics3_Vtbl, 0x8fdaadb6_4af9_4f21_9b58_d53e9f24231e); +windows_core::imp::define_interface!(INetworkOperatorTetheringManagerStatics3, INetworkOperatorTetheringManagerStatics3_Vtbl, 0x8fdaadb6_4af9_4f21_9b58_d53e9f24231e); #[repr(C)] pub struct INetworkOperatorTetheringManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1099,7 +1099,7 @@ pub struct INetworkOperatorTetheringManagerStatics3_Vtbl { #[cfg(not(feature = "Networking_Connectivity"))] CreateFromConnectionProfileWithTargetAdapter: usize, } -windows_core::imp::com_interface!(INetworkOperatorTetheringManagerStatics4, INetworkOperatorTetheringManagerStatics4_Vtbl, 0xb3b9f9d0_ebff_46a4_a847_d663d8b0977e); +windows_core::imp::define_interface!(INetworkOperatorTetheringManagerStatics4, INetworkOperatorTetheringManagerStatics4_Vtbl, 0xb3b9f9d0_ebff_46a4_a847_d663d8b0977e); #[repr(C)] pub struct INetworkOperatorTetheringManagerStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1109,21 +1109,21 @@ pub struct INetworkOperatorTetheringManagerStatics4_Vtbl { pub DisableNoConnectionsTimeout: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisableNoConnectionsTimeoutAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkOperatorTetheringOperationResult, INetworkOperatorTetheringOperationResult_Vtbl, 0xebd203a1_01ba_476d_b4b3_bf3d12c8f80c); +windows_core::imp::define_interface!(INetworkOperatorTetheringOperationResult, INetworkOperatorTetheringOperationResult_Vtbl, 0xebd203a1_01ba_476d_b4b3_bf3d12c8f80c); #[repr(C)] 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, } -windows_core::imp::com_interface!(IProvisionFromXmlDocumentResults, IProvisionFromXmlDocumentResults_Vtbl, 0x217700e0_8203_11df_adb9_f4ce462d9137); +windows_core::imp::define_interface!(IProvisionFromXmlDocumentResults, IProvisionFromXmlDocumentResults_Vtbl, 0x217700e0_8203_11df_adb9_f4ce462d9137); #[repr(C)] 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, } -windows_core::imp::com_interface!(IProvisionedProfile, IProvisionedProfile_Vtbl, 0x217700e0_8202_11df_adb9_f4ce462d9137); +windows_core::imp::define_interface!(IProvisionedProfile, IProvisionedProfile_Vtbl, 0x217700e0_8202_11df_adb9_f4ce462d9137); #[repr(C)] pub struct IProvisionedProfile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1133,20 +1133,20 @@ pub struct IProvisionedProfile_Vtbl { UpdateCost: usize, pub UpdateUsage: unsafe extern "system" fn(*mut core::ffi::c_void, ProfileUsage) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProvisioningAgent, IProvisioningAgent_Vtbl, 0x217700e0_8201_11df_adb9_f4ce462d9137); +windows_core::imp::define_interface!(IProvisioningAgent, IProvisioningAgent_Vtbl, 0x217700e0_8201_11df_adb9_f4ce462d9137); #[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, } -windows_core::imp::com_interface!(IProvisioningAgentStaticMethods, IProvisioningAgentStaticMethods_Vtbl, 0x217700e0_8101_11df_adb9_f4ce462d9137); +windows_core::imp::define_interface!(IProvisioningAgentStaticMethods, IProvisioningAgentStaticMethods_Vtbl, 0x217700e0_8101_11df_adb9_f4ce462d9137); #[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, } -windows_core::imp::com_interface!(ITetheringEntitlementCheckTriggerDetails, ITetheringEntitlementCheckTriggerDetails_Vtbl, 0x03c65e9d_5926_41f3_a94e_b50926fc421b); +windows_core::imp::define_interface!(ITetheringEntitlementCheckTriggerDetails, ITetheringEntitlementCheckTriggerDetails_Vtbl, 0x03c65e9d_5926_41f3_a94e_b50926fc421b); #[repr(C)] pub struct ITetheringEntitlementCheckTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1154,7 +1154,7 @@ pub struct ITetheringEntitlementCheckTriggerDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IUssdMessage, IUssdMessage_Vtbl, 0x2f9acf82_2004_4d5d_bf81_2aba1b4be4a8); +windows_core::imp::define_interface!(IUssdMessage, IUssdMessage_Vtbl, 0x2f9acf82_2004_4d5d_bf81_2aba1b4be4a8); #[repr(C)] pub struct IUssdMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1165,27 +1165,27 @@ pub struct IUssdMessage_Vtbl { 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, } -windows_core::imp::com_interface!(IUssdMessageFactory, IUssdMessageFactory_Vtbl, 0x2f9acf82_1003_4d5d_bf81_2aba1b4be4a8); +windows_core::imp::define_interface!(IUssdMessageFactory, IUssdMessageFactory_Vtbl, 0x2f9acf82_1003_4d5d_bf81_2aba1b4be4a8); #[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, } -windows_core::imp::com_interface!(IUssdReply, IUssdReply_Vtbl, 0x2f9acf82_2005_4d5d_bf81_2aba1b4be4a8); +windows_core::imp::define_interface!(IUssdReply, IUssdReply_Vtbl, 0x2f9acf82_2005_4d5d_bf81_2aba1b4be4a8); #[repr(C)] pub struct IUssdReply_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ResultCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UssdResultCode) -> windows_core::HRESULT, pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUssdSession, IUssdSession_Vtbl, 0x2f9acf82_2002_4d5d_bf81_2aba1b4be4a8); +windows_core::imp::define_interface!(IUssdSession, IUssdSession_Vtbl, 0x2f9acf82_2002_4d5d_bf81_2aba1b4be4a8); #[repr(C)] pub struct IUssdSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SendMessageAndGetReplyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUssdSessionStatics, IUssdSessionStatics_Vtbl, 0x2f9acf82_1001_4d5d_bf81_2aba1b4be4a8); +windows_core::imp::define_interface!(IUssdSessionStatics, IUssdSessionStatics_Vtbl, 0x2f9acf82_1001_4d5d_bf81_2aba1b4be4a8); #[repr(C)] pub struct IUssdSessionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs index a522f7f079..d83b1de957 100644 --- a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs @@ -1,10 +1,10 @@ -windows_core::imp::com_interface!(IConnectionRequestedEventArgs, IConnectionRequestedEventArgs_Vtbl, 0xeb6891ae_4f1e_4c66_bd0d_46924a942e08); +windows_core::imp::define_interface!(IConnectionRequestedEventArgs, IConnectionRequestedEventArgs_Vtbl, 0xeb6891ae_4f1e_4c66_bd0d_46924a942e08); #[repr(C)] pub struct IConnectionRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PeerInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPeerFinderStatics, IPeerFinderStatics_Vtbl, 0x914b3b61_f6e1_47c4_a14c_148a1903d0c6); +windows_core::imp::define_interface!(IPeerFinderStatics, IPeerFinderStatics_Vtbl, 0x914b3b61_f6e1_47c4_a14c_148a1903d0c6); #[repr(C)] pub struct IPeerFinderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,7 +37,7 @@ pub struct IPeerFinderStatics_Vtbl { #[cfg(not(feature = "Networking_Sockets"))] ConnectAsync: usize, } -windows_core::imp::com_interface!(IPeerFinderStatics2, IPeerFinderStatics2_Vtbl, 0xd6e73c65_fdd0_4b0b_9312_866408935d82); +windows_core::imp::define_interface!(IPeerFinderStatics2, IPeerFinderStatics2_Vtbl, 0xd6e73c65_fdd0_4b0b_9312_866408935d82); #[repr(C)] pub struct IPeerFinderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,13 +53,13 @@ pub struct IPeerFinderStatics2_Vtbl { SetDiscoveryData: usize, pub CreateWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPeerInformation, IPeerInformation_Vtbl, 0x20024f08_9fff_45f4_b6e9_408b2ebef373); +windows_core::imp::define_interface!(IPeerInformation, IPeerInformation_Vtbl, 0x20024f08_9fff_45f4_b6e9_408b2ebef373); #[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, } -windows_core::imp::com_interface!(IPeerInformation3, IPeerInformation3_Vtbl, 0xb20f612a_dbd0_40f8_95bd_2d4209c7836f); +windows_core::imp::define_interface!(IPeerInformation3, IPeerInformation3_Vtbl, 0xb20f612a_dbd0_40f8_95bd_2d4209c7836f); #[repr(C)] pub struct IPeerInformation3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -69,14 +69,14 @@ pub struct IPeerInformation3_Vtbl { #[cfg(not(feature = "Storage_Streams"))] DiscoveryData: usize, } -windows_core::imp::com_interface!(IPeerInformationWithHostAndService, IPeerInformationWithHostAndService_Vtbl, 0xecc7ccad_1b70_4e8b_92db_bbe781419308); +windows_core::imp::define_interface!(IPeerInformationWithHostAndService, IPeerInformationWithHostAndService_Vtbl, 0xecc7ccad_1b70_4e8b_92db_bbe781419308); #[repr(C)] 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, } -windows_core::imp::com_interface!(IPeerWatcher, IPeerWatcher_Vtbl, 0x3cee21f8_2fa6_4679_9691_03c94a420f34); +windows_core::imp::define_interface!(IPeerWatcher, IPeerWatcher_Vtbl, 0x3cee21f8_2fa6_4679_9691_03c94a420f34); #[repr(C)] pub struct IPeerWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -94,7 +94,7 @@ pub struct IPeerWatcher_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IProximityDevice, IProximityDevice_Vtbl, 0xefa8a552_f6e1_4329_a0fc_ab6b0fd28262); +windows_core::imp::define_interface!(IProximityDevice, IProximityDevice_Vtbl, 0xefa8a552_f6e1_4329_a0fc_ab6b0fd28262); #[repr(C)] pub struct IProximityDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -121,7 +121,7 @@ pub struct IProximityDevice_Vtbl { 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, } -windows_core::imp::com_interface!(IProximityDeviceStatics, IProximityDeviceStatics_Vtbl, 0x914ba01d_f6e1_47c4_a14c_148a1903d0c6); +windows_core::imp::define_interface!(IProximityDeviceStatics, IProximityDeviceStatics_Vtbl, 0x914ba01d_f6e1_47c4_a14c_148a1903d0c6); #[repr(C)] pub struct IProximityDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -129,7 +129,7 @@ pub struct IProximityDeviceStatics_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, } -windows_core::imp::com_interface!(IProximityMessage, IProximityMessage_Vtbl, 0xefab0782_f6e1_4675_a045_d8e320c24808); +windows_core::imp::define_interface!(IProximityMessage, IProximityMessage_Vtbl, 0xefab0782_f6e1_4675_a045_d8e320c24808); #[repr(C)] pub struct IProximityMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -141,7 +141,7 @@ pub struct IProximityMessage_Vtbl { Data: usize, pub DataAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITriggeredConnectionStateChangedEventArgs, ITriggeredConnectionStateChangedEventArgs_Vtbl, 0xc6a780ad_f6e1_4d54_96e2_33f620bca88a); +windows_core::imp::define_interface!(ITriggeredConnectionStateChangedEventArgs, ITriggeredConnectionStateChangedEventArgs_Vtbl, 0xc6a780ad_f6e1_4d54_96e2_33f620bca88a); #[repr(C)] pub struct ITriggeredConnectionStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -849,7 +849,7 @@ impl core::fmt::Debug for TriggeredConnectState { impl windows_core::RuntimeType for TriggeredConnectState { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.Networking.Proximity.TriggeredConnectState;i4)"); } -windows_core::imp::com_interface!(DeviceArrivedEventHandler, DeviceArrivedEventHandler_Vtbl, 0xefa9da69_f6e1_49c9_a49e_8e0fc58fb911); +windows_core::imp::define_interface!(DeviceArrivedEventHandler, DeviceArrivedEventHandler_Vtbl, 0xefa9da69_f6e1_49c9_a49e_8e0fc58fb911); impl DeviceArrivedEventHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = DeviceArrivedEventHandlerBox:: { vtable: &DeviceArrivedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -909,7 +909,7 @@ pub struct DeviceArrivedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(DeviceDepartedEventHandler, DeviceDepartedEventHandler_Vtbl, 0xefa9da69_f6e2_49c9_a49e_8e0fc58fb911); +windows_core::imp::define_interface!(DeviceDepartedEventHandler, DeviceDepartedEventHandler_Vtbl, 0xefa9da69_f6e2_49c9_a49e_8e0fc58fb911); impl DeviceDepartedEventHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = DeviceDepartedEventHandlerBox:: { vtable: &DeviceDepartedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -969,7 +969,7 @@ pub struct DeviceDepartedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(MessageReceivedHandler, MessageReceivedHandler_Vtbl, 0xefab0782_f6e2_4675_a045_d8e320c24808); +windows_core::imp::define_interface!(MessageReceivedHandler, MessageReceivedHandler_Vtbl, 0xefab0782_f6e2_4675_a045_d8e320c24808); impl MessageReceivedHandler { pub fn new, Option<&ProximityMessage>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = MessageReceivedHandlerBox:: { vtable: &MessageReceivedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -1030,7 +1030,7 @@ pub struct MessageReceivedHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: 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::com_interface!(MessageTransmittedHandler, MessageTransmittedHandler_Vtbl, 0xefaa0b4a_f6e2_4d7d_856c_78fc8efc021e); +windows_core::imp::define_interface!(MessageTransmittedHandler, MessageTransmittedHandler_Vtbl, 0xefaa0b4a_f6e2_4d7d_856c_78fc8efc021e); impl MessageTransmittedHandler { pub fn new, i64) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = MessageTransmittedHandlerBox:: { vtable: &MessageTransmittedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs b/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs index 3e7d73af60..143a562e13 100644 --- a/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/PushNotifications/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPushNotificationChannel, IPushNotificationChannel_Vtbl, 0x2b28102e_ef0b_4f39_9b8a_a3c194de7081); +windows_core::imp::define_interface!(IPushNotificationChannel, IPushNotificationChannel_Vtbl, 0x2b28102e_ef0b_4f39_9b8a_a3c194de7081); #[repr(C)] pub struct IPushNotificationChannel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct IPushNotificationChannel_Vtbl { pub PushNotificationReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePushNotificationReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPushNotificationChannelManagerForUser, IPushNotificationChannelManagerForUser_Vtbl, 0xa4c45704_1182_42c7_8890_f563c4890dc4); +windows_core::imp::define_interface!(IPushNotificationChannelManagerForUser, IPushNotificationChannelManagerForUser_Vtbl, 0xa4c45704_1182_42c7_8890_f563c4890dc4); #[repr(C)] pub struct IPushNotificationChannelManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,7 +20,7 @@ pub struct IPushNotificationChannelManagerForUser_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IPushNotificationChannelManagerForUser2, IPushNotificationChannelManagerForUser2_Vtbl, 0xc38b066a_7cc1_4dac_87fd_be6e920414a4); +windows_core::imp::define_interface!(IPushNotificationChannelManagerForUser2, IPushNotificationChannelManagerForUser2_Vtbl, 0xc38b066a_7cc1_4dac_87fd_be6e920414a4); #[repr(C)] pub struct IPushNotificationChannelManagerForUser2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -33,7 +33,7 @@ pub struct IPushNotificationChannelManagerForUser2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsyncWithId: usize, } -windows_core::imp::com_interface!(IPushNotificationChannelManagerStatics, IPushNotificationChannelManagerStatics_Vtbl, 0x8baf9b65_77a1_4588_bd19_861529a9dcf0); +windows_core::imp::define_interface!(IPushNotificationChannelManagerStatics, IPushNotificationChannelManagerStatics_Vtbl, 0x8baf9b65_77a1_4588_bd19_861529a9dcf0); #[repr(C)] pub struct IPushNotificationChannelManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -41,7 +41,7 @@ pub struct IPushNotificationChannelManagerStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IPushNotificationChannelManagerStatics2, IPushNotificationChannelManagerStatics2_Vtbl, 0xb444a65d_a7e9_4b28_950e_f375a907f9df); +windows_core::imp::define_interface!(IPushNotificationChannelManagerStatics2, IPushNotificationChannelManagerStatics2_Vtbl, 0xb444a65d_a7e9_4b28_950e_f375a907f9df); #[repr(C)] pub struct IPushNotificationChannelManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -50,25 +50,25 @@ pub struct IPushNotificationChannelManagerStatics2_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IPushNotificationChannelManagerStatics3, IPushNotificationChannelManagerStatics3_Vtbl, 0x4701fefe_0ede_4a3f_ae78_bfa471496925); +windows_core::imp::define_interface!(IPushNotificationChannelManagerStatics3, IPushNotificationChannelManagerStatics3_Vtbl, 0x4701fefe_0ede_4a3f_ae78_bfa471496925); #[repr(C)] pub struct IPushNotificationChannelManagerStatics3_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, } -windows_core::imp::com_interface!(IPushNotificationChannelManagerStatics4, IPushNotificationChannelManagerStatics4_Vtbl, 0xbc540efb_7820_5a5b_9c01_b4757f774025); +windows_core::imp::define_interface!(IPushNotificationChannelManagerStatics4, IPushNotificationChannelManagerStatics4_Vtbl, 0xbc540efb_7820_5a5b_9c01_b4757f774025); #[repr(C)] pub struct IPushNotificationChannelManagerStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChannelsRevoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveChannelsRevoked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPushNotificationChannelsRevokedEventArgs, IPushNotificationChannelsRevokedEventArgs_Vtbl, 0x20e1a24c_1a34_5beb_aae2_40c232c8c140); +windows_core::imp::define_interface!(IPushNotificationChannelsRevokedEventArgs, IPushNotificationChannelsRevokedEventArgs_Vtbl, 0x20e1a24c_1a34_5beb_aae2_40c232c8c140); #[repr(C)] pub struct IPushNotificationChannelsRevokedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPushNotificationReceivedEventArgs, IPushNotificationReceivedEventArgs_Vtbl, 0xd1065e0c_36cd_484c_b935_0a99b753cf00); +windows_core::imp::define_interface!(IPushNotificationReceivedEventArgs, IPushNotificationReceivedEventArgs_Vtbl, 0xd1065e0c_36cd_484c_b935_0a99b753cf00); #[repr(C)] pub struct IPushNotificationReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,13 +89,13 @@ pub struct IPushNotificationReceivedEventArgs_Vtbl { BadgeNotification: usize, pub RawNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRawNotification, IRawNotification_Vtbl, 0x1a227281_3b79_42ac_9963_22ab00d4f0b7); +windows_core::imp::define_interface!(IRawNotification, IRawNotification_Vtbl, 0x1a227281_3b79_42ac_9963_22ab00d4f0b7); #[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, } -windows_core::imp::com_interface!(IRawNotification2, IRawNotification2_Vtbl, 0xe6d0cf19_0c6f_4cdd_9424_eec5be014d26); +windows_core::imp::define_interface!(IRawNotification2, IRawNotification2_Vtbl, 0xe6d0cf19_0c6f_4cdd_9424_eec5be014d26); #[repr(C)] pub struct IRawNotification2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -105,7 +105,7 @@ pub struct IRawNotification2_Vtbl { Headers: usize, pub ChannelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRawNotification3, IRawNotification3_Vtbl, 0x62737dde_8a73_424c_ab44_5635f40a96e5); +windows_core::imp::define_interface!(IRawNotification3, IRawNotification3_Vtbl, 0x62737dde_8a73_424c_ab44_5635f40a96e5); #[repr(C)] pub struct IRawNotification3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 d69b348228..ff86fbb69a 100644 --- a/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/ServiceDiscovery/Dnssd/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDnssdRegistrationResult, IDnssdRegistrationResult_Vtbl, 0x3d786ad2_e606_5350_73ea_7e97f066162f); +windows_core::imp::define_interface!(IDnssdRegistrationResult, IDnssdRegistrationResult_Vtbl, 0x3d786ad2_e606_5350_73ea_7e97f066162f); #[repr(C)] pub struct IDnssdRegistrationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,7 +6,7 @@ pub struct IDnssdRegistrationResult_Vtbl { pub IPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub HasInstanceNameChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDnssdServiceInstance, IDnssdServiceInstance_Vtbl, 0xe246db7e_98a5_4ca1_b9e4_c253d33c35ff); +windows_core::imp::define_interface!(IDnssdServiceInstance, IDnssdServiceInstance_Vtbl, 0xe246db7e_98a5_4ca1_b9e4_c253d33c35ff); #[repr(C)] pub struct IDnssdServiceInstance_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -41,13 +41,13 @@ pub struct IDnssdServiceInstance_Vtbl { #[cfg(not(all(feature = "Networking_Connectivity", feature = "Networking_Sockets")))] RegisterDatagramSocketAsync2: usize, } -windows_core::imp::com_interface!(IDnssdServiceInstanceFactory, IDnssdServiceInstanceFactory_Vtbl, 0x6cb061a1_c478_4331_9684_4af2186c0a2b); +windows_core::imp::define_interface!(IDnssdServiceInstanceFactory, IDnssdServiceInstanceFactory_Vtbl, 0x6cb061a1_c478_4331_9684_4af2186c0a2b); #[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, } -windows_core::imp::com_interface!(IDnssdServiceWatcher, IDnssdServiceWatcher_Vtbl, 0xcc34d9c1_db7d_4b69_983d_c6f83f205682); +windows_core::imp::define_interface!(IDnssdServiceWatcher, IDnssdServiceWatcher_Vtbl, 0xcc34d9c1_db7d_4b69_983d_c6f83f205682); #[repr(C)] pub struct IDnssdServiceWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs index 768930f203..9a6e1722d3 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IControlChannelTrigger, IControlChannelTrigger_Vtbl, 0x7d1431a7_ee96_40e8_a199_8703cd969ec3); +windows_core::imp::define_interface!(IControlChannelTrigger, IControlChannelTrigger_Vtbl, 0x7d1431a7_ee96_40e8_a199_8703cd969ec3); #[repr(C)] pub struct IControlChannelTrigger_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,13 +20,13 @@ pub struct IControlChannelTrigger_Vtbl { pub DecreaseNetworkKeepAliveInterval: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub FlushTransport: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IControlChannelTrigger2, IControlChannelTrigger2_Vtbl, 0xaf00d237_51be_4514_9725_3556e1879580); +windows_core::imp::define_interface!(IControlChannelTrigger2, IControlChannelTrigger2_Vtbl, 0xaf00d237_51be_4514_9725_3556e1879580); #[repr(C)] pub struct IControlChannelTrigger2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsWakeFromLowPowerSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IControlChannelTriggerEventDetails, IControlChannelTriggerEventDetails_Vtbl, 0x1b36e047_89bb_4236_96ac_71d012bb4869); +windows_core::imp::define_interface!(IControlChannelTriggerEventDetails, IControlChannelTriggerEventDetails_Vtbl, 0x1b36e047_89bb_4236_96ac_71d012bb4869); windows_core::imp::interface_hierarchy!(IControlChannelTriggerEventDetails, windows_core::IUnknown, windows_core::IInspectable); impl IControlChannelTriggerEventDetails { pub fn ControlChannelTrigger(&self) -> windows_core::Result { @@ -45,14 +45,14 @@ pub struct IControlChannelTriggerEventDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ControlChannelTrigger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IControlChannelTriggerFactory, IControlChannelTriggerFactory_Vtbl, 0xda4b7cf0_8d71_446f_88c3_b95184a2d6cd); +windows_core::imp::define_interface!(IControlChannelTriggerFactory, IControlChannelTriggerFactory_Vtbl, 0xda4b7cf0_8d71_446f_88c3_b95184a2d6cd); #[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, } -windows_core::imp::com_interface!(IControlChannelTriggerResetEventDetails, IControlChannelTriggerResetEventDetails_Vtbl, 0x6851038e_8ec4_42fe_9bb2_21e91b7bfcb1); +windows_core::imp::define_interface!(IControlChannelTriggerResetEventDetails, IControlChannelTriggerResetEventDetails_Vtbl, 0x6851038e_8ec4_42fe_9bb2_21e91b7bfcb1); windows_core::imp::interface_hierarchy!(IControlChannelTriggerResetEventDetails, windows_core::IUnknown, windows_core::IInspectable); impl IControlChannelTriggerResetEventDetails { pub fn ResetReason(&self) -> windows_core::Result { @@ -87,7 +87,7 @@ pub struct IControlChannelTriggerResetEventDetails_Vtbl { pub HardwareSlotReset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SoftwareSlotReset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDatagramSocket, IDatagramSocket_Vtbl, 0x7fe25bbb_c3bc_4677_8446_ca28a465a3af); +windows_core::imp::define_interface!(IDatagramSocket, IDatagramSocket_Vtbl, 0x7fe25bbb_c3bc_4677_8446_ca28a465a3af); #[repr(C)] pub struct IDatagramSocket_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -113,7 +113,7 @@ pub struct IDatagramSocket_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, } -windows_core::imp::com_interface!(IDatagramSocket2, IDatagramSocket2_Vtbl, 0xd83ba354_9a9d_4185_a20a_1424c9c2a7cd); +windows_core::imp::define_interface!(IDatagramSocket2, IDatagramSocket2_Vtbl, 0xd83ba354_9a9d_4185_a20a_1424c9c2a7cd); #[repr(C)] pub struct IDatagramSocket2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -122,7 +122,7 @@ pub struct IDatagramSocket2_Vtbl { #[cfg(not(feature = "Networking_Connectivity"))] BindServiceNameAndAdapterAsync: usize, } -windows_core::imp::com_interface!(IDatagramSocket3, IDatagramSocket3_Vtbl, 0x37544f09_ab92_4306_9ac1_0c381283d9c6); +windows_core::imp::define_interface!(IDatagramSocket3, IDatagramSocket3_Vtbl, 0x37544f09_ab92_4306_9ac1_0c381283d9c6); #[repr(C)] pub struct IDatagramSocket3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -133,7 +133,7 @@ pub struct IDatagramSocket3_Vtbl { 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, } -windows_core::imp::com_interface!(IDatagramSocketControl, IDatagramSocketControl_Vtbl, 0x52ac3f2e_349a_4135_bb58_b79b2647d390); +windows_core::imp::define_interface!(IDatagramSocketControl, IDatagramSocketControl_Vtbl, 0x52ac3f2e_349a_4135_bb58_b79b2647d390); #[repr(C)] pub struct IDatagramSocketControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -142,7 +142,7 @@ pub struct IDatagramSocketControl_Vtbl { pub OutboundUnicastHopLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub SetOutboundUnicastHopLimit: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDatagramSocketControl2, IDatagramSocketControl2_Vtbl, 0x33ead5c2_979c_4415_82a1_3cfaf646c192); +windows_core::imp::define_interface!(IDatagramSocketControl2, IDatagramSocketControl2_Vtbl, 0x33ead5c2_979c_4415_82a1_3cfaf646c192); #[repr(C)] pub struct IDatagramSocketControl2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -151,14 +151,14 @@ pub struct IDatagramSocketControl2_Vtbl { pub DontFragment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetDontFragment: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDatagramSocketControl3, IDatagramSocketControl3_Vtbl, 0xd4eb8256_1f6d_4598_9b57_d42a001df349); +windows_core::imp::define_interface!(IDatagramSocketControl3, IDatagramSocketControl3_Vtbl, 0xd4eb8256_1f6d_4598_9b57_d42a001df349); #[repr(C)] pub struct IDatagramSocketControl3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MulticastOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetMulticastOnly: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDatagramSocketInformation, IDatagramSocketInformation_Vtbl, 0x5f1a569a_55fb_48cd_9706_7a974f7b1585); +windows_core::imp::define_interface!(IDatagramSocketInformation, IDatagramSocketInformation_Vtbl, 0x5f1a569a_55fb_48cd_9706_7a974f7b1585); #[repr(C)] pub struct IDatagramSocketInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -167,7 +167,7 @@ pub struct IDatagramSocketInformation_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, } -windows_core::imp::com_interface!(IDatagramSocketMessageReceivedEventArgs, IDatagramSocketMessageReceivedEventArgs_Vtbl, 0x9e2ddca2_1712_4ce4_b179_8c652c6d107e); +windows_core::imp::define_interface!(IDatagramSocketMessageReceivedEventArgs, IDatagramSocketMessageReceivedEventArgs_Vtbl, 0x9e2ddca2_1712_4ce4_b179_8c652c6d107e); #[repr(C)] pub struct IDatagramSocketMessageReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -183,7 +183,7 @@ pub struct IDatagramSocketMessageReceivedEventArgs_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetDataStream: usize, } -windows_core::imp::com_interface!(IDatagramSocketStatics, IDatagramSocketStatics_Vtbl, 0xe9c62aee_1494_4a21_bb7e_8589fc751d9d); +windows_core::imp::define_interface!(IDatagramSocketStatics, IDatagramSocketStatics_Vtbl, 0xe9c62aee_1494_4a21_bb7e_8589fc751d9d); #[repr(C)] pub struct IDatagramSocketStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -196,7 +196,7 @@ pub struct IDatagramSocketStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetEndpointPairsWithSortOptionsAsync: usize, } -windows_core::imp::com_interface!(IMessageWebSocket, IMessageWebSocket_Vtbl, 0x33727d08_34d5_4746_ad7b_8dde5bc2ef88); +windows_core::imp::define_interface!(IMessageWebSocket, IMessageWebSocket_Vtbl, 0x33727d08_34d5_4746_ad7b_8dde5bc2ef88); #[repr(C)] pub struct IMessageWebSocket_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -205,14 +205,14 @@ pub struct IMessageWebSocket_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, } -windows_core::imp::com_interface!(IMessageWebSocket2, IMessageWebSocket2_Vtbl, 0xbed0cee7_f9c8_440a_9ad5_737281d9742e); +windows_core::imp::define_interface!(IMessageWebSocket2, IMessageWebSocket2_Vtbl, 0xbed0cee7_f9c8_440a_9ad5_737281d9742e); #[repr(C)] pub struct IMessageWebSocket2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ServerCustomValidationRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveServerCustomValidationRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMessageWebSocket3, IMessageWebSocket3_Vtbl, 0x59d9defb_71af_4349_8487_911fcf681597); +windows_core::imp::define_interface!(IMessageWebSocket3, IMessageWebSocket3_Vtbl, 0x59d9defb_71af_4349_8487_911fcf681597); #[repr(C)] pub struct IMessageWebSocket3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -225,7 +225,7 @@ pub struct IMessageWebSocket3_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SendFinalFrameAsync: usize, } -windows_core::imp::com_interface!(IMessageWebSocketControl, IMessageWebSocketControl_Vtbl, 0x8118388a_c629_4f0a_80fb_81fc05538862); +windows_core::imp::define_interface!(IMessageWebSocketControl, IMessageWebSocketControl_Vtbl, 0x8118388a_c629_4f0a_80fb_81fc05538862); #[repr(C)] pub struct IMessageWebSocketControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -234,7 +234,7 @@ pub struct IMessageWebSocketControl_Vtbl { pub MessageType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SocketMessageType) -> windows_core::HRESULT, pub SetMessageType: unsafe extern "system" fn(*mut core::ffi::c_void, SocketMessageType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMessageWebSocketControl2, IMessageWebSocketControl2_Vtbl, 0xe30fd791_080c_400a_a712_27dfa9e744d8); +windows_core::imp::define_interface!(IMessageWebSocketControl2, IMessageWebSocketControl2_Vtbl, 0xe30fd791_080c_400a_a712_27dfa9e744d8); #[repr(C)] pub struct IMessageWebSocketControl2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -252,7 +252,7 @@ pub struct IMessageWebSocketControl2_Vtbl { #[cfg(not(feature = "Security_Cryptography_Certificates"))] SetClientCertificate: usize, } -windows_core::imp::com_interface!(IMessageWebSocketMessageReceivedEventArgs, IMessageWebSocketMessageReceivedEventArgs_Vtbl, 0x478c22ac_4c4b_42ed_9ed7_1ef9f94fa3d5); +windows_core::imp::define_interface!(IMessageWebSocketMessageReceivedEventArgs, IMessageWebSocketMessageReceivedEventArgs_Vtbl, 0x478c22ac_4c4b_42ed_9ed7_1ef9f94fa3d5); #[repr(C)] pub struct IMessageWebSocketMessageReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -266,13 +266,13 @@ pub struct IMessageWebSocketMessageReceivedEventArgs_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetDataStream: usize, } -windows_core::imp::com_interface!(IMessageWebSocketMessageReceivedEventArgs2, IMessageWebSocketMessageReceivedEventArgs2_Vtbl, 0x89ce06fd_dd6f_4a07_87f9_f9eb4d89d83d); +windows_core::imp::define_interface!(IMessageWebSocketMessageReceivedEventArgs2, IMessageWebSocketMessageReceivedEventArgs2_Vtbl, 0x89ce06fd_dd6f_4a07_87f9_f9eb4d89d83d); #[repr(C)] pub struct IMessageWebSocketMessageReceivedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsMessageComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServerMessageWebSocket, IServerMessageWebSocket_Vtbl, 0xe3ac9240_813b_5efd_7e11_ae2305fc77f1); +windows_core::imp::define_interface!(IServerMessageWebSocket, IServerMessageWebSocket_Vtbl, 0xe3ac9240_813b_5efd_7e11_ae2305fc77f1); #[repr(C)] pub struct IServerMessageWebSocket_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -288,14 +288,14 @@ pub struct IServerMessageWebSocket_Vtbl { 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, } -windows_core::imp::com_interface!(IServerMessageWebSocketControl, IServerMessageWebSocketControl_Vtbl, 0x69c2f051_1c1f_587a_4519_2181610192b7); +windows_core::imp::define_interface!(IServerMessageWebSocketControl, IServerMessageWebSocketControl_Vtbl, 0x69c2f051_1c1f_587a_4519_2181610192b7); #[repr(C)] pub struct IServerMessageWebSocketControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MessageType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SocketMessageType) -> windows_core::HRESULT, pub SetMessageType: unsafe extern "system" fn(*mut core::ffi::c_void, SocketMessageType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServerMessageWebSocketInformation, IServerMessageWebSocketInformation_Vtbl, 0xfc32b45f_4448_5505_6cc9_09afa8915f5d); +windows_core::imp::define_interface!(IServerMessageWebSocketInformation, IServerMessageWebSocketInformation_Vtbl, 0xfc32b45f_4448_5505_6cc9_09afa8915f5d); #[repr(C)] pub struct IServerMessageWebSocketInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -303,7 +303,7 @@ pub struct IServerMessageWebSocketInformation_Vtbl { pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IServerStreamWebSocket, IServerStreamWebSocket_Vtbl, 0x2ced5bbf_74f6_55e4_79df_9132680dfee8); +windows_core::imp::define_interface!(IServerStreamWebSocket, IServerStreamWebSocket_Vtbl, 0x2ced5bbf_74f6_55e4_79df_9132680dfee8); #[repr(C)] pub struct IServerStreamWebSocket_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -320,7 +320,7 @@ pub struct IServerStreamWebSocket_Vtbl { 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, } -windows_core::imp::com_interface!(IServerStreamWebSocketInformation, IServerStreamWebSocketInformation_Vtbl, 0xfc32b45f_4448_5505_6cc9_09aba8915f5d); +windows_core::imp::define_interface!(IServerStreamWebSocketInformation, IServerStreamWebSocketInformation_Vtbl, 0xfc32b45f_4448_5505_6cc9_09aba8915f5d); #[repr(C)] pub struct IServerStreamWebSocketInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -328,7 +328,7 @@ pub struct IServerStreamWebSocketInformation_Vtbl { pub Protocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(ISocketActivityContext, ISocketActivityContext_Vtbl, 0x43b04d64_4c85_4396_a637_1d973f6ebd49); +windows_core::imp::define_interface!(ISocketActivityContext, ISocketActivityContext_Vtbl, 0x43b04d64_4c85_4396_a637_1d973f6ebd49); #[repr(C)] pub struct ISocketActivityContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -337,7 +337,7 @@ pub struct ISocketActivityContext_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Data: usize, } -windows_core::imp::com_interface!(ISocketActivityContextFactory, ISocketActivityContextFactory_Vtbl, 0xb99fc3c3_088c_4388_83ae_2525138e049a); +windows_core::imp::define_interface!(ISocketActivityContextFactory, ISocketActivityContextFactory_Vtbl, 0xb99fc3c3_088c_4388_83ae_2525138e049a); #[repr(C)] pub struct ISocketActivityContextFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -346,7 +346,7 @@ pub struct ISocketActivityContextFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Create: usize, } -windows_core::imp::com_interface!(ISocketActivityInformation, ISocketActivityInformation_Vtbl, 0x8d8a42e4_a87e_4b74_9968_185b2511defe); +windows_core::imp::define_interface!(ISocketActivityInformation, ISocketActivityInformation_Vtbl, 0x8d8a42e4_a87e_4b74_9968_185b2511defe); #[repr(C)] pub struct ISocketActivityInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -358,7 +358,7 @@ pub struct ISocketActivityInformation_Vtbl { pub StreamSocket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StreamSocketListener: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISocketActivityInformationStatics, ISocketActivityInformationStatics_Vtbl, 0x8570b47a_7e7d_4736_8041_1327a6543c56); +windows_core::imp::define_interface!(ISocketActivityInformationStatics, ISocketActivityInformationStatics_Vtbl, 0x8570b47a_7e7d_4736_8041_1327a6543c56); #[repr(C)] pub struct ISocketActivityInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -367,20 +367,20 @@ pub struct ISocketActivityInformationStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AllSockets: usize, } -windows_core::imp::com_interface!(ISocketActivityTriggerDetails, ISocketActivityTriggerDetails_Vtbl, 0x45f406a7_fc9f_4f81_acad_355fef51e67b); +windows_core::imp::define_interface!(ISocketActivityTriggerDetails, ISocketActivityTriggerDetails_Vtbl, 0x45f406a7_fc9f_4f81_acad_355fef51e67b); #[repr(C)] pub struct ISocketActivityTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SocketActivityTriggerReason) -> windows_core::HRESULT, pub SocketInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISocketErrorStatics, ISocketErrorStatics_Vtbl, 0x828337f4_7d56_4d8e_b7b4_a07dd7c1bca9); +windows_core::imp::define_interface!(ISocketErrorStatics, ISocketErrorStatics_Vtbl, 0x828337f4_7d56_4d8e_b7b4_a07dd7c1bca9); #[repr(C)] pub struct ISocketErrorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut SocketErrorStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamSocket, IStreamSocket_Vtbl, 0x69a22cf3_fc7b_4857_af38_f6e7de6a5b49); +windows_core::imp::define_interface!(IStreamSocket, IStreamSocket_Vtbl, 0x69a22cf3_fc7b_4857_af38_f6e7de6a5b49); #[repr(C)] pub struct IStreamSocket_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -400,7 +400,7 @@ pub struct IStreamSocket_Vtbl { 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 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::com_interface!(IStreamSocket2, IStreamSocket2_Vtbl, 0x29d0e575_f314_4d09_adf0_0fbd967fbd9f); +windows_core::imp::define_interface!(IStreamSocket2, IStreamSocket2_Vtbl, 0x29d0e575_f314_4d09_adf0_0fbd967fbd9f); #[repr(C)] pub struct IStreamSocket2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -409,7 +409,7 @@ pub struct IStreamSocket2_Vtbl { #[cfg(not(feature = "Networking_Connectivity"))] ConnectWithProtectionLevelAndAdapterAsync: usize, } -windows_core::imp::com_interface!(IStreamSocket3, IStreamSocket3_Vtbl, 0x3f430b00_9d28_4854_bac3_2301941ec223); +windows_core::imp::define_interface!(IStreamSocket3, IStreamSocket3_Vtbl, 0x3f430b00_9d28_4854_bac3_2301941ec223); #[repr(C)] pub struct IStreamSocket3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -420,7 +420,7 @@ pub struct IStreamSocket3_Vtbl { 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, } -windows_core::imp::com_interface!(IStreamSocketControl, IStreamSocketControl_Vtbl, 0xfe25adf1_92ab_4af3_9992_0f4c85e36cc4); +windows_core::imp::define_interface!(IStreamSocketControl, IStreamSocketControl_Vtbl, 0xfe25adf1_92ab_4af3_9992_0f4c85e36cc4); #[repr(C)] pub struct IStreamSocketControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -435,7 +435,7 @@ pub struct IStreamSocketControl_Vtbl { pub OutboundUnicastHopLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub SetOutboundUnicastHopLimit: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamSocketControl2, IStreamSocketControl2_Vtbl, 0xc2d09a56_060f_44c1_b8e2_1fbf60bd62c5); +windows_core::imp::define_interface!(IStreamSocketControl2, IStreamSocketControl2_Vtbl, 0xc2d09a56_060f_44c1_b8e2_1fbf60bd62c5); #[repr(C)] pub struct IStreamSocketControl2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -444,7 +444,7 @@ pub struct IStreamSocketControl2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates")))] IgnorableServerCertificateErrors: usize, } -windows_core::imp::com_interface!(IStreamSocketControl3, IStreamSocketControl3_Vtbl, 0xc56a444c_4e74_403e_894c_b31cae5c7342); +windows_core::imp::define_interface!(IStreamSocketControl3, IStreamSocketControl3_Vtbl, 0xc56a444c_4e74_403e_894c_b31cae5c7342); #[repr(C)] pub struct IStreamSocketControl3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -459,14 +459,14 @@ pub struct IStreamSocketControl3_Vtbl { #[cfg(not(feature = "Security_Cryptography_Certificates"))] SetClientCertificate: usize, } -windows_core::imp::com_interface!(IStreamSocketControl4, IStreamSocketControl4_Vtbl, 0x964e2b3d_ec27_4888_b3ce_c74b418423ad); +windows_core::imp::define_interface!(IStreamSocketControl4, IStreamSocketControl4_Vtbl, 0x964e2b3d_ec27_4888_b3ce_c74b418423ad); #[repr(C)] pub struct IStreamSocketControl4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MinProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SocketProtectionLevel) -> windows_core::HRESULT, pub SetMinProtectionLevel: unsafe extern "system" fn(*mut core::ffi::c_void, SocketProtectionLevel) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamSocketInformation, IStreamSocketInformation_Vtbl, 0x3b80ae30_5e68_4205_88f0_dc85d2e25ded); +windows_core::imp::define_interface!(IStreamSocketInformation, IStreamSocketInformation_Vtbl, 0x3b80ae30_5e68_4205_88f0_dc85d2e25ded); #[repr(C)] pub struct IStreamSocketInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -484,7 +484,7 @@ pub struct IStreamSocketInformation_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SessionKey: usize, } -windows_core::imp::com_interface!(IStreamSocketInformation2, IStreamSocketInformation2_Vtbl, 0x12c28452_4bdc_4ee4_976a_cf130e9d92e3); +windows_core::imp::define_interface!(IStreamSocketInformation2, IStreamSocketInformation2_Vtbl, 0x12c28452_4bdc_4ee4_976a_cf130e9d92e3); #[repr(C)] pub struct IStreamSocketInformation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -502,7 +502,7 @@ pub struct IStreamSocketInformation2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates")))] ServerIntermediateCertificates: usize, } -windows_core::imp::com_interface!(IStreamSocketListener, IStreamSocketListener_Vtbl, 0xff513437_df9f_4df0_bf82_0ec5d7b35aae); +windows_core::imp::define_interface!(IStreamSocketListener, IStreamSocketListener_Vtbl, 0xff513437_df9f_4df0_bf82_0ec5d7b35aae); #[repr(C)] pub struct IStreamSocketListener_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -513,7 +513,7 @@ pub struct IStreamSocketListener_Vtbl { 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, } -windows_core::imp::com_interface!(IStreamSocketListener2, IStreamSocketListener2_Vtbl, 0x658dc13e_bb3e_4458_b232_ed1088694b98); +windows_core::imp::define_interface!(IStreamSocketListener2, IStreamSocketListener2_Vtbl, 0x658dc13e_bb3e_4458_b232_ed1088694b98); #[repr(C)] pub struct IStreamSocketListener2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -523,7 +523,7 @@ pub struct IStreamSocketListener2_Vtbl { #[cfg(not(feature = "Networking_Connectivity"))] BindServiceNameWithProtectionLevelAndAdapterAsync: usize, } -windows_core::imp::com_interface!(IStreamSocketListener3, IStreamSocketListener3_Vtbl, 0x4798201c_bdf8_4919_8542_28d450e74507); +windows_core::imp::define_interface!(IStreamSocketListener3, IStreamSocketListener3_Vtbl, 0x4798201c_bdf8_4919_8542_28d450e74507); #[repr(C)] pub struct IStreamSocketListener3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -533,20 +533,20 @@ pub struct IStreamSocketListener3_Vtbl { 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, } -windows_core::imp::com_interface!(IStreamSocketListenerConnectionReceivedEventArgs, IStreamSocketListenerConnectionReceivedEventArgs_Vtbl, 0x0c472ea9_373f_447b_85b1_ddd4548803ba); +windows_core::imp::define_interface!(IStreamSocketListenerConnectionReceivedEventArgs, IStreamSocketListenerConnectionReceivedEventArgs_Vtbl, 0x0c472ea9_373f_447b_85b1_ddd4548803ba); #[repr(C)] pub struct IStreamSocketListenerConnectionReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Socket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamSocketListenerControl, IStreamSocketListenerControl_Vtbl, 0x20d8c576_8d8a_4dba_9722_a16c4d984980); +windows_core::imp::define_interface!(IStreamSocketListenerControl, IStreamSocketListenerControl_Vtbl, 0x20d8c576_8d8a_4dba_9722_a16c4d984980); #[repr(C)] pub struct IStreamSocketListenerControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub QualityOfService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SocketQualityOfService) -> windows_core::HRESULT, pub SetQualityOfService: unsafe extern "system" fn(*mut core::ffi::c_void, SocketQualityOfService) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamSocketListenerControl2, IStreamSocketListenerControl2_Vtbl, 0x948bb665_2c3e_404b_b8b0_8eb249a2b0a1); +windows_core::imp::define_interface!(IStreamSocketListenerControl2, IStreamSocketListenerControl2_Vtbl, 0x948bb665_2c3e_404b_b8b0_8eb249a2b0a1); #[repr(C)] pub struct IStreamSocketListenerControl2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -559,13 +559,13 @@ pub struct IStreamSocketListenerControl2_Vtbl { pub OutboundUnicastHopLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub SetOutboundUnicastHopLimit: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamSocketListenerInformation, IStreamSocketListenerInformation_Vtbl, 0xe62ba82f_a63a_430b_bf62_29e93e5633b4); +windows_core::imp::define_interface!(IStreamSocketListenerInformation, IStreamSocketListenerInformation_Vtbl, 0xe62ba82f_a63a_430b_bf62_29e93e5633b4); #[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, } -windows_core::imp::com_interface!(IStreamSocketStatics, IStreamSocketStatics_Vtbl, 0xa420bc4a_6e2e_4af5_b556_355ae0cd4f29); +windows_core::imp::define_interface!(IStreamSocketStatics, IStreamSocketStatics_Vtbl, 0xa420bc4a_6e2e_4af5_b556_355ae0cd4f29); #[repr(C)] pub struct IStreamSocketStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -578,7 +578,7 @@ pub struct IStreamSocketStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetEndpointPairsWithSortOptionsAsync: usize, } -windows_core::imp::com_interface!(IStreamWebSocket, IStreamWebSocket_Vtbl, 0xbd4a49d8_b289_45bb_97eb_c7525205a843); +windows_core::imp::define_interface!(IStreamWebSocket, IStreamWebSocket_Vtbl, 0xbd4a49d8_b289_45bb_97eb_c7525205a843); #[repr(C)] pub struct IStreamWebSocket_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -589,21 +589,21 @@ pub struct IStreamWebSocket_Vtbl { #[cfg(not(feature = "Storage_Streams"))] InputStream: usize, } -windows_core::imp::com_interface!(IStreamWebSocket2, IStreamWebSocket2_Vtbl, 0xaa4d08cb_93f5_4678_8236_57cce5417ed5); +windows_core::imp::define_interface!(IStreamWebSocket2, IStreamWebSocket2_Vtbl, 0xaa4d08cb_93f5_4678_8236_57cce5417ed5); #[repr(C)] pub struct IStreamWebSocket2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ServerCustomValidationRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveServerCustomValidationRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamWebSocketControl, IStreamWebSocketControl_Vtbl, 0xb4f478b1_a45a_48db_953a_645b7d964c07); +windows_core::imp::define_interface!(IStreamWebSocketControl, IStreamWebSocketControl_Vtbl, 0xb4f478b1_a45a_48db_953a_645b7d964c07); #[repr(C)] pub struct IStreamWebSocketControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NoDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetNoDelay: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamWebSocketControl2, IStreamWebSocketControl2_Vtbl, 0x215d9f7e_fa58_40da_9f11_a48dafe95037); +windows_core::imp::define_interface!(IStreamWebSocketControl2, IStreamWebSocketControl2_Vtbl, 0x215d9f7e_fa58_40da_9f11_a48dafe95037); #[repr(C)] pub struct IStreamWebSocketControl2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -619,7 +619,7 @@ pub struct IStreamWebSocketControl2_Vtbl { #[cfg(not(feature = "Security_Cryptography_Certificates"))] SetClientCertificate: usize, } -windows_core::imp::com_interface!(IWebSocket, IWebSocket_Vtbl, 0xf877396f_99b1_4e18_bc08_850c9adf156e); +windows_core::imp::define_interface!(IWebSocket, IWebSocket_Vtbl, 0xf877396f_99b1_4e18_bc08_850c9adf156e); windows_core::imp::interface_hierarchy!(IWebSocket, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IWebSocket, super::super::Foundation::IClosable); impl IWebSocket { @@ -684,14 +684,14 @@ pub struct IWebSocket_Vtbl { 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, } -windows_core::imp::com_interface!(IWebSocketClosedEventArgs, IWebSocketClosedEventArgs_Vtbl, 0xceb78d07_d0a8_4703_a091_c8c2c0915bc3); +windows_core::imp::define_interface!(IWebSocketClosedEventArgs, IWebSocketClosedEventArgs_Vtbl, 0xceb78d07_d0a8_4703_a091_c8c2c0915bc3); #[repr(C)] 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, } -windows_core::imp::com_interface!(IWebSocketControl, IWebSocketControl_Vtbl, 0x2ec4bdc3_d9a5_455a_9811_de24d45337e9); +windows_core::imp::define_interface!(IWebSocketControl, IWebSocketControl_Vtbl, 0x2ec4bdc3_d9a5_455a_9811_de24d45337e9); windows_core::imp::interface_hierarchy!(IWebSocketControl, windows_core::IUnknown, windows_core::IInspectable); impl IWebSocketControl { pub fn OutboundBufferSizeInBytes(&self) -> windows_core::Result { @@ -775,7 +775,7 @@ pub struct IWebSocketControl_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SupportedProtocols: usize, } -windows_core::imp::com_interface!(IWebSocketControl2, IWebSocketControl2_Vtbl, 0x79c3be03_f2ca_461e_af4e_9665bc2d0620); +windows_core::imp::define_interface!(IWebSocketControl2, IWebSocketControl2_Vtbl, 0x79c3be03_f2ca_461e_af4e_9665bc2d0620); windows_core::imp::interface_hierarchy!(IWebSocketControl2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IWebSocketControl2, IWebSocketControl); impl IWebSocketControl2 { @@ -850,7 +850,7 @@ pub struct IWebSocketControl2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates")))] IgnorableServerCertificateErrors: usize, } -windows_core::imp::com_interface!(IWebSocketErrorStatics, IWebSocketErrorStatics_Vtbl, 0x27cdf35b_1f61_4709_8e02_61283ada4e9d); +windows_core::imp::define_interface!(IWebSocketErrorStatics, IWebSocketErrorStatics_Vtbl, 0x27cdf35b_1f61_4709_8e02_61283ada4e9d); #[repr(C)] pub struct IWebSocketErrorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -859,7 +859,7 @@ pub struct IWebSocketErrorStatics_Vtbl { #[cfg(not(feature = "Web"))] GetStatus: usize, } -windows_core::imp::com_interface!(IWebSocketInformation, IWebSocketInformation_Vtbl, 0x5e01e316_c92a_47a5_b25f_07847639d181); +windows_core::imp::define_interface!(IWebSocketInformation, IWebSocketInformation_Vtbl, 0x5e01e316_c92a_47a5_b25f_07847639d181); windows_core::imp::interface_hierarchy!(IWebSocketInformation, windows_core::IUnknown, windows_core::IInspectable); impl IWebSocketInformation { pub fn LocalAddress(&self) -> windows_core::Result { @@ -894,7 +894,7 @@ pub struct IWebSocketInformation_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, } -windows_core::imp::com_interface!(IWebSocketInformation2, IWebSocketInformation2_Vtbl, 0xce1d39ce_a1b7_4d43_8269_8d5b981bd47a); +windows_core::imp::define_interface!(IWebSocketInformation2, IWebSocketInformation2_Vtbl, 0xce1d39ce_a1b7_4d43_8269_8d5b981bd47a); windows_core::imp::interface_hierarchy!(IWebSocketInformation2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IWebSocketInformation2, IWebSocketInformation); impl IWebSocketInformation2 { @@ -971,7 +971,7 @@ pub struct IWebSocketInformation2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Cryptography_Certificates")))] ServerIntermediateCertificates: usize, } -windows_core::imp::com_interface!(IWebSocketServerCustomValidationRequestedEventArgs, IWebSocketServerCustomValidationRequestedEventArgs_Vtbl, 0xffeffe48_022a_4ab7_8b36_e10af4640e6b); +windows_core::imp::define_interface!(IWebSocketServerCustomValidationRequestedEventArgs, IWebSocketServerCustomValidationRequestedEventArgs_Vtbl, 0xffeffe48_022a_4ab7_8b36_e10af4640e6b); #[repr(C)] pub struct IWebSocketServerCustomValidationRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs index 8a00ee0ed0..da9f5bf334 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IVpnAppId, IVpnAppId_Vtbl, 0x7b06a635_5c58_41d9_94a7_bfbcf1d8ca54); +windows_core::imp::define_interface!(IVpnAppId, IVpnAppId_Vtbl, 0x7b06a635_5c58_41d9_94a7_bfbcf1d8ca54); #[repr(C)] pub struct IVpnAppId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,13 +7,13 @@ pub struct IVpnAppId_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, } -windows_core::imp::com_interface!(IVpnAppIdFactory, IVpnAppIdFactory_Vtbl, 0x46adfd2a_0aab_4fdb_821d_d3ddc919788b); +windows_core::imp::define_interface!(IVpnAppIdFactory, IVpnAppIdFactory_Vtbl, 0x46adfd2a_0aab_4fdb_821d_d3ddc919788b); #[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, } -windows_core::imp::com_interface!(IVpnChannel, IVpnChannel_Vtbl, 0x4ac78d07_d1a8_4303_a091_c8d2e0915bc3); +windows_core::imp::define_interface!(IVpnChannel, IVpnChannel_Vtbl, 0x4ac78d07_d1a8_4303_a091_c8d2e0915bc3); #[repr(C)] pub struct IVpnChannel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -43,7 +43,7 @@ pub struct IVpnChannel_Vtbl { pub SetErrorMessage: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IVpnChannel2, IVpnChannel2_Vtbl, 0x2255d165_993b_4629_ad60_f1c3f3537f50); +windows_core::imp::define_interface!(IVpnChannel2, IVpnChannel2_Vtbl, 0x2255d165_993b_4629_ad60_f1c3f3537f50); #[repr(C)] pub struct IVpnChannel2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -75,7 +75,7 @@ pub struct IVpnChannel2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] StartWithTrafficFilter: usize, } -windows_core::imp::com_interface!(IVpnChannel4, IVpnChannel4_Vtbl, 0xd7266ede_2937_419d_9570_486aebb81803); +windows_core::imp::define_interface!(IVpnChannel4, IVpnChannel4_Vtbl, 0xd7266ede_2937_419d_9570_486aebb81803); #[repr(C)] pub struct IVpnChannel4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -92,7 +92,7 @@ pub struct IVpnChannel4_Vtbl { GetSlotTypeForTransportContext: usize, pub CurrentRequestTransportContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnChannel5, IVpnChannel5_Vtbl, 0xde7a0992_8384_4fbc_882c_1fd23124cd3b); +windows_core::imp::define_interface!(IVpnChannel5, IVpnChannel5_Vtbl, 0xde7a0992_8384_4fbc_882c_1fd23124cd3b); #[repr(C)] pub struct IVpnChannel5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -101,7 +101,7 @@ pub struct IVpnChannel5_Vtbl { pub FlushVpnReceivePacketBuffers: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub FlushVpnSendPacketBuffers: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnChannel6, IVpnChannel6_Vtbl, 0x55843696_bd63_49c5_abca_5da77885551a); +windows_core::imp::define_interface!(IVpnChannel6, IVpnChannel6_Vtbl, 0x55843696_bd63_49c5_abca_5da77885551a); #[repr(C)] pub struct IVpnChannel6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -110,19 +110,19 @@ pub struct IVpnChannel6_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ActivateForeground: usize, } -windows_core::imp::com_interface!(IVpnChannelActivityEventArgs, IVpnChannelActivityEventArgs_Vtbl, 0xa36c88f2_afdc_4775_855d_d4ac0a35fc55); +windows_core::imp::define_interface!(IVpnChannelActivityEventArgs, IVpnChannelActivityEventArgs_Vtbl, 0xa36c88f2_afdc_4775_855d_d4ac0a35fc55); #[repr(C)] pub struct IVpnChannelActivityEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VpnChannelActivityEventType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnChannelActivityStateChangedArgs, IVpnChannelActivityStateChangedArgs_Vtbl, 0x3d750565_fdc0_4bbe_a23b_45fffc6d97a1); +windows_core::imp::define_interface!(IVpnChannelActivityStateChangedArgs, IVpnChannelActivityStateChangedArgs_Vtbl, 0x3d750565_fdc0_4bbe_a23b_45fffc6d97a1); #[repr(C)] pub struct IVpnChannelActivityStateChangedArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ActivityState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VpnChannelActivityEventType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnChannelConfiguration, IVpnChannelConfiguration_Vtbl, 0x0e2ddca2_2012_4fe4_b179_8c652c6d107e); +windows_core::imp::define_interface!(IVpnChannelConfiguration, IVpnChannelConfiguration_Vtbl, 0x0e2ddca2_2012_4fe4_b179_8c652c6d107e); #[repr(C)] pub struct IVpnChannelConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -133,7 +133,7 @@ pub struct IVpnChannelConfiguration_Vtbl { ServerHostNameList: usize, pub CustomField: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnChannelConfiguration2, IVpnChannelConfiguration2_Vtbl, 0xf30b574c_7824_471c_a118_63dbc93ae4c7); +windows_core::imp::define_interface!(IVpnChannelConfiguration2, IVpnChannelConfiguration2_Vtbl, 0xf30b574c_7824_471c_a118_63dbc93ae4c7); #[repr(C)] pub struct IVpnChannelConfiguration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -142,7 +142,7 @@ pub struct IVpnChannelConfiguration2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ServerUris: usize, } -windows_core::imp::com_interface!(IVpnChannelStatics, IVpnChannelStatics_Vtbl, 0x88eb062d_e818_4ffd_98a6_363e3736c95d); +windows_core::imp::define_interface!(IVpnChannelStatics, IVpnChannelStatics_Vtbl, 0x88eb062d_e818_4ffd_98a6_363e3736c95d); windows_core::imp::interface_hierarchy!(IVpnChannelStatics, windows_core::IUnknown, windows_core::IInspectable); impl IVpnChannelStatics { pub fn ProcessEventAsync(&self, thirdpartyplugin: P0, event: P1) -> windows_core::Result<()> @@ -162,7 +162,7 @@ pub struct IVpnChannelStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ProcessEventAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnCredential, IVpnCredential_Vtbl, 0xb7e78af3_a46d_404b_8729_1832522853ac); +windows_core::imp::define_interface!(IVpnCredential, IVpnCredential_Vtbl, 0xb7e78af3_a46d_404b_8729_1832522853ac); windows_core::imp::interface_hierarchy!(IVpnCredential, windows_core::IUnknown, windows_core::IInspectable); impl IVpnCredential { #[cfg(feature = "Security_Credentials")] @@ -217,7 +217,7 @@ pub struct IVpnCredential_Vtbl { #[cfg(not(feature = "Security_Credentials"))] OldPasswordCredential: usize, } -windows_core::imp::com_interface!(IVpnCustomCheckBox, IVpnCustomCheckBox_Vtbl, 0x43878753_03c5_4e61_93d7_a957714c4282); +windows_core::imp::define_interface!(IVpnCustomCheckBox, IVpnCustomCheckBox_Vtbl, 0x43878753_03c5_4e61_93d7_a957714c4282); #[repr(C)] pub struct IVpnCustomCheckBox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -225,7 +225,7 @@ pub struct IVpnCustomCheckBox_Vtbl { pub InitialCheckState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Checked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnCustomComboBox, IVpnCustomComboBox_Vtbl, 0x9a24158e_dba1_4c6f_8270_dcf3c9761c4c); +windows_core::imp::define_interface!(IVpnCustomComboBox, IVpnCustomComboBox_Vtbl, 0x9a24158e_dba1_4c6f_8270_dcf3c9761c4c); #[repr(C)] pub struct IVpnCustomComboBox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -239,7 +239,7 @@ pub struct IVpnCustomComboBox_Vtbl { OptionsText: usize, pub Selected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnCustomEditBox, IVpnCustomEditBox_Vtbl, 0x3002d9a0_cfbf_4c0b_8f3c_66f503c20b39); +windows_core::imp::define_interface!(IVpnCustomEditBox, IVpnCustomEditBox_Vtbl, 0x3002d9a0_cfbf_4c0b_8f3c_66f503c20b39); #[repr(C)] pub struct IVpnCustomEditBox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -249,12 +249,12 @@ pub struct IVpnCustomEditBox_Vtbl { 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, } -windows_core::imp::com_interface!(IVpnCustomErrorBox, IVpnCustomErrorBox_Vtbl, 0x9ec4efb2_c942_42af_b223_588b48328721); +windows_core::imp::define_interface!(IVpnCustomErrorBox, IVpnCustomErrorBox_Vtbl, 0x9ec4efb2_c942_42af_b223_588b48328721); #[repr(C)] pub struct IVpnCustomErrorBox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IVpnCustomPrompt, IVpnCustomPrompt_Vtbl, 0x9b2ebe7b_87d5_433c_b4f6_eee6aa68a244); +windows_core::imp::define_interface!(IVpnCustomPrompt, IVpnCustomPrompt_Vtbl, 0x9b2ebe7b_87d5_433c_b4f6_eee6aa68a244); windows_core::imp::interface_hierarchy!(IVpnCustomPrompt, windows_core::IUnknown, windows_core::IInspectable); impl IVpnCustomPrompt { pub fn SetLabel(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { @@ -304,7 +304,7 @@ pub struct IVpnCustomPrompt_Vtbl { pub SetBordered: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Bordered: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnCustomPromptBooleanInput, IVpnCustomPromptBooleanInput_Vtbl, 0xc4c9a69e_ff47_4527_9f27_a49292019979); +windows_core::imp::define_interface!(IVpnCustomPromptBooleanInput, IVpnCustomPromptBooleanInput_Vtbl, 0xc4c9a69e_ff47_4527_9f27_a49292019979); #[repr(C)] pub struct IVpnCustomPromptBooleanInput_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -312,7 +312,7 @@ pub struct IVpnCustomPromptBooleanInput_Vtbl { pub InitialValue: 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 bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnCustomPromptElement, IVpnCustomPromptElement_Vtbl, 0x73bd5638_6f04_404d_93dd_50a44924a38b); +windows_core::imp::define_interface!(IVpnCustomPromptElement, IVpnCustomPromptElement_Vtbl, 0x73bd5638_6f04_404d_93dd_50a44924a38b); windows_core::imp::interface_hierarchy!(IVpnCustomPromptElement, windows_core::IUnknown, windows_core::IInspectable); impl IVpnCustomPromptElement { pub fn SetDisplayName(&self, value: &windows_core::HSTRING) -> windows_core::Result<()> { @@ -362,7 +362,7 @@ pub struct IVpnCustomPromptElement_Vtbl { pub SetEmphasized: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Emphasized: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnCustomPromptOptionSelector, IVpnCustomPromptOptionSelector_Vtbl, 0x3b8f34d9_8ec1_4e95_9a4e_7ba64d38f330); +windows_core::imp::define_interface!(IVpnCustomPromptOptionSelector, IVpnCustomPromptOptionSelector_Vtbl, 0x3b8f34d9_8ec1_4e95_9a4e_7ba64d38f330); #[repr(C)] pub struct IVpnCustomPromptOptionSelector_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -372,14 +372,14 @@ pub struct IVpnCustomPromptOptionSelector_Vtbl { Options: usize, pub SelectedIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnCustomPromptText, IVpnCustomPromptText_Vtbl, 0x3bc8bdee_3a42_49a3_abdd_07b2edea752d); +windows_core::imp::define_interface!(IVpnCustomPromptText, IVpnCustomPromptText_Vtbl, 0x3bc8bdee_3a42_49a3_abdd_07b2edea752d); #[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, } -windows_core::imp::com_interface!(IVpnCustomPromptTextInput, IVpnCustomPromptTextInput_Vtbl, 0xc9da9c75_913c_47d5_88ba_48fc48930235); +windows_core::imp::define_interface!(IVpnCustomPromptTextInput, IVpnCustomPromptTextInput_Vtbl, 0xc9da9c75_913c_47d5_88ba_48fc48930235); #[repr(C)] pub struct IVpnCustomPromptTextInput_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -389,14 +389,14 @@ pub struct IVpnCustomPromptTextInput_Vtbl { 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, } -windows_core::imp::com_interface!(IVpnCustomTextBox, IVpnCustomTextBox_Vtbl, 0xdaa4c3ca_8f23_4d36_91f1_76d937827942); +windows_core::imp::define_interface!(IVpnCustomTextBox, IVpnCustomTextBox_Vtbl, 0xdaa4c3ca_8f23_4d36_91f1_76d937827942); #[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, } -windows_core::imp::com_interface!(IVpnDomainNameAssignment, IVpnDomainNameAssignment_Vtbl, 0x4135b141_ccdb_49b5_9401_039a8ae767e9); +windows_core::imp::define_interface!(IVpnDomainNameAssignment, IVpnDomainNameAssignment_Vtbl, 0x4135b141_ccdb_49b5_9401_039a8ae767e9); #[repr(C)] pub struct IVpnDomainNameAssignment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -407,7 +407,7 @@ pub struct IVpnDomainNameAssignment_Vtbl { pub SetProxyAutoConfigurationUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProxyAutoConfigurationUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnDomainNameInfo, IVpnDomainNameInfo_Vtbl, 0xad2eb82f_ea8e_4f7a_843e_1a87e32e1b9a); +windows_core::imp::define_interface!(IVpnDomainNameInfo, IVpnDomainNameInfo_Vtbl, 0xad2eb82f_ea8e_4f7a_843e_1a87e32e1b9a); #[repr(C)] pub struct IVpnDomainNameInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -424,7 +424,7 @@ pub struct IVpnDomainNameInfo_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] WebProxyServers: usize, } -windows_core::imp::com_interface!(IVpnDomainNameInfo2, IVpnDomainNameInfo2_Vtbl, 0xab871151_6c53_4828_9883_d886de104407); +windows_core::imp::define_interface!(IVpnDomainNameInfo2, IVpnDomainNameInfo2_Vtbl, 0xab871151_6c53_4828_9883_d886de104407); #[repr(C)] pub struct IVpnDomainNameInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -433,7 +433,7 @@ pub struct IVpnDomainNameInfo2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] WebProxyUris: usize, } -windows_core::imp::com_interface!(IVpnDomainNameInfoFactory, IVpnDomainNameInfoFactory_Vtbl, 0x2507bb75_028f_4688_8d3a_c4531df37da8); +windows_core::imp::define_interface!(IVpnDomainNameInfoFactory, IVpnDomainNameInfoFactory_Vtbl, 0x2507bb75_028f_4688_8d3a_c4531df37da8); windows_core::imp::interface_hierarchy!(IVpnDomainNameInfoFactory, windows_core::IUnknown, windows_core::IInspectable); impl IVpnDomainNameInfoFactory { #[cfg(feature = "Foundation_Collections")] @@ -460,7 +460,7 @@ pub struct IVpnDomainNameInfoFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateVpnDomainNameInfo: usize, } -windows_core::imp::com_interface!(IVpnForegroundActivatedEventArgs, IVpnForegroundActivatedEventArgs_Vtbl, 0x85b465b0_cadb_4d70_ac92_543a24dc9ebc); +windows_core::imp::define_interface!(IVpnForegroundActivatedEventArgs, IVpnForegroundActivatedEventArgs_Vtbl, 0x85b465b0_cadb_4d70_ac92_543a24dc9ebc); #[repr(C)] pub struct IVpnForegroundActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -471,7 +471,7 @@ pub struct IVpnForegroundActivatedEventArgs_Vtbl { SharedContext: usize, pub ActivationOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnForegroundActivationOperation, IVpnForegroundActivationOperation_Vtbl, 0x9e010d57_f17a_4bd5_9b6d_f984f1297d3c); +windows_core::imp::define_interface!(IVpnForegroundActivationOperation, IVpnForegroundActivationOperation_Vtbl, 0x9e010d57_f17a_4bd5_9b6d_f984f1297d3c); #[repr(C)] pub struct IVpnForegroundActivationOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -480,13 +480,13 @@ pub struct IVpnForegroundActivationOperation_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Complete: usize, } -windows_core::imp::com_interface!(IVpnInterfaceId, IVpnInterfaceId_Vtbl, 0x9e2ddca2_1712_4ce4_b179_8c652c6d1011); +windows_core::imp::define_interface!(IVpnInterfaceId, IVpnInterfaceId_Vtbl, 0x9e2ddca2_1712_4ce4_b179_8c652c6d1011); #[repr(C)] pub struct IVpnInterfaceId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetAddressInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnInterfaceIdFactory, IVpnInterfaceIdFactory_Vtbl, 0x9e2ddca2_1712_4ce4_b179_8c652c6d1000); +windows_core::imp::define_interface!(IVpnInterfaceIdFactory, IVpnInterfaceIdFactory_Vtbl, 0x9e2ddca2_1712_4ce4_b179_8c652c6d1000); windows_core::imp::interface_hierarchy!(IVpnInterfaceIdFactory, windows_core::IUnknown, windows_core::IInspectable); impl IVpnInterfaceIdFactory { pub fn CreateVpnInterfaceId(&self, address: &[u8]) -> windows_core::Result { @@ -505,7 +505,7 @@ pub struct IVpnInterfaceIdFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateVpnInterfaceId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnManagementAgent, IVpnManagementAgent_Vtbl, 0x193696cd_a5c4_4abe_852b_785be4cb3e34); +windows_core::imp::define_interface!(IVpnManagementAgent, IVpnManagementAgent_Vtbl, 0x193696cd_a5c4_4abe_852b_785be4cb3e34); #[repr(C)] pub struct IVpnManagementAgent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -525,7 +525,7 @@ pub struct IVpnManagementAgent_Vtbl { ConnectProfileWithPasswordCredentialAsync: usize, pub DisconnectProfileAsync: 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::com_interface!(IVpnNamespaceAssignment, IVpnNamespaceAssignment_Vtbl, 0xd7f7db18_307d_4c0e_bd62_8fa270bbadd6); +windows_core::imp::define_interface!(IVpnNamespaceAssignment, IVpnNamespaceAssignment_Vtbl, 0xd7f7db18_307d_4c0e_bd62_8fa270bbadd6); #[repr(C)] pub struct IVpnNamespaceAssignment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -540,7 +540,7 @@ pub struct IVpnNamespaceAssignment_Vtbl { pub SetProxyAutoConfigUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProxyAutoConfigUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnNamespaceInfo, IVpnNamespaceInfo_Vtbl, 0x30edfb43_444f_44c5_8167_a35a91f1af94); +windows_core::imp::define_interface!(IVpnNamespaceInfo, IVpnNamespaceInfo_Vtbl, 0x30edfb43_444f_44c5_8167_a35a91f1af94); #[repr(C)] pub struct IVpnNamespaceInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -563,7 +563,7 @@ pub struct IVpnNamespaceInfo_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] WebProxyServers: usize, } -windows_core::imp::com_interface!(IVpnNamespaceInfoFactory, IVpnNamespaceInfoFactory_Vtbl, 0xcb3e951a_b0ce_442b_acbb_5f99b202c31c); +windows_core::imp::define_interface!(IVpnNamespaceInfoFactory, IVpnNamespaceInfoFactory_Vtbl, 0xcb3e951a_b0ce_442b_acbb_5f99b202c31c); windows_core::imp::interface_hierarchy!(IVpnNamespaceInfoFactory, windows_core::IUnknown, windows_core::IInspectable); impl IVpnNamespaceInfoFactory { #[cfg(feature = "Foundation_Collections")] @@ -590,7 +590,7 @@ pub struct IVpnNamespaceInfoFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateVpnNamespaceInfo: usize, } -windows_core::imp::com_interface!(IVpnNativeProfile, IVpnNativeProfile_Vtbl, 0xa4aee29e_6417_4333_9842_f0a66db69802); +windows_core::imp::define_interface!(IVpnNativeProfile, IVpnNativeProfile_Vtbl, 0xa4aee29e_6417_4333_9842_f0a66db69802); #[repr(C)] pub struct IVpnNativeProfile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -609,7 +609,7 @@ pub struct IVpnNativeProfile_Vtbl { 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, } -windows_core::imp::com_interface!(IVpnNativeProfile2, IVpnNativeProfile2_Vtbl, 0x0fec2467_cdb5_4ac7_b5a3_0afb5ec47682); +windows_core::imp::define_interface!(IVpnNativeProfile2, IVpnNativeProfile2_Vtbl, 0x0fec2467_cdb5_4ac7_b5a3_0afb5ec47682); #[repr(C)] pub struct IVpnNativeProfile2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -617,7 +617,7 @@ pub struct IVpnNativeProfile2_Vtbl { pub SetRequireVpnClientAppUI: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub ConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VpnManagementConnectionStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnPacketBuffer, IVpnPacketBuffer_Vtbl, 0xc2f891fc_4d5c_4a63_b70d_4e307eacce55); +windows_core::imp::define_interface!(IVpnPacketBuffer, IVpnPacketBuffer_Vtbl, 0xc2f891fc_4d5c_4a63_b70d_4e307eacce55); #[repr(C)] pub struct IVpnPacketBuffer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -630,20 +630,20 @@ pub struct IVpnPacketBuffer_Vtbl { pub SetTransportAffinity: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub TransportAffinity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnPacketBuffer2, IVpnPacketBuffer2_Vtbl, 0x665e91f0_8805_4bf5_a619_2e84882e6b4f); +windows_core::imp::define_interface!(IVpnPacketBuffer2, IVpnPacketBuffer2_Vtbl, 0x665e91f0_8805_4bf5_a619_2e84882e6b4f); #[repr(C)] pub struct IVpnPacketBuffer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnPacketBuffer3, IVpnPacketBuffer3_Vtbl, 0xe256072f_107b_4c40_b127_5bc53e0ad960); +windows_core::imp::define_interface!(IVpnPacketBuffer3, IVpnPacketBuffer3_Vtbl, 0xe256072f_107b_4c40_b127_5bc53e0ad960); #[repr(C)] pub struct IVpnPacketBuffer3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetTransportContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub TransportContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnPacketBufferFactory, IVpnPacketBufferFactory_Vtbl, 0x9e2ddca2_1712_4ce4_b179_8c652c6d9999); +windows_core::imp::define_interface!(IVpnPacketBufferFactory, IVpnPacketBufferFactory_Vtbl, 0x9e2ddca2_1712_4ce4_b179_8c652c6d9999); windows_core::imp::interface_hierarchy!(IVpnPacketBufferFactory, windows_core::IUnknown, windows_core::IInspectable); impl IVpnPacketBufferFactory { pub fn CreateVpnPacketBuffer(&self, parentbuffer: P0, offset: u32, length: u32) -> windows_core::Result @@ -665,7 +665,7 @@ pub struct IVpnPacketBufferFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateVpnPacketBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnPacketBufferList, IVpnPacketBufferList_Vtbl, 0xc2f891fc_4d5c_4a63_b70d_4e307eacce77); +windows_core::imp::define_interface!(IVpnPacketBufferList, IVpnPacketBufferList_Vtbl, 0xc2f891fc_4d5c_4a63_b70d_4e307eacce77); #[repr(C)] pub struct IVpnPacketBufferList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -678,7 +678,7 @@ pub struct IVpnPacketBufferList_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VpnPacketBufferStatus) -> windows_core::HRESULT, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnPacketBufferList2, IVpnPacketBufferList2_Vtbl, 0x3e7acfe5_ea1e_482a_8d98_c065f57d89ea); +windows_core::imp::define_interface!(IVpnPacketBufferList2, IVpnPacketBufferList2_Vtbl, 0x3e7acfe5_ea1e_482a_8d98_c065f57d89ea); #[repr(C)] pub struct IVpnPacketBufferList2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -687,7 +687,7 @@ pub struct IVpnPacketBufferList2_Vtbl { pub AddTrailingPacket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveTrailingPacket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnPickedCredential, IVpnPickedCredential_Vtbl, 0x9a793ac7_8854_4e52_ad97_24dd9a842bce); +windows_core::imp::define_interface!(IVpnPickedCredential, IVpnPickedCredential_Vtbl, 0x9a793ac7_8854_4e52_ad97_24dd9a842bce); #[repr(C)] pub struct IVpnPickedCredential_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -701,7 +701,7 @@ pub struct IVpnPickedCredential_Vtbl { #[cfg(not(feature = "Security_Credentials"))] OldPasswordCredential: usize, } -windows_core::imp::com_interface!(IVpnPlugIn, IVpnPlugIn_Vtbl, 0xceb78d07_d0a8_4703_a091_c8c2c0915bc4); +windows_core::imp::define_interface!(IVpnPlugIn, IVpnPlugIn_Vtbl, 0xceb78d07_d0a8_4703_a091_c8c2c0915bc4); windows_core::imp::interface_hierarchy!(IVpnPlugIn, windows_core::IUnknown, windows_core::IInspectable); impl IVpnPlugIn { pub fn Connect(&self, channel: P0) -> windows_core::Result<()> @@ -757,7 +757,7 @@ pub struct IVpnPlugIn_Vtbl { pub Encapsulate: 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 Decapsulate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnPlugInProfile, IVpnPlugInProfile_Vtbl, 0x0edf0da4_4f00_4589_8d7b_4bf988f6542c); +windows_core::imp::define_interface!(IVpnPlugInProfile, IVpnPlugInProfile_Vtbl, 0x0edf0da4_4f00_4589_8d7b_4bf988f6542c); #[repr(C)] pub struct IVpnPlugInProfile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -770,7 +770,7 @@ pub struct IVpnPlugInProfile_Vtbl { 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, } -windows_core::imp::com_interface!(IVpnPlugInProfile2, IVpnPlugInProfile2_Vtbl, 0x611c4892_cf94_4ad6_ba99_00f4ff34565e); +windows_core::imp::define_interface!(IVpnPlugInProfile2, IVpnPlugInProfile2_Vtbl, 0x611c4892_cf94_4ad6_ba99_00f4ff34565e); #[repr(C)] pub struct IVpnPlugInProfile2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -778,7 +778,7 @@ pub struct IVpnPlugInProfile2_Vtbl { pub SetRequireVpnClientAppUI: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub ConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VpnManagementConnectionStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnProfile, IVpnProfile_Vtbl, 0x7875b751_b0d7_43db_8a93_d3fe2479e56a); +windows_core::imp::define_interface!(IVpnProfile, IVpnProfile_Vtbl, 0x7875b751_b0d7_43db_8a93_d3fe2479e56a); windows_core::imp::interface_hierarchy!(IVpnProfile, windows_core::IUnknown, windows_core::IInspectable); impl IVpnProfile { pub fn ProfileName(&self) -> windows_core::Result { @@ -876,7 +876,7 @@ pub struct IVpnProfile_Vtbl { pub AlwaysOn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAlwaysOn: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnRoute, IVpnRoute_Vtbl, 0xb5731b83_0969_4699_938e_7776db29cfb3); +windows_core::imp::define_interface!(IVpnRoute, IVpnRoute_Vtbl, 0xb5731b83_0969_4699_938e_7776db29cfb3); #[repr(C)] pub struct IVpnRoute_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -885,7 +885,7 @@ pub struct IVpnRoute_Vtbl { pub SetPrefixSize: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, pub PrefixSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnRouteAssignment, IVpnRouteAssignment_Vtbl, 0xdb64de22_ce39_4a76_9550_f61039f80e48); +windows_core::imp::define_interface!(IVpnRouteAssignment, IVpnRouteAssignment_Vtbl, 0xdb64de22_ce39_4a76_9550_f61039f80e48); #[repr(C)] pub struct IVpnRouteAssignment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -924,7 +924,7 @@ pub struct IVpnRouteAssignment_Vtbl { pub SetExcludeLocalSubnets: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub ExcludeLocalSubnets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnRouteFactory, IVpnRouteFactory_Vtbl, 0xbdeab5ff_45cf_4b99_83fb_db3bc2672b02); +windows_core::imp::define_interface!(IVpnRouteFactory, IVpnRouteFactory_Vtbl, 0xbdeab5ff_45cf_4b99_83fb_db3bc2672b02); windows_core::imp::interface_hierarchy!(IVpnRouteFactory, windows_core::IUnknown, windows_core::IInspectable); impl IVpnRouteFactory { pub fn CreateVpnRoute(&self, address: P0, prefixsize: u8) -> windows_core::Result @@ -946,7 +946,7 @@ pub struct IVpnRouteFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateVpnRoute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnSystemHealth, IVpnSystemHealth_Vtbl, 0x99a8f8af_c0ee_4e75_817a_f231aee5123d); +windows_core::imp::define_interface!(IVpnSystemHealth, IVpnSystemHealth_Vtbl, 0x99a8f8af_c0ee_4e75_817a_f231aee5123d); #[repr(C)] pub struct IVpnSystemHealth_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -955,7 +955,7 @@ pub struct IVpnSystemHealth_Vtbl { #[cfg(not(feature = "Storage_Streams"))] StatementOfHealth: usize, } -windows_core::imp::com_interface!(IVpnTrafficFilter, IVpnTrafficFilter_Vtbl, 0x2f691b60_6c9f_47f5_ac36_bb1b042e2c50); +windows_core::imp::define_interface!(IVpnTrafficFilter, IVpnTrafficFilter_Vtbl, 0x2f691b60_6c9f_47f5_ac36_bb1b042e2c50); #[repr(C)] pub struct IVpnTrafficFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -986,7 +986,7 @@ pub struct IVpnTrafficFilter_Vtbl { pub RoutingPolicyType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VpnRoutingPolicyType) -> windows_core::HRESULT, pub SetRoutingPolicyType: unsafe extern "system" fn(*mut core::ffi::c_void, VpnRoutingPolicyType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnTrafficFilterAssignment, IVpnTrafficFilterAssignment_Vtbl, 0x56ccd45c_e664_471e_89cd_601603b9e0f3); +windows_core::imp::define_interface!(IVpnTrafficFilterAssignment, IVpnTrafficFilterAssignment_Vtbl, 0x56ccd45c_e664_471e_89cd_601603b9e0f3); #[repr(C)] pub struct IVpnTrafficFilterAssignment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -999,7 +999,7 @@ pub struct IVpnTrafficFilterAssignment_Vtbl { pub AllowInbound: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowInbound: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVpnTrafficFilterFactory, IVpnTrafficFilterFactory_Vtbl, 0x480d41d5_7f99_474c_86ee_96df168318f1); +windows_core::imp::define_interface!(IVpnTrafficFilterFactory, IVpnTrafficFilterFactory_Vtbl, 0x480d41d5_7f99_474c_86ee_96df168318f1); #[repr(C)] pub struct IVpnTrafficFilterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs index 7b97db0310..af83df0130 100644 --- a/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/XboxLive/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IXboxLiveDeviceAddress, IXboxLiveDeviceAddress_Vtbl, 0xf5bbd279_3c86_4b57_a31a_b9462408fd01); +windows_core::imp::define_interface!(IXboxLiveDeviceAddress, IXboxLiveDeviceAddress_Vtbl, 0xf5bbd279_3c86_4b57_a31a_b9462408fd01); #[repr(C)] pub struct IXboxLiveDeviceAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -15,7 +15,7 @@ pub struct IXboxLiveDeviceAddress_Vtbl { pub IsLocal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub NetworkAccessKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XboxLiveNetworkAccessKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXboxLiveDeviceAddressStatics, IXboxLiveDeviceAddressStatics_Vtbl, 0x5954a819_4a79_4931_827c_7f503e963263); +windows_core::imp::define_interface!(IXboxLiveDeviceAddressStatics, IXboxLiveDeviceAddressStatics_Vtbl, 0x5954a819_4a79_4931_827c_7f503e963263); #[repr(C)] pub struct IXboxLiveDeviceAddressStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -28,7 +28,7 @@ pub struct IXboxLiveDeviceAddressStatics_Vtbl { pub GetLocal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MaxSnapshotBytesSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXboxLiveEndpointPair, IXboxLiveEndpointPair_Vtbl, 0x1e9a839b_813e_44e0_b87f_c87a093475e4); +windows_core::imp::define_interface!(IXboxLiveEndpointPair, IXboxLiveEndpointPair_Vtbl, 0x1e9a839b_813e_44e0_b87f_c87a093475e4); #[repr(C)] pub struct IXboxLiveEndpointPair_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -45,7 +45,7 @@ pub struct IXboxLiveEndpointPair_Vtbl { 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, } -windows_core::imp::com_interface!(IXboxLiveEndpointPairCreationResult, IXboxLiveEndpointPairCreationResult_Vtbl, 0xd9a8bb95_2aab_4d1e_9794_33ecc0dcf0fe); +windows_core::imp::define_interface!(IXboxLiveEndpointPairCreationResult, IXboxLiveEndpointPairCreationResult_Vtbl, 0xd9a8bb95_2aab_4d1e_9794_33ecc0dcf0fe); #[repr(C)] pub struct IXboxLiveEndpointPairCreationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -54,21 +54,21 @@ pub struct IXboxLiveEndpointPairCreationResult_Vtbl { pub IsExistingPathEvaluation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub EndpointPair: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXboxLiveEndpointPairStateChangedEventArgs, IXboxLiveEndpointPairStateChangedEventArgs_Vtbl, 0x592e3b55_de08_44e7_ac3b_b9b9a169583a); +windows_core::imp::define_interface!(IXboxLiveEndpointPairStateChangedEventArgs, IXboxLiveEndpointPairStateChangedEventArgs_Vtbl, 0x592e3b55_de08_44e7_ac3b_b9b9a169583a); #[repr(C)] pub struct IXboxLiveEndpointPairStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OldState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XboxLiveEndpointPairState) -> windows_core::HRESULT, pub NewState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XboxLiveEndpointPairState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXboxLiveEndpointPairStatics, IXboxLiveEndpointPairStatics_Vtbl, 0x64316b30_217a_4243_8ee1_6729281d27db); +windows_core::imp::define_interface!(IXboxLiveEndpointPairStatics, IXboxLiveEndpointPairStatics_Vtbl, 0x64316b30_217a_4243_8ee1_6729281d27db); #[repr(C)] 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, } -windows_core::imp::com_interface!(IXboxLiveEndpointPairTemplate, IXboxLiveEndpointPairTemplate_Vtbl, 0x6b286ecf_3457_40ce_b9a1_c0cfe0213ea7); +windows_core::imp::define_interface!(IXboxLiveEndpointPairTemplate, IXboxLiveEndpointPairTemplate_Vtbl, 0x6b286ecf_3457_40ce_b9a1_c0cfe0213ea7); #[repr(C)] pub struct IXboxLiveEndpointPairTemplate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,7 +89,7 @@ pub struct IXboxLiveEndpointPairTemplate_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] EndpointPairs: usize, } -windows_core::imp::com_interface!(IXboxLiveEndpointPairTemplateStatics, IXboxLiveEndpointPairTemplateStatics_Vtbl, 0x1e13137b_737b_4a23_bc64_0870f75655ba); +windows_core::imp::define_interface!(IXboxLiveEndpointPairTemplateStatics, IXboxLiveEndpointPairTemplateStatics_Vtbl, 0x1e13137b_737b_4a23_bc64_0870f75655ba); #[repr(C)] pub struct IXboxLiveEndpointPairTemplateStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -99,13 +99,13 @@ pub struct IXboxLiveEndpointPairTemplateStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Templates: usize, } -windows_core::imp::com_interface!(IXboxLiveInboundEndpointPairCreatedEventArgs, IXboxLiveInboundEndpointPairCreatedEventArgs_Vtbl, 0xdc183b62_22ba_48d2_80de_c23968bd198b); +windows_core::imp::define_interface!(IXboxLiveInboundEndpointPairCreatedEventArgs, IXboxLiveInboundEndpointPairCreatedEventArgs_Vtbl, 0xdc183b62_22ba_48d2_80de_c23968bd198b); #[repr(C)] pub struct IXboxLiveInboundEndpointPairCreatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub EndpointPair: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXboxLiveQualityOfServiceMeasurement, IXboxLiveQualityOfServiceMeasurement_Vtbl, 0x4d682bce_a5d6_47e6_a236_cfde5fbdf2ed); +windows_core::imp::define_interface!(IXboxLiveQualityOfServiceMeasurement, IXboxLiveQualityOfServiceMeasurement_Vtbl, 0x4d682bce_a5d6_47e6_a236_cfde5fbdf2ed); #[repr(C)] pub struct IXboxLiveQualityOfServiceMeasurement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -144,7 +144,7 @@ pub struct IXboxLiveQualityOfServiceMeasurement_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PrivatePayloadResults: usize, } -windows_core::imp::com_interface!(IXboxLiveQualityOfServiceMeasurementStatics, IXboxLiveQualityOfServiceMeasurementStatics_Vtbl, 0x6e352dca_23cf_440a_b077_5e30857a8234); +windows_core::imp::define_interface!(IXboxLiveQualityOfServiceMeasurementStatics, IXboxLiveQualityOfServiceMeasurementStatics_Vtbl, 0x6e352dca_23cf_440a_b077_5e30857a8234); #[repr(C)] pub struct IXboxLiveQualityOfServiceMeasurementStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -166,7 +166,7 @@ pub struct IXboxLiveQualityOfServiceMeasurementStatics_Vtbl { SetPublishedPrivatePayload: usize, pub MaxPrivatePayloadSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXboxLiveQualityOfServiceMetricResult, IXboxLiveQualityOfServiceMetricResult_Vtbl, 0xaeec53d1_3561_4782_b0cf_d3ae29d9fa87); +windows_core::imp::define_interface!(IXboxLiveQualityOfServiceMetricResult, IXboxLiveQualityOfServiceMetricResult_Vtbl, 0xaeec53d1_3561_4782_b0cf_d3ae29d9fa87); #[repr(C)] pub struct IXboxLiveQualityOfServiceMetricResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -175,7 +175,7 @@ pub struct IXboxLiveQualityOfServiceMetricResult_Vtbl { pub Metric: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XboxLiveQualityOfServiceMetric) -> windows_core::HRESULT, pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXboxLiveQualityOfServicePrivatePayloadResult, IXboxLiveQualityOfServicePrivatePayloadResult_Vtbl, 0x5a6302ae_6f38_41c0_9fcc_ea6cb978cafc); +windows_core::imp::define_interface!(IXboxLiveQualityOfServicePrivatePayloadResult, IXboxLiveQualityOfServicePrivatePayloadResult_Vtbl, 0x5a6302ae_6f38_41c0_9fcc_ea6cb978cafc); #[repr(C)] pub struct IXboxLiveQualityOfServicePrivatePayloadResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Networking/mod.rs b/crates/libs/windows/src/Windows/Networking/mod.rs index 81111f5d3e..dc399490e1 100644 --- a/crates/libs/windows/src/Windows/Networking/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/mod.rs @@ -16,7 +16,7 @@ pub mod Sockets; pub mod Vpn; #[cfg(feature = "Networking_XboxLive")] pub mod XboxLive; -windows_core::imp::com_interface!(IEndpointPair, IEndpointPair_Vtbl, 0x33a0aa36_f8fa_4b30_b856_76517c3bd06d); +windows_core::imp::define_interface!(IEndpointPair, IEndpointPair_Vtbl, 0x33a0aa36_f8fa_4b30_b856_76517c3bd06d); #[repr(C)] pub struct IEndpointPair_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -29,13 +29,13 @@ pub struct IEndpointPair_Vtbl { 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, } -windows_core::imp::com_interface!(IEndpointPairFactory, IEndpointPairFactory_Vtbl, 0xb609d971_64e0_442b_aa6f_cc8c8f181f78); +windows_core::imp::define_interface!(IEndpointPairFactory, IEndpointPairFactory_Vtbl, 0xb609d971_64e0_442b_aa6f_cc8c8f181f78); #[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, } -windows_core::imp::com_interface!(IHostName, IHostName_Vtbl, 0xbf8ecaad_ed96_49a7_9084_d416cae88dcb); +windows_core::imp::define_interface!(IHostName, IHostName_Vtbl, 0xbf8ecaad_ed96_49a7_9084_d416cae88dcb); #[repr(C)] pub struct IHostName_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -49,13 +49,13 @@ pub struct IHostName_Vtbl { 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, } -windows_core::imp::com_interface!(IHostNameFactory, IHostNameFactory_Vtbl, 0x458c23ed_712f_4576_adf1_c20b2c643558); +windows_core::imp::define_interface!(IHostNameFactory, IHostNameFactory_Vtbl, 0x458c23ed_712f_4576_adf1_c20b2c643558); #[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, } -windows_core::imp::com_interface!(IHostNameStatics, IHostNameStatics_Vtbl, 0xf68cd4bf_a388_4e8b_91ea_54dd6dd901c0); +windows_core::imp::define_interface!(IHostNameStatics, IHostNameStatics_Vtbl, 0xf68cd4bf_a388_4e8b_91ea_54dd6dd901c0); #[repr(C)] pub struct IHostNameStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs b/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs index fc41a9c2d1..c9da3f43e8 100644 --- a/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Automation/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICorePerceptionAutomationStatics, ICorePerceptionAutomationStatics_Vtbl, 0x0bb04541_4ce2_4923_9a76_8187ecc59112); +windows_core::imp::define_interface!(ICorePerceptionAutomationStatics, ICorePerceptionAutomationStatics_Vtbl, 0x0bb04541_4ce2_4923_9a76_8187ecc59112); #[repr(C)] pub struct ICorePerceptionAutomationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Perception/People/mod.rs b/crates/libs/windows/src/Windows/Perception/People/mod.rs index 27a3e70b11..18f9fdfb12 100644 --- a/crates/libs/windows/src/Windows/Perception/People/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/People/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IEyesPose, IEyesPose_Vtbl, 0x682a9b23_8a1e_5b86_a060_906ffacb62a4); +windows_core::imp::define_interface!(IEyesPose, IEyesPose_Vtbl, 0x682a9b23_8a1e_5b86_a060_906ffacb62a4); #[repr(C)] pub struct IEyesPose_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IEyesPose_Vtbl { Gaze: usize, pub UpdateTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEyesPoseStatics, IEyesPoseStatics_Vtbl, 0x1cff7413_b21f_54c0_80c1_e60d994ca58c); +windows_core::imp::define_interface!(IEyesPoseStatics, IEyesPoseStatics_Vtbl, 0x1cff7413_b21f_54c0_80c1_e60d994ca58c); #[repr(C)] pub struct IEyesPoseStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,7 +19,7 @@ pub struct IEyesPoseStatics_Vtbl { #[cfg(not(feature = "UI_Input"))] RequestAccessAsync: usize, } -windows_core::imp::com_interface!(IHandMeshObserver, IHandMeshObserver_Vtbl, 0x85ae30cb_6fc3_55c4_a7b4_29e33896ca69); +windows_core::imp::define_interface!(IHandMeshObserver, IHandMeshObserver_Vtbl, 0x85ae30cb_6fc3_55c4_a7b4_29e33896ca69); #[repr(C)] pub struct IHandMeshObserver_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,7 +35,7 @@ pub struct IHandMeshObserver_Vtbl { pub NeutralPoseVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHandMeshVertexState, IHandMeshVertexState_Vtbl, 0x046c5fef_1d8b_55de_ab2c_1cd424886d8f); +windows_core::imp::define_interface!(IHandMeshVertexState, IHandMeshVertexState_Vtbl, 0x046c5fef_1d8b_55de_ab2c_1cd424886d8f); #[repr(C)] pub struct IHandMeshVertexState_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -49,7 +49,7 @@ pub struct IHandMeshVertexState_Vtbl { GetVertices: usize, pub UpdateTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHandPose, IHandPose_Vtbl, 0x4d98e79a_bb08_5d09_91de_df0dd3fae46c); +windows_core::imp::define_interface!(IHandPose, IHandPose_Vtbl, 0x4d98e79a_bb08_5d09_91de_df0dd3fae46c); #[repr(C)] pub struct IHandPose_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,7 +70,7 @@ pub struct IHandPose_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] GetRelativeJoints: usize, } -windows_core::imp::com_interface!(IHeadPose, IHeadPose_Vtbl, 0x7f5ac5a5_49db_379f_9429_32a2faf34fa6); +windows_core::imp::define_interface!(IHeadPose, IHeadPose_Vtbl, 0x7f5ac5a5_49db_379f_9429_32a2faf34fa6); #[repr(C)] pub struct IHeadPose_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 1a80ee6bbe..40955f09b3 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Preview/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISpatialGraphInteropFrameOfReferencePreview, ISpatialGraphInteropFrameOfReferencePreview_Vtbl, 0xa8271b23_735f_5729_a98e_e64ed189abc5); +windows_core::imp::define_interface!(ISpatialGraphInteropFrameOfReferencePreview, ISpatialGraphInteropFrameOfReferencePreview_Vtbl, 0xa8271b23_735f_5729_a98e_e64ed189abc5); #[repr(C)] pub struct ISpatialGraphInteropFrameOfReferencePreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct ISpatialGraphInteropFrameOfReferencePreview_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] CoordinateSystemToNodeTransform: usize, } -windows_core::imp::com_interface!(ISpatialGraphInteropPreviewStatics, ISpatialGraphInteropPreviewStatics_Vtbl, 0xc042644c_20d8_4ed0_aef7_6805b8e53f55); +windows_core::imp::define_interface!(ISpatialGraphInteropPreviewStatics, ISpatialGraphInteropPreviewStatics_Vtbl, 0xc042644c_20d8_4ed0_aef7_6805b8e53f55); #[repr(C)] pub struct ISpatialGraphInteropPreviewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -24,7 +24,7 @@ pub struct ISpatialGraphInteropPreviewStatics_Vtbl { CreateCoordinateSystemForNodeWithPositionAndOrientation: usize, pub CreateLocatorForNode: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialGraphInteropPreviewStatics2, ISpatialGraphInteropPreviewStatics2_Vtbl, 0x2490b15f_6cbd_4b1e_b765_31e462a32df2); +windows_core::imp::define_interface!(ISpatialGraphInteropPreviewStatics2, ISpatialGraphInteropPreviewStatics2_Vtbl, 0x2490b15f_6cbd_4b1e_b765_31e462a32df2); #[repr(C)] pub struct ISpatialGraphInteropPreviewStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 ffa442ac9d..a0880bf172 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/Surfaces/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISpatialSurfaceInfo, ISpatialSurfaceInfo_Vtbl, 0xf8e9ebe7_39b7_3962_bb03_57f56e1fb0a1); +windows_core::imp::define_interface!(ISpatialSurfaceInfo, ISpatialSurfaceInfo_Vtbl, 0xf8e9ebe7_39b7_3962_bb03_57f56e1fb0a1); #[repr(C)] pub struct ISpatialSurfaceInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,7 +11,7 @@ pub struct ISpatialSurfaceInfo_Vtbl { pub TryComputeLatestMeshAsync: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryComputeLatestMeshWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialSurfaceMesh, ISpatialSurfaceMesh_Vtbl, 0x108f57d9_df0d_3950_a0fd_f972c77c27b4); +windows_core::imp::define_interface!(ISpatialSurfaceMesh, ISpatialSurfaceMesh_Vtbl, 0x108f57d9_df0d_3950_a0fd_f972c77c27b4); #[repr(C)] pub struct ISpatialSurfaceMesh_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -25,7 +25,7 @@ pub struct ISpatialSurfaceMesh_Vtbl { VertexPositionScale: usize, pub VertexNormals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialSurfaceMeshBuffer, ISpatialSurfaceMeshBuffer_Vtbl, 0x93cf59e0_871f_33f8_98b2_03d101458f6f); +windows_core::imp::define_interface!(ISpatialSurfaceMeshBuffer, ISpatialSurfaceMeshBuffer_Vtbl, 0x93cf59e0_871f_33f8_98b2_03d101458f6f); #[repr(C)] pub struct ISpatialSurfaceMeshBuffer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -40,7 +40,7 @@ pub struct ISpatialSurfaceMeshBuffer_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Data: usize, } -windows_core::imp::com_interface!(ISpatialSurfaceMeshOptions, ISpatialSurfaceMeshOptions_Vtbl, 0xd2759f89_3572_3d2d_a10d_5fee9394aa37); +windows_core::imp::define_interface!(ISpatialSurfaceMeshOptions, ISpatialSurfaceMeshOptions_Vtbl, 0xd2759f89_3572_3d2d_a10d_5fee9394aa37); #[repr(C)] pub struct ISpatialSurfaceMeshOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -71,7 +71,7 @@ pub struct ISpatialSurfaceMeshOptions_Vtbl { pub IncludeVertexNormals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIncludeVertexNormals: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialSurfaceMeshOptionsStatics, ISpatialSurfaceMeshOptionsStatics_Vtbl, 0x9b340abf_9781_4505_8935_013575caae5e); +windows_core::imp::define_interface!(ISpatialSurfaceMeshOptionsStatics, ISpatialSurfaceMeshOptionsStatics_Vtbl, 0x9b340abf_9781_4505_8935_013575caae5e); #[repr(C)] pub struct ISpatialSurfaceMeshOptionsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,7 +88,7 @@ pub struct ISpatialSurfaceMeshOptionsStatics_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Graphics_DirectX")))] SupportedVertexNormalFormats: usize, } -windows_core::imp::com_interface!(ISpatialSurfaceObserver, ISpatialSurfaceObserver_Vtbl, 0x10b69819_ddca_3483_ac3a_748fe8c86df5); +windows_core::imp::define_interface!(ISpatialSurfaceObserver, ISpatialSurfaceObserver_Vtbl, 0x10b69819_ddca_3483_ac3a_748fe8c86df5); #[repr(C)] pub struct ISpatialSurfaceObserver_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -104,13 +104,13 @@ pub struct ISpatialSurfaceObserver_Vtbl { pub ObservedSurfacesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveObservedSurfacesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialSurfaceObserverStatics, ISpatialSurfaceObserverStatics_Vtbl, 0x165951ed_2108_4168_9175_87e027bc9285); +windows_core::imp::define_interface!(ISpatialSurfaceObserverStatics, ISpatialSurfaceObserverStatics_Vtbl, 0x165951ed_2108_4168_9175_87e027bc9285); #[repr(C)] pub struct ISpatialSurfaceObserverStatics_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, } -windows_core::imp::com_interface!(ISpatialSurfaceObserverStatics2, ISpatialSurfaceObserverStatics2_Vtbl, 0x0f534261_c55d_4e6b_a895_a19de69a42e3); +windows_core::imp::define_interface!(ISpatialSurfaceObserverStatics2, ISpatialSurfaceObserverStatics2_Vtbl, 0x0f534261_c55d_4e6b_a895_a19de69a42e3); #[repr(C)] pub struct ISpatialSurfaceObserverStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs index 617033e8d1..2424afa5be 100644 --- a/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/Spatial/mod.rs @@ -2,7 +2,7 @@ pub mod Preview; #[cfg(feature = "Perception_Spatial_Surfaces")] pub mod Surfaces; -windows_core::imp::com_interface!(ISpatialAnchor, ISpatialAnchor_Vtbl, 0x0529e5ce_1d34_3702_bcec_eabff578a869); +windows_core::imp::define_interface!(ISpatialAnchor, ISpatialAnchor_Vtbl, 0x0529e5ce_1d34_3702_bcec_eabff578a869); #[repr(C)] pub struct ISpatialAnchor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,13 +11,13 @@ pub struct ISpatialAnchor_Vtbl { pub RawCoordinateSystemAdjusted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRawCoordinateSystemAdjusted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAnchor2, ISpatialAnchor2_Vtbl, 0xed17c908_a695_4cf6_92fd_97263ba71047); +windows_core::imp::define_interface!(ISpatialAnchor2, ISpatialAnchor2_Vtbl, 0xed17c908_a695_4cf6_92fd_97263ba71047); #[repr(C)] pub struct ISpatialAnchor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RemovedByUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAnchorExportSufficiency, ISpatialAnchorExportSufficiency_Vtbl, 0x77c25b2b_3409_4088_b91b_fdfd05d1648f); +windows_core::imp::define_interface!(ISpatialAnchorExportSufficiency, ISpatialAnchorExportSufficiency_Vtbl, 0x77c25b2b_3409_4088_b91b_fdfd05d1648f); #[repr(C)] pub struct ISpatialAnchorExportSufficiency_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -25,7 +25,7 @@ pub struct ISpatialAnchorExportSufficiency_Vtbl { pub SufficiencyLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub RecommendedSufficiencyLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAnchorExporter, ISpatialAnchorExporter_Vtbl, 0x9a2a4338_24fb_4269_89c5_88304aeef20f); +windows_core::imp::define_interface!(ISpatialAnchorExporter, ISpatialAnchorExporter_Vtbl, 0x9a2a4338_24fb_4269_89c5_88304aeef20f); #[repr(C)] pub struct ISpatialAnchorExporter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,20 +35,20 @@ pub struct ISpatialAnchorExporter_Vtbl { #[cfg(not(feature = "Storage_Streams"))] TryExportAnchorAsync: usize, } -windows_core::imp::com_interface!(ISpatialAnchorExporterStatics, ISpatialAnchorExporterStatics_Vtbl, 0xed2507b8_2475_439c_85ff_7fed341fdc88); +windows_core::imp::define_interface!(ISpatialAnchorExporterStatics, ISpatialAnchorExporterStatics_Vtbl, 0xed2507b8_2475_439c_85ff_7fed341fdc88); #[repr(C)] pub struct ISpatialAnchorExporterStatics_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 RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAnchorManagerStatics, ISpatialAnchorManagerStatics_Vtbl, 0x88e30eab_f3b7_420b_b086_8a80c07d910d); +windows_core::imp::define_interface!(ISpatialAnchorManagerStatics, ISpatialAnchorManagerStatics_Vtbl, 0x88e30eab_f3b7_420b_b086_8a80c07d910d); #[repr(C)] pub struct ISpatialAnchorManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestStoreAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAnchorRawCoordinateSystemAdjustedEventArgs, ISpatialAnchorRawCoordinateSystemAdjustedEventArgs_Vtbl, 0xa1e81eb8_56c7_3117_a2e4_81e0fcf28e00); +windows_core::imp::define_interface!(ISpatialAnchorRawCoordinateSystemAdjustedEventArgs, ISpatialAnchorRawCoordinateSystemAdjustedEventArgs_Vtbl, 0xa1e81eb8_56c7_3117_a2e4_81e0fcf28e00); #[repr(C)] pub struct ISpatialAnchorRawCoordinateSystemAdjustedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,7 +57,7 @@ pub struct ISpatialAnchorRawCoordinateSystemAdjustedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] OldRawCoordinateSystemToNewRawCoordinateSystemTransform: usize, } -windows_core::imp::com_interface!(ISpatialAnchorStatics, ISpatialAnchorStatics_Vtbl, 0xa9928642_0174_311c_ae79_0e5107669f16); +windows_core::imp::define_interface!(ISpatialAnchorStatics, ISpatialAnchorStatics_Vtbl, 0xa9928642_0174_311c_ae79_0e5107669f16); #[repr(C)] pub struct ISpatialAnchorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -71,7 +71,7 @@ pub struct ISpatialAnchorStatics_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] TryCreateWithPositionAndOrientationRelativeTo: usize, } -windows_core::imp::com_interface!(ISpatialAnchorStore, ISpatialAnchorStore_Vtbl, 0xb0bc3636_486a_3cb0_9e6f_1245165c4db6); +windows_core::imp::define_interface!(ISpatialAnchorStore, ISpatialAnchorStore_Vtbl, 0xb0bc3636_486a_3cb0_9e6f_1245165c4db6); #[repr(C)] pub struct ISpatialAnchorStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -84,7 +84,7 @@ pub struct ISpatialAnchorStore_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISpatialAnchorTransferManagerStatics, ISpatialAnchorTransferManagerStatics_Vtbl, 0x03bbf9b9_12d8_4bce_8835_c5df3ac0adab); +windows_core::imp::define_interface!(ISpatialAnchorTransferManagerStatics, ISpatialAnchorTransferManagerStatics_Vtbl, 0x03bbf9b9_12d8_4bce_8835_c5df3ac0adab); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISpatialAnchorTransferManagerStatics_Vtbl { @@ -102,12 +102,12 @@ pub struct ISpatialAnchorTransferManagerStatics_Vtbl { #[cfg(not(feature = "deprecated"))] RequestAccessAsync: usize, } -windows_core::imp::com_interface!(ISpatialBoundingVolume, ISpatialBoundingVolume_Vtbl, 0xfb2065da_68c3_33df_b7af_4c787207999c); +windows_core::imp::define_interface!(ISpatialBoundingVolume, ISpatialBoundingVolume_Vtbl, 0xfb2065da_68c3_33df_b7af_4c787207999c); #[repr(C)] pub struct ISpatialBoundingVolume_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISpatialBoundingVolumeStatics, ISpatialBoundingVolumeStatics_Vtbl, 0x05889117_b3e1_36d8_b017_566181a5b196); +windows_core::imp::define_interface!(ISpatialBoundingVolumeStatics, ISpatialBoundingVolumeStatics_Vtbl, 0x05889117_b3e1_36d8_b017_566181a5b196); #[repr(C)] pub struct ISpatialBoundingVolumeStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -128,7 +128,7 @@ pub struct ISpatialBoundingVolumeStatics_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] FromFrustum: usize, } -windows_core::imp::com_interface!(ISpatialCoordinateSystem, ISpatialCoordinateSystem_Vtbl, 0x69ebca4b_60a3_3586_a653_59a7bd676d07); +windows_core::imp::define_interface!(ISpatialCoordinateSystem, ISpatialCoordinateSystem_Vtbl, 0x69ebca4b_60a3_3586_a653_59a7bd676d07); #[repr(C)] pub struct ISpatialCoordinateSystem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -137,7 +137,7 @@ pub struct ISpatialCoordinateSystem_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] TryGetTransformTo: usize, } -windows_core::imp::com_interface!(ISpatialEntity, ISpatialEntity_Vtbl, 0x166de955_e1eb_454c_ba08_e6c0668ddc65); +windows_core::imp::define_interface!(ISpatialEntity, ISpatialEntity_Vtbl, 0x166de955_e1eb_454c_ba08_e6c0668ddc65); #[repr(C)] pub struct ISpatialEntity_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -148,13 +148,13 @@ pub struct ISpatialEntity_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(ISpatialEntityAddedEventArgs, ISpatialEntityAddedEventArgs_Vtbl, 0xa397f49b_156a_4707_ac2c_d31d570ed399); +windows_core::imp::define_interface!(ISpatialEntityAddedEventArgs, ISpatialEntityAddedEventArgs_Vtbl, 0xa397f49b_156a_4707_ac2c_d31d570ed399); #[repr(C)] pub struct ISpatialEntityAddedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Entity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialEntityFactory, ISpatialEntityFactory_Vtbl, 0xe1f1e325_349f_4225_a2f3_4b01c15fe056); +windows_core::imp::define_interface!(ISpatialEntityFactory, ISpatialEntityFactory_Vtbl, 0xe1f1e325_349f_4225_a2f3_4b01c15fe056); #[repr(C)] pub struct ISpatialEntityFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -164,13 +164,13 @@ pub struct ISpatialEntityFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWithSpatialAnchorAndProperties: usize, } -windows_core::imp::com_interface!(ISpatialEntityRemovedEventArgs, ISpatialEntityRemovedEventArgs_Vtbl, 0x91741800_536d_4e9f_abf6_415b5444d651); +windows_core::imp::define_interface!(ISpatialEntityRemovedEventArgs, ISpatialEntityRemovedEventArgs_Vtbl, 0x91741800_536d_4e9f_abf6_415b5444d651); #[repr(C)] pub struct ISpatialEntityRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Entity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialEntityStore, ISpatialEntityStore_Vtbl, 0x329788ba_e513_4f06_889d_1be30ecf43e6); +windows_core::imp::define_interface!(ISpatialEntityStore, ISpatialEntityStore_Vtbl, 0x329788ba_e513_4f06_889d_1be30ecf43e6); #[repr(C)] pub struct ISpatialEntityStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -178,7 +178,7 @@ pub struct ISpatialEntityStore_Vtbl { pub RemoveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateEntityWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialEntityStoreStatics, ISpatialEntityStoreStatics_Vtbl, 0x6b4b389e_7c50_4e92_8a62_4d1d4b7ccd3e); +windows_core::imp::define_interface!(ISpatialEntityStoreStatics, ISpatialEntityStoreStatics_Vtbl, 0x6b4b389e_7c50_4e92_8a62_4d1d4b7ccd3e); #[repr(C)] pub struct ISpatialEntityStoreStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -188,13 +188,13 @@ pub struct ISpatialEntityStoreStatics_Vtbl { #[cfg(not(feature = "System_RemoteSystems"))] TryGetForRemoteSystemSession: usize, } -windows_core::imp::com_interface!(ISpatialEntityUpdatedEventArgs, ISpatialEntityUpdatedEventArgs_Vtbl, 0xe5671766_627b_43cb_a49f_b3be6d47deed); +windows_core::imp::define_interface!(ISpatialEntityUpdatedEventArgs, ISpatialEntityUpdatedEventArgs_Vtbl, 0xe5671766_627b_43cb_a49f_b3be6d47deed); #[repr(C)] pub struct ISpatialEntityUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Entity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialEntityWatcher, ISpatialEntityWatcher_Vtbl, 0xb3b85fa0_6d5e_4bbc_805d_5fe5b9ba1959); +windows_core::imp::define_interface!(ISpatialEntityWatcher, ISpatialEntityWatcher_Vtbl, 0xb3b85fa0_6d5e_4bbc_805d_5fe5b9ba1959); #[repr(C)] pub struct ISpatialEntityWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -210,7 +210,7 @@ pub struct ISpatialEntityWatcher_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(ISpatialLocation, ISpatialLocation_Vtbl, 0x1d81d29d_24a1_37d5_8fa1_39b4f9ad67e2); +windows_core::imp::define_interface!(ISpatialLocation, ISpatialLocation_Vtbl, 0x1d81d29d_24a1_37d5_8fa1_39b4f9ad67e2); #[repr(C)] pub struct ISpatialLocation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -239,7 +239,7 @@ pub struct ISpatialLocation_Vtbl { #[cfg(not(all(feature = "Foundation_Numerics", feature = "deprecated")))] AbsoluteAngularAcceleration: usize, } -windows_core::imp::com_interface!(ISpatialLocation2, ISpatialLocation2_Vtbl, 0x117f2416_38a7_4a18_b404_ab8fabe1d78b); +windows_core::imp::define_interface!(ISpatialLocation2, ISpatialLocation2_Vtbl, 0x117f2416_38a7_4a18_b404_ab8fabe1d78b); #[repr(C)] pub struct ISpatialLocation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -252,7 +252,7 @@ pub struct ISpatialLocation2_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] AbsoluteAngularAccelerationAxisAngle: usize, } -windows_core::imp::com_interface!(ISpatialLocator, ISpatialLocator_Vtbl, 0xf6478925_9e0c_3bb6_997e_b64ecca24cf4); +windows_core::imp::define_interface!(ISpatialLocator, ISpatialLocator_Vtbl, 0xf6478925_9e0c_3bb6_997e_b64ecca24cf4); #[repr(C)] pub struct ISpatialLocator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -289,7 +289,7 @@ pub struct ISpatialLocator_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] CreateStationaryFrameOfReferenceAtCurrentLocationWithPositionAndOrientationAndRelativeHeading: usize, } -windows_core::imp::com_interface!(ISpatialLocatorAttachedFrameOfReference, ISpatialLocatorAttachedFrameOfReference_Vtbl, 0xe1774ef6_1f4f_499c_9625_ef5e6ed7a048); +windows_core::imp::define_interface!(ISpatialLocatorAttachedFrameOfReference, ISpatialLocatorAttachedFrameOfReference_Vtbl, 0xe1774ef6_1f4f_499c_9625_ef5e6ed7a048); #[repr(C)] pub struct ISpatialLocatorAttachedFrameOfReference_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -313,20 +313,20 @@ pub struct ISpatialLocatorAttachedFrameOfReference_Vtbl { pub GetStationaryCoordinateSystemAtTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryGetRelativeHeadingAtTimestamp: 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::com_interface!(ISpatialLocatorPositionalTrackingDeactivatingEventArgs, ISpatialLocatorPositionalTrackingDeactivatingEventArgs_Vtbl, 0xb8a84063_e3f4_368b_9061_9ea9d1d6cc16); +windows_core::imp::define_interface!(ISpatialLocatorPositionalTrackingDeactivatingEventArgs, ISpatialLocatorPositionalTrackingDeactivatingEventArgs_Vtbl, 0xb8a84063_e3f4_368b_9061_9ea9d1d6cc16); #[repr(C)] pub struct ISpatialLocatorPositionalTrackingDeactivatingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Canceled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetCanceled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialLocatorStatics, ISpatialLocatorStatics_Vtbl, 0xb76e3340_a7c2_361b_bb82_56e93b89b1bb); +windows_core::imp::define_interface!(ISpatialLocatorStatics, ISpatialLocatorStatics_Vtbl, 0xb76e3340_a7c2_361b_bb82_56e93b89b1bb); #[repr(C)] pub struct ISpatialLocatorStatics_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, } -windows_core::imp::com_interface!(ISpatialStageFrameOfReference, ISpatialStageFrameOfReference_Vtbl, 0x7a8a3464_ad0d_4590_ab86_33062b674926); +windows_core::imp::define_interface!(ISpatialStageFrameOfReference, ISpatialStageFrameOfReference_Vtbl, 0x7a8a3464_ad0d_4590_ab86_33062b674926); #[repr(C)] pub struct ISpatialStageFrameOfReference_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -339,7 +339,7 @@ pub struct ISpatialStageFrameOfReference_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] TryGetMovementBounds: usize, } -windows_core::imp::com_interface!(ISpatialStageFrameOfReferenceStatics, ISpatialStageFrameOfReferenceStatics_Vtbl, 0xf78d5c4d_a0a4_499c_8d91_a8c965d40654); +windows_core::imp::define_interface!(ISpatialStageFrameOfReferenceStatics, ISpatialStageFrameOfReferenceStatics_Vtbl, 0xf78d5c4d_a0a4_499c_8d91_a8c965d40654); #[repr(C)] pub struct ISpatialStageFrameOfReferenceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -348,7 +348,7 @@ pub struct ISpatialStageFrameOfReferenceStatics_Vtbl { pub RemoveCurrentChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RequestNewStageAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialStationaryFrameOfReference, ISpatialStationaryFrameOfReference_Vtbl, 0x09dbccb9_bcf8_3e7f_be7e_7edccbb178a8); +windows_core::imp::define_interface!(ISpatialStationaryFrameOfReference, ISpatialStationaryFrameOfReference_Vtbl, 0x09dbccb9_bcf8_3e7f_be7e_7edccbb178a8); #[repr(C)] pub struct ISpatialStationaryFrameOfReference_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Perception/mod.rs b/crates/libs/windows/src/Windows/Perception/mod.rs index e309d0a698..93bb8cec10 100644 --- a/crates/libs/windows/src/Windows/Perception/mod.rs +++ b/crates/libs/windows/src/Windows/Perception/mod.rs @@ -4,26 +4,26 @@ pub mod Automation; pub mod People; #[cfg(feature = "Perception_Spatial")] pub mod Spatial; -windows_core::imp::com_interface!(IPerceptionTimestamp, IPerceptionTimestamp_Vtbl, 0x87c24804_a22e_4adb_ba26_d78ef639bcf4); +windows_core::imp::define_interface!(IPerceptionTimestamp, IPerceptionTimestamp_Vtbl, 0x87c24804_a22e_4adb_ba26_d78ef639bcf4); #[repr(C)] pub struct IPerceptionTimestamp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TargetTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Foundation::DateTime) -> windows_core::HRESULT, pub PredictionAmount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPerceptionTimestamp2, IPerceptionTimestamp2_Vtbl, 0xe354b7ed_2bd1_41b7_9ed0_74a15c354537); +windows_core::imp::define_interface!(IPerceptionTimestamp2, IPerceptionTimestamp2_Vtbl, 0xe354b7ed_2bd1_41b7_9ed0_74a15c354537); #[repr(C)] pub struct IPerceptionTimestamp2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SystemRelativeTargetTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPerceptionTimestampHelperStatics, IPerceptionTimestampHelperStatics_Vtbl, 0x47a611d4_a9df_4edc_855d_f4d339d967ac); +windows_core::imp::define_interface!(IPerceptionTimestampHelperStatics, IPerceptionTimestampHelperStatics_Vtbl, 0x47a611d4_a9df_4edc_855d_f4d339d967ac); #[repr(C)] pub struct IPerceptionTimestampHelperStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromHistoricalTargetTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPerceptionTimestampHelperStatics2, IPerceptionTimestampHelperStatics2_Vtbl, 0x73d1a7fe_3fb9_4571_87d4_3c920a5e86eb); +windows_core::imp::define_interface!(IPerceptionTimestampHelperStatics2, IPerceptionTimestampHelperStatics2_Vtbl, 0x73d1a7fe_3fb9_4571_87d4_3c920a5e86eb); #[repr(C)] pub struct IPerceptionTimestampHelperStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs b/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs index 8163e7c6c6..9b1088a498 100644 --- a/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/ApplicationModel/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IApplicationProfileStatics, IApplicationProfileStatics_Vtbl, 0xd5008ab4_7e7a_11e1_a7f2_b0a14824019b); +windows_core::imp::define_interface!(IApplicationProfileStatics, IApplicationProfileStatics_Vtbl, 0xd5008ab4_7e7a_11e1_a7f2_b0a14824019b); #[repr(C)] pub struct IApplicationProfileStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 c169c96fd5..3e06c7d3bc 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Notification/mod.rs @@ -1,11 +1,11 @@ -windows_core::imp::com_interface!(IVibrationDevice, IVibrationDevice_Vtbl, 0x1b4a6595_cfcd_4e08_92fb_c1906d04498c); +windows_core::imp::define_interface!(IVibrationDevice, IVibrationDevice_Vtbl, 0x1b4a6595_cfcd_4e08_92fb_c1906d04498c); #[repr(C)] pub struct IVibrationDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Vibrate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVibrationDeviceStatics, IVibrationDeviceStatics_Vtbl, 0x332fd2f1_1c69_4c91_949e_4bb67a85bdc7); +windows_core::imp::define_interface!(IVibrationDeviceStatics, IVibrationDeviceStatics_Vtbl, 0x332fd2f1_1c69_4c91_949e_4bb67a85bdc7); #[repr(C)] pub struct IVibrationDeviceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 28fbfd2776..d7c8c7b296 100644 --- a/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Devices/Power/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IBattery, IBattery_Vtbl, 0x972adbdd_6720_4702_a476_b9d38a0070e3); +windows_core::imp::define_interface!(IBattery, IBattery_Vtbl, 0x972adbdd_6720_4702_a476_b9d38a0070e3); #[repr(C)] pub struct IBattery_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct IBattery_Vtbl { pub RemainingChargePercentChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRemainingChargePercentChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBatteryStatics, IBatteryStatics_Vtbl, 0xfaf5bc70_6369_11e1_b86c_0800200c9a66); +windows_core::imp::define_interface!(IBatteryStatics, IBatteryStatics_Vtbl, 0xfaf5bc70_6369_11e1_b86c_0800200c9a66); #[repr(C)] pub struct IBatteryStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 56c5f79a62..f99c9a6125 100644 --- a/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Management/Deployment/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IEnterprise, IEnterprise_Vtbl, 0x96592f8d_856c_4426_a947_b06307718078); +windows_core::imp::define_interface!(IEnterprise, IEnterprise_Vtbl, 0x96592f8d_856c_4426_a947_b06307718078); #[repr(C)] pub struct IEnterprise_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IEnterprise_Vtbl { pub EnrollmentValidTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EnterpriseStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnterpriseEnrollmentManager, IEnterpriseEnrollmentManager_Vtbl, 0x20f9f390_2c69_41d8_88e6_e4b3884026cb); +windows_core::imp::define_interface!(IEnterpriseEnrollmentManager, IEnterpriseEnrollmentManager_Vtbl, 0x20f9f390_2c69_41d8_88e6_e4b3884026cb); #[repr(C)] pub struct IEnterpriseEnrollmentManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -22,14 +22,14 @@ pub struct IEnterpriseEnrollmentManager_Vtbl { pub RequestEnrollmentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IEnterpriseEnrollmentResult, IEnterpriseEnrollmentResult_Vtbl, 0x9ff71ce6_90db_4342_b326_1729aa91301c); +windows_core::imp::define_interface!(IEnterpriseEnrollmentResult, IEnterpriseEnrollmentResult_Vtbl, 0x9ff71ce6_90db_4342_b326_1729aa91301c); #[repr(C)] pub struct IEnterpriseEnrollmentResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub EnrolledEnterprise: 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 EnterpriseEnrollmentStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInstallationManagerStatics, IInstallationManagerStatics_Vtbl, 0x929aa738_8d49_42ac_80c9_b4ad793c43f2); +windows_core::imp::define_interface!(IInstallationManagerStatics, IInstallationManagerStatics_Vtbl, 0x929aa738_8d49_42ac_80c9_b4ad793c43f2); #[repr(C)] pub struct IInstallationManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -48,7 +48,7 @@ pub struct IInstallationManagerStatics_Vtbl { #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackages: usize, } -windows_core::imp::com_interface!(IInstallationManagerStatics2, IInstallationManagerStatics2_Vtbl, 0x7c6c2cbd_fa4a_4c8e_ab97_d959452f19e5); +windows_core::imp::define_interface!(IInstallationManagerStatics2, IInstallationManagerStatics2_Vtbl, 0x7c6c2cbd_fa4a_4c8e_ab97_d959452f19e5); #[repr(C)] pub struct IInstallationManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -65,7 +65,7 @@ pub struct IInstallationManagerStatics2_Vtbl { #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindPackagesByNamePublisher: usize, } -windows_core::imp::com_interface!(IPackageInstallResult, IPackageInstallResult_Vtbl, 0x33e8eed5_0f7e_4473_967c_7d6e1c0e7de1); +windows_core::imp::define_interface!(IPackageInstallResult, IPackageInstallResult_Vtbl, 0x33e8eed5_0f7e_4473_967c_7d6e1c0e7de1); #[repr(C)] pub struct IPackageInstallResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -75,7 +75,7 @@ pub struct IPackageInstallResult_Vtbl { #[cfg(not(feature = "Management_Deployment"))] InstallState: usize, } -windows_core::imp::com_interface!(IPackageInstallResult2, IPackageInstallResult2_Vtbl, 0x7149d909_3ff9_41ed_a717_2bc65ffc61d2); +windows_core::imp::define_interface!(IPackageInstallResult2, IPackageInstallResult2_Vtbl, 0x7149d909_3ff9_41ed_a717_2bc65ffc61d2); #[repr(C)] pub struct IPackageInstallResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 80571b3f25..21b4632093 100644 --- a/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Media/Devices/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAudioRoutingManager, IAudioRoutingManager_Vtbl, 0x79340d20_71cc_4526_9f29_fc8d2486418b); +windows_core::imp::define_interface!(IAudioRoutingManager, IAudioRoutingManager_Vtbl, 0x79340d20_71cc_4526_9f29_fc8d2486418b); #[repr(C)] pub struct IAudioRoutingManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct IAudioRoutingManager_Vtbl { pub RemoveAudioEndpointChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub AvailableAudioEndpoints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AvailableAudioRoutingEndpoints) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioRoutingManagerStatics, IAudioRoutingManagerStatics_Vtbl, 0x977fb2a4_5590_4a6f_adde_6a3d0ad58250); +windows_core::imp::define_interface!(IAudioRoutingManagerStatics, IAudioRoutingManagerStatics_Vtbl, 0x977fb2a4_5590_4a6f_adde_6a3d0ad58250); #[repr(C)] pub struct IAudioRoutingManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 e65cbaf47c..bb01bbca14 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAccessoryManager, IAccessoryManager_Vtbl, 0x0d04a12c_883d_4aa7_bca7_fa4bb8bffee6); +windows_core::imp::define_interface!(IAccessoryManager, IAccessoryManager_Vtbl, 0x0d04a12c_883d_4aa7_bca7_fa4bb8bffee6); #[repr(C)] pub struct IAccessoryManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,7 +56,7 @@ pub struct IAccessoryManager_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetAppIcon: usize, } -windows_core::imp::com_interface!(IAccessoryManager2, IAccessoryManager2_Vtbl, 0xbacad44d_d393_46c6_b80c_15fdf44d5386); +windows_core::imp::define_interface!(IAccessoryManager2, IAccessoryManager2_Vtbl, 0xbacad44d_d393_46c6_b80c_15fdf44d5386); #[repr(C)] pub struct IAccessoryManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,7 +88,7 @@ pub struct IAccessoryManager2_Vtbl { EnableEmailNotificationFolderFilter: usize, pub UpdateEmailReadStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccessoryManager3, IAccessoryManager3_Vtbl, 0x81f75137_edc7_47e0_b2f7_7e577c833f7d); +windows_core::imp::define_interface!(IAccessoryManager3, IAccessoryManager3_Vtbl, 0x81f75137_edc7_47e0_b2f7_7e577c833f7d); #[repr(C)] pub struct IAccessoryManager3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -97,7 +97,7 @@ pub struct IAccessoryManager3_Vtbl { 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, } -windows_core::imp::com_interface!(IAccessoryNotificationTriggerDetails, IAccessoryNotificationTriggerDetails_Vtbl, 0x6968a7d4_e3ca_49cb_8c87_2c11cdff9646); +windows_core::imp::define_interface!(IAccessoryNotificationTriggerDetails, IAccessoryNotificationTriggerDetails_Vtbl, 0x6968a7d4_e3ca_49cb_8c87_2c11cdff9646); windows_core::imp::interface_hierarchy!(IAccessoryNotificationTriggerDetails, windows_core::IUnknown, windows_core::IInspectable); impl IAccessoryNotificationTriggerDetails { pub fn TimeCreated(&self) -> windows_core::Result { @@ -153,7 +153,7 @@ pub struct IAccessoryNotificationTriggerDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IAlarmNotificationTriggerDetails, IAlarmNotificationTriggerDetails_Vtbl, 0x38f5fa30_c738_4da2_908c_775d83c36abb); +windows_core::imp::define_interface!(IAlarmNotificationTriggerDetails, IAlarmNotificationTriggerDetails_Vtbl, 0x38f5fa30_c738_4da2_908c_775d83c36abb); #[repr(C)] pub struct IAlarmNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -162,34 +162,34 @@ pub struct IAlarmNotificationTriggerDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IAlarmNotificationTriggerDetails2, IAlarmNotificationTriggerDetails2_Vtbl, 0xcf16e06a_7155_40fe_a9c2_7bd2127ef853); +windows_core::imp::define_interface!(IAlarmNotificationTriggerDetails2, IAlarmNotificationTriggerDetails2_Vtbl, 0xcf16e06a_7155_40fe_a9c2_7bd2127ef853); #[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, } -windows_core::imp::com_interface!(IAppNotificationInfo, IAppNotificationInfo_Vtbl, 0x2157bea5_e286_45d3_9bea_f790fc216e0e); +windows_core::imp::define_interface!(IAppNotificationInfo, IAppNotificationInfo_Vtbl, 0x2157bea5_e286_45d3_9bea_f790fc216e0e); #[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, } -windows_core::imp::com_interface!(IBinaryId, IBinaryId_Vtbl, 0x4f0da531_5595_44b4_9181_ce4efa3fc168); +windows_core::imp::define_interface!(IBinaryId, IBinaryId_Vtbl, 0x4f0da531_5595_44b4_9181_ce4efa3fc168); #[repr(C)] pub struct IBinaryId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICalendarChangedNotificationTriggerDetails, ICalendarChangedNotificationTriggerDetails_Vtbl, 0x4b8a3bfc_279d_42ab_9c68_3e87977bf216); +windows_core::imp::define_interface!(ICalendarChangedNotificationTriggerDetails, ICalendarChangedNotificationTriggerDetails_Vtbl, 0x4b8a3bfc_279d_42ab_9c68_3e87977bf216); #[repr(C)] 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, } -windows_core::imp::com_interface!(ICortanaTileNotificationTriggerDetails, ICortanaTileNotificationTriggerDetails_Vtbl, 0xdc0f01d5_1489_46bb_b73b_7f90067ecf27); +windows_core::imp::define_interface!(ICortanaTileNotificationTriggerDetails, ICortanaTileNotificationTriggerDetails_Vtbl, 0xdc0f01d5_1489_46bb_b73b_7f90067ecf27); #[repr(C)] pub struct ICortanaTileNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -204,21 +204,21 @@ pub struct ICortanaTileNotificationTriggerDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IEmailAccountInfo, IEmailAccountInfo_Vtbl, 0xdfbc02ab_bda0_4568_927e_b2ede35818a1); +windows_core::imp::define_interface!(IEmailAccountInfo, IEmailAccountInfo_Vtbl, 0xdfbc02ab_bda0_4568_927e_b2ede35818a1); #[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 IsNotificationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailFolderInfo, IEmailFolderInfo_Vtbl, 0xc207150e_e237_46d6_90e6_4f529eeac1e2); +windows_core::imp::define_interface!(IEmailFolderInfo, IEmailFolderInfo_Vtbl, 0xc207150e_e237_46d6_90e6_4f529eeac1e2); #[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 IsNotificationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailNotificationTriggerDetails, IEmailNotificationTriggerDetails_Vtbl, 0xf3b82612_46cf_4e70_8e0d_7b2e04ab492b); +windows_core::imp::define_interface!(IEmailNotificationTriggerDetails, IEmailNotificationTriggerDetails_Vtbl, 0xf3b82612_46cf_4e70_8e0d_7b2e04ab492b); #[repr(C)] pub struct IEmailNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -232,13 +232,13 @@ pub struct IEmailNotificationTriggerDetails_Vtbl { EmailMessage: usize, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailNotificationTriggerDetails2, IEmailNotificationTriggerDetails2_Vtbl, 0x168067e3_c56f_4ec7_bed1_f734e08de5b2); +windows_core::imp::define_interface!(IEmailNotificationTriggerDetails2, IEmailNotificationTriggerDetails2_Vtbl, 0x168067e3_c56f_4ec7_bed1_f734e08de5b2); #[repr(C)] pub struct IEmailNotificationTriggerDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MessageEntryId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmailReadNotificationTriggerDetails, IEmailReadNotificationTriggerDetails_Vtbl, 0xf5b7a087_06f3_4e3e_8c42_325e67010413); +windows_core::imp::define_interface!(IEmailReadNotificationTriggerDetails, IEmailReadNotificationTriggerDetails_Vtbl, 0xf5b7a087_06f3_4e3e_8c42_325e67010413); #[repr(C)] pub struct IEmailReadNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -247,14 +247,14 @@ pub struct IEmailReadNotificationTriggerDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaControlsTriggerDetails, IMediaControlsTriggerDetails_Vtbl, 0xfab4648b_ae45_4548_91ca_4ab0548e33b5); +windows_core::imp::define_interface!(IMediaControlsTriggerDetails, IMediaControlsTriggerDetails_Vtbl, 0xfab4648b_ae45_4548_91ca_4ab0548e33b5); #[repr(C)] pub struct IMediaControlsTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PlaybackStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PlaybackStatus) -> windows_core::HRESULT, pub MediaMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaMetadata, IMediaMetadata_Vtbl, 0x9b50ddf7_bb6c_4330_b3cd_0704a54cdb80); +windows_core::imp::define_interface!(IMediaMetadata, IMediaMetadata_Vtbl, 0x9b50ddf7_bb6c_4330_b3cd_0704a54cdb80); #[repr(C)] pub struct IMediaMetadata_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -269,7 +269,7 @@ pub struct IMediaMetadata_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Thumbnail: usize, } -windows_core::imp::com_interface!(IPhoneCallDetails, IPhoneCallDetails_Vtbl, 0x0c1b6f53_f071_483e_bf33_ebd44b724447); +windows_core::imp::define_interface!(IPhoneCallDetails, IPhoneCallDetails_Vtbl, 0x0c1b6f53_f071_483e_bf33_ebd44b724447); #[repr(C)] pub struct IPhoneCallDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -289,7 +289,7 @@ pub struct IPhoneCallDetails_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PresetTextResponses: usize, } -windows_core::imp::com_interface!(IPhoneLineDetails, IPhoneLineDetails_Vtbl, 0x47eb32dc_33ed_49b9_995c_a296bac82b77); +windows_core::imp::define_interface!(IPhoneLineDetails, IPhoneLineDetails_Vtbl, 0x47eb32dc_33ed_49b9_995c_a296bac82b77); #[repr(C)] pub struct IPhoneLineDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -300,13 +300,13 @@ pub struct IPhoneLineDetails_Vtbl { 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, } -windows_core::imp::com_interface!(IPhoneLineDetails2, IPhoneLineDetails2_Vtbl, 0xb30cd77d_0147_498c_8241_bf0cabc60a25); +windows_core::imp::define_interface!(IPhoneLineDetails2, IPhoneLineDetails2_Vtbl, 0xb30cd77d_0147_498c_8241_bf0cabc60a25); #[repr(C)] pub struct IPhoneLineDetails2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MissedCallCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhoneNotificationTriggerDetails, IPhoneNotificationTriggerDetails_Vtbl, 0xccc2fdf7_09c3_4118_91bc_ca6323a8d383); +windows_core::imp::define_interface!(IPhoneNotificationTriggerDetails, IPhoneNotificationTriggerDetails_Vtbl, 0xccc2fdf7_09c3_4118_91bc_ca6323a8d383); #[repr(C)] pub struct IPhoneNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -314,7 +314,7 @@ pub struct IPhoneNotificationTriggerDetails_Vtbl { pub CallDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PhoneLineChangedId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReminderNotificationTriggerDetails, IReminderNotificationTriggerDetails_Vtbl, 0x5bddaa5d_9f61_4bf0_9feb_10502bc0b0c2); +windows_core::imp::define_interface!(IReminderNotificationTriggerDetails, IReminderNotificationTriggerDetails_Vtbl, 0x5bddaa5d_9f61_4bf0_9feb_10502bc0b0c2); #[repr(C)] pub struct IReminderNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -329,13 +329,13 @@ pub struct IReminderNotificationTriggerDetails_Vtbl { Appointment: usize, pub ReminderState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ReminderState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReminderNotificationTriggerDetails2, IReminderNotificationTriggerDetails2_Vtbl, 0xe715f9c0_504d_4c0f_a6b3_bcb9722c6cdd); +windows_core::imp::define_interface!(IReminderNotificationTriggerDetails2, IReminderNotificationTriggerDetails2_Vtbl, 0xe715f9c0_504d_4c0f_a6b3_bcb9722c6cdd); #[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, } -windows_core::imp::com_interface!(ISpeedDialEntry, ISpeedDialEntry_Vtbl, 0x9240b6db_872c_46dc_b62a_be4541b166f8); +windows_core::imp::define_interface!(ISpeedDialEntry, ISpeedDialEntry_Vtbl, 0x9240b6db_872c_46dc_b62a_be4541b166f8); #[repr(C)] pub struct ISpeedDialEntry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -343,14 +343,14 @@ pub struct ISpeedDialEntry_Vtbl { 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, } -windows_core::imp::com_interface!(ITextResponse, ITextResponse_Vtbl, 0xe9cb74c3_2457_4cdb_8110_72f5e8e883e8); +windows_core::imp::define_interface!(ITextResponse, ITextResponse_Vtbl, 0xe9cb74c3_2457_4cdb_8110_72f5e8e883e8); #[repr(C)] 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, } -windows_core::imp::com_interface!(IToastNotificationTriggerDetails, IToastNotificationTriggerDetails_Vtbl, 0xc9314895_4e6d_4e9d_afec_9e921b875ae8); +windows_core::imp::define_interface!(IToastNotificationTriggerDetails, IToastNotificationTriggerDetails_Vtbl, 0xc9314895_4e6d_4e9d_afec_9e921b875ae8); #[repr(C)] pub struct IToastNotificationTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -360,13 +360,13 @@ pub struct IToastNotificationTriggerDetails_Vtbl { pub Text4: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub SuppressPopup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastNotificationTriggerDetails2, IToastNotificationTriggerDetails2_Vtbl, 0x3e0479dd_cac4_4f60_afa3_b925d9d83c93); +windows_core::imp::define_interface!(IToastNotificationTriggerDetails2, IToastNotificationTriggerDetails2_Vtbl, 0x3e0479dd_cac4_4f60_afa3_b925d9d83c93); #[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, } -windows_core::imp::com_interface!(IVolumeInfo, IVolumeInfo_Vtbl, 0x944dd118_7704_4481_b92e_d3ed3ece6322); +windows_core::imp::define_interface!(IVolumeInfo, IVolumeInfo_Vtbl, 0x944dd118_7704_4481_b92e_d3ed3ece6322); #[repr(C)] pub struct IVolumeInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 534e803661..b46fa1a030 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/Provisioning/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IContactPartnerProvisioningManagerStatics, IContactPartnerProvisioningManagerStatics_Vtbl, 0xc0d79a21_01af_4fd3_98cd_b3d656de15f4); +windows_core::imp::define_interface!(IContactPartnerProvisioningManagerStatics, IContactPartnerProvisioningManagerStatics_Vtbl, 0xc0d79a21_01af_4fd3_98cd_b3d656de15f4); #[repr(C)] pub struct IContactPartnerProvisioningManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,13 +8,13 @@ pub struct IContactPartnerProvisioningManagerStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ImportVcardToSystemAsync: usize, } -windows_core::imp::com_interface!(IContactPartnerProvisioningManagerStatics2, IContactPartnerProvisioningManagerStatics2_Vtbl, 0xc26155f7_55ed_475d_9334_c5d484c30f1a); +windows_core::imp::define_interface!(IContactPartnerProvisioningManagerStatics2, IContactPartnerProvisioningManagerStatics2_Vtbl, 0xc26155f7_55ed_475d_9334_c5d484c30f1a); #[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, } -windows_core::imp::com_interface!(IMessagePartnerProvisioningManagerStatics, IMessagePartnerProvisioningManagerStatics_Vtbl, 0x8a1b0850_73c5_457c_bc59_ed7d615c05a4); +windows_core::imp::define_interface!(IMessagePartnerProvisioningManagerStatics, IMessagePartnerProvisioningManagerStatics_Vtbl, 0x8a1b0850_73c5_457c_bc59_ed7d615c05a4); #[repr(C)] pub struct IMessagePartnerProvisioningManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs index e7ad68e315..06755a3d55 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Phone_PersonalInformation_Provisioning")] pub mod Provisioning; -windows_core::imp::com_interface!(IContactAddress, IContactAddress_Vtbl, 0x5f24f927_94a9_44a2_a155_2d0b37d1dccd); +windows_core::imp::define_interface!(IContactAddress, IContactAddress_Vtbl, 0x5f24f927_94a9_44a2_a155_2d0b37d1dccd); #[repr(C)] pub struct IContactAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -15,7 +15,7 @@ pub struct IContactAddress_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, } -windows_core::imp::com_interface!(IContactChangeRecord, IContactChangeRecord_Vtbl, 0xb9d3f78f_513b_4742_be00_cc5c5c236b04); +windows_core::imp::define_interface!(IContactChangeRecord, IContactChangeRecord_Vtbl, 0xb9d3f78f_513b_4742_be00_cc5c5c236b04); #[repr(C)] pub struct IContactChangeRecord_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -24,7 +24,7 @@ pub struct IContactChangeRecord_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, } -windows_core::imp::com_interface!(IContactInformation, IContactInformation_Vtbl, 0xe2b51ffc_e792_4ab7_b15b_f2e078664dea); +windows_core::imp::define_interface!(IContactInformation, IContactInformation_Vtbl, 0xe2b51ffc_e792_4ab7_b15b_f2e078664dea); windows_core::imp::interface_hierarchy!(IContactInformation, windows_core::IUnknown, windows_core::IInspectable); impl IContactInformation { pub fn DisplayName(&self) -> windows_core::Result { @@ -175,7 +175,7 @@ pub struct IContactInformation_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ToVcardWithOptionsAsync: usize, } -windows_core::imp::com_interface!(IContactInformation2, IContactInformation2_Vtbl, 0x3198b20c_621e_4668_ac38_d667b87d06d5); +windows_core::imp::define_interface!(IContactInformation2, IContactInformation2_Vtbl, 0x3198b20c_621e_4668_ac38_d667b87d06d5); windows_core::imp::interface_hierarchy!(IContactInformation2, windows_core::IUnknown, windows_core::IInspectable); impl IContactInformation2 { pub fn DisplayPictureDate(&self) -> windows_core::Result { @@ -199,7 +199,7 @@ pub struct IContactInformation2_Vtbl { pub DisplayPictureDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub SetDisplayPictureDate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactInformationStatics, IContactInformationStatics_Vtbl, 0x0f67bb29_03d0_4be6_b2a5_fb13859f1202); +windows_core::imp::define_interface!(IContactInformationStatics, IContactInformationStatics_Vtbl, 0x0f67bb29_03d0_4be6_b2a5_fb13859f1202); #[repr(C)] pub struct IContactInformationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -208,7 +208,7 @@ pub struct IContactInformationStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ParseVcardAsync: usize, } -windows_core::imp::com_interface!(IContactQueryOptions, IContactQueryOptions_Vtbl, 0x580cab76_3f31_46c1_9a50_424a53dacae3); +windows_core::imp::define_interface!(IContactQueryOptions, IContactQueryOptions_Vtbl, 0x580cab76_3f31_46c1_9a50_424a53dacae3); #[repr(C)] pub struct IContactQueryOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -219,7 +219,7 @@ pub struct IContactQueryOptions_Vtbl { pub OrderBy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ContactQueryResultOrdering) -> windows_core::HRESULT, pub SetOrderBy: unsafe extern "system" fn(*mut core::ffi::c_void, ContactQueryResultOrdering) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactQueryResult, IContactQueryResult_Vtbl, 0xc03db722_ecdb_4700_857e_3e786426b04b); +windows_core::imp::define_interface!(IContactQueryResult, IContactQueryResult_Vtbl, 0xc03db722_ecdb_4700_857e_3e786426b04b); #[repr(C)] pub struct IContactQueryResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -234,7 +234,7 @@ pub struct IContactQueryResult_Vtbl { GetContactsAsyncInRange: usize, pub GetCurrentQueryOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactStore, IContactStore_Vtbl, 0xb2cd6fef_2bfd_4fad_8552_4e698097e8eb); +windows_core::imp::define_interface!(IContactStore, IContactStore_Vtbl, 0xb2cd6fef_2bfd_4fad_8552_4e698097e8eb); #[repr(C)] pub struct IContactStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -258,20 +258,20 @@ pub struct IContactStore_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SaveExtendedPropertiesAsync: usize, } -windows_core::imp::com_interface!(IContactStore2, IContactStore2_Vtbl, 0x65f1b64f_d653_43a7_b236_b30c0f4d7269); +windows_core::imp::define_interface!(IContactStore2, IContactStore2_Vtbl, 0x65f1b64f_d653_43a7_b236_b30c0f4d7269); #[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, } -windows_core::imp::com_interface!(IContactStoreStatics, IContactStoreStatics_Vtbl, 0xa804fe22_4beb_44cc_a572_67a5b92e8567); +windows_core::imp::define_interface!(IContactStoreStatics, IContactStoreStatics_Vtbl, 0xa804fe22_4beb_44cc_a572_67a5b92e8567); #[repr(C)] pub struct IContactStoreStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateOrOpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateOrOpenWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, ContactStoreSystemAccessMode, ContactStoreApplicationAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownContactPropertiesStatics, IKnownContactPropertiesStatics_Vtbl, 0xd5812b01_2ced_4ee6_b1d6_094bf88ef0b6); +windows_core::imp::define_interface!(IKnownContactPropertiesStatics, IKnownContactPropertiesStatics_Vtbl, 0xd5812b01_2ced_4ee6_b1d6_094bf88ef0b6); #[repr(C)] pub struct IKnownContactPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -311,7 +311,7 @@ pub struct IKnownContactPropertiesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IStoredContact, IStoredContact_Vtbl, 0xb070b7b1_263d_4e71_abe7_591d2466570e); +windows_core::imp::define_interface!(IStoredContact, IStoredContact_Vtbl, 0xb070b7b1_263d_4e71_abe7_591d2466570e); #[repr(C)] pub struct IStoredContact_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -326,7 +326,7 @@ pub struct IStoredContact_Vtbl { 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, } -windows_core::imp::com_interface!(IStoredContactFactory, IStoredContactFactory_Vtbl, 0x49ede921_c225_4fd9_89c5_cecc2c8a4b79); +windows_core::imp::define_interface!(IStoredContactFactory, IStoredContactFactory_Vtbl, 0x49ede921_c225_4fd9_89c5_cecc2c8a4b79); #[repr(C)] pub struct IStoredContactFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs index 6f52d6bc94..b2833689c5 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDualSimTile, IDualSimTile_Vtbl, 0x143ab213_d05f_4041_a18c_3e3fcb75b41e); +windows_core::imp::define_interface!(IDualSimTile, IDualSimTile_Vtbl, 0x143ab213_d05f_4041_a18c_3e3fcb75b41e); #[repr(C)] pub struct IDualSimTile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IDualSimTile_Vtbl { pub UpdateAsync: 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, } -windows_core::imp::com_interface!(IDualSimTileStatics, IDualSimTileStatics_Vtbl, 0x50567c9e_c58f_4dc9_b6e8_fa6777eeeb37); +windows_core::imp::define_interface!(IDualSimTileStatics, IDualSimTileStatics_Vtbl, 0x50567c9e_c58f_4dc9_b6e8_fa6777eeeb37); #[repr(C)] pub struct IDualSimTileStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -40,7 +40,7 @@ pub struct IDualSimTileStatics_Vtbl { #[cfg(not(feature = "UI_Notifications"))] CreateToastNotifierForSim2: usize, } -windows_core::imp::com_interface!(IToastNotificationManagerStatics3, IToastNotificationManagerStatics3_Vtbl, 0x2717f54b_50df_4455_8e6e_41e0fc8e13ce); +windows_core::imp::define_interface!(IToastNotificationManagerStatics3, IToastNotificationManagerStatics3_Vtbl, 0x2717f54b_50df_4455_8e6e_41e0fc8e13ce); windows_core::imp::interface_hierarchy!(IToastNotificationManagerStatics3, windows_core::IUnknown, windows_core::IInspectable); impl IToastNotificationManagerStatics3 { #[cfg(feature = "UI_Notifications")] 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 a4bc922144..efd9102ffe 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Power/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPowerManagerStatics, IPowerManagerStatics_Vtbl, 0x25de8fd0_1c5b_11e1_bddb_0800200c9a66); +windows_core::imp::define_interface!(IPowerManagerStatics, IPowerManagerStatics_Vtbl, 0x25de8fd0_1c5b_11e1_bddb_0800200c9a66); #[repr(C)] pub struct IPowerManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,7 +6,7 @@ pub struct IPowerManagerStatics_Vtbl { pub PowerSavingModeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePowerSavingModeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPowerManagerStatics2, IPowerManagerStatics2_Vtbl, 0x596236cf_1918_4551_a466_c51aae373bf8); +windows_core::imp::define_interface!(IPowerManagerStatics2, IPowerManagerStatics2_Vtbl, 0x596236cf_1918_4551_a466_c51aae373bf8); #[repr(C)] pub struct IPowerManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 968208edef..595b0c430c 100644 --- a/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/Profile/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IRetailModeStatics, IRetailModeStatics_Vtbl, 0xd7ded029_fdda_43e7_93fb_e53ab6e89ec3); +windows_core::imp::define_interface!(IRetailModeStatics, IRetailModeStatics_Vtbl, 0xd7ded029_fdda_43e7_93fb_e53ab6e89ec3); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IRetailModeStatics_Vtbl { 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 c119a9fbac..c29a64b566 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 @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGameService, IGameService_Vtbl, 0x2e2d5098_48a9_4efc_afd6_8e6da09003fb); +windows_core::imp::define_interface!(IGameService, IGameService_Vtbl, 0x2e2d5098_48a9_4efc_afd6_8e6da09003fb); #[repr(C)] pub struct IGameService_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -14,14 +14,14 @@ pub struct IGameService_Vtbl { #[cfg(not(feature = "Storage_Streams"))] PostResult: usize, } -windows_core::imp::com_interface!(IGameService2, IGameService2_Vtbl, 0xd2364ef6_ea17_4be5_8d8a_c860885e051f); +windows_core::imp::define_interface!(IGameService2, IGameService2_Vtbl, 0xd2364ef6_ea17_4be5_8d8a_c860885e051f); #[repr(C)] pub struct IGameService2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NotifyPartnerTokenExpired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAuthenticationStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameServicePropertyCollection, IGameServicePropertyCollection_Vtbl, 0x07e57fc8_debb_4609_9cc8_529d16bc2bd9); +windows_core::imp::define_interface!(IGameServicePropertyCollection, IGameServicePropertyCollection_Vtbl, 0x07e57fc8_debb_4609_9cc8_529d16bc2bd9); #[repr(C)] pub struct IGameServicePropertyCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Phone/System/mod.rs b/crates/libs/windows/src/Windows/Phone/System/mod.rs index c2a661bb75..fe626bfc5a 100644 --- a/crates/libs/windows/src/Windows/Phone/System/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/System/mod.rs @@ -4,13 +4,13 @@ pub mod Power; pub mod Profile; #[cfg(feature = "Phone_System_UserProfile")] pub mod UserProfile; -windows_core::imp::com_interface!(ISystemProtectionStatics, ISystemProtectionStatics_Vtbl, 0x49c36560_97e1_4d99_8bfb_befeaa6ace6d); +windows_core::imp::define_interface!(ISystemProtectionStatics, ISystemProtectionStatics_Vtbl, 0x49c36560_97e1_4d99_8bfb_befeaa6ace6d); #[repr(C)] pub struct ISystemProtectionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ScreenLocked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemProtectionUnlockStatics, ISystemProtectionUnlockStatics_Vtbl, 0x0692fa3f_8f11_4c4b_aa0d_87d7af7b1779); +windows_core::imp::define_interface!(ISystemProtectionUnlockStatics, ISystemProtectionUnlockStatics_Vtbl, 0x0692fa3f_8f11_4c4b_aa0d_87d7af7b1779); #[repr(C)] pub struct ISystemProtectionUnlockStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 fa50eb2a73..622f2fa844 100644 --- a/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/Phone/UI/Input/mod.rs @@ -1,23 +1,23 @@ -windows_core::imp::com_interface!(IBackPressedEventArgs, IBackPressedEventArgs_Vtbl, 0xf6f555ff_64ec_42a2_b93b_2fbc0c36a121); +windows_core::imp::define_interface!(IBackPressedEventArgs, IBackPressedEventArgs_Vtbl, 0xf6f555ff_64ec_42a2_b93b_2fbc0c36a121); #[repr(C)] pub struct IBackPressedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICameraEventArgs, ICameraEventArgs_Vtbl, 0xb4063bda_201f_473d_bc69_e9e4ac57c9d0); +windows_core::imp::define_interface!(ICameraEventArgs, ICameraEventArgs_Vtbl, 0xb4063bda_201f_473d_bc69_e9e4ac57c9d0); #[repr(C)] pub struct ICameraEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IHardwareButtonsStatics, IHardwareButtonsStatics_Vtbl, 0x594b8780_da66_4fd8_a776_7506bd0cbfa7); +windows_core::imp::define_interface!(IHardwareButtonsStatics, IHardwareButtonsStatics_Vtbl, 0x594b8780_da66_4fd8_a776_7506bd0cbfa7); #[repr(C)] pub struct IHardwareButtonsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BackPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveBackPressed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHardwareButtonsStatics2, IHardwareButtonsStatics2_Vtbl, 0x39c6c274_993f_40dd_854c_831a8934b92e); +windows_core::imp::define_interface!(IHardwareButtonsStatics2, IHardwareButtonsStatics2_Vtbl, 0x39c6c274_993f_40dd_854c_831a8934b92e); #[repr(C)] pub struct IHardwareButtonsStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 912e5eb9da..23b979f817 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 @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IMicrosoftAccountMultiFactorAuthenticationManager, IMicrosoftAccountMultiFactorAuthenticationManager_Vtbl, 0x0fd340a5_f574_4320_a08e_0a19a82322aa); +windows_core::imp::define_interface!(IMicrosoftAccountMultiFactorAuthenticationManager, IMicrosoftAccountMultiFactorAuthenticationManager_Vtbl, 0x0fd340a5_f574_4320_a08e_0a19a82322aa); #[repr(C)] pub struct IMicrosoftAccountMultiFactorAuthenticationManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,13 +19,13 @@ pub struct IMicrosoftAccountMultiFactorAuthenticationManager_Vtbl { 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, } -windows_core::imp::com_interface!(IMicrosoftAccountMultiFactorAuthenticatorStatics, IMicrosoftAccountMultiFactorAuthenticatorStatics_Vtbl, 0xd964c2e6_f446_4c71_8b79_6ea4024aa9b8); +windows_core::imp::define_interface!(IMicrosoftAccountMultiFactorAuthenticatorStatics, IMicrosoftAccountMultiFactorAuthenticatorStatics_Vtbl, 0xd964c2e6_f446_4c71_8b79_6ea4024aa9b8); #[repr(C)] pub struct IMicrosoftAccountMultiFactorAuthenticatorStatics_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, } -windows_core::imp::com_interface!(IMicrosoftAccountMultiFactorGetSessionsResult, IMicrosoftAccountMultiFactorGetSessionsResult_Vtbl, 0x4e23a9a0_e9fa_497a_95de_6d5747bf974c); +windows_core::imp::define_interface!(IMicrosoftAccountMultiFactorGetSessionsResult, IMicrosoftAccountMultiFactorGetSessionsResult_Vtbl, 0x4e23a9a0_e9fa_497a_95de_6d5747bf974c); #[repr(C)] pub struct IMicrosoftAccountMultiFactorGetSessionsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,7 +35,7 @@ pub struct IMicrosoftAccountMultiFactorGetSessionsResult_Vtbl { Sessions: usize, pub ServiceResponse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MicrosoftAccountMultiFactorServiceResponse) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMicrosoftAccountMultiFactorOneTimeCodedInfo, IMicrosoftAccountMultiFactorOneTimeCodedInfo_Vtbl, 0x82ba264b_d87c_4668_a976_40cfae547d08); +windows_core::imp::define_interface!(IMicrosoftAccountMultiFactorOneTimeCodedInfo, IMicrosoftAccountMultiFactorOneTimeCodedInfo_Vtbl, 0x82ba264b_d87c_4668_a976_40cfae547d08); #[repr(C)] pub struct IMicrosoftAccountMultiFactorOneTimeCodedInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,7 +44,7 @@ pub struct IMicrosoftAccountMultiFactorOneTimeCodedInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IMicrosoftAccountMultiFactorSessionInfo, IMicrosoftAccountMultiFactorSessionInfo_Vtbl, 0x5f7eabb4_a278_4635_b765_b494eb260af4); +windows_core::imp::define_interface!(IMicrosoftAccountMultiFactorSessionInfo, IMicrosoftAccountMultiFactorSessionInfo_Vtbl, 0x5f7eabb4_a278_4635_b765_b494eb260af4); #[repr(C)] pub struct IMicrosoftAccountMultiFactorSessionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,7 +56,7 @@ pub struct IMicrosoftAccountMultiFactorSessionInfo_Vtbl { pub RequestTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::DateTime) -> windows_core::HRESULT, pub ExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo, IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo_Vtbl, 0xaa7ec5fb_da3f_4088_a20d_5618afadb2e5); +windows_core::imp::define_interface!(IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo, IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo_Vtbl, 0xaa7ec5fb_da3f_4088_a20d_5618afadb2e5); #[repr(C)] pub struct IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 9ad28623d3..71b4650c2a 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Identity/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Security_Authentication_Identity_Core")] pub mod Core; -windows_core::imp::com_interface!(IEnterpriseKeyCredentialRegistrationInfo, IEnterpriseKeyCredentialRegistrationInfo_Vtbl, 0x38321acc_672b_4823_b603_6b3c753daf97); +windows_core::imp::define_interface!(IEnterpriseKeyCredentialRegistrationInfo, IEnterpriseKeyCredentialRegistrationInfo_Vtbl, 0x38321acc_672b_4823_b603_6b3c753daf97); #[repr(C)] pub struct IEnterpriseKeyCredentialRegistrationInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -10,7 +10,7 @@ pub struct IEnterpriseKeyCredentialRegistrationInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IEnterpriseKeyCredentialRegistrationManager, IEnterpriseKeyCredentialRegistrationManager_Vtbl, 0x83f3be3f_a25f_4cba_bb8e_bdc32d03c297); +windows_core::imp::define_interface!(IEnterpriseKeyCredentialRegistrationManager, IEnterpriseKeyCredentialRegistrationManager_Vtbl, 0x83f3be3f_a25f_4cba_bb8e_bdc32d03c297); #[repr(C)] pub struct IEnterpriseKeyCredentialRegistrationManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,7 +19,7 @@ pub struct IEnterpriseKeyCredentialRegistrationManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetRegistrationsAsync: usize, } -windows_core::imp::com_interface!(IEnterpriseKeyCredentialRegistrationManagerStatics, IEnterpriseKeyCredentialRegistrationManagerStatics_Vtbl, 0x77b85e9e_acf4_4bc0_bac2_40bb46efbb3f); +windows_core::imp::define_interface!(IEnterpriseKeyCredentialRegistrationManagerStatics, IEnterpriseKeyCredentialRegistrationManagerStatics_Vtbl, 0x77b85e9e_acf4_4bc0_bac2_40bb46efbb3f); #[repr(C)] pub struct IEnterpriseKeyCredentialRegistrationManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 64374bb031..575365b2f9 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/OnlineId/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IOnlineIdAuthenticator, IOnlineIdAuthenticator_Vtbl, 0xa003f58a_29ab_4817_b884_d7516dad18b9); +windows_core::imp::define_interface!(IOnlineIdAuthenticator, IOnlineIdAuthenticator_Vtbl, 0xa003f58a_29ab_4817_b884_d7516dad18b9); #[repr(C)] pub struct IOnlineIdAuthenticator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -13,7 +13,7 @@ pub struct IOnlineIdAuthenticator_Vtbl { 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, } -windows_core::imp::com_interface!(IOnlineIdServiceTicket, IOnlineIdServiceTicket_Vtbl, 0xc95c547f_d781_4a94_acb8_c59874238c26); +windows_core::imp::define_interface!(IOnlineIdServiceTicket, IOnlineIdServiceTicket_Vtbl, 0xc95c547f_d781_4a94_acb8_c59874238c26); #[repr(C)] pub struct IOnlineIdServiceTicket_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -21,21 +21,21 @@ pub struct IOnlineIdServiceTicket_Vtbl { 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, } -windows_core::imp::com_interface!(IOnlineIdServiceTicketRequest, IOnlineIdServiceTicketRequest_Vtbl, 0x297445d3_fb63_4135_8909_4e354c061466); +windows_core::imp::define_interface!(IOnlineIdServiceTicketRequest, IOnlineIdServiceTicketRequest_Vtbl, 0x297445d3_fb63_4135_8909_4e354c061466); #[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, } -windows_core::imp::com_interface!(IOnlineIdServiceTicketRequestFactory, IOnlineIdServiceTicketRequestFactory_Vtbl, 0xbebb0a08_9e73_4077_9614_08614c0bc245); +windows_core::imp::define_interface!(IOnlineIdServiceTicketRequestFactory, IOnlineIdServiceTicketRequestFactory_Vtbl, 0xbebb0a08_9e73_4077_9614_08614c0bc245); #[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, } -windows_core::imp::com_interface!(IOnlineIdSystemAuthenticatorForUser, IOnlineIdSystemAuthenticatorForUser_Vtbl, 0x5798befb_1de4_4186_a2e6_b563f86aaf44); +windows_core::imp::define_interface!(IOnlineIdSystemAuthenticatorForUser, IOnlineIdSystemAuthenticatorForUser_Vtbl, 0x5798befb_1de4_4186_a2e6_b563f86aaf44); #[repr(C)] pub struct IOnlineIdSystemAuthenticatorForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -47,7 +47,7 @@ pub struct IOnlineIdSystemAuthenticatorForUser_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IOnlineIdSystemAuthenticatorStatics, IOnlineIdSystemAuthenticatorStatics_Vtbl, 0x85047792_f634_41e3_96a4_5164e902c740); +windows_core::imp::define_interface!(IOnlineIdSystemAuthenticatorStatics, IOnlineIdSystemAuthenticatorStatics_Vtbl, 0x85047792_f634_41e3_96a4_5164e902c740); #[repr(C)] pub struct IOnlineIdSystemAuthenticatorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,14 +57,14 @@ pub struct IOnlineIdSystemAuthenticatorStatics_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IOnlineIdSystemIdentity, IOnlineIdSystemIdentity_Vtbl, 0x743cd20d_b6ca_434d_8124_53ea12685307); +windows_core::imp::define_interface!(IOnlineIdSystemIdentity, IOnlineIdSystemIdentity_Vtbl, 0x743cd20d_b6ca_434d_8124_53ea12685307); #[repr(C)] 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, } -windows_core::imp::com_interface!(IOnlineIdSystemTicketResult, IOnlineIdSystemTicketResult_Vtbl, 0xdb0a5ff8_b098_4acd_9d13_9e640652b5b6); +windows_core::imp::define_interface!(IOnlineIdSystemTicketResult, IOnlineIdSystemTicketResult_Vtbl, 0xdb0a5ff8_b098_4acd_9d13_9e640652b5b6); #[repr(C)] pub struct IOnlineIdSystemTicketResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -72,7 +72,7 @@ pub struct IOnlineIdSystemTicketResult_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OnlineIdSystemTicketStatus) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserIdentity, IUserIdentity_Vtbl, 0x2146d9cd_0742_4be3_8a1c_7c7ae679aa88); +windows_core::imp::define_interface!(IUserIdentity, IUserIdentity_Vtbl, 0x2146d9cd_0742_4be3_8a1c_7c7ae679aa88); #[repr(C)] pub struct IUserIdentity_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 a2ef811bb9..847c1f9381 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 @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IFindAllAccountsResult, IFindAllAccountsResult_Vtbl, 0xa5812b5d_b72e_420c_86ab_aac0d7b7261f); +windows_core::imp::define_interface!(IFindAllAccountsResult, IFindAllAccountsResult_Vtbl, 0xa5812b5d_b72e_420c_86ab_aac0d7b7261f); #[repr(C)] pub struct IFindAllAccountsResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IFindAllAccountsResult_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FindAllWebAccountsStatus) -> windows_core::HRESULT, pub ProviderError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountEventArgs, IWebAccountEventArgs_Vtbl, 0x6fb7037d_424e_44ec_977c_ef2415462a5a); +windows_core::imp::define_interface!(IWebAccountEventArgs, IWebAccountEventArgs_Vtbl, 0x6fb7037d_424e_44ec_977c_ef2415462a5a); #[repr(C)] pub struct IWebAccountEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,7 +18,7 @@ pub struct IWebAccountEventArgs_Vtbl { #[cfg(not(feature = "Security_Credentials"))] Account: usize, } -windows_core::imp::com_interface!(IWebAccountMonitor, IWebAccountMonitor_Vtbl, 0x7445f5fd_aa9d_4619_8d5d_c138a4ede3e5); +windows_core::imp::define_interface!(IWebAccountMonitor, IWebAccountMonitor_Vtbl, 0x7445f5fd_aa9d_4619_8d5d_c138a4ede3e5); #[repr(C)] pub struct IWebAccountMonitor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -29,14 +29,14 @@ pub struct IWebAccountMonitor_Vtbl { pub DefaultSignInAccountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDefaultSignInAccountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountMonitor2, IWebAccountMonitor2_Vtbl, 0xa7adc1f8_24b8_4f01_9ae5_24545e71233a); +windows_core::imp::define_interface!(IWebAccountMonitor2, IWebAccountMonitor2_Vtbl, 0xa7adc1f8_24b8_4f01_9ae5_24545e71233a); #[repr(C)] pub struct IWebAccountMonitor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AccountPictureUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAccountPictureUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAuthenticationCoreManagerStatics, IWebAuthenticationCoreManagerStatics_Vtbl, 0x6aca7c92_a581_4479_9c10_752eff44fd34); +windows_core::imp::define_interface!(IWebAuthenticationCoreManagerStatics, IWebAuthenticationCoreManagerStatics_Vtbl, 0x6aca7c92_a581_4479_9c10_752eff44fd34); #[repr(C)] pub struct IWebAuthenticationCoreManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -63,7 +63,7 @@ pub struct IWebAuthenticationCoreManagerStatics_Vtbl { #[cfg(not(feature = "Security_Credentials"))] FindAccountProviderWithAuthorityAsync: usize, } -windows_core::imp::com_interface!(IWebAuthenticationCoreManagerStatics2, IWebAuthenticationCoreManagerStatics2_Vtbl, 0xf584184a_8b57_4820_b6a4_70a5b6fcf44a); +windows_core::imp::define_interface!(IWebAuthenticationCoreManagerStatics2, IWebAuthenticationCoreManagerStatics2_Vtbl, 0xf584184a_8b57_4820_b6a4_70a5b6fcf44a); #[repr(C)] pub struct IWebAuthenticationCoreManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -72,7 +72,7 @@ pub struct IWebAuthenticationCoreManagerStatics2_Vtbl { #[cfg(not(all(feature = "Security_Credentials", feature = "System")))] FindAccountProviderWithAuthorityForUserAsync: usize, } -windows_core::imp::com_interface!(IWebAuthenticationCoreManagerStatics3, IWebAuthenticationCoreManagerStatics3_Vtbl, 0x2404eeb2_8924_4d93_ab3a_99688b419d56); +windows_core::imp::define_interface!(IWebAuthenticationCoreManagerStatics3, IWebAuthenticationCoreManagerStatics3_Vtbl, 0x2404eeb2_8924_4d93_ab3a_99688b419d56); #[repr(C)] pub struct IWebAuthenticationCoreManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -81,7 +81,7 @@ pub struct IWebAuthenticationCoreManagerStatics3_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials")))] CreateWebAccountMonitor: usize, } -windows_core::imp::com_interface!(IWebAuthenticationCoreManagerStatics4, IWebAuthenticationCoreManagerStatics4_Vtbl, 0x54e633fe_96e0_41e8_9832_1298897c2aaf); +windows_core::imp::define_interface!(IWebAuthenticationCoreManagerStatics4, IWebAuthenticationCoreManagerStatics4_Vtbl, 0x54e633fe_96e0_41e8_9832_1298897c2aaf); #[repr(C)] pub struct IWebAuthenticationCoreManagerStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -106,7 +106,7 @@ pub struct IWebAuthenticationCoreManagerStatics4_Vtbl { #[cfg(not(all(feature = "Security_Credentials", feature = "System")))] FindSystemAccountProviderWithAuthorityForUserAsync: usize, } -windows_core::imp::com_interface!(IWebProviderError, IWebProviderError_Vtbl, 0xdb191bb1_50c5_4809_8dca_09c99410245c); +windows_core::imp::define_interface!(IWebProviderError, IWebProviderError_Vtbl, 0xdb191bb1_50c5_4809_8dca_09c99410245c); #[repr(C)] pub struct IWebProviderError_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -117,13 +117,13 @@ pub struct IWebProviderError_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IWebProviderErrorFactory, IWebProviderErrorFactory_Vtbl, 0xe3c40a2d_89ef_4e37_847f_a8b9d5a32910); +windows_core::imp::define_interface!(IWebProviderErrorFactory, IWebProviderErrorFactory_Vtbl, 0xe3c40a2d_89ef_4e37_847f_a8b9d5a32910); #[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, } -windows_core::imp::com_interface!(IWebTokenRequest, IWebTokenRequest_Vtbl, 0xb77b4d68_adcb_4673_b364_0cf7b35caf97); +windows_core::imp::define_interface!(IWebTokenRequest, IWebTokenRequest_Vtbl, 0xb77b4d68_adcb_4673_b364_0cf7b35caf97); #[repr(C)] pub struct IWebTokenRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -139,7 +139,7 @@ pub struct IWebTokenRequest_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IWebTokenRequest2, IWebTokenRequest2_Vtbl, 0xd700c079_30c8_4397_9654_961c3be8b855); +windows_core::imp::define_interface!(IWebTokenRequest2, IWebTokenRequest2_Vtbl, 0xd700c079_30c8_4397_9654_961c3be8b855); #[repr(C)] pub struct IWebTokenRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -148,14 +148,14 @@ pub struct IWebTokenRequest2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AppProperties: usize, } -windows_core::imp::com_interface!(IWebTokenRequest3, IWebTokenRequest3_Vtbl, 0x5a755b51_3bb1_41a5_a63d_90bc32c7db9a); +windows_core::imp::define_interface!(IWebTokenRequest3, IWebTokenRequest3_Vtbl, 0x5a755b51_3bb1_41a5_a63d_90bc32c7db9a); #[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, } -windows_core::imp::com_interface!(IWebTokenRequestFactory, IWebTokenRequestFactory_Vtbl, 0x6cf2141c_0ff0_4c67_b84f_99ddbe4a72c9); +windows_core::imp::define_interface!(IWebTokenRequestFactory, IWebTokenRequestFactory_Vtbl, 0x6cf2141c_0ff0_4c67_b84f_99ddbe4a72c9); #[repr(C)] pub struct IWebTokenRequestFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -176,7 +176,7 @@ pub struct IWebTokenRequestFactory_Vtbl { #[cfg(not(feature = "Security_Credentials"))] CreateWithScope: usize, } -windows_core::imp::com_interface!(IWebTokenRequestResult, IWebTokenRequestResult_Vtbl, 0xc12a8305_d1f8_4483_8d54_38fe292784ff); +windows_core::imp::define_interface!(IWebTokenRequestResult, IWebTokenRequestResult_Vtbl, 0xc12a8305_d1f8_4483_8d54_38fe292784ff); #[repr(C)] pub struct IWebTokenRequestResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -188,7 +188,7 @@ pub struct IWebTokenRequestResult_Vtbl { pub ResponseError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub InvalidateCacheAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebTokenResponse, IWebTokenResponse_Vtbl, 0x67a7c5ca_83f6_44c6_a3b1_0eb69e41fa8a); +windows_core::imp::define_interface!(IWebTokenResponse, IWebTokenResponse_Vtbl, 0x67a7c5ca_83f6_44c6_a3b1_0eb69e41fa8a); #[repr(C)] pub struct IWebTokenResponse_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -203,7 +203,7 @@ pub struct IWebTokenResponse_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IWebTokenResponseFactory, IWebTokenResponseFactory_Vtbl, 0xab6bf7f8_5450_4ef6_97f7_052b0431c0f0); +windows_core::imp::define_interface!(IWebTokenResponseFactory, IWebTokenResponseFactory_Vtbl, 0xab6bf7f8_5450_4ef6_97f7_052b0431c0f0); #[repr(C)] pub struct IWebTokenResponseFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 a5068ca63d..a334422f49 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 @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IWebAccountClientView, IWebAccountClientView_Vtbl, 0xe7bd66ba_0bc7_4c66_bfd4_65d3082cbca8); +windows_core::imp::define_interface!(IWebAccountClientView, IWebAccountClientView_Vtbl, 0xe7bd66ba_0bc7_4c66_bfd4_65d3082cbca8); #[repr(C)] pub struct IWebAccountClientView_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,14 +6,14 @@ pub struct IWebAccountClientView_Vtbl { 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, } -windows_core::imp::com_interface!(IWebAccountClientViewFactory, IWebAccountClientViewFactory_Vtbl, 0x616d16a4_de22_4855_a326_06cebf2a3f23); +windows_core::imp::define_interface!(IWebAccountClientViewFactory, IWebAccountClientViewFactory_Vtbl, 0x616d16a4_de22_4855_a326_06cebf2a3f23); #[repr(C)] 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, } -windows_core::imp::com_interface!(IWebAccountManagerStatics, IWebAccountManagerStatics_Vtbl, 0xb2e8e1a6_d49a_4032_84bf_1a2847747bf1); +windows_core::imp::define_interface!(IWebAccountManagerStatics, IWebAccountManagerStatics_Vtbl, 0xb2e8e1a6_d49a_4032_84bf_1a2847747bf1); #[repr(C)] pub struct IWebAccountManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,13 +58,13 @@ pub struct IWebAccountManagerStatics_Vtbl { #[cfg(not(feature = "Security_Credentials"))] ClearWebAccountPictureAsync: usize, } -windows_core::imp::com_interface!(IWebAccountManagerStatics2, IWebAccountManagerStatics2_Vtbl, 0x68a7a829_2d5f_4653_8bb0_bd2fa6bd2d87); +windows_core::imp::define_interface!(IWebAccountManagerStatics2, IWebAccountManagerStatics2_Vtbl, 0x68a7a829_2d5f_4653_8bb0_bd2fa6bd2d87); #[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, } -windows_core::imp::com_interface!(IWebAccountManagerStatics3, IWebAccountManagerStatics3_Vtbl, 0xdd4523a6_8a4f_4aa2_b15e_03f550af1359); +windows_core::imp::define_interface!(IWebAccountManagerStatics3, IWebAccountManagerStatics3_Vtbl, 0xdd4523a6_8a4f_4aa2_b15e_03f550af1359); #[repr(C)] pub struct IWebAccountManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -85,7 +85,7 @@ pub struct IWebAccountManagerStatics3_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Security_Credentials", feature = "System")))] AddWebAccountWithScopeAndMapForUserAsync: usize, } -windows_core::imp::com_interface!(IWebAccountManagerStatics4, IWebAccountManagerStatics4_Vtbl, 0x59ebc2d2_f7db_412f_bc3f_f2fea04430b4); +windows_core::imp::define_interface!(IWebAccountManagerStatics4, IWebAccountManagerStatics4_Vtbl, 0x59ebc2d2_f7db_412f_bc3f_f2fea04430b4); #[repr(C)] pub struct IWebAccountManagerStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -95,7 +95,7 @@ pub struct IWebAccountManagerStatics4_Vtbl { #[cfg(not(feature = "Security_Credentials"))] InvalidateAppCacheForAccountAsync: usize, } -windows_core::imp::com_interface!(IWebAccountMapManagerStatics, IWebAccountMapManagerStatics_Vtbl, 0xe8fa446f_3a1b_48a4_8e90_1e59ca6f54db); +windows_core::imp::define_interface!(IWebAccountMapManagerStatics, IWebAccountMapManagerStatics_Vtbl, 0xe8fa446f_3a1b_48a4_8e90_1e59ca6f54db); #[repr(C)] pub struct IWebAccountMapManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -116,13 +116,13 @@ pub struct IWebAccountMapManagerStatics_Vtbl { #[cfg(not(feature = "Security_Credentials"))] ClearPerUserFromPerAppAccountAsync: usize, } -windows_core::imp::com_interface!(IWebAccountProviderAddAccountOperation, IWebAccountProviderAddAccountOperation_Vtbl, 0x73ebdccf_4378_4c79_9335_a5d7ab81594e); +windows_core::imp::define_interface!(IWebAccountProviderAddAccountOperation, IWebAccountProviderAddAccountOperation_Vtbl, 0x73ebdccf_4378_4c79_9335_a5d7ab81594e); #[repr(C)] pub struct IWebAccountProviderAddAccountOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountProviderBaseReportOperation, IWebAccountProviderBaseReportOperation_Vtbl, 0xbba4acbb_993b_4d57_bbe4_1421e3668b4c); +windows_core::imp::define_interface!(IWebAccountProviderBaseReportOperation, IWebAccountProviderBaseReportOperation_Vtbl, 0xbba4acbb_993b_4d57_bbe4_1421e3668b4c); windows_core::imp::interface_hierarchy!(IWebAccountProviderBaseReportOperation, windows_core::IUnknown, windows_core::IInspectable); impl IWebAccountProviderBaseReportOperation { pub fn ReportCompleted(&self) -> windows_core::Result<()> { @@ -150,7 +150,7 @@ pub struct IWebAccountProviderBaseReportOperation_Vtbl { #[cfg(not(feature = "Security_Authentication_Web_Core"))] ReportError: usize, } -windows_core::imp::com_interface!(IWebAccountProviderDeleteAccountOperation, IWebAccountProviderDeleteAccountOperation_Vtbl, 0x0abb48b8_9e01_49c9_a355_7d48caf7d6ca); +windows_core::imp::define_interface!(IWebAccountProviderDeleteAccountOperation, IWebAccountProviderDeleteAccountOperation_Vtbl, 0x0abb48b8_9e01_49c9_a355_7d48caf7d6ca); #[repr(C)] pub struct IWebAccountProviderDeleteAccountOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -159,7 +159,7 @@ pub struct IWebAccountProviderDeleteAccountOperation_Vtbl { #[cfg(not(feature = "Security_Credentials"))] WebAccount: usize, } -windows_core::imp::com_interface!(IWebAccountProviderManageAccountOperation, IWebAccountProviderManageAccountOperation_Vtbl, 0xed20dc5c_d21b_463e_a9b7_c1fd0edae978); +windows_core::imp::define_interface!(IWebAccountProviderManageAccountOperation, IWebAccountProviderManageAccountOperation_Vtbl, 0xed20dc5c_d21b_463e_a9b7_c1fd0edae978); #[repr(C)] pub struct IWebAccountProviderManageAccountOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -169,7 +169,7 @@ pub struct IWebAccountProviderManageAccountOperation_Vtbl { WebAccount: usize, pub ReportCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountProviderOperation, IWebAccountProviderOperation_Vtbl, 0x6d5d2426_10b1_419a_a44e_f9c5161574e6); +windows_core::imp::define_interface!(IWebAccountProviderOperation, IWebAccountProviderOperation_Vtbl, 0x6d5d2426_10b1_419a_a44e_f9c5161574e6); windows_core::imp::interface_hierarchy!(IWebAccountProviderOperation, windows_core::IUnknown, windows_core::IInspectable); impl IWebAccountProviderOperation { pub fn Kind(&self) -> windows_core::Result { @@ -188,7 +188,7 @@ pub struct IWebAccountProviderOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WebAccountProviderOperationKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountProviderRetrieveCookiesOperation, IWebAccountProviderRetrieveCookiesOperation_Vtbl, 0x5a040441_0fa3_4ab1_a01c_20b110358594); +windows_core::imp::define_interface!(IWebAccountProviderRetrieveCookiesOperation, IWebAccountProviderRetrieveCookiesOperation_Vtbl, 0x5a040441_0fa3_4ab1_a01c_20b110358594); #[repr(C)] pub struct IWebAccountProviderRetrieveCookiesOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -201,7 +201,7 @@ pub struct IWebAccountProviderRetrieveCookiesOperation_Vtbl { pub Uri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ApplicationCallbackUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountProviderSignOutAccountOperation, IWebAccountProviderSignOutAccountOperation_Vtbl, 0xb890e21d_0c55_47bc_8c72_04a6fc7cac07); +windows_core::imp::define_interface!(IWebAccountProviderSignOutAccountOperation, IWebAccountProviderSignOutAccountOperation_Vtbl, 0xb890e21d_0c55_47bc_8c72_04a6fc7cac07); #[repr(C)] pub struct IWebAccountProviderSignOutAccountOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -212,7 +212,7 @@ pub struct IWebAccountProviderSignOutAccountOperation_Vtbl { 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, } -windows_core::imp::com_interface!(IWebAccountProviderSilentReportOperation, IWebAccountProviderSilentReportOperation_Vtbl, 0xe0b545f8_3b0f_44da_924c_7b18baaa62a9); +windows_core::imp::define_interface!(IWebAccountProviderSilentReportOperation, IWebAccountProviderSilentReportOperation_Vtbl, 0xe0b545f8_3b0f_44da_924c_7b18baaa62a9); windows_core::imp::interface_hierarchy!(IWebAccountProviderSilentReportOperation, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IWebAccountProviderSilentReportOperation, IWebAccountProviderBaseReportOperation); impl IWebAccountProviderSilentReportOperation { @@ -253,7 +253,7 @@ pub struct IWebAccountProviderSilentReportOperation_Vtbl { #[cfg(not(feature = "Security_Authentication_Web_Core"))] ReportUserInteractionRequiredWithError: usize, } -windows_core::imp::com_interface!(IWebAccountProviderTokenObjects, IWebAccountProviderTokenObjects_Vtbl, 0x408f284b_1328_42db_89a4_0bce7a717d8e); +windows_core::imp::define_interface!(IWebAccountProviderTokenObjects, IWebAccountProviderTokenObjects_Vtbl, 0x408f284b_1328_42db_89a4_0bce7a717d8e); windows_core::imp::interface_hierarchy!(IWebAccountProviderTokenObjects, windows_core::IUnknown, windows_core::IInspectable); impl IWebAccountProviderTokenObjects { pub fn Operation(&self) -> windows_core::Result { @@ -272,7 +272,7 @@ pub struct IWebAccountProviderTokenObjects_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Operation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountProviderTokenObjects2, IWebAccountProviderTokenObjects2_Vtbl, 0x1020b893_5ca5_4fff_95fb_b820273fc395); +windows_core::imp::define_interface!(IWebAccountProviderTokenObjects2, IWebAccountProviderTokenObjects2_Vtbl, 0x1020b893_5ca5_4fff_95fb_b820273fc395); windows_core::imp::interface_hierarchy!(IWebAccountProviderTokenObjects2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IWebAccountProviderTokenObjects2, IWebAccountProviderTokenObjects); impl IWebAccountProviderTokenObjects2 { @@ -303,7 +303,7 @@ pub struct IWebAccountProviderTokenObjects2_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IWebAccountProviderTokenOperation, IWebAccountProviderTokenOperation_Vtbl, 0x95c613be_2034_4c38_9434_d26c14b2b4b2); +windows_core::imp::define_interface!(IWebAccountProviderTokenOperation, IWebAccountProviderTokenOperation_Vtbl, 0x95c613be_2034_4c38_9434_d26c14b2b4b2); windows_core::imp::interface_hierarchy!(IWebAccountProviderTokenOperation, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IWebAccountProviderTokenOperation, IWebAccountProviderOperation); impl IWebAccountProviderTokenOperation { @@ -355,7 +355,7 @@ pub struct IWebAccountProviderTokenOperation_Vtbl { pub SetCacheExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::DateTime) -> windows_core::HRESULT, pub CacheExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountProviderUIReportOperation, IWebAccountProviderUIReportOperation_Vtbl, 0x28ff92d3_8f80_42fb_944f_b2107bbd42e6); +windows_core::imp::define_interface!(IWebAccountProviderUIReportOperation, IWebAccountProviderUIReportOperation_Vtbl, 0x28ff92d3_8f80_42fb_944f_b2107bbd42e6); windows_core::imp::interface_hierarchy!(IWebAccountProviderUIReportOperation, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IWebAccountProviderUIReportOperation, IWebAccountProviderBaseReportOperation); impl IWebAccountProviderUIReportOperation { @@ -384,7 +384,7 @@ pub struct IWebAccountProviderUIReportOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportUserCanceled: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountScopeManagerStatics, IWebAccountScopeManagerStatics_Vtbl, 0x5c6ce37c_12b2_423a_bf3d_85b8d7e53656); +windows_core::imp::define_interface!(IWebAccountScopeManagerStatics, IWebAccountScopeManagerStatics_Vtbl, 0x5c6ce37c_12b2_423a_bf3d_85b8d7e53656); #[repr(C)] pub struct IWebAccountScopeManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -401,7 +401,7 @@ pub struct IWebAccountScopeManagerStatics_Vtbl { #[cfg(not(feature = "Security_Credentials"))] GetScope: usize, } -windows_core::imp::com_interface!(IWebProviderTokenRequest, IWebProviderTokenRequest_Vtbl, 0x1e18778b_8805_454b_9f11_468d2af1095a); +windows_core::imp::define_interface!(IWebProviderTokenRequest, IWebProviderTokenRequest_Vtbl, 0x1e18778b_8805_454b_9f11_468d2af1095a); #[repr(C)] pub struct IWebProviderTokenRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -420,7 +420,7 @@ pub struct IWebProviderTokenRequest_Vtbl { #[cfg(not(feature = "Security_Cryptography_Core"))] GetApplicationTokenBindingKeyAsync: usize, } -windows_core::imp::com_interface!(IWebProviderTokenRequest2, IWebProviderTokenRequest2_Vtbl, 0xb5d72e4c_10b1_4aa6_88b1_0b6c9e0c1e46); +windows_core::imp::define_interface!(IWebProviderTokenRequest2, IWebProviderTokenRequest2_Vtbl, 0xb5d72e4c_10b1_4aa6_88b1_0b6c9e0c1e46); #[repr(C)] pub struct IWebProviderTokenRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -429,7 +429,7 @@ pub struct IWebProviderTokenRequest2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetApplicationTokenBindingKeyIdAsync: usize, } -windows_core::imp::com_interface!(IWebProviderTokenRequest3, IWebProviderTokenRequest3_Vtbl, 0x1b2716aa_4289_446e_9256_dafb6f66a51e); +windows_core::imp::define_interface!(IWebProviderTokenRequest3, IWebProviderTokenRequest3_Vtbl, 0x1b2716aa_4289_446e_9256_dafb6f66a51e); #[repr(C)] pub struct IWebProviderTokenRequest3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -437,7 +437,7 @@ pub struct IWebProviderTokenRequest3_Vtbl { 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, } -windows_core::imp::com_interface!(IWebProviderTokenResponse, IWebProviderTokenResponse_Vtbl, 0xef213793_ef55_4186_b7ce_8cb2e7f9849e); +windows_core::imp::define_interface!(IWebProviderTokenResponse, IWebProviderTokenResponse_Vtbl, 0xef213793_ef55_4186_b7ce_8cb2e7f9849e); #[repr(C)] pub struct IWebProviderTokenResponse_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -446,7 +446,7 @@ pub struct IWebProviderTokenResponse_Vtbl { #[cfg(not(feature = "Security_Authentication_Web_Core"))] ClientResponse: usize, } -windows_core::imp::com_interface!(IWebProviderTokenResponseFactory, IWebProviderTokenResponseFactory_Vtbl, 0xfa49d99a_25ba_4077_9cfa_9db4dea7b71a); +windows_core::imp::define_interface!(IWebProviderTokenResponseFactory, IWebProviderTokenResponseFactory_Vtbl, 0xfa49d99a_25ba_4077_9cfa_9db4dea7b71a); #[repr(C)] pub struct IWebProviderTokenResponseFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 af4d35bc26..997095624f 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/mod.rs @@ -2,7 +2,7 @@ pub mod Core; #[cfg(feature = "Security_Authentication_Web_Provider")] pub mod Provider; -windows_core::imp::com_interface!(IWebAuthenticationBrokerStatics, IWebAuthenticationBrokerStatics_Vtbl, 0x2f149f1a_e673_40b5_bc22_201a6864a37b); +windows_core::imp::define_interface!(IWebAuthenticationBrokerStatics, IWebAuthenticationBrokerStatics_Vtbl, 0x2f149f1a_e673_40b5_bc22_201a6864a37b); #[repr(C)] pub struct IWebAuthenticationBrokerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -10,7 +10,7 @@ pub struct IWebAuthenticationBrokerStatics_Vtbl { pub AuthenticateWithoutCallbackUriAsync: unsafe extern "system" fn(*mut core::ffi::c_void, WebAuthenticationOptions, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCurrentApplicationCallbackUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAuthenticationBrokerStatics2, IWebAuthenticationBrokerStatics2_Vtbl, 0x73cdfb9e_14e7_41da_a971_aaf4410b621e); +windows_core::imp::define_interface!(IWebAuthenticationBrokerStatics2, IWebAuthenticationBrokerStatics2_Vtbl, 0x73cdfb9e_14e7_41da_a971_aaf4410b621e); #[repr(C)] pub struct IWebAuthenticationBrokerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct IWebAuthenticationBrokerStatics2_Vtbl { pub AuthenticateSilentlyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AuthenticateSilentlyWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WebAuthenticationOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAuthenticationResult, IWebAuthenticationResult_Vtbl, 0x64002b4b_ede9_470a_a5cd_0323faf6e262); +windows_core::imp::define_interface!(IWebAuthenticationResult, IWebAuthenticationResult_Vtbl, 0x64002b4b_ede9_470a_a5cd_0323faf6e262); #[repr(C)] pub struct IWebAuthenticationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 997b4eaad1..12818c5ea6 100644 --- a/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Authorization/AppCapabilityAccess/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAppCapability, IAppCapability_Vtbl, 0x4c49d915_8a2a_4295_9437_2df7c396aff4); +windows_core::imp::define_interface!(IAppCapability, IAppCapability_Vtbl, 0x4c49d915_8a2a_4295_9437_2df7c396aff4); #[repr(C)] pub struct IAppCapability_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -12,19 +12,19 @@ pub struct IAppCapability_Vtbl { pub AccessChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAccessChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppCapability2, IAppCapability2_Vtbl, 0x11c7ccb6_c74f_50a3_b960_88008767d939); +windows_core::imp::define_interface!(IAppCapability2, IAppCapability2_Vtbl, 0x11c7ccb6_c74f_50a3_b960_88008767d939); #[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, } -windows_core::imp::com_interface!(IAppCapabilityAccessChangedEventArgs, IAppCapabilityAccessChangedEventArgs_Vtbl, 0x0a578d15_bdd7_457e_8cca_6f53bd2e5944); +windows_core::imp::define_interface!(IAppCapabilityAccessChangedEventArgs, IAppCapabilityAccessChangedEventArgs_Vtbl, 0x0a578d15_bdd7_457e_8cca_6f53bd2e5944); #[repr(C)] pub struct IAppCapabilityAccessChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IAppCapabilityStatics, IAppCapabilityStatics_Vtbl, 0x7c353e2a_46ee_44e5_af3d_6ad3fc49bd22); +windows_core::imp::define_interface!(IAppCapabilityStatics, IAppCapabilityStatics_Vtbl, 0x7c353e2a_46ee_44e5_af3d_6ad3fc49bd22); #[repr(C)] pub struct IAppCapabilityStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 ca7c9654e2..d6609b14cd 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/UI/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICredentialPickerOptions, ICredentialPickerOptions_Vtbl, 0x965a0b4c_95fa_467f_992b_0b22e5859bf6); +windows_core::imp::define_interface!(ICredentialPickerOptions, ICredentialPickerOptions_Vtbl, 0x965a0b4c_95fa_467f_992b_0b22e5859bf6); #[repr(C)] pub struct ICredentialPickerOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -29,7 +29,7 @@ pub struct ICredentialPickerOptions_Vtbl { pub SetCredentialSaveOption: unsafe extern "system" fn(*mut core::ffi::c_void, CredentialSaveOption) -> windows_core::HRESULT, pub CredentialSaveOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CredentialSaveOption) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialPickerResults, ICredentialPickerResults_Vtbl, 0x1948f99a_cc30_410c_9c38_cc0884c5b3d7); +windows_core::imp::define_interface!(ICredentialPickerResults, ICredentialPickerResults_Vtbl, 0x1948f99a_cc30_410c_9c38_cc0884c5b3d7); #[repr(C)] pub struct ICredentialPickerResults_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,7 +44,7 @@ pub struct ICredentialPickerResults_Vtbl { 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, } -windows_core::imp::com_interface!(ICredentialPickerStatics, ICredentialPickerStatics_Vtbl, 0xaa3a5c73_c9ea_4782_99fb_e6d7e938e12d); +windows_core::imp::define_interface!(ICredentialPickerStatics, ICredentialPickerStatics_Vtbl, 0xaa3a5c73_c9ea_4782_99fb_e6d7e938e12d); #[repr(C)] pub struct ICredentialPickerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -52,7 +52,7 @@ pub struct ICredentialPickerStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IUserConsentVerifierStatics, IUserConsentVerifierStatics_Vtbl, 0xaf4f3f91_564c_4ddc_b8b5_973447627c65); +windows_core::imp::define_interface!(IUserConsentVerifierStatics, IUserConsentVerifierStatics_Vtbl, 0xaf4f3f91_564c_4ddc_b8b5_973447627c65); #[repr(C)] pub struct IUserConsentVerifierStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs index d794a032fc..7b728ed370 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/mod.rs @@ -1,12 +1,12 @@ #[cfg(feature = "Security_Credentials_UI")] pub mod UI; -windows_core::imp::com_interface!(ICredentialFactory, ICredentialFactory_Vtbl, 0x54ef13a1_bf26_47b5_97dd_de779b7cad58); +windows_core::imp::define_interface!(ICredentialFactory, ICredentialFactory_Vtbl, 0x54ef13a1_bf26_47b5_97dd_de779b7cad58); #[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, } -windows_core::imp::com_interface!(IKeyCredential, IKeyCredential_Vtbl, 0x9585ef8d_457b_4847_b11a_fa960bbdb138); +windows_core::imp::define_interface!(IKeyCredential, IKeyCredential_Vtbl, 0x9585ef8d_457b_4847_b11a_fa960bbdb138); #[repr(C)] pub struct IKeyCredential_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -25,7 +25,7 @@ pub struct IKeyCredential_Vtbl { RequestSignAsync: usize, pub GetAttestationAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyCredentialAttestationResult, IKeyCredentialAttestationResult_Vtbl, 0x78aab3a1_a3c1_4103_b6cc_472c44171cbb); +windows_core::imp::define_interface!(IKeyCredentialAttestationResult, IKeyCredentialAttestationResult_Vtbl, 0x78aab3a1_a3c1_4103_b6cc_472c44171cbb); #[repr(C)] pub struct IKeyCredentialAttestationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -39,7 +39,7 @@ pub struct IKeyCredentialAttestationResult_Vtbl { AttestationBuffer: usize, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KeyCredentialAttestationStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyCredentialManagerStatics, IKeyCredentialManagerStatics_Vtbl, 0x6aac468b_0ef1_4ce0_8290_4106da6a63b5); +windows_core::imp::define_interface!(IKeyCredentialManagerStatics, IKeyCredentialManagerStatics_Vtbl, 0x6aac468b_0ef1_4ce0_8290_4106da6a63b5); #[repr(C)] pub struct IKeyCredentialManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -49,7 +49,7 @@ pub struct IKeyCredentialManagerStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IKeyCredentialOperationResult, IKeyCredentialOperationResult_Vtbl, 0xf53786c1_5261_4cdd_976d_cc909ac71620); +windows_core::imp::define_interface!(IKeyCredentialOperationResult, IKeyCredentialOperationResult_Vtbl, 0xf53786c1_5261_4cdd_976d_cc909ac71620); #[repr(C)] pub struct IKeyCredentialOperationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -59,14 +59,14 @@ pub struct IKeyCredentialOperationResult_Vtbl { Result: usize, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KeyCredentialStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyCredentialRetrievalResult, IKeyCredentialRetrievalResult_Vtbl, 0x58cd7703_8d87_4249_9b58_f6598cc9644e); +windows_core::imp::define_interface!(IKeyCredentialRetrievalResult, IKeyCredentialRetrievalResult_Vtbl, 0x58cd7703_8d87_4249_9b58_f6598cc9644e); #[repr(C)] pub struct IKeyCredentialRetrievalResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Credential: 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 KeyCredentialStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPasswordCredential, IPasswordCredential_Vtbl, 0x6ab18989_c720_41a7_a6c1_feadb36329a0); +windows_core::imp::define_interface!(IPasswordCredential, IPasswordCredential_Vtbl, 0x6ab18989_c720_41a7_a6c1_feadb36329a0); #[repr(C)] pub struct IPasswordCredential_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -82,7 +82,7 @@ pub struct IPasswordCredential_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(IPasswordVault, IPasswordVault_Vtbl, 0x61fd2c0b_c8d4_48c1_a54f_bc5a64205af2); +windows_core::imp::define_interface!(IPasswordVault, IPasswordVault_Vtbl, 0x61fd2c0b_c8d4_48c1_a54f_bc5a64205af2); #[repr(C)] pub struct IPasswordVault_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -102,7 +102,7 @@ pub struct IPasswordVault_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RetrieveAll: usize, } -windows_core::imp::com_interface!(IWebAccount, IWebAccount_Vtbl, 0x69473eb2_8031_49be_80bb_96cb46d99aba); +windows_core::imp::define_interface!(IWebAccount, IWebAccount_Vtbl, 0x69473eb2_8031_49be_80bb_96cb46d99aba); windows_core::imp::interface_hierarchy!(IWebAccount, windows_core::IUnknown, windows_core::IInspectable); impl IWebAccount { pub fn WebAccountProvider(&self) -> windows_core::Result { @@ -137,7 +137,7 @@ pub struct IWebAccount_Vtbl { pub UserName: 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 WebAccountState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccount2, IWebAccount2_Vtbl, 0x7b56d6f8_990b_4eb5_94a7_5621f3a8b824); +windows_core::imp::define_interface!(IWebAccount2, IWebAccount2_Vtbl, 0x7b56d6f8_990b_4eb5_94a7_5621f3a8b824); #[repr(C)] pub struct IWebAccount2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -153,13 +153,13 @@ pub struct IWebAccount2_Vtbl { 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, } -windows_core::imp::com_interface!(IWebAccountFactory, IWebAccountFactory_Vtbl, 0xac9afb39_1de9_4e92_b78f_0581a87f6e5c); +windows_core::imp::define_interface!(IWebAccountFactory, IWebAccountFactory_Vtbl, 0xac9afb39_1de9_4e92_b78f_0581a87f6e5c); #[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, } -windows_core::imp::com_interface!(IWebAccountProvider, IWebAccountProvider_Vtbl, 0x29dcc8c3_7ab9_4a7c_a336_b942f9dbf7c7); +windows_core::imp::define_interface!(IWebAccountProvider, IWebAccountProvider_Vtbl, 0x29dcc8c3_7ab9_4a7c_a336_b942f9dbf7c7); #[repr(C)] pub struct IWebAccountProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -170,14 +170,14 @@ pub struct IWebAccountProvider_Vtbl { #[cfg(not(feature = "deprecated"))] IconUri: usize, } -windows_core::imp::com_interface!(IWebAccountProvider2, IWebAccountProvider2_Vtbl, 0x4a01eb05_4e42_41d4_b518_e008a5163614); +windows_core::imp::define_interface!(IWebAccountProvider2, IWebAccountProvider2_Vtbl, 0x4a01eb05_4e42_41d4_b518_e008a5163614); #[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, } -windows_core::imp::com_interface!(IWebAccountProvider3, IWebAccountProvider3_Vtbl, 0xda1c518b_970d_4d49_825c_f2706f8ca7fe); +windows_core::imp::define_interface!(IWebAccountProvider3, IWebAccountProvider3_Vtbl, 0xda1c518b_970d_4d49_825c_f2706f8ca7fe); #[repr(C)] pub struct IWebAccountProvider3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -186,13 +186,13 @@ pub struct IWebAccountProvider3_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IWebAccountProvider4, IWebAccountProvider4_Vtbl, 0x718fd8db_e796_4210_b74e_84d29894b080); +windows_core::imp::define_interface!(IWebAccountProvider4, IWebAccountProvider4_Vtbl, 0x718fd8db_e796_4210_b74e_84d29894b080); #[repr(C)] pub struct IWebAccountProvider4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSystemProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountProviderFactory, IWebAccountProviderFactory_Vtbl, 0x1d767df1_e1e1_4b9a_a774_5c7c7e3bf371); +windows_core::imp::define_interface!(IWebAccountProviderFactory, IWebAccountProviderFactory_Vtbl, 0x1d767df1_e1e1_4b9a_a774_5c7c7e3bf371); #[repr(C)] pub struct IWebAccountProviderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 a60ce029bf..3e724dd881 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Certificates/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICertificate, ICertificate_Vtbl, 0x333f740c_04d8_43b3_b278_8c5fcc9be5a0); +windows_core::imp::define_interface!(ICertificate, ICertificate_Vtbl, 0x333f740c_04d8_43b3_b278_8c5fcc9be5a0); #[repr(C)] pub struct ICertificate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,7 +30,7 @@ pub struct ICertificate_Vtbl { 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, } -windows_core::imp::com_interface!(ICertificate2, ICertificate2_Vtbl, 0x17b8374c_8a25_4d96_a492_8fc29ac4fda6); +windows_core::imp::define_interface!(ICertificate2, ICertificate2_Vtbl, 0x17b8374c_8a25_4d96_a492_8fc29ac4fda6); #[repr(C)] pub struct ICertificate2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -41,7 +41,7 @@ pub struct ICertificate2_Vtbl { pub SignatureHashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(ICertificate3, ICertificate3_Vtbl, 0xbe51a966_ae5f_4652_ace7_c6d7e7724cf3); +windows_core::imp::define_interface!(ICertificate3, ICertificate3_Vtbl, 0xbe51a966_ae5f_4652_ace7_c6d7e7724cf3); #[repr(C)] pub struct ICertificate3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -49,7 +49,7 @@ pub struct ICertificate3_Vtbl { 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, } -windows_core::imp::com_interface!(ICertificateChain, ICertificateChain_Vtbl, 0x20bf5385_3691_4501_a62c_fd97278b31ee); +windows_core::imp::define_interface!(ICertificateChain, ICertificateChain_Vtbl, 0x20bf5385_3691_4501_a62c_fd97278b31ee); #[repr(C)] pub struct ICertificateChain_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -60,7 +60,7 @@ pub struct ICertificateChain_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetCertificates: usize, } -windows_core::imp::com_interface!(ICertificateEnrollmentManagerStatics, ICertificateEnrollmentManagerStatics_Vtbl, 0x8846ef3f_a986_48fb_9fd7_9aec06935bf1); +windows_core::imp::define_interface!(ICertificateEnrollmentManagerStatics, ICertificateEnrollmentManagerStatics_Vtbl, 0x8846ef3f_a986_48fb_9fd7_9aec06935bf1); #[repr(C)] pub struct ICertificateEnrollmentManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,20 +68,20 @@ pub struct ICertificateEnrollmentManagerStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ICertificateEnrollmentManagerStatics2, ICertificateEnrollmentManagerStatics2_Vtbl, 0xdc5b1c33_6429_4014_999c_5d9735802d1d); +windows_core::imp::define_interface!(ICertificateEnrollmentManagerStatics2, ICertificateEnrollmentManagerStatics2_Vtbl, 0xdc5b1c33_6429_4014_999c_5d9735802d1d); #[repr(C)] 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, } -windows_core::imp::com_interface!(ICertificateEnrollmentManagerStatics3, ICertificateEnrollmentManagerStatics3_Vtbl, 0xfdec82be_617c_425a_b72d_398b26ac7264); +windows_core::imp::define_interface!(ICertificateEnrollmentManagerStatics3, ICertificateEnrollmentManagerStatics3_Vtbl, 0xfdec82be_617c_425a_b72d_398b26ac7264); #[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, } -windows_core::imp::com_interface!(ICertificateExtension, ICertificateExtension_Vtbl, 0x84cf0656_a9e6_454d_8e45_2ea7c4bcd53b); +windows_core::imp::define_interface!(ICertificateExtension, ICertificateExtension_Vtbl, 0x84cf0656_a9e6_454d_8e45_2ea7c4bcd53b); #[repr(C)] pub struct ICertificateExtension_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -93,7 +93,7 @@ pub struct ICertificateExtension_Vtbl { 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, } -windows_core::imp::com_interface!(ICertificateFactory, ICertificateFactory_Vtbl, 0x17b4221c_4baf_44a2_9608_04fb62b16942); +windows_core::imp::define_interface!(ICertificateFactory, ICertificateFactory_Vtbl, 0x17b4221c_4baf_44a2_9608_04fb62b16942); #[repr(C)] pub struct ICertificateFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -102,7 +102,7 @@ pub struct ICertificateFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateCertificate: usize, } -windows_core::imp::com_interface!(ICertificateKeyUsages, ICertificateKeyUsages_Vtbl, 0x6ac6206f_e1cf_486a_b485_a69c83e46fd1); +windows_core::imp::define_interface!(ICertificateKeyUsages, ICertificateKeyUsages_Vtbl, 0x6ac6206f_e1cf_486a_b485_a69c83e46fd1); #[repr(C)] pub struct ICertificateKeyUsages_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -123,7 +123,7 @@ pub struct ICertificateKeyUsages_Vtbl { pub DigitalSignature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetDigitalSignature: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICertificateQuery, ICertificateQuery_Vtbl, 0x5b082a31_a728_4916_b5ee_ffcb8acf2417); +windows_core::imp::define_interface!(ICertificateQuery, ICertificateQuery_Vtbl, 0x5b082a31_a728_4916_b5ee_ffcb8acf2417); #[repr(C)] pub struct ICertificateQuery_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -140,7 +140,7 @@ pub struct ICertificateQuery_Vtbl { pub HardwareOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHardwareOnly: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICertificateQuery2, ICertificateQuery2_Vtbl, 0x935a0af7_0bd9_4f75_b8c2_e27a7f74eecd); +windows_core::imp::define_interface!(ICertificateQuery2, ICertificateQuery2_Vtbl, 0x935a0af7_0bd9_4f75_b8c2_e27a7f74eecd); #[repr(C)] pub struct ICertificateQuery2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -151,7 +151,7 @@ pub struct ICertificateQuery2_Vtbl { 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, } -windows_core::imp::com_interface!(ICertificateRequestProperties, ICertificateRequestProperties_Vtbl, 0x487e84f6_94e2_4dce_8833_1a700a37a29a); +windows_core::imp::define_interface!(ICertificateRequestProperties, ICertificateRequestProperties_Vtbl, 0x487e84f6_94e2_4dce_8833_1a700a37a29a); #[repr(C)] pub struct ICertificateRequestProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -174,7 +174,7 @@ pub struct ICertificateRequestProperties_Vtbl { 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, } -windows_core::imp::com_interface!(ICertificateRequestProperties2, ICertificateRequestProperties2_Vtbl, 0x3da0c954_d73f_4ff3_a0a6_0677c0ada05b); +windows_core::imp::define_interface!(ICertificateRequestProperties2, ICertificateRequestProperties2_Vtbl, 0x3da0c954_d73f_4ff3_a0a6_0677c0ada05b); #[repr(C)] pub struct ICertificateRequestProperties2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -185,7 +185,7 @@ pub struct ICertificateRequestProperties2_Vtbl { pub AttestationCredentialCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAttestationCredentialCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICertificateRequestProperties3, ICertificateRequestProperties3_Vtbl, 0xe687f616_734d_46b1_9d4c_6edfdbfc845b); +windows_core::imp::define_interface!(ICertificateRequestProperties3, ICertificateRequestProperties3_Vtbl, 0xe687f616_734d_46b1_9d4c_6edfdbfc845b); #[repr(C)] pub struct ICertificateRequestProperties3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -200,7 +200,7 @@ pub struct ICertificateRequestProperties3_Vtbl { 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, } -windows_core::imp::com_interface!(ICertificateRequestProperties4, ICertificateRequestProperties4_Vtbl, 0x4e429ad2_1c61_4fea_b8fe_135fb19cdce4); +windows_core::imp::define_interface!(ICertificateRequestProperties4, ICertificateRequestProperties4_Vtbl, 0x4e429ad2_1c61_4fea_b8fe_135fb19cdce4); #[repr(C)] pub struct ICertificateRequestProperties4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -214,20 +214,20 @@ pub struct ICertificateRequestProperties4_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Extensions: usize, } -windows_core::imp::com_interface!(ICertificateStore, ICertificateStore_Vtbl, 0xb0bff720_344e_4331_af14_a7f7a7ebc93a); +windows_core::imp::define_interface!(ICertificateStore, ICertificateStore_Vtbl, 0xb0bff720_344e_4331_af14_a7f7a7ebc93a); #[repr(C)] pub struct ICertificateStore_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 Delete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICertificateStore2, ICertificateStore2_Vtbl, 0xc7e68e4a_417d_4d1a_babd_15687e549974); +windows_core::imp::define_interface!(ICertificateStore2, ICertificateStore2_Vtbl, 0xc7e68e4a_417d_4d1a_babd_15687e549974); #[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, } -windows_core::imp::com_interface!(ICertificateStoresStatics, ICertificateStoresStatics_Vtbl, 0xfbecc739_c6fe_4de7_99cf_74c3e596e032); +windows_core::imp::define_interface!(ICertificateStoresStatics, ICertificateStoresStatics_Vtbl, 0xfbecc739_c6fe_4de7_99cf_74c3e596e032); #[repr(C)] pub struct ICertificateStoresStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -243,13 +243,13 @@ pub struct ICertificateStoresStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ICertificateStoresStatics2, ICertificateStoresStatics2_Vtbl, 0xfa900b79_a0d4_4b8c_bc55_c0a37eb141ed); +windows_core::imp::define_interface!(ICertificateStoresStatics2, ICertificateStoresStatics2_Vtbl, 0xfa900b79_a0d4_4b8c_bc55_c0a37eb141ed); #[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, } -windows_core::imp::com_interface!(IChainBuildingParameters, IChainBuildingParameters_Vtbl, 0x422ba922_7c8d_47b7_b59b_b12703733ac3); +windows_core::imp::define_interface!(IChainBuildingParameters, IChainBuildingParameters_Vtbl, 0x422ba922_7c8d_47b7_b59b_b12703733ac3); #[repr(C)] pub struct IChainBuildingParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -272,7 +272,7 @@ pub struct IChainBuildingParameters_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ExclusiveTrustRoots: usize, } -windows_core::imp::com_interface!(IChainValidationParameters, IChainValidationParameters_Vtbl, 0xc4743b4a_7eb0_4b56_a040_b9c8e655ddf3); +windows_core::imp::define_interface!(IChainValidationParameters, IChainValidationParameters_Vtbl, 0xc4743b4a_7eb0_4b56_a040_b9c8e655ddf3); #[repr(C)] pub struct IChainValidationParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -287,7 +287,7 @@ pub struct IChainValidationParameters_Vtbl { #[cfg(not(feature = "Networking"))] SetServerDnsName: usize, } -windows_core::imp::com_interface!(ICmsAttachedSignature, ICmsAttachedSignature_Vtbl, 0x61899d9d_3757_4ecb_bddc_0ca357d7a936); +windows_core::imp::define_interface!(ICmsAttachedSignature, ICmsAttachedSignature_Vtbl, 0x61899d9d_3757_4ecb_bddc_0ca357d7a936); #[repr(C)] pub struct ICmsAttachedSignature_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -302,7 +302,7 @@ pub struct ICmsAttachedSignature_Vtbl { Signers: usize, pub VerifySignature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SignatureValidationResult) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICmsAttachedSignatureFactory, ICmsAttachedSignatureFactory_Vtbl, 0xd0c8fc15_f757_4c64_a362_52cc1c77cffb); +windows_core::imp::define_interface!(ICmsAttachedSignatureFactory, ICmsAttachedSignatureFactory_Vtbl, 0xd0c8fc15_f757_4c64_a362_52cc1c77cffb); #[repr(C)] pub struct ICmsAttachedSignatureFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -311,7 +311,7 @@ pub struct ICmsAttachedSignatureFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateCmsAttachedSignature: usize, } -windows_core::imp::com_interface!(ICmsAttachedSignatureStatics, ICmsAttachedSignatureStatics_Vtbl, 0x87989c8e_b0ad_498d_a7f5_78b59bce4b36); +windows_core::imp::define_interface!(ICmsAttachedSignatureStatics, ICmsAttachedSignatureStatics_Vtbl, 0x87989c8e_b0ad_498d_a7f5_78b59bce4b36); #[repr(C)] pub struct ICmsAttachedSignatureStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -320,7 +320,7 @@ pub struct ICmsAttachedSignatureStatics_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] GenerateSignatureAsync: usize, } -windows_core::imp::com_interface!(ICmsDetachedSignature, ICmsDetachedSignature_Vtbl, 0x0f1ef154_f65e_4536_8339_5944081db2ca); +windows_core::imp::define_interface!(ICmsDetachedSignature, ICmsDetachedSignature_Vtbl, 0x0f1ef154_f65e_4536_8339_5944081db2ca); #[repr(C)] pub struct ICmsDetachedSignature_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -337,7 +337,7 @@ pub struct ICmsDetachedSignature_Vtbl { #[cfg(not(feature = "Storage_Streams"))] VerifySignatureAsync: usize, } -windows_core::imp::com_interface!(ICmsDetachedSignatureFactory, ICmsDetachedSignatureFactory_Vtbl, 0xc4ab3503_ae7f_4387_ad19_00f150e48ebb); +windows_core::imp::define_interface!(ICmsDetachedSignatureFactory, ICmsDetachedSignatureFactory_Vtbl, 0xc4ab3503_ae7f_4387_ad19_00f150e48ebb); #[repr(C)] pub struct ICmsDetachedSignatureFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -346,7 +346,7 @@ pub struct ICmsDetachedSignatureFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateCmsDetachedSignature: usize, } -windows_core::imp::com_interface!(ICmsDetachedSignatureStatics, ICmsDetachedSignatureStatics_Vtbl, 0x3d114cfd_bf9b_4682_9be6_91f57c053808); +windows_core::imp::define_interface!(ICmsDetachedSignatureStatics, ICmsDetachedSignatureStatics_Vtbl, 0x3d114cfd_bf9b_4682_9be6_91f57c053808); #[repr(C)] pub struct ICmsDetachedSignatureStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -355,7 +355,7 @@ pub struct ICmsDetachedSignatureStatics_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_Streams")))] GenerateSignatureAsync: usize, } -windows_core::imp::com_interface!(ICmsSignerInfo, ICmsSignerInfo_Vtbl, 0x50d020db_1d2f_4c1a_b5c5_d0188ff91f47); +windows_core::imp::define_interface!(ICmsSignerInfo, ICmsSignerInfo_Vtbl, 0x50d020db_1d2f_4c1a_b5c5_d0188ff91f47); #[repr(C)] pub struct ICmsSignerInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -365,7 +365,7 @@ pub struct ICmsSignerInfo_Vtbl { pub SetHashAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(ICmsTimestampInfo, ICmsTimestampInfo_Vtbl, 0x2f5f00f2_2c18_4f88_8435_c534086076f5); +windows_core::imp::define_interface!(ICmsTimestampInfo, ICmsTimestampInfo_Vtbl, 0x2f5f00f2_2c18_4f88_8435_c534086076f5); #[repr(C)] pub struct ICmsTimestampInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -376,7 +376,7 @@ pub struct ICmsTimestampInfo_Vtbl { Certificates: usize, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyAlgorithmNamesStatics, IKeyAlgorithmNamesStatics_Vtbl, 0x479065d7_7ac7_4581_8c3b_d07027140448); +windows_core::imp::define_interface!(IKeyAlgorithmNamesStatics, IKeyAlgorithmNamesStatics_Vtbl, 0x479065d7_7ac7_4581_8c3b_d07027140448); #[repr(C)] pub struct IKeyAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -389,27 +389,27 @@ pub struct IKeyAlgorithmNamesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IKeyAlgorithmNamesStatics2, IKeyAlgorithmNamesStatics2_Vtbl, 0xc99b5686_e1fd_4a4a_893d_a26f33dd8bb4); +windows_core::imp::define_interface!(IKeyAlgorithmNamesStatics2, IKeyAlgorithmNamesStatics2_Vtbl, 0xc99b5686_e1fd_4a4a_893d_a26f33dd8bb4); #[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, } -windows_core::imp::com_interface!(IKeyAttestationHelperStatics, IKeyAttestationHelperStatics_Vtbl, 0x1648e246_f644_4326_88be_3af102d30e0c); +windows_core::imp::define_interface!(IKeyAttestationHelperStatics, IKeyAttestationHelperStatics_Vtbl, 0x1648e246_f644_4326_88be_3af102d30e0c); #[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, } -windows_core::imp::com_interface!(IKeyAttestationHelperStatics2, IKeyAttestationHelperStatics2_Vtbl, 0x9c590b2c_a6c6_4a5e_9e64_e85d5279df97); +windows_core::imp::define_interface!(IKeyAttestationHelperStatics2, IKeyAttestationHelperStatics2_Vtbl, 0x9c590b2c_a6c6_4a5e_9e64_e85d5279df97); #[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, } -windows_core::imp::com_interface!(IKeyStorageProviderNamesStatics, IKeyStorageProviderNamesStatics_Vtbl, 0xaf186ae0_5529_4602_bd94_0aab91957b5c); +windows_core::imp::define_interface!(IKeyStorageProviderNamesStatics, IKeyStorageProviderNamesStatics_Vtbl, 0xaf186ae0_5529_4602_bd94_0aab91957b5c); #[repr(C)] pub struct IKeyStorageProviderNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -417,13 +417,13 @@ pub struct IKeyStorageProviderNamesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IKeyStorageProviderNamesStatics2, IKeyStorageProviderNamesStatics2_Vtbl, 0x262d743d_9c2e_41cc_8812_c4d971dd7c60); +windows_core::imp::define_interface!(IKeyStorageProviderNamesStatics2, IKeyStorageProviderNamesStatics2_Vtbl, 0x262d743d_9c2e_41cc_8812_c4d971dd7c60); #[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, } -windows_core::imp::com_interface!(IPfxImportParameters, IPfxImportParameters_Vtbl, 0x680d3511_9a08_47c8_864a_2edd4d8eb46c); +windows_core::imp::define_interface!(IPfxImportParameters, IPfxImportParameters_Vtbl, 0x680d3511_9a08_47c8_864a_2edd4d8eb46c); #[repr(C)] pub struct IPfxImportParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -442,7 +442,7 @@ pub struct IPfxImportParameters_Vtbl { 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, } -windows_core::imp::com_interface!(IStandardCertificateStoreNamesStatics, IStandardCertificateStoreNamesStatics_Vtbl, 0x0c154adb_a496_41f8_8fe5_9e96f36efbf8); +windows_core::imp::define_interface!(IStandardCertificateStoreNamesStatics, IStandardCertificateStoreNamesStatics_Vtbl, 0x0c154adb_a496_41f8_8fe5_9e96f36efbf8); #[repr(C)] pub struct IStandardCertificateStoreNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -450,7 +450,7 @@ pub struct IStandardCertificateStoreNamesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ISubjectAlternativeNameInfo, ISubjectAlternativeNameInfo_Vtbl, 0x582859f1_569d_4c20_be7b_4e1c9a0bc52b); +windows_core::imp::define_interface!(ISubjectAlternativeNameInfo, ISubjectAlternativeNameInfo_Vtbl, 0x582859f1_569d_4c20_be7b_4e1c9a0bc52b); #[repr(C)] pub struct ISubjectAlternativeNameInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -479,7 +479,7 @@ pub struct ISubjectAlternativeNameInfo_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PrincipalName: usize, } -windows_core::imp::com_interface!(ISubjectAlternativeNameInfo2, ISubjectAlternativeNameInfo2_Vtbl, 0x437a78c6_1c51_41ea_b34a_3d654398a370); +windows_core::imp::define_interface!(ISubjectAlternativeNameInfo2, ISubjectAlternativeNameInfo2_Vtbl, 0x437a78c6_1c51_41ea_b34a_3d654398a370); #[repr(C)] pub struct ISubjectAlternativeNameInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -509,7 +509,7 @@ pub struct ISubjectAlternativeNameInfo2_Vtbl { PrincipalNames: usize, pub Extension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserCertificateEnrollmentManager, IUserCertificateEnrollmentManager_Vtbl, 0x96313718_22e1_4819_b20b_ab46a6eca06e); +windows_core::imp::define_interface!(IUserCertificateEnrollmentManager, IUserCertificateEnrollmentManager_Vtbl, 0x96313718_22e1_4819_b20b_ab46a6eca06e); #[repr(C)] pub struct IUserCertificateEnrollmentManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -518,13 +518,13 @@ pub struct IUserCertificateEnrollmentManager_Vtbl { 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, } -windows_core::imp::com_interface!(IUserCertificateEnrollmentManager2, IUserCertificateEnrollmentManager2_Vtbl, 0x0dad9cb1_65de_492a_b86d_fc5c482c3747); +windows_core::imp::define_interface!(IUserCertificateEnrollmentManager2, IUserCertificateEnrollmentManager2_Vtbl, 0x0dad9cb1_65de_492a_b86d_fc5c482c3747); #[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, } -windows_core::imp::com_interface!(IUserCertificateStore, IUserCertificateStore_Vtbl, 0xc9fb1d83_789f_4b4e_9180_045a757aac6d); +windows_core::imp::define_interface!(IUserCertificateStore, IUserCertificateStore_Vtbl, 0xc9fb1d83_789f_4b4e_9180_045a757aac6d); #[repr(C)] pub struct IUserCertificateStore_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 01fc139a20..73c97a6de0 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAsymmetricAlgorithmNamesStatics, IAsymmetricAlgorithmNamesStatics_Vtbl, 0xcaf6fce4_67c0_46aa_84f9_752e77449f9b); +windows_core::imp::define_interface!(IAsymmetricAlgorithmNamesStatics, IAsymmetricAlgorithmNamesStatics_Vtbl, 0xcaf6fce4_67c0_46aa_84f9_752e77449f9b); #[repr(C)] pub struct IAsymmetricAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -21,7 +21,7 @@ pub struct IAsymmetricAlgorithmNamesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IAsymmetricAlgorithmNamesStatics2, IAsymmetricAlgorithmNamesStatics2_Vtbl, 0xf141c0d6_4bff_4f23_ba66_6045b137d5df); +windows_core::imp::define_interface!(IAsymmetricAlgorithmNamesStatics2, IAsymmetricAlgorithmNamesStatics2_Vtbl, 0xf141c0d6_4bff_4f23_ba66_6045b137d5df); #[repr(C)] pub struct IAsymmetricAlgorithmNamesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -29,7 +29,7 @@ pub struct IAsymmetricAlgorithmNamesStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IAsymmetricKeyAlgorithmProvider, IAsymmetricKeyAlgorithmProvider_Vtbl, 0xe8d2ff37_6259_4e88_b7e0_94191fde699e); +windows_core::imp::define_interface!(IAsymmetricKeyAlgorithmProvider, IAsymmetricKeyAlgorithmProvider_Vtbl, 0xe8d2ff37_6259_4e88_b7e0_94191fde699e); #[repr(C)] pub struct IAsymmetricKeyAlgorithmProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -52,20 +52,20 @@ pub struct IAsymmetricKeyAlgorithmProvider_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ImportPublicKeyWithBlobType: usize, } -windows_core::imp::com_interface!(IAsymmetricKeyAlgorithmProvider2, IAsymmetricKeyAlgorithmProvider2_Vtbl, 0x4e322a7e_7c4d_4997_ac4f_1b848b36306e); +windows_core::imp::define_interface!(IAsymmetricKeyAlgorithmProvider2, IAsymmetricKeyAlgorithmProvider2_Vtbl, 0x4e322a7e_7c4d_4997_ac4f_1b848b36306e); #[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 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::com_interface!(IAsymmetricKeyAlgorithmProviderStatics, IAsymmetricKeyAlgorithmProviderStatics_Vtbl, 0x425bde18_a7f3_47a6_a8d2_c48d6033a65c); +windows_core::imp::define_interface!(IAsymmetricKeyAlgorithmProviderStatics, IAsymmetricKeyAlgorithmProviderStatics_Vtbl, 0x425bde18_a7f3_47a6_a8d2_c48d6033a65c); #[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, } -windows_core::imp::com_interface!(ICryptographicEngineStatics, ICryptographicEngineStatics_Vtbl, 0x9fea0639_6ff7_4c85_a095_95eb31715eb9); +windows_core::imp::define_interface!(ICryptographicEngineStatics, ICryptographicEngineStatics_Vtbl, 0x9fea0639_6ff7_4c85_a095_95eb31715eb9); #[repr(C)] pub struct ICryptographicEngineStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -98,7 +98,7 @@ pub struct ICryptographicEngineStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] DeriveKeyMaterial: usize, } -windows_core::imp::com_interface!(ICryptographicEngineStatics2, ICryptographicEngineStatics2_Vtbl, 0x675948fe_df9f_4191_92c7_6ce6f58420e0); +windows_core::imp::define_interface!(ICryptographicEngineStatics2, ICryptographicEngineStatics2_Vtbl, 0x675948fe_df9f_4191_92c7_6ce6f58420e0); #[repr(C)] pub struct ICryptographicEngineStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -123,7 +123,7 @@ pub struct ICryptographicEngineStatics2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] SignHashedDataAsync: usize, } -windows_core::imp::com_interface!(ICryptographicKey, ICryptographicKey_Vtbl, 0xed2a3b70_8e7b_4009_8401_ffd1a62eeb27); +windows_core::imp::define_interface!(ICryptographicKey, ICryptographicKey_Vtbl, 0xed2a3b70_8e7b_4009_8401_ffd1a62eeb27); #[repr(C)] pub struct ICryptographicKey_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -145,7 +145,7 @@ pub struct ICryptographicKey_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ExportPublicKeyWithBlobType: usize, } -windows_core::imp::com_interface!(IEccCurveNamesStatics, IEccCurveNamesStatics_Vtbl, 0xb3ff930c_aeeb_409e_b7d4_9b95295aaecf); +windows_core::imp::define_interface!(IEccCurveNamesStatics, IEccCurveNamesStatics_Vtbl, 0xb3ff930c_aeeb_409e_b7d4_9b95295aaecf); #[repr(C)] pub struct IEccCurveNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -199,7 +199,7 @@ pub struct IEccCurveNamesStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AllEccCurveNames: usize, } -windows_core::imp::com_interface!(IEncryptedAndAuthenticatedData, IEncryptedAndAuthenticatedData_Vtbl, 0x6fa42fe7_1ecb_4b00_bea5_60b83f862f17); +windows_core::imp::define_interface!(IEncryptedAndAuthenticatedData, IEncryptedAndAuthenticatedData_Vtbl, 0x6fa42fe7_1ecb_4b00_bea5_60b83f862f17); #[repr(C)] pub struct IEncryptedAndAuthenticatedData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -212,7 +212,7 @@ pub struct IEncryptedAndAuthenticatedData_Vtbl { #[cfg(not(feature = "Storage_Streams"))] AuthenticationTag: usize, } -windows_core::imp::com_interface!(IHashAlgorithmNamesStatics, IHashAlgorithmNamesStatics_Vtbl, 0x6b5e0516_de96_4f0a_8d57_dcc9dae36c76); +windows_core::imp::define_interface!(IHashAlgorithmNamesStatics, IHashAlgorithmNamesStatics_Vtbl, 0x6b5e0516_de96_4f0a_8d57_dcc9dae36c76); #[repr(C)] pub struct IHashAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -222,7 +222,7 @@ pub struct IHashAlgorithmNamesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IHashAlgorithmProvider, IHashAlgorithmProvider_Vtbl, 0xbe9b3080_b2c3_422b_bce1_ec90efb5d7b5); +windows_core::imp::define_interface!(IHashAlgorithmProvider, IHashAlgorithmProvider_Vtbl, 0xbe9b3080_b2c3_422b_bce1_ec90efb5d7b5); #[repr(C)] pub struct IHashAlgorithmProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -234,13 +234,13 @@ pub struct IHashAlgorithmProvider_Vtbl { HashData: usize, pub CreateHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHashAlgorithmProviderStatics, IHashAlgorithmProviderStatics_Vtbl, 0x9fac9741_5cc4_4336_ae38_6212b75a915a); +windows_core::imp::define_interface!(IHashAlgorithmProviderStatics, IHashAlgorithmProviderStatics_Vtbl, 0x9fac9741_5cc4_4336_ae38_6212b75a915a); #[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, } -windows_core::imp::com_interface!(IHashComputation, IHashComputation_Vtbl, 0x5904d1b6_ad31_4603_a3a4_b1bda98e2562); +windows_core::imp::define_interface!(IHashComputation, IHashComputation_Vtbl, 0x5904d1b6_ad31_4603_a3a4_b1bda98e2562); #[repr(C)] pub struct IHashComputation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -253,7 +253,7 @@ pub struct IHashComputation_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetValueAndReset: usize, } -windows_core::imp::com_interface!(IKeyDerivationAlgorithmNamesStatics, IKeyDerivationAlgorithmNamesStatics_Vtbl, 0x7b6e363e_94d2_4739_a57b_022e0c3a402a); +windows_core::imp::define_interface!(IKeyDerivationAlgorithmNamesStatics, IKeyDerivationAlgorithmNamesStatics_Vtbl, 0x7b6e363e_94d2_4739_a57b_022e0c3a402a); #[repr(C)] pub struct IKeyDerivationAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -273,7 +273,7 @@ pub struct IKeyDerivationAlgorithmNamesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IKeyDerivationAlgorithmNamesStatics2, IKeyDerivationAlgorithmNamesStatics2_Vtbl, 0x57953fab_6044_466f_97f4_337b7808384d); +windows_core::imp::define_interface!(IKeyDerivationAlgorithmNamesStatics2, IKeyDerivationAlgorithmNamesStatics2_Vtbl, 0x57953fab_6044_466f_97f4_337b7808384d); #[repr(C)] pub struct IKeyDerivationAlgorithmNamesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -283,7 +283,7 @@ pub struct IKeyDerivationAlgorithmNamesStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IKeyDerivationAlgorithmProvider, IKeyDerivationAlgorithmProvider_Vtbl, 0xe1fba83b_4671_43b7_9158_763aaa98b6bf); +windows_core::imp::define_interface!(IKeyDerivationAlgorithmProvider, IKeyDerivationAlgorithmProvider_Vtbl, 0xe1fba83b_4671_43b7_9158_763aaa98b6bf); #[repr(C)] pub struct IKeyDerivationAlgorithmProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -293,13 +293,13 @@ pub struct IKeyDerivationAlgorithmProvider_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateKey: usize, } -windows_core::imp::com_interface!(IKeyDerivationAlgorithmProviderStatics, IKeyDerivationAlgorithmProviderStatics_Vtbl, 0x0a22097a_0a1c_443b_9418_b9498aeb1603); +windows_core::imp::define_interface!(IKeyDerivationAlgorithmProviderStatics, IKeyDerivationAlgorithmProviderStatics_Vtbl, 0x0a22097a_0a1c_443b_9418_b9498aeb1603); #[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, } -windows_core::imp::com_interface!(IKeyDerivationParameters, IKeyDerivationParameters_Vtbl, 0x7bf05967_047b_4a8c_964a_469ffd5522e2); +windows_core::imp::define_interface!(IKeyDerivationParameters, IKeyDerivationParameters_Vtbl, 0x7bf05967_047b_4a8c_964a_469ffd5522e2); #[repr(C)] pub struct IKeyDerivationParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -313,14 +313,14 @@ pub struct IKeyDerivationParameters_Vtbl { SetKdfGenericBinary: usize, pub IterationCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyDerivationParameters2, IKeyDerivationParameters2_Vtbl, 0xcd4166d1_417e_4f4c_b666_c0d879f3f8e0); +windows_core::imp::define_interface!(IKeyDerivationParameters2, IKeyDerivationParameters2_Vtbl, 0xcd4166d1_417e_4f4c_b666_c0d879f3f8e0); #[repr(C)] pub struct IKeyDerivationParameters2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Capi1KdfTargetAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Capi1KdfTargetAlgorithm) -> windows_core::HRESULT, pub SetCapi1KdfTargetAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, Capi1KdfTargetAlgorithm) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyDerivationParametersStatics, IKeyDerivationParametersStatics_Vtbl, 0xea961fbe_f37f_4146_9dfe_a456f1735f4b); +windows_core::imp::define_interface!(IKeyDerivationParametersStatics, IKeyDerivationParametersStatics_Vtbl, 0xea961fbe_f37f_4146_9dfe_a456f1735f4b); #[repr(C)] pub struct IKeyDerivationParametersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -337,13 +337,13 @@ pub struct IKeyDerivationParametersStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] BuildForSP80056a: usize, } -windows_core::imp::com_interface!(IKeyDerivationParametersStatics2, IKeyDerivationParametersStatics2_Vtbl, 0xa5783dd5_58e3_4efb_b283_a1653126e1be); +windows_core::imp::define_interface!(IKeyDerivationParametersStatics2, IKeyDerivationParametersStatics2_Vtbl, 0xa5783dd5_58e3_4efb_b283_a1653126e1be); #[repr(C)] pub struct IKeyDerivationParametersStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BuildForCapi1Kdf: unsafe extern "system" fn(*mut core::ffi::c_void, Capi1KdfTargetAlgorithm, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMacAlgorithmNamesStatics, IMacAlgorithmNamesStatics_Vtbl, 0x41412678_fb1e_43a4_895e_a9026e4390a3); +windows_core::imp::define_interface!(IMacAlgorithmNamesStatics, IMacAlgorithmNamesStatics_Vtbl, 0x41412678_fb1e_43a4_895e_a9026e4390a3); #[repr(C)] pub struct IMacAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -354,7 +354,7 @@ pub struct IMacAlgorithmNamesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IMacAlgorithmProvider, IMacAlgorithmProvider_Vtbl, 0x4a3fc5c3_1cbd_41ce_a092_aa0bc5d2d2f5); +windows_core::imp::define_interface!(IMacAlgorithmProvider, IMacAlgorithmProvider_Vtbl, 0x4a3fc5c3_1cbd_41ce_a092_aa0bc5d2d2f5); #[repr(C)] pub struct IMacAlgorithmProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -365,7 +365,7 @@ pub struct IMacAlgorithmProvider_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateKey: usize, } -windows_core::imp::com_interface!(IMacAlgorithmProvider2, IMacAlgorithmProvider2_Vtbl, 0x6da32a15_d931_42ed_8e7e_c301caee119c); +windows_core::imp::define_interface!(IMacAlgorithmProvider2, IMacAlgorithmProvider2_Vtbl, 0x6da32a15_d931_42ed_8e7e_c301caee119c); #[repr(C)] pub struct IMacAlgorithmProvider2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -374,13 +374,13 @@ pub struct IMacAlgorithmProvider2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateHash: usize, } -windows_core::imp::com_interface!(IMacAlgorithmProviderStatics, IMacAlgorithmProviderStatics_Vtbl, 0xc9bdc147_cc77_4df0_9e4e_b921e080644c); +windows_core::imp::define_interface!(IMacAlgorithmProviderStatics, IMacAlgorithmProviderStatics_Vtbl, 0xc9bdc147_cc77_4df0_9e4e_b921e080644c); #[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, } -windows_core::imp::com_interface!(IPersistedKeyProviderStatics, IPersistedKeyProviderStatics_Vtbl, 0x77274814_d9d4_4cf5_b668_e0457df30894); +windows_core::imp::define_interface!(IPersistedKeyProviderStatics, IPersistedKeyProviderStatics_Vtbl, 0x77274814_d9d4_4cf5_b668_e0457df30894); #[repr(C)] pub struct IPersistedKeyProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -393,7 +393,7 @@ pub struct IPersistedKeyProviderStatics_Vtbl { #[cfg(not(feature = "Security_Cryptography_Certificates"))] OpenPublicKeyFromCertificate: usize, } -windows_core::imp::com_interface!(ISymmetricAlgorithmNamesStatics, ISymmetricAlgorithmNamesStatics_Vtbl, 0x6870727b_c996_4eae_84d7_79b2aeb73b9c); +windows_core::imp::define_interface!(ISymmetricAlgorithmNamesStatics, ISymmetricAlgorithmNamesStatics_Vtbl, 0x6870727b_c996_4eae_84d7_79b2aeb73b9c); #[repr(C)] pub struct ISymmetricAlgorithmNamesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -417,7 +417,7 @@ pub struct ISymmetricAlgorithmNamesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ISymmetricKeyAlgorithmProvider, ISymmetricKeyAlgorithmProvider_Vtbl, 0x3d7e4a33_3bd0_4902_8ac8_470d50d21376); +windows_core::imp::define_interface!(ISymmetricKeyAlgorithmProvider, ISymmetricKeyAlgorithmProvider_Vtbl, 0x3d7e4a33_3bd0_4902_8ac8_470d50d21376); #[repr(C)] pub struct ISymmetricKeyAlgorithmProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -428,7 +428,7 @@ pub struct ISymmetricKeyAlgorithmProvider_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateSymmetricKey: usize, } -windows_core::imp::com_interface!(ISymmetricKeyAlgorithmProviderStatics, ISymmetricKeyAlgorithmProviderStatics_Vtbl, 0x8d3b2326_1f37_491f_b60e_f5431b26b483); +windows_core::imp::define_interface!(ISymmetricKeyAlgorithmProviderStatics, ISymmetricKeyAlgorithmProviderStatics_Vtbl, 0x8d3b2326_1f37_491f_b60e_f5431b26b483); #[repr(C)] pub struct ISymmetricKeyAlgorithmProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 8df331ae6b..afa7473631 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/DataProtection/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDataProtectionProvider, IDataProtectionProvider_Vtbl, 0x09639948_ed22_4270_bd1c_6d72c00f8787); +windows_core::imp::define_interface!(IDataProtectionProvider, IDataProtectionProvider_Vtbl, 0x09639948_ed22_4270_bd1c_6d72c00f8787); #[repr(C)] pub struct IDataProtectionProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,7 +19,7 @@ pub struct IDataProtectionProvider_Vtbl { #[cfg(not(feature = "Storage_Streams"))] UnprotectStreamAsync: usize, } -windows_core::imp::com_interface!(IDataProtectionProviderFactory, IDataProtectionProviderFactory_Vtbl, 0xadf33dac_4932_4cdf_ac41_7214333514ca); +windows_core::imp::define_interface!(IDataProtectionProviderFactory, IDataProtectionProviderFactory_Vtbl, 0xadf33dac_4932_4cdf_ac41_7214333514ca); #[repr(C)] pub struct IDataProtectionProviderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs b/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs index 189b687b78..88086f5cc8 100644 --- a/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Cryptography/mod.rs @@ -4,7 +4,7 @@ pub mod Certificates; pub mod Core; #[cfg(feature = "Security_Cryptography_DataProtection")] pub mod DataProtection; -windows_core::imp::com_interface!(ICryptographicBufferStatics, ICryptographicBufferStatics_Vtbl, 0x320b7e22_3cb0_4cdf_8663_1d28910065eb); +windows_core::imp::define_interface!(ICryptographicBufferStatics, ICryptographicBufferStatics_Vtbl, 0x320b7e22_3cb0_4cdf_8663_1d28910065eb); #[repr(C)] pub struct ICryptographicBufferStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs index 7811be7f1f..cc7fa16910 100644 --- a/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs +++ b/crates/libs/windows/src/Windows/Security/DataProtection/mod.rs @@ -1,10 +1,10 @@ -windows_core::imp::com_interface!(IUserDataAvailabilityStateChangedEventArgs, IUserDataAvailabilityStateChangedEventArgs_Vtbl, 0xa76582c9_06a2_4273_a803_834c9f87fbeb); +windows_core::imp::define_interface!(IUserDataAvailabilityStateChangedEventArgs, IUserDataAvailabilityStateChangedEventArgs_Vtbl, 0xa76582c9_06a2_4273_a803_834c9f87fbeb); #[repr(C)] pub struct IUserDataAvailabilityStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDataBufferUnprotectResult, IUserDataBufferUnprotectResult_Vtbl, 0x8efd0e90_fa9a_46a4_a377_01cebf1e74d8); +windows_core::imp::define_interface!(IUserDataBufferUnprotectResult, IUserDataBufferUnprotectResult_Vtbl, 0x8efd0e90_fa9a_46a4_a377_01cebf1e74d8); #[repr(C)] pub struct IUserDataBufferUnprotectResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -14,7 +14,7 @@ pub struct IUserDataBufferUnprotectResult_Vtbl { #[cfg(not(feature = "Storage_Streams"))] UnprotectedBuffer: usize, } -windows_core::imp::com_interface!(IUserDataProtectionManager, IUserDataProtectionManager_Vtbl, 0x1f13237d_b42e_4a88_9480_0f240924c876); +windows_core::imp::define_interface!(IUserDataProtectionManager, IUserDataProtectionManager_Vtbl, 0x1f13237d_b42e_4a88_9480_0f240924c876); #[repr(C)] pub struct IUserDataProtectionManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,7 +38,7 @@ pub struct IUserDataProtectionManager_Vtbl { pub DataAvailabilityStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDataAvailabilityStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDataProtectionManagerStatics, IUserDataProtectionManagerStatics_Vtbl, 0x977780e8_6dce_4fae_af85_782ac2cf4572); +windows_core::imp::define_interface!(IUserDataProtectionManagerStatics, IUserDataProtectionManagerStatics_Vtbl, 0x977780e8_6dce_4fae_af85_782ac2cf4572); #[repr(C)] pub struct IUserDataProtectionManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -48,7 +48,7 @@ pub struct IUserDataProtectionManagerStatics_Vtbl { #[cfg(not(feature = "System"))] TryGetForUser: usize, } -windows_core::imp::com_interface!(IUserDataStorageItemProtectionInfo, IUserDataStorageItemProtectionInfo_Vtbl, 0x5b6680f6_e87f_40a1_b19d_a6187a0c662f); +windows_core::imp::define_interface!(IUserDataStorageItemProtectionInfo, IUserDataStorageItemProtectionInfo_Vtbl, 0x5b6680f6_e87f_40a1_b19d_a6187a0c662f); #[repr(C)] pub struct IUserDataStorageItemProtectionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs index 0279e1f744..c166213d1d 100644 --- a/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Security/EnterpriseData/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IBufferProtectUnprotectResult, IBufferProtectUnprotectResult_Vtbl, 0x47995edc_6cec_4e3a_b251_9e7485d79e7a); +windows_core::imp::define_interface!(IBufferProtectUnprotectResult, IBufferProtectUnprotectResult_Vtbl, 0x47995edc_6cec_4e3a_b251_9e7485d79e7a); #[repr(C)] pub struct IBufferProtectUnprotectResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,14 +8,14 @@ pub struct IBufferProtectUnprotectResult_Vtbl { Buffer: usize, pub ProtectionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataProtectionInfo, IDataProtectionInfo_Vtbl, 0x8420b0c1_5e31_4405_9540_3f943af0cb26); +windows_core::imp::define_interface!(IDataProtectionInfo, IDataProtectionInfo_Vtbl, 0x8420b0c1_5e31_4405_9540_3f943af0cb26); #[repr(C)] 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, } -windows_core::imp::com_interface!(IDataProtectionManagerStatics, IDataProtectionManagerStatics_Vtbl, 0xb6149b74_9144_4ee4_8a8a_30b5f361430e); +windows_core::imp::define_interface!(IDataProtectionManagerStatics, IDataProtectionManagerStatics_Vtbl, 0xb6149b74_9144_4ee4_8a8a_30b5f361430e); #[repr(C)] pub struct IDataProtectionManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,7 +44,7 @@ pub struct IDataProtectionManagerStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetStreamProtectionInfoAsync: usize, } -windows_core::imp::com_interface!(IFileProtectionInfo, IFileProtectionInfo_Vtbl, 0x4ee96486_147e_4dd0_8faf_5253ed91ad0c); +windows_core::imp::define_interface!(IFileProtectionInfo, IFileProtectionInfo_Vtbl, 0x4ee96486_147e_4dd0_8faf_5253ed91ad0c); #[repr(C)] pub struct IFileProtectionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -52,13 +52,13 @@ pub struct IFileProtectionInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IFileProtectionInfo2, IFileProtectionInfo2_Vtbl, 0x82123a4c_557a_498d_8e94_944cd5836432); +windows_core::imp::define_interface!(IFileProtectionInfo2, IFileProtectionInfo2_Vtbl, 0x82123a4c_557a_498d_8e94_944cd5836432); #[repr(C)] pub struct IFileProtectionInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsProtectWhileOpenSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileProtectionManagerStatics, IFileProtectionManagerStatics_Vtbl, 0x5846fc9b_e613_426b_bb38_88cba1dc9adb); +windows_core::imp::define_interface!(IFileProtectionManagerStatics, IFileProtectionManagerStatics_Vtbl, 0x5846fc9b_e613_426b_bb38_88cba1dc9adb); #[repr(C)] pub struct IFileProtectionManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -91,7 +91,7 @@ pub struct IFileProtectionManagerStatics_Vtbl { #[cfg(not(feature = "Storage"))] CreateProtectedAndOpenAsync: usize, } -windows_core::imp::com_interface!(IFileProtectionManagerStatics2, IFileProtectionManagerStatics2_Vtbl, 0x83d2a745_0483_41ab_b2d5_bc7f23d74ebb); +windows_core::imp::define_interface!(IFileProtectionManagerStatics2, IFileProtectionManagerStatics2_Vtbl, 0x83d2a745_0483_41ab_b2d5_bc7f23d74ebb); #[repr(C)] pub struct IFileProtectionManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -108,7 +108,7 @@ pub struct IFileProtectionManagerStatics2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] SaveFileAsContainerWithSharingAsync: usize, } -windows_core::imp::com_interface!(IFileProtectionManagerStatics3, IFileProtectionManagerStatics3_Vtbl, 0x6918849a_624f_46d6_b241_e9cd5fdf3e3f); +windows_core::imp::define_interface!(IFileProtectionManagerStatics3, IFileProtectionManagerStatics3_Vtbl, 0x6918849a_624f_46d6_b241_e9cd5fdf3e3f); #[repr(C)] pub struct IFileProtectionManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -122,7 +122,7 @@ pub struct IFileProtectionManagerStatics3_Vtbl { UnprotectWithOptionsAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IFileRevocationManagerStatics, IFileRevocationManagerStatics_Vtbl, 0x256bbc3d_1c5d_4260_8c75_9144cfb78ba9); +windows_core::imp::define_interface!(IFileRevocationManagerStatics, IFileRevocationManagerStatics_Vtbl, 0x256bbc3d_1c5d_4260_8c75_9144cfb78ba9); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IFileRevocationManagerStatics_Vtbl { @@ -144,20 +144,20 @@ pub struct IFileRevocationManagerStatics_Vtbl { #[cfg(not(all(feature = "Storage", feature = "deprecated")))] GetStatusAsync: usize, } -windows_core::imp::com_interface!(IFileUnprotectOptions, IFileUnprotectOptions_Vtbl, 0x7d1312f1_3b0d_4dd8_a1f8_1ec53822e2f3); +windows_core::imp::define_interface!(IFileUnprotectOptions, IFileUnprotectOptions_Vtbl, 0x7d1312f1_3b0d_4dd8_a1f8_1ec53822e2f3); #[repr(C)] pub struct IFileUnprotectOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetAudit: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub Audit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileUnprotectOptionsFactory, IFileUnprotectOptionsFactory_Vtbl, 0x51aeb39c_da8c_4c3f_9bfb_cb73a7cce0dd); +windows_core::imp::define_interface!(IFileUnprotectOptionsFactory, IFileUnprotectOptionsFactory_Vtbl, 0x51aeb39c_da8c_4c3f_9bfb_cb73a7cce0dd); #[repr(C)] pub struct IFileUnprotectOptionsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProtectedAccessResumedEventArgs, IProtectedAccessResumedEventArgs_Vtbl, 0xac4dca59_5d80_4e95_8c5f_8539450eebe0); +windows_core::imp::define_interface!(IProtectedAccessResumedEventArgs, IProtectedAccessResumedEventArgs_Vtbl, 0xac4dca59_5d80_4e95_8c5f_8539450eebe0); #[repr(C)] pub struct IProtectedAccessResumedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -166,7 +166,7 @@ pub struct IProtectedAccessResumedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Identities: usize, } -windows_core::imp::com_interface!(IProtectedAccessSuspendingEventArgs, IProtectedAccessSuspendingEventArgs_Vtbl, 0x75a193e0_a344_429f_b975_04fc1f88c185); +windows_core::imp::define_interface!(IProtectedAccessSuspendingEventArgs, IProtectedAccessSuspendingEventArgs_Vtbl, 0x75a193e0_a344_429f_b975_04fc1f88c185); #[repr(C)] pub struct IProtectedAccessSuspendingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -177,7 +177,7 @@ pub struct IProtectedAccessSuspendingEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IProtectedContainerExportResult, IProtectedContainerExportResult_Vtbl, 0x3948ef95_f7fb_4b42_afb0_df70b41543c1); +windows_core::imp::define_interface!(IProtectedContainerExportResult, IProtectedContainerExportResult_Vtbl, 0x3948ef95_f7fb_4b42_afb0_df70b41543c1); #[repr(C)] pub struct IProtectedContainerExportResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -187,7 +187,7 @@ pub struct IProtectedContainerExportResult_Vtbl { #[cfg(not(feature = "Storage"))] File: usize, } -windows_core::imp::com_interface!(IProtectedContainerImportResult, IProtectedContainerImportResult_Vtbl, 0xcdb780d1_e7bb_4d1a_9339_34dc41149f9b); +windows_core::imp::define_interface!(IProtectedContainerImportResult, IProtectedContainerImportResult_Vtbl, 0xcdb780d1_e7bb_4d1a_9339_34dc41149f9b); #[repr(C)] pub struct IProtectedContainerImportResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -197,7 +197,7 @@ pub struct IProtectedContainerImportResult_Vtbl { #[cfg(not(feature = "Storage"))] File: usize, } -windows_core::imp::com_interface!(IProtectedContentRevokedEventArgs, IProtectedContentRevokedEventArgs_Vtbl, 0x63686821_58b9_47ee_93d9_f0f741cf43f0); +windows_core::imp::define_interface!(IProtectedContentRevokedEventArgs, IProtectedContentRevokedEventArgs_Vtbl, 0x63686821_58b9_47ee_93d9_f0f741cf43f0); #[repr(C)] pub struct IProtectedContentRevokedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -206,7 +206,7 @@ pub struct IProtectedContentRevokedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Identities: usize, } -windows_core::imp::com_interface!(IProtectedFileCreateResult, IProtectedFileCreateResult_Vtbl, 0x28e3ed6a_e9e7_4a03_9f53_bdb16172699b); +windows_core::imp::define_interface!(IProtectedFileCreateResult, IProtectedFileCreateResult_Vtbl, 0x28e3ed6a_e9e7_4a03_9f53_bdb16172699b); #[repr(C)] pub struct IProtectedFileCreateResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -220,7 +220,7 @@ pub struct IProtectedFileCreateResult_Vtbl { Stream: usize, pub ProtectionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProtectionPolicyAuditInfo, IProtectionPolicyAuditInfo_Vtbl, 0x425ab7e4_feb7_44fc_b3bb_c3c4d7ecbebb); +windows_core::imp::define_interface!(IProtectionPolicyAuditInfo, IProtectionPolicyAuditInfo_Vtbl, 0x425ab7e4_feb7_44fc_b3bb_c3c4d7ecbebb); #[repr(C)] pub struct IProtectionPolicyAuditInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -233,28 +233,28 @@ pub struct IProtectionPolicyAuditInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IProtectionPolicyAuditInfoFactory, IProtectionPolicyAuditInfoFactory_Vtbl, 0x7ed4180b_92e8_42d5_83d4_25440b423549); +windows_core::imp::define_interface!(IProtectionPolicyAuditInfoFactory, IProtectionPolicyAuditInfoFactory_Vtbl, 0x7ed4180b_92e8_42d5_83d4_25440b423549); #[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, } -windows_core::imp::com_interface!(IProtectionPolicyManager, IProtectionPolicyManager_Vtbl, 0xd5703e18_a08d_47e6_a240_9934d7165eb5); +windows_core::imp::define_interface!(IProtectionPolicyManager, IProtectionPolicyManager_Vtbl, 0xd5703e18_a08d_47e6_a240_9934d7165eb5); #[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, } -windows_core::imp::com_interface!(IProtectionPolicyManager2, IProtectionPolicyManager2_Vtbl, 0xabf7527a_8435_417f_99b6_51beaf365888); +windows_core::imp::define_interface!(IProtectionPolicyManager2, IProtectionPolicyManager2_Vtbl, 0xabf7527a_8435_417f_99b6_51beaf365888); #[repr(C)] pub struct IProtectionPolicyManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetShowEnterpriseIndicator: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub ShowEnterpriseIndicator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProtectionPolicyManagerStatics, IProtectionPolicyManagerStatics_Vtbl, 0xc0bffc66_8c3d_4d56_8804_c68f0ad32ec5); +windows_core::imp::define_interface!(IProtectionPolicyManagerStatics, IProtectionPolicyManagerStatics_Vtbl, 0xc0bffc66_8c3d_4d56_8804_c68f0ad32ec5); #[repr(C)] pub struct IProtectionPolicyManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -277,7 +277,7 @@ pub struct IProtectionPolicyManagerStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IProtectionPolicyManagerStatics2, IProtectionPolicyManagerStatics2_Vtbl, 0xb68f9a8c_39e0_4649_b2e4_070ab8a579b3); +windows_core::imp::define_interface!(IProtectionPolicyManagerStatics2, IProtectionPolicyManagerStatics2_Vtbl, 0xb68f9a8c_39e0_4649_b2e4_070ab8a579b3); #[repr(C)] pub struct IProtectionPolicyManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -291,7 +291,7 @@ pub struct IProtectionPolicyManagerStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IProtectionPolicyManagerStatics3, IProtectionPolicyManagerStatics3_Vtbl, 0x48ff9e8c_6a6f_4d9f_bced_18ab537aa015); +windows_core::imp::define_interface!(IProtectionPolicyManagerStatics3, IProtectionPolicyManagerStatics3_Vtbl, 0x48ff9e8c_6a6f_4d9f_bced_18ab537aa015); #[repr(C)] pub struct IProtectionPolicyManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -301,7 +301,7 @@ pub struct IProtectionPolicyManagerStatics3_Vtbl { 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, } -windows_core::imp::com_interface!(IProtectionPolicyManagerStatics4, IProtectionPolicyManagerStatics4_Vtbl, 0x20b794db_ccbd_490f_8c83_49ccb77aea6c); +windows_core::imp::define_interface!(IProtectionPolicyManagerStatics4, IProtectionPolicyManagerStatics4_Vtbl, 0x20b794db_ccbd_490f_8c83_49ccb77aea6c); #[repr(C)] pub struct IProtectionPolicyManagerStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -335,7 +335,7 @@ pub struct IProtectionPolicyManagerStatics4_Vtbl { 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, } -windows_core::imp::com_interface!(IThreadNetworkContext, IThreadNetworkContext_Vtbl, 0xfa4ea8e9_ef13_405a_b12c_d7348c6f41fc); +windows_core::imp::define_interface!(IThreadNetworkContext, IThreadNetworkContext_Vtbl, 0xfa4ea8e9_ef13_405a_b12c_d7348c6f41fc); #[repr(C)] pub struct IThreadNetworkContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs index 694e9f8aee..6a09cda0b3 100644 --- a/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs +++ b/crates/libs/windows/src/Windows/Security/ExchangeActiveSyncProvisioning/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IEasClientDeviceInformation, IEasClientDeviceInformation_Vtbl, 0x54dfd981_1968_4ca3_b958_e595d16505eb); +windows_core::imp::define_interface!(IEasClientDeviceInformation, IEasClientDeviceInformation_Vtbl, 0x54dfd981_1968_4ca3_b958_e595d16505eb); #[repr(C)] pub struct IEasClientDeviceInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,14 +9,14 @@ pub struct IEasClientDeviceInformation_Vtbl { 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, } -windows_core::imp::com_interface!(IEasClientDeviceInformation2, IEasClientDeviceInformation2_Vtbl, 0xffb35923_bb26_4d6a_81bc_165aee0ad754); +windows_core::imp::define_interface!(IEasClientDeviceInformation2, IEasClientDeviceInformation2_Vtbl, 0xffb35923_bb26_4d6a_81bc_165aee0ad754); #[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, } -windows_core::imp::com_interface!(IEasClientSecurityPolicy, IEasClientSecurityPolicy_Vtbl, 0x45b72362_dfba_4a9b_aced_6fe2adcb6420); +windows_core::imp::define_interface!(IEasClientSecurityPolicy, IEasClientSecurityPolicy_Vtbl, 0x45b72362_dfba_4a9b_aced_6fe2adcb6420); #[repr(C)] pub struct IEasClientSecurityPolicy_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -39,7 +39,7 @@ pub struct IEasClientSecurityPolicy_Vtbl { pub CheckCompliance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ApplyAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEasComplianceResults, IEasComplianceResults_Vtbl, 0x463c299c_7f19_4c66_b403_cb45dd57a2b3); +windows_core::imp::define_interface!(IEasComplianceResults, IEasComplianceResults_Vtbl, 0x463c299c_7f19_4c66_b403_cb45dd57a2b3); #[repr(C)] pub struct IEasComplianceResults_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,7 +53,7 @@ pub struct IEasComplianceResults_Vtbl { pub MaxPasswordFailedAttemptsResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EasMaxPasswordFailedAttemptsResult) -> windows_core::HRESULT, pub MaxInactivityTimeLockResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EasMaxInactivityTimeLockResult) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEasComplianceResults2, IEasComplianceResults2_Vtbl, 0x2fbe60c9_1aa8_47f5_88bb_cb3ef0bffb15); +windows_core::imp::define_interface!(IEasComplianceResults2, IEasComplianceResults2_Vtbl, 0x2fbe60c9_1aa8_47f5_88bb_cb3ef0bffb15); #[repr(C)] pub struct IEasComplianceResults2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs index ca244cbce7..3f2f4d2920 100644 --- a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IIsolatedWindowsEnvironment, IIsolatedWindowsEnvironment_Vtbl, 0x41d24597_c328_4467_b37f_4dfc6f60b6bc); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironment, IIsolatedWindowsEnvironment_Vtbl, 0x41d24597_c328_4467_b37f_4dfc6f60b6bc); #[repr(C)] pub struct IIsolatedWindowsEnvironment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,7 +17,7 @@ pub struct IIsolatedWindowsEnvironment_Vtbl { RegisterMessageReceiver: usize, pub UnregisterMessageReceiver: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironment2, IIsolatedWindowsEnvironment2_Vtbl, 0x2d365f39_88bd_4ab4_93cf_7e2bcef337c0); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironment2, IIsolatedWindowsEnvironment2_Vtbl, 0x2d365f39_88bd_4ab4_93cf_7e2bcef337c0); #[repr(C)] pub struct IIsolatedWindowsEnvironment2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,7 +30,7 @@ pub struct IIsolatedWindowsEnvironment2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PostMessageToReceiverWithTelemetryAsync: usize, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironment3, IIsolatedWindowsEnvironment3_Vtbl, 0xcb7fc7d2_d06e_4c26_8ada_dacdaaad03f5); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironment3, IIsolatedWindowsEnvironment3_Vtbl, 0xcb7fc7d2_d06e_4c26_8ada_dacdaaad03f5); #[repr(C)] pub struct IIsolatedWindowsEnvironment3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,13 +38,13 @@ pub struct IIsolatedWindowsEnvironment3_Vtbl { 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, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironment4, IIsolatedWindowsEnvironment4_Vtbl, 0x11e3701a_dd9e_4f1b_812c_4020f307f93c); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironment4, IIsolatedWindowsEnvironment4_Vtbl, 0x11e3701a_dd9e_4f1b_812c_4020f307f93c); #[repr(C)] pub struct IIsolatedWindowsEnvironment4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChangePriority: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentCreationPriority) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentCreateResult, IIsolatedWindowsEnvironmentCreateResult_Vtbl, 0xef9a5e58_dcd7_45c2_9c85_ab642a715e8e); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentCreateResult, IIsolatedWindowsEnvironmentCreateResult_Vtbl, 0xef9a5e58_dcd7_45c2_9c85_ab642a715e8e); #[repr(C)] pub struct IIsolatedWindowsEnvironmentCreateResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -52,13 +52,13 @@ pub struct IIsolatedWindowsEnvironmentCreateResult_Vtbl { pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub Environment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentCreateResult2, IIsolatedWindowsEnvironmentCreateResult2_Vtbl, 0xa547dbc7_61d4_4fb8_ab5c_edefa3d388ad); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentCreateResult2, IIsolatedWindowsEnvironmentCreateResult2_Vtbl, 0xa547dbc7_61d4_4fb8_ab5c_edefa3d388ad); #[repr(C)] pub struct IIsolatedWindowsEnvironmentCreateResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChangeCreationPriority: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentCreationPriority) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentFactory, IIsolatedWindowsEnvironmentFactory_Vtbl, 0x1aca93e7_e804_454d_8466_f9897c20b0f6); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentFactory, IIsolatedWindowsEnvironmentFactory_Vtbl, 0x1aca93e7_e804_454d_8466_f9897c20b0f6); #[repr(C)] pub struct IIsolatedWindowsEnvironmentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,7 +70,7 @@ pub struct IIsolatedWindowsEnvironmentFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindByOwnerId: usize, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentFile, IIsolatedWindowsEnvironmentFile_Vtbl, 0x4d5ae1ef_029f_4101_8c35_fe91bf9cd5f0); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentFile, IIsolatedWindowsEnvironmentFile_Vtbl, 0x4d5ae1ef_029f_4101_8c35_fe91bf9cd5f0); #[repr(C)] pub struct IIsolatedWindowsEnvironmentFile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -78,14 +78,14 @@ pub struct IIsolatedWindowsEnvironmentFile_Vtbl { pub HostPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentFile2, IIsolatedWindowsEnvironmentFile2_Vtbl, 0x4eeb8dec_ad5d_4b0a_b754_f36c3d46d684); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentFile2, IIsolatedWindowsEnvironmentFile2_Vtbl, 0x4eeb8dec_ad5d_4b0a_b754_f36c3d46d684); #[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 IsReadOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentHostStatics, IIsolatedWindowsEnvironmentHostStatics_Vtbl, 0x2c0e22c7_05a0_517a_b81c_6ee8790c381f); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentHostStatics, IIsolatedWindowsEnvironmentHostStatics_Vtbl, 0x2c0e22c7_05a0_517a_b81c_6ee8790c381f); #[repr(C)] pub struct IIsolatedWindowsEnvironmentHostStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -95,7 +95,7 @@ pub struct IIsolatedWindowsEnvironmentHostStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] HostErrors: usize, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentLaunchFileResult, IIsolatedWindowsEnvironmentLaunchFileResult_Vtbl, 0x685d4176_f6e0_4569_b1aa_215c0ff5b257); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentLaunchFileResult, IIsolatedWindowsEnvironmentLaunchFileResult_Vtbl, 0x685d4176_f6e0_4569_b1aa_215c0ff5b257); #[repr(C)] pub struct IIsolatedWindowsEnvironmentLaunchFileResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -103,7 +103,7 @@ pub struct IIsolatedWindowsEnvironmentLaunchFileResult_Vtbl { pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub File: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentOptions, IIsolatedWindowsEnvironmentOptions_Vtbl, 0xb71d98f7_61f0_4008_b207_0bf9eb2d76f2); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOptions, IIsolatedWindowsEnvironmentOptions_Vtbl, 0xb71d98f7_61f0_4008_b207_0bf9eb2d76f2); #[repr(C)] pub struct IIsolatedWindowsEnvironmentOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -125,14 +125,14 @@ pub struct IIsolatedWindowsEnvironmentOptions_Vtbl { pub AllowCameraAndMicrophoneAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowCameraAndMicrophoneAccess: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentOptions2, IIsolatedWindowsEnvironmentOptions2_Vtbl, 0x10d7cc31_8b8f_4b9d_b22c_617103b55b08); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOptions2, IIsolatedWindowsEnvironmentOptions2_Vtbl, 0x10d7cc31_8b8f_4b9d_b22c_617103b55b08); #[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, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentOptions3, IIsolatedWindowsEnvironmentOptions3_Vtbl, 0x98d5aa23_161f_4cd9_8a9c_269b30122b0d); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOptions3, IIsolatedWindowsEnvironmentOptions3_Vtbl, 0x98d5aa23_161f_4cd9_8a9c_269b30122b0d); #[repr(C)] pub struct IIsolatedWindowsEnvironmentOptions3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -143,7 +143,7 @@ pub struct IIsolatedWindowsEnvironmentOptions3_Vtbl { pub CreationPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentCreationPriority) -> windows_core::HRESULT, pub SetCreationPriority: unsafe extern "system" fn(*mut core::ffi::c_void, IsolatedWindowsEnvironmentCreationPriority) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentOwnerRegistrationData, IIsolatedWindowsEnvironmentOwnerRegistrationData_Vtbl, 0xf888ec22_e8cf_56c0_b1df_90af4ad80e84); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOwnerRegistrationData, IIsolatedWindowsEnvironmentOwnerRegistrationData_Vtbl, 0xf888ec22_e8cf_56c0_b1df_90af4ad80e84); #[repr(C)] pub struct IIsolatedWindowsEnvironmentOwnerRegistrationData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -164,28 +164,28 @@ pub struct IIsolatedWindowsEnvironmentOwnerRegistrationData_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ActivationFileExtensions: usize, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentOwnerRegistrationResult, IIsolatedWindowsEnvironmentOwnerRegistrationResult_Vtbl, 0x6dab9451_6169_55df_8f51_790e99d7277d); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOwnerRegistrationResult, IIsolatedWindowsEnvironmentOwnerRegistrationResult_Vtbl, 0x6dab9451_6169_55df_8f51_790e99d7277d); #[repr(C)] pub struct IIsolatedWindowsEnvironmentOwnerRegistrationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentOwnerRegistrationStatus) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentOwnerRegistrationStatics, IIsolatedWindowsEnvironmentOwnerRegistrationStatics_Vtbl, 0x10951754_204b_5ec9_9de3_df792d074a61); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentOwnerRegistrationStatics, IIsolatedWindowsEnvironmentOwnerRegistrationStatics_Vtbl, 0x10951754_204b_5ec9_9de3_df792d074a61); #[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, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentPostMessageResult, IIsolatedWindowsEnvironmentPostMessageResult_Vtbl, 0x0dfa28fa_2ef0_4d8f_b341_3171b2df93b1); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentPostMessageResult, IIsolatedWindowsEnvironmentPostMessageResult_Vtbl, 0x0dfa28fa_2ef0_4d8f_b341_3171b2df93b1); #[repr(C)] pub struct IIsolatedWindowsEnvironmentPostMessageResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentPostMessageStatus) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentProcess, IIsolatedWindowsEnvironmentProcess_Vtbl, 0xa858c3ef_8172_4f10_af93_cbe60af88d09); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentProcess, IIsolatedWindowsEnvironmentProcess_Vtbl, 0xa858c3ef_8172_4f10_af93_cbe60af88d09); #[repr(C)] pub struct IIsolatedWindowsEnvironmentProcess_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -195,14 +195,14 @@ pub struct IIsolatedWindowsEnvironmentProcess_Vtbl { pub WaitForExitWithTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub WaitForExitAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentShareFileRequestOptions, IIsolatedWindowsEnvironmentShareFileRequestOptions_Vtbl, 0xc9190ed8_0fd0_4946_bb88_117a60737b61); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentShareFileRequestOptions, IIsolatedWindowsEnvironmentShareFileRequestOptions_Vtbl, 0xc9190ed8_0fd0_4946_bb88_117a60737b61); #[repr(C)] pub struct IIsolatedWindowsEnvironmentShareFileRequestOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowWrite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowWrite: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentShareFileResult, IIsolatedWindowsEnvironmentShareFileResult_Vtbl, 0xaec7caa7_9ac6_4bf5_8b91_5c1adf0d7d00); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentShareFileResult, IIsolatedWindowsEnvironmentShareFileResult_Vtbl, 0xaec7caa7_9ac6_4bf5_8b91_5c1adf0d7d00); #[repr(C)] pub struct IIsolatedWindowsEnvironmentShareFileResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -210,21 +210,21 @@ pub struct IIsolatedWindowsEnvironmentShareFileResult_Vtbl { pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub File: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentShareFolderRequestOptions, IIsolatedWindowsEnvironmentShareFolderRequestOptions_Vtbl, 0xc405eb7d_7053_4f6a_9b87_746846ed19b2); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentShareFolderRequestOptions, IIsolatedWindowsEnvironmentShareFolderRequestOptions_Vtbl, 0xc405eb7d_7053_4f6a_9b87_746846ed19b2); #[repr(C)] pub struct IIsolatedWindowsEnvironmentShareFolderRequestOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowWrite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowWrite: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentShareFolderResult, IIsolatedWindowsEnvironmentShareFolderResult_Vtbl, 0x556ba72e_ca9d_4211_b143_1cedc86eb2fe); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentShareFolderResult, IIsolatedWindowsEnvironmentShareFolderResult_Vtbl, 0x556ba72e_ca9d_4211_b143_1cedc86eb2fe); #[repr(C)] pub struct IIsolatedWindowsEnvironmentShareFolderResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IsolatedWindowsEnvironmentShareFolderStatus) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentStartProcessResult, IIsolatedWindowsEnvironmentStartProcessResult_Vtbl, 0x8fa1dc2f_57da_4bb5_9c06_fa072d2032e2); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentStartProcessResult, IIsolatedWindowsEnvironmentStartProcessResult_Vtbl, 0x8fa1dc2f_57da_4bb5_9c06_fa072d2032e2); #[repr(C)] pub struct IIsolatedWindowsEnvironmentStartProcessResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -232,14 +232,14 @@ pub struct IIsolatedWindowsEnvironmentStartProcessResult_Vtbl { pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub Process: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentTelemetryParameters, IIsolatedWindowsEnvironmentTelemetryParameters_Vtbl, 0xebdb3cab_7a3a_4524_a0f4_f96e284d33cd); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentTelemetryParameters, IIsolatedWindowsEnvironmentTelemetryParameters_Vtbl, 0xebdb3cab_7a3a_4524_a0f4_f96e284d33cd); #[repr(C)] pub struct IIsolatedWindowsEnvironmentTelemetryParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub SetCorrelationId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsEnvironmentUserInfo, IIsolatedWindowsEnvironmentUserInfo_Vtbl, 0x8a9c75ae_69ba_4001_96fc_19a02703b340); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentUserInfo, IIsolatedWindowsEnvironmentUserInfo_Vtbl, 0x8a9c75ae_69ba_4001_96fc_19a02703b340); #[repr(C)] pub struct IIsolatedWindowsEnvironmentUserInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -247,13 +247,13 @@ pub struct IIsolatedWindowsEnvironmentUserInfo_Vtbl { pub EnvironmentUserName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IIsolatedWindowsEnvironmentUserInfo2, IIsolatedWindowsEnvironmentUserInfo2_Vtbl, 0xb0bdd5dd_91d7_481e_94f2_2a5a6bdf9383); +windows_core::imp::define_interface!(IIsolatedWindowsEnvironmentUserInfo2, IIsolatedWindowsEnvironmentUserInfo2_Vtbl, 0xb0bdd5dd_91d7_481e_94f2_2a5a6bdf9383); #[repr(C)] pub struct IIsolatedWindowsEnvironmentUserInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryWaitForSignInWithProgressAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsHostMessengerStatics, IIsolatedWindowsHostMessengerStatics_Vtbl, 0x06e444bb_53c0_4889_8fa3_53592e37cf21); +windows_core::imp::define_interface!(IIsolatedWindowsHostMessengerStatics, IIsolatedWindowsHostMessengerStatics_Vtbl, 0x06e444bb_53c0_4889_8fa3_53592e37cf21); #[repr(C)] pub struct IIsolatedWindowsHostMessengerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -263,7 +263,7 @@ pub struct IIsolatedWindowsHostMessengerStatics_Vtbl { PostMessageToReceiver: usize, pub GetFileId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedWindowsHostMessengerStatics2, IIsolatedWindowsHostMessengerStatics2_Vtbl, 0x55ef9ebc_0444_42ad_832d_1b89c089d1ca); +windows_core::imp::define_interface!(IIsolatedWindowsHostMessengerStatics2, IIsolatedWindowsHostMessengerStatics2_Vtbl, 0x55ef9ebc_0444_42ad_832d_1b89c089d1ca); #[repr(C)] pub struct IIsolatedWindowsHostMessengerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1747,7 +1747,7 @@ impl Default for IsolatedWindowsEnvironmentCreateProgress { } } #[cfg(feature = "Foundation_Collections")] -windows_core::imp::com_interface!(HostMessageReceivedCallback, HostMessageReceivedCallback_Vtbl, 0xfaf26ffa_8ce1_4cc1_b278_322d31a5e4a3); +windows_core::imp::define_interface!(HostMessageReceivedCallback, HostMessageReceivedCallback_Vtbl, 0xfaf26ffa_8ce1_4cc1_b278_322d31a5e4a3); #[cfg(feature = "Foundation_Collections")] impl HostMessageReceivedCallback { pub fn new>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { @@ -1817,7 +1817,7 @@ pub struct HostMessageReceivedCallback_Vtbl { Invoke: usize, } #[cfg(feature = "Foundation_Collections")] -windows_core::imp::com_interface!(MessageReceivedCallback, MessageReceivedCallback_Vtbl, 0xf5b4c8ff_1d9d_4995_9fea_4d15257c0757); +windows_core::imp::define_interface!(MessageReceivedCallback, MessageReceivedCallback_Vtbl, 0xf5b4c8ff_1d9d_4995_9fea_4d15257c0757); #[cfg(feature = "Foundation_Collections")] impl MessageReceivedCallback { pub fn new>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { 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 7a913e24c4..b938ffac03 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/Guidance/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGuidanceAudioNotificationRequestedEventArgs, IGuidanceAudioNotificationRequestedEventArgs_Vtbl, 0xca2aa24a_c7c2_4d4c_9d7c_499576bceddb); +windows_core::imp::define_interface!(IGuidanceAudioNotificationRequestedEventArgs, IGuidanceAudioNotificationRequestedEventArgs_Vtbl, 0xca2aa24a_c7c2_4d4c_9d7c_499576bceddb); #[repr(C)] pub struct IGuidanceAudioNotificationRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,14 +9,14 @@ pub struct IGuidanceAudioNotificationRequestedEventArgs_Vtbl { AudioFilePaths: usize, pub AudioText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuidanceLaneInfo, IGuidanceLaneInfo_Vtbl, 0x8404d114_6581_43b7_ac15_c9079bf90df1); +windows_core::imp::define_interface!(IGuidanceLaneInfo, IGuidanceLaneInfo_Vtbl, 0x8404d114_6581_43b7_ac15_c9079bf90df1); #[repr(C)] pub struct IGuidanceLaneInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LaneMarkers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GuidanceLaneMarkers) -> windows_core::HRESULT, pub IsOnRoute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuidanceManeuver, IGuidanceManeuver_Vtbl, 0xfc09326c_ecc9_4928_a2a1_7232b99b94a1); +windows_core::imp::define_interface!(IGuidanceManeuver, IGuidanceManeuver_Vtbl, 0xfc09326c_ecc9_4928_a2a1_7232b99b94a1); #[repr(C)] pub struct IGuidanceManeuver_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -36,7 +36,7 @@ pub struct IGuidanceManeuver_Vtbl { 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, } -windows_core::imp::com_interface!(IGuidanceMapMatchedCoordinate, IGuidanceMapMatchedCoordinate_Vtbl, 0xb7acb168_2912_4a99_aff1_798609b981fe); +windows_core::imp::define_interface!(IGuidanceMapMatchedCoordinate, IGuidanceMapMatchedCoordinate_Vtbl, 0xb7acb168_2912_4a99_aff1_798609b981fe); #[repr(C)] pub struct IGuidanceMapMatchedCoordinate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -49,7 +49,7 @@ pub struct IGuidanceMapMatchedCoordinate_Vtbl { pub IsOnStreet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Road: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuidanceNavigator, IGuidanceNavigator_Vtbl, 0x08f17ef7_8e3f_4d9a_be8a_108f9a012c67); +windows_core::imp::define_interface!(IGuidanceNavigator, IGuidanceNavigator_Vtbl, 0x08f17ef7_8e3f_4d9a_be8a_108f9a012c67); #[repr(C)] pub struct IGuidanceNavigator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -88,7 +88,7 @@ pub struct IGuidanceNavigator_Vtbl { #[cfg(not(feature = "Devices_Geolocation"))] UpdateUserLocationWithPositionOverride: usize, } -windows_core::imp::com_interface!(IGuidanceNavigator2, IGuidanceNavigator2_Vtbl, 0x6cdc50d1_041c_4bf3_b633_a101fc2f6b57); +windows_core::imp::define_interface!(IGuidanceNavigator2, IGuidanceNavigator2_Vtbl, 0x6cdc50d1_041c_4bf3_b633_a101fc2f6b57); #[repr(C)] pub struct IGuidanceNavigator2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -97,25 +97,25 @@ pub struct IGuidanceNavigator2_Vtbl { pub IsGuidanceAudioMuted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsGuidanceAudioMuted: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuidanceNavigatorStatics, IGuidanceNavigatorStatics_Vtbl, 0x00fd9513_4456_4e66_a143_3add6be08426); +windows_core::imp::define_interface!(IGuidanceNavigatorStatics, IGuidanceNavigatorStatics_Vtbl, 0x00fd9513_4456_4e66_a143_3add6be08426); #[repr(C)] pub struct IGuidanceNavigatorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuidanceNavigatorStatics2, IGuidanceNavigatorStatics2_Vtbl, 0x54c5c3e2_7784_4c85_8c95_d0c6efb43965); +windows_core::imp::define_interface!(IGuidanceNavigatorStatics2, IGuidanceNavigatorStatics2_Vtbl, 0x54c5c3e2_7784_4c85_8c95_d0c6efb43965); #[repr(C)] pub struct IGuidanceNavigatorStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UseAppProvidedVoice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuidanceReroutedEventArgs, IGuidanceReroutedEventArgs_Vtbl, 0x115d4008_d528_454e_bb94_a50341d2c9f1); +windows_core::imp::define_interface!(IGuidanceReroutedEventArgs, IGuidanceReroutedEventArgs_Vtbl, 0x115d4008_d528_454e_bb94_a50341d2c9f1); #[repr(C)] pub struct IGuidanceReroutedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Route: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuidanceRoadSegment, IGuidanceRoadSegment_Vtbl, 0xb32758a6_be78_4c63_afe7_6c2957479b3e); +windows_core::imp::define_interface!(IGuidanceRoadSegment, IGuidanceRoadSegment_Vtbl, 0xb32758a6_be78_4c63_afe7_6c2957479b3e); #[repr(C)] pub struct IGuidanceRoadSegment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -132,13 +132,13 @@ pub struct IGuidanceRoadSegment_Vtbl { 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, } -windows_core::imp::com_interface!(IGuidanceRoadSegment2, IGuidanceRoadSegment2_Vtbl, 0x2474a61d_1723_49f1_895b_47a2c4aa9c55); +windows_core::imp::define_interface!(IGuidanceRoadSegment2, IGuidanceRoadSegment2_Vtbl, 0x2474a61d_1723_49f1_895b_47a2c4aa9c55); #[repr(C)] pub struct IGuidanceRoadSegment2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsScenic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuidanceRoadSignpost, IGuidanceRoadSignpost_Vtbl, 0xf1a728b6_f77a_4742_8312_53300f9845f0); +windows_core::imp::define_interface!(IGuidanceRoadSignpost, IGuidanceRoadSignpost_Vtbl, 0xf1a728b6_f77a_4742_8312_53300f9845f0); #[repr(C)] pub struct IGuidanceRoadSignpost_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -157,7 +157,7 @@ pub struct IGuidanceRoadSignpost_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ExitDirections: usize, } -windows_core::imp::com_interface!(IGuidanceRoute, IGuidanceRoute_Vtbl, 0x3a14545d_801a_40bd_a286_afb2010cce6c); +windows_core::imp::define_interface!(IGuidanceRoute, IGuidanceRoute_Vtbl, 0x3a14545d_801a_40bd_a286_afb2010cce6c); #[repr(C)] pub struct IGuidanceRoute_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -181,14 +181,14 @@ pub struct IGuidanceRoute_Vtbl { RoadSegments: usize, pub ConvertToMapRoute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuidanceRouteStatics, IGuidanceRouteStatics_Vtbl, 0xf56d926a_55ed_49c1_b09c_4b8223b50db3); +windows_core::imp::define_interface!(IGuidanceRouteStatics, IGuidanceRouteStatics_Vtbl, 0xf56d926a_55ed_49c1_b09c_4b8223b50db3); #[repr(C)] pub struct IGuidanceRouteStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CanCreateFromMapRoute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub TryCreateFromMapRoute: 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::com_interface!(IGuidanceTelemetryCollector, IGuidanceTelemetryCollector_Vtbl, 0xdb1f8da5_b878_4d92_98dd_347d23d38262); +windows_core::imp::define_interface!(IGuidanceTelemetryCollector, IGuidanceTelemetryCollector_Vtbl, 0xdb1f8da5_b878_4d92_98dd_347d23d38262); #[repr(C)] pub struct IGuidanceTelemetryCollector_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -200,13 +200,13 @@ pub struct IGuidanceTelemetryCollector_Vtbl { pub UploadFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetUploadFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuidanceTelemetryCollectorStatics, IGuidanceTelemetryCollectorStatics_Vtbl, 0x36532047_f160_44fb_b578_94577ca05990); +windows_core::imp::define_interface!(IGuidanceTelemetryCollectorStatics, IGuidanceTelemetryCollectorStatics_Vtbl, 0x36532047_f160_44fb_b578_94577ca05990); #[repr(C)] pub struct IGuidanceTelemetryCollectorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuidanceUpdatedEventArgs, IGuidanceUpdatedEventArgs_Vtbl, 0xfdac160b_9e8d_4de3_a9fa_b06321d18db9); +windows_core::imp::define_interface!(IGuidanceUpdatedEventArgs, IGuidanceUpdatedEventArgs_Vtbl, 0xfdac160b_9e8d_4de3_a9fa_b06321d18db9); #[repr(C)] pub struct IGuidanceUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 ec5ffd5462..47e869b66a 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/LocalSearch/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ILocalCategoriesStatics, ILocalCategoriesStatics_Vtbl, 0xf49399f5_8261_4321_9974_ef92d49a8dca); +windows_core::imp::define_interface!(ILocalCategoriesStatics, ILocalCategoriesStatics_Vtbl, 0xf49399f5_8261_4321_9974_ef92d49a8dca); #[repr(C)] pub struct ILocalCategoriesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,7 +11,7 @@ pub struct ILocalCategoriesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ILocalLocation, ILocalLocation_Vtbl, 0xbb0fe9ab_4502_4f2c_94a9_0d60de0e2163); +windows_core::imp::define_interface!(ILocalLocation, ILocalLocation_Vtbl, 0xbb0fe9ab_4502_4f2c_94a9_0d60de0e2163); #[repr(C)] pub struct ILocalLocation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct ILocalLocation_Vtbl { 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, } -windows_core::imp::com_interface!(ILocalLocation2, ILocalLocation2_Vtbl, 0x6e9e307c_ecb5_4ffc_bb8c_ba50ba8c2dc6); +windows_core::imp::define_interface!(ILocalLocation2, ILocalLocation2_Vtbl, 0x6e9e307c_ecb5_4ffc_bb8c_ba50ba8c2dc6); #[repr(C)] pub struct ILocalLocation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,7 +37,7 @@ pub struct ILocalLocation2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] HoursOfOperation: usize, } -windows_core::imp::com_interface!(ILocalLocationFinderResult, ILocalLocationFinderResult_Vtbl, 0xd09b6cc6_f338_4191_9fd8_5440b9a68f52); +windows_core::imp::define_interface!(ILocalLocationFinderResult, ILocalLocationFinderResult_Vtbl, 0xd09b6cc6_f338_4191_9fd8_5440b9a68f52); #[repr(C)] pub struct ILocalLocationFinderResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -47,7 +47,7 @@ pub struct ILocalLocationFinderResult_Vtbl { LocalLocations: usize, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LocalLocationFinderStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILocalLocationFinderStatics, ILocalLocationFinderStatics_Vtbl, 0xd2ef7344_a0de_48ca_81a8_07c7dcfd37ab); +windows_core::imp::define_interface!(ILocalLocationFinderStatics, ILocalLocationFinderStatics_Vtbl, 0xd2ef7344_a0de_48ca_81a8_07c7dcfd37ab); #[repr(C)] pub struct ILocalLocationFinderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,7 +56,7 @@ pub struct ILocalLocationFinderStatics_Vtbl { #[cfg(not(feature = "Devices_Geolocation"))] FindLocalLocationsAsync: usize, } -windows_core::imp::com_interface!(ILocalLocationHoursOfOperationItem, ILocalLocationHoursOfOperationItem_Vtbl, 0x23548c72_a1c7_43f1_a4f0_1091c39ec640); +windows_core::imp::define_interface!(ILocalLocationHoursOfOperationItem, ILocalLocationHoursOfOperationItem_Vtbl, 0x23548c72_a1c7_43f1_a4f0_1091c39ec640); #[repr(C)] pub struct ILocalLocationHoursOfOperationItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -67,7 +67,7 @@ pub struct ILocalLocationHoursOfOperationItem_Vtbl { pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub Span: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILocalLocationRatingInfo, ILocalLocationRatingInfo_Vtbl, 0xcb1dab56_3354_4311_8bc0_a2d4d5eb806e); +windows_core::imp::define_interface!(ILocalLocationRatingInfo, ILocalLocationRatingInfo_Vtbl, 0xcb1dab56_3354_4311_8bc0_a2d4d5eb806e); #[repr(C)] pub struct ILocalLocationRatingInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -75,7 +75,7 @@ pub struct ILocalLocationRatingInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IPlaceInfoHelperStatics, IPlaceInfoHelperStatics_Vtbl, 0xdd1ca9a7_a9c6_491b_bc09_e80fcea48ee6); +windows_core::imp::define_interface!(IPlaceInfoHelperStatics, IPlaceInfoHelperStatics_Vtbl, 0xdd1ca9a7_a9c6_491b_bc09_e80fcea48ee6); #[repr(C)] pub struct IPlaceInfoHelperStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 676ece7a0f..1e46fcc08e 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/OfflineMaps/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IOfflineMapPackage, IOfflineMapPackage_Vtbl, 0xa797673b_a5b5_4144_b525_e68c8862664b); +windows_core::imp::define_interface!(IOfflineMapPackage, IOfflineMapPackage_Vtbl, 0xa797673b_a5b5_4144_b525_e68c8862664b); #[repr(C)] pub struct IOfflineMapPackage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -10,7 +10,7 @@ pub struct IOfflineMapPackage_Vtbl { 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, pub RequestStartDownloadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineMapPackageQueryResult, IOfflineMapPackageQueryResult_Vtbl, 0x55585411_39e1_4e41_a4e1_5f4872bee199); +windows_core::imp::define_interface!(IOfflineMapPackageQueryResult, IOfflineMapPackageQueryResult_Vtbl, 0x55585411_39e1_4e41_a4e1_5f4872bee199); #[repr(C)] pub struct IOfflineMapPackageQueryResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,13 +20,13 @@ pub struct IOfflineMapPackageQueryResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Packages: usize, } -windows_core::imp::com_interface!(IOfflineMapPackageStartDownloadResult, IOfflineMapPackageStartDownloadResult_Vtbl, 0xd965b918_d4d6_4afe_9378_3ec71ef11c3d); +windows_core::imp::define_interface!(IOfflineMapPackageStartDownloadResult, IOfflineMapPackageStartDownloadResult_Vtbl, 0xd965b918_d4d6_4afe_9378_3ec71ef11c3d); #[repr(C)] pub struct IOfflineMapPackageStartDownloadResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OfflineMapPackageStartDownloadStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineMapPackageStatics, IOfflineMapPackageStatics_Vtbl, 0x185e7922_a831_4ab0_941f_6998fa929285); +windows_core::imp::define_interface!(IOfflineMapPackageStatics, IOfflineMapPackageStatics_Vtbl, 0x185e7922_a831_4ab0_941f_6998fa929285); #[repr(C)] pub struct IOfflineMapPackageStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Services/Maps/mod.rs b/crates/libs/windows/src/Windows/Services/Maps/mod.rs index a643a50e97..4e9bee6d4e 100644 --- a/crates/libs/windows/src/Windows/Services/Maps/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Maps/mod.rs @@ -4,7 +4,7 @@ pub mod Guidance; pub mod LocalSearch; #[cfg(feature = "Services_Maps_OfflineMaps")] pub mod OfflineMaps; -windows_core::imp::com_interface!(IEnhancedWaypoint, IEnhancedWaypoint_Vtbl, 0xed268c74_5913_11e6_8b77_86f30ca893d3); +windows_core::imp::define_interface!(IEnhancedWaypoint, IEnhancedWaypoint_Vtbl, 0xed268c74_5913_11e6_8b77_86f30ca893d3); #[repr(C)] pub struct IEnhancedWaypoint_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -14,7 +14,7 @@ pub struct IEnhancedWaypoint_Vtbl { Point: usize, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WaypointKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnhancedWaypointFactory, IEnhancedWaypointFactory_Vtbl, 0xaf868477_a2aa_46dd_b645_23b31b8aa6c7); +windows_core::imp::define_interface!(IEnhancedWaypointFactory, IEnhancedWaypointFactory_Vtbl, 0xaf868477_a2aa_46dd_b645_23b31b8aa6c7); #[repr(C)] pub struct IEnhancedWaypointFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,14 +23,14 @@ pub struct IEnhancedWaypointFactory_Vtbl { #[cfg(not(feature = "Devices_Geolocation"))] Create: usize, } -windows_core::imp::com_interface!(IManeuverWarning, IManeuverWarning_Vtbl, 0xc1a36d8a_2630_4378_9e4a_6e44253dceba); +windows_core::imp::define_interface!(IManeuverWarning, IManeuverWarning_Vtbl, 0xc1a36d8a_2630_4378_9e4a_6e44253dceba); #[repr(C)] pub struct IManeuverWarning_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ManeuverWarningKind) -> windows_core::HRESULT, pub Severity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ManeuverWarningSeverity) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapAddress, IMapAddress_Vtbl, 0xcfa7a973_a3b4_4494_b3ff_cba94db69699); +windows_core::imp::define_interface!(IMapAddress, IMapAddress_Vtbl, 0xcfa7a973_a3b4_4494_b3ff_cba94db69699); #[repr(C)] pub struct IMapAddress_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -50,13 +50,13 @@ pub struct IMapAddress_Vtbl { 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, } -windows_core::imp::com_interface!(IMapAddress2, IMapAddress2_Vtbl, 0x75cd6df1_e5ad_45a9_bf40_6cf256c1dd13); +windows_core::imp::define_interface!(IMapAddress2, IMapAddress2_Vtbl, 0x75cd6df1_e5ad_45a9_bf40_6cf256c1dd13); #[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, } -windows_core::imp::com_interface!(IMapLocation, IMapLocation_Vtbl, 0x3c073f57_0da4_42e8_9ee2_a96fcf2371dc); +windows_core::imp::define_interface!(IMapLocation, IMapLocation_Vtbl, 0x3c073f57_0da4_42e8_9ee2_a96fcf2371dc); #[repr(C)] pub struct IMapLocation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,7 +68,7 @@ pub struct IMapLocation_Vtbl { pub Description: 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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapLocationFinderResult, IMapLocationFinderResult_Vtbl, 0x43f1f179_e8cc_45f6_bed2_54ccbf965d9a); +windows_core::imp::define_interface!(IMapLocationFinderResult, IMapLocationFinderResult_Vtbl, 0x43f1f179_e8cc_45f6_bed2_54ccbf965d9a); #[repr(C)] pub struct IMapLocationFinderResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -78,7 +78,7 @@ pub struct IMapLocationFinderResult_Vtbl { Locations: usize, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MapLocationFinderStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapLocationFinderStatics, IMapLocationFinderStatics_Vtbl, 0x318adb5d_1c5d_4f35_a2df_aaca94959517); +windows_core::imp::define_interface!(IMapLocationFinderStatics, IMapLocationFinderStatics_Vtbl, 0x318adb5d_1c5d_4f35_a2df_aaca94959517); #[repr(C)] pub struct IMapLocationFinderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -95,7 +95,7 @@ pub struct IMapLocationFinderStatics_Vtbl { #[cfg(not(feature = "Devices_Geolocation"))] FindLocationsWithMaxCountAsync: usize, } -windows_core::imp::com_interface!(IMapLocationFinderStatics2, IMapLocationFinderStatics2_Vtbl, 0x959a8b96_6485_4dfd_851a_33ac317e3af6); +windows_core::imp::define_interface!(IMapLocationFinderStatics2, IMapLocationFinderStatics2_Vtbl, 0x959a8b96_6485_4dfd_851a_33ac317e3af6); #[repr(C)] pub struct IMapLocationFinderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -104,14 +104,14 @@ pub struct IMapLocationFinderStatics2_Vtbl { #[cfg(not(feature = "Devices_Geolocation"))] FindLocationsAtWithAccuracyAsync: usize, } -windows_core::imp::com_interface!(IMapManagerStatics, IMapManagerStatics_Vtbl, 0x37e3e515_82b4_4d54_8fd9_af2624b3011c); +windows_core::imp::define_interface!(IMapManagerStatics, IMapManagerStatics_Vtbl, 0x37e3e515_82b4_4d54_8fd9_af2624b3011c); #[repr(C)] pub struct IMapManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShowDownloadedMapsUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowMapsUpdateUI: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapRoute, IMapRoute_Vtbl, 0xfb07b732_584d_4583_9c60_641fea274349); +windows_core::imp::define_interface!(IMapRoute, IMapRoute_Vtbl, 0xfb07b732_584d_4583_9c60_641fea274349); #[repr(C)] pub struct IMapRoute_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -131,27 +131,27 @@ pub struct IMapRoute_Vtbl { Legs: usize, pub IsTrafficBased: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapRoute2, IMapRoute2_Vtbl, 0xd1c5d40c_2213_4ab0_a260_46b38169beac); +windows_core::imp::define_interface!(IMapRoute2, IMapRoute2_Vtbl, 0xd1c5d40c_2213_4ab0_a260_46b38169beac); #[repr(C)] pub struct IMapRoute2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ViolatedRestrictions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MapRouteRestrictions) -> windows_core::HRESULT, pub HasBlockedRoads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapRoute3, IMapRoute3_Vtbl, 0x858d1eae_f2ad_429f_bb37_cd21094ffc92); +windows_core::imp::define_interface!(IMapRoute3, IMapRoute3_Vtbl, 0x858d1eae_f2ad_429f_bb37_cd21094ffc92); #[repr(C)] pub struct IMapRoute3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DurationWithoutTraffic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub TrafficCongestion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TrafficCongestion) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapRoute4, IMapRoute4_Vtbl, 0x366c8ca5_3053_4fa1_80ff_d475f3ed1e6e); +windows_core::imp::define_interface!(IMapRoute4, IMapRoute4_Vtbl, 0x366c8ca5_3053_4fa1_80ff_d475f3ed1e6e); #[repr(C)] pub struct IMapRoute4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsScenic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapRouteDrivingOptions, IMapRouteDrivingOptions_Vtbl, 0x6815364d_c6dc_4697_a452_b18f8f0b67a1); +windows_core::imp::define_interface!(IMapRouteDrivingOptions, IMapRouteDrivingOptions_Vtbl, 0x6815364d_c6dc_4697_a452_b18f8f0b67a1); #[repr(C)] pub struct IMapRouteDrivingOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -164,21 +164,21 @@ pub struct IMapRouteDrivingOptions_Vtbl { pub RouteRestrictions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MapRouteRestrictions) -> windows_core::HRESULT, pub SetRouteRestrictions: unsafe extern "system" fn(*mut core::ffi::c_void, MapRouteRestrictions) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapRouteDrivingOptions2, IMapRouteDrivingOptions2_Vtbl, 0x35dc8670_c298_48d0_b5ad_825460645603); +windows_core::imp::define_interface!(IMapRouteDrivingOptions2, IMapRouteDrivingOptions2_Vtbl, 0x35dc8670_c298_48d0_b5ad_825460645603); #[repr(C)] pub struct IMapRouteDrivingOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DepartureTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDepartureTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapRouteFinderResult, IMapRouteFinderResult_Vtbl, 0xa868a31a_9422_46ac_8ca1_b1614d4bfbe2); +windows_core::imp::define_interface!(IMapRouteFinderResult, IMapRouteFinderResult_Vtbl, 0xa868a31a_9422_46ac_8ca1_b1614d4bfbe2); #[repr(C)] pub struct IMapRouteFinderResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Route: 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 MapRouteFinderStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapRouteFinderResult2, IMapRouteFinderResult2_Vtbl, 0x20709c6d_d90c_46c8_91c6_7d4be4efb215); +windows_core::imp::define_interface!(IMapRouteFinderResult2, IMapRouteFinderResult2_Vtbl, 0x20709c6d_d90c_46c8_91c6_7d4be4efb215); #[repr(C)] pub struct IMapRouteFinderResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -187,7 +187,7 @@ pub struct IMapRouteFinderResult2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] AlternateRoutes: usize, } -windows_core::imp::com_interface!(IMapRouteFinderStatics, IMapRouteFinderStatics_Vtbl, 0xb8a5c50f_1c64_4c3a_81eb_1f7c152afbbb); +windows_core::imp::define_interface!(IMapRouteFinderStatics, IMapRouteFinderStatics_Vtbl, 0xb8a5c50f_1c64_4c3a_81eb_1f7c152afbbb); #[repr(C)] pub struct IMapRouteFinderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -232,7 +232,7 @@ pub struct IMapRouteFinderStatics_Vtbl { #[cfg(not(all(feature = "Devices_Geolocation", feature = "Foundation_Collections")))] GetWalkingRouteFromWaypointsAsync: usize, } -windows_core::imp::com_interface!(IMapRouteFinderStatics2, IMapRouteFinderStatics2_Vtbl, 0xafcc2c73_7760_49af_b3bd_baf135b703e1); +windows_core::imp::define_interface!(IMapRouteFinderStatics2, IMapRouteFinderStatics2_Vtbl, 0xafcc2c73_7760_49af_b3bd_baf135b703e1); #[repr(C)] pub struct IMapRouteFinderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -241,7 +241,7 @@ pub struct IMapRouteFinderStatics2_Vtbl { #[cfg(not(feature = "Devices_Geolocation"))] GetDrivingRouteWithOptionsAsync: usize, } -windows_core::imp::com_interface!(IMapRouteFinderStatics3, IMapRouteFinderStatics3_Vtbl, 0xf6098134_5913_11e6_8b77_86f30ca893d3); +windows_core::imp::define_interface!(IMapRouteFinderStatics3, IMapRouteFinderStatics3_Vtbl, 0xf6098134_5913_11e6_8b77_86f30ca893d3); #[repr(C)] pub struct IMapRouteFinderStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -254,7 +254,7 @@ pub struct IMapRouteFinderStatics3_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetDrivingRouteFromEnhancedWaypointsWithOptionsAsync: usize, } -windows_core::imp::com_interface!(IMapRouteLeg, IMapRouteLeg_Vtbl, 0x96f8b2f6_5bba_4d17_9db6_1a263fec7471); +windows_core::imp::define_interface!(IMapRouteLeg, IMapRouteLeg_Vtbl, 0x96f8b2f6_5bba_4d17_9db6_1a263fec7471); #[repr(C)] pub struct IMapRouteLeg_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -273,14 +273,14 @@ pub struct IMapRouteLeg_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Maneuvers: usize, } -windows_core::imp::com_interface!(IMapRouteLeg2, IMapRouteLeg2_Vtbl, 0x02e2062d_c9c6_45b8_8e54_1a10b57a17e8); +windows_core::imp::define_interface!(IMapRouteLeg2, IMapRouteLeg2_Vtbl, 0x02e2062d_c9c6_45b8_8e54_1a10b57a17e8); #[repr(C)] pub struct IMapRouteLeg2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DurationWithoutTraffic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub TrafficCongestion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TrafficCongestion) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapRouteManeuver, IMapRouteManeuver_Vtbl, 0xed5c17f0_a6ab_4d65_a086_fa8a7e340df2); +windows_core::imp::define_interface!(IMapRouteManeuver, IMapRouteManeuver_Vtbl, 0xed5c17f0_a6ab_4d65_a086_fa8a7e340df2); #[repr(C)] pub struct IMapRouteManeuver_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -294,7 +294,7 @@ pub struct IMapRouteManeuver_Vtbl { pub ExitNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub ManeuverNotices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MapManeuverNotices) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapRouteManeuver2, IMapRouteManeuver2_Vtbl, 0x5d7bcd9c_7c9b_41df_838b_eae21e4b05a9); +windows_core::imp::define_interface!(IMapRouteManeuver2, IMapRouteManeuver2_Vtbl, 0x5d7bcd9c_7c9b_41df_838b_eae21e4b05a9); #[repr(C)] pub struct IMapRouteManeuver2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -302,7 +302,7 @@ pub struct IMapRouteManeuver2_Vtbl { 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, } -windows_core::imp::com_interface!(IMapRouteManeuver3, IMapRouteManeuver3_Vtbl, 0xa6a138df_0483_4166_85be_b99336c11875); +windows_core::imp::define_interface!(IMapRouteManeuver3, IMapRouteManeuver3_Vtbl, 0xa6a138df_0483_4166_85be_b99336c11875); #[repr(C)] pub struct IMapRouteManeuver3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -311,33 +311,33 @@ pub struct IMapRouteManeuver3_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Warnings: usize, } -windows_core::imp::com_interface!(IMapServiceStatics, IMapServiceStatics_Vtbl, 0x0144ad85_c04c_4cdd_871a_a0726d097cd4); +windows_core::imp::define_interface!(IMapServiceStatics, IMapServiceStatics_Vtbl, 0x0144ad85_c04c_4cdd_871a_a0726d097cd4); #[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, } -windows_core::imp::com_interface!(IMapServiceStatics2, IMapServiceStatics2_Vtbl, 0xf8193eed_9c85_40a9_8896_0fc3fd2b7c2a); +windows_core::imp::define_interface!(IMapServiceStatics2, IMapServiceStatics2_Vtbl, 0xf8193eed_9c85_40a9_8896_0fc3fd2b7c2a); #[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, } -windows_core::imp::com_interface!(IMapServiceStatics3, IMapServiceStatics3_Vtbl, 0x0a11ce20_63a7_4854_b355_d6dcda223d1b); +windows_core::imp::define_interface!(IMapServiceStatics3, IMapServiceStatics3_Vtbl, 0x0a11ce20_63a7_4854_b355_d6dcda223d1b); #[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, } -windows_core::imp::com_interface!(IMapServiceStatics4, IMapServiceStatics4_Vtbl, 0x088a2862_6abc_420e_945f_4cfd89c67356); +windows_core::imp::define_interface!(IMapServiceStatics4, IMapServiceStatics4_Vtbl, 0x088a2862_6abc_420e_945f_4cfd89c67356); #[repr(C)] pub struct IMapServiceStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetDataUsagePreference: unsafe extern "system" fn(*mut core::ffi::c_void, MapServiceDataUsagePreference) -> windows_core::HRESULT, pub DataUsagePreference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MapServiceDataUsagePreference) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlaceInfo, IPlaceInfo_Vtbl, 0x9a0810b6_31c8_4f6a_9f18_950b4c38951a); +windows_core::imp::define_interface!(IPlaceInfo, IPlaceInfo_Vtbl, 0x9a0810b6_31c8_4f6a_9f18_950b4c38951a); #[repr(C)] pub struct IPlaceInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -354,7 +354,7 @@ pub struct IPlaceInfo_Vtbl { #[cfg(not(feature = "Devices_Geolocation"))] Geoshape: usize, } -windows_core::imp::com_interface!(IPlaceInfoCreateOptions, IPlaceInfoCreateOptions_Vtbl, 0xcd33c125_67f1_4bb3_9907_ecce939b0399); +windows_core::imp::define_interface!(IPlaceInfoCreateOptions, IPlaceInfoCreateOptions_Vtbl, 0xcd33c125_67f1_4bb3_9907_ecce939b0399); #[repr(C)] pub struct IPlaceInfoCreateOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -363,7 +363,7 @@ pub struct IPlaceInfoCreateOptions_Vtbl { 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, } -windows_core::imp::com_interface!(IPlaceInfoStatics, IPlaceInfoStatics_Vtbl, 0x82b9ff71_6cd0_48a4_afd9_5ed82097936b); +windows_core::imp::define_interface!(IPlaceInfoStatics, IPlaceInfoStatics_Vtbl, 0x82b9ff71_6cd0_48a4_afd9_5ed82097936b); #[repr(C)] pub struct IPlaceInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -383,7 +383,7 @@ pub struct IPlaceInfoStatics_Vtbl { 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, pub IsShowSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlaceInfoStatics2, IPlaceInfoStatics2_Vtbl, 0x730f0249_4047_44a3_8f81_2550a5216370); +windows_core::imp::define_interface!(IPlaceInfoStatics2, IPlaceInfoStatics2_Vtbl, 0x730f0249_4047_44a3_8f81_2550a5216370); #[repr(C)] pub struct IPlaceInfoStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Services/Store/mod.rs b/crates/libs/windows/src/Windows/Services/Store/mod.rs index 84357d2bf8..d5a2d2a19f 100644 --- a/crates/libs/windows/src/Windows/Services/Store/mod.rs +++ b/crates/libs/windows/src/Windows/Services/Store/mod.rs @@ -1,11 +1,11 @@ -windows_core::imp::com_interface!(IStoreAcquireLicenseResult, IStoreAcquireLicenseResult_Vtbl, 0xfbd7946d_f040_4cb3_9a39_29bcecdbe22d); +windows_core::imp::define_interface!(IStoreAcquireLicenseResult, IStoreAcquireLicenseResult_Vtbl, 0xfbd7946d_f040_4cb3_9a39_29bcecdbe22d); #[repr(C)] pub struct IStoreAcquireLicenseResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub StorePackageLicense: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IStoreAppLicense, IStoreAppLicense_Vtbl, 0xf389f9de_73c0_45ce_9bab_b2fe3e5eafd3); +windows_core::imp::define_interface!(IStoreAppLicense, IStoreAppLicense_Vtbl, 0xf389f9de_73c0_45ce_9bab_b2fe3e5eafd3); #[repr(C)] pub struct IStoreAppLicense_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -22,13 +22,13 @@ pub struct IStoreAppLicense_Vtbl { 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, } -windows_core::imp::com_interface!(IStoreAppLicense2, IStoreAppLicense2_Vtbl, 0xb4666e91_4443_40b3_993f_28904435bdc6); +windows_core::imp::define_interface!(IStoreAppLicense2, IStoreAppLicense2_Vtbl, 0xb4666e91_4443_40b3_993f_28904435bdc6); #[repr(C)] pub struct IStoreAppLicense2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsDiscLicense: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreAvailability, IStoreAvailability_Vtbl, 0xfa060325_0ffd_4493_ad43_f1f9918f69fa); +windows_core::imp::define_interface!(IStoreAvailability, IStoreAvailability_Vtbl, 0xfa060325_0ffd_4493_ad43_f1f9918f69fa); #[repr(C)] pub struct IStoreAvailability_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -39,7 +39,7 @@ pub struct IStoreAvailability_Vtbl { 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, } -windows_core::imp::com_interface!(IStoreCanAcquireLicenseResult, IStoreCanAcquireLicenseResult_Vtbl, 0x3a693db3_0088_482f_86d5_bd46522663ad); +windows_core::imp::define_interface!(IStoreCanAcquireLicenseResult, IStoreCanAcquireLicenseResult_Vtbl, 0x3a693db3_0088_482f_86d5_bd46522663ad); #[repr(C)] pub struct IStoreCanAcquireLicenseResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -47,7 +47,7 @@ pub struct IStoreCanAcquireLicenseResult_Vtbl { pub LicensableSku: 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 StoreCanLicenseStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreCollectionData, IStoreCollectionData_Vtbl, 0x8aa4c3b3_5bb3_441a_2ab4_4dab73d5ce67); +windows_core::imp::define_interface!(IStoreCollectionData, IStoreCollectionData_Vtbl, 0x8aa4c3b3_5bb3_441a_2ab4_4dab73d5ce67); #[repr(C)] pub struct IStoreCollectionData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -60,7 +60,7 @@ pub struct IStoreCollectionData_Vtbl { 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, } -windows_core::imp::com_interface!(IStoreConsumableResult, IStoreConsumableResult_Vtbl, 0xea5dab72_6a00_4052_be5b_bfdab4433352); +windows_core::imp::define_interface!(IStoreConsumableResult, IStoreConsumableResult_Vtbl, 0xea5dab72_6a00_4052_be5b_bfdab4433352); #[repr(C)] pub struct IStoreConsumableResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -69,7 +69,7 @@ pub struct IStoreConsumableResult_Vtbl { pub BalanceRemaining: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreContext, IStoreContext_Vtbl, 0xac98b6be_f4fd_4912_babd_5035e5e8bcab); +windows_core::imp::define_interface!(IStoreContext, IStoreContext_Vtbl, 0xac98b6be_f4fd_4912_babd_5035e5e8bcab); #[repr(C)] pub struct IStoreContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -128,7 +128,7 @@ pub struct IStoreContext_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RequestDownloadAndInstallStorePackagesAsync: usize, } -windows_core::imp::com_interface!(IStoreContext2, IStoreContext2_Vtbl, 0x18bc54da_7bd9_452c_9116_3bbd06ffc63a); +windows_core::imp::define_interface!(IStoreContext2, IStoreContext2_Vtbl, 0x18bc54da_7bd9_452c_9116_3bbd06ffc63a); #[repr(C)] pub struct IStoreContext2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -137,7 +137,7 @@ pub struct IStoreContext2_Vtbl { #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindStoreProductForPackageAsync: usize, } -windows_core::imp::com_interface!(IStoreContext3, IStoreContext3_Vtbl, 0xe26226ca_1a01_4730_85a6_ecc896e4ae38); +windows_core::imp::define_interface!(IStoreContext3, IStoreContext3_Vtbl, 0xe26226ca_1a01_4730_85a6_ecc896e4ae38); #[repr(C)] pub struct IStoreContext3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -186,7 +186,7 @@ pub struct IStoreContext3_Vtbl { 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, } -windows_core::imp::com_interface!(IStoreContext4, IStoreContext4_Vtbl, 0xaf9c6f69_bea1_4bf4_8e74_ae03e206c6b0); +windows_core::imp::define_interface!(IStoreContext4, IStoreContext4_Vtbl, 0xaf9c6f69_bea1_4bf4_8e74_ae03e206c6b0); #[repr(C)] pub struct IStoreContext4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -196,7 +196,7 @@ pub struct IStoreContext4_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetInstallOrderForAssociatedStoreQueueItemsAsync: usize, } -windows_core::imp::com_interface!(IStoreContext5, IStoreContext5_Vtbl, 0x6de6c52b_c43a_5953_b39a_71643c57d96e); +windows_core::imp::define_interface!(IStoreContext5, IStoreContext5_Vtbl, 0x6de6c52b_c43a_5953_b39a_71643c57d96e); #[repr(C)] pub struct IStoreContext5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -210,7 +210,7 @@ pub struct IStoreContext5_Vtbl { 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, } -windows_core::imp::com_interface!(IStoreContextStatics, IStoreContextStatics_Vtbl, 0x9c06ee5f_15c0_4e72_9330_d6191cebd19c); +windows_core::imp::define_interface!(IStoreContextStatics, IStoreContextStatics_Vtbl, 0x9c06ee5f_15c0_4e72_9330_d6191cebd19c); #[repr(C)] pub struct IStoreContextStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -220,7 +220,7 @@ pub struct IStoreContextStatics_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IStoreImage, IStoreImage_Vtbl, 0x081fd248_adb4_4b64_a993_784789926ed5); +windows_core::imp::define_interface!(IStoreImage, IStoreImage_Vtbl, 0x081fd248_adb4_4b64_a993_784789926ed5); #[repr(C)] pub struct IStoreImage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -230,7 +230,7 @@ pub struct IStoreImage_Vtbl { 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, } -windows_core::imp::com_interface!(IStoreLicense, IStoreLicense_Vtbl, 0x26dc9579_4c4f_4f30_bc89_649f60e36055); +windows_core::imp::define_interface!(IStoreLicense, IStoreLicense_Vtbl, 0x26dc9579_4c4f_4f30_bc89_649f60e36055); #[repr(C)] pub struct IStoreLicense_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -240,14 +240,14 @@ pub struct IStoreLicense_Vtbl { 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, } -windows_core::imp::com_interface!(IStorePackageInstallOptions, IStorePackageInstallOptions_Vtbl, 0x1d3d630c_0ccd_44dd_8c59_80810a729973); +windows_core::imp::define_interface!(IStorePackageInstallOptions, IStorePackageInstallOptions_Vtbl, 0x1d3d630c_0ccd_44dd_8c59_80810a729973); #[repr(C)] pub struct IStorePackageInstallOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AllowForcedAppRestart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetAllowForcedAppRestart: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorePackageLicense, IStorePackageLicense_Vtbl, 0x0c465714_14e1_4973_bd14_f77724271e99); +windows_core::imp::define_interface!(IStorePackageLicense, IStorePackageLicense_Vtbl, 0x0c465714_14e1_4973_bd14_f77724271e99); #[repr(C)] pub struct IStorePackageLicense_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -260,7 +260,7 @@ pub struct IStorePackageLicense_Vtbl { pub IsValid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub ReleaseLicense: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorePackageUpdate, IStorePackageUpdate_Vtbl, 0x140fa150_3cbf_4a35_b91f_48271c31b072); +windows_core::imp::define_interface!(IStorePackageUpdate, IStorePackageUpdate_Vtbl, 0x140fa150_3cbf_4a35_b91f_48271c31b072); #[repr(C)] pub struct IStorePackageUpdate_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -270,7 +270,7 @@ pub struct IStorePackageUpdate_Vtbl { Package: usize, pub Mandatory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorePackageUpdateResult, IStorePackageUpdateResult_Vtbl, 0xe79142ed_61f9_4893_b4fe_cf191603af7b); +windows_core::imp::define_interface!(IStorePackageUpdateResult, IStorePackageUpdateResult_Vtbl, 0xe79142ed_61f9_4893_b4fe_cf191603af7b); #[repr(C)] pub struct IStorePackageUpdateResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -280,7 +280,7 @@ pub struct IStorePackageUpdateResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] StorePackageUpdateStatuses: usize, } -windows_core::imp::com_interface!(IStorePackageUpdateResult2, IStorePackageUpdateResult2_Vtbl, 0x071d012e_bc62_4f2e_87ea_99d801aeaf98); +windows_core::imp::define_interface!(IStorePackageUpdateResult2, IStorePackageUpdateResult2_Vtbl, 0x071d012e_bc62_4f2e_87ea_99d801aeaf98); #[repr(C)] pub struct IStorePackageUpdateResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -289,7 +289,7 @@ pub struct IStorePackageUpdateResult2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] StoreQueueItems: usize, } -windows_core::imp::com_interface!(IStorePrice, IStorePrice_Vtbl, 0x55ba94c4_15f1_407c_8f06_006380f4df0b); +windows_core::imp::define_interface!(IStorePrice, IStorePrice_Vtbl, 0x55ba94c4_15f1_407c_8f06_006380f4df0b); #[repr(C)] pub struct IStorePrice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -300,7 +300,7 @@ pub struct IStorePrice_Vtbl { 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, } -windows_core::imp::com_interface!(IStorePrice2, IStorePrice2_Vtbl, 0xf711573c_40e6_5641_b063_f1df42b2b12a); +windows_core::imp::define_interface!(IStorePrice2, IStorePrice2_Vtbl, 0xf711573c_40e6_5641_b063_f1df42b2b12a); #[repr(C)] pub struct IStorePrice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -308,7 +308,7 @@ pub struct IStorePrice2_Vtbl { 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, } -windows_core::imp::com_interface!(IStoreProduct, IStoreProduct_Vtbl, 0x320e2c52_d760_450a_a42b_67d1e901ac90); +windows_core::imp::define_interface!(IStoreProduct, IStoreProduct_Vtbl, 0x320e2c52_d760_450a_a42b_67d1e901ac90); #[repr(C)] pub struct IStoreProduct_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -343,7 +343,7 @@ pub struct IStoreProduct_Vtbl { 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, } -windows_core::imp::com_interface!(IStoreProductOptions, IStoreProductOptions_Vtbl, 0x5b34a0f9_a113_4811_8326_16199c927f31); +windows_core::imp::define_interface!(IStoreProductOptions, IStoreProductOptions_Vtbl, 0x5b34a0f9_a113_4811_8326_16199c927f31); #[repr(C)] pub struct IStoreProductOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -352,7 +352,7 @@ pub struct IStoreProductOptions_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ActionFilters: usize, } -windows_core::imp::com_interface!(IStoreProductPagedQueryResult, IStoreProductPagedQueryResult_Vtbl, 0xc92718c5_4dd5_4869_a462_ecc6872e43c5); +windows_core::imp::define_interface!(IStoreProductPagedQueryResult, IStoreProductPagedQueryResult_Vtbl, 0xc92718c5_4dd5_4869_a462_ecc6872e43c5); #[repr(C)] pub struct IStoreProductPagedQueryResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -364,7 +364,7 @@ pub struct IStoreProductPagedQueryResult_Vtbl { pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub GetNextAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreProductQueryResult, IStoreProductQueryResult_Vtbl, 0xd805e6c5_d456_4ff6_8049_9076d5165f73); +windows_core::imp::define_interface!(IStoreProductQueryResult, IStoreProductQueryResult_Vtbl, 0xd805e6c5_d456_4ff6_8049_9076d5165f73); #[repr(C)] pub struct IStoreProductQueryResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -374,14 +374,14 @@ pub struct IStoreProductQueryResult_Vtbl { Products: usize, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreProductResult, IStoreProductResult_Vtbl, 0xb7674f73_3c87_4ee1_8201_f428359bd3af); +windows_core::imp::define_interface!(IStoreProductResult, IStoreProductResult_Vtbl, 0xb7674f73_3c87_4ee1_8201_f428359bd3af); #[repr(C)] pub struct IStoreProductResult_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 ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorePurchaseProperties, IStorePurchaseProperties_Vtbl, 0x836278f3_ff87_4364_a5b4_fd2153ebe43b); +windows_core::imp::define_interface!(IStorePurchaseProperties, IStorePurchaseProperties_Vtbl, 0x836278f3_ff87_4364_a5b4_fd2153ebe43b); #[repr(C)] pub struct IStorePurchaseProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -390,20 +390,20 @@ pub struct IStorePurchaseProperties_Vtbl { 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, } -windows_core::imp::com_interface!(IStorePurchasePropertiesFactory, IStorePurchasePropertiesFactory_Vtbl, 0xa768f59e_fefd_489f_9a17_22a593e68b9d); +windows_core::imp::define_interface!(IStorePurchasePropertiesFactory, IStorePurchasePropertiesFactory_Vtbl, 0xa768f59e_fefd_489f_9a17_22a593e68b9d); #[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, } -windows_core::imp::com_interface!(IStorePurchaseResult, IStorePurchaseResult_Vtbl, 0xadd28552_f96a_463d_a7bb_c20b4fca6952); +windows_core::imp::define_interface!(IStorePurchaseResult, IStorePurchaseResult_Vtbl, 0xadd28552_f96a_463d_a7bb_c20b4fca6952); #[repr(C)] pub struct IStorePurchaseResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StorePurchaseStatus) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreQueueItem, IStoreQueueItem_Vtbl, 0x56d5c32b_f830_4293_9188_cad2dcde7357); +windows_core::imp::define_interface!(IStoreQueueItem, IStoreQueueItem_Vtbl, 0x56d5c32b_f830_4293_9188_cad2dcde7357); #[repr(C)] pub struct IStoreQueueItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -416,7 +416,7 @@ pub struct IStoreQueueItem_Vtbl { pub StatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreQueueItem2, IStoreQueueItem2_Vtbl, 0x69491ca8_1ad4_447c_ad8c_a95035f64d82); +windows_core::imp::define_interface!(IStoreQueueItem2, IStoreQueueItem2_Vtbl, 0x69491ca8_1ad4_447c_ad8c_a95035f64d82); #[repr(C)] pub struct IStoreQueueItem2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -424,13 +424,13 @@ pub struct IStoreQueueItem2_Vtbl { pub PauseInstallAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ResumeInstallAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreQueueItemCompletedEventArgs, IStoreQueueItemCompletedEventArgs_Vtbl, 0x1247df6c_b44a_439b_bb07_1d3003d005c2); +windows_core::imp::define_interface!(IStoreQueueItemCompletedEventArgs, IStoreQueueItemCompletedEventArgs_Vtbl, 0x1247df6c_b44a_439b_bb07_1d3003d005c2); #[repr(C)] pub struct IStoreQueueItemCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreQueueItemStatus, IStoreQueueItemStatus_Vtbl, 0x9bd6796f_9cc3_4ec3_b2ef_7be433b30174); +windows_core::imp::define_interface!(IStoreQueueItemStatus, IStoreQueueItemStatus_Vtbl, 0x9bd6796f_9cc3_4ec3_b2ef_7be433b30174); #[repr(C)] pub struct IStoreQueueItemStatus_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -439,7 +439,7 @@ pub struct IStoreQueueItemStatus_Vtbl { pub UpdateStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IStoreRateAndReviewResult, IStoreRateAndReviewResult_Vtbl, 0x9d209d56_a6b5_4121_9b61_ee6d0fbdbdbb); +windows_core::imp::define_interface!(IStoreRateAndReviewResult, IStoreRateAndReviewResult_Vtbl, 0x9d209d56_a6b5_4121_9b61_ee6d0fbdbdbb); #[repr(C)] pub struct IStoreRateAndReviewResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -448,20 +448,20 @@ pub struct IStoreRateAndReviewResult_Vtbl { 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, } -windows_core::imp::com_interface!(IStoreRequestHelperStatics, IStoreRequestHelperStatics_Vtbl, 0x6ce5e5f9_a0c9_4b2c_96a6_a171c630038d); +windows_core::imp::define_interface!(IStoreRequestHelperStatics, IStoreRequestHelperStatics_Vtbl, 0x6ce5e5f9_a0c9_4b2c_96a6_a171c630038d); #[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, } -windows_core::imp::com_interface!(IStoreSendRequestResult, IStoreSendRequestResult_Vtbl, 0xc73abe60_8272_4502_8a69_6e75153a4299); +windows_core::imp::define_interface!(IStoreSendRequestResult, IStoreSendRequestResult_Vtbl, 0xc73abe60_8272_4502_8a69_6e75153a4299); #[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 ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreSendRequestResult2, IStoreSendRequestResult2_Vtbl, 0x2901296f_c0b0_49d0_8e8d_aa940af9c10b); +windows_core::imp::define_interface!(IStoreSendRequestResult2, IStoreSendRequestResult2_Vtbl, 0x2901296f_c0b0_49d0_8e8d_aa940af9c10b); #[repr(C)] pub struct IStoreSendRequestResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -470,7 +470,7 @@ pub struct IStoreSendRequestResult2_Vtbl { #[cfg(not(feature = "Web_Http"))] HttpStatusCode: usize, } -windows_core::imp::com_interface!(IStoreSku, IStoreSku_Vtbl, 0x397e6f55_4440_4f03_863c_91f3fec83d79); +windows_core::imp::define_interface!(IStoreSku, IStoreSku_Vtbl, 0x397e6f55_4440_4f03_863c_91f3fec83d79); #[repr(C)] pub struct IStoreSku_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -506,7 +506,7 @@ pub struct IStoreSku_Vtbl { pub IsSubscription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SubscriptionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreSubscriptionInfo, IStoreSubscriptionInfo_Vtbl, 0x4189776a_0559_43ac_a9c6_3ab0011fb8eb); +windows_core::imp::define_interface!(IStoreSubscriptionInfo, IStoreSubscriptionInfo_Vtbl, 0x4189776a_0559_43ac_a9c6_3ab0011fb8eb); #[repr(C)] pub struct IStoreSubscriptionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -516,14 +516,14 @@ pub struct IStoreSubscriptionInfo_Vtbl { pub TrialPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub TrialPeriodUnit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StoreDurationUnit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreUninstallStorePackageResult, IStoreUninstallStorePackageResult_Vtbl, 0x9fca39fd_126f_4cda_b801_1346b8d0a260); +windows_core::imp::define_interface!(IStoreUninstallStorePackageResult, IStoreUninstallStorePackageResult_Vtbl, 0x9fca39fd_126f_4cda_b801_1346b8d0a260); #[repr(C)] pub struct IStoreUninstallStorePackageResult_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 Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StoreUninstallStorePackageStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStoreVideo, IStoreVideo_Vtbl, 0xf26cb184_6f5e_4dc2_886c_3c63083c2f94); +windows_core::imp::define_interface!(IStoreVideo, IStoreVideo_Vtbl, 0xf26cb184_6f5e_4dc2_886c_3c63083c2f94); #[repr(C)] pub struct IStoreVideo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs index 8e849bf93f..b405788c93 100644 --- a/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs +++ b/crates/libs/windows/src/Windows/Services/TargetedContent/mod.rs @@ -1,23 +1,23 @@ -windows_core::imp::com_interface!(ITargetedContentAction, ITargetedContentAction_Vtbl, 0xd75b691e_6cd6_4ca0_9d8f_4728b0b7e6b6); +windows_core::imp::define_interface!(ITargetedContentAction, ITargetedContentAction_Vtbl, 0xd75b691e_6cd6_4ca0_9d8f_4728b0b7e6b6); #[repr(C)] pub struct ITargetedContentAction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InvokeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetedContentAvailabilityChangedEventArgs, ITargetedContentAvailabilityChangedEventArgs_Vtbl, 0xe0f59d26_5927_4450_965c_1ceb7becde65); +windows_core::imp::define_interface!(ITargetedContentAvailabilityChangedEventArgs, ITargetedContentAvailabilityChangedEventArgs_Vtbl, 0xe0f59d26_5927_4450_965c_1ceb7becde65); #[repr(C)] pub struct ITargetedContentAvailabilityChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetedContentChangedEventArgs, ITargetedContentChangedEventArgs_Vtbl, 0x99d488c9_587e_4586_8ef7_b54ca9453a16); +windows_core::imp::define_interface!(ITargetedContentChangedEventArgs, ITargetedContentChangedEventArgs_Vtbl, 0x99d488c9_587e_4586_8ef7_b54ca9453a16); #[repr(C)] pub struct ITargetedContentChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub HasPreviousContentExpired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetedContentCollection, ITargetedContentCollection_Vtbl, 0x2d4b66c5_f163_44ba_9f6e_e1a4c2bb559d); +windows_core::imp::define_interface!(ITargetedContentCollection, ITargetedContentCollection_Vtbl, 0x2d4b66c5_f163_44ba_9f6e_e1a4c2bb559d); #[repr(C)] pub struct ITargetedContentCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,7 +38,7 @@ pub struct ITargetedContentCollection_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Items: usize, } -windows_core::imp::com_interface!(ITargetedContentContainer, ITargetedContentContainer_Vtbl, 0xbc2494c9_8837_47c2_850f_d79d64595926); +windows_core::imp::define_interface!(ITargetedContentContainer, ITargetedContentContainer_Vtbl, 0xbc2494c9_8837_47c2_850f_d79d64595926); #[repr(C)] pub struct ITargetedContentContainer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -48,20 +48,20 @@ pub struct ITargetedContentContainer_Vtbl { 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, } -windows_core::imp::com_interface!(ITargetedContentContainerStatics, ITargetedContentContainerStatics_Vtbl, 0x5b47e7fb_2140_4c1f_a736_c59583f227d8); +windows_core::imp::define_interface!(ITargetedContentContainerStatics, ITargetedContentContainerStatics_Vtbl, 0x5b47e7fb_2140_4c1f_a736_c59583f227d8); #[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, } -windows_core::imp::com_interface!(ITargetedContentImage, ITargetedContentImage_Vtbl, 0xa7a585d9_779f_4b1e_bbb1_8eaf53fbeab2); +windows_core::imp::define_interface!(ITargetedContentImage, ITargetedContentImage_Vtbl, 0xa7a585d9_779f_4b1e_bbb1_8eaf53fbeab2); #[repr(C)] pub struct ITargetedContentImage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Height: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Width: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetedContentItem, ITargetedContentItem_Vtbl, 0x38168dc4_276c_4c32_96ba_565c6e406e74); +windows_core::imp::define_interface!(ITargetedContentItem, ITargetedContentItem_Vtbl, 0x38168dc4_276c_4c32_96ba_565c6e406e74); #[repr(C)] pub struct ITargetedContentItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -78,14 +78,14 @@ pub struct ITargetedContentItem_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Collections: usize, } -windows_core::imp::com_interface!(ITargetedContentItemState, ITargetedContentItemState_Vtbl, 0x73935454_4c65_4b47_a441_472de53c79b6); +windows_core::imp::define_interface!(ITargetedContentItemState, ITargetedContentItemState_Vtbl, 0x73935454_4c65_4b47_a441_472de53c79b6); #[repr(C)] pub struct ITargetedContentItemState_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShouldDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub AppInstallationState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TargetedContentAppInstallationState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetedContentObject, ITargetedContentObject_Vtbl, 0x041d7969_2212_42d1_9dfa_88a8e3033aa3); +windows_core::imp::define_interface!(ITargetedContentObject, ITargetedContentObject_Vtbl, 0x041d7969_2212_42d1_9dfa_88a8e3033aa3); #[repr(C)] pub struct ITargetedContentObject_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -94,13 +94,13 @@ pub struct ITargetedContentObject_Vtbl { pub Item: 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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetedContentStateChangedEventArgs, ITargetedContentStateChangedEventArgs_Vtbl, 0x9a1cef3d_8073_4416_8df2_546835a6414f); +windows_core::imp::define_interface!(ITargetedContentStateChangedEventArgs, ITargetedContentStateChangedEventArgs_Vtbl, 0x9a1cef3d_8073_4416_8df2_546835a6414f); #[repr(C)] pub struct ITargetedContentStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetedContentSubscription, ITargetedContentSubscription_Vtbl, 0x882c2c49_c652_4c7a_acad_1f7fa2986c73); +windows_core::imp::define_interface!(ITargetedContentSubscription, ITargetedContentSubscription_Vtbl, 0x882c2c49_c652_4c7a_acad_1f7fa2986c73); #[repr(C)] pub struct ITargetedContentSubscription_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -113,7 +113,7 @@ pub struct ITargetedContentSubscription_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, } -windows_core::imp::com_interface!(ITargetedContentSubscriptionOptions, ITargetedContentSubscriptionOptions_Vtbl, 0x61ee6ad0_2c83_421b_8467_413eaf1aeb97); +windows_core::imp::define_interface!(ITargetedContentSubscriptionOptions, ITargetedContentSubscriptionOptions_Vtbl, 0x61ee6ad0_2c83_421b_8467_413eaf1aeb97); #[repr(C)] pub struct ITargetedContentSubscriptionOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -130,14 +130,14 @@ pub struct ITargetedContentSubscriptionOptions_Vtbl { LocalFilters: usize, pub Update: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetedContentSubscriptionStatics, ITargetedContentSubscriptionStatics_Vtbl, 0xfaddfe80_360d_4916_b53c_7ea27090d02a); +windows_core::imp::define_interface!(ITargetedContentSubscriptionStatics, ITargetedContentSubscriptionStatics_Vtbl, 0xfaddfe80_360d_4916_b53c_7ea27090d02a); #[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, } -windows_core::imp::com_interface!(ITargetedContentValue, ITargetedContentValue_Vtbl, 0xaafde4b3_4215_4bf8_867f_43f04865f9bf); +windows_core::imp::define_interface!(ITargetedContentValue, ITargetedContentValue_Vtbl, 0xaafde4b3_4215_4bf8_867f_43f04865f9bf); #[repr(C)] pub struct ITargetedContentValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs index 24dea2f7b6..9ba3afeedc 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/mod.rs @@ -1,17 +1,17 @@ -windows_core::imp::com_interface!(IItemRemovedEventArgs, IItemRemovedEventArgs_Vtbl, 0x59677e5c_55be_4c66_ba66_5eaea79d2631); +windows_core::imp::define_interface!(IItemRemovedEventArgs, IItemRemovedEventArgs_Vtbl, 0x59677e5c_55be_4c66_ba66_5eaea79d2631); #[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, } -windows_core::imp::com_interface!(IStorageApplicationPermissionsStatics, IStorageApplicationPermissionsStatics_Vtbl, 0x4391dfaa_d033_48f9_8060_3ec847d2e3f1); +windows_core::imp::define_interface!(IStorageApplicationPermissionsStatics, IStorageApplicationPermissionsStatics_Vtbl, 0x4391dfaa_d033_48f9_8060_3ec847d2e3f1); #[repr(C)] pub struct IStorageApplicationPermissionsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FutureAccessList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MostRecentlyUsedList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageApplicationPermissionsStatics2, IStorageApplicationPermissionsStatics2_Vtbl, 0x072716ec_aa05_4294_9a11_1a3d04519ad0); +windows_core::imp::define_interface!(IStorageApplicationPermissionsStatics2, IStorageApplicationPermissionsStatics2_Vtbl, 0x072716ec_aa05_4294_9a11_1a3d04519ad0); #[repr(C)] pub struct IStorageApplicationPermissionsStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -24,7 +24,7 @@ pub struct IStorageApplicationPermissionsStatics2_Vtbl { #[cfg(not(feature = "System"))] GetMostRecentlyUsedListForUser: usize, } -windows_core::imp::com_interface!(IStorageItemAccessList, IStorageItemAccessList_Vtbl, 0x2caff6ad_de90_47f5_b2c3_dd36c9fdd453); +windows_core::imp::define_interface!(IStorageItemAccessList, IStorageItemAccessList_Vtbl, 0x2caff6ad_de90_47f5_b2c3_dd36c9fdd453); windows_core::imp::interface_hierarchy!(IStorageItemAccessList, windows_core::IUnknown, windows_core::IInspectable); impl IStorageItemAccessList { pub fn AddOverloadDefaultMetadata(&self, file: P0) -> windows_core::Result @@ -170,14 +170,14 @@ pub struct IStorageItemAccessList_Vtbl { Entries: usize, pub MaximumItemsAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageItemMostRecentlyUsedList, IStorageItemMostRecentlyUsedList_Vtbl, 0x016239d5_510d_411e_8cf1_c3d1effa4c33); +windows_core::imp::define_interface!(IStorageItemMostRecentlyUsedList, IStorageItemMostRecentlyUsedList_Vtbl, 0x016239d5_510d_411e_8cf1_c3d1effa4c33); #[repr(C)] pub struct IStorageItemMostRecentlyUsedList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ItemRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveItemRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageItemMostRecentlyUsedList2, IStorageItemMostRecentlyUsedList2_Vtbl, 0xda481ea0_ed8d_4731_a1db_e44ee2204093); +windows_core::imp::define_interface!(IStorageItemMostRecentlyUsedList2, IStorageItemMostRecentlyUsedList2_Vtbl, 0xda481ea0_ed8d_4731_a1db_e44ee2204093); #[repr(C)] pub struct IStorageItemMostRecentlyUsedList2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs index af3efbafde..7157b9f262 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IFileInformationFactory, IFileInformationFactory_Vtbl, 0x401d88be_960f_4d6d_a7d0_1a3861e76c83); +windows_core::imp::define_interface!(IFileInformationFactory, IFileInformationFactory_Vtbl, 0x401d88be_960f_4d6d_a7d0_1a3861e76c83); #[repr(C)] pub struct IFileInformationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,7 +30,7 @@ pub struct IFileInformationFactory_Vtbl { pub GetVirtualizedFilesVector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVirtualizedFoldersVector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileInformationFactoryFactory, IFileInformationFactoryFactory_Vtbl, 0x84ea0e7d_e4a2_4f00_8afa_af5e0f826bd5); +windows_core::imp::define_interface!(IFileInformationFactoryFactory, IFileInformationFactoryFactory_Vtbl, 0x84ea0e7d_e4a2_4f00_8afa_af5e0f826bd5); #[repr(C)] pub struct IFileInformationFactoryFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -51,7 +51,7 @@ pub struct IFileInformationFactoryFactory_Vtbl { #[cfg(not(all(feature = "Storage_FileProperties", feature = "Storage_Search")))] CreateWithModeAndSizeAndOptionsAndFlags: usize, } -windows_core::imp::com_interface!(IStorageItemInformation, IStorageItemInformation_Vtbl, 0x87a5cb8b_8972_4f40_8de0_d86fb179d8fa); +windows_core::imp::define_interface!(IStorageItemInformation, IStorageItemInformation_Vtbl, 0x87a5cb8b_8972_4f40_8de0_d86fb179d8fa); windows_core::imp::interface_hierarchy!(IStorageItemInformation, windows_core::IUnknown, windows_core::IInspectable); impl IStorageItemInformation { #[cfg(feature = "Storage_FileProperties")] diff --git a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs index 082b7e2060..12651effa8 100644 --- a/crates/libs/windows/src/Windows/Storage/Compression/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Compression/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICompressor, ICompressor_Vtbl, 0x0ac3645a_57ac_4ee1_b702_84d39d5424e0); +windows_core::imp::define_interface!(ICompressor, ICompressor_Vtbl, 0x0ac3645a_57ac_4ee1_b702_84d39d5424e0); #[repr(C)] pub struct ICompressor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct ICompressor_Vtbl { #[cfg(not(feature = "Storage_Streams"))] DetachStream: usize, } -windows_core::imp::com_interface!(ICompressorFactory, ICompressorFactory_Vtbl, 0x5f3d96a4_2cfb_442c_a8ba_d7d11b039da0); +windows_core::imp::define_interface!(ICompressorFactory, ICompressorFactory_Vtbl, 0x5f3d96a4_2cfb_442c_a8ba_d7d11b039da0); #[repr(C)] pub struct ICompressorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -21,7 +21,7 @@ pub struct ICompressorFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateCompressorEx: usize, } -windows_core::imp::com_interface!(IDecompressor, IDecompressor_Vtbl, 0xb883fe46_d68a_4c8b_ada0_4ee813fc5283); +windows_core::imp::define_interface!(IDecompressor, IDecompressor_Vtbl, 0xb883fe46_d68a_4c8b_ada0_4ee813fc5283); #[repr(C)] pub struct IDecompressor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,7 +30,7 @@ pub struct IDecompressor_Vtbl { #[cfg(not(feature = "Storage_Streams"))] DetachStream: usize, } -windows_core::imp::com_interface!(IDecompressorFactory, IDecompressorFactory_Vtbl, 0x5337e252_1da2_42e1_8834_0379d28d742f); +windows_core::imp::define_interface!(IDecompressorFactory, IDecompressorFactory_Vtbl, 0x5337e252_1da2_42e1_8834_0379d28d742f); #[repr(C)] pub struct IDecompressorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs index a5bee6da1f..0095083921 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IBasicProperties, IBasicProperties_Vtbl, 0xd05d55db_785e_4a66_be02_9beec58aea81); +windows_core::imp::define_interface!(IBasicProperties, IBasicProperties_Vtbl, 0xd05d55db_785e_4a66_be02_9beec58aea81); #[repr(C)] pub struct IBasicProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,7 +6,7 @@ pub struct IBasicProperties_Vtbl { pub DateModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, pub ItemDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDocumentProperties, IDocumentProperties_Vtbl, 0x7eab19bc_1821_4923_b4a9_0aea404d0070); +windows_core::imp::define_interface!(IDocumentProperties, IDocumentProperties_Vtbl, 0x7eab19bc_1821_4923_b4a9_0aea404d0070); #[repr(C)] pub struct IDocumentProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct IDocumentProperties_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, } -windows_core::imp::com_interface!(IGeotagHelperStatics, IGeotagHelperStatics_Vtbl, 0x41493244_2524_4655_86a6_ed16f5fc716b); +windows_core::imp::define_interface!(IGeotagHelperStatics, IGeotagHelperStatics_Vtbl, 0x41493244_2524_4655_86a6_ed16f5fc716b); #[repr(C)] pub struct IGeotagHelperStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -40,7 +40,7 @@ pub struct IGeotagHelperStatics_Vtbl { #[cfg(not(feature = "Devices_Geolocation"))] SetGeotagAsync: usize, } -windows_core::imp::com_interface!(IImageProperties, IImageProperties_Vtbl, 0x523c9424_fcff_4275_afee_ecdb9ab47973); +windows_core::imp::define_interface!(IImageProperties, IImageProperties_Vtbl, 0x523c9424_fcff_4275_afee_ecdb9ab47973); #[repr(C)] pub struct IImageProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -68,7 +68,7 @@ pub struct IImageProperties_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PeopleNames: usize, } -windows_core::imp::com_interface!(IMusicProperties, IMusicProperties_Vtbl, 0xbc8aab62_66ec_419a_bc5d_ca65a4cb46da); +windows_core::imp::define_interface!(IMusicProperties, IMusicProperties_Vtbl, 0xbc8aab62_66ec_419a_bc5d_ca65a4cb46da); #[repr(C)] pub struct IMusicProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -113,7 +113,7 @@ pub struct IMusicProperties_Vtbl { pub Year: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetYear: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageItemContentProperties, IStorageItemContentProperties_Vtbl, 0x05294bad_bc38_48bf_85d7_770e0e2ae0ba); +windows_core::imp::define_interface!(IStorageItemContentProperties, IStorageItemContentProperties_Vtbl, 0x05294bad_bc38_48bf_85d7_770e0e2ae0ba); #[repr(C)] pub struct IStorageItemContentProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -122,7 +122,7 @@ pub struct IStorageItemContentProperties_Vtbl { pub GetImagePropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDocumentPropertiesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageItemExtraProperties, IStorageItemExtraProperties_Vtbl, 0xc54361b2_54cd_432b_bdbc_4b19c4b470d7); +windows_core::imp::define_interface!(IStorageItemExtraProperties, IStorageItemExtraProperties_Vtbl, 0xc54361b2_54cd_432b_bdbc_4b19c4b470d7); windows_core::imp::interface_hierarchy!(IStorageItemExtraProperties, windows_core::IUnknown, windows_core::IInspectable); impl IStorageItemExtraProperties { #[cfg(feature = "Foundation_Collections")] @@ -171,7 +171,7 @@ pub struct IStorageItemExtraProperties_Vtbl { SavePropertiesAsync: usize, pub SavePropertiesAsyncOverloadDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IThumbnailProperties, IThumbnailProperties_Vtbl, 0x693dd42f_dbe7_49b5_b3b3_2893ac5d3423); +windows_core::imp::define_interface!(IThumbnailProperties, IThumbnailProperties_Vtbl, 0x693dd42f_dbe7_49b5_b3b3_2893ac5d3423); #[repr(C)] pub struct IThumbnailProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -180,7 +180,7 @@ pub struct IThumbnailProperties_Vtbl { pub ReturnedSmallerCachedSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ThumbnailType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoProperties, IVideoProperties_Vtbl, 0x719ae507_68de_4db8_97de_49998c059f2f); +windows_core::imp::define_interface!(IVideoProperties, IVideoProperties_Vtbl, 0x719ae507_68de_4db8_97de_49998c059f2f); #[repr(C)] pub struct IVideoProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 ce186fda6e..f431e45d11 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/Provider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IFileOpenPickerUI, IFileOpenPickerUI_Vtbl, 0xdda45a10_f9d4_40c4_8af5_c5b6b5a61d1d); +windows_core::imp::define_interface!(IFileOpenPickerUI, IFileOpenPickerUI_Vtbl, 0xdda45a10_f9d4_40c4_8af5_c5b6b5a61d1d); #[repr(C)] pub struct IFileOpenPickerUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct IFileOpenPickerUI_Vtbl { pub RemoveClosing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IFileRemovedEventArgs, IFileRemovedEventArgs_Vtbl, 0x13043da7_7fca_4c2b_9eca_6890f9f00185); +windows_core::imp::define_interface!(IFileRemovedEventArgs, IFileRemovedEventArgs_Vtbl, 0x13043da7_7fca_4c2b_9eca_6890f9f00185); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IFileRemovedEventArgs_Vtbl { @@ -36,7 +36,7 @@ pub struct IFileRemovedEventArgs_Vtbl { #[cfg(not(feature = "deprecated"))] Id: usize, } -windows_core::imp::com_interface!(IFileSavePickerUI, IFileSavePickerUI_Vtbl, 0x9656c1e7_3e56_43cc_8a39_33c73d9d542b); +windows_core::imp::define_interface!(IFileSavePickerUI, IFileSavePickerUI_Vtbl, 0x9656c1e7_3e56_43cc_8a39_33c73d9d542b); #[repr(C)] pub struct IFileSavePickerUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -54,27 +54,27 @@ pub struct IFileSavePickerUI_Vtbl { 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, pub RemoveTargetFileRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPickerClosingDeferral, IPickerClosingDeferral_Vtbl, 0x7af7f71e_1a67_4a31_ae80_e907708a619b); +windows_core::imp::define_interface!(IPickerClosingDeferral, IPickerClosingDeferral_Vtbl, 0x7af7f71e_1a67_4a31_ae80_e907708a619b); #[repr(C)] pub struct IPickerClosingDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPickerClosingEventArgs, IPickerClosingEventArgs_Vtbl, 0x7e59f224_b332_4f12_8b9f_a8c2f06b32cd); +windows_core::imp::define_interface!(IPickerClosingEventArgs, IPickerClosingEventArgs_Vtbl, 0x7e59f224_b332_4f12_8b9f_a8c2f06b32cd); #[repr(C)] pub struct IPickerClosingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ClosingOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsCanceled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPickerClosingOperation, IPickerClosingOperation_Vtbl, 0x4ce9fb84_beee_4e39_a773_fc5f0eae328d); +windows_core::imp::define_interface!(IPickerClosingOperation, IPickerClosingOperation_Vtbl, 0x4ce9fb84_beee_4e39_a773_fc5f0eae328d); #[repr(C)] pub struct IPickerClosingOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Deadline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetFileRequest, ITargetFileRequest_Vtbl, 0x42bd3355_7f88_478b_8e81_690b20340678); +windows_core::imp::define_interface!(ITargetFileRequest, ITargetFileRequest_Vtbl, 0x42bd3355_7f88_478b_8e81_690b20340678); #[repr(C)] pub struct ITargetFileRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -82,13 +82,13 @@ pub struct ITargetFileRequest_Vtbl { pub SetTargetFile: unsafe extern "system" fn(*mut core::ffi::c_void, *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::com_interface!(ITargetFileRequestDeferral, ITargetFileRequestDeferral_Vtbl, 0x4aee9d91_bf15_4da9_95f6_f6b7d558225b); +windows_core::imp::define_interface!(ITargetFileRequestDeferral, ITargetFileRequestDeferral_Vtbl, 0x4aee9d91_bf15_4da9_95f6_f6b7d558225b); #[repr(C)] pub struct ITargetFileRequestDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetFileRequestedEventArgs, ITargetFileRequestedEventArgs_Vtbl, 0xb163dbc1_1b51_4c89_a591_0fd40b3c57c9); +windows_core::imp::define_interface!(ITargetFileRequestedEventArgs, ITargetFileRequestedEventArgs_Vtbl, 0xb163dbc1_1b51_4c89_a591_0fd40b3c57c9); #[repr(C)] pub struct ITargetFileRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs index 154afab7b6..b9455f5b08 100644 --- a/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Pickers/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Storage_Pickers_Provider")] pub mod Provider; -windows_core::imp::com_interface!(IFileOpenPicker, IFileOpenPicker_Vtbl, 0x2ca8278a_12c5_4c5f_8977_94547793c241); +windows_core::imp::define_interface!(IFileOpenPicker, IFileOpenPicker_Vtbl, 0x2ca8278a_12c5_4c5f_8977_94547793c241); #[repr(C)] pub struct IFileOpenPicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -22,7 +22,7 @@ pub struct IFileOpenPicker_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PickMultipleFilesAsync: usize, } -windows_core::imp::com_interface!(IFileOpenPicker2, IFileOpenPicker2_Vtbl, 0x8ceb6cd2_b446_46f7_b265_90f8e55ad650); +windows_core::imp::define_interface!(IFileOpenPicker2, IFileOpenPicker2_Vtbl, 0x8ceb6cd2_b446_46f7_b265_90f8e55ad650); #[repr(C)] pub struct IFileOpenPicker2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -39,7 +39,7 @@ pub struct IFileOpenPicker2_Vtbl { #[cfg(not(feature = "deprecated"))] PickMultipleFilesAndContinue: usize, } -windows_core::imp::com_interface!(IFileOpenPicker3, IFileOpenPicker3_Vtbl, 0xd9a5c5b3_c5dc_5b98_bd80_a8d0ca0584d8); +windows_core::imp::define_interface!(IFileOpenPicker3, IFileOpenPicker3_Vtbl, 0xd9a5c5b3_c5dc_5b98_bd80_a8d0ca0584d8); #[repr(C)] pub struct IFileOpenPicker3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -48,7 +48,7 @@ pub struct IFileOpenPicker3_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IFileOpenPickerStatics, IFileOpenPickerStatics_Vtbl, 0x6821573b_2f02_4833_96d4_abbfad72b67b); +windows_core::imp::define_interface!(IFileOpenPickerStatics, IFileOpenPickerStatics_Vtbl, 0x6821573b_2f02_4833_96d4_abbfad72b67b); #[repr(C)] pub struct IFileOpenPickerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,7 +57,7 @@ pub struct IFileOpenPickerStatics_Vtbl { #[cfg(not(feature = "deprecated"))] ResumePickSingleFileAsync: usize, } -windows_core::imp::com_interface!(IFileOpenPickerStatics2, IFileOpenPickerStatics2_Vtbl, 0xe8917415_eddd_5c98_b6f3_366fdfcad392); +windows_core::imp::define_interface!(IFileOpenPickerStatics2, IFileOpenPickerStatics2_Vtbl, 0xe8917415_eddd_5c98_b6f3_366fdfcad392); #[repr(C)] pub struct IFileOpenPickerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -66,13 +66,13 @@ pub struct IFileOpenPickerStatics2_Vtbl { #[cfg(not(feature = "System"))] CreateForUser: usize, } -windows_core::imp::com_interface!(IFileOpenPickerWithOperationId, IFileOpenPickerWithOperationId_Vtbl, 0x3f57b569_2522_4ca5_aa73_a15509f1fcbf); +windows_core::imp::define_interface!(IFileOpenPickerWithOperationId, IFileOpenPickerWithOperationId_Vtbl, 0x3f57b569_2522_4ca5_aa73_a15509f1fcbf); #[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, } -windows_core::imp::com_interface!(IFileSavePicker, IFileSavePicker_Vtbl, 0x3286ffcb_617f_4cc5_af6a_b3fdf29ad145); +windows_core::imp::define_interface!(IFileSavePicker, IFileSavePicker_Vtbl, 0x3286ffcb_617f_4cc5_af6a_b3fdf29ad145); #[repr(C)] pub struct IFileSavePicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -94,7 +94,7 @@ pub struct IFileSavePicker_Vtbl { pub SetSuggestedFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IFileSavePicker2, IFileSavePicker2_Vtbl, 0x0ec313a2_d24b_449a_8197_e89104fd42cc); +windows_core::imp::define_interface!(IFileSavePicker2, IFileSavePicker2_Vtbl, 0x0ec313a2_d24b_449a_8197_e89104fd42cc); #[repr(C)] pub struct IFileSavePicker2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -107,14 +107,14 @@ pub struct IFileSavePicker2_Vtbl { #[cfg(not(feature = "deprecated"))] PickSaveFileAndContinue: usize, } -windows_core::imp::com_interface!(IFileSavePicker3, IFileSavePicker3_Vtbl, 0x698aec69_ba3c_4e51_bd90_4abcbbf4cfaf); +windows_core::imp::define_interface!(IFileSavePicker3, IFileSavePicker3_Vtbl, 0x698aec69_ba3c_4e51_bd90_4abcbbf4cfaf); #[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, } -windows_core::imp::com_interface!(IFileSavePicker4, IFileSavePicker4_Vtbl, 0xe7d83a5a_ddfa_5de0_8b70_c842c21988ec); +windows_core::imp::define_interface!(IFileSavePicker4, IFileSavePicker4_Vtbl, 0xe7d83a5a_ddfa_5de0_8b70_c842c21988ec); #[repr(C)] pub struct IFileSavePicker4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -123,7 +123,7 @@ pub struct IFileSavePicker4_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IFileSavePickerStatics, IFileSavePickerStatics_Vtbl, 0x28e3cf9e_961c_5e2c_aed7_e64737f4ce37); +windows_core::imp::define_interface!(IFileSavePickerStatics, IFileSavePickerStatics_Vtbl, 0x28e3cf9e_961c_5e2c_aed7_e64737f4ce37); #[repr(C)] pub struct IFileSavePickerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -132,7 +132,7 @@ pub struct IFileSavePickerStatics_Vtbl { #[cfg(not(feature = "System"))] CreateForUser: usize, } -windows_core::imp::com_interface!(IFolderPicker, IFolderPicker_Vtbl, 0x084f7799_f3fb_400a_99b1_7b4a772fd60d); +windows_core::imp::define_interface!(IFolderPicker, IFolderPicker_Vtbl, 0x084f7799_f3fb_400a_99b1_7b4a772fd60d); #[repr(C)] pub struct IFolderPicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -150,7 +150,7 @@ pub struct IFolderPicker_Vtbl { FileTypeFilter: usize, pub PickSingleFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFolderPicker2, IFolderPicker2_Vtbl, 0x8eb3ba97_dc85_4616_be94_9660881f2f5d); +windows_core::imp::define_interface!(IFolderPicker2, IFolderPicker2_Vtbl, 0x8eb3ba97_dc85_4616_be94_9660881f2f5d); #[repr(C)] pub struct IFolderPicker2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -163,7 +163,7 @@ pub struct IFolderPicker2_Vtbl { #[cfg(not(feature = "deprecated"))] PickFolderAndContinue: usize, } -windows_core::imp::com_interface!(IFolderPicker3, IFolderPicker3_Vtbl, 0x673b1e29_d326_53c0_bd24_a25c714cee36); +windows_core::imp::define_interface!(IFolderPicker3, IFolderPicker3_Vtbl, 0x673b1e29_d326_53c0_bd24_a25c714cee36); #[repr(C)] pub struct IFolderPicker3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -172,7 +172,7 @@ pub struct IFolderPicker3_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IFolderPickerStatics, IFolderPickerStatics_Vtbl, 0x9be34740_7ca1_5942_a3c8_46f2551ecff3); +windows_core::imp::define_interface!(IFolderPickerStatics, IFolderPickerStatics_Vtbl, 0x9be34740_7ca1_5942_a3c8_46f2551ecff3); #[repr(C)] pub struct IFolderPickerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs index a53da59f2b..8cd2fac7a9 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/mod.rs @@ -1,10 +1,10 @@ -windows_core::imp::com_interface!(ICachedFileUpdaterStatics, ICachedFileUpdaterStatics_Vtbl, 0x9fc90920_7bcf_4888_a81e_102d7034d7ce); +windows_core::imp::define_interface!(ICachedFileUpdaterStatics, ICachedFileUpdaterStatics_Vtbl, 0x9fc90920_7bcf_4888_a81e_102d7034d7ce); #[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, } -windows_core::imp::com_interface!(ICachedFileUpdaterUI, ICachedFileUpdaterUI_Vtbl, 0x9e6f41e6_baf2_4a97_b600_9333f5df80fd); +windows_core::imp::define_interface!(ICachedFileUpdaterUI, ICachedFileUpdaterUI_Vtbl, 0x9e6f41e6_baf2_4a97_b600_9333f5df80fd); #[repr(C)] pub struct ICachedFileUpdaterUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,14 +17,14 @@ pub struct ICachedFileUpdaterUI_Vtbl { pub RemoveUIRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub UIStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICachedFileUpdaterUI2, ICachedFileUpdaterUI2_Vtbl, 0x8856a21c_8699_4340_9f49_f7cad7fe8991); +windows_core::imp::define_interface!(ICachedFileUpdaterUI2, ICachedFileUpdaterUI2_Vtbl, 0x8856a21c_8699_4340_9f49_f7cad7fe8991); #[repr(C)] pub struct ICachedFileUpdaterUI2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UpdateRequest: unsafe extern "system" fn(*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::com_interface!(IFileUpdateRequest, IFileUpdateRequest_Vtbl, 0x40c82536_c1fe_4d93_a792_1e736bc70837); +windows_core::imp::define_interface!(IFileUpdateRequest, IFileUpdateRequest_Vtbl, 0x40c82536_c1fe_4d93_a792_1e736bc70837); #[repr(C)] pub struct IFileUpdateRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,39 +35,39 @@ pub struct IFileUpdateRequest_Vtbl { pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UpdateLocalFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileUpdateRequest2, IFileUpdateRequest2_Vtbl, 0x82484648_bdbe_447b_a2ee_7afe6a032a94); +windows_core::imp::define_interface!(IFileUpdateRequest2, IFileUpdateRequest2_Vtbl, 0x82484648_bdbe_447b_a2ee_7afe6a032a94); #[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, } -windows_core::imp::com_interface!(IFileUpdateRequestDeferral, IFileUpdateRequestDeferral_Vtbl, 0xffcedb2b_8ade_44a5_bb00_164c4e72f13a); +windows_core::imp::define_interface!(IFileUpdateRequestDeferral, IFileUpdateRequestDeferral_Vtbl, 0xffcedb2b_8ade_44a5_bb00_164c4e72f13a); #[repr(C)] pub struct IFileUpdateRequestDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileUpdateRequestedEventArgs, IFileUpdateRequestedEventArgs_Vtbl, 0x7b0a9342_3905_438d_aaef_78ae265f8dd2); +windows_core::imp::define_interface!(IFileUpdateRequestedEventArgs, IFileUpdateRequestedEventArgs_Vtbl, 0x7b0a9342_3905_438d_aaef_78ae265f8dd2); #[repr(C)] pub struct IFileUpdateRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderFileTypeInfo, IStorageProviderFileTypeInfo_Vtbl, 0x1955b9c1_0184_5a88_87df_4544f464365d); +windows_core::imp::define_interface!(IStorageProviderFileTypeInfo, IStorageProviderFileTypeInfo_Vtbl, 0x1955b9c1_0184_5a88_87df_4544f464365d); #[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, } -windows_core::imp::com_interface!(IStorageProviderFileTypeInfoFactory, IStorageProviderFileTypeInfoFactory_Vtbl, 0x3fa12c6f_cce6_5d5d_80b1_389e7cf92dbf); +windows_core::imp::define_interface!(IStorageProviderFileTypeInfoFactory, IStorageProviderFileTypeInfoFactory_Vtbl, 0x3fa12c6f_cce6_5d5d_80b1_389e7cf92dbf); #[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, } -windows_core::imp::com_interface!(IStorageProviderGetContentInfoForPathResult, IStorageProviderGetContentInfoForPathResult_Vtbl, 0x2564711d_aa89_4d12_82e3_f72a92e33966); +windows_core::imp::define_interface!(IStorageProviderGetContentInfoForPathResult, IStorageProviderGetContentInfoForPathResult_Vtbl, 0x2564711d_aa89_4d12_82e3_f72a92e33966); #[repr(C)] pub struct IStorageProviderGetContentInfoForPathResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -78,7 +78,7 @@ pub struct IStorageProviderGetContentInfoForPathResult_Vtbl { 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, } -windows_core::imp::com_interface!(IStorageProviderGetPathForContentUriResult, IStorageProviderGetPathForContentUriResult_Vtbl, 0x63711a9d_4118_45a6_acb6_22c49d019f40); +windows_core::imp::define_interface!(IStorageProviderGetPathForContentUriResult, IStorageProviderGetPathForContentUriResult_Vtbl, 0x63711a9d_4118_45a6_acb6_22c49d019f40); #[repr(C)] pub struct IStorageProviderGetPathForContentUriResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -87,7 +87,7 @@ pub struct IStorageProviderGetPathForContentUriResult_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, } -windows_core::imp::com_interface!(IStorageProviderItemPropertiesStatics, IStorageProviderItemPropertiesStatics_Vtbl, 0x2d2c1c97_2704_4729_8fa9_7e6b8e158c2f); +windows_core::imp::define_interface!(IStorageProviderItemPropertiesStatics, IStorageProviderItemPropertiesStatics_Vtbl, 0x2d2c1c97_2704_4729_8fa9_7e6b8e158c2f); #[repr(C)] pub struct IStorageProviderItemPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -96,7 +96,7 @@ pub struct IStorageProviderItemPropertiesStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetAsync: usize, } -windows_core::imp::com_interface!(IStorageProviderItemProperty, IStorageProviderItemProperty_Vtbl, 0x476cb558_730b_4188_b7b5_63b716ed476d); +windows_core::imp::define_interface!(IStorageProviderItemProperty, IStorageProviderItemProperty_Vtbl, 0x476cb558_730b_4188_b7b5_63b716ed476d); #[repr(C)] pub struct IStorageProviderItemProperty_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -107,7 +107,7 @@ pub struct IStorageProviderItemProperty_Vtbl { 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, } -windows_core::imp::com_interface!(IStorageProviderItemPropertyDefinition, IStorageProviderItemPropertyDefinition_Vtbl, 0xc5b383bb_ff1f_4298_831e_ff1c08089690); +windows_core::imp::define_interface!(IStorageProviderItemPropertyDefinition, IStorageProviderItemPropertyDefinition_Vtbl, 0xc5b383bb_ff1f_4298_831e_ff1c08089690); #[repr(C)] pub struct IStorageProviderItemPropertyDefinition_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -116,7 +116,7 @@ pub struct IStorageProviderItemPropertyDefinition_Vtbl { 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, } -windows_core::imp::com_interface!(IStorageProviderItemPropertySource, IStorageProviderItemPropertySource_Vtbl, 0x8f6f9c3e_f632_4a9b_8d99_d2d7a11df56a); +windows_core::imp::define_interface!(IStorageProviderItemPropertySource, IStorageProviderItemPropertySource_Vtbl, 0x8f6f9c3e_f632_4a9b_8d99_d2d7a11df56a); windows_core::imp::interface_hierarchy!(IStorageProviderItemPropertySource, windows_core::IUnknown, windows_core::IInspectable); impl IStorageProviderItemPropertySource { #[cfg(feature = "Foundation_Collections")] @@ -139,7 +139,7 @@ pub struct IStorageProviderItemPropertySource_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetItemProperties: usize, } -windows_core::imp::com_interface!(IStorageProviderKnownFolderEntry, IStorageProviderKnownFolderEntry_Vtbl, 0xeffa7db0_1d44_596b_8464_928800c5e2d8); +windows_core::imp::define_interface!(IStorageProviderKnownFolderEntry, IStorageProviderKnownFolderEntry_Vtbl, 0xeffa7db0_1d44_596b_8464_928800c5e2d8); #[repr(C)] pub struct IStorageProviderKnownFolderEntry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -148,7 +148,7 @@ pub struct IStorageProviderKnownFolderEntry_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut StorageProviderKnownFolderSyncStatus) -> windows_core::HRESULT, pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, StorageProviderKnownFolderSyncStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderKnownFolderSyncInfo, IStorageProviderKnownFolderSyncInfo_Vtbl, 0x98b017ce_ffc1_5b11_ae77_cc17afec1049); +windows_core::imp::define_interface!(IStorageProviderKnownFolderSyncInfo, IStorageProviderKnownFolderSyncInfo_Vtbl, 0x98b017ce_ffc1_5b11_ae77_cc17afec1049); #[repr(C)] pub struct IStorageProviderKnownFolderSyncInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -161,7 +161,7 @@ pub struct IStorageProviderKnownFolderSyncInfo_Vtbl { pub SyncRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSyncRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderKnownFolderSyncInfoSource, IStorageProviderKnownFolderSyncInfoSource_Vtbl, 0x51359342_f7c0_53d0_bbb6_1cdc098ebda9); +windows_core::imp::define_interface!(IStorageProviderKnownFolderSyncInfoSource, IStorageProviderKnownFolderSyncInfoSource_Vtbl, 0x51359342_f7c0_53d0_bbb6_1cdc098ebda9); windows_core::imp::interface_hierarchy!(IStorageProviderKnownFolderSyncInfoSource, windows_core::IUnknown, windows_core::IInspectable); impl IStorageProviderKnownFolderSyncInfoSource { pub fn GetKnownFolderSyncInfo(&self) -> windows_core::Result { @@ -196,7 +196,7 @@ pub struct IStorageProviderKnownFolderSyncInfoSource_Vtbl { pub KnownFolderSyncInfoChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveKnownFolderSyncInfoChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderKnownFolderSyncInfoSourceFactory, IStorageProviderKnownFolderSyncInfoSourceFactory_Vtbl, 0xaaee03a7_a7f6_50be_a9b0_8e82d0c81082); +windows_core::imp::define_interface!(IStorageProviderKnownFolderSyncInfoSourceFactory, IStorageProviderKnownFolderSyncInfoSourceFactory_Vtbl, 0xaaee03a7_a7f6_50be_a9b0_8e82d0c81082); windows_core::imp::interface_hierarchy!(IStorageProviderKnownFolderSyncInfoSourceFactory, windows_core::IUnknown, windows_core::IInspectable); impl IStorageProviderKnownFolderSyncInfoSourceFactory { pub fn GetKnownFolderSyncInfoSource(&self) -> windows_core::Result { @@ -215,7 +215,7 @@ pub struct IStorageProviderKnownFolderSyncInfoSourceFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetKnownFolderSyncInfoSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderKnownFolderSyncRequestArgs, IStorageProviderKnownFolderSyncRequestArgs_Vtbl, 0xeda6d569_b4e8_542f_ab8d_f3613f250a4a); +windows_core::imp::define_interface!(IStorageProviderKnownFolderSyncRequestArgs, IStorageProviderKnownFolderSyncRequestArgs_Vtbl, 0xeda6d569_b4e8_542f_ab8d_f3613f250a4a); #[repr(C)] pub struct IStorageProviderKnownFolderSyncRequestArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -225,7 +225,7 @@ pub struct IStorageProviderKnownFolderSyncRequestArgs_Vtbl { KnownFolders: usize, pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderMoreInfoUI, IStorageProviderMoreInfoUI_Vtbl, 0xef38e591_a7cb_5e7d_9b5e_22749842697c); +windows_core::imp::define_interface!(IStorageProviderMoreInfoUI, IStorageProviderMoreInfoUI_Vtbl, 0xef38e591_a7cb_5e7d_9b5e_22749842697c); #[repr(C)] pub struct IStorageProviderMoreInfoUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -234,7 +234,7 @@ pub struct IStorageProviderMoreInfoUI_Vtbl { 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, } -windows_core::imp::com_interface!(IStorageProviderPropertyCapabilities, IStorageProviderPropertyCapabilities_Vtbl, 0x658d2f0e_63b7_4567_acf9_51abe301dda5); +windows_core::imp::define_interface!(IStorageProviderPropertyCapabilities, IStorageProviderPropertyCapabilities_Vtbl, 0x658d2f0e_63b7_4567_acf9_51abe301dda5); windows_core::imp::interface_hierarchy!(IStorageProviderPropertyCapabilities, windows_core::IUnknown, windows_core::IInspectable); impl IStorageProviderPropertyCapabilities { pub fn IsPropertySupported(&self, propertycanonicalname: &windows_core::HSTRING) -> windows_core::Result { @@ -253,7 +253,7 @@ 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, } -windows_core::imp::com_interface!(IStorageProviderQuotaUI, IStorageProviderQuotaUI_Vtbl, 0xba6295c3_312e_544f_9fd5_1f81b21f3649); +windows_core::imp::define_interface!(IStorageProviderQuotaUI, IStorageProviderQuotaUI_Vtbl, 0xba6295c3_312e_544f_9fd5_1f81b21f3649); #[repr(C)] pub struct IStorageProviderQuotaUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -272,7 +272,7 @@ pub struct IStorageProviderQuotaUI_Vtbl { #[cfg(not(feature = "UI"))] SetQuotaUsedColor: usize, } -windows_core::imp::com_interface!(IStorageProviderStatusUI, IStorageProviderStatusUI_Vtbl, 0xd6b6a758_198d_5b80_977f_5ff73da33118); +windows_core::imp::define_interface!(IStorageProviderStatusUI, IStorageProviderStatusUI_Vtbl, 0xd6b6a758_198d_5b80_977f_5ff73da33118); #[repr(C)] pub struct IStorageProviderStatusUI_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -299,7 +299,7 @@ pub struct IStorageProviderStatusUI_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetProviderSecondaryCommands: usize, } -windows_core::imp::com_interface!(IStorageProviderStatusUISource, IStorageProviderStatusUISource_Vtbl, 0xa306c249_3d66_5e70_9007_e43df96051ff); +windows_core::imp::define_interface!(IStorageProviderStatusUISource, IStorageProviderStatusUISource_Vtbl, 0xa306c249_3d66_5e70_9007_e43df96051ff); windows_core::imp::interface_hierarchy!(IStorageProviderStatusUISource, windows_core::IUnknown, windows_core::IInspectable); impl IStorageProviderStatusUISource { pub fn GetStatusUI(&self) -> windows_core::Result { @@ -334,7 +334,7 @@ pub struct IStorageProviderStatusUISource_Vtbl { pub StatusUIChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStatusUIChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderStatusUISourceFactory, IStorageProviderStatusUISourceFactory_Vtbl, 0x12e46b74_4e5a_58d1_a62f_0376e8ee7dd8); +windows_core::imp::define_interface!(IStorageProviderStatusUISourceFactory, IStorageProviderStatusUISourceFactory_Vtbl, 0x12e46b74_4e5a_58d1_a62f_0376e8ee7dd8); windows_core::imp::interface_hierarchy!(IStorageProviderStatusUISourceFactory, windows_core::IUnknown, windows_core::IInspectable); impl IStorageProviderStatusUISourceFactory { pub fn GetStatusUISource(&self, syncrootid: &windows_core::HSTRING) -> windows_core::Result { @@ -353,7 +353,7 @@ 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, } -windows_core::imp::com_interface!(IStorageProviderSyncRootInfo, IStorageProviderSyncRootInfo_Vtbl, 0x7c1305c4_99f9_41ac_8904_ab055d654926); +windows_core::imp::define_interface!(IStorageProviderSyncRootInfo, IStorageProviderSyncRootInfo_Vtbl, 0x7c1305c4_99f9_41ac_8904_ab055d654926); #[repr(C)] pub struct IStorageProviderSyncRootInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -398,14 +398,14 @@ pub struct IStorageProviderSyncRootInfo_Vtbl { pub RecycleBinUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRecycleBinUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderSyncRootInfo2, IStorageProviderSyncRootInfo2_Vtbl, 0xcf51b023_7cf1_5166_bdba_efd95f529e31); +windows_core::imp::define_interface!(IStorageProviderSyncRootInfo2, IStorageProviderSyncRootInfo2_Vtbl, 0xcf51b023_7cf1_5166_bdba_efd95f529e31); #[repr(C)] pub struct IStorageProviderSyncRootInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub SetProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderSyncRootInfo3, IStorageProviderSyncRootInfo3_Vtbl, 0x507a6617_bef6_56fd_855e_75ace2e45cf5); +windows_core::imp::define_interface!(IStorageProviderSyncRootInfo3, IStorageProviderSyncRootInfo3_Vtbl, 0x507a6617_bef6_56fd_855e_75ace2e45cf5); #[repr(C)] pub struct IStorageProviderSyncRootInfo3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -414,7 +414,7 @@ pub struct IStorageProviderSyncRootInfo3_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FallbackFileTypeInfo: usize, } -windows_core::imp::com_interface!(IStorageProviderSyncRootManagerStatics, IStorageProviderSyncRootManagerStatics_Vtbl, 0x3e99fbbf_8fe3_4b40_abc7_f6fc3d74c98e); +windows_core::imp::define_interface!(IStorageProviderSyncRootManagerStatics, IStorageProviderSyncRootManagerStatics_Vtbl, 0x3e99fbbf_8fe3_4b40_abc7_f6fc3d74c98e); #[repr(C)] pub struct IStorageProviderSyncRootManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -427,13 +427,13 @@ pub struct IStorageProviderSyncRootManagerStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetCurrentSyncRoots: usize, } -windows_core::imp::com_interface!(IStorageProviderSyncRootManagerStatics2, IStorageProviderSyncRootManagerStatics2_Vtbl, 0xefb6cfee_1374_544e_9df1_5598d2e9cfdd); +windows_core::imp::define_interface!(IStorageProviderSyncRootManagerStatics2, IStorageProviderSyncRootManagerStatics2_Vtbl, 0xefb6cfee_1374_544e_9df1_5598d2e9cfdd); #[repr(C)] pub struct IStorageProviderSyncRootManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderUICommand, IStorageProviderUICommand_Vtbl, 0x0c3e0760_d846_568f_9484_105cc57b502b); +windows_core::imp::define_interface!(IStorageProviderUICommand, IStorageProviderUICommand_Vtbl, 0x0c3e0760_d846_568f_9484_105cc57b502b); windows_core::imp::interface_hierarchy!(IStorageProviderUICommand, windows_core::IUnknown, windows_core::IInspectable); impl IStorageProviderUICommand { pub fn Label(&self) -> windows_core::Result { @@ -481,7 +481,7 @@ pub struct IStorageProviderUICommand_Vtbl { 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, } -windows_core::imp::com_interface!(IStorageProviderUriSource, IStorageProviderUriSource_Vtbl, 0xb29806d1_8be0_4962_8bb6_0d4c2e14d47a); +windows_core::imp::define_interface!(IStorageProviderUriSource, IStorageProviderUriSource_Vtbl, 0xb29806d1_8be0_4962_8bb6_0d4c2e14d47a); windows_core::imp::interface_hierarchy!(IStorageProviderUriSource, windows_core::IUnknown, windows_core::IInspectable); impl IStorageProviderUriSource { pub fn GetPathForContentUri(&self, contenturi: &windows_core::HSTRING, result: P0) -> windows_core::Result<()> @@ -2119,7 +2119,7 @@ impl core::fmt::Debug for WriteActivationMode { impl windows_core::RuntimeType for WriteActivationMode { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.Provider.WriteActivationMode;i4)"); } -windows_core::imp::com_interface!(StorageProviderKnownFolderSyncRequestedHandler, StorageProviderKnownFolderSyncRequestedHandler_Vtbl, 0xc4cbb4f5_13dd_5c8e_8b96_336fc30c629b); +windows_core::imp::define_interface!(StorageProviderKnownFolderSyncRequestedHandler, StorageProviderKnownFolderSyncRequestedHandler_Vtbl, 0xc4cbb4f5_13dd_5c8e_8b96_336fc30c629b); impl StorageProviderKnownFolderSyncRequestedHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = StorageProviderKnownFolderSyncRequestedHandlerBox:: { vtable: &StorageProviderKnownFolderSyncRequestedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/Storage/Search/mod.rs b/crates/libs/windows/src/Windows/Storage/Search/mod.rs index bee3e11016..de314479a3 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IContentIndexer, IContentIndexer_Vtbl, 0xb1767f8d_f698_4982_b05f_3a6e8cab01a2); +windows_core::imp::define_interface!(IContentIndexer, IContentIndexer_Vtbl, 0xb1767f8d_f698_4982_b05f_3a6e8cab01a2); #[repr(C)] pub struct IContentIndexer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,7 +16,7 @@ pub struct IContentIndexer_Vtbl { RetrievePropertiesAsync: usize, pub Revision: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContentIndexerQuery, IContentIndexerQuery_Vtbl, 0x70e3b0f8_4bfc_428a_8889_cc51da9a7b9d); +windows_core::imp::define_interface!(IContentIndexerQuery, IContentIndexerQuery_Vtbl, 0x70e3b0f8_4bfc_428a_8889_cc51da9a7b9d); #[repr(C)] pub struct IContentIndexerQuery_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -39,7 +39,7 @@ pub struct IContentIndexerQuery_Vtbl { GetRangeAsync: usize, pub QueryFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContentIndexerQueryOperations, IContentIndexerQueryOperations_Vtbl, 0x28823e10_4786_42f1_9730_792b3566b150); +windows_core::imp::define_interface!(IContentIndexerQueryOperations, IContentIndexerQueryOperations_Vtbl, 0x28823e10_4786_42f1_9730_792b3566b150); #[repr(C)] pub struct IContentIndexerQueryOperations_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,14 +56,14 @@ pub struct IContentIndexerQueryOperations_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateQuery: usize, } -windows_core::imp::com_interface!(IContentIndexerStatics, IContentIndexerStatics_Vtbl, 0x8c488375_b37e_4c60_9ba8_b760fda3e59d); +windows_core::imp::define_interface!(IContentIndexerStatics, IContentIndexerStatics_Vtbl, 0x8c488375_b37e_4c60_9ba8_b760fda3e59d); #[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 GetIndexer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIndexableContent, IIndexableContent_Vtbl, 0xccf1a05f_d4b5_483a_b06e_e0db1ec420e4); +windows_core::imp::define_interface!(IIndexableContent, IIndexableContent_Vtbl, 0xccf1a05f_d4b5_483a_b06e_e0db1ec420e4); windows_core::imp::interface_hierarchy!(IIndexableContent, windows_core::IUnknown, windows_core::IInspectable); impl IIndexableContent { pub fn Id(&self) -> windows_core::Result { @@ -136,7 +136,7 @@ pub struct IIndexableContent_Vtbl { 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, } -windows_core::imp::com_interface!(IQueryOptions, IQueryOptions_Vtbl, 0x1e5e46ee_0f45_4838_a8e9_d0479d446c30); +windows_core::imp::define_interface!(IQueryOptions, IQueryOptions_Vtbl, 0x1e5e46ee_0f45_4838_a8e9_d0479d446c30); #[repr(C)] pub struct IQueryOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -171,7 +171,7 @@ pub struct IQueryOptions_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage_FileProperties")))] SetPropertyPrefetch: usize, } -windows_core::imp::com_interface!(IQueryOptionsFactory, IQueryOptionsFactory_Vtbl, 0x032e1f8c_a9c1_4e71_8011_0dee9d4811a3); +windows_core::imp::define_interface!(IQueryOptionsFactory, IQueryOptionsFactory_Vtbl, 0x032e1f8c_a9c1_4e71_8011_0dee9d4811a3); #[repr(C)] pub struct IQueryOptionsFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -181,7 +181,7 @@ pub struct IQueryOptionsFactory_Vtbl { CreateCommonFileQuery: usize, pub CreateCommonFolderQuery: unsafe extern "system" fn(*mut core::ffi::c_void, CommonFolderQuery, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQueryOptionsWithProviderFilter, IQueryOptionsWithProviderFilter_Vtbl, 0x5b9d1026_15c4_44dd_b89a_47a59b7d7c4f); +windows_core::imp::define_interface!(IQueryOptionsWithProviderFilter, IQueryOptionsWithProviderFilter_Vtbl, 0x5b9d1026_15c4_44dd_b89a_47a59b7d7c4f); #[repr(C)] pub struct IQueryOptionsWithProviderFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -190,7 +190,7 @@ pub struct IQueryOptionsWithProviderFilter_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] StorageProviderIdFilter: usize, } -windows_core::imp::com_interface!(IStorageFileQueryResult, IStorageFileQueryResult_Vtbl, 0x52fda447_2baa_412c_b29f_d4b1778efa1e); +windows_core::imp::define_interface!(IStorageFileQueryResult, IStorageFileQueryResult_Vtbl, 0x52fda447_2baa_412c_b29f_d4b1778efa1e); #[repr(C)] pub struct IStorageFileQueryResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -203,7 +203,7 @@ pub struct IStorageFileQueryResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetFilesAsyncDefaultStartAndCount: usize, } -windows_core::imp::com_interface!(IStorageFileQueryResult2, IStorageFileQueryResult2_Vtbl, 0x4e5db9dd_7141_46c4_8be3_e9dc9e27275c); +windows_core::imp::define_interface!(IStorageFileQueryResult2, IStorageFileQueryResult2_Vtbl, 0x4e5db9dd_7141_46c4_8be3_e9dc9e27275c); #[repr(C)] pub struct IStorageFileQueryResult2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -212,7 +212,7 @@ pub struct IStorageFileQueryResult2_Vtbl { #[cfg(not(all(feature = "Data_Text", feature = "Foundation_Collections")))] GetMatchingPropertiesWithRanges: usize, } -windows_core::imp::com_interface!(IStorageFolderQueryOperations, IStorageFolderQueryOperations_Vtbl, 0xcb43ccc9_446b_4a4f_be97_757771be5203); +windows_core::imp::define_interface!(IStorageFolderQueryOperations, IStorageFolderQueryOperations_Vtbl, 0xcb43ccc9_446b_4a4f_be97_757771be5203); windows_core::imp::interface_hierarchy!(IStorageFolderQueryOperations, windows_core::IUnknown, windows_core::IInspectable); impl IStorageFolderQueryOperations { pub fn GetIndexedStateAsync(&self) -> windows_core::Result> { @@ -391,7 +391,7 @@ pub struct IStorageFolderQueryOperations_Vtbl { pub IsCommonFolderQuerySupported: unsafe extern "system" fn(*mut core::ffi::c_void, CommonFolderQuery, *mut bool) -> windows_core::HRESULT, pub IsCommonFileQuerySupported: unsafe extern "system" fn(*mut core::ffi::c_void, CommonFileQuery, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageFolderQueryResult, IStorageFolderQueryResult_Vtbl, 0x6654c911_7d66_46fa_aecf_e4a4baa93ab8); +windows_core::imp::define_interface!(IStorageFolderQueryResult, IStorageFolderQueryResult_Vtbl, 0x6654c911_7d66_46fa_aecf_e4a4baa93ab8); #[repr(C)] pub struct IStorageFolderQueryResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -404,7 +404,7 @@ pub struct IStorageFolderQueryResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetFoldersAsyncDefaultStartAndCount: usize, } -windows_core::imp::com_interface!(IStorageItemQueryResult, IStorageItemQueryResult_Vtbl, 0xe8948079_9d58_47b8_b2b2_41b07f4795f9); +windows_core::imp::define_interface!(IStorageItemQueryResult, IStorageItemQueryResult_Vtbl, 0xe8948079_9d58_47b8_b2b2_41b07f4795f9); #[repr(C)] pub struct IStorageItemQueryResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -417,21 +417,21 @@ pub struct IStorageItemQueryResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsyncDefaultStartAndCount: usize, } -windows_core::imp::com_interface!(IStorageLibraryChangeTrackerTriggerDetails, IStorageLibraryChangeTrackerTriggerDetails_Vtbl, 0x1dc7a369_b7a3_4df2_9d61_eba85a0343d2); +windows_core::imp::define_interface!(IStorageLibraryChangeTrackerTriggerDetails, IStorageLibraryChangeTrackerTriggerDetails_Vtbl, 0x1dc7a369_b7a3_4df2_9d61_eba85a0343d2); #[repr(C)] pub struct IStorageLibraryChangeTrackerTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Folder: 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, } -windows_core::imp::com_interface!(IStorageLibraryContentChangedTriggerDetails, IStorageLibraryContentChangedTriggerDetails_Vtbl, 0x2a371977_abbf_4e1d_8aa5_6385d8884799); +windows_core::imp::define_interface!(IStorageLibraryContentChangedTriggerDetails, IStorageLibraryContentChangedTriggerDetails_Vtbl, 0x2a371977_abbf_4e1d_8aa5_6385d8884799); #[repr(C)] pub struct IStorageLibraryContentChangedTriggerDetails_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Folder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateModifiedSinceQuery: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::DateTime, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageQueryResultBase, IStorageQueryResultBase_Vtbl, 0xc297d70d_7353_47ab_ba58_8c61425dc54b); +windows_core::imp::define_interface!(IStorageQueryResultBase, IStorageQueryResultBase_Vtbl, 0xc297d70d_7353_47ab_ba58_8c61425dc54b); windows_core::imp::interface_hierarchy!(IStorageQueryResultBase, windows_core::IUnknown, windows_core::IInspectable); impl IStorageQueryResultBase { pub fn GetItemCountAsync(&self) -> windows_core::Result> { @@ -517,7 +517,7 @@ pub struct IStorageQueryResultBase_Vtbl { pub GetCurrentQueryOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ApplyNewQueryOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IValueAndLanguage, IValueAndLanguage_Vtbl, 0xb9914881_a1ee_4bc4_92a5_466968e30436); +windows_core::imp::define_interface!(IValueAndLanguage, IValueAndLanguage_Vtbl, 0xb9914881_a1ee_4bc4_92a5_466968e30436); #[repr(C)] pub struct IValueAndLanguage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs index 973921670a..2d9c778672 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IBuffer, IBuffer_Vtbl, 0x905a0fe0_bc53_11df_8c49_001e4fc686da); +windows_core::imp::define_interface!(IBuffer, IBuffer_Vtbl, 0x905a0fe0_bc53_11df_8c49_001e4fc686da); windows_core::imp::interface_hierarchy!(IBuffer, windows_core::IUnknown, windows_core::IInspectable); impl IBuffer { pub fn Capacity(&self) -> windows_core::Result { @@ -30,20 +30,20 @@ pub struct IBuffer_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, } -windows_core::imp::com_interface!(IBufferFactory, IBufferFactory_Vtbl, 0x71af914d_c10f_484b_bc50_14bc623b3a27); +windows_core::imp::define_interface!(IBufferFactory, IBufferFactory_Vtbl, 0x71af914d_c10f_484b_bc50_14bc623b3a27); #[repr(C)] pub struct IBufferFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBufferStatics, IBufferStatics_Vtbl, 0xe901e65b_d716_475a_a90a_af7229b1e741); +windows_core::imp::define_interface!(IBufferStatics, IBufferStatics_Vtbl, 0xe901e65b_d716_475a_a90a_af7229b1e741); #[repr(C)] pub struct IBufferStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateCopyFromMemoryBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateMemoryBufferOverIBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContentTypeProvider, IContentTypeProvider_Vtbl, 0x97d098a5_3b99_4de9_88a5_e11d2f50c795); +windows_core::imp::define_interface!(IContentTypeProvider, IContentTypeProvider_Vtbl, 0x97d098a5_3b99_4de9_88a5_e11d2f50c795); windows_core::imp::interface_hierarchy!(IContentTypeProvider, windows_core::IUnknown, windows_core::IInspectable); impl IContentTypeProvider { pub fn ContentType(&self) -> windows_core::Result { @@ -62,7 +62,7 @@ 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, } -windows_core::imp::com_interface!(IDataReader, IDataReader_Vtbl, 0xe2b50029_b4c1_4314_a4b8_fb813a2f275e); +windows_core::imp::define_interface!(IDataReader, IDataReader_Vtbl, 0xe2b50029_b4c1_4314_a4b8_fb813a2f275e); windows_core::imp::interface_hierarchy!(IDataReader, windows_core::IUnknown, windows_core::IInspectable); impl IDataReader { pub fn UnconsumedBufferLength(&self) -> windows_core::Result { @@ -269,19 +269,19 @@ pub struct IDataReader_Vtbl { pub DetachBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DetachStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataReaderFactory, IDataReaderFactory_Vtbl, 0xd7527847_57da_4e15_914c_06806699a098); +windows_core::imp::define_interface!(IDataReaderFactory, IDataReaderFactory_Vtbl, 0xd7527847_57da_4e15_914c_06806699a098); #[repr(C)] pub struct IDataReaderFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateDataReader: 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::com_interface!(IDataReaderStatics, IDataReaderStatics_Vtbl, 0x11fcbfc8_f93a_471b_b121_f379e349313c); +windows_core::imp::define_interface!(IDataReaderStatics, IDataReaderStatics_Vtbl, 0x11fcbfc8_f93a_471b_b121_f379e349313c); #[repr(C)] pub struct IDataReaderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataWriter, IDataWriter_Vtbl, 0x64b89265_d341_4922_b38a_dd4af8808c4e); +windows_core::imp::define_interface!(IDataWriter, IDataWriter_Vtbl, 0x64b89265_d341_4922_b38a_dd4af8808c4e); windows_core::imp::interface_hierarchy!(IDataWriter, windows_core::IUnknown, windows_core::IInspectable); impl IDataWriter { pub fn UnstoredBufferLength(&self) -> windows_core::Result { @@ -460,13 +460,13 @@ pub struct IDataWriter_Vtbl { pub DetachBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DetachStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataWriterFactory, IDataWriterFactory_Vtbl, 0x338c67c2_8b84_4c2b_9c50_7b8767847a1f); +windows_core::imp::define_interface!(IDataWriterFactory, IDataWriterFactory_Vtbl, 0x338c67c2_8b84_4c2b_9c50_7b8767847a1f); #[repr(C)] pub struct IDataWriterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateDataWriter: 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::com_interface!(IFileRandomAccessStreamStatics, IFileRandomAccessStreamStatics_Vtbl, 0x73550107_3b57_4b5d_8345_554d2fc621f0); +windows_core::imp::define_interface!(IFileRandomAccessStreamStatics, IFileRandomAccessStreamStatics_Vtbl, 0x73550107_3b57_4b5d_8345_554d2fc621f0); #[repr(C)] pub struct IFileRandomAccessStreamStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -491,7 +491,7 @@ pub struct IFileRandomAccessStreamStatics_Vtbl { #[cfg(not(feature = "System"))] OpenTransactedWriteForUserWithOptionsAsync: usize, } -windows_core::imp::com_interface!(IInputStream, IInputStream_Vtbl, 0x905a0fe2_bc53_11df_8c49_001e4fc686da); +windows_core::imp::define_interface!(IInputStream, IInputStream_Vtbl, 0x905a0fe2_bc53_11df_8c49_001e4fc686da); windows_core::imp::interface_hierarchy!(IInputStream, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IInputStream, super::super::Foundation::IClosable); impl IInputStream { @@ -518,7 +518,7 @@ pub struct IInputStream_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, InputStreamOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputStreamReference, IInputStreamReference_Vtbl, 0x43929d18_5ec9_4b5a_919c_4205b0c804b6); +windows_core::imp::define_interface!(IInputStreamReference, IInputStreamReference_Vtbl, 0x43929d18_5ec9_4b5a_919c_4205b0c804b6); windows_core::imp::interface_hierarchy!(IInputStreamReference, windows_core::IUnknown, windows_core::IInspectable); impl IInputStreamReference { pub fn OpenSequentialReadAsync(&self) -> windows_core::Result> { @@ -537,7 +537,7 @@ pub struct IInputStreamReference_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OpenSequentialReadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOutputStream, IOutputStream_Vtbl, 0x905a0fe6_bc53_11df_8c49_001e4fc686da); +windows_core::imp::define_interface!(IOutputStream, IOutputStream_Vtbl, 0x905a0fe6_bc53_11df_8c49_001e4fc686da); windows_core::imp::interface_hierarchy!(IOutputStream, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IOutputStream, super::super::Foundation::IClosable); impl IOutputStream { @@ -572,7 +572,7 @@ pub struct IOutputStream_Vtbl { pub WriteAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IPropertySetSerializer, IPropertySetSerializer_Vtbl, 0x6e8ebf1c_ef3d_4376_b20e_5be638aeac77); +windows_core::imp::define_interface!(IPropertySetSerializer, IPropertySetSerializer_Vtbl, 0x6e8ebf1c_ef3d_4376_b20e_5be638aeac77); windows_core::imp::interface_hierarchy!(IPropertySetSerializer, windows_core::IUnknown, windows_core::IInspectable); impl IPropertySetSerializer { #[cfg(feature = "Foundation_Collections")] @@ -611,7 +611,7 @@ pub struct IPropertySetSerializer_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Deserialize: usize, } -windows_core::imp::com_interface!(IRandomAccessStream, IRandomAccessStream_Vtbl, 0x905a0fe1_bc53_11df_8c49_001e4fc686da); +windows_core::imp::define_interface!(IRandomAccessStream, IRandomAccessStream_Vtbl, 0x905a0fe1_bc53_11df_8c49_001e4fc686da); windows_core::imp::interface_hierarchy!(IRandomAccessStream, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IRandomAccessStream, super::super::Foundation::IClosable, IInputStream, IOutputStream); impl IRandomAccessStream { @@ -720,7 +720,7 @@ pub struct IRandomAccessStream_Vtbl { pub CanRead: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub CanWrite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRandomAccessStreamReference, IRandomAccessStreamReference_Vtbl, 0x33ee3134_1dd6_4e3a_8067_d1c162e8642b); +windows_core::imp::define_interface!(IRandomAccessStreamReference, IRandomAccessStreamReference_Vtbl, 0x33ee3134_1dd6_4e3a_8067_d1c162e8642b); windows_core::imp::interface_hierarchy!(IRandomAccessStreamReference, windows_core::IUnknown, windows_core::IInspectable); impl IRandomAccessStreamReference { pub fn OpenReadAsync(&self) -> windows_core::Result> { @@ -739,7 +739,7 @@ pub struct IRandomAccessStreamReference_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OpenReadAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRandomAccessStreamReferenceStatics, IRandomAccessStreamReferenceStatics_Vtbl, 0x857309dc_3fbf_4e7d_986f_ef3b1a07a964); +windows_core::imp::define_interface!(IRandomAccessStreamReferenceStatics, IRandomAccessStreamReferenceStatics_Vtbl, 0x857309dc_3fbf_4e7d_986f_ef3b1a07a964); #[repr(C)] pub struct IRandomAccessStreamReferenceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -747,7 +747,7 @@ pub struct IRandomAccessStreamReferenceStatics_Vtbl { 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, pub CreateFromStream: 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::com_interface!(IRandomAccessStreamStatics, IRandomAccessStreamStatics_Vtbl, 0x524cedcf_6e29_4ce5_9573_6b753db66c3a); +windows_core::imp::define_interface!(IRandomAccessStreamStatics, IRandomAccessStreamStatics_Vtbl, 0x524cedcf_6e29_4ce5_9573_6b753db66c3a); #[repr(C)] pub struct IRandomAccessStreamStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -755,7 +755,7 @@ pub struct IRandomAccessStreamStatics_Vtbl { pub CopySizeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CopyAndCloseAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRandomAccessStreamWithContentType, IRandomAccessStreamWithContentType_Vtbl, 0xcc254827_4b3d_438f_9232_10c76bc7e038); +windows_core::imp::define_interface!(IRandomAccessStreamWithContentType, IRandomAccessStreamWithContentType_Vtbl, 0xcc254827_4b3d_438f_9232_10c76bc7e038); windows_core::imp::interface_hierarchy!(IRandomAccessStreamWithContentType, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IRandomAccessStreamWithContentType, super::super::Foundation::IClosable, IContentTypeProvider, IInputStream, IOutputStream, IRandomAccessStream); impl IRandomAccessStreamWithContentType { diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index a90b644bee..41874098b0 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -14,7 +14,7 @@ pub mod Provider; pub mod Search; #[cfg(feature = "Storage_Streams")] pub mod Streams; -windows_core::imp::com_interface!(IAppDataPaths, IAppDataPaths_Vtbl, 0x7301d60a_79a2_48c9_9ec0_3fda092f79e1); +windows_core::imp::define_interface!(IAppDataPaths, IAppDataPaths_Vtbl, 0x7301d60a_79a2_48c9_9ec0_3fda092f79e1); #[repr(C)] pub struct IAppDataPaths_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -28,7 +28,7 @@ pub struct IAppDataPaths_Vtbl { 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, } -windows_core::imp::com_interface!(IAppDataPathsStatics, IAppDataPathsStatics_Vtbl, 0xd8eb2afe_a9d9_4b14_b999_e3921379d903); +windows_core::imp::define_interface!(IAppDataPathsStatics, IAppDataPathsStatics_Vtbl, 0xd8eb2afe_a9d9_4b14_b999_e3921379d903); #[repr(C)] pub struct IAppDataPathsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,7 +38,7 @@ pub struct IAppDataPathsStatics_Vtbl { GetForUser: usize, pub GetDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationData, IApplicationData_Vtbl, 0xc3da6fb7_b744_4b45_b0b8_223a0938d0dc); +windows_core::imp::define_interface!(IApplicationData, IApplicationData_Vtbl, 0xc3da6fb7_b744_4b45_b0b8_223a0938d0dc); #[repr(C)] pub struct IApplicationData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -56,13 +56,13 @@ pub struct IApplicationData_Vtbl { pub SignalDataChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RoamingStorageQuota: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationData2, IApplicationData2_Vtbl, 0x9e65cd69_0ba3_4e32_be29_b02de6607638); +windows_core::imp::define_interface!(IApplicationData2, IApplicationData2_Vtbl, 0x9e65cd69_0ba3_4e32_be29_b02de6607638); #[repr(C)] pub struct IApplicationData2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LocalCacheFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationData3, IApplicationData3_Vtbl, 0xdc222cf4_2772_4c1d_aa2c_c9f743ade8d1); +windows_core::imp::define_interface!(IApplicationData3, IApplicationData3_Vtbl, 0xdc222cf4_2772_4c1d_aa2c_c9f743ade8d1); #[repr(C)] pub struct IApplicationData3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,7 +70,7 @@ pub struct IApplicationData3_Vtbl { pub ClearPublisherCacheFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IApplicationDataContainer, IApplicationDataContainer_Vtbl, 0xc5aefd1e_f467_40ba_8566_ab640a441e1d); +windows_core::imp::define_interface!(IApplicationDataContainer, IApplicationDataContainer_Vtbl, 0xc5aefd1e_f467_40ba_8566_ab640a441e1d); #[repr(C)] pub struct IApplicationDataContainer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -87,13 +87,13 @@ pub struct IApplicationDataContainer_Vtbl { 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, } -windows_core::imp::com_interface!(IApplicationDataStatics, IApplicationDataStatics_Vtbl, 0x5612147b_e843_45e3_94d8_06169e3c8e17); +windows_core::imp::define_interface!(IApplicationDataStatics, IApplicationDataStatics_Vtbl, 0x5612147b_e843_45e3_94d8_06169e3c8e17); #[repr(C)] pub struct IApplicationDataStatics_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, } -windows_core::imp::com_interface!(IApplicationDataStatics2, IApplicationDataStatics2_Vtbl, 0xcd606211_cf49_40a4_a47c_c7f0dbba8107); +windows_core::imp::define_interface!(IApplicationDataStatics2, IApplicationDataStatics2_Vtbl, 0xcd606211_cf49_40a4_a47c_c7f0dbba8107); #[repr(C)] pub struct IApplicationDataStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -102,7 +102,7 @@ pub struct IApplicationDataStatics2_Vtbl { #[cfg(not(feature = "System"))] GetForUserAsync: usize, } -windows_core::imp::com_interface!(ICachedFileManagerStatics, ICachedFileManagerStatics_Vtbl, 0x8ffc224a_e782_495d_b614_654c4f0b2370); +windows_core::imp::define_interface!(ICachedFileManagerStatics, ICachedFileManagerStatics_Vtbl, 0x8ffc224a_e782_495d_b614_654c4f0b2370); #[repr(C)] pub struct ICachedFileManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -112,7 +112,7 @@ pub struct ICachedFileManagerStatics_Vtbl { #[cfg(not(feature = "Storage_Provider"))] CompleteUpdatesAsync: usize, } -windows_core::imp::com_interface!(IDownloadsFolderStatics, IDownloadsFolderStatics_Vtbl, 0x27862ed0_404e_47df_a1e2_e37308be7b37); +windows_core::imp::define_interface!(IDownloadsFolderStatics, IDownloadsFolderStatics_Vtbl, 0x27862ed0_404e_47df_a1e2_e37308be7b37); #[repr(C)] pub struct IDownloadsFolderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -121,7 +121,7 @@ pub struct IDownloadsFolderStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IDownloadsFolderStatics2, IDownloadsFolderStatics2_Vtbl, 0xe93045bd_8ef8_4f8e_8d15_ac0e265f390d); +windows_core::imp::define_interface!(IDownloadsFolderStatics2, IDownloadsFolderStatics2_Vtbl, 0xe93045bd_8ef8_4f8e_8d15_ac0e265f390d); #[repr(C)] pub struct IDownloadsFolderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -142,7 +142,7 @@ pub struct IDownloadsFolderStatics2_Vtbl { #[cfg(not(feature = "System"))] CreateFolderForUserWithCollisionOptionAsync: usize, } -windows_core::imp::com_interface!(IFileIOStatics, IFileIOStatics_Vtbl, 0x887411eb_7f54_4732_a5f0_5e43e3b8c2f5); +windows_core::imp::define_interface!(IFileIOStatics, IFileIOStatics_Vtbl, 0x887411eb_7f54_4732_a5f0_5e43e3b8c2f5); #[repr(C)] pub struct IFileIOStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -195,25 +195,25 @@ pub struct IFileIOStatics_Vtbl { WriteBufferAsync: usize, pub WriteBytesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownFoldersCameraRollStatics, IKnownFoldersCameraRollStatics_Vtbl, 0x5d115e66_27e8_492f_b8e5_2f90896cd4cd); +windows_core::imp::define_interface!(IKnownFoldersCameraRollStatics, IKnownFoldersCameraRollStatics_Vtbl, 0x5d115e66_27e8_492f_b8e5_2f90896cd4cd); #[repr(C)] pub struct IKnownFoldersCameraRollStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CameraRoll: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownFoldersPlaylistsStatics, IKnownFoldersPlaylistsStatics_Vtbl, 0xdad5ecd6_306f_4d6a_b496_46ba8eb106ce); +windows_core::imp::define_interface!(IKnownFoldersPlaylistsStatics, IKnownFoldersPlaylistsStatics_Vtbl, 0xdad5ecd6_306f_4d6a_b496_46ba8eb106ce); #[repr(C)] pub struct IKnownFoldersPlaylistsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Playlists: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownFoldersSavedPicturesStatics, IKnownFoldersSavedPicturesStatics_Vtbl, 0x055c93ea_253d_467c_b6ca_a97da1e9a18d); +windows_core::imp::define_interface!(IKnownFoldersSavedPicturesStatics, IKnownFoldersSavedPicturesStatics_Vtbl, 0x055c93ea_253d_467c_b6ca_a97da1e9a18d); #[repr(C)] pub struct IKnownFoldersSavedPicturesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SavedPictures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownFoldersStatics, IKnownFoldersStatics_Vtbl, 0x5a2a7520_4802_452d_9ad9_4351ada7ec35); +windows_core::imp::define_interface!(IKnownFoldersStatics, IKnownFoldersStatics_Vtbl, 0x5a2a7520_4802_452d_9ad9_4351ada7ec35); #[repr(C)] pub struct IKnownFoldersStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -225,7 +225,7 @@ pub struct IKnownFoldersStatics_Vtbl { pub RemovableDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MediaServerDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownFoldersStatics2, IKnownFoldersStatics2_Vtbl, 0x194bd0cd_cf6e_4d07_9d53_e9163a2536e9); +windows_core::imp::define_interface!(IKnownFoldersStatics2, IKnownFoldersStatics2_Vtbl, 0x194bd0cd_cf6e_4d07_9d53_e9163a2536e9); #[repr(C)] pub struct IKnownFoldersStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -233,7 +233,7 @@ pub struct IKnownFoldersStatics2_Vtbl { pub AppCaptures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RecordedCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownFoldersStatics3, IKnownFoldersStatics3_Vtbl, 0xc5194341_9742_4ed5_823d_fc1401148764); +windows_core::imp::define_interface!(IKnownFoldersStatics3, IKnownFoldersStatics3_Vtbl, 0xc5194341_9742_4ed5_823d_fc1401148764); #[repr(C)] pub struct IKnownFoldersStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -242,7 +242,7 @@ pub struct IKnownFoldersStatics3_Vtbl { #[cfg(not(feature = "System"))] GetFolderForUserAsync: usize, } -windows_core::imp::com_interface!(IKnownFoldersStatics4, IKnownFoldersStatics4_Vtbl, 0x1722e6bf_9ff9_4b21_bed5_90ecb13a192e); +windows_core::imp::define_interface!(IKnownFoldersStatics4, IKnownFoldersStatics4_Vtbl, 0x1722e6bf_9ff9_4b21_bed5_90ecb13a192e); #[repr(C)] pub struct IKnownFoldersStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -253,7 +253,7 @@ pub struct IKnownFoldersStatics4_Vtbl { RequestAccessForUserAsync: usize, pub GetFolderAsync: unsafe extern "system" fn(*mut core::ffi::c_void, KnownFolderId, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPathIOStatics, IPathIOStatics_Vtbl, 0x0f2f3758_8ec7_4381_922b_8f6c07d288f3); +windows_core::imp::define_interface!(IPathIOStatics, IPathIOStatics_Vtbl, 0x0f2f3758_8ec7_4381_922b_8f6c07d288f3); #[repr(C)] pub struct IPathIOStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -306,13 +306,13 @@ pub struct IPathIOStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ISetVersionDeferral, ISetVersionDeferral_Vtbl, 0x033508a2_781a_437a_b078_3f32badcfe47); +windows_core::imp::define_interface!(ISetVersionDeferral, ISetVersionDeferral_Vtbl, 0x033508a2_781a_437a_b078_3f32badcfe47); #[repr(C)] pub struct ISetVersionDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISetVersionRequest, ISetVersionRequest_Vtbl, 0xb9c76b9b_1056_4e69_8330_162619956f9b); +windows_core::imp::define_interface!(ISetVersionRequest, ISetVersionRequest_Vtbl, 0xb9c76b9b_1056_4e69_8330_162619956f9b); #[repr(C)] pub struct ISetVersionRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -320,7 +320,7 @@ pub struct ISetVersionRequest_Vtbl { pub DesiredVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> 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::com_interface!(IStorageFile, IStorageFile_Vtbl, 0xfa3f6186_4214_428c_a64c_14c9ac7315ea); +windows_core::imp::define_interface!(IStorageFile, IStorageFile_Vtbl, 0xfa3f6186_4214_428c_a64c_14c9ac7315ea); windows_core::imp::interface_hierarchy!(IStorageFile, windows_core::IUnknown, windows_core::IInspectable); #[cfg(feature = "Storage_Streams")] windows_core::imp::required_hierarchy!(IStorageFile, Streams::IInputStreamReference, Streams::IRandomAccessStreamReference, IStorageItem); @@ -544,7 +544,7 @@ pub struct IStorageFile_Vtbl { 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 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::com_interface!(IStorageFile2, IStorageFile2_Vtbl, 0x954e4bcf_0a77_42fb_b777_c2ed58a52e44); +windows_core::imp::define_interface!(IStorageFile2, IStorageFile2_Vtbl, 0x954e4bcf_0a77_42fb_b777_c2ed58a52e44); windows_core::imp::interface_hierarchy!(IStorageFile2, windows_core::IUnknown, windows_core::IInspectable); impl IStorageFile2 { #[cfg(feature = "Storage_Streams")] @@ -575,7 +575,7 @@ pub struct IStorageFile2_Vtbl { OpenWithOptionsAsync: usize, pub OpenTransactedWriteWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, StorageOpenOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageFilePropertiesWithAvailability, IStorageFilePropertiesWithAvailability_Vtbl, 0xafcbbe9b_582b_4133_9648_e44ca46ee491); +windows_core::imp::define_interface!(IStorageFilePropertiesWithAvailability, IStorageFilePropertiesWithAvailability_Vtbl, 0xafcbbe9b_582b_4133_9648_e44ca46ee491); windows_core::imp::interface_hierarchy!(IStorageFilePropertiesWithAvailability, windows_core::IUnknown, windows_core::IInspectable); impl IStorageFilePropertiesWithAvailability { pub fn IsAvailable(&self) -> windows_core::Result { @@ -594,7 +594,7 @@ pub struct IStorageFilePropertiesWithAvailability_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageFileStatics, IStorageFileStatics_Vtbl, 0x5984c710_daf2_43c8_8bb4_a4d3eacfd03f); +windows_core::imp::define_interface!(IStorageFileStatics, IStorageFileStatics_Vtbl, 0x5984c710_daf2_43c8_8bb4_a4d3eacfd03f); #[repr(C)] pub struct IStorageFileStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -617,7 +617,7 @@ pub struct IStorageFileStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] ReplaceWithStreamedFileFromUriAsync: usize, } -windows_core::imp::com_interface!(IStorageFileStatics2, IStorageFileStatics2_Vtbl, 0x5c76a781_212e_4af9_8f04_740cae108974); +windows_core::imp::define_interface!(IStorageFileStatics2, IStorageFileStatics2_Vtbl, 0x5c76a781_212e_4af9_8f04_740cae108974); #[repr(C)] pub struct IStorageFileStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -626,7 +626,7 @@ pub struct IStorageFileStatics2_Vtbl { #[cfg(not(feature = "System"))] GetFileFromPathForUserAsync: usize, } -windows_core::imp::com_interface!(IStorageFolder, IStorageFolder_Vtbl, 0x72d1cb78_b3ef_4f75_a80b_6fd9dae2944b); +windows_core::imp::define_interface!(IStorageFolder, IStorageFolder_Vtbl, 0x72d1cb78_b3ef_4f75_a80b_6fd9dae2944b); windows_core::imp::interface_hierarchy!(IStorageFolder, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IStorageFolder, IStorageItem); impl IStorageFolder { @@ -801,7 +801,7 @@ pub struct IStorageFolder_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetItemsAsyncOverloadDefaultStartAndCount: usize, } -windows_core::imp::com_interface!(IStorageFolder2, IStorageFolder2_Vtbl, 0xe827e8b9_08d9_4a8e_a0ac_fe5ed3cbbbd3); +windows_core::imp::define_interface!(IStorageFolder2, IStorageFolder2_Vtbl, 0xe827e8b9_08d9_4a8e_a0ac_fe5ed3cbbbd3); windows_core::imp::interface_hierarchy!(IStorageFolder2, windows_core::IUnknown, windows_core::IInspectable); impl IStorageFolder2 { pub fn TryGetItemAsync(&self, name: &windows_core::HSTRING) -> windows_core::Result> { @@ -820,19 +820,19 @@ 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, } -windows_core::imp::com_interface!(IStorageFolder3, IStorageFolder3_Vtbl, 0x9f617899_bde1_4124_aeb3_b06ad96f98d4); +windows_core::imp::define_interface!(IStorageFolder3, IStorageFolder3_Vtbl, 0x9f617899_bde1_4124_aeb3_b06ad96f98d4); #[repr(C)] pub struct IStorageFolder3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryGetChangeTracker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageFolderStatics, IStorageFolderStatics_Vtbl, 0x08f327ff_85d5_48b9_aee9_28511e339f9f); +windows_core::imp::define_interface!(IStorageFolderStatics, IStorageFolderStatics_Vtbl, 0x08f327ff_85d5_48b9_aee9_28511e339f9f); #[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, } -windows_core::imp::com_interface!(IStorageFolderStatics2, IStorageFolderStatics2_Vtbl, 0xb4656dc3_71d2_467d_8b29_371f0f62bf6f); +windows_core::imp::define_interface!(IStorageFolderStatics2, IStorageFolderStatics2_Vtbl, 0xb4656dc3_71d2_467d_8b29_371f0f62bf6f); #[repr(C)] pub struct IStorageFolderStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -841,7 +841,7 @@ pub struct IStorageFolderStatics2_Vtbl { #[cfg(not(feature = "System"))] GetFolderFromPathForUserAsync: usize, } -windows_core::imp::com_interface!(IStorageItem, IStorageItem_Vtbl, 0x4207a996_ca2f_42f7_bde8_8b10457a7f30); +windows_core::imp::define_interface!(IStorageItem, IStorageItem_Vtbl, 0x4207a996_ca2f_42f7_bde8_8b10457a7f30); windows_core::imp::interface_hierarchy!(IStorageItem, windows_core::IUnknown, windows_core::IInspectable); impl IStorageItem { pub fn RenameAsyncOverloadDefaultOptions(&self, desiredname: &windows_core::HSTRING) -> windows_core::Result { @@ -936,7 +936,7 @@ pub struct IStorageItem_Vtbl { 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, } -windows_core::imp::com_interface!(IStorageItem2, IStorageItem2_Vtbl, 0x53f926d2_083c_4283_b45b_81c007237e44); +windows_core::imp::define_interface!(IStorageItem2, IStorageItem2_Vtbl, 0x53f926d2_083c_4283_b45b_81c007237e44); windows_core::imp::interface_hierarchy!(IStorageItem2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IStorageItem2, IStorageItem); impl IStorageItem2 { @@ -1038,7 +1038,7 @@ pub struct IStorageItem2_Vtbl { pub GetParentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsEqual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageItemProperties, IStorageItemProperties_Vtbl, 0x86664478_8029_46fe_a789_1c2f3e2ffb5c); +windows_core::imp::define_interface!(IStorageItemProperties, IStorageItemProperties_Vtbl, 0x86664478_8029_46fe_a789_1c2f3e2ffb5c); windows_core::imp::interface_hierarchy!(IStorageItemProperties, windows_core::IUnknown, windows_core::IInspectable); impl IStorageItemProperties { #[cfg(all(feature = "Storage_FileProperties", feature = "Storage_Streams"))] @@ -1121,7 +1121,7 @@ pub struct IStorageItemProperties_Vtbl { #[cfg(not(feature = "Storage_FileProperties"))] Properties: usize, } -windows_core::imp::com_interface!(IStorageItemProperties2, IStorageItemProperties2_Vtbl, 0x8e86a951_04b9_4bd2_929d_fef3f71621d0); +windows_core::imp::define_interface!(IStorageItemProperties2, IStorageItemProperties2_Vtbl, 0x8e86a951_04b9_4bd2_929d_fef3f71621d0); windows_core::imp::interface_hierarchy!(IStorageItemProperties2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IStorageItemProperties2, IStorageItemProperties); impl IStorageItemProperties2 { @@ -1222,7 +1222,7 @@ pub struct IStorageItemProperties2_Vtbl { #[cfg(not(all(feature = "Storage_FileProperties", feature = "Storage_Streams")))] GetScaledImageAsThumbnailAsync: usize, } -windows_core::imp::com_interface!(IStorageItemPropertiesWithProvider, IStorageItemPropertiesWithProvider_Vtbl, 0x861bf39b_6368_4dee_b40e_74684a5ce714); +windows_core::imp::define_interface!(IStorageItemPropertiesWithProvider, IStorageItemPropertiesWithProvider_Vtbl, 0x861bf39b_6368_4dee_b40e_74684a5ce714); windows_core::imp::interface_hierarchy!(IStorageItemPropertiesWithProvider, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IStorageItemPropertiesWithProvider, IStorageItemProperties); impl IStorageItemPropertiesWithProvider { @@ -1295,7 +1295,7 @@ pub struct IStorageItemPropertiesWithProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Provider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageLibrary, IStorageLibrary_Vtbl, 0x1edd7103_0e5e_4d6c_b5e8_9318983d6a03); +windows_core::imp::define_interface!(IStorageLibrary, IStorageLibrary_Vtbl, 0x1edd7103_0e5e_4d6c_b5e8_9318983d6a03); #[repr(C)] pub struct IStorageLibrary_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1309,19 +1309,19 @@ pub struct IStorageLibrary_Vtbl { pub DefinitionChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDefinitionChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageLibrary2, IStorageLibrary2_Vtbl, 0x5b0ce348_fcb3_4031_afb0_a68d7bd44534); +windows_core::imp::define_interface!(IStorageLibrary2, IStorageLibrary2_Vtbl, 0x5b0ce348_fcb3_4031_afb0_a68d7bd44534); #[repr(C)] pub struct IStorageLibrary2_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, } -windows_core::imp::com_interface!(IStorageLibrary3, IStorageLibrary3_Vtbl, 0x8a281291_2154_4201_8113_d2c05ce1ad23); +windows_core::imp::define_interface!(IStorageLibrary3, IStorageLibrary3_Vtbl, 0x8a281291_2154_4201_8113_d2c05ce1ad23); #[repr(C)] pub struct IStorageLibrary3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AreFolderSuggestionsAvailableAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageLibraryChange, IStorageLibraryChange_Vtbl, 0x00980b23_2be2_4909_aa48_159f5203a51e); +windows_core::imp::define_interface!(IStorageLibraryChange, IStorageLibraryChange_Vtbl, 0x00980b23_2be2_4909_aa48_159f5203a51e); #[repr(C)] pub struct IStorageLibraryChange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1331,7 +1331,7 @@ pub struct IStorageLibraryChange_Vtbl { 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, } -windows_core::imp::com_interface!(IStorageLibraryChangeReader, IStorageLibraryChangeReader_Vtbl, 0xf205bc83_fca2_41f9_8954_ee2e991eb96f); +windows_core::imp::define_interface!(IStorageLibraryChangeReader, IStorageLibraryChangeReader_Vtbl, 0xf205bc83_fca2_41f9_8954_ee2e991eb96f); #[repr(C)] pub struct IStorageLibraryChangeReader_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1341,13 +1341,13 @@ pub struct IStorageLibraryChangeReader_Vtbl { ReadBatchAsync: usize, pub AcceptChangesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageLibraryChangeReader2, IStorageLibraryChangeReader2_Vtbl, 0xabf4868b_fbcc_4a4f_999e_e7ab7c646dbe); +windows_core::imp::define_interface!(IStorageLibraryChangeReader2, IStorageLibraryChangeReader2_Vtbl, 0xabf4868b_fbcc_4a4f_999e_e7ab7c646dbe); #[repr(C)] pub struct IStorageLibraryChangeReader2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetLastChangeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageLibraryChangeTracker, IStorageLibraryChangeTracker_Vtbl, 0x9e157316_6073_44f6_9681_7492d1286c90); +windows_core::imp::define_interface!(IStorageLibraryChangeTracker, IStorageLibraryChangeTracker_Vtbl, 0x9e157316_6073_44f6_9681_7492d1286c90); #[repr(C)] pub struct IStorageLibraryChangeTracker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1355,38 +1355,38 @@ pub struct IStorageLibraryChangeTracker_Vtbl { pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageLibraryChangeTracker2, IStorageLibraryChangeTracker2_Vtbl, 0xcd051c3b_0f9f_42f9_8fb3_158d82e13821); +windows_core::imp::define_interface!(IStorageLibraryChangeTracker2, IStorageLibraryChangeTracker2_Vtbl, 0xcd051c3b_0f9f_42f9_8fb3_158d82e13821); #[repr(C)] pub struct IStorageLibraryChangeTracker2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub EnableWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Disable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageLibraryChangeTrackerOptions, IStorageLibraryChangeTrackerOptions_Vtbl, 0xbb52bcd4_1a6d_59c0_ad2a_823a20532483); +windows_core::imp::define_interface!(IStorageLibraryChangeTrackerOptions, IStorageLibraryChangeTrackerOptions_Vtbl, 0xbb52bcd4_1a6d_59c0_ad2a_823a20532483); #[repr(C)] pub struct IStorageLibraryChangeTrackerOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TrackChangeDetails: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetTrackChangeDetails: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageLibraryLastChangeId, IStorageLibraryLastChangeId_Vtbl, 0x5281826a_bbe1_53bc_82ca_81cc7f039329); +windows_core::imp::define_interface!(IStorageLibraryLastChangeId, IStorageLibraryLastChangeId_Vtbl, 0x5281826a_bbe1_53bc_82ca_81cc7f039329); #[repr(C)] pub struct IStorageLibraryLastChangeId_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IStorageLibraryLastChangeIdStatics, IStorageLibraryLastChangeIdStatics_Vtbl, 0x81a49128_2ca3_5309_b0d1_cf0788e40762); +windows_core::imp::define_interface!(IStorageLibraryLastChangeIdStatics, IStorageLibraryLastChangeIdStatics_Vtbl, 0x81a49128_2ca3_5309_b0d1_cf0788e40762); #[repr(C)] pub struct IStorageLibraryLastChangeIdStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Unknown: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageLibraryStatics, IStorageLibraryStatics_Vtbl, 0x4208a6db_684a_49c6_9e59_90121ee050d6); +windows_core::imp::define_interface!(IStorageLibraryStatics, IStorageLibraryStatics_Vtbl, 0x4208a6db_684a_49c6_9e59_90121ee050d6); #[repr(C)] pub struct IStorageLibraryStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetLibraryAsync: unsafe extern "system" fn(*mut core::ffi::c_void, KnownLibraryId, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageLibraryStatics2, IStorageLibraryStatics2_Vtbl, 0xffb08ddc_fa75_4695_b9d1_7f81f97832e3); +windows_core::imp::define_interface!(IStorageLibraryStatics2, IStorageLibraryStatics2_Vtbl, 0xffb08ddc_fa75_4695_b9d1_7f81f97832e3); #[repr(C)] pub struct IStorageLibraryStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1395,20 +1395,20 @@ pub struct IStorageLibraryStatics2_Vtbl { #[cfg(not(feature = "System"))] GetLibraryForUserAsync: usize, } -windows_core::imp::com_interface!(IStorageProvider, IStorageProvider_Vtbl, 0xe705eed4_d478_47d6_ba46_1a8ebe114a20); +windows_core::imp::define_interface!(IStorageProvider, IStorageProvider_Vtbl, 0xe705eed4_d478_47d6_ba46_1a8ebe114a20); #[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, } -windows_core::imp::com_interface!(IStorageProvider2, IStorageProvider2_Vtbl, 0x010d1917_3404_414b_9fd7_cd44472eaa39); +windows_core::imp::define_interface!(IStorageProvider2, IStorageProvider2_Vtbl, 0x010d1917_3404_414b_9fd7_cd44472eaa39); #[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, } -windows_core::imp::com_interface!(IStorageStreamTransaction, IStorageStreamTransaction_Vtbl, 0xf67cf363_a53d_4d94_ae2c_67232d93acdd); +windows_core::imp::define_interface!(IStorageStreamTransaction, IStorageStreamTransaction_Vtbl, 0xf67cf363_a53d_4d94_ae2c_67232d93acdd); #[repr(C)] pub struct IStorageStreamTransaction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1418,7 +1418,7 @@ pub struct IStorageStreamTransaction_Vtbl { Stream: usize, pub CommitAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamedFileDataRequest, IStreamedFileDataRequest_Vtbl, 0x1673fcce_dabd_4d50_beee_180b8a8191b6); +windows_core::imp::define_interface!(IStreamedFileDataRequest, IStreamedFileDataRequest_Vtbl, 0x1673fcce_dabd_4d50_beee_180b8a8191b6); windows_core::imp::interface_hierarchy!(IStreamedFileDataRequest, windows_core::IUnknown, windows_core::IInspectable); impl IStreamedFileDataRequest { pub fn FailAndClose(&self, failuremode: StreamedFileFailureMode) -> windows_core::Result<()> { @@ -1434,13 +1434,13 @@ pub struct IStreamedFileDataRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FailAndClose: unsafe extern "system" fn(*mut core::ffi::c_void, StreamedFileFailureMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemAudioProperties, ISystemAudioProperties_Vtbl, 0x3f8f38b7_308c_47e1_924d_8645348e5db7); +windows_core::imp::define_interface!(ISystemAudioProperties, ISystemAudioProperties_Vtbl, 0x3f8f38b7_308c_47e1_924d_8645348e5db7); #[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, } -windows_core::imp::com_interface!(ISystemDataPaths, ISystemDataPaths_Vtbl, 0xe32abf70_d8fa_45ec_a942_d2e26fb60ba5); +windows_core::imp::define_interface!(ISystemDataPaths, ISystemDataPaths_Vtbl, 0xe32abf70_d8fa_45ec_a942_d2e26fb60ba5); #[repr(C)] pub struct ISystemDataPaths_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1461,27 +1461,27 @@ pub struct ISystemDataPaths_Vtbl { 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, } -windows_core::imp::com_interface!(ISystemDataPathsStatics, ISystemDataPathsStatics_Vtbl, 0xe0f96fd0_9920_4bca_b379_f96fdf7caad8); +windows_core::imp::define_interface!(ISystemDataPathsStatics, ISystemDataPathsStatics_Vtbl, 0xe0f96fd0_9920_4bca_b379_f96fdf7caad8); #[repr(C)] pub struct ISystemDataPathsStatics_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, } -windows_core::imp::com_interface!(ISystemGPSProperties, ISystemGPSProperties_Vtbl, 0xc0f46eb4_c174_481a_bc25_921986f6a6f3); +windows_core::imp::define_interface!(ISystemGPSProperties, ISystemGPSProperties_Vtbl, 0xc0f46eb4_c174_481a_bc25_921986f6a6f3); #[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, } -windows_core::imp::com_interface!(ISystemImageProperties, ISystemImageProperties_Vtbl, 0x011b2e30_8b39_4308_bea1_e8aa61e47826); +windows_core::imp::define_interface!(ISystemImageProperties, ISystemImageProperties_Vtbl, 0x011b2e30_8b39_4308_bea1_e8aa61e47826); #[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, } -windows_core::imp::com_interface!(ISystemMediaProperties, ISystemMediaProperties_Vtbl, 0xa42b3316_8415_40dc_8c44_98361d235430); +windows_core::imp::define_interface!(ISystemMediaProperties, ISystemMediaProperties_Vtbl, 0xa42b3316_8415_40dc_8c44_98361d235430); #[repr(C)] pub struct ISystemMediaProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1492,7 +1492,7 @@ pub struct ISystemMediaProperties_Vtbl { 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, } -windows_core::imp::com_interface!(ISystemMusicProperties, ISystemMusicProperties_Vtbl, 0xb47988d5_67af_4bc3_8d39_5b89022026a1); +windows_core::imp::define_interface!(ISystemMusicProperties, ISystemMusicProperties_Vtbl, 0xb47988d5_67af_4bc3_8d39_5b89022026a1); #[repr(C)] pub struct ISystemMusicProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1505,7 +1505,7 @@ pub struct ISystemMusicProperties_Vtbl { 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, } -windows_core::imp::com_interface!(ISystemPhotoProperties, ISystemPhotoProperties_Vtbl, 0x4734fc3d_ab21_4424_b735_f4353a56c8fc); +windows_core::imp::define_interface!(ISystemPhotoProperties, ISystemPhotoProperties_Vtbl, 0x4734fc3d_ab21_4424_b735_f4353a56c8fc); #[repr(C)] pub struct ISystemPhotoProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1515,7 +1515,7 @@ pub struct ISystemPhotoProperties_Vtbl { 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, } -windows_core::imp::com_interface!(ISystemProperties, ISystemProperties_Vtbl, 0x917a71c1_85f3_4dd1_b001_a50bfd21c8d2); +windows_core::imp::define_interface!(ISystemProperties, ISystemProperties_Vtbl, 0x917a71c1_85f3_4dd1_b001_a50bfd21c8d2); #[repr(C)] pub struct ISystemProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1533,7 +1533,7 @@ pub struct ISystemProperties_Vtbl { pub Video: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Image: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemVideoProperties, ISystemVideoProperties_Vtbl, 0x2040f715_67f8_4322_9b80_4fa9fefb83e8); +windows_core::imp::define_interface!(ISystemVideoProperties, ISystemVideoProperties_Vtbl, 0x2040f715_67f8_4322_9b80_4fa9fefb83e8); #[repr(C)] pub struct ISystemVideoProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1543,7 +1543,7 @@ pub struct ISystemVideoProperties_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataPaths, IUserDataPaths_Vtbl, 0xf9c53912_abc4_46ff_8a2b_dc9d7fa6e52f); +windows_core::imp::define_interface!(IUserDataPaths, IUserDataPaths_Vtbl, 0xf9c53912_abc4_46ff_8a2b_dc9d7fa6e52f); #[repr(C)] pub struct IUserDataPaths_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1567,7 +1567,7 @@ pub struct IUserDataPaths_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDataPathsStatics, IUserDataPathsStatics_Vtbl, 0x01b29def_e062_48a1_8b0c_f2c7a9ca56c0); +windows_core::imp::define_interface!(IUserDataPathsStatics, IUserDataPathsStatics_Vtbl, 0x01b29def_e062_48a1_8b0c_f2c7a9ca56c0); #[repr(C)] pub struct IUserDataPathsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -5189,7 +5189,7 @@ impl core::fmt::Debug for StreamedFileFailureMode { impl windows_core::RuntimeType for StreamedFileFailureMode { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.Storage.StreamedFileFailureMode;i4)"); } -windows_core::imp::com_interface!(ApplicationDataSetVersionHandler, ApplicationDataSetVersionHandler_Vtbl, 0xa05791e6_cc9f_4687_acab_a364fd785463); +windows_core::imp::define_interface!(ApplicationDataSetVersionHandler, ApplicationDataSetVersionHandler_Vtbl, 0xa05791e6_cc9f_4687_acab_a364fd785463); impl ApplicationDataSetVersionHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = ApplicationDataSetVersionHandlerBox:: { vtable: &ApplicationDataSetVersionHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -5250,7 +5250,7 @@ pub struct ApplicationDataSetVersionHandler_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Storage_Streams")] -windows_core::imp::com_interface!(StreamedFileDataRequestedHandler, StreamedFileDataRequestedHandler_Vtbl, 0xfef6a824_2fe1_4d07_a35b_b77c50b5f4cc); +windows_core::imp::define_interface!(StreamedFileDataRequestedHandler, StreamedFileDataRequestedHandler_Vtbl, 0xfef6a824_2fe1_4d07_a35b_b77c50b5f4cc); #[cfg(feature = "Storage_Streams")] impl StreamedFileDataRequestedHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { 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 786f752b37..737bbd1fec 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/DevicePortal/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDevicePortalConnection, IDevicePortalConnection_Vtbl, 0x0f447f51_1198_4da1_8d54_bdef393e09b6); +windows_core::imp::define_interface!(IDevicePortalConnection, IDevicePortalConnection_Vtbl, 0x0f447f51_1198_4da1_8d54_bdef393e09b6); #[repr(C)] pub struct IDevicePortalConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,13 +7,13 @@ pub struct IDevicePortalConnection_Vtbl { pub RequestReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRequestReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDevicePortalConnectionClosedEventArgs, IDevicePortalConnectionClosedEventArgs_Vtbl, 0xfcf70e38_7032_428c_9f50_945c15a9f0cb); +windows_core::imp::define_interface!(IDevicePortalConnectionClosedEventArgs, IDevicePortalConnectionClosedEventArgs_Vtbl, 0xfcf70e38_7032_428c_9f50_945c15a9f0cb); #[repr(C)] pub struct IDevicePortalConnectionClosedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DevicePortalConnectionClosedReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDevicePortalConnectionRequestReceivedEventArgs, IDevicePortalConnectionRequestReceivedEventArgs_Vtbl, 0x64dae045_6fda_4459_9ebd_ecce22e38559); +windows_core::imp::define_interface!(IDevicePortalConnectionRequestReceivedEventArgs, IDevicePortalConnectionRequestReceivedEventArgs_Vtbl, 0x64dae045_6fda_4459_9ebd_ecce22e38559); #[repr(C)] pub struct IDevicePortalConnectionRequestReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct IDevicePortalConnectionRequestReceivedEventArgs_Vtbl { #[cfg(not(feature = "Web_Http"))] ResponseMessage: usize, } -windows_core::imp::com_interface!(IDevicePortalConnectionStatics, IDevicePortalConnectionStatics_Vtbl, 0x4bbe31e7_e9b9_4645_8fed_a53eea0edbd6); +windows_core::imp::define_interface!(IDevicePortalConnectionStatics, IDevicePortalConnectionStatics_Vtbl, 0x4bbe31e7_e9b9_4645_8fed_a53eea0edbd6); #[repr(C)] pub struct IDevicePortalConnectionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,7 +35,7 @@ pub struct IDevicePortalConnectionStatics_Vtbl { #[cfg(not(feature = "ApplicationModel_AppService"))] GetForAppServiceConnection: usize, } -windows_core::imp::com_interface!(IDevicePortalWebSocketConnection, IDevicePortalWebSocketConnection_Vtbl, 0x67657920_d65a_42f0_aef4_787808098b7b); +windows_core::imp::define_interface!(IDevicePortalWebSocketConnection, IDevicePortalWebSocketConnection_Vtbl, 0x67657920_d65a_42f0_aef4_787808098b7b); #[repr(C)] pub struct IDevicePortalWebSocketConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -60,7 +60,7 @@ pub struct IDevicePortalWebSocketConnection_Vtbl { #[cfg(not(all(feature = "Networking_Sockets", feature = "Web_Http")))] GetServerStreamWebSocketForRequest2: usize, } -windows_core::imp::com_interface!(IDevicePortalWebSocketConnectionRequestReceivedEventArgs, IDevicePortalWebSocketConnectionRequestReceivedEventArgs_Vtbl, 0x79fdcaba_175c_4739_9f74_dda797c35b3f); +windows_core::imp::define_interface!(IDevicePortalWebSocketConnectionRequestReceivedEventArgs, IDevicePortalWebSocketConnectionRequestReceivedEventArgs_Vtbl, 0x79fdcaba_175c_4739_9f74_dda797c35b3f); #[repr(C)] pub struct IDevicePortalWebSocketConnectionRequestReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 751ef6c99e..b5edd6d29f 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/Telemetry/mod.rs @@ -1,17 +1,17 @@ -windows_core::imp::com_interface!(IPlatformTelemetryClientStatics, IPlatformTelemetryClientStatics_Vtbl, 0x9bf3f25d_d5c3_4eea_8dbe_9c8dbb0d9d8f); +windows_core::imp::define_interface!(IPlatformTelemetryClientStatics, IPlatformTelemetryClientStatics_Vtbl, 0x9bf3f25d_d5c3_4eea_8dbe_9c8dbb0d9d8f); #[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, } -windows_core::imp::com_interface!(IPlatformTelemetryRegistrationResult, IPlatformTelemetryRegistrationResult_Vtbl, 0x4d8518ab_2292_49bd_a15a_3d71d2145112); +windows_core::imp::define_interface!(IPlatformTelemetryRegistrationResult, IPlatformTelemetryRegistrationResult_Vtbl, 0x4d8518ab_2292_49bd_a15a_3d71d2145112); #[repr(C)] pub struct IPlatformTelemetryRegistrationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PlatformTelemetryRegistrationStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlatformTelemetryRegistrationSettings, IPlatformTelemetryRegistrationSettings_Vtbl, 0x819a8582_ca19_415e_bb79_9c224bfa3a73); +windows_core::imp::define_interface!(IPlatformTelemetryRegistrationSettings, IPlatformTelemetryRegistrationSettings_Vtbl, 0x819a8582_ca19_415e_bb79_9c224bfa3a73); #[repr(C)] pub struct IPlatformTelemetryRegistrationSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 7661bf19b3..dc4b26b934 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/TraceReporting/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPlatformDiagnosticActionsStatics, IPlatformDiagnosticActionsStatics_Vtbl, 0xc1145cfa_9292_4267_890a_9ea3ed072312); +windows_core::imp::define_interface!(IPlatformDiagnosticActionsStatics, IPlatformDiagnosticActionsStatics_Vtbl, 0xc1145cfa_9292_4267_890a_9ea3ed072312); #[repr(C)] pub struct IPlatformDiagnosticActionsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,7 +20,7 @@ pub struct IPlatformDiagnosticActionsStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetKnownTraceList: usize, } -windows_core::imp::com_interface!(IPlatformDiagnosticTraceInfo, IPlatformDiagnosticTraceInfo_Vtbl, 0xf870ed97_d597_4bf7_88dc_cf5c7dc2a1d2); +windows_core::imp::define_interface!(IPlatformDiagnosticTraceInfo, IPlatformDiagnosticTraceInfo_Vtbl, 0xf870ed97_d597_4bf7_88dc_cf5c7dc2a1d2); #[repr(C)] pub struct IPlatformDiagnosticTraceInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -31,7 +31,7 @@ pub struct IPlatformDiagnosticTraceInfo_Vtbl { pub MaxTraceDurationFileTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub Priority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PlatformDiagnosticTracePriority) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlatformDiagnosticTraceRuntimeInfo, IPlatformDiagnosticTraceRuntimeInfo_Vtbl, 0x3d4d5e2d_01d8_4768_8554_1eb1ca610986); +windows_core::imp::define_interface!(IPlatformDiagnosticTraceRuntimeInfo, IPlatformDiagnosticTraceRuntimeInfo_Vtbl, 0x3d4d5e2d_01d8_4768_8554_1eb1ca610986); #[repr(C)] pub struct IPlatformDiagnosticTraceRuntimeInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs index 22af05135f..3fdf9d7f5f 100644 --- a/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/System/Diagnostics/mod.rs @@ -4,7 +4,7 @@ pub mod DevicePortal; pub mod Telemetry; #[cfg(feature = "System_Diagnostics_TraceReporting")] pub mod TraceReporting; -windows_core::imp::com_interface!(IDiagnosticActionResult, IDiagnosticActionResult_Vtbl, 0xc265a296_e73b_4097_b28f_3442f03dd831); +windows_core::imp::define_interface!(IDiagnosticActionResult, IDiagnosticActionResult_Vtbl, 0xc265a296_e73b_4097_b28f_3442f03dd831); #[repr(C)] pub struct IDiagnosticActionResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -14,7 +14,7 @@ pub struct IDiagnosticActionResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Results: usize, } -windows_core::imp::com_interface!(IDiagnosticInvoker, IDiagnosticInvoker_Vtbl, 0x187b270a_02e3_4f86_84fc_fdd892b5940f); +windows_core::imp::define_interface!(IDiagnosticInvoker, IDiagnosticInvoker_Vtbl, 0x187b270a_02e3_4f86_84fc_fdd892b5940f); #[repr(C)] pub struct IDiagnosticInvoker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,13 +23,13 @@ pub struct IDiagnosticInvoker_Vtbl { #[cfg(not(feature = "Data_Json"))] RunDiagnosticActionAsync: usize, } -windows_core::imp::com_interface!(IDiagnosticInvoker2, IDiagnosticInvoker2_Vtbl, 0xe3bf945c_155a_4b52_a8ec_070c44f95000); +windows_core::imp::define_interface!(IDiagnosticInvoker2, IDiagnosticInvoker2_Vtbl, 0xe3bf945c_155a_4b52_a8ec_070c44f95000); #[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, } -windows_core::imp::com_interface!(IDiagnosticInvokerStatics, IDiagnosticInvokerStatics_Vtbl, 0x5cfad8de_f15c_4554_a813_c113c3881b09); +windows_core::imp::define_interface!(IDiagnosticInvokerStatics, IDiagnosticInvokerStatics_Vtbl, 0x5cfad8de_f15c_4554_a813_c113c3881b09); #[repr(C)] pub struct IDiagnosticInvokerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,20 +37,20 @@ pub struct IDiagnosticInvokerStatics_Vtbl { pub GetForUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessCpuUsage, IProcessCpuUsage_Vtbl, 0x0bbb2472_c8bf_423a_a810_b559ae4354e2); +windows_core::imp::define_interface!(IProcessCpuUsage, IProcessCpuUsage_Vtbl, 0x0bbb2472_c8bf_423a_a810_b559ae4354e2); #[repr(C)] pub struct IProcessCpuUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessCpuUsageReport, IProcessCpuUsageReport_Vtbl, 0x8a6d9cac_3987_4e2f_a119_6b5fa214f1b4); +windows_core::imp::define_interface!(IProcessCpuUsageReport, IProcessCpuUsageReport_Vtbl, 0x8a6d9cac_3987_4e2f_a119_6b5fa214f1b4); #[repr(C)] pub struct IProcessCpuUsageReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub KernelTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub UserTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessDiagnosticInfo, IProcessDiagnosticInfo_Vtbl, 0xe830b04b_300e_4ee6_a0ab_5b5f5231b434); +windows_core::imp::define_interface!(IProcessDiagnosticInfo, IProcessDiagnosticInfo_Vtbl, 0xe830b04b_300e_4ee6_a0ab_5b5f5231b434); #[repr(C)] pub struct IProcessDiagnosticInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -62,7 +62,7 @@ pub struct IProcessDiagnosticInfo_Vtbl { pub MemoryUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CpuUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessDiagnosticInfo2, IProcessDiagnosticInfo2_Vtbl, 0x9558cb1a_3d0b_49ec_ab70_4f7a112805de); +windows_core::imp::define_interface!(IProcessDiagnosticInfo2, IProcessDiagnosticInfo2_Vtbl, 0x9558cb1a_3d0b_49ec_ab70_4f7a112805de); #[repr(C)] pub struct IProcessDiagnosticInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -72,7 +72,7 @@ pub struct IProcessDiagnosticInfo2_Vtbl { GetAppDiagnosticInfos: usize, pub IsPackaged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessDiagnosticInfoStatics, IProcessDiagnosticInfoStatics_Vtbl, 0x2f41b260_b49f_428c_aa0e_84744f49ca95); +windows_core::imp::define_interface!(IProcessDiagnosticInfoStatics, IProcessDiagnosticInfoStatics_Vtbl, 0x2f41b260_b49f_428c_aa0e_84744f49ca95); #[repr(C)] pub struct IProcessDiagnosticInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -82,19 +82,19 @@ pub struct IProcessDiagnosticInfoStatics_Vtbl { GetForProcesses: usize, pub GetForCurrentProcess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessDiagnosticInfoStatics2, IProcessDiagnosticInfoStatics2_Vtbl, 0x4a869897_9899_4a44_a29b_091663be09b6); +windows_core::imp::define_interface!(IProcessDiagnosticInfoStatics2, IProcessDiagnosticInfoStatics2_Vtbl, 0x4a869897_9899_4a44_a29b_091663be09b6); #[repr(C)] pub struct IProcessDiagnosticInfoStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryGetForProcessId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessDiskUsage, IProcessDiskUsage_Vtbl, 0x5ad78bfd_7e51_4e53_bfaa_5a6ee1aabbf8); +windows_core::imp::define_interface!(IProcessDiskUsage, IProcessDiskUsage_Vtbl, 0x5ad78bfd_7e51_4e53_bfaa_5a6ee1aabbf8); #[repr(C)] pub struct IProcessDiskUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessDiskUsageReport, IProcessDiskUsageReport_Vtbl, 0x401627fd_535d_4c1f_81b8_da54e1be635e); +windows_core::imp::define_interface!(IProcessDiskUsageReport, IProcessDiskUsageReport_Vtbl, 0x401627fd_535d_4c1f_81b8_da54e1be635e); #[repr(C)] pub struct IProcessDiskUsageReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -105,13 +105,13 @@ pub struct IProcessDiskUsageReport_Vtbl { pub BytesWrittenCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub OtherBytesCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessMemoryUsage, IProcessMemoryUsage_Vtbl, 0xf50b229b_827c_42b7_b07c_0e32627e6b3e); +windows_core::imp::define_interface!(IProcessMemoryUsage, IProcessMemoryUsage_Vtbl, 0xf50b229b_827c_42b7_b07c_0e32627e6b3e); #[repr(C)] pub struct IProcessMemoryUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessMemoryUsageReport, IProcessMemoryUsageReport_Vtbl, 0xc2c77cba_1951_4685_8532_7e749ecf8eeb); +windows_core::imp::define_interface!(IProcessMemoryUsageReport, IProcessMemoryUsageReport_Vtbl, 0xc2c77cba_1951_4685_8532_7e749ecf8eeb); #[repr(C)] pub struct IProcessMemoryUsageReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -128,13 +128,13 @@ pub struct IProcessMemoryUsageReport_Vtbl { pub VirtualMemorySizeInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub WorkingSetSizeInBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemCpuUsage, ISystemCpuUsage_Vtbl, 0x6037b3ac_02d6_4234_8362_7fe3adc81f5f); +windows_core::imp::define_interface!(ISystemCpuUsage, ISystemCpuUsage_Vtbl, 0x6037b3ac_02d6_4234_8362_7fe3adc81f5f); #[repr(C)] pub struct ISystemCpuUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemCpuUsageReport, ISystemCpuUsageReport_Vtbl, 0x2c26d0b2_9483_4f62_ab57_82b29d9719b8); +windows_core::imp::define_interface!(ISystemCpuUsageReport, ISystemCpuUsageReport_Vtbl, 0x2c26d0b2_9483_4f62_ab57_82b29d9719b8); #[repr(C)] pub struct ISystemCpuUsageReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -142,33 +142,33 @@ pub struct ISystemCpuUsageReport_Vtbl { pub UserTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub IdleTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemDiagnosticInfo, ISystemDiagnosticInfo_Vtbl, 0xa290fe05_dff3_407f_9a1b_0b2b317ca800); +windows_core::imp::define_interface!(ISystemDiagnosticInfo, ISystemDiagnosticInfo_Vtbl, 0xa290fe05_dff3_407f_9a1b_0b2b317ca800); #[repr(C)] pub struct ISystemDiagnosticInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MemoryUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CpuUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemDiagnosticInfoStatics, ISystemDiagnosticInfoStatics_Vtbl, 0xd404ac21_fc7d_45f0_9a3f_39203aed9f7e); +windows_core::imp::define_interface!(ISystemDiagnosticInfoStatics, ISystemDiagnosticInfoStatics_Vtbl, 0xd404ac21_fc7d_45f0_9a3f_39203aed9f7e); #[repr(C)] pub struct ISystemDiagnosticInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForCurrentSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemDiagnosticInfoStatics2, ISystemDiagnosticInfoStatics2_Vtbl, 0x79ded189_6af9_4da9_a422_15f73255b3eb); +windows_core::imp::define_interface!(ISystemDiagnosticInfoStatics2, ISystemDiagnosticInfoStatics2_Vtbl, 0x79ded189_6af9_4da9_a422_15f73255b3eb); #[repr(C)] pub struct ISystemDiagnosticInfoStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsArchitectureSupported: unsafe extern "system" fn(*mut core::ffi::c_void, super::ProcessorArchitecture, *mut bool) -> windows_core::HRESULT, pub PreferredArchitecture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::ProcessorArchitecture) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemMemoryUsage, ISystemMemoryUsage_Vtbl, 0x17ffc595_1702_49cf_aa27_2f0a32591404); +windows_core::imp::define_interface!(ISystemMemoryUsage, ISystemMemoryUsage_Vtbl, 0x17ffc595_1702_49cf_aa27_2f0a32591404); #[repr(C)] pub struct ISystemMemoryUsage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemMemoryUsageReport, ISystemMemoryUsageReport_Vtbl, 0x38663c87_2a9f_403a_bd19_2cf3e8169500); +windows_core::imp::define_interface!(ISystemMemoryUsageReport, ISystemMemoryUsageReport_Vtbl, 0x38663c87_2a9f_403a_bd19_2cf3e8169500); #[repr(C)] pub struct ISystemMemoryUsageReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/System/Display/mod.rs b/crates/libs/windows/src/Windows/System/Display/mod.rs index b5a0ae1701..f0b5f2cded 100644 --- a/crates/libs/windows/src/Windows/System/Display/mod.rs +++ b/crates/libs/windows/src/Windows/System/Display/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDisplayRequest, IDisplayRequest_Vtbl, 0xe5732044_f49f_4b60_8dd4_5e7e3a632ac0); +windows_core::imp::define_interface!(IDisplayRequest, IDisplayRequest_Vtbl, 0xe5732044_f49f_4b60_8dd4_5e7e3a632ac0); #[repr(C)] pub struct IDisplayRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 8143f364c1..f58ea66d13 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/mod.rs @@ -1,16 +1,16 @@ -windows_core::imp::com_interface!(ISysStorageProviderEventReceivedEventArgs, ISysStorageProviderEventReceivedEventArgs_Vtbl, 0xe132d1b9_7b9d_5820_9728_4262b5289142); +windows_core::imp::define_interface!(ISysStorageProviderEventReceivedEventArgs, ISysStorageProviderEventReceivedEventArgs_Vtbl, 0xe132d1b9_7b9d_5820_9728_4262b5289142); #[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, } -windows_core::imp::com_interface!(ISysStorageProviderEventReceivedEventArgsFactory, ISysStorageProviderEventReceivedEventArgsFactory_Vtbl, 0xde1a780e_e975_5f68_bcc6_fb46281c6a61); +windows_core::imp::define_interface!(ISysStorageProviderEventReceivedEventArgsFactory, ISysStorageProviderEventReceivedEventArgsFactory_Vtbl, 0xde1a780e_e975_5f68_bcc6_fb46281c6a61); #[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, } -windows_core::imp::com_interface!(ISysStorageProviderEventSource, ISysStorageProviderEventSource_Vtbl, 0x1f36c476_9546_536a_8381_2f9a2c08cedd); +windows_core::imp::define_interface!(ISysStorageProviderEventSource, ISysStorageProviderEventSource_Vtbl, 0x1f36c476_9546_536a_8381_2f9a2c08cedd); windows_core::imp::interface_hierarchy!(ISysStorageProviderEventSource, windows_core::IUnknown, windows_core::IInspectable); impl ISysStorageProviderEventSource { pub fn EventReceived(&self, handler: P0) -> windows_core::Result @@ -37,7 +37,7 @@ pub struct ISysStorageProviderEventSource_Vtbl { pub EventReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveEventReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISysStorageProviderHandlerFactory, ISysStorageProviderHandlerFactory_Vtbl, 0xee798431_8213_5e89_a623_14d8c72b8a61); +windows_core::imp::define_interface!(ISysStorageProviderHandlerFactory, ISysStorageProviderHandlerFactory_Vtbl, 0xee798431_8213_5e89_a623_14d8c72b8a61); windows_core::imp::interface_hierarchy!(ISysStorageProviderHandlerFactory, windows_core::IUnknown, windows_core::IInspectable); impl ISysStorageProviderHandlerFactory { pub fn GetHttpRequestProvider(&self, syncrootid: &windows_core::HSTRING) -> windows_core::Result { @@ -64,7 +64,7 @@ pub struct ISysStorageProviderHandlerFactory_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, } -windows_core::imp::com_interface!(ISysStorageProviderHttpRequestProvider, ISysStorageProviderHttpRequestProvider_Vtbl, 0xcb6fefb6_e76a_5c25_a33e_3e78a6e0e0ce); +windows_core::imp::define_interface!(ISysStorageProviderHttpRequestProvider, ISysStorageProviderHttpRequestProvider_Vtbl, 0xcb6fefb6_e76a_5c25_a33e_3e78a6e0e0ce); windows_core::imp::interface_hierarchy!(ISysStorageProviderHttpRequestProvider, windows_core::IUnknown, windows_core::IInspectable); impl ISysStorageProviderHttpRequestProvider { #[cfg(feature = "Web_Http")] diff --git a/crates/libs/windows/src/Windows/System/Inventory/mod.rs b/crates/libs/windows/src/Windows/System/Inventory/mod.rs index 5420c994b8..b648a13365 100644 --- a/crates/libs/windows/src/Windows/System/Inventory/mod.rs +++ b/crates/libs/windows/src/Windows/System/Inventory/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IInstalledDesktopApp, IInstalledDesktopApp_Vtbl, 0x75eab8ed_c0bc_5364_4c28_166e0545167a); +windows_core::imp::define_interface!(IInstalledDesktopApp, IInstalledDesktopApp_Vtbl, 0x75eab8ed_c0bc_5364_4c28_166e0545167a); #[repr(C)] pub struct IInstalledDesktopApp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct IInstalledDesktopApp_Vtbl { 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, } -windows_core::imp::com_interface!(IInstalledDesktopAppStatics, IInstalledDesktopAppStatics_Vtbl, 0x264cf74e_21cd_5f9b_6056_7866ad72489a); +windows_core::imp::define_interface!(IInstalledDesktopAppStatics, IInstalledDesktopAppStatics_Vtbl, 0x264cf74e_21cd_5f9b_6056_7866ad72489a); #[repr(C)] pub struct IInstalledDesktopAppStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/System/Power/mod.rs b/crates/libs/windows/src/Windows/System/Power/mod.rs index bb5b61c106..e3348ec2aa 100644 --- a/crates/libs/windows/src/Windows/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/System/Power/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IBackgroundEnergyManagerStatics, IBackgroundEnergyManagerStatics_Vtbl, 0xb3161d95_1180_4376_96e1_4095568147ce); +windows_core::imp::define_interface!(IBackgroundEnergyManagerStatics, IBackgroundEnergyManagerStatics_Vtbl, 0xb3161d95_1180_4376_96e1_4095568147ce); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IBackgroundEnergyManagerStatics_Vtbl { @@ -54,7 +54,7 @@ pub struct IBackgroundEnergyManagerStatics_Vtbl { RemoveRecentEnergyUsageReturnedToLow: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IForegroundEnergyManagerStatics, IForegroundEnergyManagerStatics_Vtbl, 0x9ff86872_e677_4814_9a20_5337ca732b98); +windows_core::imp::define_interface!(IForegroundEnergyManagerStatics, IForegroundEnergyManagerStatics_Vtbl, 0x9ff86872_e677_4814_9a20_5337ca732b98); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IForegroundEnergyManagerStatics_Vtbl { @@ -100,7 +100,7 @@ pub struct IForegroundEnergyManagerStatics_Vtbl { #[cfg(not(feature = "deprecated"))] RemoveRecentEnergyUsageReturnedToLow: usize, } -windows_core::imp::com_interface!(IPowerManagerStatics, IPowerManagerStatics_Vtbl, 0x1394825d_62ce_4364_98d5_aa28c7fbd15b); +windows_core::imp::define_interface!(IPowerManagerStatics, IPowerManagerStatics_Vtbl, 0x1394825d_62ce_4364_98d5_aa28c7fbd15b); #[repr(C)] pub struct IPowerManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 2647248736..bb0a8d93b9 100644 --- a/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/SystemManufacturers/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IOemSupportInfo, IOemSupportInfo_Vtbl, 0x8d2eae55_87ef_4266_86d0_c4afbeb29bb9); +windows_core::imp::define_interface!(IOemSupportInfo, IOemSupportInfo_Vtbl, 0x8d2eae55_87ef_4266_86d0_c4afbeb29bb9); #[repr(C)] pub struct IOemSupportInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -6,13 +6,13 @@ pub struct IOemSupportInfo_Vtbl { 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, } -windows_core::imp::com_interface!(ISmbiosInformationStatics, ISmbiosInformationStatics_Vtbl, 0x080cca7c_637c_48c4_b728_f9273812db8e); +windows_core::imp::define_interface!(ISmbiosInformationStatics, ISmbiosInformationStatics_Vtbl, 0x080cca7c_637c_48c4_b728_f9273812db8e); #[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, } -windows_core::imp::com_interface!(ISystemSupportDeviceInfo, ISystemSupportDeviceInfo_Vtbl, 0x05880b99_8247_441b_a996_a1784bab79a8); +windows_core::imp::define_interface!(ISystemSupportDeviceInfo, ISystemSupportDeviceInfo_Vtbl, 0x05880b99_8247_441b_a996_a1784bab79a8); #[repr(C)] pub struct ISystemSupportDeviceInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -24,14 +24,14 @@ pub struct ISystemSupportDeviceInfo_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, } -windows_core::imp::com_interface!(ISystemSupportInfoStatics, ISystemSupportInfoStatics_Vtbl, 0xef750974_c422_45d7_a44d_5c1c0043a2b3); +windows_core::imp::define_interface!(ISystemSupportInfoStatics, ISystemSupportInfoStatics_Vtbl, 0xef750974_c422_45d7_a44d_5c1c0043a2b3); #[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 OemSupportInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemSupportInfoStatics2, ISystemSupportInfoStatics2_Vtbl, 0x33f349a4_3fa1_4986_aa4b_057420455e6d); +windows_core::imp::define_interface!(ISystemSupportInfoStatics2, ISystemSupportInfoStatics2_Vtbl, 0x33f349a4_3fa1_4986_aa4b_057420455e6d); #[repr(C)] pub struct ISystemSupportInfoStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/System/Profile/mod.rs b/crates/libs/windows/src/Windows/System/Profile/mod.rs index de791ca2ea..d700d409cb 100644 --- a/crates/libs/windows/src/Windows/System/Profile/mod.rs +++ b/crates/libs/windows/src/Windows/System/Profile/mod.rs @@ -1,13 +1,13 @@ #[cfg(feature = "System_Profile_SystemManufacturers")] pub mod SystemManufacturers; -windows_core::imp::com_interface!(IAnalyticsInfoStatics, IAnalyticsInfoStatics_Vtbl, 0x1d5ee066_188d_5ba9_4387_acaeb0e7e305); +windows_core::imp::define_interface!(IAnalyticsInfoStatics, IAnalyticsInfoStatics_Vtbl, 0x1d5ee066_188d_5ba9_4387_acaeb0e7e305); #[repr(C)] 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, } -windows_core::imp::com_interface!(IAnalyticsInfoStatics2, IAnalyticsInfoStatics2_Vtbl, 0x101704ea_a7f9_46d2_ab94_016865afdb25); +windows_core::imp::define_interface!(IAnalyticsInfoStatics2, IAnalyticsInfoStatics2_Vtbl, 0x101704ea_a7f9_46d2_ab94_016865afdb25); #[repr(C)] pub struct IAnalyticsInfoStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,20 +16,20 @@ pub struct IAnalyticsInfoStatics2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetSystemPropertiesAsync: usize, } -windows_core::imp::com_interface!(IAnalyticsVersionInfo, IAnalyticsVersionInfo_Vtbl, 0x926130b8_9955_4c74_bdc1_7cd0decf9b03); +windows_core::imp::define_interface!(IAnalyticsVersionInfo, IAnalyticsVersionInfo_Vtbl, 0x926130b8_9955_4c74_bdc1_7cd0decf9b03); #[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, } -windows_core::imp::com_interface!(IAnalyticsVersionInfo2, IAnalyticsVersionInfo2_Vtbl, 0x76e915b1_ff36_407c_9f57_160d3e540747); +windows_core::imp::define_interface!(IAnalyticsVersionInfo2, IAnalyticsVersionInfo2_Vtbl, 0x76e915b1_ff36_407c_9f57_160d3e540747); #[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, } -windows_core::imp::com_interface!(IAppApplicabilityStatics, IAppApplicabilityStatics_Vtbl, 0x1664a082_0f38_5c99_83e4_48995970861c); +windows_core::imp::define_interface!(IAppApplicabilityStatics, IAppApplicabilityStatics_Vtbl, 0x1664a082_0f38_5c99_83e4_48995970861c); #[repr(C)] pub struct IAppApplicabilityStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,13 +38,13 @@ pub struct IAppApplicabilityStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetUnsupportedAppRequirements: usize, } -windows_core::imp::com_interface!(IEducationSettingsStatics, IEducationSettingsStatics_Vtbl, 0xfc53f0ef_4d3e_4e13_9b23_505f4d091e92); +windows_core::imp::define_interface!(IEducationSettingsStatics, IEducationSettingsStatics_Vtbl, 0xfc53f0ef_4d3e_4e13_9b23_505f4d091e92); #[repr(C)] pub struct IEducationSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsEducationEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHardwareIdentificationStatics, IHardwareIdentificationStatics_Vtbl, 0x971260e0_f170_4a42_bd55_a900b212dae2); +windows_core::imp::define_interface!(IHardwareIdentificationStatics, IHardwareIdentificationStatics_Vtbl, 0x971260e0_f170_4a42_bd55_a900b212dae2); #[repr(C)] pub struct IHardwareIdentificationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,7 +53,7 @@ pub struct IHardwareIdentificationStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetPackageSpecificToken: usize, } -windows_core::imp::com_interface!(IHardwareToken, IHardwareToken_Vtbl, 0x28f6d4c0_fb12_40a4_8167_7f4e03d2724c); +windows_core::imp::define_interface!(IHardwareToken, IHardwareToken_Vtbl, 0x28f6d4c0_fb12_40a4_8167_7f4e03d2724c); #[repr(C)] pub struct IHardwareToken_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,7 +70,7 @@ pub struct IHardwareToken_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Certificate: usize, } -windows_core::imp::com_interface!(IKnownRetailInfoPropertiesStatics, IKnownRetailInfoPropertiesStatics_Vtbl, 0x99571178_500f_487e_8e75_29e551728712); +windows_core::imp::define_interface!(IKnownRetailInfoPropertiesStatics, IKnownRetailInfoPropertiesStatics_Vtbl, 0x99571178_500f_487e_8e75_29e551728712); #[repr(C)] pub struct IKnownRetailInfoPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -97,7 +97,7 @@ pub struct IKnownRetailInfoPropertiesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IPlatformDiagnosticsAndUsageDataSettingsStatics, IPlatformDiagnosticsAndUsageDataSettingsStatics_Vtbl, 0xb6e24c1b_7b1c_4b32_8c62_a66597ce723a); +windows_core::imp::define_interface!(IPlatformDiagnosticsAndUsageDataSettingsStatics, IPlatformDiagnosticsAndUsageDataSettingsStatics_Vtbl, 0xb6e24c1b_7b1c_4b32_8c62_a66597ce723a); #[repr(C)] pub struct IPlatformDiagnosticsAndUsageDataSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -106,7 +106,7 @@ pub struct IPlatformDiagnosticsAndUsageDataSettingsStatics_Vtbl { pub RemoveCollectionLevelChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub CanCollectDiagnostics: unsafe extern "system" fn(*mut core::ffi::c_void, PlatformDataCollectionLevel, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRetailInfoStatics, IRetailInfoStatics_Vtbl, 0x0712c6b8_8b92_4f2a_8499_031f1798d6ef); +windows_core::imp::define_interface!(IRetailInfoStatics, IRetailInfoStatics_Vtbl, 0x0712c6b8_8b92_4f2a_8499_031f1798d6ef); #[repr(C)] pub struct IRetailInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -116,19 +116,19 @@ pub struct IRetailInfoStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Properties: usize, } -windows_core::imp::com_interface!(ISharedModeSettingsStatics, ISharedModeSettingsStatics_Vtbl, 0x893df40e_cad6_4d50_8c49_6fcfc03edb29); +windows_core::imp::define_interface!(ISharedModeSettingsStatics, ISharedModeSettingsStatics_Vtbl, 0x893df40e_cad6_4d50_8c49_6fcfc03edb29); #[repr(C)] pub struct ISharedModeSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISharedModeSettingsStatics2, ISharedModeSettingsStatics2_Vtbl, 0x608988a4_ccf1_4ee8_a5e2_fd6a1d0cfac8); +windows_core::imp::define_interface!(ISharedModeSettingsStatics2, ISharedModeSettingsStatics2_Vtbl, 0x608988a4_ccf1_4ee8_a5e2_fd6a1d0cfac8); #[repr(C)] pub struct ISharedModeSettingsStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShouldAvoidLocalStorage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISmartAppControlPolicyStatics, ISmartAppControlPolicyStatics_Vtbl, 0x5ff8c75b_073e_5015_8d98_5ff224180a0b); +windows_core::imp::define_interface!(ISmartAppControlPolicyStatics, ISmartAppControlPolicyStatics_Vtbl, 0x5ff8c75b_073e_5015_8d98_5ff224180a0b); #[repr(C)] pub struct ISmartAppControlPolicyStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -136,7 +136,7 @@ pub struct ISmartAppControlPolicyStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ISystemIdentificationInfo, ISystemIdentificationInfo_Vtbl, 0x0c659e7d_c3c2_4d33_a2df_21bc41916eb3); +windows_core::imp::define_interface!(ISystemIdentificationInfo, ISystemIdentificationInfo_Vtbl, 0x0c659e7d_c3c2_4d33_a2df_21bc41916eb3); #[repr(C)] pub struct ISystemIdentificationInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -146,14 +146,14 @@ pub struct ISystemIdentificationInfo_Vtbl { Id: usize, pub Source: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SystemIdentificationSource) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemIdentificationStatics, ISystemIdentificationStatics_Vtbl, 0x5581f42a_d3df_4d93_a37d_c41a616c6d01); +windows_core::imp::define_interface!(ISystemIdentificationStatics, ISystemIdentificationStatics_Vtbl, 0x5581f42a_d3df_4d93_a37d_c41a616c6d01); #[repr(C)] pub struct ISystemIdentificationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetSystemIdForPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSystemIdForUser: 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::com_interface!(ISystemSetupInfoStatics, ISystemSetupInfoStatics_Vtbl, 0xb8366a4b_fb6a_4571_be0a_9a0f67954123); +windows_core::imp::define_interface!(ISystemSetupInfoStatics, ISystemSetupInfoStatics_Vtbl, 0xb8366a4b_fb6a_4571_be0a_9a0f67954123); #[repr(C)] pub struct ISystemSetupInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -161,14 +161,14 @@ pub struct ISystemSetupInfoStatics_Vtbl { pub OutOfBoxExperienceStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveOutOfBoxExperienceStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUnsupportedAppRequirement, IUnsupportedAppRequirement_Vtbl, 0x6182445c_894b_5cbc_8976_a98e0a9b998d); +windows_core::imp::define_interface!(IUnsupportedAppRequirement, IUnsupportedAppRequirement_Vtbl, 0x6182445c_894b_5cbc_8976_a98e0a9b998d); #[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 Reasons: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UnsupportedAppRequirementReasons) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsIntegrityPolicyStatics, IWindowsIntegrityPolicyStatics_Vtbl, 0x7d1d81db_8d63_4789_9ea5_ddcf65a94f3c); +windows_core::imp::define_interface!(IWindowsIntegrityPolicyStatics, IWindowsIntegrityPolicyStatics_Vtbl, 0x7d1d81db_8d63_4789_9ea5_ddcf65a94f3c); #[repr(C)] pub struct IWindowsIntegrityPolicyStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 dab5d9eb98..64da1310fc 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IRemoteTextConnection, IRemoteTextConnection_Vtbl, 0x4e7bb02a_183e_5e66_b5e4_3e6e5c570cf1); +windows_core::imp::define_interface!(IRemoteTextConnection, IRemoteTextConnection_Vtbl, 0x4e7bb02a_183e_5e66_b5e4_3e6e5c570cf1); #[repr(C)] pub struct IRemoteTextConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct IRemoteTextConnection_Vtbl { pub UnregisterThread: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ReportDataReceived: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteTextConnectionFactory, IRemoteTextConnectionFactory_Vtbl, 0x88e075c2_0cae_596c_850f_78d345cd728b); +windows_core::imp::define_interface!(IRemoteTextConnectionFactory, IRemoteTextConnectionFactory_Vtbl, 0x88e075c2_0cae_596c_850f_78d345cd728b); #[repr(C)] pub struct IRemoteTextConnectionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -74,7 +74,7 @@ impl windows_core::RuntimeName for RemoteTextConnection { } unsafe impl Send for RemoteTextConnection {} unsafe impl Sync for RemoteTextConnection {} -windows_core::imp::com_interface!(RemoteTextConnectionDataHandler, RemoteTextConnectionDataHandler_Vtbl, 0x099ffbc8_8bcb_41b5_b056_57e77021bf1b); +windows_core::imp::define_interface!(RemoteTextConnectionDataHandler, RemoteTextConnectionDataHandler_Vtbl, 0x099ffbc8_8bcb_41b5_b056_57e77021bf1b); impl RemoteTextConnectionDataHandler { pub fn new windows_core::Result + Send + 'static>(invoke: F) -> Self { let com = RemoteTextConnectionDataHandlerBox:: { vtable: &RemoteTextConnectionDataHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; 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 77d2f3a19a..05bad5bf75 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/Provider/mod.rs @@ -1,17 +1,17 @@ -windows_core::imp::com_interface!(IPerformLocalActionRequestedEventArgs, IPerformLocalActionRequestedEventArgs_Vtbl, 0x59359f4f_0862_53a3_a3b3_c932fb718cdc); +windows_core::imp::define_interface!(IPerformLocalActionRequestedEventArgs, IPerformLocalActionRequestedEventArgs_Vtbl, 0x59359f4f_0862_53a3_a3b3_c932fb718cdc); #[repr(C)] pub struct IPerformLocalActionRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Action: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RemoteDesktopLocalAction) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteDesktopConnectionInfo, IRemoteDesktopConnectionInfo_Vtbl, 0x68bd69d6_6dea_543b_b737_f347919f5093); +windows_core::imp::define_interface!(IRemoteDesktopConnectionInfo, IRemoteDesktopConnectionInfo_Vtbl, 0x68bd69d6_6dea_543b_b737_f347919f5093); #[repr(C)] pub struct IRemoteDesktopConnectionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetConnectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, RemoteDesktopConnectionStatus) -> windows_core::HRESULT, pub SwitchToLocalSession: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteDesktopConnectionInfoStatics, IRemoteDesktopConnectionInfoStatics_Vtbl, 0x4a7dc5a1_3368_5a75_bb78_807df7ebc439); +windows_core::imp::define_interface!(IRemoteDesktopConnectionInfoStatics, IRemoteDesktopConnectionInfoStatics_Vtbl, 0x4a7dc5a1_3368_5a75_bb78_807df7ebc439); #[repr(C)] pub struct IRemoteDesktopConnectionInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,7 +20,7 @@ pub struct IRemoteDesktopConnectionInfoStatics_Vtbl { #[cfg(not(feature = "UI"))] GetForLaunchUri: usize, } -windows_core::imp::com_interface!(IRemoteDesktopConnectionRemoteInfo, IRemoteDesktopConnectionRemoteInfo_Vtbl, 0x2a3dfa7e_a7ab_547e_9a6a_4c565bbb8d71); +windows_core::imp::define_interface!(IRemoteDesktopConnectionRemoteInfo, IRemoteDesktopConnectionRemoteInfo_Vtbl, 0x2a3dfa7e_a7ab_547e_9a6a_4c565bbb8d71); #[repr(C)] pub struct IRemoteDesktopConnectionRemoteInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,27 +30,27 @@ pub struct IRemoteDesktopConnectionRemoteInfo_Vtbl { pub PerformLocalActionRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePerformLocalActionRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteDesktopConnectionRemoteInfoStatics, IRemoteDesktopConnectionRemoteInfoStatics_Vtbl, 0xb590e64a_e4c9_53e8_b83d_a0db3676246a); +windows_core::imp::define_interface!(IRemoteDesktopConnectionRemoteInfoStatics, IRemoteDesktopConnectionRemoteInfoStatics_Vtbl, 0xb590e64a_e4c9_53e8_b83d_a0db3676246a); #[repr(C)] pub struct IRemoteDesktopConnectionRemoteInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSwitchSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub GetForLaunchUri: 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::com_interface!(IRemoteDesktopInfo, IRemoteDesktopInfo_Vtbl, 0xd185bb25_2f1e_5098_b9e0_f46d6358c5c4); +windows_core::imp::define_interface!(IRemoteDesktopInfo, IRemoteDesktopInfo_Vtbl, 0xd185bb25_2f1e_5098_b9e0_f46d6358c5c4); #[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, } -windows_core::imp::com_interface!(IRemoteDesktopInfoFactory, IRemoteDesktopInfoFactory_Vtbl, 0xad0e8d58_b56f_5a8b_b419_8002ee0c5ee9); +windows_core::imp::define_interface!(IRemoteDesktopInfoFactory, IRemoteDesktopInfoFactory_Vtbl, 0xad0e8d58_b56f_5a8b_b419_8002ee0c5ee9); #[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, } -windows_core::imp::com_interface!(IRemoteDesktopRegistrarStatics, IRemoteDesktopRegistrarStatics_Vtbl, 0x687c2750_46d9_5de3_8dc3_84a9202cecfb); +windows_core::imp::define_interface!(IRemoteDesktopRegistrarStatics, IRemoteDesktopRegistrarStatics_Vtbl, 0x687c2750_46d9_5de3_8dc3_84a9202cecfb); #[repr(C)] pub struct IRemoteDesktopRegistrarStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs index a3ab6020ba..76ee925c77 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/mod.rs @@ -2,7 +2,7 @@ pub mod Input; #[cfg(feature = "System_RemoteDesktop_Provider")] pub mod Provider; -windows_core::imp::com_interface!(IInteractiveSessionStatics, IInteractiveSessionStatics_Vtbl, 0x60884631_dd3a_4576_9c8d_e8027618bdce); +windows_core::imp::define_interface!(IInteractiveSessionStatics, IInteractiveSessionStatics_Vtbl, 0x60884631_dd3a_4576_9c8d_e8027618bdce); #[repr(C)] pub struct IInteractiveSessionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs index 4d5a5449c6..c5c0ddb53c 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IKnownRemoteSystemCapabilitiesStatics, IKnownRemoteSystemCapabilitiesStatics_Vtbl, 0x8108e380_7f8a_44e4_92cd_03b6469b94a3); +windows_core::imp::define_interface!(IKnownRemoteSystemCapabilitiesStatics, IKnownRemoteSystemCapabilitiesStatics_Vtbl, 0x8108e380_7f8a_44e4_92cd_03b6469b94a3); #[repr(C)] pub struct IKnownRemoteSystemCapabilitiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct IKnownRemoteSystemCapabilitiesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IRemoteSystem, IRemoteSystem_Vtbl, 0xed5838cd_1e10_4a8c_b4a6_4e5fd6f97721); +windows_core::imp::define_interface!(IRemoteSystem, IRemoteSystem_Vtbl, 0xed5838cd_1e10_4a8c_b4a6_4e5fd6f97721); #[repr(C)] pub struct IRemoteSystem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,27 +17,27 @@ pub struct IRemoteSystem_Vtbl { 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, } -windows_core::imp::com_interface!(IRemoteSystem2, IRemoteSystem2_Vtbl, 0x09dfe4ec_fb8b_4a08_a758_6876435d769e); +windows_core::imp::define_interface!(IRemoteSystem2, IRemoteSystem2_Vtbl, 0x09dfe4ec_fb8b_4a08_a758_6876435d769e); #[repr(C)] 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, } -windows_core::imp::com_interface!(IRemoteSystem3, IRemoteSystem3_Vtbl, 0x72b4b495_b7c6_40be_831b_73562f12ffa8); +windows_core::imp::define_interface!(IRemoteSystem3, IRemoteSystem3_Vtbl, 0x72b4b495_b7c6_40be_831b_73562f12ffa8); #[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, } -windows_core::imp::com_interface!(IRemoteSystem4, IRemoteSystem4_Vtbl, 0xf164ffe5_b987_4ca5_9926_fa0438be6273); +windows_core::imp::define_interface!(IRemoteSystem4, IRemoteSystem4_Vtbl, 0xf164ffe5_b987_4ca5_9926_fa0438be6273); #[repr(C)] pub struct IRemoteSystem4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Platform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RemoteSystemPlatform) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystem5, IRemoteSystem5_Vtbl, 0xeb2ad723_e5e2_4ae2_a7a7_a1097a098e90); +windows_core::imp::define_interface!(IRemoteSystem5, IRemoteSystem5_Vtbl, 0xeb2ad723_e5e2_4ae2_a7a7_a1097a098e90); #[repr(C)] pub struct IRemoteSystem5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -46,19 +46,19 @@ pub struct IRemoteSystem5_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Apps: usize, } -windows_core::imp::com_interface!(IRemoteSystem6, IRemoteSystem6_Vtbl, 0xd4cda942_c027_533e_9384_3a19b4f7eef3); +windows_core::imp::define_interface!(IRemoteSystem6, IRemoteSystem6_Vtbl, 0xd4cda942_c027_533e_9384_3a19b4f7eef3); #[repr(C)] pub struct IRemoteSystem6_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, } -windows_core::imp::com_interface!(IRemoteSystemAddedEventArgs, IRemoteSystemAddedEventArgs_Vtbl, 0x8f39560f_e534_4697_8836_7abea151516e); +windows_core::imp::define_interface!(IRemoteSystemAddedEventArgs, IRemoteSystemAddedEventArgs_Vtbl, 0x8f39560f_e534_4697_8836_7abea151516e); #[repr(C)] pub struct IRemoteSystemAddedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RemoteSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemApp, IRemoteSystemApp_Vtbl, 0x80e5bcbd_d54d_41b1_9b16_6810a871ed4f); +windows_core::imp::define_interface!(IRemoteSystemApp, IRemoteSystemApp_Vtbl, 0x80e5bcbd_d54d_41b1_9b16_6810a871ed4f); #[repr(C)] pub struct IRemoteSystemApp_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -71,14 +71,14 @@ pub struct IRemoteSystemApp_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Attributes: usize, } -windows_core::imp::com_interface!(IRemoteSystemApp2, IRemoteSystemApp2_Vtbl, 0x6369bf15_0a96_577a_8ff6_c35904dfa8f3); +windows_core::imp::define_interface!(IRemoteSystemApp2, IRemoteSystemApp2_Vtbl, 0x6369bf15_0a96_577a_8ff6_c35904dfa8f3); #[repr(C)] 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, } -windows_core::imp::com_interface!(IRemoteSystemAppRegistration, IRemoteSystemAppRegistration_Vtbl, 0xb47947b5_7035_4a5a_b8df_962d8f8431f4); +windows_core::imp::define_interface!(IRemoteSystemAppRegistration, IRemoteSystemAppRegistration_Vtbl, 0xb47947b5_7035_4a5a_b8df_962d8f8431f4); #[repr(C)] pub struct IRemoteSystemAppRegistration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,32 +89,32 @@ pub struct IRemoteSystemAppRegistration_Vtbl { Attributes: usize, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemAppRegistrationStatics, IRemoteSystemAppRegistrationStatics_Vtbl, 0x01b99840_cfd2_453f_ae25_c2539f086afd); +windows_core::imp::define_interface!(IRemoteSystemAppRegistrationStatics, IRemoteSystemAppRegistrationStatics_Vtbl, 0x01b99840_cfd2_453f_ae25_c2539f086afd); #[repr(C)] pub struct IRemoteSystemAppRegistrationStatics_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, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemAuthorizationKindFilter, IRemoteSystemAuthorizationKindFilter_Vtbl, 0x6b0dde8e_04d0_40f4_a27f_c2acbbd6b734); +windows_core::imp::define_interface!(IRemoteSystemAuthorizationKindFilter, IRemoteSystemAuthorizationKindFilter_Vtbl, 0x6b0dde8e_04d0_40f4_a27f_c2acbbd6b734); #[repr(C)] pub struct IRemoteSystemAuthorizationKindFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RemoteSystemAuthorizationKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RemoteSystemAuthorizationKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemAuthorizationKindFilterFactory, IRemoteSystemAuthorizationKindFilterFactory_Vtbl, 0xad65df4d_b66a_45a4_8177_8caed75d9e5a); +windows_core::imp::define_interface!(IRemoteSystemAuthorizationKindFilterFactory, IRemoteSystemAuthorizationKindFilterFactory_Vtbl, 0xad65df4d_b66a_45a4_8177_8caed75d9e5a); #[repr(C)] pub struct IRemoteSystemAuthorizationKindFilterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, RemoteSystemAuthorizationKind, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemConnectionInfo, IRemoteSystemConnectionInfo_Vtbl, 0x23278bc3_0d09_52cb_9c6a_eed2940bee43); +windows_core::imp::define_interface!(IRemoteSystemConnectionInfo, IRemoteSystemConnectionInfo_Vtbl, 0x23278bc3_0d09_52cb_9c6a_eed2940bee43); #[repr(C)] pub struct IRemoteSystemConnectionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsProximal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemConnectionInfoStatics, IRemoteSystemConnectionInfoStatics_Vtbl, 0xac831e2d_66c5_56d7_a4ce_705d94925ad6); +windows_core::imp::define_interface!(IRemoteSystemConnectionInfoStatics, IRemoteSystemConnectionInfoStatics_Vtbl, 0xac831e2d_66c5_56d7_a4ce_705d94925ad6); #[repr(C)] pub struct IRemoteSystemConnectionInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -123,61 +123,61 @@ pub struct IRemoteSystemConnectionInfoStatics_Vtbl { #[cfg(not(feature = "ApplicationModel_AppService"))] TryCreateFromAppServiceConnection: usize, } -windows_core::imp::com_interface!(IRemoteSystemConnectionRequest, IRemoteSystemConnectionRequest_Vtbl, 0x84ed4104_8d5e_4d72_8238_7621576c7a67); +windows_core::imp::define_interface!(IRemoteSystemConnectionRequest, IRemoteSystemConnectionRequest_Vtbl, 0x84ed4104_8d5e_4d72_8238_7621576c7a67); #[repr(C)] pub struct IRemoteSystemConnectionRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RemoteSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemConnectionRequest2, IRemoteSystemConnectionRequest2_Vtbl, 0x12df6d6f_bffc_483a_8abe_d34a6c19f92b); +windows_core::imp::define_interface!(IRemoteSystemConnectionRequest2, IRemoteSystemConnectionRequest2_Vtbl, 0x12df6d6f_bffc_483a_8abe_d34a6c19f92b); #[repr(C)] pub struct IRemoteSystemConnectionRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RemoteSystemApp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemConnectionRequest3, IRemoteSystemConnectionRequest3_Vtbl, 0xde86c3e7_c9cc_5a50_b8d9_ba7b34bb8d0e); +windows_core::imp::define_interface!(IRemoteSystemConnectionRequest3, IRemoteSystemConnectionRequest3_Vtbl, 0xde86c3e7_c9cc_5a50_b8d9_ba7b34bb8d0e); #[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, } -windows_core::imp::com_interface!(IRemoteSystemConnectionRequestFactory, IRemoteSystemConnectionRequestFactory_Vtbl, 0xaa0a0a20_baeb_4575_b530_810bb9786334); +windows_core::imp::define_interface!(IRemoteSystemConnectionRequestFactory, IRemoteSystemConnectionRequestFactory_Vtbl, 0xaa0a0a20_baeb_4575_b530_810bb9786334); #[repr(C)] pub struct IRemoteSystemConnectionRequestFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemConnectionRequestStatics, IRemoteSystemConnectionRequestStatics_Vtbl, 0x86ca143d_8214_425c_8932_db49032d1306); +windows_core::imp::define_interface!(IRemoteSystemConnectionRequestStatics, IRemoteSystemConnectionRequestStatics_Vtbl, 0x86ca143d_8214_425c_8932_db49032d1306); #[repr(C)] pub struct IRemoteSystemConnectionRequestStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateForApp: 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::com_interface!(IRemoteSystemConnectionRequestStatics2, IRemoteSystemConnectionRequestStatics2_Vtbl, 0x460f1027_64ec_598e_a800_4f2ee58def19); +windows_core::imp::define_interface!(IRemoteSystemConnectionRequestStatics2, IRemoteSystemConnectionRequestStatics2_Vtbl, 0x460f1027_64ec_598e_a800_4f2ee58def19); #[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, } -windows_core::imp::com_interface!(IRemoteSystemDiscoveryTypeFilter, IRemoteSystemDiscoveryTypeFilter_Vtbl, 0x42d9041f_ee5a_43da_ac6a_6fee25460741); +windows_core::imp::define_interface!(IRemoteSystemDiscoveryTypeFilter, IRemoteSystemDiscoveryTypeFilter_Vtbl, 0x42d9041f_ee5a_43da_ac6a_6fee25460741); #[repr(C)] pub struct IRemoteSystemDiscoveryTypeFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RemoteSystemDiscoveryType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RemoteSystemDiscoveryType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemDiscoveryTypeFilterFactory, IRemoteSystemDiscoveryTypeFilterFactory_Vtbl, 0x9f9eb993_c260_4161_92f2_9c021f23fe5d); +windows_core::imp::define_interface!(IRemoteSystemDiscoveryTypeFilterFactory, IRemoteSystemDiscoveryTypeFilterFactory_Vtbl, 0x9f9eb993_c260_4161_92f2_9c021f23fe5d); #[repr(C)] pub struct IRemoteSystemDiscoveryTypeFilterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, RemoteSystemDiscoveryType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemEnumerationCompletedEventArgs, IRemoteSystemEnumerationCompletedEventArgs_Vtbl, 0xc6e83d5f_4030_4354_a060_14f1b22c545d); +windows_core::imp::define_interface!(IRemoteSystemEnumerationCompletedEventArgs, IRemoteSystemEnumerationCompletedEventArgs_Vtbl, 0xc6e83d5f_4030_4354_a060_14f1b22c545d); #[repr(C)] pub struct IRemoteSystemEnumerationCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IRemoteSystemFilter, IRemoteSystemFilter_Vtbl, 0x4a3ba9e4_99eb_45eb_ba16_0367728ff374); +windows_core::imp::define_interface!(IRemoteSystemFilter, IRemoteSystemFilter_Vtbl, 0x4a3ba9e4_99eb_45eb_ba16_0367728ff374); windows_core::imp::interface_hierarchy!(IRemoteSystemFilter, windows_core::IUnknown, windows_core::IInspectable); impl IRemoteSystemFilter {} impl windows_core::RuntimeType for IRemoteSystemFilter { @@ -187,7 +187,7 @@ impl windows_core::RuntimeType for IRemoteSystemFilter { pub struct IRemoteSystemFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IRemoteSystemKindFilter, IRemoteSystemKindFilter_Vtbl, 0x38e1c9ec_22c3_4ef6_901a_bbb1c7aad4ed); +windows_core::imp::define_interface!(IRemoteSystemKindFilter, IRemoteSystemKindFilter_Vtbl, 0x38e1c9ec_22c3_4ef6_901a_bbb1c7aad4ed); #[repr(C)] pub struct IRemoteSystemKindFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -196,7 +196,7 @@ pub struct IRemoteSystemKindFilter_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RemoteSystemKinds: usize, } -windows_core::imp::com_interface!(IRemoteSystemKindFilterFactory, IRemoteSystemKindFilterFactory_Vtbl, 0xa1fb18ee_99ea_40bc_9a39_c670aa804a28); +windows_core::imp::define_interface!(IRemoteSystemKindFilterFactory, IRemoteSystemKindFilterFactory_Vtbl, 0xa1fb18ee_99ea_40bc_9a39_c670aa804a28); #[repr(C)] pub struct IRemoteSystemKindFilterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -205,7 +205,7 @@ pub struct IRemoteSystemKindFilterFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Create: usize, } -windows_core::imp::com_interface!(IRemoteSystemKindStatics, IRemoteSystemKindStatics_Vtbl, 0xf6317633_ab14_41d0_9553_796aadb882db); +windows_core::imp::define_interface!(IRemoteSystemKindStatics, IRemoteSystemKindStatics_Vtbl, 0xf6317633_ab14_41d0_9553_796aadb882db); #[repr(C)] pub struct IRemoteSystemKindStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -215,7 +215,7 @@ pub struct IRemoteSystemKindStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IRemoteSystemKindStatics2, IRemoteSystemKindStatics2_Vtbl, 0xb9e3a3d0_0466_4749_91e8_65f9d19a96a5); +windows_core::imp::define_interface!(IRemoteSystemKindStatics2, IRemoteSystemKindStatics2_Vtbl, 0xb9e3a3d0_0466_4749_91e8_65f9d19a96a5); #[repr(C)] pub struct IRemoteSystemKindStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -223,13 +223,13 @@ pub struct IRemoteSystemKindStatics2_Vtbl { 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, } -windows_core::imp::com_interface!(IRemoteSystemRemovedEventArgs, IRemoteSystemRemovedEventArgs_Vtbl, 0x8b3d16bb_7306_49ea_b7df_67d5714cb013); +windows_core::imp::define_interface!(IRemoteSystemRemovedEventArgs, IRemoteSystemRemovedEventArgs_Vtbl, 0x8b3d16bb_7306_49ea_b7df_67d5714cb013); #[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, } -windows_core::imp::com_interface!(IRemoteSystemSession, IRemoteSystemSession_Vtbl, 0x69476a01_9ada_490f_9549_d31cb14c9e95); +windows_core::imp::define_interface!(IRemoteSystemSession, IRemoteSystemSession_Vtbl, 0x69476a01_9ada_490f_9549_d31cb14c9e95); #[repr(C)] pub struct IRemoteSystemSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -241,13 +241,13 @@ pub struct IRemoteSystemSession_Vtbl { pub CreateParticipantWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SendInvitationAsync: 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::com_interface!(IRemoteSystemSessionAddedEventArgs, IRemoteSystemSessionAddedEventArgs_Vtbl, 0xd585d754_bc97_4c39_99b4_beca76e04c3f); +windows_core::imp::define_interface!(IRemoteSystemSessionAddedEventArgs, IRemoteSystemSessionAddedEventArgs_Vtbl, 0xd585d754_bc97_4c39_99b4_beca76e04c3f); #[repr(C)] pub struct IRemoteSystemSessionAddedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SessionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionController, IRemoteSystemSessionController_Vtbl, 0xe48b2dd2_6820_4867_b425_d89c0a3ef7ba); +windows_core::imp::define_interface!(IRemoteSystemSessionController, IRemoteSystemSessionController_Vtbl, 0xe48b2dd2_6820_4867_b425_d89c0a3ef7ba); #[repr(C)] pub struct IRemoteSystemSessionController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -256,27 +256,27 @@ pub struct IRemoteSystemSessionController_Vtbl { pub RemoveParticipantAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateSessionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionControllerFactory, IRemoteSystemSessionControllerFactory_Vtbl, 0xbfcc2f6b_ac3d_4199_82cd_6670a773ef2e); +windows_core::imp::define_interface!(IRemoteSystemSessionControllerFactory, IRemoteSystemSessionControllerFactory_Vtbl, 0xbfcc2f6b_ac3d_4199_82cd_6670a773ef2e); #[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, } -windows_core::imp::com_interface!(IRemoteSystemSessionCreationResult, IRemoteSystemSessionCreationResult_Vtbl, 0xa79812c2_37de_448c_8b83_a30aa3c4ead6); +windows_core::imp::define_interface!(IRemoteSystemSessionCreationResult, IRemoteSystemSessionCreationResult_Vtbl, 0xa79812c2_37de_448c_8b83_a30aa3c4ead6); #[repr(C)] pub struct IRemoteSystemSessionCreationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RemoteSystemSessionCreationStatus) -> windows_core::HRESULT, pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionDisconnectedEventArgs, IRemoteSystemSessionDisconnectedEventArgs_Vtbl, 0xde0bc69b_77c5_461c_8209_7c6c5d3111ab); +windows_core::imp::define_interface!(IRemoteSystemSessionDisconnectedEventArgs, IRemoteSystemSessionDisconnectedEventArgs_Vtbl, 0xde0bc69b_77c5_461c_8209_7c6c5d3111ab); #[repr(C)] pub struct IRemoteSystemSessionDisconnectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RemoteSystemSessionDisconnectedReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionInfo, IRemoteSystemSessionInfo_Vtbl, 0xff4df648_8b0a_4e9a_9905_69e4b841c588); +windows_core::imp::define_interface!(IRemoteSystemSessionInfo, IRemoteSystemSessionInfo_Vtbl, 0xff4df648_8b0a_4e9a_9905_69e4b841c588); #[repr(C)] pub struct IRemoteSystemSessionInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -284,48 +284,48 @@ pub struct IRemoteSystemSessionInfo_Vtbl { pub ControllerDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IRemoteSystemSessionInvitation, IRemoteSystemSessionInvitation_Vtbl, 0x3e32cc91_51d7_4766_a121_25516c3b8294); +windows_core::imp::define_interface!(IRemoteSystemSessionInvitation, IRemoteSystemSessionInvitation_Vtbl, 0x3e32cc91_51d7_4766_a121_25516c3b8294); #[repr(C)] pub struct IRemoteSystemSessionInvitation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Sender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SessionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionInvitationListener, IRemoteSystemSessionInvitationListener_Vtbl, 0x08f4003f_bc71_49e1_874a_31ddff9a27b9); +windows_core::imp::define_interface!(IRemoteSystemSessionInvitationListener, IRemoteSystemSessionInvitationListener_Vtbl, 0x08f4003f_bc71_49e1_874a_31ddff9a27b9); #[repr(C)] pub struct IRemoteSystemSessionInvitationListener_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InvitationReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveInvitationReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionInvitationReceivedEventArgs, IRemoteSystemSessionInvitationReceivedEventArgs_Vtbl, 0x5e964a2d_a10d_4edb_8dea_54d20ac19543); +windows_core::imp::define_interface!(IRemoteSystemSessionInvitationReceivedEventArgs, IRemoteSystemSessionInvitationReceivedEventArgs_Vtbl, 0x5e964a2d_a10d_4edb_8dea_54d20ac19543); #[repr(C)] pub struct IRemoteSystemSessionInvitationReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Invitation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionJoinRequest, IRemoteSystemSessionJoinRequest_Vtbl, 0x20600068_7994_4331_86d1_d89d882585ee); +windows_core::imp::define_interface!(IRemoteSystemSessionJoinRequest, IRemoteSystemSessionJoinRequest_Vtbl, 0x20600068_7994_4331_86d1_d89d882585ee); #[repr(C)] pub struct IRemoteSystemSessionJoinRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Participant: 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) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionJoinRequestedEventArgs, IRemoteSystemSessionJoinRequestedEventArgs_Vtbl, 0xdbca4fc3_82b9_4816_9c24_e40e61774bd8); +windows_core::imp::define_interface!(IRemoteSystemSessionJoinRequestedEventArgs, IRemoteSystemSessionJoinRequestedEventArgs_Vtbl, 0xdbca4fc3_82b9_4816_9c24_e40e61774bd8); #[repr(C)] pub struct IRemoteSystemSessionJoinRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub JoinRequest: unsafe extern "system" fn(*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::com_interface!(IRemoteSystemSessionJoinResult, IRemoteSystemSessionJoinResult_Vtbl, 0xce7b1f04_a03e_41a4_900b_1e79328c1267); +windows_core::imp::define_interface!(IRemoteSystemSessionJoinResult, IRemoteSystemSessionJoinResult_Vtbl, 0xce7b1f04_a03e_41a4_900b_1e79328c1267); #[repr(C)] pub struct IRemoteSystemSessionJoinResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RemoteSystemSessionJoinStatus) -> windows_core::HRESULT, pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionMessageChannel, IRemoteSystemSessionMessageChannel_Vtbl, 0x9524d12a_73d9_4c10_b751_c26784437127); +windows_core::imp::define_interface!(IRemoteSystemSessionMessageChannel, IRemoteSystemSessionMessageChannel_Vtbl, 0x9524d12a_73d9_4c10_b751_c26784437127); #[repr(C)] pub struct IRemoteSystemSessionMessageChannel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -345,21 +345,21 @@ pub struct IRemoteSystemSessionMessageChannel_Vtbl { pub ValueSetReceived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveValueSetReceived: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionMessageChannelFactory, IRemoteSystemSessionMessageChannelFactory_Vtbl, 0x295e1c4a_bd16_4298_b7ce_415482b0e11d); +windows_core::imp::define_interface!(IRemoteSystemSessionMessageChannelFactory, IRemoteSystemSessionMessageChannelFactory_Vtbl, 0x295e1c4a_bd16_4298_b7ce_415482b0e11d); #[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, } -windows_core::imp::com_interface!(IRemoteSystemSessionOptions, IRemoteSystemSessionOptions_Vtbl, 0x740ed755_8418_4f01_9353_e21c9ecc6cfc); +windows_core::imp::define_interface!(IRemoteSystemSessionOptions, IRemoteSystemSessionOptions_Vtbl, 0x740ed755_8418_4f01_9353_e21c9ecc6cfc); #[repr(C)] pub struct IRemoteSystemSessionOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsInviteOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsInviteOnly: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionParticipant, IRemoteSystemSessionParticipant_Vtbl, 0x7e90058c_acf9_4729_8a17_44e7baed5dcc); +windows_core::imp::define_interface!(IRemoteSystemSessionParticipant, IRemoteSystemSessionParticipant_Vtbl, 0x7e90058c_acf9_4729_8a17_44e7baed5dcc); #[repr(C)] pub struct IRemoteSystemSessionParticipant_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -369,19 +369,19 @@ pub struct IRemoteSystemSessionParticipant_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Networking")))] GetHostNames: usize, } -windows_core::imp::com_interface!(IRemoteSystemSessionParticipantAddedEventArgs, IRemoteSystemSessionParticipantAddedEventArgs_Vtbl, 0xd35a57d8_c9a1_4bb7_b6b0_79bb91adf93d); +windows_core::imp::define_interface!(IRemoteSystemSessionParticipantAddedEventArgs, IRemoteSystemSessionParticipantAddedEventArgs_Vtbl, 0xd35a57d8_c9a1_4bb7_b6b0_79bb91adf93d); #[repr(C)] pub struct IRemoteSystemSessionParticipantAddedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Participant: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionParticipantRemovedEventArgs, IRemoteSystemSessionParticipantRemovedEventArgs_Vtbl, 0x866ef088_de68_4abf_88a1_f90d16274192); +windows_core::imp::define_interface!(IRemoteSystemSessionParticipantRemovedEventArgs, IRemoteSystemSessionParticipantRemovedEventArgs_Vtbl, 0x866ef088_de68_4abf_88a1_f90d16274192); #[repr(C)] pub struct IRemoteSystemSessionParticipantRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Participant: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionParticipantWatcher, IRemoteSystemSessionParticipantWatcher_Vtbl, 0xdcdd02cc_aa87_4d79_b6cc_4459b3e92075); +windows_core::imp::define_interface!(IRemoteSystemSessionParticipantWatcher, IRemoteSystemSessionParticipantWatcher_Vtbl, 0xdcdd02cc_aa87_4d79_b6cc_4459b3e92075); #[repr(C)] pub struct IRemoteSystemSessionParticipantWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -395,25 +395,25 @@ pub struct IRemoteSystemSessionParticipantWatcher_Vtbl { pub EnumerationCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveEnumerationCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionRemovedEventArgs, IRemoteSystemSessionRemovedEventArgs_Vtbl, 0xaf82914e_39a1_4dea_9d63_43798d5bbbd0); +windows_core::imp::define_interface!(IRemoteSystemSessionRemovedEventArgs, IRemoteSystemSessionRemovedEventArgs_Vtbl, 0xaf82914e_39a1_4dea_9d63_43798d5bbbd0); #[repr(C)] pub struct IRemoteSystemSessionRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SessionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionStatics, IRemoteSystemSessionStatics_Vtbl, 0x8524899f_fd20_44e3_9565_e75a3b14c66e); +windows_core::imp::define_interface!(IRemoteSystemSessionStatics, IRemoteSystemSessionStatics_Vtbl, 0x8524899f_fd20_44e3_9565_e75a3b14c66e); #[repr(C)] pub struct IRemoteSystemSessionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionUpdatedEventArgs, IRemoteSystemSessionUpdatedEventArgs_Vtbl, 0x16875069_231e_4c91_8ec8_b3a39d9e55a3); +windows_core::imp::define_interface!(IRemoteSystemSessionUpdatedEventArgs, IRemoteSystemSessionUpdatedEventArgs_Vtbl, 0x16875069_231e_4c91_8ec8_b3a39d9e55a3); #[repr(C)] pub struct IRemoteSystemSessionUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SessionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemSessionValueSetReceivedEventArgs, IRemoteSystemSessionValueSetReceivedEventArgs_Vtbl, 0x06f31785_2da5_4e58_a78f_9e8d0784ee25); +windows_core::imp::define_interface!(IRemoteSystemSessionValueSetReceivedEventArgs, IRemoteSystemSessionValueSetReceivedEventArgs_Vtbl, 0x06f31785_2da5_4e58_a78f_9e8d0784ee25); #[repr(C)] pub struct IRemoteSystemSessionValueSetReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -423,7 +423,7 @@ pub struct IRemoteSystemSessionValueSetReceivedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Message: usize, } -windows_core::imp::com_interface!(IRemoteSystemSessionWatcher, IRemoteSystemSessionWatcher_Vtbl, 0x8003e340_0c41_4a62_b6d7_bdbe2b19be2d); +windows_core::imp::define_interface!(IRemoteSystemSessionWatcher, IRemoteSystemSessionWatcher_Vtbl, 0x8003e340_0c41_4a62_b6d7_bdbe2b19be2d); #[repr(C)] pub struct IRemoteSystemSessionWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -437,7 +437,7 @@ pub struct IRemoteSystemSessionWatcher_Vtbl { pub Removed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemStatics, IRemoteSystemStatics_Vtbl, 0xa485b392_ff2b_4b47_be62_743f2f140f30); +windows_core::imp::define_interface!(IRemoteSystemStatics, IRemoteSystemStatics_Vtbl, 0xa485b392_ff2b_4b47_be62_743f2f140f30); #[repr(C)] pub struct IRemoteSystemStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -452,13 +452,13 @@ pub struct IRemoteSystemStatics_Vtbl { CreateWatcherWithFilters: usize, pub RequestAccessAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemStatics2, IRemoteSystemStatics2_Vtbl, 0x0c98edca_6f99_4c52_a272_ea4f36471744); +windows_core::imp::define_interface!(IRemoteSystemStatics2, IRemoteSystemStatics2_Vtbl, 0x0c98edca_6f99_4c52_a272_ea4f36471744); #[repr(C)] pub struct IRemoteSystemStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsAuthorizationKindEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, RemoteSystemAuthorizationKind, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemStatics3, IRemoteSystemStatics3_Vtbl, 0x9995f16f_0b3c_5ac5_b325_cc73f437dfcd); +windows_core::imp::define_interface!(IRemoteSystemStatics3, IRemoteSystemStatics3_Vtbl, 0x9995f16f_0b3c_5ac5_b325_cc73f437dfcd); #[repr(C)] pub struct IRemoteSystemStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -468,25 +468,25 @@ pub struct IRemoteSystemStatics3_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateWatcherWithFiltersForUser: usize, } -windows_core::imp::com_interface!(IRemoteSystemStatusTypeFilter, IRemoteSystemStatusTypeFilter_Vtbl, 0x0c39514e_cbb6_4777_8534_2e0c521affa2); +windows_core::imp::define_interface!(IRemoteSystemStatusTypeFilter, IRemoteSystemStatusTypeFilter_Vtbl, 0x0c39514e_cbb6_4777_8534_2e0c521affa2); #[repr(C)] pub struct IRemoteSystemStatusTypeFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RemoteSystemStatusType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RemoteSystemStatusType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemStatusTypeFilterFactory, IRemoteSystemStatusTypeFilterFactory_Vtbl, 0x33cf78fa_d724_4125_ac7a_8d281e44c949); +windows_core::imp::define_interface!(IRemoteSystemStatusTypeFilterFactory, IRemoteSystemStatusTypeFilterFactory_Vtbl, 0x33cf78fa_d724_4125_ac7a_8d281e44c949); #[repr(C)] pub struct IRemoteSystemStatusTypeFilterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, RemoteSystemStatusType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemUpdatedEventArgs, IRemoteSystemUpdatedEventArgs_Vtbl, 0x7502ff0e_dbcb_4155_b4ca_b30a04f27627); +windows_core::imp::define_interface!(IRemoteSystemUpdatedEventArgs, IRemoteSystemUpdatedEventArgs_Vtbl, 0x7502ff0e_dbcb_4155_b4ca_b30a04f27627); #[repr(C)] pub struct IRemoteSystemUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RemoteSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemWatcher, IRemoteSystemWatcher_Vtbl, 0x5d600c7e_2c07_48c5_889c_455d2b099771); +windows_core::imp::define_interface!(IRemoteSystemWatcher, IRemoteSystemWatcher_Vtbl, 0x5d600c7e_2c07_48c5_889c_455d2b099771); #[repr(C)] pub struct IRemoteSystemWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -499,7 +499,7 @@ pub struct IRemoteSystemWatcher_Vtbl { pub RemoteSystemRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRemoteSystemRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemWatcher2, IRemoteSystemWatcher2_Vtbl, 0x73436700_19ca_48f9_a4cd_780f7ad58c71); +windows_core::imp::define_interface!(IRemoteSystemWatcher2, IRemoteSystemWatcher2_Vtbl, 0x73436700_19ca_48f9_a4cd_780f7ad58c71); #[repr(C)] pub struct IRemoteSystemWatcher2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -508,19 +508,19 @@ pub struct IRemoteSystemWatcher2_Vtbl { pub ErrorOccurred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveErrorOccurred: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemWatcher3, IRemoteSystemWatcher3_Vtbl, 0xf79c0fcf_a913_55d3_8413_418fcf15ba54); +windows_core::imp::define_interface!(IRemoteSystemWatcher3, IRemoteSystemWatcher3_Vtbl, 0xf79c0fcf_a913_55d3_8413_418fcf15ba54); #[repr(C)] pub struct IRemoteSystemWatcher3_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, } -windows_core::imp::com_interface!(IRemoteSystemWatcherErrorOccurredEventArgs, IRemoteSystemWatcherErrorOccurredEventArgs_Vtbl, 0x74c5c6af_5114_4426_9216_20d81f8519ae); +windows_core::imp::define_interface!(IRemoteSystemWatcherErrorOccurredEventArgs, IRemoteSystemWatcherErrorOccurredEventArgs_Vtbl, 0x74c5c6af_5114_4426_9216_20d81f8519ae); #[repr(C)] pub struct IRemoteSystemWatcherErrorOccurredEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RemoteSystemWatcherError) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemWebAccountFilter, IRemoteSystemWebAccountFilter_Vtbl, 0x3fb75873_87c8_5d8f_977e_f69f96d67238); +windows_core::imp::define_interface!(IRemoteSystemWebAccountFilter, IRemoteSystemWebAccountFilter_Vtbl, 0x3fb75873_87c8_5d8f_977e_f69f96d67238); #[repr(C)] pub struct IRemoteSystemWebAccountFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -529,7 +529,7 @@ pub struct IRemoteSystemWebAccountFilter_Vtbl { #[cfg(not(feature = "Security_Credentials"))] Account: usize, } -windows_core::imp::com_interface!(IRemoteSystemWebAccountFilterFactory, IRemoteSystemWebAccountFilterFactory_Vtbl, 0x348a2709_5f4d_5127_b4a7_bf99d5252b1b); +windows_core::imp::define_interface!(IRemoteSystemWebAccountFilterFactory, IRemoteSystemWebAccountFilterFactory_Vtbl, 0x348a2709_5f4d_5127_b4a7_bf99d5252b1b); #[repr(C)] pub struct IRemoteSystemWebAccountFilterFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 d9f8f93818..9c125850e5 100644 --- a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs @@ -1,10 +1,10 @@ -windows_core::imp::com_interface!(IPreallocatedWorkItem, IPreallocatedWorkItem_Vtbl, 0xb6daa9fc_bc5b_401a_a8b2_6e754d14daa6); +windows_core::imp::define_interface!(IPreallocatedWorkItem, IPreallocatedWorkItem_Vtbl, 0xb6daa9fc_bc5b_401a_a8b2_6e754d14daa6); #[repr(C)] pub struct IPreallocatedWorkItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RunAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPreallocatedWorkItemFactory, IPreallocatedWorkItemFactory_Vtbl, 0xe3d32b45_dfea_469b_82c5_f6e3cefdeafb); +windows_core::imp::define_interface!(IPreallocatedWorkItemFactory, IPreallocatedWorkItemFactory_Vtbl, 0xe3d32b45_dfea_469b_82c5_f6e3cefdeafb); #[repr(C)] pub struct IPreallocatedWorkItemFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -12,14 +12,14 @@ pub struct IPreallocatedWorkItemFactory_Vtbl { pub CreateWorkItemWithPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::WorkItemPriority, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWorkItemWithPriorityAndOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::WorkItemPriority, super::WorkItemOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISignalNotifier, ISignalNotifier_Vtbl, 0x14285e06_63a7_4713_b6d9_62f64b56fb8b); +windows_core::imp::define_interface!(ISignalNotifier, ISignalNotifier_Vtbl, 0x14285e06_63a7_4713_b6d9_62f64b56fb8b); #[repr(C)] pub struct ISignalNotifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISignalNotifierStatics, ISignalNotifierStatics_Vtbl, 0x1c4e4566_8400_46d3_a115_7d0c0dfc9f62); +windows_core::imp::define_interface!(ISignalNotifierStatics, ISignalNotifierStatics_Vtbl, 0x1c4e4566_8400_46d3_a115_7d0c0dfc9f62); #[repr(C)] pub struct ISignalNotifierStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -152,7 +152,7 @@ impl windows_core::RuntimeName for SignalNotifier { } unsafe impl Send for SignalNotifier {} unsafe impl Sync for SignalNotifier {} -windows_core::imp::com_interface!(SignalHandler, SignalHandler_Vtbl, 0x923c402e_4721_440e_9dda_55b6f2e07710); +windows_core::imp::define_interface!(SignalHandler, SignalHandler_Vtbl, 0x923c402e_4721_440e_9dda_55b6f2e07710); impl SignalHandler { pub fn new, bool) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = SignalHandlerBox:: { vtable: &SignalHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/System/Threading/mod.rs b/crates/libs/windows/src/Windows/System/Threading/mod.rs index 007a6ad655..304fbe76da 100644 --- a/crates/libs/windows/src/Windows/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "System_Threading_Core")] pub mod Core; -windows_core::imp::com_interface!(IThreadPoolStatics, IThreadPoolStatics_Vtbl, 0xb6bf67dd_84bd_44f8_ac1c_93ebcb9dba91); +windows_core::imp::define_interface!(IThreadPoolStatics, IThreadPoolStatics_Vtbl, 0xb6bf67dd_84bd_44f8_ac1c_93ebcb9dba91); #[repr(C)] pub struct IThreadPoolStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct IThreadPoolStatics_Vtbl { pub RunWithPriorityAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WorkItemPriority, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RunWithPriorityAndOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WorkItemPriority, WorkItemOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IThreadPoolTimer, IThreadPoolTimer_Vtbl, 0x594ebe78_55ea_4a88_a50d_3402ae1f9cf2); +windows_core::imp::define_interface!(IThreadPoolTimer, IThreadPoolTimer_Vtbl, 0x594ebe78_55ea_4a88_a50d_3402ae1f9cf2); #[repr(C)] pub struct IThreadPoolTimer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -16,7 +16,7 @@ pub struct IThreadPoolTimer_Vtbl { pub Delay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IThreadPoolTimerStatics, IThreadPoolTimerStatics_Vtbl, 0x1a8a9d02_e482_461b_b8c7_8efad1cce590); +windows_core::imp::define_interface!(IThreadPoolTimerStatics, IThreadPoolTimerStatics_Vtbl, 0x1a8a9d02_e482_461b_b8c7_8efad1cce590); #[repr(C)] pub struct IThreadPoolTimerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -212,7 +212,7 @@ impl core::fmt::Debug for WorkItemPriority { impl windows_core::RuntimeType for WorkItemPriority { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.System.Threading.WorkItemPriority;i4)"); } -windows_core::imp::com_interface!(TimerDestroyedHandler, TimerDestroyedHandler_Vtbl, 0x34ed19fa_8384_4eb9_8209_fb5094eeec35); +windows_core::imp::define_interface!(TimerDestroyedHandler, TimerDestroyedHandler_Vtbl, 0x34ed19fa_8384_4eb9_8209_fb5094eeec35); impl TimerDestroyedHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = TimerDestroyedHandlerBox:: { vtable: &TimerDestroyedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -272,7 +272,7 @@ pub struct TimerDestroyedHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(TimerElapsedHandler, TimerElapsedHandler_Vtbl, 0xfaaea667_fbeb_49cb_adb2_71184c556e43); +windows_core::imp::define_interface!(TimerElapsedHandler, TimerElapsedHandler_Vtbl, 0xfaaea667_fbeb_49cb_adb2_71184c556e43); impl TimerElapsedHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = TimerElapsedHandlerBox:: { vtable: &TimerElapsedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -332,7 +332,7 @@ pub struct TimerElapsedHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(WorkItemHandler, WorkItemHandler_Vtbl, 0x1d1a8b8b_fa66_414f_9cbd_b65fc99d17fa); +windows_core::imp::define_interface!(WorkItemHandler, WorkItemHandler_Vtbl, 0x1d1a8b8b_fa66_414f_9cbd_b65fc99d17fa); impl WorkItemHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = WorkItemHandlerBox:: { vtable: &WorkItemHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/System/Update/mod.rs b/crates/libs/windows/src/Windows/System/Update/mod.rs index 1f5e41b6f4..c6d3758533 100644 --- a/crates/libs/windows/src/Windows/System/Update/mod.rs +++ b/crates/libs/windows/src/Windows/System/Update/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISystemUpdateItem, ISystemUpdateItem_Vtbl, 0x779740eb_5624_519e_a8e2_09e9173b3fb7); +windows_core::imp::define_interface!(ISystemUpdateItem, ISystemUpdateItem_Vtbl, 0x779740eb_5624_519e_a8e2_09e9173b3fb7); #[repr(C)] pub struct ISystemUpdateItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,7 +11,7 @@ pub struct ISystemUpdateItem_Vtbl { pub InstallProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemUpdateLastErrorInfo, ISystemUpdateLastErrorInfo_Vtbl, 0x7ee887f7_8a44_5b6e_bd07_7aece4116ea9); +windows_core::imp::define_interface!(ISystemUpdateLastErrorInfo, ISystemUpdateLastErrorInfo_Vtbl, 0x7ee887f7_8a44_5b6e_bd07_7aece4116ea9); #[repr(C)] pub struct ISystemUpdateLastErrorInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,7 +19,7 @@ pub struct ISystemUpdateLastErrorInfo_Vtbl { pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub IsInteractive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemUpdateManagerStatics, ISystemUpdateManagerStatics_Vtbl, 0xb2d3fcef_2971_51be_b41a_8bd703bb701a); +windows_core::imp::define_interface!(ISystemUpdateManagerStatics, ISystemUpdateManagerStatics_Vtbl, 0xb2d3fcef_2971_51be_b41a_8bd703bb701a); #[repr(C)] pub struct ISystemUpdateManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs index 3e96aae95b..897299d463 100644 --- a/crates/libs/windows/src/Windows/System/UserProfile/mod.rs +++ b/crates/libs/windows/src/Windows/System/UserProfile/mod.rs @@ -1,23 +1,23 @@ -windows_core::imp::com_interface!(IAdvertisingManagerForUser, IAdvertisingManagerForUser_Vtbl, 0x928bf3d0_cf7c_4ab0_a7dc_6dc5bcd44252); +windows_core::imp::define_interface!(IAdvertisingManagerForUser, IAdvertisingManagerForUser_Vtbl, 0x928bf3d0_cf7c_4ab0_a7dc_6dc5bcd44252); #[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 User: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvertisingManagerStatics, IAdvertisingManagerStatics_Vtbl, 0xadd3468c_a273_48cb_b346_3544522d5581); +windows_core::imp::define_interface!(IAdvertisingManagerStatics, IAdvertisingManagerStatics_Vtbl, 0xadd3468c_a273_48cb_b346_3544522d5581); #[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, } -windows_core::imp::com_interface!(IAdvertisingManagerStatics2, IAdvertisingManagerStatics2_Vtbl, 0xdd0947af_1a6d_46b0_95bc_f3f9d6beb9fb); +windows_core::imp::define_interface!(IAdvertisingManagerStatics2, IAdvertisingManagerStatics2_Vtbl, 0xdd0947af_1a6d_46b0_95bc_f3f9d6beb9fb); #[repr(C)] pub struct IAdvertisingManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForUser: 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::com_interface!(IAssignedAccessSettings, IAssignedAccessSettings_Vtbl, 0x1bc57f1c_e971_5757_b8e0_512f8b8c46d2); +windows_core::imp::define_interface!(IAssignedAccessSettings, IAssignedAccessSettings_Vtbl, 0x1bc57f1c_e971_5757_b8e0_512f8b8c46d2); #[repr(C)] pub struct IAssignedAccessSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -25,39 +25,39 @@ pub struct IAssignedAccessSettings_Vtbl { pub IsSingleAppKioskMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> 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::com_interface!(IAssignedAccessSettingsStatics, IAssignedAccessSettingsStatics_Vtbl, 0x34a81d0d_8a29_5ef3_a7be_618e6ac3bd01); +windows_core::imp::define_interface!(IAssignedAccessSettingsStatics, IAssignedAccessSettingsStatics_Vtbl, 0x34a81d0d_8a29_5ef3_a7be_618e6ac3bd01); #[repr(C)] pub struct IAssignedAccessSettingsStatics_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, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDiagnosticsSettings, IDiagnosticsSettings_Vtbl, 0xe5e9eccd_2711_44e0_973c_491d78048d24); +windows_core::imp::define_interface!(IDiagnosticsSettings, IDiagnosticsSettings_Vtbl, 0xe5e9eccd_2711_44e0_973c_491d78048d24); #[repr(C)] pub struct IDiagnosticsSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CanUseDiagnosticsToTailorExperiences: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> 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::com_interface!(IDiagnosticsSettingsStatics, IDiagnosticsSettingsStatics_Vtbl, 0x72d2e80f_5390_4793_990b_3ccc7d6ac9c8); +windows_core::imp::define_interface!(IDiagnosticsSettingsStatics, IDiagnosticsSettingsStatics_Vtbl, 0x72d2e80f_5390_4793_990b_3ccc7d6ac9c8); #[repr(C)] pub struct IDiagnosticsSettingsStatics_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, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFirstSignInSettings, IFirstSignInSettings_Vtbl, 0x3e945153_3a5e_452e_a601_f5baad2a4870); +windows_core::imp::define_interface!(IFirstSignInSettings, IFirstSignInSettings_Vtbl, 0x3e945153_3a5e_452e_a601_f5baad2a4870); #[repr(C)] pub struct IFirstSignInSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IFirstSignInSettingsStatics, IFirstSignInSettingsStatics_Vtbl, 0x1ce18f0f_1c41_4ea0_b7a2_6f0c1c7e8438); +windows_core::imp::define_interface!(IFirstSignInSettingsStatics, IFirstSignInSettingsStatics_Vtbl, 0x1ce18f0f_1c41_4ea0_b7a2_6f0c1c7e8438); #[repr(C)] pub struct IFirstSignInSettingsStatics_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, } -windows_core::imp::com_interface!(IGlobalizationPreferencesForUser, IGlobalizationPreferencesForUser_Vtbl, 0x150f0795_4f6e_40ba_a010_e27d81bda7f5); +windows_core::imp::define_interface!(IGlobalizationPreferencesForUser, IGlobalizationPreferencesForUser_Vtbl, 0x150f0795_4f6e_40ba_a010_e27d81bda7f5); #[repr(C)] pub struct IGlobalizationPreferencesForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -84,7 +84,7 @@ pub struct IGlobalizationPreferencesForUser_Vtbl { #[cfg(not(feature = "Globalization"))] WeekStartsOn: usize, } -windows_core::imp::com_interface!(IGlobalizationPreferencesStatics, IGlobalizationPreferencesStatics_Vtbl, 0x01bf4326_ed37_4e96_b0e9_c1340d1ea158); +windows_core::imp::define_interface!(IGlobalizationPreferencesStatics, IGlobalizationPreferencesStatics_Vtbl, 0x01bf4326_ed37_4e96_b0e9_c1340d1ea158); #[repr(C)] pub struct IGlobalizationPreferencesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -110,7 +110,7 @@ pub struct IGlobalizationPreferencesStatics_Vtbl { #[cfg(not(feature = "Globalization"))] WeekStartsOn: usize, } -windows_core::imp::com_interface!(IGlobalizationPreferencesStatics2, IGlobalizationPreferencesStatics2_Vtbl, 0xfcce85f1_4300_4cd0_9cac_1a8e7b7e18f4); +windows_core::imp::define_interface!(IGlobalizationPreferencesStatics2, IGlobalizationPreferencesStatics2_Vtbl, 0xfcce85f1_4300_4cd0_9cac_1a8e7b7e18f4); #[repr(C)] pub struct IGlobalizationPreferencesStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -120,20 +120,20 @@ pub struct IGlobalizationPreferencesStatics2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] TrySetLanguages: usize, } -windows_core::imp::com_interface!(IGlobalizationPreferencesStatics3, IGlobalizationPreferencesStatics3_Vtbl, 0x1e059733_35f5_40d8_b9e8_aef3ef856fce); +windows_core::imp::define_interface!(IGlobalizationPreferencesStatics3, IGlobalizationPreferencesStatics3_Vtbl, 0x1e059733_35f5_40d8_b9e8_aef3ef856fce); #[repr(C)] pub struct IGlobalizationPreferencesStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForUser: 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::com_interface!(ILockScreenImageFeedStatics, ILockScreenImageFeedStatics_Vtbl, 0x2c0d73f6_03a9_41a6_9b01_495251ff51d5); +windows_core::imp::define_interface!(ILockScreenImageFeedStatics, ILockScreenImageFeedStatics_Vtbl, 0x2c0d73f6_03a9_41a6_9b01_495251ff51d5); #[repr(C)] pub struct ILockScreenImageFeedStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestSetImageFeedAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryRemoveImageFeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILockScreenStatics, ILockScreenStatics_Vtbl, 0x3ee9d3ad_b607_40ae_b426_7631d9821269); +windows_core::imp::define_interface!(ILockScreenStatics, ILockScreenStatics_Vtbl, 0x3ee9d3ad_b607_40ae_b426_7631d9821269); #[repr(C)] pub struct ILockScreenStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -152,7 +152,7 @@ pub struct ILockScreenStatics_Vtbl { SetImageStreamAsync: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IUserInformationStatics, IUserInformationStatics_Vtbl, 0x77f3a910_48fa_489c_934e_2ae85ba8f772); +windows_core::imp::define_interface!(IUserInformationStatics, IUserInformationStatics_Vtbl, 0x77f3a910_48fa_489c_934e_2ae85ba8f772); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IUserInformationStatics_Vtbl { @@ -218,7 +218,7 @@ pub struct IUserInformationStatics_Vtbl { #[cfg(not(feature = "deprecated"))] GetDomainNameAsync: usize, } -windows_core::imp::com_interface!(IUserProfilePersonalizationSettings, IUserProfilePersonalizationSettings_Vtbl, 0x8ceddab4_7998_46d5_8dd3_184f1c5f9ab9); +windows_core::imp::define_interface!(IUserProfilePersonalizationSettings, IUserProfilePersonalizationSettings_Vtbl, 0x8ceddab4_7998_46d5_8dd3_184f1c5f9ab9); #[repr(C)] pub struct IUserProfilePersonalizationSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -231,7 +231,7 @@ pub struct IUserProfilePersonalizationSettings_Vtbl { #[cfg(not(feature = "Storage"))] TrySetWallpaperImageAsync: usize, } -windows_core::imp::com_interface!(IUserProfilePersonalizationSettingsStatics, IUserProfilePersonalizationSettingsStatics_Vtbl, 0x91acb841_5037_454b_9883_bb772d08dd16); +windows_core::imp::define_interface!(IUserProfilePersonalizationSettingsStatics, IUserProfilePersonalizationSettingsStatics_Vtbl, 0x91acb841_5037_454b_9883_bb772d08dd16); #[repr(C)] pub struct IUserProfilePersonalizationSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/System/mod.rs b/crates/libs/windows/src/Windows/System/mod.rs index c4c3a61426..2602b1383d 100644 --- a/crates/libs/windows/src/Windows/System/mod.rs +++ b/crates/libs/windows/src/Windows/System/mod.rs @@ -20,14 +20,14 @@ pub mod Threading; pub mod Update; #[cfg(feature = "System_UserProfile")] pub mod UserProfile; -windows_core::imp::com_interface!(IAppActivationResult, IAppActivationResult_Vtbl, 0x6b528900_f46e_4eb0_aa6c_38af557cf9ed); +windows_core::imp::define_interface!(IAppActivationResult, IAppActivationResult_Vtbl, 0x6b528900_f46e_4eb0_aa6c_38af557cf9ed); #[repr(C)] pub struct IAppActivationResult_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 AppResourceGroupInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppDiagnosticInfo, IAppDiagnosticInfo_Vtbl, 0xe348a69a_8889_4ca3_be07_d5ffff5f0804); +windows_core::imp::define_interface!(IAppDiagnosticInfo, IAppDiagnosticInfo_Vtbl, 0xe348a69a_8889_4ca3_be07_d5ffff5f0804); #[repr(C)] pub struct IAppDiagnosticInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -36,7 +36,7 @@ pub struct IAppDiagnosticInfo_Vtbl { #[cfg(not(feature = "ApplicationModel"))] AppInfo: usize, } -windows_core::imp::com_interface!(IAppDiagnosticInfo2, IAppDiagnosticInfo2_Vtbl, 0xdf46fbd7_191a_446c_9473_8fbc2374a354); +windows_core::imp::define_interface!(IAppDiagnosticInfo2, IAppDiagnosticInfo2_Vtbl, 0xdf46fbd7_191a_446c_9473_8fbc2374a354); #[repr(C)] pub struct IAppDiagnosticInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -46,13 +46,13 @@ pub struct IAppDiagnosticInfo2_Vtbl { GetResourceGroups: usize, pub CreateResourceGroupWatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppDiagnosticInfo3, IAppDiagnosticInfo3_Vtbl, 0xc895c63d_dd61_4c65_babd_81a10b4f9815); +windows_core::imp::define_interface!(IAppDiagnosticInfo3, IAppDiagnosticInfo3_Vtbl, 0xc895c63d_dd61_4c65_babd_81a10b4f9815); #[repr(C)] pub struct IAppDiagnosticInfo3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LaunchAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppDiagnosticInfoStatics, IAppDiagnosticInfoStatics_Vtbl, 0xce6925bf_10ca_40c8_a9ca_c5c96501866e); +windows_core::imp::define_interface!(IAppDiagnosticInfoStatics, IAppDiagnosticInfoStatics_Vtbl, 0xce6925bf_10ca_40c8_a9ca_c5c96501866e); #[repr(C)] pub struct IAppDiagnosticInfoStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -61,7 +61,7 @@ pub struct IAppDiagnosticInfoStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RequestInfoAsync: usize, } -windows_core::imp::com_interface!(IAppDiagnosticInfoStatics2, IAppDiagnosticInfoStatics2_Vtbl, 0x05b24b86_1000_4c90_bb9f_7235071c50fe); +windows_core::imp::define_interface!(IAppDiagnosticInfoStatics2, IAppDiagnosticInfoStatics2_Vtbl, 0x05b24b86_1000_4c90_bb9f_7235071c50fe); #[repr(C)] pub struct IAppDiagnosticInfoStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -80,7 +80,7 @@ pub struct IAppDiagnosticInfoStatics2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RequestInfoForAppUserModelId: usize, } -windows_core::imp::com_interface!(IAppDiagnosticInfoWatcher, IAppDiagnosticInfoWatcher_Vtbl, 0x75575070_01d3_489a_9325_52f9cc6ede0a); +windows_core::imp::define_interface!(IAppDiagnosticInfoWatcher, IAppDiagnosticInfoWatcher_Vtbl, 0x75575070_01d3_489a_9325_52f9cc6ede0a); #[repr(C)] pub struct IAppDiagnosticInfoWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -96,19 +96,19 @@ pub struct IAppDiagnosticInfoWatcher_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IAppDiagnosticInfoWatcherEventArgs, IAppDiagnosticInfoWatcherEventArgs_Vtbl, 0x7017c716_e1da_4c65_99df_046dff5be71a); +windows_core::imp::define_interface!(IAppDiagnosticInfoWatcherEventArgs, IAppDiagnosticInfoWatcherEventArgs_Vtbl, 0x7017c716_e1da_4c65_99df_046dff5be71a); #[repr(C)] pub struct IAppDiagnosticInfoWatcherEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AppDiagnosticInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppExecutionStateChangeResult, IAppExecutionStateChangeResult_Vtbl, 0x6f039bf0_f91b_4df8_ae77_3033ccb69114); +windows_core::imp::define_interface!(IAppExecutionStateChangeResult, IAppExecutionStateChangeResult_Vtbl, 0x6f039bf0_f91b_4df8_ae77_3033ccb69114); #[repr(C)] pub struct IAppExecutionStateChangeResult_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, } -windows_core::imp::com_interface!(IAppMemoryReport, IAppMemoryReport_Vtbl, 0x6d65339b_4d6f_45bc_9c5e_e49b3ff2758d); +windows_core::imp::define_interface!(IAppMemoryReport, IAppMemoryReport_Vtbl, 0x6d65339b_4d6f_45bc_9c5e_e49b3ff2758d); #[repr(C)] pub struct IAppMemoryReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -117,20 +117,20 @@ pub struct IAppMemoryReport_Vtbl { pub TotalCommitUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub TotalCommitLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppMemoryReport2, IAppMemoryReport2_Vtbl, 0x5f7f3738_51b7_42dc_b7ed_79ba46d28857); +windows_core::imp::define_interface!(IAppMemoryReport2, IAppMemoryReport2_Vtbl, 0x5f7f3738_51b7_42dc_b7ed_79ba46d28857); #[repr(C)] pub struct IAppMemoryReport2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ExpectedTotalCommitLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppMemoryUsageLimitChangingEventArgs, IAppMemoryUsageLimitChangingEventArgs_Vtbl, 0x79f86664_feca_4da5_9e40_2bc63efdc979); +windows_core::imp::define_interface!(IAppMemoryUsageLimitChangingEventArgs, IAppMemoryUsageLimitChangingEventArgs_Vtbl, 0x79f86664_feca_4da5_9e40_2bc63efdc979); #[repr(C)] pub struct IAppMemoryUsageLimitChangingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OldLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub NewLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppResourceGroupBackgroundTaskReport, IAppResourceGroupBackgroundTaskReport_Vtbl, 0x2566e74e_b05d_40c2_9dc1_1a4f039ea120); +windows_core::imp::define_interface!(IAppResourceGroupBackgroundTaskReport, IAppResourceGroupBackgroundTaskReport_Vtbl, 0x2566e74e_b05d_40c2_9dc1_1a4f039ea120); #[repr(C)] pub struct IAppResourceGroupBackgroundTaskReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -139,7 +139,7 @@ pub struct IAppResourceGroupBackgroundTaskReport_Vtbl { 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, } -windows_core::imp::com_interface!(IAppResourceGroupInfo, IAppResourceGroupInfo_Vtbl, 0xb913f77a_e807_49f4_845e_7b8bdcfe8ee7); +windows_core::imp::define_interface!(IAppResourceGroupInfo, IAppResourceGroupInfo_Vtbl, 0xb913f77a_e807_49f4_845e_7b8bdcfe8ee7); #[repr(C)] pub struct IAppResourceGroupInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -156,7 +156,7 @@ pub struct IAppResourceGroupInfo_Vtbl { GetProcessDiagnosticInfos: usize, pub GetStateReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppResourceGroupInfo2, IAppResourceGroupInfo2_Vtbl, 0xee9b236d_d305_4d6b_92f7_6afdad72dedc); +windows_core::imp::define_interface!(IAppResourceGroupInfo2, IAppResourceGroupInfo2_Vtbl, 0xee9b236d_d305_4d6b_92f7_6afdad72dedc); #[repr(C)] pub struct IAppResourceGroupInfo2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -164,7 +164,7 @@ pub struct IAppResourceGroupInfo2_Vtbl { pub StartResumeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub StartTerminateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppResourceGroupInfoWatcher, IAppResourceGroupInfoWatcher_Vtbl, 0xd9b0a0fd_6e5a_4c72_8b17_09fec4a212bd); +windows_core::imp::define_interface!(IAppResourceGroupInfoWatcher, IAppResourceGroupInfoWatcher_Vtbl, 0xd9b0a0fd_6e5a_4c72_8b17_09fec4a212bd); #[repr(C)] pub struct IAppResourceGroupInfoWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -182,7 +182,7 @@ pub struct IAppResourceGroupInfoWatcher_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IAppResourceGroupInfoWatcherEventArgs, IAppResourceGroupInfoWatcherEventArgs_Vtbl, 0x7a787637_6302_4d2f_bf89_1c12d0b2a6b9); +windows_core::imp::define_interface!(IAppResourceGroupInfoWatcherEventArgs, IAppResourceGroupInfoWatcherEventArgs_Vtbl, 0x7a787637_6302_4d2f_bf89_1c12d0b2a6b9); #[repr(C)] pub struct IAppResourceGroupInfoWatcherEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -192,7 +192,7 @@ pub struct IAppResourceGroupInfoWatcherEventArgs_Vtbl { AppDiagnosticInfos: usize, pub AppResourceGroupInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs, IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_Vtbl, 0x1bdbedd7_fee6_4fd4_98dd_e92a2cc299f3); +windows_core::imp::define_interface!(IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs, IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_Vtbl, 0x1bdbedd7_fee6_4fd4_98dd_e92a2cc299f3); #[repr(C)] pub struct IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -202,7 +202,7 @@ pub struct IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs_Vtbl { AppDiagnosticInfos: usize, pub AppResourceGroupInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppResourceGroupMemoryReport, IAppResourceGroupMemoryReport_Vtbl, 0x2c8c06b1_7db1_4c51_a225_7fae2d49e431); +windows_core::imp::define_interface!(IAppResourceGroupMemoryReport, IAppResourceGroupMemoryReport_Vtbl, 0x2c8c06b1_7db1_4c51_a225_7fae2d49e431); #[repr(C)] pub struct IAppResourceGroupMemoryReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -211,34 +211,34 @@ pub struct IAppResourceGroupMemoryReport_Vtbl { pub PrivateCommitUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub TotalCommitUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppResourceGroupStateReport, IAppResourceGroupStateReport_Vtbl, 0x52849f18_2f70_4236_ab40_d04db0c7b931); +windows_core::imp::define_interface!(IAppResourceGroupStateReport, IAppResourceGroupStateReport_Vtbl, 0x52849f18_2f70_4236_ab40_d04db0c7b931); #[repr(C)] pub struct IAppResourceGroupStateReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ExecutionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppResourceGroupExecutionState) -> windows_core::HRESULT, pub EnergyQuotaState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppResourceGroupEnergyQuotaState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppUriHandlerHost, IAppUriHandlerHost_Vtbl, 0x5d50cac5_92d2_5409_b56f_7f73e10ea4c3); +windows_core::imp::define_interface!(IAppUriHandlerHost, IAppUriHandlerHost_Vtbl, 0x5d50cac5_92d2_5409_b56f_7f73e10ea4c3); #[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, } -windows_core::imp::com_interface!(IAppUriHandlerHost2, IAppUriHandlerHost2_Vtbl, 0x3a0bee95_29e4_51bf_8095_a3c068e3c72a); +windows_core::imp::define_interface!(IAppUriHandlerHost2, IAppUriHandlerHost2_Vtbl, 0x3a0bee95_29e4_51bf_8095_a3c068e3c72a); #[repr(C)] pub struct IAppUriHandlerHost2_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, } -windows_core::imp::com_interface!(IAppUriHandlerHostFactory, IAppUriHandlerHostFactory_Vtbl, 0x257c3c96_ce04_5f98_96bb_3ebd3e9275bb); +windows_core::imp::define_interface!(IAppUriHandlerHostFactory, IAppUriHandlerHostFactory_Vtbl, 0x257c3c96_ce04_5f98_96bb_3ebd3e9275bb); #[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, } -windows_core::imp::com_interface!(IAppUriHandlerRegistration, IAppUriHandlerRegistration_Vtbl, 0x6f73aeb1_4569_5c3f_9ba0_99123eea32c3); +windows_core::imp::define_interface!(IAppUriHandlerRegistration, IAppUriHandlerRegistration_Vtbl, 0x6f73aeb1_4569_5c3f_9ba0_99123eea32c3); #[repr(C)] pub struct IAppUriHandlerRegistration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -253,7 +253,7 @@ pub struct IAppUriHandlerRegistration_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SetAppAddedHostsAsync: usize, } -windows_core::imp::com_interface!(IAppUriHandlerRegistration2, IAppUriHandlerRegistration2_Vtbl, 0xd54dac97_cb39_5f1f_883e_01853730bd6d); +windows_core::imp::define_interface!(IAppUriHandlerRegistration2, IAppUriHandlerRegistration2_Vtbl, 0xd54dac97_cb39_5f1f_883e_01853730bd6d); #[repr(C)] pub struct IAppUriHandlerRegistration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -267,40 +267,40 @@ pub struct IAppUriHandlerRegistration2_Vtbl { UpdateHosts: usize, pub PackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppUriHandlerRegistrationManager, IAppUriHandlerRegistrationManager_Vtbl, 0xe62c9a52_ac94_5750_ac1b_6cfb6f250263); +windows_core::imp::define_interface!(IAppUriHandlerRegistrationManager, IAppUriHandlerRegistrationManager_Vtbl, 0xe62c9a52_ac94_5750_ac1b_6cfb6f250263); #[repr(C)] 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, } -windows_core::imp::com_interface!(IAppUriHandlerRegistrationManager2, IAppUriHandlerRegistrationManager2_Vtbl, 0xbddfcaf1_b51a_5e69_aefd_7088d9f2b123); +windows_core::imp::define_interface!(IAppUriHandlerRegistrationManager2, IAppUriHandlerRegistrationManager2_Vtbl, 0xbddfcaf1_b51a_5e69_aefd_7088d9f2b123); #[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, } -windows_core::imp::com_interface!(IAppUriHandlerRegistrationManagerStatics, IAppUriHandlerRegistrationManagerStatics_Vtbl, 0xd5cedd9f_5729_5b76_a1d4_0285f295c124); +windows_core::imp::define_interface!(IAppUriHandlerRegistrationManagerStatics, IAppUriHandlerRegistrationManagerStatics_Vtbl, 0xd5cedd9f_5729_5b76_a1d4_0285f295c124); #[repr(C)] pub struct IAppUriHandlerRegistrationManagerStatics_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, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppUriHandlerRegistrationManagerStatics2, IAppUriHandlerRegistrationManagerStatics2_Vtbl, 0x14f78379_6890_5080_90a7_98824a7f079e); +windows_core::imp::define_interface!(IAppUriHandlerRegistrationManagerStatics2, IAppUriHandlerRegistrationManagerStatics2_Vtbl, 0x14f78379_6890_5080_90a7_98824a7f079e); #[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, } -windows_core::imp::com_interface!(IDateTimeSettingsStatics, IDateTimeSettingsStatics_Vtbl, 0x5d2150d1_47ee_48ab_a52b_9f1954278d82); +windows_core::imp::define_interface!(IDateTimeSettingsStatics, IDateTimeSettingsStatics_Vtbl, 0x5d2150d1_47ee_48ab_a52b_9f1954278d82); #[repr(C)] pub struct IDateTimeSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetSystemDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDispatcherQueue, IDispatcherQueue_Vtbl, 0x603e88e4_a338_4ffe_a457_a5cfb9ceb899); +windows_core::imp::define_interface!(IDispatcherQueue, IDispatcherQueue_Vtbl, 0x603e88e4_a338_4ffe_a457_a5cfb9ceb899); #[repr(C)] pub struct IDispatcherQueue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -312,38 +312,38 @@ pub struct IDispatcherQueue_Vtbl { pub ShutdownCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveShutdownCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDispatcherQueue2, IDispatcherQueue2_Vtbl, 0xc822c647_30ef_506e_bd1e_a647ae6675ff); +windows_core::imp::define_interface!(IDispatcherQueue2, IDispatcherQueue2_Vtbl, 0xc822c647_30ef_506e_bd1e_a647ae6675ff); #[repr(C)] pub struct IDispatcherQueue2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub HasThreadAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDispatcherQueueController, IDispatcherQueueController_Vtbl, 0x22f34e66_50db_4e36_a98d_61c01b384d20); +windows_core::imp::define_interface!(IDispatcherQueueController, IDispatcherQueueController_Vtbl, 0x22f34e66_50db_4e36_a98d_61c01b384d20); #[repr(C)] pub struct IDispatcherQueueController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DispatcherQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShutdownQueueAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDispatcherQueueControllerStatics, IDispatcherQueueControllerStatics_Vtbl, 0x0a6c98e0_5198_49a2_a313_3f70d1f13c27); +windows_core::imp::define_interface!(IDispatcherQueueControllerStatics, IDispatcherQueueControllerStatics_Vtbl, 0x0a6c98e0_5198_49a2_a313_3f70d1f13c27); #[repr(C)] pub struct IDispatcherQueueControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateOnDedicatedThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDispatcherQueueShutdownStartingEventArgs, IDispatcherQueueShutdownStartingEventArgs_Vtbl, 0xc4724c4c_ff97_40c0_a226_cc0aaa545e89); +windows_core::imp::define_interface!(IDispatcherQueueShutdownStartingEventArgs, IDispatcherQueueShutdownStartingEventArgs_Vtbl, 0xc4724c4c_ff97_40c0_a226_cc0aaa545e89); #[repr(C)] pub struct IDispatcherQueueShutdownStartingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDispatcherQueueStatics, IDispatcherQueueStatics_Vtbl, 0xa96d83d7_9371_4517_9245_d0824ac12c74); +windows_core::imp::define_interface!(IDispatcherQueueStatics, IDispatcherQueueStatics_Vtbl, 0xa96d83d7_9371_4517_9245_d0824ac12c74); #[repr(C)] pub struct IDispatcherQueueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForCurrentThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDispatcherQueueTimer, IDispatcherQueueTimer_Vtbl, 0x5feabb1d_a31c_4727_b1ac_37454649d56a); +windows_core::imp::define_interface!(IDispatcherQueueTimer, IDispatcherQueueTimer_Vtbl, 0x5feabb1d_a31c_4727_b1ac_37454649d56a); #[repr(C)] pub struct IDispatcherQueueTimer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -357,7 +357,7 @@ pub struct IDispatcherQueueTimer_Vtbl { pub Tick: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveTick: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFolderLauncherOptions, IFolderLauncherOptions_Vtbl, 0xbb91c27d_6b87_432a_bd04_776c6f5fb2ab); +windows_core::imp::define_interface!(IFolderLauncherOptions, IFolderLauncherOptions_Vtbl, 0xbb91c27d_6b87_432a_bd04_776c6f5fb2ab); #[repr(C)] pub struct IFolderLauncherOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -366,7 +366,7 @@ pub struct IFolderLauncherOptions_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Storage")))] ItemsToSelect: usize, } -windows_core::imp::com_interface!(IKnownUserPropertiesStatics, IKnownUserPropertiesStatics_Vtbl, 0x7755911a_70c5_48e5_b637_5ba3441e4ee4); +windows_core::imp::define_interface!(IKnownUserPropertiesStatics, IKnownUserPropertiesStatics_Vtbl, 0x7755911a_70c5_48e5_b637_5ba3441e4ee4); #[repr(C)] pub struct IKnownUserPropertiesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -380,13 +380,13 @@ pub struct IKnownUserPropertiesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IKnownUserPropertiesStatics2, IKnownUserPropertiesStatics2_Vtbl, 0x5b450782_f620_577e_b1b3_dd56644d79b1); +windows_core::imp::define_interface!(IKnownUserPropertiesStatics2, IKnownUserPropertiesStatics2_Vtbl, 0x5b450782_f620_577e_b1b3_dd56644d79b1); #[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, } -windows_core::imp::com_interface!(ILaunchUriResult, ILaunchUriResult_Vtbl, 0xec27a8df_f6d5_45ca_913a_70a40c5c8221); +windows_core::imp::define_interface!(ILaunchUriResult, ILaunchUriResult_Vtbl, 0xec27a8df_f6d5_45ca_913a_70a40c5c8221); #[repr(C)] pub struct ILaunchUriResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -396,7 +396,7 @@ pub struct ILaunchUriResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Result: usize, } -windows_core::imp::com_interface!(ILauncherOptions, ILauncherOptions_Vtbl, 0xbafa21d8_b071_4cd8_853e_341203e557d3); +windows_core::imp::define_interface!(ILauncherOptions, ILauncherOptions_Vtbl, 0xbafa21d8_b071_4cd8_853e_341203e557d3); #[repr(C)] pub struct ILauncherOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -414,7 +414,7 @@ pub struct ILauncherOptions_Vtbl { 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, } -windows_core::imp::com_interface!(ILauncherOptions2, ILauncherOptions2_Vtbl, 0x3ba08eb4_6e40_4dce_a1a3_2f53950afb49); +windows_core::imp::define_interface!(ILauncherOptions2, ILauncherOptions2_Vtbl, 0x3ba08eb4_6e40_4dce_a1a3_2f53950afb49); #[repr(C)] pub struct ILauncherOptions2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -429,21 +429,21 @@ pub struct ILauncherOptions2_Vtbl { #[cfg(not(feature = "Storage_Search"))] SetNeighboringFilesQuery: usize, } -windows_core::imp::com_interface!(ILauncherOptions3, ILauncherOptions3_Vtbl, 0xf0770655_4b63_4e3a_9107_4e687841923a); +windows_core::imp::define_interface!(ILauncherOptions3, ILauncherOptions3_Vtbl, 0xf0770655_4b63_4e3a_9107_4e687841923a); #[repr(C)] pub struct ILauncherOptions3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IgnoreAppUriHandlers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIgnoreAppUriHandlers: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILauncherOptions4, ILauncherOptions4_Vtbl, 0xef6fd10e_e6fb_4814_a44e_57e8b9d9a01b); +windows_core::imp::define_interface!(ILauncherOptions4, ILauncherOptions4_Vtbl, 0xef6fd10e_e6fb_4814_a44e_57e8b9d9a01b); #[repr(C)] pub struct ILauncherOptions4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LimitPickerToCurrentAppAndAppUriHandlers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetLimitPickerToCurrentAppAndAppUriHandlers: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILauncherStatics, ILauncherStatics_Vtbl, 0x277151c3_9e3e_42f6_91a4_5dfdeb232451); +windows_core::imp::define_interface!(ILauncherStatics, ILauncherStatics_Vtbl, 0x277151c3_9e3e_42f6_91a4_5dfdeb232451); #[repr(C)] pub struct ILauncherStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -458,7 +458,7 @@ pub struct ILauncherStatics_Vtbl { pub LaunchUriAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LaunchUriWithOptionsAsync: 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::com_interface!(ILauncherStatics2, ILauncherStatics2_Vtbl, 0x59ba2fbb_24cb_4c02_a4c4_8294569d54f1); +windows_core::imp::define_interface!(ILauncherStatics2, ILauncherStatics2_Vtbl, 0x59ba2fbb_24cb_4c02_a4c4_8294569d54f1); #[repr(C)] pub struct ILauncherStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -494,7 +494,7 @@ pub struct ILauncherStatics2_Vtbl { #[cfg(not(all(feature = "ApplicationModel", feature = "Foundation_Collections")))] FindFileHandlersAsync: usize, } -windows_core::imp::com_interface!(ILauncherStatics3, ILauncherStatics3_Vtbl, 0x234261a8_9db3_4683_aa42_dc6f51d33847); +windows_core::imp::define_interface!(ILauncherStatics3, ILauncherStatics3_Vtbl, 0x234261a8_9db3_4683_aa42_dc6f51d33847); #[repr(C)] pub struct ILauncherStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -507,7 +507,7 @@ pub struct ILauncherStatics3_Vtbl { #[cfg(not(feature = "Storage"))] LaunchFolderWithOptionsAsync: usize, } -windows_core::imp::com_interface!(ILauncherStatics4, ILauncherStatics4_Vtbl, 0xb9ec819f_b5a5_41c6_b3b3_dd1b3178bcf2); +windows_core::imp::define_interface!(ILauncherStatics4, ILauncherStatics4_Vtbl, 0xb9ec819f_b5a5_41c6_b3b3_dd1b3178bcf2); #[repr(C)] pub struct ILauncherStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -529,7 +529,7 @@ pub struct ILauncherStatics4_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] LaunchUriForResultsWithDataForUserAsync: usize, } -windows_core::imp::com_interface!(ILauncherStatics5, ILauncherStatics5_Vtbl, 0x5b24ef84_d895_5fea_9153_1ac49aed9ba9); +windows_core::imp::define_interface!(ILauncherStatics5, ILauncherStatics5_Vtbl, 0x5b24ef84_d895_5fea_9153_1ac49aed9ba9); #[repr(C)] pub struct ILauncherStatics5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -538,7 +538,7 @@ pub struct ILauncherStatics5_Vtbl { 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, } -windows_core::imp::com_interface!(ILauncherUIOptions, ILauncherUIOptions_Vtbl, 0x1b25da6e_8aa6_41e9_8251_4165f5985f49); +windows_core::imp::define_interface!(ILauncherUIOptions, ILauncherUIOptions_Vtbl, 0x1b25da6e_8aa6_41e9_8251_4165f5985f49); #[repr(C)] pub struct ILauncherUIOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -555,7 +555,7 @@ pub struct ILauncherUIOptions_Vtbl { #[cfg(not(feature = "UI_Popups"))] SetPreferredPlacement: usize, } -windows_core::imp::com_interface!(ILauncherViewOptions, ILauncherViewOptions_Vtbl, 0x8a9b29f1_7ca7_49de_9bd3_3c5b7184f616); +windows_core::imp::define_interface!(ILauncherViewOptions, ILauncherViewOptions_Vtbl, 0x8a9b29f1_7ca7_49de_9bd3_3c5b7184f616); windows_core::imp::interface_hierarchy!(ILauncherViewOptions, windows_core::IUnknown, windows_core::IInspectable); impl ILauncherViewOptions { #[cfg(feature = "UI_ViewManagement")] @@ -587,7 +587,7 @@ pub struct ILauncherViewOptions_Vtbl { #[cfg(not(feature = "UI_ViewManagement"))] SetDesiredRemainingView: usize, } -windows_core::imp::com_interface!(IMemoryManagerStatics, IMemoryManagerStatics_Vtbl, 0x5c6c279c_d7ca_4779_9188_4057219ce64c); +windows_core::imp::define_interface!(IMemoryManagerStatics, IMemoryManagerStatics_Vtbl, 0x5c6c279c_d7ca_4779_9188_4057219ce64c); #[repr(C)] pub struct IMemoryManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -601,26 +601,26 @@ pub struct IMemoryManagerStatics_Vtbl { pub AppMemoryUsageLimitChanging: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAppMemoryUsageLimitChanging: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMemoryManagerStatics2, IMemoryManagerStatics2_Vtbl, 0x6eee351f_6d62_423f_9479_b01f9c9f7669); +windows_core::imp::define_interface!(IMemoryManagerStatics2, IMemoryManagerStatics2_Vtbl, 0x6eee351f_6d62_423f_9479_b01f9c9f7669); #[repr(C)] pub struct IMemoryManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetAppMemoryReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetProcessMemoryReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMemoryManagerStatics3, IMemoryManagerStatics3_Vtbl, 0x149b59ce_92ad_4e35_89eb_50dfb4c0d91c); +windows_core::imp::define_interface!(IMemoryManagerStatics3, IMemoryManagerStatics3_Vtbl, 0x149b59ce_92ad_4e35_89eb_50dfb4c0d91c); #[repr(C)] pub struct IMemoryManagerStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TrySetAppMemoryUsageLimit: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMemoryManagerStatics4, IMemoryManagerStatics4_Vtbl, 0xc5a94828_e84e_4886_8a0d_44b3190e3b72); +windows_core::imp::define_interface!(IMemoryManagerStatics4, IMemoryManagerStatics4_Vtbl, 0xc5a94828_e84e_4886_8a0d_44b3190e3b72); #[repr(C)] pub struct IMemoryManagerStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ExpectedAppMemoryUsageLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessLauncherOptions, IProcessLauncherOptions_Vtbl, 0x3080b9cf_f444_4a83_beaf_a549a0f3229c); +windows_core::imp::define_interface!(IProcessLauncherOptions, IProcessLauncherOptions_Vtbl, 0x3080b9cf_f444_4a83_beaf_a549a0f3229c); #[repr(C)] pub struct IProcessLauncherOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -651,27 +651,27 @@ pub struct IProcessLauncherOptions_Vtbl { 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, } -windows_core::imp::com_interface!(IProcessLauncherResult, IProcessLauncherResult_Vtbl, 0x544c8934_86d8_4991_8e75_ece8a43b6b6d); +windows_core::imp::define_interface!(IProcessLauncherResult, IProcessLauncherResult_Vtbl, 0x544c8934_86d8_4991_8e75_ece8a43b6b6d); #[repr(C)] pub struct IProcessLauncherResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ExitCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessLauncherStatics, IProcessLauncherStatics_Vtbl, 0x33ab66e7_2d0e_448b_a6a0_c13c3836d09c); +windows_core::imp::define_interface!(IProcessLauncherStatics, IProcessLauncherStatics_Vtbl, 0x33ab66e7_2d0e_448b_a6a0_c13c3836d09c); #[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, } -windows_core::imp::com_interface!(IProcessMemoryReport, IProcessMemoryReport_Vtbl, 0x087305a8_9b70_4782_8741_3a982b6ce5e4); +windows_core::imp::define_interface!(IProcessMemoryReport, IProcessMemoryReport_Vtbl, 0x087305a8_9b70_4782_8741_3a982b6ce5e4); #[repr(C)] pub struct IProcessMemoryReport_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PrivateWorkingSetUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub TotalWorkingSetUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProtocolForResultsOperation, IProtocolForResultsOperation_Vtbl, 0xd581293a_6de9_4d28_9378_f86782e182bb); +windows_core::imp::define_interface!(IProtocolForResultsOperation, IProtocolForResultsOperation_Vtbl, 0xd581293a_6de9_4d28_9378_f86782e182bb); #[repr(C)] pub struct IProtocolForResultsOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -680,7 +680,7 @@ pub struct IProtocolForResultsOperation_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ReportCompleted: usize, } -windows_core::imp::com_interface!(IRemoteLauncherOptions, IRemoteLauncherOptions_Vtbl, 0x9e3a2788_2891_4cdf_a2d6_9dff7d02e693); +windows_core::imp::define_interface!(IRemoteLauncherOptions, IRemoteLauncherOptions_Vtbl, 0x9e3a2788_2891_4cdf_a2d6_9dff7d02e693); #[repr(C)] pub struct IRemoteLauncherOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -691,7 +691,7 @@ pub struct IRemoteLauncherOptions_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] PreferredAppIds: usize, } -windows_core::imp::com_interface!(IRemoteLauncherStatics, IRemoteLauncherStatics_Vtbl, 0xd7db7a93_a30c_48b7_9f21_051026a4e517); +windows_core::imp::define_interface!(IRemoteLauncherStatics, IRemoteLauncherStatics_Vtbl, 0xd7db7a93_a30c_48b7_9f21_051026a4e517); #[repr(C)] pub struct IRemoteLauncherStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -708,14 +708,14 @@ pub struct IRemoteLauncherStatics_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "System_RemoteSystems")))] LaunchUriWithDataAsync: usize, } -windows_core::imp::com_interface!(IShutdownManagerStatics, IShutdownManagerStatics_Vtbl, 0x72e247ed_dd5b_4d6c_b1d0_c57a7bbb5f94); +windows_core::imp::define_interface!(IShutdownManagerStatics, IShutdownManagerStatics_Vtbl, 0x72e247ed_dd5b_4d6c_b1d0_c57a7bbb5f94); #[repr(C)] pub struct IShutdownManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BeginShutdown: unsafe extern "system" fn(*mut core::ffi::c_void, ShutdownKind, super::Foundation::TimeSpan) -> windows_core::HRESULT, pub CancelShutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShutdownManagerStatics2, IShutdownManagerStatics2_Vtbl, 0x0f69a02f_9c34_43c7_a8c3_70b30a7f7504); +windows_core::imp::define_interface!(IShutdownManagerStatics2, IShutdownManagerStatics2_Vtbl, 0x0f69a02f_9c34_43c7_a8c3_70b30a7f7504); #[repr(C)] pub struct IShutdownManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -723,7 +723,7 @@ pub struct IShutdownManagerStatics2_Vtbl { pub EnterPowerState: unsafe extern "system" fn(*mut core::ffi::c_void, PowerState) -> windows_core::HRESULT, pub EnterPowerStateWithTimeSpan: unsafe extern "system" fn(*mut core::ffi::c_void, PowerState, super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimeZoneSettingsStatics, ITimeZoneSettingsStatics_Vtbl, 0x9b3b2bea_a101_41ae_9fbd_028728bab73d); +windows_core::imp::define_interface!(ITimeZoneSettingsStatics, ITimeZoneSettingsStatics_Vtbl, 0x9b3b2bea_a101_41ae_9fbd_028728bab73d); #[repr(C)] pub struct ITimeZoneSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -735,13 +735,13 @@ pub struct ITimeZoneSettingsStatics_Vtbl { 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, } -windows_core::imp::com_interface!(ITimeZoneSettingsStatics2, ITimeZoneSettingsStatics2_Vtbl, 0x555c0db8_39a8_49fa_b4f6_a2c7fc2842ec); +windows_core::imp::define_interface!(ITimeZoneSettingsStatics2, ITimeZoneSettingsStatics2_Vtbl, 0x555c0db8_39a8_49fa_b4f6_a2c7fc2842ec); #[repr(C)] pub struct ITimeZoneSettingsStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AutoUpdateTimeZoneAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::Foundation::TimeSpan, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUser, IUser_Vtbl, 0xdf9a26c6_e746_4bcd_b5d4_120103c4209b); +windows_core::imp::define_interface!(IUser, IUser_Vtbl, 0xdf9a26c6_e746_4bcd_b5d4_120103c4209b); #[repr(C)] pub struct IUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -758,19 +758,19 @@ pub struct IUser_Vtbl { #[cfg(not(feature = "Storage_Streams"))] GetPictureAsync: usize, } -windows_core::imp::com_interface!(IUser2, IUser2_Vtbl, 0x98ba5628_a6e3_518e_89d9_d3b2b1991a10); +windows_core::imp::define_interface!(IUser2, IUser2_Vtbl, 0x98ba5628_a6e3_518e_89d9_d3b2b1991a10); #[repr(C)] pub struct IUser2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CheckUserAgeConsentGroupAsync: unsafe extern "system" fn(*mut core::ffi::c_void, UserAgeConsentGroup, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserAuthenticationStatusChangeDeferral, IUserAuthenticationStatusChangeDeferral_Vtbl, 0x88b59568_bb30_42fb_a270_e9902e40efa7); +windows_core::imp::define_interface!(IUserAuthenticationStatusChangeDeferral, IUserAuthenticationStatusChangeDeferral_Vtbl, 0x88b59568_bb30_42fb_a270_e9902e40efa7); #[repr(C)] pub struct IUserAuthenticationStatusChangeDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserAuthenticationStatusChangingEventArgs, IUserAuthenticationStatusChangingEventArgs_Vtbl, 0x8c030f28_a711_4c1e_ab48_04179c15938f); +windows_core::imp::define_interface!(IUserAuthenticationStatusChangingEventArgs, IUserAuthenticationStatusChangingEventArgs_Vtbl, 0x8c030f28_a711_4c1e_ab48_04179c15938f); #[repr(C)] pub struct IUserAuthenticationStatusChangingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -779,13 +779,13 @@ pub struct IUserAuthenticationStatusChangingEventArgs_Vtbl { pub NewStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserAuthenticationStatus) -> windows_core::HRESULT, pub CurrentStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserAuthenticationStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserChangedEventArgs, IUserChangedEventArgs_Vtbl, 0x086459dc_18c6_48db_bc99_724fb9203ccc); +windows_core::imp::define_interface!(IUserChangedEventArgs, IUserChangedEventArgs_Vtbl, 0x086459dc_18c6_48db_bc99_724fb9203ccc); #[repr(C)] pub struct IUserChangedEventArgs_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, } -windows_core::imp::com_interface!(IUserChangedEventArgs2, IUserChangedEventArgs2_Vtbl, 0x6b2ccb44_6f01_560c_97ad_fc7f32ec581f); +windows_core::imp::define_interface!(IUserChangedEventArgs2, IUserChangedEventArgs2_Vtbl, 0x6b2ccb44_6f01_560c_97ad_fc7f32ec581f); #[repr(C)] pub struct IUserChangedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -794,7 +794,7 @@ pub struct IUserChangedEventArgs2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ChangedPropertyKinds: usize, } -windows_core::imp::com_interface!(IUserDeviceAssociationChangedEventArgs, IUserDeviceAssociationChangedEventArgs_Vtbl, 0xbd1f6f6c_bb5d_4d7b_a5f0_c8cd11a38d42); +windows_core::imp::define_interface!(IUserDeviceAssociationChangedEventArgs, IUserDeviceAssociationChangedEventArgs_Vtbl, 0xbd1f6f6c_bb5d_4d7b_a5f0_c8cd11a38d42); #[repr(C)] pub struct IUserDeviceAssociationChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -802,7 +802,7 @@ pub struct IUserDeviceAssociationChangedEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IUserDeviceAssociationStatics, IUserDeviceAssociationStatics_Vtbl, 0x7e491e14_f85a_4c07_8da9_7fe3d0542343); +windows_core::imp::define_interface!(IUserDeviceAssociationStatics, IUserDeviceAssociationStatics_Vtbl, 0x7e491e14_f85a_4c07_8da9_7fe3d0542343); #[repr(C)] pub struct IUserDeviceAssociationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -810,7 +810,7 @@ pub struct IUserDeviceAssociationStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IUserPicker, IUserPicker_Vtbl, 0x7d548008_f1e3_4a6c_8ddc_a9bb0f488aed); +windows_core::imp::define_interface!(IUserPicker, IUserPicker_Vtbl, 0x7d548008_f1e3_4a6c_8ddc_a9bb0f488aed); #[repr(C)] pub struct IUserPicker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -820,13 +820,13 @@ pub struct IUserPicker_Vtbl { pub SetSuggestedSelectedUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PickSingleUserAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserPickerStatics, IUserPickerStatics_Vtbl, 0xde3290dc_7e73_4df6_a1ae_4d7eca82b40d); +windows_core::imp::define_interface!(IUserPickerStatics, IUserPickerStatics_Vtbl, 0xde3290dc_7e73_4df6_a1ae_4d7eca82b40d); #[repr(C)] pub struct IUserPickerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserStatics, IUserStatics_Vtbl, 0x155eb23b_242a_45e0_a2e9_3171fc6a7fdd); +windows_core::imp::define_interface!(IUserStatics, IUserStatics_Vtbl, 0x155eb23b_242a_45e0_a2e9_3171fc6a7fdd); #[repr(C)] pub struct IUserStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -845,13 +845,13 @@ pub struct IUserStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IUserStatics2, IUserStatics2_Vtbl, 0x74a37e11_2eb5_4487_b0d5_2c6790e013e9); +windows_core::imp::define_interface!(IUserStatics2, IUserStatics2_Vtbl, 0x74a37e11_2eb5_4487_b0d5_2c6790e013e9); #[repr(C)] pub struct IUserStatics2_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, } -windows_core::imp::com_interface!(IUserWatcher, IUserWatcher_Vtbl, 0x155eb23b_242a_45e0_a2e9_3171fc6a7fbb); +windows_core::imp::define_interface!(IUserWatcher, IUserWatcher_Vtbl, 0x155eb23b_242a_45e0_a2e9_3171fc6a7fbb); #[repr(C)] pub struct IUserWatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -4405,7 +4405,7 @@ impl core::ops::Not for VirtualKeyModifiers { impl windows_core::RuntimeType for VirtualKeyModifiers { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.System.VirtualKeyModifiers;u4)"); } -windows_core::imp::com_interface!(DispatcherQueueHandler, DispatcherQueueHandler_Vtbl, 0xdfa2dc9c_1a2d_4917_98f2_939af1d6e0c8); +windows_core::imp::define_interface!(DispatcherQueueHandler, DispatcherQueueHandler_Vtbl, 0xdfa2dc9c_1a2d_4917_98f2_939af1d6e0c8); impl DispatcherQueueHandler { pub fn new windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = DispatcherQueueHandlerBox:: { vtable: &DispatcherQueueHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs index d91b48bcb2..0fcc76fc6f 100644 --- a/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Accessibility/mod.rs @@ -1,11 +1,11 @@ -windows_core::imp::com_interface!(IScreenReaderPositionChangedEventArgs, IScreenReaderPositionChangedEventArgs_Vtbl, 0x557eb5e5_54d0_5ccd_9fc5_ed33357f8a9f); +windows_core::imp::define_interface!(IScreenReaderPositionChangedEventArgs, IScreenReaderPositionChangedEventArgs_Vtbl, 0x557eb5e5_54d0_5ccd_9fc5_ed33357f8a9f); #[repr(C)] pub struct IScreenReaderPositionChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ScreenPositionInRawPixels: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, pub IsReadingText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScreenReaderService, IScreenReaderService_Vtbl, 0x19475427_eac0_50d3_bdd9_9b487a226256); +windows_core::imp::define_interface!(IScreenReaderService, IScreenReaderService_Vtbl, 0x19475427_eac0_50d3_bdd9_9b487a226256); #[repr(C)] pub struct IScreenReaderService_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs index d3b1ddeea9..f4cd94a0ae 100644 --- a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs @@ -1,11 +1,11 @@ -windows_core::imp::com_interface!(IAccountsSettingsPane, IAccountsSettingsPane_Vtbl, 0x81ea942c_4f09_4406_a538_838d9b14b7e6); +windows_core::imp::define_interface!(IAccountsSettingsPane, IAccountsSettingsPane_Vtbl, 0x81ea942c_4f09_4406_a538_838d9b14b7e6); #[repr(C)] pub struct IAccountsSettingsPane_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AccountCommandsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAccountCommandsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccountsSettingsPaneCommandsRequestedEventArgs, IAccountsSettingsPaneCommandsRequestedEventArgs_Vtbl, 0x3b68c099_db19_45d0_9abf_95d3773c9330); +windows_core::imp::define_interface!(IAccountsSettingsPaneCommandsRequestedEventArgs, IAccountsSettingsPaneCommandsRequestedEventArgs_Vtbl, 0x3b68c099_db19_45d0_9abf_95d3773c9330); #[repr(C)] pub struct IAccountsSettingsPaneCommandsRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -29,7 +29,7 @@ pub struct IAccountsSettingsPaneCommandsRequestedEventArgs_Vtbl { pub SetHeaderText: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IAccountsSettingsPaneCommandsRequestedEventArgs2, IAccountsSettingsPaneCommandsRequestedEventArgs2_Vtbl, 0x362f7bad_4e37_4967_8c40_e78ee7a1e5bb); +windows_core::imp::define_interface!(IAccountsSettingsPaneCommandsRequestedEventArgs2, IAccountsSettingsPaneCommandsRequestedEventArgs2_Vtbl, 0x362f7bad_4e37_4967_8c40_e78ee7a1e5bb); #[repr(C)] pub struct IAccountsSettingsPaneCommandsRequestedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -38,27 +38,27 @@ pub struct IAccountsSettingsPaneCommandsRequestedEventArgs2_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IAccountsSettingsPaneEventDeferral, IAccountsSettingsPaneEventDeferral_Vtbl, 0xcbf25d3f_e5ba_40ef_93da_65e096e5fb04); +windows_core::imp::define_interface!(IAccountsSettingsPaneEventDeferral, IAccountsSettingsPaneEventDeferral_Vtbl, 0xcbf25d3f_e5ba_40ef_93da_65e096e5fb04); #[repr(C)] pub struct IAccountsSettingsPaneEventDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccountsSettingsPaneStatics, IAccountsSettingsPaneStatics_Vtbl, 0x561f8b60_b0ec_4150_a8dc_208ee44b068a); +windows_core::imp::define_interface!(IAccountsSettingsPaneStatics, IAccountsSettingsPaneStatics_Vtbl, 0x561f8b60_b0ec_4150_a8dc_208ee44b068a); #[repr(C)] pub struct IAccountsSettingsPaneStatics_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 Show: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccountsSettingsPaneStatics2, IAccountsSettingsPaneStatics2_Vtbl, 0xd21df7c2_ce0d_484f_b8e8_e823c215765e); +windows_core::imp::define_interface!(IAccountsSettingsPaneStatics2, IAccountsSettingsPaneStatics2_Vtbl, 0xd21df7c2_ce0d_484f_b8e8_e823c215765e); #[repr(C)] pub struct IAccountsSettingsPaneStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ShowManageAccountsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowAddAccountAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccountsSettingsPaneStatics3, IAccountsSettingsPaneStatics3_Vtbl, 0x08410458_a2ba_4c6f_b4ac_48f514331216); +windows_core::imp::define_interface!(IAccountsSettingsPaneStatics3, IAccountsSettingsPaneStatics3_Vtbl, 0x08410458_a2ba_4c6f_b4ac_48f514331216); #[repr(C)] pub struct IAccountsSettingsPaneStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -71,7 +71,7 @@ pub struct IAccountsSettingsPaneStatics3_Vtbl { #[cfg(not(feature = "System"))] ShowAddAccountForUserAsync: usize, } -windows_core::imp::com_interface!(ICredentialCommand, ICredentialCommand_Vtbl, 0xa5f665e6_6143_4a7a_a971_b017ba978ce2); +windows_core::imp::define_interface!(ICredentialCommand, ICredentialCommand_Vtbl, 0xa5f665e6_6143_4a7a_a971_b017ba978ce2); #[repr(C)] pub struct ICredentialCommand_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -81,7 +81,7 @@ pub struct ICredentialCommand_Vtbl { PasswordCredential: usize, pub CredentialDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialCommandFactory, ICredentialCommandFactory_Vtbl, 0x27e88c17_bc3e_4b80_9495_4ed720e48a91); +windows_core::imp::define_interface!(ICredentialCommandFactory, ICredentialCommandFactory_Vtbl, 0x27e88c17_bc3e_4b80_9495_4ed720e48a91); #[repr(C)] pub struct ICredentialCommandFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -94,7 +94,7 @@ pub struct ICredentialCommandFactory_Vtbl { #[cfg(not(feature = "Security_Credentials"))] CreateCredentialCommandWithHandler: usize, } -windows_core::imp::com_interface!(ISettingsCommandFactory, ISettingsCommandFactory_Vtbl, 0x68e15b33_1c83_433a_aa5a_ceeea5bd4764); +windows_core::imp::define_interface!(ISettingsCommandFactory, ISettingsCommandFactory_Vtbl, 0x68e15b33_1c83_433a_aa5a_ceeea5bd4764); #[repr(C)] pub struct ISettingsCommandFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -103,7 +103,7 @@ pub struct ISettingsCommandFactory_Vtbl { #[cfg(not(feature = "UI_Popups"))] CreateSettingsCommand: usize, } -windows_core::imp::com_interface!(ISettingsCommandStatics, ISettingsCommandStatics_Vtbl, 0x749ae954_2f69_4b17_8aba_d05ce5778e46); +windows_core::imp::define_interface!(ISettingsCommandStatics, ISettingsCommandStatics_Vtbl, 0x749ae954_2f69_4b17_8aba_d05ce5778e46); #[repr(C)] pub struct ISettingsCommandStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -113,7 +113,7 @@ pub struct ISettingsCommandStatics_Vtbl { AccountsCommand: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISettingsPane, ISettingsPane_Vtbl, 0xb1cd0932_4570_4c69_8d38_89446561ace0); +windows_core::imp::define_interface!(ISettingsPane, ISettingsPane_Vtbl, 0xb1cd0932_4570_4c69_8d38_89446561ace0); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISettingsPane_Vtbl { @@ -128,7 +128,7 @@ pub struct ISettingsPane_Vtbl { RemoveCommandsRequested: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISettingsPaneCommandsRequest, ISettingsPaneCommandsRequest_Vtbl, 0x44df23ae_5d6e_4068_a168_f47643182114); +windows_core::imp::define_interface!(ISettingsPaneCommandsRequest, ISettingsPaneCommandsRequest_Vtbl, 0x44df23ae_5d6e_4068_a168_f47643182114); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISettingsPaneCommandsRequest_Vtbl { @@ -139,7 +139,7 @@ pub struct ISettingsPaneCommandsRequest_Vtbl { ApplicationCommands: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISettingsPaneCommandsRequestedEventArgs, ISettingsPaneCommandsRequestedEventArgs_Vtbl, 0x205f5d24_1b48_4629_a6ca_2fdfedafb75d); +windows_core::imp::define_interface!(ISettingsPaneCommandsRequestedEventArgs, ISettingsPaneCommandsRequestedEventArgs_Vtbl, 0x205f5d24_1b48_4629_a6ca_2fdfedafb75d); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISettingsPaneCommandsRequestedEventArgs_Vtbl { @@ -150,7 +150,7 @@ pub struct ISettingsPaneCommandsRequestedEventArgs_Vtbl { Request: usize, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(ISettingsPaneStatics, ISettingsPaneStatics_Vtbl, 0x1c6a52c5_ff19_471b_ba6b_f8f35694ad9a); +windows_core::imp::define_interface!(ISettingsPaneStatics, ISettingsPaneStatics_Vtbl, 0x1c6a52c5_ff19_471b_ba6b_f8f35694ad9a); #[cfg(feature = "deprecated")] #[repr(C)] pub struct ISettingsPaneStatics_Vtbl { @@ -168,7 +168,7 @@ pub struct ISettingsPaneStatics_Vtbl { #[cfg(not(feature = "deprecated"))] Edge: usize, } -windows_core::imp::com_interface!(IWebAccountCommand, IWebAccountCommand_Vtbl, 0xcaa39398_9cfa_4246_b0c4_a913a3896541); +windows_core::imp::define_interface!(IWebAccountCommand, IWebAccountCommand_Vtbl, 0xcaa39398_9cfa_4246_b0c4_a913a3896541); #[repr(C)] pub struct IWebAccountCommand_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -179,7 +179,7 @@ pub struct IWebAccountCommand_Vtbl { pub Invoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Actions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SupportedWebAccountActions) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountCommandFactory, IWebAccountCommandFactory_Vtbl, 0xbfa6cdff_2f2d_42f5_81de_1d56bafc496d); +windows_core::imp::define_interface!(IWebAccountCommandFactory, IWebAccountCommandFactory_Vtbl, 0xbfa6cdff_2f2d_42f5_81de_1d56bafc496d); #[repr(C)] pub struct IWebAccountCommandFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -188,13 +188,13 @@ pub struct IWebAccountCommandFactory_Vtbl { #[cfg(not(feature = "Security_Credentials"))] CreateWebAccountCommand: usize, } -windows_core::imp::com_interface!(IWebAccountInvokedArgs, IWebAccountInvokedArgs_Vtbl, 0xe7abcc40_a1d8_4c5d_9a7f_1d34b2f90ad2); +windows_core::imp::define_interface!(IWebAccountInvokedArgs, IWebAccountInvokedArgs_Vtbl, 0xe7abcc40_a1d8_4c5d_9a7f_1d34b2f90ad2); #[repr(C)] pub struct IWebAccountInvokedArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Action: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WebAccountAction) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountProviderCommand, IWebAccountProviderCommand_Vtbl, 0xd69bdd9a_a0a6_4e9b_88dc_c71e757a3501); +windows_core::imp::define_interface!(IWebAccountProviderCommand, IWebAccountProviderCommand_Vtbl, 0xd69bdd9a_a0a6_4e9b_88dc_c71e757a3501); #[repr(C)] pub struct IWebAccountProviderCommand_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -204,7 +204,7 @@ pub struct IWebAccountProviderCommand_Vtbl { WebAccountProvider: usize, pub Invoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAccountProviderCommandFactory, IWebAccountProviderCommandFactory_Vtbl, 0xd5658a1b_b176_4776_8469_a9d3ff0b3f59); +windows_core::imp::define_interface!(IWebAccountProviderCommandFactory, IWebAccountProviderCommandFactory_Vtbl, 0xd5658a1b_b176_4776_8469_a9d3ff0b3f59); #[repr(C)] pub struct IWebAccountProviderCommandFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -892,7 +892,7 @@ impl core::fmt::Debug for WebAccountAction { impl windows_core::RuntimeType for WebAccountAction { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.UI.ApplicationSettings.WebAccountAction;i4)"); } -windows_core::imp::com_interface!(CredentialCommandCredentialDeletedHandler, CredentialCommandCredentialDeletedHandler_Vtbl, 0x61c0e185_0977_4678_b4e2_98727afbeed9); +windows_core::imp::define_interface!(CredentialCommandCredentialDeletedHandler, CredentialCommandCredentialDeletedHandler_Vtbl, 0x61c0e185_0977_4678_b4e2_98727afbeed9); impl CredentialCommandCredentialDeletedHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = CredentialCommandCredentialDeletedHandlerBox:: { vtable: &CredentialCommandCredentialDeletedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -952,7 +952,7 @@ pub struct CredentialCommandCredentialDeletedHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(WebAccountCommandInvokedHandler, WebAccountCommandInvokedHandler_Vtbl, 0x1ee6e459_1705_4a9a_b599_a0c3d6921973); +windows_core::imp::define_interface!(WebAccountCommandInvokedHandler, WebAccountCommandInvokedHandler_Vtbl, 0x1ee6e459_1705_4a9a_b599_a0c3d6921973); impl WebAccountCommandInvokedHandler { pub fn new, Option<&WebAccountInvokedArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = WebAccountCommandInvokedHandlerBox:: { vtable: &WebAccountCommandInvokedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -1013,7 +1013,7 @@ pub struct WebAccountCommandInvokedHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: 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::com_interface!(WebAccountProviderCommandInvokedHandler, WebAccountProviderCommandInvokedHandler_Vtbl, 0xb7de5527_4c8f_42dd_84da_5ec493abdb9a); +windows_core::imp::define_interface!(WebAccountProviderCommandInvokedHandler, WebAccountProviderCommandInvokedHandler_Vtbl, 0xb7de5527_4c8f_42dd_84da_5ec493abdb9a); impl WebAccountProviderCommandInvokedHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = WebAccountProviderCommandInvokedHandlerBox:: { vtable: &WebAccountProviderCommandInvokedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; 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 15e2bc8aef..84166c2d34 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICompositorController, ICompositorController_Vtbl, 0x2d75f35a_70a7_4395_ba2d_cef0b18399f9); +windows_core::imp::define_interface!(ICompositorController, ICompositorController_Vtbl, 0x2d75f35a_70a7_4395_ba2d_cef0b18399f9); #[repr(C)] pub struct ICompositorController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 e42c55c7ad..6e7e09d78c 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Desktop/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDesktopWindowTarget, IDesktopWindowTarget_Vtbl, 0x6329d6ca_3366_490e_9db3_25312929ac51); +windows_core::imp::define_interface!(IDesktopWindowTarget, IDesktopWindowTarget_Vtbl, 0x6329d6ca_3366_490e_9db3_25312929ac51); #[repr(C)] pub struct IDesktopWindowTarget_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 71594a150b..74114e9227 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Diagnostics/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICompositionDebugHeatMaps, ICompositionDebugHeatMaps_Vtbl, 0xe49c90ac_2ff3_5805_718c_b725ee07650f); +windows_core::imp::define_interface!(ICompositionDebugHeatMaps, ICompositionDebugHeatMaps_Vtbl, 0xe49c90ac_2ff3_5805_718c_b725ee07650f); #[repr(C)] pub struct ICompositionDebugHeatMaps_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,13 +7,13 @@ pub struct ICompositionDebugHeatMaps_Vtbl { pub ShowOverdraw: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, CompositionDebugOverdrawContentKinds) -> windows_core::HRESULT, pub ShowRedraw: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionDebugSettings, ICompositionDebugSettings_Vtbl, 0x2831987e_1d82_4d38_b7b7_efd11c7bc3d1); +windows_core::imp::define_interface!(ICompositionDebugSettings, ICompositionDebugSettings_Vtbl, 0x2831987e_1d82_4d38_b7b7_efd11c7bc3d1); #[repr(C)] pub struct ICompositionDebugSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub HeatMaps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionDebugSettingsStatics, ICompositionDebugSettingsStatics_Vtbl, 0x64ec1f1e_6af8_4af8_b814_c870fd5a9505); +windows_core::imp::define_interface!(ICompositionDebugSettingsStatics, ICompositionDebugSettingsStatics_Vtbl, 0x64ec1f1e_6af8_4af8_b814_c870fd5a9505); #[repr(C)] pub struct ICompositionDebugSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 f7ed50ee0d..e7ae96f523 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Effects/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISceneLightingEffect, ISceneLightingEffect_Vtbl, 0x91bb5e52_95d1_4f8b_9a5a_6408b24b8c6a); +windows_core::imp::define_interface!(ISceneLightingEffect, ISceneLightingEffect_Vtbl, 0x91bb5e52_95d1_4f8b_9a5a_6408b24b8c6a); #[repr(C)] pub struct ISceneLightingEffect_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,7 +19,7 @@ pub struct ISceneLightingEffect_Vtbl { pub SpecularShine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetSpecularShine: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneLightingEffect2, ISceneLightingEffect2_Vtbl, 0x9e270e81_72f0_4c5c_95f8_8a6e0024f409); +windows_core::imp::define_interface!(ISceneLightingEffect2, ISceneLightingEffect2_Vtbl, 0x9e270e81_72f0_4c5c_95f8_8a6e0024f409); #[repr(C)] pub struct ISceneLightingEffect2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 947929898a..04e278b3d8 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICompositionConditionalValue, ICompositionConditionalValue_Vtbl, 0x43250538_eb73_4561_a71d_1a43eaeb7a9b); +windows_core::imp::define_interface!(ICompositionConditionalValue, ICompositionConditionalValue_Vtbl, 0x43250538_eb73_4561_a71d_1a43eaeb7a9b); #[repr(C)] pub struct ICompositionConditionalValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,13 +7,13 @@ pub struct ICompositionConditionalValue_Vtbl { 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, } -windows_core::imp::com_interface!(ICompositionConditionalValueStatics, ICompositionConditionalValueStatics_Vtbl, 0x090c4b72_8467_4d0a_9065_ac46b80a5522); +windows_core::imp::define_interface!(ICompositionConditionalValueStatics, ICompositionConditionalValueStatics_Vtbl, 0x090c4b72_8467_4d0a_9065_ac46b80a5522); #[repr(C)] pub struct ICompositionConditionalValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionInteractionSource, ICompositionInteractionSource_Vtbl, 0x043b2431_06e3_495a_ba54_409f0017fac0); +windows_core::imp::define_interface!(ICompositionInteractionSource, ICompositionInteractionSource_Vtbl, 0x043b2431_06e3_495a_ba54_409f0017fac0); windows_core::imp::interface_hierarchy!(ICompositionInteractionSource, windows_core::IUnknown, windows_core::IInspectable); impl ICompositionInteractionSource {} impl windows_core::RuntimeType for ICompositionInteractionSource { @@ -23,7 +23,7 @@ impl windows_core::RuntimeType for ICompositionInteractionSource { pub struct ICompositionInteractionSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionInteractionSourceCollection, ICompositionInteractionSourceCollection_Vtbl, 0x1b468e4b_a5bf_47d8_a547_3894155a158c); +windows_core::imp::define_interface!(ICompositionInteractionSourceCollection, ICompositionInteractionSourceCollection_Vtbl, 0x1b468e4b_a5bf_47d8_a547_3894155a158c); #[repr(C)] pub struct ICompositionInteractionSourceCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -32,7 +32,7 @@ pub struct ICompositionInteractionSourceCollection_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionSourceConfiguration, IInteractionSourceConfiguration_Vtbl, 0xa78347e5_a9d1_4d02_985e_b930cd0b9da4); +windows_core::imp::define_interface!(IInteractionSourceConfiguration, IInteractionSourceConfiguration_Vtbl, 0xa78347e5_a9d1_4d02_985e_b930cd0b9da4); #[repr(C)] pub struct IInteractionSourceConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -43,7 +43,7 @@ pub struct IInteractionSourceConfiguration_Vtbl { pub ScaleSourceMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InteractionSourceRedirectionMode) -> windows_core::HRESULT, pub SetScaleSourceMode: unsafe extern "system" fn(*mut core::ffi::c_void, InteractionSourceRedirectionMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTracker, IInteractionTracker_Vtbl, 0x2a8e8cb1_1000_4416_8363_cc27fb877308); +windows_core::imp::define_interface!(IInteractionTracker, IInteractionTracker_Vtbl, 0x2a8e8cb1_1000_4416_8363_cc27fb877308); #[repr(C)] pub struct IInteractionTracker_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -135,7 +135,7 @@ pub struct IInteractionTracker_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] TryUpdateScaleWithAdditionalVelocity: usize, } -windows_core::imp::com_interface!(IInteractionTracker2, IInteractionTracker2_Vtbl, 0x25769a3e_ce6d_448c_8386_92620d240756); +windows_core::imp::define_interface!(IInteractionTracker2, IInteractionTracker2_Vtbl, 0x25769a3e_ce6d_448c_8386_92620d240756); #[repr(C)] pub struct IInteractionTracker2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -148,7 +148,7 @@ pub struct IInteractionTracker2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ConfigureCenterPointYInertiaModifiers: usize, } -windows_core::imp::com_interface!(IInteractionTracker3, IInteractionTracker3_Vtbl, 0xe6c5d7a2_5c4b_42c6_84b7_f69441b18091); +windows_core::imp::define_interface!(IInteractionTracker3, IInteractionTracker3_Vtbl, 0xe6c5d7a2_5c4b_42c6_84b7_f69441b18091); #[repr(C)] pub struct IInteractionTracker3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -157,7 +157,7 @@ pub struct IInteractionTracker3_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ConfigureVector2PositionInertiaModifiers: usize, } -windows_core::imp::com_interface!(IInteractionTracker4, IInteractionTracker4_Vtbl, 0xebd222bc_04af_4ac7_847d_06ea36e80a16); +windows_core::imp::define_interface!(IInteractionTracker4, IInteractionTracker4_Vtbl, 0xebd222bc_04af_4ac7_847d_06ea36e80a16); #[repr(C)] pub struct IInteractionTracker4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -171,7 +171,7 @@ pub struct IInteractionTracker4_Vtbl { TryUpdatePositionByWithOption: usize, pub IsInertiaFromImpulse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTracker5, IInteractionTracker5_Vtbl, 0xd3ef5da2_a254_40e4_88d5_44e4e16b5809); +windows_core::imp::define_interface!(IInteractionTracker5, IInteractionTracker5_Vtbl, 0xd3ef5da2_a254_40e4_88d5_44e4e16b5809); #[repr(C)] pub struct IInteractionTracker5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -180,41 +180,41 @@ pub struct IInteractionTracker5_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] TryUpdatePositionWithOption: usize, } -windows_core::imp::com_interface!(IInteractionTrackerCustomAnimationStateEnteredArgs, IInteractionTrackerCustomAnimationStateEnteredArgs_Vtbl, 0x8d1c8cf1_d7b0_434c_a5d2_2d7611864834); +windows_core::imp::define_interface!(IInteractionTrackerCustomAnimationStateEnteredArgs, IInteractionTrackerCustomAnimationStateEnteredArgs_Vtbl, 0x8d1c8cf1_d7b0_434c_a5d2_2d7611864834); #[repr(C)] pub struct IInteractionTrackerCustomAnimationStateEnteredArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerCustomAnimationStateEnteredArgs2, IInteractionTrackerCustomAnimationStateEnteredArgs2_Vtbl, 0x47d579b7_0985_5e99_b024_2f32c380c1a4); +windows_core::imp::define_interface!(IInteractionTrackerCustomAnimationStateEnteredArgs2, IInteractionTrackerCustomAnimationStateEnteredArgs2_Vtbl, 0x47d579b7_0985_5e99_b024_2f32c380c1a4); #[repr(C)] pub struct IInteractionTrackerCustomAnimationStateEnteredArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsFromBinding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerIdleStateEnteredArgs, IInteractionTrackerIdleStateEnteredArgs_Vtbl, 0x50012faa_1510_4142_a1a5_019b09f8857b); +windows_core::imp::define_interface!(IInteractionTrackerIdleStateEnteredArgs, IInteractionTrackerIdleStateEnteredArgs_Vtbl, 0x50012faa_1510_4142_a1a5_019b09f8857b); #[repr(C)] pub struct IInteractionTrackerIdleStateEnteredArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerIdleStateEnteredArgs2, IInteractionTrackerIdleStateEnteredArgs2_Vtbl, 0xf2e771ed_b803_5137_9435_1c96e48721e9); +windows_core::imp::define_interface!(IInteractionTrackerIdleStateEnteredArgs2, IInteractionTrackerIdleStateEnteredArgs2_Vtbl, 0xf2e771ed_b803_5137_9435_1c96e48721e9); #[repr(C)] pub struct IInteractionTrackerIdleStateEnteredArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsFromBinding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerInertiaModifier, IInteractionTrackerInertiaModifier_Vtbl, 0xa0e2c920_26b4_4da2_8b61_5e683979bbe2); +windows_core::imp::define_interface!(IInteractionTrackerInertiaModifier, IInteractionTrackerInertiaModifier_Vtbl, 0xa0e2c920_26b4_4da2_8b61_5e683979bbe2); #[repr(C)] pub struct IInteractionTrackerInertiaModifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IInteractionTrackerInertiaModifierFactory, IInteractionTrackerInertiaModifierFactory_Vtbl, 0x993818fe_c94e_4b86_87f3_922665ba46b9); +windows_core::imp::define_interface!(IInteractionTrackerInertiaModifierFactory, IInteractionTrackerInertiaModifierFactory_Vtbl, 0x993818fe_c94e_4b86_87f3_922665ba46b9); #[repr(C)] pub struct IInteractionTrackerInertiaModifierFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IInteractionTrackerInertiaMotion, IInteractionTrackerInertiaMotion_Vtbl, 0x04922fdc_f154_4cb8_bf33_cc1ba611e6db); +windows_core::imp::define_interface!(IInteractionTrackerInertiaMotion, IInteractionTrackerInertiaMotion_Vtbl, 0x04922fdc_f154_4cb8_bf33_cc1ba611e6db); #[repr(C)] pub struct IInteractionTrackerInertiaMotion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -223,13 +223,13 @@ pub struct IInteractionTrackerInertiaMotion_Vtbl { pub Motion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMotion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerInertiaMotionStatics, IInteractionTrackerInertiaMotionStatics_Vtbl, 0x8cc83dd6_ba7b_431a_844b_6eac9130f99a); +windows_core::imp::define_interface!(IInteractionTrackerInertiaMotionStatics, IInteractionTrackerInertiaMotionStatics_Vtbl, 0x8cc83dd6_ba7b_431a_844b_6eac9130f99a); #[repr(C)] pub struct IInteractionTrackerInertiaMotionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerInertiaNaturalMotion, IInteractionTrackerInertiaNaturalMotion_Vtbl, 0x70acdaae_27dc_48ed_a3c3_6d61c9a029d2); +windows_core::imp::define_interface!(IInteractionTrackerInertiaNaturalMotion, IInteractionTrackerInertiaNaturalMotion_Vtbl, 0x70acdaae_27dc_48ed_a3c3_6d61c9a029d2); #[repr(C)] pub struct IInteractionTrackerInertiaNaturalMotion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -238,13 +238,13 @@ pub struct IInteractionTrackerInertiaNaturalMotion_Vtbl { pub NaturalMotion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetNaturalMotion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerInertiaNaturalMotionStatics, IInteractionTrackerInertiaNaturalMotionStatics_Vtbl, 0xcfda55b0_5e3e_4289_932d_ee5f50e74283); +windows_core::imp::define_interface!(IInteractionTrackerInertiaNaturalMotionStatics, IInteractionTrackerInertiaNaturalMotionStatics_Vtbl, 0xcfda55b0_5e3e_4289_932d_ee5f50e74283); #[repr(C)] pub struct IInteractionTrackerInertiaNaturalMotionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerInertiaRestingValue, IInteractionTrackerInertiaRestingValue_Vtbl, 0x86f7ec09_5096_4170_9cc8_df2fe101bb93); +windows_core::imp::define_interface!(IInteractionTrackerInertiaRestingValue, IInteractionTrackerInertiaRestingValue_Vtbl, 0x86f7ec09_5096_4170_9cc8_df2fe101bb93); #[repr(C)] pub struct IInteractionTrackerInertiaRestingValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -253,13 +253,13 @@ pub struct IInteractionTrackerInertiaRestingValue_Vtbl { pub RestingValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRestingValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerInertiaRestingValueStatics, IInteractionTrackerInertiaRestingValueStatics_Vtbl, 0x18ed4699_0745_4096_bcab_3a4e99569bcf); +windows_core::imp::define_interface!(IInteractionTrackerInertiaRestingValueStatics, IInteractionTrackerInertiaRestingValueStatics_Vtbl, 0x18ed4699_0745_4096_bcab_3a4e99569bcf); #[repr(C)] pub struct IInteractionTrackerInertiaRestingValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerInertiaStateEnteredArgs, IInteractionTrackerInertiaStateEnteredArgs_Vtbl, 0x87108cf2_e7ff_4f7d_9ffd_d72f1e409b63); +windows_core::imp::define_interface!(IInteractionTrackerInertiaStateEnteredArgs, IInteractionTrackerInertiaStateEnteredArgs_Vtbl, 0x87108cf2_e7ff_4f7d_9ffd_d72f1e409b63); #[repr(C)] pub struct IInteractionTrackerInertiaStateEnteredArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -280,31 +280,31 @@ pub struct IInteractionTrackerInertiaStateEnteredArgs_Vtbl { pub RequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ScaleVelocityInPercentPerSecond: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerInertiaStateEnteredArgs2, IInteractionTrackerInertiaStateEnteredArgs2_Vtbl, 0xb1eb32f6_c26c_41f6_a189_fabc22b323cc); +windows_core::imp::define_interface!(IInteractionTrackerInertiaStateEnteredArgs2, IInteractionTrackerInertiaStateEnteredArgs2_Vtbl, 0xb1eb32f6_c26c_41f6_a189_fabc22b323cc); #[repr(C)] pub struct IInteractionTrackerInertiaStateEnteredArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsInertiaFromImpulse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerInertiaStateEnteredArgs3, IInteractionTrackerInertiaStateEnteredArgs3_Vtbl, 0x48ac1c2f_47bd_59af_a58c_79bd2eb9ef71); +windows_core::imp::define_interface!(IInteractionTrackerInertiaStateEnteredArgs3, IInteractionTrackerInertiaStateEnteredArgs3_Vtbl, 0x48ac1c2f_47bd_59af_a58c_79bd2eb9ef71); #[repr(C)] pub struct IInteractionTrackerInertiaStateEnteredArgs3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsFromBinding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerInteractingStateEnteredArgs, IInteractionTrackerInteractingStateEnteredArgs_Vtbl, 0xa7263939_a17b_4011_99fd_b5c24f143748); +windows_core::imp::define_interface!(IInteractionTrackerInteractingStateEnteredArgs, IInteractionTrackerInteractingStateEnteredArgs_Vtbl, 0xa7263939_a17b_4011_99fd_b5c24f143748); #[repr(C)] pub struct IInteractionTrackerInteractingStateEnteredArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerInteractingStateEnteredArgs2, IInteractionTrackerInteractingStateEnteredArgs2_Vtbl, 0x509652d6_d488_59cd_819f_f52310295b11); +windows_core::imp::define_interface!(IInteractionTrackerInteractingStateEnteredArgs2, IInteractionTrackerInteractingStateEnteredArgs2_Vtbl, 0x509652d6_d488_59cd_819f_f52310295b11); #[repr(C)] pub struct IInteractionTrackerInteractingStateEnteredArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsFromBinding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerOwner, IInteractionTrackerOwner_Vtbl, 0xdb2e8af3_4deb_4e53_b29c_b06c9f96d651); +windows_core::imp::define_interface!(IInteractionTrackerOwner, IInteractionTrackerOwner_Vtbl, 0xdb2e8af3_4deb_4e53_b29c_b06c9f96d651); windows_core::imp::interface_hierarchy!(IInteractionTrackerOwner, windows_core::IUnknown, windows_core::IInspectable); impl IInteractionTrackerOwner { pub fn CustomAnimationStateEntered(&self, sender: P0, args: P1) -> windows_core::Result<()> @@ -369,27 +369,27 @@ pub struct IInteractionTrackerOwner_Vtbl { pub RequestIgnored: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ValuesChanged: 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::com_interface!(IInteractionTrackerRequestIgnoredArgs, IInteractionTrackerRequestIgnoredArgs_Vtbl, 0x80dd82f1_ce25_488f_91dd_cb6455ccff2e); +windows_core::imp::define_interface!(IInteractionTrackerRequestIgnoredArgs, IInteractionTrackerRequestIgnoredArgs_Vtbl, 0x80dd82f1_ce25_488f_91dd_cb6455ccff2e); #[repr(C)] pub struct IInteractionTrackerRequestIgnoredArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerStatics, IInteractionTrackerStatics_Vtbl, 0xbba5d7b7_6590_4498_8d6c_eb62b514c92a); +windows_core::imp::define_interface!(IInteractionTrackerStatics, IInteractionTrackerStatics_Vtbl, 0xbba5d7b7_6590_4498_8d6c_eb62b514c92a); #[repr(C)] pub struct IInteractionTrackerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateWithOwner: 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::com_interface!(IInteractionTrackerStatics2, IInteractionTrackerStatics2_Vtbl, 0x35e53720_46b7_5cb0_b505_f3d6884a6163); +windows_core::imp::define_interface!(IInteractionTrackerStatics2, IInteractionTrackerStatics2_Vtbl, 0x35e53720_46b7_5cb0_b505_f3d6884a6163); #[repr(C)] pub struct IInteractionTrackerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetBindingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, InteractionBindingAxisModes) -> windows_core::HRESULT, pub GetBindingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut InteractionBindingAxisModes) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerValuesChangedArgs, IInteractionTrackerValuesChangedArgs_Vtbl, 0xcf1578ef_d3df_4501_b9e6_f02fb22f73d0); +windows_core::imp::define_interface!(IInteractionTrackerValuesChangedArgs, IInteractionTrackerValuesChangedArgs_Vtbl, 0xcf1578ef_d3df_4501_b9e6_f02fb22f73d0); #[repr(C)] pub struct IInteractionTrackerValuesChangedArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -400,17 +400,17 @@ pub struct IInteractionTrackerValuesChangedArgs_Vtbl { pub RequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Scale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerVector2InertiaModifier, IInteractionTrackerVector2InertiaModifier_Vtbl, 0x87e08ab0_3086_4853_a4b7_77882ad5d7e3); +windows_core::imp::define_interface!(IInteractionTrackerVector2InertiaModifier, IInteractionTrackerVector2InertiaModifier_Vtbl, 0x87e08ab0_3086_4853_a4b7_77882ad5d7e3); #[repr(C)] pub struct IInteractionTrackerVector2InertiaModifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IInteractionTrackerVector2InertiaModifierFactory, IInteractionTrackerVector2InertiaModifierFactory_Vtbl, 0x7401d6c4_6c6d_48df_bc3e_171e227e7d7f); +windows_core::imp::define_interface!(IInteractionTrackerVector2InertiaModifierFactory, IInteractionTrackerVector2InertiaModifierFactory_Vtbl, 0x7401d6c4_6c6d_48df_bc3e_171e227e7d7f); #[repr(C)] pub struct IInteractionTrackerVector2InertiaModifierFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IInteractionTrackerVector2InertiaNaturalMotion, IInteractionTrackerVector2InertiaNaturalMotion_Vtbl, 0x5f17695c_162d_4c07_9400_c282b28276ca); +windows_core::imp::define_interface!(IInteractionTrackerVector2InertiaNaturalMotion, IInteractionTrackerVector2InertiaNaturalMotion_Vtbl, 0x5f17695c_162d_4c07_9400_c282b28276ca); #[repr(C)] pub struct IInteractionTrackerVector2InertiaNaturalMotion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -419,13 +419,13 @@ pub struct IInteractionTrackerVector2InertiaNaturalMotion_Vtbl { pub NaturalMotion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetNaturalMotion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInteractionTrackerVector2InertiaNaturalMotionStatics, IInteractionTrackerVector2InertiaNaturalMotionStatics_Vtbl, 0x82001a48_09c0_434f_8189_141c66df362f); +windows_core::imp::define_interface!(IInteractionTrackerVector2InertiaNaturalMotionStatics, IInteractionTrackerVector2InertiaNaturalMotionStatics_Vtbl, 0x82001a48_09c0_434f_8189_141c66df362f); #[repr(C)] pub struct IInteractionTrackerVector2InertiaNaturalMotionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisualInteractionSource, IVisualInteractionSource_Vtbl, 0xca0e8a86_d8d6_4111_b088_70347bd2b0ed); +windows_core::imp::define_interface!(IVisualInteractionSource, IVisualInteractionSource_Vtbl, 0xca0e8a86_d8d6_4111_b088_70347bd2b0ed); #[repr(C)] pub struct IVisualInteractionSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -453,7 +453,7 @@ pub struct IVisualInteractionSource_Vtbl { #[cfg(not(feature = "UI_Input"))] TryRedirectForManipulation: usize, } -windows_core::imp::com_interface!(IVisualInteractionSource2, IVisualInteractionSource2_Vtbl, 0xaa914893_a73c_414d_80d0_249bad2fbd93); +windows_core::imp::define_interface!(IVisualInteractionSource2, IVisualInteractionSource2_Vtbl, 0xaa914893_a73c_414d_80d0_249bad2fbd93); #[repr(C)] pub struct IVisualInteractionSource2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -493,24 +493,24 @@ pub struct IVisualInteractionSource2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] ConfigureDeltaScaleModifiers: usize, } -windows_core::imp::com_interface!(IVisualInteractionSource3, IVisualInteractionSource3_Vtbl, 0xd941ef2a_0d5c_4057_92d7_c9711533204f); +windows_core::imp::define_interface!(IVisualInteractionSource3, IVisualInteractionSource3_Vtbl, 0xd941ef2a_0d5c_4057_92d7_c9711533204f); #[repr(C)] pub struct IVisualInteractionSource3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PointerWheelConfig: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisualInteractionSourceObjectFactory, IVisualInteractionSourceObjectFactory_Vtbl, 0xb2ca917c_e98a_41f2_b3c9_891c9266c8f6); +windows_core::imp::define_interface!(IVisualInteractionSourceObjectFactory, IVisualInteractionSourceObjectFactory_Vtbl, 0xb2ca917c_e98a_41f2_b3c9_891c9266c8f6); #[repr(C)] pub struct IVisualInteractionSourceObjectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IVisualInteractionSourceStatics, IVisualInteractionSourceStatics_Vtbl, 0x369965e1_8645_4f75_ba00_6479cd10c8e6); +windows_core::imp::define_interface!(IVisualInteractionSourceStatics, IVisualInteractionSourceStatics_Vtbl, 0x369965e1_8645_4f75_ba00_6479cd10c8e6); #[repr(C)] pub struct IVisualInteractionSourceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisualInteractionSourceStatics2, IVisualInteractionSourceStatics2_Vtbl, 0xa979c032_5764_55e0_bc1f_0778786dcfde); +windows_core::imp::define_interface!(IVisualInteractionSourceStatics2, IVisualInteractionSourceStatics2_Vtbl, 0xa979c032_5764_55e0_bc1f_0778786dcfde); #[repr(C)] pub struct IVisualInteractionSourceStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 304676333c..2835f90983 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Scenes/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISceneBoundingBox, ISceneBoundingBox_Vtbl, 0x5d8ffc70_c618_4083_8251_9962593114aa); +windows_core::imp::define_interface!(ISceneBoundingBox, ISceneBoundingBox_Vtbl, 0x5d8ffc70_c618_4083_8251_9962593114aa); #[repr(C)] pub struct ISceneBoundingBox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,43 +23,43 @@ pub struct ISceneBoundingBox_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] Size: usize, } -windows_core::imp::com_interface!(ISceneComponent, ISceneComponent_Vtbl, 0xae20fc96_226c_44bd_95cb_dd5ed9ebe9a5); +windows_core::imp::define_interface!(ISceneComponent, ISceneComponent_Vtbl, 0xae20fc96_226c_44bd_95cb_dd5ed9ebe9a5); #[repr(C)] pub struct ISceneComponent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ComponentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SceneComponentType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneComponentCollection, ISceneComponentCollection_Vtbl, 0xc483791c_5f46_45e4_b666_a3d2259f9b2e); +windows_core::imp::define_interface!(ISceneComponentCollection, ISceneComponentCollection_Vtbl, 0xc483791c_5f46_45e4_b666_a3d2259f9b2e); #[repr(C)] pub struct ISceneComponentCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneComponentFactory, ISceneComponentFactory_Vtbl, 0x5fbc5574_ddd8_5889_ab5b_d8fa716e7c9e); +windows_core::imp::define_interface!(ISceneComponentFactory, ISceneComponentFactory_Vtbl, 0x5fbc5574_ddd8_5889_ab5b_d8fa716e7c9e); #[repr(C)] pub struct ISceneComponentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneMaterial, ISceneMaterial_Vtbl, 0x8ca74b7c_30df_4e07_9490_37875af1a123); +windows_core::imp::define_interface!(ISceneMaterial, ISceneMaterial_Vtbl, 0x8ca74b7c_30df_4e07_9490_37875af1a123); #[repr(C)] pub struct ISceneMaterial_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneMaterialFactory, ISceneMaterialFactory_Vtbl, 0x67536c19_a707_5254_a495_7fdc799893b9); +windows_core::imp::define_interface!(ISceneMaterialFactory, ISceneMaterialFactory_Vtbl, 0x67536c19_a707_5254_a495_7fdc799893b9); #[repr(C)] pub struct ISceneMaterialFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneMaterialInput, ISceneMaterialInput_Vtbl, 0x422a1642_1ef1_485c_97e9_ae6f95ad812f); +windows_core::imp::define_interface!(ISceneMaterialInput, ISceneMaterialInput_Vtbl, 0x422a1642_1ef1_485c_97e9_ae6f95ad812f); #[repr(C)] pub struct ISceneMaterialInput_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneMaterialInputFactory, ISceneMaterialInputFactory_Vtbl, 0xa88feb74_7d0a_5e4c_a748_1015af9ca74f); +windows_core::imp::define_interface!(ISceneMaterialInputFactory, ISceneMaterialInputFactory_Vtbl, 0xa88feb74_7d0a_5e4c_a748_1015af9ca74f); #[repr(C)] pub struct ISceneMaterialInputFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneMesh, ISceneMesh_Vtbl, 0xee9a1530_1155_4c0c_92bd_40020cf78347); +windows_core::imp::define_interface!(ISceneMesh, ISceneMesh_Vtbl, 0xee9a1530_1155_4c0c_92bd_40020cf78347); #[repr(C)] pub struct ISceneMesh_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -77,12 +77,12 @@ pub struct ISceneMesh_Vtbl { #[cfg(not(feature = "Graphics_DirectX"))] FillMeshAttribute: usize, } -windows_core::imp::com_interface!(ISceneMeshMaterialAttributeMap, ISceneMeshMaterialAttributeMap_Vtbl, 0xce843171_3d43_4855_aa69_31ff988d049d); +windows_core::imp::define_interface!(ISceneMeshMaterialAttributeMap, ISceneMeshMaterialAttributeMap_Vtbl, 0xce843171_3d43_4855_aa69_31ff988d049d); #[repr(C)] pub struct ISceneMeshMaterialAttributeMap_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneMeshRendererComponent, ISceneMeshRendererComponent_Vtbl, 0x9929f7e3_6364_477e_98fe_74ed9fd4c2de); +windows_core::imp::define_interface!(ISceneMeshRendererComponent, ISceneMeshRendererComponent_Vtbl, 0x9929f7e3_6364_477e_98fe_74ed9fd4c2de); #[repr(C)] pub struct ISceneMeshRendererComponent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -92,19 +92,19 @@ pub struct ISceneMeshRendererComponent_Vtbl { pub SetMesh: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UVMappings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneMeshRendererComponentStatics, ISceneMeshRendererComponentStatics_Vtbl, 0x4954f37a_4459_4521_bd6e_2b38b8d711ea); +windows_core::imp::define_interface!(ISceneMeshRendererComponentStatics, ISceneMeshRendererComponentStatics_Vtbl, 0x4954f37a_4459_4521_bd6e_2b38b8d711ea); #[repr(C)] pub struct ISceneMeshRendererComponentStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneMeshStatics, ISceneMeshStatics_Vtbl, 0x8412316c_7b57_473f_966b_81dc277b1751); +windows_core::imp::define_interface!(ISceneMeshStatics, ISceneMeshStatics_Vtbl, 0x8412316c_7b57_473f_966b_81dc277b1751); #[repr(C)] pub struct ISceneMeshStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneMetallicRoughnessMaterial, ISceneMetallicRoughnessMaterial_Vtbl, 0xc1d91446_799c_429e_a4e4_5da645f18e61); +windows_core::imp::define_interface!(ISceneMetallicRoughnessMaterial, ISceneMetallicRoughnessMaterial_Vtbl, 0xc1d91446_799c_429e_a4e4_5da645f18e61); #[repr(C)] pub struct ISceneMetallicRoughnessMaterial_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -125,13 +125,13 @@ pub struct ISceneMetallicRoughnessMaterial_Vtbl { pub RoughnessFactor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetRoughnessFactor: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneMetallicRoughnessMaterialStatics, ISceneMetallicRoughnessMaterialStatics_Vtbl, 0x3bddca50_6d9d_4531_8dc4_b27e3e49b7ab); +windows_core::imp::define_interface!(ISceneMetallicRoughnessMaterialStatics, ISceneMetallicRoughnessMaterialStatics_Vtbl, 0x3bddca50_6d9d_4531_8dc4_b27e3e49b7ab); #[repr(C)] pub struct ISceneMetallicRoughnessMaterialStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneModelTransform, ISceneModelTransform_Vtbl, 0xc05576c2_32b1_4269_980d_b98537100ae4); +windows_core::imp::define_interface!(ISceneModelTransform, ISceneModelTransform_Vtbl, 0xc05576c2_32b1_4269_980d_b98537100ae4); #[repr(C)] pub struct ISceneModelTransform_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -172,7 +172,7 @@ pub struct ISceneModelTransform_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetTranslation: usize, } -windows_core::imp::com_interface!(ISceneNode, ISceneNode_Vtbl, 0xacf2c247_f307_4581_9c41_af2e29c3b016); +windows_core::imp::define_interface!(ISceneNode, ISceneNode_Vtbl, 0xacf2c247_f307_4581_9c41_af2e29c3b016); #[repr(C)] pub struct ISceneNode_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -188,28 +188,28 @@ pub struct ISceneNode_Vtbl { pub Transform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FindFirstComponentOfType: unsafe extern "system" fn(*mut core::ffi::c_void, SceneComponentType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneNodeCollection, ISceneNodeCollection_Vtbl, 0x29ada101_2dd9_4332_be63_60d2cf4269f2); +windows_core::imp::define_interface!(ISceneNodeCollection, ISceneNodeCollection_Vtbl, 0x29ada101_2dd9_4332_be63_60d2cf4269f2); #[repr(C)] pub struct ISceneNodeCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneNodeStatics, ISceneNodeStatics_Vtbl, 0x579a0faa_be9d_4210_908c_93d15feed0b7); +windows_core::imp::define_interface!(ISceneNodeStatics, ISceneNodeStatics_Vtbl, 0x579a0faa_be9d_4210_908c_93d15feed0b7); #[repr(C)] pub struct ISceneNodeStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneObject, ISceneObject_Vtbl, 0x1e94249b_0f1b_49eb_a819_877d8450005b); +windows_core::imp::define_interface!(ISceneObject, ISceneObject_Vtbl, 0x1e94249b_0f1b_49eb_a819_877d8450005b); #[repr(C)] pub struct ISceneObject_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneObjectFactory, ISceneObjectFactory_Vtbl, 0x14fe799a_33e4_52ef_956c_44229d21f2c1); +windows_core::imp::define_interface!(ISceneObjectFactory, ISceneObjectFactory_Vtbl, 0x14fe799a_33e4_52ef_956c_44229d21f2c1); #[repr(C)] pub struct ISceneObjectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IScenePbrMaterial, IScenePbrMaterial_Vtbl, 0xaab6ebbe_d680_46df_8294_b6800a9f95e7); +windows_core::imp::define_interface!(IScenePbrMaterial, IScenePbrMaterial_Vtbl, 0xaab6ebbe_d680_46df_8294_b6800a9f95e7); #[repr(C)] pub struct IScenePbrMaterial_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -238,22 +238,22 @@ pub struct IScenePbrMaterial_Vtbl { pub OcclusionStrength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetOcclusionStrength: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScenePbrMaterialFactory, IScenePbrMaterialFactory_Vtbl, 0x2e3f3dfe_0b85_5727_b5be_b7d3cbac37fa); +windows_core::imp::define_interface!(IScenePbrMaterialFactory, IScenePbrMaterialFactory_Vtbl, 0x2e3f3dfe_0b85_5727_b5be_b7d3cbac37fa); #[repr(C)] pub struct IScenePbrMaterialFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneRendererComponent, ISceneRendererComponent_Vtbl, 0xf1acb857_cf4f_4025_9b25_a2d1944cf507); +windows_core::imp::define_interface!(ISceneRendererComponent, ISceneRendererComponent_Vtbl, 0xf1acb857_cf4f_4025_9b25_a2d1944cf507); #[repr(C)] pub struct ISceneRendererComponent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneRendererComponentFactory, ISceneRendererComponentFactory_Vtbl, 0x1db6ed6c_aa2c_5967_9035_56352dc69658); +windows_core::imp::define_interface!(ISceneRendererComponentFactory, ISceneRendererComponentFactory_Vtbl, 0x1db6ed6c_aa2c_5967_9035_56352dc69658); #[repr(C)] pub struct ISceneRendererComponentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ISceneSurfaceMaterialInput, ISceneSurfaceMaterialInput_Vtbl, 0x9937da5c_a9ca_4cfc_b3aa_088356518742); +windows_core::imp::define_interface!(ISceneSurfaceMaterialInput, ISceneSurfaceMaterialInput_Vtbl, 0x9937da5c_a9ca_4cfc_b3aa_088356518742); #[repr(C)] pub struct ISceneSurfaceMaterialInput_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -266,20 +266,20 @@ pub struct ISceneSurfaceMaterialInput_Vtbl { pub WrappingVMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SceneWrappingMode) -> windows_core::HRESULT, pub SetWrappingVMode: unsafe extern "system" fn(*mut core::ffi::c_void, SceneWrappingMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneSurfaceMaterialInputStatics, ISceneSurfaceMaterialInputStatics_Vtbl, 0x5a2394d3_6429_4589_bbcf_b84f4f3cfbfe); +windows_core::imp::define_interface!(ISceneSurfaceMaterialInputStatics, ISceneSurfaceMaterialInputStatics_Vtbl, 0x5a2394d3_6429_4589_bbcf_b84f4f3cfbfe); #[repr(C)] pub struct ISceneSurfaceMaterialInputStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneVisual, ISceneVisual_Vtbl, 0x8e672c1e_d734_47b1_be14_3d694ffa4301); +windows_core::imp::define_interface!(ISceneVisual, ISceneVisual_Vtbl, 0x8e672c1e_d734_47b1_be14_3d694ffa4301); #[repr(C)] pub struct ISceneVisual_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Root: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceneVisualStatics, ISceneVisualStatics_Vtbl, 0xb8347e9a_50aa_4527_8d34_de4cb8ea88b4); +windows_core::imp::define_interface!(ISceneVisualStatics, ISceneVisualStatics_Vtbl, 0xb8347e9a_50aa_4527_8d34_de4cb8ea88b4); #[repr(C)] pub struct ISceneVisualStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/Composition/mod.rs b/crates/libs/windows/src/Windows/UI/Composition/mod.rs index b8e7dec612..cd3bafc9d7 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/mod.rs @@ -10,21 +10,21 @@ pub mod Effects; pub mod Interactions; #[cfg(feature = "UI_Composition_Scenes")] pub mod Scenes; -windows_core::imp::com_interface!(IAmbientLight, IAmbientLight_Vtbl, 0xa48130a1_b7c4_46f7_b9bf_daf43a44e6ee); +windows_core::imp::define_interface!(IAmbientLight, IAmbientLight_Vtbl, 0xa48130a1_b7c4_46f7_b9bf_daf43a44e6ee); #[repr(C)] pub struct IAmbientLight_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Color: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Color) -> windows_core::HRESULT, pub SetColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::Color) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAmbientLight2, IAmbientLight2_Vtbl, 0x3b64a6bf_5f97_4c94_86e5_042dd386b27d); +windows_core::imp::define_interface!(IAmbientLight2, IAmbientLight2_Vtbl, 0x3b64a6bf_5f97_4c94_86e5_042dd386b27d); #[repr(C)] pub struct IAmbientLight2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Intensity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetIntensity: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAnimationController, IAnimationController_Vtbl, 0xc934efd2_0722_4f5f_a4e2_9510f3d43bf7); +windows_core::imp::define_interface!(IAnimationController, IAnimationController_Vtbl, 0xc934efd2_0722_4f5f_a4e2_9510f3d43bf7); #[repr(C)] pub struct IAnimationController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,14 +37,14 @@ pub struct IAnimationController_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, } -windows_core::imp::com_interface!(IAnimationControllerStatics, IAnimationControllerStatics_Vtbl, 0xe71164df_651b_4800_b9e5_6a3bcfed3365); +windows_core::imp::define_interface!(IAnimationControllerStatics, IAnimationControllerStatics_Vtbl, 0xe71164df_651b_4800_b9e5_6a3bcfed3365); #[repr(C)] pub struct IAnimationControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MaxPlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub MinPlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAnimationObject, IAnimationObject_Vtbl, 0xe7141e0a_04b8_4fc5_a4dc_195392e57807); +windows_core::imp::define_interface!(IAnimationObject, IAnimationObject_Vtbl, 0xe7141e0a_04b8_4fc5_a4dc_195392e57807); windows_core::imp::interface_hierarchy!(IAnimationObject, windows_core::IUnknown, windows_core::IInspectable); impl IAnimationObject { pub fn PopulatePropertyInfo(&self, propertyname: &windows_core::HSTRING, propertyinfo: P0) -> windows_core::Result<()> @@ -63,34 +63,34 @@ 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, } -windows_core::imp::com_interface!(IAnimationPropertyInfo, IAnimationPropertyInfo_Vtbl, 0xf4716f05_ed77_4e3c_b328_5c3985b3738f); +windows_core::imp::define_interface!(IAnimationPropertyInfo, IAnimationPropertyInfo_Vtbl, 0xf4716f05_ed77_4e3c_b328_5c3985b3738f); #[repr(C)] pub struct IAnimationPropertyInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AccessMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AnimationPropertyAccessMode) -> windows_core::HRESULT, pub SetAccessMode: unsafe extern "system" fn(*mut core::ffi::c_void, AnimationPropertyAccessMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAnimationPropertyInfo2, IAnimationPropertyInfo2_Vtbl, 0x591720b4_7472_5218_8b39_dffe615ae6da); +windows_core::imp::define_interface!(IAnimationPropertyInfo2, IAnimationPropertyInfo2_Vtbl, 0x591720b4_7472_5218_8b39_dffe615ae6da); #[repr(C)] 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, } -windows_core::imp::com_interface!(IBackEasingFunction, IBackEasingFunction_Vtbl, 0xb8560da4_5e3c_545d_b263_7987a2bd27cb); +windows_core::imp::define_interface!(IBackEasingFunction, IBackEasingFunction_Vtbl, 0xb8560da4_5e3c_545d_b263_7987a2bd27cb); #[repr(C)] pub struct IBackEasingFunction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CompositionEasingFunctionMode) -> windows_core::HRESULT, pub Amplitude: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBooleanKeyFrameAnimation, IBooleanKeyFrameAnimation_Vtbl, 0x95e23a08_d1f4_4972_9770_3efe68d82e14); +windows_core::imp::define_interface!(IBooleanKeyFrameAnimation, IBooleanKeyFrameAnimation_Vtbl, 0x95e23a08_d1f4_4972_9770_3efe68d82e14); #[repr(C)] pub struct IBooleanKeyFrameAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InsertKeyFrame: unsafe extern "system" fn(*mut core::ffi::c_void, f32, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBounceEasingFunction, IBounceEasingFunction_Vtbl, 0xe7fdb44b_aad5_5174_9421_eef8b75a6a43); +windows_core::imp::define_interface!(IBounceEasingFunction, IBounceEasingFunction_Vtbl, 0xe7fdb44b_aad5_5174_9421_eef8b75a6a43); #[repr(C)] pub struct IBounceEasingFunction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -98,7 +98,7 @@ pub struct IBounceEasingFunction_Vtbl { pub Bounces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Bounciness: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBounceScalarNaturalMotionAnimation, IBounceScalarNaturalMotionAnimation_Vtbl, 0xbaa30dcc_a633_4618_9b06_7f7c72c87cff); +windows_core::imp::define_interface!(IBounceScalarNaturalMotionAnimation, IBounceScalarNaturalMotionAnimation_Vtbl, 0xbaa30dcc_a633_4618_9b06_7f7c72c87cff); #[repr(C)] pub struct IBounceScalarNaturalMotionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -107,7 +107,7 @@ pub struct IBounceScalarNaturalMotionAnimation_Vtbl { pub Restitution: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetRestitution: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBounceVector2NaturalMotionAnimation, IBounceVector2NaturalMotionAnimation_Vtbl, 0xda344196_2154_4b3c_88aa_47361204eccd); +windows_core::imp::define_interface!(IBounceVector2NaturalMotionAnimation, IBounceVector2NaturalMotionAnimation_Vtbl, 0xda344196_2154_4b3c_88aa_47361204eccd); #[repr(C)] pub struct IBounceVector2NaturalMotionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -116,7 +116,7 @@ pub struct IBounceVector2NaturalMotionAnimation_Vtbl { pub Restitution: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetRestitution: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBounceVector3NaturalMotionAnimation, IBounceVector3NaturalMotionAnimation_Vtbl, 0x47dabc31_10d3_4518_86f1_09caf742d113); +windows_core::imp::define_interface!(IBounceVector3NaturalMotionAnimation, IBounceVector3NaturalMotionAnimation_Vtbl, 0x47dabc31_10d3_4518_86f1_09caf742d113); #[repr(C)] pub struct IBounceVector3NaturalMotionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -125,13 +125,13 @@ pub struct IBounceVector3NaturalMotionAnimation_Vtbl { pub Restitution: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetRestitution: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICircleEasingFunction, ICircleEasingFunction_Vtbl, 0x1e07222a_6f82_5a28_8748_2e92fc46ee2b); +windows_core::imp::define_interface!(ICircleEasingFunction, ICircleEasingFunction_Vtbl, 0x1e07222a_6f82_5a28_8748_2e92fc46ee2b); #[repr(C)] pub struct ICircleEasingFunction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CompositionEasingFunctionMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IColorKeyFrameAnimation, IColorKeyFrameAnimation_Vtbl, 0x93adb5e9_8e05_4593_84a3_dca152781e56); +windows_core::imp::define_interface!(IColorKeyFrameAnimation, IColorKeyFrameAnimation_Vtbl, 0x93adb5e9_8e05_4593_84a3_dca152781e56); #[repr(C)] pub struct IColorKeyFrameAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -140,7 +140,7 @@ pub struct IColorKeyFrameAnimation_Vtbl { pub InsertKeyFrame: unsafe extern "system" fn(*mut core::ffi::c_void, f32, super::Color) -> windows_core::HRESULT, pub InsertKeyFrameWithEasingFunction: unsafe extern "system" fn(*mut core::ffi::c_void, f32, super::Color, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionAnimation, ICompositionAnimation_Vtbl, 0x464c4c2c_1caa_4061_9b40_e13fde1503ca); +windows_core::imp::define_interface!(ICompositionAnimation, ICompositionAnimation_Vtbl, 0x464c4c2c_1caa_4061_9b40_e13fde1503ca); #[repr(C)] pub struct ICompositionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -174,7 +174,7 @@ pub struct ICompositionAnimation_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetVector4Parameter: usize, } -windows_core::imp::com_interface!(ICompositionAnimation2, ICompositionAnimation2_Vtbl, 0x369b603e_a80f_4948_93e3_ed23fb38c6cb); +windows_core::imp::define_interface!(ICompositionAnimation2, ICompositionAnimation2_Vtbl, 0x369b603e_a80f_4948_93e3_ed23fb38c6cb); #[repr(C)] pub struct ICompositionAnimation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -182,7 +182,7 @@ pub struct ICompositionAnimation2_Vtbl { 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, } -windows_core::imp::com_interface!(ICompositionAnimation3, ICompositionAnimation3_Vtbl, 0xd51e030d_7da4_4bd7_bc2d_f4517529f43a); +windows_core::imp::define_interface!(ICompositionAnimation3, ICompositionAnimation3_Vtbl, 0xd51e030d_7da4_4bd7_bc2d_f4517529f43a); #[repr(C)] pub struct ICompositionAnimation3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -191,13 +191,13 @@ pub struct ICompositionAnimation3_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] InitialValueExpressions: usize, } -windows_core::imp::com_interface!(ICompositionAnimation4, ICompositionAnimation4_Vtbl, 0x770137be_76bc_4e23_bfed_fe9cc20f6ec9); +windows_core::imp::define_interface!(ICompositionAnimation4, ICompositionAnimation4_Vtbl, 0x770137be_76bc_4e23_bfed_fe9cc20f6ec9); #[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, } -windows_core::imp::com_interface!(ICompositionAnimationBase, ICompositionAnimationBase_Vtbl, 0x1c2c2999_e818_48d3_a6dd_d78c82f8ace9); +windows_core::imp::define_interface!(ICompositionAnimationBase, ICompositionAnimationBase_Vtbl, 0x1c2c2999_e818_48d3_a6dd_d78c82f8ace9); windows_core::imp::interface_hierarchy!(ICompositionAnimationBase, windows_core::IUnknown, windows_core::IInspectable); impl ICompositionAnimationBase {} impl windows_core::RuntimeType for ICompositionAnimationBase { @@ -207,12 +207,12 @@ impl windows_core::RuntimeType for ICompositionAnimationBase { pub struct ICompositionAnimationBase_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionAnimationFactory, ICompositionAnimationFactory_Vtbl, 0x10f6c4fb_6e51_4c25_bbd3_586a9bec3ef4); +windows_core::imp::define_interface!(ICompositionAnimationFactory, ICompositionAnimationFactory_Vtbl, 0x10f6c4fb_6e51_4c25_bbd3_586a9bec3ef4); #[repr(C)] pub struct ICompositionAnimationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionAnimationGroup, ICompositionAnimationGroup_Vtbl, 0x5e7cc90c_cd14_4e07_8a55_c72527aabdac); +windows_core::imp::define_interface!(ICompositionAnimationGroup, ICompositionAnimationGroup_Vtbl, 0x5e7cc90c_cd14_4e07_8a55_c72527aabdac); #[repr(C)] pub struct ICompositionAnimationGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -221,27 +221,27 @@ pub struct ICompositionAnimationGroup_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionBackdropBrush, ICompositionBackdropBrush_Vtbl, 0xc5acae58_3898_499e_8d7f_224e91286a5d); +windows_core::imp::define_interface!(ICompositionBackdropBrush, ICompositionBackdropBrush_Vtbl, 0xc5acae58_3898_499e_8d7f_224e91286a5d); #[repr(C)] pub struct ICompositionBackdropBrush_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionBatchCompletedEventArgs, ICompositionBatchCompletedEventArgs_Vtbl, 0x0d00dad0_9464_450a_a562_2e2698b0a812); +windows_core::imp::define_interface!(ICompositionBatchCompletedEventArgs, ICompositionBatchCompletedEventArgs_Vtbl, 0x0d00dad0_9464_450a_a562_2e2698b0a812); #[repr(C)] pub struct ICompositionBatchCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionBrush, ICompositionBrush_Vtbl, 0xab0d7608_30c0_40e9_b568_b60a6bd1fb46); +windows_core::imp::define_interface!(ICompositionBrush, ICompositionBrush_Vtbl, 0xab0d7608_30c0_40e9_b568_b60a6bd1fb46); #[repr(C)] pub struct ICompositionBrush_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionBrushFactory, ICompositionBrushFactory_Vtbl, 0xda53fb4c_4650_47c4_ad76_765379607ed6); +windows_core::imp::define_interface!(ICompositionBrushFactory, ICompositionBrushFactory_Vtbl, 0xda53fb4c_4650_47c4_ad76_765379607ed6); #[repr(C)] pub struct ICompositionBrushFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionCapabilities, ICompositionCapabilities_Vtbl, 0x8253353e_b517_48bc_b1e8_4b3561a2e181); +windows_core::imp::define_interface!(ICompositionCapabilities, ICompositionCapabilities_Vtbl, 0x8253353e_b517_48bc_b1e8_4b3561a2e181); #[repr(C)] pub struct ICompositionCapabilities_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -250,18 +250,18 @@ pub struct ICompositionCapabilities_Vtbl { 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, } -windows_core::imp::com_interface!(ICompositionCapabilitiesStatics, ICompositionCapabilitiesStatics_Vtbl, 0xf7b7a86e_6416_49e5_8ddf_afe949e20562); +windows_core::imp::define_interface!(ICompositionCapabilitiesStatics, ICompositionCapabilitiesStatics_Vtbl, 0xf7b7a86e_6416_49e5_8ddf_afe949e20562); #[repr(C)] pub struct ICompositionCapabilitiesStatics_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, } -windows_core::imp::com_interface!(ICompositionClip, ICompositionClip_Vtbl, 0x1ccd2a52_cfc7_4ace_9983_146bb8eb6a3c); +windows_core::imp::define_interface!(ICompositionClip, ICompositionClip_Vtbl, 0x1ccd2a52_cfc7_4ace_9983_146bb8eb6a3c); #[repr(C)] pub struct ICompositionClip_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionClip2, ICompositionClip2_Vtbl, 0x5893e069_3516_40e1_89e0_5ba924927235); +windows_core::imp::define_interface!(ICompositionClip2, ICompositionClip2_Vtbl, 0x5893e069_3516_40e1_89e0_5ba924927235); #[repr(C)] pub struct ICompositionClip2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -310,19 +310,19 @@ pub struct ICompositionClip2_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetTransformMatrix: usize, } -windows_core::imp::com_interface!(ICompositionClipFactory, ICompositionClipFactory_Vtbl, 0xb9484caf_20c7_4aed_ac4a_9c78ba1302cf); +windows_core::imp::define_interface!(ICompositionClipFactory, ICompositionClipFactory_Vtbl, 0xb9484caf_20c7_4aed_ac4a_9c78ba1302cf); #[repr(C)] pub struct ICompositionClipFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionColorBrush, ICompositionColorBrush_Vtbl, 0x2b264c5e_bf35_4831_8642_cf70c20fff2f); +windows_core::imp::define_interface!(ICompositionColorBrush, ICompositionColorBrush_Vtbl, 0x2b264c5e_bf35_4831_8642_cf70c20fff2f); #[repr(C)] pub struct ICompositionColorBrush_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Color: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::Color) -> windows_core::HRESULT, pub SetColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::Color) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionColorGradientStop, ICompositionColorGradientStop_Vtbl, 0x6f00ca92_c801_4e41_9a8f_a53e20f57778); +windows_core::imp::define_interface!(ICompositionColorGradientStop, ICompositionColorGradientStop_Vtbl, 0x6f00ca92_c801_4e41_9a8f_a53e20f57778); #[repr(C)] pub struct ICompositionColorGradientStop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -331,12 +331,12 @@ pub struct ICompositionColorGradientStop_Vtbl { pub Offset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetOffset: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionColorGradientStopCollection, ICompositionColorGradientStopCollection_Vtbl, 0x9f1d20ec_7b04_4b1d_90bc_9fa32c0cfd26); +windows_core::imp::define_interface!(ICompositionColorGradientStopCollection, ICompositionColorGradientStopCollection_Vtbl, 0x9f1d20ec_7b04_4b1d_90bc_9fa32c0cfd26); #[repr(C)] pub struct ICompositionColorGradientStopCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionCommitBatch, ICompositionCommitBatch_Vtbl, 0x0d00dad0_ca07_4400_8c8e_cb5db08559cc); +windows_core::imp::define_interface!(ICompositionCommitBatch, ICompositionCommitBatch_Vtbl, 0x0d00dad0_ca07_4400_8c8e_cb5db08559cc); #[repr(C)] pub struct ICompositionCommitBatch_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -345,7 +345,7 @@ pub struct ICompositionCommitBatch_Vtbl { pub Completed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionContainerShape, ICompositionContainerShape_Vtbl, 0x4f5e859b_2e5b_44a8_982c_aa0f69c16059); +windows_core::imp::define_interface!(ICompositionContainerShape, ICompositionContainerShape_Vtbl, 0x4f5e859b_2e5b_44a8_982c_aa0f69c16059); #[repr(C)] pub struct ICompositionContainerShape_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -354,7 +354,7 @@ pub struct ICompositionContainerShape_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Shapes: usize, } -windows_core::imp::com_interface!(ICompositionDrawingSurface, ICompositionDrawingSurface_Vtbl, 0xa166c300_fad0_4d11_9e67_e433162ff49e); +windows_core::imp::define_interface!(ICompositionDrawingSurface, ICompositionDrawingSurface_Vtbl, 0xa166c300_fad0_4d11_9e67_e433162ff49e); #[repr(C)] pub struct ICompositionDrawingSurface_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -368,7 +368,7 @@ pub struct ICompositionDrawingSurface_Vtbl { PixelFormat: usize, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Size) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionDrawingSurface2, ICompositionDrawingSurface2_Vtbl, 0xfad0e88b_e354_44e8_8e3d_c4880d5a213f); +windows_core::imp::define_interface!(ICompositionDrawingSurface2, ICompositionDrawingSurface2_Vtbl, 0xfad0e88b_e354_44e8_8e3d_c4880d5a213f); #[repr(C)] pub struct ICompositionDrawingSurface2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -397,22 +397,22 @@ pub struct ICompositionDrawingSurface2_Vtbl { #[cfg(not(feature = "Graphics"))] ScrollRectWithClip: usize, } -windows_core::imp::com_interface!(ICompositionDrawingSurfaceFactory, ICompositionDrawingSurfaceFactory_Vtbl, 0x9497b00a_312d_46b9_9db3_412fd79464c8); +windows_core::imp::define_interface!(ICompositionDrawingSurfaceFactory, ICompositionDrawingSurfaceFactory_Vtbl, 0x9497b00a_312d_46b9_9db3_412fd79464c8); #[repr(C)] pub struct ICompositionDrawingSurfaceFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionEasingFunction, ICompositionEasingFunction_Vtbl, 0x5145e356_bf79_4ea8_8cc2_6b5b472e6c9a); +windows_core::imp::define_interface!(ICompositionEasingFunction, ICompositionEasingFunction_Vtbl, 0x5145e356_bf79_4ea8_8cc2_6b5b472e6c9a); #[repr(C)] pub struct ICompositionEasingFunction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionEasingFunctionFactory, ICompositionEasingFunctionFactory_Vtbl, 0x60840774_3da0_4949_8200_7206c00190a0); +windows_core::imp::define_interface!(ICompositionEasingFunctionFactory, ICompositionEasingFunctionFactory_Vtbl, 0x60840774_3da0_4949_8200_7206c00190a0); #[repr(C)] pub struct ICompositionEasingFunctionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionEasingFunctionStatics, ICompositionEasingFunctionStatics_Vtbl, 0x17a766b6_2936_53ea_b5af_c642f4a61083); +windows_core::imp::define_interface!(ICompositionEasingFunctionStatics, ICompositionEasingFunctionStatics_Vtbl, 0x17a766b6_2936_53ea_b5af_c642f4a61083); #[repr(C)] pub struct ICompositionEasingFunctionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -431,14 +431,14 @@ pub struct ICompositionEasingFunctionStatics_Vtbl { pub CreatePowerEasingFunction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, CompositionEasingFunctionMode, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateSineEasingFunction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, CompositionEasingFunctionMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionEffectBrush, ICompositionEffectBrush_Vtbl, 0xbf7f795e_83cc_44bf_a447_3e3c071789ec); +windows_core::imp::define_interface!(ICompositionEffectBrush, ICompositionEffectBrush_Vtbl, 0xbf7f795e_83cc_44bf_a447_3e3c071789ec); #[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, } -windows_core::imp::com_interface!(ICompositionEffectFactory, ICompositionEffectFactory_Vtbl, 0xbe5624af_ba7e_4510_9850_41c0b4ff74df); +windows_core::imp::define_interface!(ICompositionEffectFactory, ICompositionEffectFactory_Vtbl, 0xbe5624af_ba7e_4510_9850_41c0b4ff74df); #[repr(C)] pub struct ICompositionEffectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -446,19 +446,19 @@ pub struct ICompositionEffectFactory_Vtbl { pub ExtendedError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub LoadStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CompositionEffectFactoryLoadStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionEffectSourceParameter, ICompositionEffectSourceParameter_Vtbl, 0x858ab13a_3292_4e4e_b3bb_2b6c6544a6ee); +windows_core::imp::define_interface!(ICompositionEffectSourceParameter, ICompositionEffectSourceParameter_Vtbl, 0x858ab13a_3292_4e4e_b3bb_2b6c6544a6ee); #[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, } -windows_core::imp::com_interface!(ICompositionEffectSourceParameterFactory, ICompositionEffectSourceParameterFactory_Vtbl, 0xb3d9f276_aba3_4724_acf3_d0397464db1c); +windows_core::imp::define_interface!(ICompositionEffectSourceParameterFactory, ICompositionEffectSourceParameterFactory_Vtbl, 0xb3d9f276_aba3_4724_acf3_d0397464db1c); #[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, } -windows_core::imp::com_interface!(ICompositionEllipseGeometry, ICompositionEllipseGeometry_Vtbl, 0x4801f884_f6ad_4b93_afa9_897b64e57b1f); +windows_core::imp::define_interface!(ICompositionEllipseGeometry, ICompositionEllipseGeometry_Vtbl, 0x4801f884_f6ad_4b93_afa9_897b64e57b1f); #[repr(C)] pub struct ICompositionEllipseGeometry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -479,7 +479,7 @@ pub struct ICompositionEllipseGeometry_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetRadius: usize, } -windows_core::imp::com_interface!(ICompositionGeometricClip, ICompositionGeometricClip_Vtbl, 0xc840b581_81c9_4444_a2c1_ccaece3a50e5); +windows_core::imp::define_interface!(ICompositionGeometricClip, ICompositionGeometricClip_Vtbl, 0xc840b581_81c9_4444_a2c1_ccaece3a50e5); #[repr(C)] pub struct ICompositionGeometricClip_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -488,7 +488,7 @@ pub struct ICompositionGeometricClip_Vtbl { pub ViewBox: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetViewBox: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionGeometry, ICompositionGeometry_Vtbl, 0xe985217c_6a17_4207_abd8_5fd3dd612a9d); +windows_core::imp::define_interface!(ICompositionGeometry, ICompositionGeometry_Vtbl, 0xe985217c_6a17_4207_abd8_5fd3dd612a9d); #[repr(C)] pub struct ICompositionGeometry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -499,12 +499,12 @@ pub struct ICompositionGeometry_Vtbl { pub TrimStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetTrimStart: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionGeometryFactory, ICompositionGeometryFactory_Vtbl, 0xbffebfe1_8c25_480b_9f56_fed6b288055d); +windows_core::imp::define_interface!(ICompositionGeometryFactory, ICompositionGeometryFactory_Vtbl, 0xbffebfe1_8c25_480b_9f56_fed6b288055d); #[repr(C)] pub struct ICompositionGeometryFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionGradientBrush, ICompositionGradientBrush_Vtbl, 0x1d9709e0_ffc6_4c0e_a9ab_34144d4c9098); +windows_core::imp::define_interface!(ICompositionGradientBrush, ICompositionGradientBrush_Vtbl, 0x1d9709e0_ffc6_4c0e_a9ab_34144d4c9098); #[repr(C)] pub struct ICompositionGradientBrush_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -558,19 +558,19 @@ pub struct ICompositionGradientBrush_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetTransformMatrix: usize, } -windows_core::imp::com_interface!(ICompositionGradientBrush2, ICompositionGradientBrush2_Vtbl, 0x899dd5a1_b4c7_4b33_a1b6_264addc26d10); +windows_core::imp::define_interface!(ICompositionGradientBrush2, ICompositionGradientBrush2_Vtbl, 0x899dd5a1_b4c7_4b33_a1b6_264addc26d10); #[repr(C)] pub struct ICompositionGradientBrush2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MappingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CompositionMappingMode) -> windows_core::HRESULT, pub SetMappingMode: unsafe extern "system" fn(*mut core::ffi::c_void, CompositionMappingMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionGradientBrushFactory, ICompositionGradientBrushFactory_Vtbl, 0x56d765d7_f189_48c9_9c8d_94daf1bec010); +windows_core::imp::define_interface!(ICompositionGradientBrushFactory, ICompositionGradientBrushFactory_Vtbl, 0x56d765d7_f189_48c9_9c8d_94daf1bec010); #[repr(C)] pub struct ICompositionGradientBrushFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionGraphicsDevice, ICompositionGraphicsDevice_Vtbl, 0xfb22c6e1_80a2_4667_9936_dbeaf6eefe95); +windows_core::imp::define_interface!(ICompositionGraphicsDevice, ICompositionGraphicsDevice_Vtbl, 0xfb22c6e1_80a2_4667_9936_dbeaf6eefe95); #[repr(C)] pub struct ICompositionGraphicsDevice_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -581,7 +581,7 @@ pub struct ICompositionGraphicsDevice_Vtbl { pub RenderingDeviceReplaced: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRenderingDeviceReplaced: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionGraphicsDevice2, ICompositionGraphicsDevice2_Vtbl, 0x0fb8bdf6_c0f0_4bcc_9fb8_084982490d7d); +windows_core::imp::define_interface!(ICompositionGraphicsDevice2, ICompositionGraphicsDevice2_Vtbl, 0x0fb8bdf6_c0f0_4bcc_9fb8_084982490d7d); #[repr(C)] pub struct ICompositionGraphicsDevice2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -594,7 +594,7 @@ pub struct ICompositionGraphicsDevice2_Vtbl { #[cfg(not(feature = "Graphics_DirectX"))] CreateVirtualDrawingSurface: usize, } -windows_core::imp::com_interface!(ICompositionGraphicsDevice3, ICompositionGraphicsDevice3_Vtbl, 0x37f67514_d3ef_49d1_b69d_0d8eabeb3626); +windows_core::imp::define_interface!(ICompositionGraphicsDevice3, ICompositionGraphicsDevice3_Vtbl, 0x37f67514_d3ef_49d1_b69d_0d8eabeb3626); #[repr(C)] pub struct ICompositionGraphicsDevice3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -604,7 +604,7 @@ pub struct ICompositionGraphicsDevice3_Vtbl { CreateMipmapSurface: usize, pub Trim: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionGraphicsDevice4, ICompositionGraphicsDevice4_Vtbl, 0x5a73bff9_a97f_4cf5_ba46_98ef358e71b1); +windows_core::imp::define_interface!(ICompositionGraphicsDevice4, ICompositionGraphicsDevice4_Vtbl, 0x5a73bff9_a97f_4cf5_ba46_98ef358e71b1); #[repr(C)] pub struct ICompositionGraphicsDevice4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -613,31 +613,31 @@ pub struct ICompositionGraphicsDevice4_Vtbl { #[cfg(not(feature = "Graphics_DirectX"))] CaptureAsync: usize, } -windows_core::imp::com_interface!(ICompositionLight, ICompositionLight_Vtbl, 0x41a6d7c2_2e5d_4bc1_b09e_8f0a03e3d8d3); +windows_core::imp::define_interface!(ICompositionLight, ICompositionLight_Vtbl, 0x41a6d7c2_2e5d_4bc1_b09e_8f0a03e3d8d3); #[repr(C)] pub struct ICompositionLight_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Targets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionLight2, ICompositionLight2_Vtbl, 0xa7bcda72_f35d_425d_9b98_23f4205f6669); +windows_core::imp::define_interface!(ICompositionLight2, ICompositionLight2_Vtbl, 0xa7bcda72_f35d_425d_9b98_23f4205f6669); #[repr(C)] pub struct ICompositionLight2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ExclusionsFromTargets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionLight3, ICompositionLight3_Vtbl, 0x4b0b00e4_df07_4959_b7a4_4f7e4233f838); +windows_core::imp::define_interface!(ICompositionLight3, ICompositionLight3_Vtbl, 0x4b0b00e4_df07_4959_b7a4_4f7e4233f838); #[repr(C)] pub struct ICompositionLight3_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, } -windows_core::imp::com_interface!(ICompositionLightFactory, ICompositionLightFactory_Vtbl, 0x069cf306_da3c_4b44_838a_5e03d51ace55); +windows_core::imp::define_interface!(ICompositionLightFactory, ICompositionLightFactory_Vtbl, 0x069cf306_da3c_4b44_838a_5e03d51ace55); #[repr(C)] pub struct ICompositionLightFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionLineGeometry, ICompositionLineGeometry_Vtbl, 0xdd7615a4_0c9a_4b67_8dce_440a5bf9cdec); +windows_core::imp::define_interface!(ICompositionLineGeometry, ICompositionLineGeometry_Vtbl, 0xdd7615a4_0c9a_4b67_8dce_440a5bf9cdec); #[repr(C)] pub struct ICompositionLineGeometry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -658,7 +658,7 @@ pub struct ICompositionLineGeometry_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetEnd: usize, } -windows_core::imp::com_interface!(ICompositionLinearGradientBrush, ICompositionLinearGradientBrush_Vtbl, 0x983bc519_a9db_413c_a2d8_2a9056fc525e); +windows_core::imp::define_interface!(ICompositionLinearGradientBrush, ICompositionLinearGradientBrush_Vtbl, 0x983bc519_a9db_413c_a2d8_2a9056fc525e); #[repr(C)] pub struct ICompositionLinearGradientBrush_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -679,7 +679,7 @@ pub struct ICompositionLinearGradientBrush_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetStartPoint: usize, } -windows_core::imp::com_interface!(ICompositionMaskBrush, ICompositionMaskBrush_Vtbl, 0x522cf09e_be6b_4f41_be49_f9226d471b4a); +windows_core::imp::define_interface!(ICompositionMaskBrush, ICompositionMaskBrush_Vtbl, 0x522cf09e_be6b_4f41_be49_f9226d471b4a); #[repr(C)] pub struct ICompositionMaskBrush_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -688,7 +688,7 @@ pub struct ICompositionMaskBrush_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, } -windows_core::imp::com_interface!(ICompositionMipmapSurface, ICompositionMipmapSurface_Vtbl, 0x4863675c_cf4a_4b1c_9ece_c5ec0c2b2fe6); +windows_core::imp::define_interface!(ICompositionMipmapSurface, ICompositionMipmapSurface_Vtbl, 0x4863675c_cf4a_4b1c_9ece_c5ec0c2b2fe6); #[repr(C)] pub struct ICompositionMipmapSurface_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -707,7 +707,7 @@ pub struct ICompositionMipmapSurface_Vtbl { SizeInt32: usize, pub GetDrawingSurfaceForLevel: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionNineGridBrush, ICompositionNineGridBrush_Vtbl, 0xf25154e4_bc8c_4be7_b80f_8685b83c0186); +windows_core::imp::define_interface!(ICompositionNineGridBrush, ICompositionNineGridBrush_Vtbl, 0xf25154e4_bc8c_4be7_b80f_8685b83c0186); #[repr(C)] pub struct ICompositionNineGridBrush_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -736,7 +736,7 @@ pub struct ICompositionNineGridBrush_Vtbl { pub SetInsetScales: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, pub SetInsetScalesWithValues: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionObject, ICompositionObject_Vtbl, 0xbcb4ad45_7609_4550_934f_16002a68fded); +windows_core::imp::define_interface!(ICompositionObject, ICompositionObject_Vtbl, 0xbcb4ad45_7609_4550_934f_16002a68fded); #[repr(C)] pub struct ICompositionObject_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -749,7 +749,7 @@ pub struct ICompositionObject_Vtbl { 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, } -windows_core::imp::com_interface!(ICompositionObject2, ICompositionObject2_Vtbl, 0xef874ea1_5cff_4b68_9e30_a1519d08ba03); +windows_core::imp::define_interface!(ICompositionObject2, ICompositionObject2_Vtbl, 0xef874ea1_5cff_4b68_9e30_a1519d08ba03); #[repr(C)] pub struct ICompositionObject2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -760,7 +760,7 @@ pub struct ICompositionObject2_Vtbl { pub StartAnimationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub StopAnimationGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionObject3, ICompositionObject3_Vtbl, 0x4bc27925_dacd_4cf2_98b1_986b76e7ebe6); +windows_core::imp::define_interface!(ICompositionObject3, ICompositionObject3_Vtbl, 0x4bc27925_dacd_4cf2_98b1_986b76e7ebe6); #[repr(C)] pub struct ICompositionObject3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -769,36 +769,36 @@ pub struct ICompositionObject3_Vtbl { #[cfg(not(feature = "System"))] DispatcherQueue: usize, } -windows_core::imp::com_interface!(ICompositionObject4, ICompositionObject4_Vtbl, 0x0bb3784c_346b_4a7c_966b_7310966553d5); +windows_core::imp::define_interface!(ICompositionObject4, ICompositionObject4_Vtbl, 0x0bb3784c_346b_4a7c_966b_7310966553d5); #[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, } -windows_core::imp::com_interface!(ICompositionObject5, ICompositionObject5_Vtbl, 0x1d7f391b_a130_5265_a62b_60b8e668965a); +windows_core::imp::define_interface!(ICompositionObject5, ICompositionObject5_Vtbl, 0x1d7f391b_a130_5265_a62b_60b8e668965a); #[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, } -windows_core::imp::com_interface!(ICompositionObjectFactory, ICompositionObjectFactory_Vtbl, 0x51205c5e_558a_4f2a_8d39_37bfe1e20ddd); +windows_core::imp::define_interface!(ICompositionObjectFactory, ICompositionObjectFactory_Vtbl, 0x51205c5e_558a_4f2a_8d39_37bfe1e20ddd); #[repr(C)] pub struct ICompositionObjectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionObjectStatics, ICompositionObjectStatics_Vtbl, 0xc1ed052f_1ba2_44ba_a904_6a882a0a5adb); +windows_core::imp::define_interface!(ICompositionObjectStatics, ICompositionObjectStatics_Vtbl, 0xc1ed052f_1ba2_44ba_a904_6a882a0a5adb); #[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 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::com_interface!(ICompositionPath, ICompositionPath_Vtbl, 0x66da1d5f_2e10_4f22_8a06_0a8151919e60); +windows_core::imp::define_interface!(ICompositionPath, ICompositionPath_Vtbl, 0x66da1d5f_2e10_4f22_8a06_0a8151919e60); #[repr(C)] pub struct ICompositionPath_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionPathFactory, ICompositionPathFactory_Vtbl, 0x9c1e8c6a_0f33_4751_9437_eb3fb9d3ab07); +windows_core::imp::define_interface!(ICompositionPathFactory, ICompositionPathFactory_Vtbl, 0x9c1e8c6a_0f33_4751_9437_eb3fb9d3ab07); #[repr(C)] pub struct ICompositionPathFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -807,14 +807,14 @@ pub struct ICompositionPathFactory_Vtbl { #[cfg(not(feature = "Graphics"))] Create: usize, } -windows_core::imp::com_interface!(ICompositionPathGeometry, ICompositionPathGeometry_Vtbl, 0x0b6a417e_2c77_4c23_af5e_6304c147bb61); +windows_core::imp::define_interface!(ICompositionPathGeometry, ICompositionPathGeometry_Vtbl, 0x0b6a417e_2c77_4c23_af5e_6304c147bb61); #[repr(C)] pub struct ICompositionPathGeometry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(ICompositionProjectedShadow, ICompositionProjectedShadow_Vtbl, 0x285b8e72_4328_523f_bcf2_5557c52c3b25); +windows_core::imp::define_interface!(ICompositionProjectedShadow, ICompositionProjectedShadow_Vtbl, 0x285b8e72_4328_523f_bcf2_5557c52c3b25); #[repr(C)] pub struct ICompositionProjectedShadow_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -829,7 +829,7 @@ pub struct ICompositionProjectedShadow_Vtbl { pub SetMinBlurRadius: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, pub Receivers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionProjectedShadowCaster, ICompositionProjectedShadowCaster_Vtbl, 0xb1d7d426_1e36_5a62_be56_a16112fdd148); +windows_core::imp::define_interface!(ICompositionProjectedShadowCaster, ICompositionProjectedShadowCaster_Vtbl, 0xb1d7d426_1e36_5a62_be56_a16112fdd148); #[repr(C)] pub struct ICompositionProjectedShadowCaster_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -838,7 +838,7 @@ pub struct ICompositionProjectedShadowCaster_Vtbl { pub CastingVisual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCastingVisual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionProjectedShadowCasterCollection, ICompositionProjectedShadowCasterCollection_Vtbl, 0xd2525c0c_e07f_58a3_ac91_37f73ee91740); +windows_core::imp::define_interface!(ICompositionProjectedShadowCasterCollection, ICompositionProjectedShadowCasterCollection_Vtbl, 0xd2525c0c_e07f_58a3_ac91_37f73ee91740); #[repr(C)] pub struct ICompositionProjectedShadowCasterCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -850,20 +850,20 @@ pub struct ICompositionProjectedShadowCasterCollection_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionProjectedShadowCasterCollectionStatics, ICompositionProjectedShadowCasterCollectionStatics_Vtbl, 0x56fbb136_e94f_5299_ab5b_6e15e38bd899); +windows_core::imp::define_interface!(ICompositionProjectedShadowCasterCollectionStatics, ICompositionProjectedShadowCasterCollectionStatics_Vtbl, 0x56fbb136_e94f_5299_ab5b_6e15e38bd899); #[repr(C)] pub struct ICompositionProjectedShadowCasterCollectionStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MaxRespectedCasters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionProjectedShadowReceiver, ICompositionProjectedShadowReceiver_Vtbl, 0x1377985a_6a49_536a_9be4_a96a8e5298a9); +windows_core::imp::define_interface!(ICompositionProjectedShadowReceiver, ICompositionProjectedShadowReceiver_Vtbl, 0x1377985a_6a49_536a_9be4_a96a8e5298a9); #[repr(C)] pub struct ICompositionProjectedShadowReceiver_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReceivingVisual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetReceivingVisual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionProjectedShadowReceiverUnorderedCollection, ICompositionProjectedShadowReceiverUnorderedCollection_Vtbl, 0x02b3e3b7_27d2_599f_ac4b_ab787cdde6fd); +windows_core::imp::define_interface!(ICompositionProjectedShadowReceiverUnorderedCollection, ICompositionProjectedShadowReceiverUnorderedCollection_Vtbl, 0x02b3e3b7_27d2_599f_ac4b_ab787cdde6fd); #[repr(C)] pub struct ICompositionProjectedShadowReceiverUnorderedCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -872,7 +872,7 @@ pub struct ICompositionProjectedShadowReceiverUnorderedCollection_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionPropertySet, ICompositionPropertySet_Vtbl, 0xc9d6d202_5f67_4453_9117_9eadd430d3c2); +windows_core::imp::define_interface!(ICompositionPropertySet, ICompositionPropertySet_Vtbl, 0xc9d6d202_5f67_4453_9117_9eadd430d3c2); #[repr(C)] pub struct ICompositionPropertySet_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -929,14 +929,14 @@ pub struct ICompositionPropertySet_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] TryGetVector4: usize, } -windows_core::imp::com_interface!(ICompositionPropertySet2, ICompositionPropertySet2_Vtbl, 0xde80731e_a211_4455_8880_7d0f3f6a44fd); +windows_core::imp::define_interface!(ICompositionPropertySet2, ICompositionPropertySet2_Vtbl, 0xde80731e_a211_4455_8880_7d0f3f6a44fd); #[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, } -windows_core::imp::com_interface!(ICompositionRadialGradientBrush, ICompositionRadialGradientBrush_Vtbl, 0x3d3b50c5_e3fa_4ce2_b9fc_3ee12561788f); +windows_core::imp::define_interface!(ICompositionRadialGradientBrush, ICompositionRadialGradientBrush_Vtbl, 0x3d3b50c5_e3fa_4ce2_b9fc_3ee12561788f); #[repr(C)] pub struct ICompositionRadialGradientBrush_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -965,7 +965,7 @@ pub struct ICompositionRadialGradientBrush_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetGradientOriginOffset: usize, } -windows_core::imp::com_interface!(ICompositionRectangleGeometry, ICompositionRectangleGeometry_Vtbl, 0x0cd51428_5356_4246_aecf_7a0b76975400); +windows_core::imp::define_interface!(ICompositionRectangleGeometry, ICompositionRectangleGeometry_Vtbl, 0x0cd51428_5356_4246_aecf_7a0b76975400); #[repr(C)] pub struct ICompositionRectangleGeometry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -986,7 +986,7 @@ pub struct ICompositionRectangleGeometry_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetSize: usize, } -windows_core::imp::com_interface!(ICompositionRoundedRectangleGeometry, ICompositionRoundedRectangleGeometry_Vtbl, 0x8770c822_1d50_4b8b_b013_7c9a0e46935f); +windows_core::imp::define_interface!(ICompositionRoundedRectangleGeometry, ICompositionRoundedRectangleGeometry_Vtbl, 0x8770c822_1d50_4b8b_b013_7c9a0e46935f); #[repr(C)] pub struct ICompositionRoundedRectangleGeometry_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1015,7 +1015,7 @@ pub struct ICompositionRoundedRectangleGeometry_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetSize: usize, } -windows_core::imp::com_interface!(ICompositionScopedBatch, ICompositionScopedBatch_Vtbl, 0x0d00dad0_fb07_46fd_8c72_6280d1a3d1dd); +windows_core::imp::define_interface!(ICompositionScopedBatch, ICompositionScopedBatch_Vtbl, 0x0d00dad0_fb07_46fd_8c72_6280d1a3d1dd); #[repr(C)] pub struct ICompositionScopedBatch_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1027,17 +1027,17 @@ pub struct ICompositionScopedBatch_Vtbl { pub Completed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionShadow, ICompositionShadow_Vtbl, 0x329e52e2_4335_49cc_b14a_37782d10f0c4); +windows_core::imp::define_interface!(ICompositionShadow, ICompositionShadow_Vtbl, 0x329e52e2_4335_49cc_b14a_37782d10f0c4); #[repr(C)] pub struct ICompositionShadow_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionShadowFactory, ICompositionShadowFactory_Vtbl, 0x221f492f_dcba_4b91_999e_1dc217a01530); +windows_core::imp::define_interface!(ICompositionShadowFactory, ICompositionShadowFactory_Vtbl, 0x221f492f_dcba_4b91_999e_1dc217a01530); #[repr(C)] pub struct ICompositionShadowFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionShape, ICompositionShape_Vtbl, 0xb47ce2f7_9a88_42c4_9e87_2e500ca8688c); +windows_core::imp::define_interface!(ICompositionShape, ICompositionShape_Vtbl, 0xb47ce2f7_9a88_42c4_9e87_2e500ca8688c); #[repr(C)] pub struct ICompositionShape_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1078,12 +1078,12 @@ pub struct ICompositionShape_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetTransformMatrix: usize, } -windows_core::imp::com_interface!(ICompositionShapeFactory, ICompositionShapeFactory_Vtbl, 0x1dfc36d0_b05a_44ef_82b0_12118bcd4cd0); +windows_core::imp::define_interface!(ICompositionShapeFactory, ICompositionShapeFactory_Vtbl, 0x1dfc36d0_b05a_44ef_82b0_12118bcd4cd0); #[repr(C)] pub struct ICompositionShapeFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionSpriteShape, ICompositionSpriteShape_Vtbl, 0x401b61bb_0007_4363_b1f3_6bcc003fb83e); +windows_core::imp::define_interface!(ICompositionSpriteShape, ICompositionSpriteShape_Vtbl, 0x401b61bb_0007_4363_b1f3_6bcc003fb83e); #[repr(C)] pub struct ICompositionSpriteShape_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1114,7 +1114,7 @@ pub struct ICompositionSpriteShape_Vtbl { pub StrokeThickness: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetStrokeThickness: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionSupportsSystemBackdrop, ICompositionSupportsSystemBackdrop_Vtbl, 0x397dafe4_b6c2_5bb9_951d_f5707de8b7bc); +windows_core::imp::define_interface!(ICompositionSupportsSystemBackdrop, ICompositionSupportsSystemBackdrop_Vtbl, 0x397dafe4_b6c2_5bb9_951d_f5707de8b7bc); windows_core::imp::interface_hierarchy!(ICompositionSupportsSystemBackdrop, windows_core::IUnknown, windows_core::IInspectable); impl ICompositionSupportsSystemBackdrop { pub fn SystemBackdrop(&self) -> windows_core::Result { @@ -1141,7 +1141,7 @@ pub struct ICompositionSupportsSystemBackdrop_Vtbl { pub SystemBackdrop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSystemBackdrop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionSurface, ICompositionSurface_Vtbl, 0x1527540d_42c7_47a6_a408_668f79a90dfb); +windows_core::imp::define_interface!(ICompositionSurface, ICompositionSurface_Vtbl, 0x1527540d_42c7_47a6_a408_668f79a90dfb); windows_core::imp::interface_hierarchy!(ICompositionSurface, windows_core::IUnknown, windows_core::IInspectable); impl ICompositionSurface {} impl windows_core::RuntimeType for ICompositionSurface { @@ -1151,7 +1151,7 @@ impl windows_core::RuntimeType for ICompositionSurface { pub struct ICompositionSurface_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionSurfaceBrush, ICompositionSurfaceBrush_Vtbl, 0xad016d79_1e4c_4c0d_9c29_83338c87c162); +windows_core::imp::define_interface!(ICompositionSurfaceBrush, ICompositionSurfaceBrush_Vtbl, 0xad016d79_1e4c_4c0d_9c29_83338c87c162); #[repr(C)] pub struct ICompositionSurfaceBrush_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1166,7 +1166,7 @@ pub struct ICompositionSurfaceBrush_Vtbl { pub VerticalAlignmentRatio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetVerticalAlignmentRatio: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionSurfaceBrush2, ICompositionSurfaceBrush2_Vtbl, 0xd27174d5_64f5_4692_9dc7_71b61d7e5880); +windows_core::imp::define_interface!(ICompositionSurfaceBrush2, ICompositionSurfaceBrush2_Vtbl, 0xd27174d5_64f5_4692_9dc7_71b61d7e5880); #[repr(C)] pub struct ICompositionSurfaceBrush2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1215,14 +1215,14 @@ pub struct ICompositionSurfaceBrush2_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetTransformMatrix: usize, } -windows_core::imp::com_interface!(ICompositionSurfaceBrush3, ICompositionSurfaceBrush3_Vtbl, 0x550bb289_1fe0_42e5_8195_1eefa87ff08e); +windows_core::imp::define_interface!(ICompositionSurfaceBrush3, ICompositionSurfaceBrush3_Vtbl, 0x550bb289_1fe0_42e5_8195_1eefa87ff08e); #[repr(C)] pub struct ICompositionSurfaceBrush3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SnapToPixels: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetSnapToPixels: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionSurfaceFacade, ICompositionSurfaceFacade_Vtbl, 0xe01622c8_2332_55c7_8868_a7312c5c229d); +windows_core::imp::define_interface!(ICompositionSurfaceFacade, ICompositionSurfaceFacade_Vtbl, 0xe01622c8_2332_55c7_8868_a7312c5c229d); windows_core::imp::interface_hierarchy!(ICompositionSurfaceFacade, windows_core::IUnknown, windows_core::IInspectable); impl ICompositionSurfaceFacade { pub fn GetRealSurface(&self) -> windows_core::Result { @@ -1241,19 +1241,19 @@ pub struct ICompositionSurfaceFacade_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetRealSurface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionTarget, ICompositionTarget_Vtbl, 0xa1bea8ba_d726_4663_8129_6b5e7927ffa6); +windows_core::imp::define_interface!(ICompositionTarget, ICompositionTarget_Vtbl, 0xa1bea8ba_d726_4663_8129_6b5e7927ffa6); #[repr(C)] pub struct ICompositionTarget_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Root: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionTargetFactory, ICompositionTargetFactory_Vtbl, 0x93cd9d2b_8516_4b14_a8ce_f49e2119ec42); +windows_core::imp::define_interface!(ICompositionTargetFactory, ICompositionTargetFactory_Vtbl, 0x93cd9d2b_8516_4b14_a8ce_f49e2119ec42); #[repr(C)] pub struct ICompositionTargetFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionTexture, ICompositionTexture_Vtbl, 0x347d03a0_1c0a_4c0b_b232_8570b2b1a4ea); +windows_core::imp::define_interface!(ICompositionTexture, ICompositionTexture_Vtbl, 0x347d03a0_1c0a_4c0b_b232_8570b2b1a4ea); #[repr(C)] pub struct ICompositionTexture_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1282,22 +1282,22 @@ pub struct ICompositionTexture_Vtbl { #[cfg(not(feature = "Graphics_DirectX"))] SetColorSpace: usize, } -windows_core::imp::com_interface!(ICompositionTextureFactory, ICompositionTextureFactory_Vtbl, 0x09d9523d_471c_5ab5_b053_b568ee46ebfb); +windows_core::imp::define_interface!(ICompositionTextureFactory, ICompositionTextureFactory_Vtbl, 0x09d9523d_471c_5ab5_b053_b568ee46ebfb); #[repr(C)] pub struct ICompositionTextureFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionTransform, ICompositionTransform_Vtbl, 0x7cd54529_fbed_4112_abc5_185906dd927c); +windows_core::imp::define_interface!(ICompositionTransform, ICompositionTransform_Vtbl, 0x7cd54529_fbed_4112_abc5_185906dd927c); #[repr(C)] pub struct ICompositionTransform_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionTransformFactory, ICompositionTransformFactory_Vtbl, 0xaaaeca26_c149_517a_8f72_6bff7a65ce08); +windows_core::imp::define_interface!(ICompositionTransformFactory, ICompositionTransformFactory_Vtbl, 0xaaaeca26_c149_517a_8f72_6bff7a65ce08); #[repr(C)] pub struct ICompositionTransformFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionViewBox, ICompositionViewBox_Vtbl, 0xb440bf07_068f_4537_84c6_4ecbe019e1f4); +windows_core::imp::define_interface!(ICompositionViewBox, ICompositionViewBox_Vtbl, 0xb440bf07_068f_4537_84c6_4ecbe019e1f4); #[repr(C)] pub struct ICompositionViewBox_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1324,7 +1324,7 @@ pub struct ICompositionViewBox_Vtbl { pub VerticalAlignmentRatio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetVerticalAlignmentRatio: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionVirtualDrawingSurface, ICompositionVirtualDrawingSurface_Vtbl, 0xa9c384db_8740_4f94_8b9d_b68521e7863d); +windows_core::imp::define_interface!(ICompositionVirtualDrawingSurface, ICompositionVirtualDrawingSurface_Vtbl, 0xa9c384db_8740_4f94_8b9d_b68521e7863d); #[repr(C)] pub struct ICompositionVirtualDrawingSurface_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1333,12 +1333,12 @@ pub struct ICompositionVirtualDrawingSurface_Vtbl { #[cfg(not(feature = "Graphics"))] Trim: usize, } -windows_core::imp::com_interface!(ICompositionVirtualDrawingSurfaceFactory, ICompositionVirtualDrawingSurfaceFactory_Vtbl, 0x6766106c_d56b_4a49_b1df_5076a0620768); +windows_core::imp::define_interface!(ICompositionVirtualDrawingSurfaceFactory, ICompositionVirtualDrawingSurfaceFactory_Vtbl, 0x6766106c_d56b_4a49_b1df_5076a0620768); #[repr(C)] pub struct ICompositionVirtualDrawingSurfaceFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICompositionVisualSurface, ICompositionVisualSurface_Vtbl, 0xb224d803_4f6e_4a3f_8cae_3dc1cda74fc6); +windows_core::imp::define_interface!(ICompositionVisualSurface, ICompositionVisualSurface_Vtbl, 0xb224d803_4f6e_4a3f_8cae_3dc1cda74fc6); #[repr(C)] pub struct ICompositionVisualSurface_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1361,7 +1361,7 @@ pub struct ICompositionVisualSurface_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetSourceSize: usize, } -windows_core::imp::com_interface!(ICompositor, ICompositor_Vtbl, 0xb403ca50_7f8c_4e83_985f_cc45060036d8); +windows_core::imp::define_interface!(ICompositor, ICompositor_Vtbl, 0xb403ca50_7f8c_4e83_985f_cc45060036d8); #[repr(C)] pub struct ICompositor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1399,7 +1399,7 @@ pub struct ICompositor_Vtbl { pub CreateVector4KeyFrameAnimation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCommitBatch: unsafe extern "system" fn(*mut core::ffi::c_void, CompositionBatchTypes, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositor2, ICompositor2_Vtbl, 0x735081dc_5e24_45da_a38f_e32cc349a9a0); +windows_core::imp::define_interface!(ICompositor2, ICompositor2_Vtbl, 0x735081dc_5e24_45da_a38f_e32cc349a9a0); #[repr(C)] pub struct ICompositor2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1417,13 +1417,13 @@ pub struct ICompositor2_Vtbl { pub CreateStepEasingFunction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateStepEasingFunctionWithStepCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositor3, ICompositor3_Vtbl, 0xc9dd8ef0_6eb1_4e3c_a658_675d9c64d4ab); +windows_core::imp::define_interface!(ICompositor3, ICompositor3_Vtbl, 0xc9dd8ef0_6eb1_4e3c_a658_675d9c64d4ab); #[repr(C)] pub struct ICompositor3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateHostBackdropBrush: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositor4, ICompositor4_Vtbl, 0xae47e78a_7910_4425_a482_a05b758adce9); +windows_core::imp::define_interface!(ICompositor4, ICompositor4_Vtbl, 0xae47e78a_7910_4425_a482_a05b758adce9); #[repr(C)] pub struct ICompositor4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1434,7 +1434,7 @@ pub struct ICompositor4_Vtbl { pub CreateSpringVector2Animation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateSpringVector3Animation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositor5, ICompositor5_Vtbl, 0x48ea31ad_7fcd_4076_a79c_90cc4b852c9b); +windows_core::imp::define_interface!(ICompositor5, ICompositor5_Vtbl, 0x48ea31ad_7fcd_4076_a79c_90cc4b852c9b); #[repr(C)] pub struct ICompositor5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1459,7 +1459,7 @@ pub struct ICompositor5_Vtbl { pub CreateViewBox: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestCommitAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositor6, ICompositor6_Vtbl, 0x7a38b2bd_cec8_4eeb_830f_d8d07aedebc3); +windows_core::imp::define_interface!(ICompositor6, ICompositor6_Vtbl, 0x7a38b2bd_cec8_4eeb_830f_d8d07aedebc3); #[repr(C)] pub struct ICompositor6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1469,7 +1469,7 @@ pub struct ICompositor6_Vtbl { pub CreateRedirectVisualWithSourceVisual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateBooleanKeyFrameAnimation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositor7, ICompositor7_Vtbl, 0xd3483fad_9a12_53ba_bfc8_88b7ff7977c6); +windows_core::imp::define_interface!(ICompositor7, ICompositor7_Vtbl, 0xd3483fad_9a12_53ba_bfc8_88b7ff7977c6); #[repr(C)] pub struct ICompositor7_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1485,26 +1485,26 @@ pub struct ICompositor7_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] CreateRectangleClipWithSidesAndRadius: usize, } -windows_core::imp::com_interface!(ICompositor8, ICompositor8_Vtbl, 0x9a0bdee2_fe7b_5f62_a366_9cf8effe2112); +windows_core::imp::define_interface!(ICompositor8, ICompositor8_Vtbl, 0x9a0bdee2_fe7b_5f62_a366_9cf8effe2112); #[repr(C)] pub struct ICompositor8_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateAnimationController: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositorStatics, ICompositorStatics_Vtbl, 0x080db93e_121e_4d97_8b74_1dfcf91987ea); +windows_core::imp::define_interface!(ICompositorStatics, ICompositorStatics_Vtbl, 0x080db93e_121e_4d97_8b74_1dfcf91987ea); #[repr(C)] pub struct ICompositorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MaxGlobalPlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub MinGlobalPlaybackRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositorWithBlurredWallpaperBackdropBrush, ICompositorWithBlurredWallpaperBackdropBrush_Vtbl, 0x0d8fb190_f122_5b8d_9fdd_543b0d8eb7f3); +windows_core::imp::define_interface!(ICompositorWithBlurredWallpaperBackdropBrush, ICompositorWithBlurredWallpaperBackdropBrush_Vtbl, 0x0d8fb190_f122_5b8d_9fdd_543b0d8eb7f3); #[repr(C)] pub struct ICompositorWithBlurredWallpaperBackdropBrush_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryCreateBlurredWallpaperBackdropBrush: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositorWithProjectedShadow, ICompositorWithProjectedShadow_Vtbl, 0xa2e6330e_8a60_5a38_bb85_b44ea901677c); +windows_core::imp::define_interface!(ICompositorWithProjectedShadow, ICompositorWithProjectedShadow_Vtbl, 0xa2e6330e_8a60_5a38_bb85_b44ea901677c); #[repr(C)] pub struct ICompositorWithProjectedShadow_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1512,30 +1512,30 @@ pub struct ICompositorWithProjectedShadow_Vtbl { pub CreateProjectedShadow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateProjectedShadowReceiver: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositorWithRadialGradient, ICompositorWithRadialGradient_Vtbl, 0x98b9c1a7_8e71_4b53_b4a8_69ba5d19dc5b); +windows_core::imp::define_interface!(ICompositorWithRadialGradient, ICompositorWithRadialGradient_Vtbl, 0x98b9c1a7_8e71_4b53_b4a8_69ba5d19dc5b); #[repr(C)] pub struct ICompositorWithRadialGradient_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateRadialGradientBrush: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositorWithVisualSurface, ICompositorWithVisualSurface_Vtbl, 0xcfa1658b_0123_4551_8891_89bdcc40322b); +windows_core::imp::define_interface!(ICompositorWithVisualSurface, ICompositorWithVisualSurface_Vtbl, 0xcfa1658b_0123_4551_8891_89bdcc40322b); #[repr(C)] pub struct ICompositorWithVisualSurface_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateVisualSurface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContainerVisual, IContainerVisual_Vtbl, 0x02f6bc74_ed20_4773_afe6_d49b4a93db32); +windows_core::imp::define_interface!(IContainerVisual, IContainerVisual_Vtbl, 0x02f6bc74_ed20_4773_afe6_d49b4a93db32); #[repr(C)] pub struct IContainerVisual_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Children: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContainerVisualFactory, IContainerVisualFactory_Vtbl, 0x0363a65b_c7da_4d9a_95f4_69b5c8df670b); +windows_core::imp::define_interface!(IContainerVisualFactory, IContainerVisualFactory_Vtbl, 0x0363a65b_c7da_4d9a_95f4_69b5c8df670b); #[repr(C)] pub struct IContainerVisualFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICubicBezierEasingFunction, ICubicBezierEasingFunction_Vtbl, 0x32350666_c1e8_44f9_96b8_c98acf0ae698); +windows_core::imp::define_interface!(ICubicBezierEasingFunction, ICubicBezierEasingFunction_Vtbl, 0x32350666_c1e8_44f9_96b8_c98acf0ae698); #[repr(C)] pub struct ICubicBezierEasingFunction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1548,7 +1548,7 @@ pub struct ICubicBezierEasingFunction_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] ControlPoint2: usize, } -windows_core::imp::com_interface!(IDelegatedInkTrailVisual, IDelegatedInkTrailVisual_Vtbl, 0x856e60b1_e1ab_5b23_8e3d_d513f221c998); +windows_core::imp::define_interface!(IDelegatedInkTrailVisual, IDelegatedInkTrailVisual_Vtbl, 0x856e60b1_e1ab_5b23_8e3d_d513f221c998); #[repr(C)] pub struct IDelegatedInkTrailVisual_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1557,14 +1557,14 @@ pub struct IDelegatedInkTrailVisual_Vtbl { pub RemoveTrailPoints: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub StartNewTrail: unsafe extern "system" fn(*mut core::ffi::c_void, super::Color) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDelegatedInkTrailVisualStatics, IDelegatedInkTrailVisualStatics_Vtbl, 0x0daf6bd5_42c6_555c_9267_e0ac663af836); +windows_core::imp::define_interface!(IDelegatedInkTrailVisualStatics, IDelegatedInkTrailVisualStatics_Vtbl, 0x0daf6bd5_42c6_555c_9267_e0ac663af836); #[repr(C)] pub struct IDelegatedInkTrailVisualStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateForSwapChain: 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::com_interface!(IDistantLight, IDistantLight_Vtbl, 0x318cfafc_5ce3_4b55_ab5d_07a00353ac99); +windows_core::imp::define_interface!(IDistantLight, IDistantLight_Vtbl, 0x318cfafc_5ce3_4b55_ab5d_07a00353ac99); #[repr(C)] pub struct IDistantLight_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1581,14 +1581,14 @@ pub struct IDistantLight_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetDirection: usize, } -windows_core::imp::com_interface!(IDistantLight2, IDistantLight2_Vtbl, 0xdbcdaa1c_294b_48d7_b60e_76df64aa392b); +windows_core::imp::define_interface!(IDistantLight2, IDistantLight2_Vtbl, 0xdbcdaa1c_294b_48d7_b60e_76df64aa392b); #[repr(C)] pub struct IDistantLight2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Intensity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetIntensity: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDropShadow, IDropShadow_Vtbl, 0xcb977c07_a154_4851_85e7_a8924c84fad8); +windows_core::imp::define_interface!(IDropShadow, IDropShadow_Vtbl, 0xcb977c07_a154_4851_85e7_a8924c84fad8); #[repr(C)] pub struct IDropShadow_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1609,14 +1609,14 @@ pub struct IDropShadow_Vtbl { pub Opacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetOpacity: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDropShadow2, IDropShadow2_Vtbl, 0x6c4218bc_15b9_4c2d_8d4a_0767df11977a); +windows_core::imp::define_interface!(IDropShadow2, IDropShadow2_Vtbl, 0x6c4218bc_15b9_4c2d_8d4a_0767df11977a); #[repr(C)] pub struct IDropShadow2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SourcePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CompositionDropShadowSourcePolicy) -> windows_core::HRESULT, pub SetSourcePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, CompositionDropShadowSourcePolicy) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IElasticEasingFunction, IElasticEasingFunction_Vtbl, 0x66de6285_054e_5594_8475_c22cb51f1bd5); +windows_core::imp::define_interface!(IElasticEasingFunction, IElasticEasingFunction_Vtbl, 0x66de6285_054e_5594_8475_c22cb51f1bd5); #[repr(C)] pub struct IElasticEasingFunction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1624,26 +1624,26 @@ pub struct IElasticEasingFunction_Vtbl { pub Oscillations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub Springiness: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExponentialEasingFunction, IExponentialEasingFunction_Vtbl, 0x6f7d1a51_98d2_5638_a34a_00486554c750); +windows_core::imp::define_interface!(IExponentialEasingFunction, IExponentialEasingFunction_Vtbl, 0x6f7d1a51_98d2_5638_a34a_00486554c750); #[repr(C)] pub struct IExponentialEasingFunction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CompositionEasingFunctionMode) -> windows_core::HRESULT, pub Exponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExpressionAnimation, IExpressionAnimation_Vtbl, 0x6acc5431_7d3d_4bf3_abb6_f44bdc4888c1); +windows_core::imp::define_interface!(IExpressionAnimation, IExpressionAnimation_Vtbl, 0x6acc5431_7d3d_4bf3_abb6_f44bdc4888c1); #[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, } -windows_core::imp::com_interface!(IImplicitAnimationCollection, IImplicitAnimationCollection_Vtbl, 0x0598a3ff_0a92_4c9d_a427_b25519250dbf); +windows_core::imp::define_interface!(IImplicitAnimationCollection, IImplicitAnimationCollection_Vtbl, 0x0598a3ff_0a92_4c9d_a427_b25519250dbf); #[repr(C)] pub struct IImplicitAnimationCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IInsetClip, IInsetClip_Vtbl, 0x1e73e647_84c7_477a_b474_5880e0442e15); +windows_core::imp::define_interface!(IInsetClip, IInsetClip_Vtbl, 0x1e73e647_84c7_477a_b474_5880e0442e15); #[repr(C)] pub struct IInsetClip_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1656,7 +1656,7 @@ pub struct IInsetClip_Vtbl { pub TopInset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetTopInset: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyFrameAnimation, IKeyFrameAnimation_Vtbl, 0x126e7f22_3ae9_4540_9a8a_deae8a4a4a84); +windows_core::imp::define_interface!(IKeyFrameAnimation, IKeyFrameAnimation_Vtbl, 0x126e7f22_3ae9_4540_9a8a_deae8a4a4a84); #[repr(C)] pub struct IKeyFrameAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1674,45 +1674,45 @@ pub struct IKeyFrameAnimation_Vtbl { 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, } -windows_core::imp::com_interface!(IKeyFrameAnimation2, IKeyFrameAnimation2_Vtbl, 0xf4b488bb_2940_4ec0_a41a_eb6d801a2f18); +windows_core::imp::define_interface!(IKeyFrameAnimation2, IKeyFrameAnimation2_Vtbl, 0xf4b488bb_2940_4ec0_a41a_eb6d801a2f18); #[repr(C)] pub struct IKeyFrameAnimation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Direction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AnimationDirection) -> windows_core::HRESULT, pub SetDirection: unsafe extern "system" fn(*mut core::ffi::c_void, AnimationDirection) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyFrameAnimation3, IKeyFrameAnimation3_Vtbl, 0x845bf0b4_d8de_462f_8753_c80d43c6ff5a); +windows_core::imp::define_interface!(IKeyFrameAnimation3, IKeyFrameAnimation3_Vtbl, 0x845bf0b4_d8de_462f_8753_c80d43c6ff5a); #[repr(C)] pub struct IKeyFrameAnimation3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DelayBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AnimationDelayBehavior) -> windows_core::HRESULT, pub SetDelayBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, AnimationDelayBehavior) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyFrameAnimationFactory, IKeyFrameAnimationFactory_Vtbl, 0xbf0803f8_712a_4fc1_8c87_970859ed8d2e); +windows_core::imp::define_interface!(IKeyFrameAnimationFactory, IKeyFrameAnimationFactory_Vtbl, 0xbf0803f8_712a_4fc1_8c87_970859ed8d2e); #[repr(C)] pub struct IKeyFrameAnimationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ILayerVisual, ILayerVisual_Vtbl, 0xaf843985_0444_4887_8e83_b40b253f822c); +windows_core::imp::define_interface!(ILayerVisual, ILayerVisual_Vtbl, 0xaf843985_0444_4887_8e83_b40b253f822c); #[repr(C)] pub struct ILayerVisual_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Effect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILayerVisual2, ILayerVisual2_Vtbl, 0x98f9aeeb_6f23_49f1_90b1_1f59a14fbce3); +windows_core::imp::define_interface!(ILayerVisual2, ILayerVisual2_Vtbl, 0x98f9aeeb_6f23_49f1_90b1_1f59a14fbce3); #[repr(C)] pub struct ILayerVisual2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Shadow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetShadow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILinearEasingFunction, ILinearEasingFunction_Vtbl, 0x9400975a_c7a6_46b3_acf7_1a268a0a117d); +windows_core::imp::define_interface!(ILinearEasingFunction, ILinearEasingFunction_Vtbl, 0x9400975a_c7a6_46b3_acf7_1a268a0a117d); #[repr(C)] pub struct ILinearEasingFunction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(INaturalMotionAnimation, INaturalMotionAnimation_Vtbl, 0x438de12d_769b_4821_a949_284a6547e873); +windows_core::imp::define_interface!(INaturalMotionAnimation, INaturalMotionAnimation_Vtbl, 0x438de12d_769b_4821_a949_284a6547e873); #[repr(C)] pub struct INaturalMotionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1723,19 +1723,19 @@ pub struct INaturalMotionAnimation_Vtbl { 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, } -windows_core::imp::com_interface!(INaturalMotionAnimationFactory, INaturalMotionAnimationFactory_Vtbl, 0xf53acb06_cf6a_4387_a3fe_5221f3e7e0e0); +windows_core::imp::define_interface!(INaturalMotionAnimationFactory, INaturalMotionAnimationFactory_Vtbl, 0xf53acb06_cf6a_4387_a3fe_5221f3e7e0e0); #[repr(C)] pub struct INaturalMotionAnimationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPathKeyFrameAnimation, IPathKeyFrameAnimation_Vtbl, 0x9d0d18c9_1576_4b3f_be60_1d5031f5e71b); +windows_core::imp::define_interface!(IPathKeyFrameAnimation, IPathKeyFrameAnimation_Vtbl, 0x9d0d18c9_1576_4b3f_be60_1d5031f5e71b); #[repr(C)] pub struct IPathKeyFrameAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InsertKeyFrame: unsafe extern "system" fn(*mut core::ffi::c_void, f32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub InsertKeyFrameWithEasingFunction: unsafe extern "system" fn(*mut core::ffi::c_void, f32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPointLight, IPointLight_Vtbl, 0xb18545b3_0c5a_4ab0_bedc_4f3546948272); +windows_core::imp::define_interface!(IPointLight, IPointLight_Vtbl, 0xb18545b3_0c5a_4ab0_bedc_4f3546948272); #[repr(C)] pub struct IPointLight_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1758,14 +1758,14 @@ pub struct IPointLight_Vtbl { pub QuadraticAttenuation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetQuadraticAttenuation: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPointLight2, IPointLight2_Vtbl, 0xefe98f2c_0678_4f69_b164_a810d995bcb7); +windows_core::imp::define_interface!(IPointLight2, IPointLight2_Vtbl, 0xefe98f2c_0678_4f69_b164_a810d995bcb7); #[repr(C)] pub struct IPointLight2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Intensity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetIntensity: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPointLight3, IPointLight3_Vtbl, 0x4c0a8367_d4e9_468a_87ae_7ba43ab29485); +windows_core::imp::define_interface!(IPointLight3, IPointLight3_Vtbl, 0x4c0a8367_d4e9_468a_87ae_7ba43ab29485); #[repr(C)] pub struct IPointLight3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1774,14 +1774,14 @@ pub struct IPointLight3_Vtbl { pub MaxAttenuationCutoff: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetMaxAttenuationCutoff: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPowerEasingFunction, IPowerEasingFunction_Vtbl, 0xc3ff53d6_138b_5815_891a_b7f615ccc563); +windows_core::imp::define_interface!(IPowerEasingFunction, IPowerEasingFunction_Vtbl, 0xc3ff53d6_138b_5815_891a_b7f615ccc563); #[repr(C)] pub struct IPowerEasingFunction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CompositionEasingFunctionMode) -> windows_core::HRESULT, pub Power: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQuaternionKeyFrameAnimation, IQuaternionKeyFrameAnimation_Vtbl, 0x404e5835_ecf6_4240_8520_671279cf36bc); +windows_core::imp::define_interface!(IQuaternionKeyFrameAnimation, IQuaternionKeyFrameAnimation_Vtbl, 0x404e5835_ecf6_4240_8520_671279cf36bc); #[repr(C)] pub struct IQuaternionKeyFrameAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1794,7 +1794,7 @@ pub struct IQuaternionKeyFrameAnimation_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] InsertKeyFrameWithEasingFunction: usize, } -windows_core::imp::com_interface!(IRectangleClip, IRectangleClip_Vtbl, 0xb3e7549e_00b4_5b53_8be8_353f6c433101); +windows_core::imp::define_interface!(IRectangleClip, IRectangleClip_Vtbl, 0xb3e7549e_00b4_5b53_8be8_353f6c433101); #[repr(C)] pub struct IRectangleClip_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1839,27 +1839,27 @@ pub struct IRectangleClip_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetTopRightRadius: usize, } -windows_core::imp::com_interface!(IRedirectVisual, IRedirectVisual_Vtbl, 0x8cc6e340_8b75_5422_b06f_09ffe9f8617e); +windows_core::imp::define_interface!(IRedirectVisual, IRedirectVisual_Vtbl, 0x8cc6e340_8b75_5422_b06f_09ffe9f8617e); #[repr(C)] pub struct IRedirectVisual_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, } -windows_core::imp::com_interface!(IRenderingDeviceReplacedEventArgs, IRenderingDeviceReplacedEventArgs_Vtbl, 0x3a31ac7d_28bf_4e7a_8524_71679d480f38); +windows_core::imp::define_interface!(IRenderingDeviceReplacedEventArgs, IRenderingDeviceReplacedEventArgs_Vtbl, 0x3a31ac7d_28bf_4e7a_8524_71679d480f38); #[repr(C)] pub struct IRenderingDeviceReplacedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GraphicsDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScalarKeyFrameAnimation, IScalarKeyFrameAnimation_Vtbl, 0xae288fa9_252c_4b95_a725_bf85e38000a1); +windows_core::imp::define_interface!(IScalarKeyFrameAnimation, IScalarKeyFrameAnimation_Vtbl, 0xae288fa9_252c_4b95_a725_bf85e38000a1); #[repr(C)] pub struct IScalarKeyFrameAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InsertKeyFrame: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32) -> windows_core::HRESULT, pub InsertKeyFrameWithEasingFunction: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScalarNaturalMotionAnimation, IScalarNaturalMotionAnimation_Vtbl, 0x94a94581_bf92_495b_b5bd_d2c659430737); +windows_core::imp::define_interface!(IScalarNaturalMotionAnimation, IScalarNaturalMotionAnimation_Vtbl, 0x94a94581_bf92_495b_b5bd_d2c659430737); #[repr(C)] pub struct IScalarNaturalMotionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1870,12 +1870,12 @@ pub struct IScalarNaturalMotionAnimation_Vtbl { pub InitialVelocity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetInitialVelocity: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScalarNaturalMotionAnimationFactory, IScalarNaturalMotionAnimationFactory_Vtbl, 0x835aa4fc_671c_41dd_af48_ae8def8b1529); +windows_core::imp::define_interface!(IScalarNaturalMotionAnimationFactory, IScalarNaturalMotionAnimationFactory_Vtbl, 0x835aa4fc_671c_41dd_af48_ae8def8b1529); #[repr(C)] pub struct IScalarNaturalMotionAnimationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IShapeVisual, IShapeVisual_Vtbl, 0xf2bd13c3_ba7e_4b0f_9126_ffb7536b8176); +windows_core::imp::define_interface!(IShapeVisual, IShapeVisual_Vtbl, 0xf2bd13c3_ba7e_4b0f_9126_ffb7536b8176); #[repr(C)] pub struct IShapeVisual_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1886,13 +1886,13 @@ pub struct IShapeVisual_Vtbl { pub ViewBox: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetViewBox: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISineEasingFunction, ISineEasingFunction_Vtbl, 0xf1b518bf_9563_5474_bd13_44b2df4b1d58); +windows_core::imp::define_interface!(ISineEasingFunction, ISineEasingFunction_Vtbl, 0xf1b518bf_9563_5474_bd13_44b2df4b1d58); #[repr(C)] pub struct ISineEasingFunction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Mode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CompositionEasingFunctionMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpotLight, ISpotLight_Vtbl, 0x5a9fe273_44a1_4f95_a422_8fa5116bdb44); +windows_core::imp::define_interface!(ISpotLight, ISpotLight_Vtbl, 0x5a9fe273_44a1_4f95_a422_8fa5116bdb44); #[repr(C)] pub struct ISpotLight_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1933,7 +1933,7 @@ pub struct ISpotLight_Vtbl { pub QuadraticAttenuation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetQuadraticAttenuation: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpotLight2, ISpotLight2_Vtbl, 0x64ee615e_0686_4dea_a9e8_bc3a8c701459); +windows_core::imp::define_interface!(ISpotLight2, ISpotLight2_Vtbl, 0x64ee615e_0686_4dea_a9e8_bc3a8c701459); #[repr(C)] pub struct ISpotLight2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1942,7 +1942,7 @@ pub struct ISpotLight2_Vtbl { pub OuterConeIntensity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetOuterConeIntensity: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpotLight3, ISpotLight3_Vtbl, 0xe4d03eea_131f_480e_859e_b82705b74360); +windows_core::imp::define_interface!(ISpotLight3, ISpotLight3_Vtbl, 0xe4d03eea_131f_480e_859e_b82705b74360); #[repr(C)] pub struct ISpotLight3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1951,7 +1951,7 @@ pub struct ISpotLight3_Vtbl { pub MaxAttenuationCutoff: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetMaxAttenuationCutoff: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpringScalarNaturalMotionAnimation, ISpringScalarNaturalMotionAnimation_Vtbl, 0x0572a95f_37f9_4fbe_b87b_5cd03a89501c); +windows_core::imp::define_interface!(ISpringScalarNaturalMotionAnimation, ISpringScalarNaturalMotionAnimation_Vtbl, 0x0572a95f_37f9_4fbe_b87b_5cd03a89501c); #[repr(C)] pub struct ISpringScalarNaturalMotionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1960,7 +1960,7 @@ pub struct ISpringScalarNaturalMotionAnimation_Vtbl { pub Period: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpringVector2NaturalMotionAnimation, ISpringVector2NaturalMotionAnimation_Vtbl, 0x23f494b5_ee73_4f0f_a423_402b946df4b3); +windows_core::imp::define_interface!(ISpringVector2NaturalMotionAnimation, ISpringVector2NaturalMotionAnimation_Vtbl, 0x23f494b5_ee73_4f0f_a423_402b946df4b3); #[repr(C)] pub struct ISpringVector2NaturalMotionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1969,7 +1969,7 @@ pub struct ISpringVector2NaturalMotionAnimation_Vtbl { pub Period: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpringVector3NaturalMotionAnimation, ISpringVector3NaturalMotionAnimation_Vtbl, 0x6c8749df_d57b_4794_8e2d_cecb11e194e5); +windows_core::imp::define_interface!(ISpringVector3NaturalMotionAnimation, ISpringVector3NaturalMotionAnimation_Vtbl, 0x6c8749df_d57b_4794_8e2d_cecb11e194e5); #[repr(C)] pub struct ISpringVector3NaturalMotionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1978,21 +1978,21 @@ pub struct ISpringVector3NaturalMotionAnimation_Vtbl { pub Period: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub SetPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpriteVisual, ISpriteVisual_Vtbl, 0x08e05581_1ad1_4f97_9757_402d76e4233b); +windows_core::imp::define_interface!(ISpriteVisual, ISpriteVisual_Vtbl, 0x08e05581_1ad1_4f97_9757_402d76e4233b); #[repr(C)] pub struct ISpriteVisual_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Brush: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBrush: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpriteVisual2, ISpriteVisual2_Vtbl, 0x588c9664_997a_4850_91fe_53cb58f81ce9); +windows_core::imp::define_interface!(ISpriteVisual2, ISpriteVisual2_Vtbl, 0x588c9664_997a_4850_91fe_53cb58f81ce9); #[repr(C)] pub struct ISpriteVisual2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Shadow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetShadow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStepEasingFunction, IStepEasingFunction_Vtbl, 0xd0caa74b_560c_4a0b_a5f6_206ca8c3ecd6); +windows_core::imp::define_interface!(IStepEasingFunction, IStepEasingFunction_Vtbl, 0xd0caa74b_560c_4a0b_a5f6_206ca8c3ecd6); #[repr(C)] pub struct IStepEasingFunction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2007,7 +2007,7 @@ pub struct IStepEasingFunction_Vtbl { pub StepCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetStepCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVector2KeyFrameAnimation, IVector2KeyFrameAnimation_Vtbl, 0xdf414515_4e29_4f11_b55e_bf2a6eb36294); +windows_core::imp::define_interface!(IVector2KeyFrameAnimation, IVector2KeyFrameAnimation_Vtbl, 0xdf414515_4e29_4f11_b55e_bf2a6eb36294); #[repr(C)] pub struct IVector2KeyFrameAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2020,7 +2020,7 @@ pub struct IVector2KeyFrameAnimation_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] InsertKeyFrameWithEasingFunction: usize, } -windows_core::imp::com_interface!(IVector2NaturalMotionAnimation, IVector2NaturalMotionAnimation_Vtbl, 0x0f3e0b7d_e512_479d_a00c_77c93a30a395); +windows_core::imp::define_interface!(IVector2NaturalMotionAnimation, IVector2NaturalMotionAnimation_Vtbl, 0x0f3e0b7d_e512_479d_a00c_77c93a30a395); #[repr(C)] pub struct IVector2NaturalMotionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2049,12 +2049,12 @@ pub struct IVector2NaturalMotionAnimation_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetInitialVelocity: usize, } -windows_core::imp::com_interface!(IVector2NaturalMotionAnimationFactory, IVector2NaturalMotionAnimationFactory_Vtbl, 0x8c74ff61_0761_48a2_bddb_6afcc52b89d8); +windows_core::imp::define_interface!(IVector2NaturalMotionAnimationFactory, IVector2NaturalMotionAnimationFactory_Vtbl, 0x8c74ff61_0761_48a2_bddb_6afcc52b89d8); #[repr(C)] pub struct IVector2NaturalMotionAnimationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IVector3KeyFrameAnimation, IVector3KeyFrameAnimation_Vtbl, 0xc8039daa_a281_43c2_a73d_b68e3c533c40); +windows_core::imp::define_interface!(IVector3KeyFrameAnimation, IVector3KeyFrameAnimation_Vtbl, 0xc8039daa_a281_43c2_a73d_b68e3c533c40); #[repr(C)] pub struct IVector3KeyFrameAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2067,7 +2067,7 @@ pub struct IVector3KeyFrameAnimation_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] InsertKeyFrameWithEasingFunction: usize, } -windows_core::imp::com_interface!(IVector3NaturalMotionAnimation, IVector3NaturalMotionAnimation_Vtbl, 0x9c17042c_e2ca_45ad_969e_4e78b7b9ad41); +windows_core::imp::define_interface!(IVector3NaturalMotionAnimation, IVector3NaturalMotionAnimation_Vtbl, 0x9c17042c_e2ca_45ad_969e_4e78b7b9ad41); #[repr(C)] pub struct IVector3NaturalMotionAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2096,12 +2096,12 @@ pub struct IVector3NaturalMotionAnimation_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetInitialVelocity: usize, } -windows_core::imp::com_interface!(IVector3NaturalMotionAnimationFactory, IVector3NaturalMotionAnimationFactory_Vtbl, 0x21a81d2f_0880_457b_ac87_b609018c876d); +windows_core::imp::define_interface!(IVector3NaturalMotionAnimationFactory, IVector3NaturalMotionAnimationFactory_Vtbl, 0x21a81d2f_0880_457b_ac87_b609018c876d); #[repr(C)] pub struct IVector3NaturalMotionAnimationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IVector4KeyFrameAnimation, IVector4KeyFrameAnimation_Vtbl, 0x2457945b_addd_4385_9606_b6a3d5e4e1b9); +windows_core::imp::define_interface!(IVector4KeyFrameAnimation, IVector4KeyFrameAnimation_Vtbl, 0x2457945b_addd_4385_9606_b6a3d5e4e1b9); #[repr(C)] pub struct IVector4KeyFrameAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2114,7 +2114,7 @@ pub struct IVector4KeyFrameAnimation_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] InsertKeyFrameWithEasingFunction: usize, } -windows_core::imp::com_interface!(IVisual, IVisual_Vtbl, 0x117e202d_a859_4c89_873b_c2aa566788e3); +windows_core::imp::define_interface!(IVisual, IVisual_Vtbl, 0x117e202d_a859_4c89_873b_c2aa566788e3); #[repr(C)] pub struct IVisual_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2200,7 +2200,7 @@ pub struct IVisual_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetTransformMatrix: usize, } -windows_core::imp::com_interface!(IVisual2, IVisual2_Vtbl, 0x3052b611_56c3_4c3e_8bf3_f6e1ad473f06); +windows_core::imp::define_interface!(IVisual2, IVisual2_Vtbl, 0x3052b611_56c3_4c3e_8bf3_f6e1ad473f06); #[repr(C)] pub struct IVisual2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2223,21 +2223,21 @@ pub struct IVisual2_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetRelativeSizeAdjustment: usize, } -windows_core::imp::com_interface!(IVisual3, IVisual3_Vtbl, 0x30be580d_f4b6_4ab7_80dd_3738cbac9f2c); +windows_core::imp::define_interface!(IVisual3, IVisual3_Vtbl, 0x30be580d_f4b6_4ab7_80dd_3738cbac9f2c); #[repr(C)] pub struct IVisual3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsHitTestVisible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsHitTestVisible: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisual4, IVisual4_Vtbl, 0x9476bf11_e24b_5bf9_9ebe_6274109b2711); +windows_core::imp::define_interface!(IVisual4, IVisual4_Vtbl, 0x9476bf11_e24b_5bf9_9ebe_6274109b2711); #[repr(C)] pub struct IVisual4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsPixelSnappingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsPixelSnappingEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisualCollection, IVisualCollection_Vtbl, 0x8b745505_fd3e_4a98_84a8_e949468c6bcb); +windows_core::imp::define_interface!(IVisualCollection, IVisualCollection_Vtbl, 0x8b745505_fd3e_4a98_84a8_e949468c6bcb); #[repr(C)] pub struct IVisualCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -2249,7 +2249,7 @@ pub struct IVisualCollection_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisualElement, IVisualElement_Vtbl, 0x01e64612_1d82_42f4_8e3f_a722ded33fc7); +windows_core::imp::define_interface!(IVisualElement, IVisualElement_Vtbl, 0x01e64612_1d82_42f4_8e3f_a722ded33fc7); windows_core::imp::interface_hierarchy!(IVisualElement, windows_core::IUnknown, windows_core::IInspectable); impl IVisualElement {} impl windows_core::RuntimeType for IVisualElement { @@ -2259,7 +2259,7 @@ impl windows_core::RuntimeType for IVisualElement { pub struct IVisualElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IVisualElement2, IVisualElement2_Vtbl, 0x993ae8a0_6057_5e40_918c_e06e0b7e7c64); +windows_core::imp::define_interface!(IVisualElement2, IVisualElement2_Vtbl, 0x993ae8a0_6057_5e40_918c_e06e0b7e7c64); windows_core::imp::interface_hierarchy!(IVisualElement2, windows_core::IUnknown, windows_core::IInspectable); impl IVisualElement2 { pub fn GetVisualInternal(&self) -> windows_core::Result { @@ -2278,12 +2278,12 @@ pub struct IVisualElement2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetVisualInternal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisualFactory, IVisualFactory_Vtbl, 0xad0ff93e_b502_4eb5_87b4_9a38a71d0137); +windows_core::imp::define_interface!(IVisualFactory, IVisualFactory_Vtbl, 0xad0ff93e_b502_4eb5_87b4_9a38a71d0137); #[repr(C)] pub struct IVisualFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IVisualUnorderedCollection, IVisualUnorderedCollection_Vtbl, 0x338faa70_54c8_40a7_8029_c9ceeb0aa250); +windows_core::imp::define_interface!(IVisualUnorderedCollection, IVisualUnorderedCollection_Vtbl, 0x338faa70_54c8_40a7_8029_c9ceeb0aa250); #[repr(C)] pub struct IVisualUnorderedCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 da0652a653..ad337ce10f 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAnimationDescription, IAnimationDescription_Vtbl, 0x7d11a549_be3d_41de_b081_05c149962f9b); +windows_core::imp::define_interface!(IAnimationDescription, IAnimationDescription_Vtbl, 0x7d11a549_be3d_41de_b081_05c149962f9b); #[repr(C)] pub struct IAnimationDescription_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,20 +11,20 @@ pub struct IAnimationDescription_Vtbl { pub DelayLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, pub ZOrder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAnimationDescriptionFactory, IAnimationDescriptionFactory_Vtbl, 0xc6e27abe_c1fb_48b5_9271_ecc70ac86ef0); +windows_core::imp::define_interface!(IAnimationDescriptionFactory, IAnimationDescriptionFactory_Vtbl, 0xc6e27abe_c1fb_48b5_9271_ecc70ac86ef0); #[repr(C)] pub struct IAnimationDescriptionFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, AnimationEffect, AnimationEffectTarget, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpacityAnimation, IOpacityAnimation_Vtbl, 0x803aabe5_ee7e_455f_84e9_2506afb8d2b4); +windows_core::imp::define_interface!(IOpacityAnimation, IOpacityAnimation_Vtbl, 0x803aabe5_ee7e_455f_84e9_2506afb8d2b4); #[repr(C)] pub struct IOpacityAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InitialOpacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FinalOpacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyAnimation, IPropertyAnimation_Vtbl, 0x3a01b4da_4d8c_411e_b615_1ade683a9903); +windows_core::imp::define_interface!(IPropertyAnimation, IPropertyAnimation_Vtbl, 0x3a01b4da_4d8c_411e_b615_1ade683a9903); windows_core::imp::interface_hierarchy!(IPropertyAnimation, windows_core::IUnknown, windows_core::IInspectable); impl IPropertyAnimation { pub fn Type(&self) -> windows_core::Result { @@ -75,7 +75,7 @@ pub struct IPropertyAnimation_Vtbl { pub Control1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::Point) -> windows_core::HRESULT, pub Control2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::Point) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScaleAnimation, IScaleAnimation_Vtbl, 0x023552c7_71ab_428c_9c9f_d31780964995); +windows_core::imp::define_interface!(IScaleAnimation, IScaleAnimation_Vtbl, 0x023552c7_71ab_428c_9c9f_d31780964995); #[repr(C)] pub struct IScaleAnimation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 5b7334c3e4..0d3bd77b72 100644 --- a/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/Preview/mod.rs @@ -1,9 +1,9 @@ -windows_core::imp::com_interface!(ICoreAppWindowPreview, ICoreAppWindowPreview_Vtbl, 0xa4f6e665_365e_5fde_87a5_9543c3a15aa8); +windows_core::imp::define_interface!(ICoreAppWindowPreview, ICoreAppWindowPreview_Vtbl, 0xa4f6e665_365e_5fde_87a5_9543c3a15aa8); #[repr(C)] pub struct ICoreAppWindowPreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICoreAppWindowPreviewStatics, ICoreAppWindowPreviewStatics_Vtbl, 0x33ac21be_423b_5db6_8a8e_4dc87353b75b); +windows_core::imp::define_interface!(ICoreAppWindowPreviewStatics, ICoreAppWindowPreviewStatics_Vtbl, 0x33ac21be_423b_5db6_8a8e_4dc87353b75b); #[repr(C)] pub struct ICoreAppWindowPreviewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -12,7 +12,7 @@ pub struct ICoreAppWindowPreviewStatics_Vtbl { #[cfg(not(feature = "UI_WindowManagement"))] GetIdFromWindow: usize, } -windows_core::imp::com_interface!(ISystemNavigationCloseRequestedPreviewEventArgs, ISystemNavigationCloseRequestedPreviewEventArgs_Vtbl, 0x83d00de1_cbe5_4f31_8414_361da046518f); +windows_core::imp::define_interface!(ISystemNavigationCloseRequestedPreviewEventArgs, ISystemNavigationCloseRequestedPreviewEventArgs_Vtbl, 0x83d00de1_cbe5_4f31_8414_361da046518f); #[repr(C)] pub struct ISystemNavigationCloseRequestedPreviewEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -20,14 +20,14 @@ pub struct ISystemNavigationCloseRequestedPreviewEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(ISystemNavigationManagerPreview, ISystemNavigationManagerPreview_Vtbl, 0xec5f0488_6425_4777_a536_cb5634427f0d); +windows_core::imp::define_interface!(ISystemNavigationManagerPreview, ISystemNavigationManagerPreview_Vtbl, 0xec5f0488_6425_4777_a536_cb5634427f0d); #[repr(C)] pub struct ISystemNavigationManagerPreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CloseRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCloseRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemNavigationManagerPreviewStatics, ISystemNavigationManagerPreviewStatics_Vtbl, 0x0e971360_df74_4bce_84cb_bd1181ac0a71); +windows_core::imp::define_interface!(ISystemNavigationManagerPreviewStatics, ISystemNavigationManagerPreviewStatics_Vtbl, 0x0e971360_df74_4bce_84cb_bd1181ac0a71); #[repr(C)] pub struct ISystemNavigationManagerPreviewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Core/mod.rs index 9f43c2852b..cd4efdc2c2 100644 --- a/crates/libs/windows/src/Windows/UI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/mod.rs @@ -2,7 +2,7 @@ pub mod AnimationMetrics; #[cfg(feature = "UI_Core_Preview")] pub mod Preview; -windows_core::imp::com_interface!(IAcceleratorKeyEventArgs, IAcceleratorKeyEventArgs_Vtbl, 0xff1c4c4a_9287_470b_836e_9086e3126ade); +windows_core::imp::define_interface!(IAcceleratorKeyEventArgs, IAcceleratorKeyEventArgs_Vtbl, 0xff1c4c4a_9287_470b_836e_9086e3126ade); #[repr(C)] pub struct IAcceleratorKeyEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -13,34 +13,34 @@ pub struct IAcceleratorKeyEventArgs_Vtbl { VirtualKey: usize, pub KeyStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CorePhysicalKeyStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAcceleratorKeyEventArgs2, IAcceleratorKeyEventArgs2_Vtbl, 0xd300a9f6_2f7e_4873_a555_166e596ee1c5); +windows_core::imp::define_interface!(IAcceleratorKeyEventArgs2, IAcceleratorKeyEventArgs2_Vtbl, 0xd300a9f6_2f7e_4873_a555_166e596ee1c5); #[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, } -windows_core::imp::com_interface!(IAutomationProviderRequestedEventArgs, IAutomationProviderRequestedEventArgs_Vtbl, 0x961ff258_21bf_4b42_a298_fa479d4c52e2); +windows_core::imp::define_interface!(IAutomationProviderRequestedEventArgs, IAutomationProviderRequestedEventArgs_Vtbl, 0x961ff258_21bf_4b42_a298_fa479d4c52e2); #[repr(C)] pub struct IAutomationProviderRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AutomationProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAutomationProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackRequestedEventArgs, IBackRequestedEventArgs_Vtbl, 0xd603d28a_e411_4a4e_ba41_6a327a8675bc); +windows_core::imp::define_interface!(IBackRequestedEventArgs, IBackRequestedEventArgs_Vtbl, 0xd603d28a_e411_4a4e_ba41_6a327a8675bc); #[repr(C)] pub struct IBackRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICharacterReceivedEventArgs, ICharacterReceivedEventArgs_Vtbl, 0xc584659f_99b2_4bcc_bd33_04e63f42902e); +windows_core::imp::define_interface!(ICharacterReceivedEventArgs, ICharacterReceivedEventArgs_Vtbl, 0xc584659f_99b2_4bcc_bd33_04e63f42902e); #[repr(C)] pub struct ICharacterReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub KeyCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub KeyStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CorePhysicalKeyStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClosestInteractiveBoundsRequestedEventArgs, IClosestInteractiveBoundsRequestedEventArgs_Vtbl, 0x347c11d7_f6f8_40e3_b29f_ae50d3e86486); +windows_core::imp::define_interface!(IClosestInteractiveBoundsRequestedEventArgs, IClosestInteractiveBoundsRequestedEventArgs_Vtbl, 0x347c11d7_f6f8_40e3_b29f_ae50d3e86486); #[repr(C)] pub struct IClosestInteractiveBoundsRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -49,7 +49,7 @@ pub struct IClosestInteractiveBoundsRequestedEventArgs_Vtbl { pub ClosestInteractiveBounds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, pub SetClosestInteractiveBounds: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreAcceleratorKeys, ICoreAcceleratorKeys_Vtbl, 0x9ffdf7f5_b8c9_4ef0_b7d2_1de626561fc8); +windows_core::imp::define_interface!(ICoreAcceleratorKeys, ICoreAcceleratorKeys_Vtbl, 0x9ffdf7f5_b8c9_4ef0_b7d2_1de626561fc8); windows_core::imp::interface_hierarchy!(ICoreAcceleratorKeys, windows_core::IUnknown, windows_core::IInspectable); impl ICoreAcceleratorKeys { pub fn AcceleratorKeyActivated(&self, handler: P0) -> windows_core::Result @@ -76,14 +76,14 @@ pub struct ICoreAcceleratorKeys_Vtbl { pub AcceleratorKeyActivated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAcceleratorKeyActivated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreClosestInteractiveBoundsRequested, ICoreClosestInteractiveBoundsRequested_Vtbl, 0xf303043a_e8bf_4e8e_ae69_c9dadd57a114); +windows_core::imp::define_interface!(ICoreClosestInteractiveBoundsRequested, ICoreClosestInteractiveBoundsRequested_Vtbl, 0xf303043a_e8bf_4e8e_ae69_c9dadd57a114); #[repr(C)] pub struct ICoreClosestInteractiveBoundsRequested_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, } -windows_core::imp::com_interface!(ICoreComponentFocusable, ICoreComponentFocusable_Vtbl, 0x52f96fa3_8742_4411_ae69_79a85f29ac8b); +windows_core::imp::define_interface!(ICoreComponentFocusable, ICoreComponentFocusable_Vtbl, 0x52f96fa3_8742_4411_ae69_79a85f29ac8b); #[repr(C)] pub struct ICoreComponentFocusable_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -93,20 +93,20 @@ pub struct ICoreComponentFocusable_Vtbl { pub LostFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveLostFocus: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreCursor, ICoreCursor_Vtbl, 0x96893acf_111d_442c_8a77_b87992f8e2d6); +windows_core::imp::define_interface!(ICoreCursor, ICoreCursor_Vtbl, 0x96893acf_111d_442c_8a77_b87992f8e2d6); #[repr(C)] pub struct ICoreCursor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CoreCursorType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreCursorFactory, ICoreCursorFactory_Vtbl, 0xf6359621_a79d_4ed3_8c32_a9ef9d6b76a4); +windows_core::imp::define_interface!(ICoreCursorFactory, ICoreCursorFactory_Vtbl, 0xf6359621_a79d_4ed3_8c32_a9ef9d6b76a4); #[repr(C)] pub struct ICoreCursorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateCursor: unsafe extern "system" fn(*mut core::ffi::c_void, CoreCursorType, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreDispatcher, ICoreDispatcher_Vtbl, 0x60db2fa8_b705_4fde_a7d6_ebbb1891d39e); +windows_core::imp::define_interface!(ICoreDispatcher, ICoreDispatcher_Vtbl, 0x60db2fa8_b705_4fde_a7d6_ebbb1891d39e); #[repr(C)] pub struct ICoreDispatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -115,14 +115,14 @@ pub struct ICoreDispatcher_Vtbl { pub RunAsync: unsafe extern "system" fn(*mut core::ffi::c_void, CoreDispatcherPriority, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RunIdleAsync: 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::com_interface!(ICoreDispatcher2, ICoreDispatcher2_Vtbl, 0x6f5e63c7_e3aa_4eae_b0e0_dcf321ca4b2f); +windows_core::imp::define_interface!(ICoreDispatcher2, ICoreDispatcher2_Vtbl, 0x6f5e63c7_e3aa_4eae_b0e0_dcf321ca4b2f); #[repr(C)] pub struct ICoreDispatcher2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryRunAsync: unsafe extern "system" fn(*mut core::ffi::c_void, CoreDispatcherPriority, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryRunIdleAsync: 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::com_interface!(ICoreDispatcherWithTaskPriority, ICoreDispatcherWithTaskPriority_Vtbl, 0xbafaecad_484d_41be_ba80_1d58c65263ea); +windows_core::imp::define_interface!(ICoreDispatcherWithTaskPriority, ICoreDispatcherWithTaskPriority_Vtbl, 0xbafaecad_484d_41be_ba80_1d58c65263ea); #[repr(C)] pub struct ICoreDispatcherWithTaskPriority_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -132,7 +132,7 @@ pub struct ICoreDispatcherWithTaskPriority_Vtbl { pub ShouldYieldToPriority: unsafe extern "system" fn(*mut core::ffi::c_void, CoreDispatcherPriority, *mut bool) -> windows_core::HRESULT, pub StopProcessEvents: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreIndependentInputSourceController, ICoreIndependentInputSourceController_Vtbl, 0x0963261c_84fe_578a_83ca_6425309ccde4); +windows_core::imp::define_interface!(ICoreIndependentInputSourceController, ICoreIndependentInputSourceController_Vtbl, 0x0963261c_84fe_578a_83ca_6425309ccde4); #[repr(C)] pub struct ICoreIndependentInputSourceController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -144,7 +144,7 @@ pub struct ICoreIndependentInputSourceController_Vtbl { pub SetControlledInput: unsafe extern "system" fn(*mut core::ffi::c_void, CoreInputDeviceTypes) -> windows_core::HRESULT, pub SetControlledInputWithFilters: unsafe extern "system" fn(*mut core::ffi::c_void, CoreInputDeviceTypes, CoreIndependentInputFilters, CoreIndependentInputFilters) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreIndependentInputSourceControllerStatics, ICoreIndependentInputSourceControllerStatics_Vtbl, 0x3edc4e20_9a8a_5691_8586_fca4cb57526d); +windows_core::imp::define_interface!(ICoreIndependentInputSourceControllerStatics, ICoreIndependentInputSourceControllerStatics_Vtbl, 0x3edc4e20_9a8a_5691_8586_fca4cb57526d); #[repr(C)] pub struct ICoreIndependentInputSourceControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -157,7 +157,7 @@ pub struct ICoreIndependentInputSourceControllerStatics_Vtbl { #[cfg(not(feature = "UI_Composition"))] CreateForIVisualElement: usize, } -windows_core::imp::com_interface!(ICoreInputSourceBase, ICoreInputSourceBase_Vtbl, 0x9f488807_4580_4be8_be68_92a9311713bb); +windows_core::imp::define_interface!(ICoreInputSourceBase, ICoreInputSourceBase_Vtbl, 0x9f488807_4580_4be8_be68_92a9311713bb); windows_core::imp::interface_hierarchy!(ICoreInputSourceBase, windows_core::IUnknown, windows_core::IInspectable); impl ICoreInputSourceBase { pub fn Dispatcher(&self) -> windows_core::Result { @@ -205,7 +205,7 @@ pub struct ICoreInputSourceBase_Vtbl { pub InputEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveInputEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreKeyboardInputSource, ICoreKeyboardInputSource_Vtbl, 0x231c9088_e469_4df1_b208_6e490d71cb90); +windows_core::imp::define_interface!(ICoreKeyboardInputSource, ICoreKeyboardInputSource_Vtbl, 0x231c9088_e469_4df1_b208_6e490d71cb90); #[repr(C)] pub struct ICoreKeyboardInputSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -220,13 +220,13 @@ pub struct ICoreKeyboardInputSource_Vtbl { pub KeyUp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveKeyUp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreKeyboardInputSource2, ICoreKeyboardInputSource2_Vtbl, 0xfa24cb94_f963_47a5_8778_207c482b0afd); +windows_core::imp::define_interface!(ICoreKeyboardInputSource2, ICoreKeyboardInputSource2_Vtbl, 0xfa24cb94_f963_47a5_8778_207c482b0afd); #[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, } -windows_core::imp::com_interface!(ICorePointerInputSource, ICorePointerInputSource_Vtbl, 0xbbf1bb18_e47a_48eb_8807_f8f8d3ea4551); +windows_core::imp::define_interface!(ICorePointerInputSource, ICorePointerInputSource_Vtbl, 0xbbf1bb18_e47a_48eb_8807_f8f8d3ea4551); windows_core::imp::interface_hierarchy!(ICorePointerInputSource, windows_core::IUnknown, windows_core::IInspectable); impl ICorePointerInputSource { pub fn ReleasePointerCapture(&self) -> windows_core::Result<()> { @@ -391,7 +391,7 @@ pub struct ICorePointerInputSource_Vtbl { pub PointerWheelChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePointerWheelChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorePointerInputSource2, ICorePointerInputSource2_Vtbl, 0xd703708a_4516_4786_b1e5_2751d563f997); +windows_core::imp::define_interface!(ICorePointerInputSource2, ICorePointerInputSource2_Vtbl, 0xd703708a_4516_4786_b1e5_2751d563f997); windows_core::imp::interface_hierarchy!(ICorePointerInputSource2, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ICorePointerInputSource2, ICorePointerInputSource); impl ICorePointerInputSource2 { @@ -549,7 +549,7 @@ pub struct ICorePointerInputSource2_Vtbl { #[cfg(not(feature = "System"))] DispatcherQueue: usize, } -windows_core::imp::com_interface!(ICorePointerRedirector, ICorePointerRedirector_Vtbl, 0x8f9d0c94_5688_4b0c_a9f1_f931f7fa3dc3); +windows_core::imp::define_interface!(ICorePointerRedirector, ICorePointerRedirector_Vtbl, 0x8f9d0c94_5688_4b0c_a9f1_f931f7fa3dc3); windows_core::imp::interface_hierarchy!(ICorePointerRedirector, windows_core::IUnknown, windows_core::IInspectable); impl ICorePointerRedirector { pub fn PointerRoutedAway(&self, handler: P0) -> windows_core::Result @@ -608,14 +608,14 @@ pub struct ICorePointerRedirector_Vtbl { pub PointerRoutedReleased: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePointerRoutedReleased: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTouchHitTesting, ICoreTouchHitTesting_Vtbl, 0xb1d8a289_3acf_4124_9fa3_ea8aba353c21); +windows_core::imp::define_interface!(ICoreTouchHitTesting, ICoreTouchHitTesting_Vtbl, 0xb1d8a289_3acf_4124_9fa3_ea8aba353c21); #[repr(C)] pub struct ICoreTouchHitTesting_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TouchHitTesting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveTouchHitTesting: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindow, ICoreWindow_Vtbl, 0x79b9d5f2_879e_4b89_b798_79e47598030c); +windows_core::imp::define_interface!(ICoreWindow, ICoreWindow_Vtbl, 0x79b9d5f2_879e_4b89_b798_79e47598030c); windows_core::imp::interface_hierarchy!(ICoreWindow, windows_core::IUnknown, windows_core::IInspectable); impl ICoreWindow { pub fn AutomationHostProvider(&self) -> windows_core::Result { @@ -1036,13 +1036,13 @@ pub struct ICoreWindow_Vtbl { pub VisibilityChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveVisibilityChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindow2, ICoreWindow2_Vtbl, 0x7c2b1b85_6917_4361_9c02_0d9e3a420b95); +windows_core::imp::define_interface!(ICoreWindow2, ICoreWindow2_Vtbl, 0x7c2b1b85_6917_4361_9c02_0d9e3a420b95); #[repr(C)] pub struct ICoreWindow2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetPointerPosition: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Point) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindow3, ICoreWindow3_Vtbl, 0x32c20dd8_faef_4375_a2ab_32640e4815c7); +windows_core::imp::define_interface!(ICoreWindow3, ICoreWindow3_Vtbl, 0x32c20dd8_faef_4375_a2ab_32640e4815c7); #[repr(C)] pub struct ICoreWindow3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1050,7 +1050,7 @@ pub struct ICoreWindow3_Vtbl { 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, } -windows_core::imp::com_interface!(ICoreWindow4, ICoreWindow4_Vtbl, 0x35caf0d0_47f0_436c_af97_0dd88f6f5f02); +windows_core::imp::define_interface!(ICoreWindow4, ICoreWindow4_Vtbl, 0x35caf0d0_47f0_436c_af97_0dd88f6f5f02); #[repr(C)] pub struct ICoreWindow4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1059,7 +1059,7 @@ pub struct ICoreWindow4_Vtbl { pub ResizeCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveResizeCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindow5, ICoreWindow5_Vtbl, 0x4b4ae1e1_2e6d_4eaa_bda1_1c5cc1bee141); +windows_core::imp::define_interface!(ICoreWindow5, ICoreWindow5_Vtbl, 0x4b4ae1e1_2e6d_4eaa_bda1_1c5cc1bee141); #[repr(C)] pub struct ICoreWindow5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1069,7 +1069,7 @@ pub struct ICoreWindow5_Vtbl { DispatcherQueue: usize, pub ActivationMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CoreWindowActivationMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindowDialog, ICoreWindowDialog_Vtbl, 0xe7392ce0_c78d_427e_8b2c_01ff420c69d5); +windows_core::imp::define_interface!(ICoreWindowDialog, ICoreWindowDialog_Vtbl, 0xe7392ce0_c78d_427e_8b2c_01ff420c69d5); #[repr(C)] pub struct ICoreWindowDialog_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1102,13 +1102,13 @@ pub struct ICoreWindowDialog_Vtbl { #[cfg(not(feature = "UI_Popups"))] ShowAsync: usize, } -windows_core::imp::com_interface!(ICoreWindowDialogFactory, ICoreWindowDialogFactory_Vtbl, 0xcfb2a855_1c59_4b13_b1e5_16e29805f7c4); +windows_core::imp::define_interface!(ICoreWindowDialogFactory, ICoreWindowDialogFactory_Vtbl, 0xcfb2a855_1c59_4b13_b1e5_16e29805f7c4); #[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, } -windows_core::imp::com_interface!(ICoreWindowEventArgs, ICoreWindowEventArgs_Vtbl, 0x272b1ef3_c633_4da5_a26c_c6d0f56b29da); +windows_core::imp::define_interface!(ICoreWindowEventArgs, ICoreWindowEventArgs_Vtbl, 0x272b1ef3_c633_4da5_a26c_c6d0f56b29da); windows_core::imp::interface_hierarchy!(ICoreWindowEventArgs, windows_core::IUnknown, windows_core::IInspectable); impl ICoreWindowEventArgs { pub fn Handled(&self) -> windows_core::Result { @@ -1132,7 +1132,7 @@ pub struct ICoreWindowEventArgs_Vtbl { pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindowFlyout, ICoreWindowFlyout_Vtbl, 0xe89d854d_2050_40bb_b344_f6f355eeb314); +windows_core::imp::define_interface!(ICoreWindowFlyout, ICoreWindowFlyout_Vtbl, 0xe89d854d_2050_40bb_b344_f6f355eeb314); #[repr(C)] pub struct ICoreWindowFlyout_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1163,57 +1163,57 @@ pub struct ICoreWindowFlyout_Vtbl { #[cfg(not(feature = "UI_Popups"))] ShowAsync: usize, } -windows_core::imp::com_interface!(ICoreWindowFlyoutFactory, ICoreWindowFlyoutFactory_Vtbl, 0xdec4c6c4_93e8_4f7c_be27_cefaa1af68a7); +windows_core::imp::define_interface!(ICoreWindowFlyoutFactory, ICoreWindowFlyoutFactory_Vtbl, 0xdec4c6c4_93e8_4f7c_be27_cefaa1af68a7); #[repr(C)] 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, } -windows_core::imp::com_interface!(ICoreWindowPopupShowingEventArgs, ICoreWindowPopupShowingEventArgs_Vtbl, 0x26155fa2_5ba5_4ea4_a3b4_2dc7d63c8e26); +windows_core::imp::define_interface!(ICoreWindowPopupShowingEventArgs, ICoreWindowPopupShowingEventArgs_Vtbl, 0x26155fa2_5ba5_4ea4_a3b4_2dc7d63c8e26); #[repr(C)] pub struct ICoreWindowPopupShowingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetDesiredSize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Size) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindowResizeManager, ICoreWindowResizeManager_Vtbl, 0xb8f0b925_b350_48b3_a198_5c1a84700243); +windows_core::imp::define_interface!(ICoreWindowResizeManager, ICoreWindowResizeManager_Vtbl, 0xb8f0b925_b350_48b3_a198_5c1a84700243); #[repr(C)] pub struct ICoreWindowResizeManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NotifyLayoutCompleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindowResizeManagerLayoutCapability, ICoreWindowResizeManagerLayoutCapability_Vtbl, 0xbb74f27b_a544_4301_80e6_0ae033ef4536); +windows_core::imp::define_interface!(ICoreWindowResizeManagerLayoutCapability, ICoreWindowResizeManagerLayoutCapability_Vtbl, 0xbb74f27b_a544_4301_80e6_0ae033ef4536); #[repr(C)] pub struct ICoreWindowResizeManagerLayoutCapability_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetShouldWaitForLayoutCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub ShouldWaitForLayoutCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindowResizeManagerStatics, ICoreWindowResizeManagerStatics_Vtbl, 0xae4a9045_6d70_49db_8e68_46ffbd17d38d); +windows_core::imp::define_interface!(ICoreWindowResizeManagerStatics, ICoreWindowResizeManagerStatics_Vtbl, 0xae4a9045_6d70_49db_8e68_46ffbd17d38d); #[repr(C)] pub struct ICoreWindowResizeManagerStatics_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, } -windows_core::imp::com_interface!(ICoreWindowStatic, ICoreWindowStatic_Vtbl, 0x4d239005_3c2a_41b1_9022_536bb9cf93b1); +windows_core::imp::define_interface!(ICoreWindowStatic, ICoreWindowStatic_Vtbl, 0x4d239005_3c2a_41b1_9022_536bb9cf93b1); #[repr(C)] pub struct ICoreWindowStatic_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForCurrentThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindowWithContext, ICoreWindowWithContext_Vtbl, 0x9ac40241_3575_4c3b_af66_e8c529d4d06c); +windows_core::imp::define_interface!(ICoreWindowWithContext, ICoreWindowWithContext_Vtbl, 0x9ac40241_3575_4c3b_af66_e8c529d4d06c); #[repr(C)] pub struct ICoreWindowWithContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UIContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIdleDispatchedHandlerArgs, IIdleDispatchedHandlerArgs_Vtbl, 0x98bb6a24_dc1c_43cb_b4ed_d1c0eb2391f3); +windows_core::imp::define_interface!(IIdleDispatchedHandlerArgs, IIdleDispatchedHandlerArgs_Vtbl, 0x98bb6a24_dc1c_43cb_b4ed_d1c0eb2391f3); #[repr(C)] pub struct IIdleDispatchedHandlerArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsDispatcherIdle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInitializeWithCoreWindow, IInitializeWithCoreWindow_Vtbl, 0x188f20d6_9873_464a_ace5_57e010f465e6); +windows_core::imp::define_interface!(IInitializeWithCoreWindow, IInitializeWithCoreWindow_Vtbl, 0x188f20d6_9873_464a_ace5_57e010f465e6); windows_core::imp::interface_hierarchy!(IInitializeWithCoreWindow, windows_core::IUnknown, windows_core::IInspectable); impl IInitializeWithCoreWindow { pub fn Initialize(&self, window: P0) -> windows_core::Result<()> @@ -1232,13 +1232,13 @@ pub struct IInitializeWithCoreWindow_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputEnabledEventArgs, IInputEnabledEventArgs_Vtbl, 0x80371d4f_2fd8_4c24_aa86_3163a87b4e5a); +windows_core::imp::define_interface!(IInputEnabledEventArgs, IInputEnabledEventArgs_Vtbl, 0x80371d4f_2fd8_4c24_aa86_3163a87b4e5a); #[repr(C)] pub struct IInputEnabledEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InputEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyEventArgs, IKeyEventArgs_Vtbl, 0x5ff5e930_2544_4a17_bd78_1f2fdebb106b); +windows_core::imp::define_interface!(IKeyEventArgs, IKeyEventArgs_Vtbl, 0x5ff5e930_2544_4a17_bd78_1f2fdebb106b); #[repr(C)] pub struct IKeyEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1248,13 +1248,13 @@ pub struct IKeyEventArgs_Vtbl { VirtualKey: usize, pub KeyStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CorePhysicalKeyStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyEventArgs2, IKeyEventArgs2_Vtbl, 0x583add98_0790_4571_9b12_645ef9d79e42); +windows_core::imp::define_interface!(IKeyEventArgs2, IKeyEventArgs2_Vtbl, 0x583add98_0790_4571_9b12_645ef9d79e42); #[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, } -windows_core::imp::com_interface!(IPointerEventArgs, IPointerEventArgs_Vtbl, 0x920d9cb1_a5fc_4a21_8c09_49dfe6ffe25f); +windows_core::imp::define_interface!(IPointerEventArgs, IPointerEventArgs_Vtbl, 0x920d9cb1_a5fc_4a21_8c09_49dfe6ffe25f); #[repr(C)] pub struct IPointerEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1271,27 +1271,27 @@ pub struct IPointerEventArgs_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_Input")))] GetIntermediatePoints: usize, } -windows_core::imp::com_interface!(ISystemNavigationManager, ISystemNavigationManager_Vtbl, 0x93023118_cf50_42a6_9706_69107fa122e1); +windows_core::imp::define_interface!(ISystemNavigationManager, ISystemNavigationManager_Vtbl, 0x93023118_cf50_42a6_9706_69107fa122e1); #[repr(C)] pub struct ISystemNavigationManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub BackRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveBackRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemNavigationManager2, ISystemNavigationManager2_Vtbl, 0x8c510401_67be_49ae_9509_671c1e54a389); +windows_core::imp::define_interface!(ISystemNavigationManager2, ISystemNavigationManager2_Vtbl, 0x8c510401_67be_49ae_9509_671c1e54a389); #[repr(C)] pub struct ISystemNavigationManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub AppViewBackButtonVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppViewBackButtonVisibility) -> windows_core::HRESULT, pub SetAppViewBackButtonVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, AppViewBackButtonVisibility) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemNavigationManagerStatics, ISystemNavigationManagerStatics_Vtbl, 0xdc52b5ce_bee0_4305_8c54_68228ed683b5); +windows_core::imp::define_interface!(ISystemNavigationManagerStatics, ISystemNavigationManagerStatics_Vtbl, 0xdc52b5ce_bee0_4305_8c54_68228ed683b5); #[repr(C)] pub struct ISystemNavigationManagerStatics_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, } -windows_core::imp::com_interface!(ITouchHitTestingEventArgs, ITouchHitTestingEventArgs_Vtbl, 0x22f3b823_0b7c_424e_9df7_33d4f962931b); +windows_core::imp::define_interface!(ITouchHitTestingEventArgs, ITouchHitTestingEventArgs_Vtbl, 0x22f3b823_0b7c_424e_9df7_33d4f962931b); #[repr(C)] pub struct ITouchHitTestingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -1302,19 +1302,19 @@ pub struct ITouchHitTestingEventArgs_Vtbl { pub EvaluateProximityToRect: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Rect, *mut CoreProximityEvaluation) -> windows_core::HRESULT, pub EvaluateProximityToPolygon: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Foundation::Point, *mut CoreProximityEvaluation) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisibilityChangedEventArgs, IVisibilityChangedEventArgs_Vtbl, 0xbf9918ea_d801_4564_a495_b1e84f8ad085); +windows_core::imp::define_interface!(IVisibilityChangedEventArgs, IVisibilityChangedEventArgs_Vtbl, 0xbf9918ea_d801_4564_a495_b1e84f8ad085); #[repr(C)] pub struct IVisibilityChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Visible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowActivatedEventArgs, IWindowActivatedEventArgs_Vtbl, 0x179d65e7_4658_4cb6_aa13_41d094ea255e); +windows_core::imp::define_interface!(IWindowActivatedEventArgs, IWindowActivatedEventArgs_Vtbl, 0x179d65e7_4658_4cb6_aa13_41d094ea255e); #[repr(C)] pub struct IWindowActivatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub WindowActivationState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CoreWindowActivationState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowSizeChangedEventArgs, IWindowSizeChangedEventArgs_Vtbl, 0x5a200ec7_0426_47dc_b86c_6f475915e451); +windows_core::imp::define_interface!(IWindowSizeChangedEventArgs, IWindowSizeChangedEventArgs_Vtbl, 0x5a200ec7_0426_47dc_b86c_6f475915e451); #[repr(C)] pub struct IWindowSizeChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -4012,7 +4012,7 @@ impl Default for CoreProximityEvaluation { unsafe { core::mem::zeroed() } } } -windows_core::imp::com_interface!(DispatchedHandler, DispatchedHandler_Vtbl, 0xd1f276c4_98d8_4636_bf49_eb79507548e9); +windows_core::imp::define_interface!(DispatchedHandler, DispatchedHandler_Vtbl, 0xd1f276c4_98d8_4636_bf49_eb79507548e9); impl DispatchedHandler { pub fn new windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = DispatchedHandlerBox:: { vtable: &DispatchedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -4069,7 +4069,7 @@ pub struct DispatchedHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IdleDispatchedHandler, IdleDispatchedHandler_Vtbl, 0xa42b0c24_7f21_4abc_99c1_8f01007f0880); +windows_core::imp::define_interface!(IdleDispatchedHandler, IdleDispatchedHandler_Vtbl, 0xa42b0c24_7f21_4abc_99c1_8f01007f0880); impl IdleDispatchedHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = IdleDispatchedHandlerBox:: { vtable: &IdleDispatchedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; 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 55763add4e..a96c12bef0 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IRadialControllerIndependentInputSource, IRadialControllerIndependentInputSource_Vtbl, 0x3d577ef6_4cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerIndependentInputSource, IRadialControllerIndependentInputSource_Vtbl, 0x3d577ef6_4cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerIndependentInputSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct IRadialControllerIndependentInputSource_Vtbl { #[cfg(not(feature = "UI_Core"))] Dispatcher: usize, } -windows_core::imp::com_interface!(IRadialControllerIndependentInputSource2, IRadialControllerIndependentInputSource2_Vtbl, 0x7073aad8_35f3_4eeb_8751_be4d0a66faf4); +windows_core::imp::define_interface!(IRadialControllerIndependentInputSource2, IRadialControllerIndependentInputSource2_Vtbl, 0x7073aad8_35f3_4eeb_8751_be4d0a66faf4); #[repr(C)] pub struct IRadialControllerIndependentInputSource2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,7 +17,7 @@ pub struct IRadialControllerIndependentInputSource2_Vtbl { #[cfg(not(feature = "System"))] DispatcherQueue: usize, } -windows_core::imp::com_interface!(IRadialControllerIndependentInputSourceStatics, IRadialControllerIndependentInputSourceStatics_Vtbl, 0x3d577ef5_4cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerIndependentInputSourceStatics, IRadialControllerIndependentInputSourceStatics_Vtbl, 0x3d577ef5_4cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerIndependentInputSourceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 017bef5e2b..6f39447cfa 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 @@ -1,10 +1,10 @@ -windows_core::imp::com_interface!(IInkAnalysisInkBullet, IInkAnalysisInkBullet_Vtbl, 0xee049368_6110_4136_95f9_ee809fc20030); +windows_core::imp::define_interface!(IInkAnalysisInkBullet, IInkAnalysisInkBullet_Vtbl, 0xee049368_6110_4136_95f9_ee809fc20030); #[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, } -windows_core::imp::com_interface!(IInkAnalysisInkDrawing, IInkAnalysisInkDrawing_Vtbl, 0x6a85ed1f_1fe4_4e15_898c_8e112377e021); +windows_core::imp::define_interface!(IInkAnalysisInkDrawing, IInkAnalysisInkDrawing_Vtbl, 0x6a85ed1f_1fe4_4e15_898c_8e112377e021); #[repr(C)] pub struct IInkAnalysisInkDrawing_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -15,7 +15,7 @@ pub struct IInkAnalysisInkDrawing_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Points: usize, } -windows_core::imp::com_interface!(IInkAnalysisInkWord, IInkAnalysisInkWord_Vtbl, 0x4bd228ad_83af_4034_8f3b_f8687dfff436); +windows_core::imp::define_interface!(IInkAnalysisInkWord, IInkAnalysisInkWord_Vtbl, 0x4bd228ad_83af_4034_8f3b_f8687dfff436); #[repr(C)] pub struct IInkAnalysisInkWord_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -25,20 +25,20 @@ pub struct IInkAnalysisInkWord_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] TextAlternates: usize, } -windows_core::imp::com_interface!(IInkAnalysisLine, IInkAnalysisLine_Vtbl, 0xa06d048d_2b8d_4754_ad5a_d0871193a956); +windows_core::imp::define_interface!(IInkAnalysisLine, IInkAnalysisLine_Vtbl, 0xa06d048d_2b8d_4754_ad5a_d0871193a956); #[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 IndentLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkAnalysisListItem, IInkAnalysisListItem_Vtbl, 0xb4e3c23f_c4c3_4c3a_a1a6_9d85547ee586); +windows_core::imp::define_interface!(IInkAnalysisListItem, IInkAnalysisListItem_Vtbl, 0xb4e3c23f_c4c3_4c3a_a1a6_9d85547ee586); #[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, } -windows_core::imp::com_interface!(IInkAnalysisNode, IInkAnalysisNode_Vtbl, 0x30831f05_5f64_4a2c_ba37_4f4887879574); +windows_core::imp::define_interface!(IInkAnalysisNode, IInkAnalysisNode_Vtbl, 0x30831f05_5f64_4a2c_ba37_4f4887879574); windows_core::imp::interface_hierarchy!(IInkAnalysisNode, windows_core::IUnknown, windows_core::IInspectable); impl IInkAnalysisNode { pub fn Id(&self) -> windows_core::Result { @@ -117,19 +117,19 @@ pub struct IInkAnalysisNode_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetStrokeIds: usize, } -windows_core::imp::com_interface!(IInkAnalysisParagraph, IInkAnalysisParagraph_Vtbl, 0xd9ad045c_0cd1_4dd4_a68b_eb1f12b3d727); +windows_core::imp::define_interface!(IInkAnalysisParagraph, IInkAnalysisParagraph_Vtbl, 0xd9ad045c_0cd1_4dd4_a68b_eb1f12b3d727); #[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, } -windows_core::imp::com_interface!(IInkAnalysisResult, IInkAnalysisResult_Vtbl, 0x8948ba79_a243_4aa3_a294_1f98bd0ff580); +windows_core::imp::define_interface!(IInkAnalysisResult, IInkAnalysisResult_Vtbl, 0x8948ba79_a243_4aa3_a294_1f98bd0ff580); #[repr(C)] pub struct IInkAnalysisResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkAnalysisStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkAnalysisRoot, IInkAnalysisRoot_Vtbl, 0x3fb6a3c4_2fde_4061_8502_a90f32545b84); +windows_core::imp::define_interface!(IInkAnalysisRoot, IInkAnalysisRoot_Vtbl, 0x3fb6a3c4_2fde_4061_8502_a90f32545b84); #[repr(C)] pub struct IInkAnalysisRoot_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -139,13 +139,13 @@ pub struct IInkAnalysisRoot_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindNodes: usize, } -windows_core::imp::com_interface!(IInkAnalysisWritingRegion, IInkAnalysisWritingRegion_Vtbl, 0xdd6d6231_bd16_4663_b5ae_941d3043ef5b); +windows_core::imp::define_interface!(IInkAnalysisWritingRegion, IInkAnalysisWritingRegion_Vtbl, 0xdd6d6231_bd16_4663_b5ae_941d3043ef5b); #[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, } -windows_core::imp::com_interface!(IInkAnalyzer, IInkAnalyzer_Vtbl, 0xf12b8f95_0866_4dc5_8c77_f88614dfe38c); +windows_core::imp::define_interface!(IInkAnalyzer, IInkAnalyzer_Vtbl, 0xf12b8f95_0866_4dc5_8c77_f88614dfe38c); #[repr(C)] pub struct IInkAnalyzer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -166,7 +166,7 @@ pub struct IInkAnalyzer_Vtbl { pub SetStrokeDataKind: unsafe extern "system" fn(*mut core::ffi::c_void, u32, InkAnalysisStrokeKind) -> windows_core::HRESULT, pub AnalyzeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkAnalyzerFactory, IInkAnalyzerFactory_Vtbl, 0x29138686_1963_49d8_9589_e14384c769e3); +windows_core::imp::define_interface!(IInkAnalyzerFactory, IInkAnalyzerFactory_Vtbl, 0x29138686_1963_49d8_9589_e14384c769e3); windows_core::imp::interface_hierarchy!(IInkAnalyzerFactory, windows_core::IUnknown, windows_core::IInspectable); impl IInkAnalyzerFactory { pub fn CreateAnalyzer(&self) -> windows_core::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 5432535143..1993633563 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 @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICoreIncrementalInkStroke, ICoreIncrementalInkStroke_Vtbl, 0xfda015d3_9d66_4f7d_a57f_cc70b9cfaa76); +windows_core::imp::define_interface!(ICoreIncrementalInkStroke, ICoreIncrementalInkStroke_Vtbl, 0xfda015d3_9d66_4f7d_a57f_cc70b9cfaa76); #[repr(C)] pub struct ICoreIncrementalInkStroke_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -14,7 +14,7 @@ pub struct ICoreIncrementalInkStroke_Vtbl { PointTransform: usize, pub BoundingRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreIncrementalInkStrokeFactory, ICoreIncrementalInkStrokeFactory_Vtbl, 0xd7c59f46_8da8_4f70_9751_e53bb6df4596); +windows_core::imp::define_interface!(ICoreIncrementalInkStrokeFactory, ICoreIncrementalInkStrokeFactory_Vtbl, 0xd7c59f46_8da8_4f70_9751_e53bb6df4596); #[repr(C)] pub struct ICoreIncrementalInkStrokeFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct ICoreIncrementalInkStrokeFactory_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] Create: usize, } -windows_core::imp::com_interface!(ICoreInkIndependentInputSource, ICoreInkIndependentInputSource_Vtbl, 0x39b38da9_7639_4499_a5b5_191d00e35b16); +windows_core::imp::define_interface!(ICoreInkIndependentInputSource, ICoreInkIndependentInputSource_Vtbl, 0x39b38da9_7639_4499_a5b5_191d00e35b16); #[repr(C)] pub struct ICoreInkIndependentInputSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -64,7 +64,7 @@ pub struct ICoreInkIndependentInputSource_Vtbl { pub RemovePointerLost: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub InkPresenter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInkIndependentInputSource2, ICoreInkIndependentInputSource2_Vtbl, 0x2846b012_0b59_5bb9_a3c5_becb7cf03a33); +windows_core::imp::define_interface!(ICoreInkIndependentInputSource2, ICoreInkIndependentInputSource2_Vtbl, 0x2846b012_0b59_5bb9_a3c5_becb7cf03a33); #[repr(C)] pub struct ICoreInkIndependentInputSource2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -77,13 +77,13 @@ pub struct ICoreInkIndependentInputSource2_Vtbl { #[cfg(not(feature = "UI_Core"))] SetPointerCursor: usize, } -windows_core::imp::com_interface!(ICoreInkIndependentInputSourceStatics, ICoreInkIndependentInputSourceStatics_Vtbl, 0x73e6011b_80c0_4dfb_9b66_10ba7f3f9c84); +windows_core::imp::define_interface!(ICoreInkIndependentInputSourceStatics, ICoreInkIndependentInputSourceStatics_Vtbl, 0x73e6011b_80c0_4dfb_9b66_10ba7f3f9c84); #[repr(C)] pub struct ICoreInkIndependentInputSourceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInkPresenterHost, ICoreInkPresenterHost_Vtbl, 0x396e89e6_7d55_4617_9e58_68c70c9169b9); +windows_core::imp::define_interface!(ICoreInkPresenterHost, ICoreInkPresenterHost_Vtbl, 0x396e89e6_7d55_4617_9e58_68c70c9169b9); #[repr(C)] pub struct ICoreInkPresenterHost_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -97,7 +97,7 @@ pub struct ICoreInkPresenterHost_Vtbl { #[cfg(not(feature = "UI_Composition"))] SetRootVisual: usize, } -windows_core::imp::com_interface!(ICoreWetStrokeUpdateEventArgs, ICoreWetStrokeUpdateEventArgs_Vtbl, 0xfb07d14c_3380_457a_a987_991357896c1b); +windows_core::imp::define_interface!(ICoreWetStrokeUpdateEventArgs, ICoreWetStrokeUpdateEventArgs_Vtbl, 0xfb07d14c_3380_457a_a987_991357896c1b); #[repr(C)] pub struct ICoreWetStrokeUpdateEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -109,7 +109,7 @@ pub struct ICoreWetStrokeUpdateEventArgs_Vtbl { pub Disposition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CoreWetStrokeDisposition) -> windows_core::HRESULT, pub SetDisposition: unsafe extern "system" fn(*mut core::ffi::c_void, CoreWetStrokeDisposition) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWetStrokeUpdateSource, ICoreWetStrokeUpdateSource_Vtbl, 0x1f718e22_ee52_4e00_8209_4c3e5b21a3cc); +windows_core::imp::define_interface!(ICoreWetStrokeUpdateSource, ICoreWetStrokeUpdateSource_Vtbl, 0x1f718e22_ee52_4e00_8209_4c3e5b21a3cc); #[repr(C)] pub struct ICoreWetStrokeUpdateSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -125,7 +125,7 @@ pub struct ICoreWetStrokeUpdateSource_Vtbl { pub RemoveWetStrokeCanceled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub InkPresenter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWetStrokeUpdateSourceStatics, ICoreWetStrokeUpdateSourceStatics_Vtbl, 0x3dad9cba_1d3d_46ae_ab9d_8647486c6f90); +windows_core::imp::define_interface!(ICoreWetStrokeUpdateSourceStatics, ICoreWetStrokeUpdateSourceStatics_Vtbl, 0x3dad9cba_1d3d_46ae_ab9d_8647486c6f90); #[repr(C)] pub struct ICoreWetStrokeUpdateSourceStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 585934e924..a74724e400 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 @@ -1,9 +1,9 @@ -windows_core::imp::com_interface!(IPalmRejectionDelayZonePreview, IPalmRejectionDelayZonePreview_Vtbl, 0x62b496cb_539d_5343_a65f_41f5300ec70c); +windows_core::imp::define_interface!(IPalmRejectionDelayZonePreview, IPalmRejectionDelayZonePreview_Vtbl, 0x62b496cb_539d_5343_a65f_41f5300ec70c); #[repr(C)] pub struct IPalmRejectionDelayZonePreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IPalmRejectionDelayZonePreviewStatics, IPalmRejectionDelayZonePreviewStatics_Vtbl, 0xcdef5ee0_93d0_53a9_8f0e_9a379f8f7530); +windows_core::imp::define_interface!(IPalmRejectionDelayZonePreviewStatics, IPalmRejectionDelayZonePreviewStatics_Vtbl, 0xcdef5ee0_93d0_53a9_8f0e_9a379f8f7530); #[repr(C)] pub struct IPalmRejectionDelayZonePreviewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 88641483f7..a9be2b4d2b 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/mod.rs @@ -4,7 +4,7 @@ pub mod Analysis; pub mod Core; #[cfg(feature = "UI_Input_Inking_Preview")] pub mod Preview; -windows_core::imp::com_interface!(IInkDrawingAttributes, IInkDrawingAttributes_Vtbl, 0x97a2176c_6774_48ad_84f0_48f5a9be74f9); +windows_core::imp::define_interface!(IInkDrawingAttributes, IInkDrawingAttributes_Vtbl, 0x97a2176c_6774_48ad_84f0_48f5a9be74f9); #[repr(C)] pub struct IInkDrawingAttributes_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -19,7 +19,7 @@ pub struct IInkDrawingAttributes_Vtbl { pub FitToCurve: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetFitToCurve: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkDrawingAttributes2, IInkDrawingAttributes2_Vtbl, 0x7cab6508_8ec4_42fd_a5a5_e4b7d1d5316d); +windows_core::imp::define_interface!(IInkDrawingAttributes2, IInkDrawingAttributes2_Vtbl, 0x7cab6508_8ec4_42fd_a5a5_e4b7d1d5316d); #[repr(C)] pub struct IInkDrawingAttributes2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -34,40 +34,40 @@ pub struct IInkDrawingAttributes2_Vtbl { pub DrawAsHighlighter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetDrawAsHighlighter: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkDrawingAttributes3, IInkDrawingAttributes3_Vtbl, 0x72020002_7d5b_4690_8af4_e664cbe2b74f); +windows_core::imp::define_interface!(IInkDrawingAttributes3, IInkDrawingAttributes3_Vtbl, 0x72020002_7d5b_4690_8af4_e664cbe2b74f); #[repr(C)] pub struct IInkDrawingAttributes3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkDrawingAttributesKind) -> windows_core::HRESULT, pub PencilProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkDrawingAttributes4, IInkDrawingAttributes4_Vtbl, 0xef65dc25_9f19_456d_91a3_bc3a3d91c5fb); +windows_core::imp::define_interface!(IInkDrawingAttributes4, IInkDrawingAttributes4_Vtbl, 0xef65dc25_9f19_456d_91a3_bc3a3d91c5fb); #[repr(C)] pub struct IInkDrawingAttributes4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IgnoreTilt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIgnoreTilt: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkDrawingAttributes5, IInkDrawingAttributes5_Vtbl, 0xd11aa0bb_0775_4852_ae64_41143a7ae6c9); +windows_core::imp::define_interface!(IInkDrawingAttributes5, IInkDrawingAttributes5_Vtbl, 0xd11aa0bb_0775_4852_ae64_41143a7ae6c9); #[repr(C)] pub struct IInkDrawingAttributes5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ModelerAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkDrawingAttributesPencilProperties, IInkDrawingAttributesPencilProperties_Vtbl, 0x4f2534cb_2d86_41bb_b0e8_e4c2a0253c52); +windows_core::imp::define_interface!(IInkDrawingAttributesPencilProperties, IInkDrawingAttributesPencilProperties_Vtbl, 0x4f2534cb_2d86_41bb_b0e8_e4c2a0253c52); #[repr(C)] pub struct IInkDrawingAttributesPencilProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Opacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetOpacity: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkDrawingAttributesStatics, IInkDrawingAttributesStatics_Vtbl, 0xf731e03f_1a65_4862_96cb_6e1665e17f6d); +windows_core::imp::define_interface!(IInkDrawingAttributesStatics, IInkDrawingAttributesStatics_Vtbl, 0xf731e03f_1a65_4862_96cb_6e1665e17f6d); #[repr(C)] pub struct IInkDrawingAttributesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateForPencil: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkInputConfiguration, IInkInputConfiguration_Vtbl, 0x93a68dc4_0b7b_49d7_b34f_9901e524dcf2); +windows_core::imp::define_interface!(IInkInputConfiguration, IInkInputConfiguration_Vtbl, 0x93a68dc4_0b7b_49d7_b34f_9901e524dcf2); #[repr(C)] pub struct IInkInputConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -76,14 +76,14 @@ pub struct IInkInputConfiguration_Vtbl { pub IsEraserInputEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsEraserInputEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkInputConfiguration2, IInkInputConfiguration2_Vtbl, 0x6ac2272e_81b4_5cc4_a36d_d057c387dfda); +windows_core::imp::define_interface!(IInkInputConfiguration2, IInkInputConfiguration2_Vtbl, 0x6ac2272e_81b4_5cc4_a36d_d057c387dfda); #[repr(C)] pub struct IInkInputConfiguration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsPenHapticFeedbackEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsPenHapticFeedbackEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkInputProcessingConfiguration, IInkInputProcessingConfiguration_Vtbl, 0x2778d85e_33ca_4b06_a6d3_ac3945116d37); +windows_core::imp::define_interface!(IInkInputProcessingConfiguration, IInkInputProcessingConfiguration_Vtbl, 0x2778d85e_33ca_4b06_a6d3_ac3945116d37); #[repr(C)] pub struct IInkInputProcessingConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -92,7 +92,7 @@ pub struct IInkInputProcessingConfiguration_Vtbl { pub RightDragAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkInputRightDragAction) -> windows_core::HRESULT, pub SetRightDragAction: unsafe extern "system" fn(*mut core::ffi::c_void, InkInputRightDragAction) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkManager, IInkManager_Vtbl, 0x4744737d_671b_4163_9c95_4e8d7a035fe1); +windows_core::imp::define_interface!(IInkManager, IInkManager_Vtbl, 0x4744737d_671b_4163_9c95_4e8d7a035fe1); #[repr(C)] pub struct IInkManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -107,7 +107,7 @@ pub struct IInkManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] RecognizeAsync2: usize, } -windows_core::imp::com_interface!(IInkModelerAttributes, IInkModelerAttributes_Vtbl, 0xbad31f27_0cd9_4bfd_b6f3_9e03ba8d7454); +windows_core::imp::define_interface!(IInkModelerAttributes, IInkModelerAttributes_Vtbl, 0xbad31f27_0cd9_4bfd_b6f3_9e03ba8d7454); #[repr(C)] pub struct IInkModelerAttributes_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -116,21 +116,21 @@ pub struct IInkModelerAttributes_Vtbl { pub ScalingFactor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetScalingFactor: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkModelerAttributes2, IInkModelerAttributes2_Vtbl, 0x86d1d09a_4ef8_5e25_b7bc_b65424f16bb3); +windows_core::imp::define_interface!(IInkModelerAttributes2, IInkModelerAttributes2_Vtbl, 0x86d1d09a_4ef8_5e25_b7bc_b65424f16bb3); #[repr(C)] pub struct IInkModelerAttributes2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UseVelocityBasedPressure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetUseVelocityBasedPressure: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPoint, IInkPoint_Vtbl, 0x9f87272b_858c_46a5_9b41_d195970459fd); +windows_core::imp::define_interface!(IInkPoint, IInkPoint_Vtbl, 0x9f87272b_858c_46a5_9b41_d195970459fd); #[repr(C)] pub struct IInkPoint_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::Point) -> windows_core::HRESULT, pub Pressure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPoint2, IInkPoint2_Vtbl, 0xfba9c3f7_ae56_4d5c_bd2f_0ac45f5e4af9); +windows_core::imp::define_interface!(IInkPoint2, IInkPoint2_Vtbl, 0xfba9c3f7_ae56_4d5c_bd2f_0ac45f5e4af9); #[repr(C)] pub struct IInkPoint2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -138,7 +138,7 @@ pub struct IInkPoint2_Vtbl { pub TiltY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPointFactory, IInkPointFactory_Vtbl, 0x29e5d51c_c98f_405d_9f3b_e53e31068d4d); +windows_core::imp::define_interface!(IInkPointFactory, IInkPointFactory_Vtbl, 0x29e5d51c_c98f_405d_9f3b_e53e31068d4d); windows_core::imp::interface_hierarchy!(IInkPointFactory, windows_core::IUnknown, windows_core::IInspectable); impl IInkPointFactory { pub fn CreateInkPoint(&self, position: super::super::super::Foundation::Point, pressure: f32) -> windows_core::Result { @@ -157,13 +157,13 @@ pub struct IInkPointFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInkPoint: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::Point, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPointFactory2, IInkPointFactory2_Vtbl, 0xe0145e85_daff_45f2_ad69_050d8256a209); +windows_core::imp::define_interface!(IInkPointFactory2, IInkPointFactory2_Vtbl, 0xe0145e85_daff_45f2_ad69_050d8256a209); #[repr(C)] pub struct IInkPointFactory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateInkPointWithTiltAndTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::Point, f32, f32, f32, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPresenter, IInkPresenter_Vtbl, 0xa69b70e2_887b_458f_b173_4fe4438930a3); +windows_core::imp::define_interface!(IInkPresenter, IInkPresenter_Vtbl, 0xa69b70e2_887b_458f_b173_4fe4438930a3); #[repr(C)] pub struct IInkPresenter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -191,20 +191,20 @@ pub struct IInkPresenter_Vtbl { pub StrokesErased: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveStrokesErased: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPresenter2, IInkPresenter2_Vtbl, 0xcf53e612_9a34_11e6_9f33_a24fc0d9649c); +windows_core::imp::define_interface!(IInkPresenter2, IInkPresenter2_Vtbl, 0xcf53e612_9a34_11e6_9f33_a24fc0d9649c); #[repr(C)] pub struct IInkPresenter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub HighContrastAdjustment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkHighContrastAdjustment) -> windows_core::HRESULT, pub SetHighContrastAdjustment: unsafe extern "system" fn(*mut core::ffi::c_void, InkHighContrastAdjustment) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPresenter3, IInkPresenter3_Vtbl, 0x51e1ce89_d37d_4a90_83fc_7f5e9dfbf217); +windows_core::imp::define_interface!(IInkPresenter3, IInkPresenter3_Vtbl, 0x51e1ce89_d37d_4a90_83fc_7f5e9dfbf217); #[repr(C)] pub struct IInkPresenter3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InputConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPresenterProtractor, IInkPresenterProtractor_Vtbl, 0x7de3f2aa_ef6c_4e91_a73b_5b70d56fbd17); +windows_core::imp::define_interface!(IInkPresenterProtractor, IInkPresenterProtractor_Vtbl, 0x7de3f2aa_ef6c_4e91_a73b_5b70d56fbd17); #[repr(C)] pub struct IInkPresenterProtractor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -223,13 +223,13 @@ pub struct IInkPresenterProtractor_Vtbl { pub AccentColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Color) -> windows_core::HRESULT, pub SetAccentColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Color) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPresenterProtractorFactory, IInkPresenterProtractorFactory_Vtbl, 0x320103c9_68fa_47e9_8127_8370711fc46c); +windows_core::imp::define_interface!(IInkPresenterProtractorFactory, IInkPresenterProtractorFactory_Vtbl, 0x320103c9_68fa_47e9_8127_8370711fc46c); #[repr(C)] pub struct IInkPresenterProtractorFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPresenterRuler, IInkPresenterRuler_Vtbl, 0x6cda7d5a_dec7_4dd7_877a_2133f183d48a); +windows_core::imp::define_interface!(IInkPresenterRuler, IInkPresenterRuler_Vtbl, 0x6cda7d5a_dec7_4dd7_877a_2133f183d48a); #[repr(C)] pub struct IInkPresenterRuler_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -238,7 +238,7 @@ pub struct IInkPresenterRuler_Vtbl { pub Width: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetWidth: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPresenterRuler2, IInkPresenterRuler2_Vtbl, 0x45130dc1_bc61_44d4_a423_54712ae671c4); +windows_core::imp::define_interface!(IInkPresenterRuler2, IInkPresenterRuler2_Vtbl, 0x45130dc1_bc61_44d4_a423_54712ae671c4); #[repr(C)] pub struct IInkPresenterRuler2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -247,7 +247,7 @@ pub struct IInkPresenterRuler2_Vtbl { pub IsCompassVisible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsCompassVisible: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPresenterRulerFactory, IInkPresenterRulerFactory_Vtbl, 0x34361beb_9001_4a4b_a690_69dbaf63e501); +windows_core::imp::define_interface!(IInkPresenterRulerFactory, IInkPresenterRulerFactory_Vtbl, 0x34361beb_9001_4a4b_a690_69dbaf63e501); windows_core::imp::interface_hierarchy!(IInkPresenterRulerFactory, windows_core::IUnknown, windows_core::IInspectable); impl IInkPresenterRulerFactory { pub fn Create(&self, inkpresenter: P0) -> windows_core::Result @@ -269,7 +269,7 @@ pub struct IInkPresenterRulerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPresenterStencil, IInkPresenterStencil_Vtbl, 0x30d12d6d_3e06_4d02_b116_277fb5d8addc); +windows_core::imp::define_interface!(IInkPresenterStencil, IInkPresenterStencil_Vtbl, 0x30d12d6d_3e06_4d02_b116_277fb5d8addc); windows_core::imp::interface_hierarchy!(IInkPresenterStencil, windows_core::IUnknown, windows_core::IInspectable); impl IInkPresenterStencil { pub fn Kind(&self) -> windows_core::Result { @@ -348,7 +348,7 @@ pub struct IInkPresenterStencil_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetTransform: usize, } -windows_core::imp::com_interface!(IInkRecognitionResult, IInkRecognitionResult_Vtbl, 0x36461a94_5068_40ef_8a05_2c2fb60908a2); +windows_core::imp::define_interface!(IInkRecognitionResult, IInkRecognitionResult_Vtbl, 0x36461a94_5068_40ef_8a05_2c2fb60908a2); #[repr(C)] pub struct IInkRecognitionResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -362,13 +362,13 @@ pub struct IInkRecognitionResult_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetStrokes: usize, } -windows_core::imp::com_interface!(IInkRecognizer, IInkRecognizer_Vtbl, 0x077ccea3_904d_442a_b151_aaca3631c43b); +windows_core::imp::define_interface!(IInkRecognizer, IInkRecognizer_Vtbl, 0x077ccea3_904d_442a_b151_aaca3631c43b); #[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, } -windows_core::imp::com_interface!(IInkRecognizerContainer, IInkRecognizerContainer_Vtbl, 0xa74d9a31_8047_4698_a912_f82a5085012f); +windows_core::imp::define_interface!(IInkRecognizerContainer, IInkRecognizerContainer_Vtbl, 0xa74d9a31_8047_4698_a912_f82a5085012f); windows_core::imp::interface_hierarchy!(IInkRecognizerContainer, windows_core::IUnknown, windows_core::IInspectable); impl IInkRecognizerContainer { pub fn SetDefaultRecognizer(&self, recognizer: P0) -> windows_core::Result<()> @@ -414,7 +414,7 @@ pub struct IInkRecognizerContainer_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetRecognizers: usize, } -windows_core::imp::com_interface!(IInkStroke, IInkStroke_Vtbl, 0x15144d60_cce3_4fcf_9d52_11518ab6afd4); +windows_core::imp::define_interface!(IInkStroke, IInkStroke_Vtbl, 0x15144d60_cce3_4fcf_9d52_11518ab6afd4); #[repr(C)] pub struct IInkStroke_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -430,7 +430,7 @@ pub struct IInkStroke_Vtbl { GetRenderingSegments: usize, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkStroke2, IInkStroke2_Vtbl, 0x5db9e4f4_bafa_4de1_89d3_201b1ed7d89b); +windows_core::imp::define_interface!(IInkStroke2, IInkStroke2_Vtbl, 0x5db9e4f4_bafa_4de1_89d3_201b1ed7d89b); #[repr(C)] pub struct IInkStroke2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -447,7 +447,7 @@ pub struct IInkStroke2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetInkPoints: usize, } -windows_core::imp::com_interface!(IInkStroke3, IInkStroke3_Vtbl, 0x4a807374_9499_411d_a1c4_68855d03d65f); +windows_core::imp::define_interface!(IInkStroke3, IInkStroke3_Vtbl, 0x4a807374_9499_411d_a1c4_68855d03d65f); #[repr(C)] pub struct IInkStroke3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -457,13 +457,13 @@ pub struct IInkStroke3_Vtbl { pub StrokeDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetStrokeDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkStroke4, IInkStroke4_Vtbl, 0xcd5b62e5_b6e9_5b91_a577_1921d2348690); +windows_core::imp::define_interface!(IInkStroke4, IInkStroke4_Vtbl, 0xcd5b62e5_b6e9_5b91_a577_1921d2348690); #[repr(C)] pub struct IInkStroke4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PointerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkStrokeBuilder, IInkStrokeBuilder_Vtbl, 0x82bbd1dc_1c63_41dc_9e07_4b4a70ced801); +windows_core::imp::define_interface!(IInkStrokeBuilder, IInkStrokeBuilder_Vtbl, 0x82bbd1dc_1c63_41dc_9e07_4b4a70ced801); #[repr(C)] pub struct IInkStrokeBuilder_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -476,7 +476,7 @@ pub struct IInkStrokeBuilder_Vtbl { CreateStroke: usize, pub SetDefaultDrawingAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkStrokeBuilder2, IInkStrokeBuilder2_Vtbl, 0xbd82bc27_731f_4cbc_bbbf_6d468044f1e5); +windows_core::imp::define_interface!(IInkStrokeBuilder2, IInkStrokeBuilder2_Vtbl, 0xbd82bc27_731f_4cbc_bbbf_6d468044f1e5); #[repr(C)] pub struct IInkStrokeBuilder2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -485,7 +485,7 @@ pub struct IInkStrokeBuilder2_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Foundation_Numerics")))] CreateStrokeFromInkPoints: usize, } -windows_core::imp::com_interface!(IInkStrokeBuilder3, IInkStrokeBuilder3_Vtbl, 0xb2c71fcd_5472_46b1_a81d_c37a3d169441); +windows_core::imp::define_interface!(IInkStrokeBuilder3, IInkStrokeBuilder3_Vtbl, 0xb2c71fcd_5472_46b1_a81d_c37a3d169441); #[repr(C)] pub struct IInkStrokeBuilder3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -494,7 +494,7 @@ pub struct IInkStrokeBuilder3_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Foundation_Numerics")))] CreateStrokeFromInkPoints: usize, } -windows_core::imp::com_interface!(IInkStrokeContainer, IInkStrokeContainer_Vtbl, 0x22accbc6_faa9_4f14_b68c_f6cee670ae16); +windows_core::imp::define_interface!(IInkStrokeContainer, IInkStrokeContainer_Vtbl, 0x22accbc6_faa9_4f14_b68c_f6cee670ae16); windows_core::imp::interface_hierarchy!(IInkStrokeContainer, windows_core::IUnknown, windows_core::IInspectable); impl IInkStrokeContainer { pub fn BoundingRect(&self) -> windows_core::Result { @@ -647,7 +647,7 @@ pub struct IInkStrokeContainer_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetRecognitionResults: usize, } -windows_core::imp::com_interface!(IInkStrokeContainer2, IInkStrokeContainer2_Vtbl, 0x8901d364_da36_4bcf_9e5c_d195825995b4); +windows_core::imp::define_interface!(IInkStrokeContainer2, IInkStrokeContainer2_Vtbl, 0x8901d364_da36_4bcf_9e5c_d195825995b4); #[repr(C)] pub struct IInkStrokeContainer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -657,7 +657,7 @@ pub struct IInkStrokeContainer2_Vtbl { AddStrokes: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkStrokeContainer3, IInkStrokeContainer3_Vtbl, 0x3d07bea5_baea_4c82_a719_7b83da1067d2); +windows_core::imp::define_interface!(IInkStrokeContainer3, IInkStrokeContainer3_Vtbl, 0x3d07bea5_baea_4c82_a719_7b83da1067d2); #[repr(C)] pub struct IInkStrokeContainer3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -667,7 +667,7 @@ pub struct IInkStrokeContainer3_Vtbl { SaveWithFormatAsync: usize, pub GetStrokeById: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkStrokeInput, IInkStrokeInput_Vtbl, 0xcf2ffe7b_5e10_43c6_a080_88f26e1dc67d); +windows_core::imp::define_interface!(IInkStrokeInput, IInkStrokeInput_Vtbl, 0xcf2ffe7b_5e10_43c6_a080_88f26e1dc67d); #[repr(C)] pub struct IInkStrokeInput_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -693,7 +693,7 @@ pub struct IInkStrokeInput_Vtbl { pub RemoveStrokeCanceled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub InkPresenter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkStrokeRenderingSegment, IInkStrokeRenderingSegment_Vtbl, 0x68510f1f_88e3_477a_a2fa_569f5f1f9bd5); +windows_core::imp::define_interface!(IInkStrokeRenderingSegment, IInkStrokeRenderingSegment_Vtbl, 0x68510f1f_88e3_477a_a2fa_569f5f1f9bd5); #[repr(C)] pub struct IInkStrokeRenderingSegment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -705,7 +705,7 @@ pub struct IInkStrokeRenderingSegment_Vtbl { pub TiltY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub Twist: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkStrokesCollectedEventArgs, IInkStrokesCollectedEventArgs_Vtbl, 0xc4f3f229_1938_495c_b4d9_6de4b08d4811); +windows_core::imp::define_interface!(IInkStrokesCollectedEventArgs, IInkStrokesCollectedEventArgs_Vtbl, 0xc4f3f229_1938_495c_b4d9_6de4b08d4811); #[repr(C)] pub struct IInkStrokesCollectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -714,7 +714,7 @@ pub struct IInkStrokesCollectedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Strokes: usize, } -windows_core::imp::com_interface!(IInkStrokesErasedEventArgs, IInkStrokesErasedEventArgs_Vtbl, 0xa4216a22_1503_4ebf_8ff5_2de84584a8aa); +windows_core::imp::define_interface!(IInkStrokesErasedEventArgs, IInkStrokesErasedEventArgs_Vtbl, 0xa4216a22_1503_4ebf_8ff5_2de84584a8aa); #[repr(C)] pub struct IInkStrokesErasedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -723,7 +723,7 @@ pub struct IInkStrokesErasedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Strokes: usize, } -windows_core::imp::com_interface!(IInkSynchronizer, IInkSynchronizer_Vtbl, 0x9b9ea160_ae9b_45f9_8407_4b493b163661); +windows_core::imp::define_interface!(IInkSynchronizer, IInkSynchronizer_Vtbl, 0x9b9ea160_ae9b_45f9_8407_4b493b163661); #[repr(C)] pub struct IInkSynchronizer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -733,7 +733,7 @@ pub struct IInkSynchronizer_Vtbl { BeginDry: usize, pub EndDry: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkUnprocessedInput, IInkUnprocessedInput_Vtbl, 0xdb4445e0_8398_4921_ac3b_ab978c5ba256); +windows_core::imp::define_interface!(IInkUnprocessedInput, IInkUnprocessedInput_Vtbl, 0xdb4445e0_8398_4921_ac3b_ab978c5ba256); #[repr(C)] pub struct IInkUnprocessedInput_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -774,7 +774,7 @@ pub struct IInkUnprocessedInput_Vtbl { pub RemovePointerLost: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub InkPresenter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPenAndInkSettings, IPenAndInkSettings_Vtbl, 0xbc2ceb8f_0066_44a8_bb7a_b839b3deb8f5); +windows_core::imp::define_interface!(IPenAndInkSettings, IPenAndInkSettings_Vtbl, 0xbc2ceb8f_0066_44a8_bb7a_b839b3deb8f5); #[repr(C)] pub struct IPenAndInkSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -785,13 +785,13 @@ pub struct IPenAndInkSettings_Vtbl { 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, } -windows_core::imp::com_interface!(IPenAndInkSettings2, IPenAndInkSettings2_Vtbl, 0x3262da53_1f44_55e2_9929_ebf77e5481b8); +windows_core::imp::define_interface!(IPenAndInkSettings2, IPenAndInkSettings2_Vtbl, 0x3262da53_1f44_55e2_9929_ebf77e5481b8); #[repr(C)] pub struct IPenAndInkSettings2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetPenHandedness: unsafe extern "system" fn(*mut core::ffi::c_void, PenHandedness) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPenAndInkSettingsStatics, IPenAndInkSettingsStatics_Vtbl, 0xed6dd036_5708_5c3c_96db_f2f552eab641); +windows_core::imp::define_interface!(IPenAndInkSettingsStatics, IPenAndInkSettingsStatics_Vtbl, 0xed6dd036_5708_5c3c_96db_f2f552eab641); #[repr(C)] pub struct IPenAndInkSettingsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 5af5faf08d..8f8131ab22 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 @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IInjectedInputGamepadInfo, IInjectedInputGamepadInfo_Vtbl, 0x20ae9a3f_df11_4572_a9ab_d75b8a5e48ad); +windows_core::imp::define_interface!(IInjectedInputGamepadInfo, IInjectedInputGamepadInfo_Vtbl, 0x20ae9a3f_df11_4572_a9ab_d75b8a5e48ad); #[repr(C)] pub struct IInjectedInputGamepadInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -23,7 +23,7 @@ pub struct IInjectedInputGamepadInfo_Vtbl { pub RightTrigger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetRightTrigger: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInjectedInputGamepadInfoFactory, IInjectedInputGamepadInfoFactory_Vtbl, 0x59596876_6c39_4ec4_8b2a_29ef7de18aca); +windows_core::imp::define_interface!(IInjectedInputGamepadInfoFactory, IInjectedInputGamepadInfoFactory_Vtbl, 0x59596876_6c39_4ec4_8b2a_29ef7de18aca); #[repr(C)] pub struct IInjectedInputGamepadInfoFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -32,7 +32,7 @@ pub struct IInjectedInputGamepadInfoFactory_Vtbl { #[cfg(not(feature = "Gaming_Input"))] CreateInstanceFromGamepadReading: usize, } -windows_core::imp::com_interface!(IInjectedInputKeyboardInfo, IInjectedInputKeyboardInfo_Vtbl, 0x4b46d140_2b6a_5ffa_7eae_bd077b052acd); +windows_core::imp::define_interface!(IInjectedInputKeyboardInfo, IInjectedInputKeyboardInfo_Vtbl, 0x4b46d140_2b6a_5ffa_7eae_bd077b052acd); #[repr(C)] pub struct IInjectedInputKeyboardInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -43,7 +43,7 @@ pub struct IInjectedInputKeyboardInfo_Vtbl { pub VirtualKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub SetVirtualKey: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInjectedInputMouseInfo, IInjectedInputMouseInfo_Vtbl, 0x96f56e6b_e47a_5cf4_418d_8a5fb9670c7d); +windows_core::imp::define_interface!(IInjectedInputMouseInfo, IInjectedInputMouseInfo_Vtbl, 0x96f56e6b_e47a_5cf4_418d_8a5fb9670c7d); #[repr(C)] pub struct IInjectedInputMouseInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,7 +58,7 @@ pub struct IInjectedInputMouseInfo_Vtbl { pub TimeOffsetInMilliseconds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetTimeOffsetInMilliseconds: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInjectedInputPenInfo, IInjectedInputPenInfo_Vtbl, 0x6b40ad03_ca1e_5527_7e02_2828540bb1d4); +windows_core::imp::define_interface!(IInjectedInputPenInfo, IInjectedInputPenInfo_Vtbl, 0x6b40ad03_ca1e_5527_7e02_2828540bb1d4); #[repr(C)] pub struct IInjectedInputPenInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -77,7 +77,7 @@ pub struct IInjectedInputPenInfo_Vtbl { pub TiltY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetTiltY: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInjectedInputTouchInfo, IInjectedInputTouchInfo_Vtbl, 0x224fd1df_43e8_5ef5_510a_69ca8c9b4c28); +windows_core::imp::define_interface!(IInjectedInputTouchInfo, IInjectedInputTouchInfo_Vtbl, 0x224fd1df_43e8_5ef5_510a_69ca8c9b4c28); #[repr(C)] pub struct IInjectedInputTouchInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -92,7 +92,7 @@ pub struct IInjectedInputTouchInfo_Vtbl { pub TouchParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InjectedInputTouchParameters) -> windows_core::HRESULT, pub SetTouchParameters: unsafe extern "system" fn(*mut core::ffi::c_void, InjectedInputTouchParameters) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputInjector, IInputInjector_Vtbl, 0x8ec26f84_0b02_4bd2_ad7a_3d4658be3e18); +windows_core::imp::define_interface!(IInputInjector, IInputInjector_Vtbl, 0x8ec26f84_0b02_4bd2_ad7a_3d4658be3e18); #[repr(C)] pub struct IInputInjector_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -115,7 +115,7 @@ pub struct IInputInjector_Vtbl { pub UninitializePenInjection: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub InjectShortcut: unsafe extern "system" fn(*mut core::ffi::c_void, InjectedInputShortcut) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputInjector2, IInputInjector2_Vtbl, 0x8e7a905d_1453_43a7_9bcb_06d6d7b305f7); +windows_core::imp::define_interface!(IInputInjector2, IInputInjector2_Vtbl, 0x8e7a905d_1453_43a7_9bcb_06d6d7b305f7); #[repr(C)] pub struct IInputInjector2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -123,13 +123,13 @@ pub struct IInputInjector2_Vtbl { pub InjectGamepadInput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UninitializeGamepadInjection: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputInjectorStatics, IInputInjectorStatics_Vtbl, 0xdeae6943_7402_4141_a5c6_0c01aa57b16a); +windows_core::imp::define_interface!(IInputInjectorStatics, IInputInjectorStatics_Vtbl, 0xdeae6943_7402_4141_a5c6_0c01aa57b16a); #[repr(C)] pub struct IInputInjectorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryCreate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputInjectorStatics2, IInputInjectorStatics2_Vtbl, 0xa4db38fb_dd8c_414f_95ea_f87ef4c0ae6c); +windows_core::imp::define_interface!(IInputInjectorStatics2, IInputInjectorStatics2_Vtbl, 0xa4db38fb_dd8c_414f_95ea_f87ef4c0ae6c); #[repr(C)] pub struct IInputInjectorStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 1328a72bda..b6010bef86 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Preview/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "UI_Input_Preview_Injection")] pub mod Injection; -windows_core::imp::com_interface!(IInputActivationListenerPreviewStatics, IInputActivationListenerPreviewStatics_Vtbl, 0xf0551ce5_0de6_5be0_a589_f737201a4582); +windows_core::imp::define_interface!(IInputActivationListenerPreviewStatics, IInputActivationListenerPreviewStatics_Vtbl, 0xf0551ce5_0de6_5be0_a589_f737201a4582); #[repr(C)] pub struct IInputActivationListenerPreviewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 f65bbe5f2b..6938c580c1 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Spatial/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISpatialGestureRecognizer, ISpatialGestureRecognizer_Vtbl, 0x71605bcc_0c35_4673_adbd_cc04caa6ef45); +windows_core::imp::define_interface!(ISpatialGestureRecognizer, ISpatialGestureRecognizer_Vtbl, 0x71605bcc_0c35_4673_adbd_cc04caa6ef45); #[repr(C)] pub struct ISpatialGestureRecognizer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -35,25 +35,25 @@ pub struct ISpatialGestureRecognizer_Vtbl { pub TrySetGestureSettings: unsafe extern "system" fn(*mut core::ffi::c_void, SpatialGestureSettings, *mut bool) -> windows_core::HRESULT, pub GestureSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialGestureSettings) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialGestureRecognizerFactory, ISpatialGestureRecognizerFactory_Vtbl, 0x77214186_57b9_3150_8382_698b24e264d0); +windows_core::imp::define_interface!(ISpatialGestureRecognizerFactory, ISpatialGestureRecognizerFactory_Vtbl, 0x77214186_57b9_3150_8382_698b24e264d0); #[repr(C)] pub struct ISpatialGestureRecognizerFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, SpatialGestureSettings, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialHoldCanceledEventArgs, ISpatialHoldCanceledEventArgs_Vtbl, 0x5dfcb667_4caa_4093_8c35_b601a839f31b); +windows_core::imp::define_interface!(ISpatialHoldCanceledEventArgs, ISpatialHoldCanceledEventArgs_Vtbl, 0x5dfcb667_4caa_4093_8c35_b601a839f31b); #[repr(C)] pub struct ISpatialHoldCanceledEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InteractionSourceKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialInteractionSourceKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialHoldCompletedEventArgs, ISpatialHoldCompletedEventArgs_Vtbl, 0x3f64470b_4cfd_43da_8dc4_e64552173971); +windows_core::imp::define_interface!(ISpatialHoldCompletedEventArgs, ISpatialHoldCompletedEventArgs_Vtbl, 0x3f64470b_4cfd_43da_8dc4_e64552173971); #[repr(C)] pub struct ISpatialHoldCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InteractionSourceKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialInteractionSourceKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialHoldStartedEventArgs, ISpatialHoldStartedEventArgs_Vtbl, 0x8e343d79_acb6_4144_8615_2cfba8a3cb3f); +windows_core::imp::define_interface!(ISpatialHoldStartedEventArgs, ISpatialHoldStartedEventArgs_Vtbl, 0x8e343d79_acb6_4144_8615_2cfba8a3cb3f); #[repr(C)] pub struct ISpatialHoldStartedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -63,13 +63,13 @@ pub struct ISpatialHoldStartedEventArgs_Vtbl { #[cfg(not(feature = "Perception_Spatial"))] TryGetPointerPose: usize, } -windows_core::imp::com_interface!(ISpatialInteraction, ISpatialInteraction_Vtbl, 0xfc967639_88e6_4646_9112_4344aaec9dfa); +windows_core::imp::define_interface!(ISpatialInteraction, ISpatialInteraction_Vtbl, 0xfc967639_88e6_4646_9112_4344aaec9dfa); #[repr(C)] pub struct ISpatialInteraction_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SourceState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionController, ISpatialInteractionController_Vtbl, 0x5f0e5ba3_0954_4e97_86c5_e7f30b114dfd); +windows_core::imp::define_interface!(ISpatialInteractionController, ISpatialInteractionController_Vtbl, 0x5f0e5ba3_0954_4e97_86c5_e7f30b114dfd); #[repr(C)] pub struct ISpatialInteractionController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -83,7 +83,7 @@ pub struct ISpatialInteractionController_Vtbl { pub ProductId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionController2, ISpatialInteractionController2_Vtbl, 0x35b6d924_c7a2_49b7_b72e_5436b2fb8f9c); +windows_core::imp::define_interface!(ISpatialInteractionController2, ISpatialInteractionController2_Vtbl, 0x35b6d924_c7a2_49b7_b72e_5436b2fb8f9c); #[repr(C)] pub struct ISpatialInteractionController2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -92,7 +92,7 @@ pub struct ISpatialInteractionController2_Vtbl { #[cfg(not(feature = "Storage_Streams"))] TryGetRenderableModelAsync: usize, } -windows_core::imp::com_interface!(ISpatialInteractionController3, ISpatialInteractionController3_Vtbl, 0x628466a0_9d91_4a0b_888d_165e670a8cd5); +windows_core::imp::define_interface!(ISpatialInteractionController3, ISpatialInteractionController3_Vtbl, 0x628466a0_9d91_4a0b_888d_165e670a8cd5); #[repr(C)] pub struct ISpatialInteractionController3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -101,7 +101,7 @@ pub struct ISpatialInteractionController3_Vtbl { #[cfg(not(feature = "Devices_Power"))] TryGetBatteryReport: usize, } -windows_core::imp::com_interface!(ISpatialInteractionControllerProperties, ISpatialInteractionControllerProperties_Vtbl, 0x61056fb1_7ba9_4e35_b93f_9272cba9b28b); +windows_core::imp::define_interface!(ISpatialInteractionControllerProperties, ISpatialInteractionControllerProperties_Vtbl, 0x61056fb1_7ba9_4e35_b93f_9272cba9b28b); #[repr(C)] pub struct ISpatialInteractionControllerProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -113,7 +113,7 @@ pub struct ISpatialInteractionControllerProperties_Vtbl { pub TouchpadX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub TouchpadY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionDetectedEventArgs, ISpatialInteractionDetectedEventArgs_Vtbl, 0x075878e4_5961_3b41_9dfb_cea5d89cc38a); +windows_core::imp::define_interface!(ISpatialInteractionDetectedEventArgs, ISpatialInteractionDetectedEventArgs_Vtbl, 0x075878e4_5961_3b41_9dfb_cea5d89cc38a); #[repr(C)] pub struct ISpatialInteractionDetectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -124,13 +124,13 @@ pub struct ISpatialInteractionDetectedEventArgs_Vtbl { TryGetPointerPose: usize, pub Interaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionDetectedEventArgs2, ISpatialInteractionDetectedEventArgs2_Vtbl, 0x7b263e93_5f13_419c_97d5_834678266aa6); +windows_core::imp::define_interface!(ISpatialInteractionDetectedEventArgs2, ISpatialInteractionDetectedEventArgs2_Vtbl, 0x7b263e93_5f13_419c_97d5_834678266aa6); #[repr(C)] pub struct ISpatialInteractionDetectedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InteractionSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionManager, ISpatialInteractionManager_Vtbl, 0x32a64ea8_a15a_3995_b8bd_80513cb5adef); +windows_core::imp::define_interface!(ISpatialInteractionManager, ISpatialInteractionManager_Vtbl, 0x32a64ea8_a15a_3995_b8bd_80513cb5adef); #[repr(C)] pub struct ISpatialInteractionManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -151,26 +151,26 @@ pub struct ISpatialInteractionManager_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "Perception")))] GetDetectedSourcesAtTimestamp: usize, } -windows_core::imp::com_interface!(ISpatialInteractionManagerStatics, ISpatialInteractionManagerStatics_Vtbl, 0x00e31fa6_8ca2_30bf_91fe_d9cb4a008990); +windows_core::imp::define_interface!(ISpatialInteractionManagerStatics, ISpatialInteractionManagerStatics_Vtbl, 0x00e31fa6_8ca2_30bf_91fe_d9cb4a008990); #[repr(C)] pub struct ISpatialInteractionManagerStatics_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, } -windows_core::imp::com_interface!(ISpatialInteractionManagerStatics2, ISpatialInteractionManagerStatics2_Vtbl, 0x93f16c52_b88a_5929_8d7c_48cb948b081c); +windows_core::imp::define_interface!(ISpatialInteractionManagerStatics2, ISpatialInteractionManagerStatics2_Vtbl, 0x93f16c52_b88a_5929_8d7c_48cb948b081c); #[repr(C)] pub struct ISpatialInteractionManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSourceKindSupported: unsafe extern "system" fn(*mut core::ffi::c_void, SpatialInteractionSourceKind, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionSource, ISpatialInteractionSource_Vtbl, 0xfb5433ba_b0b3_3148_9f3b_e9f5de568f5d); +windows_core::imp::define_interface!(ISpatialInteractionSource, ISpatialInteractionSource_Vtbl, 0xfb5433ba_b0b3_3148_9f3b_e9f5de568f5d); #[repr(C)] pub struct ISpatialInteractionSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialInteractionSourceKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionSource2, ISpatialInteractionSource2_Vtbl, 0xe4c5b70c_0470_4028_88c0_a0eb44d34efe); +windows_core::imp::define_interface!(ISpatialInteractionSource2, ISpatialInteractionSource2_Vtbl, 0xe4c5b70c_0470_4028_88c0_a0eb44d34efe); #[repr(C)] pub struct ISpatialInteractionSource2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -183,13 +183,13 @@ pub struct ISpatialInteractionSource2_Vtbl { #[cfg(not(feature = "Perception"))] TryGetStateAtTimestamp: usize, } -windows_core::imp::com_interface!(ISpatialInteractionSource3, ISpatialInteractionSource3_Vtbl, 0x0406d9f9_9afd_44f9_85dc_700023a962e3); +windows_core::imp::define_interface!(ISpatialInteractionSource3, ISpatialInteractionSource3_Vtbl, 0x0406d9f9_9afd_44f9_85dc_700023a962e3); #[repr(C)] pub struct ISpatialInteractionSource3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Handedness: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialInteractionSourceHandedness) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionSource4, ISpatialInteractionSource4_Vtbl, 0x0073bc4d_df66_5a91_a2ba_cea3e5c58a19); +windows_core::imp::define_interface!(ISpatialInteractionSource4, ISpatialInteractionSource4_Vtbl, 0x0073bc4d_df66_5a91_a2ba_cea3e5c58a19); #[repr(C)] pub struct ISpatialInteractionSource4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -202,19 +202,19 @@ pub struct ISpatialInteractionSource4_Vtbl { #[cfg(not(feature = "Perception_People"))] TryCreateHandMeshObserverAsync: usize, } -windows_core::imp::com_interface!(ISpatialInteractionSourceEventArgs, ISpatialInteractionSourceEventArgs_Vtbl, 0x23b786cf_ec23_3979_b27c_eb0e12feb7c7); +windows_core::imp::define_interface!(ISpatialInteractionSourceEventArgs, ISpatialInteractionSourceEventArgs_Vtbl, 0x23b786cf_ec23_3979_b27c_eb0e12feb7c7); #[repr(C)] pub struct ISpatialInteractionSourceEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionSourceEventArgs2, ISpatialInteractionSourceEventArgs2_Vtbl, 0xd8b4b467_e648_4d52_ab49_e0d227199f63); +windows_core::imp::define_interface!(ISpatialInteractionSourceEventArgs2, ISpatialInteractionSourceEventArgs2_Vtbl, 0xd8b4b467_e648_4d52_ab49_e0d227199f63); #[repr(C)] pub struct ISpatialInteractionSourceEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PressKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialInteractionPressKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionSourceLocation, ISpatialInteractionSourceLocation_Vtbl, 0xea4696c4_7e8b_30ca_bcc5_c77189cea30a); +windows_core::imp::define_interface!(ISpatialInteractionSourceLocation, ISpatialInteractionSourceLocation_Vtbl, 0xea4696c4_7e8b_30ca_bcc5_c77189cea30a); #[repr(C)] pub struct ISpatialInteractionSourceLocation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -227,7 +227,7 @@ pub struct ISpatialInteractionSourceLocation_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] Velocity: usize, } -windows_core::imp::com_interface!(ISpatialInteractionSourceLocation2, ISpatialInteractionSourceLocation2_Vtbl, 0x4c671045_3917_40fc_a9ac_31c9cf5ff91b); +windows_core::imp::define_interface!(ISpatialInteractionSourceLocation2, ISpatialInteractionSourceLocation2_Vtbl, 0x4c671045_3917_40fc_a9ac_31c9cf5ff91b); #[repr(C)] pub struct ISpatialInteractionSourceLocation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -236,7 +236,7 @@ pub struct ISpatialInteractionSourceLocation2_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] Orientation: usize, } -windows_core::imp::com_interface!(ISpatialInteractionSourceLocation3, ISpatialInteractionSourceLocation3_Vtbl, 0x6702e65e_e915_4cfb_9c1b_0538efc86687); +windows_core::imp::define_interface!(ISpatialInteractionSourceLocation3, ISpatialInteractionSourceLocation3_Vtbl, 0x6702e65e_e915_4cfb_9c1b_0538efc86687); #[repr(C)] pub struct ISpatialInteractionSourceLocation3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -247,7 +247,7 @@ pub struct ISpatialInteractionSourceLocation3_Vtbl { AngularVelocity: usize, pub SourcePointerPose: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionSourceProperties, ISpatialInteractionSourceProperties_Vtbl, 0x05604542_3ef7_3222_9f53_63c9cb7e3bc7); +windows_core::imp::define_interface!(ISpatialInteractionSourceProperties, ISpatialInteractionSourceProperties_Vtbl, 0x05604542_3ef7_3222_9f53_63c9cb7e3bc7); #[repr(C)] pub struct ISpatialInteractionSourceProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -261,7 +261,7 @@ pub struct ISpatialInteractionSourceProperties_Vtbl { #[cfg(not(feature = "Perception_Spatial"))] TryGetLocation: usize, } -windows_core::imp::com_interface!(ISpatialInteractionSourceState, ISpatialInteractionSourceState_Vtbl, 0xd5c475ef_4b63_37ec_98b9_9fc652b9d2f2); +windows_core::imp::define_interface!(ISpatialInteractionSourceState, ISpatialInteractionSourceState_Vtbl, 0xd5c475ef_4b63_37ec_98b9_9fc652b9d2f2); #[repr(C)] pub struct ISpatialInteractionSourceState_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -277,7 +277,7 @@ pub struct ISpatialInteractionSourceState_Vtbl { #[cfg(not(feature = "Perception_Spatial"))] TryGetPointerPose: usize, } -windows_core::imp::com_interface!(ISpatialInteractionSourceState2, ISpatialInteractionSourceState2_Vtbl, 0x45f6d0bd_1773_492e_9ba3_8ac1cbe77c08); +windows_core::imp::define_interface!(ISpatialInteractionSourceState2, ISpatialInteractionSourceState2_Vtbl, 0x45f6d0bd_1773_492e_9ba3_8ac1cbe77c08); #[repr(C)] pub struct ISpatialInteractionSourceState2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -287,7 +287,7 @@ pub struct ISpatialInteractionSourceState2_Vtbl { pub SelectPressedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub ControllerProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionSourceState3, ISpatialInteractionSourceState3_Vtbl, 0xf2f00bc2_bd2b_4a01_a8fb_323e0158527c); +windows_core::imp::define_interface!(ISpatialInteractionSourceState3, ISpatialInteractionSourceState3_Vtbl, 0xf2f00bc2_bd2b_4a01_a8fb_323e0158527c); #[repr(C)] pub struct ISpatialInteractionSourceState3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -296,13 +296,13 @@ pub struct ISpatialInteractionSourceState3_Vtbl { #[cfg(not(feature = "Perception_People"))] TryGetHandPose: usize, } -windows_core::imp::com_interface!(ISpatialManipulationCanceledEventArgs, ISpatialManipulationCanceledEventArgs_Vtbl, 0x2d40d1cb_e7da_4220_b0bf_819301674780); +windows_core::imp::define_interface!(ISpatialManipulationCanceledEventArgs, ISpatialManipulationCanceledEventArgs_Vtbl, 0x2d40d1cb_e7da_4220_b0bf_819301674780); #[repr(C)] pub struct ISpatialManipulationCanceledEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InteractionSourceKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialInteractionSourceKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialManipulationCompletedEventArgs, ISpatialManipulationCompletedEventArgs_Vtbl, 0x05086802_f301_4343_9250_2fbaa5f87a37); +windows_core::imp::define_interface!(ISpatialManipulationCompletedEventArgs, ISpatialManipulationCompletedEventArgs_Vtbl, 0x05086802_f301_4343_9250_2fbaa5f87a37); #[repr(C)] pub struct ISpatialManipulationCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -312,7 +312,7 @@ pub struct ISpatialManipulationCompletedEventArgs_Vtbl { #[cfg(not(feature = "Perception_Spatial"))] TryGetCumulativeDelta: usize, } -windows_core::imp::com_interface!(ISpatialManipulationDelta, ISpatialManipulationDelta_Vtbl, 0xa7ec967a_d123_3a81_a15b_992923dcbe91); +windows_core::imp::define_interface!(ISpatialManipulationDelta, ISpatialManipulationDelta_Vtbl, 0xa7ec967a_d123_3a81_a15b_992923dcbe91); #[repr(C)] pub struct ISpatialManipulationDelta_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -321,7 +321,7 @@ pub struct ISpatialManipulationDelta_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] Translation: usize, } -windows_core::imp::com_interface!(ISpatialManipulationStartedEventArgs, ISpatialManipulationStartedEventArgs_Vtbl, 0xa1d6bbce_42a5_377b_ada6_d28e3d384737); +windows_core::imp::define_interface!(ISpatialManipulationStartedEventArgs, ISpatialManipulationStartedEventArgs_Vtbl, 0xa1d6bbce_42a5_377b_ada6_d28e3d384737); #[repr(C)] pub struct ISpatialManipulationStartedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -331,7 +331,7 @@ pub struct ISpatialManipulationStartedEventArgs_Vtbl { #[cfg(not(feature = "Perception_Spatial"))] TryGetPointerPose: usize, } -windows_core::imp::com_interface!(ISpatialManipulationUpdatedEventArgs, ISpatialManipulationUpdatedEventArgs_Vtbl, 0x5f230b9b_60c6_4dc6_bdc9_9f4a6f15fe49); +windows_core::imp::define_interface!(ISpatialManipulationUpdatedEventArgs, ISpatialManipulationUpdatedEventArgs_Vtbl, 0x5f230b9b_60c6_4dc6_bdc9_9f4a6f15fe49); #[repr(C)] pub struct ISpatialManipulationUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -341,13 +341,13 @@ pub struct ISpatialManipulationUpdatedEventArgs_Vtbl { #[cfg(not(feature = "Perception_Spatial"))] TryGetCumulativeDelta: usize, } -windows_core::imp::com_interface!(ISpatialNavigationCanceledEventArgs, ISpatialNavigationCanceledEventArgs_Vtbl, 0xce503edc_e8a5_46f0_92d4_3c122b35112a); +windows_core::imp::define_interface!(ISpatialNavigationCanceledEventArgs, ISpatialNavigationCanceledEventArgs_Vtbl, 0xce503edc_e8a5_46f0_92d4_3c122b35112a); #[repr(C)] pub struct ISpatialNavigationCanceledEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InteractionSourceKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialInteractionSourceKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialNavigationCompletedEventArgs, ISpatialNavigationCompletedEventArgs_Vtbl, 0x012e80b7_af3b_42c2_9e41_baaa0e721f3a); +windows_core::imp::define_interface!(ISpatialNavigationCompletedEventArgs, ISpatialNavigationCompletedEventArgs_Vtbl, 0x012e80b7_af3b_42c2_9e41_baaa0e721f3a); #[repr(C)] pub struct ISpatialNavigationCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -357,7 +357,7 @@ pub struct ISpatialNavigationCompletedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] NormalizedOffset: usize, } -windows_core::imp::com_interface!(ISpatialNavigationStartedEventArgs, ISpatialNavigationStartedEventArgs_Vtbl, 0x754a348a_fb64_4656_8ebd_9deecaafe475); +windows_core::imp::define_interface!(ISpatialNavigationStartedEventArgs, ISpatialNavigationStartedEventArgs_Vtbl, 0x754a348a_fb64_4656_8ebd_9deecaafe475); #[repr(C)] pub struct ISpatialNavigationStartedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -370,7 +370,7 @@ pub struct ISpatialNavigationStartedEventArgs_Vtbl { pub IsNavigatingY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsNavigatingZ: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialNavigationUpdatedEventArgs, ISpatialNavigationUpdatedEventArgs_Vtbl, 0x9b713fd7_839d_4a74_8732_45466fc044b5); +windows_core::imp::define_interface!(ISpatialNavigationUpdatedEventArgs, ISpatialNavigationUpdatedEventArgs_Vtbl, 0x9b713fd7_839d_4a74_8732_45466fc044b5); #[repr(C)] pub struct ISpatialNavigationUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -380,7 +380,7 @@ pub struct ISpatialNavigationUpdatedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] NormalizedOffset: usize, } -windows_core::imp::com_interface!(ISpatialPointerInteractionSourcePose, ISpatialPointerInteractionSourcePose_Vtbl, 0xa7104307_2c2b_4d3a_92a7_80ced7c4a0d0); +windows_core::imp::define_interface!(ISpatialPointerInteractionSourcePose, ISpatialPointerInteractionSourcePose_Vtbl, 0xa7104307_2c2b_4d3a_92a7_80ced7c4a0d0); #[repr(C)] pub struct ISpatialPointerInteractionSourcePose_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -397,7 +397,7 @@ pub struct ISpatialPointerInteractionSourcePose_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] UpDirection: usize, } -windows_core::imp::com_interface!(ISpatialPointerInteractionSourcePose2, ISpatialPointerInteractionSourcePose2_Vtbl, 0xeccd86b8_52db_469f_9e3f_80c47f74bce9); +windows_core::imp::define_interface!(ISpatialPointerInteractionSourcePose2, ISpatialPointerInteractionSourcePose2_Vtbl, 0xeccd86b8_52db_469f_9e3f_80c47f74bce9); #[repr(C)] pub struct ISpatialPointerInteractionSourcePose2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -407,7 +407,7 @@ pub struct ISpatialPointerInteractionSourcePose2_Vtbl { Orientation: usize, pub PositionAccuracy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialInteractionSourcePositionAccuracy) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialPointerPose, ISpatialPointerPose_Vtbl, 0x6953a42e_c17e_357d_97a1_7269d0ed2d10); +windows_core::imp::define_interface!(ISpatialPointerPose, ISpatialPointerPose_Vtbl, 0x6953a42e_c17e_357d_97a1_7269d0ed2d10); #[repr(C)] pub struct ISpatialPointerPose_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -420,13 +420,13 @@ pub struct ISpatialPointerPose_Vtbl { #[cfg(not(feature = "Perception_People"))] Head: usize, } -windows_core::imp::com_interface!(ISpatialPointerPose2, ISpatialPointerPose2_Vtbl, 0x9d202b17_954e_4e0c_96d1_b6790b6fc2fd); +windows_core::imp::define_interface!(ISpatialPointerPose2, ISpatialPointerPose2_Vtbl, 0x9d202b17_954e_4e0c_96d1_b6790b6fc2fd); #[repr(C)] pub struct ISpatialPointerPose2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryGetInteractionSourcePose: 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::com_interface!(ISpatialPointerPose3, ISpatialPointerPose3_Vtbl, 0x6342f3f0_ec49_5b4b_b8d1_d16cbb16be84); +windows_core::imp::define_interface!(ISpatialPointerPose3, ISpatialPointerPose3_Vtbl, 0x6342f3f0_ec49_5b4b_b8d1_d16cbb16be84); #[repr(C)] pub struct ISpatialPointerPose3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -436,7 +436,7 @@ pub struct ISpatialPointerPose3_Vtbl { Eyes: usize, pub IsHeadCapturedBySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialPointerPoseStatics, ISpatialPointerPoseStatics_Vtbl, 0xa25591a9_aca1_3ee0_9816_785cfb2e3fb8); +windows_core::imp::define_interface!(ISpatialPointerPoseStatics, ISpatialPointerPoseStatics_Vtbl, 0xa25591a9_aca1_3ee0_9816_785cfb2e3fb8); #[repr(C)] pub struct ISpatialPointerPoseStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -445,13 +445,13 @@ pub struct ISpatialPointerPoseStatics_Vtbl { #[cfg(not(feature = "Perception_Spatial"))] TryGetAtTimestamp: usize, } -windows_core::imp::com_interface!(ISpatialRecognitionEndedEventArgs, ISpatialRecognitionEndedEventArgs_Vtbl, 0x0e35f5cb_3f75_43f3_ac81_d1dc2df9b1fb); +windows_core::imp::define_interface!(ISpatialRecognitionEndedEventArgs, ISpatialRecognitionEndedEventArgs_Vtbl, 0x0e35f5cb_3f75_43f3_ac81_d1dc2df9b1fb); #[repr(C)] pub struct ISpatialRecognitionEndedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub InteractionSourceKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialInteractionSourceKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialRecognitionStartedEventArgs, ISpatialRecognitionStartedEventArgs_Vtbl, 0x24da128f_0008_4a6d_aa50_2a76f9cfb264); +windows_core::imp::define_interface!(ISpatialRecognitionStartedEventArgs, ISpatialRecognitionStartedEventArgs_Vtbl, 0x24da128f_0008_4a6d_aa50_2a76f9cfb264); #[repr(C)] pub struct ISpatialRecognitionStartedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -462,7 +462,7 @@ pub struct ISpatialRecognitionStartedEventArgs_Vtbl { TryGetPointerPose: usize, pub IsGesturePossible: unsafe extern "system" fn(*mut core::ffi::c_void, SpatialGestureSettings, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialTappedEventArgs, ISpatialTappedEventArgs_Vtbl, 0x296d83de_f444_4aa1_b2bf_9dc88d567da6); +windows_core::imp::define_interface!(ISpatialTappedEventArgs, ISpatialTappedEventArgs_Vtbl, 0x296d83de_f444_4aa1_b2bf_9dc88d567da6); #[repr(C)] pub struct ISpatialTappedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/Input/mod.rs b/crates/libs/windows/src/Windows/UI/Input/mod.rs index 08fd0bf14d..cfd6708028 100644 --- a/crates/libs/windows/src/Windows/UI/Input/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Input/mod.rs @@ -6,17 +6,17 @@ pub mod Inking; pub mod Preview; #[cfg(feature = "UI_Input_Spatial")] pub mod Spatial; -windows_core::imp::com_interface!(IAttachableInputObject, IAttachableInputObject_Vtbl, 0x9b822734_a3c1_542a_b2f4_0e32b773fb07); +windows_core::imp::define_interface!(IAttachableInputObject, IAttachableInputObject_Vtbl, 0x9b822734_a3c1_542a_b2f4_0e32b773fb07); #[repr(C)] pub struct IAttachableInputObject_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IAttachableInputObjectFactory, IAttachableInputObjectFactory_Vtbl, 0xa4c54c4e_42bc_58fa_a640_ea1516f4c06b); +windows_core::imp::define_interface!(IAttachableInputObjectFactory, IAttachableInputObjectFactory_Vtbl, 0xa4c54c4e_42bc_58fa_a640_ea1516f4c06b); #[repr(C)] pub struct IAttachableInputObjectFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ICrossSlidingEventArgs, ICrossSlidingEventArgs_Vtbl, 0xe9374738_6f88_41d9_8720_78e08e398349); +windows_core::imp::define_interface!(ICrossSlidingEventArgs, ICrossSlidingEventArgs_Vtbl, 0xe9374738_6f88_41d9_8720_78e08e398349); #[repr(C)] pub struct ICrossSlidingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -27,13 +27,13 @@ pub struct ICrossSlidingEventArgs_Vtbl { pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Point) -> windows_core::HRESULT, pub CrossSlidingState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CrossSlidingState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICrossSlidingEventArgs2, ICrossSlidingEventArgs2_Vtbl, 0xeefb7d48_c070_59f3_8dab_bcaf621d8687); +windows_core::imp::define_interface!(ICrossSlidingEventArgs2, ICrossSlidingEventArgs2_Vtbl, 0xeefb7d48_c070_59f3_8dab_bcaf621d8687); #[repr(C)] pub struct ICrossSlidingEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDraggingEventArgs, IDraggingEventArgs_Vtbl, 0x1c905384_083c_4bd3_b559_179cddeb33ec); +windows_core::imp::define_interface!(IDraggingEventArgs, IDraggingEventArgs_Vtbl, 0x1c905384_083c_4bd3_b559_179cddeb33ec); #[repr(C)] pub struct IDraggingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,13 +44,13 @@ pub struct IDraggingEventArgs_Vtbl { pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Point) -> windows_core::HRESULT, pub DraggingState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DraggingState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDraggingEventArgs2, IDraggingEventArgs2_Vtbl, 0x71efdbf9_382a_55ca_b4b9_008123c1bf1a); +windows_core::imp::define_interface!(IDraggingEventArgs2, IDraggingEventArgs2_Vtbl, 0x71efdbf9_382a_55ca_b4b9_008123c1bf1a); #[repr(C)] pub struct IDraggingEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEdgeGesture, IEdgeGesture_Vtbl, 0x580d5292_2ab1_49aa_a7f0_33bd3f8df9f1); +windows_core::imp::define_interface!(IEdgeGesture, IEdgeGesture_Vtbl, 0x580d5292_2ab1_49aa_a7f0_33bd3f8df9f1); #[repr(C)] pub struct IEdgeGesture_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -61,19 +61,19 @@ pub struct IEdgeGesture_Vtbl { pub Canceled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCanceled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEdgeGestureEventArgs, IEdgeGestureEventArgs_Vtbl, 0x44fa4a24_2d09_42e1_8b5e_368208796a4c); +windows_core::imp::define_interface!(IEdgeGestureEventArgs, IEdgeGestureEventArgs_Vtbl, 0x44fa4a24_2d09_42e1_8b5e_368208796a4c); #[repr(C)] pub struct IEdgeGestureEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EdgeGestureKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEdgeGestureStatics, IEdgeGestureStatics_Vtbl, 0xbc6a8519_18ee_4043_9839_4fc584d60a14); +windows_core::imp::define_interface!(IEdgeGestureStatics, IEdgeGestureStatics_Vtbl, 0xbc6a8519_18ee_4043_9839_4fc584d60a14); #[repr(C)] pub struct IEdgeGestureStatics_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, } -windows_core::imp::com_interface!(IGestureRecognizer, IGestureRecognizer_Vtbl, 0xb47a37bf_3d6b_4f88_83e8_6dcb4012ffb0); +windows_core::imp::define_interface!(IGestureRecognizer, IGestureRecognizer_Vtbl, 0xb47a37bf_3d6b_4f88_83e8_6dcb4012ffb0); #[repr(C)] pub struct IGestureRecognizer_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -139,7 +139,7 @@ pub struct IGestureRecognizer_Vtbl { pub CrossSliding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCrossSliding: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGestureRecognizer2, IGestureRecognizer2_Vtbl, 0xd646097f_6ef7_5746_8ba8_8ff2206e6f3b); +windows_core::imp::define_interface!(IGestureRecognizer2, IGestureRecognizer2_Vtbl, 0xd646097f_6ef7_5746_8ba8_8ff2206e6f3b); #[repr(C)] pub struct IGestureRecognizer2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -160,7 +160,7 @@ pub struct IGestureRecognizer2_Vtbl { pub TranslationMaxContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetTranslationMaxContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHoldingEventArgs, IHoldingEventArgs_Vtbl, 0x2bf755c5_e799_41b4_bb40_242f40959b71); +windows_core::imp::define_interface!(IHoldingEventArgs, IHoldingEventArgs_Vtbl, 0x2bf755c5_e799_41b4_bb40_242f40959b71); #[repr(C)] pub struct IHoldingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -171,14 +171,14 @@ pub struct IHoldingEventArgs_Vtbl { pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Point) -> windows_core::HRESULT, pub HoldingState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut HoldingState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHoldingEventArgs2, IHoldingEventArgs2_Vtbl, 0x141da9ea_4c79_5674_afea_493fdeb91f19); +windows_core::imp::define_interface!(IHoldingEventArgs2, IHoldingEventArgs2_Vtbl, 0x141da9ea_4c79_5674_afea_493fdeb91f19); #[repr(C)] pub struct IHoldingEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CurrentContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputActivationListener, IInputActivationListener_Vtbl, 0x5d6d4ed2_28c7_5ae3_aa74_c918a9f243ca); +windows_core::imp::define_interface!(IInputActivationListener, IInputActivationListener_Vtbl, 0x5d6d4ed2_28c7_5ae3_aa74_c918a9f243ca); #[repr(C)] pub struct IInputActivationListener_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -186,13 +186,13 @@ pub struct IInputActivationListener_Vtbl { pub InputActivationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveInputActivationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputActivationListenerActivationChangedEventArgs, IInputActivationListenerActivationChangedEventArgs_Vtbl, 0x7699b465_1dcf_5791_b4b9_6cafbeed2056); +windows_core::imp::define_interface!(IInputActivationListenerActivationChangedEventArgs, IInputActivationListenerActivationChangedEventArgs_Vtbl, 0x7699b465_1dcf_5791_b4b9_6cafbeed2056); #[repr(C)] pub struct IInputActivationListenerActivationChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InputActivationState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyboardDeliveryInterceptor, IKeyboardDeliveryInterceptor_Vtbl, 0xb4baf068_8f49_446c_8db5_8c0ffe85cc9e); +windows_core::imp::define_interface!(IKeyboardDeliveryInterceptor, IKeyboardDeliveryInterceptor_Vtbl, 0xb4baf068_8f49_446c_8db5_8c0ffe85cc9e); #[repr(C)] pub struct IKeyboardDeliveryInterceptor_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -209,13 +209,13 @@ pub struct IKeyboardDeliveryInterceptor_Vtbl { KeyUp: usize, pub RemoveKeyUp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyboardDeliveryInterceptorStatics, IKeyboardDeliveryInterceptorStatics_Vtbl, 0xf9f63ba2_ceba_4755_8a7e_14c0ffecd239); +windows_core::imp::define_interface!(IKeyboardDeliveryInterceptorStatics, IKeyboardDeliveryInterceptorStatics_Vtbl, 0xf9f63ba2_ceba_4755_8a7e_14c0ffecd239); #[repr(C)] pub struct IKeyboardDeliveryInterceptorStatics_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, } -windows_core::imp::com_interface!(IManipulationCompletedEventArgs, IManipulationCompletedEventArgs_Vtbl, 0xb34ab22b_d19b_46ff_9f38_dec7754bb9e7); +windows_core::imp::define_interface!(IManipulationCompletedEventArgs, IManipulationCompletedEventArgs_Vtbl, 0xb34ab22b_d19b_46ff_9f38_dec7754bb9e7); #[repr(C)] pub struct IManipulationCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -227,14 +227,14 @@ pub struct IManipulationCompletedEventArgs_Vtbl { pub Cumulative: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ManipulationDelta) -> windows_core::HRESULT, pub Velocities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ManipulationVelocities) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManipulationCompletedEventArgs2, IManipulationCompletedEventArgs2_Vtbl, 0xf0c0dce7_30a9_5b96_886f_6560a85e4757); +windows_core::imp::define_interface!(IManipulationCompletedEventArgs2, IManipulationCompletedEventArgs2_Vtbl, 0xf0c0dce7_30a9_5b96_886f_6560a85e4757); #[repr(C)] pub struct IManipulationCompletedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CurrentContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManipulationInertiaStartingEventArgs, IManipulationInertiaStartingEventArgs_Vtbl, 0xdd37a898_26bf_467a_9ce5_ccf3fb11371e); +windows_core::imp::define_interface!(IManipulationInertiaStartingEventArgs, IManipulationInertiaStartingEventArgs_Vtbl, 0xdd37a898_26bf_467a_9ce5_ccf3fb11371e); #[repr(C)] pub struct IManipulationInertiaStartingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -247,13 +247,13 @@ pub struct IManipulationInertiaStartingEventArgs_Vtbl { pub Cumulative: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ManipulationDelta) -> windows_core::HRESULT, pub Velocities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ManipulationVelocities) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManipulationInertiaStartingEventArgs2, IManipulationInertiaStartingEventArgs2_Vtbl, 0xc25409b8_f9fa_5a45_bd97_dcbbb2201860); +windows_core::imp::define_interface!(IManipulationInertiaStartingEventArgs2, IManipulationInertiaStartingEventArgs2_Vtbl, 0xc25409b8_f9fa_5a45_bd97_dcbbb2201860); #[repr(C)] pub struct IManipulationInertiaStartingEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManipulationStartedEventArgs, IManipulationStartedEventArgs_Vtbl, 0xddec873e_cfce_4932_8c1d_3c3d011a34c0); +windows_core::imp::define_interface!(IManipulationStartedEventArgs, IManipulationStartedEventArgs_Vtbl, 0xddec873e_cfce_4932_8c1d_3c3d011a34c0); #[repr(C)] pub struct IManipulationStartedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -264,13 +264,13 @@ pub struct IManipulationStartedEventArgs_Vtbl { pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Point) -> windows_core::HRESULT, pub Cumulative: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ManipulationDelta) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManipulationStartedEventArgs2, IManipulationStartedEventArgs2_Vtbl, 0x2da3db4e_e583_5055_afaa_16fd986531a6); +windows_core::imp::define_interface!(IManipulationStartedEventArgs2, IManipulationStartedEventArgs2_Vtbl, 0x2da3db4e_e583_5055_afaa_16fd986531a6); #[repr(C)] pub struct IManipulationStartedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManipulationUpdatedEventArgs, IManipulationUpdatedEventArgs_Vtbl, 0xcb354ce5_abb8_4f9f_b3ce_8181aa61ad82); +windows_core::imp::define_interface!(IManipulationUpdatedEventArgs, IManipulationUpdatedEventArgs_Vtbl, 0xcb354ce5_abb8_4f9f_b3ce_8181aa61ad82); #[repr(C)] pub struct IManipulationUpdatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -283,14 +283,14 @@ pub struct IManipulationUpdatedEventArgs_Vtbl { pub Cumulative: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ManipulationDelta) -> windows_core::HRESULT, pub Velocities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ManipulationVelocities) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManipulationUpdatedEventArgs2, IManipulationUpdatedEventArgs2_Vtbl, 0xf3dfb96a_3306_5903_a1c5_ff9757a8689e); +windows_core::imp::define_interface!(IManipulationUpdatedEventArgs2, IManipulationUpdatedEventArgs2_Vtbl, 0xf3dfb96a_3306_5903_a1c5_ff9757a8689e); #[repr(C)] pub struct IManipulationUpdatedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CurrentContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMouseWheelParameters, IMouseWheelParameters_Vtbl, 0xead0ca44_9ded_4037_8149_5e4cc2564468); +windows_core::imp::define_interface!(IMouseWheelParameters, IMouseWheelParameters_Vtbl, 0xead0ca44_9ded_4037_8149_5e4cc2564468); #[repr(C)] pub struct IMouseWheelParameters_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -303,7 +303,7 @@ pub struct IMouseWheelParameters_Vtbl { pub PageTranslation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Point) -> windows_core::HRESULT, pub SetPageTranslation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Point) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPointerPoint, IPointerPoint_Vtbl, 0xe995317d_7296_42d9_8233_c5be73b74a4a); +windows_core::imp::define_interface!(IPointerPoint, IPointerPoint_Vtbl, 0xe995317d_7296_42d9_8233_c5be73b74a4a); #[repr(C)] pub struct IPointerPoint_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -319,7 +319,7 @@ pub struct IPointerPoint_Vtbl { pub IsInContact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub Properties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPointerPointProperties, IPointerPointProperties_Vtbl, 0xc79d8a4b_c163_4ee7_803f_67ce79f9972d); +windows_core::imp::define_interface!(IPointerPointProperties, IPointerPointProperties_Vtbl, 0xc79d8a4b_c163_4ee7_803f_67ce79f9972d); #[repr(C)] pub struct IPointerPointProperties_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -348,13 +348,13 @@ pub struct IPointerPointProperties_Vtbl { pub HasUsage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut bool) -> windows_core::HRESULT, pub GetUsageValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPointerPointProperties2, IPointerPointProperties2_Vtbl, 0x22c3433a_c83b_41c0_a296_5e232d64d6af); +windows_core::imp::define_interface!(IPointerPointProperties2, IPointerPointProperties2_Vtbl, 0x22c3433a_c83b_41c0_a296_5e232d64d6af); #[repr(C)] pub struct IPointerPointProperties2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ZDistance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPointerPointStatics, IPointerPointStatics_Vtbl, 0xa506638d_2a1a_413e_bc75_9f38381cc069); +windows_core::imp::define_interface!(IPointerPointStatics, IPointerPointStatics_Vtbl, 0xa506638d_2a1a_413e_bc75_9f38381cc069); #[repr(C)] pub struct IPointerPointStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -369,7 +369,7 @@ pub struct IPointerPointStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetIntermediatePointsTransformed: usize, } -windows_core::imp::com_interface!(IPointerPointTransform, IPointerPointTransform_Vtbl, 0x4d5fe14f_b87c_4028_bc9c_59e9947fb056); +windows_core::imp::define_interface!(IPointerPointTransform, IPointerPointTransform_Vtbl, 0x4d5fe14f_b87c_4028_bc9c_59e9947fb056); windows_core::imp::interface_hierarchy!(IPointerPointTransform, windows_core::IUnknown, windows_core::IInspectable); impl IPointerPointTransform { pub fn Inverse(&self) -> windows_core::Result { @@ -404,7 +404,7 @@ pub struct IPointerPointTransform_Vtbl { pub TryTransform: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Point, *mut super::super::Foundation::Point, *mut bool) -> windows_core::HRESULT, pub TransformBounds: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Rect, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPointerVisualizationSettings, IPointerVisualizationSettings_Vtbl, 0x4d1e6461_84f7_499d_bd91_2a36e2b7aaa2); +windows_core::imp::define_interface!(IPointerVisualizationSettings, IPointerVisualizationSettings_Vtbl, 0x4d1e6461_84f7_499d_bd91_2a36e2b7aaa2); #[repr(C)] pub struct IPointerVisualizationSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -413,13 +413,13 @@ pub struct IPointerVisualizationSettings_Vtbl { pub SetIsBarrelButtonFeedbackEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsBarrelButtonFeedbackEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPointerVisualizationSettingsStatics, IPointerVisualizationSettingsStatics_Vtbl, 0x68870edb_165b_4214_b4f3_584eca8c8a69); +windows_core::imp::define_interface!(IPointerVisualizationSettingsStatics, IPointerVisualizationSettingsStatics_Vtbl, 0x68870edb_165b_4214_b4f3_584eca8c8a69); #[repr(C)] pub struct IPointerVisualizationSettingsStatics_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, } -windows_core::imp::com_interface!(IRadialController, IRadialController_Vtbl, 0x3055d1c8_df51_43d4_b23b_0e1037467a09); +windows_core::imp::define_interface!(IRadialController, IRadialController_Vtbl, 0x3055d1c8_df51_43d4_b23b_0e1037467a09); #[repr(C)] pub struct IRadialController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -443,7 +443,7 @@ pub struct IRadialController_Vtbl { pub ControlAcquired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveControlAcquired: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialController2, IRadialController2_Vtbl, 0x3d577eff_4cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialController2, IRadialController2_Vtbl, 0x3d577eff_4cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialController2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -454,13 +454,13 @@ pub struct IRadialController2_Vtbl { pub ButtonReleased: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveButtonReleased: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerButtonClickedEventArgs, IRadialControllerButtonClickedEventArgs_Vtbl, 0x206aa438_e651_11e5_bf62_2c27d7404e85); +windows_core::imp::define_interface!(IRadialControllerButtonClickedEventArgs, IRadialControllerButtonClickedEventArgs_Vtbl, 0x206aa438_e651_11e5_bf62_2c27d7404e85); #[repr(C)] pub struct IRadialControllerButtonClickedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerButtonClickedEventArgs2, IRadialControllerButtonClickedEventArgs2_Vtbl, 0x3d577ef3_3cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerButtonClickedEventArgs2, IRadialControllerButtonClickedEventArgs2_Vtbl, 0x3d577ef3_3cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerButtonClickedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -469,7 +469,7 @@ pub struct IRadialControllerButtonClickedEventArgs2_Vtbl { #[cfg(not(feature = "Devices_Haptics"))] SimpleHapticsController: usize, } -windows_core::imp::com_interface!(IRadialControllerButtonHoldingEventArgs, IRadialControllerButtonHoldingEventArgs_Vtbl, 0x3d577eee_3cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerButtonHoldingEventArgs, IRadialControllerButtonHoldingEventArgs_Vtbl, 0x3d577eee_3cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerButtonHoldingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -479,7 +479,7 @@ pub struct IRadialControllerButtonHoldingEventArgs_Vtbl { #[cfg(not(feature = "Devices_Haptics"))] SimpleHapticsController: usize, } -windows_core::imp::com_interface!(IRadialControllerButtonPressedEventArgs, IRadialControllerButtonPressedEventArgs_Vtbl, 0x3d577eed_4cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerButtonPressedEventArgs, IRadialControllerButtonPressedEventArgs_Vtbl, 0x3d577eed_4cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerButtonPressedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -489,7 +489,7 @@ pub struct IRadialControllerButtonPressedEventArgs_Vtbl { #[cfg(not(feature = "Devices_Haptics"))] SimpleHapticsController: usize, } -windows_core::imp::com_interface!(IRadialControllerButtonReleasedEventArgs, IRadialControllerButtonReleasedEventArgs_Vtbl, 0x3d577eef_3cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerButtonReleasedEventArgs, IRadialControllerButtonReleasedEventArgs_Vtbl, 0x3d577eef_3cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerButtonReleasedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -499,7 +499,7 @@ pub struct IRadialControllerButtonReleasedEventArgs_Vtbl { #[cfg(not(feature = "Devices_Haptics"))] SimpleHapticsController: usize, } -windows_core::imp::com_interface!(IRadialControllerConfiguration, IRadialControllerConfiguration_Vtbl, 0xa6b79ecb_6a52_4430_910c_56370a9d6b42); +windows_core::imp::define_interface!(IRadialControllerConfiguration, IRadialControllerConfiguration_Vtbl, 0xa6b79ecb_6a52_4430_910c_56370a9d6b42); #[repr(C)] pub struct IRadialControllerConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -510,7 +510,7 @@ pub struct IRadialControllerConfiguration_Vtbl { pub ResetToDefaultMenuItems: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub TrySelectDefaultMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, RadialControllerSystemMenuItemKind, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerConfiguration2, IRadialControllerConfiguration2_Vtbl, 0x3d577ef7_3cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerConfiguration2, IRadialControllerConfiguration2_Vtbl, 0x3d577ef7_3cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerConfiguration2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -519,13 +519,13 @@ pub struct IRadialControllerConfiguration2_Vtbl { pub SetIsMenuSuppressed: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsMenuSuppressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerConfigurationStatics, IRadialControllerConfigurationStatics_Vtbl, 0x79b6b0e5_069a_4486_a99d_8db772b9642f); +windows_core::imp::define_interface!(IRadialControllerConfigurationStatics, IRadialControllerConfigurationStatics_Vtbl, 0x79b6b0e5_069a_4486_a99d_8db772b9642f); #[repr(C)] pub struct IRadialControllerConfigurationStatics_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, } -windows_core::imp::com_interface!(IRadialControllerConfigurationStatics2, IRadialControllerConfigurationStatics2_Vtbl, 0x53e08b17_e205_48d3_9caf_80ff47c4d7c7); +windows_core::imp::define_interface!(IRadialControllerConfigurationStatics2, IRadialControllerConfigurationStatics2_Vtbl, 0x53e08b17_e205_48d3_9caf_80ff47c4d7c7); #[repr(C)] pub struct IRadialControllerConfigurationStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -534,13 +534,13 @@ pub struct IRadialControllerConfigurationStatics2_Vtbl { pub SetIsAppControllerEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsAppControllerEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerControlAcquiredEventArgs, IRadialControllerControlAcquiredEventArgs_Vtbl, 0x206aa439_e651_11e5_bf62_2c27d7404e85); +windows_core::imp::define_interface!(IRadialControllerControlAcquiredEventArgs, IRadialControllerControlAcquiredEventArgs_Vtbl, 0x206aa439_e651_11e5_bf62_2c27d7404e85); #[repr(C)] pub struct IRadialControllerControlAcquiredEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerControlAcquiredEventArgs2, IRadialControllerControlAcquiredEventArgs2_Vtbl, 0x3d577ef4_3cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerControlAcquiredEventArgs2, IRadialControllerControlAcquiredEventArgs2_Vtbl, 0x3d577ef4_3cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerControlAcquiredEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -550,7 +550,7 @@ pub struct IRadialControllerControlAcquiredEventArgs2_Vtbl { #[cfg(not(feature = "Devices_Haptics"))] SimpleHapticsController: usize, } -windows_core::imp::com_interface!(IRadialControllerMenu, IRadialControllerMenu_Vtbl, 0x8506b35d_f640_4412_aba0_bad077e5ea8a); +windows_core::imp::define_interface!(IRadialControllerMenu, IRadialControllerMenu_Vtbl, 0x8506b35d_f640_4412_aba0_bad077e5ea8a); #[repr(C)] pub struct IRadialControllerMenu_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -564,7 +564,7 @@ pub struct IRadialControllerMenu_Vtbl { pub SelectMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub TrySelectPreviouslySelectedMenuItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerMenuItem, IRadialControllerMenuItem_Vtbl, 0xc80fc98d_ad0b_4c9c_8f2f_136a2373a6ba); +windows_core::imp::define_interface!(IRadialControllerMenuItem, IRadialControllerMenuItem_Vtbl, 0xc80fc98d_ad0b_4c9c_8f2f_136a2373a6ba); #[repr(C)] pub struct IRadialControllerMenuItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -574,7 +574,7 @@ pub struct IRadialControllerMenuItem_Vtbl { pub Invoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveInvoked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerMenuItemStatics, IRadialControllerMenuItemStatics_Vtbl, 0x249e0887_d842_4524_9df8_e0d647edc887); +windows_core::imp::define_interface!(IRadialControllerMenuItemStatics, IRadialControllerMenuItemStatics_Vtbl, 0x249e0887_d842_4524_9df8_e0d647edc887); #[repr(C)] pub struct IRadialControllerMenuItemStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -584,21 +584,21 @@ pub struct IRadialControllerMenuItemStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IRadialControllerMenuItemStatics2, IRadialControllerMenuItemStatics2_Vtbl, 0x0cbb70be_7e3e_48bd_be04_2c7fcaa9c1ff); +windows_core::imp::define_interface!(IRadialControllerMenuItemStatics2, IRadialControllerMenuItemStatics2_Vtbl, 0x0cbb70be_7e3e_48bd_be04_2c7fcaa9c1ff); #[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, } -windows_core::imp::com_interface!(IRadialControllerRotationChangedEventArgs, IRadialControllerRotationChangedEventArgs_Vtbl, 0x206aa435_e651_11e5_bf62_2c27d7404e85); +windows_core::imp::define_interface!(IRadialControllerRotationChangedEventArgs, IRadialControllerRotationChangedEventArgs_Vtbl, 0x206aa435_e651_11e5_bf62_2c27d7404e85); #[repr(C)] pub struct IRadialControllerRotationChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RotationDeltaInDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerRotationChangedEventArgs2, IRadialControllerRotationChangedEventArgs2_Vtbl, 0x3d577eec_4cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerRotationChangedEventArgs2, IRadialControllerRotationChangedEventArgs2_Vtbl, 0x3d577eec_4cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerRotationChangedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -608,20 +608,20 @@ pub struct IRadialControllerRotationChangedEventArgs2_Vtbl { #[cfg(not(feature = "Devices_Haptics"))] SimpleHapticsController: usize, } -windows_core::imp::com_interface!(IRadialControllerScreenContact, IRadialControllerScreenContact_Vtbl, 0x206aa434_e651_11e5_bf62_2c27d7404e85); +windows_core::imp::define_interface!(IRadialControllerScreenContact, IRadialControllerScreenContact_Vtbl, 0x206aa434_e651_11e5_bf62_2c27d7404e85); #[repr(C)] pub struct IRadialControllerScreenContact_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Bounds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Point) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerScreenContactContinuedEventArgs, IRadialControllerScreenContactContinuedEventArgs_Vtbl, 0x206aa437_e651_11e5_bf62_2c27d7404e85); +windows_core::imp::define_interface!(IRadialControllerScreenContactContinuedEventArgs, IRadialControllerScreenContactContinuedEventArgs_Vtbl, 0x206aa437_e651_11e5_bf62_2c27d7404e85); #[repr(C)] pub struct IRadialControllerScreenContactContinuedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerScreenContactContinuedEventArgs2, IRadialControllerScreenContactContinuedEventArgs2_Vtbl, 0x3d577ef1_3cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerScreenContactContinuedEventArgs2, IRadialControllerScreenContactContinuedEventArgs2_Vtbl, 0x3d577ef1_3cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerScreenContactContinuedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -631,7 +631,7 @@ pub struct IRadialControllerScreenContactContinuedEventArgs2_Vtbl { #[cfg(not(feature = "Devices_Haptics"))] SimpleHapticsController: usize, } -windows_core::imp::com_interface!(IRadialControllerScreenContactEndedEventArgs, IRadialControllerScreenContactEndedEventArgs_Vtbl, 0x3d577ef2_3cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerScreenContactEndedEventArgs, IRadialControllerScreenContactEndedEventArgs_Vtbl, 0x3d577ef2_3cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerScreenContactEndedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -641,13 +641,13 @@ pub struct IRadialControllerScreenContactEndedEventArgs_Vtbl { #[cfg(not(feature = "Devices_Haptics"))] SimpleHapticsController: usize, } -windows_core::imp::com_interface!(IRadialControllerScreenContactStartedEventArgs, IRadialControllerScreenContactStartedEventArgs_Vtbl, 0x206aa436_e651_11e5_bf62_2c27d7404e85); +windows_core::imp::define_interface!(IRadialControllerScreenContactStartedEventArgs, IRadialControllerScreenContactStartedEventArgs_Vtbl, 0x206aa436_e651_11e5_bf62_2c27d7404e85); #[repr(C)] pub struct IRadialControllerScreenContactStartedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Contact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerScreenContactStartedEventArgs2, IRadialControllerScreenContactStartedEventArgs2_Vtbl, 0x3d577ef0_3cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerScreenContactStartedEventArgs2, IRadialControllerScreenContactStartedEventArgs2_Vtbl, 0x3d577ef0_3cee_11e6_b535_001bdc06ab3b); #[repr(C)] pub struct IRadialControllerScreenContactStartedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -657,14 +657,14 @@ pub struct IRadialControllerScreenContactStartedEventArgs2_Vtbl { #[cfg(not(feature = "Devices_Haptics"))] SimpleHapticsController: usize, } -windows_core::imp::com_interface!(IRadialControllerStatics, IRadialControllerStatics_Vtbl, 0xfaded0b7_b84c_4894_87aa_8f25aa5f288b); +windows_core::imp::define_interface!(IRadialControllerStatics, IRadialControllerStatics_Vtbl, 0xfaded0b7_b84c_4894_87aa_8f25aa5f288b); #[repr(C)] pub struct IRadialControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub CreateForCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRightTappedEventArgs, IRightTappedEventArgs_Vtbl, 0x4cbf40bd_af7a_4a36_9476_b1dce141709a); +windows_core::imp::define_interface!(IRightTappedEventArgs, IRightTappedEventArgs_Vtbl, 0x4cbf40bd_af7a_4a36_9476_b1dce141709a); #[repr(C)] pub struct IRightTappedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -674,13 +674,13 @@ pub struct IRightTappedEventArgs_Vtbl { PointerDeviceType: usize, pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Point) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRightTappedEventArgs2, IRightTappedEventArgs2_Vtbl, 0x61c7b7bb_9f57_5857_a33c_c58c3dfa959e); +windows_core::imp::define_interface!(IRightTappedEventArgs2, IRightTappedEventArgs2_Vtbl, 0x61c7b7bb_9f57_5857_a33c_c58c3dfa959e); #[repr(C)] pub struct IRightTappedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ContactCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemButtonEventController, ISystemButtonEventController_Vtbl, 0x59b893a9_73bc_52b5_ba41_82511b2cb46c); +windows_core::imp::define_interface!(ISystemButtonEventController, ISystemButtonEventController_Vtbl, 0x59b893a9_73bc_52b5_ba41_82511b2cb46c); #[repr(C)] pub struct ISystemButtonEventController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -693,7 +693,7 @@ pub struct ISystemButtonEventController_Vtbl { pub SystemFunctionLockIndicatorChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSystemFunctionLockIndicatorChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemButtonEventControllerStatics, ISystemButtonEventControllerStatics_Vtbl, 0x632fb07b_20bd_5e15_af4a_00dbf2064ffa); +windows_core::imp::define_interface!(ISystemButtonEventControllerStatics, ISystemButtonEventControllerStatics_Vtbl, 0x632fb07b_20bd_5e15_af4a_00dbf2064ffa); #[repr(C)] pub struct ISystemButtonEventControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -702,7 +702,7 @@ pub struct ISystemButtonEventControllerStatics_Vtbl { #[cfg(not(feature = "System"))] CreateForDispatcherQueue: usize, } -windows_core::imp::com_interface!(ISystemFunctionButtonEventArgs, ISystemFunctionButtonEventArgs_Vtbl, 0x4833896f_80d1_5dd6_92a7_62a508ffef5a); +windows_core::imp::define_interface!(ISystemFunctionButtonEventArgs, ISystemFunctionButtonEventArgs_Vtbl, 0x4833896f_80d1_5dd6_92a7_62a508ffef5a); #[repr(C)] pub struct ISystemFunctionButtonEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -710,7 +710,7 @@ pub struct ISystemFunctionButtonEventArgs_Vtbl { pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemFunctionLockChangedEventArgs, ISystemFunctionLockChangedEventArgs_Vtbl, 0xcd040608_fcf9_585c_beab_f1d2eaf364ab); +windows_core::imp::define_interface!(ISystemFunctionLockChangedEventArgs, ISystemFunctionLockChangedEventArgs_Vtbl, 0xcd040608_fcf9_585c_beab_f1d2eaf364ab); #[repr(C)] pub struct ISystemFunctionLockChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -719,7 +719,7 @@ pub struct ISystemFunctionLockChangedEventArgs_Vtbl { pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemFunctionLockIndicatorChangedEventArgs, ISystemFunctionLockIndicatorChangedEventArgs_Vtbl, 0xb212b94e_7a6f_58ae_b304_bae61d0371b9); +windows_core::imp::define_interface!(ISystemFunctionLockIndicatorChangedEventArgs, ISystemFunctionLockIndicatorChangedEventArgs_Vtbl, 0xb212b94e_7a6f_58ae_b304_bae61d0371b9); #[repr(C)] pub struct ISystemFunctionLockIndicatorChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -728,7 +728,7 @@ pub struct ISystemFunctionLockIndicatorChangedEventArgs_Vtbl { pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITappedEventArgs, ITappedEventArgs_Vtbl, 0xcfa126e4_253a_4c3c_953b_395c37aed309); +windows_core::imp::define_interface!(ITappedEventArgs, ITappedEventArgs_Vtbl, 0xcfa126e4_253a_4c3c_953b_395c37aed309); #[repr(C)] pub struct ITappedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -739,7 +739,7 @@ pub struct ITappedEventArgs_Vtbl { pub Position: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Point) -> windows_core::HRESULT, pub TapCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITappedEventArgs2, ITappedEventArgs2_Vtbl, 0x294388f2_177e_51d5_be56_ee0866fa968c); +windows_core::imp::define_interface!(ITappedEventArgs2, ITappedEventArgs2_Vtbl, 0x294388f2_177e_51d5_be56_ee0866fa968c); #[repr(C)] pub struct ITappedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 dccda2a1b4..c066bac0ac 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/Management/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IUserNotificationListener, IUserNotificationListener_Vtbl, 0x62553e41_8a06_4cef_8215_6033a5be4b03); +windows_core::imp::define_interface!(IUserNotificationListener, IUserNotificationListener_Vtbl, 0x62553e41_8a06_4cef_8215_6033a5be4b03); #[repr(C)] pub struct IUserNotificationListener_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -14,7 +14,7 @@ pub struct IUserNotificationListener_Vtbl { pub ClearNotifications: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveNotification: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserNotificationListenerStatics, IUserNotificationListenerStatics_Vtbl, 0xff6123cf_4386_4aa3_b73d_b804e5b63b23); +windows_core::imp::define_interface!(IUserNotificationListenerStatics, IUserNotificationListenerStatics_Vtbl, 0xff6123cf_4386_4aa3_b73d_b804e5b63b23); #[repr(C)] pub struct IUserNotificationListenerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/Notifications/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/Preview/mod.rs index c2db76b493..61e4b57a6a 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/Preview/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IToastOcclusionManagerPreviewStatics, IToastOcclusionManagerPreviewStatics_Vtbl, 0x507e5c83_50f9_5412_8953_b65c18cfab12); +windows_core::imp::define_interface!(IToastOcclusionManagerPreviewStatics, IToastOcclusionManagerPreviewStatics_Vtbl, 0x507e5c83_50f9_5412_8953_b65c18cfab12); #[repr(C)] pub struct IToastOcclusionManagerPreviewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs index 8114367ff4..5385b386d5 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/mod.rs @@ -2,7 +2,7 @@ pub mod Management; #[cfg(feature = "UI_Notifications_Preview")] pub mod Preview; -windows_core::imp::com_interface!(IAdaptiveNotificationContent, IAdaptiveNotificationContent_Vtbl, 0xeb0dbe66_7448_448d_9db8_d78acd2abba9); +windows_core::imp::define_interface!(IAdaptiveNotificationContent, IAdaptiveNotificationContent_Vtbl, 0xeb0dbe66_7448_448d_9db8_d78acd2abba9); windows_core::imp::interface_hierarchy!(IAdaptiveNotificationContent, windows_core::IUnknown, windows_core::IInspectable); impl IAdaptiveNotificationContent { pub fn Kind(&self) -> windows_core::Result { @@ -33,7 +33,7 @@ pub struct IAdaptiveNotificationContent_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Hints: usize, } -windows_core::imp::com_interface!(IAdaptiveNotificationText, IAdaptiveNotificationText_Vtbl, 0x46d4a3be_609a_4326_a40b_bfde872034a3); +windows_core::imp::define_interface!(IAdaptiveNotificationText, IAdaptiveNotificationText_Vtbl, 0x46d4a3be_609a_4326_a40b_bfde872034a3); #[repr(C)] pub struct IAdaptiveNotificationText_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -42,7 +42,7 @@ pub struct IAdaptiveNotificationText_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, } -windows_core::imp::com_interface!(IBadgeNotification, IBadgeNotification_Vtbl, 0x075cb4ca_d08a_4e2f_9233_7e289c1f7722); +windows_core::imp::define_interface!(IBadgeNotification, IBadgeNotification_Vtbl, 0x075cb4ca_d08a_4e2f_9233_7e289c1f7722); #[repr(C)] pub struct IBadgeNotification_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,7 +53,7 @@ pub struct IBadgeNotification_Vtbl { 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, } -windows_core::imp::com_interface!(IBadgeNotificationFactory, IBadgeNotificationFactory_Vtbl, 0xedf255ce_0618_4d59_948a_5a61040c52f9); +windows_core::imp::define_interface!(IBadgeNotificationFactory, IBadgeNotificationFactory_Vtbl, 0xedf255ce_0618_4d59_948a_5a61040c52f9); #[repr(C)] pub struct IBadgeNotificationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -62,7 +62,7 @@ pub struct IBadgeNotificationFactory_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] CreateBadgeNotification: usize, } -windows_core::imp::com_interface!(IBadgeUpdateManagerForUser, IBadgeUpdateManagerForUser_Vtbl, 0x996b21bc_0386_44e5_ba8d_0c1077a62e92); +windows_core::imp::define_interface!(IBadgeUpdateManagerForUser, IBadgeUpdateManagerForUser_Vtbl, 0x996b21bc_0386_44e5_ba8d_0c1077a62e92); #[repr(C)] pub struct IBadgeUpdateManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -74,7 +74,7 @@ pub struct IBadgeUpdateManagerForUser_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IBadgeUpdateManagerStatics, IBadgeUpdateManagerStatics_Vtbl, 0x33400faa_6dd5_4105_aebc_9b50fca492da); +windows_core::imp::define_interface!(IBadgeUpdateManagerStatics, IBadgeUpdateManagerStatics_Vtbl, 0x33400faa_6dd5_4105_aebc_9b50fca492da); #[repr(C)] pub struct IBadgeUpdateManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -86,7 +86,7 @@ pub struct IBadgeUpdateManagerStatics_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] GetTemplateContent: usize, } -windows_core::imp::com_interface!(IBadgeUpdateManagerStatics2, IBadgeUpdateManagerStatics2_Vtbl, 0x979a35ce_f940_48bf_94e8_ca244d400b41); +windows_core::imp::define_interface!(IBadgeUpdateManagerStatics2, IBadgeUpdateManagerStatics2_Vtbl, 0x979a35ce_f940_48bf_94e8_ca244d400b41); #[repr(C)] pub struct IBadgeUpdateManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -95,7 +95,7 @@ pub struct IBadgeUpdateManagerStatics2_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(IBadgeUpdater, IBadgeUpdater_Vtbl, 0xb5fa1fd4_7562_4f6c_bfa3_1b6ed2e57f2f); +windows_core::imp::define_interface!(IBadgeUpdater, IBadgeUpdater_Vtbl, 0xb5fa1fd4_7562_4f6c_bfa3_1b6ed2e57f2f); #[repr(C)] pub struct IBadgeUpdater_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -105,7 +105,7 @@ pub struct IBadgeUpdater_Vtbl { pub StartPeriodicUpdateAtTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::DateTime, PeriodicUpdateRecurrence) -> windows_core::HRESULT, pub StopPeriodicUpdate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownAdaptiveNotificationHintsStatics, IKnownAdaptiveNotificationHintsStatics_Vtbl, 0x06206598_d496_497d_8692_4f7d7c2770df); +windows_core::imp::define_interface!(IKnownAdaptiveNotificationHintsStatics, IKnownAdaptiveNotificationHintsStatics_Vtbl, 0x06206598_d496_497d_8692_4f7d7c2770df); #[repr(C)] pub struct IKnownAdaptiveNotificationHintsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -116,7 +116,7 @@ pub struct IKnownAdaptiveNotificationHintsStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IKnownAdaptiveNotificationTextStylesStatics, IKnownAdaptiveNotificationTextStylesStatics_Vtbl, 0x202192d7_8996_45aa_8ba1_d461d72c2a1b); +windows_core::imp::define_interface!(IKnownAdaptiveNotificationTextStylesStatics, IKnownAdaptiveNotificationTextStylesStatics_Vtbl, 0x202192d7_8996_45aa_8ba1_d461d72c2a1b); #[repr(C)] pub struct IKnownAdaptiveNotificationTextStylesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -140,13 +140,13 @@ pub struct IKnownAdaptiveNotificationTextStylesStatics_Vtbl { 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, } -windows_core::imp::com_interface!(IKnownNotificationBindingsStatics, IKnownNotificationBindingsStatics_Vtbl, 0x79427bae_a8b7_4d58_89ea_76a7b7bccded); +windows_core::imp::define_interface!(IKnownNotificationBindingsStatics, IKnownNotificationBindingsStatics_Vtbl, 0x79427bae_a8b7_4d58_89ea_76a7b7bccded); #[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, } -windows_core::imp::com_interface!(INotification, INotification_Vtbl, 0x108037fe_eb76_4f82_97bc_da07530a2e20); +windows_core::imp::define_interface!(INotification, INotification_Vtbl, 0x108037fe_eb76_4f82_97bc_da07530a2e20); #[repr(C)] pub struct INotification_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -155,7 +155,7 @@ pub struct INotification_Vtbl { pub Visual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetVisual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INotificationBinding, INotificationBinding_Vtbl, 0xf29e4b85_0370_4ad3_b4ea_da9e35e7eabf); +windows_core::imp::define_interface!(INotificationBinding, INotificationBinding_Vtbl, 0xf29e4b85_0370_4ad3_b4ea_da9e35e7eabf); #[repr(C)] pub struct INotificationBinding_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -172,7 +172,7 @@ pub struct INotificationBinding_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetTextElements: usize, } -windows_core::imp::com_interface!(INotificationData, INotificationData_Vtbl, 0x9ffd2312_9d6a_4aaf_b6ac_ff17f0c1f280); +windows_core::imp::define_interface!(INotificationData, INotificationData_Vtbl, 0x9ffd2312_9d6a_4aaf_b6ac_ff17f0c1f280); #[repr(C)] pub struct INotificationData_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -183,7 +183,7 @@ pub struct INotificationData_Vtbl { pub SequenceNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetSequenceNumber: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INotificationDataFactory, INotificationDataFactory_Vtbl, 0x23c1e33a_1c10_46fb_8040_dec384621cf8); +windows_core::imp::define_interface!(INotificationDataFactory, INotificationDataFactory_Vtbl, 0x23c1e33a_1c10_46fb_8040_dec384621cf8); #[repr(C)] pub struct INotificationDataFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -196,7 +196,7 @@ pub struct INotificationDataFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] CreateNotificationDataWithValues: usize, } -windows_core::imp::com_interface!(INotificationVisual, INotificationVisual_Vtbl, 0x68835b8e_aa56_4e11_86d3_5f9a6957bc5b); +windows_core::imp::define_interface!(INotificationVisual, INotificationVisual_Vtbl, 0x68835b8e_aa56_4e11_86d3_5f9a6957bc5b); #[repr(C)] pub struct INotificationVisual_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -208,7 +208,7 @@ pub struct INotificationVisual_Vtbl { 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, } -windows_core::imp::com_interface!(IScheduledTileNotification, IScheduledTileNotification_Vtbl, 0x0abca6d5_99dc_4c78_a11c_c9e7f86d7ef7); +windows_core::imp::define_interface!(IScheduledTileNotification, IScheduledTileNotification_Vtbl, 0x0abca6d5_99dc_4c78_a11c_c9e7f86d7ef7); #[repr(C)] pub struct IScheduledTileNotification_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -224,7 +224,7 @@ pub struct IScheduledTileNotification_Vtbl { 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, } -windows_core::imp::com_interface!(IScheduledTileNotificationFactory, IScheduledTileNotificationFactory_Vtbl, 0x3383138a_98c0_4c3b_bbd6_4a633c7cfc29); +windows_core::imp::define_interface!(IScheduledTileNotificationFactory, IScheduledTileNotificationFactory_Vtbl, 0x3383138a_98c0_4c3b_bbd6_4a633c7cfc29); #[repr(C)] pub struct IScheduledTileNotificationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -233,7 +233,7 @@ pub struct IScheduledTileNotificationFactory_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] CreateScheduledTileNotification: usize, } -windows_core::imp::com_interface!(IScheduledToastNotification, IScheduledToastNotification_Vtbl, 0x79f577f8_0de7_48cd_9740_9b370490c838); +windows_core::imp::define_interface!(IScheduledToastNotification, IScheduledToastNotification_Vtbl, 0x79f577f8_0de7_48cd_9740_9b370490c838); #[repr(C)] pub struct IScheduledToastNotification_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -247,7 +247,7 @@ pub struct IScheduledToastNotification_Vtbl { 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, } -windows_core::imp::com_interface!(IScheduledToastNotification2, IScheduledToastNotification2_Vtbl, 0xa66ea09c_31b4_43b0_b5dd_7a40e85363b1); +windows_core::imp::define_interface!(IScheduledToastNotification2, IScheduledToastNotification2_Vtbl, 0xa66ea09c_31b4_43b0_b5dd_7a40e85363b1); #[repr(C)] pub struct IScheduledToastNotification2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -258,7 +258,7 @@ pub struct IScheduledToastNotification2_Vtbl { 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, } -windows_core::imp::com_interface!(IScheduledToastNotification3, IScheduledToastNotification3_Vtbl, 0x98429e8b_bd32_4a3b_9d15_22aea49462a1); +windows_core::imp::define_interface!(IScheduledToastNotification3, IScheduledToastNotification3_Vtbl, 0x98429e8b_bd32_4a3b_9d15_22aea49462a1); #[repr(C)] pub struct IScheduledToastNotification3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -267,14 +267,14 @@ pub struct IScheduledToastNotification3_Vtbl { 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, } -windows_core::imp::com_interface!(IScheduledToastNotification4, IScheduledToastNotification4_Vtbl, 0x1d4761fd_bdef_4e4a_96be_0101369b58d2); +windows_core::imp::define_interface!(IScheduledToastNotification4, IScheduledToastNotification4_Vtbl, 0x1d4761fd_bdef_4e4a_96be_0101369b58d2); #[repr(C)] pub struct IScheduledToastNotification4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScheduledToastNotificationFactory, IScheduledToastNotificationFactory_Vtbl, 0xe7bed191_0bb9_4189_8394_31761b476fd7); +windows_core::imp::define_interface!(IScheduledToastNotificationFactory, IScheduledToastNotificationFactory_Vtbl, 0xe7bed191_0bb9_4189_8394_31761b476fd7); #[repr(C)] pub struct IScheduledToastNotificationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -287,7 +287,7 @@ pub struct IScheduledToastNotificationFactory_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] CreateScheduledToastNotificationRecurring: usize, } -windows_core::imp::com_interface!(IScheduledToastNotificationShowingEventArgs, IScheduledToastNotificationShowingEventArgs_Vtbl, 0x6173f6b4_412a_5e2c_a6ed_a0209aef9a09); +windows_core::imp::define_interface!(IScheduledToastNotificationShowingEventArgs, IScheduledToastNotificationShowingEventArgs_Vtbl, 0x6173f6b4_412a_5e2c_a6ed_a0209aef9a09); #[repr(C)] pub struct IScheduledToastNotificationShowingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -296,13 +296,13 @@ pub struct IScheduledToastNotificationShowingEventArgs_Vtbl { pub ScheduledToastNotification: unsafe extern "system" fn(*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::com_interface!(IShownTileNotification, IShownTileNotification_Vtbl, 0x342d8988_5af2_481a_a6a3_f2fdc78de88e); +windows_core::imp::define_interface!(IShownTileNotification, IShownTileNotification_Vtbl, 0x342d8988_5af2_481a_a6a3_f2fdc78de88e); #[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, } -windows_core::imp::com_interface!(ITileFlyoutNotification, ITileFlyoutNotification_Vtbl, 0x9a53b261_c70c_42be_b2f3_f42aa97d34e5); +windows_core::imp::define_interface!(ITileFlyoutNotification, ITileFlyoutNotification_Vtbl, 0x9a53b261_c70c_42be_b2f3_f42aa97d34e5); #[repr(C)] pub struct ITileFlyoutNotification_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -313,7 +313,7 @@ pub struct ITileFlyoutNotification_Vtbl { 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, } -windows_core::imp::com_interface!(ITileFlyoutNotificationFactory, ITileFlyoutNotificationFactory_Vtbl, 0xef556ff5_5226_4f2b_b278_88a35dfe569f); +windows_core::imp::define_interface!(ITileFlyoutNotificationFactory, ITileFlyoutNotificationFactory_Vtbl, 0xef556ff5_5226_4f2b_b278_88a35dfe569f); #[repr(C)] pub struct ITileFlyoutNotificationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -322,7 +322,7 @@ pub struct ITileFlyoutNotificationFactory_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] CreateTileFlyoutNotification: usize, } -windows_core::imp::com_interface!(ITileFlyoutUpdateManagerStatics, ITileFlyoutUpdateManagerStatics_Vtbl, 0x04363b0b_1ac0_4b99_88e7_ada83e953d48); +windows_core::imp::define_interface!(ITileFlyoutUpdateManagerStatics, ITileFlyoutUpdateManagerStatics_Vtbl, 0x04363b0b_1ac0_4b99_88e7_ada83e953d48); #[repr(C)] pub struct ITileFlyoutUpdateManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -334,7 +334,7 @@ pub struct ITileFlyoutUpdateManagerStatics_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] GetTemplateContent: usize, } -windows_core::imp::com_interface!(ITileFlyoutUpdater, ITileFlyoutUpdater_Vtbl, 0x8d40c76a_c465_4052_a740_5c2654c1a089); +windows_core::imp::define_interface!(ITileFlyoutUpdater, ITileFlyoutUpdater_Vtbl, 0x8d40c76a_c465_4052_a740_5c2654c1a089); #[repr(C)] pub struct ITileFlyoutUpdater_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -345,7 +345,7 @@ pub struct ITileFlyoutUpdater_Vtbl { pub StopPeriodicUpdate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Setting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NotificationSetting) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITileNotification, ITileNotification_Vtbl, 0xebaec8fa_50ec_4c18_b4d0_3af02e5540ab); +windows_core::imp::define_interface!(ITileNotification, ITileNotification_Vtbl, 0xebaec8fa_50ec_4c18_b4d0_3af02e5540ab); #[repr(C)] pub struct ITileNotification_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -358,7 +358,7 @@ pub struct ITileNotification_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, } -windows_core::imp::com_interface!(ITileNotificationFactory, ITileNotificationFactory_Vtbl, 0xc6abdd6e_4928_46c8_bdbf_81a047dea0d4); +windows_core::imp::define_interface!(ITileNotificationFactory, ITileNotificationFactory_Vtbl, 0xc6abdd6e_4928_46c8_bdbf_81a047dea0d4); #[repr(C)] pub struct ITileNotificationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -367,7 +367,7 @@ pub struct ITileNotificationFactory_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] CreateTileNotification: usize, } -windows_core::imp::com_interface!(ITileUpdateManagerForUser, ITileUpdateManagerForUser_Vtbl, 0x55141348_2ee2_4e2d_9cc1_216a20decc9f); +windows_core::imp::define_interface!(ITileUpdateManagerForUser, ITileUpdateManagerForUser_Vtbl, 0x55141348_2ee2_4e2d_9cc1_216a20decc9f); #[repr(C)] pub struct ITileUpdateManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -379,7 +379,7 @@ pub struct ITileUpdateManagerForUser_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(ITileUpdateManagerStatics, ITileUpdateManagerStatics_Vtbl, 0xda159e5d_3ea9_4986_8d84_b09d5e12276d); +windows_core::imp::define_interface!(ITileUpdateManagerStatics, ITileUpdateManagerStatics_Vtbl, 0xda159e5d_3ea9_4986_8d84_b09d5e12276d); #[repr(C)] pub struct ITileUpdateManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -391,7 +391,7 @@ pub struct ITileUpdateManagerStatics_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] GetTemplateContent: usize, } -windows_core::imp::com_interface!(ITileUpdateManagerStatics2, ITileUpdateManagerStatics2_Vtbl, 0x731c1ddc_8e14_4b7c_a34b_9d22de76c84d); +windows_core::imp::define_interface!(ITileUpdateManagerStatics2, ITileUpdateManagerStatics2_Vtbl, 0x731c1ddc_8e14_4b7c_a34b_9d22de76c84d); #[repr(C)] pub struct ITileUpdateManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -400,7 +400,7 @@ pub struct ITileUpdateManagerStatics2_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(ITileUpdater, ITileUpdater_Vtbl, 0x0942a48b_1d91_44ec_9243_c1e821c29a20); +windows_core::imp::define_interface!(ITileUpdater, ITileUpdater_Vtbl, 0x0942a48b_1d91_44ec_9243_c1e821c29a20); #[repr(C)] pub struct ITileUpdater_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -426,7 +426,7 @@ pub struct ITileUpdater_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] StartPeriodicUpdateBatchAtTime: usize, } -windows_core::imp::com_interface!(ITileUpdater2, ITileUpdater2_Vtbl, 0xa2266e12_15ee_43ed_83f5_65b352bb1a84); +windows_core::imp::define_interface!(ITileUpdater2, ITileUpdater2_Vtbl, 0xa2266e12_15ee_43ed_83f5_65b352bb1a84); #[repr(C)] pub struct ITileUpdater2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -434,13 +434,13 @@ pub struct ITileUpdater2_Vtbl { pub EnableNotificationQueueForWide310x150: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub EnableNotificationQueueForSquare310x310: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastActivatedEventArgs, IToastActivatedEventArgs_Vtbl, 0xe3bf92f3_c197_436f_8265_0625824f8dac); +windows_core::imp::define_interface!(IToastActivatedEventArgs, IToastActivatedEventArgs_Vtbl, 0xe3bf92f3_c197_436f_8265_0625824f8dac); #[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, } -windows_core::imp::com_interface!(IToastActivatedEventArgs2, IToastActivatedEventArgs2_Vtbl, 0xab7da512_cc61_568e_81be_304ac31038fa); +windows_core::imp::define_interface!(IToastActivatedEventArgs2, IToastActivatedEventArgs2_Vtbl, 0xab7da512_cc61_568e_81be_304ac31038fa); #[repr(C)] pub struct IToastActivatedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -449,7 +449,7 @@ pub struct IToastActivatedEventArgs2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] UserInput: usize, } -windows_core::imp::com_interface!(IToastCollection, IToastCollection_Vtbl, 0x0a8bc3b0_e0be_4858_bc2a_89dfe0b32863); +windows_core::imp::define_interface!(IToastCollection, IToastCollection_Vtbl, 0x0a8bc3b0_e0be_4858_bc2a_89dfe0b32863); #[repr(C)] pub struct IToastCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -461,13 +461,13 @@ pub struct IToastCollection_Vtbl { 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, } -windows_core::imp::com_interface!(IToastCollectionFactory, IToastCollectionFactory_Vtbl, 0x164dd3d7_73c4_44f7_b4ff_fb6d4bf1f4c6); +windows_core::imp::define_interface!(IToastCollectionFactory, IToastCollectionFactory_Vtbl, 0x164dd3d7_73c4_44f7_b4ff_fb6d4bf1f4c6); #[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, } -windows_core::imp::com_interface!(IToastCollectionManager, IToastCollectionManager_Vtbl, 0x2a1821fe_179d_49bc_b79d_a527920d3665); +windows_core::imp::define_interface!(IToastCollectionManager, IToastCollectionManager_Vtbl, 0x2a1821fe_179d_49bc_b79d_a527920d3665); #[repr(C)] pub struct IToastCollectionManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -485,19 +485,19 @@ pub struct IToastCollectionManager_Vtbl { User: usize, pub AppId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastDismissedEventArgs, IToastDismissedEventArgs_Vtbl, 0x3f89d935_d9cb_4538_a0f0_ffe7659938f8); +windows_core::imp::define_interface!(IToastDismissedEventArgs, IToastDismissedEventArgs_Vtbl, 0x3f89d935_d9cb_4538_a0f0_ffe7659938f8); #[repr(C)] pub struct IToastDismissedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ToastDismissalReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastFailedEventArgs, IToastFailedEventArgs_Vtbl, 0x35176862_cfd4_44f8_ad64_f500fd896c3b); +windows_core::imp::define_interface!(IToastFailedEventArgs, IToastFailedEventArgs_Vtbl, 0x35176862_cfd4_44f8_ad64_f500fd896c3b); #[repr(C)] pub struct IToastFailedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastNotification, IToastNotification_Vtbl, 0x997e2675_059e_4e60_8b06_1760917c8b80); +windows_core::imp::define_interface!(IToastNotification, IToastNotification_Vtbl, 0x997e2675_059e_4e60_8b06_1760917c8b80); #[repr(C)] pub struct IToastNotification_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -514,7 +514,7 @@ pub struct IToastNotification_Vtbl { pub Failed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveFailed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastNotification2, IToastNotification2_Vtbl, 0x9dfb9fd1_143a_490e_90bf_b9fba7132de7); +windows_core::imp::define_interface!(IToastNotification2, IToastNotification2_Vtbl, 0x9dfb9fd1_143a_490e_90bf_b9fba7132de7); #[repr(C)] pub struct IToastNotification2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -525,7 +525,7 @@ pub struct IToastNotification2_Vtbl { 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, } -windows_core::imp::com_interface!(IToastNotification3, IToastNotification3_Vtbl, 0x31e8aed8_8141_4f99_bc0a_c4ed21297d77); +windows_core::imp::define_interface!(IToastNotification3, IToastNotification3_Vtbl, 0x31e8aed8_8141_4f99_bc0a_c4ed21297d77); #[repr(C)] pub struct IToastNotification3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -534,7 +534,7 @@ pub struct IToastNotification3_Vtbl { 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, } -windows_core::imp::com_interface!(IToastNotification4, IToastNotification4_Vtbl, 0x15154935_28ea_4727_88e9_c58680e2d118); +windows_core::imp::define_interface!(IToastNotification4, IToastNotification4_Vtbl, 0x15154935_28ea_4727_88e9_c58680e2d118); #[repr(C)] pub struct IToastNotification4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -543,14 +543,14 @@ pub struct IToastNotification4_Vtbl { pub Priority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ToastNotificationPriority) -> windows_core::HRESULT, pub SetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, ToastNotificationPriority) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastNotification6, IToastNotification6_Vtbl, 0x43ebfe53_89ae_5c1e_a279_3aecfe9b6f54); +windows_core::imp::define_interface!(IToastNotification6, IToastNotification6_Vtbl, 0x43ebfe53_89ae_5c1e_a279_3aecfe9b6f54); #[repr(C)] pub struct IToastNotification6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ExpiresOnReboot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetExpiresOnReboot: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastNotificationActionTriggerDetail, IToastNotificationActionTriggerDetail_Vtbl, 0x9445135a_38f3_42f6_96aa_7955b0f03da2); +windows_core::imp::define_interface!(IToastNotificationActionTriggerDetail, IToastNotificationActionTriggerDetail_Vtbl, 0x9445135a_38f3_42f6_96aa_7955b0f03da2); #[repr(C)] pub struct IToastNotificationActionTriggerDetail_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -560,7 +560,7 @@ pub struct IToastNotificationActionTriggerDetail_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] UserInput: usize, } -windows_core::imp::com_interface!(IToastNotificationFactory, IToastNotificationFactory_Vtbl, 0x04124b20_82c6_4229_b109_fd9ed4662b53); +windows_core::imp::define_interface!(IToastNotificationFactory, IToastNotificationFactory_Vtbl, 0x04124b20_82c6_4229_b109_fd9ed4662b53); #[repr(C)] pub struct IToastNotificationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -569,7 +569,7 @@ pub struct IToastNotificationFactory_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] CreateToastNotification: usize, } -windows_core::imp::com_interface!(IToastNotificationHistory, IToastNotificationHistory_Vtbl, 0x5caddc63_01d3_4c97_986f_0533483fee14); +windows_core::imp::define_interface!(IToastNotificationHistory, IToastNotificationHistory_Vtbl, 0x5caddc63_01d3_4c97_986f_0533483fee14); #[repr(C)] pub struct IToastNotificationHistory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -581,7 +581,7 @@ pub struct IToastNotificationHistory_Vtbl { 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, } -windows_core::imp::com_interface!(IToastNotificationHistory2, IToastNotificationHistory2_Vtbl, 0x3bc3d253_2f31_4092_9129_8ad5abf067da); +windows_core::imp::define_interface!(IToastNotificationHistory2, IToastNotificationHistory2_Vtbl, 0x3bc3d253_2f31_4092_9129_8ad5abf067da); #[repr(C)] pub struct IToastNotificationHistory2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -594,19 +594,19 @@ pub struct IToastNotificationHistory2_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetHistoryWithId: usize, } -windows_core::imp::com_interface!(IToastNotificationHistoryChangedTriggerDetail, IToastNotificationHistoryChangedTriggerDetail_Vtbl, 0xdb037ffa_0068_412c_9c83_267c37f65670); +windows_core::imp::define_interface!(IToastNotificationHistoryChangedTriggerDetail, IToastNotificationHistoryChangedTriggerDetail_Vtbl, 0xdb037ffa_0068_412c_9c83_267c37f65670); #[repr(C)] pub struct IToastNotificationHistoryChangedTriggerDetail_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ChangeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ToastHistoryChangedType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastNotificationHistoryChangedTriggerDetail2, IToastNotificationHistoryChangedTriggerDetail2_Vtbl, 0x0b36e982_c871_49fb_babb_25bdbc4cc45b); +windows_core::imp::define_interface!(IToastNotificationHistoryChangedTriggerDetail2, IToastNotificationHistoryChangedTriggerDetail2_Vtbl, 0x0b36e982_c871_49fb_babb_25bdbc4cc45b); #[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, } -windows_core::imp::com_interface!(IToastNotificationManagerForUser, IToastNotificationManagerForUser_Vtbl, 0x79ab57f6_43fe_487b_8a7f_99567200ae94); +windows_core::imp::define_interface!(IToastNotificationManagerForUser, IToastNotificationManagerForUser_Vtbl, 0x79ab57f6_43fe_487b_8a7f_99567200ae94); #[repr(C)] pub struct IToastNotificationManagerForUser_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -618,7 +618,7 @@ pub struct IToastNotificationManagerForUser_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IToastNotificationManagerForUser2, IToastNotificationManagerForUser2_Vtbl, 0x679c64b7_81ab_42c2_8819_c958767753f4); +windows_core::imp::define_interface!(IToastNotificationManagerForUser2, IToastNotificationManagerForUser2_Vtbl, 0x679c64b7_81ab_42c2_8819_c958767753f4); #[repr(C)] pub struct IToastNotificationManagerForUser2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -627,7 +627,7 @@ pub struct IToastNotificationManagerForUser2_Vtbl { 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, } -windows_core::imp::com_interface!(IToastNotificationManagerForUser3, IToastNotificationManagerForUser3_Vtbl, 0x3efcb176_6cc1_56dc_973b_251f7aacb1c5); +windows_core::imp::define_interface!(IToastNotificationManagerForUser3, IToastNotificationManagerForUser3_Vtbl, 0x3efcb176_6cc1_56dc_973b_251f7aacb1c5); #[repr(C)] pub struct IToastNotificationManagerForUser3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -635,7 +635,7 @@ pub struct IToastNotificationManagerForUser3_Vtbl { pub NotificationModeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveNotificationModeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastNotificationManagerStatics, IToastNotificationManagerStatics_Vtbl, 0x50ac103f_d235_4598_bbef_98fe4d1a3ad4); +windows_core::imp::define_interface!(IToastNotificationManagerStatics, IToastNotificationManagerStatics_Vtbl, 0x50ac103f_d235_4598_bbef_98fe4d1a3ad4); #[repr(C)] pub struct IToastNotificationManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -646,13 +646,13 @@ pub struct IToastNotificationManagerStatics_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] GetTemplateContent: usize, } -windows_core::imp::com_interface!(IToastNotificationManagerStatics2, IToastNotificationManagerStatics2_Vtbl, 0x7ab93c52_0e48_4750_ba9d_1a4113981847); +windows_core::imp::define_interface!(IToastNotificationManagerStatics2, IToastNotificationManagerStatics2_Vtbl, 0x7ab93c52_0e48_4750_ba9d_1a4113981847); #[repr(C)] pub struct IToastNotificationManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub History: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastNotificationManagerStatics4, IToastNotificationManagerStatics4_Vtbl, 0x8f993fd3_e516_45fb_8130_398e93fa52c3); +windows_core::imp::define_interface!(IToastNotificationManagerStatics4, IToastNotificationManagerStatics4_Vtbl, 0x8f993fd3_e516_45fb_8130_398e93fa52c3); #[repr(C)] pub struct IToastNotificationManagerStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -662,13 +662,13 @@ pub struct IToastNotificationManagerStatics4_Vtbl { GetForUser: usize, pub ConfigureNotificationMirroring: unsafe extern "system" fn(*mut core::ffi::c_void, NotificationMirroring) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToastNotificationManagerStatics5, IToastNotificationManagerStatics5_Vtbl, 0xd6f5f569_d40d_407c_8989_88cab42cfd14); +windows_core::imp::define_interface!(IToastNotificationManagerStatics5, IToastNotificationManagerStatics5_Vtbl, 0xd6f5f569_d40d_407c_8989_88cab42cfd14); #[repr(C)] pub struct IToastNotificationManagerStatics5_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, } -windows_core::imp::com_interface!(IToastNotifier, IToastNotifier_Vtbl, 0x75927b93_03f3_41ec_91d3_6e5bac1b38e7); +windows_core::imp::define_interface!(IToastNotifier, IToastNotifier_Vtbl, 0x75927b93_03f3_41ec_91d3_6e5bac1b38e7); #[repr(C)] pub struct IToastNotifier_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -682,21 +682,21 @@ pub struct IToastNotifier_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetScheduledToastNotifications: usize, } -windows_core::imp::com_interface!(IToastNotifier2, IToastNotifier2_Vtbl, 0x354389c6_7c01_4bd5_9c20_604340cd2b74); +windows_core::imp::define_interface!(IToastNotifier2, IToastNotifier2_Vtbl, 0x354389c6_7c01_4bd5_9c20_604340cd2b74); #[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, } -windows_core::imp::com_interface!(IToastNotifier3, IToastNotifier3_Vtbl, 0xae75a04a_3b0c_51ad_b7e8_b08ab6052549); +windows_core::imp::define_interface!(IToastNotifier3, IToastNotifier3_Vtbl, 0xae75a04a_3b0c_51ad_b7e8_b08ab6052549); #[repr(C)] pub struct IToastNotifier3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ScheduledToastNotificationShowing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveScheduledToastNotificationShowing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserNotification, IUserNotification_Vtbl, 0xadf7e52f_4e53_42d5_9c33_eb5ea515b23e); +windows_core::imp::define_interface!(IUserNotification, IUserNotification_Vtbl, 0xadf7e52f_4e53_42d5_9c33_eb5ea515b23e); #[repr(C)] pub struct IUserNotification_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -708,7 +708,7 @@ pub struct IUserNotification_Vtbl { pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CreationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::DateTime) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserNotificationChangedEventArgs, IUserNotificationChangedEventArgs_Vtbl, 0xb6bd6839_79cf_4b25_82c0_0ce1eef81f8c); +windows_core::imp::define_interface!(IUserNotificationChangedEventArgs, IUserNotificationChangedEventArgs_Vtbl, 0xb6bd6839_79cf_4b25_82c0_0ce1eef81f8c); #[repr(C)] pub struct IUserNotificationChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/Popups/mod.rs b/crates/libs/windows/src/Windows/UI/Popups/mod.rs index 3a593020e6..9971c9c84c 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IMessageDialog, IMessageDialog_Vtbl, 0x33f59b01_5325_43ab_9ab3_bdae440e4121); +windows_core::imp::define_interface!(IMessageDialog, IMessageDialog_Vtbl, 0x33f59b01_5325_43ab_9ab3_bdae440e4121); #[repr(C)] pub struct IMessageDialog_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,14 +18,14 @@ pub struct IMessageDialog_Vtbl { 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, } -windows_core::imp::com_interface!(IMessageDialogFactory, IMessageDialogFactory_Vtbl, 0x2d161777_a66f_4ea5_bb87_793ffa4941f2); +windows_core::imp::define_interface!(IMessageDialogFactory, IMessageDialogFactory_Vtbl, 0x2d161777_a66f_4ea5_bb87_793ffa4941f2); #[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, } -windows_core::imp::com_interface!(IPopupMenu, IPopupMenu_Vtbl, 0x4e9bc6dc_880d_47fc_a0a1_72b639e62559); +windows_core::imp::define_interface!(IPopupMenu, IPopupMenu_Vtbl, 0x4e9bc6dc_880d_47fc_a0a1_72b639e62559); #[repr(C)] pub struct IPopupMenu_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,7 +37,7 @@ pub struct IPopupMenu_Vtbl { pub ShowAsyncWithRect: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Rect, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowAsyncWithRectAndPlacement: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Rect, Placement, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUICommand, IUICommand_Vtbl, 0x4ff93a75_4145_47ff_ac7f_dff1c1fa5b0f); +windows_core::imp::define_interface!(IUICommand, IUICommand_Vtbl, 0x4ff93a75_4145_47ff_ac7f_dff1c1fa5b0f); windows_core::imp::interface_hierarchy!(IUICommand, windows_core::IUnknown, windows_core::IInspectable); impl IUICommand { pub fn Label(&self) -> windows_core::Result { @@ -93,7 +93,7 @@ pub struct IUICommand_Vtbl { pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUICommandFactory, IUICommandFactory_Vtbl, 0xa21a8189_26b0_4676_ae94_54041bc125e8); +windows_core::imp::define_interface!(IUICommandFactory, IUICommandFactory_Vtbl, 0xa21a8189_26b0_4676_ae94_54041bc125e8); #[repr(C)] pub struct IUICommandFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -488,7 +488,7 @@ impl core::fmt::Debug for Placement { impl windows_core::RuntimeType for Placement { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.UI.Popups.Placement;i4)"); } -windows_core::imp::com_interface!(UICommandInvokedHandler, UICommandInvokedHandler_Vtbl, 0xdaf77a4f_c27a_4298_9ac6_2922c45e7da6); +windows_core::imp::define_interface!(UICommandInvokedHandler, UICommandInvokedHandler_Vtbl, 0xdaf77a4f_c27a_4298_9ac6_2922c45e7da6); impl UICommandInvokedHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = UICommandInvokedHandlerBox:: { vtable: &UICommandInvokedHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/UI/Shell/mod.rs b/crates/libs/windows/src/Windows/UI/Shell/mod.rs index 1e9a72b532..2d516dd5f0 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAdaptiveCard, IAdaptiveCard_Vtbl, 0x72d0568c_a274_41cd_82a8_989d40b9b05e); +windows_core::imp::define_interface!(IAdaptiveCard, IAdaptiveCard_Vtbl, 0x72d0568c_a274_41cd_82a8_989d40b9b05e); windows_core::imp::interface_hierarchy!(IAdaptiveCard, windows_core::IUnknown, windows_core::IInspectable); impl IAdaptiveCard { pub fn ToJson(&self) -> windows_core::Result { @@ -17,7 +17,7 @@ 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, } -windows_core::imp::com_interface!(IAdaptiveCardBuilderStatics, IAdaptiveCardBuilderStatics_Vtbl, 0x766d8f08_d3fe_4347_a0bc_b9ea9a6dc28e); +windows_core::imp::define_interface!(IAdaptiveCardBuilderStatics, IAdaptiveCardBuilderStatics_Vtbl, 0x766d8f08_d3fe_4347_a0bc_b9ea9a6dc28e); windows_core::imp::interface_hierarchy!(IAdaptiveCardBuilderStatics, windows_core::IUnknown, windows_core::IInspectable); impl IAdaptiveCardBuilderStatics { pub fn CreateAdaptiveCardFromJson(&self, value: &windows_core::HSTRING) -> windows_core::Result { @@ -36,14 +36,14 @@ 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, } -windows_core::imp::com_interface!(IFocusSession, IFocusSession_Vtbl, 0x069fbab8_0e84_5f2f_8614_9b6544326277); +windows_core::imp::define_interface!(IFocusSession, IFocusSession_Vtbl, 0x069fbab8_0e84_5f2f_8614_9b6544326277); #[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 End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFocusSessionManager, IFocusSessionManager_Vtbl, 0xe7ffbaa9_d8be_5dbf_bac6_49364842e37e); +windows_core::imp::define_interface!(IFocusSessionManager, IFocusSessionManager_Vtbl, 0xe7ffbaa9_d8be_5dbf_bac6_49364842e37e); #[repr(C)] pub struct IFocusSessionManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -55,14 +55,14 @@ pub struct IFocusSessionManager_Vtbl { pub IsFocusActiveChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveIsFocusActiveChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFocusSessionManagerStatics, IFocusSessionManagerStatics_Vtbl, 0x834df764_cb9a_5d0a_aa9f_73df4f249395); +windows_core::imp::define_interface!(IFocusSessionManagerStatics, IFocusSessionManagerStatics_Vtbl, 0x834df764_cb9a_5d0a_aa9f_73df4f249395); #[repr(C)] pub struct IFocusSessionManagerStatics_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 IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISecurityAppManager, ISecurityAppManager_Vtbl, 0x96ac500c_aed4_561d_bde8_953520343a2d); +windows_core::imp::define_interface!(ISecurityAppManager, ISecurityAppManager_Vtbl, 0x96ac500c_aed4_561d_bde8_953520343a2d); #[repr(C)] pub struct ISecurityAppManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -70,7 +70,7 @@ pub struct ISecurityAppManager_Vtbl { 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, } -windows_core::imp::com_interface!(IShareWindowCommandEventArgs, IShareWindowCommandEventArgs_Vtbl, 0x4578dc09_a523_5756_a995_e4feb991fff0); +windows_core::imp::define_interface!(IShareWindowCommandEventArgs, IShareWindowCommandEventArgs_Vtbl, 0x4578dc09_a523_5756_a995_e4feb991fff0); #[repr(C)] pub struct IShareWindowCommandEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -78,7 +78,7 @@ pub struct IShareWindowCommandEventArgs_Vtbl { pub Command: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ShareWindowCommand) -> windows_core::HRESULT, pub SetCommand: unsafe extern "system" fn(*mut core::ffi::c_void, ShareWindowCommand) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShareWindowCommandSource, IShareWindowCommandSource_Vtbl, 0xcb3b7ae3_6b9c_561e_bccc_61e68e0abfef); +windows_core::imp::define_interface!(IShareWindowCommandSource, IShareWindowCommandSource_Vtbl, 0xcb3b7ae3_6b9c_561e_bccc_61e68e0abfef); #[repr(C)] pub struct IShareWindowCommandSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -90,13 +90,13 @@ pub struct IShareWindowCommandSource_Vtbl { pub CommandInvoked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCommandInvoked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShareWindowCommandSourceStatics, IShareWindowCommandSourceStatics_Vtbl, 0xb0eb6656_9cac_517c_b6c7_8ef715084295); +windows_core::imp::define_interface!(IShareWindowCommandSourceStatics, IShareWindowCommandSourceStatics_Vtbl, 0xb0eb6656_9cac_517c_b6c7_8ef715084295); #[repr(C)] pub struct IShareWindowCommandSourceStatics_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, } -windows_core::imp::com_interface!(ITaskbarManager, ITaskbarManager_Vtbl, 0x87490a19_1ad9_49f4_b2e8_86738dc5ac40); +windows_core::imp::define_interface!(ITaskbarManager, ITaskbarManager_Vtbl, 0x87490a19_1ad9_49f4_b2e8_86738dc5ac40); #[repr(C)] pub struct ITaskbarManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -113,7 +113,7 @@ pub struct ITaskbarManager_Vtbl { #[cfg(not(feature = "ApplicationModel_Core"))] RequestPinAppListEntryAsync: usize, } -windows_core::imp::com_interface!(ITaskbarManager2, ITaskbarManager2_Vtbl, 0x79f0a06e_7b02_4911_918c_dee0bbd20ba4); +windows_core::imp::define_interface!(ITaskbarManager2, ITaskbarManager2_Vtbl, 0x79f0a06e_7b02_4911_918c_dee0bbd20ba4); #[repr(C)] pub struct ITaskbarManager2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -124,18 +124,18 @@ pub struct ITaskbarManager2_Vtbl { 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, } -windows_core::imp::com_interface!(ITaskbarManagerDesktopAppSupportStatics, ITaskbarManagerDesktopAppSupportStatics_Vtbl, 0xcdfefd63_e879_4134_b9a7_8283f05f9480); +windows_core::imp::define_interface!(ITaskbarManagerDesktopAppSupportStatics, ITaskbarManagerDesktopAppSupportStatics_Vtbl, 0xcdfefd63_e879_4134_b9a7_8283f05f9480); #[repr(C)] pub struct ITaskbarManagerDesktopAppSupportStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(ITaskbarManagerStatics, ITaskbarManagerStatics_Vtbl, 0xdb32ab74_de52_4fe6_b7b6_95ff9f8395df); +windows_core::imp::define_interface!(ITaskbarManagerStatics, ITaskbarManagerStatics_Vtbl, 0xdb32ab74_de52_4fe6_b7b6_95ff9f8395df); #[repr(C)] pub struct ITaskbarManagerStatics_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, } -windows_core::imp::com_interface!(IWindowTab, IWindowTab_Vtbl, 0x551e776a_7928_4d60_bdd9_672b5a5758eb); +windows_core::imp::define_interface!(IWindowTab, IWindowTab_Vtbl, 0x551e776a_7928_4d60_bdd9_672b5a5758eb); #[repr(C)] pub struct IWindowTab_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -151,19 +151,19 @@ pub struct IWindowTab_Vtbl { 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, } -windows_core::imp::com_interface!(IWindowTabCloseRequestedEventArgs, IWindowTabCloseRequestedEventArgs_Vtbl, 0x477282e9_eec4_5882_9889_2dd64d0f9fb6); +windows_core::imp::define_interface!(IWindowTabCloseRequestedEventArgs, IWindowTabCloseRequestedEventArgs_Vtbl, 0x477282e9_eec4_5882_9889_2dd64d0f9fb6); #[repr(C)] pub struct IWindowTabCloseRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Tab: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowTabCollection, IWindowTabCollection_Vtbl, 0xaccd0d6c_ed07_519a_8c33_17e02e7e9b0f); +windows_core::imp::define_interface!(IWindowTabCollection, IWindowTabCollection_Vtbl, 0xaccd0d6c_ed07_519a_8c33_17e02e7e9b0f); #[repr(C)] pub struct IWindowTabCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MoveTab: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowTabGroup, IWindowTabGroup_Vtbl, 0xa9c2c4fe_6cfe_449c_8b57_5756771abe56); +windows_core::imp::define_interface!(IWindowTabGroup, IWindowTabGroup_Vtbl, 0xa9c2c4fe_6cfe_449c_8b57_5756771abe56); #[repr(C)] pub struct IWindowTabGroup_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -172,12 +172,12 @@ pub struct IWindowTabGroup_Vtbl { 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, } -windows_core::imp::com_interface!(IWindowTabIcon, IWindowTabIcon_Vtbl, 0xf92f398f_3669_4d0c_a183_14ddae6f6538); +windows_core::imp::define_interface!(IWindowTabIcon, IWindowTabIcon_Vtbl, 0xf92f398f_3669_4d0c_a183_14ddae6f6538); #[repr(C)] pub struct IWindowTabIcon_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IWindowTabIconStatics, IWindowTabIconStatics_Vtbl, 0x2e18d95e_2cbb_4084_af0c_36ee1c2d54b1); +windows_core::imp::define_interface!(IWindowTabIconStatics, IWindowTabIconStatics_Vtbl, 0x2e18d95e_2cbb_4084_af0c_36ee1c2d54b1); #[repr(C)] pub struct IWindowTabIconStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -188,7 +188,7 @@ pub struct IWindowTabIconStatics_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromImage: usize, } -windows_core::imp::com_interface!(IWindowTabManager, IWindowTabManager_Vtbl, 0x97b3c697_f43a_43e7_b3a2_e889a9835599); +windows_core::imp::define_interface!(IWindowTabManager, IWindowTabManager_Vtbl, 0x97b3c697_f43a_43e7_b3a2_e889a9835599); #[repr(C)] pub struct IWindowTabManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -203,7 +203,7 @@ pub struct IWindowTabManager_Vtbl { pub TabThumbnailRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveTabThumbnailRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowTabManagerStatics, IWindowTabManagerStatics_Vtbl, 0x76755668_45f0_4e0b_8172_4e6d9d0f87bd); +windows_core::imp::define_interface!(IWindowTabManagerStatics, IWindowTabManagerStatics_Vtbl, 0x76755668_45f0_4e0b_8172_4e6d9d0f87bd); #[repr(C)] pub struct IWindowTabManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -211,13 +211,13 @@ pub struct IWindowTabManagerStatics_Vtbl { pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub IsTabTearOutSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowTabSwitchRequestedEventArgs, IWindowTabSwitchRequestedEventArgs_Vtbl, 0x7cbc421a_58a4_568b_a351_f8a947a5aad8); +windows_core::imp::define_interface!(IWindowTabSwitchRequestedEventArgs, IWindowTabSwitchRequestedEventArgs_Vtbl, 0x7cbc421a_58a4_568b_a351_f8a947a5aad8); #[repr(C)] pub struct IWindowTabSwitchRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Tab: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowTabTearOutRequestedEventArgs, IWindowTabTearOutRequestedEventArgs_Vtbl, 0x17d66659_5005_5ece_99af_566306e73642); +windows_core::imp::define_interface!(IWindowTabTearOutRequestedEventArgs, IWindowTabTearOutRequestedEventArgs_Vtbl, 0x17d66659_5005_5ece_99af_566306e73642); #[repr(C)] pub struct IWindowTabTearOutRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -226,7 +226,7 @@ pub struct IWindowTabTearOutRequestedEventArgs_Vtbl { pub SetWindowId: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> 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::com_interface!(IWindowTabThumbnailRequestedEventArgs, IWindowTabThumbnailRequestedEventArgs_Vtbl, 0x2d558e54_9c4e_5abc_ab72_3350fb4937a0); +windows_core::imp::define_interface!(IWindowTabThumbnailRequestedEventArgs, IWindowTabThumbnailRequestedEventArgs_Vtbl, 0x2d558e54_9c4e_5abc_ab72_3350fb4937a0); #[repr(C)] pub struct IWindowTabThumbnailRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs index c458bc3398..60346c0151 100644 --- a/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs +++ b/crates/libs/windows/src/Windows/UI/StartScreen/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IJumpList, IJumpList_Vtbl, 0xb0234c3e_cd6f_4cb6_a611_61fd505f3ed1); +windows_core::imp::define_interface!(IJumpList, IJumpList_Vtbl, 0xb0234c3e_cd6f_4cb6_a611_61fd505f3ed1); #[repr(C)] pub struct IJumpList_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -10,7 +10,7 @@ pub struct IJumpList_Vtbl { pub SetSystemGroupKind: unsafe extern "system" fn(*mut core::ffi::c_void, JumpListSystemGroupKind) -> windows_core::HRESULT, pub SaveAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IJumpListItem, IJumpListItem_Vtbl, 0x7adb6717_8b5d_4820_995b_9b418dbe48b0); +windows_core::imp::define_interface!(IJumpListItem, IJumpListItem_Vtbl, 0x7adb6717_8b5d_4820_995b_9b418dbe48b0); #[repr(C)] pub struct IJumpListItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,21 +26,21 @@ pub struct IJumpListItem_Vtbl { 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, } -windows_core::imp::com_interface!(IJumpListItemStatics, IJumpListItemStatics_Vtbl, 0xf1bfc4e8_c7aa_49cb_8dde_ecfccd7ad7e4); +windows_core::imp::define_interface!(IJumpListItemStatics, IJumpListItemStatics_Vtbl, 0xf1bfc4e8_c7aa_49cb_8dde_ecfccd7ad7e4); #[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 CreateSeparator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IJumpListStatics, IJumpListStatics_Vtbl, 0xa7e0c681_e67e_4b74_8250_3f322c4d92c3); +windows_core::imp::define_interface!(IJumpListStatics, IJumpListStatics_Vtbl, 0xa7e0c681_e67e_4b74_8250_3f322c4d92c3); #[repr(C)] pub struct IJumpListStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LoadCurrentAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISecondaryTile, ISecondaryTile_Vtbl, 0x9e9e51e0_2bb5_4bc0_bb8d_42b23abcc88d); +windows_core::imp::define_interface!(ISecondaryTile, ISecondaryTile_Vtbl, 0x9e9e51e0_2bb5_4bc0_bb8d_42b23abcc88d); #[repr(C)] pub struct ISecondaryTile_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -126,7 +126,7 @@ pub struct ISecondaryTile_Vtbl { RequestDeleteAsyncWithRectAndPlacement: usize, pub UpdateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISecondaryTile2, ISecondaryTile2_Vtbl, 0xb2f6cc35_3250_4990_923c_294ab4b694dd); +windows_core::imp::define_interface!(ISecondaryTile2, ISecondaryTile2_Vtbl, 0xb2f6cc35_3250_4990_923c_294ab4b694dd); #[repr(C)] pub struct ISecondaryTile2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -138,7 +138,7 @@ pub struct ISecondaryTile2_Vtbl { pub VisualElementsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveVisualElementsRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISecondaryTileFactory, ISecondaryTileFactory_Vtbl, 0x57f52ca0_51bc_4abf_8ebf_627a0398b05a); +windows_core::imp::define_interface!(ISecondaryTileFactory, ISecondaryTileFactory_Vtbl, 0x57f52ca0_51bc_4abf_8ebf_627a0398b05a); #[repr(C)] pub struct ISecondaryTileFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -152,13 +152,13 @@ pub struct ISecondaryTileFactory_Vtbl { 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, } -windows_core::imp::com_interface!(ISecondaryTileFactory2, ISecondaryTileFactory2_Vtbl, 0x274b8a3b_522d_448e_9eb2_d0672ab345c8); +windows_core::imp::define_interface!(ISecondaryTileFactory2, ISecondaryTileFactory2_Vtbl, 0x274b8a3b_522d_448e_9eb2_d0672ab345c8); #[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, } -windows_core::imp::com_interface!(ISecondaryTileStatics, ISecondaryTileStatics_Vtbl, 0x99908dae_d051_4676_87fe_9ec242d83c74); +windows_core::imp::define_interface!(ISecondaryTileStatics, ISecondaryTileStatics_Vtbl, 0x99908dae_d051_4676_87fe_9ec242d83c74); #[repr(C)] pub struct ISecondaryTileStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -176,7 +176,7 @@ pub struct ISecondaryTileStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindAllForPackageAsync: usize, } -windows_core::imp::com_interface!(ISecondaryTileVisualElements, ISecondaryTileVisualElements_Vtbl, 0x1d8df333_815e_413f_9f50_a81da70a96b2); +windows_core::imp::define_interface!(ISecondaryTileVisualElements, ISecondaryTileVisualElements_Vtbl, 0x1d8df333_815e_413f_9f50_a81da70a96b2); #[repr(C)] pub struct ISecondaryTileVisualElements_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -213,27 +213,27 @@ pub struct ISecondaryTileVisualElements_Vtbl { pub SetShowNameOnSquare310x310Logo: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub ShowNameOnSquare310x310Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISecondaryTileVisualElements2, ISecondaryTileVisualElements2_Vtbl, 0xfd2e31d0_57dc_4794_8ecf_5682f5f3e6ef); +windows_core::imp::define_interface!(ISecondaryTileVisualElements2, ISecondaryTileVisualElements2_Vtbl, 0xfd2e31d0_57dc_4794_8ecf_5682f5f3e6ef); #[repr(C)] pub struct ISecondaryTileVisualElements2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetSquare71x71Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Square71x71Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISecondaryTileVisualElements3, ISecondaryTileVisualElements3_Vtbl, 0x56b55ad6_d15c_40f4_81e7_57ffd8f8a4e9); +windows_core::imp::define_interface!(ISecondaryTileVisualElements3, ISecondaryTileVisualElements3_Vtbl, 0x56b55ad6_d15c_40f4_81e7_57ffd8f8a4e9); #[repr(C)] pub struct ISecondaryTileVisualElements3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetSquare44x44Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Square44x44Logo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISecondaryTileVisualElements4, ISecondaryTileVisualElements4_Vtbl, 0x66566117_b544_40d2_8d12_74d4ec24d04c); +windows_core::imp::define_interface!(ISecondaryTileVisualElements4, ISecondaryTileVisualElements4_Vtbl, 0x66566117_b544_40d2_8d12_74d4ec24d04c); #[repr(C)] pub struct ISecondaryTileVisualElements4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MixedRealityModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStartScreenManager, IStartScreenManager_Vtbl, 0x4a1dcbcb_26e9_4eb4_8933_859eb6ecdb29); +windows_core::imp::define_interface!(IStartScreenManager, IStartScreenManager_Vtbl, 0x4a1dcbcb_26e9_4eb4_8933_859eb6ecdb29); #[repr(C)] pub struct IStartScreenManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -254,14 +254,14 @@ pub struct IStartScreenManager_Vtbl { #[cfg(not(feature = "ApplicationModel_Core"))] RequestAddAppListEntryAsync: usize, } -windows_core::imp::com_interface!(IStartScreenManager2, IStartScreenManager2_Vtbl, 0x08a716b6_316b_4ad9_acb8_fe9cf00bd608); +windows_core::imp::define_interface!(IStartScreenManager2, IStartScreenManager2_Vtbl, 0x08a716b6_316b_4ad9_acb8_fe9cf00bd608); #[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, } -windows_core::imp::com_interface!(IStartScreenManagerStatics, IStartScreenManagerStatics_Vtbl, 0x7865ef0f_b585_464e_8993_34e8f8738d48); +windows_core::imp::define_interface!(IStartScreenManagerStatics, IStartScreenManagerStatics_Vtbl, 0x7865ef0f_b585_464e_8993_34e8f8738d48); #[repr(C)] pub struct IStartScreenManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -271,7 +271,7 @@ pub struct IStartScreenManagerStatics_Vtbl { #[cfg(not(feature = "System"))] GetForUser: usize, } -windows_core::imp::com_interface!(ITileMixedRealityModel, ITileMixedRealityModel_Vtbl, 0xb0764e5b_887d_4242_9a19_3d0a4ea78031); +windows_core::imp::define_interface!(ITileMixedRealityModel, ITileMixedRealityModel_Vtbl, 0xb0764e5b_887d_4242_9a19_3d0a4ea78031); #[repr(C)] pub struct ITileMixedRealityModel_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -286,14 +286,14 @@ pub struct ITileMixedRealityModel_Vtbl { #[cfg(not(all(feature = "Foundation_Numerics", feature = "Perception_Spatial")))] BoundingBox: usize, } -windows_core::imp::com_interface!(ITileMixedRealityModel2, ITileMixedRealityModel2_Vtbl, 0x439470b2_d7c5_410b_8319_9486a27b6c67); +windows_core::imp::define_interface!(ITileMixedRealityModel2, ITileMixedRealityModel2_Vtbl, 0x439470b2_d7c5_410b_8319_9486a27b6c67); #[repr(C)] pub struct ITileMixedRealityModel2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SetActivationBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, TileMixedRealityModelActivationBehavior) -> windows_core::HRESULT, pub ActivationBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TileMixedRealityModelActivationBehavior) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisualElementsRequest, IVisualElementsRequest_Vtbl, 0xc138333a_9308_4072_88cc_d068db347c68); +windows_core::imp::define_interface!(IVisualElementsRequest, IVisualElementsRequest_Vtbl, 0xc138333a_9308_4072_88cc_d068db347c68); #[repr(C)] pub struct IVisualElementsRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -305,13 +305,13 @@ pub struct IVisualElementsRequest_Vtbl { 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, } -windows_core::imp::com_interface!(IVisualElementsRequestDeferral, IVisualElementsRequestDeferral_Vtbl, 0xa1656eb0_0126_4357_8204_bd82bb2a046d); +windows_core::imp::define_interface!(IVisualElementsRequestDeferral, IVisualElementsRequestDeferral_Vtbl, 0xa1656eb0_0126_4357_8204_bd82bb2a046d); #[repr(C)] pub struct IVisualElementsRequestDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisualElementsRequestedEventArgs, IVisualElementsRequestedEventArgs_Vtbl, 0x7b6fc982_3a0d_4ece_af96_cd17e1b00b2d); +windows_core::imp::define_interface!(IVisualElementsRequestedEventArgs, IVisualElementsRequestedEventArgs_Vtbl, 0x7b6fc982_3a0d_4ece_af96_cd17e1b00b2d); #[repr(C)] pub struct IVisualElementsRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 14af1cf9d6..dcd46ed58b 100644 --- a/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICoreTextCompositionCompletedEventArgs, ICoreTextCompositionCompletedEventArgs_Vtbl, 0x1f34ebb6_b79f_4121_a5e7_fda9b8616e30); +windows_core::imp::define_interface!(ICoreTextCompositionCompletedEventArgs, ICoreTextCompositionCompletedEventArgs_Vtbl, 0x1f34ebb6_b79f_4121_a5e7_fda9b8616e30); #[repr(C)] pub struct ICoreTextCompositionCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,21 +9,21 @@ pub struct ICoreTextCompositionCompletedEventArgs_Vtbl { CompositionSegments: usize, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTextCompositionSegment, ICoreTextCompositionSegment_Vtbl, 0x776c6bd9_4ead_4da7_8f47_3a88b523cc34); +windows_core::imp::define_interface!(ICoreTextCompositionSegment, ICoreTextCompositionSegment_Vtbl, 0x776c6bd9_4ead_4da7_8f47_3a88b523cc34); #[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 Range: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CoreTextRange) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTextCompositionStartedEventArgs, ICoreTextCompositionStartedEventArgs_Vtbl, 0x276b16a9_64e7_4ab0_bc4b_a02d73835bfb); +windows_core::imp::define_interface!(ICoreTextCompositionStartedEventArgs, ICoreTextCompositionStartedEventArgs_Vtbl, 0x276b16a9_64e7_4ab0_bc4b_a02d73835bfb); #[repr(C)] pub struct ICoreTextCompositionStartedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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, } -windows_core::imp::com_interface!(ICoreTextEditContext, ICoreTextEditContext_Vtbl, 0xbf6608af_4041_47c3_b263_a918eb5eaef2); +windows_core::imp::define_interface!(ICoreTextEditContext, ICoreTextEditContext_Vtbl, 0xbf6608af_4041_47c3_b263_a918eb5eaef2); #[repr(C)] pub struct ICoreTextEditContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -59,14 +59,14 @@ pub struct ICoreTextEditContext_Vtbl { pub NotifySelectionChanged: unsafe extern "system" fn(*mut core::ffi::c_void, CoreTextRange) -> windows_core::HRESULT, pub NotifyLayoutChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTextEditContext2, ICoreTextEditContext2_Vtbl, 0xb1867dbb_083b_49e1_b281_2b35d62bf466); +windows_core::imp::define_interface!(ICoreTextEditContext2, ICoreTextEditContext2_Vtbl, 0xb1867dbb_083b_49e1_b281_2b35d62bf466); #[repr(C)] pub struct ICoreTextEditContext2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NotifyFocusLeaveCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveNotifyFocusLeaveCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTextFormatUpdatingEventArgs, ICoreTextFormatUpdatingEventArgs_Vtbl, 0x7310bd33_b4a8_43b1_b37b_0724d4aca7ab); +windows_core::imp::define_interface!(ICoreTextFormatUpdatingEventArgs, ICoreTextFormatUpdatingEventArgs_Vtbl, 0x7310bd33_b4a8_43b1_b37b_0724d4aca7ab); #[repr(C)] pub struct ICoreTextFormatUpdatingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -90,7 +90,7 @@ pub struct ICoreTextFormatUpdatingEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(ICoreTextLayoutBounds, ICoreTextLayoutBounds_Vtbl, 0xe972c974_4436_4917_80d0_a525e4ca6780); +windows_core::imp::define_interface!(ICoreTextLayoutBounds, ICoreTextLayoutBounds_Vtbl, 0xe972c974_4436_4917_80d0_a525e4ca6780); #[repr(C)] pub struct ICoreTextLayoutBounds_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -99,7 +99,7 @@ pub struct ICoreTextLayoutBounds_Vtbl { pub ControlBounds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::Rect) -> windows_core::HRESULT, pub SetControlBounds: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTextLayoutRequest, ICoreTextLayoutRequest_Vtbl, 0x2555a8cc_51fd_4f03_98bf_ac78174d68e0); +windows_core::imp::define_interface!(ICoreTextLayoutRequest, ICoreTextLayoutRequest_Vtbl, 0x2555a8cc_51fd_4f03_98bf_ac78174d68e0); #[repr(C)] pub struct ICoreTextLayoutRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -108,19 +108,19 @@ pub struct ICoreTextLayoutRequest_Vtbl { 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, } -windows_core::imp::com_interface!(ICoreTextLayoutRequest2, ICoreTextLayoutRequest2_Vtbl, 0x676de624_cd3d_4bcd_bf01_7f7110954511); +windows_core::imp::define_interface!(ICoreTextLayoutRequest2, ICoreTextLayoutRequest2_Vtbl, 0x676de624_cd3d_4bcd_bf01_7f7110954511); #[repr(C)] pub struct ICoreTextLayoutRequest2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub LayoutBoundsVisualPixels: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTextLayoutRequestedEventArgs, ICoreTextLayoutRequestedEventArgs_Vtbl, 0xb1dc6ae0_9a7b_4e9e_a566_4a6b5f8ad676); +windows_core::imp::define_interface!(ICoreTextLayoutRequestedEventArgs, ICoreTextLayoutRequestedEventArgs_Vtbl, 0xb1dc6ae0_9a7b_4e9e_a566_4a6b5f8ad676); #[repr(C)] pub struct ICoreTextLayoutRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTextSelectionRequest, ICoreTextSelectionRequest_Vtbl, 0xf0a70403_208b_4301_883c_74ca7485fd8d); +windows_core::imp::define_interface!(ICoreTextSelectionRequest, ICoreTextSelectionRequest_Vtbl, 0xf0a70403_208b_4301_883c_74ca7485fd8d); #[repr(C)] pub struct ICoreTextSelectionRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -129,13 +129,13 @@ pub struct ICoreTextSelectionRequest_Vtbl { 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, } -windows_core::imp::com_interface!(ICoreTextSelectionRequestedEventArgs, ICoreTextSelectionRequestedEventArgs_Vtbl, 0x13c6682b_f614_421a_8f4b_9ec8a5a37fcd); +windows_core::imp::define_interface!(ICoreTextSelectionRequestedEventArgs, ICoreTextSelectionRequestedEventArgs_Vtbl, 0x13c6682b_f614_421a_8f4b_9ec8a5a37fcd); #[repr(C)] pub struct ICoreTextSelectionRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTextSelectionUpdatingEventArgs, ICoreTextSelectionUpdatingEventArgs_Vtbl, 0xd445839f_fe7f_4bd5_8a26_0922c1b3e639); +windows_core::imp::define_interface!(ICoreTextSelectionUpdatingEventArgs, ICoreTextSelectionUpdatingEventArgs_Vtbl, 0xd445839f_fe7f_4bd5_8a26_0922c1b3e639); #[repr(C)] pub struct ICoreTextSelectionUpdatingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -145,7 +145,7 @@ pub struct ICoreTextSelectionUpdatingEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(ICoreTextServicesManager, ICoreTextServicesManager_Vtbl, 0xc2507d83_6e0a_4a8a_bdf8_1948874854ba); +windows_core::imp::define_interface!(ICoreTextServicesManager, ICoreTextServicesManager_Vtbl, 0xc2507d83_6e0a_4a8a_bdf8_1948874854ba); #[repr(C)] pub struct ICoreTextServicesManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -157,19 +157,19 @@ pub struct ICoreTextServicesManager_Vtbl { pub RemoveInputLanguageChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub CreateEditContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTextServicesManagerStatics, ICoreTextServicesManagerStatics_Vtbl, 0x1520a388_e2cf_4d65_aeb9_b32d86fe39b9); +windows_core::imp::define_interface!(ICoreTextServicesManagerStatics, ICoreTextServicesManagerStatics_Vtbl, 0x1520a388_e2cf_4d65_aeb9_b32d86fe39b9); #[repr(C)] pub struct ICoreTextServicesManagerStatics_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, } -windows_core::imp::com_interface!(ICoreTextServicesStatics, ICoreTextServicesStatics_Vtbl, 0x91859a46_eccf_47a4_8ae7_098a9c6fbb15); +windows_core::imp::define_interface!(ICoreTextServicesStatics, ICoreTextServicesStatics_Vtbl, 0x91859a46_eccf_47a4_8ae7_098a9c6fbb15); #[repr(C)] pub struct ICoreTextServicesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub HiddenCharacter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTextTextRequest, ICoreTextTextRequest_Vtbl, 0x50d950a9_f51e_4cc1_8ca1_e6346d1a61be); +windows_core::imp::define_interface!(ICoreTextTextRequest, ICoreTextTextRequest_Vtbl, 0x50d950a9_f51e_4cc1_8ca1_e6346d1a61be); #[repr(C)] pub struct ICoreTextTextRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -179,13 +179,13 @@ pub struct ICoreTextTextRequest_Vtbl { 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, } -windows_core::imp::com_interface!(ICoreTextTextRequestedEventArgs, ICoreTextTextRequestedEventArgs_Vtbl, 0xf096a2d0_41c6_4c02_8b1a_d953b00cabb3); +windows_core::imp::define_interface!(ICoreTextTextRequestedEventArgs, ICoreTextTextRequestedEventArgs_Vtbl, 0xf096a2d0_41c6_4c02_8b1a_d953b00cabb3); #[repr(C)] pub struct ICoreTextTextRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreTextTextUpdatingEventArgs, ICoreTextTextUpdatingEventArgs_Vtbl, 0xeea7918d_cc2b_4f03_8ff6_02fd217db450); +windows_core::imp::define_interface!(ICoreTextTextUpdatingEventArgs, ICoreTextTextUpdatingEventArgs_Vtbl, 0xeea7918d_cc2b_4f03_8ff6_02fd217db450); #[repr(C)] pub struct ICoreTextTextUpdatingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/Text/mod.rs b/crates/libs/windows/src/Windows/UI/Text/mod.rs index e809b6e518..64b2ef3a6c 100644 --- a/crates/libs/windows/src/Windows/UI/Text/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Text/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "UI_Text_Core")] pub mod Core; -windows_core::imp::com_interface!(IContentLinkInfo, IContentLinkInfo_Vtbl, 0x1ed52525_1c5f_48cb_b335_78b50a2ee642); +windows_core::imp::define_interface!(IContentLinkInfo, IContentLinkInfo_Vtbl, 0x1ed52525_1c5f_48cb_b335_78b50a2ee642); #[repr(C)] pub struct IContentLinkInfo_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -15,12 +15,12 @@ pub struct IContentLinkInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IFontWeights, IFontWeights_Vtbl, 0x7880a444_01ab_4997_8517_df822a0c45f1); +windows_core::imp::define_interface!(IFontWeights, IFontWeights_Vtbl, 0x7880a444_01ab_4997_8517_df822a0c45f1); #[repr(C)] pub struct IFontWeights_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IFontWeightsStatics, IFontWeightsStatics_Vtbl, 0xb3b579d5_1ba9_48eb_9dad_c095e8c23ba3); +windows_core::imp::define_interface!(IFontWeightsStatics, IFontWeightsStatics_Vtbl, 0xb3b579d5_1ba9_48eb_9dad_c095e8c23ba3); #[repr(C)] pub struct IFontWeightsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -36,14 +36,14 @@ pub struct IFontWeightsStatics_Vtbl { pub SemiLight: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FontWeight) -> windows_core::HRESULT, pub Thin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FontWeight) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRichEditTextRange, IRichEditTextRange_Vtbl, 0x374e3515_ba8a_4a6e_8c59_0dde3d0cf5cd); +windows_core::imp::define_interface!(IRichEditTextRange, IRichEditTextRange_Vtbl, 0x374e3515_ba8a_4a6e_8c59_0dde3d0cf5cd); #[repr(C)] pub struct IRichEditTextRange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ContentLinkInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetContentLinkInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextCharacterFormat, ITextCharacterFormat_Vtbl, 0x5adef3db_05fb_442d_8065_642afea02ced); +windows_core::imp::define_interface!(ITextCharacterFormat, ITextCharacterFormat_Vtbl, 0x5adef3db_05fb_442d_8065_642afea02ced); windows_core::imp::interface_hierarchy!(ITextCharacterFormat, windows_core::IUnknown, windows_core::IInspectable); impl ITextCharacterFormat { pub fn AllCaps(&self) -> windows_core::Result { @@ -388,7 +388,7 @@ pub struct ITextCharacterFormat_Vtbl { pub GetClone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsEqual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextConstantsStatics, ITextConstantsStatics_Vtbl, 0x779e7c33_189d_4bfa_97c8_10db135d976e); +windows_core::imp::define_interface!(ITextConstantsStatics, ITextConstantsStatics_Vtbl, 0x779e7c33_189d_4bfa_97c8_10db135d976e); #[repr(C)] pub struct ITextConstantsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -401,7 +401,7 @@ pub struct ITextConstantsStatics_Vtbl { pub UndefinedFontStretch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FontStretch) -> windows_core::HRESULT, pub UndefinedFontStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FontStyle) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextDocument, ITextDocument_Vtbl, 0xbeee4ddb_90b2_408c_a2f6_0a0ac31e33e4); +windows_core::imp::define_interface!(ITextDocument, ITextDocument_Vtbl, 0xbeee4ddb_90b2_408c_a2f6_0a0ac31e33e4); windows_core::imp::interface_hierarchy!(ITextDocument, windows_core::IUnknown, windows_core::IInspectable); impl ITextDocument { pub fn CaretType(&self) -> windows_core::Result { @@ -609,7 +609,7 @@ pub struct ITextDocument_Vtbl { pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, TextSetOptions, std::mem::MaybeUninit) -> windows_core::HRESULT, pub Undo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextDocument2, ITextDocument2_Vtbl, 0xf2311112_8c89_49c9_9118_f057cbb814ee); +windows_core::imp::define_interface!(ITextDocument2, ITextDocument2_Vtbl, 0xf2311112_8c89_49c9_9118_f057cbb814ee); #[repr(C)] pub struct ITextDocument2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -618,13 +618,13 @@ pub struct ITextDocument2_Vtbl { pub IgnoreTrailingCharacterSpacing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIgnoreTrailingCharacterSpacing: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextDocument3, ITextDocument3_Vtbl, 0x75ab03a1_a6f8_441d_aa18_0a851d6e5e3c); +windows_core::imp::define_interface!(ITextDocument3, ITextDocument3_Vtbl, 0x75ab03a1_a6f8_441d_aa18_0a851d6e5e3c); #[repr(C)] pub struct ITextDocument3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ClearUndoRedoHistory: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextDocument4, ITextDocument4_Vtbl, 0x619c20f2_cb3b_4521_981f_2865b1b93f04); +windows_core::imp::define_interface!(ITextDocument4, ITextDocument4_Vtbl, 0x619c20f2_cb3b_4521_981f_2865b1b93f04); #[repr(C)] pub struct ITextDocument4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -632,7 +632,7 @@ pub struct ITextDocument4_Vtbl { pub GetMath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub SetMathMode: unsafe extern "system" fn(*mut core::ffi::c_void, RichEditMathMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextParagraphFormat, ITextParagraphFormat_Vtbl, 0x2cf8cfa6_4676_498a_93f5_bbdbfc0bd883); +windows_core::imp::define_interface!(ITextParagraphFormat, ITextParagraphFormat_Vtbl, 0x2cf8cfa6_4676_498a_93f5_bbdbfc0bd883); windows_core::imp::interface_hierarchy!(ITextParagraphFormat, windows_core::IUnknown, windows_core::IInspectable); impl ITextParagraphFormat { pub fn Alignment(&self) -> windows_core::Result { @@ -961,7 +961,7 @@ pub struct ITextParagraphFormat_Vtbl { pub SetIndents: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32) -> windows_core::HRESULT, pub SetLineSpacing: unsafe extern "system" fn(*mut core::ffi::c_void, LineSpacingRule, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextRange, ITextRange_Vtbl, 0x5b9e4e57_c072_42a0_8945_af503ee54768); +windows_core::imp::define_interface!(ITextRange, ITextRange_Vtbl, 0x5b9e4e57_c072_42a0_8945_af503ee54768); windows_core::imp::interface_hierarchy!(ITextRange, windows_core::IUnknown, windows_core::IInspectable); impl ITextRange { pub fn Character(&self) -> windows_core::Result { @@ -1346,7 +1346,7 @@ pub struct ITextRange_Vtbl { SetTextViaStream: usize, pub StartOf: unsafe extern "system" fn(*mut core::ffi::c_void, TextRangeUnit, bool, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextSelection, ITextSelection_Vtbl, 0xa6d36724_f28f_430a_b2cf_c343671ec0e9); +windows_core::imp::define_interface!(ITextSelection, ITextSelection_Vtbl, 0xa6d36724_f28f_430a_b2cf_c343671ec0e9); windows_core::imp::interface_hierarchy!(ITextSelection, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ITextSelection, ITextRange); impl ITextSelection { 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 7a3b231a8a..4105379c31 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAutomationRemoteOperationResult, IAutomationRemoteOperationResult_Vtbl, 0xe0f80c42_4a67_5534_bf5a_09e8a99b36b1); +windows_core::imp::define_interface!(IAutomationRemoteOperationResult, IAutomationRemoteOperationResult_Vtbl, 0xe0f80c42_4a67_5534_bf5a_09e8a99b36b1); #[repr(C)] pub struct IAutomationRemoteOperationResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,7 +8,7 @@ pub struct IAutomationRemoteOperationResult_Vtbl { pub HasOperand: unsafe extern "system" fn(*mut core::ffi::c_void, AutomationRemoteOperationOperandId, *mut bool) -> windows_core::HRESULT, pub GetOperand: unsafe extern "system" fn(*mut core::ffi::c_void, AutomationRemoteOperationOperandId, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreAutomationConnectionBoundObjectProvider, ICoreAutomationConnectionBoundObjectProvider_Vtbl, 0x0620bb64_9616_5593_be3a_eb8e6daeb3fa); +windows_core::imp::define_interface!(ICoreAutomationConnectionBoundObjectProvider, ICoreAutomationConnectionBoundObjectProvider_Vtbl, 0x0620bb64_9616_5593_be3a_eb8e6daeb3fa); windows_core::imp::interface_hierarchy!(ICoreAutomationConnectionBoundObjectProvider, windows_core::IUnknown, windows_core::IInspectable); impl ICoreAutomationConnectionBoundObjectProvider { pub fn IsComThreadingRequired(&self) -> windows_core::Result { @@ -27,14 +27,14 @@ pub struct ICoreAutomationConnectionBoundObjectProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsComThreadingRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreAutomationRegistrarStatics, ICoreAutomationRegistrarStatics_Vtbl, 0x3e50129b_d6dc_5680_b580_ffff78300304); +windows_core::imp::define_interface!(ICoreAutomationRegistrarStatics, ICoreAutomationRegistrarStatics_Vtbl, 0x3e50129b_d6dc_5680_b580_ffff78300304); #[repr(C)] pub struct ICoreAutomationRegistrarStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub RegisterAnnotationType: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut AutomationAnnotationTypeRegistration) -> windows_core::HRESULT, pub UnregisterAnnotationType: unsafe extern "system" fn(*mut core::ffi::c_void, AutomationAnnotationTypeRegistration) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreAutomationRemoteOperation, ICoreAutomationRemoteOperation_Vtbl, 0x3ac656f4_e2bc_5c6e_b8e7_b224fb74b060); +windows_core::imp::define_interface!(ICoreAutomationRemoteOperation, ICoreAutomationRemoteOperation_Vtbl, 0x3ac656f4_e2bc_5c6e_b8e7_b224fb74b060); #[repr(C)] pub struct ICoreAutomationRemoteOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,13 +44,13 @@ pub struct ICoreAutomationRemoteOperation_Vtbl { pub AddToResults: unsafe extern "system" fn(*mut core::ffi::c_void, AutomationRemoteOperationOperandId) -> windows_core::HRESULT, pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreAutomationRemoteOperation2, ICoreAutomationRemoteOperation2_Vtbl, 0xeefaf86f_e953_5099_8ce9_dca813482ba0); +windows_core::imp::define_interface!(ICoreAutomationRemoteOperation2, ICoreAutomationRemoteOperation2_Vtbl, 0xeefaf86f_e953_5099_8ce9_dca813482ba0); #[repr(C)] pub struct ICoreAutomationRemoteOperation2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ImportConnectionBoundObject: unsafe extern "system" fn(*mut core::ffi::c_void, AutomationRemoteOperationOperandId, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreAutomationRemoteOperationContext, ICoreAutomationRemoteOperationContext_Vtbl, 0xb9af9cbb_3d3e_5918_a16b_7861626a3aeb); +windows_core::imp::define_interface!(ICoreAutomationRemoteOperationContext, ICoreAutomationRemoteOperationContext_Vtbl, 0xb9af9cbb_3d3e_5918_a16b_7861626a3aeb); #[repr(C)] pub struct ICoreAutomationRemoteOperationContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,7 +58,7 @@ pub struct ICoreAutomationRemoteOperationContext_Vtbl { pub SetOperand: unsafe extern "system" fn(*mut core::ffi::c_void, AutomationRemoteOperationOperandId, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetOperand2: unsafe extern "system" fn(*mut core::ffi::c_void, AutomationRemoteOperationOperandId, *mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreAutomationRemoteOperationExtensionProvider, ICoreAutomationRemoteOperationExtensionProvider_Vtbl, 0x88f53e67_dc69_553b_a0aa_70477e724da8); +windows_core::imp::define_interface!(ICoreAutomationRemoteOperationExtensionProvider, ICoreAutomationRemoteOperationExtensionProvider_Vtbl, 0x88f53e67_dc69_553b_a0aa_70477e724da8); windows_core::imp::interface_hierarchy!(ICoreAutomationRemoteOperationExtensionProvider, windows_core::IUnknown, windows_core::IInspectable); impl ICoreAutomationRemoteOperationExtensionProvider { pub fn CallExtension(&self, extensionid: windows_core::GUID, context: P0, operandids: &[AutomationRemoteOperationOperandId]) -> windows_core::Result<()> @@ -85,7 +85,7 @@ pub struct ICoreAutomationRemoteOperationExtensionProvider_Vtbl { pub CallExtension: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void, u32, *const AutomationRemoteOperationOperandId) -> windows_core::HRESULT, pub IsExtensionSupported: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteAutomationClientSession, IRemoteAutomationClientSession_Vtbl, 0x5c8a091d_94cc_5b33_afdb_678cded2bd54); +windows_core::imp::define_interface!(IRemoteAutomationClientSession, IRemoteAutomationClientSession_Vtbl, 0x5c8a091d_94cc_5b33_afdb_678cded2bd54); #[repr(C)] pub struct IRemoteAutomationClientSession_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -98,33 +98,33 @@ pub struct IRemoteAutomationClientSession_Vtbl { pub Disconnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveDisconnected: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteAutomationClientSessionFactory, IRemoteAutomationClientSessionFactory_Vtbl, 0xf250263d_6057_5373_a5a5_ed7265fe0376); +windows_core::imp::define_interface!(IRemoteAutomationClientSessionFactory, IRemoteAutomationClientSessionFactory_Vtbl, 0xf250263d_6057_5373_a5a5_ed7265fe0376); #[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, } -windows_core::imp::com_interface!(IRemoteAutomationConnectionRequestedEventArgs, IRemoteAutomationConnectionRequestedEventArgs_Vtbl, 0xea3319a8_e3a8_5dc6_adf8_044e46b14af5); +windows_core::imp::define_interface!(IRemoteAutomationConnectionRequestedEventArgs, IRemoteAutomationConnectionRequestedEventArgs_Vtbl, 0xea3319a8_e3a8_5dc6_adf8_044e46b14af5); #[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 RemoteProcessId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteAutomationDisconnectedEventArgs, IRemoteAutomationDisconnectedEventArgs_Vtbl, 0xbbb33a3d_5d90_5c38_9eb2_dd9dcc1b2e3f); +windows_core::imp::define_interface!(IRemoteAutomationDisconnectedEventArgs, IRemoteAutomationDisconnectedEventArgs_Vtbl, 0xbbb33a3d_5d90_5c38_9eb2_dd9dcc1b2e3f); #[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, } -windows_core::imp::com_interface!(IRemoteAutomationServerStatics, IRemoteAutomationServerStatics_Vtbl, 0xe6e8945e_0c11_5028_9ae3_c2771288b6b7); +windows_core::imp::define_interface!(IRemoteAutomationServerStatics, IRemoteAutomationServerStatics_Vtbl, 0xe6e8945e_0c11_5028_9ae3_c2771288b6b7); #[repr(C)] pub struct IRemoteAutomationServerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ReportSession: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteAutomationWindow, IRemoteAutomationWindow_Vtbl, 0x7c607689_496d_512a_9bd5_c050cfaf1428); +windows_core::imp::define_interface!(IRemoteAutomationWindow, IRemoteAutomationWindow_Vtbl, 0x7c607689_496d_512a_9bd5_c050cfaf1428); #[repr(C)] pub struct IRemoteAutomationWindow_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs index d205204ddf..40632910fb 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "UI_UIAutomation_Core")] pub mod Core; -windows_core::imp::com_interface!(IAutomationConnection, IAutomationConnection_Vtbl, 0xaad262ed_0ef4_5d43_97be_a834e27b65b9); +windows_core::imp::define_interface!(IAutomationConnection, IAutomationConnection_Vtbl, 0xaad262ed_0ef4_5d43_97be_a834e27b65b9); #[repr(C)] pub struct IAutomationConnection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -8,13 +8,13 @@ pub struct IAutomationConnection_Vtbl { 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, } -windows_core::imp::com_interface!(IAutomationConnectionBoundObject, IAutomationConnectionBoundObject_Vtbl, 0x5e8558fb_ca52_5b65_9830_dd2905816093); +windows_core::imp::define_interface!(IAutomationConnectionBoundObject, IAutomationConnectionBoundObject_Vtbl, 0x5e8558fb_ca52_5b65_9830_dd2905816093); #[repr(C)] pub struct IAutomationConnectionBoundObject_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, } -windows_core::imp::com_interface!(IAutomationElement, IAutomationElement_Vtbl, 0xa1898370_2c07_56fd_993f_61a72a08058c); +windows_core::imp::define_interface!(IAutomationElement, IAutomationElement_Vtbl, 0xa1898370_2c07_56fd_993f_61a72a08058c); #[repr(C)] pub struct IAutomationElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -22,7 +22,7 @@ pub struct IAutomationElement_Vtbl { 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, } -windows_core::imp::com_interface!(IAutomationTextRange, IAutomationTextRange_Vtbl, 0x7e101b65_40d3_5994_85a9_0a0cb9a4ec98); +windows_core::imp::define_interface!(IAutomationTextRange, IAutomationTextRange_Vtbl, 0x7e101b65_40d3_5994_85a9_0a0cb9a4ec98); #[repr(C)] pub struct IAutomationTextRange_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 8623435177..ba8134f9cb 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICoreFrameworkInputView, ICoreFrameworkInputView_Vtbl, 0xd77c94ae_46b8_5d4a_9489_8ddec3d639a6); +windows_core::imp::define_interface!(ICoreFrameworkInputView, ICoreFrameworkInputView_Vtbl, 0xd77c94ae_46b8_5d4a_9489_8ddec3d639a6); #[repr(C)] pub struct ICoreFrameworkInputView_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -7,7 +7,7 @@ pub struct ICoreFrameworkInputView_Vtbl { pub OcclusionsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveOcclusionsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreFrameworkInputViewAnimationStartingEventArgs, ICoreFrameworkInputViewAnimationStartingEventArgs_Vtbl, 0xc0ec901c_bba4_501b_ae8b_65c9e756a719); +windows_core::imp::define_interface!(ICoreFrameworkInputViewAnimationStartingEventArgs, ICoreFrameworkInputViewAnimationStartingEventArgs_Vtbl, 0xc0ec901c_bba4_501b_ae8b_65c9e756a719); #[repr(C)] pub struct ICoreFrameworkInputViewAnimationStartingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,7 +18,7 @@ pub struct ICoreFrameworkInputViewAnimationStartingEventArgs_Vtbl { pub FrameworkAnimationRecommended: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub AnimationDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreFrameworkInputViewOcclusionsChangedEventArgs, ICoreFrameworkInputViewOcclusionsChangedEventArgs_Vtbl, 0xf36f4949_c82c_53d1_a75d_2b2baf0d9b0d); +windows_core::imp::define_interface!(ICoreFrameworkInputViewOcclusionsChangedEventArgs, ICoreFrameworkInputViewOcclusionsChangedEventArgs_Vtbl, 0xf36f4949_c82c_53d1_a75d_2b2baf0d9b0d); #[repr(C)] pub struct ICoreFrameworkInputViewOcclusionsChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -28,14 +28,14 @@ pub struct ICoreFrameworkInputViewOcclusionsChangedEventArgs_Vtbl { Occlusions: usize, pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreFrameworkInputViewStatics, ICoreFrameworkInputViewStatics_Vtbl, 0x6eebd9b6_eac2_5f8b_975f_772ee3e42eeb); +windows_core::imp::define_interface!(ICoreFrameworkInputViewStatics, ICoreFrameworkInputViewStatics_Vtbl, 0x6eebd9b6_eac2_5f8b_975f_772ee3e42eeb); #[repr(C)] pub struct ICoreFrameworkInputViewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForUIContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetForCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputView, ICoreInputView_Vtbl, 0xc770cd7a_7001_4c32_bf94_25c1f554cbf1); +windows_core::imp::define_interface!(ICoreInputView, ICoreInputView_Vtbl, 0xc770cd7a_7001_4c32_bf94_25c1f554cbf1); #[repr(C)] pub struct ICoreInputView_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -48,7 +48,7 @@ pub struct ICoreInputView_Vtbl { pub TryShowPrimaryView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub TryHidePrimaryView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputView2, ICoreInputView2_Vtbl, 0x0ed726c1_e09a_4ae8_aedf_dfa4857d1a01); +windows_core::imp::define_interface!(ICoreInputView2, ICoreInputView2_Vtbl, 0x0ed726c1_e09a_4ae8_aedf_dfa4857d1a01); #[repr(C)] pub struct ICoreInputView2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -58,7 +58,7 @@ pub struct ICoreInputView2_Vtbl { pub RemoveXYFocusTransferredToPrimaryView: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub TryTransferXYFocusToPrimaryView: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::Rect, CoreInputViewXYFocusTransferDirection, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputView3, ICoreInputView3_Vtbl, 0xbc941653_3ab9_4849_8f58_46e7f0353cfc); +windows_core::imp::define_interface!(ICoreInputView3, ICoreInputView3_Vtbl, 0xbc941653_3ab9_4849_8f58_46e7f0353cfc); #[repr(C)] pub struct ICoreInputView3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -66,7 +66,7 @@ pub struct ICoreInputView3_Vtbl { pub TryShowWithKind: unsafe extern "system" fn(*mut core::ffi::c_void, CoreInputViewKind, *mut bool) -> windows_core::HRESULT, pub TryHide: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputView4, ICoreInputView4_Vtbl, 0x002863d6_d9ef_57eb_8cef_77f6ce1b7ee7); +windows_core::imp::define_interface!(ICoreInputView4, ICoreInputView4_Vtbl, 0x002863d6_d9ef_57eb_8cef_77f6ce1b7ee7); #[repr(C)] pub struct ICoreInputView4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -75,7 +75,7 @@ pub struct ICoreInputView4_Vtbl { pub PrimaryViewHiding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePrimaryViewHiding: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputView5, ICoreInputView5_Vtbl, 0x136316e0_c6d5_5c57_811e_1ad8a99ba6ab); +windows_core::imp::define_interface!(ICoreInputView5, ICoreInputView5_Vtbl, 0x136316e0_c6d5_5c57_811e_1ad8a99ba6ab); #[repr(C)] pub struct ICoreInputView5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -85,7 +85,7 @@ pub struct ICoreInputView5_Vtbl { pub PrimaryViewAnimationStarting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemovePrimaryViewAnimationStarting: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputViewAnimationStartingEventArgs, ICoreInputViewAnimationStartingEventArgs_Vtbl, 0xa9144af2_b55c_5ea1_b8ab_5340f3e94897); +windows_core::imp::define_interface!(ICoreInputViewAnimationStartingEventArgs, ICoreInputViewAnimationStartingEventArgs_Vtbl, 0xa9144af2_b55c_5ea1_b8ab_5340f3e94897); #[repr(C)] pub struct ICoreInputViewAnimationStartingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -97,20 +97,20 @@ pub struct ICoreInputViewAnimationStartingEventArgs_Vtbl { pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub AnimationDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::TimeSpan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputViewHidingEventArgs, ICoreInputViewHidingEventArgs_Vtbl, 0xeada47bd_bac5_5336_848d_41083584daad); +windows_core::imp::define_interface!(ICoreInputViewHidingEventArgs, ICoreInputViewHidingEventArgs_Vtbl, 0xeada47bd_bac5_5336_848d_41083584daad); #[repr(C)] pub struct ICoreInputViewHidingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryCancel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputViewOcclusion, ICoreInputViewOcclusion_Vtbl, 0xcc36ce06_3865_4177_b5f5_8b65e0b9ce84); +windows_core::imp::define_interface!(ICoreInputViewOcclusion, ICoreInputViewOcclusion_Vtbl, 0xcc36ce06_3865_4177_b5f5_8b65e0b9ce84); #[repr(C)] pub struct ICoreInputViewOcclusion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OccludingRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::Rect) -> windows_core::HRESULT, pub OcclusionKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CoreInputViewOcclusionKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputViewOcclusionsChangedEventArgs, ICoreInputViewOcclusionsChangedEventArgs_Vtbl, 0xbe1027e8_b3ee_4df7_9554_89cdc66082c2); +windows_core::imp::define_interface!(ICoreInputViewOcclusionsChangedEventArgs, ICoreInputViewOcclusionsChangedEventArgs_Vtbl, 0xbe1027e8_b3ee_4df7_9554_89cdc66082c2); #[repr(C)] pub struct ICoreInputViewOcclusionsChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -121,25 +121,25 @@ pub struct ICoreInputViewOcclusionsChangedEventArgs_Vtbl { pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputViewShowingEventArgs, ICoreInputViewShowingEventArgs_Vtbl, 0xca52261b_fb9e_5daf_a98c_262b8b76af50); +windows_core::imp::define_interface!(ICoreInputViewShowingEventArgs, ICoreInputViewShowingEventArgs_Vtbl, 0xca52261b_fb9e_5daf_a98c_262b8b76af50); #[repr(C)] pub struct ICoreInputViewShowingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryCancel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputViewStatics, ICoreInputViewStatics_Vtbl, 0x7d9b97cd_edbe_49cf_a54f_337de052907f); +windows_core::imp::define_interface!(ICoreInputViewStatics, ICoreInputViewStatics_Vtbl, 0x7d9b97cd_edbe_49cf_a54f_337de052907f); #[repr(C)] pub struct ICoreInputViewStatics_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, } -windows_core::imp::com_interface!(ICoreInputViewStatics2, ICoreInputViewStatics2_Vtbl, 0x7ebc0862_d049_4e52_87b0_1e90e98c49ed); +windows_core::imp::define_interface!(ICoreInputViewStatics2, ICoreInputViewStatics2_Vtbl, 0x7ebc0862_d049_4e52_87b0_1e90e98c49ed); #[repr(C)] pub struct ICoreInputViewStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForUIContext: 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::com_interface!(ICoreInputViewTransferringXYFocusEventArgs, ICoreInputViewTransferringXYFocusEventArgs_Vtbl, 0x04de169f_ba02_4850_8b55_d82d03ba6d7f); +windows_core::imp::define_interface!(ICoreInputViewTransferringXYFocusEventArgs, ICoreInputViewTransferringXYFocusEventArgs_Vtbl, 0x04de169f_ba02_4850_8b55_d82d03ba6d7f); #[repr(C)] pub struct ICoreInputViewTransferringXYFocusEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -150,7 +150,7 @@ pub struct ICoreInputViewTransferringXYFocusEventArgs_Vtbl { pub SetKeepPrimaryViewVisible: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub KeepPrimaryViewVisible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUISettingsController, IUISettingsController_Vtbl, 0x78a51ac4_15c0_5a1b_a75b_acbf9cb8bb9e); +windows_core::imp::define_interface!(IUISettingsController, IUISettingsController_Vtbl, 0x78a51ac4_15c0_5a1b_a75b_acbf9cb8bb9e); #[repr(C)] pub struct IUISettingsController_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -160,7 +160,7 @@ pub struct IUISettingsController_Vtbl { pub SetMessageDuration: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetTextScaleFactor: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUISettingsControllerStatics, IUISettingsControllerStatics_Vtbl, 0xeb3c68cc_c220_578c_8119_7db324ed26a6); +windows_core::imp::define_interface!(IUISettingsControllerStatics, IUISettingsControllerStatics_Vtbl, 0xeb3c68cc_c220_578c_8119_7db324ed26a6); #[repr(C)] pub struct IUISettingsControllerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs index 0d26c6de2c..4e939a5dc3 100644 --- a/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ViewManagement/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "UI_ViewManagement_Core")] pub mod Core; -windows_core::imp::com_interface!(IAccessibilitySettings, IAccessibilitySettings_Vtbl, 0xfe0e8147_c4c0_4562_b962_1327b52ad5b9); +windows_core::imp::define_interface!(IAccessibilitySettings, IAccessibilitySettings_Vtbl, 0xfe0e8147_c4c0_4562_b962_1327b52ad5b9); #[repr(C)] pub struct IAccessibilitySettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,7 +9,7 @@ pub struct IAccessibilitySettings_Vtbl { 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, } -windows_core::imp::com_interface!(IActivationViewSwitcher, IActivationViewSwitcher_Vtbl, 0xdca71bb6_7350_492b_aac7_c8a13d7224ad); +windows_core::imp::define_interface!(IActivationViewSwitcher, IActivationViewSwitcher_Vtbl, 0xdca71bb6_7350_492b_aac7_c8a13d7224ad); #[repr(C)] pub struct IActivationViewSwitcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,7 +17,7 @@ pub struct IActivationViewSwitcher_Vtbl { pub ShowAsStandaloneWithSizePreferenceAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, ViewSizePreference, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsViewPresentedOnActivationVirtualDesktop: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationView, IApplicationView_Vtbl, 0xd222d519_4361_451e_96c4_60f4f9742db0); +windows_core::imp::define_interface!(IApplicationView, IApplicationView_Vtbl, 0xd222d519_4361_451e_96c4_60f4f9742db0); #[repr(C)] pub struct IApplicationView_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -37,7 +37,7 @@ pub struct IApplicationView_Vtbl { 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, } -windows_core::imp::com_interface!(IApplicationView2, IApplicationView2_Vtbl, 0xe876b196_a545_40dc_b594_450cba68cc00); +windows_core::imp::define_interface!(IApplicationView2, IApplicationView2_Vtbl, 0xe876b196_a545_40dc_b594_450cba68cc00); #[repr(C)] pub struct IApplicationView2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -55,7 +55,7 @@ pub struct IApplicationView2_Vtbl { pub SetDesiredBoundsMode: unsafe extern "system" fn(*mut core::ffi::c_void, ApplicationViewBoundsMode, *mut bool) -> windows_core::HRESULT, pub DesiredBoundsMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ApplicationViewBoundsMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationView3, IApplicationView3_Vtbl, 0x903c9ce5_793a_4fdf_a2b2_af1ac21e3108); +windows_core::imp::define_interface!(IApplicationView3, IApplicationView3_Vtbl, 0x903c9ce5_793a_4fdf_a2b2_af1ac21e3108); #[repr(C)] pub struct IApplicationView3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -69,7 +69,7 @@ pub struct IApplicationView3_Vtbl { pub TryResizeView: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Size, *mut bool) -> windows_core::HRESULT, pub SetPreferredMinSize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Size) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationView4, IApplicationView4_Vtbl, 0x15e5cbec_9e0f_46b5_bc3f_9bf653e74b5e); +windows_core::imp::define_interface!(IApplicationView4, IApplicationView4_Vtbl, 0x15e5cbec_9e0f_46b5_bc3f_9bf653e74b5e); #[repr(C)] pub struct IApplicationView4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -79,14 +79,14 @@ pub struct IApplicationView4_Vtbl { pub TryEnterViewModeWithPreferencesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, ApplicationViewMode, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryConsolidateAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationView7, IApplicationView7_Vtbl, 0xa0369647_5faf_5aa6_9c38_befbb12a071e); +windows_core::imp::define_interface!(IApplicationView7, IApplicationView7_Vtbl, 0xa0369647_5faf_5aa6_9c38_befbb12a071e); #[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, } -windows_core::imp::com_interface!(IApplicationView9, IApplicationView9_Vtbl, 0x9c6516f9_021a_5f01_93e5_9bdad2647574); +windows_core::imp::define_interface!(IApplicationView9, IApplicationView9_Vtbl, 0x9c6516f9_021a_5f01_93e5_9bdad2647574); #[repr(C)] pub struct IApplicationView9_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -99,20 +99,20 @@ pub struct IApplicationView9_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_WindowManagement")))] GetDisplayRegions: usize, } -windows_core::imp::com_interface!(IApplicationViewConsolidatedEventArgs, IApplicationViewConsolidatedEventArgs_Vtbl, 0x514449ec_7ea2_4de7_a6a6_7dfbaaebb6fb); +windows_core::imp::define_interface!(IApplicationViewConsolidatedEventArgs, IApplicationViewConsolidatedEventArgs_Vtbl, 0x514449ec_7ea2_4de7_a6a6_7dfbaaebb6fb); #[repr(C)] pub struct IApplicationViewConsolidatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsUserInitiated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationViewConsolidatedEventArgs2, IApplicationViewConsolidatedEventArgs2_Vtbl, 0x1c199ecc_6dc1_40f4_afee_07d9ea296430); +windows_core::imp::define_interface!(IApplicationViewConsolidatedEventArgs2, IApplicationViewConsolidatedEventArgs2_Vtbl, 0x1c199ecc_6dc1_40f4_afee_07d9ea296430); #[repr(C)] pub struct IApplicationViewConsolidatedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsAppInitiated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IApplicationViewFullscreenStatics, IApplicationViewFullscreenStatics_Vtbl, 0xbc792ebd_64fe_4b65_a0c0_901ce2b68636); +windows_core::imp::define_interface!(IApplicationViewFullscreenStatics, IApplicationViewFullscreenStatics_Vtbl, 0xbc792ebd_64fe_4b65_a0c0_901ce2b68636); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IApplicationViewFullscreenStatics_Vtbl { @@ -122,7 +122,7 @@ pub struct IApplicationViewFullscreenStatics_Vtbl { #[cfg(not(feature = "deprecated"))] TryUnsnapToFullscreen: usize, } -windows_core::imp::com_interface!(IApplicationViewInteropStatics, IApplicationViewInteropStatics_Vtbl, 0xc446fb5d_4793_4896_a8e2_be57a8bb0f50); +windows_core::imp::define_interface!(IApplicationViewInteropStatics, IApplicationViewInteropStatics_Vtbl, 0xc446fb5d_4793_4896_a8e2_be57a8bb0f50); #[repr(C)] pub struct IApplicationViewInteropStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -131,12 +131,12 @@ pub struct IApplicationViewInteropStatics_Vtbl { #[cfg(not(feature = "UI_Core"))] GetApplicationViewIdForWindow: usize, } -windows_core::imp::com_interface!(IApplicationViewScaling, IApplicationViewScaling_Vtbl, 0x1d0ddc23_23f3_4b2d_84fe_74bf37b48b66); +windows_core::imp::define_interface!(IApplicationViewScaling, IApplicationViewScaling_Vtbl, 0x1d0ddc23_23f3_4b2d_84fe_74bf37b48b66); #[repr(C)] pub struct IApplicationViewScaling_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IApplicationViewScalingStatics, IApplicationViewScalingStatics_Vtbl, 0xb08fecf0_b946_45c8_a5e3_71f5aa78f861); +windows_core::imp::define_interface!(IApplicationViewScalingStatics, IApplicationViewScalingStatics_Vtbl, 0xb08fecf0_b946_45c8_a5e3_71f5aa78f861); #[repr(C)] pub struct IApplicationViewScalingStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -144,7 +144,7 @@ pub struct IApplicationViewScalingStatics_Vtbl { pub TrySetDisableLayoutScaling: unsafe extern "system" fn(*mut core::ffi::c_void, bool, *mut bool) -> windows_core::HRESULT, } #[cfg(feature = "deprecated")] -windows_core::imp::com_interface!(IApplicationViewStatics, IApplicationViewStatics_Vtbl, 0x010a6306_c433_44e5_a9f2_bd84d4030a95); +windows_core::imp::define_interface!(IApplicationViewStatics, IApplicationViewStatics_Vtbl, 0x010a6306_c433_44e5_a9f2_bd84d4030a95); #[cfg(feature = "deprecated")] #[repr(C)] pub struct IApplicationViewStatics_Vtbl { @@ -158,7 +158,7 @@ pub struct IApplicationViewStatics_Vtbl { #[cfg(not(feature = "deprecated"))] TryUnsnap: usize, } -windows_core::imp::com_interface!(IApplicationViewStatics2, IApplicationViewStatics2_Vtbl, 0xaf338ae5_cf64_423c_85e5_f3e72448fb23); +windows_core::imp::define_interface!(IApplicationViewStatics2, IApplicationViewStatics2_Vtbl, 0xaf338ae5_cf64_423c_85e5_f3e72448fb23); #[repr(C)] pub struct IApplicationViewStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -166,7 +166,7 @@ pub struct IApplicationViewStatics2_Vtbl { pub TerminateAppOnFinalViewClose: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetTerminateAppOnFinalViewClose: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationViewStatics3, IApplicationViewStatics3_Vtbl, 0xa28d7594_8c41_4e13_9719_5164796fe4c7); +windows_core::imp::define_interface!(IApplicationViewStatics3, IApplicationViewStatics3_Vtbl, 0xa28d7594_8c41_4e13_9719_5164796fe4c7); #[repr(C)] pub struct IApplicationViewStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -175,14 +175,14 @@ pub struct IApplicationViewStatics3_Vtbl { pub PreferredLaunchViewSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Size) -> windows_core::HRESULT, pub SetPreferredLaunchViewSize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Size) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationViewStatics4, IApplicationViewStatics4_Vtbl, 0x08fd8d33_2611_5336_a315_d98e6366c9db); +windows_core::imp::define_interface!(IApplicationViewStatics4, IApplicationViewStatics4_Vtbl, 0x08fd8d33_2611_5336_a315_d98e6366c9db); #[repr(C)] 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, } -windows_core::imp::com_interface!(IApplicationViewSwitcherStatics, IApplicationViewSwitcherStatics_Vtbl, 0x975f2f1e_e656_4c5e_a0a1_717c6ffa7d64); +windows_core::imp::define_interface!(IApplicationViewSwitcherStatics, IApplicationViewSwitcherStatics_Vtbl, 0x975f2f1e_e656_4c5e_a0a1_717c6ffa7d64); #[repr(C)] pub struct IApplicationViewSwitcherStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -195,20 +195,20 @@ pub struct IApplicationViewSwitcherStatics_Vtbl { pub SwitchFromViewWithOptionsAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, ApplicationViewSwitchingOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PrepareForCustomAnimatedSwitchAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, ApplicationViewSwitchingOptions, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationViewSwitcherStatics2, IApplicationViewSwitcherStatics2_Vtbl, 0x60e995cd_4fc2_48c4_b8e3_395f2b9f0fc1); +windows_core::imp::define_interface!(IApplicationViewSwitcherStatics2, IApplicationViewSwitcherStatics2_Vtbl, 0x60e995cd_4fc2_48c4_b8e3_395f2b9f0fc1); #[repr(C)] pub struct IApplicationViewSwitcherStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub DisableSystemViewActivationPolicy: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationViewSwitcherStatics3, IApplicationViewSwitcherStatics3_Vtbl, 0x92059420_80a7_486d_b21f_c7a4a242a383); +windows_core::imp::define_interface!(IApplicationViewSwitcherStatics3, IApplicationViewSwitcherStatics3_Vtbl, 0x92059420_80a7_486d_b21f_c7a4a242a383); #[repr(C)] pub struct IApplicationViewSwitcherStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryShowAsViewModeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, ApplicationViewMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TryShowAsViewModeWithPreferencesAsync: unsafe extern "system" fn(*mut core::ffi::c_void, i32, ApplicationViewMode, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationViewTitleBar, IApplicationViewTitleBar_Vtbl, 0x00924ac0_932b_4a6b_9c4b_dc38c82478ce); +windows_core::imp::define_interface!(IApplicationViewTitleBar, IApplicationViewTitleBar_Vtbl, 0x00924ac0_932b_4a6b_9c4b_dc38c82478ce); #[repr(C)] pub struct IApplicationViewTitleBar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -237,26 +237,26 @@ pub struct IApplicationViewTitleBar_Vtbl { pub SetButtonInactiveBackgroundColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ButtonInactiveBackgroundColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationViewTransferContext, IApplicationViewTransferContext_Vtbl, 0x8574bc63_3c17_408e_9408_8a1a9ea81bfa); +windows_core::imp::define_interface!(IApplicationViewTransferContext, IApplicationViewTransferContext_Vtbl, 0x8574bc63_3c17_408e_9408_8a1a9ea81bfa); #[repr(C)] pub struct IApplicationViewTransferContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ViewId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetViewId: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationViewTransferContextStatics, IApplicationViewTransferContextStatics_Vtbl, 0x15a89d92_dd79_4b0b_bc47_d5f195f14661); +windows_core::imp::define_interface!(IApplicationViewTransferContextStatics, IApplicationViewTransferContextStatics_Vtbl, 0x15a89d92_dd79_4b0b_bc47_d5f195f14661); #[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, } -windows_core::imp::com_interface!(IApplicationViewWithContext, IApplicationViewWithContext_Vtbl, 0xbd55d512_9dc1_44fc_8501_666625df60dc); +windows_core::imp::define_interface!(IApplicationViewWithContext, IApplicationViewWithContext_Vtbl, 0xbd55d512_9dc1_44fc_8501_666625df60dc); #[repr(C)] pub struct IApplicationViewWithContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UIContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputPane, IInputPane_Vtbl, 0x640ada70_06f3_4c87_a678_9829c9127c28); +windows_core::imp::define_interface!(IInputPane, IInputPane_Vtbl, 0x640ada70_06f3_4c87_a678_9829c9127c28); #[repr(C)] pub struct IInputPane_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -266,33 +266,33 @@ pub struct IInputPane_Vtbl { pub RemoveHiding: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub OccludedRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputPane2, IInputPane2_Vtbl, 0x8a6b3f26_7090_4793_944c_c3f2cde26276); +windows_core::imp::define_interface!(IInputPane2, IInputPane2_Vtbl, 0x8a6b3f26_7090_4793_944c_c3f2cde26276); #[repr(C)] pub struct IInputPane2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub TryShow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub TryHide: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputPaneControl, IInputPaneControl_Vtbl, 0x088bb24f_962f_489d_aa6e_c6be1a0a6e52); +windows_core::imp::define_interface!(IInputPaneControl, IInputPaneControl_Vtbl, 0x088bb24f_962f_489d_aa6e_c6be1a0a6e52); #[repr(C)] pub struct IInputPaneControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Visible: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetVisible: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputPaneStatics, IInputPaneStatics_Vtbl, 0x95f4af3a_ef47_424a_9741_fd2815eba2bd); +windows_core::imp::define_interface!(IInputPaneStatics, IInputPaneStatics_Vtbl, 0x95f4af3a_ef47_424a_9741_fd2815eba2bd); #[repr(C)] pub struct IInputPaneStatics_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, } -windows_core::imp::com_interface!(IInputPaneStatics2, IInputPaneStatics2_Vtbl, 0x1b63529b_d9ec_4531_8445_71bab9fb828e); +windows_core::imp::define_interface!(IInputPaneStatics2, IInputPaneStatics2_Vtbl, 0x1b63529b_d9ec_4531_8445_71bab9fb828e); #[repr(C)] pub struct IInputPaneStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForUIContext: 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::com_interface!(IInputPaneVisibilityEventArgs, IInputPaneVisibilityEventArgs_Vtbl, 0xd243e016_d907_4fcc_bb8d_f77baa5028f1); +windows_core::imp::define_interface!(IInputPaneVisibilityEventArgs, IInputPaneVisibilityEventArgs_Vtbl, 0xd243e016_d907_4fcc_bb8d_f77baa5028f1); #[repr(C)] pub struct IInputPaneVisibilityEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -300,7 +300,7 @@ pub struct IInputPaneVisibilityEventArgs_Vtbl { pub SetEnsuredFocusedElementInView: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub EnsuredFocusedElementInView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProjectionManagerStatics, IProjectionManagerStatics_Vtbl, 0xb65f913d_e2f0_4ffd_ba95_34241647e45c); +windows_core::imp::define_interface!(IProjectionManagerStatics, IProjectionManagerStatics_Vtbl, 0xb65f913d_e2f0_4ffd_ba95_34241647e45c); #[repr(C)] pub struct IProjectionManagerStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -311,7 +311,7 @@ pub struct IProjectionManagerStatics_Vtbl { pub ProjectionDisplayAvailableChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveProjectionDisplayAvailableChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProjectionManagerStatics2, IProjectionManagerStatics2_Vtbl, 0xf33d2f43_2749_4cde_b977_c0c41e7415d1); +windows_core::imp::define_interface!(IProjectionManagerStatics2, IProjectionManagerStatics2_Vtbl, 0xf33d2f43_2749_4cde_b977_c0c41e7415d1); #[repr(C)] pub struct IProjectionManagerStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -326,7 +326,7 @@ pub struct IProjectionManagerStatics2_Vtbl { RequestStartProjectingWithPlacementAsync: usize, pub GetDeviceSelector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStatusBar, IStatusBar_Vtbl, 0x0ffcc5bf_98d0_4864_b1e8_b3f4020be8b4); +windows_core::imp::define_interface!(IStatusBar, IStatusBar_Vtbl, 0x0ffcc5bf_98d0_4864_b1e8_b3f4020be8b4); #[repr(C)] pub struct IStatusBar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -345,7 +345,7 @@ pub struct IStatusBar_Vtbl { pub Hiding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveHiding: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStatusBarProgressIndicator, IStatusBarProgressIndicator_Vtbl, 0x76cb2670_a3d7_49cf_8200_4f3eedca27bb); +windows_core::imp::define_interface!(IStatusBarProgressIndicator, IStatusBarProgressIndicator_Vtbl, 0x76cb2670_a3d7_49cf_8200_4f3eedca27bb); #[repr(C)] pub struct IStatusBarProgressIndicator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -356,13 +356,13 @@ pub struct IStatusBarProgressIndicator_Vtbl { 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, } -windows_core::imp::com_interface!(IStatusBarStatics, IStatusBarStatics_Vtbl, 0x8b463fdf_422f_4561_8806_fb1289cadfb7); +windows_core::imp::define_interface!(IStatusBarStatics, IStatusBarStatics_Vtbl, 0x8b463fdf_422f_4561_8806_fb1289cadfb7); #[repr(C)] pub struct IStatusBarStatics_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, } -windows_core::imp::com_interface!(IUISettings, IUISettings_Vtbl, 0x85361600_1c63_4627_bcb1_3a89e0bc9c55); +windows_core::imp::define_interface!(IUISettings, IUISettings_Vtbl, 0x85361600_1c63_4627_bcb1_3a89e0bc9c55); #[repr(C)] pub struct IUISettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -380,7 +380,7 @@ pub struct IUISettings_Vtbl { pub MouseHoverTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UIElementColor: unsafe extern "system" fn(*mut core::ffi::c_void, UIElementType, *mut super::Color) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUISettings2, IUISettings2_Vtbl, 0xbad82401_2721_44f9_bb91_2bb228be442f); +windows_core::imp::define_interface!(IUISettings2, IUISettings2_Vtbl, 0xbad82401_2721_44f9_bb91_2bb228be442f); #[repr(C)] pub struct IUISettings2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -388,7 +388,7 @@ pub struct IUISettings2_Vtbl { pub TextScaleFactorChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveTextScaleFactorChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUISettings3, IUISettings3_Vtbl, 0x03021be4_5254_4781_8194_5168f7d06d7b); +windows_core::imp::define_interface!(IUISettings3, IUISettings3_Vtbl, 0x03021be4_5254_4781_8194_5168f7d06d7b); #[repr(C)] pub struct IUISettings3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -396,7 +396,7 @@ pub struct IUISettings3_Vtbl { pub ColorValuesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveColorValuesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUISettings4, IUISettings4_Vtbl, 0x52bb3002_919b_4d6b_9b78_8dd66ff4b93b); +windows_core::imp::define_interface!(IUISettings4, IUISettings4_Vtbl, 0x52bb3002_919b_4d6b_9b78_8dd66ff4b93b); #[repr(C)] pub struct IUISettings4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -404,7 +404,7 @@ pub struct IUISettings4_Vtbl { pub AdvancedEffectsEnabledChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAdvancedEffectsEnabledChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUISettings5, IUISettings5_Vtbl, 0x5349d588_0cb5_5f05_bd34_706b3231f0bd); +windows_core::imp::define_interface!(IUISettings5, IUISettings5_Vtbl, 0x5349d588_0cb5_5f05_bd34_706b3231f0bd); #[repr(C)] pub struct IUISettings5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -412,7 +412,7 @@ pub struct IUISettings5_Vtbl { pub AutoHideScrollBarsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAutoHideScrollBarsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUISettings6, IUISettings6_Vtbl, 0xaef19bd7_fe31_5a04_ada4_469aaec6dfa9); +windows_core::imp::define_interface!(IUISettings6, IUISettings6_Vtbl, 0xaef19bd7_fe31_5a04_ada4_469aaec6dfa9); #[repr(C)] pub struct IUISettings6_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -421,34 +421,34 @@ pub struct IUISettings6_Vtbl { pub MessageDurationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveMessageDurationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUISettingsAnimationsEnabledChangedEventArgs, IUISettingsAnimationsEnabledChangedEventArgs_Vtbl, 0x0c7b4b3d_2ea1_533e_894d_415bc5243c29); +windows_core::imp::define_interface!(IUISettingsAnimationsEnabledChangedEventArgs, IUISettingsAnimationsEnabledChangedEventArgs_Vtbl, 0x0c7b4b3d_2ea1_533e_894d_415bc5243c29); #[repr(C)] pub struct IUISettingsAnimationsEnabledChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IUISettingsAutoHideScrollBarsChangedEventArgs, IUISettingsAutoHideScrollBarsChangedEventArgs_Vtbl, 0x87afd4b2_9146_5f02_8f6b_06d454174c0f); +windows_core::imp::define_interface!(IUISettingsAutoHideScrollBarsChangedEventArgs, IUISettingsAutoHideScrollBarsChangedEventArgs_Vtbl, 0x87afd4b2_9146_5f02_8f6b_06d454174c0f); #[repr(C)] pub struct IUISettingsAutoHideScrollBarsChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IUISettingsMessageDurationChangedEventArgs, IUISettingsMessageDurationChangedEventArgs_Vtbl, 0x338aad52_4a5d_5b59_8002_d930f608fd6e); +windows_core::imp::define_interface!(IUISettingsMessageDurationChangedEventArgs, IUISettingsMessageDurationChangedEventArgs_Vtbl, 0x338aad52_4a5d_5b59_8002_d930f608fd6e); #[repr(C)] pub struct IUISettingsMessageDurationChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IUIViewSettings, IUIViewSettings_Vtbl, 0xc63657f6_8850_470d_88f8_455e16ea2c26); +windows_core::imp::define_interface!(IUIViewSettings, IUIViewSettings_Vtbl, 0xc63657f6_8850_470d_88f8_455e16ea2c26); #[repr(C)] pub struct IUIViewSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UserInteractionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UserInteractionMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIViewSettingsStatics, IUIViewSettingsStatics_Vtbl, 0x595c97a5_f8f6_41cf_b0fb_aacdb81fd5f6); +windows_core::imp::define_interface!(IUIViewSettingsStatics, IUIViewSettingsStatics_Vtbl, 0x595c97a5_f8f6_41cf_b0fb_aacdb81fd5f6); #[repr(C)] pub struct IUIViewSettingsStatics_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, } -windows_core::imp::com_interface!(IViewModePreferences, IViewModePreferences_Vtbl, 0x878fcd3a_0b99_42c9_84d0_d3f1d403554b); +windows_core::imp::define_interface!(IViewModePreferences, IViewModePreferences_Vtbl, 0x878fcd3a_0b99_42c9_84d0_d3f1d403554b); #[repr(C)] pub struct IViewModePreferences_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -457,7 +457,7 @@ pub struct IViewModePreferences_Vtbl { pub CustomSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Size) -> windows_core::HRESULT, pub SetCustomSize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::Size) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IViewModePreferencesStatics, IViewModePreferencesStatics_Vtbl, 0x69b60a65_5de5_40d8_8306_3833df7a2274); +windows_core::imp::define_interface!(IViewModePreferencesStatics, IViewModePreferencesStatics_Vtbl, 0x69b60a65_5de5_40d8_8306_3833df7a2274); #[repr(C)] pub struct IViewModePreferencesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 96161b327b..77999abf9a 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IWebUICommandBar, IWebUICommandBar_Vtbl, 0xa4fc0016_dbe5_41ad_8d7b_14698bd6911d); +windows_core::imp::define_interface!(IWebUICommandBar, IWebUICommandBar_Vtbl, 0xa4fc0016_dbe5_41ad_8d7b_14698bd6911d); #[repr(C)] pub struct IWebUICommandBar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -30,20 +30,20 @@ pub struct IWebUICommandBar_Vtbl { pub SizeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveSizeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUICommandBarBitmapIcon, IWebUICommandBarBitmapIcon_Vtbl, 0x858f4f45_08d8_4a46_81ec_00015b0b1c6c); +windows_core::imp::define_interface!(IWebUICommandBarBitmapIcon, IWebUICommandBarBitmapIcon_Vtbl, 0x858f4f45_08d8_4a46_81ec_00015b0b1c6c); #[repr(C)] pub struct IWebUICommandBarBitmapIcon_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, } -windows_core::imp::com_interface!(IWebUICommandBarBitmapIconFactory, IWebUICommandBarBitmapIconFactory_Vtbl, 0xf3f7d78a_7673_444a_be62_ac12d31c2231); +windows_core::imp::define_interface!(IWebUICommandBarBitmapIconFactory, IWebUICommandBarBitmapIconFactory_Vtbl, 0xf3f7d78a_7673_444a_be62_ac12d31c2231); #[repr(C)] pub struct IWebUICommandBarBitmapIconFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUICommandBarConfirmationButton, IWebUICommandBarConfirmationButton_Vtbl, 0x86e7824a_e3d5_4eb6_b2ff_8f018a172105); +windows_core::imp::define_interface!(IWebUICommandBarConfirmationButton, IWebUICommandBarConfirmationButton_Vtbl, 0x86e7824a_e3d5_4eb6_b2ff_8f018a172105); #[repr(C)] pub struct IWebUICommandBarConfirmationButton_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -52,7 +52,7 @@ pub struct IWebUICommandBarConfirmationButton_Vtbl { 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, } -windows_core::imp::com_interface!(IWebUICommandBarElement, IWebUICommandBarElement_Vtbl, 0xc9069ec2_284a_4633_8aad_637a27e282c3); +windows_core::imp::define_interface!(IWebUICommandBarElement, IWebUICommandBarElement_Vtbl, 0xc9069ec2_284a_4633_8aad_637a27e282c3); windows_core::imp::interface_hierarchy!(IWebUICommandBarElement, windows_core::IUnknown, windows_core::IInspectable); impl IWebUICommandBarElement {} impl windows_core::RuntimeType for IWebUICommandBarElement { @@ -62,7 +62,7 @@ impl windows_core::RuntimeType for IWebUICommandBarElement { pub struct IWebUICommandBarElement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IWebUICommandBarIcon, IWebUICommandBarIcon_Vtbl, 0xd587655d_2014_42be_969a_7d14ca6c8a49); +windows_core::imp::define_interface!(IWebUICommandBarIcon, IWebUICommandBarIcon_Vtbl, 0xd587655d_2014_42be_969a_7d14ca6c8a49); windows_core::imp::interface_hierarchy!(IWebUICommandBarIcon, windows_core::IUnknown, windows_core::IInspectable); impl IWebUICommandBarIcon {} impl windows_core::RuntimeType for IWebUICommandBarIcon { @@ -72,7 +72,7 @@ impl windows_core::RuntimeType for IWebUICommandBarIcon { pub struct IWebUICommandBarIcon_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IWebUICommandBarIconButton, IWebUICommandBarIconButton_Vtbl, 0x8f1bc93a_3a7c_4842_a0cf_aff6ea308586); +windows_core::imp::define_interface!(IWebUICommandBarIconButton, IWebUICommandBarIconButton_Vtbl, 0x8f1bc93a_3a7c_4842_a0cf_aff6ea308586); #[repr(C)] pub struct IWebUICommandBarIconButton_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -89,32 +89,32 @@ pub struct IWebUICommandBarIconButton_Vtbl { 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, } -windows_core::imp::com_interface!(IWebUICommandBarItemInvokedEventArgs, IWebUICommandBarItemInvokedEventArgs_Vtbl, 0x304edbdd_e741_41ef_bdc4_a45cea2a4f70); +windows_core::imp::define_interface!(IWebUICommandBarItemInvokedEventArgs, IWebUICommandBarItemInvokedEventArgs_Vtbl, 0x304edbdd_e741_41ef_bdc4_a45cea2a4f70); #[repr(C)] pub struct IWebUICommandBarItemInvokedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsPrimaryCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUICommandBarSizeChangedEventArgs, IWebUICommandBarSizeChangedEventArgs_Vtbl, 0xfbf1e2f6_3029_4719_8378_92f82b87af1e); +windows_core::imp::define_interface!(IWebUICommandBarSizeChangedEventArgs, IWebUICommandBarSizeChangedEventArgs_Vtbl, 0xfbf1e2f6_3029_4719_8378_92f82b87af1e); #[repr(C)] pub struct IWebUICommandBarSizeChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::Size) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUICommandBarStatics, IWebUICommandBarStatics_Vtbl, 0x1449cdb9_a506_45be_8f42_b2837e2fe0c9); +windows_core::imp::define_interface!(IWebUICommandBarStatics, IWebUICommandBarStatics_Vtbl, 0x1449cdb9_a506_45be_8f42_b2837e2fe0c9); #[repr(C)] pub struct IWebUICommandBarStatics_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, } -windows_core::imp::com_interface!(IWebUICommandBarSymbolIcon, IWebUICommandBarSymbolIcon_Vtbl, 0xd4935477_fd26_46ed_8658_1a3f4400e7b3); +windows_core::imp::define_interface!(IWebUICommandBarSymbolIcon, IWebUICommandBarSymbolIcon_Vtbl, 0xd4935477_fd26_46ed_8658_1a3f4400e7b3); #[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, } -windows_core::imp::com_interface!(IWebUICommandBarSymbolIconFactory, IWebUICommandBarSymbolIconFactory_Vtbl, 0x51be1a1f_3730_429e_b622_14e2b7bf6a07); +windows_core::imp::define_interface!(IWebUICommandBarSymbolIconFactory, IWebUICommandBarSymbolIconFactory_Vtbl, 0x51be1a1f_3730_429e_b622_14e2b7bf6a07); #[repr(C)] pub struct IWebUICommandBarSymbolIconFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -600,7 +600,7 @@ impl core::fmt::Debug for WebUICommandBarClosedDisplayMode { impl windows_core::RuntimeType for WebUICommandBarClosedDisplayMode { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.UI.WebUI.Core.WebUICommandBarClosedDisplayMode;i4)"); } -windows_core::imp::com_interface!(MenuClosedEventHandler, MenuClosedEventHandler_Vtbl, 0x435387c8_4dd0_4c52_9489_d390ce7721d2); +windows_core::imp::define_interface!(MenuClosedEventHandler, MenuClosedEventHandler_Vtbl, 0x435387c8_4dd0_4c52_9489_d390ce7721d2); impl MenuClosedEventHandler { pub fn new windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = MenuClosedEventHandlerBox:: { vtable: &MenuClosedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -657,7 +657,7 @@ pub struct MenuClosedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(MenuOpenedEventHandler, MenuOpenedEventHandler_Vtbl, 0x18dc0ad3_678f_4c19_8963_cc1c49a5ef9e); +windows_core::imp::define_interface!(MenuOpenedEventHandler, MenuOpenedEventHandler_Vtbl, 0x18dc0ad3_678f_4c19_8963_cc1c49a5ef9e); impl MenuOpenedEventHandler { pub fn new windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = MenuOpenedEventHandlerBox:: { vtable: &MenuOpenedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -714,7 +714,7 @@ pub struct MenuOpenedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(SizeChangedEventHandler, SizeChangedEventHandler_Vtbl, 0xd49cfe3c_dd2e_4c28_b627_303a7f911af5); +windows_core::imp::define_interface!(SizeChangedEventHandler, SizeChangedEventHandler_Vtbl, 0xd49cfe3c_dd2e_4c28_b627_303a7f911af5); impl SizeChangedEventHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = SizeChangedEventHandlerBox:: { vtable: &SizeChangedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; diff --git a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs index b5dce9054f..2b6ab7ef6a 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs @@ -1,12 +1,12 @@ #[cfg(feature = "UI_WebUI_Core")] pub mod Core; -windows_core::imp::com_interface!(IActivatedDeferral, IActivatedDeferral_Vtbl, 0xc3bd1978_a431_49d8_a76a_395a4e03dcf3); +windows_core::imp::define_interface!(IActivatedDeferral, IActivatedDeferral_Vtbl, 0xc3bd1978_a431_49d8_a76a_395a4e03dcf3); #[repr(C)] pub struct IActivatedDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivatedEventArgsDeferral, IActivatedEventArgsDeferral_Vtbl, 0xca6d5f74_63c2_44a6_b97b_d9a03c20bc9b); +windows_core::imp::define_interface!(IActivatedEventArgsDeferral, IActivatedEventArgsDeferral_Vtbl, 0xca6d5f74_63c2_44a6_b97b_d9a03c20bc9b); windows_core::imp::interface_hierarchy!(IActivatedEventArgsDeferral, windows_core::IUnknown, windows_core::IInspectable); impl IActivatedEventArgsDeferral { pub fn ActivatedOperation(&self) -> windows_core::Result { @@ -25,13 +25,13 @@ pub struct IActivatedEventArgsDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ActivatedOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivatedOperation, IActivatedOperation_Vtbl, 0xb6a0b4bc_c6ca_42fd_9818_71904e45fed7); +windows_core::imp::define_interface!(IActivatedOperation, IActivatedOperation_Vtbl, 0xb6a0b4bc_c6ca_42fd_9818_71904e45fed7); #[repr(C)] pub struct IActivatedOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHtmlPrintDocumentSource, IHtmlPrintDocumentSource_Vtbl, 0xcea6469a_0e05_467a_abc9_36ec1d4cdcb6); +windows_core::imp::define_interface!(IHtmlPrintDocumentSource, IHtmlPrintDocumentSource_Vtbl, 0xcea6469a_0e05_467a_abc9_36ec1d4cdcb6); #[repr(C)] pub struct IHtmlPrintDocumentSource_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -54,7 +54,7 @@ pub struct IHtmlPrintDocumentSource_Vtbl { 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, } -windows_core::imp::com_interface!(INewWebUIViewCreatedEventArgs, INewWebUIViewCreatedEventArgs_Vtbl, 0xe8e1b216_be2b_4c9e_85e7_083143ec4be7); +windows_core::imp::define_interface!(INewWebUIViewCreatedEventArgs, INewWebUIViewCreatedEventArgs_Vtbl, 0xe8e1b216_be2b_4c9e_85e7_083143ec4be7); #[repr(C)] pub struct INewWebUIViewCreatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -66,7 +66,7 @@ pub struct INewWebUIViewCreatedEventArgs_Vtbl { pub HasPendingNavigate: 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, } -windows_core::imp::com_interface!(IWebUIActivationStatics, IWebUIActivationStatics_Vtbl, 0x351b86bd_43b3_482b_85db_35d87b517ad9); +windows_core::imp::define_interface!(IWebUIActivationStatics, IWebUIActivationStatics_Vtbl, 0x351b86bd_43b3_482b_85db_35d87b517ad9); #[repr(C)] pub struct IWebUIActivationStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -85,7 +85,7 @@ pub struct IWebUIActivationStatics_Vtbl { pub Navigated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveNavigated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUIActivationStatics2, IWebUIActivationStatics2_Vtbl, 0xc8e88696_4d78_4aa4_8f06_2a9eadc6c40a); +windows_core::imp::define_interface!(IWebUIActivationStatics2, IWebUIActivationStatics2_Vtbl, 0xc8e88696_4d78_4aa4_8f06_2a9eadc6c40a); #[repr(C)] pub struct IWebUIActivationStatics2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -101,7 +101,7 @@ pub struct IWebUIActivationStatics2_Vtbl { pub RemoveEnteredBackground: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub EnablePrelaunch: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUIActivationStatics3, IWebUIActivationStatics3_Vtbl, 0x91abb686_1af5_4445_b49f_9459f40fc8de); +windows_core::imp::define_interface!(IWebUIActivationStatics3, IWebUIActivationStatics3_Vtbl, 0x91abb686_1af5_4445_b49f_9459f40fc8de); #[repr(C)] pub struct IWebUIActivationStatics3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -114,7 +114,7 @@ pub struct IWebUIActivationStatics3_Vtbl { #[cfg(not(all(feature = "ApplicationModel_Core", feature = "System")))] RequestRestartForUserAsync: usize, } -windows_core::imp::com_interface!(IWebUIActivationStatics4, IWebUIActivationStatics4_Vtbl, 0x5e391429_183f_478d_8a25_67f80d03935b); +windows_core::imp::define_interface!(IWebUIActivationStatics4, IWebUIActivationStatics4_Vtbl, 0x5e391429_183f_478d_8a25_67f80d03935b); #[repr(C)] pub struct IWebUIActivationStatics4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -126,7 +126,7 @@ pub struct IWebUIActivationStatics4_Vtbl { BackgroundActivated: usize, pub RemoveBackgroundActivated: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUIBackgroundTaskInstance, IWebUIBackgroundTaskInstance_Vtbl, 0x23f12c25_e2f7_4741_bc9c_394595de24dc); +windows_core::imp::define_interface!(IWebUIBackgroundTaskInstance, IWebUIBackgroundTaskInstance_Vtbl, 0x23f12c25_e2f7_4741_bc9c_394595de24dc); windows_core::imp::interface_hierarchy!(IWebUIBackgroundTaskInstance, windows_core::IUnknown, windows_core::IInspectable); impl IWebUIBackgroundTaskInstance { pub fn Succeeded(&self) -> windows_core::Result { @@ -150,19 +150,19 @@ pub struct IWebUIBackgroundTaskInstance_Vtbl { pub Succeeded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetSucceeded: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUIBackgroundTaskInstanceStatics, IWebUIBackgroundTaskInstanceStatics_Vtbl, 0x9c7a5291_19ae_4ca3_b94b_fe4ec744a740); +windows_core::imp::define_interface!(IWebUIBackgroundTaskInstanceStatics, IWebUIBackgroundTaskInstanceStatics_Vtbl, 0x9c7a5291_19ae_4ca3_b94b_fe4ec744a740); #[repr(C)] pub struct IWebUIBackgroundTaskInstanceStatics_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, } -windows_core::imp::com_interface!(IWebUINavigatedDeferral, IWebUINavigatedDeferral_Vtbl, 0xd804204d_831f_46e2_b432_3afce211f962); +windows_core::imp::define_interface!(IWebUINavigatedDeferral, IWebUINavigatedDeferral_Vtbl, 0xd804204d_831f_46e2_b432_3afce211f962); #[repr(C)] pub struct IWebUINavigatedDeferral_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUINavigatedEventArgs, IWebUINavigatedEventArgs_Vtbl, 0xa75841b8_2499_4030_a69d_15d2d9cfe524); +windows_core::imp::define_interface!(IWebUINavigatedEventArgs, IWebUINavigatedEventArgs_Vtbl, 0xa75841b8_2499_4030_a69d_15d2d9cfe524); windows_core::imp::interface_hierarchy!(IWebUINavigatedEventArgs, windows_core::IUnknown, windows_core::IInspectable); impl IWebUINavigatedEventArgs { pub fn NavigatedOperation(&self) -> windows_core::Result { @@ -181,13 +181,13 @@ pub struct IWebUINavigatedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub NavigatedOperation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUINavigatedOperation, IWebUINavigatedOperation_Vtbl, 0x7a965f08_8182_4a89_ab67_8492e8750d4b); +windows_core::imp::define_interface!(IWebUINavigatedOperation, IWebUINavigatedOperation_Vtbl, 0x7a965f08_8182_4a89_ab67_8492e8750d4b); #[repr(C)] pub struct IWebUINavigatedOperation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUIView, IWebUIView_Vtbl, 0x6783f64f_52da_4fd7_be69_8ef6284b423c); +windows_core::imp::define_interface!(IWebUIView, IWebUIView_Vtbl, 0x6783f64f_52da_4fd7_be69_8ef6284b423c); #[repr(C)] pub struct IWebUIView_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -202,7 +202,7 @@ pub struct IWebUIView_Vtbl { pub IgnoreApplicationContentUriRulesNavigationRestrictions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIgnoreApplicationContentUriRulesNavigationRestrictions: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebUIViewStatics, IWebUIViewStatics_Vtbl, 0xb591e668_8e59_44f9_8803_1b24c9149d30); +windows_core::imp::define_interface!(IWebUIViewStatics, IWebUIViewStatics_Vtbl, 0xb591e668_8e59_44f9_8803_1b24c9149d30); #[repr(C)] pub struct IWebUIViewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -5083,7 +5083,7 @@ impl windows_core::RuntimeType for PrintContent { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.UI.WebUI.PrintContent;i4)"); } #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::com_interface!(ActivatedEventHandler, ActivatedEventHandler_Vtbl, 0x50f1e730_c5d1_4b6b_9adb_8a11756be29c); +windows_core::imp::define_interface!(ActivatedEventHandler, ActivatedEventHandler_Vtbl, 0x50f1e730_c5d1_4b6b_9adb_8a11756be29c); #[cfg(feature = "ApplicationModel_Activation")] impl ActivatedEventHandler { pub fn new, Option<&super::super::ApplicationModel::Activation::IActivatedEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { @@ -5154,7 +5154,7 @@ pub struct ActivatedEventHandler_Vtbl { Invoke: usize, } #[cfg(feature = "ApplicationModel_Activation")] -windows_core::imp::com_interface!(BackgroundActivatedEventHandler, BackgroundActivatedEventHandler_Vtbl, 0xedb19fbb_0761_47cc_9a77_24d7072965ca); +windows_core::imp::define_interface!(BackgroundActivatedEventHandler, BackgroundActivatedEventHandler_Vtbl, 0xedb19fbb_0761_47cc_9a77_24d7072965ca); #[cfg(feature = "ApplicationModel_Activation")] impl BackgroundActivatedEventHandler { pub fn new, Option<&super::super::ApplicationModel::Activation::IBackgroundActivatedEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { @@ -5225,7 +5225,7 @@ pub struct BackgroundActivatedEventHandler_Vtbl { Invoke: usize, } #[cfg(feature = "ApplicationModel")] -windows_core::imp::com_interface!(EnteredBackgroundEventHandler, EnteredBackgroundEventHandler_Vtbl, 0x2b09a173_b68e_4def_88c1_8de84e5aab2f); +windows_core::imp::define_interface!(EnteredBackgroundEventHandler, EnteredBackgroundEventHandler_Vtbl, 0x2b09a173_b68e_4def_88c1_8de84e5aab2f); #[cfg(feature = "ApplicationModel")] impl EnteredBackgroundEventHandler { pub fn new, Option<&super::super::ApplicationModel::IEnteredBackgroundEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { @@ -5296,7 +5296,7 @@ pub struct EnteredBackgroundEventHandler_Vtbl { Invoke: usize, } #[cfg(feature = "ApplicationModel")] -windows_core::imp::com_interface!(LeavingBackgroundEventHandler, LeavingBackgroundEventHandler_Vtbl, 0x00b4ccd9_7a9c_4b6b_9ac4_13474f268bc4); +windows_core::imp::define_interface!(LeavingBackgroundEventHandler, LeavingBackgroundEventHandler_Vtbl, 0x00b4ccd9_7a9c_4b6b_9ac4_13474f268bc4); #[cfg(feature = "ApplicationModel")] impl LeavingBackgroundEventHandler { pub fn new, Option<&super::super::ApplicationModel::ILeavingBackgroundEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { @@ -5366,7 +5366,7 @@ pub struct LeavingBackgroundEventHandler_Vtbl { #[cfg(not(feature = "ApplicationModel"))] Invoke: usize, } -windows_core::imp::com_interface!(NavigatedEventHandler, NavigatedEventHandler_Vtbl, 0x7af46fe6_40ca_4e49_a7d6_dbdb330cd1a3); +windows_core::imp::define_interface!(NavigatedEventHandler, NavigatedEventHandler_Vtbl, 0x7af46fe6_40ca_4e49_a7d6_dbdb330cd1a3); impl NavigatedEventHandler { pub fn new, Option<&IWebUINavigatedEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = NavigatedEventHandlerBox:: { vtable: &NavigatedEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -5427,7 +5427,7 @@ pub struct NavigatedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: 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::com_interface!(ResumingEventHandler, ResumingEventHandler_Vtbl, 0x26599ba9_a22d_4806_a728_acadc1d075fa); +windows_core::imp::define_interface!(ResumingEventHandler, ResumingEventHandler_Vtbl, 0x26599ba9_a22d_4806_a728_acadc1d075fa); impl ResumingEventHandler { pub fn new) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { let com = ResumingEventHandlerBox:: { vtable: &ResumingEventHandlerBox::::VTABLE, count: windows_core::imp::RefCount::new(1), invoke }; @@ -5488,7 +5488,7 @@ pub struct ResumingEventHandler_Vtbl { pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "ApplicationModel")] -windows_core::imp::com_interface!(SuspendingEventHandler, SuspendingEventHandler_Vtbl, 0x509c429c_78e2_4883_abc8_8960dcde1b5c); +windows_core::imp::define_interface!(SuspendingEventHandler, SuspendingEventHandler_Vtbl, 0x509c429c_78e2_4883_abc8_8960dcde1b5c); #[cfg(feature = "ApplicationModel")] impl SuspendingEventHandler { pub fn new, Option<&super::super::ApplicationModel::ISuspendingEventArgs>) -> windows_core::Result<()> + Send + 'static>(invoke: F) -> Self { diff --git a/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs b/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs index c04af304e3..619c9ad3bb 100644 --- a/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WindowManagement/Preview/mod.rs @@ -1,9 +1,9 @@ -windows_core::imp::com_interface!(IWindowManagementPreview, IWindowManagementPreview_Vtbl, 0x4ef55b0d_561d_513c_a67c_2c02b69cef41); +windows_core::imp::define_interface!(IWindowManagementPreview, IWindowManagementPreview_Vtbl, 0x4ef55b0d_561d_513c_a67c_2c02b69cef41); #[repr(C)] pub struct IWindowManagementPreview_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IWindowManagementPreviewStatics, IWindowManagementPreviewStatics_Vtbl, 0x0f9725c6_c004_5a23_8fd2_8d092ce2704a); +windows_core::imp::define_interface!(IWindowManagementPreviewStatics, IWindowManagementPreviewStatics_Vtbl, 0x0f9725c6_c004_5a23_8fd2_8d092ce2704a); #[repr(C)] pub struct IWindowManagementPreviewStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs index 2e6b59b2f6..09ed84c80c 100644 --- a/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WindowManagement/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "UI_WindowManagement_Preview")] pub mod Preview; -windows_core::imp::com_interface!(IAppWindow, IAppWindow_Vtbl, 0x663014a6_b75e_5dbd_995c_f0117fa3fb61); +windows_core::imp::define_interface!(IAppWindow, IAppWindow_Vtbl, 0x663014a6_b75e_5dbd_995c_f0117fa3fb61); #[repr(C)] pub struct IAppWindow_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -40,7 +40,7 @@ pub struct IAppWindow_Vtbl { pub CloseRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveCloseRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppWindowChangedEventArgs, IAppWindowChangedEventArgs_Vtbl, 0x1de1f3be_a655_55ad_b2b6_eb240f880356); +windows_core::imp::define_interface!(IAppWindowChangedEventArgs, IAppWindowChangedEventArgs_Vtbl, 0x1de1f3be_a655_55ad_b2b6_eb240f880356); #[repr(C)] pub struct IAppWindowChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,7 +53,7 @@ pub struct IAppWindowChangedEventArgs_Vtbl { pub DidWindowingEnvironmentChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub DidWindowPresentationChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppWindowCloseRequestedEventArgs, IAppWindowCloseRequestedEventArgs_Vtbl, 0xe9ff01da_e7a2_57a8_8b5e_39c4003afdbb); +windows_core::imp::define_interface!(IAppWindowCloseRequestedEventArgs, IAppWindowCloseRequestedEventArgs_Vtbl, 0xe9ff01da_e7a2_57a8_8b5e_39c4003afdbb); #[repr(C)] pub struct IAppWindowCloseRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -61,13 +61,13 @@ pub struct IAppWindowCloseRequestedEventArgs_Vtbl { pub SetCancel: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> 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::com_interface!(IAppWindowClosedEventArgs, IAppWindowClosedEventArgs_Vtbl, 0xcc7df816_9520_5a06_821e_456ad8b358aa); +windows_core::imp::define_interface!(IAppWindowClosedEventArgs, IAppWindowClosedEventArgs_Vtbl, 0xcc7df816_9520_5a06_821e_456ad8b358aa); #[repr(C)] pub struct IAppWindowClosedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppWindowClosedReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppWindowFrame, IAppWindowFrame_Vtbl, 0x9ee22601_7e5d_52af_846b_01dc6c296567); +windows_core::imp::define_interface!(IAppWindowFrame, IAppWindowFrame_Vtbl, 0x9ee22601_7e5d_52af_846b_01dc6c296567); #[repr(C)] pub struct IAppWindowFrame_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -76,14 +76,14 @@ pub struct IAppWindowFrame_Vtbl { #[cfg(not(all(feature = "Foundation_Collections", feature = "UI_Composition")))] DragRegionVisuals: usize, } -windows_core::imp::com_interface!(IAppWindowFrameStyle, IAppWindowFrameStyle_Vtbl, 0xac412946_e1ac_5230_944a_c60873dcf4a9); +windows_core::imp::define_interface!(IAppWindowFrameStyle, IAppWindowFrameStyle_Vtbl, 0xac412946_e1ac_5230_944a_c60873dcf4a9); #[repr(C)] pub struct IAppWindowFrameStyle_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetFrameStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppWindowFrameStyle) -> windows_core::HRESULT, pub SetFrameStyle: unsafe extern "system" fn(*mut core::ffi::c_void, AppWindowFrameStyle) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppWindowPlacement, IAppWindowPlacement_Vtbl, 0x03dc815e_e7a9_5857_9c03_7d670594410e); +windows_core::imp::define_interface!(IAppWindowPlacement, IAppWindowPlacement_Vtbl, 0x03dc815e_e7a9_5857_9c03_7d670594410e); #[repr(C)] pub struct IAppWindowPlacement_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -91,18 +91,18 @@ pub struct IAppWindowPlacement_Vtbl { pub Offset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Point) -> windows_core::HRESULT, pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Size) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppWindowPresentationConfiguration, IAppWindowPresentationConfiguration_Vtbl, 0xb5a43ee3_df33_5e67_bd31_1072457300df); +windows_core::imp::define_interface!(IAppWindowPresentationConfiguration, IAppWindowPresentationConfiguration_Vtbl, 0xb5a43ee3_df33_5e67_bd31_1072457300df); #[repr(C)] pub struct IAppWindowPresentationConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Kind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppWindowPresentationKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppWindowPresentationConfigurationFactory, IAppWindowPresentationConfigurationFactory_Vtbl, 0xfd3606a6_7875_5de8_84ff_6351ee13dd0d); +windows_core::imp::define_interface!(IAppWindowPresentationConfigurationFactory, IAppWindowPresentationConfigurationFactory_Vtbl, 0xfd3606a6_7875_5de8_84ff_6351ee13dd0d); #[repr(C)] pub struct IAppWindowPresentationConfigurationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IAppWindowPresenter, IAppWindowPresenter_Vtbl, 0x5ae9ed73_e1fd_5317_ad78_5a3ed271bbde); +windows_core::imp::define_interface!(IAppWindowPresenter, IAppWindowPresenter_Vtbl, 0x5ae9ed73_e1fd_5317_ad78_5a3ed271bbde); #[repr(C)] pub struct IAppWindowPresenter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -111,7 +111,7 @@ pub struct IAppWindowPresenter_Vtbl { pub RequestPresentation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub RequestPresentationByKind: unsafe extern "system" fn(*mut core::ffi::c_void, AppWindowPresentationKind, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppWindowStatics, IAppWindowStatics_Vtbl, 0xff1f3ea3_b769_50ef_9873_108cd0e89746); +windows_core::imp::define_interface!(IAppWindowStatics, IAppWindowStatics_Vtbl, 0xff1f3ea3_b769_50ef_9873_108cd0e89746); #[repr(C)] pub struct IAppWindowStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -119,7 +119,7 @@ pub struct IAppWindowStatics_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, } -windows_core::imp::com_interface!(IAppWindowTitleBar, IAppWindowTitleBar_Vtbl, 0x6e932c84_f644_541d_a2d7_0c262437842d); +windows_core::imp::define_interface!(IAppWindowTitleBar, IAppWindowTitleBar_Vtbl, 0x6e932c84_f644_541d_a2d7_0c262437842d); #[repr(C)] pub struct IAppWindowTitleBar_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -155,30 +155,30 @@ pub struct IAppWindowTitleBar_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetTitleBarOcclusions: usize, } -windows_core::imp::com_interface!(IAppWindowTitleBarOcclusion, IAppWindowTitleBarOcclusion_Vtbl, 0xfea3cffd_2ccf_5fc3_aeae_f843876bf37e); +windows_core::imp::define_interface!(IAppWindowTitleBarOcclusion, IAppWindowTitleBarOcclusion_Vtbl, 0xfea3cffd_2ccf_5fc3_aeae_f843876bf37e); #[repr(C)] pub struct IAppWindowTitleBarOcclusion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub OccludingRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::Rect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppWindowTitleBarVisibility, IAppWindowTitleBarVisibility_Vtbl, 0xa215a4e3_6e7e_5651_8c3b_624819528154); +windows_core::imp::define_interface!(IAppWindowTitleBarVisibility, IAppWindowTitleBarVisibility_Vtbl, 0xa215a4e3_6e7e_5651_8c3b_624819528154); #[repr(C)] pub struct IAppWindowTitleBarVisibility_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetPreferredVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AppWindowTitleBarVisibility) -> windows_core::HRESULT, pub SetPreferredVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, AppWindowTitleBarVisibility) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompactOverlayPresentationConfiguration, ICompactOverlayPresentationConfiguration_Vtbl, 0xa7e5750f_5730_56c6_8e1f_d63ff4d7980d); +windows_core::imp::define_interface!(ICompactOverlayPresentationConfiguration, ICompactOverlayPresentationConfiguration_Vtbl, 0xa7e5750f_5730_56c6_8e1f_d63ff4d7980d); #[repr(C)] pub struct ICompactOverlayPresentationConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IDefaultPresentationConfiguration, IDefaultPresentationConfiguration_Vtbl, 0xd8c2b53b_2168_5703_a853_d525589fe2b9); +windows_core::imp::define_interface!(IDefaultPresentationConfiguration, IDefaultPresentationConfiguration_Vtbl, 0xd8c2b53b_2168_5703_a853_d525589fe2b9); #[repr(C)] pub struct IDefaultPresentationConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IDisplayRegion, IDisplayRegion_Vtbl, 0xdb50c3a2_4094_5f47_8cb1_ea01ddafaa94); +windows_core::imp::define_interface!(IDisplayRegion, IDisplayRegion_Vtbl, 0xdb50c3a2_4094_5f47_8cb1_ea01ddafaa94); #[repr(C)] pub struct IDisplayRegion_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -190,14 +190,14 @@ pub struct IDisplayRegion_Vtbl { 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, } -windows_core::imp::com_interface!(IFullScreenPresentationConfiguration, IFullScreenPresentationConfiguration_Vtbl, 0x43d3dcd8_d2a8_503d_a626_15533d6d5f62); +windows_core::imp::define_interface!(IFullScreenPresentationConfiguration, IFullScreenPresentationConfiguration_Vtbl, 0x43d3dcd8_d2a8_503d_a626_15533d6d5f62); #[repr(C)] pub struct IFullScreenPresentationConfiguration_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub IsExclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetIsExclusive: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowServicesStatics, IWindowServicesStatics_Vtbl, 0xcff4d519_50a6_5c64_97f6_c2d96add7f42); +windows_core::imp::define_interface!(IWindowServicesStatics, IWindowServicesStatics_Vtbl, 0xcff4d519_50a6_5c64_97f6_c2d96add7f42); #[repr(C)] pub struct IWindowServicesStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -206,7 +206,7 @@ pub struct IWindowServicesStatics_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] FindAllTopLevelWindowIds: usize, } -windows_core::imp::com_interface!(IWindowingEnvironment, IWindowingEnvironment_Vtbl, 0x264363c0_2a49_5417_b3ae_48a71c63a3bd); +windows_core::imp::define_interface!(IWindowingEnvironment, IWindowingEnvironment_Vtbl, 0x264363c0_2a49_5417_b3ae_48a71c63a3bd); #[repr(C)] pub struct IWindowingEnvironment_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -219,24 +219,24 @@ pub struct IWindowingEnvironment_Vtbl { 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, } -windows_core::imp::com_interface!(IWindowingEnvironmentAddedEventArgs, IWindowingEnvironmentAddedEventArgs_Vtbl, 0xff2a5b7f_f183_5c66_99b2_429082069299); +windows_core::imp::define_interface!(IWindowingEnvironmentAddedEventArgs, IWindowingEnvironmentAddedEventArgs_Vtbl, 0xff2a5b7f_f183_5c66_99b2_429082069299); #[repr(C)] pub struct IWindowingEnvironmentAddedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub WindowingEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowingEnvironmentChangedEventArgs, IWindowingEnvironmentChangedEventArgs_Vtbl, 0x4160cfc6_023d_5e9a_b431_350e67dc978a); +windows_core::imp::define_interface!(IWindowingEnvironmentChangedEventArgs, IWindowingEnvironmentChangedEventArgs_Vtbl, 0x4160cfc6_023d_5e9a_b431_350e67dc978a); #[repr(C)] pub struct IWindowingEnvironmentChangedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IWindowingEnvironmentRemovedEventArgs, IWindowingEnvironmentRemovedEventArgs_Vtbl, 0x2e5b5473_beff_5e53_9316_7e775fe568b3); +windows_core::imp::define_interface!(IWindowingEnvironmentRemovedEventArgs, IWindowingEnvironmentRemovedEventArgs_Vtbl, 0x2e5b5473_beff_5e53_9316_7e775fe568b3); #[repr(C)] pub struct IWindowingEnvironmentRemovedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub WindowingEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowingEnvironmentStatics, IWindowingEnvironmentStatics_Vtbl, 0x874e9fb7_c642_55ab_8aa2_162f734a9a72); +windows_core::imp::define_interface!(IWindowingEnvironmentStatics, IWindowingEnvironmentStatics_Vtbl, 0x874e9fb7_c642_55ab_8aa2_162f734a9a72); #[repr(C)] pub struct IWindowingEnvironmentStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/UI/mod.rs b/crates/libs/windows/src/Windows/UI/mod.rs index 4645edcc9d..cb271fcd56 100644 --- a/crates/libs/windows/src/Windows/UI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/mod.rs @@ -26,29 +26,29 @@ pub mod ViewManagement; pub mod WebUI; #[cfg(feature = "UI_WindowManagement")] pub mod WindowManagement; -windows_core::imp::com_interface!(IColorHelper, IColorHelper_Vtbl, 0x193cfbe7_65c7_4540_ad08_6283ba76879a); +windows_core::imp::define_interface!(IColorHelper, IColorHelper_Vtbl, 0x193cfbe7_65c7_4540_ad08_6283ba76879a); #[repr(C)] pub struct IColorHelper_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IColorHelperStatics, IColorHelperStatics_Vtbl, 0x8504dbea_fb6a_4144_a6c2_33499c9284f5); +windows_core::imp::define_interface!(IColorHelperStatics, IColorHelperStatics_Vtbl, 0x8504dbea_fb6a_4144_a6c2_33499c9284f5); #[repr(C)] pub struct IColorHelperStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub FromArgb: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, u8, u8, *mut Color) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IColorHelperStatics2, IColorHelperStatics2_Vtbl, 0x24d9af02_6eb0_4b94_855c_fcf0818d9a16); +windows_core::imp::define_interface!(IColorHelperStatics2, IColorHelperStatics2_Vtbl, 0x24d9af02_6eb0_4b94_855c_fcf0818d9a16); #[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, } -windows_core::imp::com_interface!(IColors, IColors_Vtbl, 0x9b8c9326_4ca6_4ce5_8994_9eff65cabdcc); +windows_core::imp::define_interface!(IColors, IColors_Vtbl, 0x9b8c9326_4ca6_4ce5_8994_9eff65cabdcc); #[repr(C)] pub struct IColors_Vtbl { pub base__: windows_core::IInspectable_Vtbl, } -windows_core::imp::com_interface!(IColorsStatics, IColorsStatics_Vtbl, 0xcff52e04_cca6_4614_a17e_754910c84a99); +windows_core::imp::define_interface!(IColorsStatics, IColorsStatics_Vtbl, 0xcff52e04_cca6_4614_a17e_754910c84a99); #[repr(C)] pub struct IColorsStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -194,13 +194,13 @@ pub struct IColorsStatics_Vtbl { pub Yellow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Color) -> windows_core::HRESULT, pub YellowGreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Color) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIContentRoot, IUIContentRoot_Vtbl, 0x1dfcbac6_b36b_5cb9_9bc5_2b7a0eddc378); +windows_core::imp::define_interface!(IUIContentRoot, IUIContentRoot_Vtbl, 0x1dfcbac6_b36b_5cb9_9bc5_2b7a0eddc378); #[repr(C)] pub struct IUIContentRoot_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub UIContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIContext, IUIContext_Vtbl, 0xbb5cfacd_5bd8_59d0_a59e_1c17a4d6d243); +windows_core::imp::define_interface!(IUIContext, IUIContext_Vtbl, 0xbb5cfacd_5bd8_59d0_a59e_1c17a4d6d243); #[repr(C)] pub struct IUIContext_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs index a99103a063..0876d87f5b 100644 --- a/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs +++ b/crates/libs/windows/src/Windows/Web/AtomPub/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAtomPubClient, IAtomPubClient_Vtbl, 0x35392c38_cded_4d4c_9637_05f15c1c9406); +windows_core::imp::define_interface!(IAtomPubClient, IAtomPubClient_Vtbl, 0x35392c38_cded_4d4c_9637_05f15c1c9406); #[repr(C)] pub struct IAtomPubClient_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -44,7 +44,7 @@ pub struct IAtomPubClient_Vtbl { DeleteResourceItemAsync: usize, pub CancelAsyncOperations: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAtomPubClientFactory, IAtomPubClientFactory_Vtbl, 0x49d55012_57cb_4bde_ab9f_2610b172777b); +windows_core::imp::define_interface!(IAtomPubClientFactory, IAtomPubClientFactory_Vtbl, 0x49d55012_57cb_4bde_ab9f_2610b172777b); #[repr(C)] pub struct IAtomPubClientFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -53,7 +53,7 @@ pub struct IAtomPubClientFactory_Vtbl { #[cfg(not(feature = "Security_Credentials"))] CreateAtomPubClientWithCredentials: usize, } -windows_core::imp::com_interface!(IResourceCollection, IResourceCollection_Vtbl, 0x7f5fd609_bc88_41d4_88fa_3de6704d428e); +windows_core::imp::define_interface!(IResourceCollection, IResourceCollection_Vtbl, 0x7f5fd609_bc88_41d4_88fa_3de6704d428e); #[repr(C)] pub struct IResourceCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -71,7 +71,7 @@ pub struct IResourceCollection_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Accepts: usize, } -windows_core::imp::com_interface!(IServiceDocument, IServiceDocument_Vtbl, 0x8b7ec771_2ab3_4dbe_8bcc_778f92b75e51); +windows_core::imp::define_interface!(IServiceDocument, IServiceDocument_Vtbl, 0x8b7ec771_2ab3_4dbe_8bcc_778f92b75e51); #[repr(C)] pub struct IServiceDocument_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -80,7 +80,7 @@ pub struct IServiceDocument_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Workspaces: usize, } -windows_core::imp::com_interface!(IWorkspace, IWorkspace_Vtbl, 0xb41da63b_a4b8_4036_89c5_83c31266ba49); +windows_core::imp::define_interface!(IWorkspace, IWorkspace_Vtbl, 0xb41da63b_a4b8_4036_89c5_83c31266ba49); #[repr(C)] pub struct IWorkspace_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 d8dbd56f8d..35d35affb7 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Diagnostics/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IHttpDiagnosticProvider, IHttpDiagnosticProvider_Vtbl, 0xbd811501_a056_4d39_b174_833b7b03b02c); +windows_core::imp::define_interface!(IHttpDiagnosticProvider, IHttpDiagnosticProvider_Vtbl, 0xbd811501_a056_4d39_b174_833b7b03b02c); #[repr(C)] pub struct IHttpDiagnosticProvider_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -11,7 +11,7 @@ pub struct IHttpDiagnosticProvider_Vtbl { pub RequestResponseCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveRequestResponseCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpDiagnosticProviderRequestResponseCompletedEventArgs, IHttpDiagnosticProviderRequestResponseCompletedEventArgs_Vtbl, 0x735f98ee_94f6_4532_b26e_61e1b1e4efd4); +windows_core::imp::define_interface!(IHttpDiagnosticProviderRequestResponseCompletedEventArgs, IHttpDiagnosticProviderRequestResponseCompletedEventArgs_Vtbl, 0x735f98ee_94f6_4532_b26e_61e1b1e4efd4); #[repr(C)] pub struct IHttpDiagnosticProviderRequestResponseCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,7 +26,7 @@ pub struct IHttpDiagnosticProviderRequestResponseCompletedEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SourceLocations: usize, } -windows_core::imp::com_interface!(IHttpDiagnosticProviderRequestResponseTimestamps, IHttpDiagnosticProviderRequestResponseTimestamps_Vtbl, 0xe0afde10_55cf_4c01_91d4_a20557d849f0); +windows_core::imp::define_interface!(IHttpDiagnosticProviderRequestResponseTimestamps, IHttpDiagnosticProviderRequestResponseTimestamps_Vtbl, 0xe0afde10_55cf_4c01_91d4_a20557d849f0); #[repr(C)] pub struct IHttpDiagnosticProviderRequestResponseTimestamps_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -40,7 +40,7 @@ pub struct IHttpDiagnosticProviderRequestResponseTimestamps_Vtbl { pub ResponseReceivedTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ResponseCompletedTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpDiagnosticProviderRequestSentEventArgs, IHttpDiagnosticProviderRequestSentEventArgs_Vtbl, 0x3f5196d0_4c1f_4ebe_a57a_06930771c50d); +windows_core::imp::define_interface!(IHttpDiagnosticProviderRequestSentEventArgs, IHttpDiagnosticProviderRequestSentEventArgs_Vtbl, 0x3f5196d0_4c1f_4ebe_a57a_06930771c50d); #[repr(C)] pub struct IHttpDiagnosticProviderRequestSentEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -55,7 +55,7 @@ pub struct IHttpDiagnosticProviderRequestSentEventArgs_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] SourceLocations: usize, } -windows_core::imp::com_interface!(IHttpDiagnosticProviderResponseReceivedEventArgs, IHttpDiagnosticProviderResponseReceivedEventArgs_Vtbl, 0xa0a2566c_ab5f_4d66_bb2d_084cf41635d0); +windows_core::imp::define_interface!(IHttpDiagnosticProviderResponseReceivedEventArgs, IHttpDiagnosticProviderResponseReceivedEventArgs_Vtbl, 0xa0a2566c_ab5f_4d66_bb2d_084cf41635d0); #[repr(C)] pub struct IHttpDiagnosticProviderResponseReceivedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -63,7 +63,7 @@ pub struct IHttpDiagnosticProviderResponseReceivedEventArgs_Vtbl { pub ActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpDiagnosticProviderStatics, IHttpDiagnosticProviderStatics_Vtbl, 0x5b824ec1_6a6c_47cc_afec_1e86bc26053b); +windows_core::imp::define_interface!(IHttpDiagnosticProviderStatics, IHttpDiagnosticProviderStatics_Vtbl, 0x5b824ec1_6a6c_47cc_afec_1e86bc26053b); #[repr(C)] pub struct IHttpDiagnosticProviderStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -72,7 +72,7 @@ pub struct IHttpDiagnosticProviderStatics_Vtbl { #[cfg(not(feature = "System_Diagnostics"))] CreateFromProcessDiagnosticInfo: usize, } -windows_core::imp::com_interface!(IHttpDiagnosticSourceLocation, IHttpDiagnosticSourceLocation_Vtbl, 0x54a9d260_8860_423f_b6fa_d77716f647a7); +windows_core::imp::define_interface!(IHttpDiagnosticSourceLocation, IHttpDiagnosticSourceLocation_Vtbl, 0x54a9d260_8860_423f_b6fa_d77716f647a7); #[repr(C)] pub struct IHttpDiagnosticSourceLocation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 c356ba0533..b05e134d5c 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IHttpBaseProtocolFilter, IHttpBaseProtocolFilter_Vtbl, 0x71c89b09_e131_4b54_a53c_eb43ff37e9bb); +windows_core::imp::define_interface!(IHttpBaseProtocolFilter, IHttpBaseProtocolFilter_Vtbl, 0x71c89b09_e131_4b54_a53c_eb43ff37e9bb); #[repr(C)] pub struct IHttpBaseProtocolFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -43,21 +43,21 @@ pub struct IHttpBaseProtocolFilter_Vtbl { pub UseProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetUseProxy: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpBaseProtocolFilter2, IHttpBaseProtocolFilter2_Vtbl, 0x2ec30013_9427_4900_a017_fa7da3b5c9ae); +windows_core::imp::define_interface!(IHttpBaseProtocolFilter2, IHttpBaseProtocolFilter2_Vtbl, 0x2ec30013_9427_4900_a017_fa7da3b5c9ae); #[repr(C)] pub struct IHttpBaseProtocolFilter2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub MaxVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::HttpVersion) -> windows_core::HRESULT, pub SetMaxVersion: unsafe extern "system" fn(*mut core::ffi::c_void, super::HttpVersion) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpBaseProtocolFilter3, IHttpBaseProtocolFilter3_Vtbl, 0xd43f4d4c_bd42_43ae_8717_ad2c8f4b2937); +windows_core::imp::define_interface!(IHttpBaseProtocolFilter3, IHttpBaseProtocolFilter3_Vtbl, 0xd43f4d4c_bd42_43ae_8717_ad2c8f4b2937); #[repr(C)] pub struct IHttpBaseProtocolFilter3_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CookieUsageBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *mut HttpCookieUsageBehavior) -> windows_core::HRESULT, pub SetCookieUsageBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, HttpCookieUsageBehavior) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpBaseProtocolFilter4, IHttpBaseProtocolFilter4_Vtbl, 0x9fe36ccf_2983_4893_941f_eb518ca8cef9); +windows_core::imp::define_interface!(IHttpBaseProtocolFilter4, IHttpBaseProtocolFilter4_Vtbl, 0x9fe36ccf_2983_4893_941f_eb518ca8cef9); #[repr(C)] pub struct IHttpBaseProtocolFilter4_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -65,7 +65,7 @@ pub struct IHttpBaseProtocolFilter4_Vtbl { pub RemoveServerCustomValidationRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub ClearAuthenticationCache: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpBaseProtocolFilter5, IHttpBaseProtocolFilter5_Vtbl, 0x416e4993_31e3_4816_bf09_e018ee8dc1f5); +windows_core::imp::define_interface!(IHttpBaseProtocolFilter5, IHttpBaseProtocolFilter5_Vtbl, 0x416e4993_31e3_4816_bf09_e018ee8dc1f5); #[repr(C)] pub struct IHttpBaseProtocolFilter5_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -74,7 +74,7 @@ pub struct IHttpBaseProtocolFilter5_Vtbl { #[cfg(not(feature = "System"))] User: usize, } -windows_core::imp::com_interface!(IHttpBaseProtocolFilterStatics, IHttpBaseProtocolFilterStatics_Vtbl, 0x6d4dee0c_e908_494e_b5a3_1263c9b8242a); +windows_core::imp::define_interface!(IHttpBaseProtocolFilterStatics, IHttpBaseProtocolFilterStatics_Vtbl, 0x6d4dee0c_e908_494e_b5a3_1263c9b8242a); #[repr(C)] pub struct IHttpBaseProtocolFilterStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -83,7 +83,7 @@ pub struct IHttpBaseProtocolFilterStatics_Vtbl { #[cfg(not(feature = "System"))] CreateForUser: usize, } -windows_core::imp::com_interface!(IHttpCacheControl, IHttpCacheControl_Vtbl, 0xc77e1cb4_3cea_4eb5_ac85_04e186e63ab7); +windows_core::imp::define_interface!(IHttpCacheControl, IHttpCacheControl_Vtbl, 0xc77e1cb4_3cea_4eb5_ac85_04e186e63ab7); #[repr(C)] pub struct IHttpCacheControl_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -92,7 +92,7 @@ pub struct IHttpCacheControl_Vtbl { pub WriteBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *mut HttpCacheWriteBehavior) -> windows_core::HRESULT, pub SetWriteBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, HttpCacheWriteBehavior) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpFilter, IHttpFilter_Vtbl, 0xa4cb6dd5_0902_439e_bfd7_e12552b165ce); +windows_core::imp::define_interface!(IHttpFilter, IHttpFilter_Vtbl, 0xa4cb6dd5_0902_439e_bfd7_e12552b165ce); windows_core::imp::interface_hierarchy!(IHttpFilter, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IHttpFilter, super::super::super::Foundation::IClosable); impl IHttpFilter { @@ -119,7 +119,7 @@ pub struct IHttpFilter_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SendRequestAsync: 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::com_interface!(IHttpServerCustomValidationRequestedEventArgs, IHttpServerCustomValidationRequestedEventArgs_Vtbl, 0x3165fe32_e7dd_48b7_a361_939c750e63cc); +windows_core::imp::define_interface!(IHttpServerCustomValidationRequestedEventArgs, IHttpServerCustomValidationRequestedEventArgs_Vtbl, 0x3165fe32_e7dd_48b7_a361_939c750e63cc); #[repr(C)] pub struct IHttpServerCustomValidationRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 6abd37d56a..ffba3352b1 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Headers/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IHttpCacheDirectiveHeaderValueCollection, IHttpCacheDirectiveHeaderValueCollection_Vtbl, 0x9a586b89_d5d0_4fbe_bd9d_b5b3636811b4); +windows_core::imp::define_interface!(IHttpCacheDirectiveHeaderValueCollection, IHttpCacheDirectiveHeaderValueCollection_Vtbl, 0x9a586b89_d5d0_4fbe_bd9d_b5b3636811b4); #[repr(C)] pub struct IHttpCacheDirectiveHeaderValueCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -13,7 +13,7 @@ pub struct IHttpCacheDirectiveHeaderValueCollection_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, } -windows_core::imp::com_interface!(IHttpChallengeHeaderValue, IHttpChallengeHeaderValue_Vtbl, 0x393361af_0f7d_4820_9fdd_a2b956eeaeab); +windows_core::imp::define_interface!(IHttpChallengeHeaderValue, IHttpChallengeHeaderValue_Vtbl, 0x393361af_0f7d_4820_9fdd_a2b956eeaeab); #[repr(C)] pub struct IHttpChallengeHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -24,108 +24,108 @@ pub struct IHttpChallengeHeaderValue_Vtbl { 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, } -windows_core::imp::com_interface!(IHttpChallengeHeaderValueCollection, IHttpChallengeHeaderValueCollection_Vtbl, 0xca9e5f81_aee0_4353_a10b_e625babd64c2); +windows_core::imp::define_interface!(IHttpChallengeHeaderValueCollection, IHttpChallengeHeaderValueCollection_Vtbl, 0xca9e5f81_aee0_4353_a10b_e625babd64c2); #[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, } -windows_core::imp::com_interface!(IHttpChallengeHeaderValueFactory, IHttpChallengeHeaderValueFactory_Vtbl, 0xc452c451_d99c_40aa_9399_90eeb98fc613); +windows_core::imp::define_interface!(IHttpChallengeHeaderValueFactory, IHttpChallengeHeaderValueFactory_Vtbl, 0xc452c451_d99c_40aa_9399_90eeb98fc613); #[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, } -windows_core::imp::com_interface!(IHttpChallengeHeaderValueStatics, IHttpChallengeHeaderValueStatics_Vtbl, 0xf3d38a72_fc01_4d01_a008_fcb7c459d635); +windows_core::imp::define_interface!(IHttpChallengeHeaderValueStatics, IHttpChallengeHeaderValueStatics_Vtbl, 0xf3d38a72_fc01_4d01_a008_fcb7c459d635); #[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, } -windows_core::imp::com_interface!(IHttpConnectionOptionHeaderValue, IHttpConnectionOptionHeaderValue_Vtbl, 0xcb4af27a_4e90_45eb_8dcd_fd1408f4c44f); +windows_core::imp::define_interface!(IHttpConnectionOptionHeaderValue, IHttpConnectionOptionHeaderValue_Vtbl, 0xcb4af27a_4e90_45eb_8dcd_fd1408f4c44f); #[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, } -windows_core::imp::com_interface!(IHttpConnectionOptionHeaderValueCollection, IHttpConnectionOptionHeaderValueCollection_Vtbl, 0xe4f56c1d_5142_4e00_8e0f_019509337629); +windows_core::imp::define_interface!(IHttpConnectionOptionHeaderValueCollection, IHttpConnectionOptionHeaderValueCollection_Vtbl, 0xe4f56c1d_5142_4e00_8e0f_019509337629); #[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, } -windows_core::imp::com_interface!(IHttpConnectionOptionHeaderValueFactory, IHttpConnectionOptionHeaderValueFactory_Vtbl, 0xd93ccc1e_0b7d_4c3f_a58d_a2a1bdeabc0a); +windows_core::imp::define_interface!(IHttpConnectionOptionHeaderValueFactory, IHttpConnectionOptionHeaderValueFactory_Vtbl, 0xd93ccc1e_0b7d_4c3f_a58d_a2a1bdeabc0a); #[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, } -windows_core::imp::com_interface!(IHttpConnectionOptionHeaderValueStatics, IHttpConnectionOptionHeaderValueStatics_Vtbl, 0xaaa75d37_a946_4b1f_85af_48b68b3c50bd); +windows_core::imp::define_interface!(IHttpConnectionOptionHeaderValueStatics, IHttpConnectionOptionHeaderValueStatics_Vtbl, 0xaaa75d37_a946_4b1f_85af_48b68b3c50bd); #[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, } -windows_core::imp::com_interface!(IHttpContentCodingHeaderValue, IHttpContentCodingHeaderValue_Vtbl, 0xbcf7f92a_9376_4d85_bccc_9f4f9acab434); +windows_core::imp::define_interface!(IHttpContentCodingHeaderValue, IHttpContentCodingHeaderValue_Vtbl, 0xbcf7f92a_9376_4d85_bccc_9f4f9acab434); #[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, } -windows_core::imp::com_interface!(IHttpContentCodingHeaderValueCollection, IHttpContentCodingHeaderValueCollection_Vtbl, 0x7d221721_a6db_436e_8e83_91596192819c); +windows_core::imp::define_interface!(IHttpContentCodingHeaderValueCollection, IHttpContentCodingHeaderValueCollection_Vtbl, 0x7d221721_a6db_436e_8e83_91596192819c); #[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, } -windows_core::imp::com_interface!(IHttpContentCodingHeaderValueFactory, IHttpContentCodingHeaderValueFactory_Vtbl, 0xc53d2bd7_332b_4350_8510_2e67a2289a5a); +windows_core::imp::define_interface!(IHttpContentCodingHeaderValueFactory, IHttpContentCodingHeaderValueFactory_Vtbl, 0xc53d2bd7_332b_4350_8510_2e67a2289a5a); #[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, } -windows_core::imp::com_interface!(IHttpContentCodingHeaderValueStatics, IHttpContentCodingHeaderValueStatics_Vtbl, 0x94d8602e_f9bf_42f7_aa46_ed272a41e212); +windows_core::imp::define_interface!(IHttpContentCodingHeaderValueStatics, IHttpContentCodingHeaderValueStatics_Vtbl, 0x94d8602e_f9bf_42f7_aa46_ed272a41e212); #[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, } -windows_core::imp::com_interface!(IHttpContentCodingWithQualityHeaderValue, IHttpContentCodingWithQualityHeaderValue_Vtbl, 0x94531cd5_8b13_4d73_8651_f76b38f88495); +windows_core::imp::define_interface!(IHttpContentCodingWithQualityHeaderValue, IHttpContentCodingWithQualityHeaderValue_Vtbl, 0x94531cd5_8b13_4d73_8651_f76b38f88495); #[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 Quality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpContentCodingWithQualityHeaderValueCollection, IHttpContentCodingWithQualityHeaderValueCollection_Vtbl, 0x7c0d753e_e899_4378_b5c8_412d820711cc); +windows_core::imp::define_interface!(IHttpContentCodingWithQualityHeaderValueCollection, IHttpContentCodingWithQualityHeaderValueCollection_Vtbl, 0x7c0d753e_e899_4378_b5c8_412d820711cc); #[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, } -windows_core::imp::com_interface!(IHttpContentCodingWithQualityHeaderValueFactory, IHttpContentCodingWithQualityHeaderValueFactory_Vtbl, 0xc45eee1a_c553_46fc_ade2_d75c1d53df7b); +windows_core::imp::define_interface!(IHttpContentCodingWithQualityHeaderValueFactory, IHttpContentCodingWithQualityHeaderValueFactory_Vtbl, 0xc45eee1a_c553_46fc_ade2_d75c1d53df7b); #[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, } -windows_core::imp::com_interface!(IHttpContentCodingWithQualityHeaderValueStatics, IHttpContentCodingWithQualityHeaderValueStatics_Vtbl, 0xe8c9357c_8f89_4801_8e75_4c9abfc3de71); +windows_core::imp::define_interface!(IHttpContentCodingWithQualityHeaderValueStatics, IHttpContentCodingWithQualityHeaderValueStatics_Vtbl, 0xe8c9357c_8f89_4801_8e75_4c9abfc3de71); #[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, } -windows_core::imp::com_interface!(IHttpContentDispositionHeaderValue, IHttpContentDispositionHeaderValue_Vtbl, 0xf2a2eedc_2629_4b49_9908_96a168e9365e); +windows_core::imp::define_interface!(IHttpContentDispositionHeaderValue, IHttpContentDispositionHeaderValue_Vtbl, 0xf2a2eedc_2629_4b49_9908_96a168e9365e); #[repr(C)] pub struct IHttpContentDispositionHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -144,20 +144,20 @@ pub struct IHttpContentDispositionHeaderValue_Vtbl { pub Size: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpContentDispositionHeaderValueFactory, IHttpContentDispositionHeaderValueFactory_Vtbl, 0x9915bbc4_456c_4e81_8295_b2ab3cbcf545); +windows_core::imp::define_interface!(IHttpContentDispositionHeaderValueFactory, IHttpContentDispositionHeaderValueFactory_Vtbl, 0x9915bbc4_456c_4e81_8295_b2ab3cbcf545); #[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, } -windows_core::imp::com_interface!(IHttpContentDispositionHeaderValueStatics, IHttpContentDispositionHeaderValueStatics_Vtbl, 0x29c56067_5a37_46e4_b074_c5177d69ca66); +windows_core::imp::define_interface!(IHttpContentDispositionHeaderValueStatics, IHttpContentDispositionHeaderValueStatics_Vtbl, 0x29c56067_5a37_46e4_b074_c5177d69ca66); #[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, } -windows_core::imp::com_interface!(IHttpContentHeaderCollection, IHttpContentHeaderCollection_Vtbl, 0x40612a44_47ae_4b7e_9124_69628b64aa18); +windows_core::imp::define_interface!(IHttpContentHeaderCollection, IHttpContentHeaderCollection_Vtbl, 0x40612a44_47ae_4b7e_9124_69628b64aa18); #[repr(C)] pub struct IHttpContentHeaderCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -188,7 +188,7 @@ pub struct IHttpContentHeaderCollection_Vtbl { 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, } -windows_core::imp::com_interface!(IHttpContentRangeHeaderValue, IHttpContentRangeHeaderValue_Vtbl, 0x04d967d3_a4f6_495c_9530_8579fcba8aa9); +windows_core::imp::define_interface!(IHttpContentRangeHeaderValue, IHttpContentRangeHeaderValue_Vtbl, 0x04d967d3_a4f6_495c_9530_8579fcba8aa9); #[repr(C)] pub struct IHttpContentRangeHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -198,7 +198,7 @@ pub struct IHttpContentRangeHeaderValue_Vtbl { 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, } -windows_core::imp::com_interface!(IHttpContentRangeHeaderValueFactory, IHttpContentRangeHeaderValueFactory_Vtbl, 0x3f5bd691_a03c_4456_9a6f_ef27ecd03cae); +windows_core::imp::define_interface!(IHttpContentRangeHeaderValueFactory, IHttpContentRangeHeaderValueFactory_Vtbl, 0x3f5bd691_a03c_4456_9a6f_ef27ecd03cae); #[repr(C)] pub struct IHttpContentRangeHeaderValueFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -206,14 +206,14 @@ pub struct IHttpContentRangeHeaderValueFactory_Vtbl { pub CreateFromRange: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFromRangeWithLength: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u64, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpContentRangeHeaderValueStatics, IHttpContentRangeHeaderValueStatics_Vtbl, 0x80a346ca_174c_4fae_821c_134cd294aa38); +windows_core::imp::define_interface!(IHttpContentRangeHeaderValueStatics, IHttpContentRangeHeaderValueStatics_Vtbl, 0x80a346ca_174c_4fae_821c_134cd294aa38); #[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, } -windows_core::imp::com_interface!(IHttpCookiePairHeaderValue, IHttpCookiePairHeaderValue_Vtbl, 0xcbd46217_4b29_412b_bd90_b3d814ab8e1b); +windows_core::imp::define_interface!(IHttpCookiePairHeaderValue, IHttpCookiePairHeaderValue_Vtbl, 0xcbd46217_4b29_412b_bd90_b3d814ab8e1b); #[repr(C)] pub struct IHttpCookiePairHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -221,28 +221,28 @@ pub struct IHttpCookiePairHeaderValue_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, } -windows_core::imp::com_interface!(IHttpCookiePairHeaderValueCollection, IHttpCookiePairHeaderValueCollection_Vtbl, 0xf3f44350_581e_4ecc_9f59_e507d04f06e6); +windows_core::imp::define_interface!(IHttpCookiePairHeaderValueCollection, IHttpCookiePairHeaderValueCollection_Vtbl, 0xf3f44350_581e_4ecc_9f59_e507d04f06e6); #[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, } -windows_core::imp::com_interface!(IHttpCookiePairHeaderValueFactory, IHttpCookiePairHeaderValueFactory_Vtbl, 0x635e326f_146f_4f56_aa21_2cb7d6d58b1e); +windows_core::imp::define_interface!(IHttpCookiePairHeaderValueFactory, IHttpCookiePairHeaderValueFactory_Vtbl, 0x635e326f_146f_4f56_aa21_2cb7d6d58b1e); #[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, } -windows_core::imp::com_interface!(IHttpCookiePairHeaderValueStatics, IHttpCookiePairHeaderValueStatics_Vtbl, 0x6e866d48_06af_4462_8158_99388d5dca81); +windows_core::imp::define_interface!(IHttpCookiePairHeaderValueStatics, IHttpCookiePairHeaderValueStatics_Vtbl, 0x6e866d48_06af_4462_8158_99388d5dca81); #[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, } -windows_core::imp::com_interface!(IHttpCredentialsHeaderValue, IHttpCredentialsHeaderValue_Vtbl, 0xc34cc3cb_542e_4177_a6c7_b674ce193fbf); +windows_core::imp::define_interface!(IHttpCredentialsHeaderValue, IHttpCredentialsHeaderValue_Vtbl, 0xc34cc3cb_542e_4177_a6c7_b674ce193fbf); #[repr(C)] pub struct IHttpCredentialsHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -253,35 +253,35 @@ pub struct IHttpCredentialsHeaderValue_Vtbl { 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, } -windows_core::imp::com_interface!(IHttpCredentialsHeaderValueFactory, IHttpCredentialsHeaderValueFactory_Vtbl, 0xf21d9e91_4d1c_4182_bfd1_34470a62f950); +windows_core::imp::define_interface!(IHttpCredentialsHeaderValueFactory, IHttpCredentialsHeaderValueFactory_Vtbl, 0xf21d9e91_4d1c_4182_bfd1_34470a62f950); #[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, } -windows_core::imp::com_interface!(IHttpCredentialsHeaderValueStatics, IHttpCredentialsHeaderValueStatics_Vtbl, 0xa69b2be6_ce8c_4443_a35a_1b727b131036); +windows_core::imp::define_interface!(IHttpCredentialsHeaderValueStatics, IHttpCredentialsHeaderValueStatics_Vtbl, 0xa69b2be6_ce8c_4443_a35a_1b727b131036); #[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, } -windows_core::imp::com_interface!(IHttpDateOrDeltaHeaderValue, IHttpDateOrDeltaHeaderValue_Vtbl, 0xeafcaa6a_c4dc_49e2_a27d_043adf5867a3); +windows_core::imp::define_interface!(IHttpDateOrDeltaHeaderValue, IHttpDateOrDeltaHeaderValue_Vtbl, 0xeafcaa6a_c4dc_49e2_a27d_043adf5867a3); #[repr(C)] pub struct IHttpDateOrDeltaHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Date: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Delta: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpDateOrDeltaHeaderValueStatics, IHttpDateOrDeltaHeaderValueStatics_Vtbl, 0x7c2659a8_6672_4e90_9a9a_f39766f7f576); +windows_core::imp::define_interface!(IHttpDateOrDeltaHeaderValueStatics, IHttpDateOrDeltaHeaderValueStatics_Vtbl, 0x7c2659a8_6672_4e90_9a9a_f39766f7f576); #[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, } -windows_core::imp::com_interface!(IHttpExpectationHeaderValue, IHttpExpectationHeaderValue_Vtbl, 0x4ce585cd_3a99_43af_a2e6_ec232fea9658); +windows_core::imp::define_interface!(IHttpExpectationHeaderValue, IHttpExpectationHeaderValue_Vtbl, 0x4ce585cd_3a99_43af_a2e6_ec232fea9658); #[repr(C)] pub struct IHttpExpectationHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -293,63 +293,63 @@ pub struct IHttpExpectationHeaderValue_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Parameters: usize, } -windows_core::imp::com_interface!(IHttpExpectationHeaderValueCollection, IHttpExpectationHeaderValueCollection_Vtbl, 0xe78521b3_a0e2_4ac4_9e66_79706cb9fd58); +windows_core::imp::define_interface!(IHttpExpectationHeaderValueCollection, IHttpExpectationHeaderValueCollection_Vtbl, 0xe78521b3_a0e2_4ac4_9e66_79706cb9fd58); #[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, } -windows_core::imp::com_interface!(IHttpExpectationHeaderValueFactory, IHttpExpectationHeaderValueFactory_Vtbl, 0x4ea275cb_d53e_4868_8856_1e21a5030dc0); +windows_core::imp::define_interface!(IHttpExpectationHeaderValueFactory, IHttpExpectationHeaderValueFactory_Vtbl, 0x4ea275cb_d53e_4868_8856_1e21a5030dc0); #[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, } -windows_core::imp::com_interface!(IHttpExpectationHeaderValueStatics, IHttpExpectationHeaderValueStatics_Vtbl, 0x3019abe2_cfe5_473b_a57f_fba5b14eb257); +windows_core::imp::define_interface!(IHttpExpectationHeaderValueStatics, IHttpExpectationHeaderValueStatics_Vtbl, 0x3019abe2_cfe5_473b_a57f_fba5b14eb257); #[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, } -windows_core::imp::com_interface!(IHttpLanguageHeaderValueCollection, IHttpLanguageHeaderValueCollection_Vtbl, 0x9ebd7ca3_8219_44f6_9902_8c56dfd3340c); +windows_core::imp::define_interface!(IHttpLanguageHeaderValueCollection, IHttpLanguageHeaderValueCollection_Vtbl, 0x9ebd7ca3_8219_44f6_9902_8c56dfd3340c); #[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, } -windows_core::imp::com_interface!(IHttpLanguageRangeWithQualityHeaderValue, IHttpLanguageRangeWithQualityHeaderValue_Vtbl, 0x7256e102_0080_4db4_a083_7de7b2e5ba4c); +windows_core::imp::define_interface!(IHttpLanguageRangeWithQualityHeaderValue, IHttpLanguageRangeWithQualityHeaderValue_Vtbl, 0x7256e102_0080_4db4_a083_7de7b2e5ba4c); #[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 Quality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpLanguageRangeWithQualityHeaderValueCollection, IHttpLanguageRangeWithQualityHeaderValueCollection_Vtbl, 0x885d5abd_4b4f_480a_89ce_8aedcee6e3a0); +windows_core::imp::define_interface!(IHttpLanguageRangeWithQualityHeaderValueCollection, IHttpLanguageRangeWithQualityHeaderValueCollection_Vtbl, 0x885d5abd_4b4f_480a_89ce_8aedcee6e3a0); #[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, } -windows_core::imp::com_interface!(IHttpLanguageRangeWithQualityHeaderValueFactory, IHttpLanguageRangeWithQualityHeaderValueFactory_Vtbl, 0x7bb83970_780f_4c83_9fe4_dc3087f6bd55); +windows_core::imp::define_interface!(IHttpLanguageRangeWithQualityHeaderValueFactory, IHttpLanguageRangeWithQualityHeaderValueFactory_Vtbl, 0x7bb83970_780f_4c83_9fe4_dc3087f6bd55); #[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, } -windows_core::imp::com_interface!(IHttpLanguageRangeWithQualityHeaderValueStatics, IHttpLanguageRangeWithQualityHeaderValueStatics_Vtbl, 0x2541e146_f308_46f5_b695_42f54024ec68); +windows_core::imp::define_interface!(IHttpLanguageRangeWithQualityHeaderValueStatics, IHttpLanguageRangeWithQualityHeaderValueStatics_Vtbl, 0x2541e146_f308_46f5_b695_42f54024ec68); #[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, } -windows_core::imp::com_interface!(IHttpMediaTypeHeaderValue, IHttpMediaTypeHeaderValue_Vtbl, 0x16b28533_e728_4fcb_bdb0_08a431a14844); +windows_core::imp::define_interface!(IHttpMediaTypeHeaderValue, IHttpMediaTypeHeaderValue_Vtbl, 0x16b28533_e728_4fcb_bdb0_08a431a14844); #[repr(C)] pub struct IHttpMediaTypeHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -362,20 +362,20 @@ pub struct IHttpMediaTypeHeaderValue_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Parameters: usize, } -windows_core::imp::com_interface!(IHttpMediaTypeHeaderValueFactory, IHttpMediaTypeHeaderValueFactory_Vtbl, 0xbed747a8_cd17_42dd_9367_ab9c5b56dd7d); +windows_core::imp::define_interface!(IHttpMediaTypeHeaderValueFactory, IHttpMediaTypeHeaderValueFactory_Vtbl, 0xbed747a8_cd17_42dd_9367_ab9c5b56dd7d); #[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, } -windows_core::imp::com_interface!(IHttpMediaTypeHeaderValueStatics, IHttpMediaTypeHeaderValueStatics_Vtbl, 0xe04d83df_1d41_4d8c_a2de_6fd2ed87399b); +windows_core::imp::define_interface!(IHttpMediaTypeHeaderValueStatics, IHttpMediaTypeHeaderValueStatics_Vtbl, 0xe04d83df_1d41_4d8c_a2de_6fd2ed87399b); #[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, } -windows_core::imp::com_interface!(IHttpMediaTypeWithQualityHeaderValue, IHttpMediaTypeWithQualityHeaderValue_Vtbl, 0x188d5e32_76be_44a0_b1cd_2074bded2dde); +windows_core::imp::define_interface!(IHttpMediaTypeWithQualityHeaderValue, IHttpMediaTypeWithQualityHeaderValue_Vtbl, 0x188d5e32_76be_44a0_b1cd_2074bded2dde); #[repr(C)] pub struct IHttpMediaTypeWithQualityHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -390,35 +390,35 @@ pub struct IHttpMediaTypeWithQualityHeaderValue_Vtbl { pub Quality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetQuality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpMediaTypeWithQualityHeaderValueCollection, IHttpMediaTypeWithQualityHeaderValueCollection_Vtbl, 0x3c0c6b73_1342_4587_a056_18d02ff67165); +windows_core::imp::define_interface!(IHttpMediaTypeWithQualityHeaderValueCollection, IHttpMediaTypeWithQualityHeaderValueCollection_Vtbl, 0x3c0c6b73_1342_4587_a056_18d02ff67165); #[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, } -windows_core::imp::com_interface!(IHttpMediaTypeWithQualityHeaderValueFactory, IHttpMediaTypeWithQualityHeaderValueFactory_Vtbl, 0x4c6d20f4_9457_44e6_a323_d122b958780b); +windows_core::imp::define_interface!(IHttpMediaTypeWithQualityHeaderValueFactory, IHttpMediaTypeWithQualityHeaderValueFactory_Vtbl, 0x4c6d20f4_9457_44e6_a323_d122b958780b); #[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, } -windows_core::imp::com_interface!(IHttpMediaTypeWithQualityHeaderValueStatics, IHttpMediaTypeWithQualityHeaderValueStatics_Vtbl, 0x5b070cd9_b560_4fc8_9835_7e6c0a657b24); +windows_core::imp::define_interface!(IHttpMediaTypeWithQualityHeaderValueStatics, IHttpMediaTypeWithQualityHeaderValueStatics_Vtbl, 0x5b070cd9_b560_4fc8_9835_7e6c0a657b24); #[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, } -windows_core::imp::com_interface!(IHttpMethodHeaderValueCollection, IHttpMethodHeaderValueCollection_Vtbl, 0x43bc3ff4_6119_4adf_938c_34bfffcf92ed); +windows_core::imp::define_interface!(IHttpMethodHeaderValueCollection, IHttpMethodHeaderValueCollection_Vtbl, 0x43bc3ff4_6119_4adf_938c_34bfffcf92ed); #[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, } -windows_core::imp::com_interface!(IHttpNameValueHeaderValue, IHttpNameValueHeaderValue_Vtbl, 0xd8ba7463_5b9a_4d1b_93f9_aa5b44ecfddf); +windows_core::imp::define_interface!(IHttpNameValueHeaderValue, IHttpNameValueHeaderValue_Vtbl, 0xd8ba7463_5b9a_4d1b_93f9_aa5b44ecfddf); #[repr(C)] pub struct IHttpNameValueHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -426,70 +426,70 @@ pub struct IHttpNameValueHeaderValue_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, } -windows_core::imp::com_interface!(IHttpNameValueHeaderValueFactory, IHttpNameValueHeaderValueFactory_Vtbl, 0x770e2267_cbf8_4736_a925_93fbe10c7ca8); +windows_core::imp::define_interface!(IHttpNameValueHeaderValueFactory, IHttpNameValueHeaderValueFactory_Vtbl, 0x770e2267_cbf8_4736_a925_93fbe10c7ca8); #[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, } -windows_core::imp::com_interface!(IHttpNameValueHeaderValueStatics, IHttpNameValueHeaderValueStatics_Vtbl, 0xffd4030f_1130_4152_8659_256909a9d115); +windows_core::imp::define_interface!(IHttpNameValueHeaderValueStatics, IHttpNameValueHeaderValueStatics_Vtbl, 0xffd4030f_1130_4152_8659_256909a9d115); #[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, } -windows_core::imp::com_interface!(IHttpProductHeaderValue, IHttpProductHeaderValue_Vtbl, 0xf4feee03_ebd4_4160_b9ff_807c5183b6e6); +windows_core::imp::define_interface!(IHttpProductHeaderValue, IHttpProductHeaderValue_Vtbl, 0xf4feee03_ebd4_4160_b9ff_807c5183b6e6); #[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, } -windows_core::imp::com_interface!(IHttpProductHeaderValueFactory, IHttpProductHeaderValueFactory_Vtbl, 0x611aa4f5_82bc_42fb_977b_dc00536e5e86); +windows_core::imp::define_interface!(IHttpProductHeaderValueFactory, IHttpProductHeaderValueFactory_Vtbl, 0x611aa4f5_82bc_42fb_977b_dc00536e5e86); #[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, } -windows_core::imp::com_interface!(IHttpProductHeaderValueStatics, IHttpProductHeaderValueStatics_Vtbl, 0x90c33e29_befc_4337_be62_49f097975f53); +windows_core::imp::define_interface!(IHttpProductHeaderValueStatics, IHttpProductHeaderValueStatics_Vtbl, 0x90c33e29_befc_4337_be62_49f097975f53); #[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, } -windows_core::imp::com_interface!(IHttpProductInfoHeaderValue, IHttpProductInfoHeaderValue_Vtbl, 0x1b1a8732_4c35_486a_966f_646489198e4d); +windows_core::imp::define_interface!(IHttpProductInfoHeaderValue, IHttpProductInfoHeaderValue_Vtbl, 0x1b1a8732_4c35_486a_966f_646489198e4d); #[repr(C)] 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, } -windows_core::imp::com_interface!(IHttpProductInfoHeaderValueCollection, IHttpProductInfoHeaderValueCollection_Vtbl, 0x877df74a_d69b_44f8_ad4f_453af9c42ed0); +windows_core::imp::define_interface!(IHttpProductInfoHeaderValueCollection, IHttpProductInfoHeaderValueCollection_Vtbl, 0x877df74a_d69b_44f8_ad4f_453af9c42ed0); #[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, } -windows_core::imp::com_interface!(IHttpProductInfoHeaderValueFactory, IHttpProductInfoHeaderValueFactory_Vtbl, 0x24220fbe_eabe_4464_b460_ec010b7c41e2); +windows_core::imp::define_interface!(IHttpProductInfoHeaderValueFactory, IHttpProductInfoHeaderValueFactory_Vtbl, 0x24220fbe_eabe_4464_b460_ec010b7c41e2); #[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, } -windows_core::imp::com_interface!(IHttpProductInfoHeaderValueStatics, IHttpProductInfoHeaderValueStatics_Vtbl, 0xdb7fd857_327a_4e73_81e5_7059a302b042); +windows_core::imp::define_interface!(IHttpProductInfoHeaderValueStatics, IHttpProductInfoHeaderValueStatics_Vtbl, 0xdb7fd857_327a_4e73_81e5_7059a302b042); #[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, } -windows_core::imp::com_interface!(IHttpRequestHeaderCollection, IHttpRequestHeaderCollection_Vtbl, 0xaf40329b_b544_469b_86b9_ac3d466fea36); +windows_core::imp::define_interface!(IHttpRequestHeaderCollection, IHttpRequestHeaderCollection_Vtbl, 0xaf40329b_b544_469b_86b9_ac3d466fea36); #[repr(C)] pub struct IHttpRequestHeaderCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -529,7 +529,7 @@ pub struct IHttpRequestHeaderCollection_Vtbl { 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, } -windows_core::imp::com_interface!(IHttpResponseHeaderCollection, IHttpResponseHeaderCollection_Vtbl, 0x7a990969_fa3f_41ed_aac6_bf957975c16b); +windows_core::imp::define_interface!(IHttpResponseHeaderCollection, IHttpResponseHeaderCollection_Vtbl, 0x7a990969_fa3f_41ed_aac6_bf957975c16b); #[repr(C)] pub struct IHttpResponseHeaderCollection_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -550,7 +550,7 @@ pub struct IHttpResponseHeaderCollection_Vtbl { 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, } -windows_core::imp::com_interface!(IHttpTransferCodingHeaderValue, IHttpTransferCodingHeaderValue_Vtbl, 0x436f32f9_3ded_42bd_b38a_5496a2511ce6); +windows_core::imp::define_interface!(IHttpTransferCodingHeaderValue, IHttpTransferCodingHeaderValue_Vtbl, 0x436f32f9_3ded_42bd_b38a_5496a2511ce6); #[repr(C)] pub struct IHttpTransferCodingHeaderValue_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -560,20 +560,20 @@ pub struct IHttpTransferCodingHeaderValue_Vtbl { Parameters: usize, pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpTransferCodingHeaderValueCollection, IHttpTransferCodingHeaderValueCollection_Vtbl, 0x202c8c34_2c03_49b8_9665_73e27cb2fc79); +windows_core::imp::define_interface!(IHttpTransferCodingHeaderValueCollection, IHttpTransferCodingHeaderValueCollection_Vtbl, 0x202c8c34_2c03_49b8_9665_73e27cb2fc79); #[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, } -windows_core::imp::com_interface!(IHttpTransferCodingHeaderValueFactory, IHttpTransferCodingHeaderValueFactory_Vtbl, 0xbb62dffc_e361_4f08_8e4f_c9e723de703b); +windows_core::imp::define_interface!(IHttpTransferCodingHeaderValueFactory, IHttpTransferCodingHeaderValueFactory_Vtbl, 0xbb62dffc_e361_4f08_8e4f_c9e723de703b); #[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, } -windows_core::imp::com_interface!(IHttpTransferCodingHeaderValueStatics, IHttpTransferCodingHeaderValueStatics_Vtbl, 0x6ab8892a_1a98_4d32_a906_7470a9875ce5); +windows_core::imp::define_interface!(IHttpTransferCodingHeaderValueStatics, IHttpTransferCodingHeaderValueStatics_Vtbl, 0x6ab8892a_1a98_4d32_a906_7470a9875ce5); #[repr(C)] pub struct IHttpTransferCodingHeaderValueStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Web/Http/mod.rs b/crates/libs/windows/src/Windows/Web/Http/mod.rs index 1d45a79c98..91305a58eb 100644 --- a/crates/libs/windows/src/Windows/Web/Http/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Http/mod.rs @@ -4,7 +4,7 @@ pub mod Diagnostics; pub mod Filters; #[cfg(feature = "Web_Http_Headers")] pub mod Headers; -windows_core::imp::com_interface!(IHttpBufferContentFactory, IHttpBufferContentFactory_Vtbl, 0xbc20c193_c41f_4ff7_9123_6435736eadc2); +windows_core::imp::define_interface!(IHttpBufferContentFactory, IHttpBufferContentFactory_Vtbl, 0xbc20c193_c41f_4ff7_9123_6435736eadc2); #[repr(C)] pub struct IHttpBufferContentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -17,7 +17,7 @@ pub struct IHttpBufferContentFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromBufferWithOffset: usize, } -windows_core::imp::com_interface!(IHttpClient, IHttpClient_Vtbl, 0x7fda1151_3574_4880_a8ba_e6b1e0061f3d); +windows_core::imp::define_interface!(IHttpClient, IHttpClient_Vtbl, 0x7fda1151_3574_4880_a8ba_e6b1e0061f3d); #[repr(C)] pub struct IHttpClient_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -42,7 +42,7 @@ pub struct IHttpClient_Vtbl { #[cfg(not(feature = "Web_Http_Headers"))] DefaultRequestHeaders: usize, } -windows_core::imp::com_interface!(IHttpClient2, IHttpClient2_Vtbl, 0xcdd83348_e8b7_4cec_b1b0_dc455fe72c92); +windows_core::imp::define_interface!(IHttpClient2, IHttpClient2_Vtbl, 0xcdd83348_e8b7_4cec_b1b0_dc455fe72c92); #[repr(C)] pub struct IHttpClient2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -57,14 +57,14 @@ pub struct IHttpClient2_Vtbl { pub TrySendRequestAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TrySendRequestAsync2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, HttpCompletionOption, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpClient3, IHttpClient3_Vtbl, 0x1172fd01_9899_4194_963f_8f9d72a7ec15); +windows_core::imp::define_interface!(IHttpClient3, IHttpClient3_Vtbl, 0x1172fd01_9899_4194_963f_8f9d72a7ec15); #[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, } -windows_core::imp::com_interface!(IHttpClientFactory, IHttpClientFactory_Vtbl, 0xc30c4eca_e3fa_4f99_afb4_63cc65009462); +windows_core::imp::define_interface!(IHttpClientFactory, IHttpClientFactory_Vtbl, 0xc30c4eca_e3fa_4f99_afb4_63cc65009462); #[repr(C)] pub struct IHttpClientFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -73,7 +73,7 @@ pub struct IHttpClientFactory_Vtbl { #[cfg(not(feature = "Web_Http_Filters"))] Create: usize, } -windows_core::imp::com_interface!(IHttpContent, IHttpContent_Vtbl, 0x6b14a441_fba7_4bd2_af0a_839de7c295da); +windows_core::imp::define_interface!(IHttpContent, IHttpContent_Vtbl, 0x6b14a441_fba7_4bd2_af0a_839de7c295da); windows_core::imp::interface_hierarchy!(IHttpContent, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(IHttpContent, super::super::Foundation::IClosable); impl IHttpContent { @@ -164,7 +164,7 @@ pub struct IHttpContent_Vtbl { #[cfg(not(feature = "Storage_Streams"))] WriteToStreamAsync: usize, } -windows_core::imp::com_interface!(IHttpCookie, IHttpCookie_Vtbl, 0x1f5488e2_cc2d_4779_86a7_88f10687d249); +windows_core::imp::define_interface!(IHttpCookie, IHttpCookie_Vtbl, 0x1f5488e2_cc2d_4779_86a7_88f10687d249); #[repr(C)] pub struct IHttpCookie_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -180,13 +180,13 @@ pub struct IHttpCookie_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, } -windows_core::imp::com_interface!(IHttpCookieFactory, IHttpCookieFactory_Vtbl, 0x6a0585a9_931c_4cd1_a96d_c21701785c5f); +windows_core::imp::define_interface!(IHttpCookieFactory, IHttpCookieFactory_Vtbl, 0x6a0585a9_931c_4cd1_a96d_c21701785c5f); #[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, } -windows_core::imp::com_interface!(IHttpCookieManager, IHttpCookieManager_Vtbl, 0x7a431780_cd4f_4e57_a84a_5b0a53d6bb96); +windows_core::imp::define_interface!(IHttpCookieManager, IHttpCookieManager_Vtbl, 0x7a431780_cd4f_4e57_a84a_5b0a53d6bb96); #[repr(C)] pub struct IHttpCookieManager_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -198,7 +198,7 @@ pub struct IHttpCookieManager_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] GetCookies: usize, } -windows_core::imp::com_interface!(IHttpFormUrlEncodedContentFactory, IHttpFormUrlEncodedContentFactory_Vtbl, 0x43f0138c_2f73_4302_b5f3_eae9238a5e01); +windows_core::imp::define_interface!(IHttpFormUrlEncodedContentFactory, IHttpFormUrlEncodedContentFactory_Vtbl, 0x43f0138c_2f73_4302_b5f3_eae9238a5e01); #[repr(C)] pub struct IHttpFormUrlEncodedContentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -207,7 +207,7 @@ pub struct IHttpFormUrlEncodedContentFactory_Vtbl { #[cfg(not(feature = "Foundation_Collections"))] Create: usize, } -windows_core::imp::com_interface!(IHttpGetBufferResult, IHttpGetBufferResult_Vtbl, 0x53d08e7c_e209_404e_9a49_742d8236fd3a); +windows_core::imp::define_interface!(IHttpGetBufferResult, IHttpGetBufferResult_Vtbl, 0x53d08e7c_e209_404e_9a49_742d8236fd3a); #[repr(C)] pub struct IHttpGetBufferResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -220,7 +220,7 @@ pub struct IHttpGetBufferResult_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Value: usize, } -windows_core::imp::com_interface!(IHttpGetInputStreamResult, IHttpGetInputStreamResult_Vtbl, 0xd5d63463_13aa_4ee0_be95_a0c39fe91203); +windows_core::imp::define_interface!(IHttpGetInputStreamResult, IHttpGetInputStreamResult_Vtbl, 0xd5d63463_13aa_4ee0_be95_a0c39fe91203); #[repr(C)] pub struct IHttpGetInputStreamResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -233,7 +233,7 @@ pub struct IHttpGetInputStreamResult_Vtbl { #[cfg(not(feature = "Storage_Streams"))] Value: usize, } -windows_core::imp::com_interface!(IHttpGetStringResult, IHttpGetStringResult_Vtbl, 0x9bac466d_8509_4775_b16d_8953f47a7f5f); +windows_core::imp::define_interface!(IHttpGetStringResult, IHttpGetStringResult_Vtbl, 0x9bac466d_8509_4775_b16d_8953f47a7f5f); #[repr(C)] pub struct IHttpGetStringResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -243,19 +243,19 @@ pub struct IHttpGetStringResult_Vtbl { 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, } -windows_core::imp::com_interface!(IHttpMethod, IHttpMethod_Vtbl, 0x728d4022_700d_4fe0_afa5_40299c58dbfd); +windows_core::imp::define_interface!(IHttpMethod, IHttpMethod_Vtbl, 0x728d4022_700d_4fe0_afa5_40299c58dbfd); #[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, } -windows_core::imp::com_interface!(IHttpMethodFactory, IHttpMethodFactory_Vtbl, 0x3c51d10d_36d7_40f8_a86d_e759caf2f83f); +windows_core::imp::define_interface!(IHttpMethodFactory, IHttpMethodFactory_Vtbl, 0x3c51d10d_36d7_40f8_a86d_e759caf2f83f); #[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, } -windows_core::imp::com_interface!(IHttpMethodStatics, IHttpMethodStatics_Vtbl, 0x64d171f0_d99a_4153_8dc6_d68cc4cce317); +windows_core::imp::define_interface!(IHttpMethodStatics, IHttpMethodStatics_Vtbl, 0x64d171f0_d99a_4153_8dc6_d68cc4cce317); #[repr(C)] pub struct IHttpMethodStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -267,20 +267,20 @@ pub struct IHttpMethodStatics_Vtbl { pub Post: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Put: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpMultipartContent, IHttpMultipartContent_Vtbl, 0xdf916aff_9926_4ac9_aaf1_e0d04ef09bb9); +windows_core::imp::define_interface!(IHttpMultipartContent, IHttpMultipartContent_Vtbl, 0xdf916aff_9926_4ac9_aaf1_e0d04ef09bb9); #[repr(C)] pub struct IHttpMultipartContent_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, } -windows_core::imp::com_interface!(IHttpMultipartContentFactory, IHttpMultipartContentFactory_Vtbl, 0x7eb42e62_0222_4f20_b372_47d5db5d33b4); +windows_core::imp::define_interface!(IHttpMultipartContentFactory, IHttpMultipartContentFactory_Vtbl, 0x7eb42e62_0222_4f20_b372_47d5db5d33b4); #[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, } -windows_core::imp::com_interface!(IHttpMultipartFormDataContent, IHttpMultipartFormDataContent_Vtbl, 0x64d337e2_e967_4624_b6d1_cf74604a4a42); +windows_core::imp::define_interface!(IHttpMultipartFormDataContent, IHttpMultipartFormDataContent_Vtbl, 0x64d337e2_e967_4624_b6d1_cf74604a4a42); #[repr(C)] pub struct IHttpMultipartFormDataContent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -288,13 +288,13 @@ pub struct IHttpMultipartFormDataContent_Vtbl { 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, } -windows_core::imp::com_interface!(IHttpMultipartFormDataContentFactory, IHttpMultipartFormDataContentFactory_Vtbl, 0xa04d7311_5017_4622_93a8_49b24a4fcbfc); +windows_core::imp::define_interface!(IHttpMultipartFormDataContentFactory, IHttpMultipartFormDataContentFactory_Vtbl, 0xa04d7311_5017_4622_93a8_49b24a4fcbfc); #[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, } -windows_core::imp::com_interface!(IHttpRequestMessage, IHttpRequestMessage_Vtbl, 0xf5762b3c_74d4_4811_b5dc_9f8b4e2f9abf); +windows_core::imp::define_interface!(IHttpRequestMessage, IHttpRequestMessage_Vtbl, 0xf5762b3c_74d4_4811_b5dc_9f8b4e2f9abf); #[repr(C)] pub struct IHttpRequestMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -314,20 +314,20 @@ pub struct IHttpRequestMessage_Vtbl { pub SetRequestUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub TransportInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpRequestMessage2, IHttpRequestMessage2_Vtbl, 0xc3c60489_62c2_4a3f_9554_226e7c60bd96); +windows_core::imp::define_interface!(IHttpRequestMessage2, IHttpRequestMessage2_Vtbl, 0xc3c60489_62c2_4a3f_9554_226e7c60bd96); #[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, } -windows_core::imp::com_interface!(IHttpRequestMessageFactory, IHttpRequestMessageFactory_Vtbl, 0x5bac994e_3886_412e_aec3_52ec7f25616f); +windows_core::imp::define_interface!(IHttpRequestMessageFactory, IHttpRequestMessageFactory_Vtbl, 0x5bac994e_3886_412e_aec3_52ec7f25616f); #[repr(C)] pub struct IHttpRequestMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpRequestResult, IHttpRequestResult_Vtbl, 0x6acf4da8_b5eb_4a35_a902_4217fbe820c5); +windows_core::imp::define_interface!(IHttpRequestResult, IHttpRequestResult_Vtbl, 0x6acf4da8_b5eb_4a35_a902_4217fbe820c5); #[repr(C)] pub struct IHttpRequestResult_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -336,7 +336,7 @@ pub struct IHttpRequestResult_Vtbl { 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, } -windows_core::imp::com_interface!(IHttpResponseMessage, IHttpResponseMessage_Vtbl, 0xfee200fb_8664_44e0_95d9_42696199bffc); +windows_core::imp::define_interface!(IHttpResponseMessage, IHttpResponseMessage_Vtbl, 0xfee200fb_8664_44e0_95d9_42696199bffc); #[repr(C)] pub struct IHttpResponseMessage_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -359,13 +359,13 @@ pub struct IHttpResponseMessage_Vtbl { pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, HttpVersion) -> windows_core::HRESULT, pub EnsureSuccessStatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpResponseMessageFactory, IHttpResponseMessageFactory_Vtbl, 0x52a8af99_f095_43da_b60f_7cfc2bc7ea2f); +windows_core::imp::define_interface!(IHttpResponseMessageFactory, IHttpResponseMessageFactory_Vtbl, 0x52a8af99_f095_43da_b60f_7cfc2bc7ea2f); #[repr(C)] pub struct IHttpResponseMessageFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, HttpStatusCode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpStreamContentFactory, IHttpStreamContentFactory_Vtbl, 0xf3e64d9d_f725_407e_942f_0eda189809f4); +windows_core::imp::define_interface!(IHttpStreamContentFactory, IHttpStreamContentFactory_Vtbl, 0xf3e64d9d_f725_407e_942f_0eda189809f4); #[repr(C)] pub struct IHttpStreamContentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -374,7 +374,7 @@ pub struct IHttpStreamContentFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromInputStream: usize, } -windows_core::imp::com_interface!(IHttpStringContentFactory, IHttpStringContentFactory_Vtbl, 0x46649d5b_2e93_48eb_8e61_19677878e57f); +windows_core::imp::define_interface!(IHttpStringContentFactory, IHttpStringContentFactory_Vtbl, 0x46649d5b_2e93_48eb_8e61_19677878e57f); #[repr(C)] pub struct IHttpStringContentFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -388,7 +388,7 @@ pub struct IHttpStringContentFactory_Vtbl { #[cfg(not(feature = "Storage_Streams"))] CreateFromStringWithEncodingAndMediaType: usize, } -windows_core::imp::com_interface!(IHttpTransportInformation, IHttpTransportInformation_Vtbl, 0x70127198_c6a7_4ed0_833a_83fd8b8f178d); +windows_core::imp::define_interface!(IHttpTransportInformation, IHttpTransportInformation_Vtbl, 0x70127198_c6a7_4ed0_833a_83fd8b8f178d); #[repr(C)] pub struct IHttpTransportInformation_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs index 47b016992e..adb21354b7 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/mod.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISyndicationAttribute, ISyndicationAttribute_Vtbl, 0x71e8f969_526e_4001_9a91_e84f83161ab1); +windows_core::imp::define_interface!(ISyndicationAttribute, ISyndicationAttribute_Vtbl, 0x71e8f969_526e_4001_9a91_e84f83161ab1); #[repr(C)] pub struct ISyndicationAttribute_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -9,13 +9,13 @@ pub struct ISyndicationAttribute_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, } -windows_core::imp::com_interface!(ISyndicationAttributeFactory, ISyndicationAttributeFactory_Vtbl, 0x624f1599_ed3e_420f_be86_640414886e4b); +windows_core::imp::define_interface!(ISyndicationAttributeFactory, ISyndicationAttributeFactory_Vtbl, 0x624f1599_ed3e_420f_be86_640414886e4b); #[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, } -windows_core::imp::com_interface!(ISyndicationCategory, ISyndicationCategory_Vtbl, 0x8715626f_0cba_4a7f_89ff_ecb5281423b6); +windows_core::imp::define_interface!(ISyndicationCategory, ISyndicationCategory_Vtbl, 0x8715626f_0cba_4a7f_89ff_ecb5281423b6); #[repr(C)] pub struct ISyndicationCategory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -26,14 +26,14 @@ pub struct ISyndicationCategory_Vtbl { 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, } -windows_core::imp::com_interface!(ISyndicationCategoryFactory, ISyndicationCategoryFactory_Vtbl, 0xab42802f_49e0_4525_8ab2_ab45c02528ff); +windows_core::imp::define_interface!(ISyndicationCategoryFactory, ISyndicationCategoryFactory_Vtbl, 0xab42802f_49e0_4525_8ab2_ab45c02528ff); #[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, } -windows_core::imp::com_interface!(ISyndicationClient, ISyndicationClient_Vtbl, 0x9e18a9b7_7249_4b45_b229_7df895a5a1f5); +windows_core::imp::define_interface!(ISyndicationClient, ISyndicationClient_Vtbl, 0x9e18a9b7_7249_4b45_b229_7df895a5a1f5); windows_core::imp::interface_hierarchy!(ISyndicationClient, windows_core::IUnknown, windows_core::IInspectable); impl ISyndicationClient { #[cfg(feature = "Security_Credentials")] @@ -147,7 +147,7 @@ pub struct ISyndicationClient_Vtbl { pub SetRequestHeader: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::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::com_interface!(ISyndicationClientFactory, ISyndicationClientFactory_Vtbl, 0x2ec4b32c_a79b_4114_b29a_05dffbafb9a4); +windows_core::imp::define_interface!(ISyndicationClientFactory, ISyndicationClientFactory_Vtbl, 0x2ec4b32c_a79b_4114_b29a_05dffbafb9a4); #[repr(C)] pub struct ISyndicationClientFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -156,27 +156,27 @@ pub struct ISyndicationClientFactory_Vtbl { #[cfg(not(feature = "Security_Credentials"))] CreateSyndicationClient: usize, } -windows_core::imp::com_interface!(ISyndicationContent, ISyndicationContent_Vtbl, 0x4641fefe_0e55_40d0_b8d0_6a2ccba9fc7c); +windows_core::imp::define_interface!(ISyndicationContent, ISyndicationContent_Vtbl, 0x4641fefe_0e55_40d0_b8d0_6a2ccba9fc7c); #[repr(C)] pub struct ISyndicationContent_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub SourceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSourceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyndicationContentFactory, ISyndicationContentFactory_Vtbl, 0x3d2fbb93_9520_4173_9388_7e2df324a8a0); +windows_core::imp::define_interface!(ISyndicationContentFactory, ISyndicationContentFactory_Vtbl, 0x3d2fbb93_9520_4173_9388_7e2df324a8a0); #[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 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::com_interface!(ISyndicationErrorStatics, ISyndicationErrorStatics_Vtbl, 0x1fbb2361_45c7_4833_8aa0_be5f3b58a7f4); +windows_core::imp::define_interface!(ISyndicationErrorStatics, ISyndicationErrorStatics_Vtbl, 0x1fbb2361_45c7_4833_8aa0_be5f3b58a7f4); #[repr(C)] pub struct ISyndicationErrorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut SyndicationErrorStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyndicationFeed, ISyndicationFeed_Vtbl, 0x7ffe3cd2_5b66_4d62_8403_1bc10d910d6b); +windows_core::imp::define_interface!(ISyndicationFeed, ISyndicationFeed_Vtbl, 0x7ffe3cd2_5b66_4d62_8403_1bc10d910d6b); #[repr(C)] pub struct ISyndicationFeed_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -227,13 +227,13 @@ pub struct ISyndicationFeed_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] LoadFromXml: usize, } -windows_core::imp::com_interface!(ISyndicationFeedFactory, ISyndicationFeedFactory_Vtbl, 0x23472232_8be9_48b7_8934_6205131d9357); +windows_core::imp::define_interface!(ISyndicationFeedFactory, ISyndicationFeedFactory_Vtbl, 0x23472232_8be9_48b7_8934_6205131d9357); #[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, } -windows_core::imp::com_interface!(ISyndicationGenerator, ISyndicationGenerator_Vtbl, 0x9768b379_fb2b_4f6d_b41c_088a5868825c); +windows_core::imp::define_interface!(ISyndicationGenerator, ISyndicationGenerator_Vtbl, 0x9768b379_fb2b_4f6d_b41c_088a5868825c); #[repr(C)] pub struct ISyndicationGenerator_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -244,13 +244,13 @@ pub struct ISyndicationGenerator_Vtbl { 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, } -windows_core::imp::com_interface!(ISyndicationGeneratorFactory, ISyndicationGeneratorFactory_Vtbl, 0xa34083e3_1e26_4dbc_ba9d_1ab84beff97b); +windows_core::imp::define_interface!(ISyndicationGeneratorFactory, ISyndicationGeneratorFactory_Vtbl, 0xa34083e3_1e26_4dbc_ba9d_1ab84beff97b); #[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, } -windows_core::imp::com_interface!(ISyndicationItem, ISyndicationItem_Vtbl, 0x548db883_c384_45c1_8ae8_a378c4ec486c); +windows_core::imp::define_interface!(ISyndicationItem, ISyndicationItem_Vtbl, 0x548db883_c384_45c1_8ae8_a378c4ec486c); #[repr(C)] pub struct ISyndicationItem_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -298,13 +298,13 @@ pub struct ISyndicationItem_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] LoadFromXml: usize, } -windows_core::imp::com_interface!(ISyndicationItemFactory, ISyndicationItemFactory_Vtbl, 0x251d434f_7db8_487a_85e4_10d191e66ebb); +windows_core::imp::define_interface!(ISyndicationItemFactory, ISyndicationItemFactory_Vtbl, 0x251d434f_7db8_487a_85e4_10d191e66ebb); #[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, } -windows_core::imp::com_interface!(ISyndicationLink, ISyndicationLink_Vtbl, 0x27553abd_a10e_41b5_86bd_9759086eb0c5); +windows_core::imp::define_interface!(ISyndicationLink, ISyndicationLink_Vtbl, 0x27553abd_a10e_41b5_86bd_9759086eb0c5); #[repr(C)] pub struct ISyndicationLink_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -321,14 +321,14 @@ pub struct ISyndicationLink_Vtbl { 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, } -windows_core::imp::com_interface!(ISyndicationLinkFactory, ISyndicationLinkFactory_Vtbl, 0x5ed863d4_5535_48ac_98d4_c190995080b3); +windows_core::imp::define_interface!(ISyndicationLinkFactory, ISyndicationLinkFactory_Vtbl, 0x5ed863d4_5535_48ac_98d4_c190995080b3); #[repr(C)] 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, } -windows_core::imp::com_interface!(ISyndicationNode, ISyndicationNode_Vtbl, 0x753cef78_51f8_45c0_a9f5_f1719dec3fb2); +windows_core::imp::define_interface!(ISyndicationNode, ISyndicationNode_Vtbl, 0x753cef78_51f8_45c0_a9f5_f1719dec3fb2); windows_core::imp::interface_hierarchy!(ISyndicationNode, windows_core::IUnknown, windows_core::IInspectable); impl ISyndicationNode { pub fn NodeName(&self) -> windows_core::Result { @@ -443,13 +443,13 @@ pub struct ISyndicationNode_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] GetXmlDocument: usize, } -windows_core::imp::com_interface!(ISyndicationNodeFactory, ISyndicationNodeFactory_Vtbl, 0x12902188_4acb_49a8_b777_a5eb92e18a79); +windows_core::imp::define_interface!(ISyndicationNodeFactory, ISyndicationNodeFactory_Vtbl, 0x12902188_4acb_49a8_b777_a5eb92e18a79); #[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, } -windows_core::imp::com_interface!(ISyndicationPerson, ISyndicationPerson_Vtbl, 0xfa1ee5da_a7c6_4517_a096_0143faf29327); +windows_core::imp::define_interface!(ISyndicationPerson, ISyndicationPerson_Vtbl, 0xfa1ee5da_a7c6_4517_a096_0143faf29327); #[repr(C)] pub struct ISyndicationPerson_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -460,14 +460,14 @@ pub struct ISyndicationPerson_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, } -windows_core::imp::com_interface!(ISyndicationPersonFactory, ISyndicationPersonFactory_Vtbl, 0xdcf4886d_229d_4b58_a49b_f3d2f0f5c99f); +windows_core::imp::define_interface!(ISyndicationPersonFactory, ISyndicationPersonFactory_Vtbl, 0xdcf4886d_229d_4b58_a49b_f3d2f0f5c99f); #[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, } -windows_core::imp::com_interface!(ISyndicationText, ISyndicationText_Vtbl, 0xb9cc5e80_313a_4091_a2a6_243e0ee923f9); +windows_core::imp::define_interface!(ISyndicationText, ISyndicationText_Vtbl, 0xb9cc5e80_313a_4091_a2a6_243e0ee923f9); windows_core::imp::interface_hierarchy!(ISyndicationText, windows_core::IUnknown, windows_core::IInspectable); windows_core::imp::required_hierarchy!(ISyndicationText, ISyndicationNode); impl ISyndicationText { @@ -611,7 +611,7 @@ pub struct ISyndicationText_Vtbl { #[cfg(not(feature = "Data_Xml_Dom"))] SetXml: usize, } -windows_core::imp::com_interface!(ISyndicationTextFactory, ISyndicationTextFactory_Vtbl, 0xee7342f7_11c6_4b25_ab62_e596bd162946); +windows_core::imp::define_interface!(ISyndicationTextFactory, ISyndicationTextFactory_Vtbl, 0xee7342f7_11c6_4b25_ab62_e596bd162946); #[repr(C)] pub struct ISyndicationTextFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 56f326aad8..71dac5af9c 100644 --- a/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/Interop/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IWebViewControlAcceleratorKeyPressedEventArgs, IWebViewControlAcceleratorKeyPressedEventArgs_Vtbl, 0x77a2a53e_7c74_437d_a290_3ac0d8cd5655); +windows_core::imp::define_interface!(IWebViewControlAcceleratorKeyPressedEventArgs, IWebViewControlAcceleratorKeyPressedEventArgs_Vtbl, 0x77a2a53e_7c74_437d_a290_3ac0d8cd5655); #[repr(C)] pub struct IWebViewControlAcceleratorKeyPressedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -18,13 +18,13 @@ pub struct IWebViewControlAcceleratorKeyPressedEventArgs_Vtbl { pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlMoveFocusRequestedEventArgs, IWebViewControlMoveFocusRequestedEventArgs_Vtbl, 0x6b2a340d_4bd0_405e_b7c1_1e72a492f446); +windows_core::imp::define_interface!(IWebViewControlMoveFocusRequestedEventArgs, IWebViewControlMoveFocusRequestedEventArgs_Vtbl, 0x6b2a340d_4bd0_405e_b7c1_1e72a492f446); #[repr(C)] pub struct IWebViewControlMoveFocusRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Reason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WebViewControlMoveFocusReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlProcess, IWebViewControlProcess_Vtbl, 0x02c723ec_98d6_424a_b63e_c6136c36a0f2); +windows_core::imp::define_interface!(IWebViewControlProcess, IWebViewControlProcess_Vtbl, 0x02c723ec_98d6_424a_b63e_c6136c36a0f2); #[repr(C)] pub struct IWebViewControlProcess_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -40,13 +40,13 @@ pub struct IWebViewControlProcess_Vtbl { pub ProcessExited: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveProcessExited: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlProcessFactory, IWebViewControlProcessFactory_Vtbl, 0x47b65cf9_a2d2_453c_b097_f6779d4b8e02); +windows_core::imp::define_interface!(IWebViewControlProcessFactory, IWebViewControlProcessFactory_Vtbl, 0x47b65cf9_a2d2_453c_b097_f6779d4b8e02); #[repr(C)] pub struct IWebViewControlProcessFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateWithOptions: 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::com_interface!(IWebViewControlProcessOptions, IWebViewControlProcessOptions_Vtbl, 0x1cca72a7_3bd6_4826_8261_6c8189505d89); +windows_core::imp::define_interface!(IWebViewControlProcessOptions, IWebViewControlProcessOptions_Vtbl, 0x1cca72a7_3bd6_4826_8261_6c8189505d89); #[repr(C)] pub struct IWebViewControlProcessOptions_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -55,7 +55,7 @@ pub struct IWebViewControlProcessOptions_Vtbl { 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, } -windows_core::imp::com_interface!(IWebViewControlSite, IWebViewControlSite_Vtbl, 0x133f47c6_12dc_4898_bd47_04967de648ba); +windows_core::imp::define_interface!(IWebViewControlSite, IWebViewControlSite_Vtbl, 0x133f47c6_12dc_4898_bd47_04967de648ba); #[repr(C)] pub struct IWebViewControlSite_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -73,7 +73,7 @@ pub struct IWebViewControlSite_Vtbl { pub AcceleratorKeyPressed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveAcceleratorKeyPressed: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlSite2, IWebViewControlSite2_Vtbl, 0xd13b2e3f_48ee_4730_8243_d2ed0c05606a); +windows_core::imp::define_interface!(IWebViewControlSite2, IWebViewControlSite2_Vtbl, 0xd13b2e3f_48ee_4730_8243_d2ed0c05606a); #[repr(C)] pub struct IWebViewControlSite2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Web/UI/mod.rs b/crates/libs/windows/src/Windows/Web/UI/mod.rs index 209a71bcc8..35ee7d3073 100644 --- a/crates/libs/windows/src/Windows/Web/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Web/UI/mod.rs @@ -1,6 +1,6 @@ #[cfg(feature = "Web_UI_Interop")] pub mod Interop; -windows_core::imp::com_interface!(IWebViewControl, IWebViewControl_Vtbl, 0x3f921316_bc70_4bda_9136_c94370899fab); +windows_core::imp::define_interface!(IWebViewControl, IWebViewControl_Vtbl, 0x3f921316_bc70_4bda_9136_c94370899fab); windows_core::imp::interface_hierarchy!(IWebViewControl, windows_core::IUnknown, windows_core::IInspectable); impl IWebViewControl { pub fn Source(&self) -> windows_core::Result { @@ -481,7 +481,7 @@ pub struct IWebViewControl_Vtbl { pub WebResourceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, pub RemoveWebResourceRequested: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::EventRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControl2, IWebViewControl2_Vtbl, 0x4d3c06f9_c8df_41cc_8bd5_2a947b204503); +windows_core::imp::define_interface!(IWebViewControl2, IWebViewControl2_Vtbl, 0x4d3c06f9_c8df_41cc_8bd5_2a947b204503); windows_core::imp::interface_hierarchy!(IWebViewControl2, windows_core::IUnknown, windows_core::IInspectable); impl IWebViewControl2 { pub fn AddInitializeScript(&self, script: &windows_core::HSTRING) -> windows_core::Result<()> { @@ -497,19 +497,19 @@ 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, } -windows_core::imp::com_interface!(IWebViewControlContentLoadingEventArgs, IWebViewControlContentLoadingEventArgs_Vtbl, 0x9a3fccb2_b9bb_404b_a22b_66dccd1250c6); +windows_core::imp::define_interface!(IWebViewControlContentLoadingEventArgs, IWebViewControlContentLoadingEventArgs_Vtbl, 0x9a3fccb2_b9bb_404b_a22b_66dccd1250c6); #[repr(C)] pub struct IWebViewControlContentLoadingEventArgs_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, } -windows_core::imp::com_interface!(IWebViewControlDOMContentLoadedEventArgs, IWebViewControlDOMContentLoadedEventArgs_Vtbl, 0xbe8bc008_9541_4545_9ff2_2df585b29f7d); +windows_core::imp::define_interface!(IWebViewControlDOMContentLoadedEventArgs, IWebViewControlDOMContentLoadedEventArgs_Vtbl, 0xbe8bc008_9541_4545_9ff2_2df585b29f7d); #[repr(C)] pub struct IWebViewControlDOMContentLoadedEventArgs_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, } -windows_core::imp::com_interface!(IWebViewControlDeferredPermissionRequest, IWebViewControlDeferredPermissionRequest_Vtbl, 0x2ce349e0_d759_445c_9926_8995298f152b); +windows_core::imp::define_interface!(IWebViewControlDeferredPermissionRequest, IWebViewControlDeferredPermissionRequest_Vtbl, 0x2ce349e0_d759_445c_9926_8995298f152b); #[repr(C)] pub struct IWebViewControlDeferredPermissionRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -519,7 +519,7 @@ pub struct IWebViewControlDeferredPermissionRequest_Vtbl { pub Allow: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Deny: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlLongRunningScriptDetectedEventArgs, IWebViewControlLongRunningScriptDetectedEventArgs_Vtbl, 0x2a6e5bba_98b4_45bc_bbeb_0f69ce49c599); +windows_core::imp::define_interface!(IWebViewControlLongRunningScriptDetectedEventArgs, IWebViewControlLongRunningScriptDetectedEventArgs_Vtbl, 0x2a6e5bba_98b4_45bc_bbeb_0f69ce49c599); #[repr(C)] pub struct IWebViewControlLongRunningScriptDetectedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -527,7 +527,7 @@ pub struct IWebViewControlLongRunningScriptDetectedEventArgs_Vtbl { pub StopPageScriptExecution: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetStopPageScriptExecution: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlNavigationCompletedEventArgs, IWebViewControlNavigationCompletedEventArgs_Vtbl, 0x20409918_4a15_4c46_a55d_f79edb0bde8b); +windows_core::imp::define_interface!(IWebViewControlNavigationCompletedEventArgs, IWebViewControlNavigationCompletedEventArgs_Vtbl, 0x20409918_4a15_4c46_a55d_f79edb0bde8b); #[repr(C)] pub struct IWebViewControlNavigationCompletedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -535,7 +535,7 @@ pub struct IWebViewControlNavigationCompletedEventArgs_Vtbl { pub IsSuccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub WebErrorStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::WebErrorStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlNavigationStartingEventArgs, IWebViewControlNavigationStartingEventArgs_Vtbl, 0x0c9057c5_0a08_41c7_863b_71e3a9549137); +windows_core::imp::define_interface!(IWebViewControlNavigationStartingEventArgs, IWebViewControlNavigationStartingEventArgs_Vtbl, 0x0c9057c5_0a08_41c7_863b_71e3a9549137); #[repr(C)] pub struct IWebViewControlNavigationStartingEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -543,7 +543,7 @@ pub struct IWebViewControlNavigationStartingEventArgs_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetCancel: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlNewWindowRequestedEventArgs, IWebViewControlNewWindowRequestedEventArgs_Vtbl, 0x3df44bbb_a124_46d5_a083_d02cacdff5ad); +windows_core::imp::define_interface!(IWebViewControlNewWindowRequestedEventArgs, IWebViewControlNewWindowRequestedEventArgs_Vtbl, 0x3df44bbb_a124_46d5_a083_d02cacdff5ad); #[repr(C)] pub struct IWebViewControlNewWindowRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -552,7 +552,7 @@ pub struct IWebViewControlNewWindowRequestedEventArgs_Vtbl { pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlNewWindowRequestedEventArgs2, IWebViewControlNewWindowRequestedEventArgs2_Vtbl, 0xb53c5ca6_2aae_4bfc_92b9_c30e92b48098); +windows_core::imp::define_interface!(IWebViewControlNewWindowRequestedEventArgs2, IWebViewControlNewWindowRequestedEventArgs2_Vtbl, 0xb53c5ca6_2aae_4bfc_92b9_c30e92b48098); #[repr(C)] pub struct IWebViewControlNewWindowRequestedEventArgs2_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -560,7 +560,7 @@ pub struct IWebViewControlNewWindowRequestedEventArgs2_Vtbl { pub SetNewWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *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::com_interface!(IWebViewControlPermissionRequest, IWebViewControlPermissionRequest_Vtbl, 0xe5bc836c_f22f_40e2_95b2_7729f840eb7f); +windows_core::imp::define_interface!(IWebViewControlPermissionRequest, IWebViewControlPermissionRequest_Vtbl, 0xe5bc836c_f22f_40e2_95b2_7729f840eb7f); #[repr(C)] pub struct IWebViewControlPermissionRequest_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -572,20 +572,20 @@ pub struct IWebViewControlPermissionRequest_Vtbl { pub Allow: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Deny: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlPermissionRequestedEventArgs, IWebViewControlPermissionRequestedEventArgs_Vtbl, 0x27204d51_2488_4cc5_968e_0a771e59c147); +windows_core::imp::define_interface!(IWebViewControlPermissionRequestedEventArgs, IWebViewControlPermissionRequestedEventArgs_Vtbl, 0x27204d51_2488_4cc5_968e_0a771e59c147); #[repr(C)] pub struct IWebViewControlPermissionRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PermissionRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlScriptNotifyEventArgs, IWebViewControlScriptNotifyEventArgs_Vtbl, 0x491de57b_6f49_41bb_b591_51b85b817037); +windows_core::imp::define_interface!(IWebViewControlScriptNotifyEventArgs, IWebViewControlScriptNotifyEventArgs_Vtbl, 0x491de57b_6f49_41bb_b591_51b85b817037); #[repr(C)] 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, } -windows_core::imp::com_interface!(IWebViewControlSettings, IWebViewControlSettings_Vtbl, 0xc9967fbf_5e98_4cfd_8cce_27b0911e3de8); +windows_core::imp::define_interface!(IWebViewControlSettings, IWebViewControlSettings_Vtbl, 0xc9967fbf_5e98_4cfd_8cce_27b0911e3de8); #[repr(C)] pub struct IWebViewControlSettings_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -596,7 +596,7 @@ pub struct IWebViewControlSettings_Vtbl { pub SetIsScriptNotifyAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, pub IsScriptNotifyAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs, IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs_Vtbl, 0xe3b81944_e4fc_43dc_94ca_f980f30bc51d); +windows_core::imp::define_interface!(IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs, IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs_Vtbl, 0xe3b81944_e4fc_43dc_94ca_f980f30bc51d); #[repr(C)] pub struct IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -604,7 +604,7 @@ pub struct IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs_Vtbl { pub Handled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub SetHandled: unsafe extern "system" fn(*mut core::ffi::c_void, bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebViewControlUnviewableContentIdentifiedEventArgs, IWebViewControlUnviewableContentIdentifiedEventArgs_Vtbl, 0x4a9680db_88f2_4e20_b693_b4e2df4aa581); +windows_core::imp::define_interface!(IWebViewControlUnviewableContentIdentifiedEventArgs, IWebViewControlUnviewableContentIdentifiedEventArgs_Vtbl, 0x4a9680db_88f2_4e20_b693_b4e2df4aa581); #[repr(C)] pub struct IWebViewControlUnviewableContentIdentifiedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -612,7 +612,7 @@ pub struct IWebViewControlUnviewableContentIdentifiedEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IWebViewControlWebResourceRequestedEventArgs, IWebViewControlWebResourceRequestedEventArgs_Vtbl, 0x44d6524d_55a4_4d8b_891c_931d8e25d42e); +windows_core::imp::define_interface!(IWebViewControlWebResourceRequestedEventArgs, IWebViewControlWebResourceRequestedEventArgs_Vtbl, 0x44d6524d_55a4_4d8b_891c_931d8e25d42e); #[repr(C)] pub struct IWebViewControlWebResourceRequestedEventArgs_Vtbl { pub base__: windows_core::IInspectable_Vtbl, diff --git a/crates/libs/windows/src/Windows/Web/mod.rs b/crates/libs/windows/src/Windows/Web/mod.rs index 6b8f3d02a4..d830e37177 100644 --- a/crates/libs/windows/src/Windows/Web/mod.rs +++ b/crates/libs/windows/src/Windows/Web/mod.rs @@ -6,7 +6,7 @@ pub mod Http; pub mod Syndication; #[cfg(feature = "Web_UI")] pub mod UI; -windows_core::imp::com_interface!(IUriToStreamResolver, IUriToStreamResolver_Vtbl, 0xb0aba86a_9aeb_4d3a_9590_003e3ca7e290); +windows_core::imp::define_interface!(IUriToStreamResolver, IUriToStreamResolver_Vtbl, 0xb0aba86a_9aeb_4d3a_9590_003e3ca7e290); windows_core::imp::interface_hierarchy!(IUriToStreamResolver, windows_core::IUnknown, windows_core::IInspectable); impl IUriToStreamResolver { #[cfg(feature = "Storage_Streams")] @@ -32,7 +32,7 @@ pub struct IUriToStreamResolver_Vtbl { #[cfg(not(feature = "Storage_Streams"))] UriToStreamAsync: usize, } -windows_core::imp::com_interface!(IWebErrorStatics, IWebErrorStatics_Vtbl, 0xfe616766_bf27_4064_87b7_6563bb11ce2e); +windows_core::imp::define_interface!(IWebErrorStatics, IWebErrorStatics_Vtbl, 0xfe616766_bf27_4064_87b7_6563bb11ce2e); #[repr(C)] pub struct IWebErrorStatics_Vtbl { pub base__: windows_core::IInspectable_Vtbl, 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 191bad00e6..12708bbd02 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 @@ -18,7 +18,7 @@ where windows_targets::link!("directml.dll" "system" fn DMLCreateDevice1(d3d12device : * mut core::ffi::c_void, flags : DML_CREATE_DEVICE_FLAGS, minimumfeaturelevel : DML_FEATURE_LEVEL, riid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); DMLCreateDevice1(d3d12device.into_param().abi(), flags, minimumfeaturelevel, &T::IID, result__ as *mut _ as *mut _).ok() } -windows_core::imp::com_interface!(IDMLBindingTable, IDMLBindingTable_Vtbl, 0x29c687dc_de74_4e3b_ab00_1168f2fc3cfc); +windows_core::imp::define_interface!(IDMLBindingTable, IDMLBindingTable_Vtbl, 0x29c687dc_de74_4e3b_ab00_1168f2fc3cfc); windows_core::imp::interface_hierarchy!(IDMLBindingTable, windows_core::IUnknown, IDMLObject, IDMLDeviceChild); impl IDMLBindingTable { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, datasize: *mut u32, data: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -75,7 +75,7 @@ pub struct IDMLBindingTable_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] Reset: usize, } -windows_core::imp::com_interface!(IDMLCommandRecorder, IDMLCommandRecorder_Vtbl, 0xe6857a76_2e3e_4fdd_bff4_5d2ba10fb453); +windows_core::imp::define_interface!(IDMLCommandRecorder, IDMLCommandRecorder_Vtbl, 0xe6857a76_2e3e_4fdd_bff4_5d2ba10fb453); windows_core::imp::interface_hierarchy!(IDMLCommandRecorder, windows_core::IUnknown, IDMLObject, IDMLDeviceChild); impl IDMLCommandRecorder { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, datasize: *mut u32, data: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -121,7 +121,7 @@ pub struct IDMLCommandRecorder_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] RecordDispatch: usize, } -windows_core::imp::com_interface!(IDMLCompiledOperator, IDMLCompiledOperator_Vtbl, 0x6b15e56a_bf5c_4902_92d8_da3a650afea4); +windows_core::imp::define_interface!(IDMLCompiledOperator, IDMLCompiledOperator_Vtbl, 0x6b15e56a_bf5c_4902_92d8_da3a650afea4); windows_core::imp::interface_hierarchy!(IDMLCompiledOperator, windows_core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable, IDMLDispatchable); impl IDMLCompiledOperator { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, datasize: *mut u32, data: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -159,7 +159,7 @@ impl IDMLCompiledOperator { pub struct IDMLCompiledOperator_Vtbl { pub base__: IDMLDispatchable_Vtbl, } -windows_core::imp::com_interface!(IDMLDebugDevice, IDMLDebugDevice_Vtbl, 0x7d6f3ac9_394a_4ac3_92a7_390cc57a8217); +windows_core::imp::define_interface!(IDMLDebugDevice, IDMLDebugDevice_Vtbl, 0x7d6f3ac9_394a_4ac3_92a7_390cc57a8217); windows_core::imp::interface_hierarchy!(IDMLDebugDevice, windows_core::IUnknown); impl IDMLDebugDevice { pub unsafe fn SetMuteDebugOutput(&self, mute: P0) @@ -174,7 +174,7 @@ pub struct IDMLDebugDevice_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL), } -windows_core::imp::com_interface!(IDMLDevice, IDMLDevice_Vtbl, 0x6dbd6437_96fd_423f_a98c_ae5e7c2a573f); +windows_core::imp::define_interface!(IDMLDevice, IDMLDevice_Vtbl, 0x6dbd6437_96fd_423f_a98c_ae5e7c2a573f); windows_core::imp::interface_hierarchy!(IDMLDevice, windows_core::IUnknown, IDMLObject); impl IDMLDevice { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, datasize: *mut u32, data: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -267,7 +267,7 @@ pub struct IDMLDevice_Vtbl { pub GetDeviceRemovedReason: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetParentDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDMLDevice1, IDMLDevice1_Vtbl, 0xa0884f9a_d2be_4355_aa5d_5901281ad1d2); +windows_core::imp::define_interface!(IDMLDevice1, IDMLDevice1_Vtbl, 0xa0884f9a_d2be_4355_aa5d_5901281ad1d2); windows_core::imp::interface_hierarchy!(IDMLDevice1, windows_core::IUnknown, IDMLObject, IDMLDevice); impl IDMLDevice1 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, datasize: *mut u32, data: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -354,7 +354,7 @@ pub struct IDMLDevice1_Vtbl { pub base__: IDMLDevice_Vtbl, pub CompileGraph: unsafe extern "system" fn(*mut core::ffi::c_void, *const DML_GRAPH_DESC, DML_EXECUTION_FLAGS, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDMLDeviceChild, IDMLDeviceChild_Vtbl, 0x27e83142_8165_49e3_974e_2fd66e4cb69d); +windows_core::imp::define_interface!(IDMLDeviceChild, IDMLDeviceChild_Vtbl, 0x27e83142_8165_49e3_974e_2fd66e4cb69d); windows_core::imp::interface_hierarchy!(IDMLDeviceChild, windows_core::IUnknown, IDMLObject); impl IDMLDeviceChild { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, datasize: *mut u32, data: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -388,7 +388,7 @@ pub struct IDMLDeviceChild_Vtbl { pub base__: IDMLObject_Vtbl, pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDMLDispatchable, IDMLDispatchable_Vtbl, 0xdcb821a8_1039_441e_9f1c_b1759c2f3cec); +windows_core::imp::define_interface!(IDMLDispatchable, IDMLDispatchable_Vtbl, 0xdcb821a8_1039_441e_9f1c_b1759c2f3cec); windows_core::imp::interface_hierarchy!(IDMLDispatchable, windows_core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable); impl IDMLDispatchable { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, datasize: *mut u32, data: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -427,7 +427,7 @@ pub struct IDMLDispatchable_Vtbl { pub base__: IDMLPageable_Vtbl, pub GetBindingProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DML_BINDING_PROPERTIES), } -windows_core::imp::com_interface!(IDMLObject, IDMLObject_Vtbl, 0xc8263aac_9e0c_4a2d_9b8e_007521a3317c); +windows_core::imp::define_interface!(IDMLObject, IDMLObject_Vtbl, 0xc8263aac_9e0c_4a2d_9b8e_007521a3317c); windows_core::imp::interface_hierarchy!(IDMLObject, windows_core::IUnknown); impl IDMLObject { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, datasize: *mut u32, data: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -457,7 +457,7 @@ pub struct IDMLObject_Vtbl { pub SetPrivateDataInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDMLOperator, IDMLOperator_Vtbl, 0x26caae7a_3081_4633_9581_226fbe57695d); +windows_core::imp::define_interface!(IDMLOperator, IDMLOperator_Vtbl, 0x26caae7a_3081_4633_9581_226fbe57695d); windows_core::imp::interface_hierarchy!(IDMLOperator, windows_core::IUnknown, IDMLObject, IDMLDeviceChild); impl IDMLOperator { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, datasize: *mut u32, data: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -490,7 +490,7 @@ impl IDMLOperator { pub struct IDMLOperator_Vtbl { pub base__: IDMLDeviceChild_Vtbl, } -windows_core::imp::com_interface!(IDMLOperatorInitializer, IDMLOperatorInitializer_Vtbl, 0x427c1113_435c_469c_8676_4d5dd072f813); +windows_core::imp::define_interface!(IDMLOperatorInitializer, IDMLOperatorInitializer_Vtbl, 0x427c1113_435c_469c_8676_4d5dd072f813); windows_core::imp::interface_hierarchy!(IDMLOperatorInitializer, windows_core::IUnknown, IDMLObject, IDMLDeviceChild, IDMLPageable, IDMLDispatchable); impl IDMLOperatorInitializer { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, datasize: *mut u32, data: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -532,7 +532,7 @@ pub struct IDMLOperatorInitializer_Vtbl { pub base__: IDMLDispatchable_Vtbl, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDMLPageable, IDMLPageable_Vtbl, 0xb1ab0825_4542_4a4b_8617_6dde6e8f6201); +windows_core::imp::define_interface!(IDMLPageable, IDMLPageable_Vtbl, 0xb1ab0825_4542_4a4b_8617_6dde6e8f6201); windows_core::imp::interface_hierarchy!(IDMLPageable, windows_core::IUnknown, IDMLObject, IDMLDeviceChild); impl IDMLPageable { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, datasize: *mut u32, data: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/mod.rs index 593cbe974a..e341135734 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 @@ -10,7 +10,7 @@ pub unsafe fn WinMLCreateRuntime() -> windows_core::Result { let mut result__ = std::mem::zeroed(); WinMLCreateRuntime(&mut result__).and_then(|| windows_core::Type::from_abi(result__)) } -windows_core::imp::com_interface!(IMLOperatorAttributes, IMLOperatorAttributes_Vtbl, 0x4b1b1759_ec40_466c_aab4_beb5347fd24c); +windows_core::imp::define_interface!(IMLOperatorAttributes, IMLOperatorAttributes_Vtbl, 0x4b1b1759_ec40_466c_aab4_beb5347fd24c); windows_core::imp::interface_hierarchy!(IMLOperatorAttributes, windows_core::IUnknown); impl IMLOperatorAttributes { pub unsafe fn GetAttributeElementCount(&self, name: P0, r#type: MLOperatorAttributeType) -> windows_core::Result @@ -48,7 +48,7 @@ pub struct IMLOperatorAttributes_Vtbl { pub GetStringAttributeElementLength: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, *mut u32) -> windows_core::HRESULT, pub GetStringAttributeElement: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, u32, windows_core::PSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLOperatorKernel, IMLOperatorKernel_Vtbl, 0x11c4b4a0_b467_4eaa_a1a6_b961d8d0ed79); +windows_core::imp::define_interface!(IMLOperatorKernel, IMLOperatorKernel_Vtbl, 0x11c4b4a0_b467_4eaa_a1a6_b961d8d0ed79); windows_core::imp::interface_hierarchy!(IMLOperatorKernel, windows_core::IUnknown); impl IMLOperatorKernel { pub unsafe fn Compute(&self, context: P0) -> windows_core::Result<()> @@ -63,7 +63,7 @@ pub struct IMLOperatorKernel_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Compute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLOperatorKernelContext, IMLOperatorKernelContext_Vtbl, 0x82536a28_f022_4769_9d3f_8b278f84c0c3); +windows_core::imp::define_interface!(IMLOperatorKernelContext, IMLOperatorKernelContext_Vtbl, 0x82536a28_f022_4769_9d3f_8b278f84c0c3); windows_core::imp::interface_hierarchy!(IMLOperatorKernelContext, windows_core::IUnknown); impl IMLOperatorKernelContext { pub unsafe fn GetInputTensor(&self, inputindex: u32) -> windows_core::Result { @@ -97,7 +97,7 @@ pub struct IMLOperatorKernelContext_Vtbl { pub AllocateTemporaryData: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetExecutionInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMLOperatorKernelCreationContext, IMLOperatorKernelCreationContext_Vtbl, 0x5459b53d_a0fc_4665_addd_70171ef7e631); +windows_core::imp::define_interface!(IMLOperatorKernelCreationContext, IMLOperatorKernelCreationContext_Vtbl, 0x5459b53d_a0fc_4665_addd_70171ef7e631); windows_core::imp::interface_hierarchy!(IMLOperatorKernelCreationContext, windows_core::IUnknown, IMLOperatorAttributes); impl IMLOperatorKernelCreationContext { pub unsafe fn GetAttributeElementCount(&self, name: P0, r#type: MLOperatorAttributeType) -> windows_core::Result @@ -172,7 +172,7 @@ pub struct IMLOperatorKernelCreationContext_Vtbl { pub GetTensorShapeDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetExecutionInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMLOperatorKernelFactory, IMLOperatorKernelFactory_Vtbl, 0xef15ad6f_0dc9_4908_ab35_a575a30dfbf8); +windows_core::imp::define_interface!(IMLOperatorKernelFactory, IMLOperatorKernelFactory_Vtbl, 0xef15ad6f_0dc9_4908_ab35_a575a30dfbf8); windows_core::imp::interface_hierarchy!(IMLOperatorKernelFactory, windows_core::IUnknown); impl IMLOperatorKernelFactory { pub unsafe fn CreateKernel(&self, context: P0) -> windows_core::Result @@ -188,7 +188,7 @@ pub struct IMLOperatorKernelFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateKernel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLOperatorRegistry, IMLOperatorRegistry_Vtbl, 0x2af9dd2d_b516_4672_9ab5_530c208493ad); +windows_core::imp::define_interface!(IMLOperatorRegistry, IMLOperatorRegistry_Vtbl, 0x2af9dd2d_b516_4672_9ab5_530c208493ad); windows_core::imp::interface_hierarchy!(IMLOperatorRegistry, windows_core::IUnknown); impl IMLOperatorRegistry { pub unsafe fn RegisterOperatorSetSchema(&self, operatorsetid: *const MLOperatorSetId, baselineversion: i32, schema: Option<&[*const MLOperatorSchemaDescription]>, typeinferrer: P0, shapeinferrer: P1) -> windows_core::Result<()> @@ -212,7 +212,7 @@ pub struct IMLOperatorRegistry_Vtbl { pub RegisterOperatorSetSchema: unsafe extern "system" fn(*mut core::ffi::c_void, *const MLOperatorSetId, i32, *const *const MLOperatorSchemaDescription, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RegisterOperatorKernel: unsafe extern "system" fn(*mut core::ffi::c_void, *const MLOperatorKernelDescription, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLOperatorShapeInferenceContext, IMLOperatorShapeInferenceContext_Vtbl, 0x105b6b29_5408_4a68_9959_09b5955a3492); +windows_core::imp::define_interface!(IMLOperatorShapeInferenceContext, IMLOperatorShapeInferenceContext_Vtbl, 0x105b6b29_5408_4a68_9959_09b5955a3492); windows_core::imp::interface_hierarchy!(IMLOperatorShapeInferenceContext, windows_core::IUnknown, IMLOperatorAttributes); impl IMLOperatorShapeInferenceContext { pub unsafe fn GetAttributeElementCount(&self, name: P0, r#type: MLOperatorAttributeType) -> windows_core::Result @@ -280,7 +280,7 @@ pub struct IMLOperatorShapeInferenceContext_Vtbl { pub GetInputTensorShape: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32) -> windows_core::HRESULT, pub SetOutputTensorShape: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLOperatorShapeInferrer, IMLOperatorShapeInferrer_Vtbl, 0x540be5be_a6c9_40ee_83f6_d2b8b40a7798); +windows_core::imp::define_interface!(IMLOperatorShapeInferrer, IMLOperatorShapeInferrer_Vtbl, 0x540be5be_a6c9_40ee_83f6_d2b8b40a7798); windows_core::imp::interface_hierarchy!(IMLOperatorShapeInferrer, windows_core::IUnknown); impl IMLOperatorShapeInferrer { pub unsafe fn InferOutputShapes(&self, context: P0) -> windows_core::Result<()> @@ -295,7 +295,7 @@ pub struct IMLOperatorShapeInferrer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InferOutputShapes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLOperatorTensor, IMLOperatorTensor_Vtbl, 0x7fe41f41_f430_440e_aece_54416dc8b9db); +windows_core::imp::define_interface!(IMLOperatorTensor, IMLOperatorTensor_Vtbl, 0x7fe41f41_f430_440e_aece_54416dc8b9db); windows_core::imp::interface_hierarchy!(IMLOperatorTensor, windows_core::IUnknown); impl IMLOperatorTensor { pub unsafe fn GetDimensionCount(&self) -> u32 { @@ -333,7 +333,7 @@ pub struct IMLOperatorTensor_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut core::ffi::c_void, pub GetDataInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMLOperatorTensorShapeDescription, IMLOperatorTensorShapeDescription_Vtbl, 0xf20e8cbe_3b28_4248_be95_f96fbc6e4643); +windows_core::imp::define_interface!(IMLOperatorTensorShapeDescription, IMLOperatorTensorShapeDescription_Vtbl, 0xf20e8cbe_3b28_4248_be95_f96fbc6e4643); windows_core::imp::interface_hierarchy!(IMLOperatorTensorShapeDescription, windows_core::IUnknown); impl IMLOperatorTensorShapeDescription { pub unsafe fn GetInputTensorDimensionCount(&self, inputindex: u32) -> windows_core::Result { @@ -363,7 +363,7 @@ pub struct IMLOperatorTensorShapeDescription_Vtbl { pub GetOutputTensorDimensionCount: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetOutputTensorShape: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLOperatorTypeInferenceContext, IMLOperatorTypeInferenceContext_Vtbl, 0xec893bb1_f938_427b_8488_c8dcf775f138); +windows_core::imp::define_interface!(IMLOperatorTypeInferenceContext, IMLOperatorTypeInferenceContext_Vtbl, 0xec893bb1_f938_427b_8488_c8dcf775f138); windows_core::imp::interface_hierarchy!(IMLOperatorTypeInferenceContext, windows_core::IUnknown, IMLOperatorAttributes); impl IMLOperatorTypeInferenceContext { pub unsafe fn GetAttributeElementCount(&self, name: P0, r#type: MLOperatorAttributeType) -> windows_core::Result @@ -422,7 +422,7 @@ pub struct IMLOperatorTypeInferenceContext_Vtbl { pub GetInputEdgeDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut MLOperatorEdgeDescription) -> windows_core::HRESULT, pub SetOutputEdgeDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const MLOperatorEdgeDescription) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLOperatorTypeInferrer, IMLOperatorTypeInferrer_Vtbl, 0x781aeb48_9bcb_4797_bf77_8bf455217beb); +windows_core::imp::define_interface!(IMLOperatorTypeInferrer, IMLOperatorTypeInferrer_Vtbl, 0x781aeb48_9bcb_4797_bf77_8bf455217beb); windows_core::imp::interface_hierarchy!(IMLOperatorTypeInferrer, windows_core::IUnknown); impl IMLOperatorTypeInferrer { pub unsafe fn InferOutputTypes(&self, context: P0) -> windows_core::Result<()> @@ -437,7 +437,7 @@ pub struct IMLOperatorTypeInferrer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InferOutputTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWinMLEvaluationContext, IWinMLEvaluationContext_Vtbl, 0x95848f9e_583d_4054_af12_916387cd8426); +windows_core::imp::define_interface!(IWinMLEvaluationContext, IWinMLEvaluationContext_Vtbl, 0x95848f9e_583d_4054_af12_916387cd8426); windows_core::imp::interface_hierarchy!(IWinMLEvaluationContext, windows_core::IUnknown); impl IWinMLEvaluationContext { #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -469,7 +469,7 @@ pub struct IWinMLEvaluationContext_Vtbl { GetValueByName: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWinMLModel, IWinMLModel_Vtbl, 0xe2eeb6a9_f31f_4055_a521_e30b5b33664a); +windows_core::imp::define_interface!(IWinMLModel, IWinMLModel_Vtbl, 0xe2eeb6a9_f31f_4055_a521_e30b5b33664a); windows_core::imp::interface_hierarchy!(IWinMLModel, windows_core::IUnknown); impl IWinMLModel { pub unsafe fn GetDescription(&self) -> windows_core::Result<*mut WINML_MODEL_DESC> { @@ -496,7 +496,7 @@ pub struct IWinMLModel_Vtbl { pub EnumerateModelInputs: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut WINML_VARIABLE_DESC) -> windows_core::HRESULT, pub EnumerateModelOutputs: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut WINML_VARIABLE_DESC) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWinMLRuntime, IWinMLRuntime_Vtbl, 0xa0425329_40ae_48d9_bce3_829ef7b8a41a); +windows_core::imp::define_interface!(IWinMLRuntime, IWinMLRuntime_Vtbl, 0xa0425329_40ae_48d9_bce3_829ef7b8a41a); windows_core::imp::interface_hierarchy!(IWinMLRuntime, windows_core::IUnknown); impl IWinMLRuntime { pub unsafe fn LoadModel(&self, path: P0) -> windows_core::Result @@ -531,7 +531,7 @@ pub struct IWinMLRuntime_Vtbl { CreateEvaluationContext: usize, pub EvaluateModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWinMLRuntimeFactory, IWinMLRuntimeFactory_Vtbl, 0xa807b84d_4ae5_4bc0_a76a_941aa246bd41); +windows_core::imp::define_interface!(IWinMLRuntimeFactory, IWinMLRuntimeFactory_Vtbl, 0xa807b84d_4ae5_4bc0_a76a_941aa246bd41); windows_core::imp::interface_hierarchy!(IWinMLRuntimeFactory, windows_core::IUnknown); impl IWinMLRuntimeFactory { pub unsafe fn CreateRuntime(&self, runtimetype: WINML_RUNTIME_TYPE) -> windows_core::Result { 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 25973c94e4..80415ae518 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/mod.rs @@ -16,7 +16,7 @@ where windows_targets::link!("hhctrl.ocx" "system" fn HtmlHelpW(hwndcaller : super::super::Foundation:: HWND, pszfile : windows_core::PCWSTR, ucommand : u32, dwdata : usize) -> super::super::Foundation:: HWND); HtmlHelpW(hwndcaller.into_param().abi(), pszfile.into_param().abi(), ucommand.0 as _, dwdata) } -windows_core::imp::com_interface!(IITDatabase, IITDatabase_Vtbl, 0x8fa0d5a2_dedf_11d0_9a61_00c04fb68bf7); +windows_core::imp::define_interface!(IITDatabase, IITDatabase_Vtbl, 0x8fa0d5a2_dedf_11d0_9a61_00c04fb68bf7); windows_core::imp::interface_hierarchy!(IITDatabase, windows_core::IUnknown); impl IITDatabase { pub unsafe fn Open(&self, lpszhost: P0, lpszmoniker: P1, dwflags: u32) -> windows_core::Result<()> @@ -53,7 +53,7 @@ pub struct IITDatabase_Vtbl { pub GetObjectPersistence: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IITPropList, IITPropList_Vtbl, 0x1f403bb1_9997_11d0_a850_00aa006c7d01); +windows_core::imp::define_interface!(IITPropList, IITPropList_Vtbl, 0x1f403bb1_9997_11d0_a850_00aa006c7d01); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IITPropList, windows_core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistStreamInit); #[cfg(feature = "Win32_System_Com")] @@ -185,7 +185,7 @@ pub struct IITPropList_Vtbl { pub LoadFromMem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SaveToMem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IITResultSet, IITResultSet_Vtbl, 0x3bb91d41_998b_11d0_a850_00aa006c7d01); +windows_core::imp::define_interface!(IITResultSet, IITResultSet_Vtbl, 0x3bb91d41_998b_11d0_a850_00aa006c7d01); windows_core::imp::interface_hierarchy!(IITResultSet, windows_core::IUnknown); impl IITResultSet { pub unsafe fn SetColumnPriority(&self, lcolumnindex: i32, columnpriority: PRIORITY) -> windows_core::Result<()> { @@ -328,7 +328,7 @@ pub struct IITResultSet_Vtbl { pub GetRowStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut ROWSTATUS) -> windows_core::HRESULT, pub GetColumnStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut COLUMNSTATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStemSink, IStemSink_Vtbl, 0xfe77c330_7f42_11ce_be57_00aa0051fe20); +windows_core::imp::define_interface!(IStemSink, IStemSink_Vtbl, 0xfe77c330_7f42_11ce_be57_00aa0051fe20); windows_core::imp::interface_hierarchy!(IStemSink, windows_core::IUnknown); impl IStemSink { pub unsafe fn PutAltWord(&self, pwcinbuf: P0, cwc: u32) -> windows_core::Result<()> @@ -350,7 +350,7 @@ pub struct IStemSink_Vtbl { pub PutAltWord: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub PutWord: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStemmerConfig, IStemmerConfig_Vtbl, 0x8fa0d5a7_dedf_11d0_9a61_00c04fb68bf7); +windows_core::imp::define_interface!(IStemmerConfig, IStemmerConfig_Vtbl, 0x8fa0d5a7_dedf_11d0_9a61_00c04fb68bf7); windows_core::imp::interface_hierarchy!(IStemmerConfig, windows_core::IUnknown); impl IStemmerConfig { pub unsafe fn SetLocaleInfo(&self, dwcodepageid: u32, lcid: u32) -> windows_core::Result<()> { @@ -385,7 +385,7 @@ pub struct IStemmerConfig_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] LoadExternalStemmerData: usize, } -windows_core::imp::com_interface!(IWordBreakerConfig, IWordBreakerConfig_Vtbl, 0x8fa0d5a6_dedf_11d0_9a61_00c04fb68bf7); +windows_core::imp::define_interface!(IWordBreakerConfig, IWordBreakerConfig_Vtbl, 0x8fa0d5a6_dedf_11d0_9a61_00c04fb68bf7); windows_core::imp::interface_hierarchy!(IWordBreakerConfig, windows_core::IUnknown); impl IWordBreakerConfig { pub unsafe fn SetLocaleInfo(&self, dwcodepageid: u32, lcid: u32) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs index f2ca1c6536..940de94cfc 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMXAttributes, IMXAttributes_Vtbl, 0xf10d27cc_3ec0_415c_8ed8_77ab1c5e7262); +windows_core::imp::define_interface!(IMXAttributes, IMXAttributes_Vtbl, 0xf10d27cc_3ec0_415c_8ed8_77ab1c5e7262); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMXAttributes, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -89,7 +89,7 @@ pub struct IMXAttributes_Vtbl { 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, } -windows_core::imp::com_interface!(IMXNamespaceManager, IMXNamespaceManager_Vtbl, 0xc90352f6_643c_4fbc_bb23_e996eb2d51fd); +windows_core::imp::define_interface!(IMXNamespaceManager, IMXNamespaceManager_Vtbl, 0xc90352f6_643c_4fbc_bb23_e996eb2d51fd); windows_core::imp::interface_hierarchy!(IMXNamespaceManager, windows_core::IUnknown); impl IMXNamespaceManager { pub unsafe fn putAllowOverride(&self, foverride: P0) -> windows_core::Result<()> @@ -165,7 +165,7 @@ pub struct IMXNamespaceManager_Vtbl { getURI: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMXNamespacePrefixes, IMXNamespacePrefixes_Vtbl, 0xc90352f4_643c_4fbc_bb23_e996eb2d51fd); +windows_core::imp::define_interface!(IMXNamespacePrefixes, IMXNamespacePrefixes_Vtbl, 0xc90352f4_643c_4fbc_bb23_e996eb2d51fd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMXNamespacePrefixes, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -192,7 +192,7 @@ pub struct IMXNamespacePrefixes_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")] -windows_core::imp::com_interface!(IMXReaderControl, IMXReaderControl_Vtbl, 0x808f4e35_8d5a_4fbe_8466_33a41279ed30); +windows_core::imp::define_interface!(IMXReaderControl, IMXReaderControl_Vtbl, 0x808f4e35_8d5a_4fbe_8466_33a41279ed30); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMXReaderControl, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -216,7 +216,7 @@ pub struct IMXReaderControl_Vtbl { pub suspend: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMXSchemaDeclHandler, IMXSchemaDeclHandler_Vtbl, 0xfa4bb38c_faf9_4cca_9302_d1dd0fe520db); +windows_core::imp::define_interface!(IMXSchemaDeclHandler, IMXSchemaDeclHandler_Vtbl, 0xfa4bb38c_faf9_4cca_9302_d1dd0fe520db); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMXSchemaDeclHandler, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -239,7 +239,7 @@ pub struct IMXSchemaDeclHandler_Vtbl { schemaElementDecl: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMXWriter, IMXWriter_Vtbl, 0x4d7ff4ba_1565_4ea8_94e1_6e724a46f98d); +windows_core::imp::define_interface!(IMXWriter, IMXWriter_Vtbl, 0x4d7ff4ba_1565_4ea8_94e1_6e724a46f98d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMXWriter, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -351,7 +351,7 @@ pub struct IMXWriter_Vtbl { pub flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMXXMLFilter, IMXXMLFilter_Vtbl, 0xc90352f7_643c_4fbc_bb23_e996eb2d51fd); +windows_core::imp::define_interface!(IMXXMLFilter, IMXXMLFilter_Vtbl, 0xc90352f7_643c_4fbc_bb23_e996eb2d51fd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMXXMLFilter, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -442,7 +442,7 @@ pub struct IMXXMLFilter_Vtbl { pub errorHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putref_errorHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISAXAttributes, ISAXAttributes_Vtbl, 0xf078abe1_45d2_4832_91ea_4466ce2f25c9); +windows_core::imp::define_interface!(ISAXAttributes, ISAXAttributes_Vtbl, 0xf078abe1_45d2_4832_91ea_4466ce2f25c9); windows_core::imp::interface_hierarchy!(ISAXAttributes, windows_core::IUnknown); impl ISAXAttributes { pub unsafe fn getLength(&self) -> windows_core::Result { @@ -526,7 +526,7 @@ pub struct ISAXAttributes_Vtbl { pub getValueFromName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32, *mut *mut u16, *mut i32) -> windows_core::HRESULT, pub getValueFromQName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut *mut u16, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISAXContentHandler, ISAXContentHandler_Vtbl, 0x1545cdfa_9e4e_4497_a8a4_2bf7d0112c44); +windows_core::imp::define_interface!(ISAXContentHandler, ISAXContentHandler_Vtbl, 0x1545cdfa_9e4e_4497_a8a4_2bf7d0112c44); windows_core::imp::interface_hierarchy!(ISAXContentHandler, windows_core::IUnknown); impl ISAXContentHandler { pub unsafe fn putDocumentLocator(&self, plocator: P0) -> windows_core::Result<()> @@ -612,7 +612,7 @@ pub struct ISAXContentHandler_Vtbl { pub processingInstruction: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32) -> windows_core::HRESULT, pub skippedEntity: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISAXDTDHandler, ISAXDTDHandler_Vtbl, 0xe15c1baf_afb3_4d60_8c36_19a8c45defed); +windows_core::imp::define_interface!(ISAXDTDHandler, ISAXDTDHandler_Vtbl, 0xe15c1baf_afb3_4d60_8c36_19a8c45defed); windows_core::imp::interface_hierarchy!(ISAXDTDHandler, windows_core::IUnknown); impl ISAXDTDHandler { pub unsafe fn notationDecl(&self, pwchname: P0, cchname: i32, pwchpublicid: P1, cchpublicid: i32, pwchsystemid: P2, cchsystemid: i32) -> windows_core::Result<()> @@ -639,7 +639,7 @@ pub struct ISAXDTDHandler_Vtbl { pub notationDecl: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32) -> windows_core::HRESULT, pub unparsedEntityDecl: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISAXDeclHandler, ISAXDeclHandler_Vtbl, 0x862629ac_771a_47b2_8337_4e6843c1be90); +windows_core::imp::define_interface!(ISAXDeclHandler, ISAXDeclHandler_Vtbl, 0x862629ac_771a_47b2_8337_4e6843c1be90); windows_core::imp::interface_hierarchy!(ISAXDeclHandler, windows_core::IUnknown); impl ISAXDeclHandler { pub unsafe fn elementDecl(&self, pwchname: P0, cchname: i32, pwchmodel: P1, cchmodel: i32) -> windows_core::Result<()> @@ -683,7 +683,7 @@ pub struct ISAXDeclHandler_Vtbl { pub internalEntityDecl: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32) -> windows_core::HRESULT, pub externalEntityDecl: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISAXEntityResolver, ISAXEntityResolver_Vtbl, 0x99bca7bd_e8c4_4d5f_a0cf_6d907901ff07); +windows_core::imp::define_interface!(ISAXEntityResolver, ISAXEntityResolver_Vtbl, 0x99bca7bd_e8c4_4d5f_a0cf_6d907901ff07); windows_core::imp::interface_hierarchy!(ISAXEntityResolver, windows_core::IUnknown); impl ISAXEntityResolver { pub unsafe fn resolveEntity(&self, pwchpublicid: P0, pwchsystemid: P1) -> windows_core::Result @@ -700,7 +700,7 @@ 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, } -windows_core::imp::com_interface!(ISAXErrorHandler, ISAXErrorHandler_Vtbl, 0xa60511c4_ccf5_479e_98a3_dc8dc545b7d0); +windows_core::imp::define_interface!(ISAXErrorHandler, ISAXErrorHandler_Vtbl, 0xa60511c4_ccf5_479e_98a3_dc8dc545b7d0); windows_core::imp::interface_hierarchy!(ISAXErrorHandler, windows_core::IUnknown); impl ISAXErrorHandler { pub unsafe fn error(&self, plocator: P0, pwcherrormessage: P1, hrerrorcode: windows_core::HRESULT) -> windows_core::Result<()> @@ -732,7 +732,7 @@ pub struct ISAXErrorHandler_Vtbl { pub fatalError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, windows_core::HRESULT) -> windows_core::HRESULT, pub ignorableWarning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISAXLexicalHandler, ISAXLexicalHandler_Vtbl, 0x7f85d5f5_47a8_4497_bda5_84ba04819ea6); +windows_core::imp::define_interface!(ISAXLexicalHandler, ISAXLexicalHandler_Vtbl, 0x7f85d5f5_47a8_4497_bda5_84ba04819ea6); windows_core::imp::interface_hierarchy!(ISAXLexicalHandler, windows_core::IUnknown); impl ISAXLexicalHandler { pub unsafe fn startDTD(&self, pwchname: P0, cchname: i32, pwchpublicid: P1, cchpublicid: i32, pwchsystemid: P2, cchsystemid: i32) -> windows_core::Result<()> @@ -782,7 +782,7 @@ pub struct ISAXLexicalHandler_Vtbl { 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, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISAXLocator, ISAXLocator_Vtbl, 0x9b7e472a_0de4_4640_bff3_84d38a051c31); +windows_core::imp::define_interface!(ISAXLocator, ISAXLocator_Vtbl, 0x9b7e472a_0de4_4640_bff3_84d38a051c31); windows_core::imp::interface_hierarchy!(ISAXLocator, windows_core::IUnknown); impl ISAXLocator { pub unsafe fn getColumnNumber(&self) -> windows_core::Result { @@ -810,7 +810,7 @@ pub struct ISAXLocator_Vtbl { pub getPublicId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u16) -> windows_core::HRESULT, pub getSystemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISAXXMLFilter, ISAXXMLFilter_Vtbl, 0x70409222_ca09_4475_acb8_40312fe8d145); +windows_core::imp::define_interface!(ISAXXMLFilter, ISAXXMLFilter_Vtbl, 0x70409222_ca09_4475_acb8_40312fe8d145); windows_core::imp::interface_hierarchy!(ISAXXMLFilter, windows_core::IUnknown, ISAXXMLReader); impl ISAXXMLFilter { pub unsafe fn getFeature(&self, pwchname: P0) -> windows_core::Result @@ -930,7 +930,7 @@ pub struct ISAXXMLFilter_Vtbl { pub getParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub putParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISAXXMLReader, ISAXXMLReader_Vtbl, 0xa4f96ed0_f829_476e_81c0_cdc7bd2a0802); +windows_core::imp::define_interface!(ISAXXMLReader, ISAXXMLReader_Vtbl, 0xa4f96ed0_f829_476e_81c0_cdc7bd2a0802); windows_core::imp::interface_hierarchy!(ISAXXMLReader, windows_core::IUnknown); impl ISAXXMLReader { pub unsafe fn getFeature(&self, pwchname: P0) -> windows_core::Result @@ -1057,7 +1057,7 @@ pub struct ISAXXMLReader_Vtbl { pub parseURL: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchema, ISchema_Vtbl, 0x50ea08b4_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchema, ISchema_Vtbl, 0x50ea08b4_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchema, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] @@ -1175,7 +1175,7 @@ pub struct ISchema_Vtbl { schemaLocations: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchemaAny, ISchemaAny_Vtbl, 0x50ea08bc_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaAny, ISchemaAny_Vtbl, 0x50ea08bc_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaAny, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); #[cfg(feature = "Win32_System_Com")] @@ -1242,7 +1242,7 @@ pub struct ISchemaAny_Vtbl { pub processContents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SCHEMAPROCESSCONTENTS) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchemaAttribute, ISchemaAttribute_Vtbl, 0x50ea08b6_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaAttribute, ISchemaAttribute_Vtbl, 0x50ea08b6_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaAttribute, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] @@ -1325,7 +1325,7 @@ pub struct ISchemaAttribute_Vtbl { pub isReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchemaAttributeGroup, ISchemaAttributeGroup_Vtbl, 0x50ea08ba_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaAttributeGroup, ISchemaAttributeGroup_Vtbl, 0x50ea08ba_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaAttributeGroup, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] @@ -1388,7 +1388,7 @@ pub struct ISchemaAttributeGroup_Vtbl { attributes: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchemaComplexType, ISchemaComplexType_Vtbl, 0x50ea08b9_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaComplexType, ISchemaComplexType_Vtbl, 0x50ea08b9_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaComplexType, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaType); #[cfg(feature = "Win32_System_Com")] @@ -1549,7 +1549,7 @@ pub struct ISchemaComplexType_Vtbl { pub prohibitedSubstitutions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SCHEMADERIVATIONMETHOD) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchemaElement, ISchemaElement_Vtbl, 0x50ea08b7_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaElement, ISchemaElement_Vtbl, 0x50ea08b7_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaElement, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); #[cfg(feature = "Win32_System_Com")] @@ -1673,7 +1673,7 @@ pub struct ISchemaElement_Vtbl { pub isReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchemaIdentityConstraint, ISchemaIdentityConstraint_Vtbl, 0x50ea08bd_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaIdentityConstraint, ISchemaIdentityConstraint_Vtbl, 0x50ea08bd_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaIdentityConstraint, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] @@ -1741,7 +1741,7 @@ pub struct ISchemaIdentityConstraint_Vtbl { referencedKey: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchemaItem, ISchemaItem_Vtbl, 0x50ea08b3_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaItem, ISchemaItem_Vtbl, 0x50ea08b3_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaItem, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1799,7 +1799,7 @@ pub struct ISchemaItem_Vtbl { pub writeAnnotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchemaItemCollection, ISchemaItemCollection_Vtbl, 0x50ea08b2_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaItemCollection, ISchemaItemCollection_Vtbl, 0x50ea08b2_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaItemCollection, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1855,7 +1855,7 @@ pub struct ISchemaItemCollection_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")] -windows_core::imp::com_interface!(ISchemaModelGroup, ISchemaModelGroup_Vtbl, 0x50ea08bb_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaModelGroup, ISchemaModelGroup_Vtbl, 0x50ea08bb_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaModelGroup, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem, ISchemaParticle); #[cfg(feature = "Win32_System_Com")] @@ -1917,7 +1917,7 @@ pub struct ISchemaModelGroup_Vtbl { particles: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchemaNotation, ISchemaNotation_Vtbl, 0x50ea08be_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaNotation, ISchemaNotation_Vtbl, 0x50ea08be_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaNotation, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] @@ -1972,7 +1972,7 @@ pub struct ISchemaNotation_Vtbl { pub publicIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchemaParticle, ISchemaParticle_Vtbl, 0x50ea08b5_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaParticle, ISchemaParticle_Vtbl, 0x50ea08b5_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaParticle, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] @@ -2027,7 +2027,7 @@ pub struct ISchemaParticle_Vtbl { pub maxOccurs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchemaStringCollection, ISchemaStringCollection_Vtbl, 0x50ea08b1_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaStringCollection, ISchemaStringCollection_Vtbl, 0x50ea08b1_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaStringCollection, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2054,7 +2054,7 @@ pub struct ISchemaStringCollection_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")] -windows_core::imp::com_interface!(ISchemaType, ISchemaType_Vtbl, 0x50ea08b8_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(ISchemaType, ISchemaType_Vtbl, 0x50ea08b8_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchemaType, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ISchemaItem); #[cfg(feature = "Win32_System_Com")] @@ -2199,7 +2199,7 @@ pub struct ISchemaType_Vtbl { patterns: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IServerXMLHTTPRequest, IServerXMLHTTPRequest_Vtbl, 0x2e9196bf_13ba_4dd4_91ca_6c571f281495); +windows_core::imp::define_interface!(IServerXMLHTTPRequest, IServerXMLHTTPRequest_Vtbl, 0x2e9196bf_13ba_4dd4_91ca_6c571f281495); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IServerXMLHTTPRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLHTTPRequest); #[cfg(feature = "Win32_System_Com")] @@ -2308,7 +2308,7 @@ pub struct IServerXMLHTTPRequest_Vtbl { pub setOption: unsafe extern "system" fn(*mut core::ffi::c_void, SERVERXMLHTTP_OPTION, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IServerXMLHTTPRequest2, IServerXMLHTTPRequest2_Vtbl, 0x2e01311b_c322_4b0a_bd77_b90cfdc8dce7); +windows_core::imp::define_interface!(IServerXMLHTTPRequest2, IServerXMLHTTPRequest2_Vtbl, 0x2e01311b_c322_4b0a_bd77_b90cfdc8dce7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IServerXMLHTTPRequest2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLHTTPRequest, IServerXMLHTTPRequest); #[cfg(feature = "Win32_System_Com")] @@ -2429,7 +2429,7 @@ pub struct IServerXMLHTTPRequest2_Vtbl { pub setProxyCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVBMXNamespaceManager, IVBMXNamespaceManager_Vtbl, 0xc90352f5_643c_4fbc_bb23_e996eb2d51fd); +windows_core::imp::define_interface!(IVBMXNamespaceManager, IVBMXNamespaceManager_Vtbl, 0xc90352f5_643c_4fbc_bb23_e996eb2d51fd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVBMXNamespaceManager, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2527,7 +2527,7 @@ pub struct IVBMXNamespaceManager_Vtbl { getURIFromNode: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVBSAXAttributes, IVBSAXAttributes_Vtbl, 0x10dc0586_132b_4cac_8bb3_db00ac8b7ee0); +windows_core::imp::define_interface!(IVBSAXAttributes, IVBSAXAttributes_Vtbl, 0x10dc0586_132b_4cac_8bb3_db00ac8b7ee0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVBSAXAttributes, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2620,7 +2620,7 @@ pub struct IVBSAXAttributes_Vtbl { pub getValueFromQName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVBSAXContentHandler, IVBSAXContentHandler_Vtbl, 0x2ed7290a_4dd5_4b46_bb26_4e4155e77faa); +windows_core::imp::define_interface!(IVBSAXContentHandler, IVBSAXContentHandler_Vtbl, 0x2ed7290a_4dd5_4b46_bb26_4e4155e77faa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVBSAXContentHandler, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2690,7 +2690,7 @@ pub struct IVBSAXContentHandler_Vtbl { pub skippedEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVBSAXDTDHandler, IVBSAXDTDHandler_Vtbl, 0x24fb3297_302d_4620_ba39_3a732d850558); +windows_core::imp::define_interface!(IVBSAXDTDHandler, IVBSAXDTDHandler_Vtbl, 0x24fb3297_302d_4620_ba39_3a732d850558); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVBSAXDTDHandler, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2710,7 +2710,7 @@ pub struct IVBSAXDTDHandler_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVBSAXDeclHandler, IVBSAXDeclHandler_Vtbl, 0xe8917260_7579_4be1_b5dd_7afbfa6f077b); +windows_core::imp::define_interface!(IVBSAXDeclHandler, IVBSAXDeclHandler_Vtbl, 0xe8917260_7579_4be1_b5dd_7afbfa6f077b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVBSAXDeclHandler, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2738,7 +2738,7 @@ pub struct IVBSAXDeclHandler_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVBSAXEntityResolver, IVBSAXEntityResolver_Vtbl, 0x0c05d096_f45b_4aca_ad1a_aa0bc25518dc); +windows_core::imp::define_interface!(IVBSAXEntityResolver, IVBSAXEntityResolver_Vtbl, 0x0c05d096_f45b_4aca_ad1a_aa0bc25518dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVBSAXEntityResolver, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2755,7 +2755,7 @@ pub struct IVBSAXEntityResolver_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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVBSAXErrorHandler, IVBSAXErrorHandler_Vtbl, 0xd963d3fe_173c_4862_9095_b92f66995f52); +windows_core::imp::define_interface!(IVBSAXErrorHandler, IVBSAXErrorHandler_Vtbl, 0xd963d3fe_173c_4862_9095_b92f66995f52); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVBSAXErrorHandler, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2800,7 +2800,7 @@ pub struct IVBSAXErrorHandler_Vtbl { ignorableWarning: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVBSAXLexicalHandler, IVBSAXLexicalHandler_Vtbl, 0x032aac35_8c0e_4d9d_979f_e3b702935576); +windows_core::imp::define_interface!(IVBSAXLexicalHandler, IVBSAXLexicalHandler_Vtbl, 0x032aac35_8c0e_4d9d_979f_e3b702935576); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVBSAXLexicalHandler, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2840,7 +2840,7 @@ pub struct IVBSAXLexicalHandler_Vtbl { pub comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVBSAXLocator, IVBSAXLocator_Vtbl, 0x796e7ac5_5aa2_4eff_acad_3faaf01a3288); +windows_core::imp::define_interface!(IVBSAXLocator, IVBSAXLocator_Vtbl, 0x796e7ac5_5aa2_4eff_acad_3faaf01a3288); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVBSAXLocator, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2872,7 +2872,7 @@ pub struct IVBSAXLocator_Vtbl { pub systemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVBSAXXMLFilter, IVBSAXXMLFilter_Vtbl, 0x1299eb1b_5b88_433e_82de_82ca75ad4e04); +windows_core::imp::define_interface!(IVBSAXXMLFilter, IVBSAXXMLFilter_Vtbl, 0x1299eb1b_5b88_433e_82de_82ca75ad4e04); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVBSAXXMLFilter, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2904,7 +2904,7 @@ pub struct IVBSAXXMLFilter_Vtbl { putref_parent: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVBSAXXMLReader, IVBSAXXMLReader_Vtbl, 0x8c033caa_6cd6_4f73_b728_4531af74945f); +windows_core::imp::define_interface!(IVBSAXXMLReader, IVBSAXXMLReader_Vtbl, 0x8c033caa_6cd6_4f73_b728_4531af74945f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVBSAXXMLReader, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3066,7 +3066,7 @@ pub struct IVBSAXXMLReader_Vtbl { pub parseURL: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLAttribute, IXMLAttribute_Vtbl, 0xd4d4a0fc_3b73_11d1_b2b4_00c04fb92596); +windows_core::imp::define_interface!(IXMLAttribute, IXMLAttribute_Vtbl, 0xd4d4a0fc_3b73_11d1_b2b4_00c04fb92596); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLAttribute, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3088,7 +3088,7 @@ pub struct IXMLAttribute_Vtbl { pub value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMAttribute, IXMLDOMAttribute_Vtbl, 0x2933bf85_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMAttribute, IXMLDOMAttribute_Vtbl, 0x2933bf85_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMAttribute, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] @@ -3316,7 +3316,7 @@ pub struct IXMLDOMAttribute_Vtbl { pub Setvalue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMCDATASection, IXMLDOMCDATASection_Vtbl, 0x2933bf8a_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMCDATASection, IXMLDOMCDATASection_Vtbl, 0x2933bf8a_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMCDATASection, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData, IXMLDOMText); #[cfg(feature = "Win32_System_Com")] @@ -3571,7 +3571,7 @@ pub struct IXMLDOMCDATASection_Vtbl { pub base__: IXMLDOMText_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMCharacterData, IXMLDOMCharacterData_Vtbl, 0x2933bf84_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMCharacterData, IXMLDOMCharacterData_Vtbl, 0x2933bf84_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMCharacterData, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] @@ -3829,7 +3829,7 @@ pub struct IXMLDOMCharacterData_Vtbl { pub replaceData: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMComment, IXMLDOMComment_Vtbl, 0x2933bf88_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMComment, IXMLDOMComment_Vtbl, 0x2933bf88_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMComment, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData); #[cfg(feature = "Win32_System_Com")] @@ -4079,7 +4079,7 @@ pub struct IXMLDOMComment_Vtbl { pub base__: IXMLDOMCharacterData_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMDocument, IXMLDOMDocument_Vtbl, 0x2933bf81_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMDocument, IXMLDOMDocument_Vtbl, 0x2933bf81_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMDocument, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] @@ -4575,7 +4575,7 @@ pub struct IXMLDOMDocument_Vtbl { pub Setontransformnode: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMDocument2, IXMLDOMDocument2_Vtbl, 0x2933bf95_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMDocument2, IXMLDOMDocument2_Vtbl, 0x2933bf95_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMDocument2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMDocument); #[cfg(feature = "Win32_System_Com")] @@ -5036,7 +5036,7 @@ pub struct IXMLDOMDocument2_Vtbl { pub getProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMDocument3, IXMLDOMDocument3_Vtbl, 0x2933bf96_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMDocument3, IXMLDOMDocument3_Vtbl, 0x2933bf96_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMDocument3, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMDocument, IXMLDOMDocument2); #[cfg(feature = "Win32_System_Com")] @@ -5510,7 +5510,7 @@ pub struct IXMLDOMDocument3_Vtbl { importNode: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMDocumentFragment, IXMLDOMDocumentFragment_Vtbl, 0x3efaa413_272f_11d2_836f_0000f87a7782); +windows_core::imp::define_interface!(IXMLDOMDocumentFragment, IXMLDOMDocumentFragment_Vtbl, 0x3efaa413_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMDocumentFragment, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] @@ -5721,7 +5721,7 @@ pub struct IXMLDOMDocumentFragment_Vtbl { pub base__: IXMLDOMNode_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMDocumentType, IXMLDOMDocumentType_Vtbl, 0x2933bf8b_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMDocumentType, IXMLDOMDocumentType_Vtbl, 0x2933bf8b_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMDocumentType, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] @@ -5955,7 +5955,7 @@ pub struct IXMLDOMDocumentType_Vtbl { notations: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMElement, IXMLDOMElement_Vtbl, 0x2933bf86_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMElement, IXMLDOMElement_Vtbl, 0x2933bf86_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMElement, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] @@ -6246,7 +6246,7 @@ pub struct IXMLDOMElement_Vtbl { pub normalize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMEntity, IXMLDOMEntity_Vtbl, 0x2933bf8d_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMEntity, IXMLDOMEntity_Vtbl, 0x2933bf8d_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMEntity, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] @@ -6472,7 +6472,7 @@ pub struct IXMLDOMEntity_Vtbl { pub notationName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMEntityReference, IXMLDOMEntityReference_Vtbl, 0x2933bf8e_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMEntityReference, IXMLDOMEntityReference_Vtbl, 0x2933bf8e_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMEntityReference, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] @@ -6683,7 +6683,7 @@ pub struct IXMLDOMEntityReference_Vtbl { pub base__: IXMLDOMNode_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMImplementation, IXMLDOMImplementation_Vtbl, 0x2933bf8f_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMImplementation, IXMLDOMImplementation_Vtbl, 0x2933bf8f_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMImplementation, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6704,7 +6704,7 @@ pub struct IXMLDOMImplementation_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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMNamedNodeMap, IXMLDOMNamedNodeMap_Vtbl, 0x2933bf83_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMNamedNodeMap, IXMLDOMNamedNodeMap_Vtbl, 0x2933bf83_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMNamedNodeMap, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6810,7 +6810,7 @@ pub struct IXMLDOMNamedNodeMap_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")] -windows_core::imp::com_interface!(IXMLDOMNode, IXMLDOMNode_Vtbl, 0x2933bf80_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMNode, IXMLDOMNode_Vtbl, 0x2933bf80_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMNode, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7111,7 +7111,7 @@ pub struct IXMLDOMNode_Vtbl { transformNodeToObject: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMNodeList, IXMLDOMNodeList_Vtbl, 0x2933bf82_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMNodeList, IXMLDOMNodeList_Vtbl, 0x2933bf82_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMNodeList, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7155,7 +7155,7 @@ pub struct IXMLDOMNodeList_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")] -windows_core::imp::com_interface!(IXMLDOMNotation, IXMLDOMNotation_Vtbl, 0x2933bf8c_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMNotation, IXMLDOMNotation_Vtbl, 0x2933bf8c_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMNotation, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] @@ -7376,7 +7376,7 @@ pub struct IXMLDOMNotation_Vtbl { pub systemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMParseError, IXMLDOMParseError_Vtbl, 0x3efaa426_272f_11d2_836f_0000f87a7782); +windows_core::imp::define_interface!(IXMLDOMParseError, IXMLDOMParseError_Vtbl, 0x3efaa426_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMParseError, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7423,7 +7423,7 @@ pub struct IXMLDOMParseError_Vtbl { pub filepos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMParseError2, IXMLDOMParseError2_Vtbl, 0x3efaa428_272f_11d2_836f_0000f87a7782); +windows_core::imp::define_interface!(IXMLDOMParseError2, IXMLDOMParseError2_Vtbl, 0x3efaa428_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMParseError2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMParseError); #[cfg(feature = "Win32_System_Com")] @@ -7487,7 +7487,7 @@ pub struct IXMLDOMParseError2_Vtbl { pub errorParametersCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMParseErrorCollection, IXMLDOMParseErrorCollection_Vtbl, 0x3efaa429_272f_11d2_836f_0000f87a7782); +windows_core::imp::define_interface!(IXMLDOMParseErrorCollection, IXMLDOMParseErrorCollection_Vtbl, 0x3efaa429_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMParseErrorCollection, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7531,7 +7531,7 @@ pub struct IXMLDOMParseErrorCollection_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")] -windows_core::imp::com_interface!(IXMLDOMProcessingInstruction, IXMLDOMProcessingInstruction_Vtbl, 0x2933bf89_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMProcessingInstruction, IXMLDOMProcessingInstruction_Vtbl, 0x2933bf89_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMProcessingInstruction, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] @@ -7759,7 +7759,7 @@ pub struct IXMLDOMProcessingInstruction_Vtbl { pub Setdata: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMSchemaCollection, IXMLDOMSchemaCollection_Vtbl, 0x373984c8_b845_449b_91e7_45ac83036ade); +windows_core::imp::define_interface!(IXMLDOMSchemaCollection, IXMLDOMSchemaCollection_Vtbl, 0x373984c8_b845_449b_91e7_45ac83036ade); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMSchemaCollection, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7824,7 +7824,7 @@ pub struct IXMLDOMSchemaCollection_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")] -windows_core::imp::com_interface!(IXMLDOMSchemaCollection2, IXMLDOMSchemaCollection2_Vtbl, 0x50ea08b0_dd1b_4664_9a50_c2f40f4bd79a); +windows_core::imp::define_interface!(IXMLDOMSchemaCollection2, IXMLDOMSchemaCollection2_Vtbl, 0x50ea08b0_dd1b_4664_9a50_c2f40f4bd79a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMSchemaCollection2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMSchemaCollection); #[cfg(feature = "Win32_System_Com")] @@ -7916,7 +7916,7 @@ pub struct IXMLDOMSchemaCollection2_Vtbl { getDeclaration: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMSelection, IXMLDOMSelection_Vtbl, 0xaa634fc7_5888_44a7_a257_3a47150d3a0e); +windows_core::imp::define_interface!(IXMLDOMSelection, IXMLDOMSelection_Vtbl, 0xaa634fc7_5888_44a7_a257_3a47150d3a0e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMSelection, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNodeList); #[cfg(feature = "Win32_System_Com")] @@ -8040,7 +8040,7 @@ pub struct IXMLDOMSelection_Vtbl { pub setProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDOMText, IXMLDOMText_Vtbl, 0x2933bf87_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXMLDOMText, IXMLDOMText_Vtbl, 0x2933bf87_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDOMText, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode, IXMLDOMCharacterData); #[cfg(feature = "Win32_System_Com")] @@ -8299,7 +8299,7 @@ pub struct IXMLDOMText_Vtbl { splitText: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDSOControl, IXMLDSOControl_Vtbl, 0x310afa62_0575_11d2_9ca9_0060b0ec3d39); +windows_core::imp::define_interface!(IXMLDSOControl, IXMLDSOControl_Vtbl, 0x310afa62_0575_11d2_9ca9_0060b0ec3d39); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDSOControl, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8348,7 +8348,7 @@ pub struct IXMLDSOControl_Vtbl { pub readyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDocument, IXMLDocument_Vtbl, 0xf52e2b61_18a1_11d1_b105_00805f49916b); +windows_core::imp::define_interface!(IXMLDocument, IXMLDocument_Vtbl, 0xf52e2b61_18a1_11d1_b105_00805f49916b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDocument, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8446,7 +8446,7 @@ pub struct IXMLDocument_Vtbl { createElement: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLDocument2, IXMLDocument2_Vtbl, 0x2b8de2fe_8d2d_11d1_b2fc_00c04fd915a9); +windows_core::imp::define_interface!(IXMLDocument2, IXMLDocument2_Vtbl, 0x2b8de2fe_8d2d_11d1_b2fc_00c04fd915a9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLDocument2, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8556,7 +8556,7 @@ pub struct IXMLDocument2_Vtbl { pub Setasync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLElement, IXMLElement_Vtbl, 0x3f7f31ac_e15f_11d0_9c25_00c04fc99c8e); +windows_core::imp::define_interface!(IXMLElement, IXMLElement_Vtbl, 0x3f7f31ac_e15f_11d0_9c25_00c04fc99c8e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLElement, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8660,7 +8660,7 @@ pub struct IXMLElement_Vtbl { removeChild: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLElement2, IXMLElement2_Vtbl, 0x2b8de2ff_8d2d_11d1_b2fc_00c04fd915a9); +windows_core::imp::define_interface!(IXMLElement2, IXMLElement2_Vtbl, 0x2b8de2ff_8d2d_11d1_b2fc_00c04fd915a9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLElement2, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8773,7 +8773,7 @@ pub struct IXMLElement2_Vtbl { attributes: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLElementCollection, IXMLElementCollection_Vtbl, 0x65725580_9b5d_11d0_9bfe_00c04fc99c8e); +windows_core::imp::define_interface!(IXMLElementCollection, IXMLElementCollection_Vtbl, 0x65725580_9b5d_11d0_9bfe_00c04fc99c8e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLElementCollection, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8811,7 +8811,7 @@ pub struct IXMLElementCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] item: usize, } -windows_core::imp::com_interface!(IXMLError, IXMLError_Vtbl, 0x948c5ad3_c58d_11d0_9c0b_00c04fc99c8e); +windows_core::imp::define_interface!(IXMLError, IXMLError_Vtbl, 0x948c5ad3_c58d_11d0_9c0b_00c04fc99c8e); windows_core::imp::interface_hierarchy!(IXMLError, windows_core::IUnknown); impl IXMLError { pub unsafe fn GetErrorInfo(&self, perrorreturn: *mut XML_ERROR) -> windows_core::Result<()> { @@ -8824,7 +8824,7 @@ pub struct IXMLError_Vtbl { pub GetErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XML_ERROR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXMLHTTPRequest, IXMLHTTPRequest_Vtbl, 0xed8c108d_4349_11d2_91a4_00c04f7969e8); +windows_core::imp::define_interface!(IXMLHTTPRequest, IXMLHTTPRequest_Vtbl, 0xed8c108d_4349_11d2_91a4_00c04f7969e8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXMLHTTPRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8928,7 +8928,7 @@ pub struct IXMLHTTPRequest_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Setonreadystatechange: usize, } -windows_core::imp::com_interface!(IXMLHTTPRequest2, IXMLHTTPRequest2_Vtbl, 0xe5d37dc0_552a_4d52_9cc0_a14d546fbd04); +windows_core::imp::define_interface!(IXMLHTTPRequest2, IXMLHTTPRequest2_Vtbl, 0xe5d37dc0_552a_4d52_9cc0_a14d546fbd04); windows_core::imp::interface_hierarchy!(IXMLHTTPRequest2, windows_core::IUnknown); impl IXMLHTTPRequest2 { pub unsafe fn Open(&self, pwszmethod: P0, pwszurl: P1, pstatuscallback: P2, pwszusername: P3, pwszpassword: P4, pwszproxyusername: P5, pwszproxypassword: P6) -> windows_core::Result<()> @@ -9013,7 +9013,7 @@ pub struct IXMLHTTPRequest2_Vtbl { pub GetCookie: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, u32, *mut u32, *mut *mut XHR_COOKIE) -> windows_core::HRESULT, pub GetResponseHeader: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXMLHTTPRequest2Callback, IXMLHTTPRequest2Callback_Vtbl, 0xa44a9299_e321_40de_8866_341b41669162); +windows_core::imp::define_interface!(IXMLHTTPRequest2Callback, IXMLHTTPRequest2Callback_Vtbl, 0xa44a9299_e321_40de_8866_341b41669162); windows_core::imp::interface_hierarchy!(IXMLHTTPRequest2Callback, windows_core::IUnknown); impl IXMLHTTPRequest2Callback { pub unsafe fn OnRedirect(&self, pxhr: P0, pwszredirecturl: P1) -> windows_core::Result<()> @@ -9068,7 +9068,7 @@ pub struct IXMLHTTPRequest2Callback_Vtbl { OnResponseReceived: usize, pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXMLHTTPRequest3, IXMLHTTPRequest3_Vtbl, 0xa1c9feee_0617_4f23_9d58_8961ea43567c); +windows_core::imp::define_interface!(IXMLHTTPRequest3, IXMLHTTPRequest3_Vtbl, 0xa1c9feee_0617_4f23_9d58_8961ea43567c); windows_core::imp::interface_hierarchy!(IXMLHTTPRequest3, windows_core::IUnknown, IXMLHTTPRequest2); impl IXMLHTTPRequest3 { pub unsafe fn Open(&self, pwszmethod: P0, pwszurl: P1, pstatuscallback: P2, pwszusername: P3, pwszpassword: P4, pwszproxyusername: P5, pwszproxypassword: P6) -> windows_core::Result<()> @@ -9144,7 +9144,7 @@ pub struct IXMLHTTPRequest3_Vtbl { pub base__: IXMLHTTPRequest2_Vtbl, pub SetClientCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXMLHTTPRequest3Callback, IXMLHTTPRequest3Callback_Vtbl, 0xb9e57830_8c6c_4a6f_9c13_47772bb047bb); +windows_core::imp::define_interface!(IXMLHTTPRequest3Callback, IXMLHTTPRequest3Callback_Vtbl, 0xb9e57830_8c6c_4a6f_9c13_47772bb047bb); windows_core::imp::interface_hierarchy!(IXMLHTTPRequest3Callback, windows_core::IUnknown, IXMLHTTPRequest2Callback); impl IXMLHTTPRequest3Callback { pub unsafe fn OnRedirect(&self, pxhr: P0, pwszredirecturl: P1) -> windows_core::Result<()> @@ -9203,7 +9203,7 @@ pub struct IXMLHTTPRequest3Callback_Vtbl { pub OnClientCertificateRequested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const *const u16) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXSLProcessor, IXSLProcessor_Vtbl, 0x2933bf92_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXSLProcessor, IXSLProcessor_Vtbl, 0x2933bf92_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXSLProcessor, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -9310,7 +9310,7 @@ pub struct IXSLProcessor_Vtbl { stylesheet: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXSLTemplate, IXSLTemplate_Vtbl, 0x2933bf93_7b36_11d2_b20e_00c04f983e60); +windows_core::imp::define_interface!(IXSLTemplate, IXSLTemplate_Vtbl, 0x2933bf93_7b36_11d2_b20e_00c04f983e60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXSLTemplate, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -9351,7 +9351,7 @@ pub struct IXSLTemplate_Vtbl { createProcessor: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXTLRuntime, IXTLRuntime_Vtbl, 0x3efaa425_272f_11d2_836f_0000f87a7782); +windows_core::imp::define_interface!(IXTLRuntime, IXTLRuntime_Vtbl, 0x3efaa425_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXTLRuntime, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IXMLDOMNode); #[cfg(feature = "Win32_System_Com")] @@ -9659,7 +9659,7 @@ pub struct IXTLRuntime_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(XMLDOMDocumentEvents, XMLDOMDocumentEvents_Vtbl, 0x3efaa427_272f_11d2_836f_0000f87a7782); +windows_core::imp::define_interface!(XMLDOMDocumentEvents, XMLDOMDocumentEvents_Vtbl, 0x3efaa427_272f_11d2_836f_0000f87a7782); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(XMLDOMDocumentEvents, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 4ce63b3e12..9c1defd961 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 @@ -66,7 +66,7 @@ where let mut result__ = std::mem::zeroed(); CreateXmlWriterOutputWithEncodingName(poutputstream.into_param().abi(), pmalloc.into_param().abi(), pwszencodingname.into_param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } -windows_core::imp::com_interface!(IXmlReader, IXmlReader_Vtbl, 0x7279fc81_709d_4095_b63d_69fe4b0d9030); +windows_core::imp::define_interface!(IXmlReader, IXmlReader_Vtbl, 0x7279fc81_709d_4095_b63d_69fe4b0d9030); windows_core::imp::interface_hierarchy!(IXmlReader, windows_core::IUnknown); impl IXmlReader { pub unsafe fn SetInput(&self, pinput: P0) -> windows_core::Result<()> @@ -179,7 +179,7 @@ pub struct IXmlReader_Vtbl { pub GetDepth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub IsEOF: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IXmlResolver, IXmlResolver_Vtbl, 0x7279fc82_709d_4095_b63d_69fe4b0d9030); +windows_core::imp::define_interface!(IXmlResolver, IXmlResolver_Vtbl, 0x7279fc82_709d_4095_b63d_69fe4b0d9030); windows_core::imp::interface_hierarchy!(IXmlResolver, windows_core::IUnknown); impl IXmlResolver { pub unsafe fn ResolveUri(&self, pwszbaseuri: P0, pwszpublicidentifier: P1, pwszsystemidentifier: P2) -> windows_core::Result @@ -197,7 +197,7 @@ pub struct IXmlResolver_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ResolveUri: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXmlWriter, IXmlWriter_Vtbl, 0x7279fc88_709d_4095_b63d_69fe4b0d9030); +windows_core::imp::define_interface!(IXmlWriter, IXmlWriter_Vtbl, 0x7279fc88_709d_4095_b63d_69fe4b0d9030); windows_core::imp::interface_hierarchy!(IXmlWriter, windows_core::IUnknown); impl IXmlWriter { pub unsafe fn SetOutput(&self, poutput: P0) -> windows_core::Result<()> @@ -392,7 +392,7 @@ pub struct IXmlWriter_Vtbl { pub WriteWhitespace: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXmlWriterLite, IXmlWriterLite_Vtbl, 0x862494c6_1310_4aad_b3cd_2dbeebf670d3); +windows_core::imp::define_interface!(IXmlWriterLite, IXmlWriterLite_Vtbl, 0x862494c6_1310_4aad_b3cd_2dbeebf670d3); windows_core::imp::interface_hierarchy!(IXmlWriterLite, windows_core::IUnknown); impl IXmlWriterLite { pub unsafe fn SetOutput(&self, poutput: P0) -> windows_core::Result<()> 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 ff2738507a..1b8f13be73 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/mod.rs @@ -7,7 +7,7 @@ where let mut result__ = std::mem::zeroed(); CreateDeviceAccessInstance(deviceinterfacepath.into_param().abi(), desiredaccess, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } -windows_core::imp::com_interface!(ICreateDeviceAccessAsync, ICreateDeviceAccessAsync_Vtbl, 0x3474628f_683d_42d2_abcb_db018c6503bc); +windows_core::imp::define_interface!(ICreateDeviceAccessAsync, ICreateDeviceAccessAsync_Vtbl, 0x3474628f_683d_42d2_abcb_db018c6503bc); windows_core::imp::interface_hierarchy!(ICreateDeviceAccessAsync, windows_core::IUnknown); impl ICreateDeviceAccessAsync { pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -35,7 +35,7 @@ pub struct ICreateDeviceAccessAsync_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetResult: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceIoControl, IDeviceIoControl_Vtbl, 0x9eefe161_23ab_4f18_9b49_991b586ae970); +windows_core::imp::define_interface!(IDeviceIoControl, IDeviceIoControl_Vtbl, 0x9eefe161_23ab_4f18_9b49_991b586ae970); windows_core::imp::interface_hierarchy!(IDeviceIoControl, windows_core::IUnknown); impl IDeviceIoControl { pub unsafe fn DeviceIoControlSync(&self, iocontrolcode: u32, inputbuffer: Option<&[u8]>, outputbuffer: Option<&mut [u8]>, bytesreturned: *mut u32) -> windows_core::Result<()> { @@ -68,7 +68,7 @@ pub struct IDeviceIoControl_Vtbl { pub DeviceIoControlAsync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8, u32, *mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, pub CancelOperation: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceRequestCompletionCallback, IDeviceRequestCompletionCallback_Vtbl, 0x999bad24_9acd_45bb_8669_2a2fc0288b04); +windows_core::imp::define_interface!(IDeviceRequestCompletionCallback, IDeviceRequestCompletionCallback_Vtbl, 0x999bad24_9acd_45bb_8669_2a2fc0288b04); windows_core::imp::interface_hierarchy!(IDeviceRequestCompletionCallback, windows_core::IUnknown); impl IDeviceRequestCompletionCallback { pub unsafe fn Invoke(&self, requestresult: windows_core::HRESULT, bytesreturned: u32) -> windows_core::Result<()> { 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 f575285856..a7dac1b0c8 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs @@ -767,7 +767,7 @@ pub unsafe fn XLATEOBJ_piVector(pxlo: *mut XLATEOBJ) -> *mut u32 { windows_targets::link!("gdi32.dll" "system" fn XLATEOBJ_piVector(pxlo : *mut XLATEOBJ) -> *mut u32); XLATEOBJ_piVector(pxlo) } -windows_core::imp::com_interface!(ICloneViewHelper, ICloneViewHelper_Vtbl, 0xf6a3d4c4_5632_4d83_b0a1_fb88712b1eb7); +windows_core::imp::define_interface!(ICloneViewHelper, ICloneViewHelper_Vtbl, 0xf6a3d4c4_5632_4d83_b0a1_fb88712b1eb7); windows_core::imp::interface_hierarchy!(ICloneViewHelper, windows_core::IUnknown); impl ICloneViewHelper { pub unsafe fn GetConnectedIDs(&self, wszadaptorname: P0, pulcount: *mut u32, pulid: *mut u32, ulflags: u32) -> windows_core::Result<()> @@ -803,7 +803,7 @@ pub struct ICloneViewHelper_Vtbl { pub SetActiveTopology: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, *const u32) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IViewHelper, IViewHelper_Vtbl, 0xe85ccef5_aaaa_47f0_b5e3_61f7aecdc4c1); +windows_core::imp::define_interface!(IViewHelper, IViewHelper_Vtbl, 0xe85ccef5_aaaa_47f0_b5e3_61f7aecdc4c1); windows_core::imp::interface_hierarchy!(IViewHelper, windows_core::IUnknown); impl IViewHelper { pub unsafe fn GetConnectedIDs(&self, wszadaptorname: P0, pulcount: *mut u32, pulid: *mut u32, ulflags: u32) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/mod.rs index 9aa5da7724..41e61967f6 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 @@ -80,7 +80,7 @@ pub unsafe fn SwMemFree(pmem: *const core::ffi::c_void) { windows_targets::link!("cfgmgr32.dll" "system" fn SwMemFree(pmem : *const core::ffi::c_void)); SwMemFree(pmem) } -windows_core::imp::com_interface!(IUPnPAddressFamilyControl, IUPnPAddressFamilyControl_Vtbl, 0xe3bf6178_694e_459f_a5a6_191ea0ffa1c7); +windows_core::imp::define_interface!(IUPnPAddressFamilyControl, IUPnPAddressFamilyControl_Vtbl, 0xe3bf6178_694e_459f_a5a6_191ea0ffa1c7); windows_core::imp::interface_hierarchy!(IUPnPAddressFamilyControl, windows_core::IUnknown); impl IUPnPAddressFamilyControl { pub unsafe fn SetAddressFamily(&self, dwflags: i32) -> windows_core::Result<()> { @@ -97,7 +97,7 @@ pub struct IUPnPAddressFamilyControl_Vtbl { pub SetAddressFamily: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetAddressFamily: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUPnPAsyncResult, IUPnPAsyncResult_Vtbl, 0x4d65fd08_d13e_4274_9c8b_dd8d028c8644); +windows_core::imp::define_interface!(IUPnPAsyncResult, IUPnPAsyncResult_Vtbl, 0x4d65fd08_d13e_4274_9c8b_dd8d028c8644); windows_core::imp::interface_hierarchy!(IUPnPAsyncResult, windows_core::IUnknown); impl IUPnPAsyncResult { pub unsafe fn AsyncOperationComplete(&self, ullrequestid: u64) -> windows_core::Result<()> { @@ -110,7 +110,7 @@ pub struct IUPnPAsyncResult_Vtbl { pub AsyncOperationComplete: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUPnPDescriptionDocument, IUPnPDescriptionDocument_Vtbl, 0x11d1c1b2_7daa_4c9e_9595_7f82ed206d1e); +windows_core::imp::define_interface!(IUPnPDescriptionDocument, IUPnPDescriptionDocument_Vtbl, 0x11d1c1b2_7daa_4c9e_9595_7f82ed206d1e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUPnPDescriptionDocument, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -171,7 +171,7 @@ pub struct IUPnPDescriptionDocument_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] DeviceByUDN: usize, } -windows_core::imp::com_interface!(IUPnPDescriptionDocumentCallback, IUPnPDescriptionDocumentCallback_Vtbl, 0x77394c69_5486_40d6_9bc3_4991983e02da); +windows_core::imp::define_interface!(IUPnPDescriptionDocumentCallback, IUPnPDescriptionDocumentCallback_Vtbl, 0x77394c69_5486_40d6_9bc3_4991983e02da); windows_core::imp::interface_hierarchy!(IUPnPDescriptionDocumentCallback, windows_core::IUnknown); impl IUPnPDescriptionDocumentCallback { pub unsafe fn LoadComplete(&self, hrloadresult: windows_core::HRESULT) -> windows_core::Result<()> { @@ -184,7 +184,7 @@ pub struct IUPnPDescriptionDocumentCallback_Vtbl { pub LoadComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUPnPDevice, IUPnPDevice_Vtbl, 0x3d44d0d1_98c9_4889_acd1_f9d674bf2221); +windows_core::imp::define_interface!(IUPnPDevice, IUPnPDevice_Vtbl, 0x3d44d0d1_98c9_4889_acd1_f9d674bf2221); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUPnPDevice, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -309,7 +309,7 @@ pub struct IUPnPDevice_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Services: usize, } -windows_core::imp::com_interface!(IUPnPDeviceControl, IUPnPDeviceControl_Vtbl, 0x204810ba_73b2_11d4_bf42_00b0d0118b56); +windows_core::imp::define_interface!(IUPnPDeviceControl, IUPnPDeviceControl_Vtbl, 0x204810ba_73b2_11d4_bf42_00b0d0118b56); windows_core::imp::interface_hierarchy!(IUPnPDeviceControl, windows_core::IUnknown); impl IUPnPDeviceControl { pub unsafe fn Initialize(&self, bstrxmldesc: P0, bstrdeviceidentifier: P1, bstrinitstring: P2) -> windows_core::Result<()> @@ -339,7 +339,7 @@ pub struct IUPnPDeviceControl_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetServiceObject: usize, } -windows_core::imp::com_interface!(IUPnPDeviceControlHttpHeaders, IUPnPDeviceControlHttpHeaders_Vtbl, 0x204810bb_73b2_11d4_bf42_00b0d0118b56); +windows_core::imp::define_interface!(IUPnPDeviceControlHttpHeaders, IUPnPDeviceControlHttpHeaders_Vtbl, 0x204810bb_73b2_11d4_bf42_00b0d0118b56); windows_core::imp::interface_hierarchy!(IUPnPDeviceControlHttpHeaders, windows_core::IUnknown); impl IUPnPDeviceControlHttpHeaders { pub unsafe fn GetAdditionalResponseHeaders(&self) -> windows_core::Result { @@ -352,7 +352,7 @@ 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, } -windows_core::imp::com_interface!(IUPnPDeviceDocumentAccess, IUPnPDeviceDocumentAccess_Vtbl, 0xe7772804_3287_418e_9072_cf2b47238981); +windows_core::imp::define_interface!(IUPnPDeviceDocumentAccess, IUPnPDeviceDocumentAccess_Vtbl, 0xe7772804_3287_418e_9072_cf2b47238981); windows_core::imp::interface_hierarchy!(IUPnPDeviceDocumentAccess, windows_core::IUnknown); impl IUPnPDeviceDocumentAccess { pub unsafe fn GetDocumentURL(&self) -> windows_core::Result { @@ -365,7 +365,7 @@ 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, } -windows_core::imp::com_interface!(IUPnPDeviceDocumentAccessEx, IUPnPDeviceDocumentAccessEx_Vtbl, 0xc4bc4050_6178_4bd1_a4b8_6398321f3247); +windows_core::imp::define_interface!(IUPnPDeviceDocumentAccessEx, IUPnPDeviceDocumentAccessEx_Vtbl, 0xc4bc4050_6178_4bd1_a4b8_6398321f3247); windows_core::imp::interface_hierarchy!(IUPnPDeviceDocumentAccessEx, windows_core::IUnknown); impl IUPnPDeviceDocumentAccessEx { pub unsafe fn GetDocument(&self) -> windows_core::Result { @@ -379,7 +379,7 @@ pub struct IUPnPDeviceDocumentAccessEx_Vtbl { pub GetDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUPnPDeviceFinder, IUPnPDeviceFinder_Vtbl, 0xadda3d55_6f72_4319_bff9_18600a539b10); +windows_core::imp::define_interface!(IUPnPDeviceFinder, IUPnPDeviceFinder_Vtbl, 0xadda3d55_6f72_4319_bff9_18600a539b10); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUPnPDeviceFinder, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -431,7 +431,7 @@ pub struct IUPnPDeviceFinder_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] FindByUDN: usize, } -windows_core::imp::com_interface!(IUPnPDeviceFinderAddCallbackWithInterface, IUPnPDeviceFinderAddCallbackWithInterface_Vtbl, 0x983dfc0b_1796_44df_8975_ca545b620ee5); +windows_core::imp::define_interface!(IUPnPDeviceFinderAddCallbackWithInterface, IUPnPDeviceFinderAddCallbackWithInterface_Vtbl, 0x983dfc0b_1796_44df_8975_ca545b620ee5); windows_core::imp::interface_hierarchy!(IUPnPDeviceFinderAddCallbackWithInterface, windows_core::IUnknown); impl IUPnPDeviceFinderAddCallbackWithInterface { #[cfg(feature = "Win32_System_Com")] @@ -450,7 +450,7 @@ pub struct IUPnPDeviceFinderAddCallbackWithInterface_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] DeviceAddedWithInterface: usize, } -windows_core::imp::com_interface!(IUPnPDeviceFinderCallback, IUPnPDeviceFinderCallback_Vtbl, 0x415a984a_88b3_49f3_92af_0508bedf0d6c); +windows_core::imp::define_interface!(IUPnPDeviceFinderCallback, IUPnPDeviceFinderCallback_Vtbl, 0x415a984a_88b3_49f3_92af_0508bedf0d6c); windows_core::imp::interface_hierarchy!(IUPnPDeviceFinderCallback, windows_core::IUnknown); impl IUPnPDeviceFinderCallback { #[cfg(feature = "Win32_System_Com")] @@ -480,7 +480,7 @@ pub struct IUPnPDeviceFinderCallback_Vtbl { pub DeviceRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, pub SearchComplete: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUPnPDeviceProvider, IUPnPDeviceProvider_Vtbl, 0x204810b8_73b2_11d4_bf42_00b0d0118b56); +windows_core::imp::define_interface!(IUPnPDeviceProvider, IUPnPDeviceProvider_Vtbl, 0x204810b8_73b2_11d4_bf42_00b0d0118b56); windows_core::imp::interface_hierarchy!(IUPnPDeviceProvider, windows_core::IUnknown); impl IUPnPDeviceProvider { pub unsafe fn Start(&self, bstrinitstring: P0) -> windows_core::Result<()> @@ -500,7 +500,7 @@ pub struct IUPnPDeviceProvider_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUPnPDevices, IUPnPDevices_Vtbl, 0xfdbc0c73_bda3_4c66_ac4f_f2d96fdad68c); +windows_core::imp::define_interface!(IUPnPDevices, IUPnPDevices_Vtbl, 0xfdbc0c73_bda3_4c66_ac4f_f2d96fdad68c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUPnPDevices, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -533,7 +533,7 @@ pub struct IUPnPDevices_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } -windows_core::imp::com_interface!(IUPnPEventSink, IUPnPEventSink_Vtbl, 0x204810b4_73b2_11d4_bf42_00b0d0118b56); +windows_core::imp::define_interface!(IUPnPEventSink, IUPnPEventSink_Vtbl, 0x204810b4_73b2_11d4_bf42_00b0d0118b56); windows_core::imp::interface_hierarchy!(IUPnPEventSink, windows_core::IUnknown); impl IUPnPEventSink { pub unsafe fn OnStateChanged(&self, rgdispidchanges: &[i32]) -> windows_core::Result<()> { @@ -552,7 +552,7 @@ pub struct IUPnPEventSink_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, } -windows_core::imp::com_interface!(IUPnPEventSource, IUPnPEventSource_Vtbl, 0x204810b5_73b2_11d4_bf42_00b0d0118b56); +windows_core::imp::define_interface!(IUPnPEventSource, IUPnPEventSource_Vtbl, 0x204810b5_73b2_11d4_bf42_00b0d0118b56); windows_core::imp::interface_hierarchy!(IUPnPEventSource, windows_core::IUnknown); impl IUPnPEventSource { pub unsafe fn Advise(&self, pessubscriber: P0) -> windows_core::Result<()> @@ -574,7 +574,7 @@ pub struct IUPnPEventSource_Vtbl { pub Advise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUPnPHttpHeaderControl, IUPnPHttpHeaderControl_Vtbl, 0x0405af4f_8b5c_447c_80f2_b75984a31f3c); +windows_core::imp::define_interface!(IUPnPHttpHeaderControl, IUPnPHttpHeaderControl_Vtbl, 0x0405af4f_8b5c_447c_80f2_b75984a31f3c); windows_core::imp::interface_hierarchy!(IUPnPHttpHeaderControl, windows_core::IUnknown); impl IUPnPHttpHeaderControl { pub unsafe fn AddRequestHeaders(&self, bstrhttpheaders: P0) -> windows_core::Result<()> @@ -589,7 +589,7 @@ 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, } -windows_core::imp::com_interface!(IUPnPRegistrar, IUPnPRegistrar_Vtbl, 0x204810b6_73b2_11d4_bf42_00b0d0118b56); +windows_core::imp::define_interface!(IUPnPRegistrar, IUPnPRegistrar_Vtbl, 0x204810b6_73b2_11d4_bf42_00b0d0118b56); windows_core::imp::interface_hierarchy!(IUPnPRegistrar, windows_core::IUnknown); impl IUPnPRegistrar { pub unsafe fn RegisterDevice(&self, bstrxmldesc: P0, bstrprogiddevicecontrolclass: P1, bstrinitstring: P2, bstrcontainerid: P3, bstrresourcepath: P4, nlifetime: i32) -> windows_core::Result @@ -654,7 +654,7 @@ pub struct IUPnPRegistrar_Vtbl { 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, } -windows_core::imp::com_interface!(IUPnPRemoteEndpointInfo, IUPnPRemoteEndpointInfo_Vtbl, 0xc92eb863_0269_4aff_9c72_75321bba2952); +windows_core::imp::define_interface!(IUPnPRemoteEndpointInfo, IUPnPRemoteEndpointInfo_Vtbl, 0xc92eb863_0269_4aff_9c72_75321bba2952); windows_core::imp::interface_hierarchy!(IUPnPRemoteEndpointInfo, windows_core::IUnknown); impl IUPnPRemoteEndpointInfo { pub unsafe fn GetDwordValue(&self, bstrvaluename: P0) -> windows_core::Result @@ -686,7 +686,7 @@ pub struct IUPnPRemoteEndpointInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IUPnPReregistrar, IUPnPReregistrar_Vtbl, 0x204810b7_73b2_11d4_bf42_00b0d0118b56); +windows_core::imp::define_interface!(IUPnPReregistrar, IUPnPReregistrar_Vtbl, 0x204810b7_73b2_11d4_bf42_00b0d0118b56); windows_core::imp::interface_hierarchy!(IUPnPReregistrar, windows_core::IUnknown); impl IUPnPReregistrar { pub unsafe fn ReregisterDevice(&self, bstrdeviceidentifier: P0, bstrxmldesc: P1, bstrprogiddevicecontrolclass: P2, bstrinitstring: P3, bstrcontainerid: P4, bstrresourcepath: P5, nlifetime: i32) -> windows_core::Result<()> @@ -718,7 +718,7 @@ pub struct IUPnPReregistrar_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUPnPService, IUPnPService_Vtbl, 0xa295019c_dc65_47dd_90dc_7fe918a1ab44); +windows_core::imp::define_interface!(IUPnPService, IUPnPService_Vtbl, 0xa295019c_dc65_47dd_90dc_7fe918a1ab44); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUPnPService, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -768,7 +768,7 @@ pub struct IUPnPService_Vtbl { pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub LastTransportStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUPnPServiceAsync, IUPnPServiceAsync_Vtbl, 0x098bdaf5_5ec1_49e7_a260_b3a11dd8680c); +windows_core::imp::define_interface!(IUPnPServiceAsync, IUPnPServiceAsync_Vtbl, 0x098bdaf5_5ec1_49e7_a260_b3a11dd8680c); windows_core::imp::interface_hierarchy!(IUPnPServiceAsync, windows_core::IUnknown); impl IUPnPServiceAsync { pub unsafe fn BeginInvokeAction(&self, bstractionname: P0, vinactionargs: P1, pasyncresult: P2) -> windows_core::Result @@ -833,7 +833,7 @@ pub struct IUPnPServiceAsync_Vtbl { pub EndSCPDDownload: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub CancelAsyncOperation: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUPnPServiceCallback, IUPnPServiceCallback_Vtbl, 0x31fadca9_ab73_464b_b67d_5c1d0f83c8b8); +windows_core::imp::define_interface!(IUPnPServiceCallback, IUPnPServiceCallback_Vtbl, 0x31fadca9_ab73_464b_b67d_5c1d0f83c8b8); windows_core::imp::interface_hierarchy!(IUPnPServiceCallback, windows_core::IUnknown); impl IUPnPServiceCallback { #[cfg(feature = "Win32_System_Com")] @@ -865,7 +865,7 @@ pub struct IUPnPServiceCallback_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ServiceInstanceDied: usize, } -windows_core::imp::com_interface!(IUPnPServiceDocumentAccess, IUPnPServiceDocumentAccess_Vtbl, 0x21905529_0a5e_4589_825d_7e6d87ea6998); +windows_core::imp::define_interface!(IUPnPServiceDocumentAccess, IUPnPServiceDocumentAccess_Vtbl, 0x21905529_0a5e_4589_825d_7e6d87ea6998); windows_core::imp::interface_hierarchy!(IUPnPServiceDocumentAccess, windows_core::IUnknown); impl IUPnPServiceDocumentAccess { pub unsafe fn GetDocumentURL(&self) -> windows_core::Result { @@ -883,7 +883,7 @@ pub struct IUPnPServiceDocumentAccess_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, } -windows_core::imp::com_interface!(IUPnPServiceEnumProperty, IUPnPServiceEnumProperty_Vtbl, 0x38873b37_91bb_49f4_b249_2e8efbb8a816); +windows_core::imp::define_interface!(IUPnPServiceEnumProperty, IUPnPServiceEnumProperty_Vtbl, 0x38873b37_91bb_49f4_b249_2e8efbb8a816); windows_core::imp::interface_hierarchy!(IUPnPServiceEnumProperty, windows_core::IUnknown); impl IUPnPServiceEnumProperty { pub unsafe fn SetServiceEnumProperty(&self, dwmask: u32) -> windows_core::Result<()> { @@ -896,7 +896,7 @@ pub struct IUPnPServiceEnumProperty_Vtbl { pub SetServiceEnumProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUPnPServices, IUPnPServices_Vtbl, 0x3f8c8e9e_9a7a_4dc8_bc41_ff31fa374956); +windows_core::imp::define_interface!(IUPnPServices, IUPnPServices_Vtbl, 0x3f8c8e9e_9a7a_4dc8_bc41_ff31fa374956); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUPnPServices, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 7df153f8a7..ea09733b24 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs @@ -478,7 +478,7 @@ where StiCreateInstanceW(hinst.into_param().abi(), dwver, core::mem::transmute(ppsti), punkouter.into_param().abi()).ok() } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxAccount, IFaxAccount_Vtbl, 0x68535b33_5dc4_4086_be26_b76f9b711006); +windows_core::imp::define_interface!(IFaxAccount, IFaxAccount_Vtbl, 0x68535b33_5dc4_4086_be26_b76f9b711006); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxAccount, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -513,7 +513,7 @@ pub struct IFaxAccount_Vtbl { pub RegisteredEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_ACCOUNT_EVENTS_TYPE_ENUM) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxAccountFolders, IFaxAccountFolders_Vtbl, 0x6463f89d_23d8_46a9_8f86_c47b77ca7926); +windows_core::imp::define_interface!(IFaxAccountFolders, IFaxAccountFolders_Vtbl, 0x6463f89d_23d8_46a9_8f86_c47b77ca7926); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxAccountFolders, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -561,7 +561,7 @@ pub struct IFaxAccountFolders_Vtbl { OutgoingArchive: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxAccountIncomingArchive, IFaxAccountIncomingArchive_Vtbl, 0xa8a5b6ef_e0d6_4aee_955c_91625bec9db4); +windows_core::imp::define_interface!(IFaxAccountIncomingArchive, IFaxAccountIncomingArchive_Vtbl, 0xa8a5b6ef_e0d6_4aee_955c_91625bec9db4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxAccountIncomingArchive, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -608,7 +608,7 @@ pub struct IFaxAccountIncomingArchive_Vtbl { GetMessage: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxAccountIncomingQueue, IFaxAccountIncomingQueue_Vtbl, 0xdd142d92_0186_4a95_a090_cbc3eadba6b4); +windows_core::imp::define_interface!(IFaxAccountIncomingQueue, IFaxAccountIncomingQueue_Vtbl, 0xdd142d92_0186_4a95_a090_cbc3eadba6b4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxAccountIncomingQueue, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -641,7 +641,7 @@ pub struct IFaxAccountIncomingQueue_Vtbl { GetJob: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxAccountNotify, IFaxAccountNotify_Vtbl, 0xb9b3bc81_ac1b_46f3_b39d_0adc30e1b788); +windows_core::imp::define_interface!(IFaxAccountNotify, IFaxAccountNotify_Vtbl, 0xb9b3bc81_ac1b_46f3_b39d_0adc30e1b788); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxAccountNotify, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -788,7 +788,7 @@ pub struct IFaxAccountNotify_Vtbl { OnServerShutDown: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxAccountOutgoingArchive, IFaxAccountOutgoingArchive_Vtbl, 0x5463076d_ec14_491f_926e_b3ceda5e5662); +windows_core::imp::define_interface!(IFaxAccountOutgoingArchive, IFaxAccountOutgoingArchive_Vtbl, 0x5463076d_ec14_491f_926e_b3ceda5e5662); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxAccountOutgoingArchive, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -835,7 +835,7 @@ pub struct IFaxAccountOutgoingArchive_Vtbl { GetMessage: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxAccountOutgoingQueue, IFaxAccountOutgoingQueue_Vtbl, 0x0f1424e9_f22d_4553_b7a5_0d24bd0d7e46); +windows_core::imp::define_interface!(IFaxAccountOutgoingQueue, IFaxAccountOutgoingQueue_Vtbl, 0x0f1424e9_f22d_4553_b7a5_0d24bd0d7e46); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxAccountOutgoingQueue, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -868,7 +868,7 @@ pub struct IFaxAccountOutgoingQueue_Vtbl { GetJob: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxAccountSet, IFaxAccountSet_Vtbl, 0x7428fbae_841e_47b8_86f4_2288946dca1b); +windows_core::imp::define_interface!(IFaxAccountSet, IFaxAccountSet_Vtbl, 0x7428fbae_841e_47b8_86f4_2288946dca1b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxAccountSet, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -920,7 +920,7 @@ pub struct IFaxAccountSet_Vtbl { pub RemoveAccount: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxAccounts, IFaxAccounts_Vtbl, 0x93ea8162_8be7_42d1_ae7b_ec74e2d989da); +windows_core::imp::define_interface!(IFaxAccounts, IFaxAccounts_Vtbl, 0x93ea8162_8be7_42d1_ae7b_ec74e2d989da); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxAccounts, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -954,7 +954,7 @@ pub struct IFaxAccounts_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxActivity, IFaxActivity_Vtbl, 0x4b106f97_3df5_40f2_bc3c_44cb8115ebdf); +windows_core::imp::define_interface!(IFaxActivity, IFaxActivity_Vtbl, 0x4b106f97_3df5_40f2_bc3c_44cb8115ebdf); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxActivity, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -990,7 +990,7 @@ pub struct IFaxActivity_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxActivityLogging, IFaxActivityLogging_Vtbl, 0x1e29078b_5a69_497b_9592_49b7e7faddb5); +windows_core::imp::define_interface!(IFaxActivityLogging, IFaxActivityLogging_Vtbl, 0x1e29078b_5a69_497b_9592_49b7e7faddb5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxActivityLogging, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1046,7 +1046,7 @@ pub struct IFaxActivityLogging_Vtbl { pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxConfiguration, IFaxConfiguration_Vtbl, 0x10f4d0f7_0994_4543_ab6e_506949128c40); +windows_core::imp::define_interface!(IFaxConfiguration, IFaxConfiguration_Vtbl, 0x10f4d0f7_0994_4543_ab6e_506949128c40); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxConfiguration, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1280,7 +1280,7 @@ pub struct IFaxConfiguration_Vtbl { pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxDevice, IFaxDevice_Vtbl, 0x49306c59_b52e_4867_9df4_ca5841c956d0); +windows_core::imp::define_interface!(IFaxDevice, IFaxDevice_Vtbl, 0x49306c59_b52e_4867_9df4_ca5841c956d0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxDevice, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1434,7 +1434,7 @@ pub struct IFaxDevice_Vtbl { pub AnswerCall: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxDeviceIds, IFaxDeviceIds_Vtbl, 0x2f0f813f_4ce9_443e_8ca1_738cfaeee149); +windows_core::imp::define_interface!(IFaxDeviceIds, IFaxDeviceIds_Vtbl, 0x2f0f813f_4ce9_443e_8ca1_738cfaeee149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxDeviceIds, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1473,7 +1473,7 @@ pub struct IFaxDeviceIds_Vtbl { pub SetOrder: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxDeviceProvider, IFaxDeviceProvider_Vtbl, 0x290eac63_83ec_449c_8417_f148df8c682a); +windows_core::imp::define_interface!(IFaxDeviceProvider, IFaxDeviceProvider_Vtbl, 0x290eac63_83ec_449c_8417_f148df8c682a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxDeviceProvider, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1545,7 +1545,7 @@ pub struct IFaxDeviceProvider_Vtbl { pub DeviceIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxDeviceProviders, IFaxDeviceProviders_Vtbl, 0x9fb76f62_4c7e_43a5_b6fd_502893f7e13e); +windows_core::imp::define_interface!(IFaxDeviceProviders, IFaxDeviceProviders_Vtbl, 0x9fb76f62_4c7e_43a5_b6fd_502893f7e13e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxDeviceProviders, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1579,7 +1579,7 @@ pub struct IFaxDeviceProviders_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxDevices, IFaxDevices_Vtbl, 0x9e46783e_f34f_482e_a360_0416becbbd96); +windows_core::imp::define_interface!(IFaxDevices, IFaxDevices_Vtbl, 0x9e46783e_f34f_482e_a360_0416becbbd96); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxDevices, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1622,7 +1622,7 @@ pub struct IFaxDevices_Vtbl { get_ItemById: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxDocument, IFaxDocument_Vtbl, 0xb207a246_09e3_4a4e_a7dc_fea31d29458f); +windows_core::imp::define_interface!(IFaxDocument, IFaxDocument_Vtbl, 0xb207a246_09e3_4a4e_a7dc_fea31d29458f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxDocument, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1842,7 +1842,7 @@ pub struct IFaxDocument_Vtbl { pub SetAttachFaxToReceipt: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxDocument2, IFaxDocument2_Vtbl, 0xe1347661_f9ef_4d6d_b4a5_c0a068b65cff); +windows_core::imp::define_interface!(IFaxDocument2, IFaxDocument2_Vtbl, 0xe1347661_f9ef_4d6d_b4a5_c0a068b65cff); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxDocument2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFaxDocument); #[cfg(feature = "Win32_System_Com")] @@ -2048,7 +2048,7 @@ pub struct IFaxDocument2_Vtbl { ConnectedSubmit2: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxEventLogging, IFaxEventLogging_Vtbl, 0x0880d965_20e8_42e4_8e17_944f192caad4); +windows_core::imp::define_interface!(IFaxEventLogging, IFaxEventLogging_Vtbl, 0x0880d965_20e8_42e4_8e17_944f192caad4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxEventLogging, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2104,7 +2104,7 @@ pub struct IFaxEventLogging_Vtbl { pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxFolders, IFaxFolders_Vtbl, 0xdce3b2a8_a7ab_42bc_9d0a_3149457261a0); +windows_core::imp::define_interface!(IFaxFolders, IFaxFolders_Vtbl, 0xdce3b2a8_a7ab_42bc_9d0a_3149457261a0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxFolders, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2152,7 +2152,7 @@ pub struct IFaxFolders_Vtbl { OutgoingArchive: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxInboundRouting, IFaxInboundRouting_Vtbl, 0x8148c20f_9d52_45b1_bf96_38fc12713527); +windows_core::imp::define_interface!(IFaxInboundRouting, IFaxInboundRouting_Vtbl, 0x8148c20f_9d52_45b1_bf96_38fc12713527); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxInboundRouting, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2182,7 +2182,7 @@ pub struct IFaxInboundRouting_Vtbl { GetMethods: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxInboundRoutingExtension, IFaxInboundRoutingExtension_Vtbl, 0x885b5e08_c26c_4ef9_af83_51580a750be1); +windows_core::imp::define_interface!(IFaxInboundRoutingExtension, IFaxInboundRoutingExtension_Vtbl, 0x885b5e08_c26c_4ef9_af83_51580a750be1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxInboundRoutingExtension, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2249,7 +2249,7 @@ pub struct IFaxInboundRoutingExtension_Vtbl { pub Methods: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxInboundRoutingExtensions, IFaxInboundRoutingExtensions_Vtbl, 0x2f6c9673_7b26_42de_8eb0_915dcd2a4f4c); +windows_core::imp::define_interface!(IFaxInboundRoutingExtensions, IFaxInboundRoutingExtensions_Vtbl, 0x2f6c9673_7b26_42de_8eb0_915dcd2a4f4c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxInboundRoutingExtensions, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2283,7 +2283,7 @@ pub struct IFaxInboundRoutingExtensions_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxInboundRoutingMethod, IFaxInboundRoutingMethod_Vtbl, 0x45700061_ad9d_4776_a8c4_64065492cf4b); +windows_core::imp::define_interface!(IFaxInboundRoutingMethod, IFaxInboundRoutingMethod_Vtbl, 0x45700061_ad9d_4776_a8c4_64065492cf4b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxInboundRoutingMethod, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2337,7 +2337,7 @@ pub struct IFaxInboundRoutingMethod_Vtbl { pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxInboundRoutingMethods, IFaxInboundRoutingMethods_Vtbl, 0x783fca10_8908_4473_9d69_f67fbea0c6b9); +windows_core::imp::define_interface!(IFaxInboundRoutingMethods, IFaxInboundRoutingMethods_Vtbl, 0x783fca10_8908_4473_9d69_f67fbea0c6b9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxInboundRoutingMethods, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2371,7 +2371,7 @@ pub struct IFaxInboundRoutingMethods_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxIncomingArchive, IFaxIncomingArchive_Vtbl, 0x76062cc7_f714_4fbd_aa06_ed6e4a4b70f3); +windows_core::imp::define_interface!(IFaxIncomingArchive, IFaxIncomingArchive_Vtbl, 0x76062cc7_f714_4fbd_aa06_ed6e4a4b70f3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxIncomingArchive, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2485,7 +2485,7 @@ pub struct IFaxIncomingArchive_Vtbl { GetMessage: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxIncomingJob, IFaxIncomingJob_Vtbl, 0x207529e6_654a_4916_9f88_4d232ee8a107); +windows_core::imp::define_interface!(IFaxIncomingJob, IFaxIncomingJob_Vtbl, 0x207529e6_654a_4916_9f88_4d232ee8a107); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxIncomingJob, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2592,7 +2592,7 @@ pub struct IFaxIncomingJob_Vtbl { pub CopyTiff: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxIncomingJobs, IFaxIncomingJobs_Vtbl, 0x011f04e9_4fd6_4c23_9513_b6b66bb26be9); +windows_core::imp::define_interface!(IFaxIncomingJobs, IFaxIncomingJobs_Vtbl, 0x011f04e9_4fd6_4c23_9513_b6b66bb26be9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxIncomingJobs, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2626,7 +2626,7 @@ pub struct IFaxIncomingJobs_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxIncomingMessage, IFaxIncomingMessage_Vtbl, 0x7cab88fa_2ef9_4851_b2f3_1d148fed8447); +windows_core::imp::define_interface!(IFaxIncomingMessage, IFaxIncomingMessage_Vtbl, 0x7cab88fa_2ef9_4851_b2f3_1d148fed8447); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxIncomingMessage, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2704,7 +2704,7 @@ pub struct IFaxIncomingMessage_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxIncomingMessage2, IFaxIncomingMessage2_Vtbl, 0xf9208503_e2bc_48f3_9ec0_e6236f9b509a); +windows_core::imp::define_interface!(IFaxIncomingMessage2, IFaxIncomingMessage2_Vtbl, 0xf9208503_e2bc_48f3_9ec0_e6236f9b509a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxIncomingMessage2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFaxIncomingMessage); #[cfg(feature = "Win32_System_Com")] @@ -2858,7 +2858,7 @@ pub struct IFaxIncomingMessage2_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxIncomingMessageIterator, IFaxIncomingMessageIterator_Vtbl, 0xfd73ecc4_6f06_4f52_82a8_f7ba06ae3108); +windows_core::imp::define_interface!(IFaxIncomingMessageIterator, IFaxIncomingMessageIterator_Vtbl, 0xfd73ecc4_6f06_4f52_82a8_f7ba06ae3108); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxIncomingMessageIterator, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2901,7 +2901,7 @@ pub struct IFaxIncomingMessageIterator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxIncomingQueue, IFaxIncomingQueue_Vtbl, 0x902e64ef_8fd8_4b75_9725_6014df161545); +windows_core::imp::define_interface!(IFaxIncomingQueue, IFaxIncomingQueue_Vtbl, 0x902e64ef_8fd8_4b75_9725_6014df161545); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxIncomingQueue, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2954,7 +2954,7 @@ pub struct IFaxIncomingQueue_Vtbl { GetJob: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxJobStatus, IFaxJobStatus_Vtbl, 0x8b86f485_fd7f_4824_886b_40c5caa617cc); +windows_core::imp::define_interface!(IFaxJobStatus, IFaxJobStatus_Vtbl, 0x8b86f485_fd7f_4824_886b_40c5caa617cc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxJobStatus, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3051,7 +3051,7 @@ pub struct IFaxJobStatus_Vtbl { pub RoutingInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxLoggingOptions, IFaxLoggingOptions_Vtbl, 0x34e64fb9_6b31_4d32_8b27_d286c0c33606); +windows_core::imp::define_interface!(IFaxLoggingOptions, IFaxLoggingOptions_Vtbl, 0x34e64fb9_6b31_4d32_8b27_d286c0c33606); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxLoggingOptions, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3081,7 +3081,7 @@ pub struct IFaxLoggingOptions_Vtbl { ActivityLogging: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutboundRouting, IFaxOutboundRouting_Vtbl, 0x25dc05a4_9909_41bd_a95b_7e5d1dec1d43); +windows_core::imp::define_interface!(IFaxOutboundRouting, IFaxOutboundRouting_Vtbl, 0x25dc05a4_9909_41bd_a95b_7e5d1dec1d43); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutboundRouting, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3111,7 +3111,7 @@ pub struct IFaxOutboundRouting_Vtbl { GetRules: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutboundRoutingGroup, IFaxOutboundRoutingGroup_Vtbl, 0xca6289a1_7e25_4f87_9a0b_93365734962c); +windows_core::imp::define_interface!(IFaxOutboundRoutingGroup, IFaxOutboundRoutingGroup_Vtbl, 0xca6289a1_7e25_4f87_9a0b_93365734962c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingGroup, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3142,7 +3142,7 @@ pub struct IFaxOutboundRoutingGroup_Vtbl { DeviceIds: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutboundRoutingGroups, IFaxOutboundRoutingGroups_Vtbl, 0x235cbef7_c2de_4bfd_b8da_75097c82c87f); +windows_core::imp::define_interface!(IFaxOutboundRoutingGroups, IFaxOutboundRoutingGroups_Vtbl, 0x235cbef7_c2de_4bfd_b8da_75097c82c87f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingGroups, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3195,7 +3195,7 @@ pub struct IFaxOutboundRoutingGroups_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutboundRoutingRule, IFaxOutboundRoutingRule_Vtbl, 0xe1f795d5_07c2_469f_b027_acacc23219da); +windows_core::imp::define_interface!(IFaxOutboundRoutingRule, IFaxOutboundRoutingRule_Vtbl, 0xe1f795d5_07c2_469f_b027_acacc23219da); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingRule, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3263,7 +3263,7 @@ pub struct IFaxOutboundRoutingRule_Vtbl { pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutboundRoutingRules, IFaxOutboundRoutingRules_Vtbl, 0xdcefa1e7_ae7d_4ed6_8521_369edcca5120); +windows_core::imp::define_interface!(IFaxOutboundRoutingRules, IFaxOutboundRoutingRules_Vtbl, 0xdcefa1e7_ae7d_4ed6_8521_369edcca5120); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutboundRoutingRules, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3324,7 +3324,7 @@ pub struct IFaxOutboundRoutingRules_Vtbl { Add: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutgoingArchive, IFaxOutgoingArchive_Vtbl, 0xc9c28f40_8d80_4e53_810f_9a79919b49fd); +windows_core::imp::define_interface!(IFaxOutgoingArchive, IFaxOutgoingArchive_Vtbl, 0xc9c28f40_8d80_4e53_810f_9a79919b49fd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutgoingArchive, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3438,7 +3438,7 @@ pub struct IFaxOutgoingArchive_Vtbl { GetMessage: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutgoingJob, IFaxOutgoingJob_Vtbl, 0x6356daad_6614_4583_bf7a_3ad67bbfc71c); +windows_core::imp::define_interface!(IFaxOutgoingJob, IFaxOutgoingJob_Vtbl, 0x6356daad_6614_4583_bf7a_3ad67bbfc71c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutgoingJob, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3610,7 +3610,7 @@ pub struct IFaxOutgoingJob_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutgoingJob2, IFaxOutgoingJob2_Vtbl, 0x418a8d96_59a0_4789_b176_edf3dc8fa8f7); +windows_core::imp::define_interface!(IFaxOutgoingJob2, IFaxOutgoingJob2_Vtbl, 0x418a8d96_59a0_4789_b176_edf3dc8fa8f7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutgoingJob2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFaxOutgoingJob); #[cfg(feature = "Win32_System_Com")] @@ -3760,7 +3760,7 @@ pub struct IFaxOutgoingJob2_Vtbl { pub ScheduleType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_SCHEDULE_TYPE_ENUM) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutgoingJobs, IFaxOutgoingJobs_Vtbl, 0x2c56d8e6_8c2f_4573_944c_e505f8f5aeed); +windows_core::imp::define_interface!(IFaxOutgoingJobs, IFaxOutgoingJobs_Vtbl, 0x2c56d8e6_8c2f_4573_944c_e505f8f5aeed); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutgoingJobs, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3794,7 +3794,7 @@ pub struct IFaxOutgoingJobs_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutgoingMessage, IFaxOutgoingMessage_Vtbl, 0xf0ea35de_caa5_4a7c_82c7_2b60ba5f2be2); +windows_core::imp::define_interface!(IFaxOutgoingMessage, IFaxOutgoingMessage_Vtbl, 0xf0ea35de_caa5_4a7c_82c7_2b60ba5f2be2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutgoingMessage, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3910,7 +3910,7 @@ pub struct IFaxOutgoingMessage_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutgoingMessage2, IFaxOutgoingMessage2_Vtbl, 0xb37df687_bc88_4b46_b3be_b458b3ea9e7f); +windows_core::imp::define_interface!(IFaxOutgoingMessage2, IFaxOutgoingMessage2_Vtbl, 0xb37df687_bc88_4b46_b3be_b458b3ea9e7f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutgoingMessage2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFaxOutgoingMessage); #[cfg(feature = "Win32_System_Com")] @@ -4036,7 +4036,7 @@ pub struct IFaxOutgoingMessage2_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutgoingMessageIterator, IFaxOutgoingMessageIterator_Vtbl, 0xf5ec5d4f_b840_432f_9980_112fe42a9b7a); +windows_core::imp::define_interface!(IFaxOutgoingMessageIterator, IFaxOutgoingMessageIterator_Vtbl, 0xf5ec5d4f_b840_432f_9980_112fe42a9b7a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutgoingMessageIterator, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4079,7 +4079,7 @@ pub struct IFaxOutgoingMessageIterator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxOutgoingQueue, IFaxOutgoingQueue_Vtbl, 0x80b1df24_d9ac_4333_b373_487cedc80ce5); +windows_core::imp::define_interface!(IFaxOutgoingQueue, IFaxOutgoingQueue_Vtbl, 0x80b1df24_d9ac_4333_b373_487cedc80ce5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxOutgoingQueue, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4225,7 +4225,7 @@ pub struct IFaxOutgoingQueue_Vtbl { GetJob: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxReceiptOptions, IFaxReceiptOptions_Vtbl, 0x378efaeb_5fcb_4afb_b2ee_e16e80614487); +windows_core::imp::define_interface!(IFaxReceiptOptions, IFaxReceiptOptions_Vtbl, 0x378efaeb_5fcb_4afb_b2ee_e16e80614487); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxReceiptOptions, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4332,7 +4332,7 @@ pub struct IFaxReceiptOptions_Vtbl { pub SetUseForInboundRouting: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxRecipient, IFaxRecipient_Vtbl, 0x9a3da3a0_538d_42b6_9444_aaa57d0ce2bc); +windows_core::imp::define_interface!(IFaxRecipient, IFaxRecipient_Vtbl, 0x9a3da3a0_538d_42b6_9444_aaa57d0ce2bc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxRecipient, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4368,7 +4368,7 @@ pub struct IFaxRecipient_Vtbl { pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxRecipients, IFaxRecipients_Vtbl, 0xb9c9de5a_894e_4492_9fa3_08c627c11d5d); +windows_core::imp::define_interface!(IFaxRecipients, IFaxRecipients_Vtbl, 0xb9c9de5a_894e_4492_9fa3_08c627c11d5d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxRecipients, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4416,7 +4416,7 @@ pub struct IFaxRecipients_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxSecurity, IFaxSecurity_Vtbl, 0x77b508c1_09c0_47a2_91eb_fce7fdf2690e); +windows_core::imp::define_interface!(IFaxSecurity, IFaxSecurity_Vtbl, 0x77b508c1_09c0_47a2_91eb_fce7fdf2690e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxSecurity, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4462,7 +4462,7 @@ pub struct IFaxSecurity_Vtbl { pub SetInformationType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxSecurity2, IFaxSecurity2_Vtbl, 0x17d851f4_d09b_48fc_99c9_8f24c4db9ab1); +windows_core::imp::define_interface!(IFaxSecurity2, IFaxSecurity2_Vtbl, 0x17d851f4_d09b_48fc_99c9_8f24c4db9ab1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxSecurity2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4508,7 +4508,7 @@ pub struct IFaxSecurity2_Vtbl { pub SetInformationType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxSender, IFaxSender_Vtbl, 0x0d879d7d_f57a_4cc6_a6f9_3ee5d527b46a); +windows_core::imp::define_interface!(IFaxSender, IFaxSender_Vtbl, 0x0d879d7d_f57a_4cc6_a6f9_3ee5d527b46a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxSender, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4720,7 +4720,7 @@ pub struct IFaxSender_Vtbl { pub SaveDefaultSender: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxServer, IFaxServer_Vtbl, 0x475b6469_90a5_4878_a577_17a86e8e3462); +windows_core::imp::define_interface!(IFaxServer, IFaxServer_Vtbl, 0x475b6469_90a5_4878_a577_17a86e8e3462); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxServer, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4918,7 +4918,7 @@ pub struct IFaxServer_Vtbl { pub APIVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FAX_SERVER_APIVERSION_ENUM) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxServer2, IFaxServer2_Vtbl, 0x571ced0f_5609_4f40_9176_547e3a72ca7c); +windows_core::imp::define_interface!(IFaxServer2, IFaxServer2_Vtbl, 0x571ced0f_5609_4f40_9176_547e3a72ca7c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxServer2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFaxServer); #[cfg(feature = "Win32_System_Com")] @@ -5099,7 +5099,7 @@ pub struct IFaxServer2_Vtbl { Security2: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxServerNotify, IFaxServerNotify_Vtbl, 0x2e037b27_cf8a_4abd_b1e0_5704943bea6f); +windows_core::imp::define_interface!(IFaxServerNotify, IFaxServerNotify_Vtbl, 0x2e037b27_cf8a_4abd_b1e0_5704943bea6f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxServerNotify, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5110,7 +5110,7 @@ pub struct IFaxServerNotify_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFaxServerNotify2, IFaxServerNotify2_Vtbl, 0xec9c69b9_5fe7_4805_9467_82fcd96af903); +windows_core::imp::define_interface!(IFaxServerNotify2, IFaxServerNotify2_Vtbl, 0xec9c69b9_5fe7_4805_9467_82fcd96af903); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFaxServerNotify2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5427,7 +5427,7 @@ pub struct IFaxServerNotify2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OnGeneralServerConfigChanged: usize, } -windows_core::imp::com_interface!(IStiDevice, IStiDevice_Vtbl, 0x6cfa5a80_2dc8_11d0_90ea_00aa0060f86c); +windows_core::imp::define_interface!(IStiDevice, IStiDevice_Vtbl, 0x6cfa5a80_2dc8_11d0_90ea_00aa0060f86c); windows_core::imp::interface_hierarchy!(IStiDevice, windows_core::IUnknown); impl IStiDevice { pub unsafe fn Initialize(&self, hinst: P0, pwszdevicename: P1, dwversion: u32, dwmode: u32) -> windows_core::Result<()> @@ -5524,7 +5524,7 @@ pub struct IStiDevice_Vtbl { pub UnSubscribe: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLastErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut _ERROR_INFOW) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStiDeviceControl, IStiDeviceControl_Vtbl, 0x128a9860_52dc_11d0_9edf_444553540000); +windows_core::imp::define_interface!(IStiDeviceControl, IStiDeviceControl_Vtbl, 0x128a9860_52dc_11d0_9edf_444553540000); windows_core::imp::interface_hierarchy!(IStiDeviceControl, windows_core::IUnknown); impl IStiDeviceControl { pub unsafe fn Initialize(&self, dwdevicetype: u32, dwmode: u32, pwszportname: P0, dwflags: u32) -> windows_core::Result<()> @@ -5598,7 +5598,7 @@ pub struct IStiDeviceControl_Vtbl { pub GetMyDeviceOpenMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub WriteToErrorLog: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStiUSD, IStiUSD_Vtbl, 0x0c9bb460_51ac_11d0_90ea_00aa0060f86c); +windows_core::imp::define_interface!(IStiUSD, IStiUSD_Vtbl, 0x0c9bb460_51ac_11d0_90ea_00aa0060f86c); windows_core::imp::interface_hierarchy!(IStiUSD, windows_core::IUnknown); impl IStiUSD { #[cfg(feature = "Win32_System_Registry")] @@ -5699,7 +5699,7 @@ pub struct IStiUSD_Vtbl { pub GetNotificationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut STINOTIFY) -> windows_core::HRESULT, pub GetLastErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut _ERROR_INFOW) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStillImageW, IStillImageW_Vtbl, 0x641bd880_2dc8_11d0_90ea_00aa0060f86c); +windows_core::imp::define_interface!(IStillImageW, IStillImageW_Vtbl, 0x641bd880_2dc8_11d0_90ea_00aa0060f86c); windows_core::imp::interface_hierarchy!(IStillImageW, windows_core::IUnknown); impl IStillImageW { pub unsafe fn Initialize(&self, hinst: P0, dwversion: u32) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs index 845c292e82..5ae60af5f4 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IFunctionDiscovery, IFunctionDiscovery_Vtbl, 0x4df99b70_e148_4432_b004_4c9eeb535a5e); +windows_core::imp::define_interface!(IFunctionDiscovery, IFunctionDiscovery_Vtbl, 0x4df99b70_e148_4432_b004_4c9eeb535a5e); windows_core::imp::interface_hierarchy!(IFunctionDiscovery, windows_core::IUnknown); impl IFunctionDiscovery { pub unsafe fn GetInstanceCollection(&self, pszcategory: P0, pszsubcategory: P1, fincludeallsubcategories: P2) -> windows_core::Result @@ -71,7 +71,7 @@ pub struct IFunctionDiscovery_Vtbl { AddInstance: usize, pub RemoveInstance: unsafe extern "system" fn(*mut core::ffi::c_void, SystemVisibilityFlags, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFunctionDiscoveryNotification, IFunctionDiscoveryNotification_Vtbl, 0x5f6c1ba8_5330_422e_a368_572b244d3f87); +windows_core::imp::define_interface!(IFunctionDiscoveryNotification, IFunctionDiscoveryNotification_Vtbl, 0x5f6c1ba8_5330_422e_a368_572b244d3f87); windows_core::imp::interface_hierarchy!(IFunctionDiscoveryNotification, windows_core::IUnknown); impl IFunctionDiscoveryNotification { #[cfg(feature = "Win32_System_Com")] @@ -104,7 +104,7 @@ pub struct IFunctionDiscoveryNotification_Vtbl { pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u64, windows_core::PCWSTR) -> windows_core::HRESULT, pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFunctionDiscoveryProvider, IFunctionDiscoveryProvider_Vtbl, 0xdcde394f_1478_4813_a402_f6fb10657222); +windows_core::imp::define_interface!(IFunctionDiscoveryProvider, IFunctionDiscoveryProvider_Vtbl, 0xdcde394f_1478_4813_a402_f6fb10657222); windows_core::imp::interface_hierarchy!(IFunctionDiscoveryProvider, windows_core::IUnknown); impl IFunctionDiscoveryProvider { pub unsafe fn Initialize(&self, pifunctiondiscoveryproviderfactory: P0, pifunctiondiscoverynotification: P1, lciduserdefault: u32) -> windows_core::Result @@ -190,7 +190,7 @@ pub struct IFunctionDiscoveryProvider_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] InstanceReleased: usize, } -windows_core::imp::com_interface!(IFunctionDiscoveryProviderFactory, IFunctionDiscoveryProviderFactory_Vtbl, 0x86443ff0_1ad5_4e68_a45a_40c2c329de3b); +windows_core::imp::define_interface!(IFunctionDiscoveryProviderFactory, IFunctionDiscoveryProviderFactory_Vtbl, 0x86443ff0_1ad5_4e68_a45a_40c2c329de3b); windows_core::imp::interface_hierarchy!(IFunctionDiscoveryProviderFactory, windows_core::IUnknown); impl IFunctionDiscoveryProviderFactory { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -227,7 +227,7 @@ pub struct IFunctionDiscoveryProviderFactory_Vtbl { CreateInstance: usize, pub CreateFunctionInstanceCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFunctionDiscoveryProviderQuery, IFunctionDiscoveryProviderQuery_Vtbl, 0x6876ea98_baec_46db_bc20_75a76e267a3a); +windows_core::imp::define_interface!(IFunctionDiscoveryProviderQuery, IFunctionDiscoveryProviderQuery_Vtbl, 0x6876ea98_baec_46db_bc20_75a76e267a3a); windows_core::imp::interface_hierarchy!(IFunctionDiscoveryProviderQuery, windows_core::IUnknown); impl IFunctionDiscoveryProviderQuery { pub unsafe fn IsInstanceQuery(&self, pisinstancequery: *mut super::super::Foundation::BOOL, ppszconstraintvalue: *mut *mut u16) -> windows_core::Result<()> { @@ -253,7 +253,7 @@ pub struct IFunctionDiscoveryProviderQuery_Vtbl { pub GetQueryConstraints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPropertyConstraints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFunctionDiscoveryServiceProvider, IFunctionDiscoveryServiceProvider_Vtbl, 0x4c81ed02_1b04_43f2_a451_69966cbcd1c2); +windows_core::imp::define_interface!(IFunctionDiscoveryServiceProvider, IFunctionDiscoveryServiceProvider_Vtbl, 0x4c81ed02_1b04_43f2_a451_69966cbcd1c2); windows_core::imp::interface_hierarchy!(IFunctionDiscoveryServiceProvider, windows_core::IUnknown); impl IFunctionDiscoveryServiceProvider { #[cfg(feature = "Win32_System_Com")] @@ -275,7 +275,7 @@ pub struct IFunctionDiscoveryServiceProvider_Vtbl { Initialize: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFunctionInstance, IFunctionInstance_Vtbl, 0x33591c10_0bed_4f02_b0ab_1530d5533ee9); +windows_core::imp::define_interface!(IFunctionInstance, IFunctionInstance_Vtbl, 0x33591c10_0bed_4f02_b0ab_1530d5533ee9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFunctionInstance, windows_core::IUnknown, super::super::System::Com::IServiceProvider); #[cfg(feature = "Win32_System_Com")] @@ -317,7 +317,7 @@ pub struct IFunctionInstance_Vtbl { OpenPropertyStore: usize, pub GetCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u16, *mut *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFunctionInstanceCollection, IFunctionInstanceCollection_Vtbl, 0xf0a3d895_855c_42a2_948d_2f97d450ecb1); +windows_core::imp::define_interface!(IFunctionInstanceCollection, IFunctionInstanceCollection_Vtbl, 0xf0a3d895_855c_42a2_948d_2f97d450ecb1); windows_core::imp::interface_hierarchy!(IFunctionInstanceCollection, windows_core::IUnknown); impl IFunctionInstanceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -379,7 +379,7 @@ pub struct IFunctionInstanceCollection_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub DeleteAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFunctionInstanceCollectionQuery, IFunctionInstanceCollectionQuery_Vtbl, 0x57cc6fd2_c09a_4289_bb72_25f04142058e); +windows_core::imp::define_interface!(IFunctionInstanceCollectionQuery, IFunctionInstanceCollectionQuery_Vtbl, 0x57cc6fd2_c09a_4289_bb72_25f04142058e); windows_core::imp::interface_hierarchy!(IFunctionInstanceCollectionQuery, windows_core::IUnknown); impl IFunctionInstanceCollectionQuery { pub unsafe fn AddQueryConstraint(&self, pszconstraintname: P0, pszconstraintvalue: P1) -> windows_core::Result<()> @@ -408,7 +408,7 @@ pub struct IFunctionInstanceCollectionQuery_Vtbl { AddPropertyConstraint: usize, pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFunctionInstanceQuery, IFunctionInstanceQuery_Vtbl, 0x6242bc6b_90ec_4b37_bb46_e229fd84ed95); +windows_core::imp::define_interface!(IFunctionInstanceQuery, IFunctionInstanceQuery_Vtbl, 0x6242bc6b_90ec_4b37_bb46_e229fd84ed95); windows_core::imp::interface_hierarchy!(IFunctionInstanceQuery, windows_core::IUnknown); impl IFunctionInstanceQuery { #[cfg(feature = "Win32_System_Com")] @@ -425,7 +425,7 @@ pub struct IFunctionInstanceQuery_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Execute: usize, } -windows_core::imp::com_interface!(IPNPXAssociation, IPNPXAssociation_Vtbl, 0x0bd7e521_4da6_42d5_81ba_1981b6b94075); +windows_core::imp::define_interface!(IPNPXAssociation, IPNPXAssociation_Vtbl, 0x0bd7e521_4da6_42d5_81ba_1981b6b94075); windows_core::imp::interface_hierarchy!(IPNPXAssociation, windows_core::IUnknown); impl IPNPXAssociation { pub unsafe fn Associate(&self, pszsubcategory: P0) -> windows_core::Result<()> @@ -454,7 +454,7 @@ pub struct IPNPXAssociation_Vtbl { pub Unassociate: 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::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPNPXDeviceAssociation, IPNPXDeviceAssociation_Vtbl, 0xeed366d0_35b8_4fc5_8d20_7e5bd31f6ded); +windows_core::imp::define_interface!(IPNPXDeviceAssociation, IPNPXDeviceAssociation_Vtbl, 0xeed366d0_35b8_4fc5_8d20_7e5bd31f6ded); windows_core::imp::interface_hierarchy!(IPNPXDeviceAssociation, windows_core::IUnknown); impl IPNPXDeviceAssociation { pub unsafe fn Associate(&self, pszsubcategory: P0, pifunctiondiscoverynotification: P1) -> windows_core::Result<()> @@ -486,7 +486,7 @@ pub struct IPNPXDeviceAssociation_Vtbl { pub Unassociate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyStoreCollection, IPropertyStoreCollection_Vtbl, 0xd14d9c30_12d2_42d8_bce4_c60c2bb226fa); +windows_core::imp::define_interface!(IPropertyStoreCollection, IPropertyStoreCollection_Vtbl, 0xd14d9c30_12d2_42d8_bce4_c60c2bb226fa); windows_core::imp::interface_hierarchy!(IPropertyStoreCollection, windows_core::IUnknown); impl IPropertyStoreCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -548,7 +548,7 @@ pub struct IPropertyStoreCollection_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub DeleteAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProviderProperties, IProviderProperties_Vtbl, 0xcf986ea6_3b5f_4c5f_b88a_2f8b20ceef17); +windows_core::imp::define_interface!(IProviderProperties, IProviderProperties_Vtbl, 0xcf986ea6_3b5f_4c5f_b88a_2f8b20ceef17); windows_core::imp::interface_hierarchy!(IProviderProperties, windows_core::IUnknown); impl IProviderProperties { #[cfg(feature = "Win32_System_Com")] @@ -602,7 +602,7 @@ pub struct IProviderProperties_Vtbl { #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem")))] SetValue: usize, } -windows_core::imp::com_interface!(IProviderPropertyConstraintCollection, IProviderPropertyConstraintCollection_Vtbl, 0xf4fae42f_5778_4a13_8540_b5fd8c1398dd); +windows_core::imp::define_interface!(IProviderPropertyConstraintCollection, IProviderPropertyConstraintCollection_Vtbl, 0xf4fae42f_5778_4a13_8540_b5fd8c1398dd); windows_core::imp::interface_hierarchy!(IProviderPropertyConstraintCollection, windows_core::IUnknown); impl IProviderPropertyConstraintCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -647,7 +647,7 @@ pub struct IProviderPropertyConstraintCollection_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProviderPublishing, IProviderPublishing_Vtbl, 0xcd1b9a04_206c_4a05_a0c8_1635a21a2b7c); +windows_core::imp::define_interface!(IProviderPublishing, IProviderPublishing_Vtbl, 0xcd1b9a04_206c_4a05_a0c8_1635a21a2b7c); windows_core::imp::interface_hierarchy!(IProviderPublishing, windows_core::IUnknown); impl IProviderPublishing { #[cfg(feature = "Win32_System_Com")] @@ -676,7 +676,7 @@ pub struct IProviderPublishing_Vtbl { CreateInstance: usize, pub RemoveInstance: unsafe extern "system" fn(*mut core::ffi::c_void, SystemVisibilityFlags, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProviderQueryConstraintCollection, IProviderQueryConstraintCollection_Vtbl, 0x9c243e11_3261_4bcd_b922_84a873d460ae); +windows_core::imp::define_interface!(IProviderQueryConstraintCollection, IProviderQueryConstraintCollection_Vtbl, 0x9c243e11_3261_4bcd_b922_84a873d460ae); windows_core::imp::interface_hierarchy!(IProviderQueryConstraintCollection, windows_core::IUnknown); impl IProviderQueryConstraintCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs index cc01c907ba..f7cad5fbf4 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICivicAddressReport, ICivicAddressReport_Vtbl, 0xc0b19f70_4adf_445d_87f2_cad8fd711792); +windows_core::imp::define_interface!(ICivicAddressReport, ICivicAddressReport_Vtbl, 0xc0b19f70_4adf_445d_87f2_cad8fd711792); windows_core::imp::interface_hierarchy!(ICivicAddressReport, windows_core::IUnknown, ILocationReport); impl ICivicAddressReport { pub unsafe fn GetSensorID(&self) -> windows_core::Result { @@ -55,7 +55,7 @@ pub struct ICivicAddressReport_Vtbl { pub GetDetailLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICivicAddressReportFactory, ICivicAddressReportFactory_Vtbl, 0xbf773b93_c64f_4bee_beb2_67c0b8df66e0); +windows_core::imp::define_interface!(ICivicAddressReportFactory, ICivicAddressReportFactory_Vtbl, 0xbf773b93_c64f_4bee_beb2_67c0b8df66e0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICivicAddressReportFactory, windows_core::IUnknown, super::super::System::Com::IDispatch, ILocationReportFactory); #[cfg(feature = "Win32_System_Com")] @@ -102,7 +102,7 @@ pub struct ICivicAddressReportFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CivicAddressReport: usize, } -windows_core::imp::com_interface!(IDefaultLocation, IDefaultLocation_Vtbl, 0xa65af77e_969a_4a2e_8aca_33bb7cbb1235); +windows_core::imp::define_interface!(IDefaultLocation, IDefaultLocation_Vtbl, 0xa65af77e_969a_4a2e_8aca_33bb7cbb1235); windows_core::imp::interface_hierarchy!(IDefaultLocation, windows_core::IUnknown); impl IDefaultLocation { pub unsafe fn SetReport(&self, reporttype: *const windows_core::GUID, plocationreport: P0) -> windows_core::Result<()> @@ -123,7 +123,7 @@ pub struct IDefaultLocation_Vtbl { pub GetReport: 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")] -windows_core::imp::com_interface!(IDispCivicAddressReport, IDispCivicAddressReport_Vtbl, 0x16ff1a34_9e30_42c3_b44d_e22513b5767a); +windows_core::imp::define_interface!(IDispCivicAddressReport, IDispCivicAddressReport_Vtbl, 0x16ff1a34_9e30_42c3_b44d_e22513b5767a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDispCivicAddressReport, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -175,7 +175,7 @@ pub struct IDispCivicAddressReport_Vtbl { pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDispLatLongReport, IDispLatLongReport_Vtbl, 0x8ae32723_389b_4a11_9957_5bdd48fc9617); +windows_core::imp::define_interface!(IDispLatLongReport, IDispLatLongReport_Vtbl, 0x8ae32723_389b_4a11_9957_5bdd48fc9617); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDispLatLongReport, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -216,7 +216,7 @@ pub struct IDispLatLongReport_Vtbl { pub AltitudeError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub Timestamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILatLongReport, ILatLongReport_Vtbl, 0x7fed806d_0ef8_4f07_80ac_36a0beae3134); +windows_core::imp::define_interface!(ILatLongReport, ILatLongReport_Vtbl, 0x7fed806d_0ef8_4f07_80ac_36a0beae3134); windows_core::imp::interface_hierarchy!(ILatLongReport, windows_core::IUnknown, ILocationReport); impl ILatLongReport { pub unsafe fn GetSensorID(&self) -> windows_core::Result { @@ -263,7 +263,7 @@ pub struct ILatLongReport_Vtbl { pub GetAltitudeError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ILatLongReportFactory, ILatLongReportFactory_Vtbl, 0x3f0804cb_b114_447d_83dd_390174ebb082); +windows_core::imp::define_interface!(ILatLongReportFactory, ILatLongReportFactory_Vtbl, 0x3f0804cb_b114_447d_83dd_390174ebb082); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ILatLongReportFactory, windows_core::IUnknown, super::super::System::Com::IDispatch, ILocationReportFactory); #[cfg(feature = "Win32_System_Com")] @@ -310,7 +310,7 @@ pub struct ILatLongReportFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] LatLongReport: usize, } -windows_core::imp::com_interface!(ILocation, ILocation_Vtbl, 0xab2ece69_56d9_4f28_b525_de1b0ee44237); +windows_core::imp::define_interface!(ILocation, ILocation_Vtbl, 0xab2ece69_56d9_4f28_b525_de1b0ee44237); windows_core::imp::interface_hierarchy!(ILocation, windows_core::IUnknown); impl ILocation { pub unsafe fn RegisterForReport(&self, pevents: P0, reporttype: *const windows_core::GUID, dwrequestedreportinterval: u32) -> windows_core::Result<()> @@ -373,7 +373,7 @@ pub struct ILocation_Vtbl { SetDesiredAccuracy: usize, pub RequestPermissions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILocationEvents, ILocationEvents_Vtbl, 0xcae02bbf_798b_4508_a207_35a7906dc73d); +windows_core::imp::define_interface!(ILocationEvents, ILocationEvents_Vtbl, 0xcae02bbf_798b_4508_a207_35a7906dc73d); windows_core::imp::interface_hierarchy!(ILocationEvents, windows_core::IUnknown); impl ILocationEvents { pub unsafe fn OnLocationChanged(&self, reporttype: *const windows_core::GUID, plocationreport: P0) -> windows_core::Result<()> @@ -392,7 +392,7 @@ pub struct ILocationEvents_Vtbl { pub OnLocationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, LOCATION_REPORT_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILocationPower, ILocationPower_Vtbl, 0x193e7729_ab6b_4b12_8617_7596e1bb191c); +windows_core::imp::define_interface!(ILocationPower, ILocationPower_Vtbl, 0x193e7729_ab6b_4b12_8617_7596e1bb191c); windows_core::imp::interface_hierarchy!(ILocationPower, windows_core::IUnknown); impl ILocationPower { pub unsafe fn Connect(&self) -> windows_core::Result<()> { @@ -408,7 +408,7 @@ pub struct ILocationPower_Vtbl { 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, } -windows_core::imp::com_interface!(ILocationReport, ILocationReport_Vtbl, 0xc8b7f7ee_75d0_4db9_b62d_7a0f369ca456); +windows_core::imp::define_interface!(ILocationReport, ILocationReport_Vtbl, 0xc8b7f7ee_75d0_4db9_b62d_7a0f369ca456); windows_core::imp::interface_hierarchy!(ILocationReport, windows_core::IUnknown); impl ILocationReport { pub unsafe fn GetSensorID(&self) -> windows_core::Result { @@ -436,7 +436,7 @@ pub struct ILocationReport_Vtbl { GetValue: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ILocationReportFactory, ILocationReportFactory_Vtbl, 0x2daec322_90b2_47e4_bb08_0da841935a6b); +windows_core::imp::define_interface!(ILocationReportFactory, ILocationReportFactory_Vtbl, 0x2daec322_90b2_47e4_bb08_0da841935a6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ILocationReportFactory, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -483,7 +483,7 @@ pub struct ILocationReportFactory_Vtbl { pub RequestPermissions: unsafe extern "system" fn(*mut core::ffi::c_void, *const u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_ICivicAddressReportFactoryEvents, _ICivicAddressReportFactoryEvents_Vtbl, 0xc96039ff_72ec_4617_89bd_84d88bedc722); +windows_core::imp::define_interface!(_ICivicAddressReportFactoryEvents, _ICivicAddressReportFactoryEvents_Vtbl, 0xc96039ff_72ec_4617_89bd_84d88bedc722); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_ICivicAddressReportFactoryEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -494,7 +494,7 @@ pub struct _ICivicAddressReportFactoryEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_ILatLongReportFactoryEvents, _ILatLongReportFactoryEvents_Vtbl, 0x16ee6cb7_ab3c_424b_849f_269be551fcbc); +windows_core::imp::define_interface!(_ILatLongReportFactoryEvents, _ILatLongReportFactoryEvents_Vtbl, 0x16ee6cb7_ab3c_424b_849f_269be551fcbc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_ILatLongReportFactoryEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[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 b27bff62a2..c3c73a2c25 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/mod.rs @@ -365,7 +365,7 @@ pub unsafe fn joyConfigChanged(dwflags: u32) -> u32 { windows_targets::link!("winmm.dll" "system" fn joyConfigChanged(dwflags : u32) -> u32); joyConfigChanged(dwflags) } -windows_core::imp::com_interface!(IDirectInput2A, IDirectInput2A_Vtbl, 0x5944e662_aa8a_11cf_bfc7_444553540000); +windows_core::imp::define_interface!(IDirectInput2A, IDirectInput2A_Vtbl, 0x5944e662_aa8a_11cf_bfc7_444553540000); windows_core::imp::interface_hierarchy!(IDirectInput2A, windows_core::IUnknown, IDirectInputA); impl IDirectInput2A { pub unsafe fn CreateDevice(&self, param0: *const windows_core::GUID, param1: *mut Option, param2: P0) -> windows_core::Result<()> @@ -404,7 +404,7 @@ pub struct IDirectInput2A_Vtbl { pub base__: IDirectInputA_Vtbl, pub FindDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCSTR, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInput2W, IDirectInput2W_Vtbl, 0x5944e663_aa8a_11cf_bfc7_444553540000); +windows_core::imp::define_interface!(IDirectInput2W, IDirectInput2W_Vtbl, 0x5944e663_aa8a_11cf_bfc7_444553540000); windows_core::imp::interface_hierarchy!(IDirectInput2W, windows_core::IUnknown, IDirectInputW); impl IDirectInput2W { pub unsafe fn CreateDevice(&self, param0: *const windows_core::GUID, param1: *mut Option, param2: P0) -> windows_core::Result<()> @@ -443,7 +443,7 @@ pub struct IDirectInput2W_Vtbl { pub base__: IDirectInputW_Vtbl, pub FindDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCWSTR, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInput7A, IDirectInput7A_Vtbl, 0x9a4cb684_236d_11d3_8e9d_00c04f6844ae); +windows_core::imp::define_interface!(IDirectInput7A, IDirectInput7A_Vtbl, 0x9a4cb684_236d_11d3_8e9d_00c04f6844ae); windows_core::imp::interface_hierarchy!(IDirectInput7A, windows_core::IUnknown, IDirectInputA, IDirectInput2A); impl IDirectInput7A { pub unsafe fn CreateDevice(&self, param0: *const windows_core::GUID, param1: *mut Option, param2: P0) -> windows_core::Result<()> @@ -488,7 +488,7 @@ pub struct IDirectInput7A_Vtbl { pub base__: IDirectInput2A_Vtbl, pub CreateDeviceEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInput7W, IDirectInput7W_Vtbl, 0x9a4cb685_236d_11d3_8e9d_00c04f6844ae); +windows_core::imp::define_interface!(IDirectInput7W, IDirectInput7W_Vtbl, 0x9a4cb685_236d_11d3_8e9d_00c04f6844ae); windows_core::imp::interface_hierarchy!(IDirectInput7W, windows_core::IUnknown, IDirectInputW, IDirectInput2W); impl IDirectInput7W { pub unsafe fn CreateDevice(&self, param0: *const windows_core::GUID, param1: *mut Option, param2: P0) -> windows_core::Result<()> @@ -533,7 +533,7 @@ pub struct IDirectInput7W_Vtbl { pub base__: IDirectInput2W_Vtbl, pub CreateDeviceEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInput8A, IDirectInput8A_Vtbl, 0xbf798030_483a_4da2_aa99_5d64ed369700); +windows_core::imp::define_interface!(IDirectInput8A, IDirectInput8A_Vtbl, 0xbf798030_483a_4da2_aa99_5d64ed369700); windows_core::imp::interface_hierarchy!(IDirectInput8A, windows_core::IUnknown); impl IDirectInput8A { pub unsafe fn CreateDevice(&self, param0: *const windows_core::GUID, param1: *mut Option, param2: P0) -> windows_core::Result<()> @@ -588,7 +588,7 @@ pub struct IDirectInput8A_Vtbl { pub EnumDevicesBySemantics: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, *mut DIACTIONFORMATA, LPDIENUMDEVICESBYSEMANTICSCBA, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ConfigureDevices: unsafe extern "system" fn(*mut core::ffi::c_void, LPDICONFIGUREDEVICESCALLBACK, *mut DICONFIGUREDEVICESPARAMSA, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInput8W, IDirectInput8W_Vtbl, 0xbf798031_483a_4da2_aa99_5d64ed369700); +windows_core::imp::define_interface!(IDirectInput8W, IDirectInput8W_Vtbl, 0xbf798031_483a_4da2_aa99_5d64ed369700); windows_core::imp::interface_hierarchy!(IDirectInput8W, windows_core::IUnknown); impl IDirectInput8W { pub unsafe fn CreateDevice(&self, param0: *const windows_core::GUID, param1: *mut Option, param2: P0) -> windows_core::Result<()> @@ -643,7 +643,7 @@ pub struct IDirectInput8W_Vtbl { pub EnumDevicesBySemantics: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut DIACTIONFORMATW, LPDIENUMDEVICESBYSEMANTICSCBW, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ConfigureDevices: unsafe extern "system" fn(*mut core::ffi::c_void, LPDICONFIGUREDEVICESCALLBACK, *mut DICONFIGUREDEVICESPARAMSW, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputA, IDirectInputA_Vtbl, 0x89521360_aa8a_11cf_bfc7_444553540000); +windows_core::imp::define_interface!(IDirectInputA, IDirectInputA_Vtbl, 0x89521360_aa8a_11cf_bfc7_444553540000); windows_core::imp::interface_hierarchy!(IDirectInputA, windows_core::IUnknown); impl IDirectInputA { pub unsafe fn CreateDevice(&self, param0: *const windows_core::GUID, param1: *mut Option, param2: P0) -> windows_core::Result<()> @@ -680,7 +680,7 @@ pub struct IDirectInputA_Vtbl { pub RunControlPanel: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HINSTANCE, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputDevice2A, IDirectInputDevice2A_Vtbl, 0x5944e682_c92e_11cf_bfc7_444553540000); +windows_core::imp::define_interface!(IDirectInputDevice2A, IDirectInputDevice2A_Vtbl, 0x5944e682_c92e_11cf_bfc7_444553540000); windows_core::imp::interface_hierarchy!(IDirectInputDevice2A, windows_core::IUnknown, IDirectInputDeviceA); impl IDirectInputDevice2A { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> windows_core::Result<()> { @@ -784,7 +784,7 @@ pub struct IDirectInputDevice2A_Vtbl { pub Poll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SendDeviceData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DIDEVICEOBJECTDATA, *mut u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputDevice2W, IDirectInputDevice2W_Vtbl, 0x5944e683_c92e_11cf_bfc7_444553540000); +windows_core::imp::define_interface!(IDirectInputDevice2W, IDirectInputDevice2W_Vtbl, 0x5944e683_c92e_11cf_bfc7_444553540000); windows_core::imp::interface_hierarchy!(IDirectInputDevice2W, windows_core::IUnknown, IDirectInputDeviceW); impl IDirectInputDevice2W { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> windows_core::Result<()> { @@ -888,7 +888,7 @@ pub struct IDirectInputDevice2W_Vtbl { pub Poll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SendDeviceData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DIDEVICEOBJECTDATA, *mut u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputDevice7A, IDirectInputDevice7A_Vtbl, 0x57d7c6bc_2356_11d3_8e9d_00c04f6844ae); +windows_core::imp::define_interface!(IDirectInputDevice7A, IDirectInputDevice7A_Vtbl, 0x57d7c6bc_2356_11d3_8e9d_00c04f6844ae); windows_core::imp::interface_hierarchy!(IDirectInputDevice7A, windows_core::IUnknown, IDirectInputDeviceA, IDirectInputDevice2A); impl IDirectInputDevice7A { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> windows_core::Result<()> { @@ -997,7 +997,7 @@ pub struct IDirectInputDevice7A_Vtbl { pub EnumEffectsInFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, LPDIENUMEFFECTSINFILECALLBACK, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub WriteEffectToFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, *mut DIFILEEFFECT, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputDevice7W, IDirectInputDevice7W_Vtbl, 0x57d7c6bd_2356_11d3_8e9d_00c04f6844ae); +windows_core::imp::define_interface!(IDirectInputDevice7W, IDirectInputDevice7W_Vtbl, 0x57d7c6bd_2356_11d3_8e9d_00c04f6844ae); windows_core::imp::interface_hierarchy!(IDirectInputDevice7W, windows_core::IUnknown, IDirectInputDeviceW, IDirectInputDevice2W); impl IDirectInputDevice7W { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> windows_core::Result<()> { @@ -1106,7 +1106,7 @@ pub struct IDirectInputDevice7W_Vtbl { pub EnumEffectsInFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, LPDIENUMEFFECTSINFILECALLBACK, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub WriteEffectToFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut DIFILEEFFECT, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputDevice8A, IDirectInputDevice8A_Vtbl, 0x54d41080_dc15_4833_a41b_748f73a38179); +windows_core::imp::define_interface!(IDirectInputDevice8A, IDirectInputDevice8A_Vtbl, 0x54d41080_dc15_4833_a41b_748f73a38179); windows_core::imp::interface_hierarchy!(IDirectInputDevice8A, windows_core::IUnknown); impl IDirectInputDevice8A { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> windows_core::Result<()> { @@ -1257,7 +1257,7 @@ pub struct IDirectInputDevice8A_Vtbl { pub SetActionMap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIACTIONFORMATA, windows_core::PCSTR, u32) -> windows_core::HRESULT, pub GetImageInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIDEVICEIMAGEINFOHEADERA) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputDevice8W, IDirectInputDevice8W_Vtbl, 0x54d41081_dc15_4833_a41b_748f73a38179); +windows_core::imp::define_interface!(IDirectInputDevice8W, IDirectInputDevice8W_Vtbl, 0x54d41081_dc15_4833_a41b_748f73a38179); windows_core::imp::interface_hierarchy!(IDirectInputDevice8W, windows_core::IUnknown); impl IDirectInputDevice8W { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> windows_core::Result<()> { @@ -1408,7 +1408,7 @@ pub struct IDirectInputDevice8W_Vtbl { pub SetActionMap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIACTIONFORMATW, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub GetImageInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIDEVICEIMAGEINFOHEADERW) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputDeviceA, IDirectInputDeviceA_Vtbl, 0x5944e680_c92e_11cf_bfc7_444553540000); +windows_core::imp::define_interface!(IDirectInputDeviceA, IDirectInputDeviceA_Vtbl, 0x5944e680_c92e_11cf_bfc7_444553540000); windows_core::imp::interface_hierarchy!(IDirectInputDeviceA, windows_core::IUnknown); impl IDirectInputDeviceA { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> windows_core::Result<()> { @@ -1488,7 +1488,7 @@ pub struct IDirectInputDeviceA_Vtbl { pub RunControlPanel: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HINSTANCE, u32, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputDeviceW, IDirectInputDeviceW_Vtbl, 0x5944e681_c92e_11cf_bfc7_444553540000); +windows_core::imp::define_interface!(IDirectInputDeviceW, IDirectInputDeviceW_Vtbl, 0x5944e681_c92e_11cf_bfc7_444553540000); windows_core::imp::interface_hierarchy!(IDirectInputDeviceW, windows_core::IUnknown); impl IDirectInputDeviceW { pub unsafe fn GetCapabilities(&self, param0: *mut DIDEVCAPS) -> windows_core::Result<()> { @@ -1568,7 +1568,7 @@ pub struct IDirectInputDeviceW_Vtbl { pub RunControlPanel: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HINSTANCE, u32, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputEffect, IDirectInputEffect_Vtbl, 0xe7e1f7c0_88d2_11d0_9ad0_00a0c9a06e35); +windows_core::imp::define_interface!(IDirectInputEffect, IDirectInputEffect_Vtbl, 0xe7e1f7c0_88d2_11d0_9ad0_00a0c9a06e35); windows_core::imp::interface_hierarchy!(IDirectInputEffect, windows_core::IUnknown); impl IDirectInputEffect { pub unsafe fn Initialize(&self, param0: P0, param1: u32, param2: *const windows_core::GUID) -> windows_core::Result<()> @@ -1619,7 +1619,7 @@ pub struct IDirectInputEffect_Vtbl { pub Unload: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Escape: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIEFFESCAPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputEffectDriver, IDirectInputEffectDriver_Vtbl, 0x02538130_898f_11d0_9ad0_00a0c9a06e35); +windows_core::imp::define_interface!(IDirectInputEffectDriver, IDirectInputEffectDriver_Vtbl, 0x02538130_898f_11d0_9ad0_00a0c9a06e35); windows_core::imp::interface_hierarchy!(IDirectInputEffectDriver, windows_core::IUnknown); impl IDirectInputEffectDriver { pub unsafe fn DeviceID(&self, param0: u32, param1: u32, param2: u32, param3: u32, param4: *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -1671,7 +1671,7 @@ pub struct IDirectInputEffectDriver_Vtbl { pub StopEffect: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub GetEffectStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectInputJoyConfig, IDirectInputJoyConfig_Vtbl, 0x1de12ab1_c9f5_11cf_bfc7_444553540000); +windows_core::imp::define_interface!(IDirectInputJoyConfig, IDirectInputJoyConfig_Vtbl, 0x1de12ab1_c9f5_11cf_bfc7_444553540000); windows_core::imp::interface_hierarchy!(IDirectInputJoyConfig, windows_core::IUnknown); impl IDirectInputJoyConfig { pub unsafe fn Acquire(&self) -> windows_core::Result<()> { @@ -1769,7 +1769,7 @@ pub struct IDirectInputJoyConfig_Vtbl { #[cfg(not(feature = "Win32_System_Registry"))] OpenConfigKey: usize, } -windows_core::imp::com_interface!(IDirectInputJoyConfig8, IDirectInputJoyConfig8_Vtbl, 0xeb0d7dfa_1990_4f27_b4d6_edf2eec4a44c); +windows_core::imp::define_interface!(IDirectInputJoyConfig8, IDirectInputJoyConfig8_Vtbl, 0xeb0d7dfa_1990_4f27_b4d6_edf2eec4a44c); windows_core::imp::interface_hierarchy!(IDirectInputJoyConfig8, windows_core::IUnknown); impl IDirectInputJoyConfig8 { pub unsafe fn Acquire(&self) -> windows_core::Result<()> { @@ -1868,7 +1868,7 @@ pub struct IDirectInputJoyConfig8_Vtbl { #[cfg(not(feature = "Win32_System_Registry"))] OpenAppStatusKey: usize, } -windows_core::imp::com_interface!(IDirectInputW, IDirectInputW_Vtbl, 0x89521361_aa8a_11cf_bfc7_444553540000); +windows_core::imp::define_interface!(IDirectInputW, IDirectInputW_Vtbl, 0x89521361_aa8a_11cf_bfc7_444553540000); windows_core::imp::interface_hierarchy!(IDirectInputW, windows_core::IUnknown); impl IDirectInputW { pub unsafe fn CreateDevice(&self, param0: *const windows_core::GUID, param1: *mut Option, param2: P0) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs index 319961f8af..7774458580 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IEnumWIA_DEV_CAPS, IEnumWIA_DEV_CAPS_Vtbl, 0x1fcc4287_aca6_11d2_a093_00c04f72dc3c); +windows_core::imp::define_interface!(IEnumWIA_DEV_CAPS, IEnumWIA_DEV_CAPS_Vtbl, 0x1fcc4287_aca6_11d2_a093_00c04f72dc3c); windows_core::imp::interface_hierarchy!(IEnumWIA_DEV_CAPS, windows_core::IUnknown); impl IEnumWIA_DEV_CAPS { pub unsafe fn Next(&self, celt: u32, rgelt: *mut WIA_DEV_CAP, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -28,7 +28,7 @@ pub struct IEnumWIA_DEV_CAPS_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IEnumWIA_DEV_INFO, IEnumWIA_DEV_INFO_Vtbl, 0x5e38b83c_8cf1_11d1_bf92_0060081ed811); +windows_core::imp::define_interface!(IEnumWIA_DEV_INFO, IEnumWIA_DEV_INFO_Vtbl, 0x5e38b83c_8cf1_11d1_bf92_0060081ed811); windows_core::imp::interface_hierarchy!(IEnumWIA_DEV_INFO, windows_core::IUnknown); impl IEnumWIA_DEV_INFO { pub unsafe fn Next(&self, celt: u32, rgelt: *mut Option, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -58,7 +58,7 @@ pub struct IEnumWIA_DEV_INFO_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IEnumWIA_FORMAT_INFO, IEnumWIA_FORMAT_INFO_Vtbl, 0x81befc5b_656d_44f1_b24c_d41d51b4dc81); +windows_core::imp::define_interface!(IEnumWIA_FORMAT_INFO, IEnumWIA_FORMAT_INFO_Vtbl, 0x81befc5b_656d_44f1_b24c_d41d51b4dc81); windows_core::imp::interface_hierarchy!(IEnumWIA_FORMAT_INFO, windows_core::IUnknown); impl IEnumWIA_FORMAT_INFO { pub unsafe fn Next(&self, celt: u32, rgelt: *mut WIA_FORMAT_INFO, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -88,7 +88,7 @@ pub struct IEnumWIA_FORMAT_INFO_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IEnumWiaItem, IEnumWiaItem_Vtbl, 0x5e8383fc_3391_11d2_9a33_00c04fa36145); +windows_core::imp::define_interface!(IEnumWiaItem, IEnumWiaItem_Vtbl, 0x5e8383fc_3391_11d2_9a33_00c04fa36145); windows_core::imp::interface_hierarchy!(IEnumWiaItem, windows_core::IUnknown); impl IEnumWiaItem { pub unsafe fn Next(&self, celt: u32, ppiwiaitem: *mut Option, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -118,7 +118,7 @@ pub struct IEnumWiaItem_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IEnumWiaItem2, IEnumWiaItem2_Vtbl, 0x59970af4_cd0d_44d9_ab24_52295630e582); +windows_core::imp::define_interface!(IEnumWiaItem2, IEnumWiaItem2_Vtbl, 0x59970af4_cd0d_44d9_ab24_52295630e582); windows_core::imp::interface_hierarchy!(IEnumWiaItem2, windows_core::IUnknown); impl IEnumWiaItem2 { pub unsafe fn Next(&self, celt: u32, ppiwiaitem2: *mut Option, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -148,7 +148,7 @@ pub struct IEnumWiaItem2_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IWiaAppErrorHandler, IWiaAppErrorHandler_Vtbl, 0x6c16186c_d0a6_400c_80f4_d26986a0e734); +windows_core::imp::define_interface!(IWiaAppErrorHandler, IWiaAppErrorHandler_Vtbl, 0x6c16186c_d0a6_400c_80f4_d26986a0e734); windows_core::imp::interface_hierarchy!(IWiaAppErrorHandler, windows_core::IUnknown); impl IWiaAppErrorHandler { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -168,7 +168,7 @@ pub struct IWiaAppErrorHandler_Vtbl { pub GetWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, pub ReportStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, windows_core::HRESULT, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiaDataCallback, IWiaDataCallback_Vtbl, 0xa558a866_a5b0_11d2_a08f_00c04f72dc3c); +windows_core::imp::define_interface!(IWiaDataCallback, IWiaDataCallback_Vtbl, 0xa558a866_a5b0_11d2_a08f_00c04f72dc3c); windows_core::imp::interface_hierarchy!(IWiaDataCallback, windows_core::IUnknown); impl IWiaDataCallback { pub unsafe fn BandedDataCallback(&self, lmessage: i32, lstatus: i32, lpercentcomplete: i32, loffset: i32, llength: i32, lreserved: i32, lreslength: i32, pbbuffer: *mut u8) -> windows_core::Result<()> { @@ -180,7 +180,7 @@ pub struct IWiaDataCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub BandedDataCallback: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, i32, i32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiaDataTransfer, IWiaDataTransfer_Vtbl, 0xa6cef998_a5b0_11d2_a08f_00c04f72dc3c); +windows_core::imp::define_interface!(IWiaDataTransfer, IWiaDataTransfer_Vtbl, 0xa6cef998_a5b0_11d2_a08f_00c04f72dc3c); windows_core::imp::interface_hierarchy!(IWiaDataTransfer, windows_core::IUnknown); impl IWiaDataTransfer { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] @@ -219,7 +219,7 @@ pub struct IWiaDataTransfer_Vtbl { pub idtEnumWIA_FORMAT_INFO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub idtGetExtendedTransferInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WIA_EXTENDED_TRANSFER_INFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiaDevMgr, IWiaDevMgr_Vtbl, 0x5eb2502a_8cf1_11d1_bf92_0060081ed811); +windows_core::imp::define_interface!(IWiaDevMgr, IWiaDevMgr_Vtbl, 0x5eb2502a_8cf1_11d1_bf92_0060081ed811); windows_core::imp::interface_hierarchy!(IWiaDevMgr, windows_core::IUnknown); impl IWiaDevMgr { pub unsafe fn EnumDeviceInfo(&self, lflag: i32) -> windows_core::Result { @@ -300,7 +300,7 @@ pub struct IWiaDevMgr_Vtbl { 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 AddDeviceDlg: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiaDevMgr2, IWiaDevMgr2_Vtbl, 0x79c07cf1_cbdd_41ee_8ec3_f00080cada7a); +windows_core::imp::define_interface!(IWiaDevMgr2, IWiaDevMgr2_Vtbl, 0x79c07cf1_cbdd_41ee_8ec3_f00080cada7a); windows_core::imp::interface_hierarchy!(IWiaDevMgr2, windows_core::IUnknown); impl IWiaDevMgr2 { pub unsafe fn EnumDeviceInfo(&self, lflags: i32) -> windows_core::Result { @@ -376,7 +376,7 @@ pub struct IWiaDevMgr2_Vtbl { 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, } -windows_core::imp::com_interface!(IWiaDrvItem, IWiaDrvItem_Vtbl, 0x1f02b5c5_b00c_11d2_a094_00c04f72dc3c); +windows_core::imp::define_interface!(IWiaDrvItem, IWiaDrvItem_Vtbl, 0x1f02b5c5_b00c_11d2_a094_00c04f72dc3c); windows_core::imp::interface_hierarchy!(IWiaDrvItem, windows_core::IUnknown); impl IWiaDrvItem { pub unsafe fn GetItemFlags(&self) -> windows_core::Result { @@ -455,7 +455,7 @@ pub struct IWiaDrvItem_Vtbl { 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, } -windows_core::imp::com_interface!(IWiaErrorHandler, IWiaErrorHandler_Vtbl, 0x0e4a51b1_bc1f_443d_a835_72e890759ef3); +windows_core::imp::define_interface!(IWiaErrorHandler, IWiaErrorHandler_Vtbl, 0x0e4a51b1_bc1f_443d_a835_72e890759ef3); windows_core::imp::interface_hierarchy!(IWiaErrorHandler, windows_core::IUnknown); impl IWiaErrorHandler { pub unsafe fn ReportStatus(&self, lflags: i32, hwndparent: P0, pwiaitem2: P1, hrstatus: windows_core::HRESULT, lpercentcomplete: i32) -> windows_core::Result<()> @@ -479,7 +479,7 @@ pub struct IWiaErrorHandler_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, } -windows_core::imp::com_interface!(IWiaEventCallback, IWiaEventCallback_Vtbl, 0xae6287b0_0084_11d2_973b_00a0c9068f2e); +windows_core::imp::define_interface!(IWiaEventCallback, IWiaEventCallback_Vtbl, 0xae6287b0_0084_11d2_973b_00a0c9068f2e); windows_core::imp::interface_hierarchy!(IWiaEventCallback, windows_core::IUnknown); impl IWiaEventCallback { pub unsafe fn ImageEventCallback(&self, peventguid: *const windows_core::GUID, bstreventdescription: P0, bstrdeviceid: P1, bstrdevicedescription: P2, dwdevicetype: u32, bstrfullitemname: P3, puleventtype: *mut u32, ulreserved: u32) -> windows_core::Result<()> @@ -497,7 +497,7 @@ 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, } -windows_core::imp::com_interface!(IWiaImageFilter, IWiaImageFilter_Vtbl, 0xa8a79ffa_450b_41f1_8f87_849ccd94ebf6); +windows_core::imp::define_interface!(IWiaImageFilter, IWiaImageFilter_Vtbl, 0xa8a79ffa_450b_41f1_8f87_849ccd94ebf6); windows_core::imp::interface_hierarchy!(IWiaImageFilter, windows_core::IUnknown); impl IWiaImageFilter { pub unsafe fn InitializeFilter(&self, pwiaitem2: P0, pwiatransfercallback: P1) -> windows_core::Result<()> @@ -539,7 +539,7 @@ pub struct IWiaImageFilter_Vtbl { FilterPreviewImage: usize, pub ApplyProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiaItem, IWiaItem_Vtbl, 0x4db1ad10_3391_11d2_9a33_00c04fa36145); +windows_core::imp::define_interface!(IWiaItem, IWiaItem_Vtbl, 0x4db1ad10_3391_11d2_9a33_00c04fa36145); windows_core::imp::interface_hierarchy!(IWiaItem, windows_core::IUnknown); impl IWiaItem { pub unsafe fn GetItemType(&self) -> windows_core::Result { @@ -627,7 +627,7 @@ pub struct IWiaItem_Vtbl { pub DumpTreeItemData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IWiaItem2, IWiaItem2_Vtbl, 0x6cba0075_1287_407d_9b77_cf0e030435cc); +windows_core::imp::define_interface!(IWiaItem2, IWiaItem2_Vtbl, 0x6cba0075_1287_407d_9b77_cf0e030435cc); windows_core::imp::interface_hierarchy!(IWiaItem2, windows_core::IUnknown); impl IWiaItem2 { pub unsafe fn CreateChildItem(&self, litemflags: i32, lcreationflags: i32, bstritemname: P0) -> windows_core::Result @@ -726,7 +726,7 @@ pub struct IWiaItem2_Vtbl { 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 Diagnostic: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiaItemExtras, IWiaItemExtras_Vtbl, 0x6291ef2c_36ef_4532_876a_8e132593778d); +windows_core::imp::define_interface!(IWiaItemExtras, IWiaItemExtras_Vtbl, 0x6291ef2c_36ef_4532_876a_8e132593778d); windows_core::imp::interface_hierarchy!(IWiaItemExtras, windows_core::IUnknown); impl IWiaItemExtras { pub unsafe fn GetExtendedErrorInfo(&self) -> windows_core::Result { @@ -747,7 +747,7 @@ pub struct IWiaItemExtras_Vtbl { 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, } -windows_core::imp::com_interface!(IWiaLog, IWiaLog_Vtbl, 0xa00c10b6_82a1_452f_8b6c_86062aad6890); +windows_core::imp::define_interface!(IWiaLog, IWiaLog_Vtbl, 0xa00c10b6_82a1_452f_8b6c_86062aad6890); windows_core::imp::interface_hierarchy!(IWiaLog, windows_core::IUnknown); impl IWiaLog { pub unsafe fn InitializeLog(&self, hinstance: i32) -> windows_core::Result<()> { @@ -770,7 +770,7 @@ pub struct IWiaLog_Vtbl { 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, } -windows_core::imp::com_interface!(IWiaLogEx, IWiaLogEx_Vtbl, 0xaf1f22ac_7a40_4787_b421_aeb47a1fbd0b); +windows_core::imp::define_interface!(IWiaLogEx, IWiaLogEx_Vtbl, 0xaf1f22ac_7a40_4787_b421_aeb47a1fbd0b); windows_core::imp::interface_hierarchy!(IWiaLogEx, windows_core::IUnknown); impl IWiaLogEx { pub unsafe fn InitializeLogEx(&self, hinstance: *const u8) -> windows_core::Result<()> { @@ -804,7 +804,7 @@ pub struct IWiaLogEx_Vtbl { 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, } -windows_core::imp::com_interface!(IWiaMiniDrv, IWiaMiniDrv_Vtbl, 0xd8cdee14_3c6c_11d2_9a35_00c04fa36145); +windows_core::imp::define_interface!(IWiaMiniDrv, IWiaMiniDrv_Vtbl, 0xd8cdee14_3c6c_11d2_9a35_00c04fa36145); windows_core::imp::interface_hierarchy!(IWiaMiniDrv, windows_core::IUnknown); impl IWiaMiniDrv { pub unsafe fn drvInitializeWia(&self, __midl__iwiaminidrv0000: *const u8, __midl__iwiaminidrv0001: i32, __midl__iwiaminidrv0002: P0, __midl__iwiaminidrv0003: P1, __midl__iwiaminidrv0004: P2, __midl__iwiaminidrv0005: P3, __midl__iwiaminidrv0006: *mut Option, __midl__iwiaminidrv0007: *mut Option, __midl__iwiaminidrv0008: *mut i32) -> windows_core::Result<()> @@ -905,7 +905,7 @@ pub struct IWiaMiniDrv_Vtbl { pub drvNotifyPnpEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, std::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::com_interface!(IWiaMiniDrvCallBack, IWiaMiniDrvCallBack_Vtbl, 0x33a57d5a_3de8_11d2_9a36_00c04fa36145); +windows_core::imp::define_interface!(IWiaMiniDrvCallBack, IWiaMiniDrvCallBack_Vtbl, 0x33a57d5a_3de8_11d2_9a36_00c04fa36145); windows_core::imp::interface_hierarchy!(IWiaMiniDrvCallBack, windows_core::IUnknown); impl IWiaMiniDrvCallBack { pub unsafe fn MiniDrvCallback(&self, lreason: i32, lstatus: i32, lpercentcomplete: i32, loffset: i32, llength: i32, ptranctx: *const MINIDRV_TRANSFER_CONTEXT, lreserved: i32) -> windows_core::Result<()> { @@ -917,7 +917,7 @@ pub struct IWiaMiniDrvCallBack_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub MiniDrvCallback: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, *const MINIDRV_TRANSFER_CONTEXT, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiaMiniDrvTransferCallback, IWiaMiniDrvTransferCallback_Vtbl, 0xa9d2ee89_2ce5_4ff0_8adb_c961d1d774ca); +windows_core::imp::define_interface!(IWiaMiniDrvTransferCallback, IWiaMiniDrvTransferCallback_Vtbl, 0xa9d2ee89_2ce5_4ff0_8adb_c961d1d774ca); windows_core::imp::interface_hierarchy!(IWiaMiniDrvTransferCallback, windows_core::IUnknown); impl IWiaMiniDrvTransferCallback { #[cfg(feature = "Win32_System_Com")] @@ -942,7 +942,7 @@ pub struct IWiaMiniDrvTransferCallback_Vtbl { GetNextStream: usize, pub SendMessage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const WiaTransferParams) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiaNotifyDevMgr, IWiaNotifyDevMgr_Vtbl, 0x70681ea0_e7bf_4291_9fb1_4e8813a3f78e); +windows_core::imp::define_interface!(IWiaNotifyDevMgr, IWiaNotifyDevMgr_Vtbl, 0x70681ea0_e7bf_4291_9fb1_4e8813a3f78e); windows_core::imp::interface_hierarchy!(IWiaNotifyDevMgr, windows_core::IUnknown); impl IWiaNotifyDevMgr { pub unsafe fn NewDeviceArrival(&self) -> windows_core::Result<()> { @@ -954,7 +954,7 @@ pub struct IWiaNotifyDevMgr_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub NewDeviceArrival: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiaPreview, IWiaPreview_Vtbl, 0x95c2b4fd_33f2_4d86_ad40_9431f0df08f7); +windows_core::imp::define_interface!(IWiaPreview, IWiaPreview_Vtbl, 0x95c2b4fd_33f2_4d86_ad40_9431f0df08f7); windows_core::imp::interface_hierarchy!(IWiaPreview, windows_core::IUnknown); impl IWiaPreview { pub unsafe fn GetNewPreview(&self, lflags: i32, pwiaitem2: P0, pwiatransfercallback: P1) -> windows_core::Result<()> @@ -986,7 +986,7 @@ pub struct IWiaPreview_Vtbl { pub DetectRegions: 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, } -windows_core::imp::com_interface!(IWiaPropertyStorage, IWiaPropertyStorage_Vtbl, 0x98b5e8a0_29cc_491a_aac0_e6db4fdcceb6); +windows_core::imp::define_interface!(IWiaPropertyStorage, IWiaPropertyStorage_Vtbl, 0x98b5e8a0_29cc_491a_aac0_e6db4fdcceb6); windows_core::imp::interface_hierarchy!(IWiaPropertyStorage, windows_core::IUnknown); impl IWiaPropertyStorage { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1095,7 +1095,7 @@ pub struct IWiaPropertyStorage_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetPropertyStream: usize, } -windows_core::imp::com_interface!(IWiaSegmentationFilter, IWiaSegmentationFilter_Vtbl, 0xec46a697_ac04_4447_8f65_ff63d5154b21); +windows_core::imp::define_interface!(IWiaSegmentationFilter, IWiaSegmentationFilter_Vtbl, 0xec46a697_ac04_4447_8f65_ff63d5154b21); windows_core::imp::interface_hierarchy!(IWiaSegmentationFilter, windows_core::IUnknown); impl IWiaSegmentationFilter { #[cfg(feature = "Win32_System_Com")] @@ -1115,7 +1115,7 @@ pub struct IWiaSegmentationFilter_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] DetectRegions: usize, } -windows_core::imp::com_interface!(IWiaTransfer, IWiaTransfer_Vtbl, 0xc39d6942_2f4e_4d04_92fe_4ef4d3a1de5a); +windows_core::imp::define_interface!(IWiaTransfer, IWiaTransfer_Vtbl, 0xc39d6942_2f4e_4d04_92fe_4ef4d3a1de5a); windows_core::imp::interface_hierarchy!(IWiaTransfer, windows_core::IUnknown); impl IWiaTransfer { pub unsafe fn Download(&self, lflags: i32, piwiatransfercallback: P0) -> windows_core::Result<()> @@ -1151,7 +1151,7 @@ pub struct IWiaTransfer_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumWIA_FORMAT_INFO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWiaTransferCallback, IWiaTransferCallback_Vtbl, 0x27d4eaaf_28a6_4ca5_9aab_e678168b9527); +windows_core::imp::define_interface!(IWiaTransferCallback, IWiaTransferCallback_Vtbl, 0x27d4eaaf_28a6_4ca5_9aab_e678168b9527); windows_core::imp::interface_hierarchy!(IWiaTransferCallback, windows_core::IUnknown); impl IWiaTransferCallback { pub unsafe fn TransferCallback(&self, lflags: i32, pwiatransferparams: *const WiaTransferParams) -> windows_core::Result<()> { @@ -1176,7 +1176,7 @@ pub struct IWiaTransferCallback_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetNextStream: usize, } -windows_core::imp::com_interface!(IWiaUIExtension, IWiaUIExtension_Vtbl, 0xda319113_50ee_4c80_b460_57d005d44a2c); +windows_core::imp::define_interface!(IWiaUIExtension, IWiaUIExtension_Vtbl, 0xda319113_50ee_4c80_b460_57d005d44a2c); windows_core::imp::interface_hierarchy!(IWiaUIExtension, windows_core::IUnknown); impl IWiaUIExtension { pub unsafe fn DeviceDialog(&self, pdevicedialogdata: *const DEVICEDIALOGDATA) -> windows_core::Result<()> { @@ -1210,7 +1210,7 @@ pub struct IWiaUIExtension_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetDeviceBitmapLogo: usize, } -windows_core::imp::com_interface!(IWiaUIExtension2, IWiaUIExtension2_Vtbl, 0x305600d7_5088_46d7_9a15_b77b09cdba7a); +windows_core::imp::define_interface!(IWiaUIExtension2, IWiaUIExtension2_Vtbl, 0x305600d7_5088_46d7_9a15_b77b09cdba7a); windows_core::imp::interface_hierarchy!(IWiaUIExtension2, windows_core::IUnknown); impl IWiaUIExtension2 { pub unsafe fn DeviceDialog(&self, pdevicedialogdata: *const DEVICEDIALOGDATA2) -> windows_core::Result<()> { @@ -1233,7 +1233,7 @@ pub struct IWiaUIExtension2_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] GetDeviceIcon: usize, } -windows_core::imp::com_interface!(IWiaVideo, IWiaVideo_Vtbl, 0xd52920aa_db88_41f0_946c_e00dc0a19cfa); +windows_core::imp::define_interface!(IWiaVideo, IWiaVideo_Vtbl, 0xd52920aa_db88_41f0_946c_e00dc0a19cfa); windows_core::imp::interface_hierarchy!(IWiaVideo, windows_core::IUnknown); impl IWiaVideo { pub unsafe fn PreviewVisible(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs index 2c9f123221..57ae3caaaa 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/mod.rs @@ -7,7 +7,7 @@ where let mut result__ = std::mem::zeroed(); DMProcessConfigXMLFiltered(pszxmlin.into_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::com_interface!(IConnectionRequestCallback, IConnectionRequestCallback_Vtbl, 0x272c9ae0_7161_4ae0_91bd_9f448ee9c427); +windows_core::imp::define_interface!(IConnectionRequestCallback, IConnectionRequestCallback_Vtbl, 0x272c9ae0_7161_4ae0_91bd_9f448ee9c427); windows_core::imp::interface_hierarchy!(IConnectionRequestCallback, windows_core::IUnknown); impl IConnectionRequestCallback { pub unsafe fn OnComplete(&self, hrstatus: windows_core::HRESULT) -> windows_core::Result<()> { @@ -19,7 +19,7 @@ pub struct IConnectionRequestCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumPortableDeviceConnectors, IEnumPortableDeviceConnectors_Vtbl, 0xbfdef549_9247_454f_bd82_06fe80853faa); +windows_core::imp::define_interface!(IEnumPortableDeviceConnectors, IEnumPortableDeviceConnectors_Vtbl, 0xbfdef549_9247_454f_bd82_06fe80853faa); windows_core::imp::interface_hierarchy!(IEnumPortableDeviceConnectors, windows_core::IUnknown); impl IEnumPortableDeviceConnectors { pub unsafe fn Next(&self, pconnectors: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -44,7 +44,7 @@ pub struct IEnumPortableDeviceConnectors_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumPortableDeviceObjectIDs, IEnumPortableDeviceObjectIDs_Vtbl, 0x10ece955_cf41_4728_bfa0_41eedf1bbf19); +windows_core::imp::define_interface!(IEnumPortableDeviceObjectIDs, IEnumPortableDeviceObjectIDs_Vtbl, 0x10ece955_cf41_4728_bfa0_41eedf1bbf19); windows_core::imp::interface_hierarchy!(IEnumPortableDeviceObjectIDs, windows_core::IUnknown); impl IEnumPortableDeviceObjectIDs { pub unsafe fn Next(&self, pobjids: &mut [windows_core::PWSTR], pcfetched: *mut u32) -> windows_core::HRESULT { @@ -73,7 +73,7 @@ pub struct IEnumPortableDeviceObjectIDs_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaRadioManager, IMediaRadioManager_Vtbl, 0x6cfdcab5_fc47_42a5_9241_074b58830e73); +windows_core::imp::define_interface!(IMediaRadioManager, IMediaRadioManager_Vtbl, 0x6cfdcab5_fc47_42a5_9241_074b58830e73); windows_core::imp::interface_hierarchy!(IMediaRadioManager, windows_core::IUnknown); impl IMediaRadioManager { pub unsafe fn GetRadioInstances(&self) -> windows_core::Result { @@ -90,7 +90,7 @@ pub struct IMediaRadioManager_Vtbl { pub GetRadioInstances: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnSystemRadioStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, SYSTEM_RADIO_STATE, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaRadioManagerNotifySink, IMediaRadioManagerNotifySink_Vtbl, 0x89d81f5f_c147_49ed_a11c_77b20c31e7c9); +windows_core::imp::define_interface!(IMediaRadioManagerNotifySink, IMediaRadioManagerNotifySink_Vtbl, 0x89d81f5f_c147_49ed_a11c_77b20c31e7c9); windows_core::imp::interface_hierarchy!(IMediaRadioManagerNotifySink, windows_core::IUnknown); impl IMediaRadioManagerNotifySink { pub unsafe fn OnInstanceAdd(&self, pradioinstance: P0) -> windows_core::Result<()> @@ -119,7 +119,7 @@ pub struct IMediaRadioManagerNotifySink_Vtbl { 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, } -windows_core::imp::com_interface!(IPortableDevice, IPortableDevice_Vtbl, 0x625e2df8_6392_4cf0_9ad1_3cfa5f17775c); +windows_core::imp::define_interface!(IPortableDevice, IPortableDevice_Vtbl, 0x625e2df8_6392_4cf0_9ad1_3cfa5f17775c); windows_core::imp::interface_hierarchy!(IPortableDevice, windows_core::IUnknown); impl IPortableDevice { pub unsafe fn Open(&self, pszpnpdeviceid: P0, pclientinfo: P1) -> windows_core::Result<()> @@ -182,7 +182,7 @@ pub struct IPortableDevice_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetPnPDeviceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceCapabilities, IPortableDeviceCapabilities_Vtbl, 0x2c8c6dbf_e3dc_4061_becc_8542e810d126); +windows_core::imp::define_interface!(IPortableDeviceCapabilities, IPortableDeviceCapabilities_Vtbl, 0x2c8c6dbf_e3dc_4061_becc_8542e810d126); windows_core::imp::interface_hierarchy!(IPortableDeviceCapabilities, windows_core::IUnknown); impl IPortableDeviceCapabilities { pub unsafe fn GetSupportedCommands(&self) -> windows_core::Result { @@ -252,7 +252,7 @@ pub struct IPortableDeviceCapabilities_Vtbl { pub GetSupportedEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetEventOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceConnector, IPortableDeviceConnector_Vtbl, 0x625e2df8_6392_4cf0_9ad1_3cfa5f17775c); +windows_core::imp::define_interface!(IPortableDeviceConnector, IPortableDeviceConnector_Vtbl, 0x625e2df8_6392_4cf0_9ad1_3cfa5f17775c); windows_core::imp::interface_hierarchy!(IPortableDeviceConnector, windows_core::IUnknown); impl IPortableDeviceConnector { pub unsafe fn Connect(&self, pcallback: P0) -> windows_core::Result<()> @@ -302,7 +302,7 @@ pub struct IPortableDeviceConnector_Vtbl { SetProperty: usize, pub GetPnPID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceContent, IPortableDeviceContent_Vtbl, 0x6a96ed84_7c73_4480_9938_bf5af477d426); +windows_core::imp::define_interface!(IPortableDeviceContent, IPortableDeviceContent_Vtbl, 0x6a96ed84_7c73_4480_9938_bf5af477d426); windows_core::imp::interface_hierarchy!(IPortableDeviceContent, windows_core::IUnknown); impl IPortableDeviceContent { pub unsafe fn EnumObjects(&self, dwflags: u32, pszparentobjectid: P0, pfilter: P1) -> windows_core::Result @@ -382,7 +382,7 @@ pub struct IPortableDeviceContent_Vtbl { pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Copy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceContent2, IPortableDeviceContent2_Vtbl, 0x9b4add96_f6bf_4034_8708_eca72bf10554); +windows_core::imp::define_interface!(IPortableDeviceContent2, IPortableDeviceContent2_Vtbl, 0x9b4add96_f6bf_4034_8708_eca72bf10554); windows_core::imp::interface_hierarchy!(IPortableDeviceContent2, windows_core::IUnknown, IPortableDeviceContent); impl IPortableDeviceContent2 { pub unsafe fn EnumObjects(&self, dwflags: u32, pszparentobjectid: P0, pfilter: P1) -> windows_core::Result @@ -462,7 +462,7 @@ pub struct IPortableDeviceContent2_Vtbl { UpdateObjectWithPropertiesAndData: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPortableDeviceDataStream, IPortableDeviceDataStream_Vtbl, 0x88e04db3_1012_4d64_9996_f703a950d3f4); +windows_core::imp::define_interface!(IPortableDeviceDataStream, IPortableDeviceDataStream_Vtbl, 0x88e04db3_1012_4d64_9996_f703a950d3f4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPortableDeviceDataStream, windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] @@ -530,7 +530,7 @@ pub struct IPortableDeviceDataStream_Vtbl { pub GetObjectID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceDispatchFactory, IPortableDeviceDispatchFactory_Vtbl, 0x5e1eafc3_e3d7_4132_96fa_759c0f9d1e0f); +windows_core::imp::define_interface!(IPortableDeviceDispatchFactory, IPortableDeviceDispatchFactory_Vtbl, 0x5e1eafc3_e3d7_4132_96fa_759c0f9d1e0f); windows_core::imp::interface_hierarchy!(IPortableDeviceDispatchFactory, windows_core::IUnknown); impl IPortableDeviceDispatchFactory { #[cfg(feature = "Win32_System_Com")] @@ -550,7 +550,7 @@ pub struct IPortableDeviceDispatchFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetDeviceDispatch: usize, } -windows_core::imp::com_interface!(IPortableDeviceEventCallback, IPortableDeviceEventCallback_Vtbl, 0xa8792a31_f385_493c_a893_40f64eb45f6e); +windows_core::imp::define_interface!(IPortableDeviceEventCallback, IPortableDeviceEventCallback_Vtbl, 0xa8792a31_f385_493c_a893_40f64eb45f6e); windows_core::imp::interface_hierarchy!(IPortableDeviceEventCallback, windows_core::IUnknown); impl IPortableDeviceEventCallback { pub unsafe fn OnEvent(&self, peventparameters: P0) -> windows_core::Result<()> @@ -565,7 +565,7 @@ pub struct IPortableDeviceEventCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceKeyCollection, IPortableDeviceKeyCollection_Vtbl, 0xdada2357_e0ad_492e_98db_dd61c53ba353); +windows_core::imp::define_interface!(IPortableDeviceKeyCollection, IPortableDeviceKeyCollection_Vtbl, 0xdada2357_e0ad_492e_98db_dd61c53ba353); windows_core::imp::interface_hierarchy!(IPortableDeviceKeyCollection, windows_core::IUnknown); impl IPortableDeviceKeyCollection { pub unsafe fn GetCount(&self, pcelems: *const u32) -> windows_core::Result<()> { @@ -601,7 +601,7 @@ pub struct IPortableDeviceKeyCollection_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceManager, IPortableDeviceManager_Vtbl, 0xa1567595_4c2f_4574_a6fa_ecef917b9a40); +windows_core::imp::define_interface!(IPortableDeviceManager, IPortableDeviceManager_Vtbl, 0xa1567595_4c2f_4574_a6fa_ecef917b9a40); windows_core::imp::interface_hierarchy!(IPortableDeviceManager, windows_core::IUnknown); impl IPortableDeviceManager { pub unsafe fn GetDevices(&self, ppnpdeviceids: *mut windows_core::PWSTR, pcpnpdeviceids: *mut u32) -> windows_core::Result<()> { @@ -650,7 +650,7 @@ pub struct IPortableDeviceManager_Vtbl { pub GetDeviceProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut u8, *mut u32, *mut u32) -> windows_core::HRESULT, pub GetPrivateDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDevicePropVariantCollection, IPortableDevicePropVariantCollection_Vtbl, 0x89b2e422_4f1b_4316_bcef_a44afea83eb3); +windows_core::imp::define_interface!(IPortableDevicePropVariantCollection, IPortableDevicePropVariantCollection_Vtbl, 0x89b2e422_4f1b_4316_bcef_a44afea83eb3); windows_core::imp::interface_hierarchy!(IPortableDevicePropVariantCollection, windows_core::IUnknown); impl IPortableDevicePropVariantCollection { pub unsafe fn GetCount(&self, pcelems: *const u32) -> windows_core::Result<()> { @@ -687,7 +687,7 @@ pub struct IPortableDevicePropVariantCollection_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceProperties, IPortableDeviceProperties_Vtbl, 0x7f6d695c_03df_4439_a809_59266beee3a6); +windows_core::imp::define_interface!(IPortableDeviceProperties, IPortableDeviceProperties_Vtbl, 0x7f6d695c_03df_4439_a809_59266beee3a6); windows_core::imp::interface_hierarchy!(IPortableDeviceProperties, windows_core::IUnknown); impl IPortableDeviceProperties { pub unsafe fn GetSupportedProperties(&self, pszobjectid: P0) -> windows_core::Result @@ -745,7 +745,7 @@ pub struct IPortableDeviceProperties_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDevicePropertiesBulk, IPortableDevicePropertiesBulk_Vtbl, 0x482b05c0_4056_44ed_9e0f_5e23b009da93); +windows_core::imp::define_interface!(IPortableDevicePropertiesBulk, IPortableDevicePropertiesBulk_Vtbl, 0x482b05c0_4056_44ed_9e0f_5e23b009da93); windows_core::imp::interface_hierarchy!(IPortableDevicePropertiesBulk, windows_core::IUnknown); impl IPortableDevicePropertiesBulk { pub unsafe fn QueueGetValuesByObjectList(&self, pobjectids: P0, pkeys: P1, pcallback: P2) -> windows_core::Result @@ -790,7 +790,7 @@ pub struct IPortableDevicePropertiesBulk_Vtbl { pub Start: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDevicePropertiesBulkCallback, IPortableDevicePropertiesBulkCallback_Vtbl, 0x9deacb80_11e8_40e3_a9f3_f557986a7845); +windows_core::imp::define_interface!(IPortableDevicePropertiesBulkCallback, IPortableDevicePropertiesBulkCallback_Vtbl, 0x9deacb80_11e8_40e3_a9f3_f557986a7845); windows_core::imp::interface_hierarchy!(IPortableDevicePropertiesBulkCallback, windows_core::IUnknown); impl IPortableDevicePropertiesBulkCallback { pub unsafe fn OnStart(&self, pcontext: *const windows_core::GUID) -> windows_core::Result<()> { @@ -813,7 +813,7 @@ pub struct IPortableDevicePropertiesBulkCallback_Vtbl { pub OnProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceResources, IPortableDeviceResources_Vtbl, 0xfd8878ac_d841_4d17_891c_e6829cdb6934); +windows_core::imp::define_interface!(IPortableDeviceResources, IPortableDeviceResources_Vtbl, 0xfd8878ac_d841_4d17_891c_e6829cdb6934); windows_core::imp::interface_hierarchy!(IPortableDeviceResources, windows_core::IUnknown); impl IPortableDeviceResources { pub unsafe fn GetSupportedResources(&self, pszobjectid: P0) -> windows_core::Result @@ -875,7 +875,7 @@ pub struct IPortableDeviceResources_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateResource: usize, } -windows_core::imp::com_interface!(IPortableDeviceService, IPortableDeviceService_Vtbl, 0xd3bd3a44_d7b5_40a9_98b7_2fa4d01dec08); +windows_core::imp::define_interface!(IPortableDeviceService, IPortableDeviceService_Vtbl, 0xd3bd3a44_d7b5_40a9_98b7_2fa4d01dec08); windows_core::imp::interface_hierarchy!(IPortableDeviceService, windows_core::IUnknown); impl IPortableDeviceService { pub unsafe fn Open(&self, pszpnpserviceid: P0, pclientinfo: P1) -> windows_core::Result<()> @@ -948,7 +948,7 @@ pub struct IPortableDeviceService_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SendCommand: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceServiceActivation, IPortableDeviceServiceActivation_Vtbl, 0xe56b0534_d9b9_425c_9b99_75f97cb3d7c8); +windows_core::imp::define_interface!(IPortableDeviceServiceActivation, IPortableDeviceServiceActivation_Vtbl, 0xe56b0534_d9b9_425c_9b99_75f97cb3d7c8); windows_core::imp::interface_hierarchy!(IPortableDeviceServiceActivation, windows_core::IUnknown); impl IPortableDeviceServiceActivation { pub unsafe fn OpenAsync(&self, pszpnpserviceid: P0, pclientinfo: P1, pcallback: P2) -> windows_core::Result<()> @@ -969,7 +969,7 @@ pub struct IPortableDeviceServiceActivation_Vtbl { pub OpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CancelOpenAsync: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceServiceCapabilities, IPortableDeviceServiceCapabilities_Vtbl, 0x24dbd89d_413e_43e0_bd5b_197f3c56c886); +windows_core::imp::define_interface!(IPortableDeviceServiceCapabilities, IPortableDeviceServiceCapabilities_Vtbl, 0x24dbd89d_413e_43e0_bd5b_197f3c56c886); windows_core::imp::interface_hierarchy!(IPortableDeviceServiceCapabilities, windows_core::IUnknown); impl IPortableDeviceServiceCapabilities { pub unsafe fn GetSupportedMethods(&self) -> windows_core::Result { @@ -1072,7 +1072,7 @@ pub struct IPortableDeviceServiceCapabilities_Vtbl { GetCommandOptions: usize, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceServiceManager, IPortableDeviceServiceManager_Vtbl, 0xa8abc4e9_a84a_47a9_80b3_c5d9b172a961); +windows_core::imp::define_interface!(IPortableDeviceServiceManager, IPortableDeviceServiceManager_Vtbl, 0xa8abc4e9_a84a_47a9_80b3_c5d9b172a961); windows_core::imp::interface_hierarchy!(IPortableDeviceServiceManager, windows_core::IUnknown); impl IPortableDeviceServiceManager { pub unsafe fn GetDeviceServices(&self, pszpnpdeviceid: P0, guidservicecategory: *const windows_core::GUID, pservices: *mut windows_core::PWSTR, pcservices: *mut u32) -> windows_core::Result<()> @@ -1095,7 +1095,7 @@ pub struct IPortableDeviceServiceManager_Vtbl { pub GetDeviceServices: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, pub GetDeviceForService: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceServiceMethodCallback, IPortableDeviceServiceMethodCallback_Vtbl, 0xc424233c_afce_4828_a756_7ed7a2350083); +windows_core::imp::define_interface!(IPortableDeviceServiceMethodCallback, IPortableDeviceServiceMethodCallback_Vtbl, 0xc424233c_afce_4828_a756_7ed7a2350083); windows_core::imp::interface_hierarchy!(IPortableDeviceServiceMethodCallback, windows_core::IUnknown); impl IPortableDeviceServiceMethodCallback { pub unsafe fn OnComplete(&self, hrstatus: windows_core::HRESULT, presults: P0) -> windows_core::Result<()> @@ -1110,7 +1110,7 @@ pub struct IPortableDeviceServiceMethodCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceServiceMethods, IPortableDeviceServiceMethods_Vtbl, 0xe20333c9_fd34_412d_a381_cc6f2d820df7); +windows_core::imp::define_interface!(IPortableDeviceServiceMethods, IPortableDeviceServiceMethods_Vtbl, 0xe20333c9_fd34_412d_a381_cc6f2d820df7); windows_core::imp::interface_hierarchy!(IPortableDeviceServiceMethods, windows_core::IUnknown); impl IPortableDeviceServiceMethods { pub unsafe fn Invoke(&self, method: *const windows_core::GUID, pparameters: P0, ppresults: *mut Option) -> windows_core::Result<()> @@ -1140,7 +1140,7 @@ pub struct IPortableDeviceServiceMethods_Vtbl { pub InvokeAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceServiceOpenCallback, IPortableDeviceServiceOpenCallback_Vtbl, 0xbced49c8_8efe_41ed_960b_61313abd47a9); +windows_core::imp::define_interface!(IPortableDeviceServiceOpenCallback, IPortableDeviceServiceOpenCallback_Vtbl, 0xbced49c8_8efe_41ed_960b_61313abd47a9); windows_core::imp::interface_hierarchy!(IPortableDeviceServiceOpenCallback, windows_core::IUnknown); impl IPortableDeviceServiceOpenCallback { pub unsafe fn OnComplete(&self, hrstatus: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1152,7 +1152,7 @@ pub struct IPortableDeviceServiceOpenCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceUnitsStream, IPortableDeviceUnitsStream_Vtbl, 0x5e98025f_bfc4_47a2_9a5f_bc900a507c67); +windows_core::imp::define_interface!(IPortableDeviceUnitsStream, IPortableDeviceUnitsStream_Vtbl, 0x5e98025f_bfc4_47a2_9a5f_bc900a507c67); windows_core::imp::interface_hierarchy!(IPortableDeviceUnitsStream, windows_core::IUnknown); impl IPortableDeviceUnitsStream { pub unsafe fn SeekInUnits(&self, dlibmove: i64, units: WPD_STREAM_UNITS, dworigin: u32, plibnewposition: Option<*mut u64>) -> windows_core::Result<()> { @@ -1168,7 +1168,7 @@ pub struct IPortableDeviceUnitsStream_Vtbl { pub SeekInUnits: unsafe extern "system" fn(*mut core::ffi::c_void, i64, WPD_STREAM_UNITS, u32, *mut u64) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceValues, IPortableDeviceValues_Vtbl, 0x6848f6f2_3155_4f86_b6f5_263eeeab3143); +windows_core::imp::define_interface!(IPortableDeviceValues, IPortableDeviceValues_Vtbl, 0x6848f6f2_3155_4f86_b6f5_263eeeab3143); windows_core::imp::interface_hierarchy!(IPortableDeviceValues, windows_core::IUnknown); impl IPortableDeviceValues { pub unsafe fn GetCount(&self, pcelt: *const u32) -> windows_core::Result<()> { @@ -1530,7 +1530,7 @@ pub struct IPortableDeviceValues_Vtbl { CopyValuesToPropertyStore: usize, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPortableDeviceValuesCollection, IPortableDeviceValuesCollection_Vtbl, 0x6e3f2d79_4e07_48c4_8208_d8c2e5af4a99); +windows_core::imp::define_interface!(IPortableDeviceValuesCollection, IPortableDeviceValuesCollection_Vtbl, 0x6e3f2d79_4e07_48c4_8208_d8c2e5af4a99); windows_core::imp::interface_hierarchy!(IPortableDeviceValuesCollection, windows_core::IUnknown); impl IPortableDeviceValuesCollection { pub unsafe fn GetCount(&self, pcelems: *const u32) -> windows_core::Result<()> { @@ -1563,7 +1563,7 @@ pub struct IPortableDeviceValuesCollection_Vtbl { pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPortableDeviceWebControl, IPortableDeviceWebControl_Vtbl, 0x94fc7953_5ca1_483a_8aee_df52e7747d00); +windows_core::imp::define_interface!(IPortableDeviceWebControl, IPortableDeviceWebControl_Vtbl, 0x94fc7953_5ca1_483a_8aee_df52e7747d00); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPortableDeviceWebControl, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1599,7 +1599,7 @@ pub struct IPortableDeviceWebControl_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetDeviceFromIdAsync: usize, } -windows_core::imp::com_interface!(IRadioInstance, IRadioInstance_Vtbl, 0x70aa1c9e_f2b4_4c61_86d3_6b9fb75fd1a2); +windows_core::imp::define_interface!(IRadioInstance, IRadioInstance_Vtbl, 0x70aa1c9e_f2b4_4c61_86d3_6b9fb75fd1a2); windows_core::imp::interface_hierarchy!(IRadioInstance, windows_core::IUnknown); impl IRadioInstance { pub unsafe fn GetRadioManagerSignature(&self) -> windows_core::Result { @@ -1639,7 +1639,7 @@ pub struct IRadioInstance_Vtbl { pub IsMultiComm: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, pub IsAssociatingDevice: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IRadioInstanceCollection, IRadioInstanceCollection_Vtbl, 0xe5791fae_5665_4e0c_95be_5fde31644185); +windows_core::imp::define_interface!(IRadioInstanceCollection, IRadioInstanceCollection_Vtbl, 0xe5791fae_5665_4e0c_95be_5fde31644185); windows_core::imp::interface_hierarchy!(IRadioInstanceCollection, windows_core::IUnknown); impl IRadioInstanceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -1657,7 +1657,7 @@ pub struct IRadioInstanceCollection_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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWpdSerializer, IWpdSerializer_Vtbl, 0xb32f4002_bb27_45ff_af4f_06631c1e8dad); +windows_core::imp::define_interface!(IWpdSerializer, IWpdSerializer_Vtbl, 0xb32f4002_bb27_45ff_af4f_06631c1e8dad); windows_core::imp::interface_hierarchy!(IWpdSerializer, windows_core::IUnknown); impl IWpdSerializer { pub unsafe fn GetIPortableDeviceValuesFromBuffer(&self, pbuffer: &[u8]) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs index 3724300c52..e6525c8ac8 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/mod.rs @@ -238,7 +238,7 @@ pub unsafe fn SerializationBufferFree(buffer: Option<*const u8>) { windows_targets::link!("sensorsutilsv2.dll" "system" fn SerializationBufferFree(buffer : *const u8)); SerializationBufferFree(core::mem::transmute(buffer.unwrap_or(std::ptr::null()))) } -windows_core::imp::com_interface!(ILocationPermissions, ILocationPermissions_Vtbl, 0xd5fb0a7f_e74e_44f5_8e02_4806863a274f); +windows_core::imp::define_interface!(ILocationPermissions, ILocationPermissions_Vtbl, 0xd5fb0a7f_e74e_44f5_8e02_4806863a274f); windows_core::imp::interface_hierarchy!(ILocationPermissions, windows_core::IUnknown); impl ILocationPermissions { pub unsafe fn GetGlobalLocationPermission(&self) -> windows_core::Result { @@ -255,7 +255,7 @@ pub struct ILocationPermissions_Vtbl { pub GetGlobalLocationPermission: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CheckLocationCapability: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISensor, ISensor_Vtbl, 0x5fa08f80_2657_458e_af75_46f73fa6ac5c); +windows_core::imp::define_interface!(ISensor, ISensor_Vtbl, 0x5fa08f80_2657_458e_af75_46f73fa6ac5c); windows_core::imp::interface_hierarchy!(ISensor, windows_core::IUnknown); impl ISensor { pub unsafe fn GetID(&self) -> windows_core::Result { @@ -364,7 +364,7 @@ pub struct ISensor_Vtbl { pub SetEventInterest: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, pub SetEventSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISensorCollection, ISensorCollection_Vtbl, 0x23571e11_e545_4dd8_a337_b89bf44b10df); +windows_core::imp::define_interface!(ISensorCollection, ISensorCollection_Vtbl, 0x23571e11_e545_4dd8_a337_b89bf44b10df); windows_core::imp::interface_hierarchy!(ISensorCollection, windows_core::IUnknown); impl ISensorCollection { pub unsafe fn GetAt(&self, ulindex: u32) -> windows_core::Result { @@ -404,7 +404,7 @@ pub struct ISensorCollection_Vtbl { pub RemoveByID: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISensorDataReport, ISensorDataReport_Vtbl, 0x0ab9df9b_c4b5_4796_8898_0470706a2e1d); +windows_core::imp::define_interface!(ISensorDataReport, ISensorDataReport_Vtbl, 0x0ab9df9b_c4b5_4796_8898_0470706a2e1d); windows_core::imp::interface_hierarchy!(ISensorDataReport, windows_core::IUnknown); impl ISensorDataReport { pub unsafe fn GetTimestamp(&self) -> windows_core::Result { @@ -438,7 +438,7 @@ pub struct ISensorDataReport_Vtbl { #[cfg(not(feature = "Win32_Devices_PortableDevices"))] GetSensorValues: usize, } -windows_core::imp::com_interface!(ISensorEvents, ISensorEvents_Vtbl, 0x5d8dcc91_4641_47e7_b7c3_b74f48a6c391); +windows_core::imp::define_interface!(ISensorEvents, ISensorEvents_Vtbl, 0x5d8dcc91_4641_47e7_b7c3_b74f48a6c391); windows_core::imp::interface_hierarchy!(ISensorEvents, windows_core::IUnknown); impl ISensorEvents { pub unsafe fn OnStateChanged(&self, psensor: P0, state: SensorState) -> windows_core::Result<()> @@ -477,7 +477,7 @@ pub struct ISensorEvents_Vtbl { OnEvent: usize, pub OnLeave: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISensorManager, ISensorManager_Vtbl, 0xbd77db67_45a8_42dc_8d00_6dcf15f8377a); +windows_core::imp::define_interface!(ISensorManager, ISensorManager_Vtbl, 0xbd77db67_45a8_42dc_8d00_6dcf15f8377a); windows_core::imp::interface_hierarchy!(ISensorManager, windows_core::IUnknown); impl ISensorManager { pub unsafe fn GetSensorsByCategory(&self, sensorcategory: *const windows_core::GUID) -> windows_core::Result { @@ -516,7 +516,7 @@ pub struct ISensorManager_Vtbl { pub SetEventSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestPermissions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISensorManagerEvents, ISensorManagerEvents_Vtbl, 0x9b3b0b86_266a_4aad_b21f_fde5501001b7); +windows_core::imp::define_interface!(ISensorManagerEvents, ISensorManagerEvents_Vtbl, 0x9b3b0b86_266a_4aad_b21f_fde5501001b7); windows_core::imp::interface_hierarchy!(ISensorManagerEvents, windows_core::IUnknown); impl ISensorManagerEvents { pub unsafe fn OnSensorEnter(&self, psensor: P0, state: SensorState) -> windows_core::Result<()> 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 45bd25c9df..2b32baad82 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/mod.rs @@ -1648,7 +1648,7 @@ where windows_targets::link!("tapi32.dll" "system" fn tapiRequestMediaCallW(hwnd : super::super::Foundation:: HWND, wrequestid : super::super::Foundation:: WPARAM, lpszdeviceclass : windows_core::PCWSTR, lpdeviceid : windows_core::PCWSTR, dwsize : u32, dwsecure : u32, lpszdestaddress : windows_core::PCWSTR, lpszappname : windows_core::PCWSTR, lpszcalledparty : windows_core::PCWSTR, lpszcomment : windows_core::PCWSTR) -> i32); tapiRequestMediaCallW(hwnd.into_param().abi(), wrequestid.into_param().abi(), lpszdeviceclass.into_param().abi(), lpdeviceid.into_param().abi(), dwsize, dwsecure, lpszdestaddress.into_param().abi(), lpszappname.into_param().abi(), lpszcalledparty.into_param().abi(), lpszcomment.into_param().abi()) } -windows_core::imp::com_interface!(IEnumACDGroup, IEnumACDGroup_Vtbl, 0x5afc3157_4bcc_11d1_bf80_00805fc147d3); +windows_core::imp::define_interface!(IEnumACDGroup, IEnumACDGroup_Vtbl, 0x5afc3157_4bcc_11d1_bf80_00805fc147d3); windows_core::imp::interface_hierarchy!(IEnumACDGroup, windows_core::IUnknown); impl IEnumACDGroup { #[cfg(feature = "Win32_System_Com")] @@ -1677,7 +1677,7 @@ pub struct IEnumACDGroup_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumAddress, IEnumAddress_Vtbl, 0x1666fca1_9363_11d0_835c_00aa003ccabd); +windows_core::imp::define_interface!(IEnumAddress, IEnumAddress_Vtbl, 0x1666fca1_9363_11d0_835c_00aa003ccabd); windows_core::imp::interface_hierarchy!(IEnumAddress, windows_core::IUnknown); impl IEnumAddress { #[cfg(feature = "Win32_System_Com")] @@ -1706,7 +1706,7 @@ pub struct IEnumAddress_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumAgent, IEnumAgent_Vtbl, 0x5afc314d_4bcc_11d1_bf80_00805fc147d3); +windows_core::imp::define_interface!(IEnumAgent, IEnumAgent_Vtbl, 0x5afc314d_4bcc_11d1_bf80_00805fc147d3); windows_core::imp::interface_hierarchy!(IEnumAgent, windows_core::IUnknown); impl IEnumAgent { #[cfg(feature = "Win32_System_Com")] @@ -1735,7 +1735,7 @@ pub struct IEnumAgent_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumAgentHandler, IEnumAgentHandler_Vtbl, 0x587e8c28_9802_11d1_a0a4_00805fc147d3); +windows_core::imp::define_interface!(IEnumAgentHandler, IEnumAgentHandler_Vtbl, 0x587e8c28_9802_11d1_a0a4_00805fc147d3); windows_core::imp::interface_hierarchy!(IEnumAgentHandler, windows_core::IUnknown); impl IEnumAgentHandler { #[cfg(feature = "Win32_System_Com")] @@ -1764,7 +1764,7 @@ pub struct IEnumAgentHandler_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumAgentSession, IEnumAgentSession_Vtbl, 0x5afc314e_4bcc_11d1_bf80_00805fc147d3); +windows_core::imp::define_interface!(IEnumAgentSession, IEnumAgentSession_Vtbl, 0x5afc314e_4bcc_11d1_bf80_00805fc147d3); windows_core::imp::interface_hierarchy!(IEnumAgentSession, windows_core::IUnknown); impl IEnumAgentSession { #[cfg(feature = "Win32_System_Com")] @@ -1793,7 +1793,7 @@ pub struct IEnumAgentSession_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumBstr, IEnumBstr_Vtbl, 0x35372049_0bc6_11d2_a033_00c04fb6809f); +windows_core::imp::define_interface!(IEnumBstr, IEnumBstr_Vtbl, 0x35372049_0bc6_11d2_a033_00c04fb6809f); windows_core::imp::interface_hierarchy!(IEnumBstr, windows_core::IUnknown); impl IEnumBstr { pub unsafe fn Next(&self, ppstrings: &mut [windows_core::BSTR], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1818,7 +1818,7 @@ pub struct IEnumBstr_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumCall, IEnumCall_Vtbl, 0xae269cf6_935e_11d0_835c_00aa003ccabd); +windows_core::imp::define_interface!(IEnumCall, IEnumCall_Vtbl, 0xae269cf6_935e_11d0_835c_00aa003ccabd); windows_core::imp::interface_hierarchy!(IEnumCall, windows_core::IUnknown); impl IEnumCall { #[cfg(feature = "Win32_System_Com")] @@ -1847,7 +1847,7 @@ pub struct IEnumCall_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumCallHub, IEnumCallHub_Vtbl, 0xa3c15450_5b92_11d1_8f4e_00c04fb6809f); +windows_core::imp::define_interface!(IEnumCallHub, IEnumCallHub_Vtbl, 0xa3c15450_5b92_11d1_8f4e_00c04fb6809f); windows_core::imp::interface_hierarchy!(IEnumCallHub, windows_core::IUnknown); impl IEnumCallHub { #[cfg(feature = "Win32_System_Com")] @@ -1876,7 +1876,7 @@ pub struct IEnumCallHub_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumCallingCard, IEnumCallingCard_Vtbl, 0x0c4d8f02_8ddb_11d1_a09e_00805fc147d3); +windows_core::imp::define_interface!(IEnumCallingCard, IEnumCallingCard_Vtbl, 0x0c4d8f02_8ddb_11d1_a09e_00805fc147d3); windows_core::imp::interface_hierarchy!(IEnumCallingCard, windows_core::IUnknown); impl IEnumCallingCard { #[cfg(feature = "Win32_System_Com")] @@ -1905,7 +1905,7 @@ pub struct IEnumCallingCard_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumDialableAddrs, IEnumDialableAddrs_Vtbl, 0x34621d70_6cff_11d1_aff7_00c04fc31fee); +windows_core::imp::define_interface!(IEnumDialableAddrs, IEnumDialableAddrs_Vtbl, 0x34621d70_6cff_11d1_aff7_00c04fc31fee); windows_core::imp::interface_hierarchy!(IEnumDialableAddrs, windows_core::IUnknown); impl IEnumDialableAddrs { pub unsafe fn Next(&self, ppelements: &mut [windows_core::BSTR], pcfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1930,7 +1930,7 @@ pub struct IEnumDialableAddrs_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumDirectory, IEnumDirectory_Vtbl, 0x34621d6d_6cff_11d1_aff7_00c04fc31fee); +windows_core::imp::define_interface!(IEnumDirectory, IEnumDirectory_Vtbl, 0x34621d6d_6cff_11d1_aff7_00c04fc31fee); windows_core::imp::interface_hierarchy!(IEnumDirectory, windows_core::IUnknown); impl IEnumDirectory { #[cfg(feature = "Win32_System_Com")] @@ -1959,7 +1959,7 @@ pub struct IEnumDirectory_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumDirectoryObject, IEnumDirectoryObject_Vtbl, 0x06c9b64a_306d_11d1_9774_00c04fd91ac0); +windows_core::imp::define_interface!(IEnumDirectoryObject, IEnumDirectoryObject_Vtbl, 0x06c9b64a_306d_11d1_9774_00c04fd91ac0); windows_core::imp::interface_hierarchy!(IEnumDirectoryObject, windows_core::IUnknown); impl IEnumDirectoryObject { #[cfg(feature = "Win32_System_Com")] @@ -1988,7 +1988,7 @@ pub struct IEnumDirectoryObject_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumLocation, IEnumLocation_Vtbl, 0x0c4d8f01_8ddb_11d1_a09e_00805fc147d3); +windows_core::imp::define_interface!(IEnumLocation, IEnumLocation_Vtbl, 0x0c4d8f01_8ddb_11d1_a09e_00805fc147d3); windows_core::imp::interface_hierarchy!(IEnumLocation, windows_core::IUnknown); impl IEnumLocation { #[cfg(feature = "Win32_System_Com")] @@ -2017,7 +2017,7 @@ pub struct IEnumLocation_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumMcastScope, IEnumMcastScope_Vtbl, 0xdf0daf09_a289_11d1_8697_006008b0e5d2); +windows_core::imp::define_interface!(IEnumMcastScope, IEnumMcastScope_Vtbl, 0xdf0daf09_a289_11d1_8697_006008b0e5d2); windows_core::imp::interface_hierarchy!(IEnumMcastScope, windows_core::IUnknown); impl IEnumMcastScope { #[cfg(feature = "Win32_System_Com")] @@ -2046,7 +2046,7 @@ pub struct IEnumMcastScope_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumPhone, IEnumPhone_Vtbl, 0xf15b7669_4780_4595_8c89_fb369c8cf7aa); +windows_core::imp::define_interface!(IEnumPhone, IEnumPhone_Vtbl, 0xf15b7669_4780_4595_8c89_fb369c8cf7aa); windows_core::imp::interface_hierarchy!(IEnumPhone, windows_core::IUnknown); impl IEnumPhone { #[cfg(feature = "Win32_System_Com")] @@ -2075,7 +2075,7 @@ pub struct IEnumPhone_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumPluggableSuperclassInfo, IEnumPluggableSuperclassInfo_Vtbl, 0xe9586a80_89e6_4cff_931d_478d5751f4c0); +windows_core::imp::define_interface!(IEnumPluggableSuperclassInfo, IEnumPluggableSuperclassInfo_Vtbl, 0xe9586a80_89e6_4cff_931d_478d5751f4c0); windows_core::imp::interface_hierarchy!(IEnumPluggableSuperclassInfo, windows_core::IUnknown); impl IEnumPluggableSuperclassInfo { #[cfg(feature = "Win32_System_Com")] @@ -2104,7 +2104,7 @@ pub struct IEnumPluggableSuperclassInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumPluggableTerminalClassInfo, IEnumPluggableTerminalClassInfo_Vtbl, 0x4567450c_dbee_4e3f_aaf5_37bf9ebf5e29); +windows_core::imp::define_interface!(IEnumPluggableTerminalClassInfo, IEnumPluggableTerminalClassInfo_Vtbl, 0x4567450c_dbee_4e3f_aaf5_37bf9ebf5e29); windows_core::imp::interface_hierarchy!(IEnumPluggableTerminalClassInfo, windows_core::IUnknown); impl IEnumPluggableTerminalClassInfo { #[cfg(feature = "Win32_System_Com")] @@ -2133,7 +2133,7 @@ pub struct IEnumPluggableTerminalClassInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumQueue, IEnumQueue_Vtbl, 0x5afc3158_4bcc_11d1_bf80_00805fc147d3); +windows_core::imp::define_interface!(IEnumQueue, IEnumQueue_Vtbl, 0x5afc3158_4bcc_11d1_bf80_00805fc147d3); windows_core::imp::interface_hierarchy!(IEnumQueue, windows_core::IUnknown); impl IEnumQueue { #[cfg(feature = "Win32_System_Com")] @@ -2162,7 +2162,7 @@ pub struct IEnumQueue_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumStream, IEnumStream_Vtbl, 0xee3bd606_3868_11d2_a045_00c04fb6809f); +windows_core::imp::define_interface!(IEnumStream, IEnumStream_Vtbl, 0xee3bd606_3868_11d2_a045_00c04fb6809f); windows_core::imp::interface_hierarchy!(IEnumStream, windows_core::IUnknown); impl IEnumStream { #[cfg(feature = "Win32_System_Com")] @@ -2191,7 +2191,7 @@ pub struct IEnumStream_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSubStream, IEnumSubStream_Vtbl, 0xee3bd609_3868_11d2_a045_00c04fb6809f); +windows_core::imp::define_interface!(IEnumSubStream, IEnumSubStream_Vtbl, 0xee3bd609_3868_11d2_a045_00c04fb6809f); windows_core::imp::interface_hierarchy!(IEnumSubStream, windows_core::IUnknown); impl IEnumSubStream { #[cfg(feature = "Win32_System_Com")] @@ -2220,7 +2220,7 @@ pub struct IEnumSubStream_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTerminal, IEnumTerminal_Vtbl, 0xae269cf4_935e_11d0_835c_00aa003ccabd); +windows_core::imp::define_interface!(IEnumTerminal, IEnumTerminal_Vtbl, 0xae269cf4_935e_11d0_835c_00aa003ccabd); windows_core::imp::interface_hierarchy!(IEnumTerminal, windows_core::IUnknown); impl IEnumTerminal { #[cfg(feature = "Win32_System_Com")] @@ -2249,7 +2249,7 @@ pub struct IEnumTerminal_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTerminalClass, IEnumTerminalClass_Vtbl, 0xae269cf5_935e_11d0_835c_00aa003ccabd); +windows_core::imp::define_interface!(IEnumTerminalClass, IEnumTerminalClass_Vtbl, 0xae269cf5_935e_11d0_835c_00aa003ccabd); windows_core::imp::interface_hierarchy!(IEnumTerminalClass, windows_core::IUnknown); impl IEnumTerminalClass { pub unsafe fn Next(&self, pelements: &mut [windows_core::GUID], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -2275,7 +2275,7 @@ pub struct IEnumTerminalClass_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMcastAddressAllocation, IMcastAddressAllocation_Vtbl, 0xdf0daef1_a289_11d1_8697_006008b0e5d2); +windows_core::imp::define_interface!(IMcastAddressAllocation, IMcastAddressAllocation_Vtbl, 0xdf0daef1_a289_11d1_8697_006008b0e5d2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMcastAddressAllocation, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2359,7 +2359,7 @@ pub struct IMcastAddressAllocation_Vtbl { CreateLeaseInfoFromVariant: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMcastLeaseInfo, IMcastLeaseInfo_Vtbl, 0xdf0daefd_a289_11d1_8697_006008b0e5d2); +windows_core::imp::define_interface!(IMcastLeaseInfo, IMcastLeaseInfo_Vtbl, 0xdf0daefd_a289_11d1_8697_006008b0e5d2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMcastLeaseInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2419,7 +2419,7 @@ pub struct IMcastLeaseInfo_Vtbl { 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")] -windows_core::imp::com_interface!(IMcastScope, IMcastScope_Vtbl, 0xdf0daef4_a289_11d1_8697_006008b0e5d2); +windows_core::imp::define_interface!(IMcastScope, IMcastScope_Vtbl, 0xdf0daef4_a289_11d1_8697_006008b0e5d2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMcastScope, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2456,7 +2456,7 @@ pub struct IMcastScope_Vtbl { pub TTL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITACDGroup, ITACDGroup_Vtbl, 0x5afc3148_4bcc_11d1_bf80_00805fc147d3); +windows_core::imp::define_interface!(ITACDGroup, ITACDGroup_Vtbl, 0x5afc3148_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITACDGroup, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2483,7 +2483,7 @@ pub struct ITACDGroup_Vtbl { pub Queues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITACDGroupEvent, ITACDGroupEvent_Vtbl, 0x297f3032_bd11_11d1_a0a7_00805fc147d3); +windows_core::imp::define_interface!(ITACDGroupEvent, ITACDGroupEvent_Vtbl, 0x297f3032_bd11_11d1_a0a7_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITACDGroupEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2508,7 +2508,7 @@ pub struct ITACDGroupEvent_Vtbl { Group: usize, pub Event: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ACDGROUP_EVENT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITAMMediaFormat, ITAMMediaFormat_Vtbl, 0x0364eb00_4a77_11d1_a671_006097c9a2e8); +windows_core::imp::define_interface!(ITAMMediaFormat, ITAMMediaFormat_Vtbl, 0x0364eb00_4a77_11d1_a671_006097c9a2e8); windows_core::imp::interface_hierarchy!(ITAMMediaFormat, windows_core::IUnknown); impl ITAMMediaFormat { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -2534,7 +2534,7 @@ pub struct ITAMMediaFormat_Vtbl { SetMediaFormat: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITASRTerminalEvent, ITASRTerminalEvent_Vtbl, 0xee016a02_4fa9_467c_933f_5a15b12377d7); +windows_core::imp::define_interface!(ITASRTerminalEvent, ITASRTerminalEvent_Vtbl, 0xee016a02_4fa9_467c_933f_5a15b12377d7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITASRTerminalEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2569,7 +2569,7 @@ pub struct ITASRTerminalEvent_Vtbl { pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAddress, ITAddress_Vtbl, 0xb1efc386_9355_11d0_835c_00aa003ccabd); +windows_core::imp::define_interface!(ITAddress, ITAddress_Vtbl, 0xb1efc386_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAddress, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2686,7 +2686,7 @@ pub struct ITAddress_Vtbl { pub DoNotDisturb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAddress2, ITAddress2_Vtbl, 0xb0ae5d9b_be51_46c9_b0f7_dfa8a22a8bc4); +windows_core::imp::define_interface!(ITAddress2, ITAddress2_Vtbl, 0xb0ae5d9b_be51_46c9_b0f7_dfa8a22a8bc4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAddress2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITAddress); #[cfg(feature = "Win32_System_Com")] @@ -2845,7 +2845,7 @@ pub struct ITAddress2_Vtbl { pub NegotiateExtVersion: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAddressCapabilities, ITAddressCapabilities_Vtbl, 0x8df232f5_821b_11d1_bb5c_00c04fb6809f); +windows_core::imp::define_interface!(ITAddressCapabilities, ITAddressCapabilities_Vtbl, 0x8df232f5_821b_11d1_bb5c_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAddressCapabilities, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2897,7 +2897,7 @@ pub struct ITAddressCapabilities_Vtbl { 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")] -windows_core::imp::com_interface!(ITAddressDeviceSpecificEvent, ITAddressDeviceSpecificEvent_Vtbl, 0x3acb216b_40bd_487a_8672_5ce77bd7e3a3); +windows_core::imp::define_interface!(ITAddressDeviceSpecificEvent, ITAddressDeviceSpecificEvent_Vtbl, 0x3acb216b_40bd_487a_8672_5ce77bd7e3a3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAddressDeviceSpecificEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2942,7 +2942,7 @@ pub struct ITAddressDeviceSpecificEvent_Vtbl { pub lParam3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAddressEvent, ITAddressEvent_Vtbl, 0x831ce2d1_83b5_11d1_bb5c_00c04fb6809f); +windows_core::imp::define_interface!(ITAddressEvent, ITAddressEvent_Vtbl, 0x831ce2d1_83b5_11d1_bb5c_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAddressEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2977,7 +2977,7 @@ pub struct ITAddressEvent_Vtbl { Terminal: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAddressTranslation, ITAddressTranslation_Vtbl, 0x0c4d8f03_8ddb_11d1_a09e_00805fc147d3); +windows_core::imp::define_interface!(ITAddressTranslation, ITAddressTranslation_Vtbl, 0x0c4d8f03_8ddb_11d1_a09e_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAddressTranslation, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3028,7 +3028,7 @@ pub struct ITAddressTranslation_Vtbl { pub CallingCards: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAddressTranslationInfo, ITAddressTranslationInfo_Vtbl, 0xafc15945_8d40_11d1_a09e_00805fc147d3); +windows_core::imp::define_interface!(ITAddressTranslationInfo, ITAddressTranslationInfo_Vtbl, 0xafc15945_8d40_11d1_a09e_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAddressTranslationInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3065,7 +3065,7 @@ pub struct ITAddressTranslationInfo_Vtbl { pub TranslationResults: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAgent, ITAgent_Vtbl, 0x5770ece5_4b27_11d1_bf80_00805fc147d3); +windows_core::imp::define_interface!(ITAgent, ITAgent_Vtbl, 0x5770ece5_4b27_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAgent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3181,7 +3181,7 @@ pub struct ITAgent_Vtbl { pub AgentSessions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAgentEvent, ITAgentEvent_Vtbl, 0x5afc314a_4bcc_11d1_bf80_00805fc147d3); +windows_core::imp::define_interface!(ITAgentEvent, ITAgentEvent_Vtbl, 0x5afc314a_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAgentEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3207,7 +3207,7 @@ pub struct ITAgentEvent_Vtbl { pub Event: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AGENT_EVENT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAgentHandler, ITAgentHandler_Vtbl, 0x587e8c22_9802_11d1_a0a4_00805fc147d3); +windows_core::imp::define_interface!(ITAgentHandler, ITAgentHandler_Vtbl, 0x587e8c22_9802_11d1_a0a4_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAgentHandler, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3266,7 +3266,7 @@ pub struct ITAgentHandler_Vtbl { pub UsableAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAgentHandlerEvent, ITAgentHandlerEvent_Vtbl, 0x297f3034_bd11_11d1_a0a7_00805fc147d3); +windows_core::imp::define_interface!(ITAgentHandlerEvent, ITAgentHandlerEvent_Vtbl, 0x297f3034_bd11_11d1_a0a7_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAgentHandlerEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3292,7 +3292,7 @@ pub struct ITAgentHandlerEvent_Vtbl { pub Event: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AGENTHANDLER_EVENT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAgentSession, ITAgentSession_Vtbl, 0x5afc3147_4bcc_11d1_bf80_00805fc147d3); +windows_core::imp::define_interface!(ITAgentSession, ITAgentSession_Vtbl, 0x5afc3147_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAgentSession, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3404,7 +3404,7 @@ pub struct ITAgentSession_Vtbl { pub AverageTimeToAnswer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAgentSessionEvent, ITAgentSessionEvent_Vtbl, 0x5afc314b_4bcc_11d1_bf80_00805fc147d3); +windows_core::imp::define_interface!(ITAgentSessionEvent, ITAgentSessionEvent_Vtbl, 0x5afc314b_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAgentSessionEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3429,7 +3429,7 @@ pub struct ITAgentSessionEvent_Vtbl { Session: usize, pub Event: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AGENT_SESSION_EVENT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITAllocatorProperties, ITAllocatorProperties_Vtbl, 0xc1bc3c90_bcfe_11d1_9745_00c04fd91ac0); +windows_core::imp::define_interface!(ITAllocatorProperties, ITAllocatorProperties_Vtbl, 0xc1bc3c90_bcfe_11d1_9745_00c04fd91ac0); windows_core::imp::interface_hierarchy!(ITAllocatorProperties, windows_core::IUnknown); impl ITAllocatorProperties { #[cfg(feature = "Win32_Media_DirectShow")] @@ -3476,7 +3476,7 @@ pub struct ITAllocatorProperties_Vtbl { pub GetBufferSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITAutomatedPhoneControl, ITAutomatedPhoneControl_Vtbl, 0x1ee1af0e_6159_4a61_b79b_6a4ba3fc9dfc); +windows_core::imp::define_interface!(ITAutomatedPhoneControl, ITAutomatedPhoneControl_Vtbl, 0x1ee1af0e_6159_4a61_b79b_6a4ba3fc9dfc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITAutomatedPhoneControl, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3664,7 +3664,7 @@ pub struct ITAutomatedPhoneControl_Vtbl { pub SelectedCalls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITBasicAudioTerminal, ITBasicAudioTerminal_Vtbl, 0xb1efc38d_9355_11d0_835c_00aa003ccabd); +windows_core::imp::define_interface!(ITBasicAudioTerminal, ITBasicAudioTerminal_Vtbl, 0xb1efc38d_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITBasicAudioTerminal, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3694,7 +3694,7 @@ pub struct ITBasicAudioTerminal_Vtbl { pub Balance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITBasicCallControl, ITBasicCallControl_Vtbl, 0xb1efc389_9355_11d0_835c_00aa003ccabd); +windows_core::imp::define_interface!(ITBasicCallControl, ITBasicCallControl_Vtbl, 0xb1efc389_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITBasicCallControl, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3823,7 +3823,7 @@ pub struct ITBasicCallControl_Vtbl { pub RemoveFromConference: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITBasicCallControl2, ITBasicCallControl2_Vtbl, 0x161a4a56_1e99_4b3f_a46a_168f38a5ee4c); +windows_core::imp::define_interface!(ITBasicCallControl2, ITBasicCallControl2_Vtbl, 0x161a4a56_1e99_4b3f_a46a_168f38a5ee4c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITBasicCallControl2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITBasicCallControl); #[cfg(feature = "Win32_System_Com")] @@ -3959,7 +3959,7 @@ pub struct ITBasicCallControl2_Vtbl { UnselectTerminalOnCall: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITCallHub, ITCallHub_Vtbl, 0xa3c1544e_5b92_11d1_8f4e_00c04fb6809f); +windows_core::imp::define_interface!(ITCallHub, ITCallHub_Vtbl, 0xa3c1544e_5b92_11d1_8f4e_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCallHub, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3995,7 +3995,7 @@ pub struct ITCallHub_Vtbl { pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CALLHUB_STATE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITCallHubEvent, ITCallHubEvent_Vtbl, 0xa3c15451_5b92_11d1_8f4e_00c04fb6809f); +windows_core::imp::define_interface!(ITCallHubEvent, ITCallHubEvent_Vtbl, 0xa3c15451_5b92_11d1_8f4e_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCallHubEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4030,7 +4030,7 @@ pub struct ITCallHubEvent_Vtbl { Call: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITCallInfo, ITCallInfo_Vtbl, 0x350f85d1_1227_11d3_83d4_00c04fb6809f); +windows_core::imp::define_interface!(ITCallInfo, ITCallInfo_Vtbl, 0x350f85d1_1227_11d3_83d4_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCallInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4115,7 +4115,7 @@ pub struct ITCallInfo_Vtbl { pub ReleaseUserUserInfo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITCallInfo2, ITCallInfo2_Vtbl, 0x94d70ca6_7ab0_4daa_81ca_b8f8643faec1); +windows_core::imp::define_interface!(ITCallInfo2, ITCallInfo2_Vtbl, 0x94d70ca6_7ab0_4daa_81ca_b8f8643faec1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCallInfo2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITCallInfo); #[cfg(feature = "Win32_System_Com")] @@ -4193,7 +4193,7 @@ pub struct ITCallInfo2_Vtbl { pub put_EventFilter: unsafe extern "system" fn(*mut core::ffi::c_void, TAPI_EVENT, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITCallInfoChangeEvent, ITCallInfoChangeEvent_Vtbl, 0x5d4b65f9_e51c_11d1_a02f_00c04fb6809f); +windows_core::imp::define_interface!(ITCallInfoChangeEvent, ITCallInfoChangeEvent_Vtbl, 0x5d4b65f9_e51c_11d1_a02f_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCallInfoChangeEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4224,7 +4224,7 @@ pub struct ITCallInfoChangeEvent_Vtbl { pub CallbackInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITCallMediaEvent, ITCallMediaEvent_Vtbl, 0xff36b87f_ec3a_11d0_8ee4_00c04fb6809f); +windows_core::imp::define_interface!(ITCallMediaEvent, ITCallMediaEvent_Vtbl, 0xff36b87f_ec3a_11d0_8ee4_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCallMediaEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4278,7 +4278,7 @@ pub struct ITCallMediaEvent_Vtbl { pub Cause: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CALL_MEDIA_EVENT_CAUSE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITCallNotificationEvent, ITCallNotificationEvent_Vtbl, 0x895801df_3dd6_11d1_8f30_00c04fb6809f); +windows_core::imp::define_interface!(ITCallNotificationEvent, ITCallNotificationEvent_Vtbl, 0x895801df_3dd6_11d1_8f30_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCallNotificationEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4309,7 +4309,7 @@ pub struct ITCallNotificationEvent_Vtbl { pub CallbackInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITCallStateEvent, ITCallStateEvent_Vtbl, 0x62f47097_95c9_11d0_835d_00aa003ccabd); +windows_core::imp::define_interface!(ITCallStateEvent, ITCallStateEvent_Vtbl, 0x62f47097_95c9_11d0_835d_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCallStateEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4345,7 +4345,7 @@ pub struct ITCallStateEvent_Vtbl { pub CallbackInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITCallingCard, ITCallingCard_Vtbl, 0x0c4d8f00_8ddb_11d1_a09e_00805fc147d3); +windows_core::imp::define_interface!(ITCallingCard, ITCallingCard_Vtbl, 0x0c4d8f00_8ddb_11d1_a09e_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCallingCard, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4392,7 +4392,7 @@ pub struct ITCallingCard_Vtbl { pub InternationalDialingRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITCollection, ITCollection_Vtbl, 0x5ec5acf2_9c02_11d0_8362_00aa003ccabd); +windows_core::imp::define_interface!(ITCollection, ITCollection_Vtbl, 0x5ec5acf2_9c02_11d0_8362_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4419,7 +4419,7 @@ pub struct ITCollection_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")] -windows_core::imp::com_interface!(ITCollection2, ITCollection2_Vtbl, 0xe6dddda5_a6d3_48ff_8737_d32fc4d95477); +windows_core::imp::define_interface!(ITCollection2, ITCollection2_Vtbl, 0xe6dddda5_a6d3_48ff_8737_d32fc4d95477); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCollection2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITCollection); #[cfg(feature = "Win32_System_Com")] @@ -4451,7 +4451,7 @@ pub struct ITCollection2_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITCustomTone, ITCustomTone_Vtbl, 0x357ad764_b3c6_4b2a_8fa5_0722827a9254); +windows_core::imp::define_interface!(ITCustomTone, ITCustomTone_Vtbl, 0x357ad764_b3c6_4b2a_8fa5_0722827a9254); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITCustomTone, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4499,7 +4499,7 @@ pub struct ITCustomTone_Vtbl { pub SetVolume: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITDetectTone, ITDetectTone_Vtbl, 0x961f79bd_3097_49df_a1d6_909b77e89ca0); +windows_core::imp::define_interface!(ITDetectTone, ITDetectTone_Vtbl, 0x961f79bd_3097_49df_a1d6_909b77e89ca0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITDetectTone, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4538,7 +4538,7 @@ pub struct ITDetectTone_Vtbl { pub put_Frequency: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITDigitDetectionEvent, ITDigitDetectionEvent_Vtbl, 0x80d3bfac_57d9_11d2_a04a_00c04fb6809f); +windows_core::imp::define_interface!(ITDigitDetectionEvent, ITDigitDetectionEvent_Vtbl, 0x80d3bfac_57d9_11d2_a04a_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITDigitDetectionEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4579,7 +4579,7 @@ pub struct ITDigitDetectionEvent_Vtbl { pub CallbackInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITDigitGenerationEvent, ITDigitGenerationEvent_Vtbl, 0x80d3bfad_57d9_11d2_a04a_00c04fb6809f); +windows_core::imp::define_interface!(ITDigitGenerationEvent, ITDigitGenerationEvent_Vtbl, 0x80d3bfad_57d9_11d2_a04a_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITDigitGenerationEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4615,7 +4615,7 @@ pub struct ITDigitGenerationEvent_Vtbl { pub CallbackInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITDigitsGatheredEvent, ITDigitsGatheredEvent_Vtbl, 0xe52ec4c1_cba3_441a_9e6a_93cb909e9724); +windows_core::imp::define_interface!(ITDigitsGatheredEvent, ITDigitsGatheredEvent_Vtbl, 0xe52ec4c1_cba3_441a_9e6a_93cb909e9724); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITDigitsGatheredEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4656,7 +4656,7 @@ pub struct ITDigitsGatheredEvent_Vtbl { pub CallbackInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITDirectory, ITDirectory_Vtbl, 0x34621d6c_6cff_11d1_aff7_00c04fc31fee); +windows_core::imp::define_interface!(ITDirectory, ITDirectory_Vtbl, 0x34621d6c_6cff_11d1_aff7_00c04fc31fee); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITDirectory, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4775,7 +4775,7 @@ pub struct ITDirectory_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITDirectoryObject, ITDirectoryObject_Vtbl, 0x34621d6e_6cff_11d1_aff7_00c04fc31fee); +windows_core::imp::define_interface!(ITDirectoryObject, ITDirectoryObject_Vtbl, 0x34621d6e_6cff_11d1_aff7_00c04fc31fee); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITDirectoryObject, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4834,7 +4834,7 @@ pub struct ITDirectoryObject_Vtbl { SetSecurityDescriptor: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITDirectoryObjectConference, ITDirectoryObjectConference_Vtbl, 0xf1029e5d_cb5b_11d0_8d59_00c04fd91ac0); +windows_core::imp::define_interface!(ITDirectoryObjectConference, ITDirectoryObjectConference_Vtbl, 0xf1029e5d_cb5b_11d0_8d59_00c04fd91ac0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITDirectoryObjectConference, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4926,7 +4926,7 @@ pub struct ITDirectoryObjectConference_Vtbl { pub SetStopTime: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITDirectoryObjectUser, ITDirectoryObjectUser_Vtbl, 0x34621d6f_6cff_11d1_aff7_00c04fc31fee); +windows_core::imp::define_interface!(ITDirectoryObjectUser, ITDirectoryObjectUser_Vtbl, 0x34621d6f_6cff_11d1_aff7_00c04fc31fee); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITDirectoryObjectUser, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4950,7 +4950,7 @@ pub struct ITDirectoryObjectUser_Vtbl { pub SetIPPhonePrimary: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITDispatchMapper, ITDispatchMapper_Vtbl, 0xe9225295_c759_11d1_a02b_00c04fb6809f); +windows_core::imp::define_interface!(ITDispatchMapper, ITDispatchMapper_Vtbl, 0xe9225295_c759_11d1_a02b_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITDispatchMapper, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4975,7 +4975,7 @@ pub struct ITDispatchMapper_Vtbl { QueryDispatchInterface: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITFileTerminalEvent, ITFileTerminalEvent_Vtbl, 0xe4a7fbac_8c17_4427_9f55_9f589ac8af00); +windows_core::imp::define_interface!(ITFileTerminalEvent, ITFileTerminalEvent_Vtbl, 0xe4a7fbac_8c17_4427_9f55_9f589ac8af00); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITFileTerminalEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5029,7 +5029,7 @@ pub struct ITFileTerminalEvent_Vtbl { pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITFileTrack, ITFileTrack_Vtbl, 0x31ca6ea9_c08a_4bea_8811_8e9c1ba3ea3a); +windows_core::imp::define_interface!(ITFileTrack, ITFileTrack_Vtbl, 0x31ca6ea9_c08a_4bea_8811_8e9c1ba3ea3a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITFileTrack, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5096,7 +5096,7 @@ pub struct ITFileTrack_Vtbl { EmptyAudioFormatForScripting: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITForwardInformation, ITForwardInformation_Vtbl, 0x449f659e_88a3_11d1_bb5d_00c04fb6809f); +windows_core::imp::define_interface!(ITForwardInformation, ITForwardInformation_Vtbl, 0x449f659e_88a3_11d1_bb5d_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITForwardInformation, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5143,7 +5143,7 @@ pub struct ITForwardInformation_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITForwardInformation2, ITForwardInformation2_Vtbl, 0x5229b4ed_b260_4382_8e1a_5df3a8a4ccc0); +windows_core::imp::define_interface!(ITForwardInformation2, ITForwardInformation2_Vtbl, 0x5229b4ed_b260_4382_8e1a_5df3a8a4ccc0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITForwardInformation2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITForwardInformation); #[cfg(feature = "Win32_System_Com")] @@ -5205,7 +5205,7 @@ pub struct ITForwardInformation2_Vtbl { pub get_ForwardTypeCallerAddressType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITILSConfig, ITILSConfig_Vtbl, 0x34621d72_6cff_11d1_aff7_00c04fc31fee); +windows_core::imp::define_interface!(ITILSConfig, ITILSConfig_Vtbl, 0x34621d72_6cff_11d1_aff7_00c04fc31fee); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITILSConfig, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5225,7 +5225,7 @@ pub struct ITILSConfig_Vtbl { pub Port: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetPort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITLegacyAddressMediaControl, ITLegacyAddressMediaControl_Vtbl, 0xab493640_4c0b_11d2_a046_00c04fb6809f); +windows_core::imp::define_interface!(ITLegacyAddressMediaControl, ITLegacyAddressMediaControl_Vtbl, 0xab493640_4c0b_11d2_a046_00c04fb6809f); windows_core::imp::interface_hierarchy!(ITLegacyAddressMediaControl, windows_core::IUnknown); impl ITLegacyAddressMediaControl { pub unsafe fn GetID(&self, pdeviceclass: P0, pdwsize: *mut u32, ppdeviceid: *mut *mut u8) -> windows_core::Result<()> @@ -5254,7 +5254,7 @@ pub struct ITLegacyAddressMediaControl_Vtbl { 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, } -windows_core::imp::com_interface!(ITLegacyAddressMediaControl2, ITLegacyAddressMediaControl2_Vtbl, 0xb0ee512b_a531_409e_9dd9_4099fe86c738); +windows_core::imp::define_interface!(ITLegacyAddressMediaControl2, ITLegacyAddressMediaControl2_Vtbl, 0xb0ee512b_a531_409e_9dd9_4099fe86c738); windows_core::imp::interface_hierarchy!(ITLegacyAddressMediaControl2, windows_core::IUnknown, ITLegacyAddressMediaControl); impl ITLegacyAddressMediaControl2 { pub unsafe fn GetID(&self, pdeviceclass: P0, pdwsize: *mut u32, ppdeviceid: *mut *mut u8) -> windows_core::Result<()> @@ -5297,7 +5297,7 @@ pub struct ITLegacyAddressMediaControl2_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITLegacyCallMediaControl, ITLegacyCallMediaControl_Vtbl, 0xd624582f_cc23_4436_b8a5_47c625c8045d); +windows_core::imp::define_interface!(ITLegacyCallMediaControl, ITLegacyCallMediaControl_Vtbl, 0xd624582f_cc23_4436_b8a5_47c625c8045d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITLegacyCallMediaControl, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5335,7 +5335,7 @@ pub struct ITLegacyCallMediaControl_Vtbl { pub MonitorMedia: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITLegacyCallMediaControl2, ITLegacyCallMediaControl2_Vtbl, 0x57ca332d_7bc2_44f1_a60c_936fe8d7ce73); +windows_core::imp::define_interface!(ITLegacyCallMediaControl2, ITLegacyCallMediaControl2_Vtbl, 0x57ca332d_7bc2_44f1_a60c_936fe8d7ce73); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITLegacyCallMediaControl2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITLegacyCallMediaControl); #[cfg(feature = "Win32_System_Com")] @@ -5442,7 +5442,7 @@ pub struct ITLegacyCallMediaControl2_Vtbl { pub GetIDAsVariant: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITLegacyWaveSupport, ITLegacyWaveSupport_Vtbl, 0x207823ea_e252_11d2_b77e_0080c7135381); +windows_core::imp::define_interface!(ITLegacyWaveSupport, ITLegacyWaveSupport_Vtbl, 0x207823ea_e252_11d2_b77e_0080c7135381); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITLegacyWaveSupport, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5459,7 +5459,7 @@ pub struct ITLegacyWaveSupport_Vtbl { pub IsFullDuplex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FULLDUPLEX_SUPPORT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITLocationInfo, ITLocationInfo_Vtbl, 0x0c4d8eff_8ddb_11d1_a09e_00805fc147d3); +windows_core::imp::define_interface!(ITLocationInfo, ITLocationInfo_Vtbl, 0x0c4d8eff_8ddb_11d1_a09e_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITLocationInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5525,7 +5525,7 @@ pub struct ITLocationInfo_Vtbl { 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, } -windows_core::imp::com_interface!(ITMSPAddress, ITMSPAddress_Vtbl, 0xee3bd600_3868_11d2_a045_00c04fb6809f); +windows_core::imp::define_interface!(ITMSPAddress, ITMSPAddress_Vtbl, 0xee3bd600_3868_11d2_a045_00c04fb6809f); windows_core::imp::interface_hierarchy!(ITMSPAddress, windows_core::IUnknown); impl ITMSPAddress { pub unsafe fn Initialize(&self, hevent: *const i32) -> windows_core::Result<()> { @@ -5568,7 +5568,7 @@ pub struct ITMSPAddress_Vtbl { pub GetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u8) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITMediaControl, ITMediaControl_Vtbl, 0xc445dde8_5199_4bc7_9807_5ffb92e42e09); +windows_core::imp::define_interface!(ITMediaControl, ITMediaControl_Vtbl, 0xc445dde8_5199_4bc7_9807_5ffb92e42e09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITMediaControl, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5597,7 +5597,7 @@ pub struct ITMediaControl_Vtbl { pub MediaState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TERMINAL_MEDIA_STATE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITMediaPlayback, ITMediaPlayback_Vtbl, 0x627e8ae6_ae4c_4a69_bb63_2ad625404b77); +windows_core::imp::define_interface!(ITMediaPlayback, ITMediaPlayback_Vtbl, 0x627e8ae6_ae4c_4a69_bb63_2ad625404b77); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITMediaPlayback, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5621,7 +5621,7 @@ pub struct ITMediaPlayback_Vtbl { pub PlayList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITMediaRecord, ITMediaRecord_Vtbl, 0xf5dd4592_5476_4cc1_9d4d_fad3eefe7db2); +windows_core::imp::define_interface!(ITMediaRecord, ITMediaRecord_Vtbl, 0xf5dd4592_5476_4cc1_9d4d_fad3eefe7db2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITMediaRecord, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5645,7 +5645,7 @@ pub struct ITMediaRecord_Vtbl { pub FileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITMediaSupport, ITMediaSupport_Vtbl, 0xb1efc384_9355_11d0_835c_00aa003ccabd); +windows_core::imp::define_interface!(ITMediaSupport, ITMediaSupport_Vtbl, 0xb1efc384_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITMediaSupport, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5667,7 +5667,7 @@ pub struct ITMediaSupport_Vtbl { pub QueryMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITMultiTrackTerminal, ITMultiTrackTerminal_Vtbl, 0xfe040091_ade8_4072_95c9_bf7de8c54b44); +windows_core::imp::define_interface!(ITMultiTrackTerminal, ITMultiTrackTerminal_Vtbl, 0xfe040091_ade8_4072_95c9_bf7de8c54b44); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITMultiTrackTerminal, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5719,7 +5719,7 @@ pub struct ITMultiTrackTerminal_Vtbl { RemoveTrackTerminal: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITPhone, ITPhone_Vtbl, 0x09d48db4_10cc_4388_9de7_a8465618975a); +windows_core::imp::define_interface!(ITPhone, ITPhone_Vtbl, 0x09d48db4_10cc_4388_9de7_a8465618975a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITPhone, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5906,7 +5906,7 @@ pub struct ITPhone_Vtbl { pub NegotiateExtVersion: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITPhoneDeviceSpecificEvent, ITPhoneDeviceSpecificEvent_Vtbl, 0x63ffb2a6_872b_4cd3_a501_326e8fb40af7); +windows_core::imp::define_interface!(ITPhoneDeviceSpecificEvent, ITPhoneDeviceSpecificEvent_Vtbl, 0x63ffb2a6_872b_4cd3_a501_326e8fb40af7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITPhoneDeviceSpecificEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5942,7 +5942,7 @@ pub struct ITPhoneDeviceSpecificEvent_Vtbl { pub lParam3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITPhoneEvent, ITPhoneEvent_Vtbl, 0x8f942dd8_64ed_4aaf_a77d_b23db0837ead); +windows_core::imp::define_interface!(ITPhoneEvent, ITPhoneEvent_Vtbl, 0x8f942dd8_64ed_4aaf_a77d_b23db0837ead); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITPhoneEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6007,7 +6007,7 @@ pub struct ITPhoneEvent_Vtbl { Call: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITPluggableTerminalClassInfo, ITPluggableTerminalClassInfo_Vtbl, 0x41757f4a_cf09_4b34_bc96_0a79d2390076); +windows_core::imp::define_interface!(ITPluggableTerminalClassInfo, ITPluggableTerminalClassInfo_Vtbl, 0x41757f4a_cf09_4b34_bc96_0a79d2390076); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITPluggableTerminalClassInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6053,7 +6053,7 @@ pub struct ITPluggableTerminalClassInfo_Vtbl { 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, } -windows_core::imp::com_interface!(ITPluggableTerminalEventSink, ITPluggableTerminalEventSink_Vtbl, 0x6e0887be_ba1a_492e_bd10_4020ec5e33e0); +windows_core::imp::define_interface!(ITPluggableTerminalEventSink, ITPluggableTerminalEventSink_Vtbl, 0x6e0887be_ba1a_492e_bd10_4020ec5e33e0); windows_core::imp::interface_hierarchy!(ITPluggableTerminalEventSink, windows_core::IUnknown); impl ITPluggableTerminalEventSink { #[cfg(feature = "Win32_System_Com")] @@ -6069,7 +6069,7 @@ pub struct ITPluggableTerminalEventSink_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] FireEvent: usize, } -windows_core::imp::com_interface!(ITPluggableTerminalEventSinkRegistration, ITPluggableTerminalEventSinkRegistration_Vtbl, 0xf7115709_a216_4957_a759_060ab32a90d1); +windows_core::imp::define_interface!(ITPluggableTerminalEventSinkRegistration, ITPluggableTerminalEventSinkRegistration_Vtbl, 0xf7115709_a216_4957_a759_060ab32a90d1); windows_core::imp::interface_hierarchy!(ITPluggableTerminalEventSinkRegistration, windows_core::IUnknown); impl ITPluggableTerminalEventSinkRegistration { pub unsafe fn RegisterSink(&self, peventsink: P0) -> windows_core::Result<()> @@ -6089,7 +6089,7 @@ pub struct ITPluggableTerminalEventSinkRegistration_Vtbl { pub UnregisterSink: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITPluggableTerminalSuperclassInfo, ITPluggableTerminalSuperclassInfo_Vtbl, 0x6d54e42c_4625_4359_a6f7_631999107e05); +windows_core::imp::define_interface!(ITPluggableTerminalSuperclassInfo, ITPluggableTerminalSuperclassInfo_Vtbl, 0x6d54e42c_4625_4359_a6f7_631999107e05); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITPluggableTerminalSuperclassInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6111,7 +6111,7 @@ pub struct ITPluggableTerminalSuperclassInfo_Vtbl { pub CLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITPrivateEvent, ITPrivateEvent_Vtbl, 0x0e269cd0_10d4_4121_9c22_9c85d625650d); +windows_core::imp::define_interface!(ITPrivateEvent, ITPrivateEvent_Vtbl, 0x0e269cd0_10d4_4121_9c22_9c85d625650d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITPrivateEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6164,7 +6164,7 @@ pub struct ITPrivateEvent_Vtbl { EventInterface: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITQOSEvent, ITQOSEvent_Vtbl, 0xcfa3357c_ad77_11d1_bb68_00c04fb6809f); +windows_core::imp::define_interface!(ITQOSEvent, ITQOSEvent_Vtbl, 0xcfa3357c_ad77_11d1_bb68_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITQOSEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6195,7 +6195,7 @@ pub struct ITQOSEvent_Vtbl { pub MediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITQueue, ITQueue_Vtbl, 0x5afc3149_4bcc_11d1_bf80_00805fc147d3); +windows_core::imp::define_interface!(ITQueue, ITQueue_Vtbl, 0x5afc3149_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITQueue, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6266,7 +6266,7 @@ pub struct ITQueue_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITQueueEvent, ITQueueEvent_Vtbl, 0x297f3033_bd11_11d1_a0a7_00805fc147d3); +windows_core::imp::define_interface!(ITQueueEvent, ITQueueEvent_Vtbl, 0x297f3033_bd11_11d1_a0a7_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITQueueEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6292,7 +6292,7 @@ pub struct ITQueueEvent_Vtbl { pub Event: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ACDQUEUE_EVENT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITRendezvous, ITRendezvous_Vtbl, 0x34621d6b_6cff_11d1_aff7_00c04fc31fee); +windows_core::imp::define_interface!(ITRendezvous, ITRendezvous_Vtbl, 0x34621d6b_6cff_11d1_aff7_00c04fc31fee); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITRendezvous, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6338,7 +6338,7 @@ pub struct ITRendezvous_Vtbl { CreateDirectoryObject: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITRequest, ITRequest_Vtbl, 0xac48ffdf_f8c4_11d1_a030_00c04fb6809f); +windows_core::imp::define_interface!(ITRequest, ITRequest_Vtbl, 0xac48ffdf_f8c4_11d1_a030_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITRequest, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6360,7 +6360,7 @@ pub struct ITRequest_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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITRequestEvent, ITRequestEvent_Vtbl, 0xac48ffde_f8c4_11d1_a030_00c04fb6809f); +windows_core::imp::define_interface!(ITRequestEvent, ITRequestEvent_Vtbl, 0xac48ffde_f8c4_11d1_a030_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITRequestEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6402,7 +6402,7 @@ pub struct ITRequestEvent_Vtbl { pub Comment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITScriptableAudioFormat, ITScriptableAudioFormat_Vtbl, 0xb87658bd_3c59_4f64_be74_aede3e86a81e); +windows_core::imp::define_interface!(ITScriptableAudioFormat, ITScriptableAudioFormat_Vtbl, 0xb87658bd_3c59_4f64_be74_aede3e86a81e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITScriptableAudioFormat, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6468,7 +6468,7 @@ pub struct ITScriptableAudioFormat_Vtbl { pub SetFormatTag: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITStaticAudioTerminal, ITStaticAudioTerminal_Vtbl, 0xa86b7871_d14c_48e6_922e_a8d15f984800); +windows_core::imp::define_interface!(ITStaticAudioTerminal, ITStaticAudioTerminal_Vtbl, 0xa86b7871_d14c_48e6_922e_a8d15f984800); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITStaticAudioTerminal, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6485,7 +6485,7 @@ pub struct ITStaticAudioTerminal_Vtbl { pub WaveId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITStream, ITStream_Vtbl, 0xee3bd605_3868_11d2_a045_00c04fb6809f); +windows_core::imp::define_interface!(ITStream, ITStream_Vtbl, 0xee3bd605_3868_11d2_a045_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITStream, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6556,7 +6556,7 @@ pub struct ITStream_Vtbl { pub Terminals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITStreamControl, ITStreamControl_Vtbl, 0xee3bd604_3868_11d2_a045_00c04fb6809f); +windows_core::imp::define_interface!(ITStreamControl, ITStreamControl_Vtbl, 0xee3bd604_3868_11d2_a045_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITStreamControl, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6598,7 +6598,7 @@ pub struct ITStreamControl_Vtbl { pub Streams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITSubStream, ITSubStream_Vtbl, 0xee3bd608_3868_11d2_a045_00c04fb6809f); +windows_core::imp::define_interface!(ITSubStream, ITSubStream_Vtbl, 0xee3bd608_3868_11d2_a045_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITSubStream, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6663,7 +6663,7 @@ pub struct ITSubStream_Vtbl { Stream: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITSubStreamControl, ITSubStreamControl_Vtbl, 0xee3bd607_3868_11d2_a045_00c04fb6809f); +windows_core::imp::define_interface!(ITSubStreamControl, ITSubStreamControl_Vtbl, 0xee3bd607_3868_11d2_a045_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITSubStreamControl, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6705,7 +6705,7 @@ pub struct ITSubStreamControl_Vtbl { pub SubStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITTAPI, ITTAPI_Vtbl, 0xb1efc382_9355_11d0_835c_00aa003ccabd); +windows_core::imp::define_interface!(ITTAPI, ITTAPI_Vtbl, 0xb1efc382_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITTAPI, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6817,7 +6817,7 @@ pub struct ITTAPI_Vtbl { pub EventFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITTAPI2, ITTAPI2_Vtbl, 0x54fbdc8c_d90f_4dad_9695_b373097f094b); +windows_core::imp::define_interface!(ITTAPI2, ITTAPI2_Vtbl, 0x54fbdc8c_d90f_4dad_9695_b373097f094b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITTAPI2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITTAPI); #[cfg(feature = "Win32_System_Com")] @@ -6926,7 +6926,7 @@ pub struct ITTAPI2_Vtbl { CreateEmptyCollectionObject: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITTAPICallCenter, ITTAPICallCenter_Vtbl, 0x5afc3154_4bcc_11d1_bf80_00805fc147d3); +windows_core::imp::define_interface!(ITTAPICallCenter, ITTAPICallCenter_Vtbl, 0x5afc3154_4bcc_11d1_bf80_00805fc147d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITTAPICallCenter, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6948,7 +6948,7 @@ pub struct ITTAPICallCenter_Vtbl { pub AgentHandlers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITTAPIDispatchEventNotification, ITTAPIDispatchEventNotification_Vtbl, 0x9f34325b_7e62_11d2_9457_00c04f8ec888); +windows_core::imp::define_interface!(ITTAPIDispatchEventNotification, ITTAPIDispatchEventNotification_Vtbl, 0x9f34325b_7e62_11d2_9457_00c04f8ec888); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITTAPIDispatchEventNotification, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6958,7 +6958,7 @@ impl ITTAPIDispatchEventNotification {} pub struct ITTAPIDispatchEventNotification_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(ITTAPIEventNotification, ITTAPIEventNotification_Vtbl, 0xeddb9426_3b91_11d1_8f30_00c04fb6809f); +windows_core::imp::define_interface!(ITTAPIEventNotification, ITTAPIEventNotification_Vtbl, 0xeddb9426_3b91_11d1_8f30_00c04fb6809f); windows_core::imp::interface_hierarchy!(ITTAPIEventNotification, windows_core::IUnknown); impl ITTAPIEventNotification { #[cfg(feature = "Win32_System_Com")] @@ -6978,7 +6978,7 @@ pub struct ITTAPIEventNotification_Vtbl { Event: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITTAPIObjectEvent, ITTAPIObjectEvent_Vtbl, 0xf4854d48_937a_11d1_bb58_00c04fb6809f); +windows_core::imp::define_interface!(ITTAPIObjectEvent, ITTAPIObjectEvent_Vtbl, 0xf4854d48_937a_11d1_bb58_00c04fb6809f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITTAPIObjectEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7018,7 +7018,7 @@ pub struct ITTAPIObjectEvent_Vtbl { pub CallbackInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITTAPIObjectEvent2, ITTAPIObjectEvent2_Vtbl, 0x359dda6e_68ce_4383_bf0b_169133c41b46); +windows_core::imp::define_interface!(ITTAPIObjectEvent2, ITTAPIObjectEvent2_Vtbl, 0x359dda6e_68ce_4383_bf0b_169133c41b46); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITTAPIObjectEvent2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITTAPIObjectEvent); #[cfg(feature = "Win32_System_Com")] @@ -7057,7 +7057,7 @@ pub struct ITTAPIObjectEvent2_Vtbl { Phone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITTTSTerminalEvent, ITTTSTerminalEvent_Vtbl, 0xd964788f_95a5_461d_ab0c_b9900a6c2713); +windows_core::imp::define_interface!(ITTTSTerminalEvent, ITTTSTerminalEvent_Vtbl, 0xd964788f_95a5_461d_ab0c_b9900a6c2713); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITTTSTerminalEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7092,7 +7092,7 @@ pub struct ITTTSTerminalEvent_Vtbl { pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITTerminal, ITTerminal_Vtbl, 0xb1efc38a_9355_11d0_835c_00aa003ccabd); +windows_core::imp::define_interface!(ITTerminal, ITTerminal_Vtbl, 0xb1efc38a_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITTerminal, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7134,7 +7134,7 @@ pub struct ITTerminal_Vtbl { pub Direction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TERMINAL_DIRECTION) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITTerminalSupport, ITTerminalSupport_Vtbl, 0xb1efc385_9355_11d0_835c_00aa003ccabd); +windows_core::imp::define_interface!(ITTerminalSupport, ITTerminalSupport_Vtbl, 0xb1efc385_9355_11d0_835c_00aa003ccabd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITTerminalSupport, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7187,7 +7187,7 @@ pub struct ITTerminalSupport_Vtbl { GetDefaultStaticTerminal: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITTerminalSupport2, ITTerminalSupport2_Vtbl, 0xf3eb39bc_1b1f_4e99_a0c0_56305c4dd591); +windows_core::imp::define_interface!(ITTerminalSupport2, ITTerminalSupport2_Vtbl, 0xf3eb39bc_1b1f_4e99_a0c0_56305c4dd591); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITTerminalSupport2, windows_core::IUnknown, super::super::System::Com::IDispatch, ITTerminalSupport); #[cfg(feature = "Win32_System_Com")] @@ -7251,7 +7251,7 @@ pub struct ITTerminalSupport2_Vtbl { 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")] -windows_core::imp::com_interface!(ITToneDetectionEvent, ITToneDetectionEvent_Vtbl, 0x407e0faf_d047_4753_b0c6_8e060373fecd); +windows_core::imp::define_interface!(ITToneDetectionEvent, ITToneDetectionEvent_Vtbl, 0x407e0faf_d047_4753_b0c6_8e060373fecd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITToneDetectionEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7287,7 +7287,7 @@ pub struct ITToneDetectionEvent_Vtbl { pub CallbackInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITToneTerminalEvent, ITToneTerminalEvent_Vtbl, 0xe6f56009_611f_4945_bbd2_2d0ce5612056); +windows_core::imp::define_interface!(ITToneTerminalEvent, ITToneTerminalEvent_Vtbl, 0xe6f56009_611f_4945_bbd2_2d0ce5612056); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITToneTerminalEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7321,7 +7321,7 @@ pub struct ITToneTerminalEvent_Vtbl { Call: usize, pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITnef, ITnef_Vtbl, 0); +windows_core::imp::define_interface!(ITnef, ITnef_Vtbl, 0); windows_core::imp::interface_hierarchy!(ITnef, windows_core::IUnknown); impl ITnef { #[cfg(feature = "Win32_System_AddressBook")] 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 8986846591..8bc10ff8bc 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs @@ -238,7 +238,7 @@ where windows_targets::link!("wsdapi.dll" "system" fn WSDXMLGetValueFromAny(psznamespace : windows_core::PCWSTR, pszname : windows_core::PCWSTR, pany : *mut WSDXML_ELEMENT, ppszvalue : *mut windows_core::PCWSTR) -> windows_core::HRESULT); WSDXMLGetValueFromAny(psznamespace.into_param().abi(), pszname.into_param().abi(), pany, ppszvalue).ok() } -windows_core::imp::com_interface!(IWSDAddress, IWSDAddress_Vtbl, 0xb9574c6c_12a6_4f74_93a1_3318ff605759); +windows_core::imp::define_interface!(IWSDAddress, IWSDAddress_Vtbl, 0xb9574c6c_12a6_4f74_93a1_3318ff605759); windows_core::imp::interface_hierarchy!(IWSDAddress, windows_core::IUnknown); impl IWSDAddress { pub unsafe fn Serialize(&self, pszbuffer: &mut [u16], fsafe: P0) -> windows_core::Result<()> @@ -260,7 +260,7 @@ pub struct IWSDAddress_Vtbl { pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Deserialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDAsyncCallback, IWSDAsyncCallback_Vtbl, 0xa63e109d_ce72_49e2_ba98_e845f5ee1666); +windows_core::imp::define_interface!(IWSDAsyncCallback, IWSDAsyncCallback_Vtbl, 0xa63e109d_ce72_49e2_ba98_e845f5ee1666); windows_core::imp::interface_hierarchy!(IWSDAsyncCallback, windows_core::IUnknown); impl IWSDAsyncCallback { pub unsafe fn AsyncOperationComplete(&self, pasyncresult: P0, pasyncstate: P1) -> windows_core::Result<()> @@ -276,7 +276,7 @@ pub struct IWSDAsyncCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AsyncOperationComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDAsyncResult, IWSDAsyncResult_Vtbl, 0x11a9852a_8dd8_423e_b537_9356db4fbfb8); +windows_core::imp::define_interface!(IWSDAsyncResult, IWSDAsyncResult_Vtbl, 0x11a9852a_8dd8_423e_b537_9356db4fbfb8); windows_core::imp::interface_hierarchy!(IWSDAsyncResult, windows_core::IUnknown); impl IWSDAsyncResult { pub unsafe fn SetCallback(&self, pcallback: P0, pasyncstate: P1) -> windows_core::Result<()> @@ -321,14 +321,14 @@ pub struct IWSDAsyncResult_Vtbl { pub GetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WSD_EVENT) -> windows_core::HRESULT, pub GetEndpointProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDAttachment, IWSDAttachment_Vtbl, 0x5d55a616_9df8_4b09_b156_9ba351a48b76); +windows_core::imp::define_interface!(IWSDAttachment, IWSDAttachment_Vtbl, 0x5d55a616_9df8_4b09_b156_9ba351a48b76); windows_core::imp::interface_hierarchy!(IWSDAttachment, windows_core::IUnknown); impl IWSDAttachment {} #[repr(C)] pub struct IWSDAttachment_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IWSDDeviceHost, IWSDDeviceHost_Vtbl, 0x917fe891_3d13_4138_9809_934c8abeb12c); +windows_core::imp::define_interface!(IWSDDeviceHost, IWSDDeviceHost_Vtbl, 0x917fe891_3d13_4138_9809_934c8abeb12c); windows_core::imp::interface_hierarchy!(IWSDDeviceHost, windows_core::IUnknown); impl IWSDDeviceHost { pub unsafe fn Init(&self, pszlocalid: P0, pcontext: P1, pphostaddresses: Option<&[Option]>) -> windows_core::Result<()> @@ -413,7 +413,7 @@ pub struct IWSDDeviceHost_Vtbl { pub SetServiceDiscoverable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SignalEvent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::ffi::c_void, *const WSD_OPERATION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDDeviceHostNotify, IWSDDeviceHostNotify_Vtbl, 0xb5bee9f9_eeda_41fe_96f7_f45e14990fb0); +windows_core::imp::define_interface!(IWSDDeviceHostNotify, IWSDDeviceHostNotify_Vtbl, 0xb5bee9f9_eeda_41fe_96f7_f45e14990fb0); windows_core::imp::interface_hierarchy!(IWSDDeviceHostNotify, windows_core::IUnknown); impl IWSDDeviceHostNotify { pub unsafe fn GetService(&self, pszserviceid: P0) -> windows_core::Result @@ -429,7 +429,7 @@ pub struct IWSDDeviceHostNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDDeviceProxy, IWSDDeviceProxy_Vtbl, 0xeee0c031_c578_4c0e_9a3b_973c35f409db); +windows_core::imp::define_interface!(IWSDDeviceProxy, IWSDDeviceProxy_Vtbl, 0xeee0c031_c578_4c0e_9a3b_973c35f409db); windows_core::imp::interface_hierarchy!(IWSDDeviceProxy, windows_core::IUnknown); impl IWSDDeviceProxy { pub unsafe fn Init(&self, pszdeviceid: P0, pdeviceaddress: P1, pszlocalid: P2, pcontext: P3, psponsor: P4) -> windows_core::Result<()> @@ -498,7 +498,7 @@ pub struct IWSDDeviceProxy_Vtbl { pub GetServiceProxyByType: unsafe extern "system" fn(*mut core::ffi::c_void, *const WSDXML_NAME, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetEndpointProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDEndpointProxy, IWSDEndpointProxy_Vtbl, 0x1860d430_b24c_4975_9f90_dbb39baa24ec); +windows_core::imp::define_interface!(IWSDEndpointProxy, IWSDEndpointProxy_Vtbl, 0x1860d430_b24c_4975_9f90_dbb39baa24ec); windows_core::imp::interface_hierarchy!(IWSDEndpointProxy, windows_core::IUnknown); impl IWSDEndpointProxy { pub unsafe fn SendOneWayRequest(&self, pbody: *const core::ffi::c_void, poperation: *const WSD_OPERATION) -> windows_core::Result<()> { @@ -544,7 +544,7 @@ pub struct IWSDEndpointProxy_Vtbl { pub GetErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PCWSTR) -> windows_core::HRESULT, pub GetFaultInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut WSD_SOAP_FAULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDEventingStatus, IWSDEventingStatus_Vtbl, 0x49b17f52_637a_407a_ae99_fbe82a4d38c0); +windows_core::imp::define_interface!(IWSDEventingStatus, IWSDEventingStatus_Vtbl, 0x49b17f52_637a_407a_ae99_fbe82a4d38c0); windows_core::imp::interface_hierarchy!(IWSDEventingStatus, windows_core::IUnknown); impl IWSDEventingStatus { pub unsafe fn SubscriptionRenewed(&self, pszsubscriptionaction: P0) @@ -573,7 +573,7 @@ pub struct IWSDEventingStatus_Vtbl { pub SubscriptionRenewalFailed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::HRESULT), pub SubscriptionEnded: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR), } -windows_core::imp::com_interface!(IWSDHttpAddress, IWSDHttpAddress_Vtbl, 0xd09ac7bd_2a3e_4b85_8605_2737ff3e4ea0); +windows_core::imp::define_interface!(IWSDHttpAddress, IWSDHttpAddress_Vtbl, 0xd09ac7bd_2a3e_4b85_8605_2737ff3e4ea0); windows_core::imp::interface_hierarchy!(IWSDHttpAddress, windows_core::IUnknown, IWSDAddress, IWSDTransportAddress); impl IWSDHttpAddress { pub unsafe fn Serialize(&self, pszbuffer: &mut [u16], fsafe: P0) -> windows_core::Result<()> @@ -640,7 +640,7 @@ pub struct IWSDHttpAddress_Vtbl { pub GetPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PCWSTR) -> windows_core::HRESULT, pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDHttpAuthParameters, IWSDHttpAuthParameters_Vtbl, 0x0b476df0_8dac_480d_b05c_99781a5884aa); +windows_core::imp::define_interface!(IWSDHttpAuthParameters, IWSDHttpAuthParameters_Vtbl, 0x0b476df0_8dac_480d_b05c_99781a5884aa); windows_core::imp::interface_hierarchy!(IWSDHttpAuthParameters, windows_core::IUnknown); impl IWSDHttpAuthParameters { pub unsafe fn GetClientAccessToken(&self) -> windows_core::Result { @@ -658,7 +658,7 @@ pub struct IWSDHttpAuthParameters_Vtbl { pub GetClientAccessToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub GetAuthType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDHttpMessageParameters, IWSDHttpMessageParameters_Vtbl, 0x540bd122_5c83_4dec_b396_ea62a2697fdf); +windows_core::imp::define_interface!(IWSDHttpMessageParameters, IWSDHttpMessageParameters_Vtbl, 0x540bd122_5c83_4dec_b396_ea62a2697fdf); windows_core::imp::interface_hierarchy!(IWSDHttpMessageParameters, windows_core::IUnknown, IWSDMessageParameters); impl IWSDHttpMessageParameters { pub unsafe fn GetLocalAddress(&self) -> windows_core::Result { @@ -742,7 +742,7 @@ pub struct IWSDHttpMessageParameters_Vtbl { pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDInboundAttachment, IWSDInboundAttachment_Vtbl, 0x5bd6ca65_233c_4fb8_9f7a_2641619655c9); +windows_core::imp::define_interface!(IWSDInboundAttachment, IWSDInboundAttachment_Vtbl, 0x5bd6ca65_233c_4fb8_9f7a_2641619655c9); windows_core::imp::interface_hierarchy!(IWSDInboundAttachment, windows_core::IUnknown, IWSDAttachment); impl IWSDInboundAttachment { pub unsafe fn Read(&self, pbuffer: &mut [u8], pdwnumberofbytesread: *mut u32) -> windows_core::Result<()> { @@ -758,7 +758,7 @@ pub struct IWSDInboundAttachment_Vtbl { pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32, *mut u32) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDMessageParameters, IWSDMessageParameters_Vtbl, 0x1fafe8a2_e6fc_4b80_b6cf_b7d45c416d7c); +windows_core::imp::define_interface!(IWSDMessageParameters, IWSDMessageParameters_Vtbl, 0x1fafe8a2_e6fc_4b80_b6cf_b7d45c416d7c); windows_core::imp::interface_hierarchy!(IWSDMessageParameters, windows_core::IUnknown); impl IWSDMessageParameters { pub unsafe fn GetLocalAddress(&self) -> windows_core::Result { @@ -795,7 +795,7 @@ pub struct IWSDMessageParameters_Vtbl { pub SetRemoteAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLowerParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDMetadataExchange, IWSDMetadataExchange_Vtbl, 0x06996d57_1d67_4928_9307_3d7833fdb846); +windows_core::imp::define_interface!(IWSDMetadataExchange, IWSDMetadataExchange_Vtbl, 0x06996d57_1d67_4928_9307_3d7833fdb846); windows_core::imp::interface_hierarchy!(IWSDMetadataExchange, windows_core::IUnknown); impl IWSDMetadataExchange { pub unsafe fn GetMetadata(&self) -> windows_core::Result<*mut WSD_METADATA_SECTION_LIST> { @@ -808,7 +808,7 @@ pub struct IWSDMetadataExchange_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut WSD_METADATA_SECTION_LIST) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDOutboundAttachment, IWSDOutboundAttachment_Vtbl, 0xaa302f8d_5a22_4ba5_b392_aa8486f4c15d); +windows_core::imp::define_interface!(IWSDOutboundAttachment, IWSDOutboundAttachment_Vtbl, 0xaa302f8d_5a22_4ba5_b392_aa8486f4c15d); windows_core::imp::interface_hierarchy!(IWSDOutboundAttachment, windows_core::IUnknown, IWSDAttachment); impl IWSDOutboundAttachment { pub unsafe fn Write(&self, pbuffer: &[u8]) -> windows_core::Result { @@ -829,7 +829,7 @@ pub struct IWSDOutboundAttachment_Vtbl { pub Close: 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, } -windows_core::imp::com_interface!(IWSDSSLClientCertificate, IWSDSSLClientCertificate_Vtbl, 0xde105e87_a0da_418e_98ad_27b9eed87bdc); +windows_core::imp::define_interface!(IWSDSSLClientCertificate, IWSDSSLClientCertificate_Vtbl, 0xde105e87_a0da_418e_98ad_27b9eed87bdc); windows_core::imp::interface_hierarchy!(IWSDSSLClientCertificate, windows_core::IUnknown); impl IWSDSSLClientCertificate { #[cfg(feature = "Win32_Security_Cryptography")] @@ -851,7 +851,7 @@ pub struct IWSDSSLClientCertificate_Vtbl { GetClientCertificate: usize, pub GetMappedAccessToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDScopeMatchingRule, IWSDScopeMatchingRule_Vtbl, 0xfcafe424_fef5_481a_bd9f_33ce0574256f); +windows_core::imp::define_interface!(IWSDScopeMatchingRule, IWSDScopeMatchingRule_Vtbl, 0xfcafe424_fef5_481a_bd9f_33ce0574256f); windows_core::imp::interface_hierarchy!(IWSDScopeMatchingRule, windows_core::IUnknown); impl IWSDScopeMatchingRule { pub unsafe fn GetScopeRule(&self) -> windows_core::Result { @@ -873,7 +873,7 @@ pub struct IWSDScopeMatchingRule_Vtbl { pub GetScopeRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PCWSTR) -> windows_core::HRESULT, pub MatchScopes: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDServiceMessaging, IWSDServiceMessaging_Vtbl, 0x94974cf4_0cab_460d_a3f6_7a0ad623c0e6); +windows_core::imp::define_interface!(IWSDServiceMessaging, IWSDServiceMessaging_Vtbl, 0x94974cf4_0cab_460d_a3f6_7a0ad623c0e6); windows_core::imp::interface_hierarchy!(IWSDServiceMessaging, windows_core::IUnknown); impl IWSDServiceMessaging { pub unsafe fn SendResponse(&self, pbody: Option<*const core::ffi::c_void>, poperation: *const WSD_OPERATION, pmessageparameters: P0) -> windows_core::Result<()> @@ -895,7 +895,7 @@ pub struct IWSDServiceMessaging_Vtbl { pub SendResponse: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *const WSD_OPERATION, *mut core::ffi::c_void) -> windows_core::HRESULT, pub FaultRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *const WSD_SOAP_HEADER, *mut core::ffi::c_void, *const WSD_SOAP_FAULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDServiceProxy, IWSDServiceProxy_Vtbl, 0xd4c7fb9c_03ab_4175_9d67_094fafebf487); +windows_core::imp::define_interface!(IWSDServiceProxy, IWSDServiceProxy_Vtbl, 0xd4c7fb9c_03ab_4175_9d67_094fafebf487); windows_core::imp::interface_hierarchy!(IWSDServiceProxy, windows_core::IUnknown, IWSDMetadataExchange); impl IWSDServiceProxy { pub unsafe fn GetMetadata(&self) -> windows_core::Result<*mut WSD_METADATA_SECTION_LIST> { @@ -948,7 +948,7 @@ pub struct IWSDServiceProxy_Vtbl { pub SetEventingStatusCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetEndpointProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDServiceProxyEventing, IWSDServiceProxyEventing_Vtbl, 0xf9279d6d_1012_4a94_b8cc_fd35d2202bfe); +windows_core::imp::define_interface!(IWSDServiceProxyEventing, IWSDServiceProxyEventing_Vtbl, 0xf9279d6d_1012_4a94_b8cc_fd35d2202bfe); windows_core::imp::interface_hierarchy!(IWSDServiceProxyEventing, windows_core::IUnknown, IWSDMetadataExchange, IWSDServiceProxy); impl IWSDServiceProxyEventing { pub unsafe fn GetMetadata(&self) -> windows_core::Result<*mut WSD_METADATA_SECTION_LIST> { @@ -1078,7 +1078,7 @@ pub struct IWSDServiceProxyEventing_Vtbl { pub BeginGetStatusForMultipleOperations: unsafe extern "system" fn(*mut core::ffi::c_void, *const WSD_OPERATION, u32, *const WSDXML_ELEMENT, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndGetStatusForMultipleOperations: unsafe extern "system" fn(*mut core::ffi::c_void, *const WSD_OPERATION, u32, *mut core::ffi::c_void, *mut *mut WSD_EVENTING_EXPIRES, *mut *mut WSDXML_ELEMENT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDSignatureProperty, IWSDSignatureProperty_Vtbl, 0x03ce20aa_71c4_45e2_b32e_3766c61c790f); +windows_core::imp::define_interface!(IWSDSignatureProperty, IWSDSignatureProperty_Vtbl, 0x03ce20aa_71c4_45e2_b32e_3766c61c790f); windows_core::imp::interface_hierarchy!(IWSDSignatureProperty, windows_core::IUnknown); impl IWSDSignatureProperty { pub unsafe fn IsMessageSigned(&self) -> windows_core::Result { @@ -1108,7 +1108,7 @@ pub struct IWSDSignatureProperty_Vtbl { pub GetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, pub GetSignedInfoHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDTransportAddress, IWSDTransportAddress_Vtbl, 0x70d23498_4ee6_4340_a3df_d845d2235467); +windows_core::imp::define_interface!(IWSDTransportAddress, IWSDTransportAddress_Vtbl, 0x70d23498_4ee6_4340_a3df_d845d2235467); windows_core::imp::interface_hierarchy!(IWSDTransportAddress, windows_core::IUnknown, IWSDAddress); impl IWSDTransportAddress { pub unsafe fn Serialize(&self, pszbuffer: &mut [u16], fsafe: P0) -> windows_core::Result<()> @@ -1157,7 +1157,7 @@ pub struct IWSDTransportAddress_Vtbl { pub GetTransportAddressEx: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut windows_core::PCWSTR) -> windows_core::HRESULT, pub SetTransportAddress: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDUdpAddress, IWSDUdpAddress_Vtbl, 0x74d6124a_a441_4f78_a1eb_97a8d1996893); +windows_core::imp::define_interface!(IWSDUdpAddress, IWSDUdpAddress_Vtbl, 0x74d6124a_a441_4f78_a1eb_97a8d1996893); windows_core::imp::interface_hierarchy!(IWSDUdpAddress, windows_core::IUnknown, IWSDAddress, IWSDTransportAddress); impl IWSDUdpAddress { pub unsafe fn Serialize(&self, pszbuffer: &mut [u16], fsafe: P0) -> windows_core::Result<()> @@ -1255,7 +1255,7 @@ pub struct IWSDUdpAddress_Vtbl { pub SetAlias: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub GetAlias: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDUdpMessageParameters, IWSDUdpMessageParameters_Vtbl, 0x9934149f_8f0c_447b_aa0b_73124b0ca7f0); +windows_core::imp::define_interface!(IWSDUdpMessageParameters, IWSDUdpMessageParameters_Vtbl, 0x9934149f_8f0c_447b_aa0b_73124b0ca7f0); windows_core::imp::interface_hierarchy!(IWSDUdpMessageParameters, windows_core::IUnknown, IWSDMessageParameters); impl IWSDUdpMessageParameters { pub unsafe fn GetLocalAddress(&self) -> windows_core::Result { @@ -1295,7 +1295,7 @@ pub struct IWSDUdpMessageParameters_Vtbl { pub SetRetransmitParams: unsafe extern "system" fn(*mut core::ffi::c_void, *const WSDUdpRetransmitParams) -> windows_core::HRESULT, pub GetRetransmitParams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WSDUdpRetransmitParams) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDXMLContext, IWSDXMLContext_Vtbl, 0x75d8f3ee_3e5a_43b4_a15a_bcf6887460c0); +windows_core::imp::define_interface!(IWSDXMLContext, IWSDXMLContext_Vtbl, 0x75d8f3ee_3e5a_43b4_a15a_bcf6887460c0); windows_core::imp::interface_hierarchy!(IWSDXMLContext, windows_core::IUnknown); impl IWSDXMLContext { pub unsafe fn AddNamespace(&self, pszuri: P0, pszsuggestedprefix: P1, ppnamespace: Option<*mut *mut WSDXML_NAMESPACE>) -> windows_core::Result<()> @@ -1327,7 +1327,7 @@ pub struct IWSDXMLContext_Vtbl { pub SetNamespaces: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const WSDXML_NAMESPACE, u16, u8) -> windows_core::HRESULT, pub SetTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const WSDXML_TYPE, u32, u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDiscoveredService, IWSDiscoveredService_Vtbl, 0x4bad8a3b_b374_4420_9632_aac945b374aa); +windows_core::imp::define_interface!(IWSDiscoveredService, IWSDiscoveredService_Vtbl, 0x4bad8a3b_b374_4420_9632_aac945b374aa); windows_core::imp::interface_hierarchy!(IWSDiscoveredService, windows_core::IUnknown); impl IWSDiscoveredService { pub unsafe fn GetEndpointReference(&self) -> windows_core::Result<*mut WSD_ENDPOINT_REFERENCE> { @@ -1389,7 +1389,7 @@ pub struct IWSDiscoveredService_Vtbl { pub GetLocalInterfaceGUID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDiscoveryProvider, IWSDiscoveryProvider_Vtbl, 0x8ffc8e55_f0eb_480f_88b7_b435dd281d45); +windows_core::imp::define_interface!(IWSDiscoveryProvider, IWSDiscoveryProvider_Vtbl, 0x8ffc8e55_f0eb_480f_88b7_b435dd281d45); windows_core::imp::interface_hierarchy!(IWSDiscoveryProvider, windows_core::IUnknown); impl IWSDiscoveryProvider { pub unsafe fn SetAddressFamily(&self, dwaddressfamily: u32) -> windows_core::Result<()> { @@ -1441,7 +1441,7 @@ pub struct IWSDiscoveryProvider_Vtbl { pub SearchByType: unsafe extern "system" fn(*mut core::ffi::c_void, *const WSD_NAME_LIST, *const WSD_URI_LIST, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetXMLContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDiscoveryProviderNotify, IWSDiscoveryProviderNotify_Vtbl, 0x73ee3ced_b6e6_4329_a546_3e8ad46563d2); +windows_core::imp::define_interface!(IWSDiscoveryProviderNotify, IWSDiscoveryProviderNotify_Vtbl, 0x73ee3ced_b6e6_4329_a546_3e8ad46563d2); windows_core::imp::interface_hierarchy!(IWSDiscoveryProviderNotify, windows_core::IUnknown); impl IWSDiscoveryProviderNotify { pub unsafe fn Add(&self, pservice: P0) -> windows_core::Result<()> @@ -1477,7 +1477,7 @@ pub struct IWSDiscoveryProviderNotify_Vtbl { pub SearchFailed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, windows_core::PCWSTR) -> windows_core::HRESULT, pub SearchComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDiscoveryPublisher, IWSDiscoveryPublisher_Vtbl, 0xae01e1a8_3ff9_4148_8116_057cc616fe13); +windows_core::imp::define_interface!(IWSDiscoveryPublisher, IWSDiscoveryPublisher_Vtbl, 0xae01e1a8_3ff9_4148_8116_057cc616fe13); windows_core::imp::interface_hierarchy!(IWSDiscoveryPublisher, windows_core::IUnknown); impl IWSDiscoveryPublisher { pub unsafe fn SetAddressFamily(&self, dwaddressfamily: u32) -> windows_core::Result<()> { @@ -1634,7 +1634,7 @@ pub struct IWSDiscoveryPublisher_Vtbl { pub UnRegisterScopeMatchingRule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetXMLContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWSDiscoveryPublisherNotify, IWSDiscoveryPublisherNotify_Vtbl, 0xe67651b0_337a_4b3c_9758_733388568251); +windows_core::imp::define_interface!(IWSDiscoveryPublisherNotify, IWSDiscoveryPublisherNotify_Vtbl, 0xe67651b0_337a_4b3c_9758_733388568251); windows_core::imp::interface_hierarchy!(IWSDiscoveryPublisherNotify, windows_core::IUnknown); impl IWSDiscoveryPublisherNotify { pub unsafe fn ProbeHandler(&self, psoap: *const WSD_SOAP_MESSAGE, pmessageparameters: P0) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs index c1eca66647..5259445368 100644 --- a/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Gaming/mod.rs @@ -192,7 +192,7 @@ pub unsafe fn TryCancelPendingGameUI() -> super::Foundation::BOOL { windows_targets::link!("api-ms-win-gaming-tcui-l1-1-0.dll" "system" fn TryCancelPendingGameUI() -> super::Foundation:: BOOL); TryCancelPendingGameUI() } -windows_core::imp::com_interface!(IGameExplorer, IGameExplorer_Vtbl, 0xe7b2fb72_d728_49b3_a5f2_18ebf5f1349e); +windows_core::imp::define_interface!(IGameExplorer, IGameExplorer_Vtbl, 0xe7b2fb72_d728_49b3_a5f2_18ebf5f1349e); windows_core::imp::interface_hierarchy!(IGameExplorer, windows_core::IUnknown); impl IGameExplorer { pub unsafe fn AddGame(&self, bstrgdfbinarypath: P0, bstrgameinstalldirectory: P1, installscope: GAME_INSTALL_SCOPE, pguidinstanceid: *mut windows_core::GUID) -> windows_core::Result<()> @@ -224,7 +224,7 @@ pub struct IGameExplorer_Vtbl { 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, } -windows_core::imp::com_interface!(IGameExplorer2, IGameExplorer2_Vtbl, 0x86874aa7_a1ed_450d_a7eb_b89e20b2fff3); +windows_core::imp::define_interface!(IGameExplorer2, IGameExplorer2_Vtbl, 0x86874aa7_a1ed_450d_a7eb_b89e20b2fff3); windows_core::imp::interface_hierarchy!(IGameExplorer2, windows_core::IUnknown); impl IGameExplorer2 { pub unsafe fn InstallGame(&self, binarygdfpath: P0, installdirectory: P1, installscope: GAME_INSTALL_SCOPE) -> windows_core::Result<()> @@ -255,7 +255,7 @@ pub struct IGameExplorer2_Vtbl { pub UninstallGame: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub CheckAccess: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameStatistics, IGameStatistics_Vtbl, 0x3887c9ca_04a0_42ae_bc4c_5fa6c7721145); +windows_core::imp::define_interface!(IGameStatistics, IGameStatistics_Vtbl, 0x3887c9ca_04a0_42ae_bc4c_5fa6c7721145); windows_core::imp::interface_hierarchy!(IGameStatistics, windows_core::IUnknown); impl IGameStatistics { pub unsafe fn GetMaxCategoryLength(&self) -> windows_core::Result { @@ -328,7 +328,7 @@ pub struct IGameStatistics_Vtbl { pub SetLastPlayedCategory: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetLastPlayedCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGameStatisticsMgr, IGameStatisticsMgr_Vtbl, 0xaff3ea11_e70e_407d_95dd_35e612c41ce2); +windows_core::imp::define_interface!(IGameStatisticsMgr, IGameStatisticsMgr_Vtbl, 0xaff3ea11_e70e_407d_95dd_35e612c41ce2); windows_core::imp::interface_hierarchy!(IGameStatisticsMgr, windows_core::IUnknown); impl IGameStatisticsMgr { pub unsafe fn GetGameStatistics(&self, gdfbinarypath: P0, opentype: GAMESTATS_OPEN_TYPE, popenresult: *mut GAMESTATS_OPEN_RESULT, ppistats: *mut Option) -> windows_core::Result<()> @@ -350,7 +350,7 @@ pub struct IGameStatisticsMgr_Vtbl { pub GetGameStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, GAMESTATS_OPEN_TYPE, *mut GAMESTATS_OPEN_RESULT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveGameStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXblIdpAuthManager, IXblIdpAuthManager_Vtbl, 0xeb5ddb08_8bbf_449b_ac21_b02ddeb3b136); +windows_core::imp::define_interface!(IXblIdpAuthManager, IXblIdpAuthManager_Vtbl, 0xeb5ddb08_8bbf_449b_ac21_b02ddeb3b136); windows_core::imp::interface_hierarchy!(IXblIdpAuthManager, windows_core::IUnknown); impl IXblIdpAuthManager { pub unsafe fn SetGamerAccount(&self, msaaccountid: P0, xuid: P1) -> windows_core::Result<()> @@ -403,7 +403,7 @@ pub struct IXblIdpAuthManager_Vtbl { pub GetSandbox: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetTokenAndSignatureWithTokenResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *const u8, u32, super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXblIdpAuthManager2, IXblIdpAuthManager2_Vtbl, 0xbf8c0950_8389_43dd_9a76_a19728ec5dc5); +windows_core::imp::define_interface!(IXblIdpAuthManager2, IXblIdpAuthManager2_Vtbl, 0xbf8c0950_8389_43dd_9a76_a19728ec5dc5); windows_core::imp::interface_hierarchy!(IXblIdpAuthManager2, windows_core::IUnknown); impl IXblIdpAuthManager2 { pub unsafe fn GetUserlessTokenAndSignatureWithTokenResult(&self, appsid: P0, msatarget: P1, msapolicy: P2, httpmethod: P3, uri: P4, headers: P5, body: &[u8], forcerefresh: P6) -> windows_core::Result @@ -425,7 +425,7 @@ pub struct IXblIdpAuthManager2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetUserlessTokenAndSignatureWithTokenResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *const u8, u32, super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXblIdpAuthTokenResult, IXblIdpAuthTokenResult_Vtbl, 0x46ce0225_f267_4d68_b299_b2762552dec1); +windows_core::imp::define_interface!(IXblIdpAuthTokenResult, IXblIdpAuthTokenResult_Vtbl, 0x46ce0225_f267_4d68_b299_b2762552dec1); windows_core::imp::interface_hierarchy!(IXblIdpAuthTokenResult, windows_core::IUnknown); impl IXblIdpAuthTokenResult { pub unsafe fn GetStatus(&self) -> windows_core::Result { @@ -533,7 +533,7 @@ pub struct IXblIdpAuthTokenResult_Vtbl { pub GetRestrictions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetTitleRestrictions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXblIdpAuthTokenResult2, IXblIdpAuthTokenResult2_Vtbl, 0x75d760b0_60b9_412d_994f_26b2cd5f7812); +windows_core::imp::define_interface!(IXblIdpAuthTokenResult2, IXblIdpAuthTokenResult2_Vtbl, 0x75d760b0_60b9_412d_994f_26b2cd5f7812); windows_core::imp::interface_hierarchy!(IXblIdpAuthTokenResult2, windows_core::IUnknown); impl IXblIdpAuthTokenResult2 { pub unsafe fn GetModernGamertag(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs index e604febc88..5437b8d985 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs @@ -7054,7 +7054,7 @@ pub unsafe fn utrans_unregisterID(id: *const u16, idlength: i32) { windows_targets::link!("icu.dll" "cdecl" fn utrans_unregisterID(id : *const u16, idlength : i32)); utrans_unregisterID(id, idlength) } -windows_core::imp::com_interface!(IComprehensiveSpellCheckProvider, IComprehensiveSpellCheckProvider_Vtbl, 0x0c58f8de_8e94_479e_9717_70c42c4ad2c3); +windows_core::imp::define_interface!(IComprehensiveSpellCheckProvider, IComprehensiveSpellCheckProvider_Vtbl, 0x0c58f8de_8e94_479e_9717_70c42c4ad2c3); windows_core::imp::interface_hierarchy!(IComprehensiveSpellCheckProvider, windows_core::IUnknown); impl IComprehensiveSpellCheckProvider { pub unsafe fn ComprehensiveCheck(&self, text: P0) -> windows_core::Result @@ -7070,7 +7070,7 @@ pub struct IComprehensiveSpellCheckProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ComprehensiveCheck: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumCodePage, IEnumCodePage_Vtbl, 0x275c23e3_3747_11d0_9fea_00aa003f8646); +windows_core::imp::define_interface!(IEnumCodePage, IEnumCodePage_Vtbl, 0x275c23e3_3747_11d0_9fea_00aa003f8646); windows_core::imp::interface_hierarchy!(IEnumCodePage, windows_core::IUnknown); impl IEnumCodePage { pub unsafe fn Clone(&self, ppenum: Option<*const Option>) -> windows_core::Result<()> { @@ -7094,7 +7094,7 @@ pub struct IEnumCodePage_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumRfc1766, IEnumRfc1766_Vtbl, 0x3dc39d1d_c030_11d0_b81b_00c04fc9b31f); +windows_core::imp::define_interface!(IEnumRfc1766, IEnumRfc1766_Vtbl, 0x3dc39d1d_c030_11d0_b81b_00c04fc9b31f); windows_core::imp::interface_hierarchy!(IEnumRfc1766, windows_core::IUnknown); impl IEnumRfc1766 { pub unsafe fn Clone(&self, ppenum: Option<*const Option>) -> windows_core::Result<()> { @@ -7118,7 +7118,7 @@ pub struct IEnumRfc1766_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumScript, IEnumScript_Vtbl, 0xae5f1430_388b_11d2_8380_00c04f8f5da1); +windows_core::imp::define_interface!(IEnumScript, IEnumScript_Vtbl, 0xae5f1430_388b_11d2_8380_00c04f8f5da1); windows_core::imp::interface_hierarchy!(IEnumScript, windows_core::IUnknown); impl IEnumScript { pub unsafe fn Clone(&self, ppenum: Option<*const Option>) -> windows_core::Result<()> { @@ -7142,7 +7142,7 @@ pub struct IEnumScript_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSpellingError, IEnumSpellingError_Vtbl, 0x803e3bd4_2828_4410_8290_418d1d73c762); +windows_core::imp::define_interface!(IEnumSpellingError, IEnumSpellingError_Vtbl, 0x803e3bd4_2828_4410_8290_418d1d73c762); windows_core::imp::interface_hierarchy!(IEnumSpellingError, windows_core::IUnknown); impl IEnumSpellingError { pub unsafe fn Next(&self, value: *mut Option) -> windows_core::HRESULT { @@ -7154,7 +7154,7 @@ pub struct IEnumSpellingError_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLangCodePages, IMLangCodePages_Vtbl, 0x359f3443_bd4a_11d0_b188_00aa0038c969); +windows_core::imp::define_interface!(IMLangCodePages, IMLangCodePages_Vtbl, 0x359f3443_bd4a_11d0_b188_00aa0038c969); windows_core::imp::interface_hierarchy!(IMLangCodePages, windows_core::IUnknown); impl IMLangCodePages { pub unsafe fn GetCharCodePages(&self, chsrc: u16) -> windows_core::Result { @@ -7181,7 +7181,7 @@ pub struct IMLangCodePages_Vtbl { pub CodePageToCodePages: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub CodePagesToCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLangConvertCharset, IMLangConvertCharset_Vtbl, 0xd66d6f98_cdaa_11d0_b822_00c04fc9b31f); +windows_core::imp::define_interface!(IMLangConvertCharset, IMLangConvertCharset_Vtbl, 0xd66d6f98_cdaa_11d0_b822_00c04fc9b31f); windows_core::imp::interface_hierarchy!(IMLangConvertCharset, windows_core::IUnknown); impl IMLangConvertCharset { pub unsafe fn Initialize(&self, uisrccodepage: u32, uidstcodepage: u32, dwproperty: u32) -> windows_core::Result<()> { @@ -7226,7 +7226,7 @@ pub struct IMLangConvertCharset_Vtbl { pub DoConversionToUnicode: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, *mut u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, pub DoConversionFromUnicode: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32, windows_core::PSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLangFontLink, IMLangFontLink_Vtbl, 0x359f3441_bd4a_11d0_b188_00aa0038c969); +windows_core::imp::define_interface!(IMLangFontLink, IMLangFontLink_Vtbl, 0x359f3441_bd4a_11d0_b188_00aa0038c969); windows_core::imp::interface_hierarchy!(IMLangFontLink, windows_core::IUnknown, IMLangCodePages); impl IMLangFontLink { pub unsafe fn GetCharCodePages(&self, chsrc: u16) -> windows_core::Result { @@ -7288,7 +7288,7 @@ pub struct IMLangFontLink_Vtbl { ReleaseFont: usize, pub ResetFontMapping: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLangFontLink2, IMLangFontLink2_Vtbl, 0xdccfc162_2b38_11d2_b7ec_00c04f8f5d9a); +windows_core::imp::define_interface!(IMLangFontLink2, IMLangFontLink2_Vtbl, 0xdccfc162_2b38_11d2_b7ec_00c04f8f5d9a); windows_core::imp::interface_hierarchy!(IMLangFontLink2, windows_core::IUnknown, IMLangCodePages); impl IMLangFontLink2 { pub unsafe fn GetCharCodePages(&self, chsrc: u16) -> windows_core::Result { @@ -7369,7 +7369,7 @@ pub struct IMLangFontLink2_Vtbl { pub GetScriptFontInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u32, *mut u32, *mut SCRIPTFONTINFO) -> windows_core::HRESULT, pub CodePageToScriptID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLangLineBreakConsole, IMLangLineBreakConsole_Vtbl, 0xf5be2ee1_bfd7_11d0_b188_00aa0038c969); +windows_core::imp::define_interface!(IMLangLineBreakConsole, IMLangLineBreakConsole_Vtbl, 0xf5be2ee1_bfd7_11d0_b188_00aa0038c969); windows_core::imp::interface_hierarchy!(IMLangLineBreakConsole, windows_core::IUnknown); impl IMLangLineBreakConsole { pub unsafe fn BreakLineML(&self, psrcmlstr: P0, lsrcpos: i32, lsrclen: i32, cmincolumns: i32, cmaxcolumns: i32, pllinelen: Option<*mut i32>, plskiplen: Option<*mut i32>) -> windows_core::Result<()> @@ -7392,7 +7392,7 @@ pub struct IMLangLineBreakConsole_Vtbl { pub BreakLineW: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, i32, i32, *mut i32, *mut i32) -> windows_core::HRESULT, pub BreakLineA: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCSTR, i32, i32, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLangString, IMLangString_Vtbl, 0xc04d65ce_b70d_11d0_b188_00aa0038c969); +windows_core::imp::define_interface!(IMLangString, IMLangString_Vtbl, 0xc04d65ce_b70d_11d0_b188_00aa0038c969); windows_core::imp::interface_hierarchy!(IMLangString, windows_core::IUnknown); impl IMLangString { pub unsafe fn Sync(&self, fnoaccess: P0) -> windows_core::Result<()> @@ -7425,7 +7425,7 @@ pub struct IMLangString_Vtbl { pub SetMLStr: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub GetMLStr: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLangStringAStr, IMLangStringAStr_Vtbl, 0xc04d65d2_b70d_11d0_b188_00aa0038c969); +windows_core::imp::define_interface!(IMLangStringAStr, IMLangStringAStr_Vtbl, 0xc04d65d2_b70d_11d0_b188_00aa0038c969); windows_core::imp::interface_hierarchy!(IMLangStringAStr, windows_core::IUnknown, IMLangString); impl IMLangStringAStr { pub unsafe fn Sync(&self, fnoaccess: P0) -> windows_core::Result<()> @@ -7489,7 +7489,7 @@ pub struct IMLangStringAStr_Vtbl { pub SetLocale: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, u32) -> windows_core::HRESULT, pub GetLocale: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut u32, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLangStringBufA, IMLangStringBufA_Vtbl, 0xd24acd23_ba72_11d0_b188_00aa0038c969); +windows_core::imp::define_interface!(IMLangStringBufA, IMLangStringBufA_Vtbl, 0xd24acd23_ba72_11d0_b188_00aa0038c969); windows_core::imp::interface_hierarchy!(IMLangStringBufA, windows_core::IUnknown); impl IMLangStringBufA { pub unsafe fn GetStatus(&self, plflags: Option<*mut i32>, pcchbuf: Option<*mut i32>) -> windows_core::Result<()> { @@ -7520,7 +7520,7 @@ pub struct IMLangStringBufA_Vtbl { pub Insert: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLangStringBufW, IMLangStringBufW_Vtbl, 0xd24acd21_ba72_11d0_b188_00aa0038c969); +windows_core::imp::define_interface!(IMLangStringBufW, IMLangStringBufW_Vtbl, 0xd24acd21_ba72_11d0_b188_00aa0038c969); windows_core::imp::interface_hierarchy!(IMLangStringBufW, windows_core::IUnknown); impl IMLangStringBufW { pub unsafe fn GetStatus(&self, plflags: Option<*mut i32>, pcchbuf: Option<*mut i32>) -> windows_core::Result<()> { @@ -7551,7 +7551,7 @@ pub struct IMLangStringBufW_Vtbl { pub Insert: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut i32) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMLangStringWStr, IMLangStringWStr_Vtbl, 0xc04d65d0_b70d_11d0_b188_00aa0038c969); +windows_core::imp::define_interface!(IMLangStringWStr, IMLangStringWStr_Vtbl, 0xc04d65d0_b70d_11d0_b188_00aa0038c969); windows_core::imp::interface_hierarchy!(IMLangStringWStr, windows_core::IUnknown, IMLangString); impl IMLangStringWStr { pub unsafe fn Sync(&self, fnoaccess: P0) -> windows_core::Result<()> @@ -7615,7 +7615,7 @@ pub struct IMLangStringWStr_Vtbl { pub SetLocale: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, u32) -> windows_core::HRESULT, pub GetLocale: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut u32, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMultiLanguage, IMultiLanguage_Vtbl, 0x275c23e1_3747_11d0_9fea_00aa003f8646); +windows_core::imp::define_interface!(IMultiLanguage, IMultiLanguage_Vtbl, 0x275c23e1_3747_11d0_9fea_00aa003f8646); windows_core::imp::interface_hierarchy!(IMultiLanguage, windows_core::IUnknown); impl IMultiLanguage { pub unsafe fn GetNumberOfCodePageInfo(&self) -> windows_core::Result { @@ -7701,7 +7701,7 @@ pub struct IMultiLanguage_Vtbl { 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, } -windows_core::imp::com_interface!(IMultiLanguage2, IMultiLanguage2_Vtbl, 0xdccfc164_2b38_11d2_b7ec_00c04f8f5d9a); +windows_core::imp::define_interface!(IMultiLanguage2, IMultiLanguage2_Vtbl, 0xdccfc164_2b38_11d2_b7ec_00c04f8f5d9a); windows_core::imp::interface_hierarchy!(IMultiLanguage2, windows_core::IUnknown); impl IMultiLanguage2 { pub unsafe fn GetNumberOfCodePageInfo(&self) -> windows_core::Result { @@ -7870,7 +7870,7 @@ pub struct IMultiLanguage2_Vtbl { pub EnumScripts: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ValidateCodePageEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::Foundation::HWND, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMultiLanguage3, IMultiLanguage3_Vtbl, 0x4e5868ab_b157_4623_9acc_6a1d9caebe04); +windows_core::imp::define_interface!(IMultiLanguage3, IMultiLanguage3_Vtbl, 0x4e5868ab_b157_4623_9acc_6a1d9caebe04); windows_core::imp::interface_hierarchy!(IMultiLanguage3, windows_core::IUnknown, IMultiLanguage2); impl IMultiLanguage3 { pub unsafe fn GetNumberOfCodePageInfo(&self) -> windows_core::Result { @@ -8025,7 +8025,7 @@ pub struct IMultiLanguage3_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] DetectOutboundCodePageInIStream: usize, } -windows_core::imp::com_interface!(IOptionDescription, IOptionDescription_Vtbl, 0x432e5f85_35cf_4606_a801_6f70277e1d7a); +windows_core::imp::define_interface!(IOptionDescription, IOptionDescription_Vtbl, 0x432e5f85_35cf_4606_a801_6f70277e1d7a); windows_core::imp::interface_hierarchy!(IOptionDescription, windows_core::IUnknown); impl IOptionDescription { pub unsafe fn Id(&self) -> windows_core::Result { @@ -8057,7 +8057,7 @@ pub struct IOptionDescription_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Labels: usize, } -windows_core::imp::com_interface!(ISpellCheckProvider, ISpellCheckProvider_Vtbl, 0x73e976e0_8ed4_4eb1_80d7_1be0a16b0c38); +windows_core::imp::define_interface!(ISpellCheckProvider, ISpellCheckProvider_Vtbl, 0x73e976e0_8ed4_4eb1_80d7_1be0a16b0c38); windows_core::imp::interface_hierarchy!(ISpellCheckProvider, windows_core::IUnknown); impl ISpellCheckProvider { pub unsafe fn LanguageTag(&self) -> windows_core::Result { @@ -8143,7 +8143,7 @@ pub struct ISpellCheckProvider_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] InitializeWordlist: usize, } -windows_core::imp::com_interface!(ISpellCheckProviderFactory, ISpellCheckProviderFactory_Vtbl, 0x9f671e11_77d6_4c92_aefb_615215e3a4be); +windows_core::imp::define_interface!(ISpellCheckProviderFactory, ISpellCheckProviderFactory_Vtbl, 0x9f671e11_77d6_4c92_aefb_615215e3a4be); windows_core::imp::interface_hierarchy!(ISpellCheckProviderFactory, windows_core::IUnknown); impl ISpellCheckProviderFactory { #[cfg(feature = "Win32_System_Com")] @@ -8176,7 +8176,7 @@ pub struct ISpellCheckProviderFactory_Vtbl { pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::Foundation::BOOL) -> windows_core::HRESULT, pub CreateSpellCheckProvider: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpellChecker, ISpellChecker_Vtbl, 0xb6fd0b71_e2bc_4653_8d05_f197e412770b); +windows_core::imp::define_interface!(ISpellChecker, ISpellChecker_Vtbl, 0xb6fd0b71_e2bc_4653_8d05_f197e412770b); windows_core::imp::interface_hierarchy!(ISpellChecker, windows_core::IUnknown); impl ISpellChecker { pub unsafe fn LanguageTag(&self) -> windows_core::Result { @@ -8286,7 +8286,7 @@ pub struct ISpellChecker_Vtbl { pub GetOptionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ComprehensiveCheck: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpellChecker2, ISpellChecker2_Vtbl, 0xe7ed1c71_87f7_4378_a840_c9200dacee47); +windows_core::imp::define_interface!(ISpellChecker2, ISpellChecker2_Vtbl, 0xe7ed1c71_87f7_4378_a840_c9200dacee47); windows_core::imp::interface_hierarchy!(ISpellChecker2, windows_core::IUnknown, ISpellChecker); impl ISpellChecker2 { pub unsafe fn LanguageTag(&self) -> windows_core::Result { @@ -8383,7 +8383,7 @@ pub struct ISpellChecker2_Vtbl { pub base__: ISpellChecker_Vtbl, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpellCheckerChangedEventHandler, ISpellCheckerChangedEventHandler_Vtbl, 0x0b83a5b0_792f_4eab_9799_acf52c5ed08a); +windows_core::imp::define_interface!(ISpellCheckerChangedEventHandler, ISpellCheckerChangedEventHandler_Vtbl, 0x0b83a5b0_792f_4eab_9799_acf52c5ed08a); windows_core::imp::interface_hierarchy!(ISpellCheckerChangedEventHandler, windows_core::IUnknown); impl ISpellCheckerChangedEventHandler { pub unsafe fn Invoke(&self, sender: P0) -> windows_core::Result<()> @@ -8398,7 +8398,7 @@ pub struct ISpellCheckerChangedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpellCheckerFactory, ISpellCheckerFactory_Vtbl, 0x8e018a9d_2415_4677_bf08_794ea61f94bb); +windows_core::imp::define_interface!(ISpellCheckerFactory, ISpellCheckerFactory_Vtbl, 0x8e018a9d_2415_4677_bf08_794ea61f94bb); windows_core::imp::interface_hierarchy!(ISpellCheckerFactory, windows_core::IUnknown); impl ISpellCheckerFactory { #[cfg(feature = "Win32_System_Com")] @@ -8431,7 +8431,7 @@ pub struct ISpellCheckerFactory_Vtbl { pub IsSupported: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::Foundation::BOOL) -> windows_core::HRESULT, pub CreateSpellChecker: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpellingError, ISpellingError_Vtbl, 0xb7c82d61_fbe8_4b47_9b27_6c0d2e0de0a3); +windows_core::imp::define_interface!(ISpellingError, ISpellingError_Vtbl, 0xb7c82d61_fbe8_4b47_9b27_6c0d2e0de0a3); windows_core::imp::interface_hierarchy!(ISpellingError, windows_core::IUnknown); impl ISpellingError { pub unsafe fn StartIndex(&self) -> windows_core::Result { @@ -8459,7 +8459,7 @@ pub struct ISpellingError_Vtbl { pub CorrectiveAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CORRECTIVE_ACTION) -> windows_core::HRESULT, pub Replacement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserDictionariesRegistrar, IUserDictionariesRegistrar_Vtbl, 0xaa176b85_0e12_4844_8e1a_eef1da77f586); +windows_core::imp::define_interface!(IUserDictionariesRegistrar, IUserDictionariesRegistrar_Vtbl, 0xaa176b85_0e12_4844_8e1a_eef1da77f586); windows_core::imp::interface_hierarchy!(IUserDictionariesRegistrar, windows_core::IUnknown); impl IUserDictionariesRegistrar { pub unsafe fn RegisterUserDictionary(&self, dictionarypath: P0, languagetag: P1) -> windows_core::Result<()> 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 c1fc1278ce..2e0a4f11a3 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/mod.rs @@ -6,7 +6,7 @@ where windows_targets::link!("dcomp.dll" "system" fn CreatePresentationFactory(d3ddevice : * mut core::ffi::c_void, riid : *const windows_core::GUID, presentationfactory : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); CreatePresentationFactory(d3ddevice.into_param().abi(), riid, presentationfactory).ok() } -windows_core::imp::com_interface!(ICompositionFramePresentStatistics, ICompositionFramePresentStatistics_Vtbl, 0xab41d127_c101_4c0a_911d_f9f2e9d08e64); +windows_core::imp::define_interface!(ICompositionFramePresentStatistics, ICompositionFramePresentStatistics_Vtbl, 0xab41d127_c101_4c0a_911d_f9f2e9d08e64); windows_core::imp::interface_hierarchy!(ICompositionFramePresentStatistics, windows_core::IUnknown, IPresentStatistics); impl ICompositionFramePresentStatistics { pub unsafe fn GetPresentId(&self) -> u64 { @@ -36,7 +36,7 @@ pub struct ICompositionFramePresentStatistics_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDisplayInstanceArray: usize, } -windows_core::imp::com_interface!(IIndependentFlipFramePresentStatistics, IIndependentFlipFramePresentStatistics_Vtbl, 0x8c93be27_ad94_4da0_8fd4_2413132d124e); +windows_core::imp::define_interface!(IIndependentFlipFramePresentStatistics, IIndependentFlipFramePresentStatistics_Vtbl, 0x8c93be27_ad94_4da0_8fd4_2413132d124e); windows_core::imp::interface_hierarchy!(IIndependentFlipFramePresentStatistics, windows_core::IUnknown, IPresentStatistics); impl IIndependentFlipFramePresentStatistics { pub unsafe fn GetPresentId(&self) -> u64 { @@ -76,7 +76,7 @@ pub struct IIndependentFlipFramePresentStatistics_Vtbl { pub GetDisplayedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SystemInterruptTime), pub GetPresentDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SystemInterruptTime), } -windows_core::imp::com_interface!(IPresentStatistics, IPresentStatistics_Vtbl, 0xb44b8bda_7282_495d_9dd7_ceadd8b4bb86); +windows_core::imp::define_interface!(IPresentStatistics, IPresentStatistics_Vtbl, 0xb44b8bda_7282_495d_9dd7_ceadd8b4bb86); windows_core::imp::interface_hierarchy!(IPresentStatistics, windows_core::IUnknown); impl IPresentStatistics { pub unsafe fn GetPresentId(&self) -> u64 { @@ -92,7 +92,7 @@ pub struct IPresentStatistics_Vtbl { pub GetPresentId: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, pub GetKind: unsafe extern "system" fn(*mut core::ffi::c_void) -> PresentStatisticsKind, } -windows_core::imp::com_interface!(IPresentStatusPresentStatistics, IPresentStatusPresentStatistics_Vtbl, 0xc9ed2a41_79cb_435e_964e_c8553055420c); +windows_core::imp::define_interface!(IPresentStatusPresentStatistics, IPresentStatusPresentStatistics_Vtbl, 0xc9ed2a41_79cb_435e_964e_c8553055420c); windows_core::imp::interface_hierarchy!(IPresentStatusPresentStatistics, windows_core::IUnknown, IPresentStatistics); impl IPresentStatusPresentStatistics { pub unsafe fn GetPresentId(&self) -> u64 { @@ -114,7 +114,7 @@ pub struct IPresentStatusPresentStatistics_Vtbl { pub GetCompositionFrameId: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, pub GetPresentStatus: unsafe extern "system" fn(*mut core::ffi::c_void) -> PresentStatus, } -windows_core::imp::com_interface!(IPresentationBuffer, IPresentationBuffer_Vtbl, 0x2e217d3a_5abb_4138_9a13_a775593c89ca); +windows_core::imp::define_interface!(IPresentationBuffer, IPresentationBuffer_Vtbl, 0x2e217d3a_5abb_4138_9a13_a775593c89ca); windows_core::imp::interface_hierarchy!(IPresentationBuffer, windows_core::IUnknown); impl IPresentationBuffer { pub unsafe fn GetAvailableEvent(&self) -> windows_core::Result { @@ -132,7 +132,7 @@ pub struct IPresentationBuffer_Vtbl { pub GetAvailableEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub IsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPresentationContent, IPresentationContent_Vtbl, 0x5668bb79_3d8e_415c_b215_f38020f2d252); +windows_core::imp::define_interface!(IPresentationContent, IPresentationContent_Vtbl, 0x5668bb79_3d8e_415c_b215_f38020f2d252); windows_core::imp::interface_hierarchy!(IPresentationContent, windows_core::IUnknown); impl IPresentationContent { pub unsafe fn SetTag(&self, tag: usize) { @@ -144,7 +144,7 @@ pub struct IPresentationContent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetTag: unsafe extern "system" fn(*mut core::ffi::c_void, usize), } -windows_core::imp::com_interface!(IPresentationFactory, IPresentationFactory_Vtbl, 0x8fb37b58_1d74_4f64_a49c_1f97a80a2ec0); +windows_core::imp::define_interface!(IPresentationFactory, IPresentationFactory_Vtbl, 0x8fb37b58_1d74_4f64_a49c_1f97a80a2ec0); windows_core::imp::interface_hierarchy!(IPresentationFactory, windows_core::IUnknown); impl IPresentationFactory { pub unsafe fn IsPresentationSupported(&self) -> u8 { @@ -165,7 +165,7 @@ pub struct IPresentationFactory_Vtbl { pub IsPresentationSupportedWithIndependentFlip: unsafe extern "system" fn(*mut core::ffi::c_void) -> u8, pub CreatePresentationManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPresentationManager, IPresentationManager_Vtbl, 0xfb562f82_6292_470a_88b1_843661e7f20c); +windows_core::imp::define_interface!(IPresentationManager, IPresentationManager_Vtbl, 0xfb562f82_6292_470a_88b1_843661e7f20c); windows_core::imp::interface_hierarchy!(IPresentationManager, windows_core::IUnknown); impl IPresentationManager { pub unsafe fn AddBufferFromResource(&self, resource: P0) -> windows_core::Result @@ -237,7 +237,7 @@ pub struct IPresentationManager_Vtbl { pub EnablePresentStatisticsKind: unsafe extern "system" fn(*mut core::ffi::c_void, PresentStatisticsKind, u8) -> windows_core::HRESULT, pub GetNextPresentStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPresentationSurface, IPresentationSurface_Vtbl, 0x956710fb_ea40_4eba_a3eb_4375a0eb4edc); +windows_core::imp::define_interface!(IPresentationSurface, IPresentationSurface_Vtbl, 0x956710fb_ea40_4eba_a3eb_4375a0eb4edc); windows_core::imp::interface_hierarchy!(IPresentationSurface, windows_core::IUnknown, IPresentationContent); impl IPresentationSurface { pub unsafe fn SetTag(&self, tag: usize) { 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 3fd715ff37..f2427ffc6f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/mod.rs @@ -7,7 +7,7 @@ where let mut result__ = std::ptr::null_mut(); DXCoreCreateAdapterFactory(&T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } -windows_core::imp::com_interface!(IDXCoreAdapter, IDXCoreAdapter_Vtbl, 0xf0db4c7f_fe5a_42a2_bd62_f2a6cf6fc83e); +windows_core::imp::define_interface!(IDXCoreAdapter, IDXCoreAdapter_Vtbl, 0xf0db4c7f_fe5a_42a2_bd62_f2a6cf6fc83e); windows_core::imp::interface_hierarchy!(IDXCoreAdapter, windows_core::IUnknown); impl IDXCoreAdapter { pub unsafe fn IsValid(&self) -> bool { @@ -60,7 +60,7 @@ pub struct IDXCoreAdapter_Vtbl { pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, DXCoreAdapterState, usize, *const core::ffi::c_void, usize, *const core::ffi::c_void) -> windows_core::HRESULT, pub GetFactory: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXCoreAdapterFactory, IDXCoreAdapterFactory_Vtbl, 0x78ee5945_c36e_4b13_a669_005dd11c0f06); +windows_core::imp::define_interface!(IDXCoreAdapterFactory, IDXCoreAdapterFactory_Vtbl, 0x78ee5945_c36e_4b13_a669_005dd11c0f06); windows_core::imp::interface_hierarchy!(IDXCoreAdapterFactory, windows_core::IUnknown); impl IDXCoreAdapterFactory { pub unsafe fn CreateAdapterList(&self, filterattributes: &[windows_core::GUID]) -> windows_core::Result @@ -100,7 +100,7 @@ pub struct IDXCoreAdapterFactory_Vtbl { pub RegisterEventNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DXCoreNotificationType, PFN_DXCORE_NOTIFICATION_CALLBACK, *const core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UnregisterEventNotification: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXCoreAdapterList, IDXCoreAdapterList_Vtbl, 0x526c7776_40e9_459b_b711_f32ad76dfc28); +windows_core::imp::define_interface!(IDXCoreAdapterList, IDXCoreAdapterList_Vtbl, 0x526c7776_40e9_459b_b711_f32ad76dfc28); windows_core::imp::interface_hierarchy!(IDXCoreAdapterList, windows_core::IUnknown); impl IDXCoreAdapterList { pub unsafe fn GetAdapter(&self, index: u32) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs index 58dbabe385..f840e650dd 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ID2D1SimplifiedGeometrySink, ID2D1SimplifiedGeometrySink_Vtbl, 0x2cd9069e_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1SimplifiedGeometrySink, ID2D1SimplifiedGeometrySink_Vtbl, 0x2cd9069e_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1SimplifiedGeometrySink, windows_core::IUnknown); impl ID2D1SimplifiedGeometrySink { pub unsafe fn SetFillMode(&self, fillmode: D2D1_FILL_MODE) { 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 17656bbab9..5283caf1c2 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -86,7 +86,7 @@ pub unsafe fn D2D1Vec3Length(x: f32, y: f32, z: f32) -> f32 { windows_targets::link!("d2d1.dll" "system" fn D2D1Vec3Length(x : f32, y : f32, z : f32) -> f32); D2D1Vec3Length(x, y, z) } -windows_core::imp::com_interface!(ID2D1AnalysisTransform, ID2D1AnalysisTransform_Vtbl, 0x0359dc30_95e6_4568_9055_27720d130e93); +windows_core::imp::define_interface!(ID2D1AnalysisTransform, ID2D1AnalysisTransform_Vtbl, 0x0359dc30_95e6_4568_9055_27720d130e93); windows_core::imp::interface_hierarchy!(ID2D1AnalysisTransform, windows_core::IUnknown); impl ID2D1AnalysisTransform { pub unsafe fn ProcessAnalysisResults(&self, analysisdata: &[u8]) -> windows_core::Result<()> { @@ -100,7 +100,7 @@ pub struct ID2D1AnalysisTransform_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProcessAnalysisResults: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1Bitmap, ID2D1Bitmap_Vtbl, 0xa2296057_ea42_4099_983b_539fb6505426); +windows_core::imp::define_interface!(ID2D1Bitmap, ID2D1Bitmap_Vtbl, 0xa2296057_ea42_4099_983b_539fb6505426); windows_core::imp::interface_hierarchy!(ID2D1Bitmap, windows_core::IUnknown, ID2D1Resource, ID2D1Image); impl ID2D1Bitmap { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -179,7 +179,7 @@ pub struct ID2D1Bitmap_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] CopyFromMemory: usize, } -windows_core::imp::com_interface!(ID2D1Bitmap1, ID2D1Bitmap1_Vtbl, 0xa898a84c_3873_4588_b08b_ebbf978df041); +windows_core::imp::define_interface!(ID2D1Bitmap1, ID2D1Bitmap1_Vtbl, 0xa898a84c_3873_4588_b08b_ebbf978df041); windows_core::imp::interface_hierarchy!(ID2D1Bitmap1, windows_core::IUnknown, ID2D1Resource, ID2D1Image, ID2D1Bitmap); impl ID2D1Bitmap1 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -261,7 +261,7 @@ pub struct ID2D1Bitmap1_Vtbl { pub Map: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_MAP_OPTIONS, *mut D2D1_MAPPED_RECT) -> windows_core::HRESULT, pub Unmap: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1BitmapBrush, ID2D1BitmapBrush_Vtbl, 0x2cd906aa_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1BitmapBrush, ID2D1BitmapBrush_Vtbl, 0x2cd906aa_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1BitmapBrush, windows_core::IUnknown, ID2D1Resource, ID2D1Brush); impl ID2D1BitmapBrush { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -327,7 +327,7 @@ pub struct ID2D1BitmapBrush_Vtbl { pub GetInterpolationMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_BITMAP_INTERPOLATION_MODE, pub GetBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID2D1BitmapBrush1, ID2D1BitmapBrush1_Vtbl, 0x41343a53_e41a_49a2_91cd_21793bbb62e5); +windows_core::imp::define_interface!(ID2D1BitmapBrush1, ID2D1BitmapBrush1_Vtbl, 0x41343a53_e41a_49a2_91cd_21793bbb62e5); windows_core::imp::interface_hierarchy!(ID2D1BitmapBrush1, windows_core::IUnknown, ID2D1Resource, ID2D1Brush, ID2D1BitmapBrush); impl ID2D1BitmapBrush1 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -393,7 +393,7 @@ pub struct ID2D1BitmapBrush1_Vtbl { pub SetInterpolationMode1: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_INTERPOLATION_MODE), pub GetInterpolationMode1: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_INTERPOLATION_MODE, } -windows_core::imp::com_interface!(ID2D1BitmapRenderTarget, ID2D1BitmapRenderTarget_Vtbl, 0x2cd90695_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1BitmapRenderTarget, ID2D1BitmapRenderTarget_Vtbl, 0x2cd90695_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1BitmapRenderTarget, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); impl ID2D1BitmapRenderTarget { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -704,7 +704,7 @@ pub struct ID2D1BitmapRenderTarget_Vtbl { pub base__: ID2D1RenderTarget_Vtbl, pub GetBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1BlendTransform, ID2D1BlendTransform_Vtbl, 0x63ac0b32_ba44_450f_8806_7f4ca1ff2f1b); +windows_core::imp::define_interface!(ID2D1BlendTransform, ID2D1BlendTransform_Vtbl, 0x63ac0b32_ba44_450f_8806_7f4ca1ff2f1b); windows_core::imp::interface_hierarchy!(ID2D1BlendTransform, windows_core::IUnknown, ID2D1TransformNode, ID2D1ConcreteTransform); impl ID2D1BlendTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -734,7 +734,7 @@ pub struct ID2D1BlendTransform_Vtbl { pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const D2D1_BLEND_DESCRIPTION), pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D2D1_BLEND_DESCRIPTION), } -windows_core::imp::com_interface!(ID2D1BorderTransform, ID2D1BorderTransform_Vtbl, 0x4998735c_3a19_473c_9781_656847e3a347); +windows_core::imp::define_interface!(ID2D1BorderTransform, ID2D1BorderTransform_Vtbl, 0x4998735c_3a19_473c_9781_656847e3a347); windows_core::imp::interface_hierarchy!(ID2D1BorderTransform, windows_core::IUnknown, ID2D1TransformNode, ID2D1ConcreteTransform); impl ID2D1BorderTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -772,7 +772,7 @@ pub struct ID2D1BorderTransform_Vtbl { pub GetExtendModeX: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_EXTEND_MODE, pub GetExtendModeY: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_EXTEND_MODE, } -windows_core::imp::com_interface!(ID2D1BoundsAdjustmentTransform, ID2D1BoundsAdjustmentTransform_Vtbl, 0x90f732e2_5092_4606_a819_8651970baccd); +windows_core::imp::define_interface!(ID2D1BoundsAdjustmentTransform, ID2D1BoundsAdjustmentTransform_Vtbl, 0x90f732e2_5092_4606_a819_8651970baccd); windows_core::imp::interface_hierarchy!(ID2D1BoundsAdjustmentTransform, windows_core::IUnknown, ID2D1TransformNode); impl ID2D1BoundsAdjustmentTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -795,7 +795,7 @@ pub struct ID2D1BoundsAdjustmentTransform_Vtbl { pub SetOutputBounds: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT), pub GetOutputBounds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::RECT), } -windows_core::imp::com_interface!(ID2D1Brush, ID2D1Brush_Vtbl, 0x2cd906a8_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1Brush, ID2D1Brush_Vtbl, 0x2cd906a8_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1Brush, windows_core::IUnknown, ID2D1Resource); impl ID2D1Brush { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -834,7 +834,7 @@ pub struct ID2D1Brush_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] GetTransform: usize, } -windows_core::imp::com_interface!(ID2D1ColorContext, ID2D1ColorContext_Vtbl, 0x1c4820bb_5771_4518_a581_2fe4dd0ec657); +windows_core::imp::define_interface!(ID2D1ColorContext, ID2D1ColorContext_Vtbl, 0x1c4820bb_5771_4518_a581_2fe4dd0ec657); windows_core::imp::interface_hierarchy!(ID2D1ColorContext, windows_core::IUnknown, ID2D1Resource); impl ID2D1ColorContext { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -861,7 +861,7 @@ pub struct ID2D1ColorContext_Vtbl { pub GetProfileSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1ColorContext1, ID2D1ColorContext1_Vtbl, 0x1ab42875_c57f_4be9_bd85_9cd78d6f55ee); +windows_core::imp::define_interface!(ID2D1ColorContext1, ID2D1ColorContext1_Vtbl, 0x1ab42875_c57f_4be9_bd85_9cd78d6f55ee); windows_core::imp::interface_hierarchy!(ID2D1ColorContext1, windows_core::IUnknown, ID2D1Resource, ID2D1ColorContext); impl ID2D1ColorContext1 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -905,7 +905,7 @@ pub struct ID2D1ColorContext1_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] GetSimpleColorProfile: usize, } -windows_core::imp::com_interface!(ID2D1CommandList, ID2D1CommandList_Vtbl, 0xb4f34a19_2383_4d76_94f6_ec343657c3dc); +windows_core::imp::define_interface!(ID2D1CommandList, ID2D1CommandList_Vtbl, 0xb4f34a19_2383_4d76_94f6_ec343657c3dc); windows_core::imp::interface_hierarchy!(ID2D1CommandList, windows_core::IUnknown, ID2D1Resource, ID2D1Image); impl ID2D1CommandList { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -931,7 +931,7 @@ pub struct ID2D1CommandList_Vtbl { pub Stream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1CommandSink, ID2D1CommandSink_Vtbl, 0x54d7898a_a061_40a7_bec7_e465bcba2c4f); +windows_core::imp::define_interface!(ID2D1CommandSink, ID2D1CommandSink_Vtbl, 0x54d7898a_a061_40a7_bec7_e465bcba2c4f); windows_core::imp::interface_hierarchy!(ID2D1CommandSink, windows_core::IUnknown); impl ID2D1CommandSink { pub unsafe fn BeginDraw(&self) -> windows_core::Result<()> { @@ -1140,7 +1140,7 @@ pub struct ID2D1CommandSink_Vtbl { pub PopAxisAlignedClip: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PopLayer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1CommandSink1, ID2D1CommandSink1_Vtbl, 0x9eb767fd_4269_4467_b8c2_eb30cb305743); +windows_core::imp::define_interface!(ID2D1CommandSink1, ID2D1CommandSink1_Vtbl, 0x9eb767fd_4269_4467_b8c2_eb30cb305743); windows_core::imp::interface_hierarchy!(ID2D1CommandSink1, windows_core::IUnknown, ID2D1CommandSink); impl ID2D1CommandSink1 { pub unsafe fn BeginDraw(&self) -> windows_core::Result<()> { @@ -1289,7 +1289,7 @@ pub struct ID2D1CommandSink1_Vtbl { pub base__: ID2D1CommandSink_Vtbl, pub SetPrimitiveBlend1: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_PRIMITIVE_BLEND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1CommandSink2, ID2D1CommandSink2_Vtbl, 0x3bab440e_417e_47df_a2e2_bc0be6a00916); +windows_core::imp::define_interface!(ID2D1CommandSink2, ID2D1CommandSink2_Vtbl, 0x3bab440e_417e_47df_a2e2_bc0be6a00916); windows_core::imp::interface_hierarchy!(ID2D1CommandSink2, windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1); impl ID2D1CommandSink2 { pub unsafe fn BeginDraw(&self) -> windows_core::Result<()> { @@ -1464,7 +1464,7 @@ pub struct ID2D1CommandSink2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] DrawGdiMetafile2: usize, } -windows_core::imp::com_interface!(ID2D1CommandSink3, ID2D1CommandSink3_Vtbl, 0x18079135_4cf3_4868_bc8e_06067e6d242d); +windows_core::imp::define_interface!(ID2D1CommandSink3, ID2D1CommandSink3_Vtbl, 0x18079135_4cf3_4868_bc8e_06067e6d242d); windows_core::imp::interface_hierarchy!(ID2D1CommandSink3, windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2); impl ID2D1CommandSink3 { pub unsafe fn BeginDraw(&self) -> windows_core::Result<()> { @@ -1641,7 +1641,7 @@ pub struct ID2D1CommandSink3_Vtbl { pub base__: ID2D1CommandSink2_Vtbl, pub DrawSpriteBatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, D2D1_BITMAP_INTERPOLATION_MODE, D2D1_SPRITE_OPTIONS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1CommandSink4, ID2D1CommandSink4_Vtbl, 0xc78a6519_40d6_4218_b2de_beeeb744bb3e); +windows_core::imp::define_interface!(ID2D1CommandSink4, ID2D1CommandSink4_Vtbl, 0xc78a6519_40d6_4218_b2de_beeeb744bb3e); windows_core::imp::interface_hierarchy!(ID2D1CommandSink4, windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2, ID2D1CommandSink3); impl ID2D1CommandSink4 { pub unsafe fn BeginDraw(&self) -> windows_core::Result<()> { @@ -1821,7 +1821,7 @@ pub struct ID2D1CommandSink4_Vtbl { pub base__: ID2D1CommandSink3_Vtbl, pub SetPrimitiveBlend2: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_PRIMITIVE_BLEND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1CommandSink5, ID2D1CommandSink5_Vtbl, 0x7047dd26_b1e7_44a7_959a_8349e2144fa8); +windows_core::imp::define_interface!(ID2D1CommandSink5, ID2D1CommandSink5_Vtbl, 0x7047dd26_b1e7_44a7_959a_8349e2144fa8); windows_core::imp::interface_hierarchy!(ID2D1CommandSink5, windows_core::IUnknown, ID2D1CommandSink, ID2D1CommandSink1, ID2D1CommandSink2, ID2D1CommandSink3, ID2D1CommandSink4); impl ID2D1CommandSink5 { pub unsafe fn BeginDraw(&self) -> windows_core::Result<()> { @@ -2011,7 +2011,7 @@ pub struct ID2D1CommandSink5_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] BlendImage: usize, } -windows_core::imp::com_interface!(ID2D1ComputeInfo, ID2D1ComputeInfo_Vtbl, 0x5598b14b_9fd7_48b7_9bdb_8f0964eb38bc); +windows_core::imp::define_interface!(ID2D1ComputeInfo, ID2D1ComputeInfo_Vtbl, 0x5598b14b_9fd7_48b7_9bdb_8f0964eb38bc); windows_core::imp::interface_hierarchy!(ID2D1ComputeInfo, windows_core::IUnknown, ID2D1RenderInfo); impl ID2D1ComputeInfo { pub unsafe fn SetInputDescription(&self, inputindex: u32, inputdescription: D2D1_INPUT_DESCRIPTION) -> windows_core::Result<()> { @@ -2051,7 +2051,7 @@ pub struct ID2D1ComputeInfo_Vtbl { pub SetComputeShader: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub SetResourceTexture: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1ComputeTransform, ID2D1ComputeTransform_Vtbl, 0x0d85573c_01e3_4f7d_bfd9_0d60608bf3c3); +windows_core::imp::define_interface!(ID2D1ComputeTransform, ID2D1ComputeTransform_Vtbl, 0x0d85573c_01e3_4f7d_bfd9_0d60608bf3c3); windows_core::imp::interface_hierarchy!(ID2D1ComputeTransform, windows_core::IUnknown, ID2D1TransformNode, ID2D1Transform); impl ID2D1ComputeTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -2085,7 +2085,7 @@ pub struct ID2D1ComputeTransform_Vtbl { pub SetComputeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CalculateThreadgroups: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1ConcreteTransform, ID2D1ConcreteTransform_Vtbl, 0x1a799d8a_69f7_4e4c_9fed_437ccc6684cc); +windows_core::imp::define_interface!(ID2D1ConcreteTransform, ID2D1ConcreteTransform_Vtbl, 0x1a799d8a_69f7_4e4c_9fed_437ccc6684cc); windows_core::imp::interface_hierarchy!(ID2D1ConcreteTransform, windows_core::IUnknown, ID2D1TransformNode); impl ID2D1ConcreteTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -2109,7 +2109,7 @@ pub struct ID2D1ConcreteTransform_Vtbl { pub SetOutputBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_BUFFER_PRECISION, D2D1_CHANNEL_DEPTH) -> windows_core::HRESULT, pub SetCached: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } -windows_core::imp::com_interface!(ID2D1DCRenderTarget, ID2D1DCRenderTarget_Vtbl, 0x1c51bc64_de61_46fd_9899_63a5d8f03950); +windows_core::imp::define_interface!(ID2D1DCRenderTarget, ID2D1DCRenderTarget_Vtbl, 0x1c51bc64_de61_46fd_9899_63a5d8f03950); windows_core::imp::interface_hierarchy!(ID2D1DCRenderTarget, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); impl ID2D1DCRenderTarget { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -2426,7 +2426,7 @@ pub struct ID2D1DCRenderTarget_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] BindDC: usize, } -windows_core::imp::com_interface!(ID2D1Device, ID2D1Device_Vtbl, 0x47dd575d_ac05_4cdd_8049_9b02cd16f44c); +windows_core::imp::define_interface!(ID2D1Device, ID2D1Device_Vtbl, 0x47dd575d_ac05_4cdd_8049_9b02cd16f44c); windows_core::imp::interface_hierarchy!(ID2D1Device, windows_core::IUnknown, ID2D1Resource); impl ID2D1Device { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -2471,7 +2471,7 @@ pub struct ID2D1Device_Vtbl { pub GetMaximumTextureMemory: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, pub ClearResources: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } -windows_core::imp::com_interface!(ID2D1Device1, ID2D1Device1_Vtbl, 0xd21768e1_23a4_4823_a14b_7c3eba85d658); +windows_core::imp::define_interface!(ID2D1Device1, ID2D1Device1_Vtbl, 0xd21768e1_23a4_4823_a14b_7c3eba85d658); windows_core::imp::interface_hierarchy!(ID2D1Device1, windows_core::IUnknown, ID2D1Resource, ID2D1Device); impl ID2D1Device1 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -2521,7 +2521,7 @@ pub struct ID2D1Device1_Vtbl { pub SetRenderingPriority: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_RENDERING_PRIORITY), pub CreateDeviceContext2: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_DEVICE_CONTEXT_OPTIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1Device2, ID2D1Device2_Vtbl, 0xa44472e1_8dfb_4e60_8492_6e2861c9ca8b); +windows_core::imp::define_interface!(ID2D1Device2, ID2D1Device2_Vtbl, 0xa44472e1_8dfb_4e60_8492_6e2861c9ca8b); windows_core::imp::interface_hierarchy!(ID2D1Device2, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1); impl ID2D1Device2 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -2589,7 +2589,7 @@ pub struct ID2D1Device2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi"))] GetDxgiDevice: usize, } -windows_core::imp::com_interface!(ID2D1Device3, ID2D1Device3_Vtbl, 0x852f2087_802c_4037_ab60_ff2e7ee6fc01); +windows_core::imp::define_interface!(ID2D1Device3, ID2D1Device3_Vtbl, 0x852f2087_802c_4037_ab60_ff2e7ee6fc01); windows_core::imp::interface_hierarchy!(ID2D1Device3, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2); impl ID2D1Device3 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -2656,7 +2656,7 @@ pub struct ID2D1Device3_Vtbl { pub base__: ID2D1Device2_Vtbl, pub CreateDeviceContext4: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_DEVICE_CONTEXT_OPTIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1Device4, ID2D1Device4_Vtbl, 0xd7bdb159_5683_4a46_bc9c_72dc720b858b); +windows_core::imp::define_interface!(ID2D1Device4, ID2D1Device4_Vtbl, 0xd7bdb159_5683_4a46_bc9c_72dc720b858b); windows_core::imp::interface_hierarchy!(ID2D1Device4, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3); impl ID2D1Device4 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -2735,7 +2735,7 @@ pub struct ID2D1Device4_Vtbl { pub SetMaximumColorGlyphCacheMemory: unsafe extern "system" fn(*mut core::ffi::c_void, u64), pub GetMaximumColorGlyphCacheMemory: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, } -windows_core::imp::com_interface!(ID2D1Device5, ID2D1Device5_Vtbl, 0xd55ba0a4_6405_4694_aef5_08ee1a4358b4); +windows_core::imp::define_interface!(ID2D1Device5, ID2D1Device5_Vtbl, 0xd55ba0a4_6405_4694_aef5_08ee1a4358b4); windows_core::imp::interface_hierarchy!(ID2D1Device5, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4); impl ID2D1Device5 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -2816,7 +2816,7 @@ pub struct ID2D1Device5_Vtbl { pub base__: ID2D1Device4_Vtbl, pub CreateDeviceContext6: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_DEVICE_CONTEXT_OPTIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1Device6, ID2D1Device6_Vtbl, 0x7bfef914_2d75_4bad_be87_e18ddb077b6d); +windows_core::imp::define_interface!(ID2D1Device6, ID2D1Device6_Vtbl, 0x7bfef914_2d75_4bad_be87_e18ddb077b6d); windows_core::imp::interface_hierarchy!(ID2D1Device6, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4, ID2D1Device5); impl ID2D1Device6 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -2901,7 +2901,7 @@ pub struct ID2D1Device6_Vtbl { pub base__: ID2D1Device5_Vtbl, pub CreateDeviceContext7: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_DEVICE_CONTEXT_OPTIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1Device7, ID2D1Device7_Vtbl, 0xf07c8968_dd4e_4ba6_9cbd_eb6d3752dcbb); +windows_core::imp::define_interface!(ID2D1Device7, ID2D1Device7_Vtbl, 0xf07c8968_dd4e_4ba6_9cbd_eb6d3752dcbb); windows_core::imp::interface_hierarchy!(ID2D1Device7, windows_core::IUnknown, ID2D1Resource, ID2D1Device, ID2D1Device1, ID2D1Device2, ID2D1Device3, ID2D1Device4, ID2D1Device5, ID2D1Device6); impl ID2D1Device7 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -2990,7 +2990,7 @@ pub struct ID2D1Device7_Vtbl { pub base__: ID2D1Device6_Vtbl, pub CreateDeviceContext8: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_DEVICE_CONTEXT_OPTIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1DeviceContext, ID2D1DeviceContext_Vtbl, 0xe8f7fe7a_191c_466d_ad95_975678bda998); +windows_core::imp::define_interface!(ID2D1DeviceContext, ID2D1DeviceContext_Vtbl, 0xe8f7fe7a_191c_466d_ad95_975678bda998); windows_core::imp::interface_hierarchy!(ID2D1DeviceContext, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); impl ID2D1DeviceContext { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -3603,7 +3603,7 @@ pub struct ID2D1DeviceContext_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] FillOpacityMask2: usize, } -windows_core::imp::com_interface!(ID2D1DeviceContext1, ID2D1DeviceContext1_Vtbl, 0xd37f57e4_6908_459f_a199_e72f24f79987); +windows_core::imp::define_interface!(ID2D1DeviceContext1, ID2D1DeviceContext1_Vtbl, 0xd37f57e4_6908_459f_a199_e72f24f79987); windows_core::imp::interface_hierarchy!(ID2D1DeviceContext1, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext); impl ID2D1DeviceContext1 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -4140,7 +4140,7 @@ pub struct ID2D1DeviceContext1_Vtbl { pub CreateStrokedGeometryRealization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f32, f32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DrawGeometryRealization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID2D1DeviceContext2, ID2D1DeviceContext2_Vtbl, 0x394ea6a3_0c34_4321_950b_6ca20f0be6c7); +windows_core::imp::define_interface!(ID2D1DeviceContext2, ID2D1DeviceContext2_Vtbl, 0x394ea6a3_0c34_4321_950b_6ca20f0be6c7); windows_core::imp::interface_hierarchy!(ID2D1DeviceContext2, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1); impl ID2D1DeviceContext2 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -4770,7 +4770,7 @@ pub struct ID2D1DeviceContext2_Vtbl { DrawGdiMetafile2: usize, pub CreateTransformedImageSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1DeviceContext3, ID2D1DeviceContext3_Vtbl, 0x235a7496_8351_414c_bcd4_6672ab2d8e00); +windows_core::imp::define_interface!(ID2D1DeviceContext3, ID2D1DeviceContext3_Vtbl, 0x235a7496_8351_414c_bcd4_6672ab2d8e00); windows_core::imp::interface_hierarchy!(ID2D1DeviceContext3, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2); impl ID2D1DeviceContext3 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -5384,7 +5384,7 @@ pub struct ID2D1DeviceContext3_Vtbl { pub CreateSpriteBatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DrawSpriteBatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, D2D1_BITMAP_INTERPOLATION_MODE, D2D1_SPRITE_OPTIONS), } -windows_core::imp::com_interface!(ID2D1DeviceContext4, ID2D1DeviceContext4_Vtbl, 0x8c427831_3d90_4476_b647_c4fae349e4db); +windows_core::imp::define_interface!(ID2D1DeviceContext4, ID2D1DeviceContext4_Vtbl, 0x8c427831_3d90_4476_b647_c4fae349e4db); windows_core::imp::interface_hierarchy!(ID2D1DeviceContext4, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3); impl ID2D1DeviceContext4 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -6073,7 +6073,7 @@ pub struct ID2D1DeviceContext4_Vtbl { #[cfg(not(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite")))] GetSvgGlyphImage: usize, } -windows_core::imp::com_interface!(ID2D1DeviceContext5, ID2D1DeviceContext5_Vtbl, 0x7836d248_68cc_4df6_b9e8_de991bf62eb7); +windows_core::imp::define_interface!(ID2D1DeviceContext5, ID2D1DeviceContext5_Vtbl, 0x7836d248_68cc_4df6_b9e8_de991bf62eb7); windows_core::imp::interface_hierarchy!(ID2D1DeviceContext5, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4); impl ID2D1DeviceContext5 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -6774,7 +6774,7 @@ pub struct ID2D1DeviceContext5_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] CreateColorContextFromSimpleColorProfile: usize, } -windows_core::imp::com_interface!(ID2D1DeviceContext6, ID2D1DeviceContext6_Vtbl, 0x985f7e37_4ed0_4a19_98a3_15b0edfde306); +windows_core::imp::define_interface!(ID2D1DeviceContext6, ID2D1DeviceContext6_Vtbl, 0x985f7e37_4ed0_4a19_98a3_15b0edfde306); windows_core::imp::interface_hierarchy!(ID2D1DeviceContext6, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4, ID2D1DeviceContext5); impl ID2D1DeviceContext6 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -7473,7 +7473,7 @@ pub struct ID2D1DeviceContext6_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] BlendImage: usize, } -windows_core::imp::com_interface!(ID2D1DeviceContext7, ID2D1DeviceContext7_Vtbl, 0xec891cf7_9b69_4851_9def_4e0915771e62); +windows_core::imp::define_interface!(ID2D1DeviceContext7, ID2D1DeviceContext7_Vtbl, 0xec891cf7_9b69_4851_9def_4e0915771e62); windows_core::imp::interface_hierarchy!(ID2D1DeviceContext7, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget, ID2D1DeviceContext, ID2D1DeviceContext1, ID2D1DeviceContext2, ID2D1DeviceContext3, ID2D1DeviceContext4, ID2D1DeviceContext5, ID2D1DeviceContext6); impl ID2D1DeviceContext7 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -8195,7 +8195,7 @@ pub struct ID2D1DeviceContext7_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_DirectWrite")))] DrawGlyphRunWithColorSupport: usize, } -windows_core::imp::com_interface!(ID2D1DrawInfo, ID2D1DrawInfo_Vtbl, 0x693ce632_7f2f_45de_93fe_18d88b37aa21); +windows_core::imp::define_interface!(ID2D1DrawInfo, ID2D1DrawInfo_Vtbl, 0x693ce632_7f2f_45de_93fe_18d88b37aa21); windows_core::imp::interface_hierarchy!(ID2D1DrawInfo, windows_core::IUnknown, ID2D1RenderInfo); impl ID2D1DrawInfo { pub unsafe fn SetInputDescription(&self, inputindex: u32, inputdescription: D2D1_INPUT_DESCRIPTION) -> windows_core::Result<()> { @@ -8246,7 +8246,7 @@ pub struct ID2D1DrawInfo_Vtbl { pub SetPixelShader: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, D2D1_PIXEL_OPTIONS) -> windows_core::HRESULT, pub SetVertexProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, D2D1_VERTEX_OPTIONS, *const D2D1_BLEND_DESCRIPTION, *const D2D1_VERTEX_RANGE, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1DrawTransform, ID2D1DrawTransform_Vtbl, 0x36bfdcb6_9739_435d_a30d_a653beff6a6f); +windows_core::imp::define_interface!(ID2D1DrawTransform, ID2D1DrawTransform_Vtbl, 0x36bfdcb6_9739_435d_a30d_a653beff6a6f); windows_core::imp::interface_hierarchy!(ID2D1DrawTransform, windows_core::IUnknown, ID2D1TransformNode, ID2D1Transform); impl ID2D1DrawTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -8276,7 +8276,7 @@ pub struct ID2D1DrawTransform_Vtbl { pub base__: ID2D1Transform_Vtbl, pub SetDrawInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1DrawingStateBlock, ID2D1DrawingStateBlock_Vtbl, 0x28506e39_ebf6_46a1_bb47_fd85565ab957); +windows_core::imp::define_interface!(ID2D1DrawingStateBlock, ID2D1DrawingStateBlock_Vtbl, 0x28506e39_ebf6_46a1_bb47_fd85565ab957); windows_core::imp::interface_hierarchy!(ID2D1DrawingStateBlock, windows_core::IUnknown, ID2D1Resource); impl ID2D1DrawingStateBlock { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -8328,7 +8328,7 @@ pub struct ID2D1DrawingStateBlock_Vtbl { #[cfg(not(feature = "Win32_Graphics_DirectWrite"))] GetTextRenderingParams: usize, } -windows_core::imp::com_interface!(ID2D1DrawingStateBlock1, ID2D1DrawingStateBlock1_Vtbl, 0x689f1f85_c72e_4e33_8f19_85754efd5ace); +windows_core::imp::define_interface!(ID2D1DrawingStateBlock1, ID2D1DrawingStateBlock1_Vtbl, 0x689f1f85_c72e_4e33_8f19_85754efd5ace); windows_core::imp::interface_hierarchy!(ID2D1DrawingStateBlock1, windows_core::IUnknown, ID2D1Resource, ID2D1DrawingStateBlock); impl ID2D1DrawingStateBlock1 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -8380,7 +8380,7 @@ pub struct ID2D1DrawingStateBlock1_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] SetDescription2: usize, } -windows_core::imp::com_interface!(ID2D1Effect, ID2D1Effect_Vtbl, 0x28211a43_7d89_476f_8181_2d6159b220ad); +windows_core::imp::define_interface!(ID2D1Effect, ID2D1Effect_Vtbl, 0x28211a43_7d89_476f_8181_2d6159b220ad); windows_core::imp::interface_hierarchy!(ID2D1Effect, windows_core::IUnknown, ID2D1Properties); impl ID2D1Effect { pub unsafe fn GetPropertyCount(&self) -> u32 { @@ -8461,7 +8461,7 @@ pub struct ID2D1Effect_Vtbl { pub GetInputCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetOutput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID2D1EffectContext, ID2D1EffectContext_Vtbl, 0x3d9f916b_27dc_4ad7_b4f1_64945340f563); +windows_core::imp::define_interface!(ID2D1EffectContext, ID2D1EffectContext_Vtbl, 0x3d9f916b_27dc_4ad7_b4f1_64945340f563); windows_core::imp::interface_hierarchy!(ID2D1EffectContext, windows_core::IUnknown); impl ID2D1EffectContext { pub unsafe fn GetDpi(&self, dpix: *mut f32, dpiy: *mut f32) { @@ -8590,7 +8590,7 @@ pub struct ID2D1EffectContext_Vtbl { pub CheckFeatureSupport: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_FEATURE, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub IsBufferPrecisionSupported: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_BUFFER_PRECISION) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(ID2D1EffectContext1, ID2D1EffectContext1_Vtbl, 0x84ab595a_fc81_4546_bacd_e8ef4d8abe7a); +windows_core::imp::define_interface!(ID2D1EffectContext1, ID2D1EffectContext1_Vtbl, 0x84ab595a_fc81_4546_bacd_e8ef4d8abe7a); windows_core::imp::interface_hierarchy!(ID2D1EffectContext1, windows_core::IUnknown, ID2D1EffectContext); impl ID2D1EffectContext1 { pub unsafe fn GetDpi(&self, dpix: *mut f32, dpiy: *mut f32) { @@ -8694,7 +8694,7 @@ pub struct ID2D1EffectContext1_Vtbl { pub base__: ID2D1EffectContext_Vtbl, pub CreateLookupTable3D: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_BUFFER_PRECISION, *const u32, *const u8, u32, *const u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1EffectContext2, ID2D1EffectContext2_Vtbl, 0x577ad2a0_9fc7_4dda_8b18_dab810140052); +windows_core::imp::define_interface!(ID2D1EffectContext2, ID2D1EffectContext2_Vtbl, 0x577ad2a0_9fc7_4dda_8b18_dab810140052); windows_core::imp::interface_hierarchy!(ID2D1EffectContext2, windows_core::IUnknown, ID2D1EffectContext, ID2D1EffectContext1); impl ID2D1EffectContext2 { pub unsafe fn GetDpi(&self, dpix: *mut f32, dpiy: *mut f32) { @@ -8815,7 +8815,7 @@ pub struct ID2D1EffectContext2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] CreateColorContextFromSimpleColorProfile: usize, } -windows_core::imp::com_interface!(ID2D1EffectImpl, ID2D1EffectImpl_Vtbl, 0xa248fd3f_3e6c_4e63_9f03_7f68ecc91db9); +windows_core::imp::define_interface!(ID2D1EffectImpl, ID2D1EffectImpl_Vtbl, 0xa248fd3f_3e6c_4e63_9f03_7f68ecc91db9); windows_core::imp::interface_hierarchy!(ID2D1EffectImpl, windows_core::IUnknown); impl ID2D1EffectImpl { pub unsafe fn Initialize(&self, effectcontext: P0, transformgraph: P1) -> windows_core::Result<()> @@ -8844,7 +8844,7 @@ pub struct ID2D1EffectImpl_Vtbl { pub PrepareForRender: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_CHANGE_TYPE) -> windows_core::HRESULT, pub SetGraph: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1EllipseGeometry, ID2D1EllipseGeometry_Vtbl, 0x2cd906a4_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1EllipseGeometry, ID2D1EllipseGeometry_Vtbl, 0x2cd906a4_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1EllipseGeometry, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ID2D1EllipseGeometry { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -8954,7 +8954,7 @@ pub struct ID2D1EllipseGeometry_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] GetEllipse: usize, } -windows_core::imp::com_interface!(ID2D1Factory, ID2D1Factory_Vtbl, 0x06152247_6f50_465a_9245_118bfd3b6007); +windows_core::imp::define_interface!(ID2D1Factory, ID2D1Factory_Vtbl, 0x06152247_6f50_465a_9245_118bfd3b6007); windows_core::imp::interface_hierarchy!(ID2D1Factory, windows_core::IUnknown); impl ID2D1Factory { pub unsafe fn ReloadSystemMetrics(&self) -> windows_core::Result<()> { @@ -9084,7 +9084,7 @@ pub struct ID2D1Factory_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] CreateDCRenderTarget: usize, } -windows_core::imp::com_interface!(ID2D1Factory1, ID2D1Factory1_Vtbl, 0xbb12d362_daee_4b9a_aa1d_14ba401cfa1f); +windows_core::imp::define_interface!(ID2D1Factory1, ID2D1Factory1_Vtbl, 0xbb12d362_daee_4b9a_aa1d_14ba401cfa1f); windows_core::imp::interface_hierarchy!(ID2D1Factory1, windows_core::IUnknown, ID2D1Factory); impl ID2D1Factory1 { pub unsafe fn ReloadSystemMetrics(&self) -> windows_core::Result<()> { @@ -9247,7 +9247,7 @@ pub struct ID2D1Factory1_Vtbl { pub GetRegisteredEffects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, u32, *mut u32, *mut u32) -> windows_core::HRESULT, pub GetEffectProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1Factory2, ID2D1Factory2_Vtbl, 0x94f81a73_9212_4376_9c58_b16a3a0d3992); +windows_core::imp::define_interface!(ID2D1Factory2, ID2D1Factory2_Vtbl, 0x94f81a73_9212_4376_9c58_b16a3a0d3992); windows_core::imp::interface_hierarchy!(ID2D1Factory2, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1); impl ID2D1Factory2 { pub unsafe fn ReloadSystemMetrics(&self) -> windows_core::Result<()> { @@ -9400,7 +9400,7 @@ pub struct ID2D1Factory2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi"))] CreateDevice2: usize, } -windows_core::imp::com_interface!(ID2D1Factory3, ID2D1Factory3_Vtbl, 0x0869759f_4f00_413f_b03e_2bda45404d0f); +windows_core::imp::define_interface!(ID2D1Factory3, ID2D1Factory3_Vtbl, 0x0869759f_4f00_413f_b03e_2bda45404d0f); windows_core::imp::interface_hierarchy!(ID2D1Factory3, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2); impl ID2D1Factory3 { pub unsafe fn ReloadSystemMetrics(&self) -> windows_core::Result<()> { @@ -9561,7 +9561,7 @@ pub struct ID2D1Factory3_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi"))] CreateDevice3: usize, } -windows_core::imp::com_interface!(ID2D1Factory4, ID2D1Factory4_Vtbl, 0xbd4ec2d2_0662_4bee_ba8e_6f29f032e096); +windows_core::imp::define_interface!(ID2D1Factory4, ID2D1Factory4_Vtbl, 0xbd4ec2d2_0662_4bee_ba8e_6f29f032e096); windows_core::imp::interface_hierarchy!(ID2D1Factory4, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3); impl ID2D1Factory4 { pub unsafe fn ReloadSystemMetrics(&self) -> windows_core::Result<()> { @@ -9730,7 +9730,7 @@ pub struct ID2D1Factory4_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi"))] CreateDevice4: usize, } -windows_core::imp::com_interface!(ID2D1Factory5, ID2D1Factory5_Vtbl, 0xc4349994_838e_4b0f_8cab_44997d9eeacc); +windows_core::imp::define_interface!(ID2D1Factory5, ID2D1Factory5_Vtbl, 0xc4349994_838e_4b0f_8cab_44997d9eeacc); windows_core::imp::interface_hierarchy!(ID2D1Factory5, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4); impl ID2D1Factory5 { pub unsafe fn ReloadSystemMetrics(&self) -> windows_core::Result<()> { @@ -9907,7 +9907,7 @@ pub struct ID2D1Factory5_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi"))] CreateDevice5: usize, } -windows_core::imp::com_interface!(ID2D1Factory6, ID2D1Factory6_Vtbl, 0xf9976f46_f642_44c1_97ca_da32ea2a2635); +windows_core::imp::define_interface!(ID2D1Factory6, ID2D1Factory6_Vtbl, 0xf9976f46_f642_44c1_97ca_da32ea2a2635); windows_core::imp::interface_hierarchy!(ID2D1Factory6, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5); impl ID2D1Factory6 { pub unsafe fn ReloadSystemMetrics(&self) -> windows_core::Result<()> { @@ -10092,7 +10092,7 @@ pub struct ID2D1Factory6_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi"))] CreateDevice6: usize, } -windows_core::imp::com_interface!(ID2D1Factory7, ID2D1Factory7_Vtbl, 0xbdc2bdd3_b96c_4de6_bdf7_99d4745454de); +windows_core::imp::define_interface!(ID2D1Factory7, ID2D1Factory7_Vtbl, 0xbdc2bdd3_b96c_4de6_bdf7_99d4745454de); windows_core::imp::interface_hierarchy!(ID2D1Factory7, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5, ID2D1Factory6); impl ID2D1Factory7 { pub unsafe fn ReloadSystemMetrics(&self) -> windows_core::Result<()> { @@ -10285,7 +10285,7 @@ pub struct ID2D1Factory7_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi"))] CreateDevice7: usize, } -windows_core::imp::com_interface!(ID2D1Factory8, ID2D1Factory8_Vtbl, 0x677c9311_f36d_4b1f_ae86_86d1223ffd3a); +windows_core::imp::define_interface!(ID2D1Factory8, ID2D1Factory8_Vtbl, 0x677c9311_f36d_4b1f_ae86_86d1223ffd3a); windows_core::imp::interface_hierarchy!(ID2D1Factory8, windows_core::IUnknown, ID2D1Factory, ID2D1Factory1, ID2D1Factory2, ID2D1Factory3, ID2D1Factory4, ID2D1Factory5, ID2D1Factory6, ID2D1Factory7); impl ID2D1Factory8 { pub unsafe fn ReloadSystemMetrics(&self) -> windows_core::Result<()> { @@ -10486,7 +10486,7 @@ pub struct ID2D1Factory8_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi"))] CreateDevice8: usize, } -windows_core::imp::com_interface!(ID2D1GdiInteropRenderTarget, ID2D1GdiInteropRenderTarget_Vtbl, 0xe0db51c3_6f77_4bae_b3d5_e47509b35838); +windows_core::imp::define_interface!(ID2D1GdiInteropRenderTarget, ID2D1GdiInteropRenderTarget_Vtbl, 0xe0db51c3_6f77_4bae_b3d5_e47509b35838); windows_core::imp::interface_hierarchy!(ID2D1GdiInteropRenderTarget, windows_core::IUnknown); impl ID2D1GdiInteropRenderTarget { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -10509,7 +10509,7 @@ pub struct ID2D1GdiInteropRenderTarget_Vtbl { GetDC: usize, pub ReleaseDC: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1GdiMetafile, ID2D1GdiMetafile_Vtbl, 0x2f543dc3_cfc1_4211_864f_cfd91c6f3395); +windows_core::imp::define_interface!(ID2D1GdiMetafile, ID2D1GdiMetafile_Vtbl, 0x2f543dc3_cfc1_4211_864f_cfd91c6f3395); windows_core::imp::interface_hierarchy!(ID2D1GdiMetafile, windows_core::IUnknown, ID2D1Resource); impl ID2D1GdiMetafile { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -10540,7 +10540,7 @@ pub struct ID2D1GdiMetafile_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] GetBounds: usize, } -windows_core::imp::com_interface!(ID2D1GdiMetafile1, ID2D1GdiMetafile1_Vtbl, 0x2e69f9e8_dd3f_4bf9_95ba_c04f49d788df); +windows_core::imp::define_interface!(ID2D1GdiMetafile1, ID2D1GdiMetafile1_Vtbl, 0x2e69f9e8_dd3f_4bf9_95ba_c04f49d788df); windows_core::imp::interface_hierarchy!(ID2D1GdiMetafile1, windows_core::IUnknown, ID2D1Resource, ID2D1GdiMetafile); impl ID2D1GdiMetafile1 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -10579,7 +10579,7 @@ pub struct ID2D1GdiMetafile1_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] GetSourceBounds: usize, } -windows_core::imp::com_interface!(ID2D1GdiMetafileSink, ID2D1GdiMetafileSink_Vtbl, 0x82237326_8111_4f7c_bcf4_b5c1175564fe); +windows_core::imp::define_interface!(ID2D1GdiMetafileSink, ID2D1GdiMetafileSink_Vtbl, 0x82237326_8111_4f7c_bcf4_b5c1175564fe); windows_core::imp::interface_hierarchy!(ID2D1GdiMetafileSink, windows_core::IUnknown); impl ID2D1GdiMetafileSink { pub unsafe fn ProcessRecord(&self, recordtype: u32, recorddata: Option<*const core::ffi::c_void>, recorddatasize: u32) -> windows_core::Result<()> { @@ -10593,7 +10593,7 @@ pub struct ID2D1GdiMetafileSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProcessRecord: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1GdiMetafileSink1, ID2D1GdiMetafileSink1_Vtbl, 0xfd0ecb6b_91e6_411e_8655_395e760f91b4); +windows_core::imp::define_interface!(ID2D1GdiMetafileSink1, ID2D1GdiMetafileSink1_Vtbl, 0xfd0ecb6b_91e6_411e_8655_395e760f91b4); windows_core::imp::interface_hierarchy!(ID2D1GdiMetafileSink1, windows_core::IUnknown, ID2D1GdiMetafileSink); impl ID2D1GdiMetafileSink1 { pub unsafe fn ProcessRecord(&self, recordtype: u32, recorddata: Option<*const core::ffi::c_void>, recorddatasize: u32) -> windows_core::Result<()> { @@ -10610,7 +10610,7 @@ pub struct ID2D1GdiMetafileSink1_Vtbl { pub base__: ID2D1GdiMetafileSink_Vtbl, pub ProcessRecord2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1Geometry, ID2D1Geometry_Vtbl, 0x2cd906a1_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1Geometry, ID2D1Geometry_Vtbl, 0x2cd906a1_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1Geometry, windows_core::IUnknown, ID2D1Resource); impl ID2D1Geometry { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -10762,7 +10762,7 @@ pub struct ID2D1Geometry_Vtbl { #[cfg(not(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common")))] Widen: usize, } -windows_core::imp::com_interface!(ID2D1GeometryGroup, ID2D1GeometryGroup_Vtbl, 0x2cd906a6_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1GeometryGroup, ID2D1GeometryGroup_Vtbl, 0x2cd906a6_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1GeometryGroup, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ID2D1GeometryGroup { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -10878,7 +10878,7 @@ pub struct ID2D1GeometryGroup_Vtbl { pub GetSourceGeometryCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetSourceGeometries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32), } -windows_core::imp::com_interface!(ID2D1GeometryRealization, ID2D1GeometryRealization_Vtbl, 0xa16907d7_bc02_4801_99e8_8cf7f485f774); +windows_core::imp::define_interface!(ID2D1GeometryRealization, ID2D1GeometryRealization_Vtbl, 0xa16907d7_bc02_4801_99e8_8cf7f485f774); windows_core::imp::interface_hierarchy!(ID2D1GeometryRealization, windows_core::IUnknown, ID2D1Resource); impl ID2D1GeometryRealization { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -10894,7 +10894,7 @@ pub struct ID2D1GeometryRealization_Vtbl { pub base__: ID2D1Resource_Vtbl, } #[cfg(feature = "Win32_Graphics_Direct2D_Common")] -windows_core::imp::com_interface!(ID2D1GeometrySink, ID2D1GeometrySink_Vtbl, 0x2cd9069f_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1GeometrySink, ID2D1GeometrySink_Vtbl, 0x2cd9069f_12e2_11dc_9fed_001143a055f9); #[cfg(feature = "Win32_Graphics_Direct2D_Common")] windows_core::imp::interface_hierarchy!(ID2D1GeometrySink, windows_core::IUnknown, Common::ID2D1SimplifiedGeometrySink); #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -10977,7 +10977,7 @@ pub struct ID2D1GeometrySink_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] AddArc: usize, } -windows_core::imp::com_interface!(ID2D1GradientMesh, ID2D1GradientMesh_Vtbl, 0xf292e401_c050_4cde_83d7_04962d3b23c2); +windows_core::imp::define_interface!(ID2D1GradientMesh, ID2D1GradientMesh_Vtbl, 0xf292e401_c050_4cde_83d7_04962d3b23c2); windows_core::imp::interface_hierarchy!(ID2D1GradientMesh, windows_core::IUnknown, ID2D1Resource); impl ID2D1GradientMesh { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11004,7 +11004,7 @@ pub struct ID2D1GradientMesh_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] GetPatches: usize, } -windows_core::imp::com_interface!(ID2D1GradientStopCollection, ID2D1GradientStopCollection_Vtbl, 0x2cd906a7_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1GradientStopCollection, ID2D1GradientStopCollection_Vtbl, 0x2cd906a7_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1GradientStopCollection, windows_core::IUnknown, ID2D1Resource); impl ID2D1GradientStopCollection { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11039,7 +11039,7 @@ pub struct ID2D1GradientStopCollection_Vtbl { pub GetColorInterpolationGamma: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_GAMMA, pub GetExtendMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_EXTEND_MODE, } -windows_core::imp::com_interface!(ID2D1GradientStopCollection1, ID2D1GradientStopCollection1_Vtbl, 0xae1572f4_5dd0_4777_998b_9279472ae63b); +windows_core::imp::define_interface!(ID2D1GradientStopCollection1, ID2D1GradientStopCollection1_Vtbl, 0xae1572f4_5dd0_4777_998b_9279472ae63b); windows_core::imp::interface_hierarchy!(ID2D1GradientStopCollection1, windows_core::IUnknown, ID2D1Resource, ID2D1GradientStopCollection); impl ID2D1GradientStopCollection1 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11091,7 +11091,7 @@ pub struct ID2D1GradientStopCollection1_Vtbl { pub GetBufferPrecision: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_BUFFER_PRECISION, pub GetColorInterpolationMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_COLOR_INTERPOLATION_MODE, } -windows_core::imp::com_interface!(ID2D1HwndRenderTarget, ID2D1HwndRenderTarget_Vtbl, 0x2cd90698_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1HwndRenderTarget, ID2D1HwndRenderTarget_Vtbl, 0x2cd90698_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1HwndRenderTarget, windows_core::IUnknown, ID2D1Resource, ID2D1RenderTarget); impl ID2D1HwndRenderTarget { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11413,7 +11413,7 @@ pub struct ID2D1HwndRenderTarget_Vtbl { Resize: usize, pub GetHwnd: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HWND, } -windows_core::imp::com_interface!(ID2D1Image, ID2D1Image_Vtbl, 0x65019f75_8da2_497c_b32c_dfa34e48ede6); +windows_core::imp::define_interface!(ID2D1Image, ID2D1Image_Vtbl, 0x65019f75_8da2_497c_b32c_dfa34e48ede6); windows_core::imp::interface_hierarchy!(ID2D1Image, windows_core::IUnknown, ID2D1Resource); impl ID2D1Image { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11428,7 +11428,7 @@ unsafe impl Sync for ID2D1Image {} pub struct ID2D1Image_Vtbl { pub base__: ID2D1Resource_Vtbl, } -windows_core::imp::com_interface!(ID2D1ImageBrush, ID2D1ImageBrush_Vtbl, 0xfe9e984d_3f95_407c_b5db_cb94d4e8f87c); +windows_core::imp::define_interface!(ID2D1ImageBrush, ID2D1ImageBrush_Vtbl, 0xfe9e984d_3f95_407c_b5db_cb94d4e8f87c); windows_core::imp::interface_hierarchy!(ID2D1ImageBrush, windows_core::IUnknown, ID2D1Resource, ID2D1Brush); impl ID2D1ImageBrush { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11512,7 +11512,7 @@ pub struct ID2D1ImageBrush_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] GetSourceRectangle: usize, } -windows_core::imp::com_interface!(ID2D1ImageSource, ID2D1ImageSource_Vtbl, 0xc9b664e5_74a1_4378_9ac2_eefc37a3f4d8); +windows_core::imp::define_interface!(ID2D1ImageSource, ID2D1ImageSource_Vtbl, 0xc9b664e5_74a1_4378_9ac2_eefc37a3f4d8); windows_core::imp::interface_hierarchy!(ID2D1ImageSource, windows_core::IUnknown, ID2D1Resource, ID2D1Image); impl ID2D1ImageSource { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11536,7 +11536,7 @@ pub struct ID2D1ImageSource_Vtbl { pub OfferResources: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub TryReclaimResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1ImageSourceFromWic, ID2D1ImageSourceFromWic_Vtbl, 0x77395441_1c8f_4555_8683_f50dab0fe792); +windows_core::imp::define_interface!(ID2D1ImageSourceFromWic, ID2D1ImageSourceFromWic_Vtbl, 0x77395441_1c8f_4555_8683_f50dab0fe792); windows_core::imp::interface_hierarchy!(ID2D1ImageSourceFromWic, windows_core::IUnknown, ID2D1Resource, ID2D1Image, ID2D1ImageSource); impl ID2D1ImageSourceFromWic { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11584,7 +11584,7 @@ pub struct ID2D1ImageSourceFromWic_Vtbl { #[cfg(not(feature = "Win32_Graphics_Imaging"))] GetSource: usize, } -windows_core::imp::com_interface!(ID2D1Ink, ID2D1Ink_Vtbl, 0xb499923b_7029_478f_a8b3_432c7c5f5312); +windows_core::imp::define_interface!(ID2D1Ink, ID2D1Ink_Vtbl, 0xb499923b_7029_478f_a8b3_432c7c5f5312); windows_core::imp::interface_hierarchy!(ID2D1Ink, windows_core::IUnknown, ID2D1Resource); impl ID2D1Ink { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11657,7 +11657,7 @@ pub struct ID2D1Ink_Vtbl { #[cfg(not(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common")))] GetBounds: usize, } -windows_core::imp::com_interface!(ID2D1InkStyle, ID2D1InkStyle_Vtbl, 0xbae8b344_23fc_4071_8cb5_d05d6f073848); +windows_core::imp::define_interface!(ID2D1InkStyle, ID2D1InkStyle_Vtbl, 0xbae8b344_23fc_4071_8cb5_d05d6f073848); windows_core::imp::interface_hierarchy!(ID2D1InkStyle, windows_core::IUnknown, ID2D1Resource); impl ID2D1InkStyle { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11696,7 +11696,7 @@ pub struct ID2D1InkStyle_Vtbl { pub SetNibShape: unsafe extern "system" fn(*mut core::ffi::c_void, D2D1_INK_NIB_SHAPE), pub GetNibShape: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_INK_NIB_SHAPE, } -windows_core::imp::com_interface!(ID2D1Layer, ID2D1Layer_Vtbl, 0x2cd9069b_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1Layer, ID2D1Layer_Vtbl, 0x2cd9069b_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1Layer, windows_core::IUnknown, ID2D1Resource); impl ID2D1Layer { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11721,7 +11721,7 @@ pub struct ID2D1Layer_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] GetSize: usize, } -windows_core::imp::com_interface!(ID2D1LinearGradientBrush, ID2D1LinearGradientBrush_Vtbl, 0x2cd906ab_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1LinearGradientBrush, ID2D1LinearGradientBrush_Vtbl, 0x2cd906ab_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1LinearGradientBrush, windows_core::IUnknown, ID2D1Resource, ID2D1Brush); impl ID2D1LinearGradientBrush { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11792,7 +11792,7 @@ pub struct ID2D1LinearGradientBrush_Vtbl { GetEndPoint: usize, pub GetGradientStopCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID2D1LookupTable3D, ID2D1LookupTable3D_Vtbl, 0x53dd9855_a3b0_4d5b_82e1_26e25c5e5797); +windows_core::imp::define_interface!(ID2D1LookupTable3D, ID2D1LookupTable3D_Vtbl, 0x53dd9855_a3b0_4d5b_82e1_26e25c5e5797); windows_core::imp::interface_hierarchy!(ID2D1LookupTable3D, windows_core::IUnknown, ID2D1Resource); impl ID2D1LookupTable3D { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11807,7 +11807,7 @@ unsafe impl Sync for ID2D1LookupTable3D {} pub struct ID2D1LookupTable3D_Vtbl { pub base__: ID2D1Resource_Vtbl, } -windows_core::imp::com_interface!(ID2D1Mesh, ID2D1Mesh_Vtbl, 0x2cd906c2_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1Mesh, ID2D1Mesh_Vtbl, 0x2cd906c2_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1Mesh, windows_core::IUnknown, ID2D1Resource); impl ID2D1Mesh { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -11827,7 +11827,7 @@ pub struct ID2D1Mesh_Vtbl { pub base__: ID2D1Resource_Vtbl, pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1Multithread, ID2D1Multithread_Vtbl, 0x31e6e7bc_e0ff_4d46_8c64_a0a8c41c15d3); +windows_core::imp::define_interface!(ID2D1Multithread, ID2D1Multithread_Vtbl, 0x31e6e7bc_e0ff_4d46_8c64_a0a8c41c15d3); windows_core::imp::interface_hierarchy!(ID2D1Multithread, windows_core::IUnknown); impl ID2D1Multithread { pub unsafe fn GetMultithreadProtected(&self) -> super::super::Foundation::BOOL { @@ -11849,7 +11849,7 @@ pub struct ID2D1Multithread_Vtbl { pub Enter: unsafe extern "system" fn(*mut core::ffi::c_void), pub Leave: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID2D1OffsetTransform, ID2D1OffsetTransform_Vtbl, 0x3fe6adea_7643_4f53_bd14_a0ce63f24042); +windows_core::imp::define_interface!(ID2D1OffsetTransform, ID2D1OffsetTransform_Vtbl, 0x3fe6adea_7643_4f53_bd14_a0ce63f24042); windows_core::imp::interface_hierarchy!(ID2D1OffsetTransform, windows_core::IUnknown, ID2D1TransformNode); impl ID2D1OffsetTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -11872,7 +11872,7 @@ pub struct ID2D1OffsetTransform_Vtbl { pub SetOffset: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::POINT), pub GetOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::POINT), } -windows_core::imp::com_interface!(ID2D1PathGeometry, ID2D1PathGeometry_Vtbl, 0x2cd906a5_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1PathGeometry, ID2D1PathGeometry_Vtbl, 0x2cd906a5_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1PathGeometry, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ID2D1PathGeometry { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -12002,7 +12002,7 @@ pub struct ID2D1PathGeometry_Vtbl { pub GetSegmentCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetFigureCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1PathGeometry1, ID2D1PathGeometry1_Vtbl, 0x62baa2d2_ab54_41b7_b872_787e0106a421); +windows_core::imp::define_interface!(ID2D1PathGeometry1, ID2D1PathGeometry1_Vtbl, 0x62baa2d2_ab54_41b7_b872_787e0106a421); windows_core::imp::interface_hierarchy!(ID2D1PathGeometry1, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry, ID2D1PathGeometry); impl ID2D1PathGeometry1 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -12130,7 +12130,7 @@ pub struct ID2D1PathGeometry1_Vtbl { #[cfg(not(all(feature = "Foundation_Numerics", feature = "Win32_Graphics_Direct2D_Common")))] ComputePointAndSegmentAtLength: usize, } -windows_core::imp::com_interface!(ID2D1PrintControl, ID2D1PrintControl_Vtbl, 0x2c1d867d_c290_41c8_ae7e_34a98702e9a5); +windows_core::imp::define_interface!(ID2D1PrintControl, ID2D1PrintControl_Vtbl, 0x2c1d867d_c290_41c8_ae7e_34a98702e9a5); windows_core::imp::interface_hierarchy!(ID2D1PrintControl, windows_core::IUnknown); impl ID2D1PrintControl { #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_System_Com"))] @@ -12156,7 +12156,7 @@ pub struct ID2D1PrintControl_Vtbl { AddPage: usize, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1Properties, ID2D1Properties_Vtbl, 0x483473d7_cd46_4f9d_9d3a_3112aa80159d); +windows_core::imp::define_interface!(ID2D1Properties, ID2D1Properties_Vtbl, 0x483473d7_cd46_4f9d_9d3a_3112aa80159d); windows_core::imp::interface_hierarchy!(ID2D1Properties, windows_core::IUnknown); impl ID2D1Properties { pub unsafe fn GetPropertyCount(&self) -> u32 { @@ -12220,7 +12220,7 @@ pub struct ID2D1Properties_Vtbl { pub GetValueSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, pub GetSubProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1RadialGradientBrush, ID2D1RadialGradientBrush_Vtbl, 0x2cd906ac_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1RadialGradientBrush, ID2D1RadialGradientBrush_Vtbl, 0x2cd906ac_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1RadialGradientBrush, windows_core::IUnknown, ID2D1Resource, ID2D1Brush); impl ID2D1RadialGradientBrush { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -12307,7 +12307,7 @@ pub struct ID2D1RadialGradientBrush_Vtbl { pub GetRadiusY: unsafe extern "system" fn(*mut core::ffi::c_void) -> f32, pub GetGradientStopCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID2D1RectangleGeometry, ID2D1RectangleGeometry_Vtbl, 0x2cd906a2_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1RectangleGeometry, ID2D1RectangleGeometry_Vtbl, 0x2cd906a2_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1RectangleGeometry, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ID2D1RectangleGeometry { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -12417,7 +12417,7 @@ pub struct ID2D1RectangleGeometry_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] GetRect: usize, } -windows_core::imp::com_interface!(ID2D1RenderInfo, ID2D1RenderInfo_Vtbl, 0x519ae1bd_d19a_420d_b849_364f594776b7); +windows_core::imp::define_interface!(ID2D1RenderInfo, ID2D1RenderInfo_Vtbl, 0x519ae1bd_d19a_420d_b849_364f594776b7); windows_core::imp::interface_hierarchy!(ID2D1RenderInfo, windows_core::IUnknown); impl ID2D1RenderInfo { pub unsafe fn SetInputDescription(&self, inputindex: u32, inputdescription: D2D1_INPUT_DESCRIPTION) -> windows_core::Result<()> { @@ -12446,7 +12446,7 @@ pub struct ID2D1RenderInfo_Vtbl { pub SetCached: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), pub SetInstructionCountHint: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } -windows_core::imp::com_interface!(ID2D1RenderTarget, ID2D1RenderTarget_Vtbl, 0x2cd90694_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1RenderTarget, ID2D1RenderTarget_Vtbl, 0x2cd90694_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1RenderTarget, windows_core::IUnknown, ID2D1Resource); impl ID2D1RenderTarget { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -12904,7 +12904,7 @@ pub struct ID2D1RenderTarget_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] IsSupported: usize, } -windows_core::imp::com_interface!(ID2D1Resource, ID2D1Resource_Vtbl, 0x2cd90691_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1Resource, ID2D1Resource_Vtbl, 0x2cd90691_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1Resource, windows_core::IUnknown); impl ID2D1Resource { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -12920,7 +12920,7 @@ pub struct ID2D1Resource_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetFactory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID2D1ResourceTexture, ID2D1ResourceTexture_Vtbl, 0x688d15c3_02b0_438d_b13a_d1b44c32c39a); +windows_core::imp::define_interface!(ID2D1ResourceTexture, ID2D1ResourceTexture_Vtbl, 0x688d15c3_02b0_438d_b13a_d1b44c32c39a); windows_core::imp::interface_hierarchy!(ID2D1ResourceTexture, windows_core::IUnknown); impl ID2D1ResourceTexture { pub unsafe fn Update(&self, minimumextents: Option<*const u32>, maximimumextents: Option<*const u32>, strides: Option<*const u32>, dimensions: u32, data: &[u8]) -> windows_core::Result<()> { @@ -12934,7 +12934,7 @@ pub struct ID2D1ResourceTexture_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, *const u32, *const u32, *const u32, u32, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1RoundedRectangleGeometry, ID2D1RoundedRectangleGeometry_Vtbl, 0x2cd906a3_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1RoundedRectangleGeometry, ID2D1RoundedRectangleGeometry_Vtbl, 0x2cd906a3_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1RoundedRectangleGeometry, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ID2D1RoundedRectangleGeometry { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13042,7 +13042,7 @@ pub struct ID2D1RoundedRectangleGeometry_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] GetRoundedRect: usize, } -windows_core::imp::com_interface!(ID2D1SolidColorBrush, ID2D1SolidColorBrush_Vtbl, 0x2cd906a9_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1SolidColorBrush, ID2D1SolidColorBrush_Vtbl, 0x2cd906a9_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1SolidColorBrush, windows_core::IUnknown, ID2D1Resource, ID2D1Brush); impl ID2D1SolidColorBrush { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13089,7 +13089,7 @@ pub struct ID2D1SolidColorBrush_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] GetColor: usize, } -windows_core::imp::com_interface!(ID2D1SourceTransform, ID2D1SourceTransform_Vtbl, 0xdb1800dd_0c34_4cf9_be90_31cc0a5653e1); +windows_core::imp::define_interface!(ID2D1SourceTransform, ID2D1SourceTransform_Vtbl, 0xdb1800dd_0c34_4cf9_be90_31cc0a5653e1); windows_core::imp::interface_hierarchy!(ID2D1SourceTransform, windows_core::IUnknown, ID2D1TransformNode, ID2D1Transform); impl ID2D1SourceTransform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -13130,7 +13130,7 @@ pub struct ID2D1SourceTransform_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] Draw: usize, } -windows_core::imp::com_interface!(ID2D1SpriteBatch, ID2D1SpriteBatch_Vtbl, 0x4dc583bf_3a10_438a_8722_e9765224f1f1); +windows_core::imp::define_interface!(ID2D1SpriteBatch, ID2D1SpriteBatch_Vtbl, 0x4dc583bf_3a10_438a_8722_e9765224f1f1); windows_core::imp::interface_hierarchy!(ID2D1SpriteBatch, windows_core::IUnknown, ID2D1Resource); impl ID2D1SpriteBatch { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13177,7 +13177,7 @@ pub struct ID2D1SpriteBatch_Vtbl { pub GetSpriteCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID2D1StrokeStyle, ID2D1StrokeStyle_Vtbl, 0x2cd9069d_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1StrokeStyle, ID2D1StrokeStyle_Vtbl, 0x2cd9069d_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1StrokeStyle, windows_core::IUnknown, ID2D1Resource); impl ID2D1StrokeStyle { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13228,7 +13228,7 @@ pub struct ID2D1StrokeStyle_Vtbl { pub GetDashesCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetDashes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, u32), } -windows_core::imp::com_interface!(ID2D1StrokeStyle1, ID2D1StrokeStyle1_Vtbl, 0x10a72a66_e91c_43f4_993f_ddf4b82b0b4a); +windows_core::imp::define_interface!(ID2D1StrokeStyle1, ID2D1StrokeStyle1_Vtbl, 0x10a72a66_e91c_43f4_993f_ddf4b82b0b4a); windows_core::imp::interface_hierarchy!(ID2D1StrokeStyle1, windows_core::IUnknown, ID2D1Resource, ID2D1StrokeStyle); impl ID2D1StrokeStyle1 { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13274,7 +13274,7 @@ pub struct ID2D1StrokeStyle1_Vtbl { pub base__: ID2D1StrokeStyle_Vtbl, pub GetStrokeTransformType: unsafe extern "system" fn(*mut core::ffi::c_void) -> D2D1_STROKE_TRANSFORM_TYPE, } -windows_core::imp::com_interface!(ID2D1SvgAttribute, ID2D1SvgAttribute_Vtbl, 0xc9cdb0dd_f8c9_4e70_b7c2_301c80292c5e); +windows_core::imp::define_interface!(ID2D1SvgAttribute, ID2D1SvgAttribute_Vtbl, 0xc9cdb0dd_f8c9_4e70_b7c2_301c80292c5e); windows_core::imp::interface_hierarchy!(ID2D1SvgAttribute, windows_core::IUnknown, ID2D1Resource); impl ID2D1SvgAttribute { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13300,7 +13300,7 @@ pub struct ID2D1SvgAttribute_Vtbl { pub GetElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1SvgDocument, ID2D1SvgDocument_Vtbl, 0x86b88e4d_afa4_4d7b_88e4_68a51c4a0aec); +windows_core::imp::define_interface!(ID2D1SvgDocument, ID2D1SvgDocument_Vtbl, 0x86b88e4d_afa4_4d7b_88e4_68a51c4a0aec); windows_core::imp::interface_hierarchy!(ID2D1SvgDocument, windows_core::IUnknown, ID2D1Resource); impl ID2D1SvgDocument { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13409,7 +13409,7 @@ pub struct ID2D1SvgDocument_Vtbl { CreatePointCollection: usize, pub CreatePathData: unsafe extern "system" fn(*mut core::ffi::c_void, *const f32, u32, *const D2D1_SVG_PATH_COMMAND, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1SvgElement, ID2D1SvgElement_Vtbl, 0xac7b67a6_183e_49c1_a823_0ebe40b0db29); +windows_core::imp::define_interface!(ID2D1SvgElement, ID2D1SvgElement_Vtbl, 0xac7b67a6_183e_49c1_a823_0ebe40b0db29); windows_core::imp::interface_hierarchy!(ID2D1SvgElement, windows_core::IUnknown, ID2D1Resource); impl ID2D1SvgElement { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13610,7 +13610,7 @@ pub struct ID2D1SvgElement_Vtbl { pub GetAttributeValue3: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, D2D1_SVG_ATTRIBUTE_STRING_TYPE, windows_core::PWSTR, u32) -> windows_core::HRESULT, pub GetAttributeValueLength: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, D2D1_SVG_ATTRIBUTE_STRING_TYPE, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1SvgGlyphStyle, ID2D1SvgGlyphStyle_Vtbl, 0xaf671749_d241_4db8_8e41_dcc2e5c1a438); +windows_core::imp::define_interface!(ID2D1SvgGlyphStyle, ID2D1SvgGlyphStyle_Vtbl, 0xaf671749_d241_4db8_8e41_dcc2e5c1a438); windows_core::imp::interface_hierarchy!(ID2D1SvgGlyphStyle, windows_core::IUnknown, ID2D1Resource); impl ID2D1SvgGlyphStyle { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13653,7 +13653,7 @@ pub struct ID2D1SvgGlyphStyle_Vtbl { pub GetStrokeDashesCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetStroke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut f32, *mut f32, u32, *mut f32), } -windows_core::imp::com_interface!(ID2D1SvgPaint, ID2D1SvgPaint_Vtbl, 0xd59bab0a_68a2_455b_a5dc_9eb2854e2490); +windows_core::imp::define_interface!(ID2D1SvgPaint, ID2D1SvgPaint_Vtbl, 0xd59bab0a_68a2_455b_a5dc_9eb2854e2490); windows_core::imp::interface_hierarchy!(ID2D1SvgPaint, windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); impl ID2D1SvgPaint { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13718,7 +13718,7 @@ pub struct ID2D1SvgPaint_Vtbl { pub GetId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, pub GetIdLength: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(ID2D1SvgPathData, ID2D1SvgPathData_Vtbl, 0xc095e4f4_bb98_43d6_9745_4d1b84ec9888); +windows_core::imp::define_interface!(ID2D1SvgPathData, ID2D1SvgPathData_Vtbl, 0xc095e4f4_bb98_43d6_9745_4d1b84ec9888); windows_core::imp::interface_hierarchy!(ID2D1SvgPathData, windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); impl ID2D1SvgPathData { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13783,7 +13783,7 @@ pub struct ID2D1SvgPathData_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] CreatePathGeometry: usize, } -windows_core::imp::com_interface!(ID2D1SvgPointCollection, ID2D1SvgPointCollection_Vtbl, 0x9dbe4c0d_3572_4dd9_9825_5530813bb712); +windows_core::imp::define_interface!(ID2D1SvgPointCollection, ID2D1SvgPointCollection_Vtbl, 0x9dbe4c0d_3572_4dd9_9825_5530813bb712); windows_core::imp::interface_hierarchy!(ID2D1SvgPointCollection, windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); impl ID2D1SvgPointCollection { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13831,7 +13831,7 @@ pub struct ID2D1SvgPointCollection_Vtbl { GetPoints: usize, pub GetPointsCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(ID2D1SvgStrokeDashArray, ID2D1SvgStrokeDashArray_Vtbl, 0xf1c0ca52_92a3_4f00_b4ce_f35691efd9d9); +windows_core::imp::define_interface!(ID2D1SvgStrokeDashArray, ID2D1SvgStrokeDashArray_Vtbl, 0xf1c0ca52_92a3_4f00_b4ce_f35691efd9d9); windows_core::imp::interface_hierarchy!(ID2D1SvgStrokeDashArray, windows_core::IUnknown, ID2D1Resource, ID2D1SvgAttribute); impl ID2D1SvgStrokeDashArray { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -13879,7 +13879,7 @@ pub struct ID2D1SvgStrokeDashArray_Vtbl { pub GetDashes2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, u32, u32) -> windows_core::HRESULT, pub GetDashesCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(ID2D1TessellationSink, ID2D1TessellationSink_Vtbl, 0x2cd906c1_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1TessellationSink, ID2D1TessellationSink_Vtbl, 0x2cd906c1_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1TessellationSink, windows_core::IUnknown); impl ID2D1TessellationSink { #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -13901,7 +13901,7 @@ pub struct ID2D1TessellationSink_Vtbl { AddTriangles: usize, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1Transform, ID2D1Transform_Vtbl, 0xef1a287d_342a_4f76_8fdb_da0d6ea9f92b); +windows_core::imp::define_interface!(ID2D1Transform, ID2D1Transform_Vtbl, 0xef1a287d_342a_4f76_8fdb_da0d6ea9f92b); windows_core::imp::interface_hierarchy!(ID2D1Transform, windows_core::IUnknown, ID2D1TransformNode); impl ID2D1Transform { pub unsafe fn GetInputCount(&self) -> u32 { @@ -13927,7 +13927,7 @@ pub struct ID2D1Transform_Vtbl { pub MapInputRectsToOutputRect: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, *const super::super::Foundation::RECT, u32, *mut super::super::Foundation::RECT, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, pub MapInvalidRect: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::RECT, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1TransformGraph, ID2D1TransformGraph_Vtbl, 0x13d29038_c3e6_4034_9081_13b53a417992); +windows_core::imp::define_interface!(ID2D1TransformGraph, ID2D1TransformGraph_Vtbl, 0x13d29038_c3e6_4034_9081_13b53a417992); windows_core::imp::interface_hierarchy!(ID2D1TransformGraph, windows_core::IUnknown); impl ID2D1TransformGraph { pub unsafe fn GetInputCount(&self) -> u32 { @@ -13992,7 +13992,7 @@ pub struct ID2D1TransformGraph_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void), pub SetPassthroughGraph: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID2D1TransformNode, ID2D1TransformNode_Vtbl, 0xb2efe1e7_729f_4102_949f_505fa21bf666); +windows_core::imp::define_interface!(ID2D1TransformNode, ID2D1TransformNode_Vtbl, 0xb2efe1e7_729f_4102_949f_505fa21bf666); windows_core::imp::interface_hierarchy!(ID2D1TransformNode, windows_core::IUnknown); impl ID2D1TransformNode { pub unsafe fn GetInputCount(&self) -> u32 { @@ -14006,7 +14006,7 @@ pub struct ID2D1TransformNode_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetInputCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(ID2D1TransformedGeometry, ID2D1TransformedGeometry_Vtbl, 0x2cd906bb_12e2_11dc_9fed_001143a055f9); +windows_core::imp::define_interface!(ID2D1TransformedGeometry, ID2D1TransformedGeometry_Vtbl, 0x2cd906bb_12e2_11dc_9fed_001143a055f9); windows_core::imp::interface_hierarchy!(ID2D1TransformedGeometry, windows_core::IUnknown, ID2D1Resource, ID2D1Geometry); impl ID2D1TransformedGeometry { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -14120,7 +14120,7 @@ pub struct ID2D1TransformedGeometry_Vtbl { #[cfg(not(feature = "Foundation_Numerics"))] GetTransform: usize, } -windows_core::imp::com_interface!(ID2D1TransformedImageSource, ID2D1TransformedImageSource_Vtbl, 0x7f1f79e5_2796_416c_8f55_700f911445e5); +windows_core::imp::define_interface!(ID2D1TransformedImageSource, ID2D1TransformedImageSource_Vtbl, 0x7f1f79e5_2796_416c_8f55_700f911445e5); windows_core::imp::interface_hierarchy!(ID2D1TransformedImageSource, windows_core::IUnknown, ID2D1Resource, ID2D1Image); impl ID2D1TransformedImageSource { pub unsafe fn GetFactory(&self) -> windows_core::Result { @@ -14145,7 +14145,7 @@ pub struct ID2D1TransformedImageSource_Vtbl { pub GetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), pub GetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D2D1_TRANSFORMED_IMAGE_SOURCE_PROPERTIES), } -windows_core::imp::com_interface!(ID2D1VertexBuffer, ID2D1VertexBuffer_Vtbl, 0x9b8b1336_00a5_4668_92b7_ced5d8bf9b7b); +windows_core::imp::define_interface!(ID2D1VertexBuffer, ID2D1VertexBuffer_Vtbl, 0x9b8b1336_00a5_4668_92b7_ced5d8bf9b7b); windows_core::imp::interface_hierarchy!(ID2D1VertexBuffer, windows_core::IUnknown); impl ID2D1VertexBuffer { pub unsafe fn Map(&self, data: *mut *mut u8, buffersize: u32) -> windows_core::Result<()> { 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 cfec7bf1c7..023f4a2753 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 @@ -18,7 +18,7 @@ where let mut result__ = std::ptr::null_mut(); DxcCreateInstance2(pmalloc.into_param().abi(), rclsid, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } -windows_core::imp::com_interface!(IDxcAssembler, IDxcAssembler_Vtbl, 0x091f7a26_1c1f_4948_904b_e6e3a8a771d5); +windows_core::imp::define_interface!(IDxcAssembler, IDxcAssembler_Vtbl, 0x091f7a26_1c1f_4948_904b_e6e3a8a771d5); windows_core::imp::interface_hierarchy!(IDxcAssembler, windows_core::IUnknown); impl IDxcAssembler { pub unsafe fn AssembleToContainer(&self, pshader: P0) -> windows_core::Result @@ -34,7 +34,7 @@ pub struct IDxcAssembler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AssembleToContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcBlob, IDxcBlob_Vtbl, 0x8ba5fb08_5195_40e2_ac58_0d989c3a0102); +windows_core::imp::define_interface!(IDxcBlob, IDxcBlob_Vtbl, 0x8ba5fb08_5195_40e2_ac58_0d989c3a0102); windows_core::imp::interface_hierarchy!(IDxcBlob, windows_core::IUnknown); impl IDxcBlob { pub unsafe fn GetBufferPointer(&self) -> *mut core::ffi::c_void { @@ -50,7 +50,7 @@ pub struct IDxcBlob_Vtbl { pub GetBufferPointer: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut core::ffi::c_void, pub GetBufferSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> usize, } -windows_core::imp::com_interface!(IDxcBlobEncoding, IDxcBlobEncoding_Vtbl, 0x7241d424_2646_4191_97c0_98e96e42fc68); +windows_core::imp::define_interface!(IDxcBlobEncoding, IDxcBlobEncoding_Vtbl, 0x7241d424_2646_4191_97c0_98e96e42fc68); windows_core::imp::interface_hierarchy!(IDxcBlobEncoding, windows_core::IUnknown, IDxcBlob); impl IDxcBlobEncoding { pub unsafe fn GetBufferPointer(&self) -> *mut core::ffi::c_void { @@ -68,7 +68,7 @@ pub struct IDxcBlobEncoding_Vtbl { pub base__: IDxcBlob_Vtbl, pub GetEncoding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL, *mut DXC_CP) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcBlobUtf16, IDxcBlobUtf16_Vtbl, 0xa3f84eab_0faa_497e_a39c_ee6ed60b2d84); +windows_core::imp::define_interface!(IDxcBlobUtf16, IDxcBlobUtf16_Vtbl, 0xa3f84eab_0faa_497e_a39c_ee6ed60b2d84); windows_core::imp::interface_hierarchy!(IDxcBlobUtf16, windows_core::IUnknown, IDxcBlob, IDxcBlobEncoding); impl IDxcBlobUtf16 { pub unsafe fn GetBufferPointer(&self) -> *mut core::ffi::c_void { @@ -93,7 +93,7 @@ pub struct IDxcBlobUtf16_Vtbl { pub GetStringPointer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCWSTR, pub GetStringLength: unsafe extern "system" fn(*mut core::ffi::c_void) -> usize, } -windows_core::imp::com_interface!(IDxcBlobUtf8, IDxcBlobUtf8_Vtbl, 0x3da636c9_ba71_4024_a301_30cbf125305b); +windows_core::imp::define_interface!(IDxcBlobUtf8, IDxcBlobUtf8_Vtbl, 0x3da636c9_ba71_4024_a301_30cbf125305b); windows_core::imp::interface_hierarchy!(IDxcBlobUtf8, windows_core::IUnknown, IDxcBlob, IDxcBlobEncoding); impl IDxcBlobUtf8 { pub unsafe fn GetBufferPointer(&self) -> *mut core::ffi::c_void { @@ -118,7 +118,7 @@ pub struct IDxcBlobUtf8_Vtbl { pub GetStringPointer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PCSTR, pub GetStringLength: unsafe extern "system" fn(*mut core::ffi::c_void) -> usize, } -windows_core::imp::com_interface!(IDxcCompiler, IDxcCompiler_Vtbl, 0x8c210bf3_011f_4422_8d70_6f9acb8db617); +windows_core::imp::define_interface!(IDxcCompiler, IDxcCompiler_Vtbl, 0x8c210bf3_011f_4422_8d70_6f9acb8db617); windows_core::imp::interface_hierarchy!(IDxcCompiler, windows_core::IUnknown); impl IDxcCompiler { pub unsafe fn Compile(&self, psource: P0, psourcename: P1, pentrypoint: P2, ptargetprofile: P3, parguments: Option<&[windows_core::PCWSTR]>, pdefines: &[DxcDefine], pincludehandler: P4) -> windows_core::Result @@ -156,7 +156,7 @@ pub struct IDxcCompiler_Vtbl { pub Preprocess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::PCWSTR, u32, *const DxcDefine, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Disassemble: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcCompiler2, IDxcCompiler2_Vtbl, 0xa005a9d9_b8bb_4594_b5c9_0e633bec4d37); +windows_core::imp::define_interface!(IDxcCompiler2, IDxcCompiler2_Vtbl, 0xa005a9d9_b8bb_4594_b5c9_0e633bec4d37); windows_core::imp::interface_hierarchy!(IDxcCompiler2, windows_core::IUnknown, IDxcCompiler); impl IDxcCompiler2 { pub unsafe fn Compile(&self, psource: P0, psourcename: P1, pentrypoint: P2, ptargetprofile: P3, parguments: Option<&[windows_core::PCWSTR]>, pdefines: &[DxcDefine], pincludehandler: P4) -> windows_core::Result @@ -217,7 +217,7 @@ pub struct IDxcCompiler2_Vtbl { pub base__: IDxcCompiler_Vtbl, pub CompileWithDebug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *const windows_core::PCWSTR, u32, *const DxcDefine, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut windows_core::PWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcCompiler3, IDxcCompiler3_Vtbl, 0x228b4687_5a6a_4730_900c_9702b2203f54); +windows_core::imp::define_interface!(IDxcCompiler3, IDxcCompiler3_Vtbl, 0x228b4687_5a6a_4730_900c_9702b2203f54); windows_core::imp::interface_hierarchy!(IDxcCompiler3, windows_core::IUnknown); impl IDxcCompiler3 { pub unsafe fn Compile(&self, psource: *const DxcBuffer, parguments: Option<&[windows_core::PCWSTR]>, pincludehandler: P0) -> windows_core::Result @@ -242,7 +242,7 @@ pub struct IDxcCompiler3_Vtbl { pub Compile: unsafe extern "system" fn(*mut core::ffi::c_void, *const DxcBuffer, *const windows_core::PCWSTR, u32, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Disassemble: unsafe extern "system" fn(*mut core::ffi::c_void, *const DxcBuffer, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcCompilerArgs, IDxcCompilerArgs_Vtbl, 0x73effe2a_70dc_45f8_9690_eff64c02429d); +windows_core::imp::define_interface!(IDxcCompilerArgs, IDxcCompilerArgs_Vtbl, 0x73effe2a_70dc_45f8_9690_eff64c02429d); windows_core::imp::interface_hierarchy!(IDxcCompilerArgs, windows_core::IUnknown); impl IDxcCompilerArgs { pub unsafe fn GetArguments(&self) -> *mut windows_core::PCWSTR { @@ -270,7 +270,7 @@ pub struct IDxcCompilerArgs_Vtbl { pub AddArgumentsUTF8: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::PCSTR, u32) -> windows_core::HRESULT, pub AddDefines: unsafe extern "system" fn(*mut core::ffi::c_void, *const DxcDefine, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcContainerBuilder, IDxcContainerBuilder_Vtbl, 0x334b1f50_2292_4b35_99a1_25588d8c17fe); +windows_core::imp::define_interface!(IDxcContainerBuilder, IDxcContainerBuilder_Vtbl, 0x334b1f50_2292_4b35_99a1_25588d8c17fe); windows_core::imp::interface_hierarchy!(IDxcContainerBuilder, windows_core::IUnknown); impl IDxcContainerBuilder { pub unsafe fn Load(&self, pdxilcontainerheader: P0) -> windows_core::Result<()> @@ -301,7 +301,7 @@ pub struct IDxcContainerBuilder_Vtbl { pub RemovePart: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SerializeContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcContainerReflection, IDxcContainerReflection_Vtbl, 0xd2c21b26_8350_4bdc_976a_331ce6f4c54c); +windows_core::imp::define_interface!(IDxcContainerReflection, IDxcContainerReflection_Vtbl, 0xd2c21b26_8350_4bdc_976a_331ce6f4c54c); windows_core::imp::interface_hierarchy!(IDxcContainerReflection, windows_core::IUnknown); impl IDxcContainerReflection { pub unsafe fn Load(&self, pcontainer: P0) -> windows_core::Result<()> @@ -340,7 +340,7 @@ pub struct IDxcContainerReflection_Vtbl { pub FindFirstPartKind: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetPartReflection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcExtraOutputs, IDxcExtraOutputs_Vtbl, 0x319b37a2_a5c2_494a_a5de_4801b2faf989); +windows_core::imp::define_interface!(IDxcExtraOutputs, IDxcExtraOutputs_Vtbl, 0x319b37a2_a5c2_494a_a5de_4801b2faf989); windows_core::imp::interface_hierarchy!(IDxcExtraOutputs, windows_core::IUnknown); impl IDxcExtraOutputs { pub unsafe fn GetOutputCount(&self) -> u32 { @@ -359,7 +359,7 @@ pub struct IDxcExtraOutputs_Vtbl { pub GetOutputCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetOutput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcIncludeHandler, IDxcIncludeHandler_Vtbl, 0x7f61fc7d_950d_467f_b3e3_3c02fb49187c); +windows_core::imp::define_interface!(IDxcIncludeHandler, IDxcIncludeHandler_Vtbl, 0x7f61fc7d_950d_467f_b3e3_3c02fb49187c); windows_core::imp::interface_hierarchy!(IDxcIncludeHandler, windows_core::IUnknown); impl IDxcIncludeHandler { pub unsafe fn LoadSource(&self, pfilename: P0) -> windows_core::Result @@ -375,7 +375,7 @@ pub struct IDxcIncludeHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub LoadSource: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcLibrary, IDxcLibrary_Vtbl, 0xe5204dc7_d18c_4c3c_bdfb_851673980fe7); +windows_core::imp::define_interface!(IDxcLibrary, IDxcLibrary_Vtbl, 0xe5204dc7_d18c_4c3c_bdfb_851673980fe7); windows_core::imp::interface_hierarchy!(IDxcLibrary, windows_core::IUnknown); impl IDxcLibrary { #[cfg(feature = "Win32_System_Com")] @@ -465,7 +465,7 @@ pub struct IDxcLibrary_Vtbl { pub GetBlobAsUtf8: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetBlobAsUtf16: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcLinker, IDxcLinker_Vtbl, 0xf1b5be2a_62dd_4327_a1c2_42ac1e1e78e6); +windows_core::imp::define_interface!(IDxcLinker, IDxcLinker_Vtbl, 0xf1b5be2a_62dd_4327_a1c2_42ac1e1e78e6); windows_core::imp::interface_hierarchy!(IDxcLinker, windows_core::IUnknown); impl IDxcLinker { pub unsafe fn RegisterLibrary(&self, plibname: P0, plib: P1) -> windows_core::Result<()> @@ -490,7 +490,7 @@ pub struct IDxcLinker_Vtbl { pub RegisterLibrary: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Link: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *const windows_core::PCWSTR, u32, *const windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcOperationResult, IDxcOperationResult_Vtbl, 0xcedb484a_d4e9_445a_b991_ca21ca157dc2); +windows_core::imp::define_interface!(IDxcOperationResult, IDxcOperationResult_Vtbl, 0xcedb484a_d4e9_445a_b991_ca21ca157dc2); windows_core::imp::interface_hierarchy!(IDxcOperationResult, windows_core::IUnknown); impl IDxcOperationResult { pub unsafe fn GetStatus(&self) -> windows_core::Result { @@ -513,7 +513,7 @@ pub struct IDxcOperationResult_Vtbl { pub GetResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetErrorBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcOptimizer, IDxcOptimizer_Vtbl, 0x25740e2e_9cba_401b_9119_4fb42f39f270); +windows_core::imp::define_interface!(IDxcOptimizer, IDxcOptimizer_Vtbl, 0x25740e2e_9cba_401b_9119_4fb42f39f270); windows_core::imp::interface_hierarchy!(IDxcOptimizer, windows_core::IUnknown); impl IDxcOptimizer { pub unsafe fn GetAvailablePassCount(&self) -> windows_core::Result { @@ -538,7 +538,7 @@ pub struct IDxcOptimizer_Vtbl { pub GetAvailablePass: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RunOptimizer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcOptimizerPass, IDxcOptimizerPass_Vtbl, 0xae2cd79f_cc22_453f_9b6b_b124e7a5204c); +windows_core::imp::define_interface!(IDxcOptimizerPass, IDxcOptimizerPass_Vtbl, 0xae2cd79f_cc22_453f_9b6b_b124e7a5204c); windows_core::imp::interface_hierarchy!(IDxcOptimizerPass, windows_core::IUnknown); impl IDxcOptimizerPass { pub unsafe fn GetOptionName(&self) -> windows_core::Result { @@ -571,7 +571,7 @@ pub struct IDxcOptimizerPass_Vtbl { pub GetOptionArgName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetOptionArgDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcPdbUtils, IDxcPdbUtils_Vtbl, 0xe6c9647e_9d6a_4c3b_b94c_524b5a6c343d); +windows_core::imp::define_interface!(IDxcPdbUtils, IDxcPdbUtils_Vtbl, 0xe6c9647e_9d6a_4c3b_b94c_524b5a6c343d); windows_core::imp::interface_hierarchy!(IDxcPdbUtils, windows_core::IUnknown); impl IDxcPdbUtils { pub unsafe fn Load(&self, ppdbordxil: P0) -> windows_core::Result<()> @@ -702,7 +702,7 @@ pub struct IDxcPdbUtils_Vtbl { pub OverrideArgs: unsafe extern "system" fn(*mut core::ffi::c_void, *const DxcArgPair, u32) -> windows_core::HRESULT, pub OverrideRootSignature: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcResult, IDxcResult_Vtbl, 0x58346cda_dde7_4497_9461_6f87af5e0659); +windows_core::imp::define_interface!(IDxcResult, IDxcResult_Vtbl, 0x58346cda_dde7_4497_9461_6f87af5e0659); windows_core::imp::interface_hierarchy!(IDxcResult, windows_core::IUnknown, IDxcOperationResult); impl IDxcResult { pub unsafe fn GetStatus(&self) -> windows_core::Result { @@ -745,7 +745,7 @@ pub struct IDxcResult_Vtbl { pub GetOutputByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> DXC_OUT_KIND, pub PrimaryOutput: unsafe extern "system" fn(*mut core::ffi::c_void) -> DXC_OUT_KIND, } -windows_core::imp::com_interface!(IDxcUtils, IDxcUtils_Vtbl, 0x4605c4cb_2019_492a_ada4_65f20bb7d67f); +windows_core::imp::define_interface!(IDxcUtils, IDxcUtils_Vtbl, 0x4605c4cb_2019_492a_ada4_65f20bb7d67f); windows_core::imp::interface_hierarchy!(IDxcUtils, windows_core::IUnknown); impl IDxcUtils { pub unsafe fn CreateBlobFromBlob(&self, pblob: P0, offset: u32, length: u32) -> windows_core::Result @@ -849,7 +849,7 @@ pub struct IDxcUtils_Vtbl { pub BuildArguments: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *const windows_core::PCWSTR, u32, *const DxcDefine, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPDBContents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcValidator, IDxcValidator_Vtbl, 0xa6e82bd2_1fd7_4826_9811_2857e797f49a); +windows_core::imp::define_interface!(IDxcValidator, IDxcValidator_Vtbl, 0xa6e82bd2_1fd7_4826_9811_2857e797f49a); windows_core::imp::interface_hierarchy!(IDxcValidator, windows_core::IUnknown); impl IDxcValidator { pub unsafe fn Validate(&self, pshader: P0, flags: u32) -> windows_core::Result @@ -865,7 +865,7 @@ pub struct IDxcValidator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Validate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcValidator2, IDxcValidator2_Vtbl, 0x458e1fd1_b1b2_4750_a6e1_9c10f03bed92); +windows_core::imp::define_interface!(IDxcValidator2, IDxcValidator2_Vtbl, 0x458e1fd1_b1b2_4750_a6e1_9c10f03bed92); windows_core::imp::interface_hierarchy!(IDxcValidator2, windows_core::IUnknown, IDxcValidator); impl IDxcValidator2 { pub unsafe fn Validate(&self, pshader: P0, flags: u32) -> windows_core::Result @@ -888,7 +888,7 @@ pub struct IDxcValidator2_Vtbl { pub base__: IDxcValidator_Vtbl, pub ValidateWithDebug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const DxcBuffer, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcVersionInfo, IDxcVersionInfo_Vtbl, 0xb04f5b50_2059_4f12_a8ff_a1e0cde1cc7e); +windows_core::imp::define_interface!(IDxcVersionInfo, IDxcVersionInfo_Vtbl, 0xb04f5b50_2059_4f12_a8ff_a1e0cde1cc7e); windows_core::imp::interface_hierarchy!(IDxcVersionInfo, windows_core::IUnknown); impl IDxcVersionInfo { pub unsafe fn GetVersion(&self, pmajor: *mut u32, pminor: *mut u32) -> windows_core::Result<()> { @@ -905,7 +905,7 @@ pub struct IDxcVersionInfo_Vtbl { pub GetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcVersionInfo2, IDxcVersionInfo2_Vtbl, 0xfb6904c4_42f0_4b62_9c46_983af7da7c83); +windows_core::imp::define_interface!(IDxcVersionInfo2, IDxcVersionInfo2_Vtbl, 0xfb6904c4_42f0_4b62_9c46_983af7da7c83); windows_core::imp::interface_hierarchy!(IDxcVersionInfo2, windows_core::IUnknown, IDxcVersionInfo); impl IDxcVersionInfo2 { pub unsafe fn GetVersion(&self, pmajor: *mut u32, pminor: *mut u32) -> windows_core::Result<()> { @@ -924,7 +924,7 @@ pub struct IDxcVersionInfo2_Vtbl { pub base__: IDxcVersionInfo_Vtbl, pub GetCommitInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut i8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDxcVersionInfo3, IDxcVersionInfo3_Vtbl, 0x5e13e843_9d25_473c_9ad2_03b2d0b44b1e); +windows_core::imp::define_interface!(IDxcVersionInfo3, IDxcVersionInfo3_Vtbl, 0x5e13e843_9d25_473c_9ad2_03b2d0b44b1e); windows_core::imp::interface_hierarchy!(IDxcVersionInfo3, windows_core::IUnknown); impl IDxcVersionInfo3 { pub unsafe fn GetCustomVersionString(&self) -> windows_core::Result<*mut i8> { 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 17ae241fd1..c118bbe3fb 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/mod.rs @@ -2,7 +2,7 @@ pub mod Dxc; #[cfg(feature = "Win32_Graphics_Direct3D_Fxc")] pub mod Fxc; -windows_core::imp::com_interface!(ID3DBlob, ID3DBlob_Vtbl, 0x8ba5fb08_5195_40e2_ac58_0d989c3a0102); +windows_core::imp::define_interface!(ID3DBlob, ID3DBlob_Vtbl, 0x8ba5fb08_5195_40e2_ac58_0d989c3a0102); windows_core::imp::interface_hierarchy!(ID3DBlob, windows_core::IUnknown); impl ID3DBlob { pub unsafe fn GetBufferPointer(&self) -> *mut core::ffi::c_void { @@ -20,7 +20,7 @@ pub struct ID3DBlob_Vtbl { pub GetBufferPointer: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut core::ffi::c_void, pub GetBufferSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> usize, } -windows_core::imp::com_interface!(ID3DDestructionNotifier, ID3DDestructionNotifier_Vtbl, 0xa06eb39a_50da_425b_8c31_4eecd6c270f3); +windows_core::imp::define_interface!(ID3DDestructionNotifier, ID3DDestructionNotifier_Vtbl, 0xa06eb39a_50da_425b_8c31_4eecd6c270f3); 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 { @@ -39,7 +39,7 @@ pub struct ID3DDestructionNotifier_Vtbl { pub RegisterDestructionCallback: unsafe extern "system" fn(*mut core::ffi::c_void, PFN_DESTRUCTION_CALLBACK, *const core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UnregisterDestructionCallback: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3DInclude, ID3DInclude_Vtbl); +windows_core::imp::define_interface!(ID3DInclude, ID3DInclude_Vtbl); impl ID3DInclude { pub unsafe fn Open(&self, includetype: D3D_INCLUDE_TYPE, pfilename: P0, pparentdata: *const core::ffi::c_void, ppdata: *mut *mut core::ffi::c_void, pbytes: *mut u32) -> windows_core::Result<()> where 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 1be9f8ae34..6a9f8ad52d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/mod.rs @@ -225,7 +225,7 @@ pub unsafe fn D3D10StateBlockMaskUnion(pa: *const D3D10_STATE_BLOCK_MASK, pb: *c windows_targets::link!("d3d10.dll" "system" fn D3D10StateBlockMaskUnion(pa : *const D3D10_STATE_BLOCK_MASK, pb : *const D3D10_STATE_BLOCK_MASK, presult : *mut D3D10_STATE_BLOCK_MASK) -> windows_core::HRESULT); D3D10StateBlockMaskUnion(pa, pb, presult).ok() } -windows_core::imp::com_interface!(ID3D10Asynchronous, ID3D10Asynchronous_Vtbl, 0x9b7e4c0d_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Asynchronous, ID3D10Asynchronous_Vtbl, 0x9b7e4c0d_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Asynchronous, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10Asynchronous { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -268,7 +268,7 @@ pub struct ID3D10Asynchronous_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub GetDataSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(ID3D10BlendState, ID3D10BlendState_Vtbl, 0xedad8d19_8a35_4d6d_8566_2ea276cde161); +windows_core::imp::define_interface!(ID3D10BlendState, ID3D10BlendState_Vtbl, 0xedad8d19_8a35_4d6d_8566_2ea276cde161); windows_core::imp::interface_hierarchy!(ID3D10BlendState, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10BlendState { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -299,7 +299,7 @@ pub struct ID3D10BlendState_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_BLEND_DESC), } -windows_core::imp::com_interface!(ID3D10BlendState1, ID3D10BlendState1_Vtbl, 0xedad8d99_8a35_4d6d_8566_2ea276cde161); +windows_core::imp::define_interface!(ID3D10BlendState1, ID3D10BlendState1_Vtbl, 0xedad8d99_8a35_4d6d_8566_2ea276cde161); windows_core::imp::interface_hierarchy!(ID3D10BlendState1, windows_core::IUnknown, ID3D10DeviceChild, ID3D10BlendState); impl ID3D10BlendState1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -333,7 +333,7 @@ pub struct ID3D10BlendState1_Vtbl { pub base__: ID3D10BlendState_Vtbl, pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_BLEND_DESC1), } -windows_core::imp::com_interface!(ID3D10Buffer, ID3D10Buffer_Vtbl, 0x9b7e4c02_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Buffer, ID3D10Buffer_Vtbl, 0x9b7e4c02_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Buffer, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); impl ID3D10Buffer { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -383,7 +383,7 @@ pub struct ID3D10Buffer_Vtbl { pub Unmap: unsafe extern "system" fn(*mut core::ffi::c_void), pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_BUFFER_DESC), } -windows_core::imp::com_interface!(ID3D10Counter, ID3D10Counter_Vtbl, 0x9b7e4c11_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Counter, ID3D10Counter_Vtbl, 0x9b7e4c11_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Counter, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous); impl ID3D10Counter { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -428,7 +428,7 @@ pub struct ID3D10Counter_Vtbl { pub base__: ID3D10Asynchronous_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_COUNTER_DESC), } -windows_core::imp::com_interface!(ID3D10Debug, ID3D10Debug_Vtbl, 0x9b7e4e01_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Debug, ID3D10Debug_Vtbl, 0x9b7e4e01_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Debug, windows_core::IUnknown); impl ID3D10Debug { pub unsafe fn SetFeatureMask(&self, mask: u32) -> windows_core::Result<()> { @@ -478,7 +478,7 @@ pub struct ID3D10Debug_Vtbl { GetSwapChain: usize, pub Validate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D10DepthStencilState, ID3D10DepthStencilState_Vtbl, 0x2b4b1cc8_a4ad_41f8_8322_ca86fc3ec675); +windows_core::imp::define_interface!(ID3D10DepthStencilState, ID3D10DepthStencilState_Vtbl, 0x2b4b1cc8_a4ad_41f8_8322_ca86fc3ec675); windows_core::imp::interface_hierarchy!(ID3D10DepthStencilState, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10DepthStencilState { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -509,7 +509,7 @@ pub struct ID3D10DepthStencilState_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_DEPTH_STENCIL_DESC), } -windows_core::imp::com_interface!(ID3D10DepthStencilView, ID3D10DepthStencilView_Vtbl, 0x9b7e4c09_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10DepthStencilView, ID3D10DepthStencilView_Vtbl, 0x9b7e4c09_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10DepthStencilView, windows_core::IUnknown, ID3D10DeviceChild, ID3D10View); impl ID3D10DepthStencilView { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -549,7 +549,7 @@ pub struct ID3D10DepthStencilView_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D10Device, ID3D10Device_Vtbl, 0x9b7e4c0f_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Device, ID3D10Device_Vtbl, 0x9b7e4c0f_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Device, windows_core::IUnknown); impl ID3D10Device { pub unsafe fn VSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: Option<&[Option]>) { @@ -1084,7 +1084,7 @@ pub struct ID3D10Device_Vtbl { pub SetTextFilterSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32), pub GetTextFilterSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32), } -windows_core::imp::com_interface!(ID3D10Device1, ID3D10Device1_Vtbl, 0x9b7e4c8f_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Device1, ID3D10Device1_Vtbl, 0x9b7e4c8f_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Device1, windows_core::IUnknown, ID3D10Device); impl ID3D10Device1 { pub unsafe fn VSSetConstantBuffers(&self, startslot: u32, ppconstantbuffers: Option<&[Option]>) { @@ -1501,7 +1501,7 @@ pub struct ID3D10Device1_Vtbl { pub CreateBlendState1: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D10_BLEND_DESC1, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFeatureLevel: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D10_FEATURE_LEVEL1, } -windows_core::imp::com_interface!(ID3D10DeviceChild, ID3D10DeviceChild_Vtbl, 0x9b7e4c00_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10DeviceChild, ID3D10DeviceChild_Vtbl, 0x9b7e4c00_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10DeviceChild, windows_core::IUnknown); impl ID3D10DeviceChild { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1532,7 +1532,7 @@ pub struct ID3D10DeviceChild_Vtbl { pub SetPrivateData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const core::ffi::c_void) -> windows_core::HRESULT, pub SetPrivateDataInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D10Effect, ID3D10Effect_Vtbl, 0x51b0ca8b_ec0b_4519_870d_8ee1cb5017c7); +windows_core::imp::define_interface!(ID3D10Effect, ID3D10Effect_Vtbl, 0x51b0ca8b_ec0b_4519_870d_8ee1cb5017c7); windows_core::imp::interface_hierarchy!(ID3D10Effect, windows_core::IUnknown); impl ID3D10Effect { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -1607,7 +1607,7 @@ pub struct ID3D10Effect_Vtbl { pub Optimize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsOptimized: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::interface!(ID3D10EffectBlendVariable, ID3D10EffectBlendVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectBlendVariable, ID3D10EffectBlendVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectBlendVariable, ID3D10EffectVariable); impl ID3D10EffectBlendVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -1710,7 +1710,7 @@ pub struct ID3D10EffectBlendVariable_Vtbl { pub GetBlendState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetBackingStore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut D3D10_BLEND_DESC) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectConstantBuffer, ID3D10EffectConstantBuffer_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectConstantBuffer, ID3D10EffectConstantBuffer_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectConstantBuffer, ID3D10EffectVariable); impl ID3D10EffectConstantBuffer { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -1828,7 +1828,7 @@ pub struct ID3D10EffectConstantBuffer_Vtbl { pub SetTextureBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTextureBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectDepthStencilVariable, ID3D10EffectDepthStencilVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectDepthStencilVariable, ID3D10EffectDepthStencilVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectDepthStencilVariable, ID3D10EffectVariable); impl ID3D10EffectDepthStencilVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -1931,7 +1931,7 @@ pub struct ID3D10EffectDepthStencilVariable_Vtbl { pub GetDepthStencilState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetBackingStore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut D3D10_DEPTH_STENCIL_DESC) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectDepthStencilViewVariable, ID3D10EffectDepthStencilViewVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectDepthStencilViewVariable, ID3D10EffectDepthStencilViewVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectDepthStencilViewVariable, ID3D10EffectVariable); impl ID3D10EffectDepthStencilViewVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -2045,7 +2045,7 @@ pub struct ID3D10EffectDepthStencilViewVariable_Vtbl { pub SetDepthStencilArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub GetDepthStencilArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectMatrixVariable, ID3D10EffectMatrixVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectMatrixVariable, ID3D10EffectMatrixVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectMatrixVariable, ID3D10EffectVariable); impl ID3D10EffectMatrixVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -2171,7 +2171,7 @@ pub struct ID3D10EffectMatrixVariable_Vtbl { pub SetMatrixTransposeArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, u32, u32) -> windows_core::HRESULT, pub GetMatrixTransposeArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectPass, ID3D10EffectPass_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectPass, ID3D10EffectPass_Vtbl); impl ID3D10EffectPass { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { (windows_core::Interface::vtable(self).IsValid)(windows_core::Interface::as_raw(self)) @@ -2218,7 +2218,7 @@ pub struct ID3D10EffectPass_Vtbl { pub Apply: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ComputeStateBlockMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_STATE_BLOCK_MASK) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D10EffectPool, ID3D10EffectPool_Vtbl, 0x9537ab04_3250_412e_8213_fcd2f8677933); +windows_core::imp::define_interface!(ID3D10EffectPool, ID3D10EffectPool_Vtbl, 0x9537ab04_3250_412e_8213_fcd2f8677933); windows_core::imp::interface_hierarchy!(ID3D10EffectPool, windows_core::IUnknown); impl ID3D10EffectPool { pub unsafe fn AsEffect(&self) -> Option { @@ -2232,7 +2232,7 @@ pub struct ID3D10EffectPool_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AsEffect: unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, } -windows_core::imp::interface!(ID3D10EffectRasterizerVariable, ID3D10EffectRasterizerVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectRasterizerVariable, ID3D10EffectRasterizerVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectRasterizerVariable, ID3D10EffectVariable); impl ID3D10EffectRasterizerVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -2335,7 +2335,7 @@ pub struct ID3D10EffectRasterizerVariable_Vtbl { pub GetRasterizerState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetBackingStore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut D3D10_RASTERIZER_DESC) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectRenderTargetViewVariable, ID3D10EffectRenderTargetViewVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectRenderTargetViewVariable, ID3D10EffectRenderTargetViewVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectRenderTargetViewVariable, ID3D10EffectVariable); impl ID3D10EffectRenderTargetViewVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -2449,7 +2449,7 @@ pub struct ID3D10EffectRenderTargetViewVariable_Vtbl { pub SetRenderTargetArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub GetRenderTargetArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectSamplerVariable, ID3D10EffectSamplerVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectSamplerVariable, ID3D10EffectSamplerVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectSamplerVariable, ID3D10EffectVariable); impl ID3D10EffectSamplerVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -2552,7 +2552,7 @@ pub struct ID3D10EffectSamplerVariable_Vtbl { pub GetSampler: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetBackingStore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut D3D10_SAMPLER_DESC) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectScalarVariable, ID3D10EffectScalarVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectScalarVariable, ID3D10EffectScalarVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectScalarVariable, ID3D10EffectVariable); impl ID3D10EffectScalarVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -2700,7 +2700,7 @@ pub struct ID3D10EffectScalarVariable_Vtbl { pub SetBoolArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::BOOL, u32, u32) -> windows_core::HRESULT, pub GetBoolArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectShaderResourceVariable, ID3D10EffectShaderResourceVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectShaderResourceVariable, ID3D10EffectShaderResourceVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectShaderResourceVariable, ID3D10EffectVariable); impl ID3D10EffectShaderResourceVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -2814,7 +2814,7 @@ pub struct ID3D10EffectShaderResourceVariable_Vtbl { pub SetResourceArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub GetResourceArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectShaderVariable, ID3D10EffectShaderVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectShaderVariable, ID3D10EffectShaderVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectShaderVariable, ID3D10EffectVariable); impl ID3D10EffectShaderVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -2943,7 +2943,7 @@ pub struct ID3D10EffectShaderVariable_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D"))] GetOutputSignatureElementDesc: usize, } -windows_core::imp::interface!(ID3D10EffectStringVariable, ID3D10EffectStringVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectStringVariable, ID3D10EffectStringVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectStringVariable, ID3D10EffectVariable); impl ID3D10EffectStringVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -3046,7 +3046,7 @@ pub struct ID3D10EffectStringVariable_Vtbl { pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PCSTR) -> windows_core::HRESULT, pub GetStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PCSTR, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectTechnique, ID3D10EffectTechnique_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectTechnique, ID3D10EffectTechnique_Vtbl); impl ID3D10EffectTechnique { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { (windows_core::Interface::vtable(self).IsValid)(windows_core::Interface::as_raw(self)) @@ -3088,7 +3088,7 @@ pub struct ID3D10EffectTechnique_Vtbl { pub GetPassByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR) -> Option, pub ComputeStateBlockMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_STATE_BLOCK_MASK) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectType, ID3D10EffectType_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectType, ID3D10EffectType_Vtbl); impl ID3D10EffectType { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { (windows_core::Interface::vtable(self).IsValid)(windows_core::Interface::as_raw(self)) @@ -3134,7 +3134,7 @@ pub struct ID3D10EffectType_Vtbl { pub GetMemberName: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::PCSTR, pub GetMemberSemantic: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::PCSTR, } -windows_core::imp::interface!(ID3D10EffectVariable, ID3D10EffectVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectVariable, ID3D10EffectVariable_Vtbl); impl ID3D10EffectVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { (windows_core::Interface::vtable(self).IsValid)(windows_core::Interface::as_raw(self)) @@ -3251,7 +3251,7 @@ pub struct ID3D10EffectVariable_Vtbl { pub SetRawValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub GetRawValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10EffectVectorVariable, ID3D10EffectVectorVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10EffectVectorVariable, ID3D10EffectVectorVariable_Vtbl); windows_core::imp::interface_hierarchy!(ID3D10EffectVectorVariable, ID3D10EffectVariable); impl ID3D10EffectVectorVariable { pub unsafe fn IsValid(&self) -> super::super::Foundation::BOOL { @@ -3393,7 +3393,7 @@ pub struct ID3D10EffectVectorVariable_Vtbl { pub GetIntVectorArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, u32, u32) -> windows_core::HRESULT, pub GetFloatVectorArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D10GeometryShader, ID3D10GeometryShader_Vtbl, 0x6316be88_54cd_4040_ab44_20461bc81f68); +windows_core::imp::define_interface!(ID3D10GeometryShader, ID3D10GeometryShader_Vtbl, 0x6316be88_54cd_4040_ab44_20461bc81f68); windows_core::imp::interface_hierarchy!(ID3D10GeometryShader, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10GeometryShader { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -3420,7 +3420,7 @@ unsafe impl Sync for ID3D10GeometryShader {} pub struct ID3D10GeometryShader_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D10InfoQueue, ID3D10InfoQueue_Vtbl, 0x1b940b17_2642_4d1f_ab1f_b99bad0c395f); +windows_core::imp::define_interface!(ID3D10InfoQueue, ID3D10InfoQueue_Vtbl, 0x1b940b17_2642_4d1f_ab1f_b99bad0c395f); windows_core::imp::interface_hierarchy!(ID3D10InfoQueue, windows_core::IUnknown); impl ID3D10InfoQueue { pub unsafe fn SetMessageCountLimit(&self, messagecountlimit: u64) -> windows_core::Result<()> { @@ -3588,7 +3588,7 @@ pub struct ID3D10InfoQueue_Vtbl { pub SetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), pub GetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(ID3D10InputLayout, ID3D10InputLayout_Vtbl, 0x9b7e4c0b_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10InputLayout, ID3D10InputLayout_Vtbl, 0x9b7e4c0b_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10InputLayout, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10InputLayout { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -3615,7 +3615,7 @@ unsafe impl Sync for ID3D10InputLayout {} pub struct ID3D10InputLayout_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D10Multithread, ID3D10Multithread_Vtbl, 0x9b7e4e00_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Multithread, ID3D10Multithread_Vtbl, 0x9b7e4e00_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Multithread, windows_core::IUnknown); impl ID3D10Multithread { pub unsafe fn Enter(&self) { @@ -3644,7 +3644,7 @@ pub struct ID3D10Multithread_Vtbl { pub SetMultithreadProtected: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> super::super::Foundation::BOOL, pub GetMultithreadProtected: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(ID3D10PixelShader, ID3D10PixelShader_Vtbl, 0x4968b601_9d00_4cde_8346_8e7f675819b6); +windows_core::imp::define_interface!(ID3D10PixelShader, ID3D10PixelShader_Vtbl, 0x4968b601_9d00_4cde_8346_8e7f675819b6); windows_core::imp::interface_hierarchy!(ID3D10PixelShader, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10PixelShader { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -3671,7 +3671,7 @@ unsafe impl Sync for ID3D10PixelShader {} pub struct ID3D10PixelShader_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D10Predicate, ID3D10Predicate_Vtbl, 0x9b7e4c10_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Predicate, ID3D10Predicate_Vtbl, 0x9b7e4c10_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Predicate, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous, ID3D10Query); impl ID3D10Predicate { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -3715,7 +3715,7 @@ unsafe impl Sync for ID3D10Predicate {} pub struct ID3D10Predicate_Vtbl { pub base__: ID3D10Query_Vtbl, } -windows_core::imp::com_interface!(ID3D10Query, ID3D10Query_Vtbl, 0x9b7e4c0e_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Query, ID3D10Query_Vtbl, 0x9b7e4c0e_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Query, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Asynchronous); impl ID3D10Query { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -3760,7 +3760,7 @@ pub struct ID3D10Query_Vtbl { pub base__: ID3D10Asynchronous_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_QUERY_DESC), } -windows_core::imp::com_interface!(ID3D10RasterizerState, ID3D10RasterizerState_Vtbl, 0xa2a07292_89af_4345_be2e_c53d9fbb6e9f); +windows_core::imp::define_interface!(ID3D10RasterizerState, ID3D10RasterizerState_Vtbl, 0xa2a07292_89af_4345_be2e_c53d9fbb6e9f); windows_core::imp::interface_hierarchy!(ID3D10RasterizerState, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10RasterizerState { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -3791,7 +3791,7 @@ pub struct ID3D10RasterizerState_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_RASTERIZER_DESC), } -windows_core::imp::com_interface!(ID3D10RenderTargetView, ID3D10RenderTargetView_Vtbl, 0x9b7e4c08_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10RenderTargetView, ID3D10RenderTargetView_Vtbl, 0x9b7e4c08_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10RenderTargetView, windows_core::IUnknown, ID3D10DeviceChild, ID3D10View); impl ID3D10RenderTargetView { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -3831,7 +3831,7 @@ pub struct ID3D10RenderTargetView_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D10Resource, ID3D10Resource_Vtbl, 0x9b7e4c01_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Resource, ID3D10Resource_Vtbl, 0x9b7e4c01_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Resource, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10Resource { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -3872,7 +3872,7 @@ pub struct ID3D10Resource_Vtbl { pub SetEvictionPriority: unsafe extern "system" fn(*mut core::ffi::c_void, u32), pub GetEvictionPriority: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(ID3D10SamplerState, ID3D10SamplerState_Vtbl, 0x9b7e4c0c_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10SamplerState, ID3D10SamplerState_Vtbl, 0x9b7e4c0c_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10SamplerState, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10SamplerState { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -3903,7 +3903,7 @@ pub struct ID3D10SamplerState_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_SAMPLER_DESC), } -windows_core::imp::com_interface!(ID3D10ShaderReflection, ID3D10ShaderReflection_Vtbl, 0xd40e20b6_f8f7_42ad_ab20_4baf8f15dfaa); +windows_core::imp::define_interface!(ID3D10ShaderReflection, ID3D10ShaderReflection_Vtbl, 0xd40e20b6_f8f7_42ad_ab20_4baf8f15dfaa); windows_core::imp::interface_hierarchy!(ID3D10ShaderReflection, windows_core::IUnknown); impl ID3D10ShaderReflection { #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -3956,7 +3956,7 @@ pub struct ID3D10ShaderReflection_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D"))] GetOutputParameterDesc: usize, } -windows_core::imp::com_interface!(ID3D10ShaderReflection1, ID3D10ShaderReflection1_Vtbl, 0xc3457783_a846_47ce_9520_cea6f66e7447); +windows_core::imp::define_interface!(ID3D10ShaderReflection1, ID3D10ShaderReflection1_Vtbl, 0xc3457783_a846_47ce_9520_cea6f66e7447); windows_core::imp::interface_hierarchy!(ID3D10ShaderReflection1, windows_core::IUnknown); impl ID3D10ShaderReflection1 { #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -4066,7 +4066,7 @@ pub struct ID3D10ShaderReflection1_Vtbl { pub IsLevel9Shader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsSampleFrequencyShader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D10ShaderReflectionConstantBuffer, ID3D10ShaderReflectionConstantBuffer_Vtbl); +windows_core::imp::define_interface!(ID3D10ShaderReflectionConstantBuffer, ID3D10ShaderReflectionConstantBuffer_Vtbl); impl ID3D10ShaderReflectionConstantBuffer { #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self, pdesc: *mut D3D10_SHADER_BUFFER_DESC) -> windows_core::Result<()> { @@ -4093,7 +4093,7 @@ pub struct ID3D10ShaderReflectionConstantBuffer_Vtbl { pub GetVariableByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> Option, pub GetVariableByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR) -> Option, } -windows_core::imp::interface!(ID3D10ShaderReflectionType, ID3D10ShaderReflectionType_Vtbl); +windows_core::imp::define_interface!(ID3D10ShaderReflectionType, ID3D10ShaderReflectionType_Vtbl); impl ID3D10ShaderReflectionType { #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self, pdesc: *mut D3D10_SHADER_TYPE_DESC) -> windows_core::Result<()> { @@ -4124,7 +4124,7 @@ pub struct ID3D10ShaderReflectionType_Vtbl { pub GetMemberTypeByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR) -> Option, pub GetMemberTypeName: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::PCSTR, } -windows_core::imp::interface!(ID3D10ShaderReflectionVariable, ID3D10ShaderReflectionVariable_Vtbl); +windows_core::imp::define_interface!(ID3D10ShaderReflectionVariable, ID3D10ShaderReflectionVariable_Vtbl); impl ID3D10ShaderReflectionVariable { pub unsafe fn GetDesc(&self, pdesc: *mut D3D10_SHADER_VARIABLE_DESC) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), pdesc).ok() @@ -4140,7 +4140,7 @@ pub struct ID3D10ShaderReflectionVariable_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D10_SHADER_VARIABLE_DESC) -> windows_core::HRESULT, pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, } -windows_core::imp::com_interface!(ID3D10ShaderResourceView, ID3D10ShaderResourceView_Vtbl, 0x9b7e4c07_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10ShaderResourceView, ID3D10ShaderResourceView_Vtbl, 0x9b7e4c07_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10ShaderResourceView, windows_core::IUnknown, ID3D10DeviceChild, ID3D10View); impl ID3D10ShaderResourceView { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -4180,7 +4180,7 @@ pub struct ID3D10ShaderResourceView_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common")))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D10ShaderResourceView1, ID3D10ShaderResourceView1_Vtbl, 0x9b7e4c87_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10ShaderResourceView1, ID3D10ShaderResourceView1_Vtbl, 0x9b7e4c87_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10ShaderResourceView1, windows_core::IUnknown, ID3D10DeviceChild, ID3D10View, ID3D10ShaderResourceView); impl ID3D10ShaderResourceView1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -4224,7 +4224,7 @@ pub struct ID3D10ShaderResourceView1_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common")))] GetDesc1: usize, } -windows_core::imp::com_interface!(ID3D10StateBlock, ID3D10StateBlock_Vtbl, 0x0803425a_57f5_4dd6_9465_a87570834a08); +windows_core::imp::define_interface!(ID3D10StateBlock, ID3D10StateBlock_Vtbl, 0x0803425a_57f5_4dd6_9465_a87570834a08); windows_core::imp::interface_hierarchy!(ID3D10StateBlock, windows_core::IUnknown); impl ID3D10StateBlock { pub unsafe fn Capture(&self) -> windows_core::Result<()> { @@ -4251,7 +4251,7 @@ pub struct ID3D10StateBlock_Vtbl { pub ReleaseAllDeviceObjects: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D10SwitchToRef, ID3D10SwitchToRef_Vtbl, 0x9b7e4e02_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10SwitchToRef, ID3D10SwitchToRef_Vtbl, 0x9b7e4e02_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10SwitchToRef, windows_core::IUnknown); impl ID3D10SwitchToRef { pub unsafe fn SetUseRef(&self, useref: P0) -> super::super::Foundation::BOOL @@ -4272,7 +4272,7 @@ pub struct ID3D10SwitchToRef_Vtbl { pub SetUseRef: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> super::super::Foundation::BOOL, pub GetUseRef: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(ID3D10Texture1D, ID3D10Texture1D_Vtbl, 0x9b7e4c03_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Texture1D, ID3D10Texture1D_Vtbl, 0x9b7e4c03_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Texture1D, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); impl ID3D10Texture1D { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -4326,7 +4326,7 @@ pub struct ID3D10Texture1D_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D10Texture2D, ID3D10Texture2D_Vtbl, 0x9b7e4c04_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Texture2D, ID3D10Texture2D_Vtbl, 0x9b7e4c04_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Texture2D, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); impl ID3D10Texture2D { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -4381,7 +4381,7 @@ pub struct ID3D10Texture2D_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D10Texture3D, ID3D10Texture3D_Vtbl, 0x9b7e4c05_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10Texture3D, ID3D10Texture3D_Vtbl, 0x9b7e4c05_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10Texture3D, windows_core::IUnknown, ID3D10DeviceChild, ID3D10Resource); impl ID3D10Texture3D { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -4436,7 +4436,7 @@ pub struct ID3D10Texture3D_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D10VertexShader, ID3D10VertexShader_Vtbl, 0x9b7e4c0a_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D10VertexShader, ID3D10VertexShader_Vtbl, 0x9b7e4c0a_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D10VertexShader, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10VertexShader { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -4463,7 +4463,7 @@ unsafe impl Sync for ID3D10VertexShader {} pub struct ID3D10VertexShader_Vtbl { pub base__: ID3D10DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D10View, ID3D10View_Vtbl, 0xc902b03f_60a7_49ba_9936_2a3ab37a7e33); +windows_core::imp::define_interface!(ID3D10View, ID3D10View_Vtbl, 0xc902b03f_60a7_49ba_9936_2a3ab37a7e33); windows_core::imp::interface_hierarchy!(ID3D10View, windows_core::IUnknown, ID3D10DeviceChild); impl ID3D10View { pub unsafe fn GetDevice(&self) -> windows_core::Result { 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 7349049098..25238bfd3b 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/mod.rs @@ -116,7 +116,7 @@ where let mut result__ = std::mem::zeroed(); D3DX11CreateSegmentedScan(pdevicecontext.into_param().abi(), maxelementscansize, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } -windows_core::imp::com_interface!(ID3D11Asynchronous, ID3D11Asynchronous_Vtbl, 0x4b35d0cd_1e15_4258_9c98_1b1333f6dd3b); +windows_core::imp::define_interface!(ID3D11Asynchronous, ID3D11Asynchronous_Vtbl, 0x4b35d0cd_1e15_4258_9c98_1b1333f6dd3b); windows_core::imp::interface_hierarchy!(ID3D11Asynchronous, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11Asynchronous { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -147,7 +147,7 @@ pub struct ID3D11Asynchronous_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, pub GetDataSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(ID3D11AuthenticatedChannel, ID3D11AuthenticatedChannel_Vtbl, 0x3015a308_dcbd_47aa_a747_192486d14d4a); +windows_core::imp::define_interface!(ID3D11AuthenticatedChannel, ID3D11AuthenticatedChannel_Vtbl, 0x3015a308_dcbd_47aa_a747_192486d14d4a); windows_core::imp::interface_hierarchy!(ID3D11AuthenticatedChannel, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11AuthenticatedChannel { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -189,7 +189,7 @@ pub struct ID3D11AuthenticatedChannel_Vtbl { pub GetCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, pub GetChannelHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE), } -windows_core::imp::com_interface!(ID3D11BlendState, ID3D11BlendState_Vtbl, 0x75b68faa_347d_4159_8f45_a0640f01cd9a); +windows_core::imp::define_interface!(ID3D11BlendState, ID3D11BlendState_Vtbl, 0x75b68faa_347d_4159_8f45_a0640f01cd9a); windows_core::imp::interface_hierarchy!(ID3D11BlendState, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11BlendState { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -220,7 +220,7 @@ pub struct ID3D11BlendState_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_BLEND_DESC), } -windows_core::imp::com_interface!(ID3D11BlendState1, ID3D11BlendState1_Vtbl, 0xcc86fabe_da55_401d_85e7_e3c9de2877e9); +windows_core::imp::define_interface!(ID3D11BlendState1, ID3D11BlendState1_Vtbl, 0xcc86fabe_da55_401d_85e7_e3c9de2877e9); windows_core::imp::interface_hierarchy!(ID3D11BlendState1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11BlendState); impl ID3D11BlendState1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -254,7 +254,7 @@ pub struct ID3D11BlendState1_Vtbl { pub base__: ID3D11BlendState_Vtbl, pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_BLEND_DESC1), } -windows_core::imp::com_interface!(ID3D11Buffer, ID3D11Buffer_Vtbl, 0x48570b85_d1ee_4fcd_a250_eb350722b037); +windows_core::imp::define_interface!(ID3D11Buffer, ID3D11Buffer_Vtbl, 0x48570b85_d1ee_4fcd_a250_eb350722b037); windows_core::imp::interface_hierarchy!(ID3D11Buffer, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); impl ID3D11Buffer { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -296,7 +296,7 @@ pub struct ID3D11Buffer_Vtbl { pub base__: ID3D11Resource_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_BUFFER_DESC), } -windows_core::imp::com_interface!(ID3D11ClassInstance, ID3D11ClassInstance_Vtbl, 0xa6cd7faa_b0b7_4a2f_9436_8662a65797cb); +windows_core::imp::define_interface!(ID3D11ClassInstance, ID3D11ClassInstance_Vtbl, 0xa6cd7faa_b0b7_4a2f_9436_8662a65797cb); windows_core::imp::interface_hierarchy!(ID3D11ClassInstance, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11ClassInstance { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -341,7 +341,7 @@ pub struct ID3D11ClassInstance_Vtbl { pub GetInstanceName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, *mut usize), pub GetTypeName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, *mut usize), } -windows_core::imp::com_interface!(ID3D11ClassLinkage, ID3D11ClassLinkage_Vtbl, 0xddf57cba_9543_46e4_a12b_f207a0fe7fed); +windows_core::imp::define_interface!(ID3D11ClassLinkage, ID3D11ClassLinkage_Vtbl, 0xddf57cba_9543_46e4_a12b_f207a0fe7fed); windows_core::imp::interface_hierarchy!(ID3D11ClassLinkage, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11ClassLinkage { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -384,7 +384,7 @@ pub struct ID3D11ClassLinkage_Vtbl { pub GetClassInstance: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateClassInstance: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11CommandList, ID3D11CommandList_Vtbl, 0xa24bc4d1_769e_43f7_8013_98ff566c18e2); +windows_core::imp::define_interface!(ID3D11CommandList, ID3D11CommandList_Vtbl, 0xa24bc4d1_769e_43f7_8013_98ff566c18e2); windows_core::imp::interface_hierarchy!(ID3D11CommandList, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11CommandList { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -415,7 +415,7 @@ pub struct ID3D11CommandList_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, pub GetContextFlags: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(ID3D11ComputeShader, ID3D11ComputeShader_Vtbl, 0x4f5b196e_c2bd_495e_bd01_1fded38e4969); +windows_core::imp::define_interface!(ID3D11ComputeShader, ID3D11ComputeShader_Vtbl, 0x4f5b196e_c2bd_495e_bd01_1fded38e4969); windows_core::imp::interface_hierarchy!(ID3D11ComputeShader, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11ComputeShader { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -442,7 +442,7 @@ unsafe impl Sync for ID3D11ComputeShader {} pub struct ID3D11ComputeShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D11Counter, ID3D11Counter_Vtbl, 0x6e8c49fb_a371_4770_b440_29086022b741); +windows_core::imp::define_interface!(ID3D11Counter, ID3D11Counter_Vtbl, 0x6e8c49fb_a371_4770_b440_29086022b741); windows_core::imp::interface_hierarchy!(ID3D11Counter, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); impl ID3D11Counter { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -478,7 +478,7 @@ pub struct ID3D11Counter_Vtbl { pub base__: ID3D11Asynchronous_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_COUNTER_DESC), } -windows_core::imp::com_interface!(ID3D11CryptoSession, ID3D11CryptoSession_Vtbl, 0x9b32f9ad_bdcc_40a6_a39d_d5c865845720); +windows_core::imp::define_interface!(ID3D11CryptoSession, ID3D11CryptoSession_Vtbl, 0x9b32f9ad_bdcc_40a6_a39d_d5c865845720); windows_core::imp::interface_hierarchy!(ID3D11CryptoSession, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11CryptoSession { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -532,7 +532,7 @@ pub struct ID3D11CryptoSession_Vtbl { pub GetCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, pub GetCryptoSessionHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE), } -windows_core::imp::com_interface!(ID3D11Debug, ID3D11Debug_Vtbl, 0x79cf2233_7536_4948_9d36_1e4692dc5760); +windows_core::imp::define_interface!(ID3D11Debug, ID3D11Debug_Vtbl, 0x79cf2233_7536_4948_9d36_1e4692dc5760); windows_core::imp::interface_hierarchy!(ID3D11Debug, windows_core::IUnknown); impl ID3D11Debug { pub unsafe fn SetFeatureMask(&self, mask: u32) -> windows_core::Result<()> { @@ -596,7 +596,7 @@ pub struct ID3D11Debug_Vtbl { pub ReportLiveDeviceObjects: unsafe extern "system" fn(*mut core::ffi::c_void, D3D11_RLDO_FLAGS) -> windows_core::HRESULT, pub ValidateContextForDispatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11DepthStencilState, ID3D11DepthStencilState_Vtbl, 0x03823efb_8d8f_4e1c_9aa2_f64bb2cbfdf1); +windows_core::imp::define_interface!(ID3D11DepthStencilState, ID3D11DepthStencilState_Vtbl, 0x03823efb_8d8f_4e1c_9aa2_f64bb2cbfdf1); windows_core::imp::interface_hierarchy!(ID3D11DepthStencilState, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11DepthStencilState { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -627,7 +627,7 @@ pub struct ID3D11DepthStencilState_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_DEPTH_STENCIL_DESC), } -windows_core::imp::com_interface!(ID3D11DepthStencilView, ID3D11DepthStencilView_Vtbl, 0x9fdac92a_1876_48c3_afad_25b94f84a9b6); +windows_core::imp::define_interface!(ID3D11DepthStencilView, ID3D11DepthStencilView_Vtbl, 0x9fdac92a_1876_48c3_afad_25b94f84a9b6); windows_core::imp::interface_hierarchy!(ID3D11DepthStencilView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ID3D11DepthStencilView { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -667,7 +667,7 @@ pub struct ID3D11DepthStencilView_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D11Device, ID3D11Device_Vtbl, 0xdb6f6ddb_ac77_4e88_8253_819df9bbf140); +windows_core::imp::define_interface!(ID3D11Device, ID3D11Device_Vtbl, 0xdb6f6ddb_ac77_4e88_8253_819df9bbf140); windows_core::imp::interface_hierarchy!(ID3D11Device, windows_core::IUnknown); impl ID3D11Device { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: Option<*mut Option>) -> windows_core::Result<()> { @@ -940,7 +940,7 @@ pub struct ID3D11Device_Vtbl { pub SetExceptionMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetExceptionMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(ID3D11Device1, ID3D11Device1_Vtbl, 0xa04bfb29_08ef_43d6_a49c_a9bdbdcbe686); +windows_core::imp::define_interface!(ID3D11Device1, ID3D11Device1_Vtbl, 0xa04bfb29_08ef_43d6_a49c_a9bdbdcbe686); windows_core::imp::interface_hierarchy!(ID3D11Device1, windows_core::IUnknown, ID3D11Device); impl ID3D11Device1 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: Option<*mut Option>) -> windows_core::Result<()> { @@ -1184,7 +1184,7 @@ pub struct ID3D11Device1_Vtbl { pub OpenSharedResource1: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OpenSharedResourceByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11Device2, ID3D11Device2_Vtbl, 0x9d06dffa_d1e5_4d07_83a8_1bb123f2f841); +windows_core::imp::define_interface!(ID3D11Device2, ID3D11Device2_Vtbl, 0x9d06dffa_d1e5_4d07_83a8_1bb123f2f841); windows_core::imp::interface_hierarchy!(ID3D11Device2, windows_core::IUnknown, ID3D11Device, ID3D11Device1); impl ID3D11Device2 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: Option<*mut Option>) -> windows_core::Result<()> { @@ -1444,7 +1444,7 @@ pub struct ID3D11Device2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] CheckMultisampleQualityLevels1: usize, } -windows_core::imp::com_interface!(ID3D11Device3, ID3D11Device3_Vtbl, 0xa05c8c37_d2c6_4732_b3a0_9ce0b0dc9ae6); +windows_core::imp::define_interface!(ID3D11Device3, ID3D11Device3_Vtbl, 0xa05c8c37_d2c6_4732_b3a0_9ce0b0dc9ae6); windows_core::imp::interface_hierarchy!(ID3D11Device3, windows_core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2); impl ID3D11Device3 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: Option<*mut Option>) -> windows_core::Result<()> { @@ -1778,7 +1778,7 @@ pub struct ID3D11Device3_Vtbl { pub WriteToSubresource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const D3D11_BOX, *const core::ffi::c_void, u32, u32), pub ReadFromSubresource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, u32, *const D3D11_BOX), } -windows_core::imp::com_interface!(ID3D11Device4, ID3D11Device4_Vtbl, 0x8992ab71_02e6_4b8d_ba48_b056dcda42c4); +windows_core::imp::define_interface!(ID3D11Device4, ID3D11Device4_Vtbl, 0x8992ab71_02e6_4b8d_ba48_b056dcda42c4); windows_core::imp::interface_hierarchy!(ID3D11Device4, windows_core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3); impl ID3D11Device4 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: Option<*mut Option>) -> windows_core::Result<()> { @@ -2098,7 +2098,7 @@ pub struct ID3D11Device4_Vtbl { pub RegisterDeviceRemovedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *mut u32) -> windows_core::HRESULT, pub UnregisterDeviceRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } -windows_core::imp::com_interface!(ID3D11Device5, ID3D11Device5_Vtbl, 0x8ffde202_a0e7_45df_9e01_e837801b5ea0); +windows_core::imp::define_interface!(ID3D11Device5, ID3D11Device5_Vtbl, 0x8ffde202_a0e7_45df_9e01_e837801b5ea0); windows_core::imp::interface_hierarchy!(ID3D11Device5, windows_core::IUnknown, ID3D11Device, ID3D11Device1, ID3D11Device2, ID3D11Device3, ID3D11Device4); impl ID3D11Device5 { pub unsafe fn CreateBuffer(&self, pdesc: *const D3D11_BUFFER_DESC, pinitialdata: Option<*const D3D11_SUBRESOURCE_DATA>, ppbuffer: Option<*mut Option>) -> windows_core::Result<()> { @@ -2431,7 +2431,7 @@ pub struct ID3D11Device5_Vtbl { pub OpenSharedFence: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFence: unsafe extern "system" fn(*mut core::ffi::c_void, u64, D3D11_FENCE_FLAG, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11DeviceChild, ID3D11DeviceChild_Vtbl, 0x1841e5c8_16b0_489b_bcc8_44cfb0d5deae); +windows_core::imp::define_interface!(ID3D11DeviceChild, ID3D11DeviceChild_Vtbl, 0x1841e5c8_16b0_489b_bcc8_44cfb0d5deae); windows_core::imp::interface_hierarchy!(ID3D11DeviceChild, windows_core::IUnknown); impl ID3D11DeviceChild { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -2462,7 +2462,7 @@ pub struct ID3D11DeviceChild_Vtbl { pub SetPrivateData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const core::ffi::c_void) -> windows_core::HRESULT, pub SetPrivateDataInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11DeviceContext, ID3D11DeviceContext_Vtbl, 0xc0bfa96c_e089_44fb_8eaf_26f8796190da); +windows_core::imp::define_interface!(ID3D11DeviceContext, ID3D11DeviceContext_Vtbl, 0xc0bfa96c_e089_44fb_8eaf_26f8796190da); windows_core::imp::interface_hierarchy!(ID3D11DeviceContext, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11DeviceContext { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -3069,7 +3069,7 @@ pub struct ID3D11DeviceContext_Vtbl { pub GetContextFlags: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub FinishCommandList: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11DeviceContext1, ID3D11DeviceContext1_Vtbl, 0xbb2c6faa_b5fb_4082_8e6b_388b8cfa90e1); +windows_core::imp::define_interface!(ID3D11DeviceContext1, ID3D11DeviceContext1_Vtbl, 0xbb2c6faa_b5fb_4082_8e6b_388b8cfa90e1); windows_core::imp::interface_hierarchy!(ID3D11DeviceContext1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext); impl ID3D11DeviceContext1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -3651,7 +3651,7 @@ pub struct ID3D11DeviceContext1_Vtbl { pub ClearView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const f32, *const super::super::Foundation::RECT, u32), pub DiscardView1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::Foundation::RECT, u32), } -windows_core::imp::com_interface!(ID3D11DeviceContext2, ID3D11DeviceContext2_Vtbl, 0x420d5b32_b90c_4da4_bef0_359f6a24a83a); +windows_core::imp::define_interface!(ID3D11DeviceContext2, ID3D11DeviceContext2_Vtbl, 0x420d5b32_b90c_4da4_bef0_359f6a24a83a); windows_core::imp::interface_hierarchy!(ID3D11DeviceContext2, windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1); impl ID3D11DeviceContext2 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -4295,7 +4295,7 @@ pub struct ID3D11DeviceContext2_Vtbl { pub BeginEventInt: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32), pub EndEvent: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID3D11DeviceContext3, ID3D11DeviceContext3_Vtbl, 0xb4e3c01d_e79e_4637_91b2_510e9f4c9b8f); +windows_core::imp::define_interface!(ID3D11DeviceContext3, ID3D11DeviceContext3_Vtbl, 0xb4e3c01d_e79e_4637_91b2_510e9f4c9b8f); windows_core::imp::interface_hierarchy!(ID3D11DeviceContext3, windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2); impl ID3D11DeviceContext3 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -4949,7 +4949,7 @@ pub struct ID3D11DeviceContext3_Vtbl { pub SetHardwareProtectionState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), pub GetHardwareProtectionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL), } -windows_core::imp::com_interface!(ID3D11DeviceContext4, ID3D11DeviceContext4_Vtbl, 0x917600da_f58c_4c33_98d8_3e15b390fa24); +windows_core::imp::define_interface!(ID3D11DeviceContext4, ID3D11DeviceContext4_Vtbl, 0x917600da_f58c_4c33_98d8_3e15b390fa24); windows_core::imp::interface_hierarchy!(ID3D11DeviceContext4, windows_core::IUnknown, ID3D11DeviceChild, ID3D11DeviceContext, ID3D11DeviceContext1, ID3D11DeviceContext2, ID3D11DeviceContext3); impl ID3D11DeviceContext4 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -5614,7 +5614,7 @@ pub struct ID3D11DeviceContext4_Vtbl { pub Signal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub Wait: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11DomainShader, ID3D11DomainShader_Vtbl, 0xf582c508_0f36_490c_9977_31eece268cfa); +windows_core::imp::define_interface!(ID3D11DomainShader, ID3D11DomainShader_Vtbl, 0xf582c508_0f36_490c_9977_31eece268cfa); windows_core::imp::interface_hierarchy!(ID3D11DomainShader, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11DomainShader { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -5641,7 +5641,7 @@ unsafe impl Sync for ID3D11DomainShader {} pub struct ID3D11DomainShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D11Fence, ID3D11Fence_Vtbl, 0xaffde9d1_1df7_4bb7_8a34_0f46251dab80); +windows_core::imp::define_interface!(ID3D11Fence, ID3D11Fence_Vtbl, 0xaffde9d1_1df7_4bb7_8a34_0f46251dab80); windows_core::imp::interface_hierarchy!(ID3D11Fence, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11Fence { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -5691,7 +5691,7 @@ pub struct ID3D11Fence_Vtbl { pub GetCompletedValue: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, pub SetEventOnCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, u64, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11FunctionLinkingGraph, ID3D11FunctionLinkingGraph_Vtbl, 0x54133220_1ce8_43d3_8236_9855c5ceecff); +windows_core::imp::define_interface!(ID3D11FunctionLinkingGraph, ID3D11FunctionLinkingGraph_Vtbl, 0x54133220_1ce8_43d3_8236_9855c5ceecff); windows_core::imp::interface_hierarchy!(ID3D11FunctionLinkingGraph, windows_core::IUnknown); impl ID3D11FunctionLinkingGraph { #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -5772,7 +5772,7 @@ pub struct ID3D11FunctionLinkingGraph_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D"))] GenerateHlsl: usize, } -windows_core::imp::interface!(ID3D11FunctionParameterReflection, ID3D11FunctionParameterReflection_Vtbl); +windows_core::imp::define_interface!(ID3D11FunctionParameterReflection, ID3D11FunctionParameterReflection_Vtbl); impl ID3D11FunctionParameterReflection { #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_PARAMETER_DESC) -> windows_core::Result<()> { @@ -5788,7 +5788,7 @@ pub struct ID3D11FunctionParameterReflection_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D"))] GetDesc: usize, } -windows_core::imp::interface!(ID3D11FunctionReflection, ID3D11FunctionReflection_Vtbl); +windows_core::imp::define_interface!(ID3D11FunctionReflection, ID3D11FunctionReflection_Vtbl); impl ID3D11FunctionReflection { #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_FUNCTION_DESC) -> windows_core::Result<()> { @@ -5845,7 +5845,7 @@ pub struct ID3D11FunctionReflection_Vtbl { GetResourceBindingDescByName: usize, pub GetFunctionParameter: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> Option, } -windows_core::imp::com_interface!(ID3D11GeometryShader, ID3D11GeometryShader_Vtbl, 0x38325b96_effb_4022_ba02_2e795b70275c); +windows_core::imp::define_interface!(ID3D11GeometryShader, ID3D11GeometryShader_Vtbl, 0x38325b96_effb_4022_ba02_2e795b70275c); windows_core::imp::interface_hierarchy!(ID3D11GeometryShader, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11GeometryShader { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -5872,7 +5872,7 @@ unsafe impl Sync for ID3D11GeometryShader {} pub struct ID3D11GeometryShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D11HullShader, ID3D11HullShader_Vtbl, 0x8e5c6061_628a_4c8e_8264_bbe45cb3d5dd); +windows_core::imp::define_interface!(ID3D11HullShader, ID3D11HullShader_Vtbl, 0x8e5c6061_628a_4c8e_8264_bbe45cb3d5dd); windows_core::imp::interface_hierarchy!(ID3D11HullShader, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11HullShader { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -5899,7 +5899,7 @@ unsafe impl Sync for ID3D11HullShader {} pub struct ID3D11HullShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D11InfoQueue, ID3D11InfoQueue_Vtbl, 0x6543dbb6_1b48_42f5_ab82_e97ec74326f6); +windows_core::imp::define_interface!(ID3D11InfoQueue, ID3D11InfoQueue_Vtbl, 0x6543dbb6_1b48_42f5_ab82_e97ec74326f6); windows_core::imp::interface_hierarchy!(ID3D11InfoQueue, windows_core::IUnknown); impl ID3D11InfoQueue { pub unsafe fn SetMessageCountLimit(&self, messagecountlimit: u64) -> windows_core::Result<()> { @@ -6067,7 +6067,7 @@ pub struct ID3D11InfoQueue_Vtbl { pub SetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), pub GetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(ID3D11InputLayout, ID3D11InputLayout_Vtbl, 0xe4819ddc_4cf0_4025_bd26_5de82a3e07b7); +windows_core::imp::define_interface!(ID3D11InputLayout, ID3D11InputLayout_Vtbl, 0xe4819ddc_4cf0_4025_bd26_5de82a3e07b7); windows_core::imp::interface_hierarchy!(ID3D11InputLayout, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11InputLayout { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6094,7 +6094,7 @@ unsafe impl Sync for ID3D11InputLayout {} pub struct ID3D11InputLayout_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D11LibraryReflection, ID3D11LibraryReflection_Vtbl, 0x54384f1b_5b3e_4bb7_ae01_60ba3097cbb6); +windows_core::imp::define_interface!(ID3D11LibraryReflection, ID3D11LibraryReflection_Vtbl, 0x54384f1b_5b3e_4bb7_ae01_60ba3097cbb6); windows_core::imp::interface_hierarchy!(ID3D11LibraryReflection, windows_core::IUnknown); impl ID3D11LibraryReflection { pub unsafe fn GetDesc(&self) -> windows_core::Result { @@ -6113,7 +6113,7 @@ pub struct ID3D11LibraryReflection_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_LIBRARY_DESC) -> windows_core::HRESULT, pub GetFunctionByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> Option, } -windows_core::imp::com_interface!(ID3D11Linker, ID3D11Linker_Vtbl, 0x59a6cd0e_e10d_4c1f_88c0_63aba1daf30e); +windows_core::imp::define_interface!(ID3D11Linker, ID3D11Linker_Vtbl, 0x59a6cd0e_e10d_4c1f_88c0_63aba1daf30e); windows_core::imp::interface_hierarchy!(ID3D11Linker, windows_core::IUnknown); impl ID3D11Linker { #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -6147,7 +6147,7 @@ pub struct ID3D11Linker_Vtbl { pub UseLibrary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddClipPlaneFromCBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11LinkingNode, ID3D11LinkingNode_Vtbl, 0xd80dd70c_8d2f_4751_94a1_03c79b3556db); +windows_core::imp::define_interface!(ID3D11LinkingNode, ID3D11LinkingNode_Vtbl, 0xd80dd70c_8d2f_4751_94a1_03c79b3556db); windows_core::imp::interface_hierarchy!(ID3D11LinkingNode, windows_core::IUnknown); impl ID3D11LinkingNode {} unsafe impl Send for ID3D11LinkingNode {} @@ -6156,7 +6156,7 @@ unsafe impl Sync for ID3D11LinkingNode {} pub struct ID3D11LinkingNode_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(ID3D11Module, ID3D11Module_Vtbl, 0xcac701ee_80fc_4122_8242_10b39c8cec34); +windows_core::imp::define_interface!(ID3D11Module, ID3D11Module_Vtbl, 0xcac701ee_80fc_4122_8242_10b39c8cec34); windows_core::imp::interface_hierarchy!(ID3D11Module, windows_core::IUnknown); impl ID3D11Module { pub unsafe fn CreateInstance(&self, pnamespace: P0) -> windows_core::Result @@ -6174,7 +6174,7 @@ pub struct ID3D11Module_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11ModuleInstance, ID3D11ModuleInstance_Vtbl, 0x469e07f7_045a_48d5_aa12_68a478cdf75d); +windows_core::imp::define_interface!(ID3D11ModuleInstance, ID3D11ModuleInstance_Vtbl, 0x469e07f7_045a_48d5_aa12_68a478cdf75d); windows_core::imp::interface_hierarchy!(ID3D11ModuleInstance, windows_core::IUnknown); impl ID3D11ModuleInstance { pub unsafe fn BindConstantBuffer(&self, usrcslot: u32, udstslot: u32, cbdstoffset: u32) -> windows_core::Result<()> { @@ -6239,7 +6239,7 @@ pub struct ID3D11ModuleInstance_Vtbl { pub BindResourceAsUnorderedAccessView: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, pub BindResourceAsUnorderedAccessViewByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11Multithread, ID3D11Multithread_Vtbl, 0x9b7e4e00_342c_4106_a19f_4f2704f689f0); +windows_core::imp::define_interface!(ID3D11Multithread, ID3D11Multithread_Vtbl, 0x9b7e4e00_342c_4106_a19f_4f2704f689f0); windows_core::imp::interface_hierarchy!(ID3D11Multithread, windows_core::IUnknown); impl ID3D11Multithread { pub unsafe fn Enter(&self) { @@ -6268,7 +6268,7 @@ pub struct ID3D11Multithread_Vtbl { pub SetMultithreadProtected: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> super::super::Foundation::BOOL, pub GetMultithreadProtected: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(ID3D11PixelShader, ID3D11PixelShader_Vtbl, 0xea82e40d_51dc_4f33_93d4_db7c9125ae8c); +windows_core::imp::define_interface!(ID3D11PixelShader, ID3D11PixelShader_Vtbl, 0xea82e40d_51dc_4f33_93d4_db7c9125ae8c); windows_core::imp::interface_hierarchy!(ID3D11PixelShader, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11PixelShader { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6295,7 +6295,7 @@ unsafe impl Sync for ID3D11PixelShader {} pub struct ID3D11PixelShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D11Predicate, ID3D11Predicate_Vtbl, 0x9eb576dd_9f77_4d86_81aa_8bab5fe490e2); +windows_core::imp::define_interface!(ID3D11Predicate, ID3D11Predicate_Vtbl, 0x9eb576dd_9f77_4d86_81aa_8bab5fe490e2); windows_core::imp::interface_hierarchy!(ID3D11Predicate, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); impl ID3D11Predicate { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6330,7 +6330,7 @@ unsafe impl Sync for ID3D11Predicate {} pub struct ID3D11Predicate_Vtbl { pub base__: ID3D11Query_Vtbl, } -windows_core::imp::com_interface!(ID3D11Query, ID3D11Query_Vtbl, 0xd6c00747_87b7_425e_b84d_44d108560afd); +windows_core::imp::define_interface!(ID3D11Query, ID3D11Query_Vtbl, 0xd6c00747_87b7_425e_b84d_44d108560afd); windows_core::imp::interface_hierarchy!(ID3D11Query, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous); impl ID3D11Query { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6366,7 +6366,7 @@ pub struct ID3D11Query_Vtbl { pub base__: ID3D11Asynchronous_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_QUERY_DESC), } -windows_core::imp::com_interface!(ID3D11Query1, ID3D11Query1_Vtbl, 0x631b4766_36dc_461d_8db6_c47e13e60916); +windows_core::imp::define_interface!(ID3D11Query1, ID3D11Query1_Vtbl, 0x631b4766_36dc_461d_8db6_c47e13e60916); windows_core::imp::interface_hierarchy!(ID3D11Query1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Asynchronous, ID3D11Query); impl ID3D11Query1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6407,7 +6407,7 @@ pub struct ID3D11Query1_Vtbl { pub base__: ID3D11Query_Vtbl, pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_QUERY_DESC1), } -windows_core::imp::com_interface!(ID3D11RasterizerState, ID3D11RasterizerState_Vtbl, 0x9bb4ab81_ab1a_4d8f_b506_fc04200b6ee7); +windows_core::imp::define_interface!(ID3D11RasterizerState, ID3D11RasterizerState_Vtbl, 0x9bb4ab81_ab1a_4d8f_b506_fc04200b6ee7); windows_core::imp::interface_hierarchy!(ID3D11RasterizerState, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11RasterizerState { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6438,7 +6438,7 @@ pub struct ID3D11RasterizerState_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_RASTERIZER_DESC), } -windows_core::imp::com_interface!(ID3D11RasterizerState1, ID3D11RasterizerState1_Vtbl, 0x1217d7a6_5039_418c_b042_9cbe256afd6e); +windows_core::imp::define_interface!(ID3D11RasterizerState1, ID3D11RasterizerState1_Vtbl, 0x1217d7a6_5039_418c_b042_9cbe256afd6e); windows_core::imp::interface_hierarchy!(ID3D11RasterizerState1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState); impl ID3D11RasterizerState1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6472,7 +6472,7 @@ pub struct ID3D11RasterizerState1_Vtbl { pub base__: ID3D11RasterizerState_Vtbl, pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_RASTERIZER_DESC1), } -windows_core::imp::com_interface!(ID3D11RasterizerState2, ID3D11RasterizerState2_Vtbl, 0x6fbd02fb_209f_46c4_b059_2ed15586a6ac); +windows_core::imp::define_interface!(ID3D11RasterizerState2, ID3D11RasterizerState2_Vtbl, 0x6fbd02fb_209f_46c4_b059_2ed15586a6ac); windows_core::imp::interface_hierarchy!(ID3D11RasterizerState2, windows_core::IUnknown, ID3D11DeviceChild, ID3D11RasterizerState, ID3D11RasterizerState1); impl ID3D11RasterizerState2 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6509,7 +6509,7 @@ pub struct ID3D11RasterizerState2_Vtbl { pub base__: ID3D11RasterizerState1_Vtbl, pub GetDesc2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_RASTERIZER_DESC2), } -windows_core::imp::com_interface!(ID3D11RefDefaultTrackingOptions, ID3D11RefDefaultTrackingOptions_Vtbl, 0x03916615_c644_418c_9bf4_75db5be63ca0); +windows_core::imp::define_interface!(ID3D11RefDefaultTrackingOptions, ID3D11RefDefaultTrackingOptions_Vtbl, 0x03916615_c644_418c_9bf4_75db5be63ca0); windows_core::imp::interface_hierarchy!(ID3D11RefDefaultTrackingOptions, windows_core::IUnknown); impl ID3D11RefDefaultTrackingOptions { pub unsafe fn SetTrackingOptions(&self, resourcetypeflags: u32, options: u32) -> windows_core::Result<()> { @@ -6523,7 +6523,7 @@ pub struct ID3D11RefDefaultTrackingOptions_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetTrackingOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11RefTrackingOptions, ID3D11RefTrackingOptions_Vtbl, 0x193dacdf_0db2_4c05_a55c_ef06cac56fd9); +windows_core::imp::define_interface!(ID3D11RefTrackingOptions, ID3D11RefTrackingOptions_Vtbl, 0x193dacdf_0db2_4c05_a55c_ef06cac56fd9); windows_core::imp::interface_hierarchy!(ID3D11RefTrackingOptions, windows_core::IUnknown); impl ID3D11RefTrackingOptions { pub unsafe fn SetTrackingOptions(&self, uoptions: u32) -> windows_core::Result<()> { @@ -6537,7 +6537,7 @@ pub struct ID3D11RefTrackingOptions_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetTrackingOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11RenderTargetView, ID3D11RenderTargetView_Vtbl, 0xdfdba067_0b8d_4865_875b_d7b4516cc164); +windows_core::imp::define_interface!(ID3D11RenderTargetView, ID3D11RenderTargetView_Vtbl, 0xdfdba067_0b8d_4865_875b_d7b4516cc164); windows_core::imp::interface_hierarchy!(ID3D11RenderTargetView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ID3D11RenderTargetView { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6577,7 +6577,7 @@ pub struct ID3D11RenderTargetView_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D11RenderTargetView1, ID3D11RenderTargetView1_Vtbl, 0xffbe2e23_f011_418a_ac56_5ceed7c5b94b); +windows_core::imp::define_interface!(ID3D11RenderTargetView1, ID3D11RenderTargetView1_Vtbl, 0xffbe2e23_f011_418a_ac56_5ceed7c5b94b); windows_core::imp::interface_hierarchy!(ID3D11RenderTargetView1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11RenderTargetView); impl ID3D11RenderTargetView1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6621,7 +6621,7 @@ pub struct ID3D11RenderTargetView1_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc1: usize, } -windows_core::imp::com_interface!(ID3D11Resource, ID3D11Resource_Vtbl, 0xdc8e63f3_d12b_4952_b47b_5e45026a862d); +windows_core::imp::define_interface!(ID3D11Resource, ID3D11Resource_Vtbl, 0xdc8e63f3_d12b_4952_b47b_5e45026a862d); windows_core::imp::interface_hierarchy!(ID3D11Resource, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11Resource { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6662,7 +6662,7 @@ pub struct ID3D11Resource_Vtbl { pub SetEvictionPriority: unsafe extern "system" fn(*mut core::ffi::c_void, u32), pub GetEvictionPriority: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(ID3D11SamplerState, ID3D11SamplerState_Vtbl, 0xda6fea51_564c_4487_9810_f0d0f9b4e3a5); +windows_core::imp::define_interface!(ID3D11SamplerState, ID3D11SamplerState_Vtbl, 0xda6fea51_564c_4487_9810_f0d0f9b4e3a5); windows_core::imp::interface_hierarchy!(ID3D11SamplerState, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11SamplerState { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6693,7 +6693,7 @@ pub struct ID3D11SamplerState_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_SAMPLER_DESC), } -windows_core::imp::com_interface!(ID3D11ShaderReflection, ID3D11ShaderReflection_Vtbl, 0x8d536ca1_0cca_4956_a837_786963755584); +windows_core::imp::define_interface!(ID3D11ShaderReflection, ID3D11ShaderReflection_Vtbl, 0x8d536ca1_0cca_4956_a837_786963755584); windows_core::imp::interface_hierarchy!(ID3D11ShaderReflection, windows_core::IUnknown); impl ID3D11ShaderReflection { #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -6821,7 +6821,7 @@ pub struct ID3D11ShaderReflection_Vtbl { pub GetThreadGroupSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> u32, pub GetRequiresFlags: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, } -windows_core::imp::interface!(ID3D11ShaderReflectionConstantBuffer, ID3D11ShaderReflectionConstantBuffer_Vtbl); +windows_core::imp::define_interface!(ID3D11ShaderReflectionConstantBuffer, ID3D11ShaderReflectionConstantBuffer_Vtbl); impl ID3D11ShaderReflectionConstantBuffer { #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_SHADER_BUFFER_DESC) -> windows_core::Result<()> { @@ -6848,7 +6848,7 @@ pub struct ID3D11ShaderReflectionConstantBuffer_Vtbl { pub GetVariableByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> Option, pub GetVariableByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR) -> Option, } -windows_core::imp::interface!(ID3D11ShaderReflectionType, ID3D11ShaderReflectionType_Vtbl); +windows_core::imp::define_interface!(ID3D11ShaderReflectionType, ID3D11ShaderReflectionType_Vtbl); impl ID3D11ShaderReflectionType { #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_SHADER_TYPE_DESC) -> windows_core::Result<()> { @@ -6916,7 +6916,7 @@ pub struct ID3D11ShaderReflectionType_Vtbl { pub IsOfType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ImplementsInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D11ShaderReflectionVariable, ID3D11ShaderReflectionVariable_Vtbl); +windows_core::imp::define_interface!(ID3D11ShaderReflectionVariable, ID3D11ShaderReflectionVariable_Vtbl); impl ID3D11ShaderReflectionVariable { pub unsafe fn GetDesc(&self, pdesc: *mut D3D11_SHADER_VARIABLE_DESC) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), pdesc).ok() @@ -6940,7 +6940,7 @@ pub struct ID3D11ShaderReflectionVariable_Vtbl { pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, pub GetInterfaceSlot: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, } -windows_core::imp::com_interface!(ID3D11ShaderResourceView, ID3D11ShaderResourceView_Vtbl, 0xb0e06fe0_8192_4e1a_b1ca_36d7414710b2); +windows_core::imp::define_interface!(ID3D11ShaderResourceView, ID3D11ShaderResourceView_Vtbl, 0xb0e06fe0_8192_4e1a_b1ca_36d7414710b2); windows_core::imp::interface_hierarchy!(ID3D11ShaderResourceView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ID3D11ShaderResourceView { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -6980,7 +6980,7 @@ pub struct ID3D11ShaderResourceView_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common")))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D11ShaderResourceView1, ID3D11ShaderResourceView1_Vtbl, 0x91308b87_9040_411d_8c67_c39253ce3802); +windows_core::imp::define_interface!(ID3D11ShaderResourceView1, ID3D11ShaderResourceView1_Vtbl, 0x91308b87_9040_411d_8c67_c39253ce3802); windows_core::imp::interface_hierarchy!(ID3D11ShaderResourceView1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11ShaderResourceView); impl ID3D11ShaderResourceView1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -7024,7 +7024,7 @@ pub struct ID3D11ShaderResourceView1_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct3D", feature = "Win32_Graphics_Dxgi_Common")))] GetDesc1: usize, } -windows_core::imp::com_interface!(ID3D11ShaderTrace, ID3D11ShaderTrace_Vtbl, 0x36b013e6_2811_4845_baa7_d623fe0df104); +windows_core::imp::define_interface!(ID3D11ShaderTrace, ID3D11ShaderTrace_Vtbl, 0x36b013e6_2811_4845_baa7_d623fe0df104); windows_core::imp::interface_hierarchy!(ID3D11ShaderTrace, windows_core::IUnknown); impl ID3D11ShaderTrace { pub unsafe fn TraceReady(&self, ptestcount: Option<*mut u64>) -> windows_core::Result<()> { @@ -7066,7 +7066,7 @@ pub struct ID3D11ShaderTrace_Vtbl { pub GetWrittenRegister: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut D3D11_TRACE_REGISTER, *mut D3D11_TRACE_VALUE) -> windows_core::HRESULT, pub GetReadRegister: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut D3D11_TRACE_REGISTER, *mut D3D11_TRACE_VALUE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11ShaderTraceFactory, ID3D11ShaderTraceFactory_Vtbl, 0x1fbad429_66ab_41cc_9617_667ac10e4459); +windows_core::imp::define_interface!(ID3D11ShaderTraceFactory, ID3D11ShaderTraceFactory_Vtbl, 0x1fbad429_66ab_41cc_9617_667ac10e4459); windows_core::imp::interface_hierarchy!(ID3D11ShaderTraceFactory, windows_core::IUnknown); impl ID3D11ShaderTraceFactory { pub unsafe fn CreateShaderTrace(&self, pshader: P0, ptracedesc: *const D3D11_SHADER_TRACE_DESC) -> windows_core::Result @@ -7084,7 +7084,7 @@ pub struct ID3D11ShaderTraceFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateShaderTrace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const D3D11_SHADER_TRACE_DESC, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11SwitchToRef, ID3D11SwitchToRef_Vtbl, 0x1ef337e3_58e7_4f83_a692_db221f5ed47e); +windows_core::imp::define_interface!(ID3D11SwitchToRef, ID3D11SwitchToRef_Vtbl, 0x1ef337e3_58e7_4f83_a692_db221f5ed47e); windows_core::imp::interface_hierarchy!(ID3D11SwitchToRef, windows_core::IUnknown); impl ID3D11SwitchToRef { pub unsafe fn SetUseRef(&self, useref: P0) -> super::super::Foundation::BOOL @@ -7105,7 +7105,7 @@ pub struct ID3D11SwitchToRef_Vtbl { pub SetUseRef: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> super::super::Foundation::BOOL, pub GetUseRef: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(ID3D11Texture1D, ID3D11Texture1D_Vtbl, 0xf8fb5c27_c6b3_4f75_a4c8_439af2ef564c); +windows_core::imp::define_interface!(ID3D11Texture1D, ID3D11Texture1D_Vtbl, 0xf8fb5c27_c6b3_4f75_a4c8_439af2ef564c); windows_core::imp::interface_hierarchy!(ID3D11Texture1D, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); impl ID3D11Texture1D { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -7151,7 +7151,7 @@ pub struct ID3D11Texture1D_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D11Texture2D, ID3D11Texture2D_Vtbl, 0x6f15aaf2_d208_4e89_9ab4_489535d34f9c); +windows_core::imp::define_interface!(ID3D11Texture2D, ID3D11Texture2D_Vtbl, 0x6f15aaf2_d208_4e89_9ab4_489535d34f9c); windows_core::imp::interface_hierarchy!(ID3D11Texture2D, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); impl ID3D11Texture2D { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -7197,7 +7197,7 @@ pub struct ID3D11Texture2D_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D11Texture2D1, ID3D11Texture2D1_Vtbl, 0x51218251_1e33_4617_9ccb_4d3a4367e7bb); +windows_core::imp::define_interface!(ID3D11Texture2D1, ID3D11Texture2D1_Vtbl, 0x51218251_1e33_4617_9ccb_4d3a4367e7bb); windows_core::imp::interface_hierarchy!(ID3D11Texture2D1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture2D); impl ID3D11Texture2D1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -7247,7 +7247,7 @@ pub struct ID3D11Texture2D1_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc1: usize, } -windows_core::imp::com_interface!(ID3D11Texture3D, ID3D11Texture3D_Vtbl, 0x037e866e_f56d_4357_a8af_9dabbe6e250e); +windows_core::imp::define_interface!(ID3D11Texture3D, ID3D11Texture3D_Vtbl, 0x037e866e_f56d_4357_a8af_9dabbe6e250e); windows_core::imp::interface_hierarchy!(ID3D11Texture3D, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource); impl ID3D11Texture3D { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -7293,7 +7293,7 @@ pub struct ID3D11Texture3D_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D11Texture3D1, ID3D11Texture3D1_Vtbl, 0x0c711683_2853_4846_9bb0_f3e60639e46a); +windows_core::imp::define_interface!(ID3D11Texture3D1, ID3D11Texture3D1_Vtbl, 0x0c711683_2853_4846_9bb0_f3e60639e46a); windows_core::imp::interface_hierarchy!(ID3D11Texture3D1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11Resource, ID3D11Texture3D); impl ID3D11Texture3D1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -7343,7 +7343,7 @@ pub struct ID3D11Texture3D1_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc1: usize, } -windows_core::imp::com_interface!(ID3D11TracingDevice, ID3D11TracingDevice_Vtbl, 0x1911c771_1587_413e_a7e0_fb26c3de0268); +windows_core::imp::define_interface!(ID3D11TracingDevice, ID3D11TracingDevice_Vtbl, 0x1911c771_1587_413e_a7e0_fb26c3de0268); windows_core::imp::interface_hierarchy!(ID3D11TracingDevice, windows_core::IUnknown); impl ID3D11TracingDevice { pub unsafe fn SetShaderTrackingOptionsByType(&self, resourcetypeflags: u32, options: u32) -> windows_core::Result<()> { @@ -7364,7 +7364,7 @@ pub struct ID3D11TracingDevice_Vtbl { pub SetShaderTrackingOptionsByType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub SetShaderTrackingOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11UnorderedAccessView, ID3D11UnorderedAccessView_Vtbl, 0x28acf509_7f5c_48f6_8611_f316010a6380); +windows_core::imp::define_interface!(ID3D11UnorderedAccessView, ID3D11UnorderedAccessView_Vtbl, 0x28acf509_7f5c_48f6_8611_f316010a6380); windows_core::imp::interface_hierarchy!(ID3D11UnorderedAccessView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ID3D11UnorderedAccessView { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -7404,7 +7404,7 @@ pub struct ID3D11UnorderedAccessView_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc: usize, } -windows_core::imp::com_interface!(ID3D11UnorderedAccessView1, ID3D11UnorderedAccessView1_Vtbl, 0x7b3b6153_a886_4544_ab37_6537c8500403); +windows_core::imp::define_interface!(ID3D11UnorderedAccessView1, ID3D11UnorderedAccessView1_Vtbl, 0x7b3b6153_a886_4544_ab37_6537c8500403); windows_core::imp::interface_hierarchy!(ID3D11UnorderedAccessView1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View, ID3D11UnorderedAccessView); impl ID3D11UnorderedAccessView1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -7448,7 +7448,7 @@ pub struct ID3D11UnorderedAccessView1_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc1: usize, } -windows_core::imp::com_interface!(ID3D11VertexShader, ID3D11VertexShader_Vtbl, 0x3b301d64_d678_4289_8897_22f8928b72f3); +windows_core::imp::define_interface!(ID3D11VertexShader, ID3D11VertexShader_Vtbl, 0x3b301d64_d678_4289_8897_22f8928b72f3); windows_core::imp::interface_hierarchy!(ID3D11VertexShader, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11VertexShader { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -7475,7 +7475,7 @@ unsafe impl Sync for ID3D11VertexShader {} pub struct ID3D11VertexShader_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D11VideoContext, ID3D11VideoContext_Vtbl, 0x61f21c45_3c0e_4a74_9cea_67100d9ad5e4); +windows_core::imp::define_interface!(ID3D11VideoContext, ID3D11VideoContext_Vtbl, 0x61f21c45_3c0e_4a74_9cea_67100d9ad5e4); windows_core::imp::interface_hierarchy!(ID3D11VideoContext, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11VideoContext { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -7956,7 +7956,7 @@ pub struct ID3D11VideoContext_Vtbl { pub VideoProcessorSetStreamRotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, super::super::Foundation::BOOL, D3D11_VIDEO_PROCESSOR_ROTATION), pub VideoProcessorGetStreamRotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut super::super::Foundation::BOOL, *mut D3D11_VIDEO_PROCESSOR_ROTATION), } -windows_core::imp::com_interface!(ID3D11VideoContext1, ID3D11VideoContext1_Vtbl, 0xa7f026da_a5f8_4487_a564_15e34357651e); +windows_core::imp::define_interface!(ID3D11VideoContext1, ID3D11VideoContext1_Vtbl, 0xa7f026da_a5f8_4487_a564_15e34357651e); windows_core::imp::interface_hierarchy!(ID3D11VideoContext1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext); impl ID3D11VideoContext1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -8506,7 +8506,7 @@ pub struct ID3D11VideoContext1_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] VideoProcessorGetBehaviorHints: usize, } -windows_core::imp::com_interface!(ID3D11VideoContext2, ID3D11VideoContext2_Vtbl, 0xc4e7374c_6243_4d1b_ae87_52b4f740e261); +windows_core::imp::define_interface!(ID3D11VideoContext2, ID3D11VideoContext2_Vtbl, 0xc4e7374c_6243_4d1b_ae87_52b4f740e261); windows_core::imp::interface_hierarchy!(ID3D11VideoContext2, windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1); impl ID3D11VideoContext2 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -9065,7 +9065,7 @@ pub struct ID3D11VideoContext2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi"))] VideoProcessorGetStreamHDRMetaData: usize, } -windows_core::imp::com_interface!(ID3D11VideoContext3, ID3D11VideoContext3_Vtbl, 0xa9e2faa0_cb39_418f_a0b7_d8aad4de672e); +windows_core::imp::define_interface!(ID3D11VideoContext3, ID3D11VideoContext3_Vtbl, 0xa9e2faa0_cb39_418f_a0b7_d8aad4de672e); windows_core::imp::interface_hierarchy!(ID3D11VideoContext3, windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoContext, ID3D11VideoContext1, ID3D11VideoContext2); impl ID3D11VideoContext3 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -9623,7 +9623,7 @@ pub struct ID3D11VideoContext3_Vtbl { pub DecoderBeginFrame1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const core::ffi::c_void, u32, *const u32, *const *mut core::ffi::c_void) -> windows_core::HRESULT, pub SubmitDecoderBuffers2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const D3D11_VIDEO_DECODER_BUFFER_DESC2) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11VideoDecoder, ID3D11VideoDecoder_Vtbl, 0x3c9c5b51_995d_48d1_9b8d_fa5caeded65c); +windows_core::imp::define_interface!(ID3D11VideoDecoder, ID3D11VideoDecoder_Vtbl, 0x3c9c5b51_995d_48d1_9b8d_fa5caeded65c); windows_core::imp::interface_hierarchy!(ID3D11VideoDecoder, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11VideoDecoder { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -9663,7 +9663,7 @@ pub struct ID3D11VideoDecoder_Vtbl { GetCreationParameters: usize, pub GetDriverHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11VideoDecoderOutputView, ID3D11VideoDecoderOutputView_Vtbl, 0xc2931aea_2a85_4f20_860f_fba1fd256e18); +windows_core::imp::define_interface!(ID3D11VideoDecoderOutputView, ID3D11VideoDecoderOutputView_Vtbl, 0xc2931aea_2a85_4f20_860f_fba1fd256e18); windows_core::imp::interface_hierarchy!(ID3D11VideoDecoderOutputView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ID3D11VideoDecoderOutputView { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -9699,7 +9699,7 @@ pub struct ID3D11VideoDecoderOutputView_Vtbl { pub base__: ID3D11View_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_VIDEO_DECODER_OUTPUT_VIEW_DESC), } -windows_core::imp::com_interface!(ID3D11VideoDevice, ID3D11VideoDevice_Vtbl, 0x10ec4d5b_975a_4689_b9e4_d0aac30fe333); +windows_core::imp::define_interface!(ID3D11VideoDevice, ID3D11VideoDevice_Vtbl, 0x10ec4d5b_975a_4689_b9e4_d0aac30fe333); windows_core::imp::interface_hierarchy!(ID3D11VideoDevice, windows_core::IUnknown); impl ID3D11VideoDevice { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -9823,7 +9823,7 @@ pub struct ID3D11VideoDevice_Vtbl { pub SetPrivateData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const core::ffi::c_void) -> windows_core::HRESULT, pub SetPrivateDataInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11VideoDevice1, ID3D11VideoDevice1_Vtbl, 0x29da1d51_1321_4454_804b_f5fc9f861f0f); +windows_core::imp::define_interface!(ID3D11VideoDevice1, ID3D11VideoDevice1_Vtbl, 0x29da1d51_1321_4454_804b_f5fc9f861f0f); windows_core::imp::interface_hierarchy!(ID3D11VideoDevice1, windows_core::IUnknown, ID3D11VideoDevice); impl ID3D11VideoDevice1 { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -9945,7 +9945,7 @@ pub struct ID3D11VideoDevice1_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] RecommendVideoDecoderDownsampleParameters: usize, } -windows_core::imp::com_interface!(ID3D11VideoDevice2, ID3D11VideoDevice2_Vtbl, 0x59c0cb01_35f0_4a70_8f67_87905c906a53); +windows_core::imp::define_interface!(ID3D11VideoDevice2, ID3D11VideoDevice2_Vtbl, 0x59c0cb01_35f0_4a70_8f67_87905c906a53); windows_core::imp::interface_hierarchy!(ID3D11VideoDevice2, windows_core::IUnknown, ID3D11VideoDevice, ID3D11VideoDevice1); impl ID3D11VideoDevice2 { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -10065,7 +10065,7 @@ pub struct ID3D11VideoDevice2_Vtbl { pub CheckFeatureSupport: unsafe extern "system" fn(*mut core::ffi::c_void, D3D11_FEATURE_VIDEO, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub NegotiateCryptoSessionKeyExchangeMT: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, D3D11_CRYPTO_SESSION_KEY_EXCHANGE_FLAGS, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11VideoProcessor, ID3D11VideoProcessor_Vtbl, 0x1d7b0652_185f_41c6_85ce_0c5be3d4ae6c); +windows_core::imp::define_interface!(ID3D11VideoProcessor, ID3D11VideoProcessor_Vtbl, 0x1d7b0652_185f_41c6_85ce_0c5be3d4ae6c); windows_core::imp::interface_hierarchy!(ID3D11VideoProcessor, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11VideoProcessor { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -10104,7 +10104,7 @@ pub struct ID3D11VideoProcessor_Vtbl { GetContentDesc: usize, pub GetRateConversionCaps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_VIDEO_PROCESSOR_RATE_CONVERSION_CAPS), } -windows_core::imp::com_interface!(ID3D11VideoProcessorEnumerator, ID3D11VideoProcessorEnumerator_Vtbl, 0x31627037_53ab_4200_9061_05faa9ab45f9); +windows_core::imp::define_interface!(ID3D11VideoProcessorEnumerator, ID3D11VideoProcessorEnumerator_Vtbl, 0x31627037_53ab_4200_9061_05faa9ab45f9); windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorEnumerator, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11VideoProcessorEnumerator { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -10169,7 +10169,7 @@ pub struct ID3D11VideoProcessorEnumerator_Vtbl { GetVideoProcessorCustomRate: usize, pub GetVideoProcessorFilterRange: unsafe extern "system" fn(*mut core::ffi::c_void, D3D11_VIDEO_PROCESSOR_FILTER, *mut D3D11_VIDEO_PROCESSOR_FILTER_RANGE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11VideoProcessorEnumerator1, ID3D11VideoProcessorEnumerator1_Vtbl, 0x465217f2_5568_43cf_b5b9_f61d54531ca1); +windows_core::imp::define_interface!(ID3D11VideoProcessorEnumerator1, ID3D11VideoProcessorEnumerator1_Vtbl, 0x465217f2_5568_43cf_b5b9_f61d54531ca1); windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorEnumerator1, windows_core::IUnknown, ID3D11DeviceChild, ID3D11VideoProcessorEnumerator); impl ID3D11VideoProcessorEnumerator1 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -10228,7 +10228,7 @@ pub struct ID3D11VideoProcessorEnumerator1_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] CheckVideoProcessorFormatConversion: usize, } -windows_core::imp::com_interface!(ID3D11VideoProcessorInputView, ID3D11VideoProcessorInputView_Vtbl, 0x11ec5a5f_51dc_4945_ab34_6e8c21300ea5); +windows_core::imp::define_interface!(ID3D11VideoProcessorInputView, ID3D11VideoProcessorInputView_Vtbl, 0x11ec5a5f_51dc_4945_ab34_6e8c21300ea5); windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorInputView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ID3D11VideoProcessorInputView { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -10266,7 +10266,7 @@ pub struct ID3D11VideoProcessorInputView_Vtbl { pub base__: ID3D11View_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_VIDEO_PROCESSOR_INPUT_VIEW_DESC), } -windows_core::imp::com_interface!(ID3D11VideoProcessorOutputView, ID3D11VideoProcessorOutputView_Vtbl, 0xa048285e_25a9_4527_bd93_d68b68c44254); +windows_core::imp::define_interface!(ID3D11VideoProcessorOutputView, ID3D11VideoProcessorOutputView_Vtbl, 0xa048285e_25a9_4527_bd93_d68b68c44254); windows_core::imp::interface_hierarchy!(ID3D11VideoProcessorOutputView, windows_core::IUnknown, ID3D11DeviceChild, ID3D11View); impl ID3D11VideoProcessorOutputView { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -10304,7 +10304,7 @@ pub struct ID3D11VideoProcessorOutputView_Vtbl { pub base__: ID3D11View_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D11_VIDEO_PROCESSOR_OUTPUT_VIEW_DESC), } -windows_core::imp::com_interface!(ID3D11View, ID3D11View_Vtbl, 0x839d1216_bb2e_412b_b7f4_a9dbebe08ed1); +windows_core::imp::define_interface!(ID3D11View, ID3D11View_Vtbl, 0x839d1216_bb2e_412b_b7f4_a9dbebe08ed1); windows_core::imp::interface_hierarchy!(ID3D11View, windows_core::IUnknown, ID3D11DeviceChild); impl ID3D11View { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -10337,7 +10337,7 @@ pub struct ID3D11View_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, pub GetResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID3DDeviceContextState, ID3DDeviceContextState_Vtbl, 0x5c1e0d8a_7c23_48f9_8c59_a92958ceff11); +windows_core::imp::define_interface!(ID3DDeviceContextState, ID3DDeviceContextState_Vtbl, 0x5c1e0d8a_7c23_48f9_8c59_a92958ceff11); windows_core::imp::interface_hierarchy!(ID3DDeviceContextState, windows_core::IUnknown, ID3D11DeviceChild); impl ID3DDeviceContextState { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -10364,7 +10364,7 @@ unsafe impl Sync for ID3DDeviceContextState {} pub struct ID3DDeviceContextState_Vtbl { pub base__: ID3D11DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3DUserDefinedAnnotation, ID3DUserDefinedAnnotation_Vtbl, 0xb2daad8b_03d4_4dbf_95eb_32ab4b63d0ab); +windows_core::imp::define_interface!(ID3DUserDefinedAnnotation, ID3DUserDefinedAnnotation_Vtbl, 0xb2daad8b_03d4_4dbf_95eb_32ab4b63d0ab); windows_core::imp::interface_hierarchy!(ID3DUserDefinedAnnotation, windows_core::IUnknown); impl ID3DUserDefinedAnnotation { pub unsafe fn BeginEvent(&self, name: P0) -> i32 @@ -10396,7 +10396,7 @@ pub struct ID3DUserDefinedAnnotation_Vtbl { pub SetMarker: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR), pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(ID3DX11FFT, ID3DX11FFT_Vtbl, 0xb3f7a938_4c93_4310_a675_b30d6de50553); +windows_core::imp::define_interface!(ID3DX11FFT, ID3DX11FFT_Vtbl, 0xb3f7a938_4c93_4310_a675_b30d6de50553); windows_core::imp::interface_hierarchy!(ID3DX11FFT, windows_core::IUnknown); impl ID3DX11FFT { pub unsafe fn SetForwardScale(&self, forwardscale: f32) -> windows_core::Result<()> { @@ -10440,7 +10440,7 @@ pub struct ID3DX11FFT_Vtbl { pub ForwardTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub InverseTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3DX11Scan, ID3DX11Scan_Vtbl, 0x5089b68f_e71d_4d38_be8e_f363b95a9405); +windows_core::imp::define_interface!(ID3DX11Scan, ID3DX11Scan_Vtbl, 0x5089b68f_e71d_4d38_be8e_f363b95a9405); windows_core::imp::interface_hierarchy!(ID3DX11Scan, windows_core::IUnknown); impl ID3DX11Scan { pub unsafe fn SetScanDirection(&self, direction: D3DX11_SCAN_DIRECTION) -> windows_core::Result<()> { @@ -10470,7 +10470,7 @@ pub struct ID3DX11Scan_Vtbl { pub Scan: unsafe extern "system" fn(*mut core::ffi::c_void, D3DX11_SCAN_DATA_TYPE, D3DX11_SCAN_OPCODE, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Multiscan: unsafe extern "system" fn(*mut core::ffi::c_void, D3DX11_SCAN_DATA_TYPE, D3DX11_SCAN_OPCODE, u32, u32, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3DX11SegmentedScan, ID3DX11SegmentedScan_Vtbl, 0xa915128c_d954_4c79_bfe1_64db923194d6); +windows_core::imp::define_interface!(ID3DX11SegmentedScan, ID3DX11SegmentedScan_Vtbl, 0xa915128c_d954_4c79_bfe1_64db923194d6); windows_core::imp::interface_hierarchy!(ID3DX11SegmentedScan, windows_core::IUnknown); impl ID3DX11SegmentedScan { pub unsafe fn SetScanDirection(&self, direction: D3DX11_SCAN_DIRECTION) -> windows_core::Result<()> { 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 a237e5ac98..e48d16b05b 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/mod.rs @@ -19,7 +19,7 @@ where ) .ok() } -windows_core::imp::com_interface!(ID3D11On12Device, ID3D11On12Device_Vtbl, 0x85611e73_70a9_490e_9614_a9e302777904); +windows_core::imp::define_interface!(ID3D11On12Device, ID3D11On12Device_Vtbl, 0x85611e73_70a9_490e_9614_a9e302777904); windows_core::imp::interface_hierarchy!(ID3D11On12Device, windows_core::IUnknown); impl ID3D11On12Device { #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -57,7 +57,7 @@ pub struct ID3D11On12Device_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D11"))] AcquireWrappedResources: usize, } -windows_core::imp::com_interface!(ID3D11On12Device1, ID3D11On12Device1_Vtbl, 0xbdb64df4_ea2f_4c70_b861_aaab1258bb5d); +windows_core::imp::define_interface!(ID3D11On12Device1, ID3D11On12Device1_Vtbl, 0xbdb64df4_ea2f_4c70_b861_aaab1258bb5d); windows_core::imp::interface_hierarchy!(ID3D11On12Device1, windows_core::IUnknown, ID3D11On12Device); impl ID3D11On12Device1 { #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -91,7 +91,7 @@ pub struct ID3D11On12Device1_Vtbl { pub base__: ID3D11On12Device_Vtbl, pub GetD3D12Device: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D11On12Device2, ID3D11On12Device2_Vtbl, 0xdc90f331_4740_43fa_866e_67f12cb58223); +windows_core::imp::define_interface!(ID3D11On12Device2, ID3D11On12Device2_Vtbl, 0xdc90f331_4740_43fa_866e_67f12cb58223); windows_core::imp::interface_hierarchy!(ID3D11On12Device2, windows_core::IUnknown, ID3D11On12Device, ID3D11On12Device1); impl ID3D11On12Device2 { #[cfg(feature = "Win32_Graphics_Direct3D12")] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs index 5e22ff69e4..93c2cdb875 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/mod.rs @@ -51,7 +51,7 @@ pub unsafe fn D3D12SerializeVersionedRootSignature(prootsignature: *const D3D12_ windows_targets::link!("d3d12.dll" "system" fn D3D12SerializeVersionedRootSignature(prootsignature : *const D3D12_VERSIONED_ROOT_SIGNATURE_DESC, ppblob : *mut * mut core::ffi::c_void, pperrorblob : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); D3D12SerializeVersionedRootSignature(prootsignature, core::mem::transmute(ppblob), core::mem::transmute(pperrorblob.unwrap_or(std::ptr::null_mut()))).ok() } -windows_core::imp::com_interface!(ID3D12CommandAllocator, ID3D12CommandAllocator_Vtbl, 0x6102dee4_af59_4b09_b999_b44d73f09b24); +windows_core::imp::define_interface!(ID3D12CommandAllocator, ID3D12CommandAllocator_Vtbl, 0x6102dee4_af59_4b09_b999_b44d73f09b24); windows_core::imp::interface_hierarchy!(ID3D12CommandAllocator, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12CommandAllocator { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -89,7 +89,7 @@ pub struct ID3D12CommandAllocator_Vtbl { pub base__: ID3D12Pageable_Vtbl, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12CommandList, ID3D12CommandList_Vtbl, 0x7116d91c_e7e4_47ce_b8c6_ec8168f437e5); +windows_core::imp::define_interface!(ID3D12CommandList, ID3D12CommandList_Vtbl, 0x7116d91c_e7e4_47ce_b8c6_ec8168f437e5); windows_core::imp::interface_hierarchy!(ID3D12CommandList, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ID3D12CommandList { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -127,7 +127,7 @@ pub struct ID3D12CommandList_Vtbl { pub base__: ID3D12DeviceChild_Vtbl, pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D12_COMMAND_LIST_TYPE, } -windows_core::imp::com_interface!(ID3D12CommandQueue, ID3D12CommandQueue_Vtbl, 0x0ec870a6_5d7e_4c22_8cfc_5baae07616ed); +windows_core::imp::define_interface!(ID3D12CommandQueue, ID3D12CommandQueue_Vtbl, 0x0ec870a6_5d7e_4c22_8cfc_5baae07616ed); windows_core::imp::interface_hierarchy!(ID3D12CommandQueue, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12CommandQueue { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -234,7 +234,7 @@ pub struct ID3D12CommandQueue_Vtbl { pub GetClockCalibration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64) -> windows_core::HRESULT, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_COMMAND_QUEUE_DESC), } -windows_core::imp::com_interface!(ID3D12CommandSignature, ID3D12CommandSignature_Vtbl, 0xc36a797c_ec80_4f0a_8985_a7b2475082d1); +windows_core::imp::define_interface!(ID3D12CommandSignature, ID3D12CommandSignature_Vtbl, 0xc36a797c_ec80_4f0a_8985_a7b2475082d1); windows_core::imp::interface_hierarchy!(ID3D12CommandSignature, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12CommandSignature { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -268,7 +268,7 @@ unsafe impl Sync for ID3D12CommandSignature {} pub struct ID3D12CommandSignature_Vtbl { pub base__: ID3D12Pageable_Vtbl, } -windows_core::imp::com_interface!(ID3D12Debug, ID3D12Debug_Vtbl, 0x344488b7_6846_474b_b989_f027448245e0); +windows_core::imp::define_interface!(ID3D12Debug, ID3D12Debug_Vtbl, 0x344488b7_6846_474b_b989_f027448245e0); windows_core::imp::interface_hierarchy!(ID3D12Debug, windows_core::IUnknown); impl ID3D12Debug { pub unsafe fn EnableDebugLayer(&self) { @@ -282,7 +282,7 @@ pub struct ID3D12Debug_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub EnableDebugLayer: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID3D12Debug1, ID3D12Debug1_Vtbl, 0xaffaa4ca_63fe_4d8e_b8ad_159000af4304); +windows_core::imp::define_interface!(ID3D12Debug1, ID3D12Debug1_Vtbl, 0xaffaa4ca_63fe_4d8e_b8ad_159000af4304); windows_core::imp::interface_hierarchy!(ID3D12Debug1, windows_core::IUnknown); impl ID3D12Debug1 { pub unsafe fn EnableDebugLayer(&self) { @@ -310,7 +310,7 @@ pub struct ID3D12Debug1_Vtbl { pub SetEnableGPUBasedValidation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), pub SetEnableSynchronizedCommandQueueValidation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } -windows_core::imp::com_interface!(ID3D12Debug2, ID3D12Debug2_Vtbl, 0x93a665c4_a3b2_4e5d_b692_a26ae14e3374); +windows_core::imp::define_interface!(ID3D12Debug2, ID3D12Debug2_Vtbl, 0x93a665c4_a3b2_4e5d_b692_a26ae14e3374); windows_core::imp::interface_hierarchy!(ID3D12Debug2, windows_core::IUnknown); impl ID3D12Debug2 { pub unsafe fn SetGPUBasedValidationFlags(&self, flags: D3D12_GPU_BASED_VALIDATION_FLAGS) { @@ -324,7 +324,7 @@ pub struct ID3D12Debug2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetGPUBasedValidationFlags: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_GPU_BASED_VALIDATION_FLAGS), } -windows_core::imp::com_interface!(ID3D12Debug3, ID3D12Debug3_Vtbl, 0x5cf4e58f_f671_4ff1_a542_3686e3d153d1); +windows_core::imp::define_interface!(ID3D12Debug3, ID3D12Debug3_Vtbl, 0x5cf4e58f_f671_4ff1_a542_3686e3d153d1); windows_core::imp::interface_hierarchy!(ID3D12Debug3, windows_core::IUnknown, ID3D12Debug); impl ID3D12Debug3 { pub unsafe fn EnableDebugLayer(&self) { @@ -355,7 +355,7 @@ pub struct ID3D12Debug3_Vtbl { pub SetEnableSynchronizedCommandQueueValidation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), pub SetGPUBasedValidationFlags: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_GPU_BASED_VALIDATION_FLAGS), } -windows_core::imp::com_interface!(ID3D12Debug4, ID3D12Debug4_Vtbl, 0x014b816e_9ec5_4a2f_a845_ffbe441ce13a); +windows_core::imp::define_interface!(ID3D12Debug4, ID3D12Debug4_Vtbl, 0x014b816e_9ec5_4a2f_a845_ffbe441ce13a); windows_core::imp::interface_hierarchy!(ID3D12Debug4, windows_core::IUnknown, ID3D12Debug, ID3D12Debug3); impl ID3D12Debug4 { pub unsafe fn EnableDebugLayer(&self) { @@ -387,7 +387,7 @@ pub struct ID3D12Debug4_Vtbl { pub base__: ID3D12Debug3_Vtbl, pub DisableDebugLayer: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID3D12Debug5, ID3D12Debug5_Vtbl, 0x548d6b12_09fa_40e0_9069_5dcd589a52c9); +windows_core::imp::define_interface!(ID3D12Debug5, ID3D12Debug5_Vtbl, 0x548d6b12_09fa_40e0_9069_5dcd589a52c9); windows_core::imp::interface_hierarchy!(ID3D12Debug5, windows_core::IUnknown, ID3D12Debug, ID3D12Debug3, ID3D12Debug4); impl ID3D12Debug5 { pub unsafe fn EnableDebugLayer(&self) { @@ -425,7 +425,7 @@ pub struct ID3D12Debug5_Vtbl { pub base__: ID3D12Debug4_Vtbl, pub SetEnableAutoName: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } -windows_core::imp::com_interface!(ID3D12Debug6, ID3D12Debug6_Vtbl, 0x82a816d6_5d01_4157_97d0_4975463fd1ed); +windows_core::imp::define_interface!(ID3D12Debug6, ID3D12Debug6_Vtbl, 0x82a816d6_5d01_4157_97d0_4975463fd1ed); windows_core::imp::interface_hierarchy!(ID3D12Debug6, windows_core::IUnknown, ID3D12Debug, ID3D12Debug3, ID3D12Debug4, ID3D12Debug5); impl ID3D12Debug6 { pub unsafe fn EnableDebugLayer(&self) { @@ -469,7 +469,7 @@ pub struct ID3D12Debug6_Vtbl { pub base__: ID3D12Debug5_Vtbl, pub SetForceLegacyBarrierValidation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } -windows_core::imp::com_interface!(ID3D12DebugCommandList, ID3D12DebugCommandList_Vtbl, 0x09e0bf36_54ac_484f_8847_4baeeab6053f); +windows_core::imp::define_interface!(ID3D12DebugCommandList, ID3D12DebugCommandList_Vtbl, 0x09e0bf36_54ac_484f_8847_4baeeab6053f); windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList, windows_core::IUnknown); impl ID3D12DebugCommandList { pub unsafe fn AssertResourceState(&self, presource: P0, subresource: u32, state: u32) -> super::super::Foundation::BOOL @@ -494,7 +494,7 @@ pub struct ID3D12DebugCommandList_Vtbl { pub SetFeatureMask: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DEBUG_FEATURE) -> windows_core::HRESULT, pub GetFeatureMask: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D12_DEBUG_FEATURE, } -windows_core::imp::com_interface!(ID3D12DebugCommandList1, ID3D12DebugCommandList1_Vtbl, 0x102ca951_311b_4b01_b11f_ecb83e061b37); +windows_core::imp::define_interface!(ID3D12DebugCommandList1, ID3D12DebugCommandList1_Vtbl, 0x102ca951_311b_4b01_b11f_ecb83e061b37); windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList1, windows_core::IUnknown); impl ID3D12DebugCommandList1 { pub unsafe fn AssertResourceState(&self, presource: P0, subresource: u32, state: u32) -> super::super::Foundation::BOOL @@ -519,7 +519,7 @@ pub struct ID3D12DebugCommandList1_Vtbl { pub SetDebugParameter: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DEBUG_COMMAND_LIST_PARAMETER_TYPE, *const core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetDebugParameter: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DEBUG_COMMAND_LIST_PARAMETER_TYPE, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12DebugCommandList2, ID3D12DebugCommandList2_Vtbl, 0xaeb575cf_4e06_48be_ba3b_c450fc96652e); +windows_core::imp::define_interface!(ID3D12DebugCommandList2, ID3D12DebugCommandList2_Vtbl, 0xaeb575cf_4e06_48be_ba3b_c450fc96652e); windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList2, windows_core::IUnknown, ID3D12DebugCommandList); impl ID3D12DebugCommandList2 { pub unsafe fn AssertResourceState(&self, presource: P0, subresource: u32, state: u32) -> super::super::Foundation::BOOL @@ -549,7 +549,7 @@ pub struct ID3D12DebugCommandList2_Vtbl { pub SetDebugParameter: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DEBUG_COMMAND_LIST_PARAMETER_TYPE, *const core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetDebugParameter: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DEBUG_COMMAND_LIST_PARAMETER_TYPE, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12DebugCommandList3, ID3D12DebugCommandList3_Vtbl, 0x197d5e15_4d37_4d34_af78_724cd70fdb1f); +windows_core::imp::define_interface!(ID3D12DebugCommandList3, ID3D12DebugCommandList3_Vtbl, 0x197d5e15_4d37_4d34_af78_724cd70fdb1f); windows_core::imp::interface_hierarchy!(ID3D12DebugCommandList3, windows_core::IUnknown, ID3D12DebugCommandList, ID3D12DebugCommandList2); impl ID3D12DebugCommandList3 { pub unsafe fn AssertResourceState(&self, presource: P0, subresource: u32, state: u32) -> super::super::Foundation::BOOL @@ -591,7 +591,7 @@ pub struct ID3D12DebugCommandList3_Vtbl { pub AssertResourceAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, D3D12_BARRIER_ACCESS), pub AssertTextureLayout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, D3D12_BARRIER_LAYOUT), } -windows_core::imp::com_interface!(ID3D12DebugCommandQueue, ID3D12DebugCommandQueue_Vtbl, 0x09e0bf36_54ac_484f_8847_4baeeab6053a); +windows_core::imp::define_interface!(ID3D12DebugCommandQueue, ID3D12DebugCommandQueue_Vtbl, 0x09e0bf36_54ac_484f_8847_4baeeab6053a); windows_core::imp::interface_hierarchy!(ID3D12DebugCommandQueue, windows_core::IUnknown); impl ID3D12DebugCommandQueue { pub unsafe fn AssertResourceState(&self, presource: P0, subresource: u32, state: u32) -> super::super::Foundation::BOOL @@ -608,7 +608,7 @@ pub struct ID3D12DebugCommandQueue_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AssertResourceState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(ID3D12DebugCommandQueue1, ID3D12DebugCommandQueue1_Vtbl, 0x16be35a2_bfd6_49f2_bcae_eaae4aff862d); +windows_core::imp::define_interface!(ID3D12DebugCommandQueue1, ID3D12DebugCommandQueue1_Vtbl, 0x16be35a2_bfd6_49f2_bcae_eaae4aff862d); windows_core::imp::interface_hierarchy!(ID3D12DebugCommandQueue1, windows_core::IUnknown, ID3D12DebugCommandQueue); impl ID3D12DebugCommandQueue1 { pub unsafe fn AssertResourceState(&self, presource: P0, subresource: u32, state: u32) -> super::super::Foundation::BOOL @@ -638,7 +638,7 @@ pub struct ID3D12DebugCommandQueue1_Vtbl { pub AssertResourceAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, D3D12_BARRIER_ACCESS), pub AssertTextureLayout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, D3D12_BARRIER_LAYOUT), } -windows_core::imp::com_interface!(ID3D12DebugDevice, ID3D12DebugDevice_Vtbl, 0x3febd6dd_4973_4787_8194_e45f9e28923e); +windows_core::imp::define_interface!(ID3D12DebugDevice, ID3D12DebugDevice_Vtbl, 0x3febd6dd_4973_4787_8194_e45f9e28923e); windows_core::imp::interface_hierarchy!(ID3D12DebugDevice, windows_core::IUnknown); impl ID3D12DebugDevice { pub unsafe fn SetFeatureMask(&self, mask: D3D12_DEBUG_FEATURE) -> windows_core::Result<()> { @@ -660,7 +660,7 @@ pub struct ID3D12DebugDevice_Vtbl { pub GetFeatureMask: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D12_DEBUG_FEATURE, pub ReportLiveDeviceObjects: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_RLDO_FLAGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12DebugDevice1, ID3D12DebugDevice1_Vtbl, 0xa9b71770_d099_4a65_a698_3dee10020f88); +windows_core::imp::define_interface!(ID3D12DebugDevice1, ID3D12DebugDevice1_Vtbl, 0xa9b71770_d099_4a65_a698_3dee10020f88); windows_core::imp::interface_hierarchy!(ID3D12DebugDevice1, windows_core::IUnknown); impl ID3D12DebugDevice1 { pub unsafe fn SetDebugParameter(&self, r#type: D3D12_DEBUG_DEVICE_PARAMETER_TYPE, pdata: *const core::ffi::c_void, datasize: u32) -> windows_core::Result<()> { @@ -682,7 +682,7 @@ pub struct ID3D12DebugDevice1_Vtbl { pub GetDebugParameter: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DEBUG_DEVICE_PARAMETER_TYPE, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ReportLiveDeviceObjects: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_RLDO_FLAGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12DebugDevice2, ID3D12DebugDevice2_Vtbl, 0x60eccbc1_378d_4df1_894c_f8ac5ce4d7dd); +windows_core::imp::define_interface!(ID3D12DebugDevice2, ID3D12DebugDevice2_Vtbl, 0x60eccbc1_378d_4df1_894c_f8ac5ce4d7dd); windows_core::imp::interface_hierarchy!(ID3D12DebugDevice2, windows_core::IUnknown, ID3D12DebugDevice); impl ID3D12DebugDevice2 { pub unsafe fn SetFeatureMask(&self, mask: D3D12_DEBUG_FEATURE) -> windows_core::Result<()> { @@ -709,7 +709,7 @@ pub struct ID3D12DebugDevice2_Vtbl { pub SetDebugParameter: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DEBUG_DEVICE_PARAMETER_TYPE, *const core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetDebugParameter: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DEBUG_DEVICE_PARAMETER_TYPE, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12DescriptorHeap, ID3D12DescriptorHeap_Vtbl, 0x8efb471d_616c_4f49_90f7_127bb763fa51); +windows_core::imp::define_interface!(ID3D12DescriptorHeap, ID3D12DescriptorHeap_Vtbl, 0x8efb471d_616c_4f49_90f7_127bb763fa51); windows_core::imp::interface_hierarchy!(ID3D12DescriptorHeap, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12DescriptorHeap { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -761,7 +761,7 @@ pub struct ID3D12DescriptorHeap_Vtbl { pub GetCPUDescriptorHandleForHeapStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_CPU_DESCRIPTOR_HANDLE), pub GetGPUDescriptorHandleForHeapStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_GPU_DESCRIPTOR_HANDLE), } -windows_core::imp::com_interface!(ID3D12Device, ID3D12Device_Vtbl, 0x189819f1_1db6_4b57_be54_1821339b85f7); +windows_core::imp::define_interface!(ID3D12Device, ID3D12Device_Vtbl, 0x189819f1_1db6_4b57_be54_1821339b85f7); windows_core::imp::interface_hierarchy!(ID3D12Device, windows_core::IUnknown, ID3D12Object); impl ID3D12Device { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -1073,7 +1073,7 @@ pub struct ID3D12Device_Vtbl { pub GetResourceTiling: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32, *mut D3D12_PACKED_MIP_INFO, *mut D3D12_TILE_SHAPE, *mut u32, u32, *mut D3D12_SUBRESOURCE_TILING), pub GetAdapterLuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::LUID), } -windows_core::imp::com_interface!(ID3D12Device1, ID3D12Device1_Vtbl, 0x77acce80_638e_4e65_8895_c1f23386863e); +windows_core::imp::define_interface!(ID3D12Device1, ID3D12Device1_Vtbl, 0x77acce80_638e_4e65_8895_c1f23386863e); windows_core::imp::interface_hierarchy!(ID3D12Device1, windows_core::IUnknown, ID3D12Object, ID3D12Device); impl ID3D12Device1 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -1334,7 +1334,7 @@ pub struct ID3D12Device1_Vtbl { pub SetEventOnMultipleFenceCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, *const u64, u32, D3D12_MULTIPLE_FENCE_WAIT_FLAGS, super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub SetResidencyPriority: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void, *const D3D12_RESIDENCY_PRIORITY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12Device10, ID3D12Device10_Vtbl, 0x517f8718_aa66_49f9_b02b_a7ab89c06031); +windows_core::imp::define_interface!(ID3D12Device10, ID3D12Device10_Vtbl, 0x517f8718_aa66_49f9_b02b_a7ab89c06031); windows_core::imp::interface_hierarchy!(ID3D12Device10, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9); impl ID3D12Device10 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -1807,7 +1807,7 @@ pub struct ID3D12Device10_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] CreateReservedResource2: usize, } -windows_core::imp::com_interface!(ID3D12Device11, ID3D12Device11_Vtbl, 0x5405c344_d457_444e_b4dd_2366e45aee39); +windows_core::imp::define_interface!(ID3D12Device11, ID3D12Device11_Vtbl, 0x5405c344_d457_444e_b4dd_2366e45aee39); windows_core::imp::interface_hierarchy!(ID3D12Device11, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10); impl ID3D12Device11 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -2272,7 +2272,7 @@ pub struct ID3D12Device11_Vtbl { pub base__: ID3D12Device10_Vtbl, pub CreateSampler2: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_SAMPLER_DESC2, D3D12_CPU_DESCRIPTOR_HANDLE), } -windows_core::imp::com_interface!(ID3D12Device12, ID3D12Device12_Vtbl, 0x5af5c532_4c91_4cd0_b541_15a405395fc5); +windows_core::imp::define_interface!(ID3D12Device12, ID3D12Device12_Vtbl, 0x5af5c532_4c91_4cd0_b541_15a405395fc5); windows_core::imp::interface_hierarchy!(ID3D12Device12, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10, ID3D12Device11); impl ID3D12Device12 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -2746,7 +2746,7 @@ pub struct ID3D12Device12_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetResourceAllocationInfo3: usize, } -windows_core::imp::com_interface!(ID3D12Device13, ID3D12Device13_Vtbl, 0x14eecffc_4df8_40f7_a118_5c816f45695e); +windows_core::imp::define_interface!(ID3D12Device13, ID3D12Device13_Vtbl, 0x14eecffc_4df8_40f7_a118_5c816f45695e); windows_core::imp::interface_hierarchy!(ID3D12Device13, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8, ID3D12Device9, ID3D12Device10, ID3D12Device11, ID3D12Device12); impl ID3D12Device13 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -3224,7 +3224,7 @@ pub struct ID3D12Device13_Vtbl { pub base__: ID3D12Device12_Vtbl, pub OpenExistingHeapFromAddress1: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, usize, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12Device2, ID3D12Device2_Vtbl, 0x30baa41e_b15b_475c_a0bb_1af5c5b64328); +windows_core::imp::define_interface!(ID3D12Device2, ID3D12Device2_Vtbl, 0x30baa41e_b15b_475c_a0bb_1af5c5b64328); windows_core::imp::interface_hierarchy!(ID3D12Device2, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1); impl ID3D12Device2 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -3490,7 +3490,7 @@ pub struct ID3D12Device2_Vtbl { pub base__: ID3D12Device1_Vtbl, pub CreatePipelineState: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_PIPELINE_STATE_STREAM_DESC, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12Device3, ID3D12Device3_Vtbl, 0x81dadc15_2bad_4392_93c5_101345c4aa98); +windows_core::imp::define_interface!(ID3D12Device3, ID3D12Device3_Vtbl, 0x81dadc15_2bad_4392_93c5_101345c4aa98); windows_core::imp::interface_hierarchy!(ID3D12Device3, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2); impl ID3D12Device3 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -3779,7 +3779,7 @@ pub struct ID3D12Device3_Vtbl { pub OpenExistingHeapFromFileMapping: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnqueueMakeResident: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_RESIDENCY_FLAGS, u32, *const *mut core::ffi::c_void, *mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12Device4, ID3D12Device4_Vtbl, 0xe865df17_a9ee_46f9_a463_3098315aa2e5); +windows_core::imp::define_interface!(ID3D12Device4, ID3D12Device4_Vtbl, 0xe865df17_a9ee_46f9_a463_3098315aa2e5); windows_core::imp::interface_hierarchy!(ID3D12Device4, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3); impl ID3D12Device4 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -4123,7 +4123,7 @@ pub struct ID3D12Device4_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetResourceAllocationInfo1: usize, } -windows_core::imp::com_interface!(ID3D12Device5, ID3D12Device5_Vtbl, 0x8b4f173b_2fea_4b80_8f58_4307191ab95d); +windows_core::imp::define_interface!(ID3D12Device5, ID3D12Device5_Vtbl, 0x8b4f173b_2fea_4b80_8f58_4307191ab95d); windows_core::imp::interface_hierarchy!(ID3D12Device5, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4); impl ID3D12Device5 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -4501,7 +4501,7 @@ pub struct ID3D12Device5_Vtbl { GetRaytracingAccelerationStructurePrebuildInfo: usize, pub CheckDriverMatchingIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_SERIALIZED_DATA_TYPE, *const D3D12_SERIALIZED_DATA_DRIVER_MATCHING_IDENTIFIER) -> D3D12_DRIVER_MATCHING_IDENTIFIER_STATUS, } -windows_core::imp::com_interface!(ID3D12Device6, ID3D12Device6_Vtbl, 0xc70b221b_40e4_4a17_89af_025a0727a6dc); +windows_core::imp::define_interface!(ID3D12Device6, ID3D12Device6_Vtbl, 0xc70b221b_40e4_4a17_89af_025a0727a6dc); windows_core::imp::interface_hierarchy!(ID3D12Device6, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5); impl ID3D12Device6 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -4875,7 +4875,7 @@ pub struct ID3D12Device6_Vtbl { pub base__: ID3D12Device5_Vtbl, pub SetBackgroundProcessingMode: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_BACKGROUND_PROCESSING_MODE, D3D12_MEASUREMENTS_ACTION, super::super::Foundation::HANDLE, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12Device7, ID3D12Device7_Vtbl, 0x5c014b53_68a1_4b9b_8bd1_dd6046b9358b); +windows_core::imp::define_interface!(ID3D12Device7, ID3D12Device7_Vtbl, 0x5c014b53_68a1_4b9b_8bd1_dd6046b9358b); windows_core::imp::interface_hierarchy!(ID3D12Device7, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6); impl ID3D12Device7 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -5265,7 +5265,7 @@ pub struct ID3D12Device7_Vtbl { pub AddToStateObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_STATE_OBJECT_DESC, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateProtectedResourceSession1: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_PROTECTED_RESOURCE_SESSION_DESC1, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12Device8, ID3D12Device8_Vtbl, 0x9218e6bb_f944_4f7e_a75c_b1b2c7b701f3); +windows_core::imp::define_interface!(ID3D12Device8, ID3D12Device8_Vtbl, 0x9218e6bb_f944_4f7e_a75c_b1b2c7b701f3); windows_core::imp::interface_hierarchy!(ID3D12Device8, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7); impl ID3D12Device8 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -5703,7 +5703,7 @@ pub struct ID3D12Device8_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetCopyableFootprints1: usize, } -windows_core::imp::com_interface!(ID3D12Device9, ID3D12Device9_Vtbl, 0x4c80e962_f032_4f60_bc9e_ebc2cfa1d83c); +windows_core::imp::define_interface!(ID3D12Device9, ID3D12Device9_Vtbl, 0x4c80e962_f032_4f60_bc9e_ebc2cfa1d83c); windows_core::imp::interface_hierarchy!(ID3D12Device9, windows_core::IUnknown, ID3D12Object, ID3D12Device, ID3D12Device1, ID3D12Device2, ID3D12Device3, ID3D12Device4, ID3D12Device5, ID3D12Device6, ID3D12Device7, ID3D12Device8); impl ID3D12Device9 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -6143,7 +6143,7 @@ pub struct ID3D12Device9_Vtbl { pub ShaderCacheControl: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_SHADER_CACHE_KIND_FLAGS, D3D12_SHADER_CACHE_CONTROL_FLAGS) -> windows_core::HRESULT, pub CreateCommandQueue1: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_COMMAND_QUEUE_DESC, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12DeviceChild, ID3D12DeviceChild_Vtbl, 0x905db94b_a00c_4140_9df5_2b64ca9ea357); +windows_core::imp::define_interface!(ID3D12DeviceChild, ID3D12DeviceChild_Vtbl, 0x905db94b_a00c_4140_9df5_2b64ca9ea357); windows_core::imp::interface_hierarchy!(ID3D12DeviceChild, windows_core::IUnknown, ID3D12Object); impl ID3D12DeviceChild { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -6178,7 +6178,7 @@ pub struct ID3D12DeviceChild_Vtbl { pub base__: ID3D12Object_Vtbl, pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12DeviceConfiguration, ID3D12DeviceConfiguration_Vtbl, 0x78dbf87b_f766_422b_a61c_c8c446bdb9ad); +windows_core::imp::define_interface!(ID3D12DeviceConfiguration, ID3D12DeviceConfiguration_Vtbl, 0x78dbf87b_f766_422b_a61c_c8c446bdb9ad); windows_core::imp::interface_hierarchy!(ID3D12DeviceConfiguration, windows_core::IUnknown); impl ID3D12DeviceConfiguration { pub unsafe fn GetDesc(&self) -> D3D12_DEVICE_CONFIGURATION_DESC { @@ -6214,7 +6214,7 @@ pub struct ID3D12DeviceConfiguration_Vtbl { SerializeVersionedRootSignature: usize, pub CreateVersionedRootSignatureDeserializer: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, usize, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12DeviceFactory, ID3D12DeviceFactory_Vtbl, 0x61f307d3_d34e_4e7c_8374_3ba4de23cccb); +windows_core::imp::define_interface!(ID3D12DeviceFactory, ID3D12DeviceFactory_Vtbl, 0x61f307d3_d34e_4e7c_8374_3ba4de23cccb); windows_core::imp::interface_hierarchy!(ID3D12DeviceFactory, windows_core::IUnknown); impl ID3D12DeviceFactory { pub unsafe fn InitializeFromGlobalState(&self) -> windows_core::Result<()> { @@ -6264,7 +6264,7 @@ pub struct ID3D12DeviceFactory_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D"))] CreateDevice: usize, } -windows_core::imp::com_interface!(ID3D12DeviceRemovedExtendedData, ID3D12DeviceRemovedExtendedData_Vtbl, 0x98931d33_5ae8_4791_aa3c_1a73a2934e71); +windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedData, ID3D12DeviceRemovedExtendedData_Vtbl, 0x98931d33_5ae8_4791_aa3c_1a73a2934e71); windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData, windows_core::IUnknown); impl ID3D12DeviceRemovedExtendedData { pub unsafe fn GetAutoBreadcrumbsOutput(&self) -> windows_core::Result { @@ -6284,7 +6284,7 @@ pub struct ID3D12DeviceRemovedExtendedData_Vtbl { pub GetAutoBreadcrumbsOutput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT) -> windows_core::HRESULT, pub GetPageFaultAllocationOutput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_DRED_PAGE_FAULT_OUTPUT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12DeviceRemovedExtendedData1, ID3D12DeviceRemovedExtendedData1_Vtbl, 0x9727a022_cf1d_4dda_9eba_effa653fc506); +windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedData1, ID3D12DeviceRemovedExtendedData1_Vtbl, 0x9727a022_cf1d_4dda_9eba_effa653fc506); windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData1, windows_core::IUnknown, ID3D12DeviceRemovedExtendedData); impl ID3D12DeviceRemovedExtendedData1 { pub unsafe fn GetAutoBreadcrumbsOutput(&self) -> windows_core::Result { @@ -6312,7 +6312,7 @@ pub struct ID3D12DeviceRemovedExtendedData1_Vtbl { pub GetAutoBreadcrumbsOutput1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_DRED_AUTO_BREADCRUMBS_OUTPUT1) -> windows_core::HRESULT, pub GetPageFaultAllocationOutput1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_DRED_PAGE_FAULT_OUTPUT1) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12DeviceRemovedExtendedData2, ID3D12DeviceRemovedExtendedData2_Vtbl, 0x67fc5816_e4ca_4915_bf18_42541272da54); +windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedData2, ID3D12DeviceRemovedExtendedData2_Vtbl, 0x67fc5816_e4ca_4915_bf18_42541272da54); windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedData2, windows_core::IUnknown, ID3D12DeviceRemovedExtendedData, ID3D12DeviceRemovedExtendedData1); impl ID3D12DeviceRemovedExtendedData2 { pub unsafe fn GetAutoBreadcrumbsOutput(&self) -> windows_core::Result { @@ -6346,7 +6346,7 @@ pub struct ID3D12DeviceRemovedExtendedData2_Vtbl { pub GetPageFaultAllocationOutput2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_DRED_PAGE_FAULT_OUTPUT2) -> windows_core::HRESULT, pub GetDeviceState: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D12_DRED_DEVICE_STATE, } -windows_core::imp::com_interface!(ID3D12DeviceRemovedExtendedDataSettings, ID3D12DeviceRemovedExtendedDataSettings_Vtbl, 0x82bc481c_6b9b_4030_aedb_7ee3d1df1e63); +windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedDataSettings, ID3D12DeviceRemovedExtendedDataSettings_Vtbl, 0x82bc481c_6b9b_4030_aedb_7ee3d1df1e63); windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings, windows_core::IUnknown); impl ID3D12DeviceRemovedExtendedDataSettings { pub unsafe fn SetAutoBreadcrumbsEnablement(&self, enablement: D3D12_DRED_ENABLEMENT) { @@ -6368,7 +6368,7 @@ pub struct ID3D12DeviceRemovedExtendedDataSettings_Vtbl { pub SetPageFaultEnablement: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DRED_ENABLEMENT), pub SetWatsonDumpEnablement: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DRED_ENABLEMENT), } -windows_core::imp::com_interface!(ID3D12DeviceRemovedExtendedDataSettings1, ID3D12DeviceRemovedExtendedDataSettings1_Vtbl, 0xdbd5ae51_3317_4f0a_adf9_1d7cedcaae0b); +windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedDataSettings1, ID3D12DeviceRemovedExtendedDataSettings1_Vtbl, 0xdbd5ae51_3317_4f0a_adf9_1d7cedcaae0b); windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings1, windows_core::IUnknown, ID3D12DeviceRemovedExtendedDataSettings); impl ID3D12DeviceRemovedExtendedDataSettings1 { pub unsafe fn SetAutoBreadcrumbsEnablement(&self, enablement: D3D12_DRED_ENABLEMENT) { @@ -6391,7 +6391,7 @@ pub struct ID3D12DeviceRemovedExtendedDataSettings1_Vtbl { pub base__: ID3D12DeviceRemovedExtendedDataSettings_Vtbl, pub SetBreadcrumbContextEnablement: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_DRED_ENABLEMENT), } -windows_core::imp::com_interface!(ID3D12DeviceRemovedExtendedDataSettings2, ID3D12DeviceRemovedExtendedDataSettings2_Vtbl, 0x61552388_01ab_4008_a436_83db189566ea); +windows_core::imp::define_interface!(ID3D12DeviceRemovedExtendedDataSettings2, ID3D12DeviceRemovedExtendedDataSettings2_Vtbl, 0x61552388_01ab_4008_a436_83db189566ea); windows_core::imp::interface_hierarchy!(ID3D12DeviceRemovedExtendedDataSettings2, windows_core::IUnknown, ID3D12DeviceRemovedExtendedDataSettings, ID3D12DeviceRemovedExtendedDataSettings1); impl ID3D12DeviceRemovedExtendedDataSettings2 { pub unsafe fn SetAutoBreadcrumbsEnablement(&self, enablement: D3D12_DRED_ENABLEMENT) { @@ -6420,7 +6420,7 @@ pub struct ID3D12DeviceRemovedExtendedDataSettings2_Vtbl { pub base__: ID3D12DeviceRemovedExtendedDataSettings1_Vtbl, pub UseMarkersOnlyAutoBreadcrumbs: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } -windows_core::imp::com_interface!(ID3D12Fence, ID3D12Fence_Vtbl, 0x0a753dcf_c4d8_4b91_adf6_be5a60d95a76); +windows_core::imp::define_interface!(ID3D12Fence, ID3D12Fence_Vtbl, 0x0a753dcf_c4d8_4b91_adf6_be5a60d95a76); windows_core::imp::interface_hierarchy!(ID3D12Fence, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12Fence { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -6469,7 +6469,7 @@ pub struct ID3D12Fence_Vtbl { pub SetEventOnCompletion: unsafe extern "system" fn(*mut core::ffi::c_void, u64, super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub Signal: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12Fence1, ID3D12Fence1_Vtbl, 0x433685fe_e22b_4ca0_a8db_b5b4f4dd0e4a); +windows_core::imp::define_interface!(ID3D12Fence1, ID3D12Fence1_Vtbl, 0x433685fe_e22b_4ca0_a8db_b5b4f4dd0e4a); windows_core::imp::interface_hierarchy!(ID3D12Fence1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Fence); impl ID3D12Fence1 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -6519,7 +6519,7 @@ pub struct ID3D12Fence1_Vtbl { pub base__: ID3D12Fence_Vtbl, pub GetCreationFlags: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D12_FENCE_FLAGS, } -windows_core::imp::interface!(ID3D12FunctionParameterReflection, ID3D12FunctionParameterReflection_Vtbl); +windows_core::imp::define_interface!(ID3D12FunctionParameterReflection, ID3D12FunctionParameterReflection_Vtbl); impl ID3D12FunctionParameterReflection { #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self, pdesc: *mut D3D12_PARAMETER_DESC) -> windows_core::Result<()> { @@ -6535,7 +6535,7 @@ pub struct ID3D12FunctionParameterReflection_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D"))] GetDesc: usize, } -windows_core::imp::interface!(ID3D12FunctionReflection, ID3D12FunctionReflection_Vtbl); +windows_core::imp::define_interface!(ID3D12FunctionReflection, ID3D12FunctionReflection_Vtbl); impl ID3D12FunctionReflection { #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self, pdesc: *mut D3D12_FUNCTION_DESC) -> windows_core::Result<()> { @@ -6592,7 +6592,7 @@ pub struct ID3D12FunctionReflection_Vtbl { GetResourceBindingDescByName: usize, pub GetFunctionParameter: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> Option, } -windows_core::imp::com_interface!(ID3D12GraphicsCommandList, ID3D12GraphicsCommandList_Vtbl, 0x5b160d0f_ac1b_4185_8ba8_b3ae42a5a455); +windows_core::imp::define_interface!(ID3D12GraphicsCommandList, ID3D12GraphicsCommandList_Vtbl, 0x5b160d0f_ac1b_4185_8ba8_b3ae42a5a455); windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList); impl ID3D12GraphicsCommandList { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -6914,7 +6914,7 @@ pub struct ID3D12GraphicsCommandList_Vtbl { pub EndEvent: unsafe extern "system" fn(*mut core::ffi::c_void), pub ExecuteIndirect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, u64, *mut core::ffi::c_void, u64), } -windows_core::imp::com_interface!(ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList1_Vtbl, 0x553103fb_1fe7_4557_bb38_946d7d0e7ca7); +windows_core::imp::define_interface!(ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList1_Vtbl, 0x553103fb_1fe7_4557_bb38_946d7d0e7ca7); windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList); impl ID3D12GraphicsCommandList1 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -7213,7 +7213,7 @@ pub struct ID3D12GraphicsCommandList1_Vtbl { ResolveSubresourceRegion: usize, pub SetViewInstanceMask: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } -windows_core::imp::com_interface!(ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList2_Vtbl, 0x38c3e585_ff17_412c_9150_4fc6f9d72a28); +windows_core::imp::define_interface!(ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList2_Vtbl, 0x38c3e585_ff17_412c_9150_4fc6f9d72a28); windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList2, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1); impl ID3D12GraphicsCommandList2 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -7507,7 +7507,7 @@ pub struct ID3D12GraphicsCommandList2_Vtbl { pub base__: ID3D12GraphicsCommandList1_Vtbl, pub WriteBufferImmediate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const D3D12_WRITEBUFFERIMMEDIATE_PARAMETER, *const D3D12_WRITEBUFFERIMMEDIATE_MODE), } -windows_core::imp::com_interface!(ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList3_Vtbl, 0x6fda83a7_b84c_4e38_9ac8_c7bd22016b3d); +windows_core::imp::define_interface!(ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList3_Vtbl, 0x6fda83a7_b84c_4e38_9ac8_c7bd22016b3d); windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList3, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2); impl ID3D12GraphicsCommandList3 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -7807,7 +7807,7 @@ pub struct ID3D12GraphicsCommandList3_Vtbl { pub base__: ID3D12GraphicsCommandList2_Vtbl, pub SetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList4_Vtbl, 0x8754318e_d3a9_4541_98cf_645b50dc4874); +windows_core::imp::define_interface!(ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList4_Vtbl, 0x8754318e_d3a9_4541_98cf_645b50dc4874); windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList4, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3); impl ID3D12GraphicsCommandList4 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -8159,7 +8159,7 @@ pub struct ID3D12GraphicsCommandList4_Vtbl { pub SetPipelineState1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), pub DispatchRays: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_DISPATCH_RAYS_DESC), } -windows_core::imp::com_interface!(ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList5_Vtbl, 0x55050859_4024_474c_87f5_6472eaee44ea); +windows_core::imp::define_interface!(ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList5_Vtbl, 0x55050859_4024_474c_87f5_6472eaee44ea); windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList5, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4); impl ID3D12GraphicsCommandList5 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -8507,7 +8507,7 @@ pub struct ID3D12GraphicsCommandList5_Vtbl { pub RSSetShadingRate: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_SHADING_RATE, *const D3D12_SHADING_RATE_COMBINER), pub RSSetShadingRateImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList6_Vtbl, 0xc3827890_e548_4cfa_96cf_5689a9370f80); +windows_core::imp::define_interface!(ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList6_Vtbl, 0xc3827890_e548_4cfa_96cf_5689a9370f80); windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList6, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5); impl ID3D12GraphicsCommandList6 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -8857,7 +8857,7 @@ pub struct ID3D12GraphicsCommandList6_Vtbl { pub base__: ID3D12GraphicsCommandList5_Vtbl, pub DispatchMesh: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32), } -windows_core::imp::com_interface!(ID3D12GraphicsCommandList7, ID3D12GraphicsCommandList7_Vtbl, 0xdd171223_8b61_4769_90e3_160ccde4e2c1); +windows_core::imp::define_interface!(ID3D12GraphicsCommandList7, ID3D12GraphicsCommandList7_Vtbl, 0xdd171223_8b61_4769_90e3_160ccde4e2c1); windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList7, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6); impl ID3D12GraphicsCommandList7 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -9210,7 +9210,7 @@ pub struct ID3D12GraphicsCommandList7_Vtbl { pub base__: ID3D12GraphicsCommandList6_Vtbl, pub Barrier: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const D3D12_BARRIER_GROUP), } -windows_core::imp::com_interface!(ID3D12GraphicsCommandList8, ID3D12GraphicsCommandList8_Vtbl, 0xee936ef9_599d_4d28_938e_23c4ad05ce51); +windows_core::imp::define_interface!(ID3D12GraphicsCommandList8, ID3D12GraphicsCommandList8_Vtbl, 0xee936ef9_599d_4d28_938e_23c4ad05ce51); windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList8, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList7); impl ID3D12GraphicsCommandList8 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -9566,7 +9566,7 @@ pub struct ID3D12GraphicsCommandList8_Vtbl { pub base__: ID3D12GraphicsCommandList7_Vtbl, pub OMSetFrontAndBackStencilRef: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32), } -windows_core::imp::com_interface!(ID3D12GraphicsCommandList9, ID3D12GraphicsCommandList9_Vtbl, 0x34ed2808_ffe6_4c2b_b11a_cabd2b0c59e1); +windows_core::imp::define_interface!(ID3D12GraphicsCommandList9, ID3D12GraphicsCommandList9_Vtbl, 0x34ed2808_ffe6_4c2b_b11a_cabd2b0c59e1); windows_core::imp::interface_hierarchy!(ID3D12GraphicsCommandList9, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12CommandList, ID3D12GraphicsCommandList, ID3D12GraphicsCommandList1, ID3D12GraphicsCommandList2, ID3D12GraphicsCommandList3, ID3D12GraphicsCommandList4, ID3D12GraphicsCommandList5, ID3D12GraphicsCommandList6, ID3D12GraphicsCommandList7, ID3D12GraphicsCommandList8); impl ID3D12GraphicsCommandList9 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -9929,7 +9929,7 @@ pub struct ID3D12GraphicsCommandList9_Vtbl { pub RSSetDepthBias: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32), pub IASetIndexBufferStripCutValue: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_INDEX_BUFFER_STRIP_CUT_VALUE), } -windows_core::imp::com_interface!(ID3D12Heap, ID3D12Heap_Vtbl, 0x6b3b2502_6e51_45b3_90ee_9884265e8df3); +windows_core::imp::define_interface!(ID3D12Heap, ID3D12Heap_Vtbl, 0x6b3b2502_6e51_45b3_90ee_9884265e8df3); windows_core::imp::interface_hierarchy!(ID3D12Heap, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12Heap { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -9969,7 +9969,7 @@ pub struct ID3D12Heap_Vtbl { pub base__: ID3D12Pageable_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_HEAP_DESC), } -windows_core::imp::com_interface!(ID3D12Heap1, ID3D12Heap1_Vtbl, 0x572f7389_2168_49e3_9693_d6df5871bf6d); +windows_core::imp::define_interface!(ID3D12Heap1, ID3D12Heap1_Vtbl, 0x572f7389_2168_49e3_9693_d6df5871bf6d); windows_core::imp::interface_hierarchy!(ID3D12Heap1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Heap); impl ID3D12Heap1 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10015,7 +10015,7 @@ pub struct ID3D12Heap1_Vtbl { pub base__: ID3D12Heap_Vtbl, pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12InfoQueue, ID3D12InfoQueue_Vtbl, 0x0742a90b_c387_483f_b946_30a7e4e61458); +windows_core::imp::define_interface!(ID3D12InfoQueue, ID3D12InfoQueue_Vtbl, 0x0742a90b_c387_483f_b946_30a7e4e61458); windows_core::imp::interface_hierarchy!(ID3D12InfoQueue, windows_core::IUnknown); impl ID3D12InfoQueue { pub unsafe fn SetMessageCountLimit(&self, messagecountlimit: u64) -> windows_core::Result<()> { @@ -10183,7 +10183,7 @@ pub struct ID3D12InfoQueue_Vtbl { pub SetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), pub GetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(ID3D12InfoQueue1, ID3D12InfoQueue1_Vtbl, 0x2852dd88_b484_4c0c_b6b1_67168500e600); +windows_core::imp::define_interface!(ID3D12InfoQueue1, ID3D12InfoQueue1_Vtbl, 0x2852dd88_b484_4c0c_b6b1_67168500e600); windows_core::imp::interface_hierarchy!(ID3D12InfoQueue1, windows_core::IUnknown, ID3D12InfoQueue); impl ID3D12InfoQueue1 { pub unsafe fn SetMessageCountLimit(&self, messagecountlimit: u64) -> windows_core::Result<()> { @@ -10324,7 +10324,7 @@ pub struct ID3D12InfoQueue1_Vtbl { pub RegisterMessageCallback: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12MessageFunc, D3D12_MESSAGE_CALLBACK_FLAGS, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UnregisterMessageCallback: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12LibraryReflection, ID3D12LibraryReflection_Vtbl, 0x8e349d19_54db_4a56_9dc9_119d87bdb804); +windows_core::imp::define_interface!(ID3D12LibraryReflection, ID3D12LibraryReflection_Vtbl, 0x8e349d19_54db_4a56_9dc9_119d87bdb804); windows_core::imp::interface_hierarchy!(ID3D12LibraryReflection, windows_core::IUnknown); impl ID3D12LibraryReflection { pub unsafe fn GetDesc(&self) -> windows_core::Result { @@ -10343,7 +10343,7 @@ pub struct ID3D12LibraryReflection_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_LIBRARY_DESC) -> windows_core::HRESULT, pub GetFunctionByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> Option, } -windows_core::imp::com_interface!(ID3D12LifetimeOwner, ID3D12LifetimeOwner_Vtbl, 0xe667af9f_cd56_4f46_83ce_032e595d70a8); +windows_core::imp::define_interface!(ID3D12LifetimeOwner, ID3D12LifetimeOwner_Vtbl, 0xe667af9f_cd56_4f46_83ce_032e595d70a8); windows_core::imp::interface_hierarchy!(ID3D12LifetimeOwner, windows_core::IUnknown); impl ID3D12LifetimeOwner { pub unsafe fn LifetimeStateUpdated(&self, newstate: D3D12_LIFETIME_STATE) { @@ -10357,7 +10357,7 @@ pub struct ID3D12LifetimeOwner_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub LifetimeStateUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_LIFETIME_STATE), } -windows_core::imp::com_interface!(ID3D12LifetimeTracker, ID3D12LifetimeTracker_Vtbl, 0x3fd03d36_4eb1_424a_a582_494ecb8ba813); +windows_core::imp::define_interface!(ID3D12LifetimeTracker, ID3D12LifetimeTracker_Vtbl, 0x3fd03d36_4eb1_424a_a582_494ecb8ba813); windows_core::imp::interface_hierarchy!(ID3D12LifetimeTracker, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ID3D12LifetimeTracker { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10398,7 +10398,7 @@ pub struct ID3D12LifetimeTracker_Vtbl { pub base__: ID3D12DeviceChild_Vtbl, pub DestroyOwnedObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12ManualWriteTrackingResource, ID3D12ManualWriteTrackingResource_Vtbl, 0x86ca3b85_49ad_4b6e_aed5_eddb18540f41); +windows_core::imp::define_interface!(ID3D12ManualWriteTrackingResource, ID3D12ManualWriteTrackingResource_Vtbl, 0x86ca3b85_49ad_4b6e_aed5_eddb18540f41); windows_core::imp::interface_hierarchy!(ID3D12ManualWriteTrackingResource, windows_core::IUnknown); impl ID3D12ManualWriteTrackingResource { pub unsafe fn TrackWrite(&self, subresource: u32, pwrittenrange: Option<*const D3D12_RANGE>) { @@ -10412,7 +10412,7 @@ pub struct ID3D12ManualWriteTrackingResource_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub TrackWrite: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const D3D12_RANGE), } -windows_core::imp::com_interface!(ID3D12MetaCommand, ID3D12MetaCommand_Vtbl, 0xdbb84c27_36ce_4fc9_b801_f048c46ac570); +windows_core::imp::define_interface!(ID3D12MetaCommand, ID3D12MetaCommand_Vtbl, 0xdbb84c27_36ce_4fc9_b801_f048c46ac570); windows_core::imp::interface_hierarchy!(ID3D12MetaCommand, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12MetaCommand { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10450,7 +10450,7 @@ pub struct ID3D12MetaCommand_Vtbl { pub base__: ID3D12Pageable_Vtbl, pub GetRequiredParameterResourceSize: unsafe extern "system" fn(*mut core::ffi::c_void, D3D12_META_COMMAND_PARAMETER_STAGE, u32) -> u64, } -windows_core::imp::com_interface!(ID3D12Object, ID3D12Object_Vtbl, 0xc4fec28f_7966_4e95_9f94_f431cb56c3b8); +windows_core::imp::define_interface!(ID3D12Object, ID3D12Object_Vtbl, 0xc4fec28f_7966_4e95_9f94_f431cb56c3b8); windows_core::imp::interface_hierarchy!(ID3D12Object, windows_core::IUnknown); impl ID3D12Object { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10482,7 +10482,7 @@ pub struct ID3D12Object_Vtbl { pub SetPrivateDataInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12Pageable, ID3D12Pageable_Vtbl, 0x63ee58fb_1268_4835_86da_f008ce62f0d6); +windows_core::imp::define_interface!(ID3D12Pageable, ID3D12Pageable_Vtbl, 0x63ee58fb_1268_4835_86da_f008ce62f0d6); windows_core::imp::interface_hierarchy!(ID3D12Pageable, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ID3D12Pageable { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10516,7 +10516,7 @@ unsafe impl Sync for ID3D12Pageable {} pub struct ID3D12Pageable_Vtbl { pub base__: ID3D12DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D12PipelineLibrary, ID3D12PipelineLibrary_Vtbl, 0xc64226a8_9201_46af_b4cc_53fb9ff7414f); +windows_core::imp::define_interface!(ID3D12PipelineLibrary, ID3D12PipelineLibrary_Vtbl, 0xc64226a8_9201_46af_b4cc_53fb9ff7414f); windows_core::imp::interface_hierarchy!(ID3D12PipelineLibrary, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ID3D12PipelineLibrary { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10588,7 +10588,7 @@ pub struct ID3D12PipelineLibrary_Vtbl { pub GetSerializedSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> usize, pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12PipelineLibrary1, ID3D12PipelineLibrary1_Vtbl, 0x80eabf42_2568_4e5e_bd82_c37f86961dc3); +windows_core::imp::define_interface!(ID3D12PipelineLibrary1, ID3D12PipelineLibrary1_Vtbl, 0x80eabf42_2568_4e5e_bd82_c37f86961dc3); windows_core::imp::interface_hierarchy!(ID3D12PipelineLibrary1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12PipelineLibrary); impl ID3D12PipelineLibrary1 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10661,7 +10661,7 @@ pub struct ID3D12PipelineLibrary1_Vtbl { pub base__: ID3D12PipelineLibrary_Vtbl, pub LoadPipeline: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const D3D12_PIPELINE_STATE_STREAM_DESC, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12PipelineState, ID3D12PipelineState_Vtbl, 0x765a30f3_f624_4c6f_a828_ace948622445); +windows_core::imp::define_interface!(ID3D12PipelineState, ID3D12PipelineState_Vtbl, 0x765a30f3_f624_4c6f_a828_ace948622445); windows_core::imp::interface_hierarchy!(ID3D12PipelineState, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12PipelineState { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10704,7 +10704,7 @@ pub struct ID3D12PipelineState_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D"))] GetCachedBlob: usize, } -windows_core::imp::com_interface!(ID3D12ProtectedResourceSession, ID3D12ProtectedResourceSession_Vtbl, 0x6cd696f4_f289_40cc_8091_5a6c0a099c3d); +windows_core::imp::define_interface!(ID3D12ProtectedResourceSession, ID3D12ProtectedResourceSession_Vtbl, 0x6cd696f4_f289_40cc_8091_5a6c0a099c3d); windows_core::imp::interface_hierarchy!(ID3D12ProtectedResourceSession, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12ProtectedSession); impl ID3D12ProtectedResourceSession { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10753,7 +10753,7 @@ pub struct ID3D12ProtectedResourceSession_Vtbl { pub base__: ID3D12ProtectedSession_Vtbl, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_PROTECTED_RESOURCE_SESSION_DESC), } -windows_core::imp::com_interface!(ID3D12ProtectedResourceSession1, ID3D12ProtectedResourceSession1_Vtbl, 0xd6f12dd6_76fb_406e_8961_4296eefc0409); +windows_core::imp::define_interface!(ID3D12ProtectedResourceSession1, ID3D12ProtectedResourceSession1_Vtbl, 0xd6f12dd6_76fb_406e_8961_4296eefc0409); windows_core::imp::interface_hierarchy!(ID3D12ProtectedResourceSession1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12ProtectedSession, ID3D12ProtectedResourceSession); impl ID3D12ProtectedResourceSession1 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10807,7 +10807,7 @@ pub struct ID3D12ProtectedResourceSession1_Vtbl { pub base__: ID3D12ProtectedResourceSession_Vtbl, pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_PROTECTED_RESOURCE_SESSION_DESC1), } -windows_core::imp::com_interface!(ID3D12ProtectedSession, ID3D12ProtectedSession_Vtbl, 0xa1533d18_0ac1_4084_85b9_89a96116806b); +windows_core::imp::define_interface!(ID3D12ProtectedSession, ID3D12ProtectedSession_Vtbl, 0xa1533d18_0ac1_4084_85b9_89a96116806b); windows_core::imp::interface_hierarchy!(ID3D12ProtectedSession, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ID3D12ProtectedSession { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10852,7 +10852,7 @@ pub struct ID3D12ProtectedSession_Vtbl { pub GetStatusFence: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSessionStatus: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D12_PROTECTED_SESSION_STATUS, } -windows_core::imp::com_interface!(ID3D12QueryHeap, ID3D12QueryHeap_Vtbl, 0x0d9658ae_ed45_469e_a61d_970ec583cab4); +windows_core::imp::define_interface!(ID3D12QueryHeap, ID3D12QueryHeap_Vtbl, 0x0d9658ae_ed45_469e_a61d_970ec583cab4); windows_core::imp::interface_hierarchy!(ID3D12QueryHeap, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12QueryHeap { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10886,7 +10886,7 @@ unsafe impl Sync for ID3D12QueryHeap {} pub struct ID3D12QueryHeap_Vtbl { pub base__: ID3D12Pageable_Vtbl, } -windows_core::imp::com_interface!(ID3D12Resource, ID3D12Resource_Vtbl, 0x696442be_a72e_4059_bc79_5b5c98040fad); +windows_core::imp::define_interface!(ID3D12Resource, ID3D12Resource_Vtbl, 0x696442be_a72e_4059_bc79_5b5c98040fad); windows_core::imp::interface_hierarchy!(ID3D12Resource, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12Resource { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -10954,7 +10954,7 @@ pub struct ID3D12Resource_Vtbl { pub ReadFromSubresource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, u32, *const D3D12_BOX) -> windows_core::HRESULT, pub GetHeapProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_HEAP_PROPERTIES, *mut D3D12_HEAP_FLAGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12Resource1, ID3D12Resource1_Vtbl, 0x9d5e227a_4430_4161_88b3_3eca6bb16e19); +windows_core::imp::define_interface!(ID3D12Resource1, ID3D12Resource1_Vtbl, 0x9d5e227a_4430_4161_88b3_3eca6bb16e19); windows_core::imp::interface_hierarchy!(ID3D12Resource1, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Resource); impl ID3D12Resource1 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -11019,7 +11019,7 @@ pub struct ID3D12Resource1_Vtbl { pub base__: ID3D12Resource_Vtbl, pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12Resource2, ID3D12Resource2_Vtbl, 0xbe36ec3b_ea85_4aeb_a45a_e9d76404a495); +windows_core::imp::define_interface!(ID3D12Resource2, ID3D12Resource2_Vtbl, 0xbe36ec3b_ea85_4aeb_a45a_e9d76404a495); windows_core::imp::interface_hierarchy!(ID3D12Resource2, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable, ID3D12Resource, ID3D12Resource1); impl ID3D12Resource2 { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -11093,7 +11093,7 @@ pub struct ID3D12Resource2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetDesc1: usize, } -windows_core::imp::com_interface!(ID3D12RootSignature, ID3D12RootSignature_Vtbl, 0xc54a6b66_72df_4ee8_8be5_a946a1429214); +windows_core::imp::define_interface!(ID3D12RootSignature, ID3D12RootSignature_Vtbl, 0xc54a6b66_72df_4ee8_8be5_a946a1429214); windows_core::imp::interface_hierarchy!(ID3D12RootSignature, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ID3D12RootSignature { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -11127,7 +11127,7 @@ unsafe impl Sync for ID3D12RootSignature {} pub struct ID3D12RootSignature_Vtbl { pub base__: ID3D12DeviceChild_Vtbl, } -windows_core::imp::com_interface!(ID3D12RootSignatureDeserializer, ID3D12RootSignatureDeserializer_Vtbl, 0x34ab647b_3cc8_46ac_841b_c0965645c046); +windows_core::imp::define_interface!(ID3D12RootSignatureDeserializer, ID3D12RootSignatureDeserializer_Vtbl, 0x34ab647b_3cc8_46ac_841b_c0965645c046); windows_core::imp::interface_hierarchy!(ID3D12RootSignatureDeserializer, windows_core::IUnknown); impl ID3D12RootSignatureDeserializer { pub unsafe fn GetRootSignatureDesc(&self) -> *mut D3D12_ROOT_SIGNATURE_DESC { @@ -11141,7 +11141,7 @@ pub struct ID3D12RootSignatureDeserializer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetRootSignatureDesc: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut D3D12_ROOT_SIGNATURE_DESC, } -windows_core::imp::com_interface!(ID3D12SDKConfiguration, ID3D12SDKConfiguration_Vtbl, 0xe9eb5314_33aa_42b2_a718_d77f58b1f1c7); +windows_core::imp::define_interface!(ID3D12SDKConfiguration, ID3D12SDKConfiguration_Vtbl, 0xe9eb5314_33aa_42b2_a718_d77f58b1f1c7); windows_core::imp::interface_hierarchy!(ID3D12SDKConfiguration, windows_core::IUnknown); impl ID3D12SDKConfiguration { pub unsafe fn SetSDKVersion(&self, sdkversion: u32, sdkpath: P0) -> windows_core::Result<()> @@ -11158,7 +11158,7 @@ pub struct ID3D12SDKConfiguration_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetSDKVersion: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12SDKConfiguration1, ID3D12SDKConfiguration1_Vtbl, 0x8aaf9303_ad25_48b9_9a57_d9c37e009d9f); +windows_core::imp::define_interface!(ID3D12SDKConfiguration1, ID3D12SDKConfiguration1_Vtbl, 0x8aaf9303_ad25_48b9_9a57_d9c37e009d9f); windows_core::imp::interface_hierarchy!(ID3D12SDKConfiguration1, windows_core::IUnknown, ID3D12SDKConfiguration); impl ID3D12SDKConfiguration1 { pub unsafe fn SetSDKVersion(&self, sdkversion: u32, sdkpath: P0) -> windows_core::Result<()> @@ -11187,7 +11187,7 @@ pub struct ID3D12SDKConfiguration1_Vtbl { pub CreateDeviceFactory: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FreeUnusedSDKs: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(ID3D12ShaderCacheSession, ID3D12ShaderCacheSession_Vtbl, 0x28e2495d_0f64_4ae4_a6ec_129255dc49a8); +windows_core::imp::define_interface!(ID3D12ShaderCacheSession, ID3D12ShaderCacheSession_Vtbl, 0x28e2495d_0f64_4ae4_a6ec_129255dc49a8); windows_core::imp::interface_hierarchy!(ID3D12ShaderCacheSession, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild); impl ID3D12ShaderCacheSession { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -11239,7 +11239,7 @@ pub struct ID3D12ShaderCacheSession_Vtbl { pub SetDeleteOnDestroy: unsafe extern "system" fn(*mut core::ffi::c_void), pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_SHADER_CACHE_SESSION_DESC), } -windows_core::imp::com_interface!(ID3D12ShaderReflection, ID3D12ShaderReflection_Vtbl, 0x5a58797d_a72c_478d_8ba2_efc6b0efe88e); +windows_core::imp::define_interface!(ID3D12ShaderReflection, ID3D12ShaderReflection_Vtbl, 0x5a58797d_a72c_478d_8ba2_efc6b0efe88e); windows_core::imp::interface_hierarchy!(ID3D12ShaderReflection, windows_core::IUnknown); impl ID3D12ShaderReflection { #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -11367,7 +11367,7 @@ pub struct ID3D12ShaderReflection_Vtbl { pub GetThreadGroupSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> u32, pub GetRequiresFlags: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, } -windows_core::imp::interface!(ID3D12ShaderReflectionConstantBuffer, ID3D12ShaderReflectionConstantBuffer_Vtbl); +windows_core::imp::define_interface!(ID3D12ShaderReflectionConstantBuffer, ID3D12ShaderReflectionConstantBuffer_Vtbl); impl ID3D12ShaderReflectionConstantBuffer { #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self, pdesc: *mut D3D12_SHADER_BUFFER_DESC) -> windows_core::Result<()> { @@ -11394,7 +11394,7 @@ pub struct ID3D12ShaderReflectionConstantBuffer_Vtbl { pub GetVariableByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> Option, pub GetVariableByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR) -> Option, } -windows_core::imp::interface!(ID3D12ShaderReflectionType, ID3D12ShaderReflectionType_Vtbl); +windows_core::imp::define_interface!(ID3D12ShaderReflectionType, ID3D12ShaderReflectionType_Vtbl); impl ID3D12ShaderReflectionType { #[cfg(feature = "Win32_Graphics_Direct3D")] pub unsafe fn GetDesc(&self, pdesc: *mut D3D12_SHADER_TYPE_DESC) -> windows_core::Result<()> { @@ -11462,7 +11462,7 @@ pub struct ID3D12ShaderReflectionType_Vtbl { pub IsOfType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ImplementsInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::interface!(ID3D12ShaderReflectionVariable, ID3D12ShaderReflectionVariable_Vtbl); +windows_core::imp::define_interface!(ID3D12ShaderReflectionVariable, ID3D12ShaderReflectionVariable_Vtbl); impl ID3D12ShaderReflectionVariable { pub unsafe fn GetDesc(&self, pdesc: *mut D3D12_SHADER_VARIABLE_DESC) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetDesc)(windows_core::Interface::as_raw(self), pdesc).ok() @@ -11486,7 +11486,7 @@ pub struct ID3D12ShaderReflectionVariable_Vtbl { pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, pub GetInterfaceSlot: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, } -windows_core::imp::com_interface!(ID3D12SharingContract, ID3D12SharingContract_Vtbl, 0x0adf7d52_929c_4e61_addb_ffed30de66ef); +windows_core::imp::define_interface!(ID3D12SharingContract, ID3D12SharingContract_Vtbl, 0x0adf7d52_929c_4e61_addb_ffed30de66ef); windows_core::imp::interface_hierarchy!(ID3D12SharingContract, windows_core::IUnknown); impl ID3D12SharingContract { pub unsafe fn Present(&self, presource: P0, subresource: u32, window: P1) @@ -11519,7 +11519,7 @@ pub struct ID3D12SharingContract_Vtbl { pub BeginCapturableWork: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID), pub EndCapturableWork: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID), } -windows_core::imp::com_interface!(ID3D12StateObject, ID3D12StateObject_Vtbl, 0x47016943_fca8_4594_93ea_af258b55346d); +windows_core::imp::define_interface!(ID3D12StateObject, ID3D12StateObject_Vtbl, 0x47016943_fca8_4594_93ea_af258b55346d); windows_core::imp::interface_hierarchy!(ID3D12StateObject, windows_core::IUnknown, ID3D12Object, ID3D12DeviceChild, ID3D12Pageable); impl ID3D12StateObject { pub unsafe fn GetPrivateData(&self, guid: *const windows_core::GUID, pdatasize: *mut u32, pdata: Option<*mut core::ffi::c_void>) -> windows_core::Result<()> { @@ -11553,7 +11553,7 @@ unsafe impl Sync for ID3D12StateObject {} pub struct ID3D12StateObject_Vtbl { pub base__: ID3D12Pageable_Vtbl, } -windows_core::imp::com_interface!(ID3D12StateObjectProperties, ID3D12StateObjectProperties_Vtbl, 0xde5fa827_9bf9_4f26_89ff_d7f56fde3860); +windows_core::imp::define_interface!(ID3D12StateObjectProperties, ID3D12StateObjectProperties_Vtbl, 0xde5fa827_9bf9_4f26_89ff_d7f56fde3860); windows_core::imp::interface_hierarchy!(ID3D12StateObjectProperties, windows_core::IUnknown); impl ID3D12StateObjectProperties { pub unsafe fn GetShaderIdentifier(&self, pexportname: P0) -> *mut core::ffi::c_void @@ -11585,7 +11585,7 @@ pub struct ID3D12StateObjectProperties_Vtbl { pub GetPipelineStackSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, pub SetPipelineStackSize: unsafe extern "system" fn(*mut core::ffi::c_void, u64), } -windows_core::imp::com_interface!(ID3D12SwapChainAssistant, ID3D12SwapChainAssistant_Vtbl, 0xf1df64b6_57fd_49cd_8807_c0eb88b45c8f); +windows_core::imp::define_interface!(ID3D12SwapChainAssistant, ID3D12SwapChainAssistant_Vtbl, 0xf1df64b6_57fd_49cd_8807_c0eb88b45c8f); windows_core::imp::interface_hierarchy!(ID3D12SwapChainAssistant, windows_core::IUnknown); impl ID3D12SwapChainAssistant { pub unsafe fn GetLUID(&self) -> super::super::Foundation::LUID { @@ -11621,7 +11621,7 @@ pub struct ID3D12SwapChainAssistant_Vtbl { pub GetCurrentResourceAndCommandQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub InsertImplicitSync: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12Tools, ID3D12Tools_Vtbl, 0x7071e1f0_e84b_4b33_974f_12fa49de65c5); +windows_core::imp::define_interface!(ID3D12Tools, ID3D12Tools_Vtbl, 0x7071e1f0_e84b_4b33_974f_12fa49de65c5); windows_core::imp::interface_hierarchy!(ID3D12Tools, windows_core::IUnknown); impl ID3D12Tools { pub unsafe fn EnableShaderInstrumentation(&self, benable: P0) @@ -11642,7 +11642,7 @@ pub struct ID3D12Tools_Vtbl { pub EnableShaderInstrumentation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), pub ShaderInstrumentationEnabled: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(ID3D12VersionedRootSignatureDeserializer, ID3D12VersionedRootSignatureDeserializer_Vtbl, 0x7f91ce67_090c_4bb7_b78e_ed8ff2e31da0); +windows_core::imp::define_interface!(ID3D12VersionedRootSignatureDeserializer, ID3D12VersionedRootSignatureDeserializer_Vtbl, 0x7f91ce67_090c_4bb7_b78e_ed8ff2e31da0); 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> { @@ -11661,7 +11661,7 @@ pub struct ID3D12VersionedRootSignatureDeserializer_Vtbl { pub GetRootSignatureDescAtVersion: unsafe extern "system" fn(*mut core::ffi::c_void, D3D_ROOT_SIGNATURE_VERSION, *mut *mut D3D12_VERSIONED_ROOT_SIGNATURE_DESC) -> windows_core::HRESULT, pub GetUnconvertedRootSignatureDesc: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut D3D12_VERSIONED_ROOT_SIGNATURE_DESC, } -windows_core::imp::com_interface!(ID3D12VirtualizationGuestDevice, ID3D12VirtualizationGuestDevice_Vtbl, 0xbc66d368_7373_4943_8757_fc87dc79e476); +windows_core::imp::define_interface!(ID3D12VirtualizationGuestDevice, ID3D12VirtualizationGuestDevice_Vtbl, 0xbc66d368_7373_4943_8757_fc87dc79e476); windows_core::imp::interface_hierarchy!(ID3D12VirtualizationGuestDevice, windows_core::IUnknown); impl ID3D12VirtualizationGuestDevice { pub unsafe fn ShareWithHost(&self, pobject: P0) -> windows_core::Result 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 9ca4d4f058..145dc5be2d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/mod.rs @@ -53,7 +53,7 @@ pub unsafe fn Direct3DCreate9Ex(sdkversion: u32) -> windows_core::Result windows_core::Result<()> { @@ -130,7 +130,7 @@ pub struct IDirect3D9_Vtbl { GetAdapterMonitor: usize, pub CreateDevice: unsafe extern "system" fn(*mut core::ffi::c_void, u32, D3DDEVTYPE, super::super::Foundation::HWND, u32, *mut D3DPRESENT_PARAMETERS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3D9Ex, IDirect3D9Ex_Vtbl, 0x02177241_69fc_400c_8ff1_93a44df6861d); +windows_core::imp::define_interface!(IDirect3D9Ex, IDirect3D9Ex_Vtbl, 0x02177241_69fc_400c_8ff1_93a44df6861d); windows_core::imp::interface_hierarchy!(IDirect3D9Ex, windows_core::IUnknown, IDirect3D9); impl IDirect3D9Ex { pub unsafe fn RegisterSoftwareDevice(&self, pinitializefunction: *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -213,7 +213,7 @@ pub struct IDirect3D9Ex_Vtbl { pub CreateDeviceEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, D3DDEVTYPE, super::super::Foundation::HWND, u32, *mut D3DPRESENT_PARAMETERS, *mut D3DDISPLAYMODEEX, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAdapterLUID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::LUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DBaseTexture9, IDirect3DBaseTexture9_Vtbl, 0x580ca87e_1d3c_4d54_991d_b7d3e3c298ce); +windows_core::imp::define_interface!(IDirect3DBaseTexture9, IDirect3DBaseTexture9_Vtbl, 0x580ca87e_1d3c_4d54_991d_b7d3e3c298ce); windows_core::imp::interface_hierarchy!(IDirect3DBaseTexture9, windows_core::IUnknown, IDirect3DResource9); impl IDirect3DBaseTexture9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -270,7 +270,7 @@ pub struct IDirect3DBaseTexture9_Vtbl { pub GetAutoGenFilterType: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3DTEXTUREFILTERTYPE, pub GenerateMipSubLevels: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IDirect3DCubeTexture9, IDirect3DCubeTexture9_Vtbl, 0xfff32f81_d953_473a_9223_93d652aba93f); +windows_core::imp::define_interface!(IDirect3DCubeTexture9, IDirect3DCubeTexture9_Vtbl, 0xfff32f81_d953_473a_9223_93d652aba93f); windows_core::imp::interface_hierarchy!(IDirect3DCubeTexture9, windows_core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); impl IDirect3DCubeTexture9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -342,7 +342,7 @@ pub struct IDirect3DCubeTexture9_Vtbl { pub UnlockRect: unsafe extern "system" fn(*mut core::ffi::c_void, D3DCUBEMAP_FACES, u32) -> windows_core::HRESULT, pub AddDirtyRect: unsafe extern "system" fn(*mut core::ffi::c_void, D3DCUBEMAP_FACES, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DDevice9, IDirect3DDevice9_Vtbl, 0xd0223b96_bf7a_43fd_92bd_a43b0d82b9eb); +windows_core::imp::define_interface!(IDirect3DDevice9, IDirect3DDevice9_Vtbl, 0xd0223b96_bf7a_43fd_92bd_a43b0d82b9eb); windows_core::imp::interface_hierarchy!(IDirect3DDevice9, windows_core::IUnknown); impl IDirect3DDevice9 { pub unsafe fn TestCooperativeLevel(&self) -> windows_core::Result<()> { @@ -936,7 +936,7 @@ pub struct IDirect3DDevice9_Vtbl { pub DeletePatch: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub CreateQuery: unsafe extern "system" fn(*mut core::ffi::c_void, D3DQUERYTYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DDevice9Ex, IDirect3DDevice9Ex_Vtbl, 0xb18b10ce_2649_405a_870f_95f777d4313a); +windows_core::imp::define_interface!(IDirect3DDevice9Ex, IDirect3DDevice9Ex_Vtbl, 0xb18b10ce_2649_405a_870f_95f777d4313a); windows_core::imp::interface_hierarchy!(IDirect3DDevice9Ex, windows_core::IUnknown, IDirect3DDevice9); impl IDirect3DDevice9Ex { pub unsafe fn TestCooperativeLevel(&self) -> windows_core::Result<()> { @@ -1472,7 +1472,7 @@ pub struct IDirect3DDevice9Ex_Vtbl { pub ResetEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DPRESENT_PARAMETERS, *mut D3DDISPLAYMODEEX) -> windows_core::HRESULT, pub GetDisplayModeEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut D3DDISPLAYMODEEX, *mut D3DDISPLAYROTATION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DIndexBuffer9, IDirect3DIndexBuffer9_Vtbl, 0x7c9dd65e_d3f7_4529_acee_785830acde35); +windows_core::imp::define_interface!(IDirect3DIndexBuffer9, IDirect3DIndexBuffer9_Vtbl, 0x7c9dd65e_d3f7_4529_acee_785830acde35); windows_core::imp::interface_hierarchy!(IDirect3DIndexBuffer9, windows_core::IUnknown, IDirect3DResource9); impl IDirect3DIndexBuffer9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1517,7 +1517,7 @@ pub struct IDirect3DIndexBuffer9_Vtbl { pub Unlock: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DINDEXBUFFER_DESC) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DPixelShader9, IDirect3DPixelShader9_Vtbl, 0x6d3bdbdc_5b02_4415_b852_ce5e8bccb289); +windows_core::imp::define_interface!(IDirect3DPixelShader9, IDirect3DPixelShader9_Vtbl, 0x6d3bdbdc_5b02_4415_b852_ce5e8bccb289); windows_core::imp::interface_hierarchy!(IDirect3DPixelShader9, windows_core::IUnknown); impl IDirect3DPixelShader9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1534,7 +1534,7 @@ pub struct IDirect3DPixelShader9_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFunction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DQuery9, IDirect3DQuery9_Vtbl, 0xd9771460_a695_4f26_bbd3_27b840b541cc); +windows_core::imp::define_interface!(IDirect3DQuery9, IDirect3DQuery9_Vtbl, 0xd9771460_a695_4f26_bbd3_27b840b541cc); windows_core::imp::interface_hierarchy!(IDirect3DQuery9, windows_core::IUnknown); impl IDirect3DQuery9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1563,7 +1563,7 @@ pub struct IDirect3DQuery9_Vtbl { pub Issue: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DResource9, IDirect3DResource9_Vtbl, 0x05eec05d_8f7d_4362_b999_d1baf357c704); +windows_core::imp::define_interface!(IDirect3DResource9, IDirect3DResource9_Vtbl, 0x05eec05d_8f7d_4362_b999_d1baf357c704); windows_core::imp::interface_hierarchy!(IDirect3DResource9, windows_core::IUnknown); impl IDirect3DResource9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1604,7 +1604,7 @@ pub struct IDirect3DResource9_Vtbl { pub PreLoad: unsafe extern "system" fn(*mut core::ffi::c_void), pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3DRESOURCETYPE, } -windows_core::imp::com_interface!(IDirect3DStateBlock9, IDirect3DStateBlock9_Vtbl, 0xb07c4fe5_310d_4ba8_a23c_4f0f206f218b); +windows_core::imp::define_interface!(IDirect3DStateBlock9, IDirect3DStateBlock9_Vtbl, 0xb07c4fe5_310d_4ba8_a23c_4f0f206f218b); windows_core::imp::interface_hierarchy!(IDirect3DStateBlock9, windows_core::IUnknown); impl IDirect3DStateBlock9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1625,7 +1625,7 @@ pub struct IDirect3DStateBlock9_Vtbl { pub Capture: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Apply: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DSurface9, IDirect3DSurface9_Vtbl, 0x0cfbaf3a_9ff6_429a_99b3_a2796af8b89b); +windows_core::imp::define_interface!(IDirect3DSurface9, IDirect3DSurface9_Vtbl, 0x0cfbaf3a_9ff6_429a_99b3_a2796af8b89b); windows_core::imp::interface_hierarchy!(IDirect3DSurface9, windows_core::IUnknown, IDirect3DResource9); impl IDirect3DSurface9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1693,7 +1693,7 @@ pub struct IDirect3DSurface9_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] ReleaseDC: usize, } -windows_core::imp::com_interface!(IDirect3DSwapChain9, IDirect3DSwapChain9_Vtbl, 0x794950f2_adfc_458a_905e_10a10b0b503b); +windows_core::imp::define_interface!(IDirect3DSwapChain9, IDirect3DSwapChain9_Vtbl, 0x794950f2_adfc_458a_905e_10a10b0b503b); windows_core::imp::interface_hierarchy!(IDirect3DSwapChain9, windows_core::IUnknown); impl IDirect3DSwapChain9 { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1741,7 +1741,7 @@ pub struct IDirect3DSwapChain9_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPresentParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DPRESENT_PARAMETERS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DSwapChain9Ex, IDirect3DSwapChain9Ex_Vtbl, 0x91886caf_1c3d_4d2e_a0ab_3e4c7d8d3303); +windows_core::imp::define_interface!(IDirect3DSwapChain9Ex, IDirect3DSwapChain9Ex_Vtbl, 0x91886caf_1c3d_4d2e_a0ab_3e4c7d8d3303); windows_core::imp::interface_hierarchy!(IDirect3DSwapChain9Ex, windows_core::IUnknown, IDirect3DSwapChain9); impl IDirect3DSwapChain9Ex { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1791,7 +1791,7 @@ pub struct IDirect3DSwapChain9Ex_Vtbl { pub GetPresentStats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DPRESENTSTATS) -> windows_core::HRESULT, pub GetDisplayModeEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DDISPLAYMODEEX, *mut D3DDISPLAYROTATION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DTexture9, IDirect3DTexture9_Vtbl, 0x85c31227_3de5_4f00_9b3a_f11ac38c18b5); +windows_core::imp::define_interface!(IDirect3DTexture9, IDirect3DTexture9_Vtbl, 0x85c31227_3de5_4f00_9b3a_f11ac38c18b5); windows_core::imp::interface_hierarchy!(IDirect3DTexture9, windows_core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); impl IDirect3DTexture9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1863,7 +1863,7 @@ pub struct IDirect3DTexture9_Vtbl { pub UnlockRect: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub AddDirtyRect: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DVertexBuffer9, IDirect3DVertexBuffer9_Vtbl, 0xb64bb1b5_fd70_4df6_bf91_19d0a12455e3); +windows_core::imp::define_interface!(IDirect3DVertexBuffer9, IDirect3DVertexBuffer9_Vtbl, 0xb64bb1b5_fd70_4df6_bf91_19d0a12455e3); windows_core::imp::interface_hierarchy!(IDirect3DVertexBuffer9, windows_core::IUnknown, IDirect3DResource9); impl IDirect3DVertexBuffer9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1908,7 +1908,7 @@ pub struct IDirect3DVertexBuffer9_Vtbl { pub Unlock: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DVERTEXBUFFER_DESC) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DVertexDeclaration9, IDirect3DVertexDeclaration9_Vtbl, 0xdd13c59c_36fa_4098_a8fb_c7ed39dc8546); +windows_core::imp::define_interface!(IDirect3DVertexDeclaration9, IDirect3DVertexDeclaration9_Vtbl, 0xdd13c59c_36fa_4098_a8fb_c7ed39dc8546); windows_core::imp::interface_hierarchy!(IDirect3DVertexDeclaration9, windows_core::IUnknown); impl IDirect3DVertexDeclaration9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1925,7 +1925,7 @@ pub struct IDirect3DVertexDeclaration9_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDeclaration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DVERTEXELEMENT9, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DVertexShader9, IDirect3DVertexShader9_Vtbl, 0xefc5557e_6265_4613_8a94_43857889eb36); +windows_core::imp::define_interface!(IDirect3DVertexShader9, IDirect3DVertexShader9_Vtbl, 0xefc5557e_6265_4613_8a94_43857889eb36); windows_core::imp::interface_hierarchy!(IDirect3DVertexShader9, windows_core::IUnknown); impl IDirect3DVertexShader9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1942,7 +1942,7 @@ pub struct IDirect3DVertexShader9_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFunction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DVolume9, IDirect3DVolume9_Vtbl, 0x24f416e6_1f67_4aa7_b88e_d33f6f3128a1); +windows_core::imp::define_interface!(IDirect3DVolume9, IDirect3DVolume9_Vtbl, 0x24f416e6_1f67_4aa7_b88e_d33f6f3128a1); windows_core::imp::interface_hierarchy!(IDirect3DVolume9, windows_core::IUnknown); impl IDirect3DVolume9 { pub unsafe fn GetDevice(&self) -> windows_core::Result { @@ -1983,7 +1983,7 @@ pub struct IDirect3DVolume9_Vtbl { pub LockBox: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3DLOCKED_BOX, *const D3DBOX, u32) -> windows_core::HRESULT, pub UnlockBox: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DVolumeTexture9, IDirect3DVolumeTexture9_Vtbl, 0x2518526c_e789_4111_a7b9_47ef328d13e6); +windows_core::imp::define_interface!(IDirect3DVolumeTexture9, IDirect3DVolumeTexture9_Vtbl, 0x2518526c_e789_4111_a7b9_47ef328d13e6); windows_core::imp::interface_hierarchy!(IDirect3DVolumeTexture9, windows_core::IUnknown, IDirect3DResource9, IDirect3DBaseTexture9); impl IDirect3DVolumeTexture9 { pub unsafe fn GetDevice(&self) -> 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 08f77b457a..1a47343f88 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/mod.rs @@ -10,7 +10,7 @@ pub unsafe fn Direct3DCreate9On12Ex(sdkversion: u32, poverridelist: *mut D3D9ON1 windows_targets::link!("d3d9.dll" "system" fn Direct3DCreate9On12Ex(sdkversion : u32, poverridelist : *mut D3D9ON12_ARGS, numoverrideentries : u32, ppoutputinterface : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); Direct3DCreate9On12Ex(sdkversion, poverridelist, numoverrideentries, core::mem::transmute(ppoutputinterface)).ok() } -windows_core::imp::com_interface!(IDirect3DDevice9On12, IDirect3DDevice9On12_Vtbl, 0xe7fda234_b589_4049_940d_8878977531c8); +windows_core::imp::define_interface!(IDirect3DDevice9On12, IDirect3DDevice9On12_Vtbl, 0xe7fda234_b589_4049_940d_8878977531c8); windows_core::imp::interface_hierarchy!(IDirect3DDevice9On12, windows_core::IUnknown); impl IDirect3DDevice9On12 { pub unsafe fn GetD3D12Device(&self, riid: *const windows_core::GUID, ppvdevice: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs index e8a906c8f4..485f1193df 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/mod.rs @@ -85,7 +85,7 @@ pub unsafe fn DCompositionWaitForCompositorClock(handles: Option<&[super::super: windows_targets::link!("dcomp.dll" "system" fn DCompositionWaitForCompositorClock(count : u32, handles : *const super::super::Foundation:: HANDLE, timeoutinms : u32) -> u32); DCompositionWaitForCompositorClock(handles.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(handles.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), timeoutinms) } -windows_core::imp::com_interface!(IDCompositionAffineTransform2DEffect, IDCompositionAffineTransform2DEffect_Vtbl, 0x0b74b9e8_cdd6_492f_bbbc_5ed32157026d); +windows_core::imp::define_interface!(IDCompositionAffineTransform2DEffect, IDCompositionAffineTransform2DEffect_Vtbl, 0x0b74b9e8_cdd6_492f_bbbc_5ed32157026d); windows_core::imp::interface_hierarchy!(IDCompositionAffineTransform2DEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionAffineTransform2DEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -145,7 +145,7 @@ pub struct IDCompositionAffineTransform2DEffect_Vtbl { pub SetSharpness: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSharpness2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionAnimation, IDCompositionAnimation_Vtbl, 0xcbfd91d9_51b2_45e4_b3de_d19ccfb863c5); +windows_core::imp::define_interface!(IDCompositionAnimation, IDCompositionAnimation_Vtbl, 0xcbfd91d9_51b2_45e4_b3de_d19ccfb863c5); windows_core::imp::interface_hierarchy!(IDCompositionAnimation, windows_core::IUnknown); impl IDCompositionAnimation { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -177,7 +177,7 @@ pub struct IDCompositionAnimation_Vtbl { pub AddRepeat: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, pub End: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionArithmeticCompositeEffect, IDCompositionArithmeticCompositeEffect_Vtbl, 0x3b67dfa8_e3dd_4e61_b640_46c2f3d739dc); +windows_core::imp::define_interface!(IDCompositionArithmeticCompositeEffect, IDCompositionArithmeticCompositeEffect_Vtbl, 0x3b67dfa8_e3dd_4e61_b640_46c2f3d739dc); windows_core::imp::interface_hierarchy!(IDCompositionArithmeticCompositeEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionArithmeticCompositeEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -250,7 +250,7 @@ pub struct IDCompositionArithmeticCompositeEffect_Vtbl { pub SetCoefficient4: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCoefficient42: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionBlendEffect, IDCompositionBlendEffect_Vtbl, 0x33ecdc0a_578a_4a11_9c14_0cb90517f9c5); +windows_core::imp::define_interface!(IDCompositionBlendEffect, IDCompositionBlendEffect_Vtbl, 0x33ecdc0a_578a_4a11_9c14_0cb90517f9c5); windows_core::imp::interface_hierarchy!(IDCompositionBlendEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionBlendEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -272,7 +272,7 @@ pub struct IDCompositionBlendEffect_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] SetMode: usize, } -windows_core::imp::com_interface!(IDCompositionBrightnessEffect, IDCompositionBrightnessEffect_Vtbl, 0x6027496e_cb3a_49ab_934f_d798da4f7da6); +windows_core::imp::define_interface!(IDCompositionBrightnessEffect, IDCompositionBrightnessEffect_Vtbl, 0x6027496e_cb3a_49ab_934f_d798da4f7da6); windows_core::imp::interface_hierarchy!(IDCompositionBrightnessEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionBrightnessEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -346,14 +346,14 @@ pub struct IDCompositionBrightnessEffect_Vtbl { pub SetBlackPointY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBlackPointY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionClip, IDCompositionClip_Vtbl, 0x64ac3703_9d3f_45ec_a109_7cac0e7a13a7); +windows_core::imp::define_interface!(IDCompositionClip, IDCompositionClip_Vtbl, 0x64ac3703_9d3f_45ec_a109_7cac0e7a13a7); windows_core::imp::interface_hierarchy!(IDCompositionClip, windows_core::IUnknown); impl IDCompositionClip {} #[repr(C)] pub struct IDCompositionClip_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IDCompositionColorMatrixEffect, IDCompositionColorMatrixEffect_Vtbl, 0xc1170a22_3ce2_4966_90d4_55408bfc84c4); +windows_core::imp::define_interface!(IDCompositionColorMatrixEffect, IDCompositionColorMatrixEffect_Vtbl, 0xc1170a22_3ce2_4966_90d4_55408bfc84c4); windows_core::imp::interface_hierarchy!(IDCompositionColorMatrixEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionColorMatrixEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -401,7 +401,7 @@ pub struct IDCompositionColorMatrixEffect_Vtbl { SetAlphaMode: usize, pub SetClampOutput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionCompositeEffect, IDCompositionCompositeEffect_Vtbl, 0x576616c0_a231_494d_a38d_00fd5ec4db46); +windows_core::imp::define_interface!(IDCompositionCompositeEffect, IDCompositionCompositeEffect_Vtbl, 0x576616c0_a231_494d_a38d_00fd5ec4db46); windows_core::imp::interface_hierarchy!(IDCompositionCompositeEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionCompositeEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -423,7 +423,7 @@ pub struct IDCompositionCompositeEffect_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] SetMode: usize, } -windows_core::imp::com_interface!(IDCompositionDelegatedInkTrail, IDCompositionDelegatedInkTrail_Vtbl, 0xc2448e9b_547d_4057_8cf5_8144ede1c2da); +windows_core::imp::define_interface!(IDCompositionDelegatedInkTrail, IDCompositionDelegatedInkTrail_Vtbl, 0xc2448e9b_547d_4057_8cf5_8144ede1c2da); windows_core::imp::interface_hierarchy!(IDCompositionDelegatedInkTrail, windows_core::IUnknown); impl IDCompositionDelegatedInkTrail { pub unsafe fn AddTrailPoints(&self, inkpoints: &[DCompositionInkTrailPoint]) -> windows_core::Result { @@ -453,7 +453,7 @@ pub struct IDCompositionDelegatedInkTrail_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] StartNewTrail: usize, } -windows_core::imp::com_interface!(IDCompositionDesktopDevice, IDCompositionDesktopDevice_Vtbl, 0x5f4633fe_1e08_4cb8_8c75_ce24333f5602); +windows_core::imp::define_interface!(IDCompositionDesktopDevice, IDCompositionDesktopDevice_Vtbl, 0x5f4633fe_1e08_4cb8_8c75_ce24333f5602); windows_core::imp::interface_hierarchy!(IDCompositionDesktopDevice, windows_core::IUnknown, IDCompositionDevice2); impl IDCompositionDesktopDevice { pub unsafe fn Commit(&self) -> windows_core::Result<()> { @@ -573,7 +573,7 @@ pub struct IDCompositionDesktopDevice_Vtbl { pub CreateSurfaceFromHandle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateSurfaceFromHwnd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionDevice, IDCompositionDevice_Vtbl, 0xc37ea93a_e7aa_450d_b16f_9746cb0407f3); +windows_core::imp::define_interface!(IDCompositionDevice, IDCompositionDevice_Vtbl, 0xc37ea93a_e7aa_450d_b16f_9746cb0407f3); windows_core::imp::interface_hierarchy!(IDCompositionDevice, windows_core::IUnknown); impl IDCompositionDevice { pub unsafe fn Commit(&self) -> windows_core::Result<()> { @@ -720,7 +720,7 @@ pub struct IDCompositionDevice_Vtbl { pub CreateAnimation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CheckDeviceState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionDevice2, IDCompositionDevice2_Vtbl, 0x75f6468d_1b8e_447c_9bc6_75fea80b5b25); +windows_core::imp::define_interface!(IDCompositionDevice2, IDCompositionDevice2_Vtbl, 0x75f6468d_1b8e_447c_9bc6_75fea80b5b25); windows_core::imp::interface_hierarchy!(IDCompositionDevice2, windows_core::IUnknown); impl IDCompositionDevice2 { pub unsafe fn Commit(&self) -> windows_core::Result<()> { @@ -845,7 +845,7 @@ pub struct IDCompositionDevice2_Vtbl { pub CreateRectangleClip: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateAnimation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionDevice3, IDCompositionDevice3_Vtbl, 0x0987cb06_f916_48bf_8d35_ce7641781bd9); +windows_core::imp::define_interface!(IDCompositionDevice3, IDCompositionDevice3_Vtbl, 0x0987cb06_f916_48bf_8d35_ce7641781bd9); windows_core::imp::interface_hierarchy!(IDCompositionDevice3, windows_core::IUnknown, IDCompositionDevice2); impl IDCompositionDevice3 { pub unsafe fn Commit(&self) -> windows_core::Result<()> { @@ -1005,7 +1005,7 @@ pub struct IDCompositionDevice3_Vtbl { pub CreateArithmeticCompositeEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateAffineTransform2DEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionDevice4, IDCompositionDevice4_Vtbl, 0x85fc5cca_2da6_494c_86b6_4a775c049b8a); +windows_core::imp::define_interface!(IDCompositionDevice4, IDCompositionDevice4_Vtbl, 0x85fc5cca_2da6_494c_86b6_4a775c049b8a); windows_core::imp::interface_hierarchy!(IDCompositionDevice4, windows_core::IUnknown, IDCompositionDevice2, IDCompositionDevice3); impl IDCompositionDevice4 { pub unsafe fn Commit(&self) -> windows_core::Result<()> { @@ -1168,7 +1168,7 @@ pub struct IDCompositionDevice4_Vtbl { pub CheckCompositionTextureSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CreateCompositionTexture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionDeviceDebug, IDCompositionDeviceDebug_Vtbl, 0xa1a3c64a_224f_4a81_9773_4f03a89d3c6c); +windows_core::imp::define_interface!(IDCompositionDeviceDebug, IDCompositionDeviceDebug_Vtbl, 0xa1a3c64a_224f_4a81_9773_4f03a89d3c6c); windows_core::imp::interface_hierarchy!(IDCompositionDeviceDebug, windows_core::IUnknown); impl IDCompositionDeviceDebug { pub unsafe fn EnableDebugCounters(&self) -> windows_core::Result<()> { @@ -1184,14 +1184,14 @@ pub struct IDCompositionDeviceDebug_Vtbl { pub EnableDebugCounters: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisableDebugCounters: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionEffect, IDCompositionEffect_Vtbl, 0xec81b08f_bfcb_4e8d_b193_a915587999e8); +windows_core::imp::define_interface!(IDCompositionEffect, IDCompositionEffect_Vtbl, 0xec81b08f_bfcb_4e8d_b193_a915587999e8); windows_core::imp::interface_hierarchy!(IDCompositionEffect, windows_core::IUnknown); impl IDCompositionEffect {} #[repr(C)] pub struct IDCompositionEffect_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IDCompositionEffectGroup, IDCompositionEffectGroup_Vtbl, 0xa7929a74_e6b2_4bd6_8b95_4040119ca34d); +windows_core::imp::define_interface!(IDCompositionEffectGroup, IDCompositionEffectGroup_Vtbl, 0xa7929a74_e6b2_4bd6_8b95_4040119ca34d); windows_core::imp::interface_hierarchy!(IDCompositionEffectGroup, windows_core::IUnknown, IDCompositionEffect); impl IDCompositionEffectGroup { pub unsafe fn SetOpacity(&self, animation: P0) -> windows_core::Result<()> @@ -1217,7 +1217,7 @@ pub struct IDCompositionEffectGroup_Vtbl { pub SetOpacity2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, pub SetTransform3D: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionFilterEffect, IDCompositionFilterEffect_Vtbl, 0x30c421d5_8cb2_4e9f_b133_37be270d4ac2); +windows_core::imp::define_interface!(IDCompositionFilterEffect, IDCompositionFilterEffect_Vtbl, 0x30c421d5_8cb2_4e9f_b133_37be270d4ac2); windows_core::imp::interface_hierarchy!(IDCompositionFilterEffect, windows_core::IUnknown, IDCompositionEffect); impl IDCompositionFilterEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -1232,7 +1232,7 @@ pub struct IDCompositionFilterEffect_Vtbl { pub base__: IDCompositionEffect_Vtbl, pub SetInput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionGaussianBlurEffect, IDCompositionGaussianBlurEffect_Vtbl, 0x45d4d0b7_1bd4_454e_8894_2bfa68443033); +windows_core::imp::define_interface!(IDCompositionGaussianBlurEffect, IDCompositionGaussianBlurEffect_Vtbl, 0x45d4d0b7_1bd4_454e_8894_2bfa68443033); windows_core::imp::interface_hierarchy!(IDCompositionGaussianBlurEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionGaussianBlurEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -1265,7 +1265,7 @@ pub struct IDCompositionGaussianBlurEffect_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] SetBorderMode: usize, } -windows_core::imp::com_interface!(IDCompositionHueRotationEffect, IDCompositionHueRotationEffect_Vtbl, 0x6db9f920_0770_4781_b0c6_381912f9d167); +windows_core::imp::define_interface!(IDCompositionHueRotationEffect, IDCompositionHueRotationEffect_Vtbl, 0x6db9f920_0770_4781_b0c6_381912f9d167); windows_core::imp::interface_hierarchy!(IDCompositionHueRotationEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionHueRotationEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -1290,7 +1290,7 @@ pub struct IDCompositionHueRotationEffect_Vtbl { pub SetAngle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAngle2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionInkTrailDevice, IDCompositionInkTrailDevice_Vtbl, 0xdf0c7cec_cdeb_4d4a_b91c_721bf22f4e6c); +windows_core::imp::define_interface!(IDCompositionInkTrailDevice, IDCompositionInkTrailDevice_Vtbl, 0xdf0c7cec_cdeb_4d4a_b91c_721bf22f4e6c); windows_core::imp::interface_hierarchy!(IDCompositionInkTrailDevice, windows_core::IUnknown); impl IDCompositionInkTrailDevice { pub unsafe fn CreateDelegatedInkTrail(&self) -> windows_core::Result { @@ -1311,7 +1311,7 @@ pub struct IDCompositionInkTrailDevice_Vtbl { pub CreateDelegatedInkTrail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateDelegatedInkTrailForSwapChain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionLinearTransferEffect, IDCompositionLinearTransferEffect_Vtbl, 0x4305ee5b_c4a0_4c88_9385_67124e017683); +windows_core::imp::define_interface!(IDCompositionLinearTransferEffect, IDCompositionLinearTransferEffect_Vtbl, 0x4305ee5b_c4a0_4c88_9385_67124e017683); windows_core::imp::interface_hierarchy!(IDCompositionLinearTransferEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionLinearTransferEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -1448,7 +1448,7 @@ pub struct IDCompositionLinearTransferEffect_Vtbl { pub SetAlphaDisable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetClampOutput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionMatrixTransform, IDCompositionMatrixTransform_Vtbl, 0x16cdff07_c503_419c_83f2_0965c7af1fa6); +windows_core::imp::define_interface!(IDCompositionMatrixTransform, IDCompositionMatrixTransform_Vtbl, 0x16cdff07_c503_419c_83f2_0965c7af1fa6); windows_core::imp::interface_hierarchy!(IDCompositionMatrixTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); impl IDCompositionMatrixTransform { #[cfg(feature = "Foundation_Numerics")] @@ -1475,7 +1475,7 @@ pub struct IDCompositionMatrixTransform_Vtbl { pub SetMatrixElement: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMatrixElement2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionMatrixTransform3D, IDCompositionMatrixTransform3D_Vtbl, 0x4b3363f0_643b_41b7_b6e0_ccf22d34467c); +windows_core::imp::define_interface!(IDCompositionMatrixTransform3D, IDCompositionMatrixTransform3D_Vtbl, 0x4b3363f0_643b_41b7_b6e0_ccf22d34467c); windows_core::imp::interface_hierarchy!(IDCompositionMatrixTransform3D, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); impl IDCompositionMatrixTransform3D { #[cfg(feature = "Foundation_Numerics")] @@ -1502,7 +1502,7 @@ pub struct IDCompositionMatrixTransform3D_Vtbl { pub SetMatrixElement: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMatrixElement2: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionRectangleClip, IDCompositionRectangleClip_Vtbl, 0x9842ad7d_d9cf_4908_aed7_48b51da5e7c2); +windows_core::imp::define_interface!(IDCompositionRectangleClip, IDCompositionRectangleClip_Vtbl, 0x9842ad7d_d9cf_4908_aed7_48b51da5e7c2); windows_core::imp::interface_hierarchy!(IDCompositionRectangleClip, windows_core::IUnknown, IDCompositionClip); impl IDCompositionRectangleClip { pub unsafe fn SetLeft(&self, animation: P0) -> windows_core::Result<()> @@ -1642,7 +1642,7 @@ pub struct IDCompositionRectangleClip_Vtbl { pub SetBottomRightRadiusY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBottomRightRadiusY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionRotateTransform, IDCompositionRotateTransform_Vtbl, 0x641ed83c_ae96_46c5_90dc_32774cc5c6d5); +windows_core::imp::define_interface!(IDCompositionRotateTransform, IDCompositionRotateTransform_Vtbl, 0x641ed83c_ae96_46c5_90dc_32774cc5c6d5); windows_core::imp::interface_hierarchy!(IDCompositionRotateTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); impl IDCompositionRotateTransform { pub unsafe fn SetAngle(&self, animation: P0) -> windows_core::Result<()> @@ -1683,7 +1683,7 @@ pub struct IDCompositionRotateTransform_Vtbl { pub SetCenterY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCenterY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionRotateTransform3D, IDCompositionRotateTransform3D_Vtbl, 0xd8f5b23f_d429_4a91_b55a_d2f45fd75b18); +windows_core::imp::define_interface!(IDCompositionRotateTransform3D, IDCompositionRotateTransform3D_Vtbl, 0xd8f5b23f_d429_4a91_b55a_d2f45fd75b18); windows_core::imp::interface_hierarchy!(IDCompositionRotateTransform3D, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); impl IDCompositionRotateTransform3D { pub unsafe fn SetAngle(&self, animation: P0) -> windows_core::Result<()> @@ -1768,7 +1768,7 @@ pub struct IDCompositionRotateTransform3D_Vtbl { pub SetCenterZ: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCenterZ2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionSaturationEffect, IDCompositionSaturationEffect_Vtbl, 0xa08debda_3258_4fa4_9f16_9174d3fe93b1); +windows_core::imp::define_interface!(IDCompositionSaturationEffect, IDCompositionSaturationEffect_Vtbl, 0xa08debda_3258_4fa4_9f16_9174d3fe93b1); windows_core::imp::interface_hierarchy!(IDCompositionSaturationEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionSaturationEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -1793,7 +1793,7 @@ pub struct IDCompositionSaturationEffect_Vtbl { pub SetSaturation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSaturation2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionScaleTransform, IDCompositionScaleTransform_Vtbl, 0x71fde914_40ef_45ef_bd51_68b037c339f9); +windows_core::imp::define_interface!(IDCompositionScaleTransform, IDCompositionScaleTransform_Vtbl, 0x71fde914_40ef_45ef_bd51_68b037c339f9); windows_core::imp::interface_hierarchy!(IDCompositionScaleTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); impl IDCompositionScaleTransform { pub unsafe fn SetScaleX(&self, animation: P0) -> windows_core::Result<()> @@ -1845,7 +1845,7 @@ pub struct IDCompositionScaleTransform_Vtbl { pub SetCenterY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCenterY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionScaleTransform3D, IDCompositionScaleTransform3D_Vtbl, 0x2a9e9ead_364b_4b15_a7c4_a1997f78b389); +windows_core::imp::define_interface!(IDCompositionScaleTransform3D, IDCompositionScaleTransform3D_Vtbl, 0x2a9e9ead_364b_4b15_a7c4_a1997f78b389); windows_core::imp::interface_hierarchy!(IDCompositionScaleTransform3D, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); impl IDCompositionScaleTransform3D { pub unsafe fn SetScaleX(&self, animation: P0) -> windows_core::Result<()> @@ -1919,7 +1919,7 @@ pub struct IDCompositionScaleTransform3D_Vtbl { pub SetCenterZ: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCenterZ2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionShadowEffect, IDCompositionShadowEffect_Vtbl, 0x4ad18ac0_cfd2_4c2f_bb62_96e54fdb6879); +windows_core::imp::define_interface!(IDCompositionShadowEffect, IDCompositionShadowEffect_Vtbl, 0x4ad18ac0_cfd2_4c2f_bb62_96e54fdb6879); windows_core::imp::interface_hierarchy!(IDCompositionShadowEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionShadowEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -1996,7 +1996,7 @@ pub struct IDCompositionShadowEffect_Vtbl { pub SetAlpha: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAlpha2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionSkewTransform, IDCompositionSkewTransform_Vtbl, 0xe57aa735_dcdb_4c72_9c61_0591f58889ee); +windows_core::imp::define_interface!(IDCompositionSkewTransform, IDCompositionSkewTransform_Vtbl, 0xe57aa735_dcdb_4c72_9c61_0591f58889ee); windows_core::imp::interface_hierarchy!(IDCompositionSkewTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); impl IDCompositionSkewTransform { pub unsafe fn SetAngleX(&self, animation: P0) -> windows_core::Result<()> @@ -2048,7 +2048,7 @@ pub struct IDCompositionSkewTransform_Vtbl { pub SetCenterY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCenterY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionSurface, IDCompositionSurface_Vtbl, 0xbb8a4953_2c99_4f5a_96f5_4819027fa3ac); +windows_core::imp::define_interface!(IDCompositionSurface, IDCompositionSurface_Vtbl, 0xbb8a4953_2c99_4f5a_96f5_4819027fa3ac); windows_core::imp::interface_hierarchy!(IDCompositionSurface, windows_core::IUnknown); impl IDCompositionSurface { pub unsafe fn BeginDraw(&self, updaterect: Option<*const super::super::Foundation::RECT>, updateoffset: *mut super::super::Foundation::POINT) -> windows_core::Result @@ -2080,7 +2080,7 @@ pub struct IDCompositionSurface_Vtbl { pub ResumeDraw: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Scroll: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, *const super::super::Foundation::RECT, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionSurfaceFactory, IDCompositionSurfaceFactory_Vtbl, 0xe334bc12_3937_4e02_85eb_fcf4eb30d2c8); +windows_core::imp::define_interface!(IDCompositionSurfaceFactory, IDCompositionSurfaceFactory_Vtbl, 0xe334bc12_3937_4e02_85eb_fcf4eb30d2c8); windows_core::imp::interface_hierarchy!(IDCompositionSurfaceFactory, windows_core::IUnknown); impl IDCompositionSurfaceFactory { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2106,7 +2106,7 @@ pub struct IDCompositionSurfaceFactory_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] CreateVirtualSurface: usize, } -windows_core::imp::com_interface!(IDCompositionTableTransferEffect, IDCompositionTableTransferEffect_Vtbl, 0x9b7e82e2_69c5_4eb4_a5f5_a7033f5132cd); +windows_core::imp::define_interface!(IDCompositionTableTransferEffect, IDCompositionTableTransferEffect_Vtbl, 0x9b7e82e2_69c5_4eb4_a5f5_a7033f5132cd); windows_core::imp::interface_hierarchy!(IDCompositionTableTransferEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionTableTransferEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -2215,7 +2215,7 @@ pub struct IDCompositionTableTransferEffect_Vtbl { pub SetAlphaTableValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAlphaTableValue2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionTarget, IDCompositionTarget_Vtbl, 0xeacdd04c_117e_4e17_88f4_d1b12b0e3d89); +windows_core::imp::define_interface!(IDCompositionTarget, IDCompositionTarget_Vtbl, 0xeacdd04c_117e_4e17_88f4_d1b12b0e3d89); windows_core::imp::interface_hierarchy!(IDCompositionTarget, windows_core::IUnknown); impl IDCompositionTarget { pub unsafe fn SetRoot(&self, visual: P0) -> windows_core::Result<()> @@ -2230,7 +2230,7 @@ pub struct IDCompositionTarget_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionTexture, IDCompositionTexture_Vtbl, 0x929bb1aa_725f_433b_abd7_273075a835f2); +windows_core::imp::define_interface!(IDCompositionTexture, IDCompositionTexture_Vtbl, 0x929bb1aa_725f_433b_abd7_273075a835f2); windows_core::imp::interface_hierarchy!(IDCompositionTexture, windows_core::IUnknown); impl IDCompositionTexture { #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -2266,21 +2266,21 @@ pub struct IDCompositionTexture_Vtbl { SetAlphaMode: usize, pub GetAvailableFence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionTransform, IDCompositionTransform_Vtbl, 0xfd55faa7_37e0_4c20_95d2_9be45bc33f55); +windows_core::imp::define_interface!(IDCompositionTransform, IDCompositionTransform_Vtbl, 0xfd55faa7_37e0_4c20_95d2_9be45bc33f55); windows_core::imp::interface_hierarchy!(IDCompositionTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); impl IDCompositionTransform {} #[repr(C)] pub struct IDCompositionTransform_Vtbl { pub base__: IDCompositionTransform3D_Vtbl, } -windows_core::imp::com_interface!(IDCompositionTransform3D, IDCompositionTransform3D_Vtbl, 0x71185722_246b_41f2_aad1_0443f7f4bfc2); +windows_core::imp::define_interface!(IDCompositionTransform3D, IDCompositionTransform3D_Vtbl, 0x71185722_246b_41f2_aad1_0443f7f4bfc2); windows_core::imp::interface_hierarchy!(IDCompositionTransform3D, windows_core::IUnknown, IDCompositionEffect); impl IDCompositionTransform3D {} #[repr(C)] pub struct IDCompositionTransform3D_Vtbl { pub base__: IDCompositionEffect_Vtbl, } -windows_core::imp::com_interface!(IDCompositionTranslateTransform, IDCompositionTranslateTransform_Vtbl, 0x06791122_c6f0_417d_8323_269e987f5954); +windows_core::imp::define_interface!(IDCompositionTranslateTransform, IDCompositionTranslateTransform_Vtbl, 0x06791122_c6f0_417d_8323_269e987f5954); windows_core::imp::interface_hierarchy!(IDCompositionTranslateTransform, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D, IDCompositionTransform); impl IDCompositionTranslateTransform { pub unsafe fn SetOffsetX(&self, animation: P0) -> windows_core::Result<()> @@ -2310,7 +2310,7 @@ pub struct IDCompositionTranslateTransform_Vtbl { pub SetOffsetY: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetOffsetY2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionTranslateTransform3D, IDCompositionTranslateTransform3D_Vtbl, 0x91636d4b_9ba1_4532_aaf7_e3344994d788); +windows_core::imp::define_interface!(IDCompositionTranslateTransform3D, IDCompositionTranslateTransform3D_Vtbl, 0x91636d4b_9ba1_4532_aaf7_e3344994d788); windows_core::imp::interface_hierarchy!(IDCompositionTranslateTransform3D, windows_core::IUnknown, IDCompositionEffect, IDCompositionTransform3D); impl IDCompositionTranslateTransform3D { pub unsafe fn SetOffsetX(&self, animation: P0) -> windows_core::Result<()> @@ -2351,7 +2351,7 @@ pub struct IDCompositionTranslateTransform3D_Vtbl { pub SetOffsetZ: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetOffsetZ2: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionTurbulenceEffect, IDCompositionTurbulenceEffect_Vtbl, 0xa6a55bda_c09c_49f3_9193_a41922c89715); +windows_core::imp::define_interface!(IDCompositionTurbulenceEffect, IDCompositionTurbulenceEffect_Vtbl, 0xa6a55bda_c09c_49f3_9193_a41922c89715); windows_core::imp::interface_hierarchy!(IDCompositionTurbulenceEffect, windows_core::IUnknown, IDCompositionEffect, IDCompositionFilterEffect); impl IDCompositionTurbulenceEffect { pub unsafe fn SetInput(&self, index: u32, input: P0, flags: u32) -> windows_core::Result<()> @@ -2412,7 +2412,7 @@ pub struct IDCompositionTurbulenceEffect_Vtbl { SetNoise: usize, pub SetStitchable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionVirtualSurface, IDCompositionVirtualSurface_Vtbl, 0xae471c51_5f53_4a24_8d3e_d0c39c30b3f0); +windows_core::imp::define_interface!(IDCompositionVirtualSurface, IDCompositionVirtualSurface_Vtbl, 0xae471c51_5f53_4a24_8d3e_d0c39c30b3f0); windows_core::imp::interface_hierarchy!(IDCompositionVirtualSurface, windows_core::IUnknown, IDCompositionSurface); impl IDCompositionVirtualSurface { pub unsafe fn BeginDraw(&self, updaterect: Option<*const super::super::Foundation::RECT>, updateoffset: *mut super::super::Foundation::POINT) -> windows_core::Result @@ -2447,7 +2447,7 @@ pub struct IDCompositionVirtualSurface_Vtbl { pub Resize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub Trim: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionVisual, IDCompositionVisual_Vtbl, 0x4d93059d_097b_4651_9a60_f0f25116e2f3); +windows_core::imp::define_interface!(IDCompositionVisual, IDCompositionVisual_Vtbl, 0x4d93059d_097b_4651_9a60_f0f25116e2f3); windows_core::imp::interface_hierarchy!(IDCompositionVisual, windows_core::IUnknown); impl IDCompositionVisual { pub unsafe fn SetOffsetX(&self, animation: P0) -> windows_core::Result<()> @@ -2560,7 +2560,7 @@ pub struct IDCompositionVisual_Vtbl { pub RemoveAllVisuals: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCompositeMode: unsafe extern "system" fn(*mut core::ffi::c_void, DCOMPOSITION_COMPOSITE_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionVisual2, IDCompositionVisual2_Vtbl, 0xe8de1639_4331_4b26_bc5f_6a321d347a85); +windows_core::imp::define_interface!(IDCompositionVisual2, IDCompositionVisual2_Vtbl, 0xe8de1639_4331_4b26_bc5f_6a321d347a85); windows_core::imp::interface_hierarchy!(IDCompositionVisual2, windows_core::IUnknown, IDCompositionVisual); impl IDCompositionVisual2 { pub unsafe fn SetOffsetX(&self, animation: P0) -> windows_core::Result<()> @@ -2658,7 +2658,7 @@ pub struct IDCompositionVisual2_Vtbl { pub SetOpacityMode: unsafe extern "system" fn(*mut core::ffi::c_void, DCOMPOSITION_OPACITY_MODE) -> windows_core::HRESULT, pub SetBackFaceVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, DCOMPOSITION_BACKFACE_VISIBILITY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionVisual3, IDCompositionVisual3_Vtbl, 0x2775f462_b6c1_4015_b0be_b3e7d6a4976d); +windows_core::imp::define_interface!(IDCompositionVisual3, IDCompositionVisual3_Vtbl, 0x2775f462_b6c1_4015_b0be_b3e7d6a4976d); windows_core::imp::interface_hierarchy!(IDCompositionVisual3, windows_core::IUnknown, IDCompositionVisual, IDCompositionVisual2, IDCompositionVisualDebug); impl IDCompositionVisual3 { pub unsafe fn SetOffsetX(&self, animation: P0) -> windows_core::Result<()> @@ -2815,7 +2815,7 @@ pub struct IDCompositionVisual3_Vtbl { SetTransform4: usize, pub SetVisible: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDCompositionVisualDebug, IDCompositionVisualDebug_Vtbl, 0xfed2b808_5eb4_43a0_aea3_35f65280f91b); +windows_core::imp::define_interface!(IDCompositionVisualDebug, IDCompositionVisualDebug_Vtbl, 0xfed2b808_5eb4_43a0_aea3_35f65280f91b); windows_core::imp::interface_hierarchy!(IDCompositionVisualDebug, windows_core::IUnknown, IDCompositionVisual, IDCompositionVisual2); impl IDCompositionVisualDebug { pub unsafe fn SetOffsetX(&self, animation: P0) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs index d6979158ea..16a81df55f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs @@ -44,7 +44,7 @@ pub unsafe fn DirectDrawEnumerateW(lpcallback: LPDDENUMCALLBACKW, lpcontext: *mu windows_targets::link!("ddraw.dll" "system" fn DirectDrawEnumerateW(lpcallback : LPDDENUMCALLBACKW, lpcontext : *mut core::ffi::c_void) -> windows_core::HRESULT); DirectDrawEnumerateW(lpcallback, lpcontext).ok() } -windows_core::imp::com_interface!(IDDVideoPortContainer, IDDVideoPortContainer_Vtbl, 0x6c142760_a733_11ce_a521_0020af0be560); +windows_core::imp::define_interface!(IDDVideoPortContainer, IDDVideoPortContainer_Vtbl, 0x6c142760_a733_11ce_a521_0020af0be560); windows_core::imp::interface_hierarchy!(IDDVideoPortContainer, windows_core::IUnknown); impl IDDVideoPortContainer { pub unsafe fn CreateVideoPort(&self, param0: u32, param1: *mut DDVIDEOPORTDESC, param2: *mut Option, param3: P0) -> windows_core::Result<()> @@ -71,7 +71,7 @@ pub struct IDDVideoPortContainer_Vtbl { pub GetVideoPortConnectInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut DDVIDEOPORTCONNECT) -> windows_core::HRESULT, pub QueryVideoPortStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DDVIDEOPORTSTATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDraw, IDirectDraw_Vtbl, 0x6c14db80_a733_11ce_a521_0020af0be560); +windows_core::imp::define_interface!(IDirectDraw, IDirectDraw_Vtbl, 0x6c14db80_a733_11ce_a521_0020af0be560); windows_core::imp::interface_hierarchy!(IDirectDraw, windows_core::IUnknown); impl IDirectDraw { pub unsafe fn Compact(&self) -> windows_core::Result<()> { @@ -183,7 +183,7 @@ pub struct IDirectDraw_Vtbl { pub SetDisplayMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, pub WaitForVerticalBlank: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDraw2, IDirectDraw2_Vtbl, 0xb3a6f3e0_2b43_11cf_a2de_00aa00b93356); +windows_core::imp::define_interface!(IDirectDraw2, IDirectDraw2_Vtbl, 0xb3a6f3e0_2b43_11cf_a2de_00aa00b93356); windows_core::imp::interface_hierarchy!(IDirectDraw2, windows_core::IUnknown); impl IDirectDraw2 { pub unsafe fn Compact(&self) -> windows_core::Result<()> { @@ -299,7 +299,7 @@ pub struct IDirectDraw2_Vtbl { pub WaitForVerticalBlank: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub GetAvailableVidMem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DDSCAPS, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDraw4, IDirectDraw4_Vtbl, 0x9c59509a_39bd_11d1_8c4a_00c04fd930c5); +windows_core::imp::define_interface!(IDirectDraw4, IDirectDraw4_Vtbl, 0x9c59509a_39bd_11d1_8c4a_00c04fd930c5); windows_core::imp::interface_hierarchy!(IDirectDraw4, windows_core::IUnknown); impl IDirectDraw4 { pub unsafe fn Compact(&self) -> windows_core::Result<()> { @@ -439,7 +439,7 @@ pub struct IDirectDraw4_Vtbl { pub TestCooperativeLevel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDeviceIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DDDEVICEIDENTIFIER, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDraw7, IDirectDraw7_Vtbl, 0x15e65ec0_3b9c_11d2_b92f_00609797ea5b); +windows_core::imp::define_interface!(IDirectDraw7, IDirectDraw7_Vtbl, 0x15e65ec0_3b9c_11d2_b92f_00609797ea5b); windows_core::imp::interface_hierarchy!(IDirectDraw7, windows_core::IUnknown); impl IDirectDraw7 { pub unsafe fn Compact(&self) -> windows_core::Result<()> { @@ -587,7 +587,7 @@ pub struct IDirectDraw7_Vtbl { pub StartModeTest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SIZE, u32, u32) -> windows_core::HRESULT, pub EvaluateMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawClipper, IDirectDrawClipper_Vtbl, 0x6c14db85_a733_11ce_a521_0020af0be560); +windows_core::imp::define_interface!(IDirectDrawClipper, IDirectDrawClipper_Vtbl, 0x6c14db85_a733_11ce_a521_0020af0be560); windows_core::imp::interface_hierarchy!(IDirectDrawClipper, windows_core::IUnknown); impl IDirectDrawClipper { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -633,7 +633,7 @@ pub struct IDirectDrawClipper_Vtbl { SetClipList: usize, pub SetHWnd: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawColorControl, IDirectDrawColorControl_Vtbl, 0x4b9f0ee0_0d7e_11d0_9b06_00a0c903a3b8); +windows_core::imp::define_interface!(IDirectDrawColorControl, IDirectDrawColorControl_Vtbl, 0x4b9f0ee0_0d7e_11d0_9b06_00a0c903a3b8); windows_core::imp::interface_hierarchy!(IDirectDrawColorControl, windows_core::IUnknown); impl IDirectDrawColorControl { pub unsafe fn GetColorControls(&self, param0: *mut DDCOLORCONTROL) -> windows_core::Result<()> { @@ -649,7 +649,7 @@ pub struct IDirectDrawColorControl_Vtbl { pub GetColorControls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DDCOLORCONTROL) -> windows_core::HRESULT, pub SetColorControls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DDCOLORCONTROL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawGammaControl, IDirectDrawGammaControl_Vtbl, 0x69c11c3e_b46b_11d1_ad7a_00c04fc29b4e); +windows_core::imp::define_interface!(IDirectDrawGammaControl, IDirectDrawGammaControl_Vtbl, 0x69c11c3e_b46b_11d1_ad7a_00c04fc29b4e); windows_core::imp::interface_hierarchy!(IDirectDrawGammaControl, windows_core::IUnknown); impl IDirectDrawGammaControl { pub unsafe fn GetGammaRamp(&self, param0: u32, param1: *mut DDGAMMARAMP) -> windows_core::Result<()> { @@ -665,7 +665,7 @@ pub struct IDirectDrawGammaControl_Vtbl { pub GetGammaRamp: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DDGAMMARAMP) -> windows_core::HRESULT, pub SetGammaRamp: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DDGAMMARAMP) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawKernel, IDirectDrawKernel_Vtbl, 0x8d56c120_6a08_11d0_9b06_00a0c903a3b8); +windows_core::imp::define_interface!(IDirectDrawKernel, IDirectDrawKernel_Vtbl, 0x8d56c120_6a08_11d0_9b06_00a0c903a3b8); windows_core::imp::interface_hierarchy!(IDirectDrawKernel, windows_core::IUnknown); impl IDirectDrawKernel { pub unsafe fn GetCaps(&self, param0: *mut DDKERNELCAPS) -> windows_core::Result<()> { @@ -685,7 +685,7 @@ pub struct IDirectDrawKernel_Vtbl { pub GetKernelHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, pub ReleaseKernelHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawPalette, IDirectDrawPalette_Vtbl, 0x6c14db84_a733_11ce_a521_0020af0be560); +windows_core::imp::define_interface!(IDirectDrawPalette, IDirectDrawPalette_Vtbl, 0x6c14db84_a733_11ce_a521_0020af0be560); windows_core::imp::interface_hierarchy!(IDirectDrawPalette, windows_core::IUnknown); impl IDirectDrawPalette { pub unsafe fn GetCaps(&self, param0: *mut u32) -> windows_core::Result<()> { @@ -724,7 +724,7 @@ pub struct IDirectDrawPalette_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] SetEntries: usize, } -windows_core::imp::com_interface!(IDirectDrawSurface, IDirectDrawSurface_Vtbl, 0x6c14db81_a733_11ce_a521_0020af0be560); +windows_core::imp::define_interface!(IDirectDrawSurface, IDirectDrawSurface_Vtbl, 0x6c14db81_a733_11ce_a521_0020af0be560); windows_core::imp::interface_hierarchy!(IDirectDrawSurface, windows_core::IUnknown); impl IDirectDrawSurface { pub unsafe fn AddAttachedSurface(&self, param0: P0) -> windows_core::Result<()> @@ -910,7 +910,7 @@ pub struct IDirectDrawSurface_Vtbl { pub UpdateOverlayDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub UpdateOverlayZOrder: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawSurface2, IDirectDrawSurface2_Vtbl, 0x57805885_6eec_11cf_9441_a82303c10e27); +windows_core::imp::define_interface!(IDirectDrawSurface2, IDirectDrawSurface2_Vtbl, 0x57805885_6eec_11cf_9441_a82303c10e27); windows_core::imp::interface_hierarchy!(IDirectDrawSurface2, windows_core::IUnknown); impl IDirectDrawSurface2 { pub unsafe fn AddAttachedSurface(&self, param0: P0) -> windows_core::Result<()> @@ -1108,7 +1108,7 @@ pub struct IDirectDrawSurface2_Vtbl { pub PageLock: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub PageUnlock: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawSurface3, IDirectDrawSurface3_Vtbl, 0xda044e00_69b2_11d0_a1d5_00aa00b8dfbb); +windows_core::imp::define_interface!(IDirectDrawSurface3, IDirectDrawSurface3_Vtbl, 0xda044e00_69b2_11d0_a1d5_00aa00b8dfbb); windows_core::imp::interface_hierarchy!(IDirectDrawSurface3, windows_core::IUnknown); impl IDirectDrawSurface3 { pub unsafe fn AddAttachedSurface(&self, param0: P0) -> windows_core::Result<()> @@ -1310,7 +1310,7 @@ pub struct IDirectDrawSurface3_Vtbl { pub PageUnlock: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetSurfaceDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DDSURFACEDESC, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawSurface4, IDirectDrawSurface4_Vtbl, 0x0b2b8630_ad35_11d0_8ea6_00609797ea5b); +windows_core::imp::define_interface!(IDirectDrawSurface4, IDirectDrawSurface4_Vtbl, 0x0b2b8630_ad35_11d0_8ea6_00609797ea5b); windows_core::imp::interface_hierarchy!(IDirectDrawSurface4, windows_core::IUnknown); impl IDirectDrawSurface4 { pub unsafe fn AddAttachedSurface(&self, param0: P0) -> windows_core::Result<()> @@ -1532,7 +1532,7 @@ pub struct IDirectDrawSurface4_Vtbl { pub GetUniquenessValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub ChangeUniquenessValue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawSurface7, IDirectDrawSurface7_Vtbl, 0x06675a80_3b9b_11d2_b92f_00609797ea5b); +windows_core::imp::define_interface!(IDirectDrawSurface7, IDirectDrawSurface7_Vtbl, 0x06675a80_3b9b_11d2_b92f_00609797ea5b); windows_core::imp::interface_hierarchy!(IDirectDrawSurface7, windows_core::IUnknown); impl IDirectDrawSurface7 { pub unsafe fn AddAttachedSurface(&self, param0: P0) -> windows_core::Result<()> @@ -1770,7 +1770,7 @@ pub struct IDirectDrawSurface7_Vtbl { pub SetLOD: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetLOD: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawSurfaceKernel, IDirectDrawSurfaceKernel_Vtbl, 0x60755da0_6a40_11d0_9b06_00a0c903a3b8); +windows_core::imp::define_interface!(IDirectDrawSurfaceKernel, IDirectDrawSurfaceKernel_Vtbl, 0x60755da0_6a40_11d0_9b06_00a0c903a3b8); windows_core::imp::interface_hierarchy!(IDirectDrawSurfaceKernel, windows_core::IUnknown); impl IDirectDrawSurfaceKernel { pub unsafe fn GetKernelHandle(&self, param0: *mut usize) -> windows_core::Result<()> { @@ -1786,7 +1786,7 @@ pub struct IDirectDrawSurfaceKernel_Vtbl { pub GetKernelHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, pub ReleaseKernelHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawVideoPort, IDirectDrawVideoPort_Vtbl, 0xb36d93e0_2b43_11cf_a2de_00aa00b93356); +windows_core::imp::define_interface!(IDirectDrawVideoPort, IDirectDrawVideoPort_Vtbl, 0xb36d93e0_2b43_11cf_a2de_00aa00b93356); windows_core::imp::interface_hierarchy!(IDirectDrawVideoPort, windows_core::IUnknown); impl IDirectDrawVideoPort { pub unsafe fn Flip(&self, param0: P0, param1: u32) -> windows_core::Result<()> @@ -1856,7 +1856,7 @@ pub struct IDirectDrawVideoPort_Vtbl { pub UpdateVideo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DDVIDEOPORTINFO) -> windows_core::HRESULT, pub WaitForSync: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawVideoPortNotify, IDirectDrawVideoPortNotify_Vtbl, 0xa655fb94_0589_4e57_b333_567a89468c88); +windows_core::imp::define_interface!(IDirectDrawVideoPortNotify, IDirectDrawVideoPortNotify_Vtbl, 0xa655fb94_0589_4e57_b333_567a89468c88); windows_core::imp::interface_hierarchy!(IDirectDrawVideoPortNotify, windows_core::IUnknown); impl IDirectDrawVideoPortNotify { pub unsafe fn AcquireNotification(&self, param0: *mut super::super::Foundation::HANDLE, param1: *mut DDVIDEOPORTNOTIFY) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs index 8fea58c9f7..bfe4bd3bbc 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDirectManipulationAutoScrollBehavior, IDirectManipulationAutoScrollBehavior_Vtbl, 0x6d5954d4_2003_4356_9b31_d051c9ff0af7); +windows_core::imp::define_interface!(IDirectManipulationAutoScrollBehavior, IDirectManipulationAutoScrollBehavior_Vtbl, 0x6d5954d4_2003_4356_9b31_d051c9ff0af7); windows_core::imp::interface_hierarchy!(IDirectManipulationAutoScrollBehavior, windows_core::IUnknown); impl IDirectManipulationAutoScrollBehavior { pub unsafe fn SetConfiguration(&self, motiontypes: DIRECTMANIPULATION_MOTION_TYPES, scrollmotion: DIRECTMANIPULATION_AUTOSCROLL_CONFIGURATION) -> windows_core::Result<()> { @@ -10,7 +10,7 @@ pub struct IDirectManipulationAutoScrollBehavior_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTMANIPULATION_MOTION_TYPES, DIRECTMANIPULATION_AUTOSCROLL_CONFIGURATION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationCompositor, IDirectManipulationCompositor_Vtbl, 0x537a0825_0387_4efa_b62f_71eb1f085a7e); +windows_core::imp::define_interface!(IDirectManipulationCompositor, IDirectManipulationCompositor_Vtbl, 0x537a0825_0387_4efa_b62f_71eb1f085a7e); windows_core::imp::interface_hierarchy!(IDirectManipulationCompositor, windows_core::IUnknown); impl IDirectManipulationCompositor { pub unsafe fn AddContent(&self, content: P0, device: P1, parentvisual: P2, childvisual: P3) -> windows_core::Result<()> @@ -46,7 +46,7 @@ pub struct IDirectManipulationCompositor_Vtbl { pub SetUpdateManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationCompositor2, IDirectManipulationCompositor2_Vtbl, 0xd38c7822_f1cb_43cb_b4b9_ac0c767a412e); +windows_core::imp::define_interface!(IDirectManipulationCompositor2, IDirectManipulationCompositor2_Vtbl, 0xd38c7822_f1cb_43cb_b4b9_ac0c767a412e); windows_core::imp::interface_hierarchy!(IDirectManipulationCompositor2, windows_core::IUnknown, IDirectManipulationCompositor); impl IDirectManipulationCompositor2 { pub unsafe fn AddContent(&self, content: P0, device: P1, parentvisual: P2, childvisual: P3) -> windows_core::Result<()> @@ -88,7 +88,7 @@ pub struct IDirectManipulationCompositor2_Vtbl { pub base__: IDirectManipulationCompositor_Vtbl, pub AddContentWithCrossProcessChaining: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationContent, IDirectManipulationContent_Vtbl, 0xb89962cb_3d89_442b_bb58_5098fa0f9f16); +windows_core::imp::define_interface!(IDirectManipulationContent, IDirectManipulationContent_Vtbl, 0xb89962cb_3d89_442b_bb58_5098fa0f9f16); windows_core::imp::interface_hierarchy!(IDirectManipulationContent, windows_core::IUnknown); impl IDirectManipulationContent { pub unsafe fn GetContentRect(&self) -> windows_core::Result { @@ -139,7 +139,7 @@ pub struct IDirectManipulationContent_Vtbl { pub GetContentTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, u32) -> windows_core::HRESULT, pub SyncContentTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *const f32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationDeferContactService, IDirectManipulationDeferContactService_Vtbl, 0x652d5c71_fe60_4a98_be70_e5f21291e7f1); +windows_core::imp::define_interface!(IDirectManipulationDeferContactService, IDirectManipulationDeferContactService_Vtbl, 0x652d5c71_fe60_4a98_be70_e5f21291e7f1); windows_core::imp::interface_hierarchy!(IDirectManipulationDeferContactService, windows_core::IUnknown); impl IDirectManipulationDeferContactService { pub unsafe fn DeferContact(&self, pointerid: u32, timeout: u32) -> windows_core::Result<()> { @@ -159,7 +159,7 @@ pub struct IDirectManipulationDeferContactService_Vtbl { pub CancelContact: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub CancelDeferral: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationDragDropBehavior, IDirectManipulationDragDropBehavior_Vtbl, 0x814b5af5_c2c8_4270_a9b7_a198ce8d02fa); +windows_core::imp::define_interface!(IDirectManipulationDragDropBehavior, IDirectManipulationDragDropBehavior_Vtbl, 0x814b5af5_c2c8_4270_a9b7_a198ce8d02fa); windows_core::imp::interface_hierarchy!(IDirectManipulationDragDropBehavior, windows_core::IUnknown); impl IDirectManipulationDragDropBehavior { pub unsafe fn SetConfiguration(&self, configuration: DIRECTMANIPULATION_DRAG_DROP_CONFIGURATION) -> windows_core::Result<()> { @@ -176,7 +176,7 @@ pub struct IDirectManipulationDragDropBehavior_Vtbl { pub SetConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, DIRECTMANIPULATION_DRAG_DROP_CONFIGURATION) -> windows_core::HRESULT, pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DIRECTMANIPULATION_DRAG_DROP_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationDragDropEventHandler, IDirectManipulationDragDropEventHandler_Vtbl, 0x1fa11b10_701b_41ae_b5f2_49e36bd595aa); +windows_core::imp::define_interface!(IDirectManipulationDragDropEventHandler, IDirectManipulationDragDropEventHandler_Vtbl, 0x1fa11b10_701b_41ae_b5f2_49e36bd595aa); windows_core::imp::interface_hierarchy!(IDirectManipulationDragDropEventHandler, windows_core::IUnknown); impl IDirectManipulationDragDropEventHandler { pub unsafe fn OnDragDropStatusChange(&self, viewport: P0, current: DIRECTMANIPULATION_DRAG_DROP_STATUS, previous: DIRECTMANIPULATION_DRAG_DROP_STATUS) -> windows_core::Result<()> @@ -191,7 +191,7 @@ pub struct IDirectManipulationDragDropEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnDragDropStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DIRECTMANIPULATION_DRAG_DROP_STATUS, DIRECTMANIPULATION_DRAG_DROP_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationFrameInfoProvider, IDirectManipulationFrameInfoProvider_Vtbl, 0xfb759dba_6f4c_4c01_874e_19c8a05907f9); +windows_core::imp::define_interface!(IDirectManipulationFrameInfoProvider, IDirectManipulationFrameInfoProvider_Vtbl, 0xfb759dba_6f4c_4c01_874e_19c8a05907f9); windows_core::imp::interface_hierarchy!(IDirectManipulationFrameInfoProvider, windows_core::IUnknown); impl IDirectManipulationFrameInfoProvider { pub unsafe fn GetNextFrameInfo(&self, time: *mut u64, processtime: *mut u64, compositiontime: *mut u64) -> windows_core::Result<()> { @@ -203,7 +203,7 @@ pub struct IDirectManipulationFrameInfoProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetNextFrameInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationInteractionEventHandler, IDirectManipulationInteractionEventHandler_Vtbl, 0xe43f45b8_42b4_403e_b1f2_273b8f510830); +windows_core::imp::define_interface!(IDirectManipulationInteractionEventHandler, IDirectManipulationInteractionEventHandler_Vtbl, 0xe43f45b8_42b4_403e_b1f2_273b8f510830); windows_core::imp::interface_hierarchy!(IDirectManipulationInteractionEventHandler, windows_core::IUnknown); impl IDirectManipulationInteractionEventHandler { pub unsafe fn OnInteraction(&self, viewport: P0, interaction: DIRECTMANIPULATION_INTERACTION_TYPE) -> windows_core::Result<()> @@ -218,7 +218,7 @@ pub struct IDirectManipulationInteractionEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnInteraction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DIRECTMANIPULATION_INTERACTION_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationManager, IDirectManipulationManager_Vtbl, 0xfbf5d3b4_70c7_4163_9322_5a6f660d6fbc); +windows_core::imp::define_interface!(IDirectManipulationManager, IDirectManipulationManager_Vtbl, 0xfbf5d3b4_70c7_4163_9322_5a6f660d6fbc); windows_core::imp::interface_hierarchy!(IDirectManipulationManager, windows_core::IUnknown); impl IDirectManipulationManager { pub unsafe fn Activate(&self, window: P0) -> windows_core::Result<()> @@ -284,7 +284,7 @@ pub struct IDirectManipulationManager_Vtbl { pub CreateViewport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationManager2, IDirectManipulationManager2_Vtbl, 0xfa1005e9_3d16_484c_bfc9_62b61e56ec4e); +windows_core::imp::define_interface!(IDirectManipulationManager2, IDirectManipulationManager2_Vtbl, 0xfa1005e9_3d16_484c_bfc9_62b61e56ec4e); windows_core::imp::interface_hierarchy!(IDirectManipulationManager2, windows_core::IUnknown, IDirectManipulationManager); impl IDirectManipulationManager2 { pub unsafe fn Activate(&self, window: P0) -> windows_core::Result<()> @@ -348,7 +348,7 @@ pub struct IDirectManipulationManager2_Vtbl { pub base__: IDirectManipulationManager_Vtbl, pub CreateBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationManager3, IDirectManipulationManager3_Vtbl, 0x2cb6b33d_ffe8_488c_b750_fbdfe88dca8c); +windows_core::imp::define_interface!(IDirectManipulationManager3, IDirectManipulationManager3_Vtbl, 0x2cb6b33d_ffe8_488c_b750_fbdfe88dca8c); windows_core::imp::interface_hierarchy!(IDirectManipulationManager3, windows_core::IUnknown, IDirectManipulationManager, IDirectManipulationManager2); impl IDirectManipulationManager3 { pub unsafe fn Activate(&self, window: P0) -> windows_core::Result<()> @@ -419,7 +419,7 @@ pub struct IDirectManipulationManager3_Vtbl { pub base__: IDirectManipulationManager2_Vtbl, pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationPrimaryContent, IDirectManipulationPrimaryContent_Vtbl, 0xc12851e4_1698_4625_b9b1_7ca3ec18630b); +windows_core::imp::define_interface!(IDirectManipulationPrimaryContent, IDirectManipulationPrimaryContent_Vtbl, 0xc12851e4_1698_4625_b9b1_7ca3ec18630b); windows_core::imp::interface_hierarchy!(IDirectManipulationPrimaryContent, windows_core::IUnknown); impl IDirectManipulationPrimaryContent { pub unsafe fn SetSnapInterval(&self, motion: DIRECTMANIPULATION_MOTION_TYPES, interval: f32, offset: f32) -> windows_core::Result<()> { @@ -463,7 +463,7 @@ pub struct IDirectManipulationPrimaryContent_Vtbl { pub GetInertiaEndTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, u32) -> windows_core::HRESULT, pub GetCenterPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationUpdateHandler, IDirectManipulationUpdateHandler_Vtbl, 0x790b6337_64f8_4ff5_a269_b32bc2af27a7); +windows_core::imp::define_interface!(IDirectManipulationUpdateHandler, IDirectManipulationUpdateHandler_Vtbl, 0x790b6337_64f8_4ff5_a269_b32bc2af27a7); windows_core::imp::interface_hierarchy!(IDirectManipulationUpdateHandler, windows_core::IUnknown); impl IDirectManipulationUpdateHandler { pub unsafe fn Update(&self) -> windows_core::Result<()> { @@ -475,7 +475,7 @@ pub struct IDirectManipulationUpdateHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Update: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationUpdateManager, IDirectManipulationUpdateManager_Vtbl, 0xb0ae62fd_be34_46e7_9caa_d361facbb9cc); +windows_core::imp::define_interface!(IDirectManipulationUpdateManager, IDirectManipulationUpdateManager_Vtbl, 0xb0ae62fd_be34_46e7_9caa_d361facbb9cc); windows_core::imp::interface_hierarchy!(IDirectManipulationUpdateManager, windows_core::IUnknown); impl IDirectManipulationUpdateManager { pub unsafe fn RegisterWaitHandleCallback(&self, handle: P0, eventhandler: P1) -> windows_core::Result @@ -503,7 +503,7 @@ pub struct IDirectManipulationUpdateManager_Vtbl { pub UnregisterWaitHandleCallback: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationViewport, IDirectManipulationViewport_Vtbl, 0x28b85a3d_60a0_48bd_9ba1_5ce8d9ea3a6d); +windows_core::imp::define_interface!(IDirectManipulationViewport, IDirectManipulationViewport_Vtbl, 0x28b85a3d_60a0_48bd_9ba1_5ce8d9ea3a6d); windows_core::imp::interface_hierarchy!(IDirectManipulationViewport, windows_core::IUnknown); impl IDirectManipulationViewport { pub unsafe fn Enable(&self) -> windows_core::Result<()> { @@ -649,7 +649,7 @@ pub struct IDirectManipulationViewport_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Abandon: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationViewport2, IDirectManipulationViewport2_Vtbl, 0x923ccaac_61e1_4385_b726_017af189882a); +windows_core::imp::define_interface!(IDirectManipulationViewport2, IDirectManipulationViewport2_Vtbl, 0x923ccaac_61e1_4385_b726_017af189882a); windows_core::imp::interface_hierarchy!(IDirectManipulationViewport2, windows_core::IUnknown, IDirectManipulationViewport); impl IDirectManipulationViewport2 { pub unsafe fn Enable(&self) -> windows_core::Result<()> { @@ -783,7 +783,7 @@ pub struct IDirectManipulationViewport2_Vtbl { pub RemoveBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub RemoveAllBehaviors: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectManipulationViewportEventHandler, IDirectManipulationViewportEventHandler_Vtbl, 0x952121da_d69f_45f9_b0f9_f23944321a6d); +windows_core::imp::define_interface!(IDirectManipulationViewportEventHandler, IDirectManipulationViewportEventHandler_Vtbl, 0x952121da_d69f_45f9_b0f9_f23944321a6d); windows_core::imp::interface_hierarchy!(IDirectManipulationViewportEventHandler, windows_core::IUnknown); impl IDirectManipulationViewportEventHandler { pub unsafe fn OnViewportStatusChanged(&self, viewport: P0, current: DIRECTMANIPULATION_STATUS, previous: DIRECTMANIPULATION_STATUS) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs index ad376ef095..ac1a7f4e08 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/mod.rs @@ -7,7 +7,7 @@ where let mut result__ = std::ptr::null_mut(); DWriteCreateFactory(factorytype, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } -windows_core::imp::com_interface!(IDWriteAsyncResult, IDWriteAsyncResult_Vtbl, 0xce25f8fd_863b_4d13_9651_c1f88dc73fe2); +windows_core::imp::define_interface!(IDWriteAsyncResult, IDWriteAsyncResult_Vtbl, 0xce25f8fd_863b_4d13_9651_c1f88dc73fe2); windows_core::imp::interface_hierarchy!(IDWriteAsyncResult, windows_core::IUnknown); impl IDWriteAsyncResult { pub unsafe fn GetWaitHandle(&self) -> super::super::Foundation::HANDLE { @@ -25,7 +25,7 @@ pub struct IDWriteAsyncResult_Vtbl { pub GetWaitHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, pub GetResult: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteBitmapRenderTarget, IDWriteBitmapRenderTarget_Vtbl, 0x5e5a32a3_8dff_4773_9ff6_0696eab77267); +windows_core::imp::define_interface!(IDWriteBitmapRenderTarget, IDWriteBitmapRenderTarget_Vtbl, 0x5e5a32a3_8dff_4773_9ff6_0696eab77267); windows_core::imp::interface_hierarchy!(IDWriteBitmapRenderTarget, windows_core::IUnknown); impl IDWriteBitmapRenderTarget { pub unsafe fn DrawGlyphRun(&self, baselineoriginx: f32, baselineoriginy: f32, measuringmode: DWRITE_MEASURING_MODE, glyphrun: *const DWRITE_GLYPH_RUN, renderingparams: P0, textcolor: P1, blackboxrect: Option<*mut super::super::Foundation::RECT>) -> windows_core::Result<()> @@ -76,7 +76,7 @@ pub struct IDWriteBitmapRenderTarget_Vtbl { pub GetSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SIZE) -> windows_core::HRESULT, pub Resize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteBitmapRenderTarget1, IDWriteBitmapRenderTarget1_Vtbl, 0x791e8298_3ef3_4230_9880_c9bdecc42064); +windows_core::imp::define_interface!(IDWriteBitmapRenderTarget1, IDWriteBitmapRenderTarget1_Vtbl, 0x791e8298_3ef3_4230_9880_c9bdecc42064); windows_core::imp::interface_hierarchy!(IDWriteBitmapRenderTarget1, windows_core::IUnknown, IDWriteBitmapRenderTarget); impl IDWriteBitmapRenderTarget1 { pub unsafe fn DrawGlyphRun(&self, baselineoriginx: f32, baselineoriginy: f32, measuringmode: DWRITE_MEASURING_MODE, glyphrun: *const DWRITE_GLYPH_RUN, renderingparams: P0, textcolor: P1, blackboxrect: Option<*mut super::super::Foundation::RECT>) -> windows_core::Result<()> @@ -124,7 +124,7 @@ pub struct IDWriteBitmapRenderTarget1_Vtbl { pub GetTextAntialiasMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_TEXT_ANTIALIAS_MODE, pub SetTextAntialiasMode: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_TEXT_ANTIALIAS_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteBitmapRenderTarget2, IDWriteBitmapRenderTarget2_Vtbl, 0xc553a742_fc01_44da_a66e_b8b9ed6c3995); +windows_core::imp::define_interface!(IDWriteBitmapRenderTarget2, IDWriteBitmapRenderTarget2_Vtbl, 0xc553a742_fc01_44da_a66e_b8b9ed6c3995); windows_core::imp::interface_hierarchy!(IDWriteBitmapRenderTarget2, windows_core::IUnknown, IDWriteBitmapRenderTarget, IDWriteBitmapRenderTarget1); impl IDWriteBitmapRenderTarget2 { pub unsafe fn DrawGlyphRun(&self, baselineoriginx: f32, baselineoriginy: f32, measuringmode: DWRITE_MEASURING_MODE, glyphrun: *const DWRITE_GLYPH_RUN, renderingparams: P0, textcolor: P1, blackboxrect: Option<*mut super::super::Foundation::RECT>) -> windows_core::Result<()> @@ -175,7 +175,7 @@ pub struct IDWriteBitmapRenderTarget2_Vtbl { pub base__: IDWriteBitmapRenderTarget1_Vtbl, pub GetBitmapData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_BITMAP_DATA_BGRA32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteBitmapRenderTarget3, IDWriteBitmapRenderTarget3_Vtbl, 0xaeec37db_c337_40f1_8e2a_9a41b167b238); +windows_core::imp::define_interface!(IDWriteBitmapRenderTarget3, IDWriteBitmapRenderTarget3_Vtbl, 0xaeec37db_c337_40f1_8e2a_9a41b167b238); windows_core::imp::interface_hierarchy!(IDWriteBitmapRenderTarget3, windows_core::IUnknown, IDWriteBitmapRenderTarget, IDWriteBitmapRenderTarget1, IDWriteBitmapRenderTarget2); impl IDWriteBitmapRenderTarget3 { pub unsafe fn DrawGlyphRun(&self, baselineoriginx: f32, baselineoriginy: f32, measuringmode: DWRITE_MEASURING_MODE, glyphrun: *const DWRITE_GLYPH_RUN, renderingparams: P0, textcolor: P1, blackboxrect: Option<*mut super::super::Foundation::RECT>) -> windows_core::Result<()> @@ -244,7 +244,7 @@ pub struct IDWriteBitmapRenderTarget3_Vtbl { pub DrawPaintGlyphRun: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, DWRITE_MEASURING_MODE, *const DWRITE_GLYPH_RUN, DWRITE_GLYPH_IMAGE_FORMATS, super::super::Foundation::COLORREF, u32, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, pub DrawGlyphRunWithColorSupport: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, DWRITE_MEASURING_MODE, *const DWRITE_GLYPH_RUN, *mut core::ffi::c_void, super::super::Foundation::COLORREF, u32, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteColorGlyphRunEnumerator, IDWriteColorGlyphRunEnumerator_Vtbl, 0xd31fbe17_f157_41a2_8d24_cb779e0560e8); +windows_core::imp::define_interface!(IDWriteColorGlyphRunEnumerator, IDWriteColorGlyphRunEnumerator_Vtbl, 0xd31fbe17_f157_41a2_8d24_cb779e0560e8); windows_core::imp::interface_hierarchy!(IDWriteColorGlyphRunEnumerator, windows_core::IUnknown); impl IDWriteColorGlyphRunEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -264,7 +264,7 @@ pub struct IDWriteColorGlyphRunEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetCurrentRun: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut DWRITE_COLOR_GLYPH_RUN) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteColorGlyphRunEnumerator1, IDWriteColorGlyphRunEnumerator1_Vtbl, 0x7c5f86da_c7a1_4f05_b8e1_55a179fe5a35); +windows_core::imp::define_interface!(IDWriteColorGlyphRunEnumerator1, IDWriteColorGlyphRunEnumerator1_Vtbl, 0x7c5f86da_c7a1_4f05_b8e1_55a179fe5a35); windows_core::imp::interface_hierarchy!(IDWriteColorGlyphRunEnumerator1, windows_core::IUnknown, IDWriteColorGlyphRunEnumerator); impl IDWriteColorGlyphRunEnumerator1 { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -287,7 +287,7 @@ pub struct IDWriteColorGlyphRunEnumerator1_Vtbl { pub base__: IDWriteColorGlyphRunEnumerator_Vtbl, pub GetCurrentRun2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut DWRITE_COLOR_GLYPH_RUN1) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFactory, IDWriteFactory_Vtbl, 0xb859ee5a_d838_4b5b_a2e8_1adc7d93db48); +windows_core::imp::define_interface!(IDWriteFactory, IDWriteFactory_Vtbl, 0xb859ee5a_d838_4b5b_a2e8_1adc7d93db48); windows_core::imp::interface_hierarchy!(IDWriteFactory, windows_core::IUnknown); impl IDWriteFactory { pub unsafe fn GetSystemFontCollection(&self, fontcollection: *mut Option, checkforupdates: P0) -> windows_core::Result<()> @@ -447,7 +447,7 @@ pub struct IDWriteFactory_Vtbl { pub CreateNumberSubstitution: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_NUMBER_SUBSTITUTION_METHOD, windows_core::PCWSTR, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateGlyphRunAnalysis: unsafe extern "system" fn(*mut core::ffi::c_void, *const DWRITE_GLYPH_RUN, f32, *const DWRITE_MATRIX, DWRITE_RENDERING_MODE, DWRITE_MEASURING_MODE, f32, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFactory1, IDWriteFactory1_Vtbl, 0x30572f99_dac6_41db_a16e_0486307e606a); +windows_core::imp::define_interface!(IDWriteFactory1, IDWriteFactory1_Vtbl, 0x30572f99_dac6_41db_a16e_0486307e606a); windows_core::imp::interface_hierarchy!(IDWriteFactory1, windows_core::IUnknown, IDWriteFactory); impl IDWriteFactory1 { pub unsafe fn GetSystemFontCollection(&self, fontcollection: *mut Option, checkforupdates: P0) -> windows_core::Result<()> @@ -595,7 +595,7 @@ pub struct IDWriteFactory1_Vtbl { pub GetEudcFontCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CreateCustomRenderingParams2: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, f32, DWRITE_PIXEL_GEOMETRY, DWRITE_RENDERING_MODE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFactory2, IDWriteFactory2_Vtbl, 0x0439fc60_ca44_4994_8dee_3a9af7b732ec); +windows_core::imp::define_interface!(IDWriteFactory2, IDWriteFactory2_Vtbl, 0x0439fc60_ca44_4994_8dee_3a9af7b732ec); windows_core::imp::interface_hierarchy!(IDWriteFactory2, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1); impl IDWriteFactory2 { pub unsafe fn GetSystemFontCollection(&self, fontcollection: *mut Option, checkforupdates: P0) -> windows_core::Result<()> @@ -766,7 +766,7 @@ pub struct IDWriteFactory2_Vtbl { pub CreateCustomRenderingParams3: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, f32, DWRITE_PIXEL_GEOMETRY, DWRITE_RENDERING_MODE, DWRITE_GRID_FIT_MODE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateGlyphRunAnalysis2: unsafe extern "system" fn(*mut core::ffi::c_void, *const DWRITE_GLYPH_RUN, *const DWRITE_MATRIX, DWRITE_RENDERING_MODE, DWRITE_MEASURING_MODE, DWRITE_GRID_FIT_MODE, DWRITE_TEXT_ANTIALIAS_MODE, f32, f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFactory3, IDWriteFactory3_Vtbl, 0x9a1b41c3_d3bb_466a_87fc_fe67556a3b65); +windows_core::imp::define_interface!(IDWriteFactory3, IDWriteFactory3_Vtbl, 0x9a1b41c3_d3bb_466a_87fc_fe67556a3b65); windows_core::imp::interface_hierarchy!(IDWriteFactory3, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2); impl IDWriteFactory3 { pub unsafe fn GetSystemFontCollection(&self, fontcollection: *mut Option, checkforupdates: P0) -> windows_core::Result<()> @@ -989,7 +989,7 @@ pub struct IDWriteFactory3_Vtbl { pub GetSystemFontCollection2: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetFontDownloadQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFactory4, IDWriteFactory4_Vtbl, 0x4b0b5bd3_0797_4549_8ac5_fe915cc53856); +windows_core::imp::define_interface!(IDWriteFactory4, IDWriteFactory4_Vtbl, 0x4b0b5bd3_0797_4549_8ac5_fe915cc53856); windows_core::imp::interface_hierarchy!(IDWriteFactory4, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3); impl IDWriteFactory4 { pub unsafe fn GetSystemFontCollection(&self, fontcollection: *mut Option, checkforupdates: P0) -> windows_core::Result<()> @@ -1230,7 +1230,7 @@ pub struct IDWriteFactory4_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] ComputeGlyphOrigins2: usize, } -windows_core::imp::com_interface!(IDWriteFactory5, IDWriteFactory5_Vtbl, 0x958db99a_be2a_4f09_af7d_65189803d1d3); +windows_core::imp::define_interface!(IDWriteFactory5, IDWriteFactory5_Vtbl, 0x958db99a_be2a_4f09_af7d_65189803d1d3); windows_core::imp::interface_hierarchy!(IDWriteFactory5, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4); impl IDWriteFactory5 { pub unsafe fn GetSystemFontCollection(&self, fontcollection: *mut Option, checkforupdates: P0) -> windows_core::Result<()> @@ -1487,7 +1487,7 @@ pub struct IDWriteFactory5_Vtbl { pub AnalyzeContainerType: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32) -> DWRITE_CONTAINER_TYPE, pub UnpackFontFile: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_CONTAINER_TYPE, *const core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFactory6, IDWriteFactory6_Vtbl, 0xf3744d80_21f7_42eb_b35d_995bc72fc223); +windows_core::imp::define_interface!(IDWriteFactory6, IDWriteFactory6_Vtbl, 0xf3744d80_21f7_42eb_b35d_995bc72fc223); windows_core::imp::interface_hierarchy!(IDWriteFactory6, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5); impl IDWriteFactory6 { pub unsafe fn GetSystemFontCollection(&self, fontcollection: *mut Option, checkforupdates: P0) -> windows_core::Result<()> @@ -1794,7 +1794,7 @@ pub struct IDWriteFactory6_Vtbl { pub CreateFontSetBuilder3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateTextFormat2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *const DWRITE_FONT_AXIS_VALUE, u32, f32, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFactory7, IDWriteFactory7_Vtbl, 0x35d0e0b3_9076_4d2e_a016_a91b568a06b4); +windows_core::imp::define_interface!(IDWriteFactory7, IDWriteFactory7_Vtbl, 0x35d0e0b3_9076_4d2e_a016_a91b568a06b4); windows_core::imp::interface_hierarchy!(IDWriteFactory7, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5, IDWriteFactory6); impl IDWriteFactory7 { pub unsafe fn GetSystemFontCollection(&self, fontcollection: *mut Option, checkforupdates: P0) -> windows_core::Result<()> @@ -2110,7 +2110,7 @@ pub struct IDWriteFactory7_Vtbl { pub GetSystemFontSet3: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSystemFontCollection4: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, DWRITE_FONT_FAMILY_MODEL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFactory8, IDWriteFactory8_Vtbl, 0xee0a7fb5_def4_4c23_a454_c9c7dc878398); +windows_core::imp::define_interface!(IDWriteFactory8, IDWriteFactory8_Vtbl, 0xee0a7fb5_def4_4c23_a454_c9c7dc878398); windows_core::imp::interface_hierarchy!(IDWriteFactory8, windows_core::IUnknown, IDWriteFactory, IDWriteFactory1, IDWriteFactory2, IDWriteFactory3, IDWriteFactory4, IDWriteFactory5, IDWriteFactory6, IDWriteFactory7); impl IDWriteFactory8 { pub unsafe fn GetSystemFontCollection(&self, fontcollection: *mut Option, checkforupdates: P0) -> windows_core::Result<()> @@ -2433,7 +2433,7 @@ pub struct IDWriteFactory8_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D_Common"))] TranslateColorGlyphRun3: usize, } -windows_core::imp::com_interface!(IDWriteFont, IDWriteFont_Vtbl, 0xacd16696_8c14_4f5d_877e_fe3fc1d32737); +windows_core::imp::define_interface!(IDWriteFont, IDWriteFont_Vtbl, 0xacd16696_8c14_4f5d_877e_fe3fc1d32737); windows_core::imp::interface_hierarchy!(IDWriteFont, windows_core::IUnknown); impl IDWriteFont { pub unsafe fn GetFontFamily(&self) -> windows_core::Result { @@ -2491,7 +2491,7 @@ pub struct IDWriteFont_Vtbl { pub HasCharacter: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CreateFontFace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFont1, IDWriteFont1_Vtbl, 0xacd16696_8c14_4f5d_877e_fe3fc1d32738); +windows_core::imp::define_interface!(IDWriteFont1, IDWriteFont1_Vtbl, 0xacd16696_8c14_4f5d_877e_fe3fc1d32738); windows_core::imp::interface_hierarchy!(IDWriteFont1, windows_core::IUnknown, IDWriteFont); impl IDWriteFont1 { pub unsafe fn GetFontFamily(&self) -> windows_core::Result { @@ -2556,7 +2556,7 @@ pub struct IDWriteFont1_Vtbl { pub GetUnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DWRITE_UNICODE_RANGE, *mut u32) -> windows_core::HRESULT, pub IsMonospacedFont: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IDWriteFont2, IDWriteFont2_Vtbl, 0x29748ed6_8c9c_4a6a_be0b_d912e8538944); +windows_core::imp::define_interface!(IDWriteFont2, IDWriteFont2_Vtbl, 0x29748ed6_8c9c_4a6a_be0b_d912e8538944); windows_core::imp::interface_hierarchy!(IDWriteFont2, windows_core::IUnknown, IDWriteFont, IDWriteFont1); impl IDWriteFont2 { pub unsafe fn GetFontFamily(&self) -> windows_core::Result { @@ -2621,7 +2621,7 @@ pub struct IDWriteFont2_Vtbl { pub base__: IDWriteFont1_Vtbl, pub IsColorFont: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IDWriteFont3, IDWriteFont3_Vtbl, 0x29748ed6_8c9c_4a6a_be0b_d912e8538944); +windows_core::imp::define_interface!(IDWriteFont3, IDWriteFont3_Vtbl, 0x29748ed6_8c9c_4a6a_be0b_d912e8538944); windows_core::imp::interface_hierarchy!(IDWriteFont3, windows_core::IUnknown, IDWriteFont, IDWriteFont1, IDWriteFont2); impl IDWriteFont3 { pub unsafe fn GetFontFamily(&self) -> windows_core::Result { @@ -2710,7 +2710,7 @@ pub struct IDWriteFont3_Vtbl { pub HasCharacter2: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> super::super::Foundation::BOOL, pub GetLocality: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_LOCALITY, } -windows_core::imp::com_interface!(IDWriteFontCollection, IDWriteFontCollection_Vtbl, 0xa84cee02_3eea_4eee_a827_87c1a02a0fcc); +windows_core::imp::define_interface!(IDWriteFontCollection, IDWriteFontCollection_Vtbl, 0xa84cee02_3eea_4eee_a827_87c1a02a0fcc); windows_core::imp::interface_hierarchy!(IDWriteFontCollection, windows_core::IUnknown); impl IDWriteFontCollection { pub unsafe fn GetFontFamilyCount(&self) -> u32 { @@ -2744,7 +2744,7 @@ pub struct IDWriteFontCollection_Vtbl { pub FindFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetFontFromFontFace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontCollection1, IDWriteFontCollection1_Vtbl, 0x53585141_d9f8_4095_8321_d73cf6bd116c); +windows_core::imp::define_interface!(IDWriteFontCollection1, IDWriteFontCollection1_Vtbl, 0x53585141_d9f8_4095_8321_d73cf6bd116c); windows_core::imp::interface_hierarchy!(IDWriteFontCollection1, windows_core::IUnknown, IDWriteFontCollection); impl IDWriteFontCollection1 { pub unsafe fn GetFontFamilyCount(&self) -> u32 { @@ -2784,7 +2784,7 @@ pub struct IDWriteFontCollection1_Vtbl { pub GetFontSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFontFamily2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontCollection2, IDWriteFontCollection2_Vtbl, 0x514039c6_4617_4064_bf8b_92ea83e506e0); +windows_core::imp::define_interface!(IDWriteFontCollection2, IDWriteFontCollection2_Vtbl, 0x514039c6_4617_4064_bf8b_92ea83e506e0); windows_core::imp::interface_hierarchy!(IDWriteFontCollection2, windows_core::IUnknown, IDWriteFontCollection, IDWriteFontCollection1); impl IDWriteFontCollection2 { pub unsafe fn GetFontFamilyCount(&self) -> u32 { @@ -2844,7 +2844,7 @@ pub struct IDWriteFontCollection2_Vtbl { pub GetFontFamilyModel: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_FONT_FAMILY_MODEL, pub GetFontSet2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontCollection3, IDWriteFontCollection3_Vtbl, 0xa4d055a6_f9e3_4e25_93b7_9e309f3af8e9); +windows_core::imp::define_interface!(IDWriteFontCollection3, IDWriteFontCollection3_Vtbl, 0xa4d055a6_f9e3_4e25_93b7_9e309f3af8e9); windows_core::imp::interface_hierarchy!(IDWriteFontCollection3, windows_core::IUnknown, IDWriteFontCollection, IDWriteFontCollection1, IDWriteFontCollection2); impl IDWriteFontCollection3 { pub unsafe fn GetFontFamilyCount(&self) -> u32 { @@ -2904,7 +2904,7 @@ pub struct IDWriteFontCollection3_Vtbl { pub base__: IDWriteFontCollection2_Vtbl, pub GetExpirationEvent: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } -windows_core::imp::com_interface!(IDWriteFontCollectionLoader, IDWriteFontCollectionLoader_Vtbl, 0xcca920e4_52f0_492b_bfa8_29c72ee0a468); +windows_core::imp::define_interface!(IDWriteFontCollectionLoader, IDWriteFontCollectionLoader_Vtbl, 0xcca920e4_52f0_492b_bfa8_29c72ee0a468); windows_core::imp::interface_hierarchy!(IDWriteFontCollectionLoader, windows_core::IUnknown); impl IDWriteFontCollectionLoader { pub unsafe fn CreateEnumeratorFromKey(&self, factory: P0, collectionkey: *const core::ffi::c_void, collectionkeysize: u32) -> windows_core::Result @@ -2922,7 +2922,7 @@ pub struct IDWriteFontCollectionLoader_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateEnumeratorFromKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontDownloadListener, IDWriteFontDownloadListener_Vtbl, 0xb06fe5b9_43ec_4393_881b_dbe4dc72fda7); +windows_core::imp::define_interface!(IDWriteFontDownloadListener, IDWriteFontDownloadListener_Vtbl, 0xb06fe5b9_43ec_4393_881b_dbe4dc72fda7); windows_core::imp::interface_hierarchy!(IDWriteFontDownloadListener, windows_core::IUnknown); impl IDWriteFontDownloadListener { pub unsafe fn DownloadCompleted(&self, downloadqueue: P0, context: P1, downloadresult: windows_core::HRESULT) @@ -2940,7 +2940,7 @@ pub struct IDWriteFontDownloadListener_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DownloadCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::HRESULT), } -windows_core::imp::com_interface!(IDWriteFontDownloadQueue, IDWriteFontDownloadQueue_Vtbl, 0xb71e6052_5aea_4fa3_832e_f60d431f7e91); +windows_core::imp::define_interface!(IDWriteFontDownloadQueue, IDWriteFontDownloadQueue_Vtbl, 0xb71e6052_5aea_4fa3_832e_f60d431f7e91); windows_core::imp::interface_hierarchy!(IDWriteFontDownloadQueue, windows_core::IUnknown); impl IDWriteFontDownloadQueue { pub unsafe fn AddListener(&self, listener: P0) -> windows_core::Result @@ -2981,7 +2981,7 @@ pub struct IDWriteFontDownloadQueue_Vtbl { pub CancelDownload: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetGenerationCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, } -windows_core::imp::com_interface!(IDWriteFontFace, IDWriteFontFace_Vtbl, 0x5f49804d_7024_4d43_bfa9_d25984f53849); +windows_core::imp::define_interface!(IDWriteFontFace, IDWriteFontFace_Vtbl, 0x5f49804d_7024_4d43_bfa9_d25984f53849); windows_core::imp::interface_hierarchy!(IDWriteFontFace, windows_core::IUnknown); impl IDWriteFontFace { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -3071,7 +3071,7 @@ pub struct IDWriteFontFace_Vtbl { pub GetGdiCompatibleMetrics: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, *const DWRITE_MATRIX, *mut DWRITE_FONT_METRICS) -> windows_core::HRESULT, pub GetGdiCompatibleGlyphMetrics: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, *const DWRITE_MATRIX, super::super::Foundation::BOOL, *const u16, u32, *mut DWRITE_GLYPH_METRICS, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFace1, IDWriteFontFace1_Vtbl, 0xa71efdb4_9fdb_4838_ad90_cfc3be8c3daf); +windows_core::imp::define_interface!(IDWriteFontFace1, IDWriteFontFace1_Vtbl, 0xa71efdb4_9fdb_4838_ad90_cfc3be8c3daf); windows_core::imp::interface_hierarchy!(IDWriteFontFace1, windows_core::IUnknown, IDWriteFontFace); impl IDWriteFontFace1 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -3204,7 +3204,7 @@ pub struct IDWriteFontFace1_Vtbl { pub GetVerticalGlyphVariants: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u16, *mut u16) -> windows_core::HRESULT, pub HasVerticalGlyphVariants: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IDWriteFontFace2, IDWriteFontFace2_Vtbl, 0xd8b768ff_64bc_4e66_982b_ec8e87f693f7); +windows_core::imp::define_interface!(IDWriteFontFace2, IDWriteFontFace2_Vtbl, 0xd8b768ff_64bc_4e66_982b_ec8e87f693f7); windows_core::imp::interface_hierarchy!(IDWriteFontFace2, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1); impl IDWriteFontFace2 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -3349,7 +3349,7 @@ pub struct IDWriteFontFace2_Vtbl { pub GetPaletteEntries: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut DWRITE_COLOR_F) -> windows_core::HRESULT, pub GetRecommendedRenderingMode3: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, *const DWRITE_MATRIX, super::super::Foundation::BOOL, DWRITE_OUTLINE_THRESHOLD, DWRITE_MEASURING_MODE, *mut core::ffi::c_void, *mut DWRITE_RENDERING_MODE, *mut DWRITE_GRID_FIT_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFace3, IDWriteFontFace3_Vtbl, 0xd37d7598_09be_4222_a236_2081341cc1f2); +windows_core::imp::define_interface!(IDWriteFontFace3, IDWriteFontFace3_Vtbl, 0xd37d7598_09be_4222_a236_2081341cc1f2); windows_core::imp::interface_hierarchy!(IDWriteFontFace3, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2); impl IDWriteFontFace3 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -3562,7 +3562,7 @@ pub struct IDWriteFontFace3_Vtbl { pub AreCharactersLocal: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub AreGlyphsLocal: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, u32, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFace4, IDWriteFontFace4_Vtbl, 0x27f2a904_4eb8_441d_9678_0563f53e3e2f); +windows_core::imp::define_interface!(IDWriteFontFace4, IDWriteFontFace4_Vtbl, 0x27f2a904_4eb8_441d_9678_0563f53e3e2f); windows_core::imp::interface_hierarchy!(IDWriteFontFace4, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3); impl IDWriteFontFace4 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -3782,7 +3782,7 @@ pub struct IDWriteFontFace4_Vtbl { GetGlyphImageData: usize, pub ReleaseGlyphImageData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } -windows_core::imp::com_interface!(IDWriteFontFace5, IDWriteFontFace5_Vtbl, 0x98eff3a5_b667_479a_b145_e2fa5b9fdc29); +windows_core::imp::define_interface!(IDWriteFontFace5, IDWriteFontFace5_Vtbl, 0x98eff3a5_b667_479a_b145_e2fa5b9fdc29); windows_core::imp::interface_hierarchy!(IDWriteFontFace5, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4); impl IDWriteFontFace5 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -4019,7 +4019,7 @@ pub struct IDWriteFontFace5_Vtbl { pub GetFontResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Equals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IDWriteFontFace6, IDWriteFontFace6_Vtbl, 0xc4b1fe1b_6e84_47d5_b54c_a597981b06ad); +windows_core::imp::define_interface!(IDWriteFontFace6, IDWriteFontFace6_Vtbl, 0xc4b1fe1b_6e84_47d5_b54c_a597981b06ad); windows_core::imp::interface_hierarchy!(IDWriteFontFace6, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4, IDWriteFontFace5); impl IDWriteFontFace6 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -4261,7 +4261,7 @@ pub struct IDWriteFontFace6_Vtbl { pub GetFamilyNames2: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_FONT_FAMILY_MODEL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFaceNames2: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_FONT_FAMILY_MODEL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFace7, IDWriteFontFace7_Vtbl, 0x3945b85b_bc95_40f7_b72c_8b73bfc7e13b); +windows_core::imp::define_interface!(IDWriteFontFace7, IDWriteFontFace7_Vtbl, 0x3945b85b_bc95_40f7_b72c_8b73bfc7e13b); windows_core::imp::interface_hierarchy!(IDWriteFontFace7, windows_core::IUnknown, IDWriteFontFace, IDWriteFontFace1, IDWriteFontFace2, IDWriteFontFace3, IDWriteFontFace4, IDWriteFontFace5, IDWriteFontFace6); impl IDWriteFontFace7 { pub unsafe fn GetType(&self) -> DWRITE_FONT_FACE_TYPE { @@ -4510,7 +4510,7 @@ pub struct IDWriteFontFace7_Vtbl { pub GetPaintFeatureLevel: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_GLYPH_IMAGE_FORMATS) -> DWRITE_PAINT_FEATURE_LEVEL, pub CreatePaintReader: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_GLYPH_IMAGE_FORMATS, DWRITE_PAINT_FEATURE_LEVEL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFaceReference, IDWriteFontFaceReference_Vtbl, 0x5e7fa7ca_dde3_424c_89f0_9fcd6fed58cd); +windows_core::imp::define_interface!(IDWriteFontFaceReference, IDWriteFontFaceReference_Vtbl, 0x5e7fa7ca_dde3_424c_89f0_9fcd6fed58cd); windows_core::imp::interface_hierarchy!(IDWriteFontFaceReference, windows_core::IUnknown); impl IDWriteFontFaceReference { pub unsafe fn CreateFontFace(&self) -> windows_core::Result { @@ -4583,7 +4583,7 @@ pub struct IDWriteFontFaceReference_Vtbl { pub EnqueueGlyphDownloadRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, u32) -> windows_core::HRESULT, pub EnqueueFileFragmentDownloadRequest: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFaceReference1, IDWriteFontFaceReference1_Vtbl, 0xc081fe77_2fd1_41ac_a5a3_34983c4ba61a); +windows_core::imp::define_interface!(IDWriteFontFaceReference1, IDWriteFontFaceReference1_Vtbl, 0xc081fe77_2fd1_41ac_a5a3_34983c4ba61a); windows_core::imp::interface_hierarchy!(IDWriteFontFaceReference1, windows_core::IUnknown, IDWriteFontFaceReference); impl IDWriteFontFaceReference1 { pub unsafe fn CreateFontFace(&self) -> windows_core::Result { @@ -4655,7 +4655,7 @@ pub struct IDWriteFontFaceReference1_Vtbl { pub GetFontAxisValueCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetFontAxisValues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_FONT_AXIS_VALUE, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFallback, IDWriteFontFallback_Vtbl, 0xefa008f9_f7a1_48bf_b05c_f224713cc0ff); +windows_core::imp::define_interface!(IDWriteFontFallback, IDWriteFontFallback_Vtbl, 0xefa008f9_f7a1_48bf_b05c_f224713cc0ff); windows_core::imp::interface_hierarchy!(IDWriteFontFallback, windows_core::IUnknown); impl IDWriteFontFallback { pub unsafe fn MapCharacters(&self, analysissource: P0, textposition: u32, textlength: u32, basefontcollection: P1, basefamilyname: P2, baseweight: DWRITE_FONT_WEIGHT, basestyle: DWRITE_FONT_STYLE, basestretch: DWRITE_FONT_STRETCH, mappedlength: *mut u32, mappedfont: *mut Option, scale: *mut f32) -> windows_core::Result<()> @@ -4674,7 +4674,7 @@ pub struct IDWriteFontFallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub MapCharacters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, windows_core::PCWSTR, DWRITE_FONT_WEIGHT, DWRITE_FONT_STYLE, DWRITE_FONT_STRETCH, *mut u32, *mut *mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFallback1, IDWriteFontFallback1_Vtbl, 0x2397599d_dd0d_4681_bd6a_f4f31eaade77); +windows_core::imp::define_interface!(IDWriteFontFallback1, IDWriteFontFallback1_Vtbl, 0x2397599d_dd0d_4681_bd6a_f4f31eaade77); windows_core::imp::interface_hierarchy!(IDWriteFontFallback1, windows_core::IUnknown, IDWriteFontFallback); impl IDWriteFontFallback1 { pub unsafe fn MapCharacters(&self, analysissource: P0, textposition: u32, textlength: u32, basefontcollection: P1, basefamilyname: P2, baseweight: DWRITE_FONT_WEIGHT, basestyle: DWRITE_FONT_STYLE, basestretch: DWRITE_FONT_STRETCH, mappedlength: *mut u32, mappedfont: *mut Option, scale: *mut f32) -> windows_core::Result<()> @@ -4701,7 +4701,7 @@ pub struct IDWriteFontFallback1_Vtbl { pub base__: IDWriteFontFallback_Vtbl, pub MapCharacters2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, windows_core::PCWSTR, *const DWRITE_FONT_AXIS_VALUE, u32, *mut u32, *mut f32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFallbackBuilder, IDWriteFontFallbackBuilder_Vtbl, 0xfd882d06_8aba_4fb8_b849_8be8b73e14de); +windows_core::imp::define_interface!(IDWriteFontFallbackBuilder, IDWriteFontFallbackBuilder_Vtbl, 0xfd882d06_8aba_4fb8_b849_8be8b73e14de); windows_core::imp::interface_hierarchy!(IDWriteFontFallbackBuilder, windows_core::IUnknown); impl IDWriteFontFallbackBuilder { pub unsafe fn AddMapping(&self, ranges: &[DWRITE_UNICODE_RANGE], targetfamilynames: &[*const u16], fontcollection: P0, localename: P1, basefamilyname: P2, scale: f32) -> windows_core::Result<()> @@ -4732,7 +4732,7 @@ pub struct IDWriteFontFallbackBuilder_Vtbl { pub AddMappings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFontFallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFamily, IDWriteFontFamily_Vtbl, 0xda20d8ef_812a_4c43_9802_62ec4abd7add); +windows_core::imp::define_interface!(IDWriteFontFamily, IDWriteFontFamily_Vtbl, 0xda20d8ef_812a_4c43_9802_62ec4abd7add); windows_core::imp::interface_hierarchy!(IDWriteFontFamily, windows_core::IUnknown, IDWriteFontList); impl IDWriteFontFamily { pub unsafe fn GetFontCollection(&self) -> windows_core::Result { @@ -4768,7 +4768,7 @@ pub struct IDWriteFontFamily_Vtbl { pub GetFirstMatchingFont: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_FONT_WEIGHT, DWRITE_FONT_STRETCH, DWRITE_FONT_STYLE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMatchingFonts: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_FONT_WEIGHT, DWRITE_FONT_STRETCH, DWRITE_FONT_STYLE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFamily1, IDWriteFontFamily1_Vtbl, 0xda20d8ef_812a_4c43_9802_62ec4abd7adf); +windows_core::imp::define_interface!(IDWriteFontFamily1, IDWriteFontFamily1_Vtbl, 0xda20d8ef_812a_4c43_9802_62ec4abd7adf); windows_core::imp::interface_hierarchy!(IDWriteFontFamily1, windows_core::IUnknown, IDWriteFontList, IDWriteFontFamily); impl IDWriteFontFamily1 { pub unsafe fn GetFontCollection(&self) -> windows_core::Result { @@ -4815,7 +4815,7 @@ pub struct IDWriteFontFamily1_Vtbl { pub GetFont2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFontFaceReference: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFamily2, IDWriteFontFamily2_Vtbl, 0x3ed49e77_a398_4261_b9cf_c126c2131ef3); +windows_core::imp::define_interface!(IDWriteFontFamily2, IDWriteFontFamily2_Vtbl, 0x3ed49e77_a398_4261_b9cf_c126c2131ef3); windows_core::imp::interface_hierarchy!(IDWriteFontFamily2, windows_core::IUnknown, IDWriteFontList, IDWriteFontFamily, IDWriteFontFamily1); impl IDWriteFontFamily2 { pub unsafe fn GetFontCollection(&self) -> windows_core::Result { @@ -4869,7 +4869,7 @@ pub struct IDWriteFontFamily2_Vtbl { pub GetMatchingFonts2: unsafe extern "system" fn(*mut core::ffi::c_void, *const DWRITE_FONT_AXIS_VALUE, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFontSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFile, IDWriteFontFile_Vtbl, 0x739d886a_cef5_47dc_8769_1a8b41bebbb0); +windows_core::imp::define_interface!(IDWriteFontFile, IDWriteFontFile_Vtbl, 0x739d886a_cef5_47dc_8769_1a8b41bebbb0); windows_core::imp::interface_hierarchy!(IDWriteFontFile, windows_core::IUnknown); impl IDWriteFontFile { pub unsafe fn GetReferenceKey(&self, fontfilereferencekey: *mut *mut core::ffi::c_void, fontfilereferencekeysize: *mut u32) -> windows_core::Result<()> { @@ -4892,7 +4892,7 @@ pub struct IDWriteFontFile_Vtbl { pub GetLoader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Analyze: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut DWRITE_FONT_FILE_TYPE, *mut DWRITE_FONT_FACE_TYPE, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFileEnumerator, IDWriteFontFileEnumerator_Vtbl, 0x72755049_5ff7_435d_8348_4be97cfa6c7c); +windows_core::imp::define_interface!(IDWriteFontFileEnumerator, IDWriteFontFileEnumerator_Vtbl, 0x72755049_5ff7_435d_8348_4be97cfa6c7c); windows_core::imp::interface_hierarchy!(IDWriteFontFileEnumerator, windows_core::IUnknown); impl IDWriteFontFileEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -4912,7 +4912,7 @@ pub struct IDWriteFontFileEnumerator_Vtbl { pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetCurrentFontFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFileLoader, IDWriteFontFileLoader_Vtbl, 0x727cad4e_d6af_4c9e_8a08_d695b11caa49); +windows_core::imp::define_interface!(IDWriteFontFileLoader, IDWriteFontFileLoader_Vtbl, 0x727cad4e_d6af_4c9e_8a08_d695b11caa49); 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 { @@ -4927,7 +4927,7 @@ pub struct IDWriteFontFileLoader_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateStreamFromKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontFileStream, IDWriteFontFileStream_Vtbl, 0x6d4865fe_0ab8_4d91_8f62_5dd6be34a3e0); +windows_core::imp::define_interface!(IDWriteFontFileStream, IDWriteFontFileStream_Vtbl, 0x6d4865fe_0ab8_4d91_8f62_5dd6be34a3e0); windows_core::imp::interface_hierarchy!(IDWriteFontFileStream, windows_core::IUnknown); impl IDWriteFontFileStream { pub unsafe fn ReadFileFragment(&self, fragmentstart: *mut *mut core::ffi::c_void, fileoffset: u64, fragmentsize: u64, fragmentcontext: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -4955,7 +4955,7 @@ pub struct IDWriteFontFileStream_Vtbl { pub GetFileSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub GetLastWriteTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontList, IDWriteFontList_Vtbl, 0x1a0d8438_1d97_4ec1_aef9_a2fb86ed6acb); +windows_core::imp::define_interface!(IDWriteFontList, IDWriteFontList_Vtbl, 0x1a0d8438_1d97_4ec1_aef9_a2fb86ed6acb); windows_core::imp::interface_hierarchy!(IDWriteFontList, windows_core::IUnknown); impl IDWriteFontList { pub unsafe fn GetFontCollection(&self) -> windows_core::Result { @@ -4979,7 +4979,7 @@ pub struct IDWriteFontList_Vtbl { pub GetFontCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetFont: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontList1, IDWriteFontList1_Vtbl, 0xda20d8ef_812a_4c43_9802_62ec4abd7ade); +windows_core::imp::define_interface!(IDWriteFontList1, IDWriteFontList1_Vtbl, 0xda20d8ef_812a_4c43_9802_62ec4abd7ade); windows_core::imp::interface_hierarchy!(IDWriteFontList1, windows_core::IUnknown, IDWriteFontList); impl IDWriteFontList1 { pub unsafe fn GetFontCollection(&self) -> windows_core::Result { @@ -5014,7 +5014,7 @@ pub struct IDWriteFontList1_Vtbl { pub GetFont2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFontFaceReference: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontList2, IDWriteFontList2_Vtbl, 0xc0763a34_77af_445a_b735_08c37b0a5bf5); +windows_core::imp::define_interface!(IDWriteFontList2, IDWriteFontList2_Vtbl, 0xc0763a34_77af_445a_b735_08c37b0a5bf5); windows_core::imp::interface_hierarchy!(IDWriteFontList2, windows_core::IUnknown, IDWriteFontList, IDWriteFontList1); impl IDWriteFontList2 { pub unsafe fn GetFontCollection(&self) -> windows_core::Result { @@ -5051,7 +5051,7 @@ pub struct IDWriteFontList2_Vtbl { pub base__: IDWriteFontList1_Vtbl, pub GetFontSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontResource, IDWriteFontResource_Vtbl, 0x1f803a76_6871_48e8_987f_b975551c50f2); +windows_core::imp::define_interface!(IDWriteFontResource, IDWriteFontResource_Vtbl, 0x1f803a76_6871_48e8_987f_b975551c50f2); windows_core::imp::interface_hierarchy!(IDWriteFontResource, windows_core::IUnknown); impl IDWriteFontResource { pub unsafe fn GetFontFile(&self) -> windows_core::Result { @@ -5113,7 +5113,7 @@ pub struct IDWriteFontResource_Vtbl { pub CreateFontFace: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_FONT_SIMULATIONS, *const DWRITE_FONT_AXIS_VALUE, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFontFaceReference: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_FONT_SIMULATIONS, *const DWRITE_FONT_AXIS_VALUE, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontSet, IDWriteFontSet_Vtbl, 0x53585141_d9f8_4095_8321_d73cf6bd116b); +windows_core::imp::define_interface!(IDWriteFontSet, IDWriteFontSet_Vtbl, 0x53585141_d9f8_4095_8321_d73cf6bd116b); windows_core::imp::interface_hierarchy!(IDWriteFontSet, windows_core::IUnknown); impl IDWriteFontSet { pub unsafe fn GetFontCount(&self) -> u32 { @@ -5181,7 +5181,7 @@ pub struct IDWriteFontSet_Vtbl { pub GetMatchingFonts: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, DWRITE_FONT_WEIGHT, DWRITE_FONT_STRETCH, DWRITE_FONT_STYLE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMatchingFonts2: unsafe extern "system" fn(*mut core::ffi::c_void, *const DWRITE_FONT_PROPERTY, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontSet1, IDWriteFontSet1_Vtbl, 0x7e9fda85_6c92_4053_bc47_7ae3530db4d3); +windows_core::imp::define_interface!(IDWriteFontSet1, IDWriteFontSet1_Vtbl, 0x7e9fda85_6c92_4053_bc47_7ae3530db4d3); windows_core::imp::interface_hierarchy!(IDWriteFontSet1, windows_core::IUnknown, IDWriteFontSet); impl IDWriteFontSet1 { pub unsafe fn GetFontCount(&self) -> u32 { @@ -5311,7 +5311,7 @@ pub struct IDWriteFontSet1_Vtbl { pub CreateFontFace: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFontLocality: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> DWRITE_LOCALITY, } -windows_core::imp::com_interface!(IDWriteFontSet2, IDWriteFontSet2_Vtbl, 0xdc7ead19_e54c_43af_b2da_4e2b79ba3f7f); +windows_core::imp::define_interface!(IDWriteFontSet2, IDWriteFontSet2_Vtbl, 0xdc7ead19_e54c_43af_b2da_4e2b79ba3f7f); windows_core::imp::interface_hierarchy!(IDWriteFontSet2, windows_core::IUnknown, IDWriteFontSet, IDWriteFontSet1); impl IDWriteFontSet2 { pub unsafe fn GetFontCount(&self) -> u32 { @@ -5432,7 +5432,7 @@ pub struct IDWriteFontSet2_Vtbl { pub base__: IDWriteFontSet1_Vtbl, pub GetExpirationEvent: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } -windows_core::imp::com_interface!(IDWriteFontSet3, IDWriteFontSet3_Vtbl, 0x7c073ef2_a7f4_4045_8c32_8ab8ae640f90); +windows_core::imp::define_interface!(IDWriteFontSet3, IDWriteFontSet3_Vtbl, 0x7c073ef2_a7f4_4045_8c32_8ab8ae640f90); windows_core::imp::interface_hierarchy!(IDWriteFontSet3, windows_core::IUnknown, IDWriteFontSet, IDWriteFontSet1, IDWriteFontSet2); impl IDWriteFontSet3 { pub unsafe fn GetFontCount(&self) -> u32 { @@ -5564,7 +5564,7 @@ pub struct IDWriteFontSet3_Vtbl { pub GetFontSourceNameLength: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, pub GetFontSourceName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontSet4, IDWriteFontSet4_Vtbl, 0xeec175fc_bea9_4c86_8b53_ccbdd7df0c82); +windows_core::imp::define_interface!(IDWriteFontSet4, IDWriteFontSet4_Vtbl, 0xeec175fc_bea9_4c86_8b53_ccbdd7df0c82); windows_core::imp::interface_hierarchy!(IDWriteFontSet4, windows_core::IUnknown, IDWriteFontSet, IDWriteFontSet1, IDWriteFontSet2, IDWriteFontSet3); impl IDWriteFontSet4 { pub unsafe fn GetFontCount(&self) -> u32 { @@ -5705,7 +5705,7 @@ pub struct IDWriteFontSet4_Vtbl { pub ConvertWeightStretchStyleToFontAxisValues: unsafe extern "system" fn(*mut core::ffi::c_void, *const DWRITE_FONT_AXIS_VALUE, u32, DWRITE_FONT_WEIGHT, DWRITE_FONT_STRETCH, DWRITE_FONT_STYLE, f32, *mut DWRITE_FONT_AXIS_VALUE) -> u32, pub GetMatchingFonts4: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const DWRITE_FONT_AXIS_VALUE, u32, DWRITE_FONT_SIMULATIONS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontSetBuilder, IDWriteFontSetBuilder_Vtbl, 0x2f642afe_9c68_4f40_b8be_457401afcb3d); +windows_core::imp::define_interface!(IDWriteFontSetBuilder, IDWriteFontSetBuilder_Vtbl, 0x2f642afe_9c68_4f40_b8be_457401afcb3d); windows_core::imp::interface_hierarchy!(IDWriteFontSetBuilder, windows_core::IUnknown); impl IDWriteFontSetBuilder { pub unsafe fn AddFontFaceReference(&self, fontfacereference: P0, properties: &[DWRITE_FONT_PROPERTY]) -> windows_core::Result<()> @@ -5741,7 +5741,7 @@ pub struct IDWriteFontSetBuilder_Vtbl { pub AddFontSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateFontSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontSetBuilder1, IDWriteFontSetBuilder1_Vtbl, 0x3ff7715f_3cdc_4dc6_9b72_ec5621dccafd); +windows_core::imp::define_interface!(IDWriteFontSetBuilder1, IDWriteFontSetBuilder1_Vtbl, 0x3ff7715f_3cdc_4dc6_9b72_ec5621dccafd); windows_core::imp::interface_hierarchy!(IDWriteFontSetBuilder1, windows_core::IUnknown, IDWriteFontSetBuilder); impl IDWriteFontSetBuilder1 { pub unsafe fn AddFontFaceReference(&self, fontfacereference: P0, properties: &[DWRITE_FONT_PROPERTY]) -> windows_core::Result<()> @@ -5780,7 +5780,7 @@ pub struct IDWriteFontSetBuilder1_Vtbl { pub base__: IDWriteFontSetBuilder_Vtbl, pub AddFontFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteFontSetBuilder2, IDWriteFontSetBuilder2_Vtbl, 0xee5ba612_b131_463c_8f4f_3189b9401e45); +windows_core::imp::define_interface!(IDWriteFontSetBuilder2, IDWriteFontSetBuilder2_Vtbl, 0xee5ba612_b131_463c_8f4f_3189b9401e45); windows_core::imp::interface_hierarchy!(IDWriteFontSetBuilder2, windows_core::IUnknown, IDWriteFontSetBuilder, IDWriteFontSetBuilder1); impl IDWriteFontSetBuilder2 { pub unsafe fn AddFontFaceReference(&self, fontfacereference: P0, properties: &[DWRITE_FONT_PROPERTY]) -> windows_core::Result<()> @@ -5832,7 +5832,7 @@ pub struct IDWriteFontSetBuilder2_Vtbl { pub AddFont: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, DWRITE_FONT_SIMULATIONS, *const DWRITE_FONT_AXIS_VALUE, u32, *const DWRITE_FONT_AXIS_RANGE, u32, *const DWRITE_FONT_PROPERTY, u32) -> windows_core::HRESULT, pub AddFontFile2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteGdiInterop, IDWriteGdiInterop_Vtbl, 0x1edd9491_9853_4299_898f_6432983b6f3a); +windows_core::imp::define_interface!(IDWriteGdiInterop, IDWriteGdiInterop_Vtbl, 0x1edd9491_9853_4299_898f_6432983b6f3a); windows_core::imp::interface_hierarchy!(IDWriteGdiInterop, windows_core::IUnknown); impl IDWriteGdiInterop { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -5897,7 +5897,7 @@ pub struct IDWriteGdiInterop_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] CreateBitmapRenderTarget: usize, } -windows_core::imp::com_interface!(IDWriteGdiInterop1, IDWriteGdiInterop1_Vtbl, 0x4556be70_3abd_4f70_90be_421780a6f515); +windows_core::imp::define_interface!(IDWriteGdiInterop1, IDWriteGdiInterop1_Vtbl, 0x4556be70_3abd_4f70_90be_421780a6f515); windows_core::imp::interface_hierarchy!(IDWriteGdiInterop1, windows_core::IUnknown, IDWriteGdiInterop); impl IDWriteGdiInterop1 { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -5988,7 +5988,7 @@ pub struct IDWriteGdiInterop1_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetMatchingFontsByLOGFONT: usize, } -windows_core::imp::com_interface!(IDWriteGlyphRunAnalysis, IDWriteGlyphRunAnalysis_Vtbl, 0x7d97dbf7_e085_42d4_81e3_6a883bded118); +windows_core::imp::define_interface!(IDWriteGlyphRunAnalysis, IDWriteGlyphRunAnalysis_Vtbl, 0x7d97dbf7_e085_42d4_81e3_6a883bded118); windows_core::imp::interface_hierarchy!(IDWriteGlyphRunAnalysis, windows_core::IUnknown); impl IDWriteGlyphRunAnalysis { pub unsafe fn GetAlphaTextureBounds(&self, texturetype: DWRITE_TEXTURE_TYPE) -> windows_core::Result { @@ -6014,7 +6014,7 @@ pub struct IDWriteGlyphRunAnalysis_Vtbl { pub CreateAlphaTexture: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_TEXTURE_TYPE, *const super::super::Foundation::RECT, *mut u8, u32) -> windows_core::HRESULT, pub GetAlphaBlendParams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut f32, *mut f32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteInMemoryFontFileLoader, IDWriteInMemoryFontFileLoader_Vtbl, 0xdc102f47_a12d_4b1c_822d_9e117e33043f); +windows_core::imp::define_interface!(IDWriteInMemoryFontFileLoader, IDWriteInMemoryFontFileLoader_Vtbl, 0xdc102f47_a12d_4b1c_822d_9e117e33043f); windows_core::imp::interface_hierarchy!(IDWriteInMemoryFontFileLoader, windows_core::IUnknown, IDWriteFontFileLoader); impl IDWriteInMemoryFontFileLoader { pub unsafe fn CreateStreamFromKey(&self, fontfilereferencekey: *const core::ffi::c_void, fontfilereferencekeysize: u32) -> windows_core::Result { @@ -6041,7 +6041,7 @@ pub struct IDWriteInMemoryFontFileLoader_Vtbl { pub CreateInMemoryFontFileReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFileCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(IDWriteInlineObject, IDWriteInlineObject_Vtbl, 0x8339fde3_106f_47ab_8373_1c6295eb10b3); +windows_core::imp::define_interface!(IDWriteInlineObject, IDWriteInlineObject_Vtbl, 0x8339fde3_106f_47ab_8373_1c6295eb10b3); windows_core::imp::interface_hierarchy!(IDWriteInlineObject, windows_core::IUnknown); impl IDWriteInlineObject { pub unsafe fn Draw(&self, clientdrawingcontext: Option<*const core::ffi::c_void>, renderer: P0, originx: f32, originy: f32, issideways: P1, isrighttoleft: P2, clientdrawingeffect: P3) -> windows_core::Result<()> @@ -6075,7 +6075,7 @@ pub struct IDWriteInlineObject_Vtbl { pub GetOverhangMetrics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_OVERHANG_METRICS) -> windows_core::HRESULT, pub GetBreakConditions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_BREAK_CONDITION, *mut DWRITE_BREAK_CONDITION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteLocalFontFileLoader, IDWriteLocalFontFileLoader_Vtbl, 0xb2d9f3ec_c9fe_4a11_a2ec_d86208f7c0a2); +windows_core::imp::define_interface!(IDWriteLocalFontFileLoader, IDWriteLocalFontFileLoader_Vtbl, 0xb2d9f3ec_c9fe_4a11_a2ec_d86208f7c0a2); windows_core::imp::interface_hierarchy!(IDWriteLocalFontFileLoader, windows_core::IUnknown, IDWriteFontFileLoader); impl IDWriteLocalFontFileLoader { pub unsafe fn CreateStreamFromKey(&self, fontfilereferencekey: *const core::ffi::c_void, fontfilereferencekeysize: u32) -> windows_core::Result { @@ -6103,7 +6103,7 @@ pub struct IDWriteLocalFontFileLoader_Vtbl { pub GetFilePathFromKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, windows_core::PWSTR, u32) -> windows_core::HRESULT, pub GetLastWriteTimeFromKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteLocalizedStrings, IDWriteLocalizedStrings_Vtbl, 0x08256209_099a_4b34_b86d_c22b110e7771); +windows_core::imp::define_interface!(IDWriteLocalizedStrings, IDWriteLocalizedStrings_Vtbl, 0x08256209_099a_4b34_b86d_c22b110e7771); windows_core::imp::interface_hierarchy!(IDWriteLocalizedStrings, windows_core::IUnknown); impl IDWriteLocalizedStrings { pub unsafe fn GetCount(&self) -> u32 { @@ -6142,7 +6142,7 @@ pub struct IDWriteLocalizedStrings_Vtbl { pub GetStringLength: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteNumberSubstitution, IDWriteNumberSubstitution_Vtbl, 0x14885cc9_bab0_4f90_b6ed_5c366a2cd03d); +windows_core::imp::define_interface!(IDWriteNumberSubstitution, IDWriteNumberSubstitution_Vtbl, 0x14885cc9_bab0_4f90_b6ed_5c366a2cd03d); windows_core::imp::interface_hierarchy!(IDWriteNumberSubstitution, windows_core::IUnknown); impl IDWriteNumberSubstitution {} unsafe impl Send for IDWriteNumberSubstitution {} @@ -6151,7 +6151,7 @@ unsafe impl Sync for IDWriteNumberSubstitution {} pub struct IDWriteNumberSubstitution_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IDWritePaintReader, IDWritePaintReader_Vtbl, 0x8128e912_3b97_42a5_ab6c_24aad3a86e54); +windows_core::imp::define_interface!(IDWritePaintReader, IDWritePaintReader_Vtbl, 0x8128e912_3b97_42a5_ab6c_24aad3a86e54); windows_core::imp::interface_hierarchy!(IDWritePaintReader, windows_core::IUnknown); impl IDWritePaintReader { #[cfg(feature = "Win32_Graphics_Direct2D_Common")] @@ -6213,7 +6213,7 @@ pub struct IDWritePaintReader_Vtbl { GetGradientStops: usize, pub GetGradientStopColors: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut DWRITE_PAINT_COLOR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWritePixelSnapping, IDWritePixelSnapping_Vtbl, 0xeaf3a2da_ecf4_4d24_b644_b34f6842024b); +windows_core::imp::define_interface!(IDWritePixelSnapping, IDWritePixelSnapping_Vtbl, 0xeaf3a2da_ecf4_4d24_b644_b34f6842024b); 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 { @@ -6237,7 +6237,7 @@ pub struct IDWritePixelSnapping_Vtbl { pub GetCurrentTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *mut DWRITE_MATRIX) -> windows_core::HRESULT, pub GetPixelsPerDip: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteRemoteFontFileLoader, IDWriteRemoteFontFileLoader_Vtbl, 0x68648c83_6ede_46c0_ab46_20083a887fde); +windows_core::imp::define_interface!(IDWriteRemoteFontFileLoader, IDWriteRemoteFontFileLoader_Vtbl, 0x68648c83_6ede_46c0_ab46_20083a887fde); windows_core::imp::interface_hierarchy!(IDWriteRemoteFontFileLoader, windows_core::IUnknown, IDWriteFontFileLoader); impl IDWriteRemoteFontFileLoader { pub unsafe fn CreateStreamFromKey(&self, fontfilereferencekey: *const core::ffi::c_void, fontfilereferencekeysize: u32) -> windows_core::Result { @@ -6271,7 +6271,7 @@ pub struct IDWriteRemoteFontFileLoader_Vtbl { pub GetLocalityFromKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut DWRITE_LOCALITY) -> windows_core::HRESULT, pub CreateFontFileReferenceFromUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteRemoteFontFileStream, IDWriteRemoteFontFileStream_Vtbl, 0x4db3757a_2c72_4ed9_b2b6_1ababe1aff9c); +windows_core::imp::define_interface!(IDWriteRemoteFontFileStream, IDWriteRemoteFontFileStream_Vtbl, 0x4db3757a_2c72_4ed9_b2b6_1ababe1aff9c); windows_core::imp::interface_hierarchy!(IDWriteRemoteFontFileStream, windows_core::IUnknown, IDWriteFontFileStream); impl IDWriteRemoteFontFileStream { pub unsafe fn ReadFileFragment(&self, fragmentstart: *mut *mut core::ffi::c_void, fileoffset: u64, fragmentsize: u64, fragmentcontext: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -6313,7 +6313,7 @@ pub struct IDWriteRemoteFontFileStream_Vtbl { pub GetLocality: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_LOCALITY, pub BeginDownload: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const DWRITE_FILE_FRAGMENT, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteRenderingParams, IDWriteRenderingParams_Vtbl, 0x2f0da53a_2add_47cd_82ee_d9ec34688e75); +windows_core::imp::define_interface!(IDWriteRenderingParams, IDWriteRenderingParams_Vtbl, 0x2f0da53a_2add_47cd_82ee_d9ec34688e75); windows_core::imp::interface_hierarchy!(IDWriteRenderingParams, windows_core::IUnknown); impl IDWriteRenderingParams { pub unsafe fn GetGamma(&self) -> f32 { @@ -6343,7 +6343,7 @@ pub struct IDWriteRenderingParams_Vtbl { pub GetPixelGeometry: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_PIXEL_GEOMETRY, pub GetRenderingMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_RENDERING_MODE, } -windows_core::imp::com_interface!(IDWriteRenderingParams1, IDWriteRenderingParams1_Vtbl, 0x94413cf4_a6fc_4248_8b50_6674348fcad3); +windows_core::imp::define_interface!(IDWriteRenderingParams1, IDWriteRenderingParams1_Vtbl, 0x94413cf4_a6fc_4248_8b50_6674348fcad3); windows_core::imp::interface_hierarchy!(IDWriteRenderingParams1, windows_core::IUnknown, IDWriteRenderingParams); impl IDWriteRenderingParams1 { pub unsafe fn GetGamma(&self) -> f32 { @@ -6372,7 +6372,7 @@ pub struct IDWriteRenderingParams1_Vtbl { pub base__: IDWriteRenderingParams_Vtbl, pub GetGrayscaleEnhancedContrast: unsafe extern "system" fn(*mut core::ffi::c_void) -> f32, } -windows_core::imp::com_interface!(IDWriteRenderingParams2, IDWriteRenderingParams2_Vtbl, 0xf9d711c3_9777_40ae_87e8_3e5af9bf0948); +windows_core::imp::define_interface!(IDWriteRenderingParams2, IDWriteRenderingParams2_Vtbl, 0xf9d711c3_9777_40ae_87e8_3e5af9bf0948); windows_core::imp::interface_hierarchy!(IDWriteRenderingParams2, windows_core::IUnknown, IDWriteRenderingParams, IDWriteRenderingParams1); impl IDWriteRenderingParams2 { pub unsafe fn GetGamma(&self) -> f32 { @@ -6404,7 +6404,7 @@ pub struct IDWriteRenderingParams2_Vtbl { pub base__: IDWriteRenderingParams1_Vtbl, pub GetGridFitMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_GRID_FIT_MODE, } -windows_core::imp::com_interface!(IDWriteRenderingParams3, IDWriteRenderingParams3_Vtbl, 0xb7924baa_391b_412a_8c5c_e44cc2d867dc); +windows_core::imp::define_interface!(IDWriteRenderingParams3, IDWriteRenderingParams3_Vtbl, 0xb7924baa_391b_412a_8c5c_e44cc2d867dc); windows_core::imp::interface_hierarchy!(IDWriteRenderingParams3, windows_core::IUnknown, IDWriteRenderingParams, IDWriteRenderingParams1, IDWriteRenderingParams2); impl IDWriteRenderingParams3 { pub unsafe fn GetGamma(&self) -> f32 { @@ -6439,7 +6439,7 @@ pub struct IDWriteRenderingParams3_Vtbl { pub base__: IDWriteRenderingParams2_Vtbl, pub GetRenderingMode1: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_RENDERING_MODE1, } -windows_core::imp::com_interface!(IDWriteStringList, IDWriteStringList_Vtbl, 0xcfee3140_1157_47ca_8b85_31bfcf3f2d0e); +windows_core::imp::define_interface!(IDWriteStringList, IDWriteStringList_Vtbl, 0xcfee3140_1157_47ca_8b85_31bfcf3f2d0e); windows_core::imp::interface_hierarchy!(IDWriteStringList, windows_core::IUnknown); impl IDWriteStringList { pub unsafe fn GetCount(&self) -> u32 { @@ -6471,7 +6471,7 @@ pub struct IDWriteStringList_Vtbl { pub GetStringLength: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextAnalysisSink, IDWriteTextAnalysisSink_Vtbl, 0x5810cd44_0ca0_4701_b3fa_bec5182ae4f6); +windows_core::imp::define_interface!(IDWriteTextAnalysisSink, IDWriteTextAnalysisSink_Vtbl, 0x5810cd44_0ca0_4701_b3fa_bec5182ae4f6); windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSink, windows_core::IUnknown); impl IDWriteTextAnalysisSink { pub unsafe fn SetScriptAnalysis(&self, textposition: u32, textlength: u32, scriptanalysis: *const DWRITE_SCRIPT_ANALYSIS) -> windows_core::Result<()> { @@ -6500,7 +6500,7 @@ pub struct IDWriteTextAnalysisSink_Vtbl { pub SetBidiLevel: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u8, u8) -> windows_core::HRESULT, pub SetNumberSubstitution: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextAnalysisSink1, IDWriteTextAnalysisSink1_Vtbl, 0xb0d941a0_85e7_4d8b_9fd3_5ced9934482a); +windows_core::imp::define_interface!(IDWriteTextAnalysisSink1, IDWriteTextAnalysisSink1_Vtbl, 0xb0d941a0_85e7_4d8b_9fd3_5ced9934482a); windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSink1, windows_core::IUnknown, IDWriteTextAnalysisSink); impl IDWriteTextAnalysisSink1 { pub unsafe fn SetScriptAnalysis(&self, textposition: u32, textlength: u32, scriptanalysis: *const DWRITE_SCRIPT_ANALYSIS) -> windows_core::Result<()> { @@ -6533,7 +6533,7 @@ pub struct IDWriteTextAnalysisSink1_Vtbl { pub base__: IDWriteTextAnalysisSink_Vtbl, pub SetGlyphOrientation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, DWRITE_GLYPH_ORIENTATION_ANGLE, u8, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextAnalysisSource, IDWriteTextAnalysisSource_Vtbl, 0x688e1a58_5094_47c8_adc8_fbcea60ae92b); +windows_core::imp::define_interface!(IDWriteTextAnalysisSource, IDWriteTextAnalysisSource_Vtbl, 0x688e1a58_5094_47c8_adc8_fbcea60ae92b); windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSource, windows_core::IUnknown); impl IDWriteTextAnalysisSource { pub unsafe fn GetTextAtPosition(&self, textposition: u32, textstring: *mut *mut u16, textlength: *mut u32) -> windows_core::Result<()> { @@ -6563,7 +6563,7 @@ pub struct IDWriteTextAnalysisSource_Vtbl { pub GetLocaleName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut *mut u16) -> windows_core::HRESULT, pub GetNumberSubstitution: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextAnalysisSource1, IDWriteTextAnalysisSource1_Vtbl, 0x639cfad8_0fb4_4b21_a58a_067920120009); +windows_core::imp::define_interface!(IDWriteTextAnalysisSource1, IDWriteTextAnalysisSource1_Vtbl, 0x639cfad8_0fb4_4b21_a58a_067920120009); windows_core::imp::interface_hierarchy!(IDWriteTextAnalysisSource1, windows_core::IUnknown, IDWriteTextAnalysisSource); impl IDWriteTextAnalysisSource1 { pub unsafe fn GetTextAtPosition(&self, textposition: u32, textstring: *mut *mut u16, textlength: *mut u32) -> windows_core::Result<()> { @@ -6592,7 +6592,7 @@ pub struct IDWriteTextAnalysisSource1_Vtbl { pub base__: IDWriteTextAnalysisSource_Vtbl, pub GetVerticalGlyphOrientation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut DWRITE_VERTICAL_GLYPH_ORIENTATION, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextAnalyzer, IDWriteTextAnalyzer_Vtbl, 0xb7e6163e_7f46_43b4_84b3_e4e6249c365d); +windows_core::imp::define_interface!(IDWriteTextAnalyzer, IDWriteTextAnalyzer_Vtbl, 0xb7e6163e_7f46_43b4_84b3_e4e6249c365d); windows_core::imp::interface_hierarchy!(IDWriteTextAnalyzer, windows_core::IUnknown); impl IDWriteTextAnalyzer { pub unsafe fn AnalyzeScript(&self, analysissource: P0, textposition: u32, textlength: u32, analysissink: P1) -> windows_core::Result<()> @@ -6713,7 +6713,7 @@ pub struct IDWriteTextAnalyzer_Vtbl { pub GetGlyphPlacements: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u16, *mut DWRITE_SHAPING_TEXT_PROPERTIES, u32, *const u16, *const DWRITE_SHAPING_GLYPH_PROPERTIES, u32, *mut core::ffi::c_void, f32, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *const DWRITE_SCRIPT_ANALYSIS, windows_core::PCWSTR, *const *const DWRITE_TYPOGRAPHIC_FEATURES, *const u32, u32, *mut f32, *mut DWRITE_GLYPH_OFFSET) -> windows_core::HRESULT, pub GetGdiCompatibleGlyphPlacements: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u16, *const DWRITE_SHAPING_TEXT_PROPERTIES, u32, *const u16, *const DWRITE_SHAPING_GLYPH_PROPERTIES, u32, *mut core::ffi::c_void, f32, f32, *const DWRITE_MATRIX, super::super::Foundation::BOOL, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *const DWRITE_SCRIPT_ANALYSIS, windows_core::PCWSTR, *const *const DWRITE_TYPOGRAPHIC_FEATURES, *const u32, u32, *mut f32, *mut DWRITE_GLYPH_OFFSET) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextAnalyzer1, IDWriteTextAnalyzer1_Vtbl, 0x80dad800_e21f_4e83_96ce_bfcce500db7c); +windows_core::imp::define_interface!(IDWriteTextAnalyzer1, IDWriteTextAnalyzer1_Vtbl, 0x80dad800_e21f_4e83_96ce_bfcce500db7c); windows_core::imp::interface_hierarchy!(IDWriteTextAnalyzer1, windows_core::IUnknown, IDWriteTextAnalyzer); impl IDWriteTextAnalyzer1 { pub unsafe fn AnalyzeScript(&self, analysissource: P0, textposition: u32, textlength: u32, analysissink: P1) -> windows_core::Result<()> @@ -6887,7 +6887,7 @@ pub struct IDWriteTextAnalyzer1_Vtbl { pub JustifyGlyphAdvances: unsafe extern "system" fn(*mut core::ffi::c_void, f32, u32, *const DWRITE_JUSTIFICATION_OPPORTUNITY, *const f32, *const DWRITE_GLYPH_OFFSET, *mut f32, *mut DWRITE_GLYPH_OFFSET) -> windows_core::HRESULT, pub GetJustifiedGlyphs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f32, DWRITE_SCRIPT_ANALYSIS, u32, u32, u32, *const u16, *const u16, *const f32, *const f32, *const DWRITE_GLYPH_OFFSET, *const DWRITE_SHAPING_GLYPH_PROPERTIES, *mut u32, *mut u16, *mut u16, *mut f32, *mut DWRITE_GLYPH_OFFSET) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextAnalyzer2, IDWriteTextAnalyzer2_Vtbl, 0x553a9ff3_5693_4df7_b52b_74806f7f2eb9); +windows_core::imp::define_interface!(IDWriteTextAnalyzer2, IDWriteTextAnalyzer2_Vtbl, 0x553a9ff3_5693_4df7_b52b_74806f7f2eb9); windows_core::imp::interface_hierarchy!(IDWriteTextAnalyzer2, windows_core::IUnknown, IDWriteTextAnalyzer, IDWriteTextAnalyzer1); impl IDWriteTextAnalyzer2 { pub unsafe fn AnalyzeScript(&self, analysissource: P0, textposition: u32, textlength: u32, analysissink: P1) -> windows_core::Result<()> @@ -7075,7 +7075,7 @@ pub struct IDWriteTextAnalyzer2_Vtbl { pub GetTypographicFeatures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DWRITE_SCRIPT_ANALYSIS, windows_core::PCWSTR, u32, *mut u32, *mut DWRITE_FONT_FEATURE_TAG) -> windows_core::HRESULT, pub CheckTypographicFeature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, DWRITE_SCRIPT_ANALYSIS, windows_core::PCWSTR, DWRITE_FONT_FEATURE_TAG, u32, *const u16, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextFormat, IDWriteTextFormat_Vtbl, 0x9c906818_31d7_4fd3_a151_7c5e225db55a); +windows_core::imp::define_interface!(IDWriteTextFormat, IDWriteTextFormat_Vtbl, 0x9c906818_31d7_4fd3_a151_7c5e225db55a); windows_core::imp::interface_hierarchy!(IDWriteTextFormat, windows_core::IUnknown); impl IDWriteTextFormat { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> windows_core::Result<()> { @@ -7189,7 +7189,7 @@ pub struct IDWriteTextFormat_Vtbl { pub GetLocaleNameLength: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetLocaleName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextFormat1, IDWriteTextFormat1_Vtbl, 0x5f174b49_0d8b_4cfb_8bca_f1cce9d06c67); +windows_core::imp::define_interface!(IDWriteTextFormat1, IDWriteTextFormat1_Vtbl, 0x5f174b49_0d8b_4cfb_8bca_f1cce9d06c67); windows_core::imp::interface_hierarchy!(IDWriteTextFormat1, windows_core::IUnknown, IDWriteTextFormat); impl IDWriteTextFormat1 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> windows_core::Result<()> { @@ -7317,7 +7317,7 @@ pub struct IDWriteTextFormat1_Vtbl { pub SetFontFallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFontFallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextFormat2, IDWriteTextFormat2_Vtbl, 0xf67e0edd_9e3d_4ecc_8c32_4183253dfe70); +windows_core::imp::define_interface!(IDWriteTextFormat2, IDWriteTextFormat2_Vtbl, 0xf67e0edd_9e3d_4ecc_8c32_4183253dfe70); windows_core::imp::interface_hierarchy!(IDWriteTextFormat2, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextFormat1); impl IDWriteTextFormat2 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> windows_core::Result<()> { @@ -7445,7 +7445,7 @@ pub struct IDWriteTextFormat2_Vtbl { pub SetLineSpacing2: unsafe extern "system" fn(*mut core::ffi::c_void, *const DWRITE_LINE_SPACING) -> windows_core::HRESULT, pub GetLineSpacing2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_LINE_SPACING) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextFormat3, IDWriteTextFormat3_Vtbl, 0x6d3b5641_e550_430d_a85b_b7bf48a93427); +windows_core::imp::define_interface!(IDWriteTextFormat3, IDWriteTextFormat3_Vtbl, 0x6d3b5641_e550_430d_a85b_b7bf48a93427); windows_core::imp::interface_hierarchy!(IDWriteTextFormat3, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextFormat1, IDWriteTextFormat2); impl IDWriteTextFormat3 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> windows_core::Result<()> { @@ -7591,7 +7591,7 @@ pub struct IDWriteTextFormat3_Vtbl { pub GetAutomaticFontAxes: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_AUTOMATIC_FONT_AXES, pub SetAutomaticFontAxes: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_AUTOMATIC_FONT_AXES) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextLayout, IDWriteTextLayout_Vtbl, 0x53737037_6d14_410b_9bfe_0b182bb70961); +windows_core::imp::define_interface!(IDWriteTextLayout, IDWriteTextLayout_Vtbl, 0x53737037_6d14_410b_9bfe_0b182bb70961); windows_core::imp::interface_hierarchy!(IDWriteTextLayout, windows_core::IUnknown, IDWriteTextFormat); impl IDWriteTextLayout { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> windows_core::Result<()> { @@ -7868,7 +7868,7 @@ pub struct IDWriteTextLayout_Vtbl { pub HitTestTextPosition: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL, *mut f32, *mut f32, *mut DWRITE_HIT_TEST_METRICS) -> windows_core::HRESULT, pub HitTestTextRange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, f32, f32, *mut DWRITE_HIT_TEST_METRICS, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextLayout1, IDWriteTextLayout1_Vtbl, 0x9064d822_80a7_465c_a986_df65f78b8feb); +windows_core::imp::define_interface!(IDWriteTextLayout1, IDWriteTextLayout1_Vtbl, 0x9064d822_80a7_465c_a986_df65f78b8feb); windows_core::imp::interface_hierarchy!(IDWriteTextLayout1, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout); impl IDWriteTextLayout1 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> windows_core::Result<()> { @@ -8125,7 +8125,7 @@ pub struct IDWriteTextLayout1_Vtbl { pub SetCharacterSpacing: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, DWRITE_TEXT_RANGE) -> windows_core::HRESULT, pub GetCharacterSpacing: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32, *mut f32, *mut f32, *mut DWRITE_TEXT_RANGE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextLayout2, IDWriteTextLayout2_Vtbl, 0x1093c18f_8d5e_43f0_b064_0917311b525e); +windows_core::imp::define_interface!(IDWriteTextLayout2, IDWriteTextLayout2_Vtbl, 0x1093c18f_8d5e_43f0_b064_0917311b525e); windows_core::imp::interface_hierarchy!(IDWriteTextLayout2, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1); impl IDWriteTextLayout2 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> windows_core::Result<()> { @@ -8421,7 +8421,7 @@ pub struct IDWriteTextLayout2_Vtbl { pub SetFontFallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFontFallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextLayout3, IDWriteTextLayout3_Vtbl, 0x07ddcd52_020e_4de8_ac33_6c953d83f92d); +windows_core::imp::define_interface!(IDWriteTextLayout3, IDWriteTextLayout3_Vtbl, 0x07ddcd52_020e_4de8_ac33_6c953d83f92d); windows_core::imp::interface_hierarchy!(IDWriteTextLayout3, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1, IDWriteTextLayout2); impl IDWriteTextLayout3 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> windows_core::Result<()> { @@ -8724,7 +8724,7 @@ pub struct IDWriteTextLayout3_Vtbl { pub GetLineSpacing2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_LINE_SPACING) -> windows_core::HRESULT, pub GetLineMetrics2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DWRITE_LINE_METRICS1, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextLayout4, IDWriteTextLayout4_Vtbl, 0x05a9bf42_223f_4441_b5fb_8263685f55e9); +windows_core::imp::define_interface!(IDWriteTextLayout4, IDWriteTextLayout4_Vtbl, 0x05a9bf42_223f_4441_b5fb_8263685f55e9); windows_core::imp::interface_hierarchy!(IDWriteTextLayout4, windows_core::IUnknown, IDWriteTextFormat, IDWriteTextLayout, IDWriteTextLayout1, IDWriteTextLayout2, IDWriteTextLayout3); impl IDWriteTextLayout4 { pub unsafe fn SetTextAlignment(&self, textalignment: DWRITE_TEXT_ALIGNMENT) -> windows_core::Result<()> { @@ -9043,7 +9043,7 @@ pub struct IDWriteTextLayout4_Vtbl { pub GetAutomaticFontAxes: unsafe extern "system" fn(*mut core::ffi::c_void) -> DWRITE_AUTOMATIC_FONT_AXES, pub SetAutomaticFontAxes: unsafe extern "system" fn(*mut core::ffi::c_void, DWRITE_AUTOMATIC_FONT_AXES) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextRenderer, IDWriteTextRenderer_Vtbl, 0xef8a8135_5cc6_45fe_8825_c5a0724eb819); +windows_core::imp::define_interface!(IDWriteTextRenderer, IDWriteTextRenderer_Vtbl, 0xef8a8135_5cc6_45fe_8825_c5a0724eb819); windows_core::imp::interface_hierarchy!(IDWriteTextRenderer, windows_core::IUnknown, IDWritePixelSnapping); impl IDWriteTextRenderer { pub unsafe fn IsPixelSnappingDisabled(&self, clientdrawingcontext: Option<*const core::ffi::c_void>) -> windows_core::Result { @@ -9095,7 +9095,7 @@ pub struct IDWriteTextRenderer_Vtbl { pub DrawStrikethrough: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, f32, f32, *const DWRITE_STRIKETHROUGH, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DrawInlineObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, f32, f32, *mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTextRenderer1, IDWriteTextRenderer1_Vtbl, 0xd3e0e934_22a0_427e_aae4_7d9574b59db1); +windows_core::imp::define_interface!(IDWriteTextRenderer1, IDWriteTextRenderer1_Vtbl, 0xd3e0e934_22a0_427e_aae4_7d9574b59db1); windows_core::imp::interface_hierarchy!(IDWriteTextRenderer1, windows_core::IUnknown, IDWritePixelSnapping, IDWriteTextRenderer); impl IDWriteTextRenderer1 { pub unsafe fn IsPixelSnappingDisabled(&self, clientdrawingcontext: Option<*const core::ffi::c_void>) -> windows_core::Result { @@ -9174,7 +9174,7 @@ pub struct IDWriteTextRenderer1_Vtbl { pub DrawStrikethrough2: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, f32, f32, DWRITE_GLYPH_ORIENTATION_ANGLE, *const DWRITE_STRIKETHROUGH, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DrawInlineObject2: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, f32, f32, DWRITE_GLYPH_ORIENTATION_ANGLE, *mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDWriteTypography, IDWriteTypography_Vtbl, 0x55f1112b_1dc2_4b3c_9541_f46894ed85b6); +windows_core::imp::define_interface!(IDWriteTypography, IDWriteTypography_Vtbl, 0x55f1112b_1dc2_4b3c_9541_f46894ed85b6); windows_core::imp::interface_hierarchy!(IDWriteTypography, windows_core::IUnknown); impl IDWriteTypography { pub unsafe fn AddFontFeature(&self, fontfeature: DWRITE_FONT_FEATURE) -> windows_core::Result<()> { 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 9b7441b7c2..12afa448ee 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/mod.rs @@ -46,7 +46,7 @@ where let mut result__ = std::ptr::null_mut(); DXGIGetDebugInterface1(flags, &T::IID, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } -windows_core::imp::com_interface!(IDXGIAdapter, IDXGIAdapter_Vtbl, 0x2411e7e1_12ac_4ccf_bd14_9798e8534dc0); +windows_core::imp::define_interface!(IDXGIAdapter, IDXGIAdapter_Vtbl, 0x2411e7e1_12ac_4ccf_bd14_9798e8534dc0); windows_core::imp::interface_hierarchy!(IDXGIAdapter, windows_core::IUnknown, IDXGIObject); impl IDXGIAdapter { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -89,7 +89,7 @@ pub struct IDXGIAdapter_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_ADAPTER_DESC) -> windows_core::HRESULT, pub CheckInterfaceSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIAdapter1, IDXGIAdapter1_Vtbl, 0x29038f61_3839_4626_91fd_086879011a05); +windows_core::imp::define_interface!(IDXGIAdapter1, IDXGIAdapter1_Vtbl, 0x29038f61_3839_4626_91fd_086879011a05); windows_core::imp::interface_hierarchy!(IDXGIAdapter1, windows_core::IUnknown, IDXGIObject, IDXGIAdapter); impl IDXGIAdapter1 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -133,7 +133,7 @@ pub struct IDXGIAdapter1_Vtbl { pub base__: IDXGIAdapter_Vtbl, pub GetDesc1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_ADAPTER_DESC1) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIAdapter2, IDXGIAdapter2_Vtbl, 0x0aa1ae0a_fa0e_4b84_8644_e05ff8e5acb5); +windows_core::imp::define_interface!(IDXGIAdapter2, IDXGIAdapter2_Vtbl, 0x0aa1ae0a_fa0e_4b84_8644_e05ff8e5acb5); windows_core::imp::interface_hierarchy!(IDXGIAdapter2, windows_core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1); impl IDXGIAdapter2 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -180,7 +180,7 @@ pub struct IDXGIAdapter2_Vtbl { pub base__: IDXGIAdapter1_Vtbl, pub GetDesc2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_ADAPTER_DESC2) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIAdapter3, IDXGIAdapter3_Vtbl, 0x645967a4_1392_4310_a798_8053ce3e93fd); +windows_core::imp::define_interface!(IDXGIAdapter3, IDXGIAdapter3_Vtbl, 0x645967a4_1392_4310_a798_8053ce3e93fd); windows_core::imp::interface_hierarchy!(IDXGIAdapter3, windows_core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1, IDXGIAdapter2); impl IDXGIAdapter3 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -258,7 +258,7 @@ pub struct IDXGIAdapter3_Vtbl { pub RegisterVideoMemoryBudgetChangeNotificationEvent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *mut u32) -> windows_core::HRESULT, pub UnregisterVideoMemoryBudgetChangeNotification: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } -windows_core::imp::com_interface!(IDXGIAdapter4, IDXGIAdapter4_Vtbl, 0x3c8d99d1_4fbf_4181_a82c_af66bf7bd24e); +windows_core::imp::define_interface!(IDXGIAdapter4, IDXGIAdapter4_Vtbl, 0x3c8d99d1_4fbf_4181_a82c_af66bf7bd24e); windows_core::imp::interface_hierarchy!(IDXGIAdapter4, windows_core::IUnknown, IDXGIObject, IDXGIAdapter, IDXGIAdapter1, IDXGIAdapter2, IDXGIAdapter3); impl IDXGIAdapter4 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -334,7 +334,7 @@ pub struct IDXGIAdapter4_Vtbl { pub base__: IDXGIAdapter3_Vtbl, pub GetDesc3: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_ADAPTER_DESC3) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIDebug, IDXGIDebug_Vtbl, 0x119e7452_de9e_40fe_8806_88f90c12b441); +windows_core::imp::define_interface!(IDXGIDebug, IDXGIDebug_Vtbl, 0x119e7452_de9e_40fe_8806_88f90c12b441); windows_core::imp::interface_hierarchy!(IDXGIDebug, windows_core::IUnknown); impl IDXGIDebug { pub unsafe fn ReportLiveObjects(&self, apiid: windows_core::GUID, flags: DXGI_DEBUG_RLO_FLAGS) -> windows_core::Result<()> { @@ -348,7 +348,7 @@ pub struct IDXGIDebug_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ReportLiveObjects: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, DXGI_DEBUG_RLO_FLAGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIDebug1, IDXGIDebug1_Vtbl, 0xc5a05f0c_16f2_4adf_9f4d_a8c4d58ac550); +windows_core::imp::define_interface!(IDXGIDebug1, IDXGIDebug1_Vtbl, 0xc5a05f0c_16f2_4adf_9f4d_a8c4d58ac550); windows_core::imp::interface_hierarchy!(IDXGIDebug1, windows_core::IUnknown, IDXGIDebug); impl IDXGIDebug1 { pub unsafe fn ReportLiveObjects(&self, apiid: windows_core::GUID, flags: DXGI_DEBUG_RLO_FLAGS) -> windows_core::Result<()> { @@ -373,7 +373,7 @@ pub struct IDXGIDebug1_Vtbl { pub DisableLeakTrackingForThread: unsafe extern "system" fn(*mut core::ffi::c_void), pub IsLeakTrackingEnabledForThread: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IDXGIDecodeSwapChain, IDXGIDecodeSwapChain_Vtbl, 0x2633066b_4514_4c7a_8fd8_12ea98059d18); +windows_core::imp::define_interface!(IDXGIDecodeSwapChain, IDXGIDecodeSwapChain_Vtbl, 0x2633066b_4514_4c7a_8fd8_12ea98059d18); windows_core::imp::interface_hierarchy!(IDXGIDecodeSwapChain, windows_core::IUnknown); impl IDXGIDecodeSwapChain { pub unsafe fn PresentBuffer(&self, buffertopresent: u32, syncinterval: u32, flags: u32) -> windows_core::HRESULT { @@ -421,7 +421,7 @@ pub struct IDXGIDecodeSwapChain_Vtbl { pub SetColorSpace: unsafe extern "system" fn(*mut core::ffi::c_void, DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS) -> windows_core::HRESULT, pub GetColorSpace: unsafe extern "system" fn(*mut core::ffi::c_void) -> DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS, } -windows_core::imp::com_interface!(IDXGIDevice, IDXGIDevice_Vtbl, 0x54ec77fa_1377_44e6_8c32_88fd5f44c84c); +windows_core::imp::define_interface!(IDXGIDevice, IDXGIDevice_Vtbl, 0x54ec77fa_1377_44e6_8c32_88fd5f44c84c); windows_core::imp::interface_hierarchy!(IDXGIDevice, windows_core::IUnknown, IDXGIObject); impl IDXGIDevice { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -476,7 +476,7 @@ pub struct IDXGIDevice_Vtbl { pub SetGPUThreadPriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetGPUThreadPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIDevice1, IDXGIDevice1_Vtbl, 0x77db970f_6276_48ba_ba28_070143b4392c); +windows_core::imp::define_interface!(IDXGIDevice1, IDXGIDevice1_Vtbl, 0x77db970f_6276_48ba_ba28_070143b4392c); windows_core::imp::interface_hierarchy!(IDXGIDevice1, windows_core::IUnknown, IDXGIObject, IDXGIDevice); impl IDXGIDevice1 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -532,7 +532,7 @@ pub struct IDXGIDevice1_Vtbl { pub SetMaximumFrameLatency: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetMaximumFrameLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIDevice2, IDXGIDevice2_Vtbl, 0x05008617_fbfd_4051_a790_144884b4f6a9); +windows_core::imp::define_interface!(IDXGIDevice2, IDXGIDevice2_Vtbl, 0x05008617_fbfd_4051_a790_144884b4f6a9); windows_core::imp::interface_hierarchy!(IDXGIDevice2, windows_core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1); impl IDXGIDevice2 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -601,7 +601,7 @@ pub struct IDXGIDevice2_Vtbl { pub ReclaimResources: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub EnqueueSetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIDevice3, IDXGIDevice3_Vtbl, 0x6007896c_3244_4afd_bf18_a6d3beda5023); +windows_core::imp::define_interface!(IDXGIDevice3, IDXGIDevice3_Vtbl, 0x6007896c_3244_4afd_bf18_a6d3beda5023); windows_core::imp::interface_hierarchy!(IDXGIDevice3, windows_core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1, IDXGIDevice2); impl IDXGIDevice3 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -671,7 +671,7 @@ pub struct IDXGIDevice3_Vtbl { pub base__: IDXGIDevice2_Vtbl, pub Trim: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IDXGIDevice4, IDXGIDevice4_Vtbl, 0x95b4f95f_d8da_4ca4_9ee6_3b76d5968a10); +windows_core::imp::define_interface!(IDXGIDevice4, IDXGIDevice4_Vtbl, 0x95b4f95f_d8da_4ca4_9ee6_3b76d5968a10); windows_core::imp::interface_hierarchy!(IDXGIDevice4, windows_core::IUnknown, IDXGIObject, IDXGIDevice, IDXGIDevice1, IDXGIDevice2, IDXGIDevice3); impl IDXGIDevice4 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -748,7 +748,7 @@ pub struct IDXGIDevice4_Vtbl { pub OfferResources1: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void, DXGI_OFFER_RESOURCE_PRIORITY, u32) -> windows_core::HRESULT, pub ReclaimResources1: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void, *mut DXGI_RECLAIM_RESOURCE_RESULTS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIDeviceSubObject, IDXGIDeviceSubObject_Vtbl, 0x3d3e0379_f9de_4d58_bb6c_18d62992f1a6); +windows_core::imp::define_interface!(IDXGIDeviceSubObject, IDXGIDeviceSubObject_Vtbl, 0x3d3e0379_f9de_4d58_bb6c_18d62992f1a6); windows_core::imp::interface_hierarchy!(IDXGIDeviceSubObject, windows_core::IUnknown, IDXGIObject); impl IDXGIDeviceSubObject { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -785,7 +785,7 @@ pub struct IDXGIDeviceSubObject_Vtbl { pub base__: IDXGIObject_Vtbl, pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIDisplayControl, IDXGIDisplayControl_Vtbl, 0xea9dbf1a_c88e_4486_854a_98aa0138f30c); +windows_core::imp::define_interface!(IDXGIDisplayControl, IDXGIDisplayControl_Vtbl, 0xea9dbf1a_c88e_4486_854a_98aa0138f30c); windows_core::imp::interface_hierarchy!(IDXGIDisplayControl, windows_core::IUnknown); impl IDXGIDisplayControl { pub unsafe fn IsStereoEnabled(&self) -> super::super::Foundation::BOOL { @@ -806,7 +806,7 @@ pub struct IDXGIDisplayControl_Vtbl { pub IsStereoEnabled: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, pub SetStereoEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL), } -windows_core::imp::com_interface!(IDXGIFactory, IDXGIFactory_Vtbl, 0x7b7166ec_21c7_44ae_b21a_c9ae321ae369); +windows_core::imp::define_interface!(IDXGIFactory, IDXGIFactory_Vtbl, 0x7b7166ec_21c7_44ae_b21a_c9ae321ae369); windows_core::imp::interface_hierarchy!(IDXGIFactory, windows_core::IUnknown, IDXGIObject); impl IDXGIFactory { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -871,7 +871,7 @@ pub struct IDXGIFactory_Vtbl { CreateSwapChain: usize, pub CreateSoftwareAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HMODULE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIFactory1, IDXGIFactory1_Vtbl, 0x770aae78_f26f_4dba_a829_253c83d1b387); +windows_core::imp::define_interface!(IDXGIFactory1, IDXGIFactory1_Vtbl, 0x770aae78_f26f_4dba_a829_253c83d1b387); windows_core::imp::interface_hierarchy!(IDXGIFactory1, windows_core::IUnknown, IDXGIObject, IDXGIFactory); impl IDXGIFactory1 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -937,7 +937,7 @@ pub struct IDXGIFactory1_Vtbl { pub EnumAdapters1: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IDXGIFactory2, IDXGIFactory2_Vtbl, 0x50c83a1c_e072_4c48_87b0_3630fa36a6d0); +windows_core::imp::define_interface!(IDXGIFactory2, IDXGIFactory2_Vtbl, 0x50c83a1c_e072_4c48_87b0_3630fa36a6d0); windows_core::imp::interface_hierarchy!(IDXGIFactory2, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1); impl IDXGIFactory2 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -1094,7 +1094,7 @@ pub struct IDXGIFactory2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] CreateSwapChainForComposition: usize, } -windows_core::imp::com_interface!(IDXGIFactory3, IDXGIFactory3_Vtbl, 0x25483823_cd46_4c7d_86ca_47aa95b837bd); +windows_core::imp::define_interface!(IDXGIFactory3, IDXGIFactory3_Vtbl, 0x25483823_cd46_4c7d_86ca_47aa95b837bd); windows_core::imp::interface_hierarchy!(IDXGIFactory3, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2); impl IDXGIFactory3 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -1235,7 +1235,7 @@ pub struct IDXGIFactory3_Vtbl { pub base__: IDXGIFactory2_Vtbl, pub GetCreationFlags: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(IDXGIFactory4, IDXGIFactory4_Vtbl, 0x1bc6ea02_ef36_464f_bf0c_21ca39e5168a); +windows_core::imp::define_interface!(IDXGIFactory4, IDXGIFactory4_Vtbl, 0x1bc6ea02_ef36_464f_bf0c_21ca39e5168a); windows_core::imp::interface_hierarchy!(IDXGIFactory4, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3); impl IDXGIFactory4 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -1391,7 +1391,7 @@ pub struct IDXGIFactory4_Vtbl { pub EnumAdapterByLuid: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::LUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumWarpAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIFactory5, IDXGIFactory5_Vtbl, 0x7632e1f5_ee65_4dca_87fd_84cd75f8838d); +windows_core::imp::define_interface!(IDXGIFactory5, IDXGIFactory5_Vtbl, 0x7632e1f5_ee65_4dca_87fd_84cd75f8838d); windows_core::imp::interface_hierarchy!(IDXGIFactory5, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4); impl IDXGIFactory5 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -1549,7 +1549,7 @@ pub struct IDXGIFactory5_Vtbl { pub base__: IDXGIFactory4_Vtbl, pub CheckFeatureSupport: unsafe extern "system" fn(*mut core::ffi::c_void, DXGI_FEATURE, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIFactory6, IDXGIFactory6_Vtbl, 0xc1b6694f_ff09_44a9_b03c_77900a0a1d17); +windows_core::imp::define_interface!(IDXGIFactory6, IDXGIFactory6_Vtbl, 0xc1b6694f_ff09_44a9_b03c_77900a0a1d17); windows_core::imp::interface_hierarchy!(IDXGIFactory6, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4, IDXGIFactory5); impl IDXGIFactory6 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -1714,7 +1714,7 @@ pub struct IDXGIFactory6_Vtbl { pub base__: IDXGIFactory5_Vtbl, pub EnumAdapterByGpuPreference: unsafe extern "system" fn(*mut core::ffi::c_void, u32, DXGI_GPU_PREFERENCE, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIFactory7, IDXGIFactory7_Vtbl, 0xa4966eed_76db_44da_84c1_ee9a7afb20a8); +windows_core::imp::define_interface!(IDXGIFactory7, IDXGIFactory7_Vtbl, 0xa4966eed_76db_44da_84c1_ee9a7afb20a8); windows_core::imp::interface_hierarchy!(IDXGIFactory7, windows_core::IUnknown, IDXGIObject, IDXGIFactory, IDXGIFactory1, IDXGIFactory2, IDXGIFactory3, IDXGIFactory4, IDXGIFactory5, IDXGIFactory6); impl IDXGIFactory7 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -1890,7 +1890,7 @@ pub struct IDXGIFactory7_Vtbl { pub RegisterAdaptersChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *mut u32) -> windows_core::HRESULT, pub UnregisterAdaptersChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIFactoryMedia, IDXGIFactoryMedia_Vtbl, 0x41e7d1f2_a591_4f7b_a2e5_fa9c843e1c12); +windows_core::imp::define_interface!(IDXGIFactoryMedia, IDXGIFactoryMedia_Vtbl, 0x41e7d1f2_a591_4f7b_a2e5_fa9c843e1c12); windows_core::imp::interface_hierarchy!(IDXGIFactoryMedia, windows_core::IUnknown); impl IDXGIFactoryMedia { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1925,7 +1925,7 @@ pub struct IDXGIFactoryMedia_Vtbl { CreateSwapChainForCompositionSurfaceHandle: usize, pub CreateDecodeSwapChainForCompositionSurfaceHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::HANDLE, *const DXGI_DECODE_SWAP_CHAIN_DESC, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIInfoQueue, IDXGIInfoQueue_Vtbl, 0xd67441c7_672a_476f_9e82_cd55b44949ce); +windows_core::imp::define_interface!(IDXGIInfoQueue, IDXGIInfoQueue_Vtbl, 0xd67441c7_672a_476f_9e82_cd55b44949ce); windows_core::imp::interface_hierarchy!(IDXGIInfoQueue, windows_core::IUnknown); impl IDXGIInfoQueue { pub unsafe fn SetMessageCountLimit(&self, producer: windows_core::GUID, messagecountlimit: u64) -> windows_core::Result<()> { @@ -2101,7 +2101,7 @@ pub struct IDXGIInfoQueue_Vtbl { pub SetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, super::super::Foundation::BOOL), pub GetMuteDebugOutput: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IDXGIKeyedMutex, IDXGIKeyedMutex_Vtbl, 0x9d8e1289_d7b3_465f_8126_250e349af85d); +windows_core::imp::define_interface!(IDXGIKeyedMutex, IDXGIKeyedMutex_Vtbl, 0x9d8e1289_d7b3_465f_8126_250e349af85d); windows_core::imp::interface_hierarchy!(IDXGIKeyedMutex, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); impl IDXGIKeyedMutex { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -2145,7 +2145,7 @@ pub struct IDXGIKeyedMutex_Vtbl { pub AcquireSync: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32) -> windows_core::HRESULT, pub ReleaseSync: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIObject, IDXGIObject_Vtbl, 0xaec22fb8_76f3_4639_9be0_28eb43a67a2e); +windows_core::imp::define_interface!(IDXGIObject, IDXGIObject_Vtbl, 0xaec22fb8_76f3_4639_9be0_28eb43a67a2e); windows_core::imp::interface_hierarchy!(IDXGIObject, windows_core::IUnknown); impl IDXGIObject { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -2178,7 +2178,7 @@ pub struct IDXGIObject_Vtbl { pub GetPrivateData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetParent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIOutput, IDXGIOutput_Vtbl, 0xae02eedb_c735_4690_8d52_5a8dc20213aa); +windows_core::imp::define_interface!(IDXGIOutput, IDXGIOutput_Vtbl, 0xae02eedb_c735_4690_8d52_5a8dc20213aa); windows_core::imp::interface_hierarchy!(IDXGIOutput, windows_core::IUnknown, IDXGIObject); impl IDXGIOutput { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -2292,7 +2292,7 @@ pub struct IDXGIOutput_Vtbl { pub GetDisplaySurfaceData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFrameStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_FRAME_STATISTICS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIOutput1, IDXGIOutput1_Vtbl, 0x00cddea8_939b_4b83_a340_a685226666cc); +windows_core::imp::define_interface!(IDXGIOutput1, IDXGIOutput1_Vtbl, 0x00cddea8_939b_4b83_a340_a685226666cc); windows_core::imp::interface_hierarchy!(IDXGIOutput1, windows_core::IUnknown, IDXGIObject, IDXGIOutput); impl IDXGIOutput1 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -2410,7 +2410,7 @@ pub struct IDXGIOutput1_Vtbl { pub GetDisplaySurfaceData1: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DuplicateOutput: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIOutput2, IDXGIOutput2_Vtbl, 0x595e39d1_2724_4663_99b1_da969de28364); +windows_core::imp::define_interface!(IDXGIOutput2, IDXGIOutput2_Vtbl, 0x595e39d1_2724_4663_99b1_da969de28364); windows_core::imp::interface_hierarchy!(IDXGIOutput2, windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1); impl IDXGIOutput2 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -2522,7 +2522,7 @@ pub struct IDXGIOutput2_Vtbl { pub base__: IDXGIOutput1_Vtbl, pub SupportsOverlays: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IDXGIOutput3, IDXGIOutput3_Vtbl, 0x8a6bb301_7e7e_41f4_a8e0_5b32f7f99b18); +windows_core::imp::define_interface!(IDXGIOutput3, IDXGIOutput3_Vtbl, 0x8a6bb301_7e7e_41f4_a8e0_5b32f7f99b18); windows_core::imp::interface_hierarchy!(IDXGIOutput3, windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2); impl IDXGIOutput3 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -2645,7 +2645,7 @@ pub struct IDXGIOutput3_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] CheckOverlaySupport: usize, } -windows_core::imp::com_interface!(IDXGIOutput4, IDXGIOutput4_Vtbl, 0xdc7dca35_2196_414d_9f53_617884032a60); +windows_core::imp::define_interface!(IDXGIOutput4, IDXGIOutput4_Vtbl, 0xdc7dca35_2196_414d_9f53_617884032a60); windows_core::imp::interface_hierarchy!(IDXGIOutput4, windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3); impl IDXGIOutput4 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -2776,7 +2776,7 @@ pub struct IDXGIOutput4_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] CheckOverlayColorSpaceSupport: usize, } -windows_core::imp::com_interface!(IDXGIOutput5, IDXGIOutput5_Vtbl, 0x80a07424_ab52_42eb_833c_0c42fd282d98); +windows_core::imp::define_interface!(IDXGIOutput5, IDXGIOutput5_Vtbl, 0x80a07424_ab52_42eb_833c_0c42fd282d98); windows_core::imp::interface_hierarchy!(IDXGIOutput5, windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3, IDXGIOutput4); impl IDXGIOutput5 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -2915,7 +2915,7 @@ pub struct IDXGIOutput5_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] DuplicateOutput1: usize, } -windows_core::imp::com_interface!(IDXGIOutput6, IDXGIOutput6_Vtbl, 0x068346e8_aaec_4b84_add7_137f513f77a1); +windows_core::imp::define_interface!(IDXGIOutput6, IDXGIOutput6_Vtbl, 0x068346e8_aaec_4b84_add7_137f513f77a1); windows_core::imp::interface_hierarchy!(IDXGIOutput6, windows_core::IUnknown, IDXGIObject, IDXGIOutput, IDXGIOutput1, IDXGIOutput2, IDXGIOutput3, IDXGIOutput4, IDXGIOutput5); impl IDXGIOutput6 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3063,7 +3063,7 @@ pub struct IDXGIOutput6_Vtbl { GetDesc1: usize, pub CheckHardwareCompositionSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIOutputDuplication, IDXGIOutputDuplication_Vtbl, 0x191cfac3_a341_470d_b26e_a864f428319c); +windows_core::imp::define_interface!(IDXGIOutputDuplication, IDXGIOutputDuplication_Vtbl, 0x191cfac3_a341_470d_b26e_a864f428319c); windows_core::imp::interface_hierarchy!(IDXGIOutputDuplication, windows_core::IUnknown, IDXGIObject); impl IDXGIOutputDuplication { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3129,7 +3129,7 @@ pub struct IDXGIOutputDuplication_Vtbl { pub UnMapDesktopSurface: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseFrame: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIResource, IDXGIResource_Vtbl, 0x035f3ab4_482e_4e50_b41f_8a7f8bd8960b); +windows_core::imp::define_interface!(IDXGIResource, IDXGIResource_Vtbl, 0x035f3ab4_482e_4e50_b41f_8a7f8bd8960b); windows_core::imp::interface_hierarchy!(IDXGIResource, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); impl IDXGIResource { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3184,7 +3184,7 @@ pub struct IDXGIResource_Vtbl { pub SetEvictionPriority: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetEvictionPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGIResource1, IDXGIResource1_Vtbl, 0x30961379_4609_4a41_998e_54fe567ee0c1); +windows_core::imp::define_interface!(IDXGIResource1, IDXGIResource1_Vtbl, 0x30961379_4609_4a41_998e_54fe567ee0c1); windows_core::imp::interface_hierarchy!(IDXGIResource1, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGIResource); impl IDXGIResource1 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3252,7 +3252,7 @@ pub struct IDXGIResource1_Vtbl { #[cfg(not(feature = "Win32_Security"))] CreateSharedHandle: usize, } -windows_core::imp::com_interface!(IDXGISurface, IDXGISurface_Vtbl, 0xcafcb56c_6ac3_4889_bf47_9e23bbd260ec); +windows_core::imp::define_interface!(IDXGISurface, IDXGISurface_Vtbl, 0xcafcb56c_6ac3_4889_bf47_9e23bbd260ec); windows_core::imp::interface_hierarchy!(IDXGISurface, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); impl IDXGISurface { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3304,7 +3304,7 @@ pub struct IDXGISurface_Vtbl { pub Map: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_MAPPED_RECT, u32) -> windows_core::HRESULT, pub Unmap: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGISurface1, IDXGISurface1_Vtbl, 0x4ae63092_6327_4c1b_80ae_bfe12ea32b86); +windows_core::imp::define_interface!(IDXGISurface1, IDXGISurface1_Vtbl, 0x4ae63092_6327_4c1b_80ae_bfe12ea32b86); windows_core::imp::interface_hierarchy!(IDXGISurface1, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISurface); impl IDXGISurface1 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3366,7 +3366,7 @@ pub struct IDXGISurface1_Vtbl { GetDC: usize, pub ReleaseDC: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGISurface2, IDXGISurface2_Vtbl, 0xaba496dd_b617_4cb8_a866_bc44d7eb1fa2); +windows_core::imp::define_interface!(IDXGISurface2, IDXGISurface2_Vtbl, 0xaba496dd_b617_4cb8_a866_bc44d7eb1fa2); windows_core::imp::interface_hierarchy!(IDXGISurface2, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISurface, IDXGISurface1); impl IDXGISurface2 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3431,7 +3431,7 @@ pub struct IDXGISurface2_Vtbl { pub base__: IDXGISurface1_Vtbl, pub GetResource: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGISwapChain, IDXGISwapChain_Vtbl, 0x310d36a0_d2e7_4c0a_aa04_6a9d23b8886a); +windows_core::imp::define_interface!(IDXGISwapChain, IDXGISwapChain_Vtbl, 0x310d36a0_d2e7_4c0a_aa04_6a9d23b8886a); windows_core::imp::interface_hierarchy!(IDXGISwapChain, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject); impl IDXGISwapChain { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3529,7 +3529,7 @@ pub struct IDXGISwapChain_Vtbl { pub GetFrameStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_FRAME_STATISTICS) -> windows_core::HRESULT, pub GetLastPresentCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGISwapChain1, IDXGISwapChain1_Vtbl, 0x790a45f7_0d42_4876_983a_0a55cfe6f4aa); +windows_core::imp::define_interface!(IDXGISwapChain1, IDXGISwapChain1_Vtbl, 0x790a45f7_0d42_4876_983a_0a55cfe6f4aa); windows_core::imp::interface_hierarchy!(IDXGISwapChain1, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain); impl IDXGISwapChain1 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3676,7 +3676,7 @@ pub struct IDXGISwapChain1_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetRotation: usize, } -windows_core::imp::com_interface!(IDXGISwapChain2, IDXGISwapChain2_Vtbl, 0xa8be2ac4_199f_4946_b331_79599fb98de7); +windows_core::imp::define_interface!(IDXGISwapChain2, IDXGISwapChain2_Vtbl, 0xa8be2ac4_199f_4946_b331_79599fb98de7); windows_core::imp::interface_hierarchy!(IDXGISwapChain2, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1); impl IDXGISwapChain2 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3829,7 +3829,7 @@ pub struct IDXGISwapChain2_Vtbl { pub SetMatrixTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *const DXGI_MATRIX_3X2_F) -> windows_core::HRESULT, pub GetMatrixTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DXGI_MATRIX_3X2_F) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGISwapChain3, IDXGISwapChain3_Vtbl, 0x94d99bdb_f1f8_4ab0_b236_7da0170edab1); +windows_core::imp::define_interface!(IDXGISwapChain3, IDXGISwapChain3_Vtbl, 0x94d99bdb_f1f8_4ab0_b236_7da0170edab1); windows_core::imp::interface_hierarchy!(IDXGISwapChain3, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1, IDXGISwapChain2); impl IDXGISwapChain3 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -4004,7 +4004,7 @@ pub struct IDXGISwapChain3_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] ResizeBuffers1: usize, } -windows_core::imp::com_interface!(IDXGISwapChain4, IDXGISwapChain4_Vtbl, 0x3d585d5a_bd4a_489e_b1f4_3dbcb6452ffb); +windows_core::imp::define_interface!(IDXGISwapChain4, IDXGISwapChain4_Vtbl, 0x3d585d5a_bd4a_489e_b1f4_3dbcb6452ffb); windows_core::imp::interface_hierarchy!(IDXGISwapChain4, windows_core::IUnknown, IDXGIObject, IDXGIDeviceSubObject, IDXGISwapChain, IDXGISwapChain1, IDXGISwapChain2, IDXGISwapChain3); impl IDXGISwapChain4 { pub unsafe fn SetPrivateData(&self, name: *const windows_core::GUID, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -4170,7 +4170,7 @@ pub struct IDXGISwapChain4_Vtbl { pub base__: IDXGISwapChain3_Vtbl, pub SetHDRMetaData: unsafe extern "system" fn(*mut core::ffi::c_void, DXGI_HDR_METADATA_TYPE, u32, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGISwapChainMedia, IDXGISwapChainMedia_Vtbl, 0xdd95b90b_f05f_4f6a_bd65_25bfb264bd84); +windows_core::imp::define_interface!(IDXGISwapChainMedia, IDXGISwapChainMedia_Vtbl, 0xdd95b90b_f05f_4f6a_bd65_25bfb264bd84); windows_core::imp::interface_hierarchy!(IDXGISwapChainMedia, windows_core::IUnknown); impl IDXGISwapChainMedia { pub unsafe fn GetFrameStatisticsMedia(&self, pstats: *mut DXGI_FRAME_STATISTICS_MEDIA) -> windows_core::Result<()> { @@ -4192,7 +4192,7 @@ pub struct IDXGISwapChainMedia_Vtbl { pub SetPresentDuration: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub CheckPresentDurationSupport: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXGraphicsAnalysis, IDXGraphicsAnalysis_Vtbl, 0x9f251514_9d4d_4902_9d60_18988ab7d4b5); +windows_core::imp::define_interface!(IDXGraphicsAnalysis, IDXGraphicsAnalysis_Vtbl, 0x9f251514_9d4d_4902_9d60_18988ab7d4b5); windows_core::imp::interface_hierarchy!(IDXGraphicsAnalysis, windows_core::IUnknown); impl IDXGraphicsAnalysis { pub unsafe fn BeginCapture(&self) { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs index 578e4c08d6..4079330df9 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/mod.rs @@ -3422,7 +3422,7 @@ pub unsafe fn GdiplusStartup(token: *mut usize, input: *const GdiplusStartupInpu windows_targets::link!("gdiplus.dll" "system" fn GdiplusStartup(token : *mut usize, input : *const GdiplusStartupInput, output : *mut GdiplusStartupOutput) -> Status); GdiplusStartup(token, input, output) } -windows_core::imp::interface!(GdiplusAbort, GdiplusAbort_Vtbl); +windows_core::imp::define_interface!(GdiplusAbort, GdiplusAbort_Vtbl); impl GdiplusAbort { pub unsafe fn Abort(&self) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Abort)(windows_core::Interface::as_raw(self)).ok() @@ -3432,7 +3432,7 @@ impl GdiplusAbort { pub struct GdiplusAbort_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageBytes, IImageBytes_Vtbl, 0x025d1823_6c7d_447b_bbdb_a3cbc3dfa2fc); +windows_core::imp::define_interface!(IImageBytes, IImageBytes_Vtbl, 0x025d1823_6c7d_447b_bbdb_a3cbc3dfa2fc); windows_core::imp::interface_hierarchy!(IImageBytes, windows_core::IUnknown); impl IImageBytes { pub unsafe fn CountBytes(&self, pcb: *mut u32) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs index e988ded394..f92bf3b417 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IWICImageEncoder, IWICImageEncoder_Vtbl, 0x04c75bf8_3ce1_473b_acc5_3cc4f5e94999); +windows_core::imp::define_interface!(IWICImageEncoder, IWICImageEncoder_Vtbl, 0x04c75bf8_3ce1_473b_acc5_3cc4f5e94999); windows_core::imp::interface_hierarchy!(IWICImageEncoder, windows_core::IUnknown); impl IWICImageEncoder { #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common"))] @@ -42,7 +42,7 @@ pub struct IWICImageEncoder_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi_Common")))] WriteThumbnail: usize, } -windows_core::imp::com_interface!(IWICImagingFactory2, IWICImagingFactory2_Vtbl, 0x7b816b45_1996_4476_b132_de9e247c8af0); +windows_core::imp::define_interface!(IWICImagingFactory2, IWICImagingFactory2_Vtbl, 0x7b816b45_1996_4476_b132_de9e247c8af0); windows_core::imp::interface_hierarchy!(IWICImagingFactory2, windows_core::IUnknown, super::IWICImagingFactory); impl IWICImagingFactory2 { pub unsafe fn CreateDecoderFromFilename(&self, wzfilename: P0, pguidvendor: Option<*const windows_core::GUID>, dwdesiredaccess: super::super::super::Foundation::GENERIC_ACCESS_RIGHTS, metadataoptions: super::WICDecodeOptions) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs index 324b2e538f..37d3388bb4 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/mod.rs @@ -78,7 +78,7 @@ where windows_targets::link!("windowscodecs.dll" "system" fn WICSerializeMetadataContent(guidcontainerformat : *const windows_core::GUID, piwriter : * mut core::ffi::c_void, dwpersistoptions : u32, pistream : * mut core::ffi::c_void) -> windows_core::HRESULT); WICSerializeMetadataContent(guidcontainerformat, piwriter.into_param().abi(), dwpersistoptions, pistream.into_param().abi()).ok() } -windows_core::imp::com_interface!(IWICBitmap, IWICBitmap_Vtbl, 0x00000121_a8f2_4877_ba0a_fd2b6645fb94); +windows_core::imp::define_interface!(IWICBitmap, IWICBitmap_Vtbl, 0x00000121_a8f2_4877_ba0a_fd2b6645fb94); windows_core::imp::interface_hierarchy!(IWICBitmap, windows_core::IUnknown, IWICBitmapSource); impl IWICBitmap { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> windows_core::Result<()> { @@ -121,7 +121,7 @@ pub struct IWICBitmap_Vtbl { pub SetPalette: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetResolution: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapClipper, IWICBitmapClipper_Vtbl, 0xe4fbcf03_223d_4e81_9333_d635556dd1b5); +windows_core::imp::define_interface!(IWICBitmapClipper, IWICBitmapClipper_Vtbl, 0xe4fbcf03_223d_4e81_9333_d635556dd1b5); windows_core::imp::interface_hierarchy!(IWICBitmapClipper, windows_core::IUnknown, IWICBitmapSource); impl IWICBitmapClipper { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> windows_core::Result<()> { @@ -155,7 +155,7 @@ pub struct IWICBitmapClipper_Vtbl { pub base__: IWICBitmapSource_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const WICRect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapCodecInfo, IWICBitmapCodecInfo_Vtbl, 0xe87a44c4_b76e_4c47_8b09_298eb12a2714); +windows_core::imp::define_interface!(IWICBitmapCodecInfo, IWICBitmapCodecInfo_Vtbl, 0xe87a44c4_b76e_4c47_8b09_298eb12a2714); windows_core::imp::interface_hierarchy!(IWICBitmapCodecInfo, windows_core::IUnknown, IWICComponentInfo); impl IWICBitmapCodecInfo { pub unsafe fn GetComponentType(&self) -> windows_core::Result { @@ -248,7 +248,7 @@ pub struct IWICBitmapCodecInfo_Vtbl { pub DoesSupportMultiframe: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MatchesMimeType: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapCodecProgressNotification, IWICBitmapCodecProgressNotification_Vtbl, 0x64c1024e_c3cf_4462_8078_88c2b11c46d9); +windows_core::imp::define_interface!(IWICBitmapCodecProgressNotification, IWICBitmapCodecProgressNotification_Vtbl, 0x64c1024e_c3cf_4462_8078_88c2b11c46d9); windows_core::imp::interface_hierarchy!(IWICBitmapCodecProgressNotification, windows_core::IUnknown); impl IWICBitmapCodecProgressNotification { pub unsafe fn RegisterProgressNotification(&self, pfnprogressnotification: PFNProgressNotification, pvdata: Option<*const core::ffi::c_void>, dwprogressflags: u32) -> windows_core::Result<()> { @@ -260,7 +260,7 @@ pub struct IWICBitmapCodecProgressNotification_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RegisterProgressNotification: unsafe extern "system" fn(*mut core::ffi::c_void, PFNProgressNotification, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapDecoder, IWICBitmapDecoder_Vtbl, 0x9edde9e7_8dee_47ea_99df_e6faf2ed44bf); +windows_core::imp::define_interface!(IWICBitmapDecoder, IWICBitmapDecoder_Vtbl, 0x9edde9e7_8dee_47ea_99df_e6faf2ed44bf); windows_core::imp::interface_hierarchy!(IWICBitmapDecoder, windows_core::IUnknown); impl IWICBitmapDecoder { #[cfg(feature = "Win32_System_Com")] @@ -337,7 +337,7 @@ pub struct IWICBitmapDecoder_Vtbl { pub GetFrameCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetFrame: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapDecoderInfo, IWICBitmapDecoderInfo_Vtbl, 0xd8cd007f_d08f_4191_9bfc_236ea7f0e4b5); +windows_core::imp::define_interface!(IWICBitmapDecoderInfo, IWICBitmapDecoderInfo_Vtbl, 0xd8cd007f_d08f_4191_9bfc_236ea7f0e4b5); windows_core::imp::interface_hierarchy!(IWICBitmapDecoderInfo, windows_core::IUnknown, IWICComponentInfo, IWICBitmapCodecInfo); impl IWICBitmapDecoderInfo { pub unsafe fn GetComponentType(&self) -> windows_core::Result { @@ -439,7 +439,7 @@ pub struct IWICBitmapDecoderInfo_Vtbl { MatchesPattern: usize, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapEncoder, IWICBitmapEncoder_Vtbl, 0x00000103_a8f2_4877_ba0a_fd2b6645fb94); +windows_core::imp::define_interface!(IWICBitmapEncoder, IWICBitmapEncoder_Vtbl, 0x00000103_a8f2_4877_ba0a_fd2b6645fb94); windows_core::imp::interface_hierarchy!(IWICBitmapEncoder, windows_core::IUnknown); impl IWICBitmapEncoder { #[cfg(feature = "Win32_System_Com")] @@ -510,7 +510,7 @@ pub struct IWICBitmapEncoder_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMetadataQueryWriter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapEncoderInfo, IWICBitmapEncoderInfo_Vtbl, 0x94c9b4ee_a09f_4f92_8a1e_4a9bce7e76fb); +windows_core::imp::define_interface!(IWICBitmapEncoderInfo, IWICBitmapEncoderInfo_Vtbl, 0x94c9b4ee_a09f_4f92_8a1e_4a9bce7e76fb); windows_core::imp::interface_hierarchy!(IWICBitmapEncoderInfo, windows_core::IUnknown, IWICComponentInfo, IWICBitmapCodecInfo); impl IWICBitmapEncoderInfo { pub unsafe fn GetComponentType(&self) -> windows_core::Result { @@ -596,7 +596,7 @@ pub struct IWICBitmapEncoderInfo_Vtbl { pub base__: IWICBitmapCodecInfo_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapFlipRotator, IWICBitmapFlipRotator_Vtbl, 0x5009834f_2d6a_41ce_9e1b_17c5aff7a782); +windows_core::imp::define_interface!(IWICBitmapFlipRotator, IWICBitmapFlipRotator_Vtbl, 0x5009834f_2d6a_41ce_9e1b_17c5aff7a782); windows_core::imp::interface_hierarchy!(IWICBitmapFlipRotator, windows_core::IUnknown, IWICBitmapSource); impl IWICBitmapFlipRotator { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> windows_core::Result<()> { @@ -630,7 +630,7 @@ pub struct IWICBitmapFlipRotator_Vtbl { pub base__: IWICBitmapSource_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WICBitmapTransformOptions) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapFrameDecode, IWICBitmapFrameDecode_Vtbl, 0x3b16811b_6a43_4ec9_a813_3d930c13b940); +windows_core::imp::define_interface!(IWICBitmapFrameDecode, IWICBitmapFrameDecode_Vtbl, 0x3b16811b_6a43_4ec9_a813_3d930c13b940); windows_core::imp::interface_hierarchy!(IWICBitmapFrameDecode, windows_core::IUnknown, IWICBitmapSource); impl IWICBitmapFrameDecode { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> windows_core::Result<()> { @@ -671,7 +671,7 @@ pub struct IWICBitmapFrameDecode_Vtbl { pub GetColorContexts: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapFrameEncode, IWICBitmapFrameEncode_Vtbl, 0x00000105_a8f2_4877_ba0a_fd2b6645fb94); +windows_core::imp::define_interface!(IWICBitmapFrameEncode, IWICBitmapFrameEncode_Vtbl, 0x00000105_a8f2_4877_ba0a_fd2b6645fb94); windows_core::imp::interface_hierarchy!(IWICBitmapFrameEncode, windows_core::IUnknown); impl IWICBitmapFrameEncode { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -740,7 +740,7 @@ pub struct IWICBitmapFrameEncode_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMetadataQueryWriter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapLock, IWICBitmapLock_Vtbl, 0x00000123_a8f2_4877_ba0a_fd2b6645fb94); +windows_core::imp::define_interface!(IWICBitmapLock, IWICBitmapLock_Vtbl, 0x00000123_a8f2_4877_ba0a_fd2b6645fb94); windows_core::imp::interface_hierarchy!(IWICBitmapLock, windows_core::IUnknown); impl IWICBitmapLock { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> windows_core::Result<()> { @@ -766,7 +766,7 @@ pub struct IWICBitmapLock_Vtbl { pub GetDataPointer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub GetPixelFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapScaler, IWICBitmapScaler_Vtbl, 0x00000302_a8f2_4877_ba0a_fd2b6645fb94); +windows_core::imp::define_interface!(IWICBitmapScaler, IWICBitmapScaler_Vtbl, 0x00000302_a8f2_4877_ba0a_fd2b6645fb94); windows_core::imp::interface_hierarchy!(IWICBitmapScaler, windows_core::IUnknown, IWICBitmapSource); impl IWICBitmapScaler { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> windows_core::Result<()> { @@ -800,7 +800,7 @@ pub struct IWICBitmapScaler_Vtbl { pub base__: IWICBitmapSource_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, WICBitmapInterpolationMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapSource, IWICBitmapSource_Vtbl, 0x00000120_a8f2_4877_ba0a_fd2b6645fb94); +windows_core::imp::define_interface!(IWICBitmapSource, IWICBitmapSource_Vtbl, 0x00000120_a8f2_4877_ba0a_fd2b6645fb94); windows_core::imp::interface_hierarchy!(IWICBitmapSource, windows_core::IUnknown); impl IWICBitmapSource { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> windows_core::Result<()> { @@ -832,7 +832,7 @@ pub struct IWICBitmapSource_Vtbl { pub CopyPalette: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CopyPixels: unsafe extern "system" fn(*mut core::ffi::c_void, *const WICRect, u32, u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICBitmapSourceTransform, IWICBitmapSourceTransform_Vtbl, 0x3b16811b_6a43_4ec9_b713_3d5a0c13b940); +windows_core::imp::define_interface!(IWICBitmapSourceTransform, IWICBitmapSourceTransform_Vtbl, 0x3b16811b_6a43_4ec9_b713_3d5a0c13b940); windows_core::imp::interface_hierarchy!(IWICBitmapSourceTransform, windows_core::IUnknown); impl IWICBitmapSourceTransform { pub unsafe fn CopyPixels(&self, prc: *const WICRect, uiwidth: u32, uiheight: u32, pguiddstformat: *const windows_core::GUID, dsttransform: WICBitmapTransformOptions, nstride: u32, pbbuffer: &mut [u8]) -> windows_core::Result<()> { @@ -857,7 +857,7 @@ pub struct IWICBitmapSourceTransform_Vtbl { pub GetClosestPixelFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub DoesSupportTransform: unsafe extern "system" fn(*mut core::ffi::c_void, WICBitmapTransformOptions, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICColorContext, IWICColorContext_Vtbl, 0x3c613a02_34b2_44ea_9a7c_45aea9c6fd6d); +windows_core::imp::define_interface!(IWICColorContext, IWICColorContext_Vtbl, 0x3c613a02_34b2_44ea_9a7c_45aea9c6fd6d); windows_core::imp::interface_hierarchy!(IWICColorContext, windows_core::IUnknown); impl IWICColorContext { pub unsafe fn InitializeFromFilename(&self, wzfilename: P0) -> windows_core::Result<()> @@ -894,7 +894,7 @@ pub struct IWICColorContext_Vtbl { pub GetProfileBytes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub GetExifColorSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICColorTransform, IWICColorTransform_Vtbl, 0xb66f034f_d0e2_40ab_b436_6de39e321a94); +windows_core::imp::define_interface!(IWICColorTransform, IWICColorTransform_Vtbl, 0xb66f034f_d0e2_40ab_b436_6de39e321a94); windows_core::imp::interface_hierarchy!(IWICColorTransform, windows_core::IUnknown, IWICBitmapSource); impl IWICColorTransform { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> windows_core::Result<()> { @@ -930,7 +930,7 @@ pub struct IWICColorTransform_Vtbl { pub base__: IWICBitmapSource_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICComponentFactory, IWICComponentFactory_Vtbl, 0x412d0c3a_9650_44fa_af5b_dd2a06c8e8fb); +windows_core::imp::define_interface!(IWICComponentFactory, IWICComponentFactory_Vtbl, 0x412d0c3a_9650_44fa_af5b_dd2a06c8e8fb); windows_core::imp::interface_hierarchy!(IWICComponentFactory, windows_core::IUnknown, IWICImagingFactory); impl IWICComponentFactory { pub unsafe fn CreateDecoderFromFilename(&self, wzfilename: P0, pguidvendor: Option<*const windows_core::GUID>, dwdesiredaccess: super::super::Foundation::GENERIC_ACCESS_RIGHTS, metadataoptions: WICDecodeOptions) -> windows_core::Result @@ -1133,7 +1133,7 @@ pub struct IWICComponentFactory_Vtbl { #[cfg(not(all(feature = "Win32_System_Com_StructuredStorage", feature = "Win32_System_Variant")))] CreateEncoderPropertyBag: usize, } -windows_core::imp::com_interface!(IWICComponentInfo, IWICComponentInfo_Vtbl, 0x23bc3f0a_698b_4357_886b_f24d50671334); +windows_core::imp::define_interface!(IWICComponentInfo, IWICComponentInfo_Vtbl, 0x23bc3f0a_698b_4357_886b_f24d50671334); windows_core::imp::interface_hierarchy!(IWICComponentInfo, windows_core::IUnknown); impl IWICComponentInfo { pub unsafe fn GetComponentType(&self) -> windows_core::Result { @@ -1177,7 +1177,7 @@ pub struct IWICComponentInfo_Vtbl { pub GetSpecVersion: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICDdsDecoder, IWICDdsDecoder_Vtbl, 0x409cd537_8532_40cb_9774_e2feb2df4e9c); +windows_core::imp::define_interface!(IWICDdsDecoder, IWICDdsDecoder_Vtbl, 0x409cd537_8532_40cb_9774_e2feb2df4e9c); windows_core::imp::interface_hierarchy!(IWICDdsDecoder, windows_core::IUnknown); impl IWICDdsDecoder { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1198,7 +1198,7 @@ pub struct IWICDdsDecoder_Vtbl { GetParameters: usize, pub GetFrame: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICDdsEncoder, IWICDdsEncoder_Vtbl, 0x5cacdb4c_407e_41b3_b936_d0f010cd6732); +windows_core::imp::define_interface!(IWICDdsEncoder, IWICDdsEncoder_Vtbl, 0x5cacdb4c_407e_41b3_b936_d0f010cd6732); windows_core::imp::interface_hierarchy!(IWICDdsEncoder, windows_core::IUnknown); impl IWICDdsEncoder { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1226,7 +1226,7 @@ pub struct IWICDdsEncoder_Vtbl { GetParameters: usize, pub CreateNewFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICDdsFrameDecode, IWICDdsFrameDecode_Vtbl, 0x3d4c0c61_18a4_41e4_bd80_481a4fc9f464); +windows_core::imp::define_interface!(IWICDdsFrameDecode, IWICDdsFrameDecode_Vtbl, 0x3d4c0c61_18a4_41e4_bd80_481a4fc9f464); windows_core::imp::interface_hierarchy!(IWICDdsFrameDecode, windows_core::IUnknown); impl IWICDdsFrameDecode { pub unsafe fn GetSizeInBlocks(&self, pwidthinblocks: *mut u32, pheightinblocks: *mut u32) -> windows_core::Result<()> { @@ -1251,7 +1251,7 @@ pub struct IWICDdsFrameDecode_Vtbl { GetFormatInfo: usize, pub CopyBlocks: unsafe extern "system" fn(*mut core::ffi::c_void, *const WICRect, u32, u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICDevelopRaw, IWICDevelopRaw_Vtbl, 0xfbec5e44_f7be_4b65_b7f8_c0c81fef026d); +windows_core::imp::define_interface!(IWICDevelopRaw, IWICDevelopRaw_Vtbl, 0xfbec5e44_f7be_4b65_b7f8_c0c81fef026d); windows_core::imp::interface_hierarchy!(IWICDevelopRaw, windows_core::IUnknown, IWICBitmapSource, IWICBitmapFrameDecode); impl IWICDevelopRaw { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> windows_core::Result<()> { @@ -1439,7 +1439,7 @@ pub struct IWICDevelopRaw_Vtbl { pub GetRenderMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WICRawRenderMode) -> windows_core::HRESULT, pub SetNotificationCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICDevelopRawNotificationCallback, IWICDevelopRawNotificationCallback_Vtbl, 0x95c75a6e_3e8c_4ec2_85a8_aebcc551e59b); +windows_core::imp::define_interface!(IWICDevelopRawNotificationCallback, IWICDevelopRawNotificationCallback_Vtbl, 0x95c75a6e_3e8c_4ec2_85a8_aebcc551e59b); windows_core::imp::interface_hierarchy!(IWICDevelopRawNotificationCallback, windows_core::IUnknown); impl IWICDevelopRawNotificationCallback { pub unsafe fn Notify(&self, notificationmask: u32) -> windows_core::Result<()> { @@ -1451,7 +1451,7 @@ pub struct IWICDevelopRawNotificationCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICEnumMetadataItem, IWICEnumMetadataItem_Vtbl, 0xdc2bb46d_3f07_481e_8625_220c4aedbb33); +windows_core::imp::define_interface!(IWICEnumMetadataItem, IWICEnumMetadataItem_Vtbl, 0xdc2bb46d_3f07_481e_8625_220c4aedbb33); windows_core::imp::interface_hierarchy!(IWICEnumMetadataItem, windows_core::IUnknown); impl IWICEnumMetadataItem { pub unsafe fn Next(&self, celt: u32, rgeltschema: *mut windows_core::PROPVARIANT, rgeltid: *mut windows_core::PROPVARIANT, rgeltvalue: *mut windows_core::PROPVARIANT, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -1476,7 +1476,7 @@ pub struct IWICEnumMetadataItem_Vtbl { 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, } -windows_core::imp::com_interface!(IWICFastMetadataEncoder, IWICFastMetadataEncoder_Vtbl, 0xb84e2c09_78c9_4ac4_8bd3_524ae1663a2f); +windows_core::imp::define_interface!(IWICFastMetadataEncoder, IWICFastMetadataEncoder_Vtbl, 0xb84e2c09_78c9_4ac4_8bd3_524ae1663a2f); windows_core::imp::interface_hierarchy!(IWICFastMetadataEncoder, windows_core::IUnknown); impl IWICFastMetadataEncoder { pub unsafe fn Commit(&self) -> windows_core::Result<()> { @@ -1493,7 +1493,7 @@ pub struct IWICFastMetadataEncoder_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMetadataQueryWriter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICFormatConverter, IWICFormatConverter_Vtbl, 0x00000301_a8f2_4877_ba0a_fd2b6645fb94); +windows_core::imp::define_interface!(IWICFormatConverter, IWICFormatConverter_Vtbl, 0x00000301_a8f2_4877_ba0a_fd2b6645fb94); windows_core::imp::interface_hierarchy!(IWICFormatConverter, windows_core::IUnknown, IWICBitmapSource); impl IWICFormatConverter { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> windows_core::Result<()> { @@ -1533,7 +1533,7 @@ pub struct IWICFormatConverter_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, WICBitmapDitherType, *mut core::ffi::c_void, f64, WICBitmapPaletteType) -> windows_core::HRESULT, pub CanConvert: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICFormatConverterInfo, IWICFormatConverterInfo_Vtbl, 0x9f34fb65_13f4_4f15_bc57_3726b5e53d9f); +windows_core::imp::define_interface!(IWICFormatConverterInfo, IWICFormatConverterInfo_Vtbl, 0x9f34fb65_13f4_4f15_bc57_3726b5e53d9f); windows_core::imp::interface_hierarchy!(IWICFormatConverterInfo, windows_core::IUnknown, IWICComponentInfo); impl IWICFormatConverterInfo { pub unsafe fn GetComponentType(&self) -> windows_core::Result { @@ -1578,7 +1578,7 @@ pub struct IWICFormatConverterInfo_Vtbl { pub GetPixelFormats: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID, *mut u32) -> windows_core::HRESULT, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICImagingFactory, IWICImagingFactory_Vtbl, 0xec5ec8a9_c395_4314_9c77_54d7a935ff70); +windows_core::imp::define_interface!(IWICImagingFactory, IWICImagingFactory_Vtbl, 0xec5ec8a9_c395_4314_9c77_54d7a935ff70); windows_core::imp::interface_hierarchy!(IWICImagingFactory, windows_core::IUnknown); impl IWICImagingFactory { pub unsafe fn CreateDecoderFromFilename(&self, wzfilename: P0, pguidvendor: Option<*const windows_core::GUID>, dwdesiredaccess: super::super::Foundation::GENERIC_ACCESS_RIGHTS, metadataoptions: WICDecodeOptions) -> windows_core::Result @@ -1759,7 +1759,7 @@ pub struct IWICImagingFactory_Vtbl { pub CreateQueryWriter: 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 CreateQueryWriterFromReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICJpegFrameDecode, IWICJpegFrameDecode_Vtbl, 0x8939f66e_c46a_4c21_a9d1_98b327ce1679); +windows_core::imp::define_interface!(IWICJpegFrameDecode, IWICJpegFrameDecode_Vtbl, 0x8939f66e_c46a_4c21_a9d1_98b327ce1679); windows_core::imp::interface_hierarchy!(IWICJpegFrameDecode, windows_core::IUnknown); impl IWICJpegFrameDecode { pub unsafe fn DoesSupportIndexing(&self) -> windows_core::Result { @@ -1820,7 +1820,7 @@ pub struct IWICJpegFrameDecode_Vtbl { pub CopyScan: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub CopyMinimalStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICJpegFrameEncode, IWICJpegFrameEncode_Vtbl, 0x2f0c601f_d2c6_468c_abfa_49495d983ed1); +windows_core::imp::define_interface!(IWICJpegFrameEncode, IWICJpegFrameEncode_Vtbl, 0x2f0c601f_d2c6_468c_abfa_49495d983ed1); windows_core::imp::interface_hierarchy!(IWICJpegFrameEncode, windows_core::IUnknown); impl IWICJpegFrameEncode { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -1856,7 +1856,7 @@ pub struct IWICJpegFrameEncode_Vtbl { GetQuantizationTable: usize, pub WriteScan: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICMetadataBlockReader, IWICMetadataBlockReader_Vtbl, 0xfeaa2a8d_b3f3_43e4_b25c_d1de990a1ae1); +windows_core::imp::define_interface!(IWICMetadataBlockReader, IWICMetadataBlockReader_Vtbl, 0xfeaa2a8d_b3f3_43e4_b25c_d1de990a1ae1); windows_core::imp::interface_hierarchy!(IWICMetadataBlockReader, windows_core::IUnknown); impl IWICMetadataBlockReader { pub unsafe fn GetContainerFormat(&self) -> windows_core::Result { @@ -1888,7 +1888,7 @@ pub struct IWICMetadataBlockReader_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetEnumerator: usize, } -windows_core::imp::com_interface!(IWICMetadataBlockWriter, IWICMetadataBlockWriter_Vtbl, 0x08fb9676_b444_41e8_8dbe_6a53a542bff1); +windows_core::imp::define_interface!(IWICMetadataBlockWriter, IWICMetadataBlockWriter_Vtbl, 0x08fb9676_b444_41e8_8dbe_6a53a542bff1); windows_core::imp::interface_hierarchy!(IWICMetadataBlockWriter, windows_core::IUnknown, IWICMetadataBlockReader); impl IWICMetadataBlockWriter { pub unsafe fn GetContainerFormat(&self) -> windows_core::Result { @@ -1943,7 +1943,7 @@ pub struct IWICMetadataBlockWriter_Vtbl { pub SetWriterByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveWriterByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICMetadataHandlerInfo, IWICMetadataHandlerInfo_Vtbl, 0xaba958bf_c672_44d1_8d61_ce6df2e682c2); +windows_core::imp::define_interface!(IWICMetadataHandlerInfo, IWICMetadataHandlerInfo_Vtbl, 0xaba958bf_c672_44d1_8d61_ce6df2e682c2); windows_core::imp::interface_hierarchy!(IWICMetadataHandlerInfo, windows_core::IUnknown, IWICComponentInfo); impl IWICMetadataHandlerInfo { pub unsafe fn GetComponentType(&self) -> windows_core::Result { @@ -2011,7 +2011,7 @@ pub struct IWICMetadataHandlerInfo_Vtbl { pub DoesSupportPadding: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub DoesRequireFixedSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICMetadataQueryReader, IWICMetadataQueryReader_Vtbl, 0x30989668_e1c9_4597_b395_458eedb808df); +windows_core::imp::define_interface!(IWICMetadataQueryReader, IWICMetadataQueryReader_Vtbl, 0x30989668_e1c9_4597_b395_458eedb808df); windows_core::imp::interface_hierarchy!(IWICMetadataQueryReader, windows_core::IUnknown); impl IWICMetadataQueryReader { pub unsafe fn GetContainerFormat(&self) -> windows_core::Result { @@ -2044,7 +2044,7 @@ pub struct IWICMetadataQueryReader_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetEnumerator: usize, } -windows_core::imp::com_interface!(IWICMetadataQueryWriter, IWICMetadataQueryWriter_Vtbl, 0xa721791a_0def_4d06_bd91_2118bf1db10b); +windows_core::imp::define_interface!(IWICMetadataQueryWriter, IWICMetadataQueryWriter_Vtbl, 0xa721791a_0def_4d06_bd91_2118bf1db10b); windows_core::imp::interface_hierarchy!(IWICMetadataQueryWriter, windows_core::IUnknown, IWICMetadataQueryReader); impl IWICMetadataQueryWriter { pub unsafe fn GetContainerFormat(&self) -> windows_core::Result { @@ -2084,7 +2084,7 @@ pub struct IWICMetadataQueryWriter_Vtbl { pub SetMetadataByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const std::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::com_interface!(IWICMetadataReader, IWICMetadataReader_Vtbl, 0x9204fe99_d8fc_4fd5_a001_9536b067a899); +windows_core::imp::define_interface!(IWICMetadataReader, IWICMetadataReader_Vtbl, 0x9204fe99_d8fc_4fd5_a001_9536b067a899); windows_core::imp::interface_hierarchy!(IWICMetadataReader, windows_core::IUnknown); impl IWICMetadataReader { pub unsafe fn GetMetadataFormat(&self) -> windows_core::Result { @@ -2120,7 +2120,7 @@ pub struct IWICMetadataReader_Vtbl { 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 GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICMetadataReaderInfo, IWICMetadataReaderInfo_Vtbl, 0xeebf1f5b_07c1_4447_a3ab_22acaf78a804); +windows_core::imp::define_interface!(IWICMetadataReaderInfo, IWICMetadataReaderInfo_Vtbl, 0xeebf1f5b_07c1_4447_a3ab_22acaf78a804); windows_core::imp::interface_hierarchy!(IWICMetadataReaderInfo, windows_core::IUnknown, IWICComponentInfo, IWICMetadataHandlerInfo); impl IWICMetadataReaderInfo { pub unsafe fn GetComponentType(&self) -> windows_core::Result { @@ -2202,7 +2202,7 @@ pub struct IWICMetadataReaderInfo_Vtbl { MatchesPattern: usize, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICMetadataWriter, IWICMetadataWriter_Vtbl, 0xf7836e16_3be0_470b_86bb_160d0aecd7de); +windows_core::imp::define_interface!(IWICMetadataWriter, IWICMetadataWriter_Vtbl, 0xf7836e16_3be0_470b_86bb_160d0aecd7de); windows_core::imp::interface_hierarchy!(IWICMetadataWriter, windows_core::IUnknown, IWICMetadataReader); impl IWICMetadataWriter { pub unsafe fn GetMetadataFormat(&self) -> windows_core::Result { @@ -2248,7 +2248,7 @@ pub struct IWICMetadataWriter_Vtbl { pub RemoveValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoveValueByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICMetadataWriterInfo, IWICMetadataWriterInfo_Vtbl, 0xb22e3fba_3925_4323_b5c1_9ebfc430f236); +windows_core::imp::define_interface!(IWICMetadataWriterInfo, IWICMetadataWriterInfo_Vtbl, 0xb22e3fba_3925_4323_b5c1_9ebfc430f236); windows_core::imp::interface_hierarchy!(IWICMetadataWriterInfo, windows_core::IUnknown, IWICComponentInfo, IWICMetadataHandlerInfo); impl IWICMetadataWriterInfo { pub unsafe fn GetComponentType(&self) -> windows_core::Result { @@ -2318,7 +2318,7 @@ pub struct IWICMetadataWriterInfo_Vtbl { pub GetHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut WICMetadataHeader, *mut u32) -> windows_core::HRESULT, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICPalette, IWICPalette_Vtbl, 0x00000040_a8f2_4877_ba0a_fd2b6645fb94); +windows_core::imp::define_interface!(IWICPalette, IWICPalette_Vtbl, 0x00000040_a8f2_4877_ba0a_fd2b6645fb94); windows_core::imp::interface_hierarchy!(IWICPalette, windows_core::IUnknown); impl IWICPalette { pub unsafe fn InitializePredefined(&self, epalettetype: WICBitmapPaletteType, faddtransparentcolor: P0) -> windows_core::Result<()> @@ -2382,7 +2382,7 @@ pub struct IWICPalette_Vtbl { pub HasAlpha: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWICPersistStream, IWICPersistStream_Vtbl, 0x00675040_6908_45f8_86a3_49c7dfd6d9ad); +windows_core::imp::define_interface!(IWICPersistStream, IWICPersistStream_Vtbl, 0x00675040_6908_45f8_86a3_49c7dfd6d9ad); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWICPersistStream, windows_core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistStream); #[cfg(feature = "Win32_System_Com")] @@ -2445,7 +2445,7 @@ pub struct IWICPersistStream_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SaveEx: usize, } -windows_core::imp::com_interface!(IWICPixelFormatInfo, IWICPixelFormatInfo_Vtbl, 0xe8eda601_3d48_431a_ab44_69059be88bbe); +windows_core::imp::define_interface!(IWICPixelFormatInfo, IWICPixelFormatInfo_Vtbl, 0xe8eda601_3d48_431a_ab44_69059be88bbe); windows_core::imp::interface_hierarchy!(IWICPixelFormatInfo, windows_core::IUnknown, IWICComponentInfo); impl IWICPixelFormatInfo { pub unsafe fn GetComponentType(&self) -> windows_core::Result { @@ -2505,7 +2505,7 @@ pub struct IWICPixelFormatInfo_Vtbl { pub GetChannelCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetChannelMask: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICPixelFormatInfo2, IWICPixelFormatInfo2_Vtbl, 0xa9db33a2_af5f_43c7_b679_74f5984b5aa4); +windows_core::imp::define_interface!(IWICPixelFormatInfo2, IWICPixelFormatInfo2_Vtbl, 0xa9db33a2_af5f_43c7_b679_74f5984b5aa4); windows_core::imp::interface_hierarchy!(IWICPixelFormatInfo2, windows_core::IUnknown, IWICComponentInfo, IWICPixelFormatInfo); impl IWICPixelFormatInfo2 { pub unsafe fn GetComponentType(&self) -> windows_core::Result { @@ -2570,7 +2570,7 @@ pub struct IWICPixelFormatInfo2_Vtbl { pub SupportsTransparency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetNumericRepresentation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WICPixelFormatNumericRepresentation) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICPlanarBitmapFrameEncode, IWICPlanarBitmapFrameEncode_Vtbl, 0xf928b7b8_2221_40c1_b72e_7e82f1974d1a); +windows_core::imp::define_interface!(IWICPlanarBitmapFrameEncode, IWICPlanarBitmapFrameEncode_Vtbl, 0xf928b7b8_2221_40c1_b72e_7e82f1974d1a); windows_core::imp::interface_hierarchy!(IWICPlanarBitmapFrameEncode, windows_core::IUnknown); impl IWICPlanarBitmapFrameEncode { pub unsafe fn WritePixels(&self, linecount: u32, pplanes: &[WICBitmapPlane]) -> windows_core::Result<()> { @@ -2586,7 +2586,7 @@ pub struct IWICPlanarBitmapFrameEncode_Vtbl { pub WritePixels: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const WICBitmapPlane, u32) -> windows_core::HRESULT, pub WriteSource: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, u32, *const WICRect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICPlanarBitmapSourceTransform, IWICPlanarBitmapSourceTransform_Vtbl, 0x3aff9cce_be95_4303_b927_e7d16ff4a613); +windows_core::imp::define_interface!(IWICPlanarBitmapSourceTransform, IWICPlanarBitmapSourceTransform_Vtbl, 0x3aff9cce_be95_4303_b927_e7d16ff4a613); windows_core::imp::interface_hierarchy!(IWICPlanarBitmapSourceTransform, windows_core::IUnknown); impl IWICPlanarBitmapSourceTransform { pub unsafe fn DoesSupportTransform(&self, puiwidth: *mut u32, puiheight: *mut u32, dsttransform: WICBitmapTransformOptions, dstplanaroptions: WICPlanarOptions, pguiddstformats: *const windows_core::GUID, pplanedescriptions: *mut WICBitmapPlaneDescription, cplanes: u32, pfissupported: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -2602,7 +2602,7 @@ pub struct IWICPlanarBitmapSourceTransform_Vtbl { pub DoesSupportTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, WICBitmapTransformOptions, WICPlanarOptions, *const windows_core::GUID, *mut WICBitmapPlaneDescription, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CopyPixels: unsafe extern "system" fn(*mut core::ffi::c_void, *const WICRect, u32, u32, WICBitmapTransformOptions, WICPlanarOptions, *const WICBitmapPlane, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICPlanarFormatConverter, IWICPlanarFormatConverter_Vtbl, 0xbebee9cb_83b0_4dcc_8132_b0aaa55eac96); +windows_core::imp::define_interface!(IWICPlanarFormatConverter, IWICPlanarFormatConverter_Vtbl, 0xbebee9cb_83b0_4dcc_8132_b0aaa55eac96); windows_core::imp::interface_hierarchy!(IWICPlanarFormatConverter, windows_core::IUnknown, IWICBitmapSource); impl IWICPlanarFormatConverter { pub unsafe fn GetSize(&self, puiwidth: *mut u32, puiheight: *mut u32) -> windows_core::Result<()> { @@ -2641,7 +2641,7 @@ pub struct IWICPlanarFormatConverter_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, u32, *const windows_core::GUID, WICBitmapDitherType, *mut core::ffi::c_void, f64, WICBitmapPaletteType) -> windows_core::HRESULT, pub CanConvert: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICProgressCallback, IWICProgressCallback_Vtbl, 0x4776f9cd_9517_45fa_bf24_e89c5ec5c60c); +windows_core::imp::define_interface!(IWICProgressCallback, IWICProgressCallback_Vtbl, 0x4776f9cd_9517_45fa_bf24_e89c5ec5c60c); windows_core::imp::interface_hierarchy!(IWICProgressCallback, windows_core::IUnknown); impl IWICProgressCallback { pub unsafe fn Notify(&self, uframenum: u32, operation: WICProgressOperation, dblprogress: f64) -> windows_core::Result<()> { @@ -2653,7 +2653,7 @@ pub struct IWICProgressCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, WICProgressOperation, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWICProgressiveLevelControl, IWICProgressiveLevelControl_Vtbl, 0xdaac296f_7aa5_4dbf_8d15_225c5976f891); +windows_core::imp::define_interface!(IWICProgressiveLevelControl, IWICProgressiveLevelControl_Vtbl, 0xdaac296f_7aa5_4dbf_8d15_225c5976f891); windows_core::imp::interface_hierarchy!(IWICProgressiveLevelControl, windows_core::IUnknown); impl IWICProgressiveLevelControl { pub unsafe fn GetLevelCount(&self) -> windows_core::Result { @@ -2676,7 +2676,7 @@ pub struct IWICProgressiveLevelControl_Vtbl { pub SetCurrentLevel: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWICStream, IWICStream_Vtbl, 0x135ff860_22b7_4ddf_b0f6_218f4f299a43); +windows_core::imp::define_interface!(IWICStream, IWICStream_Vtbl, 0x135ff860_22b7_4ddf_b0f6_218f4f299a43); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWICStream, windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] @@ -2768,7 +2768,7 @@ pub struct IWICStream_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] InitializeFromIStreamRegion: usize, } -windows_core::imp::com_interface!(IWICStreamProvider, IWICStreamProvider_Vtbl, 0x449494bc_b468_4927_96d7_ba90d31ab505); +windows_core::imp::define_interface!(IWICStreamProvider, IWICStreamProvider_Vtbl, 0x449494bc_b468_4927_96d7_ba90d31ab505); windows_core::imp::interface_hierarchy!(IWICStreamProvider, windows_core::IUnknown); impl IWICStreamProvider { #[cfg(feature = "Win32_System_Com")] 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 8f9544ef45..9b86bce271 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs @@ -1841,7 +1841,7 @@ where windows_targets::link!("winspool.drv" "system" fn XcvDataW(hxcv : super::super::Foundation:: HANDLE, pszdataname : windows_core::PCWSTR, pinputdata : *const u8, cbinputdata : u32, poutputdata : *mut u8, cboutputdata : u32, pcboutputneeded : *mut u32, pdwstatus : *mut u32) -> super::super::Foundation:: BOOL); XcvDataW(hxcv.into_param().abi(), pszdataname.into_param().abi(), core::mem::transmute(pinputdata.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), pinputdata.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), core::mem::transmute(poutputdata.as_deref().map_or(core::ptr::null(), |slice| slice.as_ptr())), poutputdata.as_deref().map_or(0, |slice| slice.len().try_into().unwrap()), pcboutputneeded, core::mem::transmute(pdwstatus.unwrap_or(std::ptr::null_mut()))) } -windows_core::imp::com_interface!(IAsyncGetSendNotificationCookie, IAsyncGetSendNotificationCookie_Vtbl, 0); +windows_core::imp::define_interface!(IAsyncGetSendNotificationCookie, IAsyncGetSendNotificationCookie_Vtbl, 0); windows_core::imp::interface_hierarchy!(IAsyncGetSendNotificationCookie, windows_core::IUnknown, IPrintAsyncCookie); impl IAsyncGetSendNotificationCookie { pub unsafe fn FinishAsyncCall(&self, param0: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1863,7 +1863,7 @@ pub struct IAsyncGetSendNotificationCookie_Vtbl { pub base__: IPrintAsyncCookie_Vtbl, pub FinishAsyncCallWithData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAsyncGetSrvReferralCookie, IAsyncGetSrvReferralCookie_Vtbl, 0); +windows_core::imp::define_interface!(IAsyncGetSrvReferralCookie, IAsyncGetSrvReferralCookie_Vtbl, 0); windows_core::imp::interface_hierarchy!(IAsyncGetSrvReferralCookie, windows_core::IUnknown); impl IAsyncGetSrvReferralCookie { pub unsafe fn FinishAsyncCall(&self, param0: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1886,7 +1886,7 @@ pub struct IAsyncGetSrvReferralCookie_Vtbl { pub CancelAsyncCall: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, pub FinishAsyncCallWithData: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBidiAsyncNotifyChannel, IBidiAsyncNotifyChannel_Vtbl, 0x532818f7_921b_4fb2_bff8_2f4fd52ebebf); +windows_core::imp::define_interface!(IBidiAsyncNotifyChannel, IBidiAsyncNotifyChannel_Vtbl, 0x532818f7_921b_4fb2_bff8_2f4fd52ebebf); windows_core::imp::interface_hierarchy!(IBidiAsyncNotifyChannel, windows_core::IUnknown, IPrintAsyncNotifyChannel); impl IBidiAsyncNotifyChannel { pub unsafe fn SendNotification(&self, pdata: P0) -> windows_core::Result<()> @@ -1934,7 +1934,7 @@ pub struct IBidiAsyncNotifyChannel_Vtbl { pub AsyncGetNotificationSendResponse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AsyncCloseChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBidiRequest, IBidiRequest_Vtbl, 0x8f348bd7_4b47_4755_8a9d_0f422df3dc89); +windows_core::imp::define_interface!(IBidiRequest, IBidiRequest_Vtbl, 0x8f348bd7_4b47_4755_8a9d_0f422df3dc89); windows_core::imp::interface_hierarchy!(IBidiRequest, windows_core::IUnknown); impl IBidiRequest { pub unsafe fn SetSchema(&self, pszschema: P0) -> windows_core::Result<()> @@ -1967,7 +1967,7 @@ pub struct IBidiRequest_Vtbl { pub GetOutputData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR, *mut u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub GetEnumCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBidiRequestContainer, IBidiRequestContainer_Vtbl, 0xd752f6c0_94a8_4275_a77d_8f1d1a1121ae); +windows_core::imp::define_interface!(IBidiRequestContainer, IBidiRequestContainer_Vtbl, 0xd752f6c0_94a8_4275_a77d_8f1d1a1121ae); windows_core::imp::interface_hierarchy!(IBidiRequestContainer, windows_core::IUnknown); impl IBidiRequestContainer { pub unsafe fn AddRequest(&self, prequest: P0) -> windows_core::Result<()> @@ -1996,7 +1996,7 @@ pub struct IBidiRequestContainer_Vtbl { GetEnumObject: usize, pub GetRequestCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBidiSpl, IBidiSpl_Vtbl, 0xd580dc0e_de39_4649_baa8_bf0b85a03a97); +windows_core::imp::define_interface!(IBidiSpl, IBidiSpl_Vtbl, 0xd580dc0e_de39_4649_baa8_bf0b85a03a97); windows_core::imp::interface_hierarchy!(IBidiSpl, windows_core::IUnknown); impl IBidiSpl { pub unsafe fn BindDevice(&self, pszdevicename: P0, dwaccess: u32) -> windows_core::Result<()> @@ -2031,7 +2031,7 @@ pub struct IBidiSpl_Vtbl { pub SendRecv: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, pub MultiSendRecv: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBidiSpl2, IBidiSpl2_Vtbl, 0x0e8f51b8_8273_4906_8e7b_be453ffd2e2b); +windows_core::imp::define_interface!(IBidiSpl2, IBidiSpl2_Vtbl, 0x0e8f51b8_8273_4906_8e7b_be453ffd2e2b); windows_core::imp::interface_hierarchy!(IBidiSpl2, windows_core::IUnknown); impl IBidiSpl2 { pub unsafe fn BindDevice(&self, pszdevicename: P0, dwaccess: u32) -> windows_core::Result<()> @@ -2070,7 +2070,7 @@ pub struct IBidiSpl2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SendRecvXMLStream: usize, } -windows_core::imp::com_interface!(IFixedDocument, IFixedDocument_Vtbl, 0xf222ca9f_9968_4db9_81bd_abaebf15f93f); +windows_core::imp::define_interface!(IFixedDocument, IFixedDocument_Vtbl, 0xf222ca9f_9968_4db9_81bd_abaebf15f93f); windows_core::imp::interface_hierarchy!(IFixedDocument, windows_core::IUnknown); impl IFixedDocument { pub unsafe fn GetUri(&self) -> windows_core::Result { @@ -2095,7 +2095,7 @@ pub struct IFixedDocument_Vtbl { 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, } -windows_core::imp::com_interface!(IFixedDocumentSequence, IFixedDocumentSequence_Vtbl, 0x8028d181_2c32_4249_8493_1bfb22045574); +windows_core::imp::define_interface!(IFixedDocumentSequence, IFixedDocumentSequence_Vtbl, 0x8028d181_2c32_4249_8493_1bfb22045574); windows_core::imp::interface_hierarchy!(IFixedDocumentSequence, windows_core::IUnknown); impl IFixedDocumentSequence { pub unsafe fn GetUri(&self) -> windows_core::Result { @@ -2120,7 +2120,7 @@ pub struct IFixedDocumentSequence_Vtbl { 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, } -windows_core::imp::com_interface!(IFixedPage, IFixedPage_Vtbl, 0x3d9f6448_7e95_4cb5_94fb_0180c2883a57); +windows_core::imp::define_interface!(IFixedPage, IFixedPage_Vtbl, 0x3d9f6448_7e95_4cb5_94fb_0180c2883a57); windows_core::imp::interface_hierarchy!(IFixedPage, windows_core::IUnknown, IPartBase); impl IFixedPage { pub unsafe fn GetUri(&self) -> windows_core::Result { @@ -2188,7 +2188,7 @@ pub struct IFixedPage_Vtbl { pub GetXpsPartIterator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IImgCreateErrorInfo, IImgCreateErrorInfo_Vtbl, 0x1c55a64c_07cd_4fb5_90f7_b753d91f0c9e); +windows_core::imp::define_interface!(IImgCreateErrorInfo, IImgCreateErrorInfo_Vtbl, 0x1c55a64c_07cd_4fb5_90f7_b753d91f0c9e); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IImgCreateErrorInfo, windows_core::IUnknown, super::super::System::Ole::ICreateErrorInfo); #[cfg(feature = "Win32_System_Ole")] @@ -2233,7 +2233,7 @@ pub struct IImgCreateErrorInfo_Vtbl { pub AttachToErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ImgErrorInfo) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IImgErrorInfo, IImgErrorInfo_Vtbl, 0x2bce4ece_d30e_445a_9423_6829be945ad8); +windows_core::imp::define_interface!(IImgErrorInfo, IImgErrorInfo_Vtbl, 0x2bce4ece_d30e_445a_9423_6829be945ad8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IImgErrorInfo, windows_core::IUnknown, super::super::System::Com::IErrorInfo); #[cfg(feature = "Win32_System_Com")] @@ -2303,7 +2303,7 @@ pub struct IImgErrorInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IInterFilterCommunicator, IInterFilterCommunicator_Vtbl, 0x4daf1e69_81fd_462d_940f_8cd3ddf56fca); +windows_core::imp::define_interface!(IInterFilterCommunicator, IInterFilterCommunicator_Vtbl, 0x4daf1e69_81fd_462d_940f_8cd3ddf56fca); windows_core::imp::interface_hierarchy!(IInterFilterCommunicator, windows_core::IUnknown); impl IInterFilterCommunicator { pub unsafe fn RequestReader(&self, ppireader: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -2319,7 +2319,7 @@ pub struct IInterFilterCommunicator_Vtbl { pub RequestReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestWriter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPartBase, IPartBase_Vtbl, 0x36d51e28_369e_43ba_a666_9540c62c3f58); +windows_core::imp::define_interface!(IPartBase, IPartBase_Vtbl, 0x36d51e28_369e_43ba_a666_9540c62c3f58); windows_core::imp::interface_hierarchy!(IPartBase, windows_core::IUnknown); impl IPartBase { pub unsafe fn GetUri(&self) -> windows_core::Result { @@ -2346,7 +2346,7 @@ pub struct IPartBase_Vtbl { 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, } -windows_core::imp::com_interface!(IPartColorProfile, IPartColorProfile_Vtbl, 0x63cca95b_7d18_4762_b15e_98658693d24a); +windows_core::imp::define_interface!(IPartColorProfile, IPartColorProfile_Vtbl, 0x63cca95b_7d18_4762_b15e_98658693d24a); windows_core::imp::interface_hierarchy!(IPartColorProfile, windows_core::IUnknown, IPartBase); impl IPartColorProfile { pub unsafe fn GetUri(&self) -> windows_core::Result { @@ -2369,7 +2369,7 @@ impl IPartColorProfile { pub struct IPartColorProfile_Vtbl { pub base__: IPartBase_Vtbl, } -windows_core::imp::com_interface!(IPartDiscardControl, IPartDiscardControl_Vtbl, 0xcc350c00_095b_42a5_bf0f_c8780edadb3c); +windows_core::imp::define_interface!(IPartDiscardControl, IPartDiscardControl_Vtbl, 0xcc350c00_095b_42a5_bf0f_c8780edadb3c); windows_core::imp::interface_hierarchy!(IPartDiscardControl, windows_core::IUnknown); impl IPartDiscardControl { pub unsafe fn GetDiscardProperties(&self, urisentinelpage: *mut windows_core::BSTR, uriparttodiscard: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -2381,7 +2381,7 @@ 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, } -windows_core::imp::com_interface!(IPartFont, IPartFont_Vtbl, 0xe07fe0ab_1124_43d0_a865_e8ffb6a3ea82); +windows_core::imp::define_interface!(IPartFont, IPartFont_Vtbl, 0xe07fe0ab_1124_43d0_a865_e8ffb6a3ea82); windows_core::imp::interface_hierarchy!(IPartFont, windows_core::IUnknown, IPartBase); impl IPartFont { pub unsafe fn GetUri(&self) -> windows_core::Result { @@ -2419,7 +2419,7 @@ pub struct IPartFont_Vtbl { 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, } -windows_core::imp::com_interface!(IPartFont2, IPartFont2_Vtbl, 0x511e025f_d6cb_43be_bf65_63fe88515a39); +windows_core::imp::define_interface!(IPartFont2, IPartFont2_Vtbl, 0x511e025f_d6cb_43be_bf65_63fe88515a39); windows_core::imp::interface_hierarchy!(IPartFont2, windows_core::IUnknown, IPartBase, IPartFont); impl IPartFont2 { pub unsafe fn GetUri(&self) -> windows_core::Result { @@ -2459,7 +2459,7 @@ pub struct IPartFont2_Vtbl { pub base__: IPartFont_Vtbl, pub GetFontRestriction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EXpsFontRestriction) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPartImage, IPartImage_Vtbl, 0x725f2e3c_401a_4705_9de0_fe6f1353b87f); +windows_core::imp::define_interface!(IPartImage, IPartImage_Vtbl, 0x725f2e3c_401a_4705_9de0_fe6f1353b87f); windows_core::imp::interface_hierarchy!(IPartImage, windows_core::IUnknown, IPartBase); impl IPartImage { pub unsafe fn GetUri(&self) -> windows_core::Result { @@ -2494,7 +2494,7 @@ pub struct IPartImage_Vtbl { pub GetImageProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IPartPrintTicket, IPartPrintTicket_Vtbl, 0x4a0f50f6_f9a2_41f0_99e7_5ae955be8e9e); +windows_core::imp::define_interface!(IPartPrintTicket, IPartPrintTicket_Vtbl, 0x4a0f50f6_f9a2_41f0_99e7_5ae955be8e9e); windows_core::imp::interface_hierarchy!(IPartPrintTicket, windows_core::IUnknown, IPartBase); impl IPartPrintTicket { pub unsafe fn GetUri(&self) -> windows_core::Result { @@ -2517,7 +2517,7 @@ impl IPartPrintTicket { pub struct IPartPrintTicket_Vtbl { pub base__: IPartBase_Vtbl, } -windows_core::imp::com_interface!(IPartResourceDictionary, IPartResourceDictionary_Vtbl, 0x16cfce6d_e744_4fb3_b474_f1d54f024a01); +windows_core::imp::define_interface!(IPartResourceDictionary, IPartResourceDictionary_Vtbl, 0x16cfce6d_e744_4fb3_b474_f1d54f024a01); windows_core::imp::interface_hierarchy!(IPartResourceDictionary, windows_core::IUnknown, IPartBase); impl IPartResourceDictionary { pub unsafe fn GetUri(&self) -> windows_core::Result { @@ -2540,7 +2540,7 @@ impl IPartResourceDictionary { pub struct IPartResourceDictionary_Vtbl { pub base__: IPartBase_Vtbl, } -windows_core::imp::com_interface!(IPartThumbnail, IPartThumbnail_Vtbl, 0x027ed1c9_ba39_4cc5_aa55_7ec3a0de171a); +windows_core::imp::define_interface!(IPartThumbnail, IPartThumbnail_Vtbl, 0x027ed1c9_ba39_4cc5_aa55_7ec3a0de171a); windows_core::imp::interface_hierarchy!(IPartThumbnail, windows_core::IUnknown, IPartBase); impl IPartThumbnail { pub unsafe fn GetUri(&self) -> windows_core::Result { @@ -2575,7 +2575,7 @@ pub struct IPartThumbnail_Vtbl { pub GetThumbnailProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IPrintAsyncCookie, IPrintAsyncCookie_Vtbl, 0); +windows_core::imp::define_interface!(IPrintAsyncCookie, IPrintAsyncCookie_Vtbl, 0); windows_core::imp::interface_hierarchy!(IPrintAsyncCookie, windows_core::IUnknown); impl IPrintAsyncCookie { pub unsafe fn FinishAsyncCall(&self, param0: windows_core::HRESULT) -> windows_core::Result<()> { @@ -2591,7 +2591,7 @@ pub struct IPrintAsyncCookie_Vtbl { pub FinishAsyncCall: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, pub CancelAsyncCall: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintAsyncNewChannelCookie, IPrintAsyncNewChannelCookie_Vtbl, 0); +windows_core::imp::define_interface!(IPrintAsyncNewChannelCookie, IPrintAsyncNewChannelCookie_Vtbl, 0); windows_core::imp::interface_hierarchy!(IPrintAsyncNewChannelCookie, windows_core::IUnknown, IPrintAsyncCookie); impl IPrintAsyncNewChannelCookie { pub unsafe fn FinishAsyncCall(&self, param0: windows_core::HRESULT) -> windows_core::Result<()> { @@ -2609,7 +2609,7 @@ pub struct IPrintAsyncNewChannelCookie_Vtbl { pub base__: IPrintAsyncCookie_Vtbl, pub FinishAsyncCallWithData: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintAsyncNotify, IPrintAsyncNotify_Vtbl, 0x532818f7_921b_4fb2_bff8_2f4fd52ebebf); +windows_core::imp::define_interface!(IPrintAsyncNotify, IPrintAsyncNotify_Vtbl, 0x532818f7_921b_4fb2_bff8_2f4fd52ebebf); windows_core::imp::interface_hierarchy!(IPrintAsyncNotify, windows_core::IUnknown); impl IPrintAsyncNotify { pub unsafe fn CreatePrintAsyncNotifyChannel(&self, param0: u32, param1: *const windows_core::GUID, param2: PrintAsyncNotifyUserFilter, param3: PrintAsyncNotifyConversationStyle, param4: P0) -> windows_core::Result @@ -2633,7 +2633,7 @@ pub struct IPrintAsyncNotify_Vtbl { pub CreatePrintAsyncNotifyChannel: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, PrintAsyncNotifyUserFilter, PrintAsyncNotifyConversationStyle, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreatePrintAsyncNotifyRegistration: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, PrintAsyncNotifyUserFilter, PrintAsyncNotifyConversationStyle, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintAsyncNotifyCallback, IPrintAsyncNotifyCallback_Vtbl, 0x7def34c1_9d92_4c99_b3b3_db94a9d4191b); +windows_core::imp::define_interface!(IPrintAsyncNotifyCallback, IPrintAsyncNotifyCallback_Vtbl, 0x7def34c1_9d92_4c99_b3b3_db94a9d4191b); windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyCallback, windows_core::IUnknown); impl IPrintAsyncNotifyCallback { pub unsafe fn OnEventNotify(&self, pchannel: P0, pdata: P1) -> windows_core::Result<()> @@ -2657,7 +2657,7 @@ pub struct IPrintAsyncNotifyCallback_Vtbl { pub OnEventNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ChannelClosed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintAsyncNotifyChannel, IPrintAsyncNotifyChannel_Vtbl, 0x4a5031b1_1f3f_4db0_a462_4530ed8b0451); +windows_core::imp::define_interface!(IPrintAsyncNotifyChannel, IPrintAsyncNotifyChannel_Vtbl, 0x4a5031b1_1f3f_4db0_a462_4530ed8b0451); windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyChannel, windows_core::IUnknown); impl IPrintAsyncNotifyChannel { pub unsafe fn SendNotification(&self, pdata: P0) -> windows_core::Result<()> @@ -2679,7 +2679,7 @@ pub struct IPrintAsyncNotifyChannel_Vtbl { pub SendNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CloseChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintAsyncNotifyDataObject, IPrintAsyncNotifyDataObject_Vtbl, 0x77cf513e_5d49_4789_9f30_d0822b335c0d); +windows_core::imp::define_interface!(IPrintAsyncNotifyDataObject, IPrintAsyncNotifyDataObject_Vtbl, 0x77cf513e_5d49_4789_9f30_d0822b335c0d); windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyDataObject, windows_core::IUnknown); impl IPrintAsyncNotifyDataObject { pub unsafe fn AcquireData(&self, ppnotificationdata: Option<*mut *mut u8>, psize: Option<*mut u32>, ppschema: Option<*mut *mut windows_core::GUID>) -> windows_core::Result<()> { @@ -2695,7 +2695,7 @@ pub struct IPrintAsyncNotifyDataObject_Vtbl { pub AcquireData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32, *mut *mut windows_core::GUID) -> windows_core::HRESULT, pub ReleaseData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintAsyncNotifyRegistration, IPrintAsyncNotifyRegistration_Vtbl, 0x0f6f27b6_6f86_4591_9203_64c3bfadedfe); +windows_core::imp::define_interface!(IPrintAsyncNotifyRegistration, IPrintAsyncNotifyRegistration_Vtbl, 0x0f6f27b6_6f86_4591_9203_64c3bfadedfe); windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyRegistration, windows_core::IUnknown); impl IPrintAsyncNotifyRegistration { pub unsafe fn RegisterForNotifications(&self) -> windows_core::Result<()> { @@ -2711,7 +2711,7 @@ pub struct IPrintAsyncNotifyRegistration_Vtbl { pub RegisterForNotifications: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub UnregisterForNotifications: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintAsyncNotifyServerReferral, IPrintAsyncNotifyServerReferral_Vtbl, 0); +windows_core::imp::define_interface!(IPrintAsyncNotifyServerReferral, IPrintAsyncNotifyServerReferral_Vtbl, 0); windows_core::imp::interface_hierarchy!(IPrintAsyncNotifyServerReferral, windows_core::IUnknown); impl IPrintAsyncNotifyServerReferral { pub unsafe fn GetServerReferral(&self) -> windows_core::Result { @@ -2738,7 +2738,7 @@ pub struct IPrintAsyncNotifyServerReferral_Vtbl { pub AsyncGetServerReferral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetServerReferral: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintBidiAsyncNotifyRegistration, IPrintBidiAsyncNotifyRegistration_Vtbl, 0); +windows_core::imp::define_interface!(IPrintBidiAsyncNotifyRegistration, IPrintBidiAsyncNotifyRegistration_Vtbl, 0); windows_core::imp::interface_hierarchy!(IPrintBidiAsyncNotifyRegistration, windows_core::IUnknown, IPrintAsyncNotifyRegistration); impl IPrintBidiAsyncNotifyRegistration { pub unsafe fn RegisterForNotifications(&self) -> windows_core::Result<()> { @@ -2759,7 +2759,7 @@ pub struct IPrintBidiAsyncNotifyRegistration_Vtbl { pub base__: IPrintAsyncNotifyRegistration_Vtbl, pub AsyncGetNewChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintClassObjectFactory, IPrintClassObjectFactory_Vtbl, 0x9af593dd_9b02_48a8_9bad_69ace423f88b); +windows_core::imp::define_interface!(IPrintClassObjectFactory, IPrintClassObjectFactory_Vtbl, 0x9af593dd_9b02_48a8_9bad_69ace423f88b); windows_core::imp::interface_hierarchy!(IPrintClassObjectFactory, windows_core::IUnknown); impl IPrintClassObjectFactory { pub unsafe fn GetPrintClassObject(&self, pszprintername: P0, riid: *const windows_core::GUID, ppnewobject: *mut *mut core::ffi::c_void) -> windows_core::Result<()> @@ -2774,7 +2774,7 @@ pub struct IPrintClassObjectFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetPrintClassObject: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintCoreHelper, IPrintCoreHelper_Vtbl, 0xa89ec53e_3905_49c6_9c1a_c0a88117fdb6); +windows_core::imp::define_interface!(IPrintCoreHelper, IPrintCoreHelper_Vtbl, 0xa89ec53e_3905_49c6_9c1a_c0a88117fdb6); windows_core::imp::interface_hierarchy!(IPrintCoreHelper, windows_core::IUnknown); impl IPrintCoreHelper { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -2861,7 +2861,7 @@ pub struct IPrintCoreHelper_Vtbl { pub SetFontSubstitution: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub CreateInstanceOfMSXMLObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintCoreHelperPS, IPrintCoreHelperPS_Vtbl, 0xc2c14f6f_95d3_4d63_96cf_6bd9e6c907c2); +windows_core::imp::define_interface!(IPrintCoreHelperPS, IPrintCoreHelperPS_Vtbl, 0xc2c14f6f_95d3_4d63_96cf_6bd9e6c907c2); windows_core::imp::interface_hierarchy!(IPrintCoreHelperPS, windows_core::IUnknown, IPrintCoreHelper); impl IPrintCoreHelperPS { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -2951,7 +2951,7 @@ pub struct IPrintCoreHelperPS_Vtbl { pub GetFeatureAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, windows_core::PCSTR, *mut u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub GetOptionAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, windows_core::PCSTR, windows_core::PCSTR, *mut u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintCoreHelperUni, IPrintCoreHelperUni_Vtbl, 0x7e8e51d6_e5ee_4426_817b_958b9444eb79); +windows_core::imp::define_interface!(IPrintCoreHelperUni, IPrintCoreHelperUni_Vtbl, 0x7e8e51d6_e5ee_4426_817b_958b9444eb79); windows_core::imp::interface_hierarchy!(IPrintCoreHelperUni, windows_core::IUnknown, IPrintCoreHelper); impl IPrintCoreHelperUni { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -3034,7 +3034,7 @@ pub struct IPrintCoreHelperUni_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateDefaultGDLSnapshot: usize, } -windows_core::imp::com_interface!(IPrintCoreHelperUni2, IPrintCoreHelperUni2_Vtbl, 0x6c8afdfc_ead0_4d2d_8071_9bf0175a6c3a); +windows_core::imp::define_interface!(IPrintCoreHelperUni2, IPrintCoreHelperUni2_Vtbl, 0x6c8afdfc_ead0_4d2d_8071_9bf0175a6c3a); windows_core::imp::interface_hierarchy!(IPrintCoreHelperUni2, windows_core::IUnknown, IPrintCoreHelper, IPrintCoreHelperUni); impl IPrintCoreHelperUni2 { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -3120,7 +3120,7 @@ pub struct IPrintCoreHelperUni2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetNamedCommand: usize, } -windows_core::imp::com_interface!(IPrintCoreUI2, IPrintCoreUI2_Vtbl, 0x085ccfca_3adf_4c9e_b491_d851a6edc997); +windows_core::imp::define_interface!(IPrintCoreUI2, IPrintCoreUI2_Vtbl, 0x085ccfca_3adf_4c9e_b491_d851a6edc997); windows_core::imp::interface_hierarchy!(IPrintCoreUI2, windows_core::IUnknown, IPrintOemDriverUI); impl IPrintCoreUI2 { pub unsafe fn DrvGetDriverSetting(&self, pci: *mut core::ffi::c_void, feature: P0, poutput: *mut core::ffi::c_void, cbsize: u32, pcbneeded: *mut u32, pdwoptionsreturned: *mut u32) -> windows_core::Result<()> @@ -3211,7 +3211,7 @@ pub struct IPrintCoreUI2_Vtbl { pub EnumOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *const OEMUIOBJ, u32, windows_core::PCSTR, windows_core::PSTR, u32, *mut u32) -> windows_core::HRESULT, pub QuerySimulationSupport: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, u32, *mut u8, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintJob, IPrintJob_Vtbl, 0xb771dab8_1282_41b7_858c_f206e4d20577); +windows_core::imp::define_interface!(IPrintJob, IPrintJob_Vtbl, 0xb771dab8_1282_41b7_858c_f206e4d20577); windows_core::imp::interface_hierarchy!(IPrintJob, windows_core::IUnknown); impl IPrintJob { pub unsafe fn Name(&self) -> windows_core::Result { @@ -3254,7 +3254,7 @@ pub struct IPrintJob_Vtbl { pub RequestCancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintJobCollection, IPrintJobCollection_Vtbl, 0x72b82a24_a598_4e87_895f_cdb23a49e9dc); +windows_core::imp::define_interface!(IPrintJobCollection, IPrintJobCollection_Vtbl, 0x72b82a24_a598_4e87_895f_cdb23a49e9dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintJobCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3280,7 +3280,7 @@ pub struct IPrintJobCollection_Vtbl { pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> 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::com_interface!(IPrintOemCommon, IPrintOemCommon_Vtbl, 0x7f42285e_91d5_11d1_8820_00c04fb961ec); +windows_core::imp::define_interface!(IPrintOemCommon, IPrintOemCommon_Vtbl, 0x7f42285e_91d5_11d1_8820_00c04fb961ec); windows_core::imp::interface_hierarchy!(IPrintOemCommon, windows_core::IUnknown); impl IPrintOemCommon { pub unsafe fn GetInfo(&self, dwmode: u32, pbuffer: *mut core::ffi::c_void, cbsize: u32, pcbneeded: *mut u32) -> windows_core::Result<()> { @@ -3300,7 +3300,7 @@ pub struct IPrintOemCommon_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] DevMode: usize, } -windows_core::imp::com_interface!(IPrintOemDriverUI, IPrintOemDriverUI_Vtbl, 0x92b05d50_78bc_11d1_9480_00a0c90640b8); +windows_core::imp::define_interface!(IPrintOemDriverUI, IPrintOemDriverUI_Vtbl, 0x92b05d50_78bc_11d1_9480_00a0c90640b8); windows_core::imp::interface_hierarchy!(IPrintOemDriverUI, windows_core::IUnknown); impl IPrintOemDriverUI { pub unsafe fn DrvGetDriverSetting(&self, pci: *mut core::ffi::c_void, feature: P0, poutput: *mut core::ffi::c_void, cbsize: u32, pcbneeded: *mut u32, pdwoptionsreturned: *mut u32) -> windows_core::Result<()> @@ -3328,7 +3328,7 @@ pub struct IPrintOemDriverUI_Vtbl { pub DrvUpgradeRegistrySetting: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, windows_core::PCSTR, windows_core::PCSTR) -> windows_core::HRESULT, pub DrvUpdateUISetting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintOemUI, IPrintOemUI_Vtbl, 0xc6a7a9d0_774c_11d1_947f_00a0c90640b8); +windows_core::imp::define_interface!(IPrintOemUI, IPrintOemUI_Vtbl, 0xc6a7a9d0_774c_11d1_947f_00a0c90640b8); windows_core::imp::interface_hierarchy!(IPrintOemUI, windows_core::IUnknown, IPrintOemCommon); impl IPrintOemUI { pub unsafe fn GetInfo(&self, dwmode: u32, pbuffer: *mut core::ffi::c_void, cbsize: u32, pcbneeded: *mut u32) -> windows_core::Result<()> { @@ -3440,7 +3440,7 @@ pub struct IPrintOemUI_Vtbl { pub FontInstallerDlgProc: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, pub UpdateExternalFonts: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, super::super::Foundation::HANDLE, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintOemUI2, IPrintOemUI2_Vtbl, 0x292515f9_b54b_489b_9275_bab56821395e); +windows_core::imp::define_interface!(IPrintOemUI2, IPrintOemUI2_Vtbl, 0x292515f9_b54b_489b_9275_bab56821395e); windows_core::imp::interface_hierarchy!(IPrintOemUI2, windows_core::IUnknown, IPrintOemCommon, IPrintOemUI); impl IPrintOemUI2 { pub unsafe fn GetInfo(&self, dwmode: u32, pbuffer: *mut core::ffi::c_void, cbsize: u32, pcbneeded: *mut u32) -> windows_core::Result<()> { @@ -3555,7 +3555,7 @@ pub struct IPrintOemUI2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] DocumentEvent: usize, } -windows_core::imp::com_interface!(IPrintOemUIMXDC, IPrintOemUIMXDC_Vtbl, 0x7349d725_e2c1_4dca_afb5_c13e91bc9306); +windows_core::imp::define_interface!(IPrintOemUIMXDC, IPrintOemUIMXDC_Vtbl, 0x7349d725_e2c1_4dca_afb5_c13e91bc9306); windows_core::imp::interface_hierarchy!(IPrintOemUIMXDC, windows_core::IUnknown); impl IPrintOemUIMXDC { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -3596,7 +3596,7 @@ pub struct IPrintOemUIMXDC_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] AdjustDPI: usize, } -windows_core::imp::com_interface!(IPrintPipelineFilter, IPrintPipelineFilter_Vtbl, 0xcdb62fc0_8bed_434e_86fb_a2cae55f19ea); +windows_core::imp::define_interface!(IPrintPipelineFilter, IPrintPipelineFilter_Vtbl, 0xcdb62fc0_8bed_434e_86fb_a2cae55f19ea); windows_core::imp::interface_hierarchy!(IPrintPipelineFilter, windows_core::IUnknown); impl IPrintPipelineFilter { pub unsafe fn InitializeFilter(&self, pinegotiation: P0, pipropertybag: P1, pipipelinecontrol: P2) -> windows_core::Result<()> @@ -3621,7 +3621,7 @@ pub struct IPrintPipelineFilter_Vtbl { pub ShutdownOperation: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub StartOperation: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintPipelineManagerControl, IPrintPipelineManagerControl_Vtbl, 0xaa3e4910_5889_4681_91ef_823ad4ed4e44); +windows_core::imp::define_interface!(IPrintPipelineManagerControl, IPrintPipelineManagerControl_Vtbl, 0xaa3e4910_5889_4681_91ef_823ad4ed4e44); windows_core::imp::interface_hierarchy!(IPrintPipelineManagerControl, windows_core::IUnknown); impl IPrintPipelineManagerControl { #[cfg(feature = "Win32_System_Com")] @@ -3644,7 +3644,7 @@ pub struct IPrintPipelineManagerControl_Vtbl { RequestShutdown: usize, pub FilterFinished: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintPipelineProgressReport, IPrintPipelineProgressReport_Vtbl, 0xedc12c7c_ed40_4ea5_96a6_5e4397497a61); +windows_core::imp::define_interface!(IPrintPipelineProgressReport, IPrintPipelineProgressReport_Vtbl, 0xedc12c7c_ed40_4ea5_96a6_5e4397497a61); windows_core::imp::interface_hierarchy!(IPrintPipelineProgressReport, windows_core::IUnknown); impl IPrintPipelineProgressReport { pub unsafe fn ReportProgress(&self, update: EXpsJobConsumption) -> windows_core::Result<()> { @@ -3656,7 +3656,7 @@ pub struct IPrintPipelineProgressReport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ReportProgress: unsafe extern "system" fn(*mut core::ffi::c_void, EXpsJobConsumption) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintPipelinePropertyBag, IPrintPipelinePropertyBag_Vtbl, 0x8b8c99dc_7892_4a95_8a04_57422e9fbb47); +windows_core::imp::define_interface!(IPrintPipelinePropertyBag, IPrintPipelinePropertyBag_Vtbl, 0x8b8c99dc_7892_4a95_8a04_57422e9fbb47); windows_core::imp::interface_hierarchy!(IPrintPipelinePropertyBag, windows_core::IUnknown); impl IPrintPipelinePropertyBag { pub unsafe fn AddProperty(&self, pszname: P0, pvar: *const windows_core::VARIANT) -> windows_core::Result<()> @@ -3686,7 +3686,7 @@ pub struct IPrintPipelinePropertyBag_Vtbl { pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut std::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::com_interface!(IPrintPreviewDxgiPackageTarget, IPrintPreviewDxgiPackageTarget_Vtbl, 0x1a6dd0ad_1e2a_4e99_a5ba_91f17818290e); +windows_core::imp::define_interface!(IPrintPreviewDxgiPackageTarget, IPrintPreviewDxgiPackageTarget_Vtbl, 0x1a6dd0ad_1e2a_4e99_a5ba_91f17818290e); windows_core::imp::interface_hierarchy!(IPrintPreviewDxgiPackageTarget, windows_core::IUnknown); impl IPrintPreviewDxgiPackageTarget { pub unsafe fn SetJobPageCount(&self, counttype: PageCountType, count: u32) -> windows_core::Result<()> { @@ -3713,7 +3713,7 @@ pub struct IPrintPreviewDxgiPackageTarget_Vtbl { DrawPage: usize, pub InvalidatePreview: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintReadStream, IPrintReadStream_Vtbl, 0x4d47a67c_66cc_4430_850e_daf466fe5bc4); +windows_core::imp::define_interface!(IPrintReadStream, IPrintReadStream_Vtbl, 0x4d47a67c_66cc_4430_850e_daf466fe5bc4); windows_core::imp::interface_hierarchy!(IPrintReadStream, windows_core::IUnknown); impl IPrintReadStream { pub unsafe fn Seek(&self, dlibmove: i64, dworigin: u32, plibnewposition: Option<*mut u64>) -> windows_core::Result<()> { @@ -3729,7 +3729,7 @@ pub struct IPrintReadStream_Vtbl { pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, i64, u32, *mut u64) -> windows_core::HRESULT, pub ReadBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintReadStreamFactory, IPrintReadStreamFactory_Vtbl, 0xacb971e3_df8d_4fc2_bee6_0609d15f3cf9); +windows_core::imp::define_interface!(IPrintReadStreamFactory, IPrintReadStreamFactory_Vtbl, 0xacb971e3_df8d_4fc2_bee6_0609d15f3cf9); windows_core::imp::interface_hierarchy!(IPrintReadStreamFactory, windows_core::IUnknown); impl IPrintReadStreamFactory { pub unsafe fn GetStream(&self) -> windows_core::Result { @@ -3743,7 +3743,7 @@ pub struct IPrintReadStreamFactory_Vtbl { pub GetStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaAsyncOperation, IPrintSchemaAsyncOperation_Vtbl, 0x143c8dcb_d37f_47f7_88e8_6b1d21f2c5f7); +windows_core::imp::define_interface!(IPrintSchemaAsyncOperation, IPrintSchemaAsyncOperation_Vtbl, 0x143c8dcb_d37f_47f7_88e8_6b1d21f2c5f7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaAsyncOperation, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3763,7 +3763,7 @@ pub struct IPrintSchemaAsyncOperation_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaAsyncOperationEvent, IPrintSchemaAsyncOperationEvent_Vtbl, 0x23adbb16_0133_4906_b29a_1dce1d026379); +windows_core::imp::define_interface!(IPrintSchemaAsyncOperationEvent, IPrintSchemaAsyncOperationEvent_Vtbl, 0x23adbb16_0133_4906_b29a_1dce1d026379); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaAsyncOperationEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3786,7 +3786,7 @@ pub struct IPrintSchemaAsyncOperationEvent_Vtbl { Completed: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaCapabilities, IPrintSchemaCapabilities_Vtbl, 0x5a577640_501d_4927_bcd0_5ef57a7ed175); +windows_core::imp::define_interface!(IPrintSchemaCapabilities, IPrintSchemaCapabilities_Vtbl, 0x5a577640_501d_4927_bcd0_5ef57a7ed175); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaCapabilities, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] @@ -3878,7 +3878,7 @@ pub struct IPrintSchemaCapabilities_Vtbl { GetOptions: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaCapabilities2, IPrintSchemaCapabilities2_Vtbl, 0xb58845f4_9970_4d87_a636_169fb82ed642); +windows_core::imp::define_interface!(IPrintSchemaCapabilities2, IPrintSchemaCapabilities2_Vtbl, 0xb58845f4_9970_4d87_a636_169fb82ed642); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaCapabilities2, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaCapabilities); #[cfg(feature = "Win32_System_Com")] @@ -3961,7 +3961,7 @@ pub struct IPrintSchemaCapabilities2_Vtbl { GetParameterDefinition: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaDisplayableElement, IPrintSchemaDisplayableElement_Vtbl, 0xaf45af49_d6aa_407d_bf87_3912236e9d94); +windows_core::imp::define_interface!(IPrintSchemaDisplayableElement, IPrintSchemaDisplayableElement_Vtbl, 0xaf45af49_d6aa_407d_bf87_3912236e9d94); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaDisplayableElement, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] @@ -3990,7 +3990,7 @@ pub struct IPrintSchemaDisplayableElement_Vtbl { pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaElement, IPrintSchemaElement_Vtbl, 0x724c1646_e64b_4bbf_8eb4_d45e4fd580da); +windows_core::imp::define_interface!(IPrintSchemaElement, IPrintSchemaElement_Vtbl, 0x724c1646_e64b_4bbf_8eb4_d45e4fd580da); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaElement, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4017,7 +4017,7 @@ pub struct IPrintSchemaElement_Vtbl { pub NamespaceUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaFeature, IPrintSchemaFeature_Vtbl, 0xef189461_5d62_4626_8e57_ff83583c4826); +windows_core::imp::define_interface!(IPrintSchemaFeature, IPrintSchemaFeature_Vtbl, 0xef189461_5d62_4626_8e57_ff83583c4826); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaFeature, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); #[cfg(feature = "Win32_System_Com")] @@ -4088,7 +4088,7 @@ pub struct IPrintSchemaFeature_Vtbl { pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaNUpOption, IPrintSchemaNUpOption_Vtbl, 0x1f6342f2_d848_42e3_8995_c10a9ef9a3ba); +windows_core::imp::define_interface!(IPrintSchemaNUpOption, IPrintSchemaNUpOption_Vtbl, 0x1f6342f2_d848_42e3_8995_c10a9ef9a3ba); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaNUpOption, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement, IPrintSchemaOption); #[cfg(feature = "Win32_System_Com")] @@ -4137,7 +4137,7 @@ pub struct IPrintSchemaNUpOption_Vtbl { pub PagesPerSheet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaOption, IPrintSchemaOption_Vtbl, 0x66bb2f51_5844_4997_8d70_4b7cc221cf92); +windows_core::imp::define_interface!(IPrintSchemaOption, IPrintSchemaOption_Vtbl, 0x66bb2f51_5844_4997_8d70_4b7cc221cf92); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaOption, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); #[cfg(feature = "Win32_System_Com")] @@ -4184,7 +4184,7 @@ pub struct IPrintSchemaOption_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaOptionCollection, IPrintSchemaOptionCollection_Vtbl, 0xbaecb0bd_a946_4771_bc30_e8b24f8d45c1); +windows_core::imp::define_interface!(IPrintSchemaOptionCollection, IPrintSchemaOptionCollection_Vtbl, 0xbaecb0bd_a946_4771_bc30_e8b24f8d45c1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaOptionCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4215,7 +4215,7 @@ pub struct IPrintSchemaOptionCollection_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")] -windows_core::imp::com_interface!(IPrintSchemaPageImageableSize, IPrintSchemaPageImageableSize_Vtbl, 0x7c85bf5e_dc7c_4f61_839b_4107e1c9b68e); +windows_core::imp::define_interface!(IPrintSchemaPageImageableSize, IPrintSchemaPageImageableSize_Vtbl, 0x7c85bf5e_dc7c_4f61_839b_4107e1c9b68e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaPageImageableSize, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] @@ -4269,7 +4269,7 @@ pub struct IPrintSchemaPageImageableSize_Vtbl { pub ExtentHeightInMicrons: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaPageMediaSizeOption, IPrintSchemaPageMediaSizeOption_Vtbl, 0x68746729_f493_4830_a10f_69028774605d); +windows_core::imp::define_interface!(IPrintSchemaPageMediaSizeOption, IPrintSchemaPageMediaSizeOption_Vtbl, 0x68746729_f493_4830_a10f_69028774605d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaPageMediaSizeOption, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement, IPrintSchemaOption); #[cfg(feature = "Win32_System_Com")] @@ -4323,7 +4323,7 @@ pub struct IPrintSchemaPageMediaSizeOption_Vtbl { pub HeightInMicrons: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaParameterDefinition, IPrintSchemaParameterDefinition_Vtbl, 0xb5ade81e_0e61_4fe1_81c6_c333e4ffe0f1); +windows_core::imp::define_interface!(IPrintSchemaParameterDefinition, IPrintSchemaParameterDefinition_Vtbl, 0xb5ade81e_0e61_4fe1_81c6_c333e4ffe0f1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaParameterDefinition, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaDisplayableElement); #[cfg(feature = "Win32_System_Com")] @@ -4376,7 +4376,7 @@ pub struct IPrintSchemaParameterDefinition_Vtbl { pub RangeMax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaParameterInitializer, IPrintSchemaParameterInitializer_Vtbl, 0x52027082_0b74_4648_9564_828cc6cb656c); +windows_core::imp::define_interface!(IPrintSchemaParameterInitializer, IPrintSchemaParameterInitializer_Vtbl, 0x52027082_0b74_4648_9564_828cc6cb656c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaParameterInitializer, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] @@ -4409,7 +4409,7 @@ pub struct IPrintSchemaParameterInitializer_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaTicket, IPrintSchemaTicket_Vtbl, 0xe480b861_4708_4e6d_a5b4_a2b4eeb9baa4); +windows_core::imp::define_interface!(IPrintSchemaTicket, IPrintSchemaTicket_Vtbl, 0xe480b861_4708_4e6d_a5b4_a2b4eeb9baa4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaTicket, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement); #[cfg(feature = "Win32_System_Com")] @@ -4501,7 +4501,7 @@ pub struct IPrintSchemaTicket_Vtbl { pub SetJobCopiesAllDocuments: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintSchemaTicket2, IPrintSchemaTicket2_Vtbl, 0x2ec1f844_766a_47a1_91f4_2eeb6190f80c); +windows_core::imp::define_interface!(IPrintSchemaTicket2, IPrintSchemaTicket2_Vtbl, 0x2ec1f844_766a_47a1_91f4_2eeb6190f80c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintSchemaTicket2, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrintSchemaElement, IPrintSchemaTicket); #[cfg(feature = "Win32_System_Com")] @@ -4582,7 +4582,7 @@ pub struct IPrintSchemaTicket2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetParameterInitializer: usize, } -windows_core::imp::com_interface!(IPrintTicketProvider, IPrintTicketProvider_Vtbl, 0xbb5116db_0a23_4c3a_a6b6_89e5558dfb5d); +windows_core::imp::define_interface!(IPrintTicketProvider, IPrintTicketProvider_Vtbl, 0xbb5116db_0a23_4c3a_a6b6_89e5558dfb5d); windows_core::imp::interface_hierarchy!(IPrintTicketProvider, windows_core::IUnknown); impl IPrintTicketProvider { pub unsafe fn GetSupportedVersions(&self, hprinter: P0, ppversions: *mut *mut i32, cversions: *mut i32) -> windows_core::Result<()> @@ -4653,7 +4653,7 @@ pub struct IPrintTicketProvider_Vtbl { #[cfg(not(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com")))] ValidatePrintTicket: usize, } -windows_core::imp::com_interface!(IPrintTicketProvider2, IPrintTicketProvider2_Vtbl, 0xb8a70ab2_3dfc_4fec_a074_511b13c651cb); +windows_core::imp::define_interface!(IPrintTicketProvider2, IPrintTicketProvider2_Vtbl, 0xb8a70ab2_3dfc_4fec_a074_511b13c651cb); windows_core::imp::interface_hierarchy!(IPrintTicketProvider2, windows_core::IUnknown, IPrintTicketProvider); impl IPrintTicketProvider2 { pub unsafe fn GetSupportedVersions(&self, hprinter: P0, ppversions: *mut *mut i32, cversions: *mut i32) -> windows_core::Result<()> @@ -4730,7 +4730,7 @@ pub struct IPrintTicketProvider2_Vtbl { #[cfg(not(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com")))] GetPrintDeviceResources: usize, } -windows_core::imp::com_interface!(IPrintUnidiAsyncNotifyRegistration, IPrintUnidiAsyncNotifyRegistration_Vtbl, 0); +windows_core::imp::define_interface!(IPrintUnidiAsyncNotifyRegistration, IPrintUnidiAsyncNotifyRegistration_Vtbl, 0); windows_core::imp::interface_hierarchy!(IPrintUnidiAsyncNotifyRegistration, windows_core::IUnknown, IPrintAsyncNotifyRegistration); impl IPrintUnidiAsyncNotifyRegistration { pub unsafe fn RegisterForNotifications(&self) -> windows_core::Result<()> { @@ -4751,7 +4751,7 @@ pub struct IPrintUnidiAsyncNotifyRegistration_Vtbl { pub base__: IPrintAsyncNotifyRegistration_Vtbl, pub AsyncGetNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWriteStream, IPrintWriteStream_Vtbl, 0x65bb7f1b_371e_4571_8ac7_912f510c1a38); +windows_core::imp::define_interface!(IPrintWriteStream, IPrintWriteStream_Vtbl, 0x65bb7f1b_371e_4571_8ac7_912f510c1a38); 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 { @@ -4768,7 +4768,7 @@ pub struct IPrintWriteStream_Vtbl { pub WriteBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IPrintWriteStreamFlush, IPrintWriteStreamFlush_Vtbl, 0x07d11ff8_1753_4873_b749_6cdaf068e4c3); +windows_core::imp::define_interface!(IPrintWriteStreamFlush, IPrintWriteStreamFlush_Vtbl, 0x07d11ff8_1753_4873_b749_6cdaf068e4c3); windows_core::imp::interface_hierarchy!(IPrintWriteStreamFlush, windows_core::IUnknown); impl IPrintWriteStreamFlush { pub unsafe fn FlushData(&self) -> windows_core::Result<()> { @@ -4780,7 +4780,7 @@ pub struct IPrintWriteStreamFlush_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub FlushData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinterBidiSetRequestCallback, IPrinterBidiSetRequestCallback_Vtbl, 0xc52d32dd_f2b4_4052_8502_ec4305ecb71f); +windows_core::imp::define_interface!(IPrinterBidiSetRequestCallback, IPrinterBidiSetRequestCallback_Vtbl, 0xc52d32dd_f2b4_4052_8502_ec4305ecb71f); windows_core::imp::interface_hierarchy!(IPrinterBidiSetRequestCallback, windows_core::IUnknown); impl IPrinterBidiSetRequestCallback { pub unsafe fn Completed(&self, bstrresponse: P0, hrstatus: windows_core::HRESULT) -> windows_core::Result<()> @@ -4795,7 +4795,7 @@ 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, } -windows_core::imp::com_interface!(IPrinterExtensionAsyncOperation, IPrinterExtensionAsyncOperation_Vtbl, 0x108d6a23_6a4b_4552_9448_68b427186acd); +windows_core::imp::define_interface!(IPrinterExtensionAsyncOperation, IPrinterExtensionAsyncOperation_Vtbl, 0x108d6a23_6a4b_4552_9448_68b427186acd); windows_core::imp::interface_hierarchy!(IPrinterExtensionAsyncOperation, windows_core::IUnknown); impl IPrinterExtensionAsyncOperation { pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -4808,7 +4808,7 @@ pub struct IPrinterExtensionAsyncOperation_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterExtensionContext, IPrinterExtensionContext_Vtbl, 0x39843bf2_c4d2_41fd_b4b2_aedbee5e1900); +windows_core::imp::define_interface!(IPrinterExtensionContext, IPrinterExtensionContext_Vtbl, 0x39843bf2_c4d2_41fd_b4b2_aedbee5e1900); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterExtensionContext, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4856,7 +4856,7 @@ pub struct IPrinterExtensionContext_Vtbl { UserProperties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterExtensionContextCollection, IPrinterExtensionContextCollection_Vtbl, 0xfb476970_9bab_4861_811e_3e98b0c5addf); +windows_core::imp::define_interface!(IPrinterExtensionContextCollection, IPrinterExtensionContextCollection_Vtbl, 0xfb476970_9bab_4861_811e_3e98b0c5addf); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterExtensionContextCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4887,7 +4887,7 @@ pub struct IPrinterExtensionContextCollection_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")] -windows_core::imp::com_interface!(IPrinterExtensionEvent, IPrinterExtensionEvent_Vtbl, 0xc093cb63_5ef5_4585_af8e_4d5637487b57); +windows_core::imp::define_interface!(IPrinterExtensionEvent, IPrinterExtensionEvent_Vtbl, 0xc093cb63_5ef5_4585_af8e_4d5637487b57); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterExtensionEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4921,7 +4921,7 @@ pub struct IPrinterExtensionEvent_Vtbl { OnPrinterQueuesEnumerated: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterExtensionEventArgs, IPrinterExtensionEventArgs_Vtbl, 0x39843bf4_c4d2_41fd_b4b2_aedbee5e1900); +windows_core::imp::define_interface!(IPrinterExtensionEventArgs, IPrinterExtensionEventArgs_Vtbl, 0x39843bf4_c4d2_41fd_b4b2_aedbee5e1900); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterExtensionEventArgs, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrinterExtensionContext); #[cfg(feature = "Win32_System_Com")] @@ -4991,7 +4991,7 @@ pub struct IPrinterExtensionEventArgs_Vtbl { 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, } -windows_core::imp::com_interface!(IPrinterExtensionManager, IPrinterExtensionManager_Vtbl, 0x93c6eb8c_b001_4355_9629_8e8a1b3f8e77); +windows_core::imp::define_interface!(IPrinterExtensionManager, IPrinterExtensionManager_Vtbl, 0x93c6eb8c_b001_4355_9629_8e8a1b3f8e77); windows_core::imp::interface_hierarchy!(IPrinterExtensionManager, windows_core::IUnknown); impl IPrinterExtensionManager { pub unsafe fn EnableEvents(&self, printerdriverid: windows_core::GUID) -> windows_core::Result<()> { @@ -5008,7 +5008,7 @@ pub struct IPrinterExtensionManager_Vtbl { pub DisableEvents: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterExtensionRequest, IPrinterExtensionRequest_Vtbl, 0x39843bf3_c4d2_41fd_b4b2_aedbee5e1900); +windows_core::imp::define_interface!(IPrinterExtensionRequest, IPrinterExtensionRequest_Vtbl, 0x39843bf3_c4d2_41fd_b4b2_aedbee5e1900); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterExtensionRequest, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5031,7 +5031,7 @@ pub struct IPrinterExtensionRequest_Vtbl { pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterPropertyBag, IPrinterPropertyBag_Vtbl, 0xfea77364_df95_4a23_a905_019b79a8e481); +windows_core::imp::define_interface!(IPrinterPropertyBag, IPrinterPropertyBag_Vtbl, 0xfea77364_df95_4a23_a905_019b79a8e481); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterPropertyBag, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5128,7 +5128,7 @@ pub struct IPrinterPropertyBag_Vtbl { GetWriteStream: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterQueue, IPrinterQueue_Vtbl, 0x3580a828_07fe_4b94_ac1a_757d9d2d3056); +windows_core::imp::define_interface!(IPrinterQueue, IPrinterQueue_Vtbl, 0x3580a828_07fe_4b94_ac1a_757d9d2d3056); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterQueue, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5166,7 +5166,7 @@ pub struct IPrinterQueue_Vtbl { GetProperties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterQueue2, IPrinterQueue2_Vtbl, 0x8cd444e8_c9bb_49b3_8e38_e03209416131); +windows_core::imp::define_interface!(IPrinterQueue2, IPrinterQueue2_Vtbl, 0x8cd444e8_c9bb_49b3_8e38_e03209416131); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterQueue2, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrinterQueue); #[cfg(feature = "Win32_System_Com")] @@ -5215,7 +5215,7 @@ pub struct IPrinterQueue2_Vtbl { GetPrinterQueueView: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterQueueEvent, IPrinterQueueEvent_Vtbl, 0x214685f6_7b78_4681_87e0_495f739273d1); +windows_core::imp::define_interface!(IPrinterQueueEvent, IPrinterQueueEvent_Vtbl, 0x214685f6_7b78_4681_87e0_495f739273d1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterQueueEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5234,7 +5234,7 @@ pub struct IPrinterQueueEvent_Vtbl { pub OnBidiResponseReceived: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterQueueView, IPrinterQueueView_Vtbl, 0x476e2969_3b2b_4b3f_8277_cff6056042aa); +windows_core::imp::define_interface!(IPrinterQueueView, IPrinterQueueView_Vtbl, 0x476e2969_3b2b_4b3f_8277_cff6056042aa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterQueueView, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5250,7 +5250,7 @@ pub struct IPrinterQueueView_Vtbl { pub SetViewRange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterQueueViewEvent, IPrinterQueueViewEvent_Vtbl, 0xc5b6042b_fd21_404a_a0ef_e2fbb52b9080); +windows_core::imp::define_interface!(IPrinterQueueViewEvent, IPrinterQueueViewEvent_Vtbl, 0xc5b6042b_fd21_404a_a0ef_e2fbb52b9080); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterQueueViewEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5273,7 +5273,7 @@ pub struct IPrinterQueueViewEvent_Vtbl { OnChanged: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterScriptContext, IPrinterScriptContext_Vtbl, 0x066acbca_8881_49c9_bb98_fae16b4889e1); +windows_core::imp::define_interface!(IPrinterScriptContext, IPrinterScriptContext_Vtbl, 0x066acbca_8881_49c9_bb98_fae16b4889e1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterScriptContext, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5312,7 +5312,7 @@ pub struct IPrinterScriptContext_Vtbl { UserProperties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterScriptablePropertyBag, IPrinterScriptablePropertyBag_Vtbl, 0x91c7765f_ed57_49ad_8b01_dc24816a5294); +windows_core::imp::define_interface!(IPrinterScriptablePropertyBag, IPrinterScriptablePropertyBag_Vtbl, 0x91c7765f_ed57_49ad_8b01_dc24816a5294); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterScriptablePropertyBag, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5419,7 +5419,7 @@ pub struct IPrinterScriptablePropertyBag_Vtbl { GetWriteStream: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterScriptablePropertyBag2, IPrinterScriptablePropertyBag2_Vtbl, 0x2a1c53c4_8638_4b3e_b518_2773c94556a3); +windows_core::imp::define_interface!(IPrinterScriptablePropertyBag2, IPrinterScriptablePropertyBag2_Vtbl, 0x2a1c53c4_8638_4b3e_b518_2773c94556a3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterScriptablePropertyBag2, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrinterScriptablePropertyBag); #[cfg(feature = "Win32_System_Com")] @@ -5512,7 +5512,7 @@ pub struct IPrinterScriptablePropertyBag2_Vtbl { pub GetReadStreamAsXML: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterScriptableSequentialStream, IPrinterScriptableSequentialStream_Vtbl, 0x2072838a_316f_467a_a949_27f68c44a854); +windows_core::imp::define_interface!(IPrinterScriptableSequentialStream, IPrinterScriptableSequentialStream_Vtbl, 0x2072838a_316f_467a_a949_27f68c44a854); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterScriptableSequentialStream, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5545,7 +5545,7 @@ pub struct IPrinterScriptableSequentialStream_Vtbl { Write: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrinterScriptableStream, IPrinterScriptableStream_Vtbl, 0x7edf9a92_4750_41a5_a17f_879a6f4f7dcb); +windows_core::imp::define_interface!(IPrinterScriptableStream, IPrinterScriptableStream_Vtbl, 0x7edf9a92_4750_41a5_a17f_879a6f4f7dcb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrinterScriptableStream, windows_core::IUnknown, super::super::System::Com::IDispatch, IPrinterScriptableSequentialStream); #[cfg(feature = "Win32_System_Com")] @@ -5586,7 +5586,7 @@ pub struct IPrinterScriptableStream_Vtbl { Seek: usize, pub SetSize: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsDocument, IXpsDocument_Vtbl, 0xe8d907db_62a9_4a95_abe7_e01763dd30f8); +windows_core::imp::define_interface!(IXpsDocument, IXpsDocument_Vtbl, 0xe8d907db_62a9_4a95_abe7_e01763dd30f8); windows_core::imp::interface_hierarchy!(IXpsDocument, windows_core::IUnknown); impl IXpsDocument { pub unsafe fn GetThumbnail(&self) -> windows_core::Result { @@ -5606,7 +5606,7 @@ pub struct IXpsDocument_Vtbl { pub GetThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsDocumentConsumer, IXpsDocumentConsumer_Vtbl, 0x4368d8a2_4181_4a9f_b295_3d9a38bb9ba0); +windows_core::imp::define_interface!(IXpsDocumentConsumer, IXpsDocumentConsumer_Vtbl, 0x4368d8a2_4181_4a9f_b295_3d9a38bb9ba0); windows_core::imp::interface_hierarchy!(IXpsDocumentConsumer, windows_core::IUnknown); impl IXpsDocumentConsumer { pub unsafe fn SendXpsUnknown(&self, punknown: P0) -> windows_core::Result<()> @@ -5660,7 +5660,7 @@ pub struct IXpsDocumentConsumer_Vtbl { pub CloseSender: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetNewEmptyPart: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsDocumentProvider, IXpsDocumentProvider_Vtbl, 0xb8cf8530_5562_47c4_ab67_b1f69ecf961e); +windows_core::imp::define_interface!(IXpsDocumentProvider, IXpsDocumentProvider_Vtbl, 0xb8cf8530_5562_47c4_ab67_b1f69ecf961e); windows_core::imp::interface_hierarchy!(IXpsDocumentProvider, windows_core::IUnknown); impl IXpsDocumentProvider { pub unsafe fn GetXpsPart(&self) -> windows_core::Result { @@ -5673,7 +5673,7 @@ pub struct IXpsDocumentProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetXpsPart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsPartIterator, IXpsPartIterator_Vtbl, 0x0021d3cd_af6f_42ab_9999_14bc82a62d2e); +windows_core::imp::define_interface!(IXpsPartIterator, IXpsPartIterator_Vtbl, 0x0021d3cd_af6f_42ab_9999_14bc82a62d2e); windows_core::imp::interface_hierarchy!(IXpsPartIterator, windows_core::IUnknown); impl IXpsPartIterator { pub unsafe fn Reset(&self) { @@ -5697,7 +5697,7 @@ pub struct IXpsPartIterator_Vtbl { 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), } -windows_core::imp::com_interface!(IXpsRasterizationFactory, IXpsRasterizationFactory_Vtbl, 0xe094808a_24c6_482b_a3a7_c21ac9b55f17); +windows_core::imp::define_interface!(IXpsRasterizationFactory, IXpsRasterizationFactory_Vtbl, 0xe094808a_24c6_482b_a3a7_c21ac9b55f17); windows_core::imp::interface_hierarchy!(IXpsRasterizationFactory, windows_core::IUnknown); impl IXpsRasterizationFactory { #[cfg(feature = "Win32_Storage_Xps")] @@ -5717,7 +5717,7 @@ pub struct IXpsRasterizationFactory_Vtbl { #[cfg(not(feature = "Win32_Storage_Xps"))] CreateRasterizer: usize, } -windows_core::imp::com_interface!(IXpsRasterizationFactory1, IXpsRasterizationFactory1_Vtbl, 0x2d6e5f77_6414_4a1e_a8e0_d4194ce6a26f); +windows_core::imp::define_interface!(IXpsRasterizationFactory1, IXpsRasterizationFactory1_Vtbl, 0x2d6e5f77_6414_4a1e_a8e0_d4194ce6a26f); windows_core::imp::interface_hierarchy!(IXpsRasterizationFactory1, windows_core::IUnknown); impl IXpsRasterizationFactory1 { #[cfg(feature = "Win32_Storage_Xps")] @@ -5737,7 +5737,7 @@ pub struct IXpsRasterizationFactory1_Vtbl { #[cfg(not(feature = "Win32_Storage_Xps"))] CreateRasterizer: usize, } -windows_core::imp::com_interface!(IXpsRasterizationFactory2, IXpsRasterizationFactory2_Vtbl, 0x9c16ce3e_10f5_41fd_9ddc_6826669c2ff6); +windows_core::imp::define_interface!(IXpsRasterizationFactory2, IXpsRasterizationFactory2_Vtbl, 0x9c16ce3e_10f5_41fd_9ddc_6826669c2ff6); windows_core::imp::interface_hierarchy!(IXpsRasterizationFactory2, windows_core::IUnknown); impl IXpsRasterizationFactory2 { #[cfg(feature = "Win32_Storage_Xps")] @@ -5757,7 +5757,7 @@ pub struct IXpsRasterizationFactory2_Vtbl { #[cfg(not(feature = "Win32_Storage_Xps"))] CreateRasterizer: usize, } -windows_core::imp::com_interface!(IXpsRasterizer, IXpsRasterizer_Vtbl, 0x7567cfc8_c156_47a8_9dac_11a2ae5bdd6b); +windows_core::imp::define_interface!(IXpsRasterizer, IXpsRasterizer_Vtbl, 0x7567cfc8_c156_47a8_9dac_11a2ae5bdd6b); windows_core::imp::interface_hierarchy!(IXpsRasterizer, windows_core::IUnknown); impl IXpsRasterizer { #[cfg(feature = "Win32_Graphics_Imaging")] @@ -5781,7 +5781,7 @@ pub struct IXpsRasterizer_Vtbl { RasterizeRect: usize, pub SetMinimalLineWidth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsRasterizerNotificationCallback, IXpsRasterizerNotificationCallback_Vtbl, 0x9ab8fd0d_cb94_49c2_9cb0_97ec1d5469d2); +windows_core::imp::define_interface!(IXpsRasterizerNotificationCallback, IXpsRasterizerNotificationCallback_Vtbl, 0x9ab8fd0d_cb94_49c2_9cb0_97ec1d5469d2); windows_core::imp::interface_hierarchy!(IXpsRasterizerNotificationCallback, windows_core::IUnknown); impl IXpsRasterizerNotificationCallback { pub unsafe fn Continue(&self) -> windows_core::Result<()> { 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 50efd40af1..ffa559aba0 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/mod.rs @@ -1,11 +1,11 @@ -windows_core::imp::com_interface!(IApoAcousticEchoCancellation, IApoAcousticEchoCancellation_Vtbl, 0x25385759_3236_4101_a943_25693dfb5d2d); +windows_core::imp::define_interface!(IApoAcousticEchoCancellation, IApoAcousticEchoCancellation_Vtbl, 0x25385759_3236_4101_a943_25693dfb5d2d); windows_core::imp::interface_hierarchy!(IApoAcousticEchoCancellation, windows_core::IUnknown); impl IApoAcousticEchoCancellation {} #[repr(C)] pub struct IApoAcousticEchoCancellation_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IApoAuxiliaryInputConfiguration, IApoAuxiliaryInputConfiguration_Vtbl, 0x4ceb0aab_fa19_48ed_a857_87771ae1b768); +windows_core::imp::define_interface!(IApoAuxiliaryInputConfiguration, IApoAuxiliaryInputConfiguration_Vtbl, 0x4ceb0aab_fa19_48ed_a857_87771ae1b768); windows_core::imp::interface_hierarchy!(IApoAuxiliaryInputConfiguration, windows_core::IUnknown); impl IApoAuxiliaryInputConfiguration { pub unsafe fn AddAuxiliaryInput(&self, dwinputid: u32, pbydata: &[u8], pinputconnection: *const APO_CONNECTION_DESCRIPTOR) -> windows_core::Result<()> { @@ -29,7 +29,7 @@ pub struct IApoAuxiliaryInputConfiguration_Vtbl { pub RemoveAuxiliaryInput: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub IsInputFormatSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApoAuxiliaryInputRT, IApoAuxiliaryInputRT_Vtbl, 0xf851809c_c177_49a0_b1b2_b66f017943ab); +windows_core::imp::define_interface!(IApoAuxiliaryInputRT, IApoAuxiliaryInputRT_Vtbl, 0xf851809c_c177_49a0_b1b2_b66f017943ab); windows_core::imp::interface_hierarchy!(IApoAuxiliaryInputRT, windows_core::IUnknown); impl IApoAuxiliaryInputRT { pub unsafe fn AcceptInput(&self, dwinputid: u32, pinputconnection: *const APO_CONNECTION_PROPERTY) { @@ -41,7 +41,7 @@ pub struct IApoAuxiliaryInputRT_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AcceptInput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const APO_CONNECTION_PROPERTY), } -windows_core::imp::com_interface!(IAudioDeviceModulesClient, IAudioDeviceModulesClient_Vtbl, 0x98f37dac_d0b6_49f5_896a_aa4d169a4c48); +windows_core::imp::define_interface!(IAudioDeviceModulesClient, IAudioDeviceModulesClient_Vtbl, 0x98f37dac_d0b6_49f5_896a_aa4d169a4c48); windows_core::imp::interface_hierarchy!(IAudioDeviceModulesClient, windows_core::IUnknown); impl IAudioDeviceModulesClient { pub unsafe fn SetAudioDeviceModulesManager(&self, paudiodevicemodulesmanager: P0) -> windows_core::Result<()> @@ -56,7 +56,7 @@ pub struct IAudioDeviceModulesClient_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetAudioDeviceModulesManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioMediaType, IAudioMediaType_Vtbl, 0x4e997f73_b71f_4798_873b_ed7dfcf15b4d); +windows_core::imp::define_interface!(IAudioMediaType, IAudioMediaType_Vtbl, 0x4e997f73_b71f_4798_873b_ed7dfcf15b4d); windows_core::imp::interface_hierarchy!(IAudioMediaType, windows_core::IUnknown); impl IAudioMediaType { pub unsafe fn IsCompressedFormat(&self) -> windows_core::Result { @@ -85,7 +85,7 @@ pub struct IAudioMediaType_Vtbl { pub GetAudioFormat: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut super::WAVEFORMATEX, pub GetUncompressedAudioFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UNCOMPRESSEDAUDIOFORMAT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioProcessingObject, IAudioProcessingObject_Vtbl, 0xfd7f2b29_24d0_4b5c_b177_592c39f9ca10); +windows_core::imp::define_interface!(IAudioProcessingObject, IAudioProcessingObject_Vtbl, 0xfd7f2b29_24d0_4b5c_b177_592c39f9ca10); windows_core::imp::interface_hierarchy!(IAudioProcessingObject, windows_core::IUnknown); impl IAudioProcessingObject { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -134,7 +134,7 @@ pub struct IAudioProcessingObject_Vtbl { pub IsOutputFormatSupported: 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 GetInputChannelCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioProcessingObjectConfiguration, IAudioProcessingObjectConfiguration_Vtbl, 0x0e5ed805_aba6_49c3_8f9a_2b8c889c4fa8); +windows_core::imp::define_interface!(IAudioProcessingObjectConfiguration, IAudioProcessingObjectConfiguration_Vtbl, 0x0e5ed805_aba6_49c3_8f9a_2b8c889c4fa8); windows_core::imp::interface_hierarchy!(IAudioProcessingObjectConfiguration, windows_core::IUnknown); impl IAudioProcessingObjectConfiguration { pub unsafe fn LockForProcess(&self, ppinputconnections: &[*const APO_CONNECTION_DESCRIPTOR], ppoutputconnections: &[*const APO_CONNECTION_DESCRIPTOR]) -> windows_core::Result<()> { @@ -150,7 +150,7 @@ pub struct IAudioProcessingObjectConfiguration_Vtbl { pub LockForProcess: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *const APO_CONNECTION_DESCRIPTOR, u32, *const *const APO_CONNECTION_DESCRIPTOR) -> windows_core::HRESULT, pub UnlockForProcess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioProcessingObjectLoggingService, IAudioProcessingObjectLoggingService_Vtbl, 0x698f0107_1745_4708_95a5_d84478a62a65); +windows_core::imp::define_interface!(IAudioProcessingObjectLoggingService, IAudioProcessingObjectLoggingService_Vtbl, 0x698f0107_1745_4708_95a5_d84478a62a65); windows_core::imp::interface_hierarchy!(IAudioProcessingObjectLoggingService, windows_core::IUnknown); impl IAudioProcessingObjectLoggingService { pub unsafe fn ApoLog(&self, level: APO_LOG_LEVEL, format: P0) @@ -165,7 +165,7 @@ pub struct IAudioProcessingObjectLoggingService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ApoLog: unsafe extern "system" fn(*mut core::ffi::c_void, APO_LOG_LEVEL, windows_core::PCWSTR), } -windows_core::imp::com_interface!(IAudioProcessingObjectNotifications, IAudioProcessingObjectNotifications_Vtbl, 0x56b0c76f_02fd_4b21_a52e_9f8219fc86e4); +windows_core::imp::define_interface!(IAudioProcessingObjectNotifications, IAudioProcessingObjectNotifications_Vtbl, 0x56b0c76f_02fd_4b21_a52e_9f8219fc86e4); windows_core::imp::interface_hierarchy!(IAudioProcessingObjectNotifications, windows_core::IUnknown); impl IAudioProcessingObjectNotifications { pub unsafe fn GetApoNotificationRegistrationInfo(&self, aponotifications: *mut *mut APO_NOTIFICATION_DESCRIPTOR, count: *mut u32) -> windows_core::Result<()> { @@ -185,7 +185,7 @@ pub struct IAudioProcessingObjectNotifications_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] HandleNotification: usize, } -windows_core::imp::com_interface!(IAudioProcessingObjectNotifications2, IAudioProcessingObjectNotifications2_Vtbl, 0xca2cfbde_a9d6_4eb0_bc95_c4d026b380f0); +windows_core::imp::define_interface!(IAudioProcessingObjectNotifications2, IAudioProcessingObjectNotifications2_Vtbl, 0xca2cfbde_a9d6_4eb0_bc95_c4d026b380f0); windows_core::imp::interface_hierarchy!(IAudioProcessingObjectNotifications2, windows_core::IUnknown, IAudioProcessingObjectNotifications); impl IAudioProcessingObjectNotifications2 { pub unsafe fn GetApoNotificationRegistrationInfo(&self, aponotifications: *mut *mut APO_NOTIFICATION_DESCRIPTOR, count: *mut u32) -> windows_core::Result<()> { @@ -204,7 +204,7 @@ pub struct IAudioProcessingObjectNotifications2_Vtbl { pub base__: IAudioProcessingObjectNotifications_Vtbl, pub GetApoNotificationRegistrationInfo2: unsafe extern "system" fn(*mut core::ffi::c_void, APO_NOTIFICATION_TYPE, *mut *mut APO_NOTIFICATION_DESCRIPTOR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioProcessingObjectRT, IAudioProcessingObjectRT_Vtbl, 0x9e1d6a6d_ddbc_4e95_a4c7_ad64ba37846c); +windows_core::imp::define_interface!(IAudioProcessingObjectRT, IAudioProcessingObjectRT_Vtbl, 0x9e1d6a6d_ddbc_4e95_a4c7_ad64ba37846c); windows_core::imp::interface_hierarchy!(IAudioProcessingObjectRT, windows_core::IUnknown); impl IAudioProcessingObjectRT { pub unsafe fn APOProcess(&self, u32numinputconnections: u32, ppinputconnections: *const *const APO_CONNECTION_PROPERTY, u32numoutputconnections: u32, ppoutputconnections: *mut *mut APO_CONNECTION_PROPERTY) { @@ -224,7 +224,7 @@ pub struct IAudioProcessingObjectRT_Vtbl { pub CalcInputFrames: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, pub CalcOutputFrames: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, } -windows_core::imp::com_interface!(IAudioProcessingObjectRTQueueService, IAudioProcessingObjectRTQueueService_Vtbl, 0xacd65e2f_955b_4b57_b9bf_ac297bb752c9); +windows_core::imp::define_interface!(IAudioProcessingObjectRTQueueService, IAudioProcessingObjectRTQueueService_Vtbl, 0xacd65e2f_955b_4b57_b9bf_ac297bb752c9); windows_core::imp::interface_hierarchy!(IAudioProcessingObjectRTQueueService, windows_core::IUnknown); impl IAudioProcessingObjectRTQueueService { pub unsafe fn GetRealTimeWorkQueue(&self) -> windows_core::Result { @@ -237,7 +237,7 @@ pub struct IAudioProcessingObjectRTQueueService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetRealTimeWorkQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioProcessingObjectVBR, IAudioProcessingObjectVBR_Vtbl, 0x7ba1db8f_78ad_49cd_9591_f79d80a17c81); +windows_core::imp::define_interface!(IAudioProcessingObjectVBR, IAudioProcessingObjectVBR_Vtbl, 0x7ba1db8f_78ad_49cd_9591_f79d80a17c81); windows_core::imp::interface_hierarchy!(IAudioProcessingObjectVBR, windows_core::IUnknown); impl IAudioProcessingObjectVBR { pub unsafe fn CalcMaxInputFrames(&self, u32maxoutputframecount: u32) -> windows_core::Result { @@ -255,14 +255,14 @@ pub struct IAudioProcessingObjectVBR_Vtbl { pub CalcMaxInputFrames: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub CalcMaxOutputFrames: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSystemEffects, IAudioSystemEffects_Vtbl, 0x5fa00f27_add6_499a_8a9d_6b98521fa75b); +windows_core::imp::define_interface!(IAudioSystemEffects, IAudioSystemEffects_Vtbl, 0x5fa00f27_add6_499a_8a9d_6b98521fa75b); windows_core::imp::interface_hierarchy!(IAudioSystemEffects, windows_core::IUnknown); impl IAudioSystemEffects {} #[repr(C)] pub struct IAudioSystemEffects_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IAudioSystemEffects2, IAudioSystemEffects2_Vtbl, 0xbafe99d2_7436_44ce_9e0e_4d89afbfff56); +windows_core::imp::define_interface!(IAudioSystemEffects2, IAudioSystemEffects2_Vtbl, 0xbafe99d2_7436_44ce_9e0e_4d89afbfff56); windows_core::imp::interface_hierarchy!(IAudioSystemEffects2, windows_core::IUnknown, IAudioSystemEffects); impl IAudioSystemEffects2 { pub unsafe fn GetEffectsList(&self, ppeffectsids: *mut *mut windows_core::GUID, pceffects: *mut u32, event: P0) -> windows_core::Result<()> @@ -277,7 +277,7 @@ pub struct IAudioSystemEffects2_Vtbl { pub base__: IAudioSystemEffects_Vtbl, pub GetEffectsList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut windows_core::GUID, *mut u32, super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSystemEffects3, IAudioSystemEffects3_Vtbl, 0xc58b31cd_fc6a_4255_bc1f_ad29bb0a4a17); +windows_core::imp::define_interface!(IAudioSystemEffects3, IAudioSystemEffects3_Vtbl, 0xc58b31cd_fc6a_4255_bc1f_ad29bb0a4a17); windows_core::imp::interface_hierarchy!(IAudioSystemEffects3, windows_core::IUnknown, IAudioSystemEffects, IAudioSystemEffects2); impl IAudioSystemEffects3 { pub unsafe fn GetEffectsList(&self, ppeffectsids: *mut *mut windows_core::GUID, pceffects: *mut u32, event: P0) -> windows_core::Result<()> @@ -302,7 +302,7 @@ pub struct IAudioSystemEffects3_Vtbl { pub GetControllableSystemEffectsList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut AUDIO_SYSTEMEFFECT, *mut u32, super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub SetAudioSystemEffectState: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, AUDIO_SYSTEMEFFECT_STATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSystemEffectsCustomFormats, IAudioSystemEffectsCustomFormats_Vtbl, 0xb1176e34_bb7f_4f05_bebd_1b18a534e097); +windows_core::imp::define_interface!(IAudioSystemEffectsCustomFormats, IAudioSystemEffectsCustomFormats_Vtbl, 0xb1176e34_bb7f_4f05_bebd_1b18a534e097); windows_core::imp::interface_hierarchy!(IAudioSystemEffectsCustomFormats, windows_core::IUnknown); impl IAudioSystemEffectsCustomFormats { pub unsafe fn GetFormatCount(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs index 8fb84b4350..444a207fb8 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDirectMusic, IDirectMusic_Vtbl, 0x6536115a_7b2d_11d2_ba18_0000f875ac12); +windows_core::imp::define_interface!(IDirectMusic, IDirectMusic_Vtbl, 0x6536115a_7b2d_11d2_ba18_0000f875ac12); windows_core::imp::interface_hierarchy!(IDirectMusic, windows_core::IUnknown); impl IDirectMusic { pub unsafe fn EnumPort(&self, dwindex: u32, pportcaps: *mut DMUS_PORTCAPS) -> windows_core::Result<()> { @@ -59,7 +59,7 @@ pub struct IDirectMusic_Vtbl { #[cfg(not(feature = "Win32_Media_Audio_DirectSound"))] SetDirectSound: usize, } -windows_core::imp::com_interface!(IDirectMusic8, IDirectMusic8_Vtbl, 0x2d3629f7_813d_4939_8508_f05c6b75fd97); +windows_core::imp::define_interface!(IDirectMusic8, IDirectMusic8_Vtbl, 0x2d3629f7_813d_4939_8508_f05c6b75fd97); windows_core::imp::interface_hierarchy!(IDirectMusic8, windows_core::IUnknown, IDirectMusic); impl IDirectMusic8 { pub unsafe fn EnumPort(&self, dwindex: u32, pportcaps: *mut DMUS_PORTCAPS) -> windows_core::Result<()> { @@ -115,7 +115,7 @@ pub struct IDirectMusic8_Vtbl { pub base__: IDirectMusic_Vtbl, pub SetExternalMasterClock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectMusicBuffer, IDirectMusicBuffer_Vtbl, 0xd2ac2878_b39b_11d1_8704_00600893b1bd); +windows_core::imp::define_interface!(IDirectMusicBuffer, IDirectMusicBuffer_Vtbl, 0xd2ac2878_b39b_11d1_8704_00600893b1bd); windows_core::imp::interface_hierarchy!(IDirectMusicBuffer, windows_core::IUnknown); impl IDirectMusicBuffer { pub unsafe fn Flush(&self) -> windows_core::Result<()> { @@ -175,7 +175,7 @@ pub struct IDirectMusicBuffer_Vtbl { pub SetStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, pub SetUsedBytes: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectMusicCollection, IDirectMusicCollection_Vtbl, 0xd2ac287c_b39b_11d1_8704_00600893b1bd); +windows_core::imp::define_interface!(IDirectMusicCollection, IDirectMusicCollection_Vtbl, 0xd2ac287c_b39b_11d1_8704_00600893b1bd); windows_core::imp::interface_hierarchy!(IDirectMusicCollection, windows_core::IUnknown); impl IDirectMusicCollection { pub unsafe fn GetInstrument(&self, dwpatch: u32) -> windows_core::Result { @@ -195,7 +195,7 @@ pub struct IDirectMusicCollection_Vtbl { pub GetInstrument: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumInstrument: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectMusicDownload, IDirectMusicDownload_Vtbl, 0xd2ac287b_b39b_11d1_8704_00600893b1bd); +windows_core::imp::define_interface!(IDirectMusicDownload, IDirectMusicDownload_Vtbl, 0xd2ac287b_b39b_11d1_8704_00600893b1bd); windows_core::imp::interface_hierarchy!(IDirectMusicDownload, windows_core::IUnknown); impl IDirectMusicDownload { pub unsafe fn GetBuffer(&self, ppvbuffer: *mut *mut core::ffi::c_void, pdwsize: *mut u32) -> windows_core::Result<()> { @@ -207,14 +207,14 @@ pub struct IDirectMusicDownload_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectMusicDownloadedInstrument, IDirectMusicDownloadedInstrument_Vtbl, 0xd2ac287e_b39b_11d1_8704_00600893b1bd); +windows_core::imp::define_interface!(IDirectMusicDownloadedInstrument, IDirectMusicDownloadedInstrument_Vtbl, 0xd2ac287e_b39b_11d1_8704_00600893b1bd); windows_core::imp::interface_hierarchy!(IDirectMusicDownloadedInstrument, windows_core::IUnknown); impl IDirectMusicDownloadedInstrument {} #[repr(C)] pub struct IDirectMusicDownloadedInstrument_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IDirectMusicInstrument, IDirectMusicInstrument_Vtbl, 0xd2ac287d_b39b_11d1_8704_00600893b1bd); +windows_core::imp::define_interface!(IDirectMusicInstrument, IDirectMusicInstrument_Vtbl, 0xd2ac287d_b39b_11d1_8704_00600893b1bd); windows_core::imp::interface_hierarchy!(IDirectMusicInstrument, windows_core::IUnknown); impl IDirectMusicInstrument { pub unsafe fn GetPatch(&self, pdwpatch: *mut u32) -> windows_core::Result<()> { @@ -230,7 +230,7 @@ pub struct IDirectMusicInstrument_Vtbl { pub GetPatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetPatch: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectMusicPort, IDirectMusicPort_Vtbl, 0x08f2d8c9_37c2_11d2_b9f9_0000f875ac12); +windows_core::imp::define_interface!(IDirectMusicPort, IDirectMusicPort_Vtbl, 0x08f2d8c9_37c2_11d2_b9f9_0000f875ac12); windows_core::imp::interface_hierarchy!(IDirectMusicPort, windows_core::IUnknown); impl IDirectMusicPort { pub unsafe fn PlayBuffer(&self, pbuffer: P0) -> windows_core::Result<()> @@ -337,7 +337,7 @@ pub struct IDirectMusicPort_Vtbl { SetDirectSound: usize, pub GetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::WAVEFORMATEX, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectMusicPortDownload, IDirectMusicPortDownload_Vtbl, 0xd2ac287a_b39b_11d1_8704_00600893b1bd); +windows_core::imp::define_interface!(IDirectMusicPortDownload, IDirectMusicPortDownload_Vtbl, 0xd2ac287a_b39b_11d1_8704_00600893b1bd); windows_core::imp::interface_hierarchy!(IDirectMusicPortDownload, windows_core::IUnknown); impl IDirectMusicPortDownload { pub unsafe fn GetBuffer(&self, dwdlid: u32) -> windows_core::Result { @@ -377,7 +377,7 @@ pub struct IDirectMusicPortDownload_Vtbl { pub Download: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Unload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectMusicSynth, IDirectMusicSynth_Vtbl, 0x09823661_5c85_11d2_afa6_00aa0024d8b6); +windows_core::imp::define_interface!(IDirectMusicSynth, IDirectMusicSynth_Vtbl, 0x09823661_5c85_11d2_afa6_00aa0024d8b6); windows_core::imp::interface_hierarchy!(IDirectMusicSynth, windows_core::IUnknown); impl IDirectMusicSynth { pub unsafe fn Open(&self, pportparams: *mut DMUS_PORTPARAMS8) -> windows_core::Result<()> { @@ -467,7 +467,7 @@ pub struct IDirectMusicSynth_Vtbl { pub GetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::WAVEFORMATEX, *mut u32) -> windows_core::HRESULT, pub GetAppend: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectMusicSynth8, IDirectMusicSynth8_Vtbl, 0x53cab625_2711_4c9f_9de7_1b7f925f6fc8); +windows_core::imp::define_interface!(IDirectMusicSynth8, IDirectMusicSynth8_Vtbl, 0x53cab625_2711_4c9f_9de7_1b7f925f6fc8); windows_core::imp::interface_hierarchy!(IDirectMusicSynth8, windows_core::IUnknown, IDirectMusicSynth); impl IDirectMusicSynth8 { pub unsafe fn Open(&self, pportparams: *mut DMUS_PORTPARAMS8) -> windows_core::Result<()> { @@ -560,7 +560,7 @@ pub struct IDirectMusicSynth8_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub AssignChannelToBuses: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectMusicSynthSink, IDirectMusicSynthSink_Vtbl, 0x09823663_5c85_11d2_afa6_00aa0024d8b6); +windows_core::imp::define_interface!(IDirectMusicSynthSink, IDirectMusicSynthSink_Vtbl, 0x09823663_5c85_11d2_afa6_00aa0024d8b6); windows_core::imp::interface_hierarchy!(IDirectMusicSynthSink, windows_core::IUnknown); impl IDirectMusicSynthSink { pub unsafe fn Init(&self, psynth: P0) -> windows_core::Result<()> @@ -618,7 +618,7 @@ pub struct IDirectMusicSynthSink_Vtbl { SetDirectSound: usize, pub GetDesiredBufferSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectMusicThru, IDirectMusicThru_Vtbl, 0xced153e7_3606_11d2_b9f9_0000f875ac12); +windows_core::imp::define_interface!(IDirectMusicThru, IDirectMusicThru_Vtbl, 0xced153e7_3606_11d2_b9f9_0000f875ac12); windows_core::imp::interface_hierarchy!(IDirectMusicThru, windows_core::IUnknown); impl IDirectMusicThru { pub unsafe fn ThruChannel(&self, dwsourcechannelgroup: u32, dwsourcechannel: u32, dwdestinationchannelgroup: u32, dwdestinationchannel: u32, pdestinationport: P0) -> windows_core::Result<()> 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 9de88e6ad5..78ab1ed0f1 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 @@ -65,7 +65,7 @@ pub unsafe fn GetDeviceID(pguidsrc: Option<*const windows_core::GUID>) -> window let mut result__ = std::mem::zeroed(); GetDeviceID(core::mem::transmute(pguidsrc.unwrap_or(std::ptr::null())), &mut result__).map(|| result__) } -windows_core::imp::com_interface!(IDirectSound, IDirectSound_Vtbl, 0x279afa83_4981_11ce_a521_0020af0be560); +windows_core::imp::define_interface!(IDirectSound, IDirectSound_Vtbl, 0x279afa83_4981_11ce_a521_0020af0be560); windows_core::imp::interface_hierarchy!(IDirectSound, windows_core::IUnknown); impl IDirectSound { pub unsafe fn CreateSoundBuffer(&self, pcdsbufferdesc: *const DSBUFFERDESC, ppdsbuffer: *mut Option, punkouter: P0) -> windows_core::Result<()> @@ -116,7 +116,7 @@ pub struct IDirectSound_Vtbl { pub SetSpeakerConfig: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSound3DBuffer, IDirectSound3DBuffer_Vtbl, 0x279afa86_4981_11ce_a521_0020af0be560); +windows_core::imp::define_interface!(IDirectSound3DBuffer, IDirectSound3DBuffer_Vtbl, 0x279afa86_4981_11ce_a521_0020af0be560); windows_core::imp::interface_hierarchy!(IDirectSound3DBuffer, windows_core::IUnknown); impl IDirectSound3DBuffer { #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -223,7 +223,7 @@ pub struct IDirectSound3DBuffer_Vtbl { pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, u32) -> windows_core::HRESULT, pub SetVelocity: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSound3DListener, IDirectSound3DListener_Vtbl, 0x279afa84_4981_11ce_a521_0020af0be560); +windows_core::imp::define_interface!(IDirectSound3DListener, IDirectSound3DListener_Vtbl, 0x279afa84_4981_11ce_a521_0020af0be560); windows_core::imp::interface_hierarchy!(IDirectSound3DListener, windows_core::IUnknown); impl IDirectSound3DListener { #[cfg(feature = "Win32_Graphics_Direct3D")] @@ -316,7 +316,7 @@ pub struct IDirectSound3DListener_Vtbl { pub SetVelocity: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, u32) -> windows_core::HRESULT, pub CommitDeferredSettings: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSound8, IDirectSound8_Vtbl, 0xc50a7e93_f395_4834_9ef6_7fa99de50966); +windows_core::imp::define_interface!(IDirectSound8, IDirectSound8_Vtbl, 0xc50a7e93_f395_4834_9ef6_7fa99de50966); windows_core::imp::interface_hierarchy!(IDirectSound8, windows_core::IUnknown, IDirectSound); impl IDirectSound8 { pub unsafe fn CreateSoundBuffer(&self, pcdsbufferdesc: *const DSBUFFERDESC, ppdsbuffer: *mut Option, punkouter: P0) -> windows_core::Result<()> @@ -364,7 +364,7 @@ pub struct IDirectSound8_Vtbl { pub base__: IDirectSound_Vtbl, pub VerifyCertification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundBuffer, IDirectSoundBuffer_Vtbl, 0x279afa85_4981_11ce_a521_0020af0be560); +windows_core::imp::define_interface!(IDirectSoundBuffer, IDirectSoundBuffer_Vtbl, 0x279afa85_4981_11ce_a521_0020af0be560); windows_core::imp::interface_hierarchy!(IDirectSoundBuffer, windows_core::IUnknown); impl IDirectSoundBuffer { pub unsafe fn GetCaps(&self, pdsbuffercaps: *mut DSBCAPS) -> windows_core::Result<()> { @@ -451,7 +451,7 @@ pub struct IDirectSoundBuffer_Vtbl { pub Unlock: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *const core::ffi::c_void, u32) -> windows_core::HRESULT, pub Restore: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundBuffer8, IDirectSoundBuffer8_Vtbl, 0x6825a449_7524_4d82_920f_50e36ab3ab1e); +windows_core::imp::define_interface!(IDirectSoundBuffer8, IDirectSoundBuffer8_Vtbl, 0x6825a449_7524_4d82_920f_50e36ab3ab1e); windows_core::imp::interface_hierarchy!(IDirectSoundBuffer8, windows_core::IUnknown, IDirectSoundBuffer); impl IDirectSoundBuffer8 { pub unsafe fn GetCaps(&self, pdsbuffercaps: *mut DSBCAPS) -> windows_core::Result<()> { @@ -532,7 +532,7 @@ pub struct IDirectSoundBuffer8_Vtbl { pub AcquireResources: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32) -> windows_core::HRESULT, pub GetObjectInPath: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundCapture, IDirectSoundCapture_Vtbl, 0xb0210781_89cd_11d0_af08_00a0c925cd16); +windows_core::imp::define_interface!(IDirectSoundCapture, IDirectSoundCapture_Vtbl, 0xb0210781_89cd_11d0_af08_00a0c925cd16); windows_core::imp::interface_hierarchy!(IDirectSoundCapture, windows_core::IUnknown); impl IDirectSoundCapture { pub unsafe fn CreateCaptureBuffer(&self, pcdscbufferdesc: *const DSCBUFFERDESC, ppdscbuffer: *mut Option, punkouter: P0) -> windows_core::Result<()> @@ -556,7 +556,7 @@ pub struct IDirectSoundCapture_Vtbl { pub GetCaps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSCCAPS) -> windows_core::HRESULT, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundCaptureBuffer, IDirectSoundCaptureBuffer_Vtbl, 0xb0210782_89cd_11d0_af08_00a0c925cd16); +windows_core::imp::define_interface!(IDirectSoundCaptureBuffer, IDirectSoundCaptureBuffer_Vtbl, 0xb0210782_89cd_11d0_af08_00a0c925cd16); windows_core::imp::interface_hierarchy!(IDirectSoundCaptureBuffer, windows_core::IUnknown); impl IDirectSoundCaptureBuffer { pub unsafe fn GetCaps(&self) -> windows_core::Result { @@ -605,7 +605,7 @@ pub struct IDirectSoundCaptureBuffer_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Unlock: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundCaptureBuffer8, IDirectSoundCaptureBuffer8_Vtbl, 0x00990df4_0dbb_4872_833e_6d303e80aeb6); +windows_core::imp::define_interface!(IDirectSoundCaptureBuffer8, IDirectSoundCaptureBuffer8_Vtbl, 0x00990df4_0dbb_4872_833e_6d303e80aeb6); windows_core::imp::interface_hierarchy!(IDirectSoundCaptureBuffer8, windows_core::IUnknown, IDirectSoundCaptureBuffer); impl IDirectSoundCaptureBuffer8 { pub unsafe fn GetCaps(&self) -> windows_core::Result { @@ -653,7 +653,7 @@ pub struct IDirectSoundCaptureBuffer8_Vtbl { pub GetObjectInPath: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFXStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundCaptureFXAec, IDirectSoundCaptureFXAec_Vtbl, 0xad74143d_903d_4ab7_8066_28d363036d65); +windows_core::imp::define_interface!(IDirectSoundCaptureFXAec, IDirectSoundCaptureFXAec_Vtbl, 0xad74143d_903d_4ab7_8066_28d363036d65); windows_core::imp::interface_hierarchy!(IDirectSoundCaptureFXAec, windows_core::IUnknown); impl IDirectSoundCaptureFXAec { pub unsafe fn SetAllParameters(&self, pdscfxaec: *const DSCFXAec) -> windows_core::Result<()> { @@ -679,7 +679,7 @@ pub struct IDirectSoundCaptureFXAec_Vtbl { pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundCaptureFXNoiseSuppress, IDirectSoundCaptureFXNoiseSuppress_Vtbl, 0xed311e41_fbae_4175_9625_cd0854f693ca); +windows_core::imp::define_interface!(IDirectSoundCaptureFXNoiseSuppress, IDirectSoundCaptureFXNoiseSuppress_Vtbl, 0xed311e41_fbae_4175_9625_cd0854f693ca); windows_core::imp::interface_hierarchy!(IDirectSoundCaptureFXNoiseSuppress, windows_core::IUnknown); impl IDirectSoundCaptureFXNoiseSuppress { pub unsafe fn SetAllParameters(&self, pcdscfxnoisesuppress: *const DSCFXNoiseSuppress) -> windows_core::Result<()> { @@ -700,7 +700,7 @@ pub struct IDirectSoundCaptureFXNoiseSuppress_Vtbl { pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSCFXNoiseSuppress) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundFXChorus, IDirectSoundFXChorus_Vtbl, 0x880842e3_145f_43e6_a934_a71806e50547); +windows_core::imp::define_interface!(IDirectSoundFXChorus, IDirectSoundFXChorus_Vtbl, 0x880842e3_145f_43e6_a934_a71806e50547); windows_core::imp::interface_hierarchy!(IDirectSoundFXChorus, windows_core::IUnknown); impl IDirectSoundFXChorus { pub unsafe fn SetAllParameters(&self, pcdsfxchorus: *const DSFXChorus) -> windows_core::Result<()> { @@ -716,7 +716,7 @@ pub struct IDirectSoundFXChorus_Vtbl { pub SetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const DSFXChorus) -> windows_core::HRESULT, pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXChorus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundFXCompressor, IDirectSoundFXCompressor_Vtbl, 0x4bbd1154_62f6_4e2c_a15c_d3b6c417f7a0); +windows_core::imp::define_interface!(IDirectSoundFXCompressor, IDirectSoundFXCompressor_Vtbl, 0x4bbd1154_62f6_4e2c_a15c_d3b6c417f7a0); windows_core::imp::interface_hierarchy!(IDirectSoundFXCompressor, windows_core::IUnknown); impl IDirectSoundFXCompressor { pub unsafe fn SetAllParameters(&self, pcdsfxcompressor: *const DSFXCompressor) -> windows_core::Result<()> { @@ -732,7 +732,7 @@ pub struct IDirectSoundFXCompressor_Vtbl { pub SetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const DSFXCompressor) -> windows_core::HRESULT, pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXCompressor) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundFXDistortion, IDirectSoundFXDistortion_Vtbl, 0x8ecf4326_455f_4d8b_bda9_8d5d3e9e3e0b); +windows_core::imp::define_interface!(IDirectSoundFXDistortion, IDirectSoundFXDistortion_Vtbl, 0x8ecf4326_455f_4d8b_bda9_8d5d3e9e3e0b); windows_core::imp::interface_hierarchy!(IDirectSoundFXDistortion, windows_core::IUnknown); impl IDirectSoundFXDistortion { pub unsafe fn SetAllParameters(&self, pcdsfxdistortion: *const DSFXDistortion) -> windows_core::Result<()> { @@ -748,7 +748,7 @@ pub struct IDirectSoundFXDistortion_Vtbl { pub SetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const DSFXDistortion) -> windows_core::HRESULT, pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXDistortion) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundFXEcho, IDirectSoundFXEcho_Vtbl, 0x8bd28edf_50db_4e92_a2bd_445488d1ed42); +windows_core::imp::define_interface!(IDirectSoundFXEcho, IDirectSoundFXEcho_Vtbl, 0x8bd28edf_50db_4e92_a2bd_445488d1ed42); windows_core::imp::interface_hierarchy!(IDirectSoundFXEcho, windows_core::IUnknown); impl IDirectSoundFXEcho { pub unsafe fn SetAllParameters(&self, pcdsfxecho: *const DSFXEcho) -> windows_core::Result<()> { @@ -764,7 +764,7 @@ pub struct IDirectSoundFXEcho_Vtbl { pub SetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const DSFXEcho) -> windows_core::HRESULT, pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXEcho) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundFXFlanger, IDirectSoundFXFlanger_Vtbl, 0x903e9878_2c92_4072_9b2c_ea68f5396783); +windows_core::imp::define_interface!(IDirectSoundFXFlanger, IDirectSoundFXFlanger_Vtbl, 0x903e9878_2c92_4072_9b2c_ea68f5396783); windows_core::imp::interface_hierarchy!(IDirectSoundFXFlanger, windows_core::IUnknown); impl IDirectSoundFXFlanger { pub unsafe fn SetAllParameters(&self, pcdsfxflanger: *const DSFXFlanger) -> windows_core::Result<()> { @@ -780,7 +780,7 @@ pub struct IDirectSoundFXFlanger_Vtbl { pub SetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const DSFXFlanger) -> windows_core::HRESULT, pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXFlanger) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundFXGargle, IDirectSoundFXGargle_Vtbl, 0xd616f352_d622_11ce_aac5_0020af0b99a3); +windows_core::imp::define_interface!(IDirectSoundFXGargle, IDirectSoundFXGargle_Vtbl, 0xd616f352_d622_11ce_aac5_0020af0b99a3); windows_core::imp::interface_hierarchy!(IDirectSoundFXGargle, windows_core::IUnknown); impl IDirectSoundFXGargle { pub unsafe fn SetAllParameters(&self, pcdsfxgargle: *const DSFXGargle) -> windows_core::Result<()> { @@ -797,7 +797,7 @@ pub struct IDirectSoundFXGargle_Vtbl { pub SetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const DSFXGargle) -> windows_core::HRESULT, pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXGargle) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundFXI3DL2Reverb, IDirectSoundFXI3DL2Reverb_Vtbl, 0x4b166a6a_0d66_43f3_80e3_ee6280dee1a4); +windows_core::imp::define_interface!(IDirectSoundFXI3DL2Reverb, IDirectSoundFXI3DL2Reverb_Vtbl, 0x4b166a6a_0d66_43f3_80e3_ee6280dee1a4); windows_core::imp::interface_hierarchy!(IDirectSoundFXI3DL2Reverb, windows_core::IUnknown); impl IDirectSoundFXI3DL2Reverb { pub unsafe fn SetAllParameters(&self, pcdsfxi3dl2reverb: *const DSFXI3DL2Reverb) -> windows_core::Result<()> { @@ -831,7 +831,7 @@ pub struct IDirectSoundFXI3DL2Reverb_Vtbl { pub SetQuality: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetQuality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundFXParamEq, IDirectSoundFXParamEq_Vtbl, 0xc03ca9fe_fe90_4204_8078_82334cd177da); +windows_core::imp::define_interface!(IDirectSoundFXParamEq, IDirectSoundFXParamEq_Vtbl, 0xc03ca9fe_fe90_4204_8078_82334cd177da); windows_core::imp::interface_hierarchy!(IDirectSoundFXParamEq, windows_core::IUnknown); impl IDirectSoundFXParamEq { pub unsafe fn SetAllParameters(&self, pcdsfxparameq: *const DSFXParamEq) -> windows_core::Result<()> { @@ -848,7 +848,7 @@ pub struct IDirectSoundFXParamEq_Vtbl { pub SetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const DSFXParamEq) -> windows_core::HRESULT, pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXParamEq) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundFXWavesReverb, IDirectSoundFXWavesReverb_Vtbl, 0x46858c3a_0dc6_45e3_b760_d4eef16cb325); +windows_core::imp::define_interface!(IDirectSoundFXWavesReverb, IDirectSoundFXWavesReverb_Vtbl, 0x46858c3a_0dc6_45e3_b760_d4eef16cb325); windows_core::imp::interface_hierarchy!(IDirectSoundFXWavesReverb, windows_core::IUnknown); impl IDirectSoundFXWavesReverb { pub unsafe fn SetAllParameters(&self, pcdsfxwavesreverb: *const DSFXWavesReverb) -> windows_core::Result<()> { @@ -865,7 +865,7 @@ pub struct IDirectSoundFXWavesReverb_Vtbl { pub SetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const DSFXWavesReverb) -> windows_core::HRESULT, pub GetAllParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DSFXWavesReverb) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundFullDuplex, IDirectSoundFullDuplex_Vtbl, 0xedcb4c7a_daab_4216_a42e_6c50596ddc1d); +windows_core::imp::define_interface!(IDirectSoundFullDuplex, IDirectSoundFullDuplex_Vtbl, 0xedcb4c7a_daab_4216_a42e_6c50596ddc1d); windows_core::imp::interface_hierarchy!(IDirectSoundFullDuplex, windows_core::IUnknown); impl IDirectSoundFullDuplex { pub unsafe fn Initialize(&self, pcaptureguid: *const windows_core::GUID, prenderguid: *const windows_core::GUID, lpdscbufferdesc: *const DSCBUFFERDESC, lpdsbufferdesc: *const DSBUFFERDESC, hwnd: P0, dwlevel: u32, lplpdirectsoundcapturebuffer8: *mut Option, lplpdirectsoundbuffer8: *mut Option) -> windows_core::Result<()> @@ -880,7 +880,7 @@ pub struct IDirectSoundFullDuplex_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *const DSCBUFFERDESC, *const DSBUFFERDESC, super::super::super::Foundation::HWND, u32, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectSoundNotify, IDirectSoundNotify_Vtbl, 0xb0210783_89cd_11d0_af08_00a0c925cd16); +windows_core::imp::define_interface!(IDirectSoundNotify, IDirectSoundNotify_Vtbl, 0xb0210783_89cd_11d0_af08_00a0c925cd16); windows_core::imp::interface_hierarchy!(IDirectSoundNotify, windows_core::IUnknown); impl IDirectSoundNotify { pub unsafe fn SetNotificationPositions(&self, pcpositionnotifies: &[DSBPOSITIONNOTIFY]) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs index a79c6c8de8..c9e5b7cc2e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAudioEndpointFormatControl, IAudioEndpointFormatControl_Vtbl, 0x784cfd40_9f89_456e_a1a6_873b006a664e); +windows_core::imp::define_interface!(IAudioEndpointFormatControl, IAudioEndpointFormatControl_Vtbl, 0x784cfd40_9f89_456e_a1a6_873b006a664e); windows_core::imp::interface_hierarchy!(IAudioEndpointFormatControl, windows_core::IUnknown); impl IAudioEndpointFormatControl { pub unsafe fn ResetToDefault(&self, resetflags: u32) -> windows_core::Result<()> { @@ -10,7 +10,7 @@ pub struct IAudioEndpointFormatControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ResetToDefault: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEndpointLastBufferControl, IAudioEndpointLastBufferControl_Vtbl, 0xf8520dd3_8f9d_4437_9861_62f584c33dd6); +windows_core::imp::define_interface!(IAudioEndpointLastBufferControl, IAudioEndpointLastBufferControl_Vtbl, 0xf8520dd3_8f9d_4437_9861_62f584c33dd6); windows_core::imp::interface_hierarchy!(IAudioEndpointLastBufferControl, windows_core::IUnknown); impl IAudioEndpointLastBufferControl { pub unsafe fn IsLastBufferControlSupported(&self) -> super::super::super::Foundation::BOOL { @@ -30,7 +30,7 @@ pub struct IAudioEndpointLastBufferControl_Vtbl { #[cfg(not(feature = "Win32_Media_Audio_Apo"))] ReleaseOutputDataPointerForLastBuffer: usize, } -windows_core::imp::com_interface!(IAudioEndpointOffloadStreamMeter, IAudioEndpointOffloadStreamMeter_Vtbl, 0xe1546dce_9dd1_418b_9ab2_348ced161c86); +windows_core::imp::define_interface!(IAudioEndpointOffloadStreamMeter, IAudioEndpointOffloadStreamMeter_Vtbl, 0xe1546dce_9dd1_418b_9ab2_348ced161c86); windows_core::imp::interface_hierarchy!(IAudioEndpointOffloadStreamMeter, windows_core::IUnknown); impl IAudioEndpointOffloadStreamMeter { pub unsafe fn GetMeterChannelCount(&self) -> windows_core::Result { @@ -48,7 +48,7 @@ pub struct IAudioEndpointOffloadStreamMeter_Vtbl { pub GetMeterChannelCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetMeteringData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEndpointOffloadStreamMute, IAudioEndpointOffloadStreamMute_Vtbl, 0xdfe21355_5ec2_40e0_8d6b_710ac3c00249); +windows_core::imp::define_interface!(IAudioEndpointOffloadStreamMute, IAudioEndpointOffloadStreamMute_Vtbl, 0xdfe21355_5ec2_40e0_8d6b_710ac3c00249); windows_core::imp::interface_hierarchy!(IAudioEndpointOffloadStreamMute, windows_core::IUnknown); impl IAudioEndpointOffloadStreamMute { pub unsafe fn SetMute(&self, bmuted: u8) -> windows_core::Result<()> { @@ -65,7 +65,7 @@ pub struct IAudioEndpointOffloadStreamMute_Vtbl { pub SetMute: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, pub GetMute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEndpointOffloadStreamVolume, IAudioEndpointOffloadStreamVolume_Vtbl, 0x64f1dd49_71ca_4281_8672_3a9eddd1d0b6); +windows_core::imp::define_interface!(IAudioEndpointOffloadStreamVolume, IAudioEndpointOffloadStreamVolume_Vtbl, 0x64f1dd49_71ca_4281_8672_3a9eddd1d0b6); windows_core::imp::interface_hierarchy!(IAudioEndpointOffloadStreamVolume, windows_core::IUnknown); impl IAudioEndpointOffloadStreamVolume { pub unsafe fn GetVolumeChannelCount(&self) -> windows_core::Result { @@ -91,7 +91,7 @@ pub struct IAudioEndpointOffloadStreamVolume_Vtbl { SetChannelVolumes: usize, pub GetChannelVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEndpointVolume, IAudioEndpointVolume_Vtbl, 0x5cdf2c82_841e_4546_9722_0cf74078229a); +windows_core::imp::define_interface!(IAudioEndpointVolume, IAudioEndpointVolume_Vtbl, 0x5cdf2c82_841e_4546_9722_0cf74078229a); windows_core::imp::interface_hierarchy!(IAudioEndpointVolume, windows_core::IUnknown); impl IAudioEndpointVolume { pub unsafe fn RegisterControlChangeNotify(&self, pnotify: P0) -> windows_core::Result<()> @@ -187,7 +187,7 @@ pub struct IAudioEndpointVolume_Vtbl { pub QueryHardwareSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetVolumeRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32, *mut f32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEndpointVolumeCallback, IAudioEndpointVolumeCallback_Vtbl, 0x657804fa_d6ad_4496_8a60_352752af4f89); +windows_core::imp::define_interface!(IAudioEndpointVolumeCallback, IAudioEndpointVolumeCallback_Vtbl, 0x657804fa_d6ad_4496_8a60_352752af4f89); windows_core::imp::interface_hierarchy!(IAudioEndpointVolumeCallback, windows_core::IUnknown); impl IAudioEndpointVolumeCallback { pub unsafe fn OnNotify(&self, pnotify: *mut super::AUDIO_VOLUME_NOTIFICATION_DATA) -> windows_core::Result<()> { @@ -199,7 +199,7 @@ pub struct IAudioEndpointVolumeCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::AUDIO_VOLUME_NOTIFICATION_DATA) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEndpointVolumeEx, IAudioEndpointVolumeEx_Vtbl, 0x66e11784_f695_4f28_a505_a7080081a78f); +windows_core::imp::define_interface!(IAudioEndpointVolumeEx, IAudioEndpointVolumeEx_Vtbl, 0x66e11784_f695_4f28_a505_a7080081a78f); windows_core::imp::interface_hierarchy!(IAudioEndpointVolumeEx, windows_core::IUnknown, IAudioEndpointVolume); impl IAudioEndpointVolumeEx { pub unsafe fn RegisterControlChangeNotify(&self, pnotify: P0) -> windows_core::Result<()> @@ -281,7 +281,7 @@ pub struct IAudioEndpointVolumeEx_Vtbl { pub base__: IAudioEndpointVolume_Vtbl, pub GetVolumeRangeChannel: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32, *mut f32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioLfxControl, IAudioLfxControl_Vtbl, 0x076a6922_d802_4f83_baf6_409d9ca11bfe); +windows_core::imp::define_interface!(IAudioLfxControl, IAudioLfxControl_Vtbl, 0x076a6922_d802_4f83_baf6_409d9ca11bfe); windows_core::imp::interface_hierarchy!(IAudioLfxControl, windows_core::IUnknown); impl IAudioLfxControl { pub unsafe fn SetLocalEffectsState(&self, benabled: P0) -> windows_core::Result<()> @@ -301,7 +301,7 @@ pub struct IAudioLfxControl_Vtbl { pub SetLocalEffectsState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetLocalEffectsState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioMeterInformation, IAudioMeterInformation_Vtbl, 0xc02216f6_8c67_4b5b_9d00_d008e73e0064); +windows_core::imp::define_interface!(IAudioMeterInformation, IAudioMeterInformation_Vtbl, 0xc02216f6_8c67_4b5b_9d00_d008e73e0064); windows_core::imp::interface_hierarchy!(IAudioMeterInformation, windows_core::IUnknown); impl IAudioMeterInformation { pub unsafe fn GetPeakValue(&self) -> windows_core::Result { @@ -328,7 +328,7 @@ pub struct IAudioMeterInformation_Vtbl { pub GetChannelsPeakValues: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, pub QueryHardwareSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHardwareAudioEngineBase, IHardwareAudioEngineBase_Vtbl, 0xeddce3e4_f3c1_453a_b461_223563cbd886); +windows_core::imp::define_interface!(IHardwareAudioEngineBase, IHardwareAudioEngineBase_Vtbl, 0xeddce3e4_f3c1_453a_b461_223563cbd886); windows_core::imp::interface_hierarchy!(IHardwareAudioEngineBase, windows_core::IUnknown); impl IHardwareAudioEngineBase { pub unsafe fn GetAvailableOffloadConnectorCount(&self, _pwstrdeviceid: P0, _uconnectorid: u32) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/mod.rs index 7ea0694fdf..ef60444464 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 @@ -26,7 +26,7 @@ pub unsafe fn XAudio2CreateWithVersionInfo(ppxaudio2: *mut Option, fla windows_targets::link!("xaudio2_8.dll" "system" fn XAudio2CreateWithVersionInfo(ppxaudio2 : *mut * mut core::ffi::c_void, flags : u32, xaudio2processor : u32, ntddiversion : u32) -> windows_core::HRESULT); XAudio2CreateWithVersionInfo(core::mem::transmute(ppxaudio2), flags, xaudio2processor, ntddiversion).ok() } -windows_core::imp::com_interface!(IXAPO, IXAPO_Vtbl, 0xa410b984_9839_4819_a0be_2856ae6b3adb); +windows_core::imp::define_interface!(IXAPO, IXAPO_Vtbl, 0xa410b984_9839_4819_a0be_2856ae6b3adb); windows_core::imp::interface_hierarchy!(IXAPO, windows_core::IUnknown); impl IXAPO { pub unsafe fn GetRegistrationProperties(&self) -> windows_core::Result<*mut XAPO_REGISTRATION_PROPERTIES> { @@ -78,7 +78,7 @@ pub struct IXAPO_Vtbl { pub CalcInputFrames: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, pub CalcOutputFrames: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> u32, } -windows_core::imp::com_interface!(IXAPOHrtfParameters, IXAPOHrtfParameters_Vtbl, 0x15b3cd66_e9de_4464_b6e6_2bc3cf63d455); +windows_core::imp::define_interface!(IXAPOHrtfParameters, IXAPOHrtfParameters_Vtbl, 0x15b3cd66_e9de_4464_b6e6_2bc3cf63d455); windows_core::imp::interface_hierarchy!(IXAPOHrtfParameters, windows_core::IUnknown); impl IXAPOHrtfParameters { pub unsafe fn SetSourcePosition(&self, position: *const HrtfPosition) -> windows_core::Result<()> { @@ -102,7 +102,7 @@ pub struct IXAPOHrtfParameters_Vtbl { pub SetSourceGain: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, pub SetEnvironment: unsafe extern "system" fn(*mut core::ffi::c_void, HrtfEnvironment) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXAPOParameters, IXAPOParameters_Vtbl, 0x26d95c66_80f2_499a_ad54_5ae7f01c6d98); +windows_core::imp::define_interface!(IXAPOParameters, IXAPOParameters_Vtbl, 0x26d95c66_80f2_499a_ad54_5ae7f01c6d98); windows_core::imp::interface_hierarchy!(IXAPOParameters, windows_core::IUnknown); impl IXAPOParameters { pub unsafe fn SetParameters(&self, pparameters: *const core::ffi::c_void, parameterbytesize: u32) { @@ -118,7 +118,7 @@ pub struct IXAPOParameters_Vtbl { pub SetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32), pub GetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32), } -windows_core::imp::com_interface!(IXAudio2, IXAudio2_Vtbl, 0x2b02e3cf_2e0b_4ec3_be45_1b2a3fe7210d); +windows_core::imp::define_interface!(IXAudio2, IXAudio2_Vtbl, 0x2b02e3cf_2e0b_4ec3_be45_1b2a3fe7210d); windows_core::imp::interface_hierarchy!(IXAudio2, windows_core::IUnknown); impl IXAudio2 { pub unsafe fn RegisterForCallbacks(&self, pcallback: P0) -> windows_core::Result<()> @@ -178,7 +178,7 @@ pub struct IXAudio2_Vtbl { pub GetPerformanceData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XAUDIO2_PERFORMANCE_DATA), pub SetDebugConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, *const XAUDIO2_DEBUG_CONFIGURATION, *const core::ffi::c_void), } -windows_core::imp::interface!(IXAudio2EngineCallback, IXAudio2EngineCallback_Vtbl); +windows_core::imp::define_interface!(IXAudio2EngineCallback, IXAudio2EngineCallback_Vtbl); impl IXAudio2EngineCallback { pub unsafe fn OnProcessingPassStart(&self) { (windows_core::Interface::vtable(self).OnProcessingPassStart)(windows_core::Interface::as_raw(self)) @@ -196,7 +196,7 @@ pub struct IXAudio2EngineCallback_Vtbl { pub OnProcessingPassEnd: unsafe extern "system" fn(*mut core::ffi::c_void), pub OnCriticalError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT), } -windows_core::imp::com_interface!(IXAudio2Extension, IXAudio2Extension_Vtbl, 0x84ac29bb_d619_44d2_b197_e4acf7df3ed6); +windows_core::imp::define_interface!(IXAudio2Extension, IXAudio2Extension_Vtbl, 0x84ac29bb_d619_44d2_b197_e4acf7df3ed6); windows_core::imp::interface_hierarchy!(IXAudio2Extension, windows_core::IUnknown); impl IXAudio2Extension { pub unsafe fn GetProcessingQuantum(&self, quantumnumerator: *mut u32, quantumdenominator: *mut u32) { @@ -212,7 +212,7 @@ pub struct IXAudio2Extension_Vtbl { pub GetProcessingQuantum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32), pub GetProcessor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32), } -windows_core::imp::interface!(IXAudio2MasteringVoice, IXAudio2MasteringVoice_Vtbl); +windows_core::imp::define_interface!(IXAudio2MasteringVoice, IXAudio2MasteringVoice_Vtbl); windows_core::imp::interface_hierarchy!(IXAudio2MasteringVoice, IXAudio2Voice); impl IXAudio2MasteringVoice { pub unsafe fn GetVoiceDetails(&self) -> XAUDIO2_VOICE_DETAILS { @@ -306,7 +306,7 @@ pub struct IXAudio2MasteringVoice_Vtbl { pub base__: IXAudio2Voice_Vtbl, pub GetChannelMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(IXAudio2SourceVoice, IXAudio2SourceVoice_Vtbl); +windows_core::imp::define_interface!(IXAudio2SourceVoice, IXAudio2SourceVoice_Vtbl); windows_core::imp::interface_hierarchy!(IXAudio2SourceVoice, IXAudio2Voice); impl IXAudio2SourceVoice { pub unsafe fn GetVoiceDetails(&self) -> XAUDIO2_VOICE_DETAILS { @@ -437,7 +437,7 @@ pub struct IXAudio2SourceVoice_Vtbl { pub GetFrequencyRatio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32), pub SetSourceSampleRate: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(IXAudio2SubmixVoice, IXAudio2SubmixVoice_Vtbl); +windows_core::imp::define_interface!(IXAudio2SubmixVoice, IXAudio2SubmixVoice_Vtbl); windows_core::imp::interface_hierarchy!(IXAudio2SubmixVoice, IXAudio2Voice); impl IXAudio2SubmixVoice { pub unsafe fn GetVoiceDetails(&self) -> XAUDIO2_VOICE_DETAILS { @@ -526,7 +526,7 @@ impl IXAudio2SubmixVoice { pub struct IXAudio2SubmixVoice_Vtbl { pub base__: IXAudio2Voice_Vtbl, } -windows_core::imp::interface!(IXAudio2Voice, IXAudio2Voice_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(); @@ -632,7 +632,7 @@ pub struct IXAudio2Voice_Vtbl { pub GetOutputMatrix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut f32), pub DestroyVoice: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::interface!(IXAudio2VoiceCallback, IXAudio2VoiceCallback_Vtbl); +windows_core::imp::define_interface!(IXAudio2VoiceCallback, IXAudio2VoiceCallback_Vtbl); impl IXAudio2VoiceCallback { pub unsafe fn OnVoiceProcessingPassStart(&self, bytesrequired: u32) { (windows_core::Interface::vtable(self).OnVoiceProcessingPassStart)(windows_core::Interface::as_raw(self), bytesrequired) 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 7c3ba1baee..a2e5b7b445 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/mod.rs @@ -1153,7 +1153,7 @@ where windows_targets::link!("winmm.dll" "system" fn waveOutWrite(hwo : HWAVEOUT, pwh : *mut WAVEHDR, cbwh : u32) -> u32); waveOutWrite(hwo.into_param().abi(), pwh, cbwh) } -windows_core::imp::com_interface!(IAcousticEchoCancellationControl, IAcousticEchoCancellationControl_Vtbl, 0xf4ae25b5_aaa3_437d_b6b3_dbbe2d0e9549); +windows_core::imp::define_interface!(IAcousticEchoCancellationControl, IAcousticEchoCancellationControl_Vtbl, 0xf4ae25b5_aaa3_437d_b6b3_dbbe2d0e9549); windows_core::imp::interface_hierarchy!(IAcousticEchoCancellationControl, windows_core::IUnknown); impl IAcousticEchoCancellationControl { pub unsafe fn SetEchoCancellationRenderEndpoint(&self, endpointid: P0) -> windows_core::Result<()> @@ -1168,7 +1168,7 @@ pub struct IAcousticEchoCancellationControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetEchoCancellationRenderEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivateAudioInterfaceAsyncOperation, IActivateAudioInterfaceAsyncOperation_Vtbl, 0x72a22d78_cde4_431d_b8cc_843a71199b6d); +windows_core::imp::define_interface!(IActivateAudioInterfaceAsyncOperation, IActivateAudioInterfaceAsyncOperation_Vtbl, 0x72a22d78_cde4_431d_b8cc_843a71199b6d); windows_core::imp::interface_hierarchy!(IActivateAudioInterfaceAsyncOperation, windows_core::IUnknown); impl IActivateAudioInterfaceAsyncOperation { pub unsafe fn GetActivateResult(&self, activateresult: *mut windows_core::HRESULT, activatedinterface: *mut Option) -> windows_core::Result<()> { @@ -1180,7 +1180,7 @@ pub struct IActivateAudioInterfaceAsyncOperation_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetActivateResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivateAudioInterfaceCompletionHandler, IActivateAudioInterfaceCompletionHandler_Vtbl, 0x41d949ab_9862_444a_80f6_c261334da5eb); +windows_core::imp::define_interface!(IActivateAudioInterfaceCompletionHandler, IActivateAudioInterfaceCompletionHandler_Vtbl, 0x41d949ab_9862_444a_80f6_c261334da5eb); windows_core::imp::interface_hierarchy!(IActivateAudioInterfaceCompletionHandler, windows_core::IUnknown); impl IActivateAudioInterfaceCompletionHandler { pub unsafe fn ActivateCompleted(&self, activateoperation: P0) -> windows_core::Result<()> @@ -1195,7 +1195,7 @@ pub struct IActivateAudioInterfaceCompletionHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ActivateCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioAmbisonicsControl, IAudioAmbisonicsControl_Vtbl, 0x28724c91_df35_4856_9f76_d6a26413f3df); +windows_core::imp::define_interface!(IAudioAmbisonicsControl, IAudioAmbisonicsControl_Vtbl, 0x28724c91_df35_4856_9f76_d6a26413f3df); windows_core::imp::interface_hierarchy!(IAudioAmbisonicsControl, windows_core::IUnknown); impl IAudioAmbisonicsControl { pub unsafe fn SetData(&self, pambisonicsparams: &[AMBISONICS_PARAMS]) -> windows_core::Result<()> { @@ -1223,7 +1223,7 @@ pub struct IAudioAmbisonicsControl_Vtbl { pub GetHeadTracking: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetRotation: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioAutoGainControl, IAudioAutoGainControl_Vtbl, 0x85401fd4_6de4_4b9d_9869_2d6753a82f3c); +windows_core::imp::define_interface!(IAudioAutoGainControl, IAudioAutoGainControl_Vtbl, 0x85401fd4_6de4_4b9d_9869_2d6753a82f3c); windows_core::imp::interface_hierarchy!(IAudioAutoGainControl, windows_core::IUnknown); impl IAudioAutoGainControl { pub unsafe fn GetEnabled(&self) -> windows_core::Result { @@ -1243,7 +1243,7 @@ pub struct IAudioAutoGainControl_Vtbl { pub GetEnabled: 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, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioBass, IAudioBass_Vtbl, 0xa2b1a1d9_4db3_425d_a2b2_bd335cb3e2e5); +windows_core::imp::define_interface!(IAudioBass, IAudioBass_Vtbl, 0xa2b1a1d9_4db3_425d_a2b2_bd335cb3e2e5); windows_core::imp::interface_hierarchy!(IAudioBass, windows_core::IUnknown, IPerChannelDbLevel); impl IAudioBass { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { @@ -1271,7 +1271,7 @@ impl IAudioBass { pub struct IAudioBass_Vtbl { pub base__: IPerChannelDbLevel_Vtbl, } -windows_core::imp::com_interface!(IAudioCaptureClient, IAudioCaptureClient_Vtbl, 0xc8adbd64_e71e_48a0_a4de_185c395cd317); +windows_core::imp::define_interface!(IAudioCaptureClient, IAudioCaptureClient_Vtbl, 0xc8adbd64_e71e_48a0_a4de_185c395cd317); windows_core::imp::interface_hierarchy!(IAudioCaptureClient, windows_core::IUnknown); impl IAudioCaptureClient { pub unsafe fn GetBuffer(&self, ppdata: *mut *mut u8, pnumframestoread: *mut u32, pdwflags: *mut u32, pu64deviceposition: Option<*mut u64>, pu64qpcposition: Option<*mut u64>) -> windows_core::Result<()> { @@ -1292,7 +1292,7 @@ pub struct IAudioCaptureClient_Vtbl { pub ReleaseBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetNextPacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioChannelConfig, IAudioChannelConfig_Vtbl, 0xbb11c46f_ec28_493c_b88a_5db88062ce98); +windows_core::imp::define_interface!(IAudioChannelConfig, IAudioChannelConfig_Vtbl, 0xbb11c46f_ec28_493c_b88a_5db88062ce98); windows_core::imp::interface_hierarchy!(IAudioChannelConfig, windows_core::IUnknown); impl IAudioChannelConfig { pub unsafe fn SetChannelConfig(&self, dwconfig: u32, pguideventcontext: Option<*const windows_core::GUID>) -> windows_core::Result<()> { @@ -1309,7 +1309,7 @@ pub struct IAudioChannelConfig_Vtbl { pub SetChannelConfig: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, pub GetChannelConfig: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioClient, IAudioClient_Vtbl, 0x1cb9ad4c_dbfa_4c32_b178_c2f568a703b2); +windows_core::imp::define_interface!(IAudioClient, IAudioClient_Vtbl, 0x1cb9ad4c_dbfa_4c32_b178_c2f568a703b2); windows_core::imp::interface_hierarchy!(IAudioClient, windows_core::IUnknown); impl IAudioClient { pub unsafe fn Initialize(&self, sharemode: AUDCLNT_SHAREMODE, streamflags: u32, hnsbufferduration: i64, hnsperiodicity: i64, pformat: *const WAVEFORMATEX, audiosessionguid: Option<*const windows_core::GUID>) -> windows_core::Result<()> { @@ -1376,7 +1376,7 @@ pub struct IAudioClient_Vtbl { pub SetEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioClient2, IAudioClient2_Vtbl, 0x726778cd_f60a_4eda_82de_e47610cd78aa); +windows_core::imp::define_interface!(IAudioClient2, IAudioClient2_Vtbl, 0x726778cd_f60a_4eda_82de_e47610cd78aa); windows_core::imp::interface_hierarchy!(IAudioClient2, windows_core::IUnknown, IAudioClient); impl IAudioClient2 { pub unsafe fn Initialize(&self, sharemode: AUDCLNT_SHAREMODE, streamflags: u32, hnsbufferduration: i64, hnsperiodicity: i64, pformat: *const WAVEFORMATEX, audiosessionguid: Option<*const windows_core::GUID>) -> windows_core::Result<()> { @@ -1447,7 +1447,7 @@ pub struct IAudioClient2_Vtbl { pub SetClientProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *const AudioClientProperties) -> windows_core::HRESULT, pub GetBufferSizeLimits: unsafe extern "system" fn(*mut core::ffi::c_void, *const WAVEFORMATEX, super::super::Foundation::BOOL, *mut i64, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioClient3, IAudioClient3_Vtbl, 0x7ed4ee07_8e67_4cd4_8c1a_2b7a5987ad42); +windows_core::imp::define_interface!(IAudioClient3, IAudioClient3_Vtbl, 0x7ed4ee07_8e67_4cd4_8c1a_2b7a5987ad42); windows_core::imp::interface_hierarchy!(IAudioClient3, windows_core::IUnknown, IAudioClient, IAudioClient2); impl IAudioClient3 { pub unsafe fn Initialize(&self, sharemode: AUDCLNT_SHAREMODE, streamflags: u32, hnsbufferduration: i64, hnsperiodicity: i64, pformat: *const WAVEFORMATEX, audiosessionguid: Option<*const windows_core::GUID>) -> windows_core::Result<()> { @@ -1527,7 +1527,7 @@ pub struct IAudioClient3_Vtbl { pub GetCurrentSharedModeEnginePeriod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut WAVEFORMATEX, *mut u32) -> windows_core::HRESULT, pub InitializeSharedAudioStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const WAVEFORMATEX, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioClientDuckingControl, IAudioClientDuckingControl_Vtbl, 0xc789d381_a28c_4168_b28f_d3a837924dc3); +windows_core::imp::define_interface!(IAudioClientDuckingControl, IAudioClientDuckingControl_Vtbl, 0xc789d381_a28c_4168_b28f_d3a837924dc3); windows_core::imp::interface_hierarchy!(IAudioClientDuckingControl, windows_core::IUnknown); impl IAudioClientDuckingControl { pub unsafe fn SetDuckingOptionsForCurrentStream(&self, options: AUDIO_DUCKING_OPTIONS) -> windows_core::Result<()> { @@ -1539,7 +1539,7 @@ pub struct IAudioClientDuckingControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetDuckingOptionsForCurrentStream: unsafe extern "system" fn(*mut core::ffi::c_void, AUDIO_DUCKING_OPTIONS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioClock, IAudioClock_Vtbl, 0xcd63314f_3fba_4a1b_812c_ef96358728e7); +windows_core::imp::define_interface!(IAudioClock, IAudioClock_Vtbl, 0xcd63314f_3fba_4a1b_812c_ef96358728e7); windows_core::imp::interface_hierarchy!(IAudioClock, windows_core::IUnknown); impl IAudioClock { pub unsafe fn GetFrequency(&self) -> windows_core::Result { @@ -1561,7 +1561,7 @@ pub struct IAudioClock_Vtbl { pub GetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64) -> windows_core::HRESULT, pub GetCharacteristics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioClock2, IAudioClock2_Vtbl, 0x6f49ff73_6727_49ac_a008_d98cf5e70048); +windows_core::imp::define_interface!(IAudioClock2, IAudioClock2_Vtbl, 0x6f49ff73_6727_49ac_a008_d98cf5e70048); windows_core::imp::interface_hierarchy!(IAudioClock2, windows_core::IUnknown); impl IAudioClock2 { pub unsafe fn GetDevicePosition(&self, deviceposition: *mut u64, qpcposition: Option<*mut u64>) -> windows_core::Result<()> { @@ -1573,7 +1573,7 @@ pub struct IAudioClock2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDevicePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioClockAdjustment, IAudioClockAdjustment_Vtbl, 0xf6e4c0a0_46d9_4fb8_be21_57a3ef2b626c); +windows_core::imp::define_interface!(IAudioClockAdjustment, IAudioClockAdjustment_Vtbl, 0xf6e4c0a0_46d9_4fb8_be21_57a3ef2b626c); windows_core::imp::interface_hierarchy!(IAudioClockAdjustment, windows_core::IUnknown); impl IAudioClockAdjustment { pub unsafe fn SetSampleRate(&self, flsamplerate: f32) -> windows_core::Result<()> { @@ -1585,7 +1585,7 @@ pub struct IAudioClockAdjustment_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetSampleRate: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEffectsChangedNotificationClient, IAudioEffectsChangedNotificationClient_Vtbl, 0xa5ded44f_3c5d_4b2b_bd1e_5dc1ee20bbf6); +windows_core::imp::define_interface!(IAudioEffectsChangedNotificationClient, IAudioEffectsChangedNotificationClient_Vtbl, 0xa5ded44f_3c5d_4b2b_bd1e_5dc1ee20bbf6); windows_core::imp::interface_hierarchy!(IAudioEffectsChangedNotificationClient, windows_core::IUnknown); impl IAudioEffectsChangedNotificationClient { pub unsafe fn OnAudioEffectsChanged(&self) -> windows_core::Result<()> { @@ -1597,7 +1597,7 @@ pub struct IAudioEffectsChangedNotificationClient_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnAudioEffectsChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEffectsManager, IAudioEffectsManager_Vtbl, 0x4460b3ae_4b44_4527_8676_7548a8acd260); +windows_core::imp::define_interface!(IAudioEffectsManager, IAudioEffectsManager_Vtbl, 0x4460b3ae_4b44_4527_8676_7548a8acd260); windows_core::imp::interface_hierarchy!(IAudioEffectsManager, windows_core::IUnknown); impl IAudioEffectsManager { pub unsafe fn RegisterAudioEffectsChangedNotificationCallback(&self, client: P0) -> windows_core::Result<()> @@ -1627,7 +1627,7 @@ pub struct IAudioEffectsManager_Vtbl { pub GetAudioEffects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut AUDIO_EFFECT, *mut u32) -> windows_core::HRESULT, pub SetAudioEffectState: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, AUDIO_EFFECT_STATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioFormatEnumerator, IAudioFormatEnumerator_Vtbl, 0xdcdaa858_895a_4a22_a5eb_67bda506096d); +windows_core::imp::define_interface!(IAudioFormatEnumerator, IAudioFormatEnumerator_Vtbl, 0xdcdaa858_895a_4a22_a5eb_67bda506096d); windows_core::imp::interface_hierarchy!(IAudioFormatEnumerator, windows_core::IUnknown); impl IAudioFormatEnumerator { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -1645,7 +1645,7 @@ pub struct IAudioFormatEnumerator_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut WAVEFORMATEX) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioInputSelector, IAudioInputSelector_Vtbl, 0x4f03dc02_5e6e_4653_8f72_a030c123d598); +windows_core::imp::define_interface!(IAudioInputSelector, IAudioInputSelector_Vtbl, 0x4f03dc02_5e6e_4653_8f72_a030c123d598); windows_core::imp::interface_hierarchy!(IAudioInputSelector, windows_core::IUnknown); impl IAudioInputSelector { pub unsafe fn GetSelection(&self) -> windows_core::Result { @@ -1662,7 +1662,7 @@ pub struct IAudioInputSelector_Vtbl { pub GetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioLoudness, IAudioLoudness_Vtbl, 0x7d8b1437_dd53_4350_9c1b_1ee2890bd938); +windows_core::imp::define_interface!(IAudioLoudness, IAudioLoudness_Vtbl, 0x7d8b1437_dd53_4350_9c1b_1ee2890bd938); windows_core::imp::interface_hierarchy!(IAudioLoudness, windows_core::IUnknown); impl IAudioLoudness { pub unsafe fn GetEnabled(&self) -> windows_core::Result { @@ -1682,7 +1682,7 @@ pub struct IAudioLoudness_Vtbl { pub GetEnabled: 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, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioMidrange, IAudioMidrange_Vtbl, 0x5e54b6d7_b44b_40d9_9a9e_e691d9ce6edf); +windows_core::imp::define_interface!(IAudioMidrange, IAudioMidrange_Vtbl, 0x5e54b6d7_b44b_40d9_9a9e_e691d9ce6edf); windows_core::imp::interface_hierarchy!(IAudioMidrange, windows_core::IUnknown, IPerChannelDbLevel); impl IAudioMidrange { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { @@ -1710,7 +1710,7 @@ impl IAudioMidrange { pub struct IAudioMidrange_Vtbl { pub base__: IPerChannelDbLevel_Vtbl, } -windows_core::imp::com_interface!(IAudioMute, IAudioMute_Vtbl, 0xdf45aeea_b74a_4b6b_afad_2366b6aa012e); +windows_core::imp::define_interface!(IAudioMute, IAudioMute_Vtbl, 0xdf45aeea_b74a_4b6b_afad_2366b6aa012e); windows_core::imp::interface_hierarchy!(IAudioMute, windows_core::IUnknown); impl IAudioMute { pub unsafe fn SetMute(&self, bmuted: P0, pguideventcontext: Option<*const windows_core::GUID>) -> windows_core::Result<()> @@ -1730,7 +1730,7 @@ pub struct IAudioMute_Vtbl { pub SetMute: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *const windows_core::GUID) -> windows_core::HRESULT, pub GetMute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioOutputSelector, IAudioOutputSelector_Vtbl, 0xbb515f69_94a7_429e_8b9c_271b3f11a3ab); +windows_core::imp::define_interface!(IAudioOutputSelector, IAudioOutputSelector_Vtbl, 0xbb515f69_94a7_429e_8b9c_271b3f11a3ab); windows_core::imp::interface_hierarchy!(IAudioOutputSelector, windows_core::IUnknown); impl IAudioOutputSelector { pub unsafe fn GetSelection(&self) -> windows_core::Result { @@ -1747,7 +1747,7 @@ pub struct IAudioOutputSelector_Vtbl { pub GetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioPeakMeter, IAudioPeakMeter_Vtbl, 0xdd79923c_0599_45e0_b8b6_c8df7db6e796); +windows_core::imp::define_interface!(IAudioPeakMeter, IAudioPeakMeter_Vtbl, 0xdd79923c_0599_45e0_b8b6_c8df7db6e796); windows_core::imp::interface_hierarchy!(IAudioPeakMeter, windows_core::IUnknown); impl IAudioPeakMeter { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { @@ -1765,7 +1765,7 @@ pub struct IAudioPeakMeter_Vtbl { pub GetChannelCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetLevel: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioRenderClient, IAudioRenderClient_Vtbl, 0xf294acfc_3146_4483_a7bf_addca7c260e2); +windows_core::imp::define_interface!(IAudioRenderClient, IAudioRenderClient_Vtbl, 0xf294acfc_3146_4483_a7bf_addca7c260e2); windows_core::imp::interface_hierarchy!(IAudioRenderClient, windows_core::IUnknown); impl IAudioRenderClient { pub unsafe fn GetBuffer(&self, numframesrequested: u32) -> windows_core::Result<*mut u8> { @@ -1782,7 +1782,7 @@ pub struct IAudioRenderClient_Vtbl { pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut u8) -> windows_core::HRESULT, pub ReleaseBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSessionControl, IAudioSessionControl_Vtbl, 0xf4b1a599_7266_4319_a8ca_e70acb11e8cd); +windows_core::imp::define_interface!(IAudioSessionControl, IAudioSessionControl_Vtbl, 0xf4b1a599_7266_4319_a8ca_e70acb11e8cd); windows_core::imp::interface_hierarchy!(IAudioSessionControl, windows_core::IUnknown); impl IAudioSessionControl { pub unsafe fn GetState(&self) -> windows_core::Result { @@ -1842,7 +1842,7 @@ pub struct IAudioSessionControl_Vtbl { pub RegisterAudioSessionNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnregisterAudioSessionNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSessionControl2, IAudioSessionControl2_Vtbl, 0xbfb7ff88_7239_4fc9_8fa2_07c950be9c6d); +windows_core::imp::define_interface!(IAudioSessionControl2, IAudioSessionControl2_Vtbl, 0xbfb7ff88_7239_4fc9_8fa2_07c950be9c6d); windows_core::imp::interface_hierarchy!(IAudioSessionControl2, windows_core::IUnknown, IAudioSessionControl); impl IAudioSessionControl2 { pub unsafe fn GetState(&self) -> windows_core::Result { @@ -1919,7 +1919,7 @@ pub struct IAudioSessionControl2_Vtbl { pub IsSystemSoundsSession: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDuckingPreference: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSessionEnumerator, IAudioSessionEnumerator_Vtbl, 0xe2f5bb11_0570_40ca_acdd_3aa01277dee8); +windows_core::imp::define_interface!(IAudioSessionEnumerator, IAudioSessionEnumerator_Vtbl, 0xe2f5bb11_0570_40ca_acdd_3aa01277dee8); windows_core::imp::interface_hierarchy!(IAudioSessionEnumerator, windows_core::IUnknown); impl IAudioSessionEnumerator { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -1937,7 +1937,7 @@ pub struct IAudioSessionEnumerator_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetSession: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSessionEvents, IAudioSessionEvents_Vtbl, 0x24918acc_64b3_37c1_8ca9_74a66e9957a8); +windows_core::imp::define_interface!(IAudioSessionEvents, IAudioSessionEvents_Vtbl, 0x24918acc_64b3_37c1_8ca9_74a66e9957a8); windows_core::imp::interface_hierarchy!(IAudioSessionEvents, windows_core::IUnknown); impl IAudioSessionEvents { pub unsafe fn OnDisplayNameChanged(&self, newdisplayname: P0, eventcontext: *const windows_core::GUID) -> windows_core::Result<()> @@ -1982,7 +1982,7 @@ pub struct IAudioSessionEvents_Vtbl { pub OnStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, AudioSessionState) -> windows_core::HRESULT, pub OnSessionDisconnected: unsafe extern "system" fn(*mut core::ffi::c_void, AudioSessionDisconnectReason) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSessionManager, IAudioSessionManager_Vtbl, 0xbfa971f1_4d5e_40bb_935e_967039bfbee4); +windows_core::imp::define_interface!(IAudioSessionManager, IAudioSessionManager_Vtbl, 0xbfa971f1_4d5e_40bb_935e_967039bfbee4); 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 { @@ -2000,7 +2000,7 @@ pub struct IAudioSessionManager_Vtbl { pub GetAudioSessionControl: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSimpleAudioVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSessionManager2, IAudioSessionManager2_Vtbl, 0x77aa99a0_1bd6_484f_8bc7_2c654c9a9b6f); +windows_core::imp::define_interface!(IAudioSessionManager2, IAudioSessionManager2_Vtbl, 0x77aa99a0_1bd6_484f_8bc7_2c654c9a9b6f); windows_core::imp::interface_hierarchy!(IAudioSessionManager2, windows_core::IUnknown, IAudioSessionManager); impl IAudioSessionManager2 { pub unsafe fn GetAudioSessionControl(&self, audiosessionguid: Option<*const windows_core::GUID>, streamflags: u32) -> windows_core::Result { @@ -2050,7 +2050,7 @@ pub struct IAudioSessionManager2_Vtbl { pub RegisterDuckNotification: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnregisterDuckNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSessionNotification, IAudioSessionNotification_Vtbl, 0x641dd20b_4d41_49cc_aba3_174b9477bb08); +windows_core::imp::define_interface!(IAudioSessionNotification, IAudioSessionNotification_Vtbl, 0x641dd20b_4d41_49cc_aba3_174b9477bb08); windows_core::imp::interface_hierarchy!(IAudioSessionNotification, windows_core::IUnknown); impl IAudioSessionNotification { pub unsafe fn OnSessionCreated(&self, newsession: P0) -> windows_core::Result<()> @@ -2065,7 +2065,7 @@ pub struct IAudioSessionNotification_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnSessionCreated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioStateMonitor, IAudioStateMonitor_Vtbl, 0x63bd8738_e30d_4c77_bf5c_834e87c657e2); +windows_core::imp::define_interface!(IAudioStateMonitor, IAudioStateMonitor_Vtbl, 0x63bd8738_e30d_4c77_bf5c_834e87c657e2); 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 { @@ -2086,7 +2086,7 @@ pub struct IAudioStateMonitor_Vtbl { pub UnregisterCallback: unsafe extern "system" fn(*mut core::ffi::c_void, i64), pub GetSoundLevel: unsafe extern "system" fn(*mut core::ffi::c_void) -> AudioStateMonitorSoundLevel, } -windows_core::imp::com_interface!(IAudioStreamVolume, IAudioStreamVolume_Vtbl, 0x93014887_242d_4068_8a15_cf5e93b90fe3); +windows_core::imp::define_interface!(IAudioStreamVolume, IAudioStreamVolume_Vtbl, 0x93014887_242d_4068_8a15_cf5e93b90fe3); windows_core::imp::interface_hierarchy!(IAudioStreamVolume, windows_core::IUnknown); impl IAudioStreamVolume { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { @@ -2116,7 +2116,7 @@ pub struct IAudioStreamVolume_Vtbl { pub SetAllVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const f32) -> windows_core::HRESULT, pub GetAllVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSystemEffectsPropertyChangeNotificationClient, IAudioSystemEffectsPropertyChangeNotificationClient_Vtbl, 0x20049d40_56d5_400e_a2ef_385599feed49); +windows_core::imp::define_interface!(IAudioSystemEffectsPropertyChangeNotificationClient, IAudioSystemEffectsPropertyChangeNotificationClient_Vtbl, 0x20049d40_56d5_400e_a2ef_385599feed49); windows_core::imp::interface_hierarchy!(IAudioSystemEffectsPropertyChangeNotificationClient, windows_core::IUnknown); impl IAudioSystemEffectsPropertyChangeNotificationClient { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -2132,7 +2132,7 @@ pub struct IAudioSystemEffectsPropertyChangeNotificationClient_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] OnPropertyChanged: usize, } -windows_core::imp::com_interface!(IAudioSystemEffectsPropertyStore, IAudioSystemEffectsPropertyStore_Vtbl, 0x302ae7f9_d7e0_43e4_971b_1f8293613d2a); +windows_core::imp::define_interface!(IAudioSystemEffectsPropertyStore, IAudioSystemEffectsPropertyStore_Vtbl, 0x302ae7f9_d7e0_43e4_971b_1f8293613d2a); windows_core::imp::interface_hierarchy!(IAudioSystemEffectsPropertyStore, windows_core::IUnknown); impl IAudioSystemEffectsPropertyStore { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -2189,7 +2189,7 @@ pub struct IAudioSystemEffectsPropertyStore_Vtbl { pub RegisterPropertyChangeNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnregisterPropertyChangeNotification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioTreble, IAudioTreble_Vtbl, 0x0a717812_694e_4907_b74b_bafa5cfdca7b); +windows_core::imp::define_interface!(IAudioTreble, IAudioTreble_Vtbl, 0x0a717812_694e_4907_b74b_bafa5cfdca7b); windows_core::imp::interface_hierarchy!(IAudioTreble, windows_core::IUnknown, IPerChannelDbLevel); impl IAudioTreble { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { @@ -2217,7 +2217,7 @@ impl IAudioTreble { pub struct IAudioTreble_Vtbl { pub base__: IPerChannelDbLevel_Vtbl, } -windows_core::imp::com_interface!(IAudioViewManagerService, IAudioViewManagerService_Vtbl, 0xa7a7ef10_1f49_45e0_ad35_612057cc8f74); +windows_core::imp::define_interface!(IAudioViewManagerService, IAudioViewManagerService_Vtbl, 0xa7a7ef10_1f49_45e0_ad35_612057cc8f74); windows_core::imp::interface_hierarchy!(IAudioViewManagerService, windows_core::IUnknown); impl IAudioViewManagerService { pub unsafe fn SetAudioStreamWindow(&self, hwnd: P0) -> windows_core::Result<()> @@ -2232,7 +2232,7 @@ pub struct IAudioViewManagerService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetAudioStreamWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioVolumeDuckNotification, IAudioVolumeDuckNotification_Vtbl, 0xc3b284d4_6d39_4359_b3cf_b56ddb3bb39c); +windows_core::imp::define_interface!(IAudioVolumeDuckNotification, IAudioVolumeDuckNotification_Vtbl, 0xc3b284d4_6d39_4359_b3cf_b56ddb3bb39c); windows_core::imp::interface_hierarchy!(IAudioVolumeDuckNotification, windows_core::IUnknown); impl IAudioVolumeDuckNotification { pub unsafe fn OnVolumeDuckNotification(&self, sessionid: P0, countcommunicationsessions: u32) -> windows_core::Result<()> @@ -2254,7 +2254,7 @@ pub struct IAudioVolumeDuckNotification_Vtbl { pub OnVolumeDuckNotification: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub OnVolumeUnduckNotification: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioVolumeLevel, IAudioVolumeLevel_Vtbl, 0x7fb7b48f_531d_44a2_bcb3_5ad5a134b3dc); +windows_core::imp::define_interface!(IAudioVolumeLevel, IAudioVolumeLevel_Vtbl, 0x7fb7b48f_531d_44a2_bcb3_5ad5a134b3dc); windows_core::imp::interface_hierarchy!(IAudioVolumeLevel, windows_core::IUnknown, IPerChannelDbLevel); impl IAudioVolumeLevel { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { @@ -2282,7 +2282,7 @@ impl IAudioVolumeLevel { pub struct IAudioVolumeLevel_Vtbl { pub base__: IPerChannelDbLevel_Vtbl, } -windows_core::imp::com_interface!(IChannelAudioVolume, IChannelAudioVolume_Vtbl, 0x1c158861_b533_4b30_b1cf_e853e51c59b8); +windows_core::imp::define_interface!(IChannelAudioVolume, IChannelAudioVolume_Vtbl, 0x1c158861_b533_4b30_b1cf_e853e51c59b8); windows_core::imp::interface_hierarchy!(IChannelAudioVolume, windows_core::IUnknown); impl IChannelAudioVolume { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { @@ -2312,7 +2312,7 @@ pub struct IChannelAudioVolume_Vtbl { pub SetAllVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const f32, *const windows_core::GUID) -> windows_core::HRESULT, pub GetAllVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnector, IConnector_Vtbl, 0x9c2c4058_23f5_41de_877a_df3af236a09e); +windows_core::imp::define_interface!(IConnector, IConnector_Vtbl, 0x9c2c4058_23f5_41de_877a_df3af236a09e); windows_core::imp::interface_hierarchy!(IConnector, windows_core::IUnknown); impl IConnector { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -2361,7 +2361,7 @@ pub struct IConnector_Vtbl { pub GetConnectorIdConnectedTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetDeviceIdConnectedTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IControlChangeNotify, IControlChangeNotify_Vtbl, 0xa09513ed_c709_4d21_bd7b_5f34c47f3947); +windows_core::imp::define_interface!(IControlChangeNotify, IControlChangeNotify_Vtbl, 0xa09513ed_c709_4d21_bd7b_5f34c47f3947); windows_core::imp::interface_hierarchy!(IControlChangeNotify, windows_core::IUnknown); impl IControlChangeNotify { pub unsafe fn OnNotify(&self, dwsenderprocessid: u32, pguideventcontext: Option<*const windows_core::GUID>) -> windows_core::Result<()> { @@ -2373,7 +2373,7 @@ pub struct IControlChangeNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnNotify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IControlInterface, IControlInterface_Vtbl, 0x45d37c3f_5140_444a_ae24_400789f3cbf3); +windows_core::imp::define_interface!(IControlInterface, IControlInterface_Vtbl, 0x45d37c3f_5140_444a_ae24_400789f3cbf3); windows_core::imp::interface_hierarchy!(IControlInterface, windows_core::IUnknown); impl IControlInterface { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2391,7 +2391,7 @@ pub struct IControlInterface_Vtbl { pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetIID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceSpecificProperty, IDeviceSpecificProperty_Vtbl, 0x3b22bcbf_2586_4af0_8583_205d391b807c); +windows_core::imp::define_interface!(IDeviceSpecificProperty, IDeviceSpecificProperty_Vtbl, 0x3b22bcbf_2586_4af0_8583_205d391b807c); windows_core::imp::interface_hierarchy!(IDeviceSpecificProperty, windows_core::IUnknown); impl IDeviceSpecificProperty { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -2416,7 +2416,7 @@ pub struct IDeviceSpecificProperty_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, pub Get4BRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeviceTopology, IDeviceTopology_Vtbl, 0x2a07407e_6497_4a18_9787_32f79bd0d98f); +windows_core::imp::define_interface!(IDeviceTopology, IDeviceTopology_Vtbl, 0x2a07407e_6497_4a18_9787_32f79bd0d98f); windows_core::imp::interface_hierarchy!(IDeviceTopology, windows_core::IUnknown); impl IDeviceTopology { pub unsafe fn GetConnectorCount(&self) -> windows_core::Result { @@ -2464,7 +2464,7 @@ pub struct IDeviceTopology_Vtbl { pub GetDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetSignalPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMMDevice, IMMDevice_Vtbl, 0xd666063f_1587_4e43_81f1_b948e807363f); +windows_core::imp::define_interface!(IMMDevice, IMMDevice_Vtbl, 0xd666063f_1587_4e43_81f1_b948e807363f); windows_core::imp::interface_hierarchy!(IMMDevice, windows_core::IUnknown); impl IMMDevice { #[cfg(feature = "Win32_System_Com")] @@ -2502,7 +2502,7 @@ pub struct IMMDevice_Vtbl { pub GetId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> DEVICE_STATE, } -windows_core::imp::com_interface!(IMMDeviceActivator, IMMDeviceActivator_Vtbl, 0x3b0d0ea4_d0a9_4b0e_935b_09516746fac0); +windows_core::imp::define_interface!(IMMDeviceActivator, IMMDeviceActivator_Vtbl, 0x3b0d0ea4_d0a9_4b0e_935b_09516746fac0); windows_core::imp::interface_hierarchy!(IMMDeviceActivator, windows_core::IUnknown); impl IMMDeviceActivator { pub unsafe fn Activate(&self, iid: *const windows_core::GUID, pdevice: P0, pactivationparams: Option<*const windows_core::PROPVARIANT>, ppinterface: *mut *mut core::ffi::c_void) -> windows_core::Result<()> @@ -2517,7 +2517,7 @@ 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, } -windows_core::imp::com_interface!(IMMDeviceCollection, IMMDeviceCollection_Vtbl, 0x0bd7a1be_7a1a_44db_8397_cc5392387b5e); +windows_core::imp::define_interface!(IMMDeviceCollection, IMMDeviceCollection_Vtbl, 0x0bd7a1be_7a1a_44db_8397_cc5392387b5e); windows_core::imp::interface_hierarchy!(IMMDeviceCollection, windows_core::IUnknown); impl IMMDeviceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -2535,7 +2535,7 @@ pub struct IMMDeviceCollection_Vtbl { pub GetCount: 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, } -windows_core::imp::com_interface!(IMMDeviceEnumerator, IMMDeviceEnumerator_Vtbl, 0xa95664d2_9614_4f35_a746_de8db63617e6); +windows_core::imp::define_interface!(IMMDeviceEnumerator, IMMDeviceEnumerator_Vtbl, 0xa95664d2_9614_4f35_a746_de8db63617e6); windows_core::imp::interface_hierarchy!(IMMDeviceEnumerator, windows_core::IUnknown); impl IMMDeviceEnumerator { pub unsafe fn EnumAudioEndpoints(&self, dataflow: EDataFlow, dwstatemask: DEVICE_STATE) -> windows_core::Result { @@ -2575,7 +2575,7 @@ pub struct IMMDeviceEnumerator_Vtbl { pub RegisterEndpointNotificationCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnregisterEndpointNotificationCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMMEndpoint, IMMEndpoint_Vtbl, 0x1be09788_6894_4089_8586_9a2a6c265ac5); +windows_core::imp::define_interface!(IMMEndpoint, IMMEndpoint_Vtbl, 0x1be09788_6894_4089_8586_9a2a6c265ac5); windows_core::imp::interface_hierarchy!(IMMEndpoint, windows_core::IUnknown); impl IMMEndpoint { pub unsafe fn GetDataFlow(&self) -> windows_core::Result { @@ -2588,7 +2588,7 @@ pub struct IMMEndpoint_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDataFlow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EDataFlow) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMMNotificationClient, IMMNotificationClient_Vtbl, 0x7991eec9_7e89_4d85_8390_6c703cec60c0); +windows_core::imp::define_interface!(IMMNotificationClient, IMMNotificationClient_Vtbl, 0x7991eec9_7e89_4d85_8390_6c703cec60c0); windows_core::imp::interface_hierarchy!(IMMNotificationClient, windows_core::IUnknown); impl IMMNotificationClient { pub unsafe fn OnDeviceStateChanged(&self, pwstrdeviceid: P0, dwnewstate: DEVICE_STATE) -> windows_core::Result<()> @@ -2635,7 +2635,7 @@ pub struct IMMNotificationClient_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] OnPropertyValueChanged: usize, } -windows_core::imp::com_interface!(IMessageFilter, IMessageFilter_Vtbl, 0x00000016_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IMessageFilter, IMessageFilter_Vtbl, 0x00000016_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IMessageFilter, windows_core::IUnknown); impl IMessageFilter { #[cfg(feature = "Win32_System_Com")] @@ -2668,7 +2668,7 @@ pub struct IMessageFilter_Vtbl { pub RetryRejectedCall: unsafe extern "system" fn(*mut core::ffi::c_void, super::HTASK, u32, u32) -> u32, pub MessagePending: unsafe extern "system" fn(*mut core::ffi::c_void, super::HTASK, u32, u32) -> u32, } -windows_core::imp::com_interface!(IPart, IPart_Vtbl, 0xae2de0e4_5bca_4f2d_aa46_5d13f8fdb3a9); +windows_core::imp::define_interface!(IPart, IPart_Vtbl, 0xae2de0e4_5bca_4f2d_aa46_5d13f8fdb3a9); windows_core::imp::interface_hierarchy!(IPart, windows_core::IUnknown); impl IPart { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2744,7 +2744,7 @@ pub struct IPart_Vtbl { pub RegisterControlChangeCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnregisterControlChangeCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPartsList, IPartsList_Vtbl, 0x6daa848c_5eb0_45cc_aea5_998a2cda1ffb); +windows_core::imp::define_interface!(IPartsList, IPartsList_Vtbl, 0x6daa848c_5eb0_45cc_aea5_998a2cda1ffb); windows_core::imp::interface_hierarchy!(IPartsList, windows_core::IUnknown); impl IPartsList { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -2762,7 +2762,7 @@ pub struct IPartsList_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetPart: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPerChannelDbLevel, IPerChannelDbLevel_Vtbl, 0xc2f8e001_f205_4bc9_99bc_c13b1e048ccb); +windows_core::imp::define_interface!(IPerChannelDbLevel, IPerChannelDbLevel_Vtbl, 0xc2f8e001_f205_4bc9_99bc_c13b1e048ccb); windows_core::imp::interface_hierarchy!(IPerChannelDbLevel, windows_core::IUnknown); impl IPerChannelDbLevel { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { @@ -2796,7 +2796,7 @@ pub struct IPerChannelDbLevel_Vtbl { pub SetLevelUniform: unsafe extern "system" fn(*mut core::ffi::c_void, f32, *const windows_core::GUID) -> windows_core::HRESULT, pub SetLevelAllChannels: unsafe extern "system" fn(*mut core::ffi::c_void, *const f32, u32, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimpleAudioVolume, ISimpleAudioVolume_Vtbl, 0x87ce5498_68d6_44e5_9215_6da47ef883d8); +windows_core::imp::define_interface!(ISimpleAudioVolume, ISimpleAudioVolume_Vtbl, 0x87ce5498_68d6_44e5_9215_6da47ef883d8); windows_core::imp::interface_hierarchy!(ISimpleAudioVolume, windows_core::IUnknown); impl ISimpleAudioVolume { pub unsafe fn SetMasterVolume(&self, flevel: f32, eventcontext: *const windows_core::GUID) -> windows_core::Result<()> { @@ -2825,7 +2825,7 @@ pub struct ISimpleAudioVolume_Vtbl { pub SetMute: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *const windows_core::GUID) -> windows_core::HRESULT, pub GetMute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioClient, ISpatialAudioClient_Vtbl, 0xbbf8e066_aaaa_49be_9a4d_fd2a858ea27f); +windows_core::imp::define_interface!(ISpatialAudioClient, ISpatialAudioClient_Vtbl, 0xbbf8e066_aaaa_49be_9a4d_fd2a858ea27f); windows_core::imp::interface_hierarchy!(ISpatialAudioClient, windows_core::IUnknown); impl ISpatialAudioClient { pub unsafe fn GetStaticObjectPosition(&self, r#type: AudioObjectType, x: *mut f32, y: *mut f32, z: *mut f32) -> windows_core::Result<()> { @@ -2873,7 +2873,7 @@ pub struct ISpatialAudioClient_Vtbl { 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, } -windows_core::imp::com_interface!(ISpatialAudioClient2, ISpatialAudioClient2_Vtbl, 0xcaabe452_a66a_4bee_a93e_e320463f6a53); +windows_core::imp::define_interface!(ISpatialAudioClient2, ISpatialAudioClient2_Vtbl, 0xcaabe452_a66a_4bee_a93e_e320463f6a53); windows_core::imp::interface_hierarchy!(ISpatialAudioClient2, windows_core::IUnknown, ISpatialAudioClient); impl ISpatialAudioClient2 { pub unsafe fn GetStaticObjectPosition(&self, r#type: AudioObjectType, x: *mut f32, y: *mut f32, z: *mut f32) -> windows_core::Result<()> { @@ -2926,7 +2926,7 @@ pub struct ISpatialAudioClient2_Vtbl { pub IsOffloadCapable: unsafe extern "system" fn(*mut core::ffi::c_void, AUDIO_STREAM_CATEGORY, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetMaxFrameCountForCategory: unsafe extern "system" fn(*mut core::ffi::c_void, AUDIO_STREAM_CATEGORY, super::super::Foundation::BOOL, *const WAVEFORMATEX, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioMetadataClient, ISpatialAudioMetadataClient_Vtbl, 0x777d4a3b_f6ff_4a26_85dc_68d7cdeda1d4); +windows_core::imp::define_interface!(ISpatialAudioMetadataClient, ISpatialAudioMetadataClient_Vtbl, 0x777d4a3b_f6ff_4a26_85dc_68d7cdeda1d4); windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataClient, windows_core::IUnknown); impl ISpatialAudioMetadataClient { pub unsafe fn ActivateSpatialAudioMetadataItems(&self, maxitemcount: u16, framecount: u16, metadataitemsbuffer: Option<*mut Option>, metadataitems: *mut Option) -> windows_core::Result<()> { @@ -2958,7 +2958,7 @@ pub struct ISpatialAudioMetadataClient_Vtbl { pub ActivateSpatialAudioMetadataCopier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ActivateSpatialAudioMetadataReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioMetadataCopier, ISpatialAudioMetadataCopier_Vtbl, 0xd224b233_e251_4fd0_9ca2_d5ecf9a68404); +windows_core::imp::define_interface!(ISpatialAudioMetadataCopier, ISpatialAudioMetadataCopier_Vtbl, 0xd224b233_e251_4fd0_9ca2_d5ecf9a68404); windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataCopier, windows_core::IUnknown); impl ISpatialAudioMetadataCopier { pub unsafe fn Open(&self, metadataitems: P0) -> windows_core::Result<()> @@ -2985,7 +2985,7 @@ pub struct ISpatialAudioMetadataCopier_Vtbl { pub CopyMetadataForFrames: unsafe extern "system" fn(*mut core::ffi::c_void, u16, SpatialAudioMetadataCopyMode, *mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioMetadataItems, ISpatialAudioMetadataItems_Vtbl, 0xbcd7c78f_3098_4f22_b547_a2f25a381269); +windows_core::imp::define_interface!(ISpatialAudioMetadataItems, ISpatialAudioMetadataItems_Vtbl, 0xbcd7c78f_3098_4f22_b547_a2f25a381269); windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataItems, windows_core::IUnknown); impl ISpatialAudioMetadataItems { pub unsafe fn GetFrameCount(&self) -> windows_core::Result { @@ -3018,7 +3018,7 @@ pub struct ISpatialAudioMetadataItems_Vtbl { pub GetMaxValueBufferLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpatialAudioMetadataItemsInfo) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioMetadataItemsBuffer, ISpatialAudioMetadataItemsBuffer_Vtbl, 0x42640a16_e1bd_42d9_9ff6_031ab71a2dba); +windows_core::imp::define_interface!(ISpatialAudioMetadataItemsBuffer, ISpatialAudioMetadataItemsBuffer_Vtbl, 0x42640a16_e1bd_42d9_9ff6_031ab71a2dba); windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataItemsBuffer, windows_core::IUnknown); impl ISpatialAudioMetadataItemsBuffer { pub unsafe fn AttachToBuffer(&self, buffer: &mut [u8]) -> windows_core::Result<()> { @@ -3038,7 +3038,7 @@ pub struct ISpatialAudioMetadataItemsBuffer_Vtbl { pub AttachToPopulatedBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32) -> windows_core::HRESULT, pub DetachBuffer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioMetadataReader, ISpatialAudioMetadataReader_Vtbl, 0xb78e86a2_31d9_4c32_94d2_7df40fc7ebec); +windows_core::imp::define_interface!(ISpatialAudioMetadataReader, ISpatialAudioMetadataReader_Vtbl, 0xb78e86a2_31d9_4c32_94d2_7df40fc7ebec); windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataReader, windows_core::IUnknown); impl ISpatialAudioMetadataReader { pub unsafe fn Open(&self, metadataitems: P0) -> windows_core::Result<()> @@ -3065,7 +3065,7 @@ pub struct ISpatialAudioMetadataReader_Vtbl { pub ReadNextItemCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioMetadataWriter, ISpatialAudioMetadataWriter_Vtbl, 0x1b17ca01_2955_444d_a430_537dc589a844); +windows_core::imp::define_interface!(ISpatialAudioMetadataWriter, ISpatialAudioMetadataWriter_Vtbl, 0x1b17ca01_2955_444d_a430_537dc589a844); windows_core::imp::interface_hierarchy!(ISpatialAudioMetadataWriter, windows_core::IUnknown); impl ISpatialAudioMetadataWriter { pub unsafe fn Open(&self, metadataitems: P0) -> windows_core::Result<()> @@ -3092,7 +3092,7 @@ pub struct ISpatialAudioMetadataWriter_Vtbl { pub WriteNextItemCommand: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *const core::ffi::c_void, u32) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioObject, ISpatialAudioObject_Vtbl, 0xdde28967_521b_46e5_8f00_bd6f2bc8ab1d); +windows_core::imp::define_interface!(ISpatialAudioObject, ISpatialAudioObject_Vtbl, 0xdde28967_521b_46e5_8f00_bd6f2bc8ab1d); windows_core::imp::interface_hierarchy!(ISpatialAudioObject, windows_core::IUnknown, ISpatialAudioObjectBase); impl ISpatialAudioObject { pub unsafe fn GetBuffer(&self, buffer: *mut *mut u8, bufferlength: *mut u32) -> windows_core::Result<()> { @@ -3122,7 +3122,7 @@ pub struct ISpatialAudioObject_Vtbl { pub SetPosition: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32) -> windows_core::HRESULT, pub SetVolume: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioObjectBase, ISpatialAudioObjectBase_Vtbl, 0xcce0b8f2_8d4d_4efb_a8cf_3d6ecf1c30e0); +windows_core::imp::define_interface!(ISpatialAudioObjectBase, ISpatialAudioObjectBase_Vtbl, 0xcce0b8f2_8d4d_4efb_a8cf_3d6ecf1c30e0); windows_core::imp::interface_hierarchy!(ISpatialAudioObjectBase, windows_core::IUnknown); impl ISpatialAudioObjectBase { pub unsafe fn GetBuffer(&self, buffer: *mut *mut u8, bufferlength: *mut u32) -> windows_core::Result<()> { @@ -3148,7 +3148,7 @@ pub struct ISpatialAudioObjectBase_Vtbl { pub IsActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetAudioObjectType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AudioObjectType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioObjectForHrtf, ISpatialAudioObjectForHrtf_Vtbl, 0xd7436ade_1978_4e14_aba0_555bd8eb83b4); +windows_core::imp::define_interface!(ISpatialAudioObjectForHrtf, ISpatialAudioObjectForHrtf_Vtbl, 0xd7436ade_1978_4e14_aba0_555bd8eb83b4); windows_core::imp::interface_hierarchy!(ISpatialAudioObjectForHrtf, windows_core::IUnknown, ISpatialAudioObjectBase); impl ISpatialAudioObjectForHrtf { pub unsafe fn GetBuffer(&self, buffer: *mut *mut u8, bufferlength: *mut u32) -> windows_core::Result<()> { @@ -3194,7 +3194,7 @@ pub struct ISpatialAudioObjectForHrtf_Vtbl { pub SetDistanceDecay: unsafe extern "system" fn(*mut core::ffi::c_void, *const SpatialAudioHrtfDistanceDecay) -> windows_core::HRESULT, pub SetDirectivity: unsafe extern "system" fn(*mut core::ffi::c_void, *const SpatialAudioHrtfDirectivityUnion) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioObjectForMetadataCommands, ISpatialAudioObjectForMetadataCommands_Vtbl, 0x0df2c94b_f5f9_472d_af6b_c46e0ac9cd05); +windows_core::imp::define_interface!(ISpatialAudioObjectForMetadataCommands, ISpatialAudioObjectForMetadataCommands_Vtbl, 0x0df2c94b_f5f9_472d_af6b_c46e0ac9cd05); windows_core::imp::interface_hierarchy!(ISpatialAudioObjectForMetadataCommands, windows_core::IUnknown, ISpatialAudioObjectBase); impl ISpatialAudioObjectForMetadataCommands { pub unsafe fn GetBuffer(&self, buffer: *mut *mut u8, bufferlength: *mut u32) -> windows_core::Result<()> { @@ -3220,7 +3220,7 @@ pub struct ISpatialAudioObjectForMetadataCommands_Vtbl { pub base__: ISpatialAudioObjectBase_Vtbl, pub WriteNextMetadataCommand: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioObjectForMetadataItems, ISpatialAudioObjectForMetadataItems_Vtbl, 0xddea49ff_3bc0_4377_8aad_9fbcfd808566); +windows_core::imp::define_interface!(ISpatialAudioObjectForMetadataItems, ISpatialAudioObjectForMetadataItems_Vtbl, 0xddea49ff_3bc0_4377_8aad_9fbcfd808566); windows_core::imp::interface_hierarchy!(ISpatialAudioObjectForMetadataItems, windows_core::IUnknown, ISpatialAudioObjectBase); impl ISpatialAudioObjectForMetadataItems { pub unsafe fn GetBuffer(&self, buffer: *mut *mut u8, bufferlength: *mut u32) -> windows_core::Result<()> { @@ -3247,7 +3247,7 @@ pub struct ISpatialAudioObjectForMetadataItems_Vtbl { pub base__: ISpatialAudioObjectBase_Vtbl, pub GetSpatialAudioMetadataItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioObjectRenderStream, ISpatialAudioObjectRenderStream_Vtbl, 0xbab5f473_b423_477b_85f5_b5a332a04153); +windows_core::imp::define_interface!(ISpatialAudioObjectRenderStream, ISpatialAudioObjectRenderStream_Vtbl, 0xbab5f473_b423_477b_85f5_b5a332a04153); windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStream, windows_core::IUnknown, ISpatialAudioObjectRenderStreamBase); impl ISpatialAudioObjectRenderStream { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> windows_core::Result { @@ -3286,7 +3286,7 @@ pub struct ISpatialAudioObjectRenderStream_Vtbl { pub base__: ISpatialAudioObjectRenderStreamBase_Vtbl, pub ActivateSpatialAudioObject: unsafe extern "system" fn(*mut core::ffi::c_void, AudioObjectType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioObjectRenderStreamBase, ISpatialAudioObjectRenderStreamBase_Vtbl, 0xfeaaf403_c1d8_450d_aa05_e0ccee7502a8); +windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamBase, ISpatialAudioObjectRenderStreamBase_Vtbl, 0xfeaaf403_c1d8_450d_aa05_e0ccee7502a8); windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamBase, windows_core::IUnknown); impl ISpatialAudioObjectRenderStreamBase { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> windows_core::Result { @@ -3327,7 +3327,7 @@ pub struct ISpatialAudioObjectRenderStreamBase_Vtbl { pub BeginUpdatingAudioObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub EndUpdatingAudioObjects: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioObjectRenderStreamForHrtf, ISpatialAudioObjectRenderStreamForHrtf_Vtbl, 0xe08deef9_5363_406e_9fdc_080ee247bbe0); +windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamForHrtf, ISpatialAudioObjectRenderStreamForHrtf_Vtbl, 0xe08deef9_5363_406e_9fdc_080ee247bbe0); windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamForHrtf, windows_core::IUnknown, ISpatialAudioObjectRenderStreamBase); impl ISpatialAudioObjectRenderStreamForHrtf { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> windows_core::Result { @@ -3366,7 +3366,7 @@ pub struct ISpatialAudioObjectRenderStreamForHrtf_Vtbl { pub base__: ISpatialAudioObjectRenderStreamBase_Vtbl, pub ActivateSpatialAudioObjectForHrtf: unsafe extern "system" fn(*mut core::ffi::c_void, AudioObjectType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioObjectRenderStreamForMetadata, ISpatialAudioObjectRenderStreamForMetadata_Vtbl, 0xbbc9c907_48d5_4a2e_a0c7_f7f0d67c1fb1); +windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamForMetadata, ISpatialAudioObjectRenderStreamForMetadata_Vtbl, 0xbbc9c907_48d5_4a2e_a0c7_f7f0d67c1fb1); windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamForMetadata, windows_core::IUnknown, ISpatialAudioObjectRenderStreamBase); impl ISpatialAudioObjectRenderStreamForMetadata { pub unsafe fn GetAvailableDynamicObjectCount(&self) -> windows_core::Result { @@ -3410,7 +3410,7 @@ pub struct ISpatialAudioObjectRenderStreamForMetadata_Vtbl { pub ActivateSpatialAudioObjectForMetadataCommands: unsafe extern "system" fn(*mut core::ffi::c_void, AudioObjectType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ActivateSpatialAudioObjectForMetadataItems: unsafe extern "system" fn(*mut core::ffi::c_void, AudioObjectType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialAudioObjectRenderStreamNotify, ISpatialAudioObjectRenderStreamNotify_Vtbl, 0xdddf83e6_68d7_4c70_883f_a1836afb4a50); +windows_core::imp::define_interface!(ISpatialAudioObjectRenderStreamNotify, ISpatialAudioObjectRenderStreamNotify_Vtbl, 0xdddf83e6_68d7_4c70_883f_a1836afb4a50); windows_core::imp::interface_hierarchy!(ISpatialAudioObjectRenderStreamNotify, windows_core::IUnknown); impl ISpatialAudioObjectRenderStreamNotify { pub unsafe fn OnAvailableDynamicObjectCountChange(&self, sender: P0, hnscompliancedeadlinetime: i64, availabledynamicobjectcountchange: u32) -> windows_core::Result<()> @@ -3425,7 +3425,7 @@ pub struct ISpatialAudioObjectRenderStreamNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnAvailableDynamicObjectCountChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i64, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISubunit, ISubunit_Vtbl, 0x82149a85_dba6_4487_86bb_ea8f7fefcc71); +windows_core::imp::define_interface!(ISubunit, ISubunit_Vtbl, 0x82149a85_dba6_4487_86bb_ea8f7fefcc71); windows_core::imp::interface_hierarchy!(ISubunit, windows_core::IUnknown); impl ISubunit {} #[repr(C)] 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 0e6e6c6415..fe17712d06 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IComponentAuthenticate, IComponentAuthenticate_Vtbl, 0xa9889c00_6d2b_11d3_8496_00c04f79dbc0); +windows_core::imp::define_interface!(IComponentAuthenticate, IComponentAuthenticate_Vtbl, 0xa9889c00_6d2b_11d3_8496_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IComponentAuthenticate, windows_core::IUnknown); impl IComponentAuthenticate { pub unsafe fn SACAuth(&self, dwprotocolid: u32, dwpass: u32, pbdatain: &[u8], ppbdataout: *mut *mut u8, pdwdataoutlen: *mut u32) -> windows_core::Result<()> { @@ -14,7 +14,7 @@ pub struct IComponentAuthenticate_Vtbl { pub SACAuth: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub SACGetProtocols: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPDevice, IMDSPDevice_Vtbl, 0x1dcb3a12_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IMDSPDevice, IMDSPDevice_Vtbl, 0x1dcb3a12_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IMDSPDevice, windows_core::IUnknown); impl IMDSPDevice { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> windows_core::Result<()> { @@ -75,7 +75,7 @@ pub struct IMDSPDevice_Vtbl { GetFormatSupport: usize, pub SendOpaqueCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPAQUECOMMAND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPDevice2, IMDSPDevice2_Vtbl, 0x420d16ad_c97d_4e00_82aa_00e9f4335ddd); +windows_core::imp::define_interface!(IMDSPDevice2, IMDSPDevice2_Vtbl, 0x420d16ad_c97d_4e00_82aa_00e9f4335ddd); windows_core::imp::interface_hierarchy!(IMDSPDevice2, windows_core::IUnknown, IMDSPDevice); impl IMDSPDevice2 { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> windows_core::Result<()> { @@ -150,7 +150,7 @@ pub struct IMDSPDevice2_Vtbl { GetSpecifyPropertyPages: usize, pub GetCanonicalName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPDevice3, IMDSPDevice3_Vtbl, 0x1a839845_fc55_487c_976f_ee38ac0e8c4e); +windows_core::imp::define_interface!(IMDSPDevice3, IMDSPDevice3_Vtbl, 0x1a839845_fc55_487c_976f_ee38ac0e8c4e); windows_core::imp::interface_hierarchy!(IMDSPDevice3, windows_core::IUnknown, IMDSPDevice, IMDSPDevice2); impl IMDSPDevice3 { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> windows_core::Result<()> { @@ -247,7 +247,7 @@ pub struct IMDSPDevice3_Vtbl { 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, } -windows_core::imp::com_interface!(IMDSPDeviceControl, IMDSPDeviceControl_Vtbl, 0x1dcb3a14_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IMDSPDeviceControl, IMDSPDeviceControl_Vtbl, 0x1dcb3a14_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IMDSPDeviceControl, windows_core::IUnknown); impl IMDSPDeviceControl { pub unsafe fn GetDCStatus(&self) -> windows_core::Result { @@ -293,7 +293,7 @@ pub struct IMDSPDeviceControl_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPDirectTransfer, IMDSPDirectTransfer_Vtbl, 0xc2fe57a8_9304_478c_9ee4_47e397b912d7); +windows_core::imp::define_interface!(IMDSPDirectTransfer, IMDSPDirectTransfer_Vtbl, 0xc2fe57a8_9304_478c_9ee4_47e397b912d7); windows_core::imp::interface_hierarchy!(IMDSPDirectTransfer, windows_core::IUnknown); impl IMDSPDirectTransfer { pub unsafe fn TransferToDevice(&self, pwszsourcefilepath: P0, psourceoperation: P1, fuflags: u32, pwszdestinationname: P2, psourcemetadata: P3, ptransferprogress: P4) -> windows_core::Result @@ -313,7 +313,7 @@ pub struct IMDSPDirectTransfer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub TransferToDevice: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, u32, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPEnumDevice, IMDSPEnumDevice_Vtbl, 0x1dcb3a11_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IMDSPEnumDevice, IMDSPEnumDevice_Vtbl, 0x1dcb3a11_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IMDSPEnumDevice, windows_core::IUnknown); impl IMDSPEnumDevice { pub unsafe fn Next(&self, ppdevice: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -339,7 +339,7 @@ pub struct IMDSPEnumDevice_Vtbl { 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, } -windows_core::imp::com_interface!(IMDSPEnumStorage, IMDSPEnumStorage_Vtbl, 0x1dcb3a15_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IMDSPEnumStorage, IMDSPEnumStorage_Vtbl, 0x1dcb3a15_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IMDSPEnumStorage, windows_core::IUnknown); impl IMDSPEnumStorage { pub unsafe fn Next(&self, ppstorage: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -365,7 +365,7 @@ pub struct IMDSPEnumStorage_Vtbl { 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, } -windows_core::imp::com_interface!(IMDSPObject, IMDSPObject_Vtbl, 0x1dcb3a18_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IMDSPObject, IMDSPObject_Vtbl, 0x1dcb3a18_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IMDSPObject, windows_core::IUnknown); impl IMDSPObject { pub unsafe fn Open(&self, fumode: u32) -> windows_core::Result<()> { @@ -416,7 +416,7 @@ pub struct IMDSPObject_Vtbl { pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPObject2, IMDSPObject2_Vtbl, 0x3f34cd3e_5907_4341_9af9_97f4187c3aa5); +windows_core::imp::define_interface!(IMDSPObject2, IMDSPObject2_Vtbl, 0x3f34cd3e_5907_4341_9af9_97f4187c3aa5); windows_core::imp::interface_hierarchy!(IMDSPObject2, windows_core::IUnknown, IMDSPObject); impl IMDSPObject2 { pub unsafe fn Open(&self, fumode: u32) -> windows_core::Result<()> { @@ -467,7 +467,7 @@ pub struct IMDSPObject2_Vtbl { pub ReadOnClearChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, pub WriteOnClearChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPObjectInfo, IMDSPObjectInfo_Vtbl, 0x1dcb3a19_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IMDSPObjectInfo, IMDSPObjectInfo_Vtbl, 0x1dcb3a19_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IMDSPObjectInfo, windows_core::IUnknown); impl IMDSPObjectInfo { pub unsafe fn GetPlayLength(&self) -> windows_core::Result { @@ -508,7 +508,7 @@ pub struct IMDSPObjectInfo_Vtbl { pub GetLastPlayPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetLongestPlayPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPRevoked, IMDSPRevoked_Vtbl, 0xa4e8f2d4_3f31_464d_b53d_4fc335998184); +windows_core::imp::define_interface!(IMDSPRevoked, IMDSPRevoked_Vtbl, 0xa4e8f2d4_3f31_464d_b53d_4fc335998184); windows_core::imp::interface_hierarchy!(IMDSPRevoked, windows_core::IUnknown); impl IMDSPRevoked { pub unsafe fn GetRevocationURL(&self, ppwszrevocationurl: *mut windows_core::PWSTR, pdwbufferlen: *mut u32) -> windows_core::Result<()> { @@ -520,7 +520,7 @@ pub struct IMDSPRevoked_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetRevocationURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPStorage, IMDSPStorage_Vtbl, 0x1dcb3a16_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IMDSPStorage, IMDSPStorage_Vtbl, 0x1dcb3a16_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IMDSPStorage, windows_core::IUnknown); impl IMDSPStorage { #[cfg(feature = "Win32_Media_Audio")] @@ -587,7 +587,7 @@ pub struct IMDSPStorage_Vtbl { pub EnumStorage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SendOpaqueCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPAQUECOMMAND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPStorage2, IMDSPStorage2_Vtbl, 0x0a5e07a5_6454_4451_9c36_1c6ae7e2b1d6); +windows_core::imp::define_interface!(IMDSPStorage2, IMDSPStorage2_Vtbl, 0x0a5e07a5_6454_4451_9c36_1c6ae7e2b1d6); windows_core::imp::interface_hierarchy!(IMDSPStorage2, windows_core::IUnknown, IMDSPStorage); impl IMDSPStorage2 { #[cfg(feature = "Win32_Media_Audio")] @@ -671,7 +671,7 @@ pub struct IMDSPStorage2_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Media_Audio", feature = "Win32_Media_MediaFoundation")))] GetAttributes2: usize, } -windows_core::imp::com_interface!(IMDSPStorage3, IMDSPStorage3_Vtbl, 0x6c669867_97ed_4a67_9706_1c5529d2a414); +windows_core::imp::define_interface!(IMDSPStorage3, IMDSPStorage3_Vtbl, 0x6c669867_97ed_4a67_9706_1c5529d2a414); windows_core::imp::interface_hierarchy!(IMDSPStorage3, windows_core::IUnknown, IMDSPStorage, IMDSPStorage2); impl IMDSPStorage3 { #[cfg(feature = "Win32_Media_Audio")] @@ -756,7 +756,7 @@ pub struct IMDSPStorage3_Vtbl { pub GetMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPStorage4, IMDSPStorage4_Vtbl, 0x3133b2c4_515c_481b_b1ce_39327ecb4f74); +windows_core::imp::define_interface!(IMDSPStorage4, IMDSPStorage4_Vtbl, 0x3133b2c4_515c_481b_b1ce_39327ecb4f74); windows_core::imp::interface_hierarchy!(IMDSPStorage4, windows_core::IUnknown, IMDSPStorage, IMDSPStorage2, IMDSPStorage3); impl IMDSPStorage4 { #[cfg(feature = "Win32_Media_Audio")] @@ -876,7 +876,7 @@ pub struct IMDSPStorage4_Vtbl { pub FindStorage: unsafe extern "system" fn(*mut core::ffi::c_void, WMDM_FIND_SCOPE, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDSPStorageGlobals, IMDSPStorageGlobals_Vtbl, 0x1dcb3a17_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IMDSPStorageGlobals, IMDSPStorageGlobals_Vtbl, 0x1dcb3a17_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IMDSPStorageGlobals, windows_core::IUnknown); impl IMDSPStorageGlobals { pub unsafe fn GetCapabilities(&self) -> windows_core::Result { @@ -927,7 +927,7 @@ pub struct IMDSPStorageGlobals_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRootStorage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDServiceProvider, IMDServiceProvider_Vtbl, 0x1dcb3a10_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IMDServiceProvider, IMDServiceProvider_Vtbl, 0x1dcb3a10_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IMDServiceProvider, windows_core::IUnknown); impl IMDServiceProvider { pub unsafe fn GetDeviceCount(&self) -> windows_core::Result { @@ -945,7 +945,7 @@ pub struct IMDServiceProvider_Vtbl { pub GetDeviceCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub EnumDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDServiceProvider2, IMDServiceProvider2_Vtbl, 0xb2fa24b7_cda3_4694_9862_413ae1a34819); +windows_core::imp::define_interface!(IMDServiceProvider2, IMDServiceProvider2_Vtbl, 0xb2fa24b7_cda3_4694_9862_413ae1a34819); windows_core::imp::interface_hierarchy!(IMDServiceProvider2, windows_core::IUnknown, IMDServiceProvider); impl IMDServiceProvider2 { pub unsafe fn GetDeviceCount(&self) -> windows_core::Result { @@ -968,7 +968,7 @@ pub struct IMDServiceProvider2_Vtbl { pub base__: IMDServiceProvider_Vtbl, pub CreateDevice: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32, *mut *mut Option) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDServiceProvider3, IMDServiceProvider3_Vtbl, 0x4ed13ef3_a971_4d19_9f51_0e1826b2da57); +windows_core::imp::define_interface!(IMDServiceProvider3, IMDServiceProvider3_Vtbl, 0x4ed13ef3_a971_4d19_9f51_0e1826b2da57); windows_core::imp::interface_hierarchy!(IMDServiceProvider3, windows_core::IUnknown, IMDServiceProvider, IMDServiceProvider2); impl IMDServiceProvider3 { pub unsafe fn GetDeviceCount(&self) -> windows_core::Result { @@ -994,7 +994,7 @@ pub struct IMDServiceProvider3_Vtbl { pub base__: IMDServiceProvider2_Vtbl, pub SetDeviceEnumPreference: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISCPSecureAuthenticate, ISCPSecureAuthenticate_Vtbl, 0x1dcb3a0f_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(ISCPSecureAuthenticate, ISCPSecureAuthenticate_Vtbl, 0x1dcb3a0f_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(ISCPSecureAuthenticate, windows_core::IUnknown); impl ISCPSecureAuthenticate { pub unsafe fn GetSecureQuery(&self) -> windows_core::Result { @@ -1007,7 +1007,7 @@ pub struct ISCPSecureAuthenticate_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSecureQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISCPSecureAuthenticate2, ISCPSecureAuthenticate2_Vtbl, 0xb580cfae_1672_47e2_acaa_44bbecbcae5b); +windows_core::imp::define_interface!(ISCPSecureAuthenticate2, ISCPSecureAuthenticate2_Vtbl, 0xb580cfae_1672_47e2_acaa_44bbecbcae5b); windows_core::imp::interface_hierarchy!(ISCPSecureAuthenticate2, windows_core::IUnknown, ISCPSecureAuthenticate); impl ISCPSecureAuthenticate2 { pub unsafe fn GetSecureQuery(&self) -> windows_core::Result { @@ -1024,7 +1024,7 @@ pub struct ISCPSecureAuthenticate2_Vtbl { pub base__: ISCPSecureAuthenticate_Vtbl, pub GetSCPSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISCPSecureExchange, ISCPSecureExchange_Vtbl, 0x1dcb3a0e_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(ISCPSecureExchange, ISCPSecureExchange_Vtbl, 0x1dcb3a0e_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(ISCPSecureExchange, windows_core::IUnknown); impl ISCPSecureExchange { pub unsafe fn TransferContainerData(&self, pdata: &[u8], pfureadyflags: *mut u32, abmac: &mut [u8; 8]) -> windows_core::Result<()> { @@ -1044,7 +1044,7 @@ pub struct ISCPSecureExchange_Vtbl { pub ObjectData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32, *mut u8) -> windows_core::HRESULT, pub TransferComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISCPSecureExchange2, ISCPSecureExchange2_Vtbl, 0x6c62fc7b_2690_483f_9d44_0a20cb35577c); +windows_core::imp::define_interface!(ISCPSecureExchange2, ISCPSecureExchange2_Vtbl, 0x6c62fc7b_2690_483f_9d44_0a20cb35577c); windows_core::imp::interface_hierarchy!(ISCPSecureExchange2, windows_core::IUnknown, ISCPSecureExchange); impl ISCPSecureExchange2 { pub unsafe fn TransferContainerData(&self, pdata: &[u8], pfureadyflags: *mut u32, abmac: &mut [u8; 8]) -> windows_core::Result<()> { @@ -1068,7 +1068,7 @@ pub struct ISCPSecureExchange2_Vtbl { pub base__: ISCPSecureExchange_Vtbl, pub TransferContainerData2: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut core::ffi::c_void, *mut u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISCPSecureExchange3, ISCPSecureExchange3_Vtbl, 0xab4e77e4_8908_4b17_bd2a_b1dbe6dd69e1); +windows_core::imp::define_interface!(ISCPSecureExchange3, ISCPSecureExchange3_Vtbl, 0xab4e77e4_8908_4b17_bd2a_b1dbe6dd69e1); windows_core::imp::interface_hierarchy!(ISCPSecureExchange3, windows_core::IUnknown, ISCPSecureExchange, ISCPSecureExchange2); impl ISCPSecureExchange3 { pub unsafe fn TransferContainerData(&self, pdata: &[u8], pfureadyflags: *mut u32, abmac: &mut [u8; 8]) -> windows_core::Result<()> { @@ -1114,7 +1114,7 @@ pub struct ISCPSecureExchange3_Vtbl { pub GetObjectDataOnClearChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, pub TransferCompleteForDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISCPSecureQuery, ISCPSecureQuery_Vtbl, 0x1dcb3a0d_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(ISCPSecureQuery, ISCPSecureQuery_Vtbl, 0x1dcb3a0d_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(ISCPSecureQuery, windows_core::IUnknown); impl ISCPSecureQuery { pub unsafe fn GetDataDemands(&self, pfuflags: *mut u32, pdwminrightsdata: *mut u32, pdwminexaminedata: *mut u32, pdwmindecidedata: *mut u32, abmac: &mut [u8; 8]) -> windows_core::Result<()> { @@ -1147,7 +1147,7 @@ pub struct ISCPSecureQuery_Vtbl { pub MakeDecision: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, u32, *const u8, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRights: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const u8, u32, *mut core::ffi::c_void, *mut *mut WMDMRIGHTS, *mut u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISCPSecureQuery2, ISCPSecureQuery2_Vtbl, 0xebe17e25_4fd7_4632_af46_6d93d4fcc72e); +windows_core::imp::define_interface!(ISCPSecureQuery2, ISCPSecureQuery2_Vtbl, 0xebe17e25_4fd7_4632_af46_6d93d4fcc72e); windows_core::imp::interface_hierarchy!(ISCPSecureQuery2, windows_core::IUnknown, ISCPSecureQuery); impl ISCPSecureQuery2 { pub unsafe fn GetDataDemands(&self, pfuflags: *mut u32, pdwminrightsdata: *mut u32, pdwminexaminedata: *mut u32, pdwmindecidedata: *mut u32, abmac: &mut [u8; 8]) -> windows_core::Result<()> { @@ -1205,7 +1205,7 @@ pub struct ISCPSecureQuery2_Vtbl { pub base__: ISCPSecureQuery_Vtbl, pub MakeDecision2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, u32, *const u8, u32, *mut core::ffi::c_void, *const u8, u32, *const u8, u32, *mut windows_core::PWSTR, *mut u32, *mut u32, *mut u64, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISCPSecureQuery3, ISCPSecureQuery3_Vtbl, 0xb7edd1a2_4dab_484b_b3c5_ad39b8b4c0b1); +windows_core::imp::define_interface!(ISCPSecureQuery3, ISCPSecureQuery3_Vtbl, 0xb7edd1a2_4dab_484b_b3c5_ad39b8b4c0b1); windows_core::imp::interface_hierarchy!(ISCPSecureQuery3, windows_core::IUnknown, ISCPSecureQuery, ISCPSecureQuery2); impl ISCPSecureQuery3 { pub unsafe fn GetDataDemands(&self, pfuflags: *mut u32, pdwminrightsdata: *mut u32, pdwminexaminedata: *mut u32, pdwmindecidedata: *mut u32, abmac: &mut [u8; 8]) -> windows_core::Result<()> { @@ -1300,7 +1300,7 @@ pub struct ISCPSecureQuery3_Vtbl { pub GetRightsOnClearChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const u8, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut WMDMRIGHTS, *mut u32) -> windows_core::HRESULT, pub MakeDecisionOnClearChannel: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, u32, *const u8, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, *const u8, u32, *const u8, u32, *mut windows_core::PWSTR, *mut u32, *mut u32, *mut u64, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISCPSession, ISCPSession_Vtbl, 0x88a3e6ed_eee4_4619_bbb3_fd4fb62715d1); +windows_core::imp::define_interface!(ISCPSession, ISCPSession_Vtbl, 0x88a3e6ed_eee4_4619_bbb3_fd4fb62715d1); windows_core::imp::interface_hierarchy!(ISCPSession, windows_core::IUnknown); impl ISCPSession { pub unsafe fn BeginSession(&self, pidevice: P0, pctx: &[u8]) -> windows_core::Result<()> @@ -1324,7 +1324,7 @@ pub struct ISCPSession_Vtbl { pub EndSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, pub GetSecureQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMDevice, IWMDMDevice_Vtbl, 0x1dcb3a02_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IWMDMDevice, IWMDMDevice_Vtbl, 0x1dcb3a02_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IWMDMDevice, windows_core::IUnknown); impl IWMDMDevice { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> windows_core::Result<()> { @@ -1385,7 +1385,7 @@ pub struct IWMDMDevice_Vtbl { GetFormatSupport: usize, pub SendOpaqueCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPAQUECOMMAND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMDevice2, IWMDMDevice2_Vtbl, 0xe34f3d37_9d67_4fc1_9252_62d28b2f8b55); +windows_core::imp::define_interface!(IWMDMDevice2, IWMDMDevice2_Vtbl, 0xe34f3d37_9d67_4fc1_9252_62d28b2f8b55); windows_core::imp::interface_hierarchy!(IWMDMDevice2, windows_core::IUnknown, IWMDMDevice); impl IWMDMDevice2 { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> windows_core::Result<()> { @@ -1460,7 +1460,7 @@ pub struct IWMDMDevice2_Vtbl { GetSpecifyPropertyPages: usize, pub GetCanonicalName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMDevice3, IWMDMDevice3_Vtbl, 0x6c03e4fe_05db_4dda_9e3c_06233a6d5d65); +windows_core::imp::define_interface!(IWMDMDevice3, IWMDMDevice3_Vtbl, 0x6c03e4fe_05db_4dda_9e3c_06233a6d5d65); windows_core::imp::interface_hierarchy!(IWMDMDevice3, windows_core::IUnknown, IWMDMDevice, IWMDMDevice2); impl IWMDMDevice3 { pub unsafe fn GetName(&self, pwszname: &mut [u16]) -> windows_core::Result<()> { @@ -1557,7 +1557,7 @@ pub struct IWMDMDevice3_Vtbl { 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, } -windows_core::imp::com_interface!(IWMDMDeviceControl, IWMDMDeviceControl_Vtbl, 0x1dcb3a04_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IWMDMDeviceControl, IWMDMDeviceControl_Vtbl, 0x1dcb3a04_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IWMDMDeviceControl, windows_core::IUnknown); impl IWMDMDeviceControl { pub unsafe fn GetStatus(&self) -> windows_core::Result { @@ -1603,7 +1603,7 @@ pub struct IWMDMDeviceControl_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMDeviceSession, IWMDMDeviceSession_Vtbl, 0x82af0a65_9d96_412c_83e5_3c43e4b06cc7); +windows_core::imp::define_interface!(IWMDMDeviceSession, IWMDMDeviceSession_Vtbl, 0x82af0a65_9d96_412c_83e5_3c43e4b06cc7); windows_core::imp::interface_hierarchy!(IWMDMDeviceSession, windows_core::IUnknown); impl IWMDMDeviceSession { pub unsafe fn BeginSession(&self, r#type: WMDM_SESSION_TYPE, pctx: Option<&[u8]>) -> windows_core::Result<()> { @@ -1619,7 +1619,7 @@ pub struct IWMDMDeviceSession_Vtbl { pub BeginSession: unsafe extern "system" fn(*mut core::ffi::c_void, WMDM_SESSION_TYPE, *const u8, u32) -> windows_core::HRESULT, pub EndSession: unsafe extern "system" fn(*mut core::ffi::c_void, WMDM_SESSION_TYPE, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMEnumDevice, IWMDMEnumDevice_Vtbl, 0x1dcb3a01_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IWMDMEnumDevice, IWMDMEnumDevice_Vtbl, 0x1dcb3a01_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IWMDMEnumDevice, windows_core::IUnknown); impl IWMDMEnumDevice { pub unsafe fn Next(&self, ppdevice: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -1645,7 +1645,7 @@ pub struct IWMDMEnumDevice_Vtbl { 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, } -windows_core::imp::com_interface!(IWMDMEnumStorage, IWMDMEnumStorage_Vtbl, 0x1dcb3a05_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IWMDMEnumStorage, IWMDMEnumStorage_Vtbl, 0x1dcb3a05_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IWMDMEnumStorage, windows_core::IUnknown); impl IWMDMEnumStorage { pub unsafe fn Next(&self, ppstorage: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -1671,7 +1671,7 @@ pub struct IWMDMEnumStorage_Vtbl { 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, } -windows_core::imp::com_interface!(IWMDMLogger, IWMDMLogger_Vtbl, 0x110a3200_5a79_11d3_8d78_444553540000); +windows_core::imp::define_interface!(IWMDMLogger, IWMDMLogger_Vtbl, 0x110a3200_5a79_11d3_8d78_444553540000); windows_core::imp::interface_hierarchy!(IWMDMLogger, windows_core::IUnknown); impl IWMDMLogger { pub unsafe fn IsEnabled(&self) -> windows_core::Result { @@ -1730,7 +1730,7 @@ pub struct IWMDMLogger_Vtbl { pub GetSizeParams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub SetSizeParams: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMMetaData, IWMDMMetaData_Vtbl, 0xec3b0663_0951_460a_9a80_0dceed3c043c); +windows_core::imp::define_interface!(IWMDMMetaData, IWMDMMetaData_Vtbl, 0xec3b0663_0951_460a_9a80_0dceed3c043c); windows_core::imp::interface_hierarchy!(IWMDMMetaData, windows_core::IUnknown); impl IWMDMMetaData { pub unsafe fn AddItem(&self, r#type: WMDM_TAG_DATATYPE, pwsztagname: P0, pvalue: Option<&[u8]>) -> windows_core::Result<()> @@ -1761,7 +1761,7 @@ pub struct IWMDMMetaData_Vtbl { pub QueryByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut u16, *mut WMDM_TAG_DATATYPE, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub GetItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMNotification, IWMDMNotification_Vtbl, 0x3f5e95c0_0f43_4ed4_93d2_c89a45d59b81); +windows_core::imp::define_interface!(IWMDMNotification, IWMDMNotification_Vtbl, 0x3f5e95c0_0f43_4ed4_93d2_c89a45d59b81); windows_core::imp::interface_hierarchy!(IWMDMNotification, windows_core::IUnknown); impl IWMDMNotification { pub unsafe fn WMDMMessage(&self, dwmessagetype: u32, pwszcanonicalname: P0) -> windows_core::Result<()> @@ -1776,7 +1776,7 @@ pub struct IWMDMNotification_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub WMDMMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMObjectInfo, IWMDMObjectInfo_Vtbl, 0x1dcb3a09_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IWMDMObjectInfo, IWMDMObjectInfo_Vtbl, 0x1dcb3a09_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IWMDMObjectInfo, windows_core::IUnknown); impl IWMDMObjectInfo { pub unsafe fn GetPlayLength(&self) -> windows_core::Result { @@ -1817,7 +1817,7 @@ pub struct IWMDMObjectInfo_Vtbl { pub GetLastPlayPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetLongestPlayPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMOperation, IWMDMOperation_Vtbl, 0x1dcb3a0b_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IWMDMOperation, IWMDMOperation_Vtbl, 0x1dcb3a0b_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IWMDMOperation, windows_core::IUnknown); impl IWMDMOperation { pub unsafe fn BeginRead(&self) -> windows_core::Result<()> { @@ -1876,7 +1876,7 @@ pub struct IWMDMOperation_Vtbl { pub TransferObjectData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32, *mut u8) -> windows_core::HRESULT, pub End: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::HRESULT, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMOperation2, IWMDMOperation2_Vtbl, 0x33445b48_7df7_425c_ad8f_0fc6d82f9f75); +windows_core::imp::define_interface!(IWMDMOperation2, IWMDMOperation2_Vtbl, 0x33445b48_7df7_425c_ad8f_0fc6d82f9f75); windows_core::imp::interface_hierarchy!(IWMDMOperation2, windows_core::IUnknown, IWMDMOperation); impl IWMDMOperation2 { pub unsafe fn BeginRead(&self) -> windows_core::Result<()> { @@ -1935,7 +1935,7 @@ pub struct IWMDMOperation2_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Media_Audio", feature = "Win32_Media_MediaFoundation")))] GetObjectAttributes2: usize, } -windows_core::imp::com_interface!(IWMDMOperation3, IWMDMOperation3_Vtbl, 0xd1f9b46a_9ca8_46d8_9d0f_1ec9bae54919); +windows_core::imp::define_interface!(IWMDMOperation3, IWMDMOperation3_Vtbl, 0xd1f9b46a_9ca8_46d8_9d0f_1ec9bae54919); windows_core::imp::interface_hierarchy!(IWMDMOperation3, windows_core::IUnknown, IWMDMOperation); impl IWMDMOperation3 { pub unsafe fn BeginRead(&self) -> windows_core::Result<()> { @@ -1982,7 +1982,7 @@ pub struct IWMDMOperation3_Vtbl { pub base__: IWMDMOperation_Vtbl, pub TransferObjectDataOnClearChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMProgress, IWMDMProgress_Vtbl, 0x1dcb3a0c_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IWMDMProgress, IWMDMProgress_Vtbl, 0x1dcb3a0c_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IWMDMProgress, windows_core::IUnknown); impl IWMDMProgress { pub unsafe fn Begin(&self, dwestimatedticks: u32) -> windows_core::Result<()> { @@ -2002,7 +2002,7 @@ pub struct IWMDMProgress_Vtbl { pub Progress: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMProgress2, IWMDMProgress2_Vtbl, 0x3a43f550_b383_4e92_b04a_e6bbc660fefc); +windows_core::imp::define_interface!(IWMDMProgress2, IWMDMProgress2_Vtbl, 0x3a43f550_b383_4e92_b04a_e6bbc660fefc); windows_core::imp::interface_hierarchy!(IWMDMProgress2, windows_core::IUnknown, IWMDMProgress); impl IWMDMProgress2 { pub unsafe fn Begin(&self, dwestimatedticks: u32) -> windows_core::Result<()> { @@ -2023,7 +2023,7 @@ pub struct IWMDMProgress2_Vtbl { pub base__: IWMDMProgress_Vtbl, pub End2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMProgress3, IWMDMProgress3_Vtbl, 0x21de01cb_3bb4_4929_b21a_17af3f80f658); +windows_core::imp::define_interface!(IWMDMProgress3, IWMDMProgress3_Vtbl, 0x21de01cb_3bb4_4929_b21a_17af3f80f658); windows_core::imp::interface_hierarchy!(IWMDMProgress3, windows_core::IUnknown, IWMDMProgress, IWMDMProgress2); impl IWMDMProgress3 { pub unsafe fn Begin(&self, dwestimatedticks: u32) -> windows_core::Result<()> { @@ -2055,7 +2055,7 @@ pub struct IWMDMProgress3_Vtbl { pub Progress3: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32, *mut OPAQUECOMMAND) -> windows_core::HRESULT, pub End3: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::HRESULT, *mut OPAQUECOMMAND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMRevoked, IWMDMRevoked_Vtbl, 0xebeccedb_88ee_4e55_b6a4_8d9f07d696aa); +windows_core::imp::define_interface!(IWMDMRevoked, IWMDMRevoked_Vtbl, 0xebeccedb_88ee_4e55_b6a4_8d9f07d696aa); windows_core::imp::interface_hierarchy!(IWMDMRevoked, windows_core::IUnknown); impl IWMDMRevoked { pub unsafe fn GetRevocationURL(&self, ppwszrevocationurl: *mut windows_core::PWSTR, pdwbufferlen: *mut u32, pdwrevokedbitflag: *mut u32) -> windows_core::Result<()> { @@ -2067,7 +2067,7 @@ pub struct IWMDMRevoked_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetRevocationURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMStorage, IWMDMStorage_Vtbl, 0x1dcb3a06_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IWMDMStorage, IWMDMStorage_Vtbl, 0x1dcb3a06_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IWMDMStorage, windows_core::IUnknown); impl IWMDMStorage { #[cfg(feature = "Win32_Media_Audio")] @@ -2122,7 +2122,7 @@ pub struct IWMDMStorage_Vtbl { pub EnumStorage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SendOpaqueCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPAQUECOMMAND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMStorage2, IWMDMStorage2_Vtbl, 0x1ed5a144_5cd5_4683_9eff_72cbdb2d9533); +windows_core::imp::define_interface!(IWMDMStorage2, IWMDMStorage2_Vtbl, 0x1ed5a144_5cd5_4683_9eff_72cbdb2d9533); windows_core::imp::interface_hierarchy!(IWMDMStorage2, windows_core::IUnknown, IWMDMStorage); impl IWMDMStorage2 { #[cfg(feature = "Win32_Media_Audio")] @@ -2186,7 +2186,7 @@ pub struct IWMDMStorage2_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Media_Audio", feature = "Win32_Media_MediaFoundation")))] GetAttributes2: usize, } -windows_core::imp::com_interface!(IWMDMStorage3, IWMDMStorage3_Vtbl, 0x97717eea_926a_464e_96a4_247b0216026e); +windows_core::imp::define_interface!(IWMDMStorage3, IWMDMStorage3_Vtbl, 0x97717eea_926a_464e_96a4_247b0216026e); windows_core::imp::interface_hierarchy!(IWMDMStorage3, windows_core::IUnknown, IWMDMStorage, IWMDMStorage2); impl IWMDMStorage3 { #[cfg(feature = "Win32_Media_Audio")] @@ -2262,7 +2262,7 @@ pub struct IWMDMStorage3_Vtbl { pub CreateEmptyMetadataObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetEnumPreference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMDM_STORAGE_ENUM_MODE, u32, *const WMDMMetadataView) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMStorage4, IWMDMStorage4_Vtbl, 0xc225bac5_a03a_40b8_9a23_91cf478c64a6); +windows_core::imp::define_interface!(IWMDMStorage4, IWMDMStorage4_Vtbl, 0xc225bac5_a03a_40b8_9a23_91cf478c64a6); windows_core::imp::interface_hierarchy!(IWMDMStorage4, windows_core::IUnknown, IWMDMStorage, IWMDMStorage2, IWMDMStorage3); impl IWMDMStorage4 { #[cfg(feature = "Win32_Media_Audio")] @@ -2367,7 +2367,7 @@ pub struct IWMDMStorage4_Vtbl { pub FindStorage: unsafe extern "system" fn(*mut core::ffi::c_void, WMDM_FIND_SCOPE, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetParent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMStorageControl, IWMDMStorageControl_Vtbl, 0x1dcb3a08_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IWMDMStorageControl, IWMDMStorageControl_Vtbl, 0x1dcb3a08_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IWMDMStorageControl, windows_core::IUnknown); impl IWMDMStorageControl { pub unsafe fn Insert(&self, fumode: u32, pwszfile: P0, poperation: P1, pprogress: P2) -> windows_core::Result @@ -2417,7 +2417,7 @@ pub struct IWMDMStorageControl_Vtbl { pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Move: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMStorageControl2, IWMDMStorageControl2_Vtbl, 0x972c2e88_bd6c_4125_8e09_84f837e637b6); +windows_core::imp::define_interface!(IWMDMStorageControl2, IWMDMStorageControl2_Vtbl, 0x972c2e88_bd6c_4125_8e09_84f837e637b6); windows_core::imp::interface_hierarchy!(IWMDMStorageControl2, windows_core::IUnknown, IWMDMStorageControl); impl IWMDMStorageControl2 { pub unsafe fn Insert(&self, fumode: u32, pwszfile: P0, poperation: P1, pprogress: P2) -> windows_core::Result @@ -2473,7 +2473,7 @@ pub struct IWMDMStorageControl2_Vtbl { pub base__: IWMDMStorageControl_Vtbl, pub Insert2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMStorageControl3, IWMDMStorageControl3_Vtbl, 0xb3266365_d4f3_4696_8d53_bd27ec60993a); +windows_core::imp::define_interface!(IWMDMStorageControl3, IWMDMStorageControl3_Vtbl, 0xb3266365_d4f3_4696_8d53_bd27ec60993a); windows_core::imp::interface_hierarchy!(IWMDMStorageControl3, windows_core::IUnknown, IWMDMStorageControl, IWMDMStorageControl2); impl IWMDMStorageControl3 { pub unsafe fn Insert(&self, fumode: u32, pwszfile: P0, poperation: P1, pprogress: P2) -> windows_core::Result @@ -2540,7 +2540,7 @@ pub struct IWMDMStorageControl3_Vtbl { pub base__: IWMDMStorageControl2_Vtbl, pub Insert3: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDMStorageGlobals, IWMDMStorageGlobals_Vtbl, 0x1dcb3a07_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IWMDMStorageGlobals, IWMDMStorageGlobals_Vtbl, 0x1dcb3a07_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IWMDMStorageGlobals, windows_core::IUnknown); impl IWMDMStorageGlobals { pub unsafe fn GetCapabilities(&self) -> windows_core::Result { @@ -2581,7 +2581,7 @@ pub struct IWMDMStorageGlobals_Vtbl { pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDeviceManager, IWMDeviceManager_Vtbl, 0x1dcb3a00_33ed_11d3_8470_00c04f79dbc0); +windows_core::imp::define_interface!(IWMDeviceManager, IWMDeviceManager_Vtbl, 0x1dcb3a00_33ed_11d3_8470_00c04f79dbc0); windows_core::imp::interface_hierarchy!(IWMDeviceManager, windows_core::IUnknown); impl IWMDeviceManager { pub unsafe fn GetRevision(&self) -> windows_core::Result { @@ -2604,7 +2604,7 @@ pub struct IWMDeviceManager_Vtbl { pub GetDeviceCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub EnumDevices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDeviceManager2, IWMDeviceManager2_Vtbl, 0x923e5249_8731_4c5b_9b1c_b8b60b6e46af); +windows_core::imp::define_interface!(IWMDeviceManager2, IWMDeviceManager2_Vtbl, 0x923e5249_8731_4c5b_9b1c_b8b60b6e46af); windows_core::imp::interface_hierarchy!(IWMDeviceManager2, windows_core::IUnknown, IWMDeviceManager); impl IWMDeviceManager2 { pub unsafe fn GetRevision(&self) -> windows_core::Result { @@ -2641,7 +2641,7 @@ pub struct IWMDeviceManager2_Vtbl { pub EnumDevices2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Reinitialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDeviceManager3, IWMDeviceManager3_Vtbl, 0xaf185c41_100d_46ed_be2e_9ce8c44594ef); +windows_core::imp::define_interface!(IWMDeviceManager3, IWMDeviceManager3_Vtbl, 0xaf185c41_100d_46ed_be2e_9ce8c44594ef); windows_core::imp::interface_hierarchy!(IWMDeviceManager3, windows_core::IUnknown, IWMDeviceManager, IWMDeviceManager2); impl IWMDeviceManager3 { pub unsafe fn GetRevision(&self) -> windows_core::Result { 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 b3d06c992e..c5aa7ef8e3 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IATSCChannelTuneRequest, IATSCChannelTuneRequest_Vtbl, 0x0369b4e1_45b6_11d3_b650_00c04f79498e); +windows_core::imp::define_interface!(IATSCChannelTuneRequest, IATSCChannelTuneRequest_Vtbl, 0x0369b4e1_45b6_11d3_b650_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IATSCChannelTuneRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest, IChannelTuneRequest); #[cfg(feature = "Win32_System_Com")] @@ -54,7 +54,7 @@ pub struct IATSCChannelTuneRequest_Vtbl { pub SetMinorChannel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IATSCComponentType, IATSCComponentType_Vtbl, 0xfc189e4d_7bd4_4125_b3b3_3a76a332cc96); +windows_core::imp::define_interface!(IATSCComponentType, IATSCComponentType_Vtbl, 0xfc189e4d_7bd4_4125_b3b3_3a76a332cc96); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IATSCComponentType, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IComponentType, ILanguageComponentType, IMPEG2ComponentType); #[cfg(feature = "Win32_System_Com")] @@ -161,7 +161,7 @@ pub struct IATSCComponentType_Vtbl { pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IATSCLocator, IATSCLocator_Vtbl, 0xbf8d986f_8c2b_4131_94d7_4d3d9fcc21ef); +windows_core::imp::define_interface!(IATSCLocator, IATSCLocator_Vtbl, 0xbf8d986f_8c2b_4131_94d7_4d3d9fcc21ef); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IATSCLocator, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] @@ -245,7 +245,7 @@ pub struct IATSCLocator_Vtbl { pub SetTSID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IATSCLocator2, IATSCLocator2_Vtbl, 0x612aa885_66cf_4090_ba0a_566f5312e4ca); +windows_core::imp::define_interface!(IATSCLocator2, IATSCLocator2_Vtbl, 0x612aa885_66cf_4090_ba0a_566f5312e4ca); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IATSCLocator2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IATSCLocator); #[cfg(feature = "Win32_System_Com")] @@ -334,7 +334,7 @@ pub struct IATSCLocator2_Vtbl { pub SetProgramNumber: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IATSCTuningSpace, IATSCTuningSpace_Vtbl, 0x0369b4e2_45b6_11d3_b650_00c04f79498e); +windows_core::imp::define_interface!(IATSCTuningSpace, IATSCTuningSpace_Vtbl, 0x0369b4e2_45b6_11d3_b650_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IATSCTuningSpace, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IAnalogTVTuningSpace); #[cfg(feature = "Win32_System_Com")] @@ -504,7 +504,7 @@ pub struct IATSCTuningSpace_Vtbl { pub MaxPhysicalChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetMaxPhysicalChannel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IATSC_EIT, IATSC_EIT_Vtbl, 0xd7c212d7_76a2_4b4b_aa56_846879a80096); +windows_core::imp::define_interface!(IATSC_EIT, IATSC_EIT_Vtbl, 0xd7c212d7_76a2_4b4b_aa56_846879a80096); windows_core::imp::interface_hierarchy!(IATSC_EIT, windows_core::IUnknown); impl IATSC_EIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -578,7 +578,7 @@ pub struct IATSC_EIT_Vtbl { pub GetRecordDescriptorByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRecordDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IATSC_ETT, IATSC_ETT_Vtbl, 0x5a142cc9_b8cf_4a86_a040_e9cadf3ef3e7); +windows_core::imp::define_interface!(IATSC_ETT, IATSC_ETT_Vtbl, 0x5a142cc9_b8cf_4a86_a040_e9cadf3ef3e7); windows_core::imp::interface_hierarchy!(IATSC_ETT, windows_core::IUnknown); impl IATSC_ETT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -613,7 +613,7 @@ pub struct IATSC_ETT_Vtbl { pub GetEtmId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetExtendedMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IATSC_MGT, IATSC_MGT_Vtbl, 0x8877dabd_c137_4073_97e3_779407a5d87a); +windows_core::imp::define_interface!(IATSC_MGT, IATSC_MGT_Vtbl, 0x8877dabd_c137_4073_97e3_779407a5d87a); windows_core::imp::interface_hierarchy!(IATSC_MGT, windows_core::IUnknown); impl IATSC_MGT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -686,7 +686,7 @@ pub struct IATSC_MGT_Vtbl { pub GetTableDescriptorByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTableDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IATSC_STT, IATSC_STT_Vtbl, 0x6bf42423_217d_4d6f_81e1_3a7b360ec896); +windows_core::imp::define_interface!(IATSC_STT, IATSC_STT_Vtbl, 0x6bf42423_217d_4d6f_81e1_3a7b360ec896); windows_core::imp::interface_hierarchy!(IATSC_STT, windows_core::IUnknown); impl IATSC_STT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -736,7 +736,7 @@ pub struct IATSC_STT_Vtbl { pub GetTableDescriptorByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTableDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IATSC_VCT, IATSC_VCT_Vtbl, 0x26879a18_32f9_46c6_91f0_fb6479270e8c); +windows_core::imp::define_interface!(IATSC_VCT, IATSC_VCT_Vtbl, 0x26879a18_32f9_46c6_91f0_fb6479270e8c); windows_core::imp::interface_hierarchy!(IATSC_VCT, windows_core::IUnknown); impl IATSC_VCT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -875,7 +875,7 @@ pub struct IATSC_VCT_Vtbl { pub GetTableDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAnalogAudioComponentType, IAnalogAudioComponentType_Vtbl, 0x2cfeb2a8_1787_4a24_a941_c6eaec39c842); +windows_core::imp::define_interface!(IAnalogAudioComponentType, IAnalogAudioComponentType_Vtbl, 0x2cfeb2a8_1787_4a24_a941_c6eaec39c842); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAnalogAudioComponentType, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IComponentType); #[cfg(feature = "Win32_System_Com")] @@ -968,7 +968,7 @@ pub struct IAnalogAudioComponentType_Vtbl { pub SetAnalogAudioMode: unsafe extern "system" fn(*mut core::ffi::c_void, super::TVAudioMode) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAnalogLocator, IAnalogLocator_Vtbl, 0x34d1f26b_e339_430d_abce_738cb48984dc); +windows_core::imp::define_interface!(IAnalogLocator, IAnalogLocator_Vtbl, 0x34d1f26b_e339_430d_abce_738cb48984dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAnalogLocator, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator); #[cfg(feature = "Win32_System_Com")] @@ -1043,7 +1043,7 @@ pub struct IAnalogLocator_Vtbl { pub SetVideoStandard: unsafe extern "system" fn(*mut core::ffi::c_void, super::AnalogVideoStandard) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAnalogRadioTuningSpace, IAnalogRadioTuningSpace_Vtbl, 0x2a6e293b_2595_11d3_b64c_00c04f79498e); +windows_core::imp::define_interface!(IAnalogRadioTuningSpace, IAnalogRadioTuningSpace_Vtbl, 0x2a6e293b_2595_11d3_b64c_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAnalogRadioTuningSpace, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] @@ -1177,7 +1177,7 @@ pub struct IAnalogRadioTuningSpace_Vtbl { pub SetStep: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAnalogRadioTuningSpace2, IAnalogRadioTuningSpace2_Vtbl, 0x39dd45da_2da8_46ba_8a8a_87e2b73d983a); +windows_core::imp::define_interface!(IAnalogRadioTuningSpace2, IAnalogRadioTuningSpace2_Vtbl, 0x39dd45da_2da8_46ba_8a8a_87e2b73d983a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAnalogRadioTuningSpace2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IAnalogRadioTuningSpace); #[cfg(feature = "Win32_System_Com")] @@ -1314,7 +1314,7 @@ pub struct IAnalogRadioTuningSpace2_Vtbl { pub SetCountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAnalogTVTuningSpace, IAnalogTVTuningSpace_Vtbl, 0x2a6e293c_2595_11d3_b64c_00c04f79498e); +windows_core::imp::define_interface!(IAnalogTVTuningSpace, IAnalogTVTuningSpace_Vtbl, 0x2a6e293c_2595_11d3_b64c_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAnalogTVTuningSpace, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] @@ -1456,7 +1456,7 @@ pub struct IAnalogTVTuningSpace_Vtbl { pub CountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAtscContentAdvisoryDescriptor, IAtscContentAdvisoryDescriptor_Vtbl, 0xff76e60c_0283_43ea_ba32_b422238547ee); +windows_core::imp::define_interface!(IAtscContentAdvisoryDescriptor, IAtscContentAdvisoryDescriptor_Vtbl, 0xff76e60c_0283_43ea_ba32_b422238547ee); windows_core::imp::interface_hierarchy!(IAtscContentAdvisoryDescriptor, windows_core::IUnknown); impl IAtscContentAdvisoryDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -1503,7 +1503,7 @@ pub struct IAtscContentAdvisoryDescriptor_Vtbl { pub GetRecordRatingValue: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *mut u8) -> windows_core::HRESULT, pub GetRecordRatingDescriptionText: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAtscPsipParser, IAtscPsipParser_Vtbl, 0xb2c98995_5eb2_4fb1_b406_f3e8e2026a9a); +windows_core::imp::define_interface!(IAtscPsipParser, IAtscPsipParser_Vtbl, 0xb2c98995_5eb2_4fb1_b406_f3e8e2026a9a); windows_core::imp::interface_hierarchy!(IAtscPsipParser, windows_core::IUnknown); impl IAtscPsipParser { pub unsafe fn Initialize(&self, punkmpeg2data: P0) -> windows_core::Result<()> @@ -1571,7 +1571,7 @@ pub struct IAtscPsipParser_Vtbl { pub GetSTT: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetEAS: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAttributeGet, IAttributeGet_Vtbl, 0x52dbd1ec_e48f_4528_9232_f442a68f0ae1); +windows_core::imp::define_interface!(IAttributeGet, IAttributeGet_Vtbl, 0x52dbd1ec_e48f_4528_9232_f442a68f0ae1); windows_core::imp::interface_hierarchy!(IAttributeGet, windows_core::IUnknown); impl IAttributeGet { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -1592,7 +1592,7 @@ pub struct IAttributeGet_Vtbl { pub GetAttribIndexed: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut windows_core::GUID, *mut u8, *mut u32) -> windows_core::HRESULT, pub GetAttrib: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAttributeSet, IAttributeSet_Vtbl, 0x583ec3cc_4960_4857_982b_41a33ea0a006); +windows_core::imp::define_interface!(IAttributeSet, IAttributeSet_Vtbl, 0x583ec3cc_4960_4857_982b_41a33ea0a006); windows_core::imp::interface_hierarchy!(IAttributeSet, windows_core::IUnknown); impl IAttributeSet { pub unsafe fn SetAttrib(&self, guidattribute: windows_core::GUID, pbattribute: *const u8, dwattributelength: u32) -> windows_core::Result<()> { @@ -1605,7 +1605,7 @@ pub struct IAttributeSet_Vtbl { pub SetAttrib: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *const u8, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAuxInTuningSpace, IAuxInTuningSpace_Vtbl, 0xe48244b8_7e17_4f76_a763_5090ff1e2f30); +windows_core::imp::define_interface!(IAuxInTuningSpace, IAuxInTuningSpace_Vtbl, 0xe48244b8_7e17_4f76_a763_5090ff1e2f30); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAuxInTuningSpace, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] @@ -1712,7 +1712,7 @@ pub struct IAuxInTuningSpace_Vtbl { pub base__: ITuningSpace_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAuxInTuningSpace2, IAuxInTuningSpace2_Vtbl, 0xb10931ed_8bfe_4ab0_9dce_e469c29a9729); +windows_core::imp::define_interface!(IAuxInTuningSpace2, IAuxInTuningSpace2_Vtbl, 0xb10931ed_8bfe_4ab0_9dce_e469c29a9729); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAuxInTuningSpace2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IAuxInTuningSpace); #[cfg(feature = "Win32_System_Com")] @@ -1827,7 +1827,7 @@ pub struct IAuxInTuningSpace2_Vtbl { pub CountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCountryCode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDAComparable, IBDAComparable_Vtbl, 0xb34505e0_2f0e_497b_80bc_d43f3b24ed7f); +windows_core::imp::define_interface!(IBDAComparable, IBDAComparable_Vtbl, 0xb34505e0_2f0e_497b_80bc_d43f3b24ed7f); windows_core::imp::interface_hierarchy!(IBDAComparable, windows_core::IUnknown); impl IBDAComparable { #[cfg(feature = "Win32_System_Com")] @@ -1879,7 +1879,7 @@ pub struct IBDAComparable_Vtbl { pub HashEquivalent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut i64) -> windows_core::HRESULT, pub HashEquivalentIncremental: unsafe extern "system" fn(*mut core::ffi::c_void, i64, u32, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDACreateTuneRequestEx, IBDACreateTuneRequestEx_Vtbl, 0xc0a4a1d4_2b3c_491a_ba22_499fbadd4d12); +windows_core::imp::define_interface!(IBDACreateTuneRequestEx, IBDACreateTuneRequestEx_Vtbl, 0xc0a4a1d4_2b3c_491a_ba22_499fbadd4d12); windows_core::imp::interface_hierarchy!(IBDACreateTuneRequestEx, windows_core::IUnknown); impl IBDACreateTuneRequestEx { #[cfg(feature = "Win32_System_Com")] @@ -1896,7 +1896,7 @@ pub struct IBDACreateTuneRequestEx_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateTuneRequestEx: usize, } -windows_core::imp::com_interface!(IBDA_TIF_REGISTRATION, IBDA_TIF_REGISTRATION_Vtbl, 0xdfef4a68_ee61_415f_9ccb_cd95f2f98a3a); +windows_core::imp::define_interface!(IBDA_TIF_REGISTRATION, IBDA_TIF_REGISTRATION_Vtbl, 0xdfef4a68_ee61_415f_9ccb_cd95f2f98a3a); windows_core::imp::interface_hierarchy!(IBDA_TIF_REGISTRATION, windows_core::IUnknown); impl IBDA_TIF_REGISTRATION { pub unsafe fn RegisterTIFEx(&self, ptifinputpin: P0, ppvregistrationcontext: *mut u32, ppmpeg2datacontrol: *mut Option) -> windows_core::Result<()> @@ -1915,7 +1915,7 @@ pub struct IBDA_TIF_REGISTRATION_Vtbl { pub RegisterTIFEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnregisterTIF: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICAT, ICAT_Vtbl, 0x7c6995fb_2a31_4bd7_953e_b1ad7fb7d31c); +windows_core::imp::define_interface!(ICAT, ICAT_Vtbl, 0x7c6995fb_2a31_4bd7_953e_b1ad7fb7d31c); windows_core::imp::interface_hierarchy!(ICAT, windows_core::IUnknown); impl ICAT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -1973,7 +1973,7 @@ pub struct ICAT_Vtbl { pub RegisterForWhenCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICaptionServiceDescriptor, ICaptionServiceDescriptor_Vtbl, 0x40834007_6834_46f0_bd45_d5f6a6be258c); +windows_core::imp::define_interface!(ICaptionServiceDescriptor, ICaptionServiceDescriptor_Vtbl, 0x40834007_6834_46f0_bd45_d5f6a6be258c); windows_core::imp::interface_hierarchy!(ICaptionServiceDescriptor, windows_core::IUnknown); impl ICaptionServiceDescriptor { pub unsafe fn GetNumberOfServices(&self) -> windows_core::Result { @@ -2011,7 +2011,7 @@ pub struct ICaptionServiceDescriptor_Vtbl { pub GetWideAspectRatio: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IChannelIDTuneRequest, IChannelIDTuneRequest_Vtbl, 0x156eff60_86f4_4e28_89fc_109799fd57ee); +windows_core::imp::define_interface!(IChannelIDTuneRequest, IChannelIDTuneRequest_Vtbl, 0x156eff60_86f4_4e28_89fc_109799fd57ee); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IChannelIDTuneRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] @@ -2062,7 +2062,7 @@ pub struct IChannelIDTuneRequest_Vtbl { pub SetChannelID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IChannelTuneRequest, IChannelTuneRequest_Vtbl, 0x0369b4e0_45b6_11d3_b650_00c04f79498e); +windows_core::imp::define_interface!(IChannelTuneRequest, IChannelTuneRequest_Vtbl, 0x0369b4e0_45b6_11d3_b650_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IChannelTuneRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] @@ -2110,7 +2110,7 @@ pub struct IChannelTuneRequest_Vtbl { pub SetChannel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IComponent, IComponent_Vtbl, 0x1a5576fc_0e19_11d3_9d8e_00c04f72d980); +windows_core::imp::define_interface!(IComponent, IComponent_Vtbl, 0x1a5576fc_0e19_11d3_9d8e_00c04f72d980); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IComponent, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2181,7 +2181,7 @@ pub struct IComponent_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IComponentType, IComponentType_Vtbl, 0x6a340dc0_0311_11d3_9d8e_00c04f72d980); +windows_core::imp::define_interface!(IComponentType, IComponentType_Vtbl, 0x6a340dc0_0311_11d3_9d8e_00c04f72d980); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IComponentType, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2291,7 +2291,7 @@ pub struct IComponentType_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IComponentTypes, IComponentTypes_Vtbl, 0x0dc13d4a_0313_11d3_9d8e_00c04f72d980); +windows_core::imp::define_interface!(IComponentTypes, IComponentTypes_Vtbl, 0x0dc13d4a_0313_11d3_9d8e_00c04f72d980); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IComponentTypes, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2374,7 +2374,7 @@ pub struct IComponentTypes_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IComponents, IComponents_Vtbl, 0x39a48091_fffe_4182_a161_3ff802640e26); +windows_core::imp::define_interface!(IComponents, IComponents_Vtbl, 0x39a48091_fffe_4182_a161_3ff802640e26); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IComponents, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2457,7 +2457,7 @@ pub struct IComponents_Vtbl { put_Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IComponentsOld, IComponentsOld_Vtbl, 0xfcd01846_0e19_11d3_9d8e_00c04f72d980); +windows_core::imp::define_interface!(IComponentsOld, IComponentsOld_Vtbl, 0xfcd01846_0e19_11d3_9d8e_00c04f72d980); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IComponentsOld, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2527,7 +2527,7 @@ pub struct IComponentsOld_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Clone: usize, } -windows_core::imp::com_interface!(ICreatePropBagOnRegKey, ICreatePropBagOnRegKey_Vtbl, 0x8a674b48_1f63_11d3_b64c_00c04f79498e); +windows_core::imp::define_interface!(ICreatePropBagOnRegKey, ICreatePropBagOnRegKey_Vtbl, 0x8a674b48_1f63_11d3_b64c_00c04f79498e); windows_core::imp::interface_hierarchy!(ICreatePropBagOnRegKey, windows_core::IUnknown); impl ICreatePropBagOnRegKey { #[cfg(feature = "Win32_System_Registry")] @@ -2547,7 +2547,7 @@ pub struct ICreatePropBagOnRegKey_Vtbl { #[cfg(not(feature = "Win32_System_Registry"))] Create: usize, } -windows_core::imp::com_interface!(IDTFilter, IDTFilter_Vtbl, 0xc4c4c4b2_0049_4e2b_98fb_9537f6ce516d); +windows_core::imp::define_interface!(IDTFilter, IDTFilter_Vtbl, 0xc4c4c4b2_0049_4e2b_98fb_9537f6ce516d); windows_core::imp::interface_hierarchy!(IDTFilter, windows_core::IUnknown); impl IDTFilter { pub unsafe fn EvalRatObjOK(&self) -> windows_core::Result { @@ -2594,7 +2594,7 @@ pub struct IDTFilter_Vtbl { pub BlockUnRatedDelay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetBlockUnRatedDelay: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDTFilter2, IDTFilter2_Vtbl, 0xc4c4c4b4_0049_4e2b_98fb_9537f6ce516d); +windows_core::imp::define_interface!(IDTFilter2, IDTFilter2_Vtbl, 0xc4c4c4b4_0049_4e2b_98fb_9537f6ce516d); windows_core::imp::interface_hierarchy!(IDTFilter2, windows_core::IUnknown, IDTFilter); impl IDTFilter2 { pub unsafe fn EvalRatObjOK(&self) -> windows_core::Result { @@ -2647,7 +2647,7 @@ pub struct IDTFilter2_Vtbl { 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, } -windows_core::imp::com_interface!(IDTFilter3, IDTFilter3_Vtbl, 0x513998cc_e929_4cdf_9fbd_bad1e0314866); +windows_core::imp::define_interface!(IDTFilter3, IDTFilter3_Vtbl, 0x513998cc_e929_4cdf_9fbd_bad1e0314866); windows_core::imp::interface_hierarchy!(IDTFilter3, windows_core::IUnknown, IDTFilter, IDTFilter2); impl IDTFilter3 { pub unsafe fn EvalRatObjOK(&self) -> windows_core::Result { @@ -2714,7 +2714,7 @@ pub struct IDTFilter3_Vtbl { 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, } -windows_core::imp::com_interface!(IDTFilterConfig, IDTFilterConfig_Vtbl, 0xc4c4c4d2_0049_4e2b_98fb_9537f6ce516d); +windows_core::imp::define_interface!(IDTFilterConfig, IDTFilterConfig_Vtbl, 0xc4c4c4d2_0049_4e2b_98fb_9537f6ce516d); windows_core::imp::interface_hierarchy!(IDTFilterConfig, windows_core::IUnknown); impl IDTFilterConfig { pub unsafe fn GetSecureChannelObject(&self) -> windows_core::Result { @@ -2728,7 +2728,7 @@ pub struct IDTFilterConfig_Vtbl { pub GetSecureChannelObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDTFilterEvents, IDTFilterEvents_Vtbl, 0xc4c4c4c2_0049_4e2b_98fb_9537f6ce516d); +windows_core::imp::define_interface!(IDTFilterEvents, IDTFilterEvents_Vtbl, 0xc4c4c4c2_0049_4e2b_98fb_9537f6ce516d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDTFilterEvents, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2738,7 +2738,7 @@ impl IDTFilterEvents {} pub struct IDTFilterEvents_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(IDTFilterLicenseRenewal, IDTFilterLicenseRenewal_Vtbl, 0x8a78b317_e405_4a43_994a_620d8f5ce25e); +windows_core::imp::define_interface!(IDTFilterLicenseRenewal, IDTFilterLicenseRenewal_Vtbl, 0x8a78b317_e405_4a43_994a_620d8f5ce25e); windows_core::imp::interface_hierarchy!(IDTFilterLicenseRenewal, windows_core::IUnknown); impl IDTFilterLicenseRenewal { pub unsafe fn GetLicenseRenewalData(&self, ppwszfilename: *mut windows_core::PWSTR, ppwszexpiredkid: *mut windows_core::PWSTR, ppwsztunerid: *mut windows_core::PWSTR) -> windows_core::Result<()> { @@ -2751,7 +2751,7 @@ pub struct IDTFilterLicenseRenewal_Vtbl { pub GetLicenseRenewalData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut windows_core::PWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDVBCLocator, IDVBCLocator_Vtbl, 0x6e42f36e_1dd2_43c4_9f78_69d25ae39034); +windows_core::imp::define_interface!(IDVBCLocator, IDVBCLocator_Vtbl, 0x6e42f36e_1dd2_43c4_9f78_69d25ae39034); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDVBCLocator, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] @@ -2817,7 +2817,7 @@ pub struct IDVBCLocator_Vtbl { pub base__: IDigitalLocator_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDVBSLocator, IDVBSLocator_Vtbl, 0x3d7c353c_0d04_45f1_a742_f97cc1188dc8); +windows_core::imp::define_interface!(IDVBSLocator, IDVBSLocator_Vtbl, 0x3d7c353c_0d04_45f1_a742_f97cc1188dc8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDVBSLocator, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] @@ -2931,7 +2931,7 @@ pub struct IDVBSLocator_Vtbl { pub SetElevation: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDVBSLocator2, IDVBSLocator2_Vtbl, 0x6044634a_1733_4f99_b982_5fb12afce4f0); +windows_core::imp::define_interface!(IDVBSLocator2, IDVBSLocator2_Vtbl, 0x6044634a_1733_4f99_b982_5fb12afce4f0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDVBSLocator2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBSLocator); #[cfg(feature = "Win32_System_Com")] @@ -3098,7 +3098,7 @@ pub struct IDVBSLocator2_Vtbl { pub SetSignalPilot: unsafe extern "system" fn(*mut core::ffi::c_void, super::Pilot) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDVBSTuningSpace, IDVBSTuningSpace_Vtbl, 0xcdf7be60_d954_42fd_a972_78971958e470); +windows_core::imp::define_interface!(IDVBSTuningSpace, IDVBSTuningSpace_Vtbl, 0xcdf7be60_d954_42fd_a972_78971958e470); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDVBSTuningSpace, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IDVBTuningSpace, IDVBTuningSpace2); #[cfg(feature = "Win32_System_Com")] @@ -3267,7 +3267,7 @@ pub struct IDVBSTuningSpace_Vtbl { pub SetSpectralInversion: unsafe extern "system" fn(*mut core::ffi::c_void, super::SpectralInversion) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDVBTLocator, IDVBTLocator_Vtbl, 0x8664da16_dda2_42ac_926a_c18f9127c302); +windows_core::imp::define_interface!(IDVBTLocator, IDVBTLocator_Vtbl, 0x8664da16_dda2_42ac_926a_c18f9127c302); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDVBTLocator, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator); #[cfg(feature = "Win32_System_Com")] @@ -3399,7 +3399,7 @@ pub struct IDVBTLocator_Vtbl { pub SetOtherFrequencyInUse: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDVBTLocator2, IDVBTLocator2_Vtbl, 0x448a2edf_ae95_4b43_a3cc_747843c453d4); +windows_core::imp::define_interface!(IDVBTLocator2, IDVBTLocator2_Vtbl, 0x448a2edf_ae95_4b43_a3cc_747843c453d4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDVBTLocator2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBTLocator); #[cfg(feature = "Win32_System_Com")] @@ -3526,7 +3526,7 @@ pub struct IDVBTLocator2_Vtbl { pub SetPhysicalLayerPipeId: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDVBTuneRequest, IDVBTuneRequest_Vtbl, 0x0d6f567e_a636_42bb_83ba_ce4c1704afa2); +windows_core::imp::define_interface!(IDVBTuneRequest, IDVBTuneRequest_Vtbl, 0x0d6f567e_a636_42bb_83ba_ce4c1704afa2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDVBTuneRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] @@ -3592,7 +3592,7 @@ pub struct IDVBTuneRequest_Vtbl { pub SetSID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDVBTuningSpace, IDVBTuningSpace_Vtbl, 0xada0b268_3b19_4e5b_acc4_49f852be13ba); +windows_core::imp::define_interface!(IDVBTuningSpace, IDVBTuningSpace_Vtbl, 0xada0b268_3b19_4e5b_acc4_49f852be13ba); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDVBTuningSpace, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace); #[cfg(feature = "Win32_System_Com")] @@ -3708,7 +3708,7 @@ pub struct IDVBTuningSpace_Vtbl { pub SetSystemType: unsafe extern "system" fn(*mut core::ffi::c_void, super::DVBSystemType) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDVBTuningSpace2, IDVBTuningSpace2_Vtbl, 0x843188b4_ce62_43db_966b_8145a094e040); +windows_core::imp::define_interface!(IDVBTuningSpace2, IDVBTuningSpace2_Vtbl, 0x843188b4_ce62_43db_966b_8145a094e040); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDVBTuningSpace2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IDVBTuningSpace); #[cfg(feature = "Win32_System_Com")] @@ -3830,7 +3830,7 @@ pub struct IDVBTuningSpace2_Vtbl { pub NetworkID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetNetworkID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVB_BAT, IDVB_BAT_Vtbl, 0xece9bb0c_43b6_4558_a0ec_1812c34cd6ca); +windows_core::imp::define_interface!(IDVB_BAT, IDVB_BAT_Vtbl, 0xece9bb0c_43b6_4558_a0ec_1812c34cd6ca); windows_core::imp::interface_hierarchy!(IDVB_BAT, windows_core::IUnknown); impl IDVB_BAT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -3921,7 +3921,7 @@ pub struct IDVB_BAT_Vtbl { pub RegisterForWhenCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVB_DIT, IDVB_DIT_Vtbl, 0x91bffdf9_9432_410f_86ef_1c228ed0ad70); +windows_core::imp::define_interface!(IDVB_DIT, IDVB_DIT_Vtbl, 0x91bffdf9_9432_410f_86ef_1c228ed0ad70); windows_core::imp::interface_hierarchy!(IDVB_DIT, windows_core::IUnknown); impl IDVB_DIT { pub unsafe fn Initialize(&self, psectionlist: P0) -> windows_core::Result<()> @@ -3941,7 +3941,7 @@ pub struct IDVB_DIT_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTransitionFlag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVB_EIT, IDVB_EIT_Vtbl, 0x442db029_02cb_4495_8b92_1c13375bce99); +windows_core::imp::define_interface!(IDVB_EIT, IDVB_EIT_Vtbl, 0x442db029_02cb_4495_8b92_1c13375bce99); windows_core::imp::interface_hierarchy!(IDVB_EIT, windows_core::IUnknown); impl IDVB_EIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -4059,7 +4059,7 @@ pub struct IDVB_EIT_Vtbl { pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVB_EIT2, IDVB_EIT2_Vtbl, 0x61a389e0_9b9e_4ba0_aeea_5ddd159820ea); +windows_core::imp::define_interface!(IDVB_EIT2, IDVB_EIT2_Vtbl, 0x61a389e0_9b9e_4ba0_aeea_5ddd159820ea); windows_core::imp::interface_hierarchy!(IDVB_EIT2, windows_core::IUnknown, IDVB_EIT); impl IDVB_EIT2 { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -4165,7 +4165,7 @@ pub struct IDVB_EIT2_Vtbl { pub GetSegmentInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u8) -> windows_core::HRESULT, pub GetRecordSection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVB_NIT, IDVB_NIT_Vtbl, 0xc64935f4_29e4_4e22_911a_63f7f55cb097); +windows_core::imp::define_interface!(IDVB_NIT, IDVB_NIT_Vtbl, 0xc64935f4_29e4_4e22_911a_63f7f55cb097); windows_core::imp::interface_hierarchy!(IDVB_NIT, windows_core::IUnknown); impl IDVB_NIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -4262,7 +4262,7 @@ pub struct IDVB_NIT_Vtbl { pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVB_RST, IDVB_RST_Vtbl, 0xf47dcd04_1e23_4fb7_9f96_b40eead10b2b); +windows_core::imp::define_interface!(IDVB_RST, IDVB_RST_Vtbl, 0xf47dcd04_1e23_4fb7_9f96_b40eead10b2b); windows_core::imp::interface_hierarchy!(IDVB_RST, windows_core::IUnknown); impl IDVB_RST { pub unsafe fn Initialize(&self, psectionlist: P0) -> windows_core::Result<()> @@ -4307,7 +4307,7 @@ pub struct IDVB_RST_Vtbl { pub GetRecordEventId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u16) -> windows_core::HRESULT, pub GetRecordRunningStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVB_SDT, IDVB_SDT_Vtbl, 0x02cad8d3_fe43_48e2_90bd_450ed9a8a5fd); +windows_core::imp::define_interface!(IDVB_SDT, IDVB_SDT_Vtbl, 0x02cad8d3_fe43_48e2_90bd_450ed9a8a5fd); windows_core::imp::interface_hierarchy!(IDVB_SDT, windows_core::IUnknown); impl IDVB_SDT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -4410,7 +4410,7 @@ pub struct IDVB_SDT_Vtbl { pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVB_SIT, IDVB_SIT_Vtbl, 0x68cdce53_8bea_45c2_9d9d_acf575a089b5); +windows_core::imp::define_interface!(IDVB_SIT, IDVB_SIT_Vtbl, 0x68cdce53_8bea_45c2_9d9d_acf575a089b5); windows_core::imp::interface_hierarchy!(IDVB_SIT, windows_core::IUnknown); impl IDVB_SIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -4497,7 +4497,7 @@ pub struct IDVB_SIT_Vtbl { pub RegisterForWhenCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVB_ST, IDVB_ST_Vtbl, 0x4d5b9f23_2a02_45de_bcda_5d5dbfbfbe62); +windows_core::imp::define_interface!(IDVB_ST, IDVB_ST_Vtbl, 0x4d5b9f23_2a02_45de_bcda_5d5dbfbfbe62); windows_core::imp::interface_hierarchy!(IDVB_ST, windows_core::IUnknown); impl IDVB_ST { pub unsafe fn Initialize(&self, psectionlist: P0) -> windows_core::Result<()> @@ -4522,7 +4522,7 @@ pub struct IDVB_ST_Vtbl { pub GetDataLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVB_TDT, IDVB_TDT_Vtbl, 0x0780dc7d_d55c_4aef_97e6_6b75906e2796); +windows_core::imp::define_interface!(IDVB_TDT, IDVB_TDT_Vtbl, 0x0780dc7d_d55c_4aef_97e6_6b75906e2796); windows_core::imp::interface_hierarchy!(IDVB_TDT, windows_core::IUnknown); impl IDVB_TDT { pub unsafe fn Initialize(&self, psectionlist: P0) -> windows_core::Result<()> @@ -4542,7 +4542,7 @@ pub struct IDVB_TDT_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetUTCTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MPEG_DATE_AND_TIME) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVB_TOT, IDVB_TOT_Vtbl, 0x83295d6a_faba_4ee1_9b15_8067696910ae); +windows_core::imp::define_interface!(IDVB_TOT, IDVB_TOT_Vtbl, 0x83295d6a_faba_4ee1_9b15_8067696910ae); windows_core::imp::interface_hierarchy!(IDVB_TOT, windows_core::IUnknown); impl IDVB_TOT { pub unsafe fn Initialize(&self, psectionlist: P0) -> windows_core::Result<()> @@ -4577,7 +4577,7 @@ pub struct IDVB_TOT_Vtbl { pub GetTableDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDigitalCableLocator, IDigitalCableLocator_Vtbl, 0x48f66a11_171a_419a_9525_beeecd51584c); +windows_core::imp::define_interface!(IDigitalCableLocator, IDigitalCableLocator_Vtbl, 0x48f66a11_171a_419a_9525_beeecd51584c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDigitalCableLocator, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IATSCLocator, IATSCLocator2); #[cfg(feature = "Win32_System_Com")] @@ -4664,7 +4664,7 @@ pub struct IDigitalCableLocator_Vtbl { pub base__: IATSCLocator2_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDigitalCableTuneRequest, IDigitalCableTuneRequest_Vtbl, 0xbad7753b_6b37_4810_ae57_3ce0c4a9e6cb); +windows_core::imp::define_interface!(IDigitalCableTuneRequest, IDigitalCableTuneRequest_Vtbl, 0xbad7753b_6b37_4810_ae57_3ce0c4a9e6cb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDigitalCableTuneRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest, IChannelTuneRequest, IATSCChannelTuneRequest); #[cfg(feature = "Win32_System_Com")] @@ -4735,7 +4735,7 @@ pub struct IDigitalCableTuneRequest_Vtbl { pub SetSourceID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDigitalCableTuningSpace, IDigitalCableTuningSpace_Vtbl, 0x013f9f9c_b449_4ec7_a6d2_9d4f2fc70ae5); +windows_core::imp::define_interface!(IDigitalCableTuningSpace, IDigitalCableTuningSpace_Vtbl, 0x013f9f9c_b449_4ec7_a6d2_9d4f2fc70ae5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDigitalCableTuningSpace, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuningSpace, IAnalogTVTuningSpace, IATSCTuningSpace); #[cfg(feature = "Win32_System_Com")] @@ -4934,7 +4934,7 @@ pub struct IDigitalCableTuningSpace_Vtbl { pub SetMaxSourceID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDigitalLocator, IDigitalLocator_Vtbl, 0x19b595d8_839a_47f0_96df_4f194f3c768c); +windows_core::imp::define_interface!(IDigitalLocator, IDigitalLocator_Vtbl, 0x19b595d8_839a_47f0_96df_4f194f3c768c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDigitalLocator, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator); #[cfg(feature = "Win32_System_Com")] @@ -4999,7 +4999,7 @@ impl IDigitalLocator { pub struct IDigitalLocator_Vtbl { pub base__: ILocator_Vtbl, } -windows_core::imp::com_interface!(IDvbCableDeliverySystemDescriptor, IDvbCableDeliverySystemDescriptor_Vtbl, 0xdfb98e36_9e1a_4862_9946_993a4e59017b); +windows_core::imp::define_interface!(IDvbCableDeliverySystemDescriptor, IDvbCableDeliverySystemDescriptor_Vtbl, 0xdfb98e36_9e1a_4862_9946_993a4e59017b); windows_core::imp::interface_hierarchy!(IDvbCableDeliverySystemDescriptor, windows_core::IUnknown); impl IDvbCableDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5042,7 +5042,7 @@ pub struct IDvbCableDeliverySystemDescriptor_Vtbl { pub GetSymbolRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetFECInner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbComponentDescriptor, IDvbComponentDescriptor_Vtbl, 0x91e405cf_80e7_457f_9096_1b9d1ce32141); +windows_core::imp::define_interface!(IDvbComponentDescriptor, IDvbComponentDescriptor_Vtbl, 0x91e405cf_80e7_457f_9096_1b9d1ce32141); windows_core::imp::interface_hierarchy!(IDvbComponentDescriptor, windows_core::IUnknown); impl IDvbComponentDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5084,7 +5084,7 @@ pub struct IDvbComponentDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IDvbContentDescriptor, IDvbContentDescriptor_Vtbl, 0x2e883881_a467_412a_9d63_6f2b6da05bf0); +windows_core::imp::define_interface!(IDvbContentDescriptor, IDvbContentDescriptor_Vtbl, 0x2e883881_a467_412a_9d63_6f2b6da05bf0); windows_core::imp::interface_hierarchy!(IDvbContentDescriptor, windows_core::IUnknown); impl IDvbContentDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5115,7 +5115,7 @@ pub struct IDvbContentDescriptor_Vtbl { pub GetRecordContentNibbles: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut u8) -> windows_core::HRESULT, pub GetRecordUserNibbles: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbContentIdentifierDescriptor, IDvbContentIdentifierDescriptor_Vtbl, 0x05e0c1ea_f661_4053_9fbf_d93b28359838); +windows_core::imp::define_interface!(IDvbContentIdentifierDescriptor, IDvbContentIdentifierDescriptor_Vtbl, 0x05e0c1ea_f661_4053_9fbf_d93b28359838); windows_core::imp::interface_hierarchy!(IDvbContentIdentifierDescriptor, windows_core::IUnknown); impl IDvbContentIdentifierDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5142,7 +5142,7 @@ pub struct IDvbContentIdentifierDescriptor_Vtbl { pub GetCountOfRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRecordCrid: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut u8, *mut u8, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbDataBroadcastDescriptor, IDvbDataBroadcastDescriptor_Vtbl, 0xd1ebc1d6_8b60_4c20_9caf_e59382e7c400); +windows_core::imp::define_interface!(IDvbDataBroadcastDescriptor, IDvbDataBroadcastDescriptor_Vtbl, 0xd1ebc1d6_8b60_4c20_9caf_e59382e7c400); windows_core::imp::interface_hierarchy!(IDvbDataBroadcastDescriptor, windows_core::IUnknown); impl IDvbDataBroadcastDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5193,7 +5193,7 @@ pub struct IDvbDataBroadcastDescriptor_Vtbl { pub GetTextLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbDataBroadcastIDDescriptor, IDvbDataBroadcastIDDescriptor_Vtbl, 0x5f26f518_65c8_4048_91f2_9290f59f7b90); +windows_core::imp::define_interface!(IDvbDataBroadcastIDDescriptor, IDvbDataBroadcastIDDescriptor_Vtbl, 0x5f26f518_65c8_4048_91f2_9290f59f7b90); windows_core::imp::interface_hierarchy!(IDvbDataBroadcastIDDescriptor, windows_core::IUnknown); impl IDvbDataBroadcastIDDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5220,7 +5220,7 @@ pub struct IDvbDataBroadcastIDDescriptor_Vtbl { pub GetDataBroadcastID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetIDSelectorBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbDefaultAuthorityDescriptor, IDvbDefaultAuthorityDescriptor_Vtbl, 0x05ec24d1_3a31_44e7_b408_67c60a352276); +windows_core::imp::define_interface!(IDvbDefaultAuthorityDescriptor, IDvbDefaultAuthorityDescriptor_Vtbl, 0x05ec24d1_3a31_44e7_b408_67c60a352276); windows_core::imp::interface_hierarchy!(IDvbDefaultAuthorityDescriptor, windows_core::IUnknown); impl IDvbDefaultAuthorityDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5242,7 +5242,7 @@ pub struct IDvbDefaultAuthorityDescriptor_Vtbl { pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetDefaultAuthority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbExtendedEventDescriptor, IDvbExtendedEventDescriptor_Vtbl, 0xc9b22eca_85f4_499f_b1db_efa93a91ee57); +windows_core::imp::define_interface!(IDvbExtendedEventDescriptor, IDvbExtendedEventDescriptor_Vtbl, 0xc9b22eca_85f4_499f_b1db_efa93a91ee57); windows_core::imp::interface_hierarchy!(IDvbExtendedEventDescriptor, windows_core::IUnknown); impl IDvbExtendedEventDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5307,7 +5307,7 @@ pub struct IDvbExtendedEventDescriptor_Vtbl { 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 GetRecordItemRawBytes: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut *mut u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbFrequencyListDescriptor, IDvbFrequencyListDescriptor_Vtbl, 0x1cadb613_e1dd_4512_afa8_bb7a007ef8b1); +windows_core::imp::define_interface!(IDvbFrequencyListDescriptor, IDvbFrequencyListDescriptor_Vtbl, 0x1cadb613_e1dd_4512_afa8_bb7a007ef8b1); windows_core::imp::interface_hierarchy!(IDvbFrequencyListDescriptor, windows_core::IUnknown); impl IDvbFrequencyListDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5340,7 +5340,7 @@ pub struct IDvbFrequencyListDescriptor_Vtbl { pub GetCountOfRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRecordCentreFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbHDSimulcastLogicalChannelDescriptor, IDvbHDSimulcastLogicalChannelDescriptor_Vtbl, 0x1ea8b738_a307_4680_9e26_d0a908c824f4); +windows_core::imp::define_interface!(IDvbHDSimulcastLogicalChannelDescriptor, IDvbHDSimulcastLogicalChannelDescriptor_Vtbl, 0x1ea8b738_a307_4680_9e26_d0a908c824f4); windows_core::imp::interface_hierarchy!(IDvbHDSimulcastLogicalChannelDescriptor, windows_core::IUnknown, IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor2); impl IDvbHDSimulcastLogicalChannelDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5372,7 +5372,7 @@ impl IDvbHDSimulcastLogicalChannelDescriptor { pub struct IDvbHDSimulcastLogicalChannelDescriptor_Vtbl { pub base__: IDvbLogicalChannelDescriptor2_Vtbl, } -windows_core::imp::com_interface!(IDvbLinkageDescriptor, IDvbLinkageDescriptor_Vtbl, 0x1cdf8b31_994a_46fc_acfd_6a6be8934dd5); +windows_core::imp::define_interface!(IDvbLinkageDescriptor, IDvbLinkageDescriptor_Vtbl, 0x1cdf8b31_994a_46fc_acfd_6a6be8934dd5); windows_core::imp::interface_hierarchy!(IDvbLinkageDescriptor, windows_core::IUnknown); impl IDvbLinkageDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5419,7 +5419,7 @@ pub struct IDvbLinkageDescriptor_Vtbl { pub GetPrivateDataLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetPrivateData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbLogicalChannel2Descriptor, IDvbLogicalChannel2Descriptor_Vtbl, 0xf69c3747_8a30_4980_998c_01fe7f0ba35a); +windows_core::imp::define_interface!(IDvbLogicalChannel2Descriptor, IDvbLogicalChannel2Descriptor_Vtbl, 0xf69c3747_8a30_4980_998c_01fe7f0ba35a); windows_core::imp::interface_hierarchy!(IDvbLogicalChannel2Descriptor, windows_core::IUnknown, IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor2); impl IDvbLogicalChannel2Descriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5490,7 +5490,7 @@ pub struct IDvbLogicalChannel2Descriptor_Vtbl { pub GetListRecordLogicalChannelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *mut u16) -> windows_core::HRESULT, pub GetListRecordLogicalChannelAndVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor_Vtbl, 0xcf1edaff_3ffd_4cf7_8201_35756acbf85f); +windows_core::imp::define_interface!(IDvbLogicalChannelDescriptor, IDvbLogicalChannelDescriptor_Vtbl, 0xcf1edaff_3ffd_4cf7_8201_35756acbf85f); windows_core::imp::interface_hierarchy!(IDvbLogicalChannelDescriptor, windows_core::IUnknown); impl IDvbLogicalChannelDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5523,7 +5523,7 @@ pub struct IDvbLogicalChannelDescriptor_Vtbl { pub GetRecordServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16) -> windows_core::HRESULT, pub GetRecordLogicalChannelNumber: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbLogicalChannelDescriptor2, IDvbLogicalChannelDescriptor2_Vtbl, 0x43aca974_4be8_4b98_bc17_9eafd788b1d7); +windows_core::imp::define_interface!(IDvbLogicalChannelDescriptor2, IDvbLogicalChannelDescriptor2_Vtbl, 0x43aca974_4be8_4b98_bc17_9eafd788b1d7); windows_core::imp::interface_hierarchy!(IDvbLogicalChannelDescriptor2, windows_core::IUnknown, IDvbLogicalChannelDescriptor); impl IDvbLogicalChannelDescriptor2 { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5556,7 +5556,7 @@ pub struct IDvbLogicalChannelDescriptor2_Vtbl { pub base__: IDvbLogicalChannelDescriptor_Vtbl, pub GetRecordLogicalChannelAndVisibility: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbMultilingualServiceNameDescriptor, IDvbMultilingualServiceNameDescriptor_Vtbl, 0x2d80433b_b32c_47ef_987f_e78ebb773e34); +windows_core::imp::define_interface!(IDvbMultilingualServiceNameDescriptor, IDvbMultilingualServiceNameDescriptor_Vtbl, 0x2d80433b_b32c_47ef_987f_e78ebb773e34); windows_core::imp::interface_hierarchy!(IDvbMultilingualServiceNameDescriptor, windows_core::IUnknown); impl IDvbMultilingualServiceNameDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5594,7 +5594,7 @@ pub struct IDvbMultilingualServiceNameDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IDvbNetworkNameDescriptor, IDvbNetworkNameDescriptor_Vtbl, 0x5b2a80cf_35b9_446c_b3e4_048b761dbc51); +windows_core::imp::define_interface!(IDvbNetworkNameDescriptor, IDvbNetworkNameDescriptor_Vtbl, 0x5b2a80cf_35b9_446c_b3e4_048b761dbc51); windows_core::imp::interface_hierarchy!(IDvbNetworkNameDescriptor, windows_core::IUnknown); impl IDvbNetworkNameDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5622,7 +5622,7 @@ pub struct IDvbNetworkNameDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IDvbParentalRatingDescriptor, IDvbParentalRatingDescriptor_Vtbl, 0x3ad9dde1_fb1b_4186_937f_22e6b5a72a10); +windows_core::imp::define_interface!(IDvbParentalRatingDescriptor, IDvbParentalRatingDescriptor_Vtbl, 0x3ad9dde1_fb1b_4186_937f_22e6b5a72a10); windows_core::imp::interface_hierarchy!(IDvbParentalRatingDescriptor, windows_core::IUnknown); impl IDvbParentalRatingDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5649,7 +5649,7 @@ pub struct IDvbParentalRatingDescriptor_Vtbl { pub GetCountOfRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRecordRating: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbPrivateDataSpecifierDescriptor, IDvbPrivateDataSpecifierDescriptor_Vtbl, 0x5660a019_e75a_4b82_9b4c_ed2256d165a2); +windows_core::imp::define_interface!(IDvbPrivateDataSpecifierDescriptor, IDvbPrivateDataSpecifierDescriptor_Vtbl, 0x5660a019_e75a_4b82_9b4c_ed2256d165a2); windows_core::imp::interface_hierarchy!(IDvbPrivateDataSpecifierDescriptor, windows_core::IUnknown); impl IDvbPrivateDataSpecifierDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5672,7 +5672,7 @@ pub struct IDvbPrivateDataSpecifierDescriptor_Vtbl { pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetPrivateDataSpecifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbSatelliteDeliverySystemDescriptor, IDvbSatelliteDeliverySystemDescriptor_Vtbl, 0x02f2225a_805b_4ec5_a9a6_f9b5913cd470); +windows_core::imp::define_interface!(IDvbSatelliteDeliverySystemDescriptor, IDvbSatelliteDeliverySystemDescriptor_Vtbl, 0x02f2225a_805b_4ec5_a9a6_f9b5913cd470); windows_core::imp::interface_hierarchy!(IDvbSatelliteDeliverySystemDescriptor, windows_core::IUnknown); impl IDvbSatelliteDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5725,7 +5725,7 @@ pub struct IDvbSatelliteDeliverySystemDescriptor_Vtbl { pub GetSymbolRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetFECInner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbServiceAttributeDescriptor, IDvbServiceAttributeDescriptor_Vtbl, 0x0f37bd92_d6a1_4854_b950_3a969d27f30e); +windows_core::imp::define_interface!(IDvbServiceAttributeDescriptor, IDvbServiceAttributeDescriptor_Vtbl, 0x0f37bd92_d6a1_4854_b950_3a969d27f30e); windows_core::imp::interface_hierarchy!(IDvbServiceAttributeDescriptor, windows_core::IUnknown); impl IDvbServiceAttributeDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5763,7 +5763,7 @@ pub struct IDvbServiceAttributeDescriptor_Vtbl { pub GetRecordNumericSelectionFlag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetRecordVisibleServiceFlag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbServiceDescriptor, IDvbServiceDescriptor_Vtbl, 0xf9c7fbcf_e2d6_464d_b32d_2ef526e49290); +windows_core::imp::define_interface!(IDvbServiceDescriptor, IDvbServiceDescriptor_Vtbl, 0xf9c7fbcf_e2d6_464d_b32d_2ef526e49290); windows_core::imp::interface_hierarchy!(IDvbServiceDescriptor, windows_core::IUnknown); impl IDvbServiceDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5811,7 +5811,7 @@ pub struct IDvbServiceDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IDvbServiceDescriptor2, IDvbServiceDescriptor2_Vtbl, 0xd6c76506_85ab_487c_9b2b_36416511e4a2); +windows_core::imp::define_interface!(IDvbServiceDescriptor2, IDvbServiceDescriptor2_Vtbl, 0xd6c76506_85ab_487c_9b2b_36416511e4a2); windows_core::imp::interface_hierarchy!(IDvbServiceDescriptor2, windows_core::IUnknown, IDvbServiceDescriptor); impl IDvbServiceDescriptor2 { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5861,7 +5861,7 @@ pub struct IDvbServiceDescriptor2_Vtbl { pub GetServiceProviderNameW2: 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, } -windows_core::imp::com_interface!(IDvbServiceListDescriptor, IDvbServiceListDescriptor_Vtbl, 0x05db0d8f_6008_491a_acd3_7090952707d0); +windows_core::imp::define_interface!(IDvbServiceListDescriptor, IDvbServiceListDescriptor_Vtbl, 0x05db0d8f_6008_491a_acd3_7090952707d0); windows_core::imp::interface_hierarchy!(IDvbServiceListDescriptor, windows_core::IUnknown); impl IDvbServiceListDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5894,7 +5894,7 @@ pub struct IDvbServiceListDescriptor_Vtbl { pub GetRecordServiceId: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16) -> windows_core::HRESULT, pub GetRecordServiceType: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbShortEventDescriptor, IDvbShortEventDescriptor_Vtbl, 0xb170be92_5b75_458e_9c6e_b0008231491a); +windows_core::imp::define_interface!(IDvbShortEventDescriptor, IDvbShortEventDescriptor_Vtbl, 0xb170be92_5b75_458e_9c6e_b0008231491a); windows_core::imp::interface_hierarchy!(IDvbShortEventDescriptor, windows_core::IUnknown); impl IDvbShortEventDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -5926,7 +5926,7 @@ pub struct IDvbShortEventDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IDvbSiParser, IDvbSiParser_Vtbl, 0xb758a7bd_14dc_449d_b828_35909acb3b1e); +windows_core::imp::define_interface!(IDvbSiParser, IDvbSiParser_Vtbl, 0xb758a7bd_14dc_449d_b828_35909acb3b1e); windows_core::imp::interface_hierarchy!(IDvbSiParser, windows_core::IUnknown); impl IDvbSiParser { pub unsafe fn Initialize(&self, punkmpeg2data: P0) -> windows_core::Result<()> @@ -6011,7 +6011,7 @@ pub struct IDvbSiParser_Vtbl { pub GetDIT: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSIT: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbSiParser2, IDvbSiParser2_Vtbl, 0x0ac5525f_f816_42f4_93ba_4c0f32f46e54); +windows_core::imp::define_interface!(IDvbSiParser2, IDvbSiParser2_Vtbl, 0x0ac5525f_f816_42f4_93ba_4c0f32f46e54); windows_core::imp::interface_hierarchy!(IDvbSiParser2, windows_core::IUnknown, IDvbSiParser); impl IDvbSiParser2 { pub unsafe fn Initialize(&self, punkmpeg2data: P0) -> windows_core::Result<()> @@ -6086,7 +6086,7 @@ pub struct IDvbSiParser2_Vtbl { pub base__: IDvbSiParser_Vtbl, pub GetEIT2: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *const u16, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbSubtitlingDescriptor, IDvbSubtitlingDescriptor_Vtbl, 0x9b25fe1d_fa23_4e50_9784_6df8b26f8a49); +windows_core::imp::define_interface!(IDvbSubtitlingDescriptor, IDvbSubtitlingDescriptor_Vtbl, 0x9b25fe1d_fa23_4e50_9784_6df8b26f8a49); windows_core::imp::interface_hierarchy!(IDvbSubtitlingDescriptor, windows_core::IUnknown); impl IDvbSubtitlingDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -6129,7 +6129,7 @@ pub struct IDvbSubtitlingDescriptor_Vtbl { pub GetRecordCompositionPageID: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16) -> windows_core::HRESULT, pub GetRecordAncillaryPageID: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbTeletextDescriptor, IDvbTeletextDescriptor_Vtbl, 0x9cd29d47_69c6_4f92_98a9_210af1b7303a); +windows_core::imp::define_interface!(IDvbTeletextDescriptor, IDvbTeletextDescriptor_Vtbl, 0x9cd29d47_69c6_4f92_98a9_210af1b7303a); windows_core::imp::interface_hierarchy!(IDvbTeletextDescriptor, windows_core::IUnknown); impl IDvbTeletextDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -6172,7 +6172,7 @@ pub struct IDvbTeletextDescriptor_Vtbl { pub GetRecordMagazineNumber: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, pub GetRecordPageNumber: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbTerrestrial2DeliverySystemDescriptor, IDvbTerrestrial2DeliverySystemDescriptor_Vtbl, 0x20ee9be9_cd57_49ab_8f6e_1d07aeb8e482); +windows_core::imp::define_interface!(IDvbTerrestrial2DeliverySystemDescriptor, IDvbTerrestrial2DeliverySystemDescriptor_Vtbl, 0x20ee9be9_cd57_49ab_8f6e_1d07aeb8e482); windows_core::imp::interface_hierarchy!(IDvbTerrestrial2DeliverySystemDescriptor, windows_core::IUnknown); impl IDvbTerrestrial2DeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -6245,7 +6245,7 @@ pub struct IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { pub GetOtherFrequencyFlag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetTFSFlag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvbTerrestrialDeliverySystemDescriptor, IDvbTerrestrialDeliverySystemDescriptor_Vtbl, 0xed7e1b91_d12e_420c_b41d_a49d84fe1823); +windows_core::imp::define_interface!(IDvbTerrestrialDeliverySystemDescriptor, IDvbTerrestrialDeliverySystemDescriptor_Vtbl, 0xed7e1b91_d12e_420c_b41d_a49d84fe1823); windows_core::imp::interface_hierarchy!(IDvbTerrestrialDeliverySystemDescriptor, windows_core::IUnknown); impl IDvbTerrestrialDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -6308,7 +6308,7 @@ pub struct IDvbTerrestrialDeliverySystemDescriptor_Vtbl { pub GetTransmissionMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetOtherFrequencyFlag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESCloseMmiEvent, IESCloseMmiEvent_Vtbl, 0x6b80e96f_55e2_45aa_b754_0c23c8e7d5c1); +windows_core::imp::define_interface!(IESCloseMmiEvent, IESCloseMmiEvent_Vtbl, 0x6b80e96f_55e2_45aa_b754_0c23c8e7d5c1); windows_core::imp::interface_hierarchy!(IESCloseMmiEvent, windows_core::IUnknown, super::IESEvent); impl IESCloseMmiEvent { pub unsafe fn GetEventId(&self) -> windows_core::Result { @@ -6341,7 +6341,7 @@ pub struct IESCloseMmiEvent_Vtbl { pub base__: super::IESEvent_Vtbl, pub GetDialogNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESEventFactory, IESEventFactory_Vtbl, 0x506a09b8_7f86_4e04_ac05_3303bfe8fc49); +windows_core::imp::define_interface!(IESEventFactory, IESEventFactory_Vtbl, 0x506a09b8_7f86_4e04_ac05_3303bfe8fc49); windows_core::imp::interface_hierarchy!(IESEventFactory, windows_core::IUnknown); impl IESEventFactory { pub unsafe fn CreateESEvent(&self, pserviceprovider: P0, dweventid: u32, guideventtype: windows_core::GUID, peventdata: &[u8], bstrbaseurl: P1, pinitcontext: P2) -> windows_core::Result @@ -6359,7 +6359,7 @@ 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, } -windows_core::imp::com_interface!(IESEventService, IESEventService_Vtbl, 0xed89a619_4c06_4b2f_99eb_c7669b13047c); +windows_core::imp::define_interface!(IESEventService, IESEventService_Vtbl, 0xed89a619_4c06_4b2f_99eb_c7669b13047c); windows_core::imp::interface_hierarchy!(IESEventService, windows_core::IUnknown); impl IESEventService { pub unsafe fn FireESEvent(&self, pesevent: P0) -> windows_core::Result<()> @@ -6374,7 +6374,7 @@ pub struct IESEventService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub FireESEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESEventServiceConfiguration, IESEventServiceConfiguration_Vtbl, 0x33b9daae_9309_491d_a051_bcad2a70cd66); +windows_core::imp::define_interface!(IESEventServiceConfiguration, IESEventServiceConfiguration_Vtbl, 0x33b9daae_9309_491d_a051_bcad2a70cd66); windows_core::imp::interface_hierarchy!(IESEventServiceConfiguration, windows_core::IUnknown); impl IESEventServiceConfiguration { pub unsafe fn SetParent(&self, peventservice: P0) -> windows_core::Result<()> @@ -6418,7 +6418,7 @@ pub struct IESEventServiceConfiguration_Vtbl { pub SetGraph: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveGraph: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESFileExpiryDateEvent, IESFileExpiryDateEvent_Vtbl, 0xba9edcb6_4d36_4cfe_8c56_87a6b0ca48e1); +windows_core::imp::define_interface!(IESFileExpiryDateEvent, IESFileExpiryDateEvent_Vtbl, 0xba9edcb6_4d36_4cfe_8c56_87a6b0ca48e1); windows_core::imp::interface_hierarchy!(IESFileExpiryDateEvent, windows_core::IUnknown, super::IESEvent); impl IESFileExpiryDateEvent { pub unsafe fn GetEventId(&self) -> windows_core::Result { @@ -6476,7 +6476,7 @@ pub struct IESFileExpiryDateEvent_Vtbl { pub IsEntitlementTokenPresent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub DoesExpireAfterFirstUse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESIsdbCasResponseEvent, IESIsdbCasResponseEvent_Vtbl, 0x2017cb03_dc0f_4c24_83ca_36307b2cd19f); +windows_core::imp::define_interface!(IESIsdbCasResponseEvent, IESIsdbCasResponseEvent_Vtbl, 0x2017cb03_dc0f_4c24_83ca_36307b2cd19f); windows_core::imp::interface_hierarchy!(IESIsdbCasResponseEvent, windows_core::IUnknown, super::IESEvent); impl IESIsdbCasResponseEvent { pub unsafe fn GetEventId(&self) -> windows_core::Result { @@ -6528,7 +6528,7 @@ pub struct IESIsdbCasResponseEvent_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetResponseData: usize, } -windows_core::imp::com_interface!(IESLicenseRenewalResultEvent, IESLicenseRenewalResultEvent_Vtbl, 0xd5a48ef5_a81b_4df0_acaa_5e35e7ea45d4); +windows_core::imp::define_interface!(IESLicenseRenewalResultEvent, IESLicenseRenewalResultEvent_Vtbl, 0xd5a48ef5_a81b_4df0_acaa_5e35e7ea45d4); windows_core::imp::interface_hierarchy!(IESLicenseRenewalResultEvent, windows_core::IUnknown, super::IESEvent); impl IESLicenseRenewalResultEvent { pub unsafe fn GetEventId(&self) -> windows_core::Result { @@ -6615,7 +6615,7 @@ pub struct IESLicenseRenewalResultEvent_Vtbl { GetEntitlementToken: usize, pub GetExpiryDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESOpenMmiEvent, IESOpenMmiEvent_Vtbl, 0xba4b6526_1a35_4635_8b56_3ec612746a8c); +windows_core::imp::define_interface!(IESOpenMmiEvent, IESOpenMmiEvent_Vtbl, 0xba4b6526_1a35_4635_8b56_3ec612746a8c); windows_core::imp::interface_hierarchy!(IESOpenMmiEvent, windows_core::IUnknown, super::IESEvent); impl IESOpenMmiEvent { pub unsafe fn GetEventId(&self) -> windows_core::Result { @@ -6667,7 +6667,7 @@ pub struct IESOpenMmiEvent_Vtbl { GetDialogData: usize, pub GetDialogStringData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESRequestTunerEvent, IESRequestTunerEvent_Vtbl, 0x54c7a5e8_c3bb_4f51_af14_e0e2c0e34c6d); +windows_core::imp::define_interface!(IESRequestTunerEvent, IESRequestTunerEvent_Vtbl, 0x54c7a5e8_c3bb_4f51_af14_e0e2c0e34c6d); windows_core::imp::interface_hierarchy!(IESRequestTunerEvent, windows_core::IUnknown, super::IESEvent); impl IESRequestTunerEvent { pub unsafe fn GetEventId(&self) -> windows_core::Result { @@ -6715,7 +6715,7 @@ pub struct IESRequestTunerEvent_Vtbl { pub GetConsequences: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetEstimatedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESValueUpdatedEvent, IESValueUpdatedEvent_Vtbl, 0x8a24c46e_bb63_4664_8602_5d9c718c146d); +windows_core::imp::define_interface!(IESValueUpdatedEvent, IESValueUpdatedEvent_Vtbl, 0x8a24c46e_bb63_4664_8602_5d9c718c146d); windows_core::imp::interface_hierarchy!(IESValueUpdatedEvent, windows_core::IUnknown, super::IESEvent); impl IESValueUpdatedEvent { pub unsafe fn GetEventId(&self) -> windows_core::Result { @@ -6752,7 +6752,7 @@ pub struct IESValueUpdatedEvent_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetValueNames: usize, } -windows_core::imp::com_interface!(IETFilter, IETFilter_Vtbl, 0xc4c4c4b1_0049_4e2b_98fb_9537f6ce516d); +windows_core::imp::define_interface!(IETFilter, IETFilter_Vtbl, 0xc4c4c4b1_0049_4e2b_98fb_9537f6ce516d); windows_core::imp::interface_hierarchy!(IETFilter, windows_core::IUnknown); impl IETFilter { pub unsafe fn EvalRatObjOK(&self) -> windows_core::Result { @@ -6785,7 +6785,7 @@ pub struct IETFilter_Vtbl { pub GetLastErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRecordingOn: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IETFilterConfig, IETFilterConfig_Vtbl, 0xc4c4c4d1_0049_4e2b_98fb_9537f6ce516d); +windows_core::imp::define_interface!(IETFilterConfig, IETFilterConfig_Vtbl, 0xc4c4c4d1_0049_4e2b_98fb_9537f6ce516d); windows_core::imp::interface_hierarchy!(IETFilterConfig, windows_core::IUnknown); impl IETFilterConfig { pub unsafe fn InitLicense(&self, licenseid: i32) -> windows_core::Result<()> { @@ -6803,7 +6803,7 @@ pub struct IETFilterConfig_Vtbl { pub GetSecureChannelObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IETFilterEvents, IETFilterEvents_Vtbl, 0xc4c4c4c1_0049_4e2b_98fb_9537f6ce516d); +windows_core::imp::define_interface!(IETFilterEvents, IETFilterEvents_Vtbl, 0xc4c4c4c1_0049_4e2b_98fb_9537f6ce516d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IETFilterEvents, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6813,7 +6813,7 @@ impl IETFilterEvents {} pub struct IETFilterEvents_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(IEnumComponentTypes, IEnumComponentTypes_Vtbl, 0x8a674b4a_1f63_11d3_b64c_00c04f79498e); +windows_core::imp::define_interface!(IEnumComponentTypes, IEnumComponentTypes_Vtbl, 0x8a674b4a_1f63_11d3_b64c_00c04f79498e); windows_core::imp::interface_hierarchy!(IEnumComponentTypes, windows_core::IUnknown); impl IEnumComponentTypes { #[cfg(feature = "Win32_System_Com")] @@ -6842,7 +6842,7 @@ pub struct IEnumComponentTypes_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumComponents, IEnumComponents_Vtbl, 0x2a6e2939_2595_11d3_b64c_00c04f79498e); +windows_core::imp::define_interface!(IEnumComponents, IEnumComponents_Vtbl, 0x2a6e2939_2595_11d3_b64c_00c04f79498e); windows_core::imp::interface_hierarchy!(IEnumComponents, windows_core::IUnknown); impl IEnumComponents { #[cfg(feature = "Win32_System_Com")] @@ -6871,7 +6871,7 @@ pub struct IEnumComponents_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumGuideDataProperties, IEnumGuideDataProperties_Vtbl, 0xae44423b_4571_475c_ad2c_f40a771d80ef); +windows_core::imp::define_interface!(IEnumGuideDataProperties, IEnumGuideDataProperties_Vtbl, 0xae44423b_4571_475c_ad2c_f40a771d80ef); windows_core::imp::interface_hierarchy!(IEnumGuideDataProperties, windows_core::IUnknown); impl IEnumGuideDataProperties { pub unsafe fn Next(&self, celt: u32, ppprop: *mut Option, pcelt: *mut u32) -> windows_core::Result<()> { @@ -6896,7 +6896,7 @@ pub struct IEnumGuideDataProperties_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumMSVidGraphSegment, IEnumMSVidGraphSegment_Vtbl, 0x3dd2903e_e0aa_11d2_b63a_00c04f79498e); +windows_core::imp::define_interface!(IEnumMSVidGraphSegment, IEnumMSVidGraphSegment_Vtbl, 0x3dd2903e_e0aa_11d2_b63a_00c04f79498e); windows_core::imp::interface_hierarchy!(IEnumMSVidGraphSegment, windows_core::IUnknown); impl IEnumMSVidGraphSegment { #[cfg(feature = "Win32_System_Com")] @@ -6925,7 +6925,7 @@ pub struct IEnumMSVidGraphSegment_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumStreamBufferRecordingAttrib, IEnumStreamBufferRecordingAttrib_Vtbl, 0xc18a9162_1e82_4142_8c73_5690fa62fe33); +windows_core::imp::define_interface!(IEnumStreamBufferRecordingAttrib, IEnumStreamBufferRecordingAttrib_Vtbl, 0xc18a9162_1e82_4142_8c73_5690fa62fe33); windows_core::imp::interface_hierarchy!(IEnumStreamBufferRecordingAttrib, windows_core::IUnknown); impl IEnumStreamBufferRecordingAttrib { pub unsafe fn Next(&self, pstreambufferattribute: &mut [STREAMBUFFER_ATTRIBUTE], pcreceived: *mut u32) -> windows_core::Result<()> { @@ -6950,7 +6950,7 @@ pub struct IEnumStreamBufferRecordingAttrib_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTuneRequests, IEnumTuneRequests_Vtbl, 0x1993299c_ced6_4788_87a3_420067dce0c7); +windows_core::imp::define_interface!(IEnumTuneRequests, IEnumTuneRequests_Vtbl, 0x1993299c_ced6_4788_87a3_420067dce0c7); windows_core::imp::interface_hierarchy!(IEnumTuneRequests, windows_core::IUnknown); impl IEnumTuneRequests { #[cfg(feature = "Win32_System_Com")] @@ -6979,7 +6979,7 @@ pub struct IEnumTuneRequests_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTuningSpaces, IEnumTuningSpaces_Vtbl, 0x8b8eb248_fc2b_11d2_9d8c_00c04f72d980); +windows_core::imp::define_interface!(IEnumTuningSpaces, IEnumTuningSpaces_Vtbl, 0x8b8eb248_fc2b_11d2_9d8c_00c04f72d980); windows_core::imp::interface_hierarchy!(IEnumTuningSpaces, windows_core::IUnknown); impl IEnumTuningSpaces { #[cfg(feature = "Win32_System_Com")] @@ -7009,7 +7009,7 @@ pub struct IEnumTuningSpaces_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IEvalRat, IEvalRat_Vtbl, 0xc5c5c5b1_3abc_11d6_b25b_00c04fa0c026); +windows_core::imp::define_interface!(IEvalRat, IEvalRat_Vtbl, 0xc5c5c5b1_3abc_11d6_b25b_00c04fa0c026); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IEvalRat, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7049,7 +7049,7 @@ pub struct IEvalRat_Vtbl { pub MostRestrictiveRating: unsafe extern "system" fn(*mut core::ffi::c_void, EnTvRat_System, EnTvRat_GenericLevel, i32, EnTvRat_System, EnTvRat_GenericLevel, i32, *mut EnTvRat_System, *mut EnTvRat_GenericLevel, *mut i32) -> windows_core::HRESULT, pub TestRating: unsafe extern "system" fn(*mut core::ffi::c_void, EnTvRat_System, EnTvRat_GenericLevel, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGenericDescriptor, IGenericDescriptor_Vtbl, 0x6a5918f8_a77a_4f61_aed0_5702bdcda3e6); +windows_core::imp::define_interface!(IGenericDescriptor, IGenericDescriptor_Vtbl, 0x6a5918f8_a77a_4f61_aed0_5702bdcda3e6); windows_core::imp::interface_hierarchy!(IGenericDescriptor, windows_core::IUnknown); impl IGenericDescriptor { pub unsafe fn Initialize(&self, pbdesc: *const u8, bcount: i32) -> windows_core::Result<()> { @@ -7076,7 +7076,7 @@ pub struct IGenericDescriptor_Vtbl { pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetBody: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGenericDescriptor2, IGenericDescriptor2_Vtbl, 0xbf02fb7e_9792_4e10_a68d_033a2cc246a5); +windows_core::imp::define_interface!(IGenericDescriptor2, IGenericDescriptor2_Vtbl, 0xbf02fb7e_9792_4e10_a68d_033a2cc246a5); windows_core::imp::interface_hierarchy!(IGenericDescriptor2, windows_core::IUnknown, IGenericDescriptor); impl IGenericDescriptor2 { pub unsafe fn Initialize(&self, pbdesc: *const u8, bcount: i32) -> windows_core::Result<()> { @@ -7108,7 +7108,7 @@ pub struct IGenericDescriptor2_Vtbl { pub Initialize2: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u16) -> windows_core::HRESULT, pub GetLength2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGpnvsCommonBase, IGpnvsCommonBase_Vtbl, 0x907e0b5c_e42d_4f04_91f0_26f401f36907); +windows_core::imp::define_interface!(IGpnvsCommonBase, IGpnvsCommonBase_Vtbl, 0x907e0b5c_e42d_4f04_91f0_26f401f36907); windows_core::imp::interface_hierarchy!(IGpnvsCommonBase, windows_core::IUnknown); impl IGpnvsCommonBase { pub unsafe fn GetValueUpdateName(&self) -> windows_core::Result { @@ -7121,7 +7121,7 @@ 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, } -windows_core::imp::com_interface!(IGuideData, IGuideData_Vtbl, 0x61571138_5b01_43cd_aeaf_60b784a0bf93); +windows_core::imp::define_interface!(IGuideData, IGuideData_Vtbl, 0x61571138_5b01_43cd_aeaf_60b784a0bf93); windows_core::imp::interface_hierarchy!(IGuideData, windows_core::IUnknown); impl IGuideData { pub unsafe fn GetServices(&self) -> windows_core::Result { @@ -7180,7 +7180,7 @@ pub struct IGuideData_Vtbl { 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, } -windows_core::imp::com_interface!(IGuideDataEvent, IGuideDataEvent_Vtbl, 0xefda0c80_f395_42c3_9b3c_56b37dec7bb7); +windows_core::imp::define_interface!(IGuideDataEvent, IGuideDataEvent_Vtbl, 0xefda0c80_f395_42c3_9b3c_56b37dec7bb7); windows_core::imp::interface_hierarchy!(IGuideDataEvent, windows_core::IUnknown); impl IGuideDataEvent { pub unsafe fn GuideDataAcquired(&self) -> windows_core::Result<()> { @@ -7234,7 +7234,7 @@ pub struct IGuideDataEvent_Vtbl { 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, } -windows_core::imp::com_interface!(IGuideDataLoader, IGuideDataLoader_Vtbl, 0x4764ff7c_fa95_4525_af4d_d32236db9e38); +windows_core::imp::define_interface!(IGuideDataLoader, IGuideDataLoader_Vtbl, 0x4764ff7c_fa95_4525_af4d_d32236db9e38); windows_core::imp::interface_hierarchy!(IGuideDataLoader, windows_core::IUnknown); impl IGuideDataLoader { pub unsafe fn Init(&self, pguidestore: P0) -> windows_core::Result<()> @@ -7253,7 +7253,7 @@ pub struct IGuideDataLoader_Vtbl { pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGuideDataProperty, IGuideDataProperty_Vtbl, 0x88ec5e58_bb73_41d6_99ce_66c524b8b591); +windows_core::imp::define_interface!(IGuideDataProperty, IGuideDataProperty_Vtbl, 0x88ec5e58_bb73_41d6_99ce_66c524b8b591); windows_core::imp::interface_hierarchy!(IGuideDataProperty, windows_core::IUnknown); impl IGuideDataProperty { pub unsafe fn Name(&self) -> windows_core::Result { @@ -7277,7 +7277,7 @@ pub struct IGuideDataProperty_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IISDBSLocator, IISDBSLocator_Vtbl, 0xc9897087_e29c_473f_9e4b_7072123dea14); +windows_core::imp::define_interface!(IISDBSLocator, IISDBSLocator_Vtbl, 0xc9897087_e29c_473f_9e4b_7072123dea14); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IISDBSLocator, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ILocator, IDigitalLocator, IDVBSLocator); #[cfg(feature = "Win32_System_Com")] @@ -7380,7 +7380,7 @@ impl IISDBSLocator { pub struct IISDBSLocator_Vtbl { pub base__: IDVBSLocator_Vtbl, } -windows_core::imp::com_interface!(IISDB_BIT, IISDB_BIT_Vtbl, 0x537cd71e_0e46_4173_9001_ba043f3e49e2); +windows_core::imp::define_interface!(IISDB_BIT, IISDB_BIT_Vtbl, 0x537cd71e_0e46_4173_9001_ba043f3e49e2); windows_core::imp::interface_hierarchy!(IISDB_BIT, windows_core::IUnknown); impl IISDB_BIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -7454,7 +7454,7 @@ pub struct IISDB_BIT_Vtbl { pub GetRecordDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IISDB_CDT, IISDB_CDT_Vtbl, 0x25fa92c2_8b80_4787_a841_3a0e8f17984b); +windows_core::imp::define_interface!(IISDB_CDT, IISDB_CDT_Vtbl, 0x25fa92c2_8b80_4787_a841_3a0e8f17984b); windows_core::imp::interface_hierarchy!(IISDB_CDT, windows_core::IUnknown); impl IISDB_CDT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1, bsectionnumber: u8) -> windows_core::Result<()> @@ -7524,7 +7524,7 @@ pub struct IISDB_CDT_Vtbl { pub GetDataModule: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IISDB_EMM, IISDB_EMM_Vtbl, 0x0edb556d_43ad_4938_9668_321b2ffecfd3); +windows_core::imp::define_interface!(IISDB_EMM, IISDB_EMM_Vtbl, 0x0edb556d_43ad_4938_9668_321b2ffecfd3); windows_core::imp::interface_hierarchy!(IISDB_EMM, windows_core::IUnknown); impl IISDB_EMM { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -7570,7 +7570,7 @@ pub struct IISDB_EMM_Vtbl { pub GetIndividualEmmMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u16, *mut *mut u8) -> windows_core::HRESULT, pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IISDB_LDT, IISDB_LDT_Vtbl, 0x141a546b_02ff_4fb9_a3a3_2f074b74a9a9); +windows_core::imp::define_interface!(IISDB_LDT, IISDB_LDT_Vtbl, 0x141a546b_02ff_4fb9_a3a3_2f074b74a9a9); windows_core::imp::interface_hierarchy!(IISDB_LDT, windows_core::IUnknown); impl IISDB_LDT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -7635,7 +7635,7 @@ pub struct IISDB_LDT_Vtbl { pub GetRecordDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IISDB_NBIT, IISDB_NBIT_Vtbl, 0x1b1863ef_08f1_40b7_a559_3b1eff8cafa6); +windows_core::imp::define_interface!(IISDB_NBIT, IISDB_NBIT_Vtbl, 0x1b1863ef_08f1_40b7_a559_3b1eff8cafa6); windows_core::imp::interface_hierarchy!(IISDB_NBIT, windows_core::IUnknown); impl IISDB_NBIT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -7720,7 +7720,7 @@ pub struct IISDB_NBIT_Vtbl { pub GetRecordDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IISDB_SDT, IISDB_SDT_Vtbl, 0x3f3dc9a2_bb32_4fb9_ae9e_d856848927a3); +windows_core::imp::define_interface!(IISDB_SDT, IISDB_SDT_Vtbl, 0x3f3dc9a2_bb32_4fb9_ae9e_d856848927a3); windows_core::imp::interface_hierarchy!(IISDB_SDT, windows_core::IUnknown, IDVB_SDT); impl IISDB_SDT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -7810,7 +7810,7 @@ pub struct IISDB_SDT_Vtbl { pub base__: IDVB_SDT_Vtbl, pub GetRecordEITUserDefinedFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IISDB_SDTT, IISDB_SDTT_Vtbl, 0xee60ef2d_813a_4dc7_bf92_ea13dac85313); +windows_core::imp::define_interface!(IISDB_SDTT, IISDB_SDTT_Vtbl, 0xee60ef2d_813a_4dc7_bf92_ea13dac85313); windows_core::imp::interface_hierarchy!(IISDB_SDTT, windows_core::IUnknown); impl IISDB_SDTT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -7920,7 +7920,7 @@ pub struct IISDB_SDTT_Vtbl { pub GetRecordDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVersionHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsdbAudioComponentDescriptor, IIsdbAudioComponentDescriptor_Vtbl, 0x679d2002_2425_4be4_a4c7_d6632a574f4d); +windows_core::imp::define_interface!(IIsdbAudioComponentDescriptor, IIsdbAudioComponentDescriptor_Vtbl, 0x679d2002_2425_4be4_a4c7_d6632a574f4d); windows_core::imp::interface_hierarchy!(IIsdbAudioComponentDescriptor, windows_core::IUnknown); impl IIsdbAudioComponentDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -7996,7 +7996,7 @@ pub struct IIsdbAudioComponentDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IIsdbCAContractInformationDescriptor, IIsdbCAContractInformationDescriptor_Vtbl, 0x08e18b25_a28f_4e92_821e_4fced5cc2291); +windows_core::imp::define_interface!(IIsdbCAContractInformationDescriptor, IIsdbCAContractInformationDescriptor_Vtbl, 0x08e18b25_a28f_4e92_821e_4fced5cc2291); windows_core::imp::interface_hierarchy!(IIsdbCAContractInformationDescriptor, windows_core::IUnknown); impl IIsdbCAContractInformationDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8049,7 +8049,7 @@ pub struct IIsdbCAContractInformationDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IIsdbCADescriptor, IIsdbCADescriptor_Vtbl, 0x0570aa47_52bc_42ae_8ca5_969f41e81aea); +windows_core::imp::define_interface!(IIsdbCADescriptor, IIsdbCADescriptor_Vtbl, 0x0570aa47_52bc_42ae_8ca5_969f41e81aea); windows_core::imp::interface_hierarchy!(IIsdbCADescriptor, windows_core::IUnknown); impl IIsdbCADescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8086,7 +8086,7 @@ pub struct IIsdbCADescriptor_Vtbl { pub GetCAPID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetPrivateDataBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsdbCAServiceDescriptor, IIsdbCAServiceDescriptor_Vtbl, 0x39cbeb97_ff0b_42a7_9ab9_7b9cfe70a77a); +windows_core::imp::define_interface!(IIsdbCAServiceDescriptor, IIsdbCAServiceDescriptor_Vtbl, 0x39cbeb97_ff0b_42a7_9ab9_7b9cfe70a77a); windows_core::imp::interface_hierarchy!(IIsdbCAServiceDescriptor, windows_core::IUnknown); impl IIsdbCAServiceDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8123,7 +8123,7 @@ pub struct IIsdbCAServiceDescriptor_Vtbl { pub GetMessageControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetServiceIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsdbComponentGroupDescriptor, IIsdbComponentGroupDescriptor_Vtbl, 0xa494f17f_c592_47d8_8943_64c9a34be7b9); +windows_core::imp::define_interface!(IIsdbComponentGroupDescriptor, IIsdbComponentGroupDescriptor_Vtbl, 0xa494f17f_c592_47d8_8943_64c9a34be7b9); windows_core::imp::interface_hierarchy!(IIsdbComponentGroupDescriptor, windows_core::IUnknown); impl IIsdbComponentGroupDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8186,7 +8186,7 @@ pub struct IIsdbComponentGroupDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IIsdbDataContentDescriptor, IIsdbDataContentDescriptor_Vtbl, 0xa428100a_e646_4bd6_aa14_6087bdc08cd5); +windows_core::imp::define_interface!(IIsdbDataContentDescriptor, IIsdbDataContentDescriptor_Vtbl, 0xa428100a_e646_4bd6_aa14_6087bdc08cd5); windows_core::imp::interface_hierarchy!(IIsdbDataContentDescriptor, windows_core::IUnknown); impl IIsdbDataContentDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8243,7 +8243,7 @@ pub struct IIsdbDataContentDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IIsdbDigitalCopyControlDescriptor, IIsdbDigitalCopyControlDescriptor_Vtbl, 0x1a28417e_266a_4bb8_a4bd_d782bcfb8161); +windows_core::imp::define_interface!(IIsdbDigitalCopyControlDescriptor, IIsdbDigitalCopyControlDescriptor_Vtbl, 0x1a28417e_266a_4bb8_a4bd_d782bcfb8161); windows_core::imp::interface_hierarchy!(IIsdbDigitalCopyControlDescriptor, windows_core::IUnknown); impl IIsdbDigitalCopyControlDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8274,7 +8274,7 @@ pub struct IIsdbDigitalCopyControlDescriptor_Vtbl { pub GetCountOfRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRecordCopyControl: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut u8, *mut u8, *mut u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsdbDownloadContentDescriptor, IIsdbDownloadContentDescriptor_Vtbl, 0x5298661e_cb88_4f5f_a1de_5f440c185b92); +windows_core::imp::define_interface!(IIsdbDownloadContentDescriptor, IIsdbDownloadContentDescriptor_Vtbl, 0x5298661e_cb88_4f5f_a1de_5f440c185b92); windows_core::imp::interface_hierarchy!(IIsdbDownloadContentDescriptor, windows_core::IUnknown); impl IIsdbDownloadContentDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8365,7 +8365,7 @@ pub struct IIsdbDownloadContentDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IIsdbEmergencyInformationDescriptor, IIsdbEmergencyInformationDescriptor_Vtbl, 0xba6fa681_b973_4da1_9207_ac3e7f0341eb); +windows_core::imp::define_interface!(IIsdbEmergencyInformationDescriptor, IIsdbEmergencyInformationDescriptor_Vtbl, 0xba6fa681_b973_4da1_9207_ac3e7f0341eb); windows_core::imp::interface_hierarchy!(IIsdbEmergencyInformationDescriptor, windows_core::IUnknown); impl IIsdbEmergencyInformationDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8407,7 +8407,7 @@ pub struct IIsdbEmergencyInformationDescriptor_Vtbl { pub GetSignalLevel: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, pub GetAreaCode: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut *mut u16, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsdbEventGroupDescriptor, IIsdbEventGroupDescriptor_Vtbl, 0x94b06780_2e2a_44dc_a966_cc56fdabc6c2); +windows_core::imp::define_interface!(IIsdbEventGroupDescriptor, IIsdbEventGroupDescriptor_Vtbl, 0x94b06780_2e2a_44dc_a966_cc56fdabc6c2); windows_core::imp::interface_hierarchy!(IIsdbEventGroupDescriptor, windows_core::IUnknown); impl IIsdbEventGroupDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8448,7 +8448,7 @@ pub struct IIsdbEventGroupDescriptor_Vtbl { pub GetCountOfRefRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetRefRecordEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16, *mut u16, *mut u16, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsdbHierarchicalTransmissionDescriptor, IIsdbHierarchicalTransmissionDescriptor_Vtbl, 0xb7b3ae90_ee0b_446d_8769_f7e2aa266aa6); +windows_core::imp::define_interface!(IIsdbHierarchicalTransmissionDescriptor, IIsdbHierarchicalTransmissionDescriptor_Vtbl, 0xb7b3ae90_ee0b_446d_8769_f7e2aa266aa6); windows_core::imp::interface_hierarchy!(IIsdbHierarchicalTransmissionDescriptor, windows_core::IUnknown); impl IIsdbHierarchicalTransmissionDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8486,7 +8486,7 @@ pub struct IIsdbHierarchicalTransmissionDescriptor_Vtbl { pub GetFutureUse2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, pub GetReferencePid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsdbLogoTransmissionDescriptor, IIsdbLogoTransmissionDescriptor_Vtbl, 0xe0103f49_4ae1_4f07_9098_756db1fa88cd); +windows_core::imp::define_interface!(IIsdbLogoTransmissionDescriptor, IIsdbLogoTransmissionDescriptor_Vtbl, 0xe0103f49_4ae1_4f07_9098_756db1fa88cd); windows_core::imp::interface_hierarchy!(IIsdbLogoTransmissionDescriptor, windows_core::IUnknown); impl IIsdbLogoTransmissionDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8529,7 +8529,7 @@ pub struct IIsdbLogoTransmissionDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IIsdbSIParameterDescriptor, IIsdbSIParameterDescriptor_Vtbl, 0xf837dc36_867c_426a_9111_f62093951a45); +windows_core::imp::define_interface!(IIsdbSIParameterDescriptor, IIsdbSIParameterDescriptor_Vtbl, 0xf837dc36_867c_426a_9111_f62093951a45); windows_core::imp::interface_hierarchy!(IIsdbSIParameterDescriptor, windows_core::IUnknown); impl IIsdbSIParameterDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8576,7 +8576,7 @@ pub struct IIsdbSIParameterDescriptor_Vtbl { pub GetTableDescriptionLength: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, pub GetTableDescriptionBytes: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsdbSeriesDescriptor, IIsdbSeriesDescriptor_Vtbl, 0x07ef6370_1660_4f26_87fc_614adab24b11); +windows_core::imp::define_interface!(IIsdbSeriesDescriptor, IIsdbSeriesDescriptor_Vtbl, 0x07ef6370_1660_4f26_87fc_614adab24b11); windows_core::imp::interface_hierarchy!(IIsdbSeriesDescriptor, windows_core::IUnknown); impl IIsdbSeriesDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8628,7 +8628,7 @@ pub struct IIsdbSeriesDescriptor_Vtbl { 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, } -windows_core::imp::com_interface!(IIsdbSiParser2, IIsdbSiParser2_Vtbl, 0x900e4bb7_18cd_453f_98be_3be6aa211772); +windows_core::imp::define_interface!(IIsdbSiParser2, IIsdbSiParser2_Vtbl, 0x900e4bb7_18cd_453f_98be_3be6aa211772); windows_core::imp::interface_hierarchy!(IIsdbSiParser2, windows_core::IUnknown, IDvbSiParser, IDvbSiParser2); impl IIsdbSiParser2 { pub unsafe fn Initialize(&self, punkmpeg2data: P0) -> windows_core::Result<()> @@ -8737,7 +8737,7 @@ pub struct IIsdbSiParser2_Vtbl { pub GetCDT: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *const u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetEMM: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsdbTSInformationDescriptor, IIsdbTSInformationDescriptor_Vtbl, 0xd7ad183e_38f5_4210_b55f_ec8d601bbd47); +windows_core::imp::define_interface!(IIsdbTSInformationDescriptor, IIsdbTSInformationDescriptor_Vtbl, 0xd7ad183e_38f5_4210_b55f_ec8d601bbd47); windows_core::imp::interface_hierarchy!(IIsdbTSInformationDescriptor, windows_core::IUnknown); impl IIsdbTSInformationDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8785,7 +8785,7 @@ pub struct IIsdbTSInformationDescriptor_Vtbl { pub GetRecordNumberOfServices: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, pub GetRecordServiceIdByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsdbTerrestrialDeliverySystemDescriptor, IIsdbTerrestrialDeliverySystemDescriptor_Vtbl, 0x39fae0a6_d151_44dd_a28a_765de5991670); +windows_core::imp::define_interface!(IIsdbTerrestrialDeliverySystemDescriptor, IIsdbTerrestrialDeliverySystemDescriptor_Vtbl, 0x39fae0a6_d151_44dd_a28a_765de5991670); windows_core::imp::interface_hierarchy!(IIsdbTerrestrialDeliverySystemDescriptor, windows_core::IUnknown); impl IIsdbTerrestrialDeliverySystemDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -8829,7 +8829,7 @@ pub struct IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { pub GetRecordFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ILanguageComponentType, ILanguageComponentType_Vtbl, 0xb874c8ba_0fa2_11d3_9d8e_00c04f72d980); +windows_core::imp::define_interface!(ILanguageComponentType, ILanguageComponentType_Vtbl, 0xb874c8ba_0fa2_11d3_9d8e_00c04f72d980); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ILanguageComponentType, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IComponentType); #[cfg(feature = "Win32_System_Com")] @@ -8922,7 +8922,7 @@ pub struct ILanguageComponentType_Vtbl { pub SetLangID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ILocator, ILocator_Vtbl, 0x286d7f89_760c_4f89_80c4_66841d2507aa); +windows_core::imp::define_interface!(ILocator, ILocator_Vtbl, 0x286d7f89_760c_4f89_80c4_66841d2507aa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ILocator, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -9006,7 +9006,7 @@ pub struct ILocator_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMPEG2Component, IMPEG2Component_Vtbl, 0x1493e353_1eb6_473c_802d_8e6b8ec9d2a9); +windows_core::imp::define_interface!(IMPEG2Component, IMPEG2Component_Vtbl, 0x1493e353_1eb6_473c_802d_8e6b8ec9d2a9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMPEG2Component, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IComponent); #[cfg(feature = "Win32_System_Com")] @@ -9086,7 +9086,7 @@ pub struct IMPEG2Component_Vtbl { pub SetProgramNumber: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMPEG2ComponentType, IMPEG2ComponentType_Vtbl, 0x2c073d84_b51c_48c9_aa9f_68971e1f6e38); +windows_core::imp::define_interface!(IMPEG2ComponentType, IMPEG2ComponentType_Vtbl, 0x2c073d84_b51c_48c9_aa9f_68971e1f6e38); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMPEG2ComponentType, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IComponentType, ILanguageComponentType); #[cfg(feature = "Win32_System_Com")] @@ -9186,7 +9186,7 @@ pub struct IMPEG2ComponentType_Vtbl { pub SetStreamType: unsafe extern "system" fn(*mut core::ffi::c_void, super::MPEG2StreamType) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMPEG2TuneRequest, IMPEG2TuneRequest_Vtbl, 0xeb7d987f_8a01_42ad_b8ae_574deee44d1a); +windows_core::imp::define_interface!(IMPEG2TuneRequest, IMPEG2TuneRequest_Vtbl, 0xeb7d987f_8a01_42ad_b8ae_574deee44d1a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMPEG2TuneRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITuneRequest); #[cfg(feature = "Win32_System_Com")] @@ -9243,7 +9243,7 @@ pub struct IMPEG2TuneRequest_Vtbl { pub SetProgNo: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMPEG2TuneRequestFactory, IMPEG2TuneRequestFactory_Vtbl, 0x14e11abd_ee37_4893_9ea1_6964de933e39); +windows_core::imp::define_interface!(IMPEG2TuneRequestFactory, IMPEG2TuneRequestFactory_Vtbl, 0x14e11abd_ee37_4893_9ea1_6964de933e39); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMPEG2TuneRequestFactory, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -9266,14 +9266,14 @@ pub struct IMPEG2TuneRequestFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateTuneRequest: usize, } -windows_core::imp::com_interface!(IMPEG2TuneRequestSupport, IMPEG2TuneRequestSupport_Vtbl, 0x1b9d5fc3_5bbc_4b6c_bb18_b9d10e3eeebf); +windows_core::imp::define_interface!(IMPEG2TuneRequestSupport, IMPEG2TuneRequestSupport_Vtbl, 0x1b9d5fc3_5bbc_4b6c_bb18_b9d10e3eeebf); windows_core::imp::interface_hierarchy!(IMPEG2TuneRequestSupport, windows_core::IUnknown); impl IMPEG2TuneRequestSupport {} #[repr(C)] pub struct IMPEG2TuneRequestSupport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IMPEG2_TIF_CONTROL, IMPEG2_TIF_CONTROL_Vtbl, 0xf9bac2f9_4149_4916_b2ef_faa202326862); +windows_core::imp::define_interface!(IMPEG2_TIF_CONTROL, IMPEG2_TIF_CONTROL_Vtbl, 0xf9bac2f9_4149_4916_b2ef_faa202326862); windows_core::imp::interface_hierarchy!(IMPEG2_TIF_CONTROL, windows_core::IUnknown); impl IMPEG2_TIF_CONTROL { pub unsafe fn RegisterTIF(&self, punktif: P0, ppvregistrationcontext: *mut u32) -> windows_core::Result<()> @@ -9310,7 +9310,7 @@ pub struct IMPEG2_TIF_CONTROL_Vtbl { pub GetPIDs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSEventBinder, IMSEventBinder_Vtbl, 0xc3a9f406_2222_436d_86d5_ba3229279efb); +windows_core::imp::define_interface!(IMSEventBinder, IMSEventBinder_Vtbl, 0xc3a9f406_2222_436d_86d5_ba3229279efb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSEventBinder, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -9340,7 +9340,7 @@ pub struct IMSEventBinder_Vtbl { pub Unbind: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidAnalogTuner, IMSVidAnalogTuner_Vtbl, 0x1c15d47e_911d_11d2_b632_00c04f79498e); +windows_core::imp::define_interface!(IMSVidAnalogTuner, IMSVidAnalogTuner_Vtbl, 0x1c15d47e_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidAnalogTuner, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice, IMSVidTuner); #[cfg(feature = "Win32_System_Com")] @@ -9470,7 +9470,7 @@ pub struct IMSVidAnalogTuner_Vtbl { pub ChannelAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidAnalogTuner2, IMSVidAnalogTuner2_Vtbl, 0x37647bf7_3dde_4cc8_a4dc_0d534d3d0037); +windows_core::imp::define_interface!(IMSVidAnalogTuner2, IMSVidAnalogTuner2_Vtbl, 0x37647bf7_3dde_4cc8_a4dc_0d534d3d0037); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidAnalogTuner2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice, IMSVidTuner, IMSVidAnalogTuner); #[cfg(feature = "Win32_System_Com")] @@ -9606,7 +9606,7 @@ pub struct IMSVidAnalogTuner2_Vtbl { pub NumAuxInputs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidAnalogTunerEvent, IMSVidAnalogTunerEvent_Vtbl, 0x1c15d486_911d_11d2_b632_00c04f79498e); +windows_core::imp::define_interface!(IMSVidAnalogTunerEvent, IMSVidAnalogTunerEvent_Vtbl, 0x1c15d486_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidAnalogTunerEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidTunerEvent); #[cfg(feature = "Win32_System_Com")] @@ -9625,7 +9625,7 @@ pub struct IMSVidAnalogTunerEvent_Vtbl { pub base__: IMSVidTunerEvent_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidAudioRenderer, IMSVidAudioRenderer_Vtbl, 0x37b0353f_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidAudioRenderer, IMSVidAudioRenderer_Vtbl, 0x37b0353f_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidAudioRenderer, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] @@ -9697,7 +9697,7 @@ pub struct IMSVidAudioRenderer_Vtbl { pub Balance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidAudioRendererDevices, IMSVidAudioRendererDevices_Vtbl, 0xc5702cd4_9b79_11d3_b654_00c04f79498e); +windows_core::imp::define_interface!(IMSVidAudioRendererDevices, IMSVidAudioRendererDevices_Vtbl, 0xc5702cd4_9b79_11d3_b654_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidAudioRendererDevices, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -9753,7 +9753,7 @@ pub struct IMSVidAudioRendererDevices_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidAudioRendererEvent, IMSVidAudioRendererEvent_Vtbl, 0x37b03541_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidAudioRendererEvent, IMSVidAudioRendererEvent_Vtbl, 0x37b03541_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidAudioRendererEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] @@ -9772,7 +9772,7 @@ pub struct IMSVidAudioRendererEvent_Vtbl { pub base__: IMSVidOutputDeviceEvent_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidAudioRendererEvent2, IMSVidAudioRendererEvent2_Vtbl, 0xe3f55729_353b_4c43_a028_50f79aa9a907); +windows_core::imp::define_interface!(IMSVidAudioRendererEvent2, IMSVidAudioRendererEvent2_Vtbl, 0xe3f55729_353b_4c43_a028_50f79aa9a907); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidAudioRendererEvent2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidAudioRendererEvent); #[cfg(feature = "Win32_System_Com")] @@ -9823,7 +9823,7 @@ pub struct IMSVidAudioRendererEvent2_Vtbl { pub AVDecCommonOutputFormat: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidClosedCaptioning, IMSVidClosedCaptioning_Vtbl, 0x99652ea1_c1f7_414f_bb7b_1c967de75983); +windows_core::imp::define_interface!(IMSVidClosedCaptioning, IMSVidClosedCaptioning_Vtbl, 0x99652ea1_c1f7_414f_bb7b_1c967de75983); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidClosedCaptioning, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] @@ -9889,7 +9889,7 @@ pub struct IMSVidClosedCaptioning_Vtbl { pub SetEnable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidClosedCaptioning2, IMSVidClosedCaptioning2_Vtbl, 0xe00cb864_a029_4310_9987_a873f5887d97); +windows_core::imp::define_interface!(IMSVidClosedCaptioning2, IMSVidClosedCaptioning2_Vtbl, 0xe00cb864_a029_4310_9987_a873f5887d97); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidClosedCaptioning2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature, IMSVidClosedCaptioning); #[cfg(feature = "Win32_System_Com")] @@ -9962,7 +9962,7 @@ pub struct IMSVidClosedCaptioning2_Vtbl { pub SetService: unsafe extern "system" fn(*mut core::ffi::c_void, MSVidCCService) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidClosedCaptioning3, IMSVidClosedCaptioning3_Vtbl, 0xc8638e8a_7625_4c51_9366_2f40a9831fc0); +windows_core::imp::define_interface!(IMSVidClosedCaptioning3, IMSVidClosedCaptioning3_Vtbl, 0xc8638e8a_7625_4c51_9366_2f40a9831fc0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidClosedCaptioning3, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature, IMSVidClosedCaptioning, IMSVidClosedCaptioning2); #[cfg(feature = "Win32_System_Com")] @@ -10038,7 +10038,7 @@ pub struct IMSVidClosedCaptioning3_Vtbl { pub TeleTextFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidCompositionSegment, IMSVidCompositionSegment_Vtbl, 0x1c15d483_911d_11d2_b632_00c04f79498e); +windows_core::imp::define_interface!(IMSVidCompositionSegment, IMSVidCompositionSegment_Vtbl, 0x1c15d483_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidCompositionSegment, windows_core::IUnknown, super::super::super::System::Com::IPersist, IMSVidGraphSegment); #[cfg(feature = "Win32_System_Com")] @@ -10141,7 +10141,7 @@ pub struct IMSVidCompositionSegment_Vtbl { Down: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidCtl, IMSVidCtl_Vtbl, 0xb0edf162_910a_11d2_b632_00c04f79498e); +windows_core::imp::define_interface!(IMSVidCtl, IMSVidCtl_Vtbl, 0xb0edf162_910a_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidCtl, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -10447,7 +10447,7 @@ pub struct IMSVidCtl_Vtbl { pub ViewNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidDataServices, IMSVidDataServices_Vtbl, 0x334125c1_77e5_11d3_b653_00c04f79498e); +windows_core::imp::define_interface!(IMSVidDataServices, IMSVidDataServices_Vtbl, 0x334125c1_77e5_11d3_b653_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidDataServices, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] @@ -10501,7 +10501,7 @@ pub struct IMSVidDataServices_Vtbl { pub base__: IMSVidFeature_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidDataServicesEvent, IMSVidDataServicesEvent_Vtbl, 0x334125c2_77e5_11d3_b653_00c04f79498e); +windows_core::imp::define_interface!(IMSVidDataServicesEvent, IMSVidDataServicesEvent_Vtbl, 0x334125c2_77e5_11d3_b653_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidDataServicesEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent); #[cfg(feature = "Win32_System_Com")] @@ -10520,7 +10520,7 @@ pub struct IMSVidDataServicesEvent_Vtbl { pub base__: IMSVidDeviceEvent_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidDevice, IMSVidDevice_Vtbl, 0x1c15d47c_911d_11d2_b632_00c04f79498e); +windows_core::imp::define_interface!(IMSVidDevice, IMSVidDevice_Vtbl, 0x1c15d47c_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidDevice, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -10585,7 +10585,7 @@ pub struct IMSVidDevice_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] IsEqualDevice: usize, } -windows_core::imp::com_interface!(IMSVidDevice2, IMSVidDevice2_Vtbl, 0x87bd2783_ebc0_478c_b4a0_e8e7f43ab78e); +windows_core::imp::define_interface!(IMSVidDevice2, IMSVidDevice2_Vtbl, 0x87bd2783_ebc0_478c_b4a0_e8e7f43ab78e); windows_core::imp::interface_hierarchy!(IMSVidDevice2, windows_core::IUnknown); impl IMSVidDevice2 { pub unsafe fn DevicePath(&self) -> windows_core::Result { @@ -10599,7 +10599,7 @@ pub struct IMSVidDevice2_Vtbl { pub DevicePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidDeviceEvent, IMSVidDeviceEvent_Vtbl, 0x1c15d480_911d_11d2_b632_00c04f79498e); +windows_core::imp::define_interface!(IMSVidDeviceEvent, IMSVidDeviceEvent_Vtbl, 0x1c15d480_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidDeviceEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -10622,7 +10622,7 @@ pub struct IMSVidDeviceEvent_Vtbl { StateChange: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidEVR, IMSVidEVR_Vtbl, 0x15e496ae_82a8_4cf9_a6b6_c561dc60398f); +windows_core::imp::define_interface!(IMSVidEVR, IMSVidEVR_Vtbl, 0x15e496ae_82a8_4cf9_a6b6_c561dc60398f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidEVR, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); #[cfg(feature = "Win32_System_Com")] @@ -10852,7 +10852,7 @@ pub struct IMSVidEVR_Vtbl { pub SuppressEffects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidEVREvent, IMSVidEVREvent_Vtbl, 0x349abb10_883c_4f22_8714_cecaeee45d62); +windows_core::imp::define_interface!(IMSVidEVREvent, IMSVidEVREvent_Vtbl, 0x349abb10_883c_4f22_8714_cecaeee45d62); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidEVREvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] @@ -10875,7 +10875,7 @@ pub struct IMSVidEVREvent_Vtbl { pub OnUserEvent: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidEncoder, IMSVidEncoder_Vtbl, 0xc0020fd4_bee7_43d9_a495_9f213117103d); +windows_core::imp::define_interface!(IMSVidEncoder, IMSVidEncoder_Vtbl, 0xc0020fd4_bee7_43d9_a495_9f213117103d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidEncoder, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] @@ -10939,7 +10939,7 @@ pub struct IMSVidEncoder_Vtbl { pub AudioEncoderInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidFeature, IMSVidFeature_Vtbl, 0x37b03547_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidFeature, IMSVidFeature_Vtbl, 0x37b03547_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidFeature, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice); #[cfg(feature = "Win32_System_Com")] @@ -10993,7 +10993,7 @@ pub struct IMSVidFeature_Vtbl { pub base__: IMSVidDevice_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidFeatureEvent, IMSVidFeatureEvent_Vtbl, 0x3dd2903c_e0aa_11d2_b63a_00c04f79498e); +windows_core::imp::define_interface!(IMSVidFeatureEvent, IMSVidFeatureEvent_Vtbl, 0x3dd2903c_e0aa_11d2_b63a_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidFeatureEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent); #[cfg(feature = "Win32_System_Com")] @@ -11012,7 +11012,7 @@ pub struct IMSVidFeatureEvent_Vtbl { pub base__: IMSVidDeviceEvent_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidFeatures, IMSVidFeatures_Vtbl, 0xc5702cd5_9b79_11d3_b654_00c04f79498e); +windows_core::imp::define_interface!(IMSVidFeatures, IMSVidFeatures_Vtbl, 0xc5702cd5_9b79_11d3_b654_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidFeatures, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -11068,7 +11068,7 @@ pub struct IMSVidFeatures_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidFilePlayback, IMSVidFilePlayback_Vtbl, 0x37b03539_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidFilePlayback, IMSVidFilePlayback_Vtbl, 0x37b03539_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidFilePlayback, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback); #[cfg(feature = "Win32_System_Com")] @@ -11195,7 +11195,7 @@ pub struct IMSVidFilePlayback_Vtbl { pub SetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidFilePlayback2, IMSVidFilePlayback2_Vtbl, 0x2f7e44af_6e52_4660_bc08_d8d542587d72); +windows_core::imp::define_interface!(IMSVidFilePlayback2, IMSVidFilePlayback2_Vtbl, 0x2f7e44af_6e52_4660_bc08_d8d542587d72); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidFilePlayback2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback); #[cfg(feature = "Win32_System_Com")] @@ -11331,7 +11331,7 @@ pub struct IMSVidFilePlayback2_Vtbl { pub Set__SourceFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidFilePlaybackEvent, IMSVidFilePlaybackEvent_Vtbl, 0x37b0353a_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidFilePlaybackEvent, IMSVidFilePlaybackEvent_Vtbl, 0x37b0353a_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidFilePlaybackEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent); #[cfg(feature = "Win32_System_Com")] @@ -11350,7 +11350,7 @@ pub struct IMSVidFilePlaybackEvent_Vtbl { pub base__: IMSVidPlaybackEvent_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidGenericSink, IMSVidGenericSink_Vtbl, 0x6c29b41d_455b_4c33_963a_0d28e5e555ea); +windows_core::imp::define_interface!(IMSVidGenericSink, IMSVidGenericSink_Vtbl, 0x6c29b41d_455b_4c33_963a_0d28e5e555ea); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidGenericSink, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] @@ -11420,7 +11420,7 @@ pub struct IMSVidGenericSink_Vtbl { pub SetSinkStreams: unsafe extern "system" fn(*mut core::ffi::c_void, MSVidSinkStreams) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidGenericSink2, IMSVidGenericSink2_Vtbl, 0x6b5a28f3_47f1_4092_b168_60cabec08f1c); +windows_core::imp::define_interface!(IMSVidGenericSink2, IMSVidGenericSink2_Vtbl, 0x6b5a28f3_47f1_4092_b168_60cabec08f1c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidGenericSink2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidGenericSink); #[cfg(feature = "Win32_System_Com")] @@ -11498,7 +11498,7 @@ pub struct IMSVidGenericSink2_Vtbl { pub ResetFilterList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidGraphSegment, IMSVidGraphSegment_Vtbl, 0x238dec54_adeb_4005_a349_f772b9afebc4); +windows_core::imp::define_interface!(IMSVidGraphSegment, IMSVidGraphSegment_Vtbl, 0x238dec54_adeb_4005_a349_f772b9afebc4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidGraphSegment, windows_core::IUnknown, super::super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] @@ -11585,7 +11585,7 @@ pub struct IMSVidGraphSegment_Vtbl { pub OnEventNotify: unsafe extern "system" fn(*mut core::ffi::c_void, i32, isize, isize) -> windows_core::HRESULT, pub Decompose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMSVidGraphSegmentContainer, IMSVidGraphSegmentContainer_Vtbl, 0x3dd2903d_e0aa_11d2_b63a_00c04f79498e); +windows_core::imp::define_interface!(IMSVidGraphSegmentContainer, IMSVidGraphSegmentContainer_Vtbl, 0x3dd2903d_e0aa_11d2_b63a_00c04f79498e); windows_core::imp::interface_hierarchy!(IMSVidGraphSegmentContainer, windows_core::IUnknown); impl IMSVidGraphSegmentContainer { pub unsafe fn Graph(&self) -> windows_core::Result { @@ -11664,7 +11664,7 @@ pub struct IMSVidGraphSegmentContainer_Vtbl { pub IsWindowless: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFocus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMSVidGraphSegmentUserInput, IMSVidGraphSegmentUserInput_Vtbl, 0x301c060e_20d9_4587_9b03_f82ed9a9943c); +windows_core::imp::define_interface!(IMSVidGraphSegmentUserInput, IMSVidGraphSegmentUserInput_Vtbl, 0x301c060e_20d9_4587_9b03_f82ed9a9943c); windows_core::imp::interface_hierarchy!(IMSVidGraphSegmentUserInput, windows_core::IUnknown); impl IMSVidGraphSegmentUserInput { pub unsafe fn Click(&self) -> windows_core::Result<()> { @@ -11705,7 +11705,7 @@ pub struct IMSVidGraphSegmentUserInput_Vtbl { pub MouseUp: unsafe extern "system" fn(*mut core::ffi::c_void, i16, i16, i32, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidInputDevice, IMSVidInputDevice_Vtbl, 0x37b0353d_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidInputDevice, IMSVidInputDevice_Vtbl, 0x37b0353d_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidInputDevice, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice); #[cfg(feature = "Win32_System_Com")] @@ -11768,7 +11768,7 @@ pub struct IMSVidInputDevice_Vtbl { pub View: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidInputDeviceEvent, IMSVidInputDeviceEvent_Vtbl, 0x37b0353e_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidInputDeviceEvent, IMSVidInputDeviceEvent_Vtbl, 0x37b0353e_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidInputDeviceEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -11779,7 +11779,7 @@ pub struct IMSVidInputDeviceEvent_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidInputDevices, IMSVidInputDevices_Vtbl, 0xc5702cd1_9b79_11d3_b654_00c04f79498e); +windows_core::imp::define_interface!(IMSVidInputDevices, IMSVidInputDevices_Vtbl, 0xc5702cd1_9b79_11d3_b654_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidInputDevices, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -11835,7 +11835,7 @@ pub struct IMSVidInputDevices_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidOutputDevice, IMSVidOutputDevice_Vtbl, 0x37b03546_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidOutputDevice, IMSVidOutputDevice_Vtbl, 0x37b03546_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidOutputDevice, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice); #[cfg(feature = "Win32_System_Com")] @@ -11889,7 +11889,7 @@ pub struct IMSVidOutputDevice_Vtbl { pub base__: IMSVidDevice_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidOutputDeviceEvent, IMSVidOutputDeviceEvent_Vtbl, 0x2e6a14e2_571c_11d3_b652_00c04f79498e); +windows_core::imp::define_interface!(IMSVidOutputDeviceEvent, IMSVidOutputDeviceEvent_Vtbl, 0x2e6a14e2_571c_11d3_b652_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidOutputDeviceEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent); #[cfg(feature = "Win32_System_Com")] @@ -11908,7 +11908,7 @@ pub struct IMSVidOutputDeviceEvent_Vtbl { pub base__: IMSVidDeviceEvent_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidOutputDevices, IMSVidOutputDevices_Vtbl, 0xc5702cd2_9b79_11d3_b654_00c04f79498e); +windows_core::imp::define_interface!(IMSVidOutputDevices, IMSVidOutputDevices_Vtbl, 0xc5702cd2_9b79_11d3_b654_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidOutputDevices, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -11964,7 +11964,7 @@ pub struct IMSVidOutputDevices_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidPlayback, IMSVidPlayback_Vtbl, 0x37b03538_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidPlayback, IMSVidPlayback_Vtbl, 0x37b03538_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidPlayback, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice); #[cfg(feature = "Win32_System_Com")] @@ -12093,7 +12093,7 @@ pub struct IMSVidPlayback_Vtbl { pub Length: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidPlaybackEvent, IMSVidPlaybackEvent_Vtbl, 0x37b0353b_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidPlaybackEvent, IMSVidPlaybackEvent_Vtbl, 0x37b0353b_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidPlaybackEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent); #[cfg(feature = "Win32_System_Com")] @@ -12116,7 +12116,7 @@ pub struct IMSVidPlaybackEvent_Vtbl { EndOfMedia: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidRect, IMSVidRect_Vtbl, 0x7f5000a6_a440_47ca_8acc_c0e75531a2c2); +windows_core::imp::define_interface!(IMSVidRect, IMSVidRect_Vtbl, 0x7f5000a6_a440_47ca_8acc_c0e75531a2c2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidRect, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12187,7 +12187,7 @@ pub struct IMSVidRect_Vtbl { SetRect: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferRecordingControl, IMSVidStreamBufferRecordingControl_Vtbl, 0x160621aa_bbbc_4326_a824_c395aebc6e74); +windows_core::imp::define_interface!(IMSVidStreamBufferRecordingControl, IMSVidStreamBufferRecordingControl_Vtbl, 0x160621aa_bbbc_4326_a824_c395aebc6e74); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferRecordingControl, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12237,7 +12237,7 @@ pub struct IMSVidStreamBufferRecordingControl_Vtbl { pub RecordingAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSink, IMSVidStreamBufferSink_Vtbl, 0x159dbb45_cd1b_4dab_83ea_5cb1f4f21d07); +windows_core::imp::define_interface!(IMSVidStreamBufferSink, IMSVidStreamBufferSink_Vtbl, 0x159dbb45_cd1b_4dab_83ea_5cb1f4f21d07); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSink, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] @@ -12336,7 +12336,7 @@ pub struct IMSVidStreamBufferSink_Vtbl { pub SBESink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSink2, IMSVidStreamBufferSink2_Vtbl, 0x2ca9fc63_c131_4e5a_955a_544a47c67146); +windows_core::imp::define_interface!(IMSVidStreamBufferSink2, IMSVidStreamBufferSink2_Vtbl, 0x2ca9fc63_c131_4e5a_955a_544a47c67146); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSink2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidStreamBufferSink); #[cfg(feature = "Win32_System_Com")] @@ -12427,7 +12427,7 @@ pub struct IMSVidStreamBufferSink2_Vtbl { pub UnlockProfile: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSink3, IMSVidStreamBufferSink3_Vtbl, 0x4f8721d7_7d59_4d8b_99f5_a77775586bd5); +windows_core::imp::define_interface!(IMSVidStreamBufferSink3, IMSVidStreamBufferSink3_Vtbl, 0x4f8721d7_7d59_4d8b_99f5_a77775586bd5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSink3, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidStreamBufferSink, IMSVidStreamBufferSink2); #[cfg(feature = "Win32_System_Com")] @@ -12610,7 +12610,7 @@ pub struct IMSVidStreamBufferSink3_Vtbl { pub LicenseErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSinkEvent, IMSVidStreamBufferSinkEvent_Vtbl, 0xf798a36b_b05b_4bbe_9703_eaea7d61cd51); +windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent, IMSVidStreamBufferSinkEvent_Vtbl, 0xf798a36b_b05b_4bbe_9703_eaea7d61cd51); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] @@ -12641,7 +12641,7 @@ pub struct IMSVidStreamBufferSinkEvent_Vtbl { pub WriteFailure: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSinkEvent2, IMSVidStreamBufferSinkEvent2_Vtbl, 0x3d7a5166_72d7_484b_a06f_286187b80ca1); +windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent2, IMSVidStreamBufferSinkEvent2_Vtbl, 0x3d7a5166_72d7_484b_a06f_286187b80ca1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent); #[cfg(feature = "Win32_System_Com")] @@ -12677,7 +12677,7 @@ pub struct IMSVidStreamBufferSinkEvent2_Vtbl { pub EncryptionOff: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSinkEvent3, IMSVidStreamBufferSinkEvent3_Vtbl, 0x735ad8d5_c259_48e9_81e7_d27953665b23); +windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent3, IMSVidStreamBufferSinkEvent3_Vtbl, 0x735ad8d5_c259_48e9_81e7_d27953665b23); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent3, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent, IMSVidStreamBufferSinkEvent2); #[cfg(feature = "Win32_System_Com")] @@ -12715,7 +12715,7 @@ pub struct IMSVidStreamBufferSinkEvent3_Vtbl { pub LicenseChange: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSinkEvent4, IMSVidStreamBufferSinkEvent4_Vtbl, 0x1b01dcb0_daf0_412c_a5d1_590c7f62e2b8); +windows_core::imp::define_interface!(IMSVidStreamBufferSinkEvent4, IMSVidStreamBufferSinkEvent4_Vtbl, 0x1b01dcb0_daf0_412c_a5d1_590c7f62e2b8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSinkEvent4, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent, IMSVidStreamBufferSinkEvent, IMSVidStreamBufferSinkEvent2, IMSVidStreamBufferSinkEvent3); #[cfg(feature = "Win32_System_Com")] @@ -12756,7 +12756,7 @@ pub struct IMSVidStreamBufferSinkEvent4_Vtbl { pub WriteFailureClear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSource, IMSVidStreamBufferSource_Vtbl, 0xeb0c8cf9_6950_4772_87b1_47d11cf3a02f); +windows_core::imp::define_interface!(IMSVidStreamBufferSource, IMSVidStreamBufferSource_Vtbl, 0xeb0c8cf9_6950_4772_87b1_47d11cf3a02f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSource, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback); #[cfg(feature = "Win32_System_Com")] @@ -12915,7 +12915,7 @@ pub struct IMSVidStreamBufferSource_Vtbl { pub SBESource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSource2, IMSVidStreamBufferSource2_Vtbl, 0xe4ba9059_b1ce_40d8_b9a0_d4ea4a9989d3); +windows_core::imp::define_interface!(IMSVidStreamBufferSource2, IMSVidStreamBufferSource2_Vtbl, 0xe4ba9059_b1ce_40d8_b9a0_d4ea4a9989d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSource2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidFilePlayback, IMSVidStreamBufferSource); #[cfg(feature = "Win32_System_Com")] @@ -13091,7 +13091,7 @@ pub struct IMSVidStreamBufferSource2_Vtbl { pub WSTCounter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSourceEvent, IMSVidStreamBufferSourceEvent_Vtbl, 0x50ce8a7d_9c28_4da8_9042_cdfa7116f979); +windows_core::imp::define_interface!(IMSVidStreamBufferSourceEvent, IMSVidStreamBufferSourceEvent_Vtbl, 0x50ce8a7d_9c28_4da8_9042_cdfa7116f979); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSourceEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent); #[cfg(feature = "Win32_System_Com")] @@ -13146,7 +13146,7 @@ pub struct IMSVidStreamBufferSourceEvent_Vtbl { pub StaleFileDeleted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSourceEvent2, IMSVidStreamBufferSourceEvent2_Vtbl, 0x7aef50ce_8e22_4ba8_bc06_a92a458b4ef2); +windows_core::imp::define_interface!(IMSVidStreamBufferSourceEvent2, IMSVidStreamBufferSourceEvent2_Vtbl, 0x7aef50ce_8e22_4ba8_bc06_a92a458b4ef2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSourceEvent2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent, IMSVidStreamBufferSourceEvent); #[cfg(feature = "Win32_System_Com")] @@ -13196,7 +13196,7 @@ pub struct IMSVidStreamBufferSourceEvent2_Vtbl { pub RateChange: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferSourceEvent3, IMSVidStreamBufferSourceEvent3_Vtbl, 0xceabd6ab_9b90_4570_adf1_3ce76e00a763); +windows_core::imp::define_interface!(IMSVidStreamBufferSourceEvent3, IMSVidStreamBufferSourceEvent3_Vtbl, 0xceabd6ab_9b90_4570_adf1_3ce76e00a763); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferSourceEvent3, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent, IMSVidStreamBufferSourceEvent, IMSVidStreamBufferSourceEvent2); #[cfg(feature = "Win32_System_Com")] @@ -13271,7 +13271,7 @@ pub struct IMSVidStreamBufferSourceEvent3_Vtbl { pub ContentPrimarilyAudio: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidStreamBufferV2SourceEvent, IMSVidStreamBufferV2SourceEvent_Vtbl, 0x49c771f9_41b2_4cf7_9f9a_a313a8f6027e); +windows_core::imp::define_interface!(IMSVidStreamBufferV2SourceEvent, IMSVidStreamBufferV2SourceEvent_Vtbl, 0x49c771f9_41b2_4cf7_9f9a_a313a8f6027e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidStreamBufferV2SourceEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent, IMSVidFilePlaybackEvent); #[cfg(feature = "Win32_System_Com")] @@ -13332,7 +13332,7 @@ pub struct IMSVidStreamBufferV2SourceEvent_Vtbl { pub ContentPrimarilyAudio: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidTuner, IMSVidTuner_Vtbl, 0x1c15d47d_911d_11d2_b632_00c04f79498e); +windows_core::imp::define_interface!(IMSVidTuner, IMSVidTuner_Vtbl, 0x1c15d47d_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidTuner, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidVideoInputDevice); #[cfg(feature = "Win32_System_Com")] @@ -13433,7 +13433,7 @@ pub struct IMSVidTuner_Vtbl { SetTuningSpace: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidTunerEvent, IMSVidTunerEvent_Vtbl, 0x1c15d485_911d_11d2_b632_00c04f79498e); +windows_core::imp::define_interface!(IMSVidTunerEvent, IMSVidTunerEvent_Vtbl, 0x1c15d485_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidTunerEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent); #[cfg(feature = "Win32_System_Com")] @@ -13456,7 +13456,7 @@ pub struct IMSVidTunerEvent_Vtbl { TuneChanged: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidVMR9, IMSVidVMR9_Vtbl, 0xd58b0015_ebef_44bb_bbdd_3f3699d76ea1); +windows_core::imp::define_interface!(IMSVidVMR9, IMSVidVMR9_Vtbl, 0xd58b0015_ebef_44bb_bbdd_3f3699d76ea1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidVMR9, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); #[cfg(feature = "Win32_System_Com")] @@ -13683,7 +13683,7 @@ pub struct IMSVidVMR9_Vtbl { pub Allocator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidVRGraphSegment, IMSVidVRGraphSegment_Vtbl, 0xdd47de3f_9874_4f7b_8b22_7cb2688461e7); +windows_core::imp::define_interface!(IMSVidVRGraphSegment, IMSVidVRGraphSegment_Vtbl, 0xdd47de3f_9874_4f7b_8b22_7cb2688461e7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidVRGraphSegment, windows_core::IUnknown, super::super::super::System::Com::IPersist, IMSVidGraphSegment); #[cfg(feature = "Win32_System_Com")] @@ -13867,7 +13867,7 @@ pub struct IMSVidVRGraphSegment_Vtbl { RePaint: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidVideoInputDevice, IMSVidVideoInputDevice_Vtbl, 0x1c15d47f_911d_11d2_b632_00c04f79498e); +windows_core::imp::define_interface!(IMSVidVideoInputDevice, IMSVidVideoInputDevice_Vtbl, 0x1c15d47f_911d_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidVideoInputDevice, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice); #[cfg(feature = "Win32_System_Com")] @@ -13928,7 +13928,7 @@ pub struct IMSVidVideoInputDevice_Vtbl { pub base__: IMSVidInputDevice_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidVideoRenderer, IMSVidVideoRenderer_Vtbl, 0x37b03540_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidVideoRenderer, IMSVidVideoRenderer_Vtbl, 0x37b03540_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidVideoRenderer, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice); #[cfg(feature = "Win32_System_Com")] @@ -14192,7 +14192,7 @@ pub struct IMSVidVideoRenderer_Vtbl { pub SetDecimateInput: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidVideoRenderer2, IMSVidVideoRenderer2_Vtbl, 0x6bdd5c1e_2810_4159_94bc_05511ae8549b); +windows_core::imp::define_interface!(IMSVidVideoRenderer2, IMSVidVideoRenderer2_Vtbl, 0x6bdd5c1e_2810_4159_94bc_05511ae8549b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidVideoRenderer2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidOutputDevice, IMSVidVideoRenderer); #[cfg(feature = "Win32_System_Com")] @@ -14431,7 +14431,7 @@ pub struct IMSVidVideoRenderer2_Vtbl { pub SuppressEffects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidVideoRendererDevices, IMSVidVideoRendererDevices_Vtbl, 0xc5702cd3_9b79_11d3_b654_00c04f79498e); +windows_core::imp::define_interface!(IMSVidVideoRendererDevices, IMSVidVideoRendererDevices_Vtbl, 0xc5702cd3_9b79_11d3_b654_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidVideoRendererDevices, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -14487,7 +14487,7 @@ pub struct IMSVidVideoRendererDevices_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidVideoRendererEvent, IMSVidVideoRendererEvent_Vtbl, 0x37b03545_a4c8_11d2_b634_00c04f79498e); +windows_core::imp::define_interface!(IMSVidVideoRendererEvent, IMSVidVideoRendererEvent_Vtbl, 0x37b03545_a4c8_11d2_b634_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidVideoRendererEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] @@ -14510,7 +14510,7 @@ pub struct IMSVidVideoRendererEvent_Vtbl { pub OverlayUnavailable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidVideoRendererEvent2, IMSVidVideoRendererEvent2_Vtbl, 0x7145ed66_4730_4fdb_8a53_fde7508d3e5e); +windows_core::imp::define_interface!(IMSVidVideoRendererEvent2, IMSVidVideoRendererEvent2_Vtbl, 0x7145ed66_4730_4fdb_8a53_fde7508d3e5e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidVideoRendererEvent2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidOutputDeviceEvent); #[cfg(feature = "Win32_System_Com")] @@ -14533,7 +14533,7 @@ pub struct IMSVidVideoRendererEvent2_Vtbl { pub OverlayUnavailable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidWebDVD, IMSVidWebDVD_Vtbl, 0xcf45f88b_ac56_4ee2_a73a_ed04e2885d3c); +windows_core::imp::define_interface!(IMSVidWebDVD, IMSVidWebDVD_Vtbl, 0xcf45f88b_ac56_4ee2_a73a_ed04e2885d3c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidWebDVD, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback); #[cfg(feature = "Win32_System_Com")] @@ -15133,7 +15133,7 @@ pub struct IMSVidWebDVD_Vtbl { SetDVDScreenInMouseCoordinates: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidWebDVD2, IMSVidWebDVD2_Vtbl, 0x7027212f_ee9a_4a7c_8b67_f023714cdaff); +windows_core::imp::define_interface!(IMSVidWebDVD2, IMSVidWebDVD2_Vtbl, 0x7027212f_ee9a_4a7c_8b67_f023714cdaff); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidWebDVD2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidInputDevice, IMSVidPlayback, IMSVidWebDVD); #[cfg(feature = "Win32_System_Com")] @@ -15634,7 +15634,7 @@ pub struct IMSVidWebDVD2_Vtbl { pub put_Bookmark: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidWebDVDAdm, IMSVidWebDVDAdm_Vtbl, 0xb8be681a_eb2c_47f0_b415_94d5452f0e05); +windows_core::imp::define_interface!(IMSVidWebDVDAdm, IMSVidWebDVDAdm_Vtbl, 0xb8be681a_eb2c_47f0_b415_94d5452f0e05); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidWebDVDAdm, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -15729,7 +15729,7 @@ pub struct IMSVidWebDVDAdm_Vtbl { pub SetBookmarkOnStop: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidWebDVDEvent, IMSVidWebDVDEvent_Vtbl, 0xb4f7a674_9b83_49cb_a357_c63b871be958); +windows_core::imp::define_interface!(IMSVidWebDVDEvent, IMSVidWebDVDEvent_Vtbl, 0xb4f7a674_9b83_49cb_a357_c63b871be958); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidWebDVDEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidInputDeviceEvent, IMSVidPlaybackEvent); #[cfg(feature = "Win32_System_Com")] @@ -15910,7 +15910,7 @@ pub struct IMSVidWebDVDEvent_Vtbl { pub ChangeVideoPresMode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidXDS, IMSVidXDS_Vtbl, 0x11ebc158_e712_4d1f_8bb3_01ed5274c4ce); +windows_core::imp::define_interface!(IMSVidXDS, IMSVidXDS_Vtbl, 0x11ebc158_e712_4d1f_8bb3_01ed5274c4ce); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidXDS, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDevice, IMSVidFeature); #[cfg(feature = "Win32_System_Com")] @@ -15969,7 +15969,7 @@ pub struct IMSVidXDS_Vtbl { pub ChannelChangeInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSVidXDSEvent, IMSVidXDSEvent_Vtbl, 0x6db2317d_3b23_41ec_ba4b_701f407eaf3a); +windows_core::imp::define_interface!(IMSVidXDSEvent, IMSVidXDSEvent_Vtbl, 0x6db2317d_3b23_41ec_ba4b_701f407eaf3a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSVidXDSEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IMSVidDeviceEvent, IMSVidFeatureEvent); #[cfg(feature = "Win32_System_Com")] @@ -15991,7 +15991,7 @@ pub struct IMSVidXDSEvent_Vtbl { pub base__: IMSVidFeatureEvent_Vtbl, pub RatingChange: unsafe extern "system" fn(*mut core::ffi::c_void, EnTvRat_System, EnTvRat_GenericLevel, BfEnTvRat_GenericAttributes, EnTvRat_System, EnTvRat_GenericLevel, BfEnTvRat_GenericAttributes) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMceBurnerControl, IMceBurnerControl_Vtbl, 0x5a86b91a_e71e_46c1_88a9_9bb338710552); +windows_core::imp::define_interface!(IMceBurnerControl, IMceBurnerControl_Vtbl, 0x5a86b91a_e71e_46c1_88a9_9bb338710552); windows_core::imp::interface_hierarchy!(IMceBurnerControl, windows_core::IUnknown); impl IMceBurnerControl { pub unsafe fn GetBurnerNoDecryption(&self) -> windows_core::Result<()> { @@ -16003,7 +16003,7 @@ pub struct IMceBurnerControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetBurnerNoDecryption: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMpeg2Data, IMpeg2Data_Vtbl, 0x9b396d40_f380_4e3c_a514_1a82bf6ebfe6); +windows_core::imp::define_interface!(IMpeg2Data, IMpeg2Data_Vtbl, 0x9b396d40_f380_4e3c_a514_1a82bf6ebfe6); 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 { @@ -16029,7 +16029,7 @@ pub struct IMpeg2Data_Vtbl { pub GetTable: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u8, *const MPEG2_FILTER, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetStreamOfSections: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u8, *const MPEG2_FILTER, super::super::super::Foundation::HANDLE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMpeg2Stream, IMpeg2Stream_Vtbl, 0x400cc286_32a0_4ce4_9041_39571125a635); +windows_core::imp::define_interface!(IMpeg2Stream, IMpeg2Stream_Vtbl, 0x400cc286_32a0_4ce4_9041_39571125a635); windows_core::imp::interface_hierarchy!(IMpeg2Stream, windows_core::IUnknown); impl IMpeg2Stream { pub unsafe fn Initialize(&self, requesttype: MPEG_REQUEST_TYPE, pmpeg2data: P0, pcontext: *const MPEG_CONTEXT, pid: u16, tid: u8, pfilter: *const MPEG2_FILTER, hdatareadyevent: P1) -> windows_core::Result<()> @@ -16049,7 +16049,7 @@ pub struct IMpeg2Stream_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, MPEG_REQUEST_TYPE, *mut core::ffi::c_void, *const MPEG_CONTEXT, u16, u8, *const MPEG2_FILTER, super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub SupplyDataBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *const MPEG_STREAM_BUFFER) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMpeg2TableFilter, IMpeg2TableFilter_Vtbl, 0xbdcdd913_9ecd_4fb2_81ae_adf747ea75a5); +windows_core::imp::define_interface!(IMpeg2TableFilter, IMpeg2TableFilter_Vtbl, 0xbdcdd913_9ecd_4fb2_81ae_adf747ea75a5); windows_core::imp::interface_hierarchy!(IMpeg2TableFilter, windows_core::IUnknown); impl IMpeg2TableFilter { pub unsafe fn AddPID(&self, p: u16) -> windows_core::Result<()> { @@ -16081,7 +16081,7 @@ pub struct IMpeg2TableFilter_Vtbl { pub RemoveTable: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u8) -> windows_core::HRESULT, pub RemoveExtension: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u8, u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPAT, IPAT_Vtbl, 0x6623b511_4b5f_43c3_9a01_e8ff84188060); +windows_core::imp::define_interface!(IPAT, IPAT_Vtbl, 0x6623b511_4b5f_43c3_9a01_e8ff84188060); windows_core::imp::interface_hierarchy!(IPAT, windows_core::IUnknown); impl IPAT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -16150,7 +16150,7 @@ pub struct IPAT_Vtbl { pub RegisterForWhenCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPBDAAttributesDescriptor, IPBDAAttributesDescriptor_Vtbl, 0x313b3620_3263_45a6_9533_968befbeac03); +windows_core::imp::define_interface!(IPBDAAttributesDescriptor, IPBDAAttributesDescriptor_Vtbl, 0x313b3620_3263_45a6_9533_968befbeac03); windows_core::imp::interface_hierarchy!(IPBDAAttributesDescriptor, windows_core::IUnknown); impl IPBDAAttributesDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -16172,7 +16172,7 @@ pub struct IPBDAAttributesDescriptor_Vtbl { pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetAttributePayload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPBDAEntitlementDescriptor, IPBDAEntitlementDescriptor_Vtbl, 0x22632497_0de3_4587_aadc_d8d99017e760); +windows_core::imp::define_interface!(IPBDAEntitlementDescriptor, IPBDAEntitlementDescriptor_Vtbl, 0x22632497_0de3_4587_aadc_d8d99017e760); windows_core::imp::interface_hierarchy!(IPBDAEntitlementDescriptor, windows_core::IUnknown); impl IPBDAEntitlementDescriptor { pub unsafe fn GetTag(&self) -> windows_core::Result { @@ -16194,7 +16194,7 @@ pub struct IPBDAEntitlementDescriptor_Vtbl { pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub GetToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPBDASiParser, IPBDASiParser_Vtbl, 0x9de49a74_aba2_4a18_93e1_21f17f95c3c3); +windows_core::imp::define_interface!(IPBDASiParser, IPBDASiParser_Vtbl, 0x9de49a74_aba2_4a18_93e1_21f17f95c3c3); windows_core::imp::interface_hierarchy!(IPBDASiParser, windows_core::IUnknown); impl IPBDASiParser { pub unsafe fn Initialize(&self, punk: P0) -> windows_core::Result<()> @@ -16219,7 +16219,7 @@ pub struct IPBDASiParser_Vtbl { pub GetEIT: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetServices: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPBDA_EIT, IPBDA_EIT_Vtbl, 0xa35f2dea_098f_4ebd_984c_2bd4c3c8ce0a); +windows_core::imp::define_interface!(IPBDA_EIT, IPBDA_EIT_Vtbl, 0xa35f2dea_098f_4ebd_984c_2bd4c3c8ce0a); windows_core::imp::interface_hierarchy!(IPBDA_EIT, windows_core::IUnknown); impl IPBDA_EIT { pub unsafe fn Initialize(&self, pbuffer: &[u8]) -> windows_core::Result<()> { @@ -16280,7 +16280,7 @@ pub struct IPBDA_EIT_Vtbl { pub GetRecordDescriptorByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRecordDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPBDA_Services, IPBDA_Services_Vtbl, 0x944eab37_eed4_4850_afd2_77e7efeb4427); +windows_core::imp::define_interface!(IPBDA_Services, IPBDA_Services_Vtbl, 0x944eab37_eed4_4850_afd2_77e7efeb4427); windows_core::imp::interface_hierarchy!(IPBDA_Services, windows_core::IUnknown); impl IPBDA_Services { pub unsafe fn Initialize(&self, pbuffer: &[u8]) -> windows_core::Result<()> { @@ -16302,7 +16302,7 @@ pub struct IPBDA_Services_Vtbl { pub GetCountOfRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetRecordByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMT, IPMT_Vtbl, 0x01f3b398_9527_4736_94db_5195878e97a8); +windows_core::imp::define_interface!(IPMT, IPMT_Vtbl, 0x01f3b398_9527_4736_94db_5195878e97a8); windows_core::imp::interface_hierarchy!(IPMT, windows_core::IUnknown); impl IPMT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -16407,7 +16407,7 @@ pub struct IPMT_Vtbl { pub RegisterForWhenCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPSITables, IPSITables_Vtbl, 0x919f24c5_7b14_42ac_a4b0_2ae08daf00ac); +windows_core::imp::define_interface!(IPSITables, IPSITables_Vtbl, 0x919f24c5_7b14_42ac_a4b0_2ae08daf00ac); 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 { @@ -16420,7 +16420,7 @@ pub struct IPSITables_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetTable: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPTFilterLicenseRenewal, IPTFilterLicenseRenewal_Vtbl, 0x26d836a5_0c15_44c7_ac59_b0da8728f240); +windows_core::imp::define_interface!(IPTFilterLicenseRenewal, IPTFilterLicenseRenewal_Vtbl, 0x26d836a5_0c15_44c7_ac59_b0da8728f240); windows_core::imp::interface_hierarchy!(IPTFilterLicenseRenewal, windows_core::IUnknown); impl IPTFilterLicenseRenewal { pub unsafe fn RenewLicenses(&self, wszfilename: P0, wszexpiredkid: P1, dwcallersid: u32, bhighpriority: P2) -> windows_core::Result<()> @@ -16442,7 +16442,7 @@ pub struct IPTFilterLicenseRenewal_Vtbl { pub CancelLicenseRenewal: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPersistTuneXml, IPersistTuneXml_Vtbl, 0x0754cd31_8d15_47a9_8215_d20064157244); +windows_core::imp::define_interface!(IPersistTuneXml, IPersistTuneXml_Vtbl, 0x0754cd31_8d15_47a9_8215_d20064157244); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPersistTuneXml, windows_core::IUnknown, super::super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] @@ -16474,7 +16474,7 @@ pub struct IPersistTuneXml_Vtbl { 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, } -windows_core::imp::com_interface!(IPersistTuneXmlUtility, IPersistTuneXmlUtility_Vtbl, 0x990237ae_ac11_4614_be8f_dd217a4cb4cb); +windows_core::imp::define_interface!(IPersistTuneXmlUtility, IPersistTuneXmlUtility_Vtbl, 0x990237ae_ac11_4614_be8f_dd217a4cb4cb); windows_core::imp::interface_hierarchy!(IPersistTuneXmlUtility, windows_core::IUnknown); impl IPersistTuneXmlUtility { pub unsafe fn Deserialize(&self, varvalue: P0) -> windows_core::Result @@ -16490,7 +16490,7 @@ 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, } -windows_core::imp::com_interface!(IPersistTuneXmlUtility2, IPersistTuneXmlUtility2_Vtbl, 0x992e165f_ea24_4b2f_9a1d_009d92120451); +windows_core::imp::define_interface!(IPersistTuneXmlUtility2, IPersistTuneXmlUtility2_Vtbl, 0x992e165f_ea24_4b2f_9a1d_009d92120451); windows_core::imp::interface_hierarchy!(IPersistTuneXmlUtility2, windows_core::IUnknown, IPersistTuneXmlUtility); impl IPersistTuneXmlUtility2 { pub unsafe fn Deserialize(&self, varvalue: P0) -> windows_core::Result @@ -16517,7 +16517,7 @@ pub struct IPersistTuneXmlUtility2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Serialize: usize, } -windows_core::imp::com_interface!(IRegisterTuner, IRegisterTuner_Vtbl, 0x359b3901_572c_4854_bb49_cdef66606a25); +windows_core::imp::define_interface!(IRegisterTuner, IRegisterTuner_Vtbl, 0x359b3901_572c_4854_bb49_cdef66606a25); windows_core::imp::interface_hierarchy!(IRegisterTuner, windows_core::IUnknown); impl IRegisterTuner { pub unsafe fn Register(&self, ptuner: P0, pgraph: P1) -> windows_core::Result<()> @@ -16537,7 +16537,7 @@ pub struct IRegisterTuner_Vtbl { pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISBE2Crossbar, ISBE2Crossbar_Vtbl, 0x547b6d26_3226_487e_8253_8aa168749434); +windows_core::imp::define_interface!(ISBE2Crossbar, ISBE2Crossbar_Vtbl, 0x547b6d26_3226_487e_8253_8aa168749434); windows_core::imp::interface_hierarchy!(ISBE2Crossbar, windows_core::IUnknown); impl ISBE2Crossbar { pub unsafe fn EnableDefaultMode(&self, defaultflags: u32) -> windows_core::Result<()> { @@ -16566,7 +16566,7 @@ pub struct ISBE2Crossbar_Vtbl { pub SetOutputProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISBE2EnumStream, ISBE2EnumStream_Vtbl, 0xf7611092_9fbc_46ec_a7c7_548ea78b71a4); +windows_core::imp::define_interface!(ISBE2EnumStream, ISBE2EnumStream_Vtbl, 0xf7611092_9fbc_46ec_a7c7_548ea78b71a4); windows_core::imp::interface_hierarchy!(ISBE2EnumStream, windows_core::IUnknown); impl ISBE2EnumStream { pub unsafe fn Next(&self, pstreamdesc: &mut [SBE2_STREAM_DESC], pcreceived: *mut u32) -> windows_core::Result<()> { @@ -16591,7 +16591,7 @@ pub struct ISBE2EnumStream_Vtbl { 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, } -windows_core::imp::com_interface!(ISBE2FileScan, ISBE2FileScan_Vtbl, 0x3e2bf5a5_4f96_4899_a1a3_75e8be9a5ac0); +windows_core::imp::define_interface!(ISBE2FileScan, ISBE2FileScan_Vtbl, 0x3e2bf5a5_4f96_4899_a1a3_75e8be9a5ac0); windows_core::imp::interface_hierarchy!(ISBE2FileScan, windows_core::IUnknown); impl ISBE2FileScan { pub unsafe fn RepairFile(&self, filename: P0) -> windows_core::Result<()> @@ -16606,7 +16606,7 @@ pub struct ISBE2FileScan_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RepairFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISBE2GlobalEvent, ISBE2GlobalEvent_Vtbl, 0xcaede759_b6b1_11db_a578_0018f3fa24c6); +windows_core::imp::define_interface!(ISBE2GlobalEvent, ISBE2GlobalEvent_Vtbl, 0xcaede759_b6b1_11db_a578_0018f3fa24c6); windows_core::imp::interface_hierarchy!(ISBE2GlobalEvent, windows_core::IUnknown); impl ISBE2GlobalEvent { pub unsafe fn GetEvent(&self, idevt: *const windows_core::GUID, param1: u32, param2: u32, param3: u32, param4: u32, pspanning: *mut super::super::super::Foundation::BOOL, pcb: *mut u32, pb: *mut u8) -> windows_core::Result<()> { @@ -16618,7 +16618,7 @@ pub struct ISBE2GlobalEvent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, u32, u32, *mut super::super::super::Foundation::BOOL, *mut u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISBE2GlobalEvent2, ISBE2GlobalEvent2_Vtbl, 0x6d8309bf_00fe_4506_8b03_f8c65b5c9b39); +windows_core::imp::define_interface!(ISBE2GlobalEvent2, ISBE2GlobalEvent2_Vtbl, 0x6d8309bf_00fe_4506_8b03_f8c65b5c9b39); windows_core::imp::interface_hierarchy!(ISBE2GlobalEvent2, windows_core::IUnknown, ISBE2GlobalEvent); impl ISBE2GlobalEvent2 { pub unsafe fn GetEvent(&self, idevt: *const windows_core::GUID, param1: u32, param2: u32, param3: u32, param4: u32, pspanning: *mut super::super::super::Foundation::BOOL, pcb: *mut u32, pb: *mut u8) -> windows_core::Result<()> { @@ -16633,7 +16633,7 @@ pub struct ISBE2GlobalEvent2_Vtbl { pub base__: ISBE2GlobalEvent_Vtbl, pub GetEventEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, u32, u32, *mut super::super::super::Foundation::BOOL, *mut u32, *mut u8, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISBE2MediaTypeProfile, ISBE2MediaTypeProfile_Vtbl, 0xf238267d_4671_40d7_997e_25dc32cfed2a); +windows_core::imp::define_interface!(ISBE2MediaTypeProfile, ISBE2MediaTypeProfile_Vtbl, 0xf238267d_4671_40d7_997e_25dc32cfed2a); windows_core::imp::interface_hierarchy!(ISBE2MediaTypeProfile, windows_core::IUnknown); impl ISBE2MediaTypeProfile { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { @@ -16667,7 +16667,7 @@ pub struct ISBE2MediaTypeProfile_Vtbl { AddStream: usize, pub DeleteStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISBE2SpanningEvent, ISBE2SpanningEvent_Vtbl, 0xcaede760_b6b1_11db_a578_0018f3fa24c6); +windows_core::imp::define_interface!(ISBE2SpanningEvent, ISBE2SpanningEvent_Vtbl, 0xcaede760_b6b1_11db_a578_0018f3fa24c6); windows_core::imp::interface_hierarchy!(ISBE2SpanningEvent, windows_core::IUnknown); impl ISBE2SpanningEvent { pub unsafe fn GetEvent(&self, idevt: *const windows_core::GUID, streamid: u32, pcb: *mut u32, pb: *mut u8) -> windows_core::Result<()> { @@ -16679,7 +16679,7 @@ pub struct ISBE2SpanningEvent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISBE2StreamMap, ISBE2StreamMap_Vtbl, 0x667c7745_85b1_4c55_ae55_4e25056159fc); +windows_core::imp::define_interface!(ISBE2StreamMap, ISBE2StreamMap_Vtbl, 0x667c7745_85b1_4c55_ae55_4e25056159fc); windows_core::imp::interface_hierarchy!(ISBE2StreamMap, windows_core::IUnknown); impl ISBE2StreamMap { pub unsafe fn MapStream(&self, stream: u32) -> windows_core::Result<()> { @@ -16700,7 +16700,7 @@ pub struct ISBE2StreamMap_Vtbl { pub UnmapStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub EnumMappedStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISCTE_EAS, ISCTE_EAS_Vtbl, 0x1ff544d6_161d_4fae_9faa_4f9f492ae999); +windows_core::imp::define_interface!(ISCTE_EAS, ISCTE_EAS_Vtbl, 0x1ff544d6_161d_4fae_9faa_4f9f492ae999); windows_core::imp::interface_hierarchy!(ISCTE_EAS, windows_core::IUnknown); impl ISCTE_EAS { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -16859,7 +16859,7 @@ pub struct ISCTE_EAS_Vtbl { pub GetTableDescriptorByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTableDescriptorByTag: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISIInbandEPG, ISIInbandEPG_Vtbl, 0xf90ad9d0_b854_4b68_9cc1_b2cc96119d85); +windows_core::imp::define_interface!(ISIInbandEPG, ISIInbandEPG_Vtbl, 0xf90ad9d0_b854_4b68_9cc1_b2cc96119d85); windows_core::imp::interface_hierarchy!(ISIInbandEPG, windows_core::IUnknown); impl ISIInbandEPG { pub unsafe fn StartSIEPGScan(&self) -> windows_core::Result<()> { @@ -16880,7 +16880,7 @@ pub struct ISIInbandEPG_Vtbl { pub StopSIEPGScan: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsSIEPGScanRunning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISIInbandEPGEvent, ISIInbandEPGEvent_Vtbl, 0x7e47913a_5a89_423d_9a2b_e15168858934); +windows_core::imp::define_interface!(ISIInbandEPGEvent, ISIInbandEPGEvent_Vtbl, 0x7e47913a_5a89_423d_9a2b_e15168858934); windows_core::imp::interface_hierarchy!(ISIInbandEPGEvent, windows_core::IUnknown); impl ISIInbandEPGEvent { pub unsafe fn SIObjectEvent(&self, pidvb_eit: P0, dwtable_id: u32, dwservice_id: u32) -> windows_core::Result<()> @@ -16895,7 +16895,7 @@ pub struct ISIInbandEPGEvent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SIObjectEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScanningTuner, IScanningTuner_Vtbl, 0x1dfd0a5c_0284_11d3_9d8e_00c04f72d980); +windows_core::imp::define_interface!(IScanningTuner, IScanningTuner_Vtbl, 0x1dfd0a5c_0284_11d3_9d8e_00c04f72d980); windows_core::imp::interface_hierarchy!(IScanningTuner, windows_core::IUnknown, ITuner); impl IScanningTuner { #[cfg(feature = "Win32_System_Com")] @@ -16977,7 +16977,7 @@ pub struct IScanningTuner_Vtbl { pub ScanDown: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub AutoProgram: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScanningTunerEx, IScanningTunerEx_Vtbl, 0x04bbd195_0e2d_4593_9bd5_4f908bc33cf5); +windows_core::imp::define_interface!(IScanningTunerEx, IScanningTunerEx_Vtbl, 0x04bbd195_0e2d_4593_9bd5_4f908bc33cf5); windows_core::imp::interface_hierarchy!(IScanningTunerEx, windows_core::IUnknown, ITuner, IScanningTuner); impl IScanningTunerEx { #[cfg(feature = "Win32_System_Com")] @@ -17094,7 +17094,7 @@ pub struct IScanningTunerEx_Vtbl { pub GetCurrentTunerStandardCapability: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut i32, *mut i32) -> windows_core::HRESULT, pub SetScanSignalTypeFilter: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISectionList, ISectionList_Vtbl, 0xafec1eb5_2a64_46c6_bf4b_ae3ccb6afdb0); +windows_core::imp::define_interface!(ISectionList, ISectionList_Vtbl, 0xafec1eb5_2a64_46c6_bf4b_ae3ccb6afdb0); windows_core::imp::interface_hierarchy!(ISectionList, windows_core::IUnknown); impl ISectionList { pub unsafe fn Initialize(&self, requesttype: MPEG_REQUEST_TYPE, pmpeg2data: P0, pcontext: *const MPEG_CONTEXT, pid: u16, tid: u8, pfilter: *const MPEG2_FILTER, timeout: u32, hdoneevent: P1) -> windows_core::Result<()> @@ -17135,7 +17135,7 @@ pub struct ISectionList_Vtbl { pub GetProgramIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16) -> windows_core::HRESULT, pub GetTableIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceLocationDescriptor, IServiceLocationDescriptor_Vtbl, 0x58c3c827_9d91_4215_bff3_820a49f0904c); +windows_core::imp::define_interface!(IServiceLocationDescriptor, IServiceLocationDescriptor_Vtbl, 0x58c3c827_9d91_4215_bff3_820a49f0904c); windows_core::imp::interface_hierarchy!(IServiceLocationDescriptor, windows_core::IUnknown); impl IServiceLocationDescriptor { pub unsafe fn GetPCR_PID(&self) -> windows_core::Result { @@ -17167,7 +17167,7 @@ pub struct IServiceLocationDescriptor_Vtbl { pub GetElementPID: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u16) -> windows_core::HRESULT, pub GetElementLanguageCode: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferConfigure, IStreamBufferConfigure_Vtbl, 0xce14dfae_4098_4af7_bbf7_d6511f835414); +windows_core::imp::define_interface!(IStreamBufferConfigure, IStreamBufferConfigure_Vtbl, 0xce14dfae_4098_4af7_bbf7_d6511f835414); windows_core::imp::interface_hierarchy!(IStreamBufferConfigure, windows_core::IUnknown); impl IStreamBufferConfigure { pub unsafe fn SetDirectory(&self, pszdirectoryname: P0) -> windows_core::Result<()> @@ -17204,7 +17204,7 @@ pub struct IStreamBufferConfigure_Vtbl { pub SetBackingFileDuration: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetBackingFileDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferConfigure2, IStreamBufferConfigure2_Vtbl, 0x53e037bf_3992_4282_ae34_2487b4dae06b); +windows_core::imp::define_interface!(IStreamBufferConfigure2, IStreamBufferConfigure2_Vtbl, 0x53e037bf_3992_4282_ae34_2487b4dae06b); windows_core::imp::interface_hierarchy!(IStreamBufferConfigure2, windows_core::IUnknown, IStreamBufferConfigure); impl IStreamBufferConfigure2 { pub unsafe fn SetDirectory(&self, pszdirectoryname: P0) -> windows_core::Result<()> @@ -17252,7 +17252,7 @@ pub struct IStreamBufferConfigure2_Vtbl { pub SetFFTransitionRates: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub GetFFTransitionRates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferConfigure3, IStreamBufferConfigure3_Vtbl, 0x7e2d2a1e_7192_4bd7_80c1_061fd1d10402); +windows_core::imp::define_interface!(IStreamBufferConfigure3, IStreamBufferConfigure3_Vtbl, 0x7e2d2a1e_7192_4bd7_80c1_061fd1d10402); windows_core::imp::interface_hierarchy!(IStreamBufferConfigure3, windows_core::IUnknown, IStreamBufferConfigure, IStreamBufferConfigure2); impl IStreamBufferConfigure3 { pub unsafe fn SetDirectory(&self, pszdirectoryname: P0) -> windows_core::Result<()> @@ -17320,7 +17320,7 @@ pub struct IStreamBufferConfigure3_Vtbl { pub SetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferDataCounters, IStreamBufferDataCounters_Vtbl, 0x9d2a2563_31ab_402e_9a6b_adb903489440); +windows_core::imp::define_interface!(IStreamBufferDataCounters, IStreamBufferDataCounters_Vtbl, 0x9d2a2563_31ab_402e_9a6b_adb903489440); windows_core::imp::interface_hierarchy!(IStreamBufferDataCounters, windows_core::IUnknown); impl IStreamBufferDataCounters { pub unsafe fn GetData(&self, ppindata: *mut SBE_PIN_DATA) -> windows_core::Result<()> { @@ -17336,7 +17336,7 @@ pub struct IStreamBufferDataCounters_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SBE_PIN_DATA) -> windows_core::HRESULT, pub ResetData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferInitialize, IStreamBufferInitialize_Vtbl, 0x9ce50f2d_6ba7_40fb_a034_50b1a674ec78); +windows_core::imp::define_interface!(IStreamBufferInitialize, IStreamBufferInitialize_Vtbl, 0x9ce50f2d_6ba7_40fb_a034_50b1a674ec78); windows_core::imp::interface_hierarchy!(IStreamBufferInitialize, windows_core::IUnknown); impl IStreamBufferInitialize { #[cfg(feature = "Win32_System_Registry")] @@ -17359,7 +17359,7 @@ pub struct IStreamBufferInitialize_Vtbl { SetHKEY: usize, pub SetSIDs: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::super::Foundation::PSID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferMediaSeeking, IStreamBufferMediaSeeking_Vtbl, 0xf61f5c26_863d_4afa_b0ba_2f81dc978596); +windows_core::imp::define_interface!(IStreamBufferMediaSeeking, IStreamBufferMediaSeeking_Vtbl, 0xf61f5c26_863d_4afa_b0ba_2f81dc978596); windows_core::imp::interface_hierarchy!(IStreamBufferMediaSeeking, windows_core::IUnknown, super::IMediaSeeking); impl IStreamBufferMediaSeeking { pub unsafe fn GetCapabilities(&self) -> windows_core::Result { @@ -17426,7 +17426,7 @@ impl IStreamBufferMediaSeeking { pub struct IStreamBufferMediaSeeking_Vtbl { pub base__: super::IMediaSeeking_Vtbl, } -windows_core::imp::com_interface!(IStreamBufferMediaSeeking2, IStreamBufferMediaSeeking2_Vtbl, 0x3a439ab0_155f_470a_86a6_9ea54afd6eaf); +windows_core::imp::define_interface!(IStreamBufferMediaSeeking2, IStreamBufferMediaSeeking2_Vtbl, 0x3a439ab0_155f_470a_86a6_9ea54afd6eaf); windows_core::imp::interface_hierarchy!(IStreamBufferMediaSeeking2, windows_core::IUnknown, super::IMediaSeeking, IStreamBufferMediaSeeking); impl IStreamBufferMediaSeeking2 { pub unsafe fn GetCapabilities(&self) -> windows_core::Result { @@ -17497,7 +17497,7 @@ pub struct IStreamBufferMediaSeeking2_Vtbl { pub base__: IStreamBufferMediaSeeking_Vtbl, pub SetRateEx: unsafe extern "system" fn(*mut core::ffi::c_void, f64, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferRecComp, IStreamBufferRecComp_Vtbl, 0x9e259a9b_8815_42ae_b09f_221970b154fd); +windows_core::imp::define_interface!(IStreamBufferRecComp, IStreamBufferRecComp_Vtbl, 0x9e259a9b_8815_42ae_b09f_221970b154fd); windows_core::imp::interface_hierarchy!(IStreamBufferRecComp, windows_core::IUnknown); impl IStreamBufferRecComp { pub unsafe fn Initialize(&self, psztargetfilename: P0, pszsbrecprofileref: P1) -> windows_core::Result<()> @@ -17540,7 +17540,7 @@ pub struct IStreamBufferRecComp_Vtbl { pub Close: 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, } -windows_core::imp::com_interface!(IStreamBufferRecordControl, IStreamBufferRecordControl_Vtbl, 0xba9b6c99_f3c7_4ff2_92db_cfdd4851bf31); +windows_core::imp::define_interface!(IStreamBufferRecordControl, IStreamBufferRecordControl_Vtbl, 0xba9b6c99_f3c7_4ff2_92db_cfdd4851bf31); windows_core::imp::interface_hierarchy!(IStreamBufferRecordControl, windows_core::IUnknown); impl IStreamBufferRecordControl { pub unsafe fn Start(&self, prtstart: *mut i64) -> windows_core::Result<()> { @@ -17560,7 +17560,7 @@ pub struct IStreamBufferRecordControl_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, pub GetRecordingStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut super::super::super::Foundation::BOOL, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferRecordingAttribute, IStreamBufferRecordingAttribute_Vtbl, 0x16ca4e03_fe69_4705_bd41_5b7dfc0c95f3); +windows_core::imp::define_interface!(IStreamBufferRecordingAttribute, IStreamBufferRecordingAttribute_Vtbl, 0x16ca4e03_fe69_4705_bd41_5b7dfc0c95f3); windows_core::imp::interface_hierarchy!(IStreamBufferRecordingAttribute, windows_core::IUnknown); impl IStreamBufferRecordingAttribute { pub unsafe fn SetAttribute(&self, ulreserved: u32, pszattributename: P0, streambufferattributetype: STREAMBUFFER_ATTR_DATATYPE, pbattribute: &[u8]) -> windows_core::Result<()> @@ -17596,7 +17596,7 @@ pub struct IStreamBufferRecordingAttribute_Vtbl { pub GetAttributeByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *const u32, windows_core::PWSTR, *mut u16, *mut STREAMBUFFER_ATTR_DATATYPE, *mut u8, *mut u16) -> windows_core::HRESULT, pub EnumAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferSink, IStreamBufferSink_Vtbl, 0xafd1f242_7efd_45ee_ba4e_407a25c9a77a); +windows_core::imp::define_interface!(IStreamBufferSink, IStreamBufferSink_Vtbl, 0xafd1f242_7efd_45ee_ba4e_407a25c9a77a); windows_core::imp::interface_hierarchy!(IStreamBufferSink, windows_core::IUnknown); impl IStreamBufferSink { pub unsafe fn LockProfile(&self, pszstreambufferfilename: P0) -> windows_core::Result<()> @@ -17623,7 +17623,7 @@ pub struct IStreamBufferSink_Vtbl { pub CreateRecorder: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsProfileLocked: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferSink2, IStreamBufferSink2_Vtbl, 0xdb94a660_f4fb_4bfa_bcc6_fe159a4eea93); +windows_core::imp::define_interface!(IStreamBufferSink2, IStreamBufferSink2_Vtbl, 0xdb94a660_f4fb_4bfa_bcc6_fe159a4eea93); windows_core::imp::interface_hierarchy!(IStreamBufferSink2, windows_core::IUnknown, IStreamBufferSink); impl IStreamBufferSink2 { pub unsafe fn LockProfile(&self, pszstreambufferfilename: P0) -> windows_core::Result<()> @@ -17651,7 +17651,7 @@ pub struct IStreamBufferSink2_Vtbl { pub base__: IStreamBufferSink_Vtbl, pub UnlockProfile: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferSink3, IStreamBufferSink3_Vtbl, 0x974723f2_887a_4452_9366_2cff3057bc8f); +windows_core::imp::define_interface!(IStreamBufferSink3, IStreamBufferSink3_Vtbl, 0x974723f2_887a_4452_9366_2cff3057bc8f); windows_core::imp::interface_hierarchy!(IStreamBufferSink3, windows_core::IUnknown, IStreamBufferSink, IStreamBufferSink2); impl IStreamBufferSink3 { pub unsafe fn LockProfile(&self, pszstreambufferfilename: P0) -> windows_core::Result<()> @@ -17682,7 +17682,7 @@ pub struct IStreamBufferSink3_Vtbl { pub base__: IStreamBufferSink2_Vtbl, pub SetAvailableFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamBufferSource, IStreamBufferSource_Vtbl, 0x1c5bd776_6ced_4f44_8164_5eab0e98db12); +windows_core::imp::define_interface!(IStreamBufferSource, IStreamBufferSource_Vtbl, 0x1c5bd776_6ced_4f44_8164_5eab0e98db12); windows_core::imp::interface_hierarchy!(IStreamBufferSource, windows_core::IUnknown); impl IStreamBufferSource { pub unsafe fn SetStreamSink(&self, pistreambuffersink: P0) -> windows_core::Result<()> @@ -17697,7 +17697,7 @@ pub struct IStreamBufferSource_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetStreamSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITSDT, ITSDT_Vtbl, 0xd19bdb43_405b_4a7c_a791_c89110c33165); +windows_core::imp::define_interface!(ITSDT, ITSDT_Vtbl, 0xd19bdb43_405b_4a7c_a791_c89110c33165); windows_core::imp::interface_hierarchy!(ITSDT, windows_core::IUnknown); impl ITSDT { pub unsafe fn Initialize(&self, psectionlist: P0, pmpegdata: P1) -> windows_core::Result<()> @@ -17756,7 +17756,7 @@ pub struct ITSDT_Vtbl { pub ConvertNextToCurrent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITuneRequest, ITuneRequest_Vtbl, 0x07ddc146_fc3d_11d2_9d8c_00c04f72d980); +windows_core::imp::define_interface!(ITuneRequest, ITuneRequest_Vtbl, 0x07ddc146_fc3d_11d2_9d8c_00c04f72d980); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITuneRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -17814,7 +17814,7 @@ pub struct ITuneRequest_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetLocator: usize, } -windows_core::imp::com_interface!(ITuneRequestInfo, ITuneRequestInfo_Vtbl, 0xa3b152df_7a90_4218_ac54_9830bee8c0b6); +windows_core::imp::define_interface!(ITuneRequestInfo, ITuneRequestInfo_Vtbl, 0xa3b152df_7a90_4218_ac54_9830bee8c0b6); windows_core::imp::interface_hierarchy!(ITuneRequestInfo, windows_core::IUnknown); impl ITuneRequestInfo { #[cfg(feature = "Win32_System_Com")] @@ -17903,7 +17903,7 @@ pub struct ITuneRequestInfo_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetPreviousLocator: usize, } -windows_core::imp::com_interface!(ITuneRequestInfoEx, ITuneRequestInfoEx_Vtbl, 0xee957c52_b0d0_4e78_8dd1_b87a08bfd893); +windows_core::imp::define_interface!(ITuneRequestInfoEx, ITuneRequestInfoEx_Vtbl, 0xee957c52_b0d0_4e78_8dd1_b87a08bfd893); windows_core::imp::interface_hierarchy!(ITuneRequestInfoEx, windows_core::IUnknown, ITuneRequestInfo); impl ITuneRequestInfoEx { #[cfg(feature = "Win32_System_Com")] @@ -17976,7 +17976,7 @@ pub struct ITuneRequestInfoEx_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateComponentListEx: usize, } -windows_core::imp::com_interface!(ITuner, ITuner_Vtbl, 0x28c52640_018a_11d3_9d8e_00c04f72d980); +windows_core::imp::define_interface!(ITuner, ITuner_Vtbl, 0x28c52640_018a_11d3_9d8e_00c04f72d980); windows_core::imp::interface_hierarchy!(ITuner, windows_core::IUnknown); impl ITuner { #[cfg(feature = "Win32_System_Com")] @@ -18069,7 +18069,7 @@ pub struct ITuner_Vtbl { pub SignalStrength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub TriggerSignalEvents: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITunerCap, ITunerCap_Vtbl, 0xe60dfa45_8d56_4e65_a8ab_d6be9412c249); +windows_core::imp::define_interface!(ITunerCap, ITunerCap_Vtbl, 0xe60dfa45_8d56_4e65_a8ab_d6be9412c249); windows_core::imp::interface_hierarchy!(ITunerCap, windows_core::IUnknown); impl ITunerCap { pub unsafe fn get_SupportedNetworkTypes(&self, ulcnetworktypesmax: u32, pulcnetworktypes: *mut u32, pguidnetworktypes: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -18089,7 +18089,7 @@ pub struct ITunerCap_Vtbl { pub get_SupportedVideoFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub get_AuxInputCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITunerCapEx, ITunerCapEx_Vtbl, 0xed3e0c66_18c8_4ea6_9300_f6841fdd35dc); +windows_core::imp::define_interface!(ITunerCapEx, ITunerCapEx_Vtbl, 0xed3e0c66_18c8_4ea6_9300_f6841fdd35dc); windows_core::imp::interface_hierarchy!(ITunerCapEx, windows_core::IUnknown); impl ITunerCapEx { pub unsafe fn Has608_708Caption(&self) -> windows_core::Result { @@ -18103,7 +18103,7 @@ pub struct ITunerCapEx_Vtbl { pub Has608_708Caption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITuningSpace, ITuningSpace_Vtbl, 0x061c6e30_e622_11d2_9493_00c04f72d980); +windows_core::imp::define_interface!(ITuningSpace, ITuningSpace_Vtbl, 0x061c6e30_e622_11d2_9493_00c04f72d980); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITuningSpace, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -18253,7 +18253,7 @@ pub struct ITuningSpace_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITuningSpaceContainer, ITuningSpaceContainer_Vtbl, 0x5b692e84_e2f1_11d2_9493_00c04f72d980); +windows_core::imp::define_interface!(ITuningSpaceContainer, ITuningSpaceContainer_Vtbl, 0x5b692e84_e2f1_11d2_9493_00c04f72d980); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITuningSpaceContainer, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -18381,7 +18381,7 @@ pub struct ITuningSpaceContainer_Vtbl { pub SetMaxCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITuningSpaces, ITuningSpaces_Vtbl, 0x901284e4_33fe_4b69_8d63_634a596f3756); +windows_core::imp::define_interface!(ITuningSpaces, ITuningSpaces_Vtbl, 0x901284e4_33fe_4b69_8d63_634a596f3756); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITuningSpaces, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -18423,7 +18423,7 @@ pub struct ITuningSpaces_Vtbl { get_Item: usize, pub EnumTuningSpaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXDSCodec, IXDSCodec_Vtbl, 0xc4c4c4b3_0049_4e2b_98fb_9537f6ce516d); +windows_core::imp::define_interface!(IXDSCodec, IXDSCodec_Vtbl, 0xc4c4c4b3_0049_4e2b_98fb_9537f6ce516d); windows_core::imp::interface_hierarchy!(IXDSCodec, windows_core::IUnknown); impl IXDSCodec { pub unsafe fn XDSToRatObjOK(&self) -> windows_core::Result { @@ -18462,7 +18462,7 @@ pub struct IXDSCodec_Vtbl { 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, } -windows_core::imp::com_interface!(IXDSCodecConfig, IXDSCodecConfig_Vtbl, 0xc4c4c4d3_0049_4e2b_98fb_9537f6ce516d); +windows_core::imp::define_interface!(IXDSCodecConfig, IXDSCodecConfig_Vtbl, 0xc4c4c4d3_0049_4e2b_98fb_9537f6ce516d); windows_core::imp::interface_hierarchy!(IXDSCodecConfig, windows_core::IUnknown); impl IXDSCodecConfig { pub unsafe fn GetSecureChannelObject(&self) -> windows_core::Result { @@ -18480,7 +18480,7 @@ pub struct IXDSCodecConfig_Vtbl { pub SetPauseBufferTime: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXDSCodecEvents, IXDSCodecEvents_Vtbl, 0xc4c4c4c3_0049_4e2b_98fb_9537f6ce516d); +windows_core::imp::define_interface!(IXDSCodecEvents, IXDSCodecEvents_Vtbl, 0xc4c4c4c3_0049_4e2b_98fb_9537f6ce516d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXDSCodecEvents, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -18491,7 +18491,7 @@ pub struct IXDSCodecEvents_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXDSToRat, IXDSToRat_Vtbl, 0xc5c5c5b0_3abc_11d6_b25b_00c04fa0c026); +windows_core::imp::define_interface!(IXDSToRat, IXDSToRat_Vtbl, 0xc5c5c5b0_3abc_11d6_b25b_00c04fa0c026); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXDSToRat, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -18511,7 +18511,7 @@ pub struct IXDSToRat_Vtbl { pub ParseXDSBytePair: unsafe extern "system" fn(*mut core::ffi::c_void, u8, u8, *mut EnTvRat_System, *mut EnTvRat_GenericLevel, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_IMSVidCtlEvents, _IMSVidCtlEvents_Vtbl, 0xb0edf164_910a_11d2_b632_00c04f79498e); +windows_core::imp::define_interface!(_IMSVidCtlEvents, _IMSVidCtlEvents_Vtbl, 0xb0edf164_910a_11d2_b632_00c04f79498e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_IMSVidCtlEvents, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 bff8cbd134..f1c1c9e1ed 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IXMLGraphBuilder, IXMLGraphBuilder_Vtbl, 0x1bb05960_5fbf_11d2_a521_44df07c10000); +windows_core::imp::define_interface!(IXMLGraphBuilder, IXMLGraphBuilder_Vtbl, 0x1bb05960_5fbf_11d2_a521_44df07c10000); windows_core::imp::interface_hierarchy!(IXMLGraphBuilder, windows_core::IUnknown); impl IXMLGraphBuilder { #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] 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 857fc88f3a..2e83535b64 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs @@ -12,7 +12,7 @@ pub unsafe fn AMGetErrorTextW(hr: windows_core::HRESULT, pbuffer: &mut [u16]) -> windows_targets::link!("quartz.dll" "system" fn AMGetErrorTextW(hr : windows_core::HRESULT, pbuffer : windows_core::PWSTR, maxlen : u32) -> u32); AMGetErrorTextW(hr, core::mem::transmute(pbuffer.as_ptr()), pbuffer.len().try_into().unwrap()) } -windows_core::imp::com_interface!(IAMAnalogVideoDecoder, IAMAnalogVideoDecoder_Vtbl, 0xc6e13350_30ac_11d0_a18c_00a0c9118956); +windows_core::imp::define_interface!(IAMAnalogVideoDecoder, IAMAnalogVideoDecoder_Vtbl, 0xc6e13350_30ac_11d0_a18c_00a0c9118956); windows_core::imp::interface_hierarchy!(IAMAnalogVideoDecoder, windows_core::IUnknown); impl IAMAnalogVideoDecoder { pub unsafe fn AvailableTVFormats(&self) -> windows_core::Result { @@ -62,7 +62,7 @@ pub struct IAMAnalogVideoDecoder_Vtbl { pub SetOutputEnable: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub OutputEnable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMAnalogVideoEncoder, IAMAnalogVideoEncoder_Vtbl, 0xc6e133b0_30ac_11d0_a18c_00a0c9118956); +windows_core::imp::define_interface!(IAMAnalogVideoEncoder, IAMAnalogVideoEncoder_Vtbl, 0xc6e133b0_30ac_11d0_a18c_00a0c9118956); windows_core::imp::interface_hierarchy!(IAMAnalogVideoEncoder, windows_core::IUnknown); impl IAMAnalogVideoEncoder { pub unsafe fn AvailableTVFormats(&self) -> windows_core::Result { @@ -102,7 +102,7 @@ pub struct IAMAnalogVideoEncoder_Vtbl { pub SetCCEnable: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub CCEnable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMAsyncReaderTimestampScaling, IAMAsyncReaderTimestampScaling_Vtbl, 0xcf7b26fc_9a00_485b_8147_3e789d5e8f67); +windows_core::imp::define_interface!(IAMAsyncReaderTimestampScaling, IAMAsyncReaderTimestampScaling_Vtbl, 0xcf7b26fc_9a00_485b_8147_3e789d5e8f67); windows_core::imp::interface_hierarchy!(IAMAsyncReaderTimestampScaling, windows_core::IUnknown); impl IAMAsyncReaderTimestampScaling { pub unsafe fn GetTimestampMode(&self) -> windows_core::Result { @@ -122,7 +122,7 @@ pub struct IAMAsyncReaderTimestampScaling_Vtbl { pub GetTimestampMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetTimestampMode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMAudioInputMixer, IAMAudioInputMixer_Vtbl, 0x54c39221_8380_11d0_b3f0_00aa003761c5); +windows_core::imp::define_interface!(IAMAudioInputMixer, IAMAudioInputMixer_Vtbl, 0x54c39221_8380_11d0_b3f0_00aa003761c5); windows_core::imp::interface_hierarchy!(IAMAudioInputMixer, windows_core::IUnknown); impl IAMAudioInputMixer { pub unsafe fn SetEnable(&self, fenable: P0) -> windows_core::Result<()> @@ -212,7 +212,7 @@ pub struct IAMAudioInputMixer_Vtbl { pub Bass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub BassRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMAudioRendererStats, IAMAudioRendererStats_Vtbl, 0x22320cb2_d41a_11d2_bf7c_d7cb9df0bf93); +windows_core::imp::define_interface!(IAMAudioRendererStats, IAMAudioRendererStats_Vtbl, 0x22320cb2_d41a_11d2_bf7c_d7cb9df0bf93); windows_core::imp::interface_hierarchy!(IAMAudioRendererStats, windows_core::IUnknown); impl IAMAudioRendererStats { pub unsafe fn GetStatParam(&self, dwparam: u32, pdwparam1: *mut u32, pdwparam2: *mut u32) -> windows_core::Result<()> { @@ -224,7 +224,7 @@ pub struct IAMAudioRendererStats_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetStatParam: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMBufferNegotiation, IAMBufferNegotiation_Vtbl, 0x56ed71a0_af5f_11d0_b3f0_00aa003761c5); +windows_core::imp::define_interface!(IAMBufferNegotiation, IAMBufferNegotiation_Vtbl, 0x56ed71a0_af5f_11d0_b3f0_00aa003761c5); windows_core::imp::interface_hierarchy!(IAMBufferNegotiation, windows_core::IUnknown); impl IAMBufferNegotiation { pub unsafe fn SuggestAllocatorProperties(&self, pprop: *const ALLOCATOR_PROPERTIES) -> windows_core::Result<()> { @@ -241,7 +241,7 @@ pub struct IAMBufferNegotiation_Vtbl { pub SuggestAllocatorProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *const ALLOCATOR_PROPERTIES) -> windows_core::HRESULT, pub GetAllocatorProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ALLOCATOR_PROPERTIES) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMCameraControl, IAMCameraControl_Vtbl, 0xc6e13370_30ac_11d0_a18c_00a0c9118956); +windows_core::imp::define_interface!(IAMCameraControl, IAMCameraControl_Vtbl, 0xc6e13370_30ac_11d0_a18c_00a0c9118956); windows_core::imp::interface_hierarchy!(IAMCameraControl, windows_core::IUnknown); impl IAMCameraControl { pub unsafe fn GetRange(&self, property: i32, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflags: *mut i32) -> windows_core::Result<()> { @@ -261,7 +261,7 @@ pub struct IAMCameraControl_Vtbl { pub Set: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32) -> windows_core::HRESULT, pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMCertifiedOutputProtection, IAMCertifiedOutputProtection_Vtbl, 0x6feded3e_0ff1_4901_a2f1_43f7012c8515); +windows_core::imp::define_interface!(IAMCertifiedOutputProtection, IAMCertifiedOutputProtection_Vtbl, 0x6feded3e_0ff1_4901_a2f1_43f7012c8515); windows_core::imp::interface_hierarchy!(IAMCertifiedOutputProtection, windows_core::IUnknown); impl IAMCertifiedOutputProtection { pub unsafe fn KeyExchange(&self, prandom: *mut windows_core::GUID, varlencertgh: *mut *mut u8, pdwlengthcertgh: *mut u32) -> windows_core::Result<()> { @@ -286,7 +286,7 @@ pub struct IAMCertifiedOutputProtection_Vtbl { pub ProtectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const AMCOPPStatusInput, *mut AMCOPPStatusOutput) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAMChannelInfo, IAMChannelInfo_Vtbl, 0xfa2aa8f2_8b62_11d0_a520_000000000000); +windows_core::imp::define_interface!(IAMChannelInfo, IAMChannelInfo_Vtbl, 0xfa2aa8f2_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAMChannelInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -321,7 +321,7 @@ pub struct IAMChannelInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IAMClockAdjust, IAMClockAdjust_Vtbl, 0x4d5466b0_a49c_11d1_abe8_00a0c905f375); +windows_core::imp::define_interface!(IAMClockAdjust, IAMClockAdjust_Vtbl, 0x4d5466b0_a49c_11d1_abe8_00a0c905f375); windows_core::imp::interface_hierarchy!(IAMClockAdjust, windows_core::IUnknown); impl IAMClockAdjust { pub unsafe fn SetClockDelta(&self, rtdelta: i64) -> windows_core::Result<()> { @@ -333,7 +333,7 @@ pub struct IAMClockAdjust_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetClockDelta: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMClockSlave, IAMClockSlave_Vtbl, 0x9fd52741_176d_4b36_8f51_ca8f933223be); +windows_core::imp::define_interface!(IAMClockSlave, IAMClockSlave_Vtbl, 0x9fd52741_176d_4b36_8f51_ca8f933223be); windows_core::imp::interface_hierarchy!(IAMClockSlave, windows_core::IUnknown); impl IAMClockSlave { pub unsafe fn SetErrorTolerance(&self, dwtolerance: u32) -> windows_core::Result<()> { @@ -351,7 +351,7 @@ pub struct IAMClockSlave_Vtbl { pub GetErrorTolerance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAMCollection, IAMCollection_Vtbl, 0x56a868b9_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IAMCollection, IAMCollection_Vtbl, 0x56a868b9_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAMCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -377,7 +377,7 @@ pub struct IAMCollection_Vtbl { pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> 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::com_interface!(IAMCopyCaptureFileProgress, IAMCopyCaptureFileProgress_Vtbl, 0x670d1d20_a068_11d0_b3f0_00aa003761c5); +windows_core::imp::define_interface!(IAMCopyCaptureFileProgress, IAMCopyCaptureFileProgress_Vtbl, 0x670d1d20_a068_11d0_b3f0_00aa003761c5); windows_core::imp::interface_hierarchy!(IAMCopyCaptureFileProgress, windows_core::IUnknown); impl IAMCopyCaptureFileProgress { pub unsafe fn Progress(&self, iprogress: i32) -> windows_core::Result<()> { @@ -389,7 +389,7 @@ pub struct IAMCopyCaptureFileProgress_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Progress: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMCrossbar, IAMCrossbar_Vtbl, 0xc6e13380_30ac_11d0_a18c_00a0c9118956); +windows_core::imp::define_interface!(IAMCrossbar, IAMCrossbar_Vtbl, 0xc6e13380_30ac_11d0_a18c_00a0c9118956); windows_core::imp::interface_hierarchy!(IAMCrossbar, windows_core::IUnknown); impl IAMCrossbar { pub unsafe fn get_PinCounts(&self, outputpincount: *mut i32, inputpincount: *mut i32) -> windows_core::Result<()> { @@ -421,7 +421,7 @@ pub struct IAMCrossbar_Vtbl { pub get_IsRoutedTo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub get_CrossbarPinInfo: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, i32, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMDecoderCaps, IAMDecoderCaps_Vtbl, 0xc0dff467_d499_4986_972b_e1d9090fa941); +windows_core::imp::define_interface!(IAMDecoderCaps, IAMDecoderCaps_Vtbl, 0xc0dff467_d499_4986_972b_e1d9090fa941); windows_core::imp::interface_hierarchy!(IAMDecoderCaps, windows_core::IUnknown); impl IAMDecoderCaps { pub unsafe fn GetDecoderCaps(&self, dwcapindex: u32) -> windows_core::Result { @@ -434,7 +434,7 @@ pub struct IAMDecoderCaps_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDecoderCaps: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMDevMemoryAllocator, IAMDevMemoryAllocator_Vtbl, 0xc6545bf0_e76b_11d0_bd52_00a0c911ce86); +windows_core::imp::define_interface!(IAMDevMemoryAllocator, IAMDevMemoryAllocator_Vtbl, 0xc6545bf0_e76b_11d0_bd52_00a0c911ce86); windows_core::imp::interface_hierarchy!(IAMDevMemoryAllocator, windows_core::IUnknown); impl IAMDevMemoryAllocator { pub unsafe fn GetInfo(&self, pdwcbtotalfree: *mut u32, pdwcblargestfree: *mut u32, pdwcbtotalmemory: *mut u32, pdwcbminimumchunk: *mut u32) -> windows_core::Result<()> { @@ -465,7 +465,7 @@ pub struct IAMDevMemoryAllocator_Vtbl { pub Free: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8) -> windows_core::HRESULT, pub GetDevMemoryObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMDevMemoryControl, IAMDevMemoryControl_Vtbl, 0xc6545bf1_e76b_11d0_bd52_00a0c911ce86); +windows_core::imp::define_interface!(IAMDevMemoryControl, IAMDevMemoryControl_Vtbl, 0xc6545bf1_e76b_11d0_bd52_00a0c911ce86); windows_core::imp::interface_hierarchy!(IAMDevMemoryControl, windows_core::IUnknown); impl IAMDevMemoryControl { pub unsafe fn QueryWriteSync(&self) -> windows_core::Result<()> { @@ -486,7 +486,7 @@ pub struct IAMDevMemoryControl_Vtbl { pub WriteSync: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDevId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMDeviceRemoval, IAMDeviceRemoval_Vtbl, 0xf90a6130_b658_11d2_ae49_0000f8754b99); +windows_core::imp::define_interface!(IAMDeviceRemoval, IAMDeviceRemoval_Vtbl, 0xf90a6130_b658_11d2_ae49_0000f8754b99); windows_core::imp::interface_hierarchy!(IAMDeviceRemoval, windows_core::IUnknown); impl IAMDeviceRemoval { pub unsafe fn DeviceInfo(&self, pclsidinterfaceclass: *mut windows_core::GUID, pwszsymboliclink: *mut windows_core::PWSTR) -> windows_core::Result<()> { @@ -506,7 +506,7 @@ pub struct IAMDeviceRemoval_Vtbl { pub Reassociate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Disassociate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMDirectSound, IAMDirectSound_Vtbl, 0x546f4260_d53e_11cf_b3f0_00aa003761c5); +windows_core::imp::define_interface!(IAMDirectSound, IAMDirectSound_Vtbl, 0x546f4260_d53e_11cf_b3f0_00aa003761c5); windows_core::imp::interface_hierarchy!(IAMDirectSound, windows_core::IUnknown); impl IAMDirectSound { #[cfg(feature = "Win32_Media_Audio_DirectSound")] @@ -586,7 +586,7 @@ pub struct IAMDirectSound_Vtbl { pub SetFocusWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetFocusWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMDroppedFrames, IAMDroppedFrames_Vtbl, 0xc6e13344_30ac_11d0_a18c_00a0c9118956); +windows_core::imp::define_interface!(IAMDroppedFrames, IAMDroppedFrames_Vtbl, 0xc6e13344_30ac_11d0_a18c_00a0c9118956); windows_core::imp::interface_hierarchy!(IAMDroppedFrames, windows_core::IUnknown); impl IAMDroppedFrames { pub unsafe fn GetNumDropped(&self) -> windows_core::Result { @@ -613,7 +613,7 @@ pub struct IAMDroppedFrames_Vtbl { pub GetDroppedInfo: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32, *mut i32) -> windows_core::HRESULT, pub GetAverageFrameSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMExtDevice, IAMExtDevice_Vtbl, 0xb5730a90_1a2c_11cf_8c23_00aa006b6814); +windows_core::imp::define_interface!(IAMExtDevice, IAMExtDevice_Vtbl, 0xb5730a90_1a2c_11cf_8c23_00aa006b6814); windows_core::imp::interface_hierarchy!(IAMExtDevice, windows_core::IUnknown); impl IAMExtDevice { pub unsafe fn GetCapability(&self, capability: i32, pvalue: *mut i32, pdblvalue: *mut f64) -> windows_core::Result<()> { @@ -658,7 +658,7 @@ pub struct IAMExtDevice_Vtbl { pub SetDevicePort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub DevicePort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMExtTransport, IAMExtTransport_Vtbl, 0xa03cd5f0_3045_11cf_8c44_00aa006b6814); +windows_core::imp::define_interface!(IAMExtTransport, IAMExtTransport_Vtbl, 0xa03cd5f0_3045_11cf_8c44_00aa006b6814); windows_core::imp::interface_hierarchy!(IAMExtTransport, windows_core::IUnknown); impl IAMExtTransport { pub unsafe fn GetCapability(&self, capability: i32, pvalue: *mut i32, pdblvalue: *mut f64) -> windows_core::Result<()> { @@ -793,7 +793,7 @@ pub struct IAMExtTransport_Vtbl { pub SetEditStart: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAMExtendedErrorInfo, IAMExtendedErrorInfo_Vtbl, 0xfa2aa8f6_8b62_11d0_a520_000000000000); +windows_core::imp::define_interface!(IAMExtendedErrorInfo, IAMExtendedErrorInfo_Vtbl, 0xfa2aa8f6_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAMExtendedErrorInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -817,7 +817,7 @@ pub struct IAMExtendedErrorInfo_Vtbl { pub ErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAMExtendedSeeking, IAMExtendedSeeking_Vtbl, 0xfa2aa8f9_8b62_11d0_a520_000000000000); +windows_core::imp::define_interface!(IAMExtendedSeeking, IAMExtendedSeeking_Vtbl, 0xfa2aa8f9_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAMExtendedSeeking, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -856,7 +856,7 @@ pub struct IAMExtendedSeeking_Vtbl { 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, } -windows_core::imp::com_interface!(IAMFilterGraphCallback, IAMFilterGraphCallback_Vtbl, 0x56a868fd_0ad4_11ce_b0a3_0020af0ba770); +windows_core::imp::define_interface!(IAMFilterGraphCallback, IAMFilterGraphCallback_Vtbl, 0x56a868fd_0ad4_11ce_b0a3_0020af0ba770); windows_core::imp::interface_hierarchy!(IAMFilterGraphCallback, windows_core::IUnknown); impl IAMFilterGraphCallback { pub unsafe fn UnableToRender(&self, ppin: P0) -> windows_core::Result<()> @@ -871,7 +871,7 @@ pub struct IAMFilterGraphCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub UnableToRender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMFilterMiscFlags, IAMFilterMiscFlags_Vtbl, 0x2dd74950_a890_11d1_abe8_00a0c905f375); +windows_core::imp::define_interface!(IAMFilterMiscFlags, IAMFilterMiscFlags_Vtbl, 0x2dd74950_a890_11d1_abe8_00a0c905f375); windows_core::imp::interface_hierarchy!(IAMFilterMiscFlags, windows_core::IUnknown); impl IAMFilterMiscFlags { pub unsafe fn GetMiscFlags(&self) -> u32 { @@ -883,7 +883,7 @@ pub struct IAMFilterMiscFlags_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetMiscFlags: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(IAMGraphBuilderCallback, IAMGraphBuilderCallback_Vtbl, 0x4995f511_9ddb_4f12_bd3b_f04611807b79); +windows_core::imp::define_interface!(IAMGraphBuilderCallback, IAMGraphBuilderCallback_Vtbl, 0x4995f511_9ddb_4f12_bd3b_f04611807b79); windows_core::imp::interface_hierarchy!(IAMGraphBuilderCallback, windows_core::IUnknown); impl IAMGraphBuilderCallback { #[cfg(feature = "Win32_System_Com")] @@ -913,7 +913,7 @@ pub struct IAMGraphBuilderCallback_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreatedFilter: usize, } -windows_core::imp::com_interface!(IAMGraphStreams, IAMGraphStreams_Vtbl, 0x632105fa_072e_11d3_8af9_00c04fb6bd3d); +windows_core::imp::define_interface!(IAMGraphStreams, IAMGraphStreams_Vtbl, 0x632105fa_072e_11d3_8af9_00c04fb6bd3d); windows_core::imp::interface_hierarchy!(IAMGraphStreams, windows_core::IUnknown); impl IAMGraphStreams { pub unsafe fn FindUpstreamInterface(&self, ppin: P0, riid: *const windows_core::GUID, ppvinterface: *mut *mut core::ffi::c_void, dwflags: u32) -> windows_core::Result<()> @@ -939,7 +939,7 @@ pub struct IAMGraphStreams_Vtbl { pub SyncUsingStreamOffset: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetMaxGraphLatency: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMLatency, IAMLatency_Vtbl, 0x62ea93ba_ec62_11d2_b770_00c04fb6bd3d); +windows_core::imp::define_interface!(IAMLatency, IAMLatency_Vtbl, 0x62ea93ba_ec62_11d2_b770_00c04fb6bd3d); windows_core::imp::interface_hierarchy!(IAMLatency, windows_core::IUnknown); impl IAMLatency { pub unsafe fn GetLatency(&self) -> windows_core::Result { @@ -952,7 +952,7 @@ pub struct IAMLatency_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetLatency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMLine21Decoder, IAMLine21Decoder_Vtbl, 0x6e8d4a21_310c_11d0_b79a_00aa003767a7); +windows_core::imp::define_interface!(IAMLine21Decoder, IAMLine21Decoder_Vtbl, 0x6e8d4a21_310c_11d0_b79a_00aa003767a7); windows_core::imp::interface_hierarchy!(IAMLine21Decoder, windows_core::IUnknown); impl IAMLine21Decoder { pub unsafe fn GetDecoderLevel(&self, lplevel: *mut AM_LINE21_CCLEVEL) -> windows_core::Result<()> { @@ -1024,7 +1024,7 @@ pub struct IAMLine21Decoder_Vtbl { pub SetDrawBackgroundMode: unsafe extern "system" fn(*mut core::ffi::c_void, AM_LINE21_DRAWBGMODE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAMMediaContent, IAMMediaContent_Vtbl, 0xfa2aa8f4_8b62_11d0_a520_000000000000); +windows_core::imp::define_interface!(IAMMediaContent, IAMMediaContent_Vtbl, 0xfa2aa8f4_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAMMediaContent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1088,7 +1088,7 @@ pub struct IAMMediaContent_Vtbl { pub MoreInfoText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAMMediaContent2, IAMMediaContent2_Vtbl, 0xce8f78c1_74d9_11d2_b09d_00a0c9a81117); +windows_core::imp::define_interface!(IAMMediaContent2, IAMMediaContent2_Vtbl, 0xce8f78c1_74d9_11d2_b09d_00a0c9a81117); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAMMediaContent2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1114,7 +1114,7 @@ pub struct IAMMediaContent2_Vtbl { pub get_MediaParameterName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub PlaylistCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMMediaStream, IAMMediaStream_Vtbl, 0xbebe595d_9a6f_11d0_8fde_00c04fd9189d); +windows_core::imp::define_interface!(IAMMediaStream, IAMMediaStream_Vtbl, 0xbebe595d_9a6f_11d0_8fde_00c04fd9189d); windows_core::imp::interface_hierarchy!(IAMMediaStream, windows_core::IUnknown, IMediaStream); impl IAMMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> windows_core::Result { @@ -1185,7 +1185,7 @@ pub struct IAMMediaStream_Vtbl { JoinFilter: usize, pub JoinFilterGraph: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMMediaTypeSample, IAMMediaTypeSample_Vtbl, 0xab6b4afb_f6e4_11d0_900d_00c04fd9189d); +windows_core::imp::define_interface!(IAMMediaTypeSample, IAMMediaTypeSample_Vtbl, 0xab6b4afb_f6e4_11d0_900d_00c04fd9189d); windows_core::imp::interface_hierarchy!(IAMMediaTypeSample, windows_core::IUnknown, IStreamSample); impl IAMMediaTypeSample { pub unsafe fn GetMediaStream(&self, ppmediastream: *const Option) -> windows_core::Result<()> { @@ -1298,7 +1298,7 @@ pub struct IAMMediaTypeSample_Vtbl { pub GetMediaTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64, *mut i64) -> windows_core::HRESULT, pub SetMediaTime: unsafe extern "system" fn(*mut core::ffi::c_void, *const i64, *const i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMMediaTypeStream, IAMMediaTypeStream_Vtbl, 0xab6b4afa_f6e4_11d0_900d_00c04fd9189d); +windows_core::imp::define_interface!(IAMMediaTypeStream, IAMMediaTypeStream_Vtbl, 0xab6b4afa_f6e4_11d0_900d_00c04fd9189d); windows_core::imp::interface_hierarchy!(IAMMediaTypeStream, windows_core::IUnknown, IMediaStream); impl IAMMediaTypeStream { pub unsafe fn GetMultiMediaStream(&self) -> windows_core::Result { @@ -1366,7 +1366,7 @@ pub struct IAMMediaTypeStream_Vtbl { pub GetStreamAllocatorRequirements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ALLOCATOR_PROPERTIES) -> windows_core::HRESULT, pub SetStreamAllocatorRequirements: unsafe extern "system" fn(*mut core::ffi::c_void, *const ALLOCATOR_PROPERTIES) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMMultiMediaStream, IAMMultiMediaStream_Vtbl, 0xbebe595c_9a6f_11d0_8fde_00c04fd9189d); +windows_core::imp::define_interface!(IAMMultiMediaStream, IAMMultiMediaStream_Vtbl, 0xbebe595c_9a6f_11d0_8fde_00c04fd9189d); windows_core::imp::interface_hierarchy!(IAMMultiMediaStream, windows_core::IUnknown, IMultiMediaStream); impl IAMMultiMediaStream { pub unsafe fn GetInformation(&self, pdwflags: *mut MMSSF_GET_INFORMATION_FLAGS, pstreamtype: *mut STREAM_TYPE) -> windows_core::Result<()> { @@ -1460,7 +1460,7 @@ pub struct IAMMultiMediaStream_Vtbl { pub Render: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAMNetShowConfig, IAMNetShowConfig_Vtbl, 0xfa2aa8f1_8b62_11d0_a520_000000000000); +windows_core::imp::define_interface!(IAMNetShowConfig, IAMNetShowConfig_Vtbl, 0xfa2aa8f1_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAMNetShowConfig, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1584,7 +1584,7 @@ pub struct IAMNetShowConfig_Vtbl { pub SetEnableHTTP: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAMNetShowExProps, IAMNetShowExProps_Vtbl, 0xfa2aa8f5_8b62_11d0_a520_000000000000); +windows_core::imp::define_interface!(IAMNetShowExProps, IAMNetShowExProps_Vtbl, 0xfa2aa8f5_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAMNetShowExProps, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1632,7 +1632,7 @@ pub struct IAMNetShowExProps_Vtbl { pub SourceLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAMNetShowPreroll, IAMNetShowPreroll_Vtbl, 0xaae7e4e2_6388_11d1_8d93_006097c9a2b2); +windows_core::imp::define_interface!(IAMNetShowPreroll, IAMNetShowPreroll_Vtbl, 0xaae7e4e2_6388_11d1_8d93_006097c9a2b2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAMNetShowPreroll, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1655,7 +1655,7 @@ pub struct IAMNetShowPreroll_Vtbl { pub Preroll: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAMNetworkStatus, IAMNetworkStatus_Vtbl, 0xfa2aa8f3_8b62_11d0_a520_000000000000); +windows_core::imp::define_interface!(IAMNetworkStatus, IAMNetworkStatus_Vtbl, 0xfa2aa8f3_8b62_11d0_a520_000000000000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAMNetworkStatus, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1694,7 +1694,7 @@ pub struct IAMNetworkStatus_Vtbl { pub IsBroadcast: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub BufferingProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMOpenProgress, IAMOpenProgress_Vtbl, 0x8e1c39a1_de53_11cf_aa63_0080c744528d); +windows_core::imp::define_interface!(IAMOpenProgress, IAMOpenProgress_Vtbl, 0x8e1c39a1_de53_11cf_aa63_0080c744528d); windows_core::imp::interface_hierarchy!(IAMOpenProgress, windows_core::IUnknown); impl IAMOpenProgress { pub unsafe fn QueryProgress(&self, plltotal: *mut i64, pllcurrent: *mut i64) -> windows_core::Result<()> { @@ -1710,7 +1710,7 @@ pub struct IAMOpenProgress_Vtbl { pub QueryProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64, *mut i64) -> windows_core::HRESULT, pub AbortOperation: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMOverlayFX, IAMOverlayFX_Vtbl, 0x62fae250_7e65_4460_bfc9_6398b322073c); +windows_core::imp::define_interface!(IAMOverlayFX, IAMOverlayFX_Vtbl, 0x62fae250_7e65_4460_bfc9_6398b322073c); windows_core::imp::interface_hierarchy!(IAMOverlayFX, windows_core::IUnknown); impl IAMOverlayFX { pub unsafe fn QueryOverlayFXCaps(&self) -> windows_core::Result { @@ -1732,7 +1732,7 @@ pub struct IAMOverlayFX_Vtbl { pub SetOverlayFX: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetOverlayFX: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMParse, IAMParse_Vtbl, 0xc47a3420_005c_11d2_9038_00a0c9697298); +windows_core::imp::define_interface!(IAMParse, IAMParse_Vtbl, 0xc47a3420_005c_11d2_9038_00a0c9697298); windows_core::imp::interface_hierarchy!(IAMParse, windows_core::IUnknown); impl IAMParse { pub unsafe fn GetParseTime(&self) -> windows_core::Result { @@ -1753,7 +1753,7 @@ pub struct IAMParse_Vtbl { pub SetParseTime: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMPhysicalPinInfo, IAMPhysicalPinInfo_Vtbl, 0xf938c991_3029_11cf_8c44_00aa006b6814); +windows_core::imp::define_interface!(IAMPhysicalPinInfo, IAMPhysicalPinInfo_Vtbl, 0xf938c991_3029_11cf_8c44_00aa006b6814); windows_core::imp::interface_hierarchy!(IAMPhysicalPinInfo, windows_core::IUnknown); impl IAMPhysicalPinInfo { pub unsafe fn GetPhysicalType(&self, ptype: *mut i32, ppsztype: *mut windows_core::PWSTR) -> windows_core::Result<()> { @@ -1765,7 +1765,7 @@ pub struct IAMPhysicalPinInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetPhysicalType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMPlayList, IAMPlayList_Vtbl, 0x56a868fe_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IAMPlayList, IAMPlayList_Vtbl, 0x56a868fe_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IAMPlayList, windows_core::IUnknown); impl IAMPlayList { pub unsafe fn GetFlags(&self) -> windows_core::Result { @@ -1799,7 +1799,7 @@ pub struct IAMPlayList_Vtbl { pub GetNamedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetRepeatInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMPlayListItem, IAMPlayListItem_Vtbl, 0x56a868ff_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IAMPlayListItem, IAMPlayListItem_Vtbl, 0x56a868ff_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IAMPlayListItem, windows_core::IUnknown); impl IAMPlayListItem { pub unsafe fn GetFlags(&self) -> windows_core::Result { @@ -1862,7 +1862,7 @@ pub struct IAMPlayListItem_Vtbl { pub GetLinkURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IAMPluginControl, IAMPluginControl_Vtbl, 0x0e26a181_f40c_4635_8786_976284b52981); +windows_core::imp::define_interface!(IAMPluginControl, IAMPluginControl_Vtbl, 0x0e26a181_f40c_4635_8786_976284b52981); windows_core::imp::interface_hierarchy!(IAMPluginControl, windows_core::IUnknown); impl IAMPluginControl { pub unsafe fn GetPreferredClsid(&self, subtype: *const windows_core::GUID) -> windows_core::Result { @@ -1906,7 +1906,7 @@ pub struct IAMPluginControl_Vtbl { pub SetDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsLegacyDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMPushSource, IAMPushSource_Vtbl, 0xf185fe76_e64e_11d2_b76e_00c04fb6bd3d); +windows_core::imp::define_interface!(IAMPushSource, IAMPushSource_Vtbl, 0xf185fe76_e64e_11d2_b76e_00c04fb6bd3d); windows_core::imp::interface_hierarchy!(IAMPushSource, windows_core::IUnknown, IAMLatency); impl IAMPushSource { pub unsafe fn GetLatency(&self) -> windows_core::Result { @@ -1945,7 +1945,7 @@ pub struct IAMPushSource_Vtbl { pub GetMaxStreamOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub SetMaxStreamOffset: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMRebuild, IAMRebuild_Vtbl, 0x02ef04dd_7580_11d1_bece_00c04fb6e937); +windows_core::imp::define_interface!(IAMRebuild, IAMRebuild_Vtbl, 0x02ef04dd_7580_11d1_bece_00c04fb6e937); windows_core::imp::interface_hierarchy!(IAMRebuild, windows_core::IUnknown); impl IAMRebuild { pub unsafe fn RebuildNow(&self) -> windows_core::Result<()> { @@ -1957,7 +1957,7 @@ pub struct IAMRebuild_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RebuildNow: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMResourceControl, IAMResourceControl_Vtbl, 0x8389d2d0_77d7_11d1_abe6_00a0c905f375); +windows_core::imp::define_interface!(IAMResourceControl, IAMResourceControl_Vtbl, 0x8389d2d0_77d7_11d1_abe6_00a0c905f375); windows_core::imp::interface_hierarchy!(IAMResourceControl, windows_core::IUnknown); impl IAMResourceControl { pub unsafe fn Reserve(&self, dwflags: u32, pvreserved: Option<*const core::ffi::c_void>) -> windows_core::Result<()> { @@ -1970,7 +1970,7 @@ pub struct IAMResourceControl_Vtbl { pub Reserve: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAMStats, IAMStats_Vtbl, 0xbc9bcf80_dcd2_11d2_abf6_00a0c905f375); +windows_core::imp::define_interface!(IAMStats, IAMStats_Vtbl, 0xbc9bcf80_dcd2_11d2_abf6_00a0c905f375); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAMStats, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2013,7 +2013,7 @@ pub struct IAMStats_Vtbl { pub GetIndex: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IAMStreamConfig, IAMStreamConfig_Vtbl, 0xc6e13340_30ac_11d0_a18c_00a0c9118956); +windows_core::imp::define_interface!(IAMStreamConfig, IAMStreamConfig_Vtbl, 0xc6e13340_30ac_11d0_a18c_00a0c9118956); windows_core::imp::interface_hierarchy!(IAMStreamConfig, windows_core::IUnknown); impl IAMStreamConfig { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -2050,7 +2050,7 @@ pub struct IAMStreamConfig_Vtbl { #[cfg(not(feature = "Win32_Media_MediaFoundation"))] GetStreamCaps: usize, } -windows_core::imp::com_interface!(IAMStreamControl, IAMStreamControl_Vtbl, 0x36b73881_c2c8_11cf_8b46_00805f6cef60); +windows_core::imp::define_interface!(IAMStreamControl, IAMStreamControl_Vtbl, 0x36b73881_c2c8_11cf_8b46_00805f6cef60); windows_core::imp::interface_hierarchy!(IAMStreamControl, windows_core::IUnknown); impl IAMStreamControl { pub unsafe fn StartAt(&self, ptstart: Option<*const i64>, dwcookie: u32) -> windows_core::Result<()> { @@ -2073,7 +2073,7 @@ pub struct IAMStreamControl_Vtbl { pub StopAt: unsafe extern "system" fn(*mut core::ffi::c_void, *const i64, super::super::Foundation::BOOL, u32) -> windows_core::HRESULT, pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AM_STREAM_INFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMStreamSelect, IAMStreamSelect_Vtbl, 0xc1960960_17f5_11d1_abe1_00a0c905f375); +windows_core::imp::define_interface!(IAMStreamSelect, IAMStreamSelect_Vtbl, 0xc1960960_17f5_11d1_abe1_00a0c905f375); windows_core::imp::interface_hierarchy!(IAMStreamSelect, windows_core::IUnknown); impl IAMStreamSelect { pub unsafe fn Count(&self) -> windows_core::Result { @@ -2109,7 +2109,7 @@ pub struct IAMStreamSelect_Vtbl { Info: usize, pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMTVAudio, IAMTVAudio_Vtbl, 0x83ec1c30_23d1_11d1_99e6_00a0c9560266); +windows_core::imp::define_interface!(IAMTVAudio, IAMTVAudio_Vtbl, 0x83ec1c30_23d1_11d1_99e6_00a0c9560266); windows_core::imp::interface_hierarchy!(IAMTVAudio, windows_core::IUnknown); impl IAMTVAudio { pub unsafe fn GetHardwareSupportedTVAudioModes(&self) -> windows_core::Result { @@ -2150,7 +2150,7 @@ pub struct IAMTVAudio_Vtbl { pub RegisterNotificationCallBack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub UnRegisterNotificationCallBack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMTVAudioNotification, IAMTVAudioNotification_Vtbl, 0x83ec1c33_23d1_11d1_99e6_00a0c9560266); +windows_core::imp::define_interface!(IAMTVAudioNotification, IAMTVAudioNotification_Vtbl, 0x83ec1c33_23d1_11d1_99e6_00a0c9560266); windows_core::imp::interface_hierarchy!(IAMTVAudioNotification, windows_core::IUnknown); impl IAMTVAudioNotification { pub unsafe fn OnEvent(&self, event: AMTVAudioEventType) -> windows_core::Result<()> { @@ -2162,7 +2162,7 @@ pub struct IAMTVAudioNotification_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, AMTVAudioEventType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMTVTuner, IAMTVTuner_Vtbl, 0x211a8766_03ac_11d1_8d13_00aa00bd8339); +windows_core::imp::define_interface!(IAMTVTuner, IAMTVTuner_Vtbl, 0x211a8766_03ac_11d1_8d13_00aa00bd8339); windows_core::imp::interface_hierarchy!(IAMTVTuner, windows_core::IUnknown, IAMTuner); impl IAMTVTuner { pub unsafe fn put_Channel(&self, lchannel: i32, lvideosubchannel: i32, laudiosubchannel: i32) -> windows_core::Result<()> { @@ -2281,7 +2281,7 @@ pub struct IAMTVTuner_Vtbl { pub VideoFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub AudioFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMTimecodeDisplay, IAMTimecodeDisplay_Vtbl, 0x9b496ce2_811b_11cf_8c77_00aa006b6814); +windows_core::imp::define_interface!(IAMTimecodeDisplay, IAMTimecodeDisplay_Vtbl, 0x9b496ce2_811b_11cf_8c77_00aa006b6814); windows_core::imp::interface_hierarchy!(IAMTimecodeDisplay, windows_core::IUnknown); impl IAMTimecodeDisplay { pub unsafe fn GetTCDisplayEnable(&self) -> windows_core::Result { @@ -2307,7 +2307,7 @@ pub struct IAMTimecodeDisplay_Vtbl { pub GetTCDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub SetTCDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMTimecodeGenerator, IAMTimecodeGenerator_Vtbl, 0x9b496ce0_811b_11cf_8c77_00aa006b6814); +windows_core::imp::define_interface!(IAMTimecodeGenerator, IAMTimecodeGenerator_Vtbl, 0x9b496ce0_811b_11cf_8c77_00aa006b6814); windows_core::imp::interface_hierarchy!(IAMTimecodeGenerator, windows_core::IUnknown); impl IAMTimecodeGenerator { pub unsafe fn GetTCGMode(&self, param: i32) -> windows_core::Result { @@ -2341,7 +2341,7 @@ pub struct IAMTimecodeGenerator_Vtbl { pub SetTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::TIMECODE_SAMPLE) -> windows_core::HRESULT, pub GetTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::TIMECODE_SAMPLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMTimecodeReader, IAMTimecodeReader_Vtbl, 0x9b496ce1_811b_11cf_8c77_00aa006b6814); +windows_core::imp::define_interface!(IAMTimecodeReader, IAMTimecodeReader_Vtbl, 0x9b496ce1_811b_11cf_8c77_00aa006b6814); windows_core::imp::interface_hierarchy!(IAMTimecodeReader, windows_core::IUnknown); impl IAMTimecodeReader { pub unsafe fn GetTCRMode(&self, param: i32) -> windows_core::Result { @@ -2371,7 +2371,7 @@ pub struct IAMTimecodeReader_Vtbl { pub VITCLine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetTimecode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::TIMECODE_SAMPLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMTuner, IAMTuner_Vtbl, 0x211a8761_03ac_11d1_8d13_00aa00bd8339); +windows_core::imp::define_interface!(IAMTuner, IAMTuner_Vtbl, 0x211a8761_03ac_11d1_8d13_00aa00bd8339); windows_core::imp::interface_hierarchy!(IAMTuner, windows_core::IUnknown); impl IAMTuner { pub unsafe fn put_Channel(&self, lchannel: i32, lvideosubchannel: i32, laudiosubchannel: i32) -> windows_core::Result<()> { @@ -2453,7 +2453,7 @@ pub struct IAMTuner_Vtbl { pub RegisterNotificationCallBack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub UnRegisterNotificationCallBack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMTunerNotification, IAMTunerNotification_Vtbl, 0x211a8760_03ac_11d1_8d13_00aa00bd8339); +windows_core::imp::define_interface!(IAMTunerNotification, IAMTunerNotification_Vtbl, 0x211a8760_03ac_11d1_8d13_00aa00bd8339); windows_core::imp::interface_hierarchy!(IAMTunerNotification, windows_core::IUnknown); impl IAMTunerNotification { pub unsafe fn OnEvent(&self, event: AMTunerEventType) -> windows_core::Result<()> { @@ -2465,7 +2465,7 @@ pub struct IAMTunerNotification_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, AMTunerEventType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMVfwCaptureDialogs, IAMVfwCaptureDialogs_Vtbl, 0xd8d715a0_6e5e_11d0_b3f0_00aa003761c5); +windows_core::imp::define_interface!(IAMVfwCaptureDialogs, IAMVfwCaptureDialogs_Vtbl, 0xd8d715a0_6e5e_11d0_b3f0_00aa003761c5); windows_core::imp::interface_hierarchy!(IAMVfwCaptureDialogs, windows_core::IUnknown); impl IAMVfwCaptureDialogs { pub unsafe fn HasDialog(&self, idialog: i32) -> windows_core::Result<()> { @@ -2488,7 +2488,7 @@ pub struct IAMVfwCaptureDialogs_Vtbl { pub ShowDialog: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::HWND) -> windows_core::HRESULT, pub SendDriverMessage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMVfwCompressDialogs, IAMVfwCompressDialogs_Vtbl, 0xd8d715a3_6e5e_11d0_b3f0_00aa003761c5); +windows_core::imp::define_interface!(IAMVfwCompressDialogs, IAMVfwCompressDialogs_Vtbl, 0xd8d715a3_6e5e_11d0_b3f0_00aa003761c5); windows_core::imp::interface_hierarchy!(IAMVfwCompressDialogs, windows_core::IUnknown); impl IAMVfwCompressDialogs { pub unsafe fn ShowDialog(&self, idialog: i32, hwnd: P0) -> windows_core::Result<()> @@ -2515,7 +2515,7 @@ pub struct IAMVfwCompressDialogs_Vtbl { pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, i32) -> windows_core::HRESULT, pub SendDriverMessage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMVideoAccelerator, IAMVideoAccelerator_Vtbl, 0x256a6a22_fbad_11d1_82bf_00a0c9696c8f); +windows_core::imp::define_interface!(IAMVideoAccelerator, IAMVideoAccelerator_Vtbl, 0x256a6a22_fbad_11d1_82bf_00a0c9696c8f); windows_core::imp::interface_hierarchy!(IAMVideoAccelerator, windows_core::IUnknown); impl IAMVideoAccelerator { pub unsafe fn GetVideoAcceleratorGUIDs(&self, pdwnumguidssupported: *mut u32, pguidssupported: Option<*mut windows_core::GUID>) -> windows_core::Result<()> { @@ -2593,7 +2593,7 @@ pub struct IAMVideoAccelerator_Vtbl { pub QueryRenderStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, pub DisplayFrame: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMVideoAcceleratorNotify, IAMVideoAcceleratorNotify_Vtbl, 0x256a6a21_fbad_11d1_82bf_00a0c9696c8f); +windows_core::imp::define_interface!(IAMVideoAcceleratorNotify, IAMVideoAcceleratorNotify_Vtbl, 0x256a6a21_fbad_11d1_82bf_00a0c9696c8f); windows_core::imp::interface_hierarchy!(IAMVideoAcceleratorNotify, windows_core::IUnknown); impl IAMVideoAcceleratorNotify { #[cfg(feature = "Win32_Graphics_DirectDraw")] @@ -2617,7 +2617,7 @@ pub struct IAMVideoAcceleratorNotify_Vtbl { pub SetUncompSurfacesInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetCreateVideoAcceleratorData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMVideoCompression, IAMVideoCompression_Vtbl, 0xc6e13343_30ac_11d0_a18c_00a0c9118956); +windows_core::imp::define_interface!(IAMVideoCompression, IAMVideoCompression_Vtbl, 0xc6e13343_30ac_11d0_a18c_00a0c9118956); windows_core::imp::interface_hierarchy!(IAMVideoCompression, windows_core::IUnknown); impl IAMVideoCompression { pub unsafe fn SetKeyFrameRate(&self, keyframerate: i32) -> windows_core::Result<()> { @@ -2684,7 +2684,7 @@ pub struct IAMVideoCompression_Vtbl { pub OverrideKeyFrame: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub OverrideFrameSize: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMVideoControl, IAMVideoControl_Vtbl, 0x6a2e0670_28e4_11d0_a18c_00a0c9118956); +windows_core::imp::define_interface!(IAMVideoControl, IAMVideoControl_Vtbl, 0x6a2e0670_28e4_11d0_a18c_00a0c9118956); windows_core::imp::interface_hierarchy!(IAMVideoControl, windows_core::IUnknown); impl IAMVideoControl { pub unsafe fn GetCaps(&self, ppin: P0) -> windows_core::Result @@ -2738,7 +2738,7 @@ pub struct IAMVideoControl_Vtbl { pub GetMaxAvailableFrameRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, super::super::Foundation::SIZE, *mut i64) -> windows_core::HRESULT, pub GetFrameRateList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, super::super::Foundation::SIZE, *mut i32, *mut *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMVideoDecimationProperties, IAMVideoDecimationProperties_Vtbl, 0x60d32930_13da_11d3_9ec6_c4fcaef5c7be); +windows_core::imp::define_interface!(IAMVideoDecimationProperties, IAMVideoDecimationProperties_Vtbl, 0x60d32930_13da_11d3_9ec6_c4fcaef5c7be); windows_core::imp::interface_hierarchy!(IAMVideoDecimationProperties, windows_core::IUnknown); impl IAMVideoDecimationProperties { pub unsafe fn QueryDecimationUsage(&self) -> windows_core::Result { @@ -2755,7 +2755,7 @@ pub struct IAMVideoDecimationProperties_Vtbl { pub QueryDecimationUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DECIMATION_USAGE) -> windows_core::HRESULT, pub SetDecimationUsage: unsafe extern "system" fn(*mut core::ffi::c_void, DECIMATION_USAGE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMVideoProcAmp, IAMVideoProcAmp_Vtbl, 0xc6e13360_30ac_11d0_a18c_00a0c9118956); +windows_core::imp::define_interface!(IAMVideoProcAmp, IAMVideoProcAmp_Vtbl, 0xc6e13360_30ac_11d0_a18c_00a0c9118956); windows_core::imp::interface_hierarchy!(IAMVideoProcAmp, windows_core::IUnknown); impl IAMVideoProcAmp { pub unsafe fn GetRange(&self, property: i32, pmin: *mut i32, pmax: *mut i32, psteppingdelta: *mut i32, pdefault: *mut i32, pcapsflags: *mut i32) -> windows_core::Result<()> { @@ -2775,7 +2775,7 @@ pub struct IAMVideoProcAmp_Vtbl { pub Set: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32) -> windows_core::HRESULT, pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMWMBufferPass, IAMWMBufferPass_Vtbl, 0x6dd816d7_e740_4123_9e24_2444412644d8); +windows_core::imp::define_interface!(IAMWMBufferPass, IAMWMBufferPass_Vtbl, 0x6dd816d7_e740_4123_9e24_2444412644d8); windows_core::imp::interface_hierarchy!(IAMWMBufferPass, windows_core::IUnknown); impl IAMWMBufferPass { pub unsafe fn SetNotify(&self, pcallback: P0) -> windows_core::Result<()> @@ -2790,7 +2790,7 @@ pub struct IAMWMBufferPass_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMWMBufferPassCallback, IAMWMBufferPassCallback_Vtbl, 0xb25b8372_d2d2_44b2_8653_1b8dae332489); +windows_core::imp::define_interface!(IAMWMBufferPassCallback, IAMWMBufferPassCallback_Vtbl, 0xb25b8372_d2d2_44b2_8653_1b8dae332489); windows_core::imp::interface_hierarchy!(IAMWMBufferPassCallback, windows_core::IUnknown); impl IAMWMBufferPassCallback { #[cfg(feature = "Win32_Media_WindowsMediaFormat")] @@ -2810,7 +2810,7 @@ pub struct IAMWMBufferPassCallback_Vtbl { #[cfg(not(feature = "Win32_Media_WindowsMediaFormat"))] Notify: usize, } -windows_core::imp::com_interface!(IAMWstDecoder, IAMWstDecoder_Vtbl, 0xc056de21_75c2_11d3_a184_00105aef9f33); +windows_core::imp::define_interface!(IAMWstDecoder, IAMWstDecoder_Vtbl, 0xc056de21_75c2_11d3_a184_00105aef9f33); windows_core::imp::interface_hierarchy!(IAMWstDecoder, windows_core::IUnknown); impl IAMWstDecoder { pub unsafe fn GetDecoderLevel(&self, lplevel: *mut AM_WST_LEVEL) -> windows_core::Result<()> { @@ -2907,7 +2907,7 @@ pub struct IAMWstDecoder_Vtbl { pub GetCurrentPage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AM_WST_PAGE) -> windows_core::HRESULT, pub SetCurrentPage: unsafe extern "system" fn(*mut core::ffi::c_void, AM_WST_PAGE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAMovieSetup, IAMovieSetup_Vtbl, 0xa3d8cec0_7e5a_11cf_bbc5_00805f6cef20); +windows_core::imp::define_interface!(IAMovieSetup, IAMovieSetup_Vtbl, 0xa3d8cec0_7e5a_11cf_bbc5_00805f6cef20); windows_core::imp::interface_hierarchy!(IAMovieSetup, windows_core::IUnknown); impl IAMovieSetup { pub unsafe fn Register(&self) -> windows_core::Result<()> { @@ -2923,7 +2923,7 @@ pub struct IAMovieSetup_Vtbl { pub Register: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAsyncReader, IAsyncReader_Vtbl, 0x56a868aa_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IAsyncReader, IAsyncReader_Vtbl, 0x56a868aa_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IAsyncReader, windows_core::IUnknown); impl IAsyncReader { pub unsafe fn RequestAllocator(&self, ppreferred: P0, pprops: *const ALLOCATOR_PROPERTIES) -> windows_core::Result @@ -2973,7 +2973,7 @@ pub struct IAsyncReader_Vtbl { pub BeginFlush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EndFlush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioData, IAudioData_Vtbl, 0x54c719c0_af60_11d0_8212_00c04fc32c45); +windows_core::imp::define_interface!(IAudioData, IAudioData_Vtbl, 0x54c719c0_af60_11d0_8212_00c04fc32c45); windows_core::imp::interface_hierarchy!(IAudioData, windows_core::IUnknown, IMemoryData); impl IAudioData { pub unsafe fn SetBuffer(&self, cbsize: u32, pbdata: *const u8, dwflags: u32) -> windows_core::Result<()> { @@ -3006,7 +3006,7 @@ pub struct IAudioData_Vtbl { #[cfg(not(feature = "Win32_Media_Audio"))] SetFormat: usize, } -windows_core::imp::com_interface!(IAudioMediaStream, IAudioMediaStream_Vtbl, 0xf7537560_a3be_11d0_8212_00c04fc32c45); +windows_core::imp::define_interface!(IAudioMediaStream, IAudioMediaStream_Vtbl, 0xf7537560_a3be_11d0_8212_00c04fc32c45); windows_core::imp::interface_hierarchy!(IAudioMediaStream, windows_core::IUnknown, IMediaStream); impl IAudioMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> windows_core::Result { @@ -3065,7 +3065,7 @@ pub struct IAudioMediaStream_Vtbl { SetFormat: usize, pub CreateSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioStreamSample, IAudioStreamSample_Vtbl, 0x345fee00_aba5_11d0_8212_00c04fc32c45); +windows_core::imp::define_interface!(IAudioStreamSample, IAudioStreamSample_Vtbl, 0x345fee00_aba5_11d0_8212_00c04fc32c45); windows_core::imp::interface_hierarchy!(IAudioStreamSample, windows_core::IUnknown, IStreamSample); impl IAudioStreamSample { pub unsafe fn GetMediaStream(&self, ppmediastream: *const Option) -> windows_core::Result<()> { @@ -3096,7 +3096,7 @@ pub struct IAudioStreamSample_Vtbl { pub base__: IStreamSample_Vtbl, pub GetAudioData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_AUX, IBDA_AUX_Vtbl, 0x7def4c09_6e66_4567_a819_f0e17f4a81ab); +windows_core::imp::define_interface!(IBDA_AUX, IBDA_AUX_Vtbl, 0x7def4c09_6e66_4567_a819_f0e17f4a81ab); windows_core::imp::interface_hierarchy!(IBDA_AUX, windows_core::IUnknown); impl IBDA_AUX { pub unsafe fn QueryCapabilities(&self) -> windows_core::Result { @@ -3113,7 +3113,7 @@ pub struct IBDA_AUX_Vtbl { pub QueryCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub EnumCapability: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut windows_core::GUID, *mut u32, *mut u32, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_AutoDemodulate, IBDA_AutoDemodulate_Vtbl, 0xddf15b12_bd25_11d2_9ca0_00c04f7971e0); +windows_core::imp::define_interface!(IBDA_AutoDemodulate, IBDA_AutoDemodulate_Vtbl, 0xddf15b12_bd25_11d2_9ca0_00c04f7971e0); windows_core::imp::interface_hierarchy!(IBDA_AutoDemodulate, windows_core::IUnknown); impl IBDA_AutoDemodulate { pub unsafe fn put_AutoDemodulate(&self) -> windows_core::Result<()> { @@ -3125,7 +3125,7 @@ pub struct IBDA_AutoDemodulate_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub put_AutoDemodulate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_AutoDemodulateEx, IBDA_AutoDemodulateEx_Vtbl, 0x34518d13_1182_48e6_b28f_b24987787326); +windows_core::imp::define_interface!(IBDA_AutoDemodulateEx, IBDA_AutoDemodulateEx_Vtbl, 0x34518d13_1182_48e6_b28f_b24987787326); windows_core::imp::interface_hierarchy!(IBDA_AutoDemodulateEx, windows_core::IUnknown, IBDA_AutoDemodulate); impl IBDA_AutoDemodulateEx { pub unsafe fn put_AutoDemodulate(&self) -> windows_core::Result<()> { @@ -3148,7 +3148,7 @@ pub struct IBDA_AutoDemodulateEx_Vtbl { pub get_SupportedVideoFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub get_AuxInputCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_ConditionalAccess, IBDA_ConditionalAccess_Vtbl, 0xcd51f1e0_7be9_4123_8482_a2a796c0a6b0); +windows_core::imp::define_interface!(IBDA_ConditionalAccess, IBDA_ConditionalAccess_Vtbl, 0xcd51f1e0_7be9_4123_8482_a2a796c0a6b0); windows_core::imp::interface_hierarchy!(IBDA_ConditionalAccess, windows_core::IUnknown); impl IBDA_ConditionalAccess { pub unsafe fn get_SmartCardStatus(&self, pcardstatus: *mut SmartCardStatusType, pcardassociation: *mut SmartCardAssociationType, pbstrcarderror: *mut windows_core::BSTR, pfooblocked: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { @@ -3198,7 +3198,7 @@ pub struct IBDA_ConditionalAccess_Vtbl { pub GetModuleUI: unsafe extern "system" fn(*mut core::ffi::c_void, u8, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub InformUIClosed: unsafe extern "system" fn(*mut core::ffi::c_void, u8, UICloseReasonType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_ConditionalAccessEx, IBDA_ConditionalAccessEx_Vtbl, 0x497c3418_23cb_44ba_bb62_769f506fcea7); +windows_core::imp::define_interface!(IBDA_ConditionalAccessEx, IBDA_ConditionalAccessEx_Vtbl, 0x497c3418_23cb_44ba_bb62_769f506fcea7); windows_core::imp::interface_hierarchy!(IBDA_ConditionalAccessEx, windows_core::IUnknown); impl IBDA_ConditionalAccessEx { pub unsafe fn CheckEntitlementToken(&self, uldialogrequest: u32, bstrlanguage: P0, requesttype: BDA_CONDITIONALACCESS_REQUESTTYPE, pbentitlementtoken: &[u8]) -> windows_core::Result @@ -3238,7 +3238,7 @@ pub struct IBDA_ConditionalAccessEx_Vtbl { 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 CreateDialogRequestNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_DRIDRMService, IBDA_DRIDRMService_Vtbl, 0x1f9bc2a5_44a3_4c52_aab1_0bbce5a1381d); +windows_core::imp::define_interface!(IBDA_DRIDRMService, IBDA_DRIDRMService_Vtbl, 0x1f9bc2a5_44a3_4c52_aab1_0bbce5a1381d); windows_core::imp::interface_hierarchy!(IBDA_DRIDRMService, windows_core::IUnknown); impl IBDA_DRIDRMService { pub unsafe fn SetDRM(&self, bstrnewdrm: P0) -> windows_core::Result<()> @@ -3261,7 +3261,7 @@ pub struct IBDA_DRIDRMService_Vtbl { pub GetDRMStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IBDA_DRIWMDRMSession, IBDA_DRIWMDRMSession_Vtbl, 0x05c690f8_56db_4bb2_b053_79c12098bb26); +windows_core::imp::define_interface!(IBDA_DRIWMDRMSession, IBDA_DRIWMDRMSession_Vtbl, 0x05c690f8_56db_4bb2_b053_79c12098bb26); windows_core::imp::interface_hierarchy!(IBDA_DRIWMDRMSession, windows_core::IUnknown); impl IBDA_DRIWMDRMSession { pub unsafe fn AcknowledgeLicense(&self, hrlicenseack: windows_core::HRESULT) -> windows_core::Result<()> { @@ -3297,7 +3297,7 @@ pub struct IBDA_DRIWMDRMSession_Vtbl { pub GetHMSAssociationData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLastCardeaError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_DRM, IBDA_DRM_Vtbl, 0xf98d88b0_1992_4cd6_a6d9_b9afab99330d); +windows_core::imp::define_interface!(IBDA_DRM, IBDA_DRM_Vtbl, 0xf98d88b0_1992_4cd6_a6d9_b9afab99330d); windows_core::imp::interface_hierarchy!(IBDA_DRM, windows_core::IUnknown); impl IBDA_DRM { pub unsafe fn GetDRMPairingStatus(&self, pdwstatus: *mut u32, pherror: *mut windows_core::HRESULT) -> windows_core::Result<()> { @@ -3316,7 +3316,7 @@ pub struct IBDA_DRM_Vtbl { pub GetDRMPairingStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub PerformDRMPairing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_DRMService, IBDA_DRMService_Vtbl, 0xbff6b5bb_b0ae_484c_9dca_73528fb0b46e); +windows_core::imp::define_interface!(IBDA_DRMService, IBDA_DRMService_Vtbl, 0xbff6b5bb_b0ae_484c_9dca_73528fb0b46e); windows_core::imp::interface_hierarchy!(IBDA_DRMService, windows_core::IUnknown); impl IBDA_DRMService { pub unsafe fn SetDRM(&self, puuidnewdrm: *const windows_core::GUID) -> windows_core::Result<()> { @@ -3332,7 +3332,7 @@ pub struct IBDA_DRMService_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, } -windows_core::imp::com_interface!(IBDA_DeviceControl, IBDA_DeviceControl_Vtbl, 0xfd0a5af3_b41d_11d2_9c95_00c04f7971e0); +windows_core::imp::define_interface!(IBDA_DeviceControl, IBDA_DeviceControl_Vtbl, 0xfd0a5af3_b41d_11d2_9c95_00c04f7971e0); windows_core::imp::interface_hierarchy!(IBDA_DeviceControl, windows_core::IUnknown); impl IBDA_DeviceControl { pub unsafe fn StartChanges(&self) -> windows_core::Result<()> { @@ -3357,7 +3357,7 @@ pub struct IBDA_DeviceControl_Vtbl { pub GetChangeState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -windows_core::imp::com_interface!(IBDA_DiagnosticProperties, IBDA_DiagnosticProperties_Vtbl, 0x20e80cb5_c543_4c1b_8eb3_49e719eee7d4); +windows_core::imp::define_interface!(IBDA_DiagnosticProperties, IBDA_DiagnosticProperties_Vtbl, 0x20e80cb5_c543_4c1b_8eb3_49e719eee7d4); #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::interface_hierarchy!(IBDA_DiagnosticProperties, windows_core::IUnknown, super::super::System::Com::StructuredStorage::IPropertyBag); #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -3383,7 +3383,7 @@ impl IBDA_DiagnosticProperties { pub struct IBDA_DiagnosticProperties_Vtbl { pub base__: super::super::System::Com::StructuredStorage::IPropertyBag_Vtbl, } -windows_core::imp::com_interface!(IBDA_DigitalDemodulator, IBDA_DigitalDemodulator_Vtbl, 0xef30f379_985b_4d10_b640_a79d5e04e1e0); +windows_core::imp::define_interface!(IBDA_DigitalDemodulator, IBDA_DigitalDemodulator_Vtbl, 0xef30f379_985b_4d10_b640_a79d5e04e1e0); windows_core::imp::interface_hierarchy!(IBDA_DigitalDemodulator, windows_core::IUnknown); impl IBDA_DigitalDemodulator { pub unsafe fn SetModulationType(&self, pmodulationtype: *const ModulationType) -> windows_core::Result<()> { @@ -3447,7 +3447,7 @@ pub struct IBDA_DigitalDemodulator_Vtbl { pub SetSpectralInversion: unsafe extern "system" fn(*mut core::ffi::c_void, *const SpectralInversion) -> windows_core::HRESULT, pub SpectralInversion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SpectralInversion) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_DigitalDemodulator2, IBDA_DigitalDemodulator2_Vtbl, 0x525ed3ee_5cf3_4e1e_9a06_5368a84f9a6e); +windows_core::imp::define_interface!(IBDA_DigitalDemodulator2, IBDA_DigitalDemodulator2_Vtbl, 0x525ed3ee_5cf3_4e1e_9a06_5368a84f9a6e); windows_core::imp::interface_hierarchy!(IBDA_DigitalDemodulator2, windows_core::IUnknown, IBDA_DigitalDemodulator); impl IBDA_DigitalDemodulator2 { pub unsafe fn SetModulationType(&self, pmodulationtype: *const ModulationType) -> windows_core::Result<()> { @@ -3529,7 +3529,7 @@ pub struct IBDA_DigitalDemodulator2_Vtbl { pub SetPilot: unsafe extern "system" fn(*mut core::ffi::c_void, *const Pilot) -> windows_core::HRESULT, pub Pilot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut Pilot) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_DigitalDemodulator3, IBDA_DigitalDemodulator3_Vtbl, 0x13f19604_7d32_4359_93a2_a05205d90ac9); +windows_core::imp::define_interface!(IBDA_DigitalDemodulator3, IBDA_DigitalDemodulator3_Vtbl, 0x13f19604_7d32_4359_93a2_a05205d90ac9); windows_core::imp::interface_hierarchy!(IBDA_DigitalDemodulator3, windows_core::IUnknown, IBDA_DigitalDemodulator, IBDA_DigitalDemodulator2); impl IBDA_DigitalDemodulator3 { pub unsafe fn SetModulationType(&self, pmodulationtype: *const ModulationType) -> windows_core::Result<()> { @@ -3619,7 +3619,7 @@ pub struct IBDA_DigitalDemodulator3_Vtbl { pub SetPLPNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *const u32) -> windows_core::HRESULT, pub PLPNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_DiseqCommand, IBDA_DiseqCommand_Vtbl, 0xf84e2ab0_3c6b_45e3_a0fc_8669d4b81f11); +windows_core::imp::define_interface!(IBDA_DiseqCommand, IBDA_DiseqCommand_Vtbl, 0xf84e2ab0_3c6b_45e3_a0fc_8669d4b81f11); windows_core::imp::interface_hierarchy!(IBDA_DiseqCommand, windows_core::IUnknown); impl IBDA_DiseqCommand { pub unsafe fn SetEnableDiseqCommands(&self, benable: P0) -> windows_core::Result<()> @@ -3657,7 +3657,7 @@ pub struct IBDA_DiseqCommand_Vtbl { pub put_DiseqSendCommand: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8) -> windows_core::HRESULT, pub get_DiseqResponse: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_EasMessage, IBDA_EasMessage_Vtbl, 0xd806973d_3ebe_46de_8fbb_6358fe784208); +windows_core::imp::define_interface!(IBDA_EasMessage, IBDA_EasMessage_Vtbl, 0xd806973d_3ebe_46de_8fbb_6358fe784208); windows_core::imp::interface_hierarchy!(IBDA_EasMessage, windows_core::IUnknown); impl IBDA_EasMessage { pub unsafe fn get_EasMessage(&self, uleventid: u32, ppeasobject: *mut Option) -> windows_core::Result<()> { @@ -3669,7 +3669,7 @@ pub struct IBDA_EasMessage_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub get_EasMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_Encoder, IBDA_Encoder_Vtbl, 0x3a8bad59_59fe_4559_a0ba_396cfaa98ae3); +windows_core::imp::define_interface!(IBDA_Encoder, IBDA_Encoder_Vtbl, 0x3a8bad59_59fe_4559_a0ba_396cfaa98ae3); windows_core::imp::interface_hierarchy!(IBDA_Encoder, windows_core::IUnknown); impl IBDA_Encoder { pub unsafe fn QueryCapabilities(&self, numaudiofmts: *mut u32, numvideofmts: *mut u32) -> windows_core::Result<()> { @@ -3697,7 +3697,7 @@ pub struct IBDA_Encoder_Vtbl { pub SetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32, u32, u32, u32) -> windows_core::HRESULT, pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u32, *mut u64, *mut super::super::Foundation::BOOL, *mut i32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_EthernetFilter, IBDA_EthernetFilter_Vtbl, 0x71985f43_1ca1_11d3_9cc8_00c04f7971e0); +windows_core::imp::define_interface!(IBDA_EthernetFilter, IBDA_EthernetFilter_Vtbl, 0x71985f43_1ca1_11d3_9cc8_00c04f7971e0); windows_core::imp::interface_hierarchy!(IBDA_EthernetFilter, windows_core::IUnknown); impl IBDA_EthernetFilter { pub unsafe fn GetMulticastListSize(&self, pulcbaddresses: *mut u32) -> windows_core::Result<()> { @@ -3726,7 +3726,7 @@ pub struct IBDA_EthernetFilter_Vtbl { pub PutMulticastMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetMulticastMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_EventingService, IBDA_EventingService_Vtbl, 0x207c413f_00dc_4c61_bad6_6fee1ff07064); +windows_core::imp::define_interface!(IBDA_EventingService, IBDA_EventingService_Vtbl, 0x207c413f_00dc_4c61_bad6_6fee1ff07064); windows_core::imp::interface_hierarchy!(IBDA_EventingService, windows_core::IUnknown); impl IBDA_EventingService { pub unsafe fn CompleteEvent(&self, uleventid: u32, uleventresult: u32) -> windows_core::Result<()> { @@ -3738,7 +3738,7 @@ pub struct IBDA_EventingService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CompleteEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_FDC, IBDA_FDC_Vtbl, 0x138adc7e_58ae_437f_b0b4_c9fe19d5b4ac); +windows_core::imp::define_interface!(IBDA_FDC, IBDA_FDC_Vtbl, 0x138adc7e_58ae_437f_b0b4_c9fe19d5b4ac); windows_core::imp::interface_hierarchy!(IBDA_FDC, windows_core::IUnknown); impl IBDA_FDC { pub unsafe fn GetStatus(&self, currentbitrate: *mut u32, carrierlock: *mut super::super::Foundation::BOOL, currentfrequency: *mut u32, currentspectruminversion: *mut super::super::Foundation::BOOL, currentpidlist: *mut windows_core::BSTR, currenttidlist: *mut windows_core::BSTR, overflow: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -3791,7 +3791,7 @@ pub struct IBDA_FDC_Vtbl { pub RemoveTid: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IBDA_FrequencyFilter, IBDA_FrequencyFilter_Vtbl, 0x71985f47_1ca1_11d3_9cc8_00c04f7971e0); +windows_core::imp::define_interface!(IBDA_FrequencyFilter, IBDA_FrequencyFilter_Vtbl, 0x71985f47_1ca1_11d3_9cc8_00c04f7971e0); windows_core::imp::interface_hierarchy!(IBDA_FrequencyFilter, windows_core::IUnknown); impl IBDA_FrequencyFilter { pub unsafe fn SetAutotune(&self, ultransponder: u32) -> windows_core::Result<()> { @@ -3847,7 +3847,7 @@ pub struct IBDA_FrequencyFilter_Vtbl { pub SetFrequencyMultiplier: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub FrequencyMultiplier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_GuideDataDeliveryService, IBDA_GuideDataDeliveryService_Vtbl, 0xc0afcb73_23e7_4bc6_bafa_fdc167b4719f); +windows_core::imp::define_interface!(IBDA_GuideDataDeliveryService, IBDA_GuideDataDeliveryService_Vtbl, 0xc0afcb73_23e7_4bc6_bafa_fdc167b4719f); windows_core::imp::interface_hierarchy!(IBDA_GuideDataDeliveryService, windows_core::IUnknown); impl IBDA_GuideDataDeliveryService { pub unsafe fn GetGuideDataType(&self) -> windows_core::Result { @@ -3885,7 +3885,7 @@ pub struct IBDA_GuideDataDeliveryService_Vtbl { 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, } -windows_core::imp::com_interface!(IBDA_IPSinkControl, IBDA_IPSinkControl_Vtbl, 0x3f4dc8e2_4050_11d3_8f4b_00c04f7971e2); +windows_core::imp::define_interface!(IBDA_IPSinkControl, IBDA_IPSinkControl_Vtbl, 0x3f4dc8e2_4050_11d3_8f4b_00c04f7971e2); windows_core::imp::interface_hierarchy!(IBDA_IPSinkControl, windows_core::IUnknown); impl IBDA_IPSinkControl { pub unsafe fn GetMulticastList(&self, pulcbsize: *mut u32, pbbuffer: *mut *mut u8) -> windows_core::Result<()> { @@ -3901,7 +3901,7 @@ pub struct IBDA_IPSinkControl_Vtbl { pub GetMulticastList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub GetAdapterIPAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_IPSinkInfo, IBDA_IPSinkInfo_Vtbl, 0xa750108f_492e_4d51_95f7_649b23ff7ad7); +windows_core::imp::define_interface!(IBDA_IPSinkInfo, IBDA_IPSinkInfo_Vtbl, 0xa750108f_492e_4d51_95f7_649b23ff7ad7); windows_core::imp::interface_hierarchy!(IBDA_IPSinkInfo, windows_core::IUnknown); impl IBDA_IPSinkInfo { pub unsafe fn get_MulticastList(&self, pulcbaddresses: *mut u32, ppbaddresslist: *mut *mut u8) -> windows_core::Result<()> { @@ -3923,7 +3923,7 @@ pub struct IBDA_IPSinkInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IBDA_IPV4Filter, IBDA_IPV4Filter_Vtbl, 0x71985f44_1ca1_11d3_9cc8_00c04f7971e0); +windows_core::imp::define_interface!(IBDA_IPV4Filter, IBDA_IPV4Filter_Vtbl, 0x71985f44_1ca1_11d3_9cc8_00c04f7971e0); windows_core::imp::interface_hierarchy!(IBDA_IPV4Filter, windows_core::IUnknown); impl IBDA_IPV4Filter { pub unsafe fn GetMulticastListSize(&self, pulcbaddresses: *mut u32) -> windows_core::Result<()> { @@ -3952,7 +3952,7 @@ pub struct IBDA_IPV4Filter_Vtbl { pub PutMulticastMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetMulticastMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_IPV6Filter, IBDA_IPV6Filter_Vtbl, 0xe1785a74_2a23_4fb3_9245_a8f88017ef33); +windows_core::imp::define_interface!(IBDA_IPV6Filter, IBDA_IPV6Filter_Vtbl, 0xe1785a74_2a23_4fb3_9245_a8f88017ef33); windows_core::imp::interface_hierarchy!(IBDA_IPV6Filter, windows_core::IUnknown); impl IBDA_IPV6Filter { pub unsafe fn GetMulticastListSize(&self, pulcbaddresses: *mut u32) -> windows_core::Result<()> { @@ -3981,7 +3981,7 @@ pub struct IBDA_IPV6Filter_Vtbl { pub PutMulticastMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetMulticastMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_ISDBConditionalAccess, IBDA_ISDBConditionalAccess_Vtbl, 0x5e68c627_16c2_4e6c_b1e2_d00170cdaa0f); +windows_core::imp::define_interface!(IBDA_ISDBConditionalAccess, IBDA_ISDBConditionalAccess_Vtbl, 0x5e68c627_16c2_4e6c_b1e2_d00170cdaa0f); windows_core::imp::interface_hierarchy!(IBDA_ISDBConditionalAccess, windows_core::IUnknown); impl IBDA_ISDBConditionalAccess { pub unsafe fn SetIsdbCasRequest(&self, ulrequestid: u32, pbrequestbuffer: &[u8]) -> windows_core::Result<()> { @@ -3993,7 +3993,7 @@ pub struct IBDA_ISDBConditionalAccess_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetIsdbCasRequest: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_LNBInfo, IBDA_LNBInfo_Vtbl, 0x992cf102_49f9_4719_a664_c4f23e2408f4); +windows_core::imp::define_interface!(IBDA_LNBInfo, IBDA_LNBInfo_Vtbl, 0x992cf102_49f9_4719_a664_c4f23e2408f4); windows_core::imp::interface_hierarchy!(IBDA_LNBInfo, windows_core::IUnknown); impl IBDA_LNBInfo { pub unsafe fn SetLocalOscilatorFrequencyLowBand(&self, ulloflow: u32) -> windows_core::Result<()> { @@ -4025,7 +4025,7 @@ pub struct IBDA_LNBInfo_Vtbl { pub SetHighLowSwitchFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub HighLowSwitchFrequency: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_MUX, IBDA_MUX_Vtbl, 0x942aafec_4c05_4c74_b8eb_8706c2a4943f); +windows_core::imp::define_interface!(IBDA_MUX, IBDA_MUX_Vtbl, 0x942aafec_4c05_4c74_b8eb_8706c2a4943f); windows_core::imp::interface_hierarchy!(IBDA_MUX, windows_core::IUnknown); impl IBDA_MUX { pub unsafe fn SetPidList(&self, pbpidlistbuffer: &[BDA_MUX_PIDLISTITEM]) -> windows_core::Result<()> { @@ -4041,7 +4041,7 @@ pub struct IBDA_MUX_Vtbl { pub SetPidList: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const BDA_MUX_PIDLISTITEM) -> windows_core::HRESULT, pub GetPidList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut BDA_MUX_PIDLISTITEM) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_NameValueService, IBDA_NameValueService_Vtbl, 0x7f0b3150_7b81_4ad4_98e3_7e9097094301); +windows_core::imp::define_interface!(IBDA_NameValueService, IBDA_NameValueService_Vtbl, 0x7f0b3150_7b81_4ad4_98e3_7e9097094301); windows_core::imp::interface_hierarchy!(IBDA_NameValueService, windows_core::IUnknown); impl IBDA_NameValueService { pub unsafe fn GetValueNameByIndex(&self, ulindex: u32) -> windows_core::Result { @@ -4072,7 +4072,7 @@ pub struct IBDA_NameValueService_Vtbl { 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, } -windows_core::imp::com_interface!(IBDA_NetworkProvider, IBDA_NetworkProvider_Vtbl, 0xfd501041_8ebe_11ce_8183_00aa00577da2); +windows_core::imp::define_interface!(IBDA_NetworkProvider, IBDA_NetworkProvider_Vtbl, 0xfd501041_8ebe_11ce_8183_00aa00577da2); windows_core::imp::interface_hierarchy!(IBDA_NetworkProvider, windows_core::IUnknown); impl IBDA_NetworkProvider { pub unsafe fn PutSignalSource(&self, ulsignalsource: u32) -> windows_core::Result<()> { @@ -4111,7 +4111,7 @@ pub struct IBDA_NetworkProvider_Vtbl { pub RegisterDeviceFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UnRegisterDeviceFilter: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_NullTransform, IBDA_NullTransform_Vtbl, 0xddf15b0d_bd25_11d2_9ca0_00c04f7971e0); +windows_core::imp::define_interface!(IBDA_NullTransform, IBDA_NullTransform_Vtbl, 0xddf15b0d_bd25_11d2_9ca0_00c04f7971e0); windows_core::imp::interface_hierarchy!(IBDA_NullTransform, windows_core::IUnknown); impl IBDA_NullTransform { pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -4127,7 +4127,7 @@ pub struct IBDA_NullTransform_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IBDA_PinControl, IBDA_PinControl_Vtbl, 0x0ded49d5_a8b7_4d5d_97a1_12b0c195874d); +windows_core::imp::define_interface!(IBDA_PinControl, IBDA_PinControl_Vtbl, 0x0ded49d5_a8b7_4d5d_97a1_12b0c195874d); windows_core::imp::interface_hierarchy!(IBDA_PinControl, windows_core::IUnknown); impl IBDA_PinControl { pub unsafe fn GetPinID(&self, pulpinid: *mut u32) -> windows_core::Result<()> { @@ -4147,7 +4147,7 @@ pub struct IBDA_PinControl_Vtbl { pub GetPinType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub RegistrationContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_SignalProperties, IBDA_SignalProperties_Vtbl, 0xd2f1644b_b409_11d2_bc69_00a0c9ee9e16); +windows_core::imp::define_interface!(IBDA_SignalProperties, IBDA_SignalProperties_Vtbl, 0xd2f1644b_b409_11d2_bc69_00a0c9ee9e16); windows_core::imp::interface_hierarchy!(IBDA_SignalProperties, windows_core::IUnknown); impl IBDA_SignalProperties { pub unsafe fn PutNetworkType(&self, guidnetworktype: *const windows_core::GUID) -> windows_core::Result<()> { @@ -4179,7 +4179,7 @@ pub struct IBDA_SignalProperties_Vtbl { pub PutTuningSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub GetTuningSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_SignalStatistics, IBDA_SignalStatistics_Vtbl, 0x1347d106_cf3a_428a_a5cb_ac0d9a2a4338); +windows_core::imp::define_interface!(IBDA_SignalStatistics, IBDA_SignalStatistics_Vtbl, 0x1347d106_cf3a_428a_a5cb_ac0d9a2a4338); windows_core::imp::interface_hierarchy!(IBDA_SignalStatistics, windows_core::IUnknown); impl IBDA_SignalStatistics { pub unsafe fn SetSignalStrength(&self, ldbstrength: i32) -> windows_core::Result<()> { @@ -4233,7 +4233,7 @@ pub struct IBDA_SignalStatistics_Vtbl { pub SetSampleTime: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SampleTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_Topology, IBDA_Topology_Vtbl, 0x79b56888_7fea_4690_b45d_38fd3c7849be); +windows_core::imp::define_interface!(IBDA_Topology, IBDA_Topology_Vtbl, 0x79b56888_7fea_4690_b45d_38fd3c7849be); windows_core::imp::interface_hierarchy!(IBDA_Topology, windows_core::IUnknown); impl IBDA_Topology { pub unsafe fn GetNodeTypes(&self, pulcnodetypes: *mut u32, rgulnodetypes: &mut [u32]) -> windows_core::Result<()> { @@ -4289,7 +4289,7 @@ pub struct IBDA_Topology_Vtbl { pub CreateTopology: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub GetControlNode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_TransportStreamInfo, IBDA_TransportStreamInfo_Vtbl, 0x8e882535_5f86_47ab_86cf_c281a72a0549); +windows_core::imp::define_interface!(IBDA_TransportStreamInfo, IBDA_TransportStreamInfo_Vtbl, 0x8e882535_5f86_47ab_86cf_c281a72a0549); windows_core::imp::interface_hierarchy!(IBDA_TransportStreamInfo, windows_core::IUnknown); impl IBDA_TransportStreamInfo { pub unsafe fn PatTableTickCount(&self) -> windows_core::Result { @@ -4302,7 +4302,7 @@ pub struct IBDA_TransportStreamInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub PatTableTickCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_TransportStreamSelector, IBDA_TransportStreamSelector_Vtbl, 0x1dcfafe9_b45e_41b3_bb2a_561eb129ae98); +windows_core::imp::define_interface!(IBDA_TransportStreamSelector, IBDA_TransportStreamSelector_Vtbl, 0x1dcfafe9_b45e_41b3_bb2a_561eb129ae98); windows_core::imp::interface_hierarchy!(IBDA_TransportStreamSelector, windows_core::IUnknown); impl IBDA_TransportStreamSelector { pub unsafe fn SetTSID(&self, ustsid: u16) -> windows_core::Result<()> { @@ -4318,7 +4318,7 @@ pub struct IBDA_TransportStreamSelector_Vtbl { pub SetTSID: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, pub GetTSInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_UserActivityService, IBDA_UserActivityService_Vtbl, 0x53b14189_e478_4b7a_a1ff_506db4b99dfe); +windows_core::imp::define_interface!(IBDA_UserActivityService, IBDA_UserActivityService_Vtbl, 0x53b14189_e478_4b7a_a1ff_506db4b99dfe); windows_core::imp::interface_hierarchy!(IBDA_UserActivityService, windows_core::IUnknown); impl IBDA_UserActivityService { pub unsafe fn SetCurrentTunerUseReason(&self, dwusereason: u32) -> windows_core::Result<()> { @@ -4339,7 +4339,7 @@ pub struct IBDA_UserActivityService_Vtbl { pub GetUserActivityInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UserActivityDetected: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_VoidTransform, IBDA_VoidTransform_Vtbl, 0x71985f46_1ca1_11d3_9cc8_00c04f7971e0); +windows_core::imp::define_interface!(IBDA_VoidTransform, IBDA_VoidTransform_Vtbl, 0x71985f46_1ca1_11d3_9cc8_00c04f7971e0); windows_core::imp::interface_hierarchy!(IBDA_VoidTransform, windows_core::IUnknown); impl IBDA_VoidTransform { pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -4355,7 +4355,7 @@ pub struct IBDA_VoidTransform_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IBDA_WMDRMSession, IBDA_WMDRMSession_Vtbl, 0x4be6fa3d_07cd_4139_8b80_8c18ba3aec88); +windows_core::imp::define_interface!(IBDA_WMDRMSession, IBDA_WMDRMSession_Vtbl, 0x4be6fa3d_07cd_4139_8b80_8c18ba3aec88); windows_core::imp::interface_hierarchy!(IBDA_WMDRMSession, windows_core::IUnknown); impl IBDA_WMDRMSession { pub unsafe fn GetStatus(&self, maxcapturetoken: *mut u32, maxstreamingpid: *mut u32, maxlicense: *mut u32, minsecuritylevel: *mut u32, revinfosequencenumber: *mut u32, revinfoissuedtime: *mut u64, revinfottl: *mut u32, revlistversion: *mut u32, ulstate: *mut u32) -> windows_core::Result<()> { @@ -4395,7 +4395,7 @@ pub struct IBDA_WMDRMSession_Vtbl { pub RenewLicense: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *const u8, *mut u32, *mut u32, *mut u8) -> windows_core::HRESULT, pub GetKeyInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBDA_WMDRMTuner, IBDA_WMDRMTuner_Vtbl, 0x86d979cf_a8a7_4f94_b5fb_14c0aca68fe6); +windows_core::imp::define_interface!(IBDA_WMDRMTuner, IBDA_WMDRMTuner_Vtbl, 0x86d979cf_a8a7_4f94_b5fb_14c0aca68fe6); windows_core::imp::interface_hierarchy!(IBDA_WMDRMTuner, windows_core::IUnknown); impl IBDA_WMDRMTuner { pub unsafe fn PurchaseEntitlement(&self, uldialogrequest: u32, bstrlanguage: P0, pbpurchasetoken: &[u8], puldescramblestatus: *mut u32, pulcapturetokenlen: *mut u32, pbcapturetoken: *mut u8) -> windows_core::Result<()> @@ -4431,7 +4431,7 @@ pub struct IBDA_WMDRMTuner_Vtbl { pub SetSyncValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetStartCodeProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBPCSatelliteTuner, IBPCSatelliteTuner_Vtbl, 0x211a8765_03ac_11d1_8d13_00aa00bd8339); +windows_core::imp::define_interface!(IBPCSatelliteTuner, IBPCSatelliteTuner_Vtbl, 0x211a8765_03ac_11d1_8d13_00aa00bd8339); windows_core::imp::interface_hierarchy!(IBPCSatelliteTuner, windows_core::IUnknown, IAMTuner); impl IBPCSatelliteTuner { pub unsafe fn put_Channel(&self, lchannel: i32, lvideosubchannel: i32, laudiosubchannel: i32) -> windows_core::Result<()> { @@ -4511,7 +4511,7 @@ pub struct IBPCSatelliteTuner_Vtbl { pub IsTapingPermitted: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IBaseFilter, IBaseFilter_Vtbl, 0x56a86895_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IBaseFilter, IBaseFilter_Vtbl, 0x56a86895_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBaseFilter, windows_core::IUnknown, super::super::System::Com::IPersist, IMediaFilter); #[cfg(feature = "Win32_System_Com")] @@ -4580,7 +4580,7 @@ pub struct IBaseFilter_Vtbl { pub JoinFilterGraph: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub QueryVendorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBaseVideoMixer, IBaseVideoMixer_Vtbl, 0x61ded640_e912_11ce_a099_00aa00479a58); +windows_core::imp::define_interface!(IBaseVideoMixer, IBaseVideoMixer_Vtbl, 0x61ded640_e912_11ce_a099_00aa00479a58); windows_core::imp::interface_hierarchy!(IBaseVideoMixer, windows_core::IUnknown); impl IBaseVideoMixer { pub unsafe fn SetLeadPin(&self, ipin: i32) -> windows_core::Result<()> { @@ -4621,7 +4621,7 @@ pub struct IBaseVideoMixer_Vtbl { pub SetClockPeriod: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IBasicAudio, IBasicAudio_Vtbl, 0x56a868b3_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IBasicAudio, IBasicAudio_Vtbl, 0x56a868b3_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBasicAudio, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4651,7 +4651,7 @@ pub struct IBasicAudio_Vtbl { pub Balance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IBasicVideo, IBasicVideo_Vtbl, 0x56a868b5_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IBasicVideo, IBasicVideo_Vtbl, 0x56a868b5_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBasicVideo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4804,7 +4804,7 @@ pub struct IBasicVideo_Vtbl { pub IsUsingDefaultDestination: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IBasicVideo2, IBasicVideo2_Vtbl, 0x329bb360_f6ea_11d1_9038_00a0c9697298); +windows_core::imp::define_interface!(IBasicVideo2, IBasicVideo2_Vtbl, 0x329bb360_f6ea_11d1_9038_00a0c9697298); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBasicVideo2, windows_core::IUnknown, super::super::System::Com::IDispatch, IBasicVideo); #[cfg(feature = "Win32_System_Com")] @@ -4928,7 +4928,7 @@ pub struct IBasicVideo2_Vtbl { pub base__: IBasicVideo_Vtbl, pub GetPreferredAspectRatio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBroadcastEvent, IBroadcastEvent_Vtbl, 0x3b21263f_26e8_489d_aac4_924f7efd9511); +windows_core::imp::define_interface!(IBroadcastEvent, IBroadcastEvent_Vtbl, 0x3b21263f_26e8_489d_aac4_924f7efd9511); windows_core::imp::interface_hierarchy!(IBroadcastEvent, windows_core::IUnknown); impl IBroadcastEvent { pub unsafe fn Fire(&self, eventid: windows_core::GUID) -> windows_core::Result<()> { @@ -4940,7 +4940,7 @@ pub struct IBroadcastEvent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Fire: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBroadcastEventEx, IBroadcastEventEx_Vtbl, 0x3d9e3887_1929_423f_8021_43682de95448); +windows_core::imp::define_interface!(IBroadcastEventEx, IBroadcastEventEx_Vtbl, 0x3d9e3887_1929_423f_8021_43682de95448); windows_core::imp::interface_hierarchy!(IBroadcastEventEx, windows_core::IUnknown, IBroadcastEvent); impl IBroadcastEventEx { pub unsafe fn Fire(&self, eventid: windows_core::GUID) -> windows_core::Result<()> { @@ -4955,7 +4955,7 @@ pub struct IBroadcastEventEx_Vtbl { pub base__: IBroadcastEvent_Vtbl, pub FireEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32, u32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBufferingTime, IBufferingTime_Vtbl, 0x1e00486a_78dd_11d2_8dd3_006097c9a2b2); +windows_core::imp::define_interface!(IBufferingTime, IBufferingTime_Vtbl, 0x1e00486a_78dd_11d2_8dd3_006097c9a2b2); windows_core::imp::interface_hierarchy!(IBufferingTime, windows_core::IUnknown); impl IBufferingTime { pub unsafe fn GetBufferingTime(&self, pdwmilliseconds: *mut u32) -> windows_core::Result<()> { @@ -4971,7 +4971,7 @@ pub struct IBufferingTime_Vtbl { pub GetBufferingTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetBufferingTime: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICCSubStreamFiltering, ICCSubStreamFiltering_Vtbl, 0x4b2bd7ea_8347_467b_8dbf_62f784929cc3); +windows_core::imp::define_interface!(ICCSubStreamFiltering, ICCSubStreamFiltering_Vtbl, 0x4b2bd7ea_8347_467b_8dbf_62f784929cc3); windows_core::imp::interface_hierarchy!(ICCSubStreamFiltering, windows_core::IUnknown); impl ICCSubStreamFiltering { pub unsafe fn SubstreamTypes(&self) -> windows_core::Result { @@ -4988,7 +4988,7 @@ pub struct ICCSubStreamFiltering_Vtbl { pub SubstreamTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetSubstreamTypes: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICameraControl, ICameraControl_Vtbl, 0x2ba1785d_4d1b_44ef_85e8_c7f1d3f20184); +windows_core::imp::define_interface!(ICameraControl, ICameraControl_Vtbl, 0x2ba1785d_4d1b_44ef_85e8_c7f1d3f20184); windows_core::imp::interface_hierarchy!(ICameraControl, windows_core::IUnknown); impl ICameraControl { pub unsafe fn get_Exposure(&self, pvalue: *mut i32, pflags: *mut i32) -> windows_core::Result<()> { @@ -5200,7 +5200,7 @@ pub struct ICameraControl_Vtbl { pub get_PrivacyMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, pub put_PrivacyMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICaptureGraphBuilder, ICaptureGraphBuilder_Vtbl, 0xbf87b6e0_8c27_11d0_b3f0_00aa003761c5); +windows_core::imp::define_interface!(ICaptureGraphBuilder, ICaptureGraphBuilder_Vtbl, 0xbf87b6e0_8c27_11d0_b3f0_00aa003761c5); windows_core::imp::interface_hierarchy!(ICaptureGraphBuilder, windows_core::IUnknown); impl ICaptureGraphBuilder { pub unsafe fn SetFiltergraph(&self, pfg: P0) -> windows_core::Result<()> @@ -5282,7 +5282,7 @@ pub struct ICaptureGraphBuilder_Vtbl { pub AllocCapFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u64) -> windows_core::HRESULT, pub CopyCaptureFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICaptureGraphBuilder2, ICaptureGraphBuilder2_Vtbl, 0x93e5a4e0_2d50_11d2_abfa_00a0c9c6e38d); +windows_core::imp::define_interface!(ICaptureGraphBuilder2, ICaptureGraphBuilder2_Vtbl, 0x93e5a4e0_2d50_11d2_abfa_00a0c9c6e38d); windows_core::imp::interface_hierarchy!(ICaptureGraphBuilder2, windows_core::IUnknown); impl ICaptureGraphBuilder2 { pub unsafe fn SetFiltergraph(&self, pfg: P0) -> windows_core::Result<()> @@ -5373,7 +5373,7 @@ pub struct ICaptureGraphBuilder2_Vtbl { pub CopyCaptureFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub FindPin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, PIN_DIRECTION, *const windows_core::GUID, *const windows_core::GUID, super::super::Foundation::BOOL, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConfigAsfWriter, IConfigAsfWriter_Vtbl, 0x45086030_f7e4_486a_b504_826bb5792a3b); +windows_core::imp::define_interface!(IConfigAsfWriter, IConfigAsfWriter_Vtbl, 0x45086030_f7e4_486a_b504_826bb5792a3b); windows_core::imp::interface_hierarchy!(IConfigAsfWriter, windows_core::IUnknown); impl IConfigAsfWriter { pub unsafe fn ConfigureFilterUsingProfileId(&self, dwprofileid: u32) -> windows_core::Result<()> { @@ -5431,7 +5431,7 @@ pub struct IConfigAsfWriter_Vtbl { pub SetIndexMode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetIndexMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConfigAsfWriter2, IConfigAsfWriter2_Vtbl, 0x7989ccaa_53f0_44f0_884a_f3b03f6ae066); +windows_core::imp::define_interface!(IConfigAsfWriter2, IConfigAsfWriter2_Vtbl, 0x7989ccaa_53f0_44f0_884a_f3b03f6ae066); windows_core::imp::interface_hierarchy!(IConfigAsfWriter2, windows_core::IUnknown, IConfigAsfWriter); impl IConfigAsfWriter2 { pub unsafe fn ConfigureFilterUsingProfileId(&self, dwprofileid: u32) -> windows_core::Result<()> { @@ -5495,7 +5495,7 @@ pub struct IConfigAsfWriter2_Vtbl { pub GetParam: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32) -> windows_core::HRESULT, pub ResetMultiPassState: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConfigAviMux, IConfigAviMux_Vtbl, 0x5acd6aa0_f482_11ce_8b67_00aa00a3f1a6); +windows_core::imp::define_interface!(IConfigAviMux, IConfigAviMux_Vtbl, 0x5acd6aa0_f482_11ce_8b67_00aa00a3f1a6); windows_core::imp::interface_hierarchy!(IConfigAviMux, windows_core::IUnknown); impl IConfigAviMux { pub unsafe fn SetMasterStream(&self, istream: i32) -> windows_core::Result<()> { @@ -5524,7 +5524,7 @@ pub struct IConfigAviMux_Vtbl { pub SetOutputCompatibilityIndex: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetOutputCompatibilityIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConfigInterleaving, IConfigInterleaving_Vtbl, 0xbee3d220_157b_11d0_bd23_00a0c911ce86); +windows_core::imp::define_interface!(IConfigInterleaving, IConfigInterleaving_Vtbl, 0xbee3d220_157b_11d0_bd23_00a0c911ce86); windows_core::imp::interface_hierarchy!(IConfigInterleaving, windows_core::IUnknown); impl IConfigInterleaving { pub unsafe fn SetMode(&self, mode: InterleavingMode) -> windows_core::Result<()> { @@ -5549,7 +5549,7 @@ pub struct IConfigInterleaving_Vtbl { pub put_Interleaving: unsafe extern "system" fn(*mut core::ffi::c_void, *const i64, *const i64) -> windows_core::HRESULT, pub get_Interleaving: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateDevEnum, ICreateDevEnum_Vtbl, 0x29840822_5b84_11d0_bd3b_00a0c911ce86); +windows_core::imp::define_interface!(ICreateDevEnum, ICreateDevEnum_Vtbl, 0x29840822_5b84_11d0_bd3b_00a0c911ce86); windows_core::imp::interface_hierarchy!(ICreateDevEnum, windows_core::IUnknown); impl ICreateDevEnum { #[cfg(feature = "Win32_System_Com")] @@ -5565,7 +5565,7 @@ pub struct ICreateDevEnum_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateClassEnumerator: usize, } -windows_core::imp::com_interface!(IDDrawExclModeVideo, IDDrawExclModeVideo_Vtbl, 0x153acc21_d83b_11d1_82bf_00a0c9696c8f); +windows_core::imp::define_interface!(IDDrawExclModeVideo, IDDrawExclModeVideo_Vtbl, 0x153acc21_d83b_11d1_82bf_00a0c9696c8f); windows_core::imp::interface_hierarchy!(IDDrawExclModeVideo, windows_core::IUnknown); impl IDDrawExclModeVideo { #[cfg(feature = "Win32_Graphics_DirectDraw")] @@ -5626,7 +5626,7 @@ pub struct IDDrawExclModeVideo_Vtbl { pub GetNativeVideoProps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, pub SetCallbackInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDDrawExclModeVideoCallback, IDDrawExclModeVideoCallback_Vtbl, 0x913c24a0_20ab_11d2_9038_00a0c9697298); +windows_core::imp::define_interface!(IDDrawExclModeVideoCallback, IDDrawExclModeVideoCallback_Vtbl, 0x913c24a0_20ab_11d2_9038_00a0c9697298); windows_core::imp::interface_hierarchy!(IDDrawExclModeVideoCallback, windows_core::IUnknown); impl IDDrawExclModeVideoCallback { pub unsafe fn OnUpdateOverlay(&self, bbefore: P0, dwflags: u32, boldvisible: P1, prcoldsrc: *const super::super::Foundation::RECT, prcolddest: *const super::super::Foundation::RECT, bnewvisible: P2, prcnewsrc: *const super::super::Foundation::RECT, prcnewdest: *const super::super::Foundation::RECT) -> windows_core::Result<()> @@ -5651,7 +5651,7 @@ pub struct IDDrawExclModeVideoCallback_Vtbl { pub OnUpdateColorKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const COLORKEY, u32) -> windows_core::HRESULT, pub OnUpdateSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDMOWrapperFilter, IDMOWrapperFilter_Vtbl, 0x52d6f586_9f0f_4824_8fc8_e32ca04930c2); +windows_core::imp::define_interface!(IDMOWrapperFilter, IDMOWrapperFilter_Vtbl, 0x52d6f586_9f0f_4824_8fc8_e32ca04930c2); windows_core::imp::interface_hierarchy!(IDMOWrapperFilter, windows_core::IUnknown); impl IDMOWrapperFilter { pub unsafe fn Init(&self, clsiddmo: *const windows_core::GUID, catdmo: *const windows_core::GUID) -> windows_core::Result<()> { @@ -5663,7 +5663,7 @@ pub struct IDMOWrapperFilter_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDShowPlugin, IDShowPlugin_Vtbl, 0x4746b7c8_700e_11d1_becc_00c04fb6e937); +windows_core::imp::define_interface!(IDShowPlugin, IDShowPlugin_Vtbl, 0x4746b7c8_700e_11d1_becc_00c04fb6e937); windows_core::imp::interface_hierarchy!(IDShowPlugin, windows_core::IUnknown); impl IDShowPlugin { pub unsafe fn URL(&self, purl: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -5679,7 +5679,7 @@ pub struct IDShowPlugin_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, } -windows_core::imp::com_interface!(IDVEnc, IDVEnc_Vtbl, 0xd18e17a0_aacb_11d0_afb0_00aa00b67a42); +windows_core::imp::define_interface!(IDVEnc, IDVEnc_Vtbl, 0xd18e17a0_aacb_11d0_afb0_00aa00b67a42); windows_core::imp::interface_hierarchy!(IDVEnc, windows_core::IUnknown); impl IDVEnc { pub unsafe fn get_IFormatResolution(&self, videoformat: *mut i32, dvformat: *mut i32, resolution: *mut i32, fdvinfo: u8, sdvinfo: *mut DVINFO) -> windows_core::Result<()> { @@ -5695,7 +5695,7 @@ pub struct IDVEnc_Vtbl { pub get_IFormatResolution: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32, u8, *mut DVINFO) -> windows_core::HRESULT, pub put_IFormatResolution: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, u8, *const DVINFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVRGB219, IDVRGB219_Vtbl, 0x58473a19_2bc8_4663_8012_25f81babddd1); +windows_core::imp::define_interface!(IDVRGB219, IDVRGB219_Vtbl, 0x58473a19_2bc8_4663_8012_25f81babddd1); windows_core::imp::interface_hierarchy!(IDVRGB219, windows_core::IUnknown); impl IDVRGB219 { pub unsafe fn SetRGB219(&self, bstate: P0) -> windows_core::Result<()> @@ -5710,7 +5710,7 @@ pub struct IDVRGB219_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetRGB219: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDVSplitter, IDVSplitter_Vtbl, 0x92a3a302_da7c_4a1f_ba7e_1802bb5d2d02); +windows_core::imp::define_interface!(IDVSplitter, IDVSplitter_Vtbl, 0x92a3a302_da7c_4a1f_ba7e_1802bb5d2d02); windows_core::imp::interface_hierarchy!(IDVSplitter, windows_core::IUnknown); impl IDVSplitter { pub unsafe fn DiscardAlternateVideoFrames(&self, ndiscard: i32) -> windows_core::Result<()> { @@ -5722,7 +5722,7 @@ pub struct IDVSplitter_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DiscardAlternateVideoFrames: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDecimateVideoImage, IDecimateVideoImage_Vtbl, 0x2e5ea3e0_e924_11d2_b6da_00a0c995e8df); +windows_core::imp::define_interface!(IDecimateVideoImage, IDecimateVideoImage_Vtbl, 0x2e5ea3e0_e924_11d2_b6da_00a0c995e8df); windows_core::imp::interface_hierarchy!(IDecimateVideoImage, windows_core::IUnknown); impl IDecimateVideoImage { pub unsafe fn SetDecimationImageSize(&self, lwidth: i32, lheight: i32) -> windows_core::Result<()> { @@ -5738,7 +5738,7 @@ pub struct IDecimateVideoImage_Vtbl { pub SetDecimationImageSize: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub ResetDecimationImageSize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeferredCommand, IDeferredCommand_Vtbl, 0x56a868b8_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IDeferredCommand, IDeferredCommand_Vtbl, 0x56a868b8_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IDeferredCommand, windows_core::IUnknown); impl IDeferredCommand { pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -5764,7 +5764,7 @@ pub struct IDeferredCommand_Vtbl { pub Postpone: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub GetHResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawMediaSample, IDirectDrawMediaSample_Vtbl, 0xab6b4afe_f6e4_11d0_900d_00c04fd9189d); +windows_core::imp::define_interface!(IDirectDrawMediaSample, IDirectDrawMediaSample_Vtbl, 0xab6b4afe_f6e4_11d0_900d_00c04fd9189d); windows_core::imp::interface_hierarchy!(IDirectDrawMediaSample, windows_core::IUnknown); impl IDirectDrawMediaSample { #[cfg(feature = "Win32_Graphics_DirectDraw")] @@ -5784,7 +5784,7 @@ pub struct IDirectDrawMediaSample_Vtbl { GetSurfaceAndReleaseLock: usize, pub LockMediaSamplePointer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawMediaSampleAllocator, IDirectDrawMediaSampleAllocator_Vtbl, 0xab6b4afc_f6e4_11d0_900d_00c04fd9189d); +windows_core::imp::define_interface!(IDirectDrawMediaSampleAllocator, IDirectDrawMediaSampleAllocator_Vtbl, 0xab6b4afc_f6e4_11d0_900d_00c04fd9189d); windows_core::imp::interface_hierarchy!(IDirectDrawMediaSampleAllocator, windows_core::IUnknown); impl IDirectDrawMediaSampleAllocator { #[cfg(feature = "Win32_Graphics_DirectDraw")] @@ -5801,7 +5801,7 @@ pub struct IDirectDrawMediaSampleAllocator_Vtbl { #[cfg(not(feature = "Win32_Graphics_DirectDraw"))] GetDirectDraw: usize, } -windows_core::imp::com_interface!(IDirectDrawMediaStream, IDirectDrawMediaStream_Vtbl, 0xf4104fce_9a70_11d0_8fde_00c04fd9189d); +windows_core::imp::define_interface!(IDirectDrawMediaStream, IDirectDrawMediaStream_Vtbl, 0xf4104fce_9a70_11d0_8fde_00c04fd9189d); windows_core::imp::interface_hierarchy!(IDirectDrawMediaStream, windows_core::IUnknown, IMediaStream); impl IDirectDrawMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> windows_core::Result { @@ -5892,7 +5892,7 @@ pub struct IDirectDrawMediaStream_Vtbl { CreateSample: usize, pub GetTimePerFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawStreamSample, IDirectDrawStreamSample_Vtbl, 0xf4104fcf_9a70_11d0_8fde_00c04fd9189d); +windows_core::imp::define_interface!(IDirectDrawStreamSample, IDirectDrawStreamSample_Vtbl, 0xf4104fcf_9a70_11d0_8fde_00c04fd9189d); windows_core::imp::interface_hierarchy!(IDirectDrawStreamSample, windows_core::IUnknown, IStreamSample); impl IDirectDrawStreamSample { pub unsafe fn GetMediaStream(&self, ppmediastream: *const Option) -> windows_core::Result<()> { @@ -5930,7 +5930,7 @@ pub struct IDirectDrawStreamSample_Vtbl { GetSurface: usize, pub SetRect: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectDrawVideo, IDirectDrawVideo_Vtbl, 0x36d39eb0_dd75_11ce_bf0e_00aa0055595a); +windows_core::imp::define_interface!(IDirectDrawVideo, IDirectDrawVideo_Vtbl, 0x36d39eb0_dd75_11ce_bf0e_00aa0055595a); windows_core::imp::interface_hierarchy!(IDirectDrawVideo, windows_core::IUnknown); impl IDirectDrawVideo { pub unsafe fn GetSwitches(&self) -> windows_core::Result { @@ -6031,7 +6031,7 @@ pub struct IDirectDrawVideo_Vtbl { pub UseWhenFullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub WillUseFullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDistributorNotify, IDistributorNotify_Vtbl, 0x56a868af_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IDistributorNotify, IDistributorNotify_Vtbl, 0x56a868af_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IDistributorNotify, windows_core::IUnknown); impl IDistributorNotify { pub unsafe fn Stop(&self) -> windows_core::Result<()> { @@ -6062,7 +6062,7 @@ pub struct IDistributorNotify_Vtbl { pub SetSyncSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyGraphChange: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDrawVideoImage, IDrawVideoImage_Vtbl, 0x48efb120_ab49_11d2_aed2_00a0c995e8d5); +windows_core::imp::define_interface!(IDrawVideoImage, IDrawVideoImage_Vtbl, 0x48efb120_ab49_11d2_aed2_00a0c995e8d5); windows_core::imp::interface_hierarchy!(IDrawVideoImage, windows_core::IUnknown); impl IDrawVideoImage { pub unsafe fn DrawVideoImageBegin(&self) -> windows_core::Result<()> { @@ -6089,7 +6089,7 @@ pub struct IDrawVideoImage_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] DrawVideoImageDraw: usize, } -windows_core::imp::com_interface!(IDvdCmd, IDvdCmd_Vtbl, 0x5a4a97e4_94ee_4a55_9751_74b5643aa27d); +windows_core::imp::define_interface!(IDvdCmd, IDvdCmd_Vtbl, 0x5a4a97e4_94ee_4a55_9751_74b5643aa27d); windows_core::imp::interface_hierarchy!(IDvdCmd, windows_core::IUnknown); impl IDvdCmd { pub unsafe fn WaitForStart(&self) -> windows_core::Result<()> { @@ -6105,7 +6105,7 @@ pub struct IDvdCmd_Vtbl { pub WaitForStart: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub WaitForEnd: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvdControl, IDvdControl_Vtbl, 0xa70efe61_e2a3_11d0_a9be_00aa0061be93); +windows_core::imp::define_interface!(IDvdControl, IDvdControl_Vtbl, 0xa70efe61_e2a3_11d0_a9be_00aa0061be93); windows_core::imp::interface_hierarchy!(IDvdControl, windows_core::IUnknown); impl IDvdControl { pub unsafe fn TitlePlay(&self, ultitle: u32) -> windows_core::Result<()> { @@ -6259,7 +6259,7 @@ pub struct IDvdControl_Vtbl { pub MouseSelect: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::POINT) -> windows_core::HRESULT, pub ChapterPlayAutoStop: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvdControl2, IDvdControl2_Vtbl, 0x33bc7430_eec0_11d2_8201_00a0c9d74842); +windows_core::imp::define_interface!(IDvdControl2, IDvdControl2_Vtbl, 0x33bc7430_eec0_11d2_8201_00a0c9d74842); windows_core::imp::interface_hierarchy!(IDvdControl2, windows_core::IUnknown); impl IDvdControl2 { pub unsafe fn PlayTitle(&self, ultitle: u32, dwflags: u32) -> windows_core::Result { @@ -6466,7 +6466,7 @@ pub struct IDvdControl2_Vtbl { pub SelectDefaultAudioLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, DVD_AUDIO_LANG_EXT) -> windows_core::HRESULT, pub SelectDefaultSubpictureLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, DVD_SUBPICTURE_LANG_EXT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvdGraphBuilder, IDvdGraphBuilder_Vtbl, 0xfcc152b6_f372_11d0_8e00_00c04fd7c08b); +windows_core::imp::define_interface!(IDvdGraphBuilder, IDvdGraphBuilder_Vtbl, 0xfcc152b6_f372_11d0_8e00_00c04fd7c08b); windows_core::imp::interface_hierarchy!(IDvdGraphBuilder, windows_core::IUnknown); impl IDvdGraphBuilder { pub unsafe fn GetFiltergraph(&self) -> windows_core::Result { @@ -6490,7 +6490,7 @@ pub struct IDvdGraphBuilder_Vtbl { pub GetDvdInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RenderDvdVideoVolume: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut AM_DVD_RENDERSTATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvdInfo, IDvdInfo_Vtbl, 0xa70efe60_e2a3_11d0_a9be_00aa0061be93); +windows_core::imp::define_interface!(IDvdInfo, IDvdInfo_Vtbl, 0xa70efe60_e2a3_11d0_a9be_00aa0061be93); windows_core::imp::interface_hierarchy!(IDvdInfo, windows_core::IUnknown); impl IDvdInfo { pub unsafe fn GetCurrentDomain(&self) -> windows_core::Result { @@ -6603,7 +6603,7 @@ pub struct IDvdInfo_Vtbl { pub GetTitleParentalLevels: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetRoot: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvdInfo2, IDvdInfo2_Vtbl, 0x34151510_eec0_11d2_8201_00a0c9d74842); +windows_core::imp::define_interface!(IDvdInfo2, IDvdInfo2_Vtbl, 0x34151510_eec0_11d2_8201_00a0c9d74842); windows_core::imp::interface_hierarchy!(IDvdInfo2, windows_core::IUnknown); impl IDvdInfo2 { pub unsafe fn GetCurrentDomain(&self) -> windows_core::Result { @@ -6789,7 +6789,7 @@ pub struct IDvdInfo2_Vtbl { pub GetButtonRect: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, pub IsSubpictureStreamEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDvdState, IDvdState_Vtbl, 0x86303d6d_1c4a_4087_ab42_f711167048ef); +windows_core::imp::define_interface!(IDvdState, IDvdState_Vtbl, 0x86303d6d_1c4a_4087_ab42_f711167048ef); windows_core::imp::interface_hierarchy!(IDvdState, windows_core::IUnknown); impl IDvdState { pub unsafe fn GetDiscID(&self) -> windows_core::Result { @@ -6807,7 +6807,7 @@ pub struct IDvdState_Vtbl { pub GetDiscID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub GetParentalLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESEvent, IESEvent_Vtbl, 0x1f0e5357_af43_44e6_8547_654c645145d2); +windows_core::imp::define_interface!(IESEvent, IESEvent_Vtbl, 0x1f0e5357_af43_44e6_8547_654c645145d2); windows_core::imp::interface_hierarchy!(IESEvent, windows_core::IUnknown); impl IESEvent { pub unsafe fn GetEventId(&self) -> windows_core::Result { @@ -6843,7 +6843,7 @@ pub struct IESEvent_Vtbl { GetData: usize, pub GetStringData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IESEvents, IESEvents_Vtbl, 0xabd414bf_cfe5_4e5e_af5b_4b4e49c5bfeb); +windows_core::imp::define_interface!(IESEvents, IESEvents_Vtbl, 0xabd414bf_cfe5_4e5e_af5b_4b4e49c5bfeb); windows_core::imp::interface_hierarchy!(IESEvents, windows_core::IUnknown); impl IESEvents { pub unsafe fn OnESEventReceived(&self, guideventtype: windows_core::GUID, pesevent: P0) -> windows_core::Result<()> @@ -6858,7 +6858,7 @@ pub struct IESEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnESEventReceived: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEncoderAPI, IEncoderAPI_Vtbl, 0x70423839_6acc_4b23_b079_21dbf08156a5); +windows_core::imp::define_interface!(IEncoderAPI, IEncoderAPI_Vtbl, 0x70423839_6acc_4b23_b079_21dbf08156a5); windows_core::imp::interface_hierarchy!(IEncoderAPI, windows_core::IUnknown); impl IEncoderAPI { pub unsafe fn IsSupported(&self, api: *const windows_core::GUID) -> windows_core::Result<()> { @@ -6896,7 +6896,7 @@ pub struct IEncoderAPI_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumFilters, IEnumFilters_Vtbl, 0x56a86893_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IEnumFilters, IEnumFilters_Vtbl, 0x56a86893_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IEnumFilters, windows_core::IUnknown); impl IEnumFilters { #[cfg(feature = "Win32_System_Com")] @@ -6925,7 +6925,7 @@ pub struct IEnumFilters_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumMediaTypes, IEnumMediaTypes_Vtbl, 0x89c31040_846b_11ce_97d3_00aa0055595a); +windows_core::imp::define_interface!(IEnumMediaTypes, IEnumMediaTypes_Vtbl, 0x89c31040_846b_11ce_97d3_00aa0055595a); windows_core::imp::interface_hierarchy!(IEnumMediaTypes, windows_core::IUnknown); impl IEnumMediaTypes { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -6954,7 +6954,7 @@ pub struct IEnumMediaTypes_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumPIDMap, IEnumPIDMap_Vtbl, 0xafb6c2a2_2c41_11d3_8a60_0000f81e0e4a); +windows_core::imp::define_interface!(IEnumPIDMap, IEnumPIDMap_Vtbl, 0xafb6c2a2_2c41_11d3_8a60_0000f81e0e4a); windows_core::imp::interface_hierarchy!(IEnumPIDMap, windows_core::IUnknown); impl IEnumPIDMap { pub unsafe fn Next(&self, ppidmap: &mut [PID_MAP], pcreceived: *mut u32) -> windows_core::HRESULT { @@ -6979,7 +6979,7 @@ pub struct IEnumPIDMap_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumPins, IEnumPins_Vtbl, 0x56a86892_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IEnumPins, IEnumPins_Vtbl, 0x56a86892_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IEnumPins, windows_core::IUnknown); impl IEnumPins { pub unsafe fn Next(&self, pppins: &mut [Option], pcfetched: Option<*mut u32>) -> windows_core::HRESULT { @@ -7004,7 +7004,7 @@ pub struct IEnumPins_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumRegFilters, IEnumRegFilters_Vtbl, 0x56a868a4_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IEnumRegFilters, IEnumRegFilters_Vtbl, 0x56a868a4_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IEnumRegFilters, windows_core::IUnknown); impl IEnumRegFilters { pub unsafe fn Next(&self, apregfilter: &mut [*mut REGFILTER], pcfetched: Option<*mut u32>) -> windows_core::HRESULT { @@ -7029,7 +7029,7 @@ pub struct IEnumRegFilters_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumStreamIdMap, IEnumStreamIdMap_Vtbl, 0x945c1566_6202_46fc_96c7_d87f289c6534); +windows_core::imp::define_interface!(IEnumStreamIdMap, IEnumStreamIdMap_Vtbl, 0x945c1566_6202_46fc_96c7_d87f289c6534); windows_core::imp::interface_hierarchy!(IEnumStreamIdMap, windows_core::IUnknown); impl IEnumStreamIdMap { pub unsafe fn Next(&self, pstreamidmap: &mut [STREAM_ID_MAP], pcreceived: Option<*mut u32>) -> windows_core::Result<()> { @@ -7054,7 +7054,7 @@ pub struct IEnumStreamIdMap_Vtbl { 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, } -windows_core::imp::com_interface!(IFileSinkFilter, IFileSinkFilter_Vtbl, 0xa2104830_7c70_11cf_8bce_00aa00a3f1a6); +windows_core::imp::define_interface!(IFileSinkFilter, IFileSinkFilter_Vtbl, 0xa2104830_7c70_11cf_8bce_00aa00a3f1a6); windows_core::imp::interface_hierarchy!(IFileSinkFilter, windows_core::IUnknown); impl IFileSinkFilter { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -7081,7 +7081,7 @@ pub struct IFileSinkFilter_Vtbl { #[cfg(not(feature = "Win32_Media_MediaFoundation"))] GetCurFile: usize, } -windows_core::imp::com_interface!(IFileSinkFilter2, IFileSinkFilter2_Vtbl, 0x00855b90_ce1b_11d0_bd4f_00a0c911ce86); +windows_core::imp::define_interface!(IFileSinkFilter2, IFileSinkFilter2_Vtbl, 0x00855b90_ce1b_11d0_bd4f_00a0c911ce86); windows_core::imp::interface_hierarchy!(IFileSinkFilter2, windows_core::IUnknown, IFileSinkFilter); impl IFileSinkFilter2 { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -7109,7 +7109,7 @@ pub struct IFileSinkFilter2_Vtbl { pub SetMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileSourceFilter, IFileSourceFilter_Vtbl, 0x56a868a6_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IFileSourceFilter, IFileSourceFilter_Vtbl, 0x56a868a6_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IFileSourceFilter, windows_core::IUnknown); impl IFileSourceFilter { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -7136,7 +7136,7 @@ pub struct IFileSourceFilter_Vtbl { #[cfg(not(feature = "Win32_Media_MediaFoundation"))] GetCurFile: usize, } -windows_core::imp::com_interface!(IFilterChain, IFilterChain_Vtbl, 0xdcfbdcf6_0dc2_45f5_9ab2_7c330ea09c29); +windows_core::imp::define_interface!(IFilterChain, IFilterChain_Vtbl, 0xdcfbdcf6_0dc2_45f5_9ab2_7c330ea09c29); windows_core::imp::interface_hierarchy!(IFilterChain, windows_core::IUnknown); impl IFilterChain { #[cfg(feature = "Win32_System_Com")] @@ -7192,7 +7192,7 @@ pub struct IFilterChain_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] RemoveChain: usize, } -windows_core::imp::com_interface!(IFilterGraph, IFilterGraph_Vtbl, 0x56a8689f_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IFilterGraph, IFilterGraph_Vtbl, 0x56a8689f_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IFilterGraph, windows_core::IUnknown); impl IFilterGraph { #[cfg(feature = "Win32_System_Com")] @@ -7270,7 +7270,7 @@ pub struct IFilterGraph_Vtbl { pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDefaultSyncSource: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFilterGraph2, IFilterGraph2_Vtbl, 0x36b73882_c2c8_11cf_8b46_00805f6cef60); +windows_core::imp::define_interface!(IFilterGraph2, IFilterGraph2_Vtbl, 0x36b73882_c2c8_11cf_8b46_00805f6cef60); windows_core::imp::interface_hierarchy!(IFilterGraph2, windows_core::IUnknown, IFilterGraph, IGraphBuilder); impl IFilterGraph2 { #[cfg(feature = "Win32_System_Com")] @@ -7398,7 +7398,7 @@ pub struct IFilterGraph2_Vtbl { ReconnectEx: usize, pub RenderEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFilterGraph3, IFilterGraph3_Vtbl, 0xaaf38154_b80b_422f_91e6_b66467509a07); +windows_core::imp::define_interface!(IFilterGraph3, IFilterGraph3_Vtbl, 0xaaf38154_b80b_422f_91e6_b66467509a07); windows_core::imp::interface_hierarchy!(IFilterGraph3, windows_core::IUnknown, IFilterGraph, IGraphBuilder, IFilterGraph2); impl IFilterGraph3 { #[cfg(feature = "Win32_System_Com")] @@ -7531,7 +7531,7 @@ pub struct IFilterGraph3_Vtbl { SetSyncSourceEx: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFilterInfo, IFilterInfo_Vtbl, 0x56a868ba_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IFilterInfo, IFilterInfo_Vtbl, 0x56a868ba_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFilterInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7595,7 +7595,7 @@ pub struct IFilterInfo_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, } -windows_core::imp::com_interface!(IFilterMapper, IFilterMapper_Vtbl, 0x56a868a3_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IFilterMapper, IFilterMapper_Vtbl, 0x56a868a3_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IFilterMapper, windows_core::IUnknown); impl IFilterMapper { pub unsafe fn RegisterFilter(&self, clsid: windows_core::GUID, name: P0, dwmerit: u32) -> windows_core::Result<()> @@ -7661,7 +7661,7 @@ pub struct IFilterMapper_Vtbl { pub UnregisterPin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::PCWSTR) -> windows_core::HRESULT, pub EnumMatchingFilters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, super::super::Foundation::BOOL, windows_core::GUID, windows_core::GUID, super::super::Foundation::BOOL, super::super::Foundation::BOOL, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFilterMapper2, IFilterMapper2_Vtbl, 0xb79bb0b0_33c1_11d1_abe1_00a0c905f375); +windows_core::imp::define_interface!(IFilterMapper2, IFilterMapper2_Vtbl, 0xb79bb0b0_33c1_11d1_abe1_00a0c905f375); windows_core::imp::interface_hierarchy!(IFilterMapper2, windows_core::IUnknown); impl IFilterMapper2 { pub unsafe fn CreateCategory(&self, clsidcategory: *const windows_core::GUID, dwcategorymerit: u32, description: P0) -> windows_core::Result<()> @@ -7727,7 +7727,7 @@ pub struct IFilterMapper2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] EnumMatchingFilters: usize, } -windows_core::imp::com_interface!(IFilterMapper3, IFilterMapper3_Vtbl, 0xb79bb0b1_33c1_11d1_abe1_00a0c905f375); +windows_core::imp::define_interface!(IFilterMapper3, IFilterMapper3_Vtbl, 0xb79bb0b1_33c1_11d1_abe1_00a0c905f375); windows_core::imp::interface_hierarchy!(IFilterMapper3, windows_core::IUnknown, IFilterMapper2); impl IFilterMapper3 { pub unsafe fn CreateCategory(&self, clsidcategory: *const windows_core::GUID, dwcategorymerit: u32, description: P0) -> windows_core::Result<()> @@ -7788,7 +7788,7 @@ pub struct IFilterMapper3_Vtbl { pub base__: IFilterMapper2_Vtbl, pub GetICreateDevEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrequencyMap, IFrequencyMap_Vtbl, 0x06fb45c1_693c_4ea7_b79f_7a6a54d8def2); +windows_core::imp::define_interface!(IFrequencyMap, IFrequencyMap_Vtbl, 0x06fb45c1_693c_4ea7_b79f_7a6a54d8def2); windows_core::imp::interface_hierarchy!(IFrequencyMap, windows_core::IUnknown); impl IFrequencyMap { pub unsafe fn get_FrequencyMapping(&self, ulcount: *mut u32, ppullist: *mut *mut u32) -> windows_core::Result<()> { @@ -7821,7 +7821,7 @@ pub struct IFrequencyMap_Vtbl { pub get_DefaultFrequencyMapping: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut *mut u32) -> windows_core::HRESULT, pub get_CountryCodeList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFullScreenVideo, IFullScreenVideo_Vtbl, 0xdd1d7110_7836_11cf_bf47_00aa0055595a); +windows_core::imp::define_interface!(IFullScreenVideo, IFullScreenVideo_Vtbl, 0xdd1d7110_7836_11cf_bf47_00aa0055595a); windows_core::imp::interface_hierarchy!(IFullScreenVideo, windows_core::IUnknown); impl IFullScreenVideo { pub unsafe fn CountModes(&self) -> windows_core::Result { @@ -7909,7 +7909,7 @@ pub struct IFullScreenVideo_Vtbl { pub GetCaption: 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) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFullScreenVideoEx, IFullScreenVideoEx_Vtbl, 0x53479470_f1dd_11cf_bc42_00aa00ac74f6); +windows_core::imp::define_interface!(IFullScreenVideoEx, IFullScreenVideoEx_Vtbl, 0x53479470_f1dd_11cf_bc42_00aa00ac74f6); windows_core::imp::interface_hierarchy!(IFullScreenVideoEx, windows_core::IUnknown, IFullScreenVideo); impl IFullScreenVideoEx { pub unsafe fn CountModes(&self) -> windows_core::Result { @@ -8009,7 +8009,7 @@ pub struct IFullScreenVideoEx_Vtbl { pub KeepPixelAspectRatio: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub IsKeepPixelAspectRatio: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetCapabilitiesKey, IGetCapabilitiesKey_Vtbl, 0xa8809222_07bb_48ea_951c_33158100625b); +windows_core::imp::define_interface!(IGetCapabilitiesKey, IGetCapabilitiesKey_Vtbl, 0xa8809222_07bb_48ea_951c_33158100625b); windows_core::imp::interface_hierarchy!(IGetCapabilitiesKey, windows_core::IUnknown); impl IGetCapabilitiesKey { #[cfg(feature = "Win32_System_Registry")] @@ -8026,7 +8026,7 @@ pub struct IGetCapabilitiesKey_Vtbl { #[cfg(not(feature = "Win32_System_Registry"))] GetCapabilitiesKey: usize, } -windows_core::imp::com_interface!(IGraphBuilder, IGraphBuilder_Vtbl, 0x56a868a9_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IGraphBuilder, IGraphBuilder_Vtbl, 0x56a868a9_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IGraphBuilder, windows_core::IUnknown, IFilterGraph); impl IGraphBuilder { #[cfg(feature = "Win32_System_Com")] @@ -8132,7 +8132,7 @@ pub struct IGraphBuilder_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ShouldOperationContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGraphConfig, IGraphConfig_Vtbl, 0x03a1eb8e_32bf_4245_8502_114d08a9cb88); +windows_core::imp::define_interface!(IGraphConfig, IGraphConfig_Vtbl, 0x03a1eb8e_32bf_4245_8502_114d08a9cb88); windows_core::imp::interface_hierarchy!(IGraphConfig, windows_core::IUnknown); impl IGraphConfig { #[cfg(all(feature = "Win32_Media_MediaFoundation", feature = "Win32_System_Com"))] @@ -8237,7 +8237,7 @@ pub struct IGraphConfig_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] RemoveFilterEx: usize, } -windows_core::imp::com_interface!(IGraphConfigCallback, IGraphConfigCallback_Vtbl, 0xade0fd60_d19d_11d2_abf6_00a0c905f375); +windows_core::imp::define_interface!(IGraphConfigCallback, IGraphConfigCallback_Vtbl, 0xade0fd60_d19d_11d2_abf6_00a0c905f375); windows_core::imp::interface_hierarchy!(IGraphConfigCallback, windows_core::IUnknown); impl IGraphConfigCallback { pub unsafe fn Reconfigure(&self, pvcontext: *mut core::ffi::c_void, dwflags: u32) -> windows_core::Result<()> { @@ -8249,7 +8249,7 @@ pub struct IGraphConfigCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Reconfigure: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGraphVersion, IGraphVersion_Vtbl, 0x56a868ab_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IGraphVersion, IGraphVersion_Vtbl, 0x56a868ab_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IGraphVersion, windows_core::IUnknown); impl IGraphVersion { pub unsafe fn QueryVersion(&self) -> windows_core::Result { @@ -8262,7 +8262,7 @@ pub struct IGraphVersion_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIPDVDec, IIPDVDec_Vtbl, 0xb8e8bd60_0bfe_11d0_af91_00aa00b67a42); +windows_core::imp::define_interface!(IIPDVDec, IIPDVDec_Vtbl, 0xb8e8bd60_0bfe_11d0_af91_00aa00b67a42); windows_core::imp::interface_hierarchy!(IIPDVDec, windows_core::IUnknown); impl IIPDVDec { pub unsafe fn IPDisplay(&self) -> windows_core::Result { @@ -8279,7 +8279,7 @@ pub struct IIPDVDec_Vtbl { pub IPDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetIPDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMPEG2PIDMap, IMPEG2PIDMap_Vtbl, 0xafb6c2a1_2c41_11d3_8a60_0000f81e0e4a); +windows_core::imp::define_interface!(IMPEG2PIDMap, IMPEG2PIDMap_Vtbl, 0xafb6c2a1_2c41_11d3_8a60_0000f81e0e4a); windows_core::imp::interface_hierarchy!(IMPEG2PIDMap, windows_core::IUnknown); impl IMPEG2PIDMap { pub unsafe fn MapPID(&self, culpid: u32, pulpid: *const u32, mediasamplecontent: MEDIA_SAMPLE_CONTENT) -> windows_core::Result<()> { @@ -8300,7 +8300,7 @@ pub struct IMPEG2PIDMap_Vtbl { pub UnmapPID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u32) -> windows_core::HRESULT, pub EnumPIDMap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMPEG2StreamIdMap, IMPEG2StreamIdMap_Vtbl, 0xd0e04c47_25b8_4369_925a_362a01d95444); +windows_core::imp::define_interface!(IMPEG2StreamIdMap, IMPEG2StreamIdMap_Vtbl, 0xd0e04c47_25b8_4369_925a_362a01d95444); windows_core::imp::interface_hierarchy!(IMPEG2StreamIdMap, windows_core::IUnknown); impl IMPEG2StreamIdMap { pub unsafe fn MapStreamId(&self, ulstreamid: u32, mediasamplecontent: u32, ulsubstreamfiltervalue: u32, idataoffset: i32) -> windows_core::Result<()> { @@ -8322,7 +8322,7 @@ pub struct IMPEG2StreamIdMap_Vtbl { pub EnumStreamIdMap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMediaControl, IMediaControl_Vtbl, 0x56a868b1_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IMediaControl, IMediaControl_Vtbl, 0x56a868b1_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMediaControl, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8392,7 +8392,7 @@ pub struct IMediaControl_Vtbl { pub StopWhenReady: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMediaEvent, IMediaEvent_Vtbl, 0x56a868b6_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IMediaEvent, IMediaEvent_Vtbl, 0x56a868b6_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMediaEvent, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8430,7 +8430,7 @@ pub struct IMediaEvent_Vtbl { pub FreeEventParams: unsafe extern "system" fn(*mut core::ffi::c_void, i32, isize, isize) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMediaEventEx, IMediaEventEx_Vtbl, 0x56a868c0_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IMediaEventEx, IMediaEventEx_Vtbl, 0x56a868c0_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMediaEventEx, windows_core::IUnknown, super::super::System::Com::IDispatch, IMediaEvent); #[cfg(feature = "Win32_System_Com")] @@ -8474,7 +8474,7 @@ pub struct IMediaEventEx_Vtbl { pub SetNotifyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetNotifyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaEventSink, IMediaEventSink_Vtbl, 0x56a868a2_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IMediaEventSink, IMediaEventSink_Vtbl, 0x56a868a2_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IMediaEventSink, windows_core::IUnknown); impl IMediaEventSink { pub unsafe fn Notify(&self, eventcode: i32, eventparam1: isize, eventparam2: isize) -> windows_core::Result<()> { @@ -8487,7 +8487,7 @@ pub struct IMediaEventSink_Vtbl { pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, i32, isize, isize) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMediaFilter, IMediaFilter_Vtbl, 0x56a86899_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IMediaFilter, IMediaFilter_Vtbl, 0x56a86899_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMediaFilter, windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] @@ -8532,7 +8532,7 @@ pub struct IMediaFilter_Vtbl { pub SetSyncSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSyncSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaParamInfo, IMediaParamInfo_Vtbl, 0x6d6cbb60_a223_44aa_842f_a2f06750be6d); +windows_core::imp::define_interface!(IMediaParamInfo, IMediaParamInfo_Vtbl, 0x6d6cbb60_a223_44aa_842f_a2f06750be6d); windows_core::imp::interface_hierarchy!(IMediaParamInfo, windows_core::IUnknown); impl IMediaParamInfo { pub unsafe fn GetParamCount(&self) -> windows_core::Result { @@ -8568,7 +8568,7 @@ pub struct IMediaParamInfo_Vtbl { pub GetSupportedTimeFormat: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetCurrentTimeFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaParams, IMediaParams_Vtbl, 0x6d6cbb61_a223_44aa_842f_a2f06750be6e); +windows_core::imp::define_interface!(IMediaParams, IMediaParams_Vtbl, 0x6d6cbb61_a223_44aa_842f_a2f06750be6e); windows_core::imp::interface_hierarchy!(IMediaParams, windows_core::IUnknown); impl IMediaParams { pub unsafe fn GetParam(&self, dwparamindex: u32) -> windows_core::Result { @@ -8598,7 +8598,7 @@ pub struct IMediaParams_Vtbl { pub SetTimeFormat: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMediaPosition, IMediaPosition_Vtbl, 0x56a868b2_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IMediaPosition, IMediaPosition_Vtbl, 0x56a868b2_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMediaPosition, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8661,7 +8661,7 @@ pub struct IMediaPosition_Vtbl { pub CanSeekBackward: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -windows_core::imp::com_interface!(IMediaPropertyBag, IMediaPropertyBag_Vtbl, 0x6025a880_c0d5_11d0_bd4e_00a0c911ce86); +windows_core::imp::define_interface!(IMediaPropertyBag, IMediaPropertyBag_Vtbl, 0x6025a880_c0d5_11d0_bd4e_00a0c911ce86); #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::interface_hierarchy!(IMediaPropertyBag, windows_core::IUnknown, super::super::System::Com::StructuredStorage::IPropertyBag); #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -8691,7 +8691,7 @@ 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, } -windows_core::imp::com_interface!(IMediaSample, IMediaSample_Vtbl, 0x56a8689a_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IMediaSample, IMediaSample_Vtbl, 0x56a8689a_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IMediaSample, windows_core::IUnknown); impl IMediaSample { pub unsafe fn GetPointer(&self) -> windows_core::Result<*mut u8> { @@ -8782,7 +8782,7 @@ pub struct IMediaSample_Vtbl { pub GetMediaTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64, *mut i64) -> windows_core::HRESULT, pub SetMediaTime: unsafe extern "system" fn(*mut core::ffi::c_void, *const i64, *const i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaSample2, IMediaSample2_Vtbl, 0x36b73884_c2c8_11cf_8b46_00805f6cef60); +windows_core::imp::define_interface!(IMediaSample2, IMediaSample2_Vtbl, 0x36b73884_c2c8_11cf_8b46_00805f6cef60); windows_core::imp::interface_hierarchy!(IMediaSample2, windows_core::IUnknown, IMediaSample); impl IMediaSample2 { pub unsafe fn GetPointer(&self) -> windows_core::Result<*mut u8> { @@ -8859,7 +8859,7 @@ pub struct IMediaSample2_Vtbl { pub GetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, pub SetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaSample2Config, IMediaSample2Config_Vtbl, 0x68961e68_832b_41ea_bc91_63593f3e70e3); +windows_core::imp::define_interface!(IMediaSample2Config, IMediaSample2Config_Vtbl, 0x68961e68_832b_41ea_bc91_63593f3e70e3); windows_core::imp::interface_hierarchy!(IMediaSample2Config, windows_core::IUnknown); impl IMediaSample2Config { pub unsafe fn GetSurface(&self) -> windows_core::Result { @@ -8872,7 +8872,7 @@ pub struct IMediaSample2Config_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSurface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaSeeking, IMediaSeeking_Vtbl, 0x36b73880_c2c8_11cf_8b46_00805f6cef60); +windows_core::imp::define_interface!(IMediaSeeking, IMediaSeeking_Vtbl, 0x36b73880_c2c8_11cf_8b46_00805f6cef60); windows_core::imp::interface_hierarchy!(IMediaSeeking, windows_core::IUnknown); impl IMediaSeeking { pub unsafe fn GetCapabilities(&self) -> windows_core::Result { @@ -8956,7 +8956,7 @@ pub struct IMediaSeeking_Vtbl { pub GetRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub GetPreroll: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaStream, IMediaStream_Vtbl, 0xb502d1bd_9a57_11d0_8fde_00c04fd9189d); +windows_core::imp::define_interface!(IMediaStream, IMediaStream_Vtbl, 0xb502d1bd_9a57_11d0_8fde_00c04fd9189d); windows_core::imp::interface_hierarchy!(IMediaStream, windows_core::IUnknown); impl IMediaStream { pub unsafe fn GetMultiMediaStream(&self) -> windows_core::Result { @@ -8998,7 +8998,7 @@ pub struct IMediaStream_Vtbl { pub SendEndOfStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMediaStreamFilter, IMediaStreamFilter_Vtbl, 0xbebe595e_9a6f_11d0_8fde_00c04fd9189d); +windows_core::imp::define_interface!(IMediaStreamFilter, IMediaStreamFilter_Vtbl, 0xbebe595e_9a6f_11d0_8fde_00c04fd9189d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMediaStreamFilter, windows_core::IUnknown, super::super::System::Com::IPersist, IMediaFilter, IBaseFilter); #[cfg(feature = "Win32_System_Com")] @@ -9111,7 +9111,7 @@ pub struct IMediaStreamFilter_Vtbl { pub EndOfStream: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMediaTypeInfo, IMediaTypeInfo_Vtbl, 0x56a868bc_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IMediaTypeInfo, IMediaTypeInfo_Vtbl, 0x56a868bc_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMediaTypeInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -9132,7 +9132,7 @@ pub struct IMediaTypeInfo_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, } -windows_core::imp::com_interface!(IMemAllocator, IMemAllocator_Vtbl, 0x56a8689c_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IMemAllocator, IMemAllocator_Vtbl, 0x56a8689c_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IMemAllocator, windows_core::IUnknown); impl IMemAllocator { pub unsafe fn SetProperties(&self, prequest: *const ALLOCATOR_PROPERTIES) -> windows_core::Result { @@ -9169,7 +9169,7 @@ pub struct IMemAllocator_Vtbl { pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *const i64, *const i64, u32) -> windows_core::HRESULT, pub ReleaseBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMemAllocatorCallbackTemp, IMemAllocatorCallbackTemp_Vtbl, 0x379a0cf0_c1de_11d2_abf5_00a0c905f375); +windows_core::imp::define_interface!(IMemAllocatorCallbackTemp, IMemAllocatorCallbackTemp_Vtbl, 0x379a0cf0_c1de_11d2_abf5_00a0c905f375); windows_core::imp::interface_hierarchy!(IMemAllocatorCallbackTemp, windows_core::IUnknown, IMemAllocator); impl IMemAllocatorCallbackTemp { pub unsafe fn SetProperties(&self, prequest: *const ALLOCATOR_PROPERTIES) -> windows_core::Result { @@ -9212,7 +9212,7 @@ pub struct IMemAllocatorCallbackTemp_Vtbl { pub SetNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFreeCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMemAllocatorNotifyCallbackTemp, IMemAllocatorNotifyCallbackTemp_Vtbl, 0x92980b30_c1de_11d2_abf5_00a0c905f375); +windows_core::imp::define_interface!(IMemAllocatorNotifyCallbackTemp, IMemAllocatorNotifyCallbackTemp_Vtbl, 0x92980b30_c1de_11d2_abf5_00a0c905f375); windows_core::imp::interface_hierarchy!(IMemAllocatorNotifyCallbackTemp, windows_core::IUnknown); impl IMemAllocatorNotifyCallbackTemp { pub unsafe fn NotifyRelease(&self) -> windows_core::Result<()> { @@ -9224,7 +9224,7 @@ pub struct IMemAllocatorNotifyCallbackTemp_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub NotifyRelease: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMemInputPin, IMemInputPin_Vtbl, 0x56a8689d_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IMemInputPin, IMemInputPin_Vtbl, 0x56a8689d_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IMemInputPin, windows_core::IUnknown); impl IMemInputPin { pub unsafe fn GetAllocator(&self) -> windows_core::Result { @@ -9266,7 +9266,7 @@ pub struct IMemInputPin_Vtbl { pub ReceiveMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, pub ReceiveCanBlock: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMemoryData, IMemoryData_Vtbl, 0x327fc560_af60_11d0_8212_00c04fc32c45); +windows_core::imp::define_interface!(IMemoryData, IMemoryData_Vtbl, 0x327fc560_af60_11d0_8212_00c04fc32c45); windows_core::imp::interface_hierarchy!(IMemoryData, windows_core::IUnknown); impl IMemoryData { pub unsafe fn SetBuffer(&self, cbsize: u32, pbdata: *const u8, dwflags: u32) -> windows_core::Result<()> { @@ -9286,7 +9286,7 @@ pub struct IMemoryData_Vtbl { pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub SetActual: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMixerOCX, IMixerOCX_Vtbl, 0x81a3bd32_dee1_11d1_8508_00a0c91f9ca0); +windows_core::imp::define_interface!(IMixerOCX, IMixerOCX_Vtbl, 0x81a3bd32_dee1_11d1_8508_00a0c91f9ca0); windows_core::imp::interface_hierarchy!(IMixerOCX, windows_core::IUnknown); impl IMixerOCX { pub unsafe fn OnDisplayChange(&self, ulbitsperpixel: u32, ulscreenwidth: u32, ulscreenheight: u32) -> windows_core::Result<()> { @@ -9337,7 +9337,7 @@ pub struct IMixerOCX_Vtbl { pub Advise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnAdvise: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMixerOCXNotify, IMixerOCXNotify_Vtbl, 0x81a3bd31_dee1_11d1_8508_00a0c91f9ca0); +windows_core::imp::define_interface!(IMixerOCXNotify, IMixerOCXNotify_Vtbl, 0x81a3bd31_dee1_11d1_8508_00a0c91f9ca0); windows_core::imp::interface_hierarchy!(IMixerOCXNotify, windows_core::IUnknown); impl IMixerOCXNotify { pub unsafe fn OnInvalidateRect(&self, lpcrect: *const super::super::Foundation::RECT) -> windows_core::Result<()> { @@ -9357,7 +9357,7 @@ pub struct IMixerOCXNotify_Vtbl { pub OnStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub OnDataChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMixerPinConfig, IMixerPinConfig_Vtbl, 0x593cdde1_0759_11d1_9e69_00c04fd7c15b); +windows_core::imp::define_interface!(IMixerPinConfig, IMixerPinConfig_Vtbl, 0x593cdde1_0759_11d1_9e69_00c04fd7c15b); windows_core::imp::interface_hierarchy!(IMixerPinConfig, windows_core::IUnknown); impl IMixerPinConfig { pub unsafe fn SetRelativePosition(&self, dwleft: u32, dwtop: u32, dwright: u32, dwbottom: u32) -> windows_core::Result<()> { @@ -9416,7 +9416,7 @@ pub struct IMixerPinConfig_Vtbl { pub SetStreamTransparent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetStreamTransparent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMixerPinConfig2, IMixerPinConfig2_Vtbl, 0xebf47182_8764_11d1_9e69_00c04fd7c15b); +windows_core::imp::define_interface!(IMixerPinConfig2, IMixerPinConfig2_Vtbl, 0xebf47182_8764_11d1_9e69_00c04fd7c15b); windows_core::imp::interface_hierarchy!(IMixerPinConfig2, windows_core::IUnknown, IMixerPinConfig); impl IMixerPinConfig2 { pub unsafe fn SetRelativePosition(&self, dwleft: u32, dwtop: u32, dwright: u32, dwbottom: u32) -> windows_core::Result<()> { @@ -9479,7 +9479,7 @@ pub struct IMixerPinConfig2_Vtbl { #[cfg(not(feature = "Win32_Graphics_DirectDraw"))] GetOverlaySurfaceColorControls: usize, } -windows_core::imp::com_interface!(IMpeg2Demultiplexer, IMpeg2Demultiplexer_Vtbl, 0x436eee9c_264f_4242_90e1_4e330c107512); +windows_core::imp::define_interface!(IMpeg2Demultiplexer, IMpeg2Demultiplexer_Vtbl, 0x436eee9c_264f_4242_90e1_4e330c107512); windows_core::imp::interface_hierarchy!(IMpeg2Demultiplexer, windows_core::IUnknown); impl IMpeg2Demultiplexer { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -9517,7 +9517,7 @@ pub struct IMpeg2Demultiplexer_Vtbl { SetOutputPinMediaType: usize, pub DeleteOutputPin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMpegAudioDecoder, IMpegAudioDecoder_Vtbl, 0xb45dd570_3c77_11d1_abe1_00a0c905f375); +windows_core::imp::define_interface!(IMpegAudioDecoder, IMpegAudioDecoder_Vtbl, 0xb45dd570_3c77_11d1_abe1_00a0c905f375); windows_core::imp::interface_hierarchy!(IMpegAudioDecoder, windows_core::IUnknown); impl IMpegAudioDecoder { pub unsafe fn FrequencyDivider(&self) -> windows_core::Result { @@ -9586,7 +9586,7 @@ pub struct IMpegAudioDecoder_Vtbl { #[cfg(not(feature = "Win32_Media_Audio"))] AudioFormat: usize, } -windows_core::imp::com_interface!(IMultiMediaStream, IMultiMediaStream_Vtbl, 0xb502d1bc_9a57_11d0_8fde_00c04fd9189d); +windows_core::imp::define_interface!(IMultiMediaStream, IMultiMediaStream_Vtbl, 0xb502d1bc_9a57_11d0_8fde_00c04fd9189d); windows_core::imp::interface_hierarchy!(IMultiMediaStream, windows_core::IUnknown); impl IMultiMediaStream { pub unsafe fn GetInformation(&self, pdwflags: *mut MMSSF_GET_INFORMATION_FLAGS, pstreamtype: *mut STREAM_TYPE) -> windows_core::Result<()> { @@ -9636,7 +9636,7 @@ pub struct IMultiMediaStream_Vtbl { pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, pub GetEndOfStreamEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOverlay, IOverlay_Vtbl, 0x56a868a1_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IOverlay, IOverlay_Vtbl, 0x56a868a1_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IOverlay, windows_core::IUnknown); impl IOverlay { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -9702,7 +9702,7 @@ pub struct IOverlay_Vtbl { pub Advise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOverlayNotify, IOverlayNotify_Vtbl, 0x56a868a0_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IOverlayNotify, IOverlayNotify_Vtbl, 0x56a868a0_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IOverlayNotify, windows_core::IUnknown); impl IOverlayNotify { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -9734,7 +9734,7 @@ pub struct IOverlayNotify_Vtbl { pub OnColorKeyChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const COLORKEY) -> windows_core::HRESULT, pub OnPositionChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOverlayNotify2, IOverlayNotify2_Vtbl, 0x680efa10_d535_11d1_87c8_00a0c9223196); +windows_core::imp::define_interface!(IOverlayNotify2, IOverlayNotify2_Vtbl, 0x680efa10_d535_11d1_87c8_00a0c9223196); windows_core::imp::interface_hierarchy!(IOverlayNotify2, windows_core::IUnknown, IOverlayNotify); impl IOverlayNotify2 { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -9768,7 +9768,7 @@ pub struct IOverlayNotify2_Vtbl { OnDisplayChange: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPersistMediaPropertyBag, IPersistMediaPropertyBag_Vtbl, 0x5738e040_b67f_11d0_bd4d_00a0c911ce86); +windows_core::imp::define_interface!(IPersistMediaPropertyBag, IPersistMediaPropertyBag_Vtbl, 0x5738e040_b67f_11d0_bd4d_00a0c911ce86); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPersistMediaPropertyBag, windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] @@ -9813,7 +9813,7 @@ pub struct IPersistMediaPropertyBag_Vtbl { #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] Save: usize, } -windows_core::imp::com_interface!(IPin, IPin_Vtbl, 0x56a86891_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IPin, IPin_Vtbl, 0x56a86891_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IPin, windows_core::IUnknown); impl IPin { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -9911,7 +9911,7 @@ pub struct IPin_Vtbl { pub EndFlush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub NewSegment: unsafe extern "system" fn(*mut core::ffi::c_void, i64, i64, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPinConnection, IPinConnection_Vtbl, 0x4a9a62d3_27d4_403d_91e9_89f540e55534); +windows_core::imp::define_interface!(IPinConnection, IPinConnection_Vtbl, 0x4a9a62d3_27d4_403d_91e9_89f540e55534); windows_core::imp::interface_hierarchy!(IPinConnection, windows_core::IUnknown); impl IPinConnection { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -9942,7 +9942,7 @@ pub struct IPinConnection_Vtbl { pub IsEndPin: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DynamicDisconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPinFlowControl, IPinFlowControl_Vtbl, 0xc56e9858_dbf3_4f6b_8119_384af2060deb); +windows_core::imp::define_interface!(IPinFlowControl, IPinFlowControl_Vtbl, 0xc56e9858_dbf3_4f6b_8119_384af2060deb); windows_core::imp::interface_hierarchy!(IPinFlowControl, windows_core::IUnknown); impl IPinFlowControl { pub unsafe fn Block(&self, dwblockflags: u32, hevent: P0) -> windows_core::Result<()> @@ -9958,7 +9958,7 @@ pub struct IPinFlowControl_Vtbl { pub Block: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPinInfo, IPinInfo_Vtbl, 0x56a868bd_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IPinInfo, IPinInfo_Vtbl, 0x56a868bd_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPinInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -10059,7 +10059,7 @@ pub struct IPinInfo_Vtbl { pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Render: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQualProp, IQualProp_Vtbl, 0x1bd0ecb0_f8e2_11ce_aac6_0020af0b99a3); +windows_core::imp::define_interface!(IQualProp, IQualProp_Vtbl, 0x1bd0ecb0_f8e2_11ce_aac6_0020af0b99a3); windows_core::imp::interface_hierarchy!(IQualProp, windows_core::IUnknown); impl IQualProp { pub unsafe fn FramesDroppedInRenderer(&self) -> windows_core::Result { @@ -10097,7 +10097,7 @@ pub struct IQualProp_Vtbl { pub AvgSyncOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub DevSyncOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQualityControl, IQualityControl_Vtbl, 0x56a868a5_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IQualityControl, IQualityControl_Vtbl, 0x56a868a5_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IQualityControl, windows_core::IUnknown); impl IQualityControl { #[cfg(feature = "Win32_System_Com")] @@ -10123,7 +10123,7 @@ pub struct IQualityControl_Vtbl { Notify: usize, pub SetSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQueueCommand, IQueueCommand_Vtbl, 0x56a868b7_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IQueueCommand, IQueueCommand_Vtbl, 0x56a868b7_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IQueueCommand, windows_core::IUnknown); impl IQueueCommand { pub unsafe fn InvokeAtStreamTime(&self, pcmd: *mut Option, time: f64, iid: *const windows_core::GUID, dispidmethod: i32, wflags: i16, cargs: i32, pdispparams: *const windows_core::VARIANT, pvarresult: *mut windows_core::VARIANT, puargerr: *mut i16) -> windows_core::Result<()> { @@ -10140,7 +10140,7 @@ pub struct IQueueCommand_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRegFilterInfo, IRegFilterInfo_Vtbl, 0x56a868bb_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IRegFilterInfo, IRegFilterInfo_Vtbl, 0x56a868bb_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRegFilterInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -10165,7 +10165,7 @@ pub struct IRegFilterInfo_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Filter: usize, } -windows_core::imp::com_interface!(IRegisterServiceProvider, IRegisterServiceProvider_Vtbl, 0x7b3a2f01_0751_48dd_b556_004785171c54); +windows_core::imp::define_interface!(IRegisterServiceProvider, IRegisterServiceProvider_Vtbl, 0x7b3a2f01_0751_48dd_b556_004785171c54); windows_core::imp::interface_hierarchy!(IRegisterServiceProvider, windows_core::IUnknown); impl IRegisterServiceProvider { pub unsafe fn RegisterService(&self, guidservice: *const windows_core::GUID, punkobject: P0) -> windows_core::Result<()> @@ -10180,7 +10180,7 @@ pub struct IRegisterServiceProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RegisterService: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResourceConsumer, IResourceConsumer_Vtbl, 0x56a868ad_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IResourceConsumer, IResourceConsumer_Vtbl, 0x56a868ad_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IResourceConsumer, windows_core::IUnknown); impl IResourceConsumer { pub unsafe fn AcquireResource(&self, idresource: i32) -> windows_core::Result<()> { @@ -10196,7 +10196,7 @@ pub struct IResourceConsumer_Vtbl { pub AcquireResource: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ReleaseResource: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResourceManager, IResourceManager_Vtbl, 0x56a868ac_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IResourceManager, IResourceManager_Vtbl, 0x56a868ac_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IResourceManager, windows_core::IUnknown); impl IResourceManager { pub unsafe fn Register(&self, pname: P0, cresource: i32) -> windows_core::Result @@ -10264,7 +10264,7 @@ pub struct IResourceManager_Vtbl { pub SetFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISeekingPassThru, ISeekingPassThru_Vtbl, 0x36b73883_c2c8_11cf_8b46_00805f6cef60); +windows_core::imp::define_interface!(ISeekingPassThru, ISeekingPassThru_Vtbl, 0x36b73883_c2c8_11cf_8b46_00805f6cef60); windows_core::imp::interface_hierarchy!(ISeekingPassThru, windows_core::IUnknown); impl ISeekingPassThru { pub unsafe fn Init(&self, bsupportrendering: P0, ppin: P1) -> windows_core::Result<()> @@ -10280,7 +10280,7 @@ pub struct ISeekingPassThru_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISelector, ISelector_Vtbl, 0x1abdaeca_68b6_4f83_9371_b413907c7b9f); +windows_core::imp::define_interface!(ISelector, ISelector_Vtbl, 0x1abdaeca_68b6_4f83_9371_b413907c7b9f); windows_core::imp::interface_hierarchy!(ISelector, windows_core::IUnknown); impl ISelector { pub unsafe fn NumSources(&self) -> windows_core::Result { @@ -10302,7 +10302,7 @@ pub struct ISelector_Vtbl { pub SourceNodeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetSourceNodeId: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpecifyParticularPages, ISpecifyParticularPages_Vtbl, 0x4c437b91_6e9e_11d1_a704_006097c4e476); +windows_core::imp::define_interface!(ISpecifyParticularPages, ISpecifyParticularPages_Vtbl, 0x4c437b91_6e9e_11d1_a704_006097c4e476); windows_core::imp::interface_hierarchy!(ISpecifyParticularPages, windows_core::IUnknown); impl ISpecifyParticularPages { #[cfg(feature = "Win32_System_Ole")] @@ -10319,7 +10319,7 @@ pub struct ISpecifyParticularPages_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] GetPages: usize, } -windows_core::imp::com_interface!(IStreamBuilder, IStreamBuilder_Vtbl, 0x56a868bf_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IStreamBuilder, IStreamBuilder_Vtbl, 0x56a868bf_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IStreamBuilder, windows_core::IUnknown); impl IStreamBuilder { pub unsafe fn Render(&self, ppinout: P0, pgraph: P1) -> windows_core::Result<()> @@ -10343,7 +10343,7 @@ pub struct IStreamBuilder_Vtbl { pub Render: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Backout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamSample, IStreamSample_Vtbl, 0xb502d1be_9a57_11d0_8fde_00c04fd9189d); +windows_core::imp::define_interface!(IStreamSample, IStreamSample_Vtbl, 0xb502d1be_9a57_11d0_8fde_00c04fd9189d); windows_core::imp::interface_hierarchy!(IStreamSample, windows_core::IUnknown); impl IStreamSample { pub unsafe fn GetMediaStream(&self, ppmediastream: *const Option) -> windows_core::Result<()> { @@ -10374,7 +10374,7 @@ pub struct IStreamSample_Vtbl { pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HANDLE, super::super::Foundation::PAPCFUNC, usize) -> windows_core::HRESULT, pub CompletionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRAspectRatioControl, IVMRAspectRatioControl_Vtbl, 0xede80b5c_bad6_4623_b537_65586c9f8dfd); +windows_core::imp::define_interface!(IVMRAspectRatioControl, IVMRAspectRatioControl_Vtbl, 0xede80b5c_bad6_4623_b537_65586c9f8dfd); windows_core::imp::interface_hierarchy!(IVMRAspectRatioControl, windows_core::IUnknown); impl IVMRAspectRatioControl { pub unsafe fn GetAspectRatioMode(&self) -> windows_core::Result { @@ -10391,7 +10391,7 @@ pub struct IVMRAspectRatioControl_Vtbl { pub GetAspectRatioMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetAspectRatioMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRAspectRatioControl9, IVMRAspectRatioControl9_Vtbl, 0x00d96c29_bbde_4efc_9901_bb5036392146); +windows_core::imp::define_interface!(IVMRAspectRatioControl9, IVMRAspectRatioControl9_Vtbl, 0x00d96c29_bbde_4efc_9901_bb5036392146); windows_core::imp::interface_hierarchy!(IVMRAspectRatioControl9, windows_core::IUnknown); impl IVMRAspectRatioControl9 { pub unsafe fn GetAspectRatioMode(&self) -> windows_core::Result { @@ -10408,7 +10408,7 @@ pub struct IVMRAspectRatioControl9_Vtbl { pub GetAspectRatioMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetAspectRatioMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRDeinterlaceControl, IVMRDeinterlaceControl_Vtbl, 0xbb057577_0db8_4e6a_87a7_1a8c9a505a0f); +windows_core::imp::define_interface!(IVMRDeinterlaceControl, IVMRDeinterlaceControl_Vtbl, 0xbb057577_0db8_4e6a_87a7_1a8c9a505a0f); windows_core::imp::interface_hierarchy!(IVMRDeinterlaceControl, windows_core::IUnknown); impl IVMRDeinterlaceControl { pub unsafe fn GetNumberOfDeinterlaceModes(&self, lpvideodescription: *const VMRVideoDesc, lpdwnumdeinterlacemodes: *mut u32, lpdeinterlacemodes: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -10447,7 +10447,7 @@ pub struct IVMRDeinterlaceControl_Vtbl { pub SetDeinterlacePrefs: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetActualDeinterlaceMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRDeinterlaceControl9, IVMRDeinterlaceControl9_Vtbl, 0xa215fb8d_13c2_4f7f_993c_003d6271a459); +windows_core::imp::define_interface!(IVMRDeinterlaceControl9, IVMRDeinterlaceControl9_Vtbl, 0xa215fb8d_13c2_4f7f_993c_003d6271a459); windows_core::imp::interface_hierarchy!(IVMRDeinterlaceControl9, windows_core::IUnknown); impl IVMRDeinterlaceControl9 { pub unsafe fn GetNumberOfDeinterlaceModes(&self, lpvideodescription: *const VMR9VideoDesc, lpdwnumdeinterlacemodes: *mut u32, lpdeinterlacemodes: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -10486,7 +10486,7 @@ pub struct IVMRDeinterlaceControl9_Vtbl { pub SetDeinterlacePrefs: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetActualDeinterlaceMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRFilterConfig, IVMRFilterConfig_Vtbl, 0x9e5530c5_7034_48b4_bb46_0b8a6efc8e36); +windows_core::imp::define_interface!(IVMRFilterConfig, IVMRFilterConfig_Vtbl, 0x9e5530c5_7034_48b4_bb46_0b8a6efc8e36); windows_core::imp::interface_hierarchy!(IVMRFilterConfig, windows_core::IUnknown); impl IVMRFilterConfig { pub unsafe fn SetImageCompositor(&self, lpvmrimgcompositor: P0) -> windows_core::Result<()> @@ -10528,7 +10528,7 @@ pub struct IVMRFilterConfig_Vtbl { pub SetRenderingMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetRenderingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRFilterConfig9, IVMRFilterConfig9_Vtbl, 0x5a804648_4f66_4867_9c43_4f5c822cf1b8); +windows_core::imp::define_interface!(IVMRFilterConfig9, IVMRFilterConfig9_Vtbl, 0x5a804648_4f66_4867_9c43_4f5c822cf1b8); windows_core::imp::interface_hierarchy!(IVMRFilterConfig9, windows_core::IUnknown); impl IVMRFilterConfig9 { pub unsafe fn SetImageCompositor(&self, lpvmrimgcompositor: P0) -> windows_core::Result<()> @@ -10570,7 +10570,7 @@ pub struct IVMRFilterConfig9_Vtbl { pub SetRenderingMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetRenderingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRImageCompositor, IVMRImageCompositor_Vtbl, 0x7a4fb5af_479f_4074_bb40_ce6722e43c82); +windows_core::imp::define_interface!(IVMRImageCompositor, IVMRImageCompositor_Vtbl, 0x7a4fb5af_479f_4074_bb40_ce6722e43c82); windows_core::imp::interface_hierarchy!(IVMRImageCompositor, windows_core::IUnknown); impl IVMRImageCompositor { #[cfg(feature = "Win32_Graphics_DirectDraw")] @@ -10625,7 +10625,7 @@ pub struct IVMRImageCompositor_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Media_MediaFoundation")))] CompositeImage: usize, } -windows_core::imp::com_interface!(IVMRImageCompositor9, IVMRImageCompositor9_Vtbl, 0x4a5c89eb_df51_4654_ac2a_e48e02bbabf6); +windows_core::imp::define_interface!(IVMRImageCompositor9, IVMRImageCompositor9_Vtbl, 0x4a5c89eb_df51_4654_ac2a_e48e02bbabf6); windows_core::imp::interface_hierarchy!(IVMRImageCompositor9, windows_core::IUnknown); impl IVMRImageCompositor9 { pub unsafe fn InitCompositionDevice(&self, pd3ddevice: P0) -> windows_core::Result<()> @@ -10670,7 +10670,7 @@ pub struct IVMRImageCompositor9_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Media_MediaFoundation")))] CompositeImage: usize, } -windows_core::imp::com_interface!(IVMRImagePresenter, IVMRImagePresenter_Vtbl, 0xce704fe7_e71e_41fb_baa2_c4403e1182f5); +windows_core::imp::define_interface!(IVMRImagePresenter, IVMRImagePresenter_Vtbl, 0xce704fe7_e71e_41fb_baa2_c4403e1182f5); windows_core::imp::interface_hierarchy!(IVMRImagePresenter, windows_core::IUnknown); impl IVMRImagePresenter { pub unsafe fn StartPresenting(&self, dwuserid: usize) -> windows_core::Result<()> { @@ -10694,7 +10694,7 @@ pub struct IVMRImagePresenter_Vtbl { #[cfg(not(feature = "Win32_Graphics_DirectDraw"))] PresentImage: usize, } -windows_core::imp::com_interface!(IVMRImagePresenter9, IVMRImagePresenter9_Vtbl, 0x69188c61_12a3_40f0_8ffc_342e7b433fd7); +windows_core::imp::define_interface!(IVMRImagePresenter9, IVMRImagePresenter9_Vtbl, 0x69188c61_12a3_40f0_8ffc_342e7b433fd7); windows_core::imp::interface_hierarchy!(IVMRImagePresenter9, windows_core::IUnknown); impl IVMRImagePresenter9 { pub unsafe fn StartPresenting(&self, dwuserid: usize) -> windows_core::Result<()> { @@ -10718,7 +10718,7 @@ pub struct IVMRImagePresenter9_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D9"))] PresentImage: usize, } -windows_core::imp::com_interface!(IVMRImagePresenterConfig, IVMRImagePresenterConfig_Vtbl, 0x9f3a1c85_8555_49ba_935f_be5b5b29d178); +windows_core::imp::define_interface!(IVMRImagePresenterConfig, IVMRImagePresenterConfig_Vtbl, 0x9f3a1c85_8555_49ba_935f_be5b5b29d178); windows_core::imp::interface_hierarchy!(IVMRImagePresenterConfig, windows_core::IUnknown); impl IVMRImagePresenterConfig { pub unsafe fn SetRenderingPrefs(&self, dwrenderflags: u32) -> windows_core::Result<()> { @@ -10735,7 +10735,7 @@ pub struct IVMRImagePresenterConfig_Vtbl { pub SetRenderingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetRenderingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRImagePresenterConfig9, IVMRImagePresenterConfig9_Vtbl, 0x45c15cab_6e22_420a_8043_ae1f0ac02c7d); +windows_core::imp::define_interface!(IVMRImagePresenterConfig9, IVMRImagePresenterConfig9_Vtbl, 0x45c15cab_6e22_420a_8043_ae1f0ac02c7d); windows_core::imp::interface_hierarchy!(IVMRImagePresenterConfig9, windows_core::IUnknown); impl IVMRImagePresenterConfig9 { pub unsafe fn SetRenderingPrefs(&self, dwrenderflags: u32) -> windows_core::Result<()> { @@ -10752,7 +10752,7 @@ pub struct IVMRImagePresenterConfig9_Vtbl { pub SetRenderingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetRenderingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRImagePresenterExclModeConfig, IVMRImagePresenterExclModeConfig_Vtbl, 0xe6f7ce40_4673_44f1_8f77_5499d68cb4ea); +windows_core::imp::define_interface!(IVMRImagePresenterExclModeConfig, IVMRImagePresenterExclModeConfig_Vtbl, 0xe6f7ce40_4673_44f1_8f77_5499d68cb4ea); windows_core::imp::interface_hierarchy!(IVMRImagePresenterExclModeConfig, windows_core::IUnknown, IVMRImagePresenterConfig); impl IVMRImagePresenterExclModeConfig { pub unsafe fn SetRenderingPrefs(&self, dwrenderflags: u32) -> windows_core::Result<()> { @@ -10787,7 +10787,7 @@ pub struct IVMRImagePresenterExclModeConfig_Vtbl { #[cfg(not(feature = "Win32_Graphics_DirectDraw"))] GetXlcModeDDObjAndPrimarySurface: usize, } -windows_core::imp::com_interface!(IVMRMixerBitmap, IVMRMixerBitmap_Vtbl, 0x1e673275_0257_40aa_af20_7c608d4a0428); +windows_core::imp::define_interface!(IVMRMixerBitmap, IVMRMixerBitmap_Vtbl, 0x1e673275_0257_40aa_af20_7c608d4a0428); windows_core::imp::interface_hierarchy!(IVMRMixerBitmap, windows_core::IUnknown); impl IVMRMixerBitmap { #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] @@ -10819,7 +10819,7 @@ pub struct IVMRMixerBitmap_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi")))] GetAlphaBitmapParameters: usize, } -windows_core::imp::com_interface!(IVMRMixerBitmap9, IVMRMixerBitmap9_Vtbl, 0xced175e5_1935_4820_81bd_ff6ad00c9108); +windows_core::imp::define_interface!(IVMRMixerBitmap9, IVMRMixerBitmap9_Vtbl, 0xced175e5_1935_4820_81bd_ff6ad00c9108); windows_core::imp::interface_hierarchy!(IVMRMixerBitmap9, windows_core::IUnknown); impl IVMRMixerBitmap9 { #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_Gdi"))] @@ -10851,7 +10851,7 @@ pub struct IVMRMixerBitmap9_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_Gdi")))] GetAlphaBitmapParameters: usize, } -windows_core::imp::com_interface!(IVMRMixerControl, IVMRMixerControl_Vtbl, 0x1c1a17b0_bed0_415d_974b_dc6696131599); +windows_core::imp::define_interface!(IVMRMixerControl, IVMRMixerControl_Vtbl, 0x1c1a17b0_bed0_415d_974b_dc6696131599); windows_core::imp::interface_hierarchy!(IVMRMixerControl, windows_core::IUnknown); impl IVMRMixerControl { pub unsafe fn SetAlpha(&self, dwstreamid: u32, alpha: f32) -> windows_core::Result<()> { @@ -10906,7 +10906,7 @@ pub struct IVMRMixerControl_Vtbl { pub SetMixingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetMixingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRMixerControl9, IVMRMixerControl9_Vtbl, 0x1a777eaa_47c8_4930_b2c9_8fee1c1b0f3b); +windows_core::imp::define_interface!(IVMRMixerControl9, IVMRMixerControl9_Vtbl, 0x1a777eaa_47c8_4930_b2c9_8fee1c1b0f3b); windows_core::imp::interface_hierarchy!(IVMRMixerControl9, windows_core::IUnknown); impl IVMRMixerControl9 { pub unsafe fn SetAlpha(&self, dwstreamid: u32, alpha: f32) -> windows_core::Result<()> { @@ -10973,7 +10973,7 @@ pub struct IVMRMixerControl9_Vtbl { pub GetProcAmpControl: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut VMR9ProcAmpControl) -> windows_core::HRESULT, pub GetProcAmpControlRange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut VMR9ProcAmpControlRange) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRMonitorConfig, IVMRMonitorConfig_Vtbl, 0x9cf0b1b6_fbaa_4b7f_88cf_cf1f130a0dce); +windows_core::imp::define_interface!(IVMRMonitorConfig, IVMRMonitorConfig_Vtbl, 0x9cf0b1b6_fbaa_4b7f_88cf_cf1f130a0dce); windows_core::imp::interface_hierarchy!(IVMRMonitorConfig, windows_core::IUnknown); impl IVMRMonitorConfig { pub unsafe fn SetMonitor(&self, pguid: *const VMRGUID) -> windows_core::Result<()> { @@ -11005,7 +11005,7 @@ pub struct IVMRMonitorConfig_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetAvailableMonitors: usize, } -windows_core::imp::com_interface!(IVMRMonitorConfig9, IVMRMonitorConfig9_Vtbl, 0x46c2e457_8ba0_4eef_b80b_0680f0978749); +windows_core::imp::define_interface!(IVMRMonitorConfig9, IVMRMonitorConfig9_Vtbl, 0x46c2e457_8ba0_4eef_b80b_0680f0978749); windows_core::imp::interface_hierarchy!(IVMRMonitorConfig9, windows_core::IUnknown); impl IVMRMonitorConfig9 { pub unsafe fn SetMonitor(&self, udev: u32) -> windows_core::Result<()> { @@ -11039,7 +11039,7 @@ pub struct IVMRMonitorConfig9_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetAvailableMonitors: usize, } -windows_core::imp::com_interface!(IVMRSurface, IVMRSurface_Vtbl, 0xa9849bbe_9ec8_4263_b764_62730f0d15d0); +windows_core::imp::define_interface!(IVMRSurface, IVMRSurface_Vtbl, 0xa9849bbe_9ec8_4263_b764_62730f0d15d0); windows_core::imp::interface_hierarchy!(IVMRSurface, windows_core::IUnknown); impl IVMRSurface { pub unsafe fn IsSurfaceLocked(&self) -> windows_core::Result<()> { @@ -11069,7 +11069,7 @@ pub struct IVMRSurface_Vtbl { #[cfg(not(feature = "Win32_Graphics_DirectDraw"))] GetSurface: usize, } -windows_core::imp::com_interface!(IVMRSurface9, IVMRSurface9_Vtbl, 0xdfc581a1_6e1f_4c3a_8d0a_5e9792ea2afc); +windows_core::imp::define_interface!(IVMRSurface9, IVMRSurface9_Vtbl, 0xdfc581a1_6e1f_4c3a_8d0a_5e9792ea2afc); windows_core::imp::interface_hierarchy!(IVMRSurface9, windows_core::IUnknown); impl IVMRSurface9 { pub unsafe fn IsSurfaceLocked(&self) -> windows_core::Result<()> { @@ -11099,7 +11099,7 @@ pub struct IVMRSurface9_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D9"))] GetSurface: usize, } -windows_core::imp::com_interface!(IVMRSurfaceAllocator, IVMRSurfaceAllocator_Vtbl, 0x31ce832e_4484_458b_8cca_f4d7e3db0b52); +windows_core::imp::define_interface!(IVMRSurfaceAllocator, IVMRSurfaceAllocator_Vtbl, 0x31ce832e_4484_458b_8cca_f4d7e3db0b52); windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocator, windows_core::IUnknown); impl IVMRSurfaceAllocator { #[cfg(all(feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] @@ -11137,7 +11137,7 @@ pub struct IVMRSurfaceAllocator_Vtbl { PrepareSurface: usize, pub AdviseNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRSurfaceAllocator9, IVMRSurfaceAllocator9_Vtbl, 0x8d5148ea_3f5d_46cf_9df1_d1b896eedb1f); +windows_core::imp::define_interface!(IVMRSurfaceAllocator9, IVMRSurfaceAllocator9_Vtbl, 0x8d5148ea_3f5d_46cf_9df1_d1b896eedb1f); windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocator9, windows_core::IUnknown); impl IVMRSurfaceAllocator9 { #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -11173,7 +11173,7 @@ pub struct IVMRSurfaceAllocator9_Vtbl { GetSurface: usize, pub AdviseNotify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRSurfaceAllocatorEx9, IVMRSurfaceAllocatorEx9_Vtbl, 0x6de9a68a_a928_4522_bf57_655ae3866456); +windows_core::imp::define_interface!(IVMRSurfaceAllocatorEx9, IVMRSurfaceAllocatorEx9_Vtbl, 0x6de9a68a_a928_4522_bf57_655ae3866456); windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocatorEx9, windows_core::IUnknown, IVMRSurfaceAllocator9); impl IVMRSurfaceAllocatorEx9 { #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -11207,7 +11207,7 @@ pub struct IVMRSurfaceAllocatorEx9_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D9"))] GetSurfaceEx: usize, } -windows_core::imp::com_interface!(IVMRSurfaceAllocatorNotify, IVMRSurfaceAllocatorNotify_Vtbl, 0xaada05a8_5a4e_4729_af0b_cea27aed51e2); +windows_core::imp::define_interface!(IVMRSurfaceAllocatorNotify, IVMRSurfaceAllocatorNotify_Vtbl, 0xaada05a8_5a4e_4729_af0b_cea27aed51e2); windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocatorNotify, windows_core::IUnknown); impl IVMRSurfaceAllocatorNotify { pub unsafe fn AdviseSurfaceAllocator(&self, dwuserid: usize, lpivrmsurfaceallocator: P0) -> windows_core::Result<()> @@ -11261,7 +11261,7 @@ pub struct IVMRSurfaceAllocatorNotify_Vtbl { pub NotifyEvent: unsafe extern "system" fn(*mut core::ffi::c_void, i32, isize, isize) -> windows_core::HRESULT, pub SetBorderColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::COLORREF) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRSurfaceAllocatorNotify9, IVMRSurfaceAllocatorNotify9_Vtbl, 0xdca3f5df_bb3a_4d03_bd81_84614bfbfa0c); +windows_core::imp::define_interface!(IVMRSurfaceAllocatorNotify9, IVMRSurfaceAllocatorNotify9_Vtbl, 0xdca3f5df_bb3a_4d03_bd81_84614bfbfa0c); windows_core::imp::interface_hierarchy!(IVMRSurfaceAllocatorNotify9, windows_core::IUnknown); impl IVMRSurfaceAllocatorNotify9 { pub unsafe fn AdviseSurfaceAllocator(&self, dwuserid: usize, lpivrmsurfaceallocator: P0) -> windows_core::Result<()> @@ -11312,7 +11312,7 @@ pub struct IVMRSurfaceAllocatorNotify9_Vtbl { AllocateSurfaceHelper: usize, pub NotifyEvent: unsafe extern "system" fn(*mut core::ffi::c_void, i32, isize, isize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRVideoStreamControl, IVMRVideoStreamControl_Vtbl, 0x058d1f11_2a54_4bef_bd54_df706626b727); +windows_core::imp::define_interface!(IVMRVideoStreamControl, IVMRVideoStreamControl_Vtbl, 0x058d1f11_2a54_4bef_bd54_df706626b727); windows_core::imp::interface_hierarchy!(IVMRVideoStreamControl, windows_core::IUnknown); impl IVMRVideoStreamControl { #[cfg(feature = "Win32_Graphics_DirectDraw")] @@ -11349,7 +11349,7 @@ pub struct IVMRVideoStreamControl_Vtbl { pub SetStreamActiveState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetStreamActiveState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRVideoStreamControl9, IVMRVideoStreamControl9_Vtbl, 0xd0cfe38b_93e7_4772_8957_0400c49a4485); +windows_core::imp::define_interface!(IVMRVideoStreamControl9, IVMRVideoStreamControl9_Vtbl, 0xd0cfe38b_93e7_4772_8957_0400c49a4485); windows_core::imp::interface_hierarchy!(IVMRVideoStreamControl9, windows_core::IUnknown); impl IVMRVideoStreamControl9 { pub unsafe fn SetStreamActiveState(&self, factive: P0) -> windows_core::Result<()> @@ -11369,7 +11369,7 @@ pub struct IVMRVideoStreamControl9_Vtbl { pub SetStreamActiveState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetStreamActiveState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRWindowlessControl, IVMRWindowlessControl_Vtbl, 0x0eb1088c_4dcd_46f0_878f_39dae86a51b7); +windows_core::imp::define_interface!(IVMRWindowlessControl, IVMRWindowlessControl_Vtbl, 0x0eb1088c_4dcd_46f0_878f_39dae86a51b7); windows_core::imp::interface_hierarchy!(IVMRWindowlessControl, windows_core::IUnknown); impl IVMRWindowlessControl { pub unsafe fn GetNativeVideoSize(&self, lpwidth: *mut i32, lpheight: *mut i32, lparwidth: *mut i32, lparheight: *mut i32) -> windows_core::Result<()> { @@ -11458,7 +11458,7 @@ pub struct IVMRWindowlessControl_Vtbl { pub SetColorKey: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::COLORREF) -> windows_core::HRESULT, pub GetColorKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::COLORREF) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVMRWindowlessControl9, IVMRWindowlessControl9_Vtbl, 0x8f537d09_f85e_4414_b23b_502e54c79927); +windows_core::imp::define_interface!(IVMRWindowlessControl9, IVMRWindowlessControl9_Vtbl, 0x8f537d09_f85e_4414_b23b_502e54c79927); windows_core::imp::interface_hierarchy!(IVMRWindowlessControl9, windows_core::IUnknown); impl IVMRWindowlessControl9 { pub unsafe fn GetNativeVideoSize(&self, lpwidth: *mut i32, lpheight: *mut i32, lparwidth: *mut i32, lparheight: *mut i32) -> windows_core::Result<()> { @@ -11535,7 +11535,7 @@ pub struct IVMRWindowlessControl9_Vtbl { pub SetBorderColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::COLORREF) -> windows_core::HRESULT, pub GetBorderColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::COLORREF) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVPBaseConfig, IVPBaseConfig_Vtbl, 0); +windows_core::imp::define_interface!(IVPBaseConfig, IVPBaseConfig_Vtbl, 0); windows_core::imp::interface_hierarchy!(IVPBaseConfig, windows_core::IUnknown); impl IVPBaseConfig { #[cfg(feature = "Win32_Graphics_DirectDraw")] @@ -11612,7 +11612,7 @@ pub struct IVPBaseConfig_Vtbl { pub SetDDSurfaceKernelHandles: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut usize) -> windows_core::HRESULT, pub SetSurfaceParameters: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVPBaseNotify, IVPBaseNotify_Vtbl, 0); +windows_core::imp::define_interface!(IVPBaseNotify, IVPBaseNotify_Vtbl, 0); windows_core::imp::interface_hierarchy!(IVPBaseNotify, windows_core::IUnknown); impl IVPBaseNotify { pub unsafe fn RenegotiateVPParameters(&self) -> windows_core::Result<()> { @@ -11624,7 +11624,7 @@ pub struct IVPBaseNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RenegotiateVPParameters: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVPConfig, IVPConfig_Vtbl, 0xbc29a660_30e3_11d0_9e69_00c04fd7c15b); +windows_core::imp::define_interface!(IVPConfig, IVPConfig_Vtbl, 0xbc29a660_30e3_11d0_9e69_00c04fd7c15b); windows_core::imp::interface_hierarchy!(IVPConfig, windows_core::IUnknown, IVPBaseConfig); impl IVPConfig { #[cfg(feature = "Win32_Graphics_DirectDraw")] @@ -11684,7 +11684,7 @@ pub struct IVPConfig_Vtbl { pub IsVPDecimationAllowed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetScalingFactors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AMVPSIZE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVPManager, IVPManager_Vtbl, 0xaac18c18_e186_46d2_825d_a1f8dc8e395a); +windows_core::imp::define_interface!(IVPManager, IVPManager_Vtbl, 0xaac18c18_e186_46d2_825d_a1f8dc8e395a); windows_core::imp::interface_hierarchy!(IVPManager, windows_core::IUnknown); impl IVPManager { pub unsafe fn SetVideoPortIndex(&self, dwvideoportindex: u32) -> windows_core::Result<()> { @@ -11701,7 +11701,7 @@ pub struct IVPManager_Vtbl { pub SetVideoPortIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetVideoPortIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVPNotify, IVPNotify_Vtbl, 0xc76794a1_d6c5_11d0_9e69_00c04fd7c15b); +windows_core::imp::define_interface!(IVPNotify, IVPNotify_Vtbl, 0xc76794a1_d6c5_11d0_9e69_00c04fd7c15b); windows_core::imp::interface_hierarchy!(IVPNotify, windows_core::IUnknown, IVPBaseNotify); impl IVPNotify { pub unsafe fn RenegotiateVPParameters(&self) -> windows_core::Result<()> { @@ -11720,7 +11720,7 @@ pub struct IVPNotify_Vtbl { pub SetDeinterlaceMode: unsafe extern "system" fn(*mut core::ffi::c_void, AMVP_MODE) -> windows_core::HRESULT, pub GetDeinterlaceMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AMVP_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVPNotify2, IVPNotify2_Vtbl, 0xebf47183_8764_11d1_9e69_00c04fd7c15b); +windows_core::imp::define_interface!(IVPNotify2, IVPNotify2_Vtbl, 0xebf47183_8764_11d1_9e69_00c04fd7c15b); windows_core::imp::interface_hierarchy!(IVPNotify2, windows_core::IUnknown, IVPBaseNotify, IVPNotify); impl IVPNotify2 { pub unsafe fn RenegotiateVPParameters(&self) -> windows_core::Result<()> { @@ -11748,7 +11748,7 @@ pub struct IVPNotify2_Vtbl { pub SetVPSyncMaster: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetVPSyncMaster: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVPVBIConfig, IVPVBIConfig_Vtbl, 0xec529b00_1a1f_11d1_bad9_00609744111a); +windows_core::imp::define_interface!(IVPVBIConfig, IVPVBIConfig_Vtbl, 0xec529b00_1a1f_11d1_bad9_00609744111a); windows_core::imp::interface_hierarchy!(IVPVBIConfig, windows_core::IUnknown, IVPBaseConfig); impl IVPVBIConfig { #[cfg(feature = "Win32_Graphics_DirectDraw")] @@ -11800,7 +11800,7 @@ impl IVPVBIConfig { pub struct IVPVBIConfig_Vtbl { pub base__: IVPBaseConfig_Vtbl, } -windows_core::imp::com_interface!(IVPVBINotify, IVPVBINotify_Vtbl, 0xec529b01_1a1f_11d1_bad9_00609744111a); +windows_core::imp::define_interface!(IVPVBINotify, IVPVBINotify_Vtbl, 0xec529b01_1a1f_11d1_bad9_00609744111a); windows_core::imp::interface_hierarchy!(IVPVBINotify, windows_core::IUnknown, IVPBaseNotify); impl IVPVBINotify { pub unsafe fn RenegotiateVPParameters(&self) -> windows_core::Result<()> { @@ -11811,7 +11811,7 @@ impl IVPVBINotify { pub struct IVPVBINotify_Vtbl { pub base__: IVPBaseNotify_Vtbl, } -windows_core::imp::com_interface!(IVideoEncoder, IVideoEncoder_Vtbl, 0x02997c3b_8e1b_460e_9270_545e0de9563e); +windows_core::imp::define_interface!(IVideoEncoder, IVideoEncoder_Vtbl, 0x02997c3b_8e1b_460e_9270_545e0de9563e); windows_core::imp::interface_hierarchy!(IVideoEncoder, windows_core::IUnknown, IEncoderAPI); impl IVideoEncoder { pub unsafe fn IsSupported(&self, api: *const windows_core::GUID) -> windows_core::Result<()> { @@ -11842,7 +11842,7 @@ impl IVideoEncoder { pub struct IVideoEncoder_Vtbl { pub base__: IEncoderAPI_Vtbl, } -windows_core::imp::com_interface!(IVideoFrameStep, IVideoFrameStep_Vtbl, 0xe46a9787_2b71_444d_a4b5_1fab7b708d6a); +windows_core::imp::define_interface!(IVideoFrameStep, IVideoFrameStep_Vtbl, 0xe46a9787_2b71_444d_a4b5_1fab7b708d6a); windows_core::imp::interface_hierarchy!(IVideoFrameStep, windows_core::IUnknown); impl IVideoFrameStep { pub unsafe fn Step(&self, dwframes: u32, pstepobject: P0) -> windows_core::Result<()> @@ -11868,7 +11868,7 @@ pub struct IVideoFrameStep_Vtbl { pub CanStep: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CancelStep: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoProcAmp, IVideoProcAmp_Vtbl, 0x4050560e_42a7_413a_85c2_09269a2d0f44); +windows_core::imp::define_interface!(IVideoProcAmp, IVideoProcAmp_Vtbl, 0x4050560e_42a7_413a_85c2_09269a2d0f44); windows_core::imp::interface_hierarchy!(IVideoProcAmp, windows_core::IUnknown); impl IVideoProcAmp { pub unsafe fn get_BacklightCompensation(&self, pvalue: *mut i32, pflags: *mut i32) -> windows_core::Result<()> { @@ -12033,7 +12033,7 @@ pub struct IVideoProcAmp_Vtbl { pub getRange_WhiteBalanceComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32, *mut i32, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IVideoWindow, IVideoWindow_Vtbl, 0x56a868b4_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IVideoWindow, IVideoWindow_Vtbl, 0x56a868b4_0ad4_11ce_b03a_0020af0ba770); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IVideoWindow, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12223,7 +12223,7 @@ pub struct IVideoWindow_Vtbl { pub HideCursor: unsafe extern "system" fn(*mut core::ffi::c_void, OA_BOOL) -> windows_core::HRESULT, pub IsCursorHidden: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMCodecAMVideoAccelerator, IWMCodecAMVideoAccelerator_Vtbl, 0xd98ee251_34e0_4a2d_9312_9b4c788d9fa1); +windows_core::imp::define_interface!(IWMCodecAMVideoAccelerator, IWMCodecAMVideoAccelerator_Vtbl, 0xd98ee251_34e0_4a2d_9312_9b4c788d9fa1); windows_core::imp::interface_hierarchy!(IWMCodecAMVideoAccelerator, windows_core::IUnknown); impl IWMCodecAMVideoAccelerator { pub unsafe fn SetAcceleratorInterface(&self, piamva: P0) -> windows_core::Result<()> @@ -12257,7 +12257,7 @@ pub struct IWMCodecAMVideoAccelerator_Vtbl { #[cfg(not(feature = "Win32_Media_WindowsMediaFormat"))] SetPlayerNotify: usize, } -windows_core::imp::com_interface!(IWMCodecVideoAccelerator, IWMCodecVideoAccelerator_Vtbl, 0x990641b0_739f_4e94_a808_9888da8f75af); +windows_core::imp::define_interface!(IWMCodecVideoAccelerator, IWMCodecVideoAccelerator_Vtbl, 0x990641b0_739f_4e94_a808_9888da8f75af); windows_core::imp::interface_hierarchy!(IWMCodecVideoAccelerator, windows_core::IUnknown); impl IWMCodecVideoAccelerator { #[cfg(feature = "Win32_Media_MediaFoundation")] 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 240452f769..64cfc72360 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/mod.rs @@ -57,7 +57,7 @@ pub unsafe fn MoInitMediaType(pmt: *mut DMO_MEDIA_TYPE, cbformat: u32) -> window windows_targets::link!("msdmo.dll" "system" fn MoInitMediaType(pmt : *mut DMO_MEDIA_TYPE, cbformat : u32) -> windows_core::HRESULT); MoInitMediaType(pmt, cbformat).ok() } -windows_core::imp::com_interface!(IDMOQualityControl, IDMOQualityControl_Vtbl, 0x65abea96_cf36_453f_af8a_705e98f16260); +windows_core::imp::define_interface!(IDMOQualityControl, IDMOQualityControl_Vtbl, 0x65abea96_cf36_453f_af8a_705e98f16260); windows_core::imp::interface_hierarchy!(IDMOQualityControl, windows_core::IUnknown); impl IDMOQualityControl { pub unsafe fn SetNow(&self, rtnow: i64) -> windows_core::Result<()> { @@ -78,7 +78,7 @@ pub struct IDMOQualityControl_Vtbl { pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDMOVideoOutputOptimizations, IDMOVideoOutputOptimizations_Vtbl, 0xbe8f4f4e_5b16_4d29_b350_7f6b5d9298ac); +windows_core::imp::define_interface!(IDMOVideoOutputOptimizations, IDMOVideoOutputOptimizations_Vtbl, 0xbe8f4f4e_5b16_4d29_b350_7f6b5d9298ac); windows_core::imp::interface_hierarchy!(IDMOVideoOutputOptimizations, windows_core::IUnknown); impl IDMOVideoOutputOptimizations { pub unsafe fn QueryOperationModePreferences(&self, uloutputstreamindex: u32) -> windows_core::Result { @@ -105,7 +105,7 @@ pub struct IDMOVideoOutputOptimizations_Vtbl { pub GetCurrentOperationMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetCurrentSampleRequirements: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumDMO, IEnumDMO_Vtbl, 0x2c3cd98a_2bfa_4a53_9c27_5249ba64ba0f); +windows_core::imp::define_interface!(IEnumDMO, IEnumDMO_Vtbl, 0x2c3cd98a_2bfa_4a53_9c27_5249ba64ba0f); windows_core::imp::interface_hierarchy!(IEnumDMO, windows_core::IUnknown); impl IEnumDMO { pub unsafe fn Next(&self, citemstofetch: u32, pclsid: *mut windows_core::GUID, names: *mut windows_core::PWSTR, pcitemsfetched: *mut u32) -> windows_core::Result<()> { @@ -130,7 +130,7 @@ pub struct IEnumDMO_Vtbl { 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, } -windows_core::imp::com_interface!(IMediaBuffer, IMediaBuffer_Vtbl, 0x59eff8b9_938c_4a26_82f2_95cb84cdc837); +windows_core::imp::define_interface!(IMediaBuffer, IMediaBuffer_Vtbl, 0x59eff8b9_938c_4a26_82f2_95cb84cdc837); windows_core::imp::interface_hierarchy!(IMediaBuffer, windows_core::IUnknown); impl IMediaBuffer { pub unsafe fn SetLength(&self, cblength: u32) -> windows_core::Result<()> { @@ -151,7 +151,7 @@ pub struct IMediaBuffer_Vtbl { pub GetMaxLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetBufferAndLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaObject, IMediaObject_Vtbl, 0xd8ad0f58_5494_4102_97c5_ec798e59bcf4); +windows_core::imp::define_interface!(IMediaObject, IMediaObject_Vtbl, 0xd8ad0f58_5494_4102_97c5_ec798e59bcf4); windows_core::imp::interface_hierarchy!(IMediaObject, windows_core::IUnknown); impl IMediaObject { pub unsafe fn GetStreamCount(&self, pcinputstreams: *mut u32, pcoutputstreams: *mut u32) -> windows_core::Result<()> { @@ -250,7 +250,7 @@ pub struct IMediaObject_Vtbl { pub ProcessOutput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut DMO_OUTPUT_DATA_BUFFER, *mut u32) -> windows_core::HRESULT, pub Lock: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaObjectInPlace, IMediaObjectInPlace_Vtbl, 0x651b9ad0_0fc7_4aa9_9538_d89931010741); +windows_core::imp::define_interface!(IMediaObjectInPlace, IMediaObjectInPlace_Vtbl, 0x651b9ad0_0fc7_4aa9_9538_d89931010741); windows_core::imp::interface_hierarchy!(IMediaObjectInPlace, windows_core::IUnknown); impl IMediaObjectInPlace { pub unsafe fn Process(&self, pdata: &mut [u8], reftimestart: i64, dwflags: u32) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs index cec5e8e951..754a0c6660 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/mod.rs @@ -111,7 +111,7 @@ where windows_targets::link!("ksproxy.ax" "system" fn KsSynchronousDeviceControl(handle : super::super::Foundation:: HANDLE, iocontrol : u32, inbuffer : *const core::ffi::c_void, inlength : u32, outbuffer : *mut core::ffi::c_void, outlength : u32, bytesreturned : *mut u32) -> windows_core::HRESULT); KsSynchronousDeviceControl(handle.into_param().abi(), iocontrol, core::mem::transmute(inbuffer.unwrap_or(std::ptr::null())), inlength, core::mem::transmute(outbuffer.unwrap_or(std::ptr::null_mut())), outlength, core::mem::transmute(bytesreturned.unwrap_or(std::ptr::null_mut()))).ok() } -windows_core::imp::com_interface!(IKsAggregateControl, IKsAggregateControl_Vtbl, 0x7f40eac0_3947_11d2_874e_00a0c9223196); +windows_core::imp::define_interface!(IKsAggregateControl, IKsAggregateControl_Vtbl, 0x7f40eac0_3947_11d2_874e_00a0c9223196); windows_core::imp::interface_hierarchy!(IKsAggregateControl, windows_core::IUnknown); impl IKsAggregateControl { pub unsafe fn KsAddAggregate(&self, aggregateclass: *const windows_core::GUID) -> windows_core::Result<()> { @@ -127,7 +127,7 @@ pub struct IKsAggregateControl_Vtbl { pub KsAddAggregate: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub KsRemoveAggregate: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsAllocator, IKsAllocator_Vtbl, 0x8da64899_c0d9_11d0_8413_0000f822fe8a); +windows_core::imp::define_interface!(IKsAllocator, IKsAllocator_Vtbl, 0x8da64899_c0d9_11d0_8413_0000f822fe8a); windows_core::imp::interface_hierarchy!(IKsAllocator, windows_core::IUnknown); impl IKsAllocator { pub unsafe fn KsGetAllocatorHandle(&self) -> super::super::Foundation::HANDLE { @@ -151,7 +151,7 @@ pub struct IKsAllocator_Vtbl { pub KsGetAllocatorStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KSSTREAMALLOCATOR_STATUS) -> windows_core::HRESULT, pub KsSetAllocatorMode: unsafe extern "system" fn(*mut core::ffi::c_void, KSALLOCATORMODE), } -windows_core::imp::com_interface!(IKsAllocatorEx, IKsAllocatorEx_Vtbl, 0x091bb63a_603f_11d1_b067_00a0c9062802); +windows_core::imp::define_interface!(IKsAllocatorEx, IKsAllocatorEx_Vtbl, 0x091bb63a_603f_11d1_b067_00a0c9062802); windows_core::imp::interface_hierarchy!(IKsAllocatorEx, windows_core::IUnknown, IKsAllocator); impl IKsAllocatorEx { pub unsafe fn KsGetAllocatorHandle(&self) -> super::super::Foundation::HANDLE { @@ -193,7 +193,7 @@ pub struct IKsAllocatorEx_Vtbl { pub KsSetAllocatorHandle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE), pub KsCreateAllocatorAndGetHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } -windows_core::imp::com_interface!(IKsClockPropertySet, IKsClockPropertySet_Vtbl, 0x5c5cbd84_e755_11d0_ac18_00a0c9223196); +windows_core::imp::define_interface!(IKsClockPropertySet, IKsClockPropertySet_Vtbl, 0x5c5cbd84_e755_11d0_ac18_00a0c9223196); windows_core::imp::interface_hierarchy!(IKsClockPropertySet, windows_core::IUnknown); impl IKsClockPropertySet { pub unsafe fn KsGetTime(&self) -> windows_core::Result { @@ -247,7 +247,7 @@ pub struct IKsClockPropertySet_Vtbl { pub KsGetResolution: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KSRESOLUTION) -> windows_core::HRESULT, pub KsGetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KSSTATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsControl, IKsControl_Vtbl, 0x28f54685_06fd_11d2_b27a_00a0c9223196); +windows_core::imp::define_interface!(IKsControl, IKsControl_Vtbl, 0x28f54685_06fd_11d2_b27a_00a0c9223196); windows_core::imp::interface_hierarchy!(IKsControl, windows_core::IUnknown); impl IKsControl { pub unsafe fn KsProperty(&self, property: *const KSIDENTIFIER, propertylength: u32, propertydata: *mut core::ffi::c_void, datalength: u32, bytesreturned: *mut u32) -> windows_core::Result<()> { @@ -267,7 +267,7 @@ pub struct IKsControl_Vtbl { pub KsMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *const KSIDENTIFIER, u32, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub KsEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const KSIDENTIFIER, u32, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsDataTypeCompletion, IKsDataTypeCompletion_Vtbl, 0x827d1a0e_0f73_11d2_b27a_00a0c9223196); +windows_core::imp::define_interface!(IKsDataTypeCompletion, IKsDataTypeCompletion_Vtbl, 0x827d1a0e_0f73_11d2_b27a_00a0c9223196); windows_core::imp::interface_hierarchy!(IKsDataTypeCompletion, windows_core::IUnknown); impl IKsDataTypeCompletion { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -286,7 +286,7 @@ pub struct IKsDataTypeCompletion_Vtbl { #[cfg(not(feature = "Win32_Media_MediaFoundation"))] KsCompleteMediaType: usize, } -windows_core::imp::com_interface!(IKsDataTypeHandler, IKsDataTypeHandler_Vtbl, 0x5ffbaa02_49a3_11d0_9f36_00aa00a216a1); +windows_core::imp::define_interface!(IKsDataTypeHandler, IKsDataTypeHandler_Vtbl, 0x5ffbaa02_49a3_11d0_9f36_00aa00a216a1); windows_core::imp::interface_hierarchy!(IKsDataTypeHandler, windows_core::IUnknown); impl IKsDataTypeHandler { #[cfg(feature = "Win32_Media_DirectShow")] @@ -334,7 +334,7 @@ pub struct IKsDataTypeHandler_Vtbl { #[cfg(not(feature = "Win32_Media_MediaFoundation"))] KsSetMediaType: usize, } -windows_core::imp::com_interface!(IKsFormatSupport, IKsFormatSupport_Vtbl, 0x3cb4a69d_bb6f_4d2b_95b7_452d2c155db5); +windows_core::imp::define_interface!(IKsFormatSupport, IKsFormatSupport_Vtbl, 0x3cb4a69d_bb6f_4d2b_95b7_452d2c155db5); windows_core::imp::interface_hierarchy!(IKsFormatSupport, windows_core::IUnknown); impl IKsFormatSupport { pub unsafe fn IsFormatSupported(&self, pksformat: *mut KSDATAFORMAT, cbformat: u32, pbsupported: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -351,7 +351,7 @@ pub struct IKsFormatSupport_Vtbl { pub IsFormatSupported: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KSDATAFORMAT, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetDevicePreferredFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut KSDATAFORMAT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsInterfaceHandler, IKsInterfaceHandler_Vtbl, 0xd3abc7e0_9a61_11d0_a40d_00a0c9223196); +windows_core::imp::define_interface!(IKsInterfaceHandler, IKsInterfaceHandler_Vtbl, 0xd3abc7e0_9a61_11d0_a40d_00a0c9223196); windows_core::imp::interface_hierarchy!(IKsInterfaceHandler, windows_core::IUnknown); impl IKsInterfaceHandler { pub unsafe fn KsSetPin(&self, kspin: P0) -> windows_core::Result<()> @@ -381,7 +381,7 @@ pub struct IKsInterfaceHandler_Vtbl { KsProcessMediaSamples: usize, pub KsCompleteIo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KSSTREAM_SEGMENT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsJackContainerId, IKsJackContainerId_Vtbl, 0xc99af463_d629_4ec4_8c00_e54d68154248); +windows_core::imp::define_interface!(IKsJackContainerId, IKsJackContainerId_Vtbl, 0xc99af463_d629_4ec4_8c00_e54d68154248); windows_core::imp::interface_hierarchy!(IKsJackContainerId, windows_core::IUnknown); impl IKsJackContainerId { pub unsafe fn GetJackContainerId(&self) -> windows_core::Result { @@ -394,7 +394,7 @@ pub struct IKsJackContainerId_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetJackContainerId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsJackDescription, IKsJackDescription_Vtbl, 0x4509f757_2d46_4637_8e62_ce7db944f57b); +windows_core::imp::define_interface!(IKsJackDescription, IKsJackDescription_Vtbl, 0x4509f757_2d46_4637_8e62_ce7db944f57b); windows_core::imp::interface_hierarchy!(IKsJackDescription, windows_core::IUnknown); impl IKsJackDescription { pub unsafe fn GetJackCount(&self) -> windows_core::Result { @@ -411,7 +411,7 @@ pub struct IKsJackDescription_Vtbl { pub GetJackCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetJackDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut KSJACK_DESCRIPTION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsJackDescription2, IKsJackDescription2_Vtbl, 0x478f3a9b_e0c9_4827_9228_6f5505ffe76a); +windows_core::imp::define_interface!(IKsJackDescription2, IKsJackDescription2_Vtbl, 0x478f3a9b_e0c9_4827_9228_6f5505ffe76a); windows_core::imp::interface_hierarchy!(IKsJackDescription2, windows_core::IUnknown); impl IKsJackDescription2 { pub unsafe fn GetJackCount(&self) -> windows_core::Result { @@ -429,7 +429,7 @@ pub struct IKsJackDescription2_Vtbl { pub GetJackCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetJackDescription2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut KSJACK_DESCRIPTION2) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsJackDescription3, IKsJackDescription3_Vtbl, 0xe3f6778b_6660_4cc8_a291_ecc4192d9967); +windows_core::imp::define_interface!(IKsJackDescription3, IKsJackDescription3_Vtbl, 0xe3f6778b_6660_4cc8_a291_ecc4192d9967); windows_core::imp::interface_hierarchy!(IKsJackDescription3, windows_core::IUnknown); impl IKsJackDescription3 { pub unsafe fn GetJackCount(&self) -> windows_core::Result { @@ -447,7 +447,7 @@ pub struct IKsJackDescription3_Vtbl { pub GetJackCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetJackDescription3: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut KSJACK_DESCRIPTION3) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsJackSinkInformation, IKsJackSinkInformation_Vtbl, 0xd9bd72ed_290f_4581_9ff3_61027a8fe532); +windows_core::imp::define_interface!(IKsJackSinkInformation, IKsJackSinkInformation_Vtbl, 0xd9bd72ed_290f_4581_9ff3_61027a8fe532); windows_core::imp::interface_hierarchy!(IKsJackSinkInformation, windows_core::IUnknown); impl IKsJackSinkInformation { pub unsafe fn GetJackSinkInformation(&self, pjacksinkinformation: *mut KSJACK_SINK_INFORMATION) -> windows_core::Result<()> { @@ -459,7 +459,7 @@ pub struct IKsJackSinkInformation_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetJackSinkInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KSJACK_SINK_INFORMATION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsNodeControl, IKsNodeControl_Vtbl, 0x11737c14_24a7_4bb5_81a0_0d003813b0c4); +windows_core::imp::define_interface!(IKsNodeControl, IKsNodeControl_Vtbl, 0x11737c14_24a7_4bb5_81a0_0d003813b0c4); windows_core::imp::interface_hierarchy!(IKsNodeControl, windows_core::IUnknown); impl IKsNodeControl { pub unsafe fn SetNodeId(&self, dwnodeid: u32) -> windows_core::Result<()> { @@ -475,7 +475,7 @@ pub struct IKsNodeControl_Vtbl { pub SetNodeId: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetKsControl: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsNotifyEvent, IKsNotifyEvent_Vtbl, 0x412bd695_f84b_46c1_ac73_54196dbc8fa7); +windows_core::imp::define_interface!(IKsNotifyEvent, IKsNotifyEvent_Vtbl, 0x412bd695_f84b_46c1_ac73_54196dbc8fa7); windows_core::imp::interface_hierarchy!(IKsNotifyEvent, windows_core::IUnknown); impl IKsNotifyEvent { pub unsafe fn KsNotifyEvent(&self, event: u32, lparam1: usize, lparam2: usize) -> windows_core::Result<()> { @@ -487,7 +487,7 @@ pub struct IKsNotifyEvent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub KsNotifyEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsObject, IKsObject_Vtbl, 0x423c13a2_2070_11d0_9ef7_00aa00a216a1); +windows_core::imp::define_interface!(IKsObject, IKsObject_Vtbl, 0x423c13a2_2070_11d0_9ef7_00aa00a216a1); windows_core::imp::interface_hierarchy!(IKsObject, windows_core::IUnknown); impl IKsObject { pub unsafe fn KsGetObjectHandle(&self) -> super::super::Foundation::HANDLE { @@ -499,7 +499,7 @@ pub struct IKsObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub KsGetObjectHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } -windows_core::imp::com_interface!(IKsPin, IKsPin_Vtbl, 0xb61178d1_a2d9_11cf_9e53_00aa00a216a1); +windows_core::imp::define_interface!(IKsPin, IKsPin_Vtbl, 0xb61178d1_a2d9_11cf_9e53_00aa00a216a1); windows_core::imp::interface_hierarchy!(IKsPin, windows_core::IUnknown); impl IKsPin { pub unsafe fn KsQueryMediums(&self) -> windows_core::Result<*mut KSMULTIPLE_ITEM> { @@ -579,7 +579,7 @@ pub struct IKsPin_Vtbl { pub KsDecrementPendingIoCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> i32, pub KsQualityNotify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsPinEx, IKsPinEx_Vtbl, 0x7bb38260_d19c_11d2_b38a_00a0c95ec22e); +windows_core::imp::define_interface!(IKsPinEx, IKsPinEx_Vtbl, 0x7bb38260_d19c_11d2_b38a_00a0c95ec22e); windows_core::imp::interface_hierarchy!(IKsPinEx, windows_core::IUnknown, IKsPin); impl IKsPinEx { pub unsafe fn KsQueryMediums(&self) -> windows_core::Result<*mut KSMULTIPLE_ITEM> { @@ -648,7 +648,7 @@ pub struct IKsPinEx_Vtbl { #[cfg(not(feature = "Win32_Media_DirectShow"))] KsNotifyError: usize, } -windows_core::imp::com_interface!(IKsPinFactory, IKsPinFactory_Vtbl, 0xcd5ebe6b_8b6e_11d1_8ae0_00a0c9223196); +windows_core::imp::define_interface!(IKsPinFactory, IKsPinFactory_Vtbl, 0xcd5ebe6b_8b6e_11d1_8ae0_00a0c9223196); windows_core::imp::interface_hierarchy!(IKsPinFactory, windows_core::IUnknown); impl IKsPinFactory { pub unsafe fn KsPinFactory(&self) -> windows_core::Result { @@ -661,7 +661,7 @@ pub struct IKsPinFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub KsPinFactory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsPinPipe, IKsPinPipe_Vtbl, 0xe539cd90_a8b4_11d1_8189_00a0c9062802); +windows_core::imp::define_interface!(IKsPinPipe, IKsPinPipe_Vtbl, 0xe539cd90_a8b4_11d1_8189_00a0c9062802); windows_core::imp::interface_hierarchy!(IKsPinPipe, windows_core::IUnknown); impl IKsPinPipe { pub unsafe fn KsGetPinFramingCache(&self, framingex: *mut *mut KSALLOCATOR_FRAMING_EX, framingprop: *mut FRAMING_PROP, option: FRAMING_CACHE_OPS) -> windows_core::Result<()> { @@ -722,7 +722,7 @@ pub struct IKsPinPipe_Vtbl { pub KsGetPinName: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PWSTR, pub KsGetFilterName: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::PWSTR, } -windows_core::imp::com_interface!(IKsPropertySet, IKsPropertySet_Vtbl, 0x31efac30_515c_11d0_a9aa_00aa0061be93); +windows_core::imp::define_interface!(IKsPropertySet, IKsPropertySet_Vtbl, 0x31efac30_515c_11d0_a9aa_00aa0061be93); windows_core::imp::interface_hierarchy!(IKsPropertySet, windows_core::IUnknown); impl IKsPropertySet { pub unsafe fn Set(&self, guidpropset: *const windows_core::GUID, dwpropid: u32, pinstancedata: *const core::ffi::c_void, cbinstancedata: u32, ppropdata: *const core::ffi::c_void, cbpropdata: u32) -> windows_core::Result<()> { @@ -743,7 +743,7 @@ pub struct IKsPropertySet_Vtbl { pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const core::ffi::c_void, u32, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub QuerySupported: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsQualityForwarder, IKsQualityForwarder_Vtbl, 0x97ebaacb_95bd_11d0_a3ea_00a0c9223196); +windows_core::imp::define_interface!(IKsQualityForwarder, IKsQualityForwarder_Vtbl, 0x97ebaacb_95bd_11d0_a3ea_00a0c9223196); windows_core::imp::interface_hierarchy!(IKsQualityForwarder, windows_core::IUnknown, IKsObject); impl IKsQualityForwarder { pub unsafe fn KsGetObjectHandle(&self) -> super::super::Foundation::HANDLE { @@ -761,7 +761,7 @@ pub struct IKsQualityForwarder_Vtbl { pub base__: IKsObject_Vtbl, pub KsFlushClient: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } -windows_core::imp::com_interface!(IKsTopology, IKsTopology_Vtbl, 0x28f54683_06fd_11d2_b27a_00a0c9223196); +windows_core::imp::define_interface!(IKsTopology, IKsTopology_Vtbl, 0x28f54683_06fd_11d2_b27a_00a0c9223196); windows_core::imp::interface_hierarchy!(IKsTopology, windows_core::IUnknown); impl IKsTopology { pub unsafe fn CreateNodeInstance(&self, nodeid: u32, flags: u32, desiredaccess: u32, unkouter: P0, interfaceid: *const windows_core::GUID, interface: *mut *mut core::ffi::c_void) -> windows_core::Result<()> @@ -776,7 +776,7 @@ pub struct IKsTopology_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateNodeInstance: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKsTopologyInfo, IKsTopologyInfo_Vtbl, 0x720d4ac0_7533_11d0_a5d6_28db04c10000); +windows_core::imp::define_interface!(IKsTopologyInfo, IKsTopologyInfo_Vtbl, 0x720d4ac0_7533_11d0_a5d6_28db04c10000); windows_core::imp::interface_hierarchy!(IKsTopologyInfo, windows_core::IUnknown); impl IKsTopologyInfo { pub unsafe fn NumCategories(&self) -> windows_core::Result { 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 377b2f37f2..228dc2c10e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsMediaLibrarySharingDevice, IWindowsMediaLibrarySharingDevice_Vtbl, 0x3dccc293_4fd9_4191_a25b_8e57c5d27bd4); +windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDevice, IWindowsMediaLibrarySharingDevice_Vtbl, 0x3dccc293_4fd9_4191_a25b_8e57c5d27bd4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDevice, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -34,7 +34,7 @@ pub struct IWindowsMediaLibrarySharingDevice_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsMediaLibrarySharingDeviceProperties, IWindowsMediaLibrarySharingDeviceProperties_Vtbl, 0xc4623214_6b06_40c5_a623_b2ff4c076bfd); +windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDeviceProperties, IWindowsMediaLibrarySharingDeviceProperties_Vtbl, 0xc4623214_6b06_40c5_a623_b2ff4c076bfd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDeviceProperties, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -72,7 +72,7 @@ pub struct IWindowsMediaLibrarySharingDeviceProperties_Vtbl { GetProperty: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsMediaLibrarySharingDeviceProperty, IWindowsMediaLibrarySharingDeviceProperty_Vtbl, 0x81e26927_7a7d_40a7_81d4_bddc02960e3e); +windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDeviceProperty, IWindowsMediaLibrarySharingDeviceProperty_Vtbl, 0x81e26927_7a7d_40a7_81d4_bddc02960e3e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDeviceProperty, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -94,7 +94,7 @@ pub struct IWindowsMediaLibrarySharingDeviceProperty_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsMediaLibrarySharingDevices, IWindowsMediaLibrarySharingDevices_Vtbl, 0x1803f9d6_fe6d_4546_bf5b_992fe8ec12d1); +windows_core::imp::define_interface!(IWindowsMediaLibrarySharingDevices, IWindowsMediaLibrarySharingDevices_Vtbl, 0x1803f9d6_fe6d_4546_bf5b_992fe8ec12d1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingDevices, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -132,7 +132,7 @@ pub struct IWindowsMediaLibrarySharingDevices_Vtbl { GetDevice: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsMediaLibrarySharingServices, IWindowsMediaLibrarySharingServices_Vtbl, 0x01f5f85e_0a81_40da_a7c8_21ef3af8440c); +windows_core::imp::define_interface!(IWindowsMediaLibrarySharingServices, IWindowsMediaLibrarySharingServices_Vtbl, 0x01f5f85e_0a81_40da_a7c8_21ef3af8440c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsMediaLibrarySharingServices, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 7bced005dc..6d4891f047 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -1853,7 +1853,7 @@ pub unsafe fn OPMXboxGetHDCPStatusAndType(phdcpstatus: *mut OPM_HDCP_STATUS, phd windows_targets::link!("opmxbox.dll" "system" fn OPMXboxGetHDCPStatusAndType(phdcpstatus : *mut OPM_HDCP_STATUS, phdcptype : *mut OPM_HDCP_TYPE) -> windows_core::HRESULT); OPMXboxGetHDCPStatusAndType(phdcpstatus, phdcptype).ok() } -windows_core::imp::com_interface!(IAdvancedMediaCapture, IAdvancedMediaCapture_Vtbl, 0xd0751585_d216_4344_b5bf_463b68f977bb); +windows_core::imp::define_interface!(IAdvancedMediaCapture, IAdvancedMediaCapture_Vtbl, 0xd0751585_d216_4344_b5bf_463b68f977bb); windows_core::imp::interface_hierarchy!(IAdvancedMediaCapture, windows_core::IUnknown); impl IAdvancedMediaCapture { pub unsafe fn GetAdvancedMediaCaptureSettings(&self) -> windows_core::Result { @@ -1866,7 +1866,7 @@ pub struct IAdvancedMediaCapture_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetAdvancedMediaCaptureSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedMediaCaptureInitializationSettings, IAdvancedMediaCaptureInitializationSettings_Vtbl, 0x3de21209_8ba6_4f2a_a577_2819b56ff14d); +windows_core::imp::define_interface!(IAdvancedMediaCaptureInitializationSettings, IAdvancedMediaCaptureInitializationSettings_Vtbl, 0x3de21209_8ba6_4f2a_a577_2819b56ff14d); windows_core::imp::interface_hierarchy!(IAdvancedMediaCaptureInitializationSettings, windows_core::IUnknown); impl IAdvancedMediaCaptureInitializationSettings { pub unsafe fn SetDirectxDeviceManager(&self, value: P0) -> windows_core::Result<()> @@ -1881,7 +1881,7 @@ pub struct IAdvancedMediaCaptureInitializationSettings_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetDirectxDeviceManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdvancedMediaCaptureSettings, IAdvancedMediaCaptureSettings_Vtbl, 0x24e0485f_a33e_4aa1_b564_6019b1d14f65); +windows_core::imp::define_interface!(IAdvancedMediaCaptureSettings, IAdvancedMediaCaptureSettings_Vtbl, 0x24e0485f_a33e_4aa1_b564_6019b1d14f65); windows_core::imp::interface_hierarchy!(IAdvancedMediaCaptureSettings, windows_core::IUnknown); impl IAdvancedMediaCaptureSettings { pub unsafe fn GetDirectxDeviceManager(&self) -> windows_core::Result { @@ -1894,7 +1894,7 @@ pub struct IAdvancedMediaCaptureSettings_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDirectxDeviceManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSourceProvider, IAudioSourceProvider_Vtbl, 0xebbaf249_afc2_4582_91c6_b60df2e84954); +windows_core::imp::define_interface!(IAudioSourceProvider, IAudioSourceProvider_Vtbl, 0xebbaf249_afc2_4582_91c6_b60df2e84954); windows_core::imp::interface_hierarchy!(IAudioSourceProvider, windows_core::IUnknown); impl IAudioSourceProvider { pub unsafe fn ProvideInput(&self, dwsamplecount: u32, pdwchannelcount: *mut u32, pinterleavedaudiodata: Option<*mut f32>) -> windows_core::Result<()> { @@ -1906,7 +1906,7 @@ pub struct IAudioSourceProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProvideInput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClusterDetector, IClusterDetector_Vtbl, 0x3f07f7b7_c680_41d9_9423_915107ec9ff9); +windows_core::imp::define_interface!(IClusterDetector, IClusterDetector_Vtbl, 0x3f07f7b7_c680_41d9_9423_915107ec9ff9); windows_core::imp::interface_hierarchy!(IClusterDetector, windows_core::IUnknown); impl IClusterDetector { pub unsafe fn Initialize(&self, wbaseentrylevel: u16, wclusterentrylevel: u16) -> windows_core::Result<()> { @@ -1926,7 +1926,7 @@ pub struct IClusterDetector_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16) -> windows_core::HRESULT, pub Detect: unsafe extern "system" fn(*mut core::ffi::c_void, u32, f32, f32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICodecAPI, ICodecAPI_Vtbl, 0x901db4c7_31ce_41a2_85dc_8fa0bf41b8da); +windows_core::imp::define_interface!(ICodecAPI, ICodecAPI_Vtbl, 0x901db4c7_31ce_41a2_85dc_8fa0bf41b8da); windows_core::imp::interface_hierarchy!(ICodecAPI, windows_core::IUnknown); impl ICodecAPI { pub unsafe fn IsSupported(&self, api: *const windows_core::GUID) -> windows_core::Result<()> { @@ -2018,7 +2018,7 @@ pub struct ICodecAPI_Vtbl { SetAllSettingsWithNotify: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList_Vtbl, 0x3b60536e_ad29_4e64_a269_f853837e5e53); +windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList_Vtbl, 0x3b60536e_ad29_4e64_a269_f853837e5e53); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2181,7 +2181,7 @@ pub struct ID3D12VideoDecodeCommandList_Vtbl { WriteBufferImmediate: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoDecodeCommandList1, ID3D12VideoDecodeCommandList1_Vtbl, 0xd52f011b_b56e_453c_a05a_a7f311c8f472); +windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList1, ID3D12VideoDecodeCommandList1_Vtbl, 0xd52f011b_b56e_453c_a05a_a7f311c8f472); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList1, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2314,7 +2314,7 @@ pub struct ID3D12VideoDecodeCommandList1_Vtbl { DecodeFrame1: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoDecodeCommandList2, ID3D12VideoDecodeCommandList2_Vtbl, 0x6e120880_c114_4153_8036_d247051e1729); +windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList2, ID3D12VideoDecodeCommandList2_Vtbl, 0x6e120880_c114_4153_8036_d247051e1729); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList2, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2476,7 +2476,7 @@ pub struct ID3D12VideoDecodeCommandList2_Vtbl { ExecuteExtensionCommand: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoDecodeCommandList3, ID3D12VideoDecodeCommandList3_Vtbl, 0x2aee8c37_9562_42da_8abf_61efeb2e4513); +windows_core::imp::define_interface!(ID3D12VideoDecodeCommandList3, ID3D12VideoDecodeCommandList3_Vtbl, 0x2aee8c37_9562_42da_8abf_61efeb2e4513); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoDecodeCommandList3, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoDecodeCommandList, ID3D12VideoDecodeCommandList1, ID3D12VideoDecodeCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2634,7 +2634,7 @@ pub struct ID3D12VideoDecodeCommandList3_Vtbl { Barrier: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoDecoder, ID3D12VideoDecoder_Vtbl, 0xc59b6bdc_7720_4074_a136_17a156037470); +windows_core::imp::define_interface!(ID3D12VideoDecoder, ID3D12VideoDecoder_Vtbl, 0xc59b6bdc_7720_4074_a136_17a156037470); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoDecoder, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2685,7 +2685,7 @@ pub struct ID3D12VideoDecoder_Vtbl { pub GetDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut D3D12_VIDEO_DECODER_DESC), } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoDecoder1, ID3D12VideoDecoder1_Vtbl, 0x79a2e5fb_ccd2_469a_9fde_195d10951f7e); +windows_core::imp::define_interface!(ID3D12VideoDecoder1, ID3D12VideoDecoder1_Vtbl, 0x79a2e5fb_ccd2_469a_9fde_195d10951f7e); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoDecoder1, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoDecoder); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2742,7 +2742,7 @@ pub struct ID3D12VideoDecoder1_Vtbl { pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoDecoderHeap, ID3D12VideoDecoderHeap_Vtbl, 0x0946b7c9_ebf6_4047_bb73_8683e27dbb1f); +windows_core::imp::define_interface!(ID3D12VideoDecoderHeap, ID3D12VideoDecoderHeap_Vtbl, 0x0946b7c9_ebf6_4047_bb73_8683e27dbb1f); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoDecoderHeap, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2797,7 +2797,7 @@ pub struct ID3D12VideoDecoderHeap_Vtbl { GetDesc: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoDecoderHeap1, ID3D12VideoDecoderHeap1_Vtbl, 0xda1d98c5_539f_41b2_bf6b_1198a03b6d26); +windows_core::imp::define_interface!(ID3D12VideoDecoderHeap1, ID3D12VideoDecoderHeap1_Vtbl, 0xda1d98c5_539f_41b2_bf6b_1198a03b6d26); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoDecoderHeap1, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoDecoderHeap); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -2854,7 +2854,7 @@ pub struct ID3D12VideoDecoderHeap1_Vtbl { pub base__: ID3D12VideoDecoderHeap_Vtbl, pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ID3D12VideoDevice, ID3D12VideoDevice_Vtbl, 0x1f052807_0b46_4acc_8a89_364f793718a4); +windows_core::imp::define_interface!(ID3D12VideoDevice, ID3D12VideoDevice_Vtbl, 0x1f052807_0b46_4acc_8a89_364f793718a4); windows_core::imp::interface_hierarchy!(ID3D12VideoDevice, windows_core::IUnknown); impl ID3D12VideoDevice { pub unsafe fn CheckFeatureSupport(&self, featurevideo: D3D12_FEATURE_VIDEO, pfeaturesupportdata: *mut core::ffi::c_void, featuresupportdatasize: u32) -> windows_core::Result<()> { @@ -2900,7 +2900,7 @@ pub struct ID3D12VideoDevice_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] CreateVideoProcessor: usize, } -windows_core::imp::com_interface!(ID3D12VideoDevice1, ID3D12VideoDevice1_Vtbl, 0x981611ad_a144_4c83_9890_f30e26d658ab); +windows_core::imp::define_interface!(ID3D12VideoDevice1, ID3D12VideoDevice1_Vtbl, 0x981611ad_a144_4c83_9890_f30e26d658ab); windows_core::imp::interface_hierarchy!(ID3D12VideoDevice1, windows_core::IUnknown, ID3D12VideoDevice); impl ID3D12VideoDevice1 { pub unsafe fn CheckFeatureSupport(&self, featurevideo: D3D12_FEATURE_VIDEO, pfeaturesupportdata: *mut core::ffi::c_void, featuresupportdatasize: u32) -> windows_core::Result<()> { @@ -2962,7 +2962,7 @@ pub struct ID3D12VideoDevice1_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common")))] CreateVideoMotionVectorHeap: usize, } -windows_core::imp::com_interface!(ID3D12VideoDevice2, ID3D12VideoDevice2_Vtbl, 0xf019ac49_f838_4a95_9b17_579437c8f513); +windows_core::imp::define_interface!(ID3D12VideoDevice2, ID3D12VideoDevice2_Vtbl, 0xf019ac49_f838_4a95_9b17_579437c8f513); windows_core::imp::interface_hierarchy!(ID3D12VideoDevice2, windows_core::IUnknown, ID3D12VideoDevice, ID3D12VideoDevice1); impl ID3D12VideoDevice2 { pub unsafe fn CheckFeatureSupport(&self, featurevideo: D3D12_FEATURE_VIDEO, pfeaturesupportdata: *mut core::ffi::c_void, featuresupportdatasize: u32) -> windows_core::Result<()> { @@ -3079,7 +3079,7 @@ pub struct ID3D12VideoDevice2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] ExecuteExtensionCommand: usize, } -windows_core::imp::com_interface!(ID3D12VideoDevice3, ID3D12VideoDevice3_Vtbl, 0x4243adb4_3a32_4666_973c_0ccc5625dc44); +windows_core::imp::define_interface!(ID3D12VideoDevice3, ID3D12VideoDevice3_Vtbl, 0x4243adb4_3a32_4666_973c_0ccc5625dc44); windows_core::imp::interface_hierarchy!(ID3D12VideoDevice3, windows_core::IUnknown, ID3D12VideoDevice, ID3D12VideoDevice1, ID3D12VideoDevice2); impl ID3D12VideoDevice3 { pub unsafe fn CheckFeatureSupport(&self, featurevideo: D3D12_FEATURE_VIDEO, pfeaturesupportdata: *mut core::ffi::c_void, featuresupportdatasize: u32) -> windows_core::Result<()> { @@ -3197,7 +3197,7 @@ pub struct ID3D12VideoDevice3_Vtbl { pub CreateVideoEncoderHeap: unsafe extern "system" fn(*mut core::ffi::c_void, *const D3D12_VIDEO_ENCODER_HEAP_DESC, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList_Vtbl, 0x8455293a_0cbd_4831_9b39_fbdbab724723); +windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList_Vtbl, 0x8455293a_0cbd_4831_9b39_fbdbab724723); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3379,7 +3379,7 @@ pub struct ID3D12VideoEncodeCommandList_Vtbl { SetProtectedResourceSession: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoEncodeCommandList1, ID3D12VideoEncodeCommandList1_Vtbl, 0x94971eca_2bdb_4769_88cf_3675ea757ebc); +windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList1, ID3D12VideoEncodeCommandList1_Vtbl, 0x94971eca_2bdb_4769_88cf_3675ea757ebc); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList1, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3534,7 +3534,7 @@ pub struct ID3D12VideoEncodeCommandList1_Vtbl { ExecuteExtensionCommand: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoEncodeCommandList2, ID3D12VideoEncodeCommandList2_Vtbl, 0x895491e2_e701_46a9_9a1f_8d3480ed867a); +windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList2, ID3D12VideoEncodeCommandList2_Vtbl, 0x895491e2_e701_46a9_9a1f_8d3480ed867a); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList2, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3701,7 +3701,7 @@ pub struct ID3D12VideoEncodeCommandList2_Vtbl { ResolveEncoderOutputMetadata: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoEncodeCommandList3, ID3D12VideoEncodeCommandList3_Vtbl, 0x7f027b22_1515_4e85_aa0d_026486580576); +windows_core::imp::define_interface!(ID3D12VideoEncodeCommandList3, ID3D12VideoEncodeCommandList3_Vtbl, 0x7f027b22_1515_4e85_aa0d_026486580576); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoEncodeCommandList3, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoEncodeCommandList, ID3D12VideoEncodeCommandList1, ID3D12VideoEncodeCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3868,7 +3868,7 @@ pub struct ID3D12VideoEncodeCommandList3_Vtbl { Barrier: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoEncoder, ID3D12VideoEncoder_Vtbl, 0x2e0d212d_8df9_44a6_a770_bb289b182737); +windows_core::imp::define_interface!(ID3D12VideoEncoder, ID3D12VideoEncoder_Vtbl, 0x2e0d212d_8df9_44a6_a770_bb289b182737); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoEncoder, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -3945,7 +3945,7 @@ pub struct ID3D12VideoEncoder_Vtbl { pub GetMaxMotionEstimationPrecision: unsafe extern "system" fn(*mut core::ffi::c_void) -> D3D12_VIDEO_ENCODER_MOTION_ESTIMATION_PRECISION_MODE, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoEncoderHeap, ID3D12VideoEncoderHeap_Vtbl, 0x22b35d96_876a_44c0_b25e_fb8c9c7f1c4a); +windows_core::imp::define_interface!(ID3D12VideoEncoderHeap, ID3D12VideoEncoderHeap_Vtbl, 0x22b35d96_876a_44c0_b25e_fb8c9c7f1c4a); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoEncoderHeap, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4018,7 +4018,7 @@ pub struct ID3D12VideoEncoderHeap_Vtbl { pub GetResolutionList: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut D3D12_VIDEO_ENCODER_PICTURE_RESOLUTION_DESC) -> windows_core::HRESULT, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoExtensionCommand, ID3D12VideoExtensionCommand_Vtbl, 0x554e41e8_ae8e_4a8c_b7d2_5b4f274a30e4); +windows_core::imp::define_interface!(ID3D12VideoExtensionCommand, ID3D12VideoExtensionCommand_Vtbl, 0x554e41e8_ae8e_4a8c_b7d2_5b4f274a30e4); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoExtensionCommand, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4076,7 +4076,7 @@ pub struct ID3D12VideoExtensionCommand_Vtbl { pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoMotionEstimator, ID3D12VideoMotionEstimator_Vtbl, 0x33fdae0e_098b_428f_87bb_34b695de08f8); +windows_core::imp::define_interface!(ID3D12VideoMotionEstimator, ID3D12VideoMotionEstimator_Vtbl, 0x33fdae0e_098b_428f_87bb_34b695de08f8); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoMotionEstimator, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4138,7 +4138,7 @@ pub struct ID3D12VideoMotionEstimator_Vtbl { pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoMotionVectorHeap, ID3D12VideoMotionVectorHeap_Vtbl, 0x5be17987_743a_4061_834b_23d22daea505); +windows_core::imp::define_interface!(ID3D12VideoMotionVectorHeap, ID3D12VideoMotionVectorHeap_Vtbl, 0x5be17987_743a_4061_834b_23d22daea505); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoMotionVectorHeap, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4200,7 +4200,7 @@ pub struct ID3D12VideoMotionVectorHeap_Vtbl { pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList_Vtbl, 0xaeb2543a_167f_4682_acc8_d159ed4a6209); +windows_core::imp::define_interface!(ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList_Vtbl, 0xaeb2543a_167f_4682_acc8_d159ed4a6209); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoProcessCommandList, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4363,7 +4363,7 @@ pub struct ID3D12VideoProcessCommandList_Vtbl { WriteBufferImmediate: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoProcessCommandList1, ID3D12VideoProcessCommandList1_Vtbl, 0x542c5c4d_7596_434f_8c93_4efa6766f267); +windows_core::imp::define_interface!(ID3D12VideoProcessCommandList1, ID3D12VideoProcessCommandList1_Vtbl, 0x542c5c4d_7596_434f_8c93_4efa6766f267); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoProcessCommandList1, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4496,7 +4496,7 @@ pub struct ID3D12VideoProcessCommandList1_Vtbl { ProcessFrames1: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoProcessCommandList2, ID3D12VideoProcessCommandList2_Vtbl, 0xdb525ae4_6ad6_473c_baa7_59b2e37082e4); +windows_core::imp::define_interface!(ID3D12VideoProcessCommandList2, ID3D12VideoProcessCommandList2_Vtbl, 0xdb525ae4_6ad6_473c_baa7_59b2e37082e4); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoProcessCommandList2, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList1); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4658,7 +4658,7 @@ pub struct ID3D12VideoProcessCommandList2_Vtbl { ExecuteExtensionCommand: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoProcessCommandList3, ID3D12VideoProcessCommandList3_Vtbl, 0x1a0a4ca4_9f08_40ce_9558_b411fd2666ff); +windows_core::imp::define_interface!(ID3D12VideoProcessCommandList3, ID3D12VideoProcessCommandList3_Vtbl, 0x1a0a4ca4_9f08_40ce_9558_b411fd2666ff); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoProcessCommandList3, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12CommandList, ID3D12VideoProcessCommandList, ID3D12VideoProcessCommandList1, ID3D12VideoProcessCommandList2); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4816,7 +4816,7 @@ pub struct ID3D12VideoProcessCommandList3_Vtbl { Barrier: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoProcessor, ID3D12VideoProcessor_Vtbl, 0x304fdb32_bede_410a_8545_943ac6a46138); +windows_core::imp::define_interface!(ID3D12VideoProcessor, ID3D12VideoProcessor_Vtbl, 0x304fdb32_bede_410a_8545_943ac6a46138); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoProcessor, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4887,7 +4887,7 @@ pub struct ID3D12VideoProcessor_Vtbl { GetOutputStreamDesc: usize, } #[cfg(feature = "Win32_Graphics_Direct3D12")] -windows_core::imp::com_interface!(ID3D12VideoProcessor1, ID3D12VideoProcessor1_Vtbl, 0xf3cfe615_553f_425c_86d8_ee8c1b1fb01c); +windows_core::imp::define_interface!(ID3D12VideoProcessor1, ID3D12VideoProcessor1_Vtbl, 0xf3cfe615_553f_425c_86d8_ee8c1b1fb01c); #[cfg(feature = "Win32_Graphics_Direct3D12")] windows_core::imp::interface_hierarchy!(ID3D12VideoProcessor1, windows_core::IUnknown, super::super::Graphics::Direct3D12::ID3D12Object, super::super::Graphics::Direct3D12::ID3D12DeviceChild, super::super::Graphics::Direct3D12::ID3D12Pageable, ID3D12VideoProcessor); #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -4954,7 +4954,7 @@ pub struct ID3D12VideoProcessor1_Vtbl { pub base__: ID3D12VideoProcessor_Vtbl, pub GetProtectedResourceSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXVAHD_Device, IDXVAHD_Device_Vtbl, 0x95f12dfd_d77e_49be_815f_57d579634d6d); +windows_core::imp::define_interface!(IDXVAHD_Device, IDXVAHD_Device_Vtbl, 0x95f12dfd_d77e_49be_815f_57d579634d6d); windows_core::imp::interface_hierarchy!(IDXVAHD_Device, windows_core::IUnknown); impl IDXVAHD_Device { #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -5012,7 +5012,7 @@ pub struct IDXVAHD_Device_Vtbl { pub GetVideoProcessorFilterRange: unsafe extern "system" fn(*mut core::ffi::c_void, DXVAHD_FILTER, *mut DXVAHD_FILTER_RANGE_DATA) -> windows_core::HRESULT, pub CreateVideoProcessor: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDXVAHD_VideoProcessor, IDXVAHD_VideoProcessor_Vtbl, 0x95f4edf4_6e03_4cd7_be1b_3075d665aa52); +windows_core::imp::define_interface!(IDXVAHD_VideoProcessor, IDXVAHD_VideoProcessor_Vtbl, 0x95f4edf4_6e03_4cd7_be1b_3075d665aa52); windows_core::imp::interface_hierarchy!(IDXVAHD_VideoProcessor, windows_core::IUnknown); impl IDXVAHD_VideoProcessor { pub unsafe fn SetVideoProcessBltState(&self, state: DXVAHD_BLT_STATE, datasize: u32, pdata: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -5047,7 +5047,7 @@ pub struct IDXVAHD_VideoProcessor_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D9"))] VideoProcessBltHD: usize, } -windows_core::imp::com_interface!(IDirect3D9ExOverlayExtension, IDirect3D9ExOverlayExtension_Vtbl, 0x187aeb13_aaf5_4c59_876d_e059088c0df8); +windows_core::imp::define_interface!(IDirect3D9ExOverlayExtension, IDirect3D9ExOverlayExtension_Vtbl, 0x187aeb13_aaf5_4c59_876d_e059088c0df8); windows_core::imp::interface_hierarchy!(IDirect3D9ExOverlayExtension, windows_core::IUnknown); impl IDirect3D9ExOverlayExtension { #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -5063,7 +5063,7 @@ pub struct IDirect3D9ExOverlayExtension_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D9"))] CheckDeviceOverlayType: usize, } -windows_core::imp::com_interface!(IDirect3DAuthenticatedChannel9, IDirect3DAuthenticatedChannel9_Vtbl, 0xff24beee_da21_4beb_98b5_d2f899f98af9); +windows_core::imp::define_interface!(IDirect3DAuthenticatedChannel9, IDirect3DAuthenticatedChannel9_Vtbl, 0xff24beee_da21_4beb_98b5_d2f899f98af9); windows_core::imp::interface_hierarchy!(IDirect3DAuthenticatedChannel9, windows_core::IUnknown); impl IDirect3DAuthenticatedChannel9 { pub unsafe fn GetCertificateSize(&self, pcertificatesize: *mut u32) -> windows_core::Result<()> { @@ -5095,7 +5095,7 @@ pub struct IDirect3DAuthenticatedChannel9_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D9"))] Configure: usize, } -windows_core::imp::com_interface!(IDirect3DCryptoSession9, IDirect3DCryptoSession9_Vtbl, 0xfa0ab799_7a9c_48ca_8c5b_237e71a54434); +windows_core::imp::define_interface!(IDirect3DCryptoSession9, IDirect3DCryptoSession9_Vtbl, 0xfa0ab799_7a9c_48ca_8c5b_237e71a54434); windows_core::imp::interface_hierarchy!(IDirect3DCryptoSession9, windows_core::IUnknown); impl IDirect3DCryptoSession9 { pub unsafe fn GetCertificateSize(&self, pcertificatesize: *mut u32) -> windows_core::Result<()> { @@ -5162,7 +5162,7 @@ pub struct IDirect3DCryptoSession9_Vtbl { pub FinishSessionKeyRefresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetEncryptionBltKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DDevice9Video, IDirect3DDevice9Video_Vtbl, 0x26dc4561_a1ee_4ae7_96da_118a36c0ec95); +windows_core::imp::define_interface!(IDirect3DDevice9Video, IDirect3DDevice9Video_Vtbl, 0x26dc4561_a1ee_4ae7_96da_118a36c0ec95); windows_core::imp::interface_hierarchy!(IDirect3DDevice9Video, windows_core::IUnknown); impl IDirect3DDevice9Video { pub unsafe fn GetContentProtectionCaps(&self, pcryptotype: *const windows_core::GUID, pdecodeprofile: *const windows_core::GUID, pcaps: *mut D3DCONTENTPROTECTIONCAPS) -> windows_core::Result<()> { @@ -5186,7 +5186,7 @@ pub struct IDirect3DDevice9Video_Vtbl { CreateAuthenticatedChannel: usize, pub CreateCryptoSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirect3DDeviceManager9, IDirect3DDeviceManager9_Vtbl, 0xa0cade0f_06d5_4cf4_a1c7_f3cdd725aa75); +windows_core::imp::define_interface!(IDirect3DDeviceManager9, IDirect3DDeviceManager9_Vtbl, 0xa0cade0f_06d5_4cf4_a1c7_f3cdd725aa75); windows_core::imp::interface_hierarchy!(IDirect3DDeviceManager9, windows_core::IUnknown); impl IDirect3DDeviceManager9 { #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -5251,7 +5251,7 @@ pub struct IDirect3DDeviceManager9_Vtbl { pub UnlockDevice: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetVideoService: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectXVideoAccelerationService, IDirectXVideoAccelerationService_Vtbl, 0xfc51a550_d5e7_11d9_af55_00054e43ff02); +windows_core::imp::define_interface!(IDirectXVideoAccelerationService, IDirectXVideoAccelerationService_Vtbl, 0xfc51a550_d5e7_11d9_af55_00054e43ff02); windows_core::imp::interface_hierarchy!(IDirectXVideoAccelerationService, windows_core::IUnknown); impl IDirectXVideoAccelerationService { #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -5267,7 +5267,7 @@ pub struct IDirectXVideoAccelerationService_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D9"))] CreateSurface: usize, } -windows_core::imp::com_interface!(IDirectXVideoDecoder, IDirectXVideoDecoder_Vtbl, 0xf2b0810a_fd00_43c9_918c_df94e2d8ef7d); +windows_core::imp::define_interface!(IDirectXVideoDecoder, IDirectXVideoDecoder_Vtbl, 0xf2b0810a_fd00_43c9_918c_df94e2d8ef7d); windows_core::imp::interface_hierarchy!(IDirectXVideoDecoder, windows_core::IUnknown); impl IDirectXVideoDecoder { pub unsafe fn GetVideoDecoderService(&self) -> windows_core::Result { @@ -5315,7 +5315,7 @@ pub struct IDirectXVideoDecoder_Vtbl { pub EndFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, *const DXVA2_DecodeExecuteParams) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectXVideoDecoderService, IDirectXVideoDecoderService_Vtbl, 0xfc51a551_d5e7_11d9_af55_00054e43ff02); +windows_core::imp::define_interface!(IDirectXVideoDecoderService, IDirectXVideoDecoderService_Vtbl, 0xfc51a551_d5e7_11d9_af55_00054e43ff02); windows_core::imp::interface_hierarchy!(IDirectXVideoDecoderService, windows_core::IUnknown, IDirectXVideoAccelerationService); impl IDirectXVideoDecoderService { #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -5356,7 +5356,7 @@ pub struct IDirectXVideoDecoderService_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D9"))] CreateVideoDecoder: usize, } -windows_core::imp::com_interface!(IDirectXVideoMemoryConfiguration, IDirectXVideoMemoryConfiguration_Vtbl, 0xb7f916dd_db3b_49c1_84d7_e45ef99ec726); +windows_core::imp::define_interface!(IDirectXVideoMemoryConfiguration, IDirectXVideoMemoryConfiguration_Vtbl, 0xb7f916dd_db3b_49c1_84d7_e45ef99ec726); windows_core::imp::interface_hierarchy!(IDirectXVideoMemoryConfiguration, windows_core::IUnknown); impl IDirectXVideoMemoryConfiguration { pub unsafe fn GetAvailableSurfaceTypeByIndex(&self, dwtypeindex: u32) -> windows_core::Result { @@ -5373,7 +5373,7 @@ pub struct IDirectXVideoMemoryConfiguration_Vtbl { pub GetAvailableSurfaceTypeByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DXVA2_SurfaceType) -> windows_core::HRESULT, pub SetSurfaceType: unsafe extern "system" fn(*mut core::ffi::c_void, DXVA2_SurfaceType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectXVideoProcessor, IDirectXVideoProcessor_Vtbl, 0x8c3a39f0_916e_4690_804f_4c8001355d25); +windows_core::imp::define_interface!(IDirectXVideoProcessor, IDirectXVideoProcessor_Vtbl, 0x8c3a39f0_916e_4690_804f_4c8001355d25); windows_core::imp::interface_hierarchy!(IDirectXVideoProcessor, windows_core::IUnknown); impl IDirectXVideoProcessor { pub unsafe fn GetVideoProcessorService(&self) -> windows_core::Result { @@ -5423,7 +5423,7 @@ pub struct IDirectXVideoProcessor_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D9"))] VideoProcessBlt: usize, } -windows_core::imp::com_interface!(IDirectXVideoProcessorService, IDirectXVideoProcessorService_Vtbl, 0xfc51a552_d5e7_11d9_af55_00054e43ff02); +windows_core::imp::define_interface!(IDirectXVideoProcessorService, IDirectXVideoProcessorService_Vtbl, 0xfc51a552_d5e7_11d9_af55_00054e43ff02); windows_core::imp::interface_hierarchy!(IDirectXVideoProcessorService, windows_core::IUnknown, IDirectXVideoAccelerationService); impl IDirectXVideoProcessorService { #[cfg(feature = "Win32_Graphics_Direct3D9")] @@ -5498,7 +5498,7 @@ pub struct IDirectXVideoProcessorService_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D9"))] CreateVideoProcessor: usize, } -windows_core::imp::com_interface!(IEVRFilterConfig, IEVRFilterConfig_Vtbl, 0x83e91e85_82c1_4ea7_801d_85dc50b75086); +windows_core::imp::define_interface!(IEVRFilterConfig, IEVRFilterConfig_Vtbl, 0x83e91e85_82c1_4ea7_801d_85dc50b75086); windows_core::imp::interface_hierarchy!(IEVRFilterConfig, windows_core::IUnknown); impl IEVRFilterConfig { pub unsafe fn SetNumberOfStreams(&self, dwmaxstreams: u32) -> windows_core::Result<()> { @@ -5515,7 +5515,7 @@ pub struct IEVRFilterConfig_Vtbl { pub SetNumberOfStreams: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetNumberOfStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEVRFilterConfigEx, IEVRFilterConfigEx_Vtbl, 0xaea36028_796d_454f_beee_b48071e24304); +windows_core::imp::define_interface!(IEVRFilterConfigEx, IEVRFilterConfigEx_Vtbl, 0xaea36028_796d_454f_beee_b48071e24304); windows_core::imp::interface_hierarchy!(IEVRFilterConfigEx, windows_core::IUnknown, IEVRFilterConfig); impl IEVRFilterConfigEx { pub unsafe fn SetNumberOfStreams(&self, dwmaxstreams: u32) -> windows_core::Result<()> { @@ -5539,7 +5539,7 @@ pub struct IEVRFilterConfigEx_Vtbl { pub SetConfigPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetConfigPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEVRTrustedVideoPlugin, IEVRTrustedVideoPlugin_Vtbl, 0x83a4ce40_7710_494b_a893_a472049af630); +windows_core::imp::define_interface!(IEVRTrustedVideoPlugin, IEVRTrustedVideoPlugin_Vtbl, 0x83a4ce40_7710_494b_a893_a472049af630); windows_core::imp::interface_hierarchy!(IEVRTrustedVideoPlugin, windows_core::IUnknown); impl IEVRTrustedVideoPlugin { pub unsafe fn IsInTrustedVideoMode(&self) -> windows_core::Result { @@ -5568,7 +5568,7 @@ pub struct IEVRTrustedVideoPlugin_Vtbl { pub SetConstriction: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub DisableImageExport: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEVRVideoStreamControl, IEVRVideoStreamControl_Vtbl, 0xd0cfe38b_93e7_4772_8957_0400c49a4485); +windows_core::imp::define_interface!(IEVRVideoStreamControl, IEVRVideoStreamControl_Vtbl, 0xd0cfe38b_93e7_4772_8957_0400c49a4485); windows_core::imp::interface_hierarchy!(IEVRVideoStreamControl, windows_core::IUnknown); impl IEVRVideoStreamControl { pub unsafe fn SetStreamActiveState(&self, factive: P0) -> windows_core::Result<()> @@ -5588,7 +5588,7 @@ pub struct IEVRVideoStreamControl_Vtbl { pub SetStreamActiveState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetStreamActiveState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileClient, IFileClient_Vtbl, 0xbfccd196_1244_4840_ab44_480975c4ffe4); +windows_core::imp::define_interface!(IFileClient, IFileClient_Vtbl, 0xbfccd196_1244_4840_ab44_480975c4ffe4); windows_core::imp::interface_hierarchy!(IFileClient, windows_core::IUnknown); impl IFileClient { pub unsafe fn GetObjectDiskSize(&self, pqwsize: *mut u64) -> windows_core::Result<()> { @@ -5614,7 +5614,7 @@ pub struct IFileClient_Vtbl { pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileIo, IFileIo_Vtbl, 0x11993196_1244_4840_ab44_480975c4ffe4); +windows_core::imp::define_interface!(IFileIo, IFileIo_Vtbl, 0x11993196_1244_4840_ab44_480975c4ffe4); windows_core::imp::interface_hierarchy!(IFileIo, windows_core::IUnknown); impl IFileIo { pub unsafe fn Initialize(&self, eaccessmode: FILE_ACCESSMODE, eopenmode: FILE_OPENMODE, pwszfilename: P0) -> windows_core::Result<()> @@ -5665,7 +5665,7 @@ pub struct IFileIo_Vtbl { pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, SEEK_ORIGIN, u64, u32, *mut u64) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMF2DBuffer, IMF2DBuffer_Vtbl, 0x7dc9d5f9_9ed9_44ec_9bbf_0600bb589fbb); +windows_core::imp::define_interface!(IMF2DBuffer, IMF2DBuffer_Vtbl, 0x7dc9d5f9_9ed9_44ec_9bbf_0600bb589fbb); windows_core::imp::interface_hierarchy!(IMF2DBuffer, windows_core::IUnknown); impl IMF2DBuffer { pub unsafe fn Lock2D(&self, ppbscanline0: *mut *mut u8, plpitch: *mut i32) -> windows_core::Result<()> { @@ -5703,7 +5703,7 @@ pub struct IMF2DBuffer_Vtbl { pub ContiguousCopyTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32) -> windows_core::HRESULT, pub ContiguousCopyFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMF2DBuffer2, IMF2DBuffer2_Vtbl, 0x33ae5ea6_4316_436f_8ddd_d73d22f829ec); +windows_core::imp::define_interface!(IMF2DBuffer2, IMF2DBuffer2_Vtbl, 0x33ae5ea6_4316_436f_8ddd_d73d22f829ec); windows_core::imp::interface_hierarchy!(IMF2DBuffer2, windows_core::IUnknown, IMF2DBuffer); impl IMF2DBuffer2 { pub unsafe fn Lock2D(&self, ppbscanline0: *mut *mut u8, plpitch: *mut i32) -> windows_core::Result<()> { @@ -5745,7 +5745,7 @@ pub struct IMF2DBuffer2_Vtbl { pub Lock2DSize: unsafe extern "system" fn(*mut core::ffi::c_void, MF2DBuffer_LockFlags, *mut *mut u8, *mut i32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub Copy2DTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFASFContentInfo, IMFASFContentInfo_Vtbl, 0xb1dca5cd_d5da_4451_8e9e_db5c59914ead); +windows_core::imp::define_interface!(IMFASFContentInfo, IMFASFContentInfo_Vtbl, 0xb1dca5cd_d5da_4451_8e9e_db5c59914ead); windows_core::imp::interface_hierarchy!(IMFASFContentInfo, windows_core::IUnknown); impl IMFASFContentInfo { pub unsafe fn GetHeaderSize(&self, pistartofcontent: P0) -> windows_core::Result @@ -5802,7 +5802,7 @@ pub struct IMFASFContentInfo_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetEncodingConfigurationPropertyStore: usize, } -windows_core::imp::com_interface!(IMFASFIndexer, IMFASFIndexer_Vtbl, 0x53590f48_dc3b_4297_813f_787761ad7b3e); +windows_core::imp::define_interface!(IMFASFIndexer, IMFASFIndexer_Vtbl, 0x53590f48_dc3b_4297_813f_787761ad7b3e); windows_core::imp::interface_hierarchy!(IMFASFIndexer, windows_core::IUnknown); impl IMFASFIndexer { pub unsafe fn SetFlags(&self, dwflags: u32) -> windows_core::Result<()> { @@ -5884,7 +5884,7 @@ pub struct IMFASFIndexer_Vtbl { pub GetIndexWriteSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub GetCompletedIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFASFMultiplexer, IMFASFMultiplexer_Vtbl, 0x57bdd80a_9b38_4838_b737_c58f670d7d4f); +windows_core::imp::define_interface!(IMFASFMultiplexer, IMFASFMultiplexer_Vtbl, 0x57bdd80a_9b38_4838_b737_c58f670d7d4f); windows_core::imp::interface_hierarchy!(IMFASFMultiplexer, windows_core::IUnknown); impl IMFASFMultiplexer { pub unsafe fn Initialize(&self, picontentinfo: P0) -> windows_core::Result<()> @@ -5939,7 +5939,7 @@ pub struct IMFASFMultiplexer_Vtbl { pub GetStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut ASF_MUX_STATISTICS) -> windows_core::HRESULT, pub SetSyncTolerance: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFASFMutualExclusion, IMFASFMutualExclusion_Vtbl, 0x12558291_e399_11d5_bc2a_00b0d0f3f4ab); +windows_core::imp::define_interface!(IMFASFMutualExclusion, IMFASFMutualExclusion_Vtbl, 0x12558291_e399_11d5_bc2a_00b0d0f3f4ab); windows_core::imp::interface_hierarchy!(IMFASFMutualExclusion, windows_core::IUnknown); impl IMFASFMutualExclusion { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -5987,7 +5987,7 @@ pub struct IMFASFMutualExclusion_Vtbl { pub AddRecord: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFASFProfile, IMFASFProfile_Vtbl, 0xd267bf6a_028b_4e0d_903d_43f0ef82d0d4); +windows_core::imp::define_interface!(IMFASFProfile, IMFASFProfile_Vtbl, 0xd267bf6a_028b_4e0d_903d_43f0ef82d0d4); windows_core::imp::interface_hierarchy!(IMFASFProfile, windows_core::IUnknown, IMFAttributes); impl IMFASFProfile { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -6196,7 +6196,7 @@ pub struct IMFASFProfile_Vtbl { pub CreateStreamPrioritization: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IMFASFSplitter, IMFASFSplitter_Vtbl, 0x12558295_e399_11d5_bc2a_00b0d0f3f4ab); +windows_core::imp::define_interface!(IMFASFSplitter, IMFASFSplitter_Vtbl, 0x12558295_e399_11d5_bc2a_00b0d0f3f4ab); windows_core::imp::interface_hierarchy!(IMFASFSplitter, windows_core::IUnknown); impl IMFASFSplitter { pub unsafe fn Initialize(&self, picontentinfo: P0) -> windows_core::Result<()> @@ -6248,7 +6248,7 @@ pub struct IMFASFSplitter_Vtbl { pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLastSendTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFASFStreamConfig, IMFASFStreamConfig_Vtbl, 0x9e8ae8d2_dbbd_4200_9aca_06e6df484913); +windows_core::imp::define_interface!(IMFASFStreamConfig, IMFASFStreamConfig_Vtbl, 0x9e8ae8d2_dbbd_4200_9aca_06e6df484913); windows_core::imp::interface_hierarchy!(IMFASFStreamConfig, windows_core::IUnknown, IMFAttributes); impl IMFASFStreamConfig { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -6419,7 +6419,7 @@ pub struct IMFASFStreamConfig_Vtbl { pub RemoveAllPayloadExtensions: 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, } -windows_core::imp::com_interface!(IMFASFStreamPrioritization, IMFASFStreamPrioritization_Vtbl, 0x699bdc27_bbaf_49ff_8e38_9c39c9b5e088); +windows_core::imp::define_interface!(IMFASFStreamPrioritization, IMFASFStreamPrioritization_Vtbl, 0x699bdc27_bbaf_49ff_8e38_9c39c9b5e088); windows_core::imp::interface_hierarchy!(IMFASFStreamPrioritization, windows_core::IUnknown); impl IMFASFStreamPrioritization { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { @@ -6449,7 +6449,7 @@ pub struct IMFASFStreamPrioritization_Vtbl { pub RemoveStream: 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, } -windows_core::imp::com_interface!(IMFASFStreamSelector, IMFASFStreamSelector_Vtbl, 0xd01bad4a_4fa0_4a60_9349_c27e62da9d41); +windows_core::imp::define_interface!(IMFASFStreamSelector, IMFASFStreamSelector_Vtbl, 0xd01bad4a_4fa0_4a60_9349_c27e62da9d41); windows_core::imp::interface_hierarchy!(IMFASFStreamSelector, windows_core::IUnknown); impl IMFASFStreamSelector { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { @@ -6523,7 +6523,7 @@ pub struct IMFASFStreamSelector_Vtbl { pub BitrateToStepNumber: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub SetStreamSelectorFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFActivate, IMFActivate_Vtbl, 0x7fee9e9a_4a89_47a6_899c_b6a53a70fb67); +windows_core::imp::define_interface!(IMFActivate, IMFActivate_Vtbl, 0x7fee9e9a_4a89_47a6_899c_b6a53a70fb67); windows_core::imp::interface_hierarchy!(IMFActivate, windows_core::IUnknown, IMFAttributes); impl IMFActivate { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -6663,7 +6663,7 @@ pub struct IMFActivate_Vtbl { pub ShutdownObject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DetachObject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFAsyncCallback, IMFAsyncCallback_Vtbl, 0xa27003cf_2354_4f2a_8d6a_ab7cff15437e); +windows_core::imp::define_interface!(IMFAsyncCallback, IMFAsyncCallback_Vtbl, 0xa27003cf_2354_4f2a_8d6a_ab7cff15437e); windows_core::imp::interface_hierarchy!(IMFAsyncCallback, windows_core::IUnknown); impl IMFAsyncCallback { pub unsafe fn GetParameters(&self, pdwflags: *mut u32, pdwqueue: *mut u32) -> windows_core::Result<()> { @@ -6682,7 +6682,7 @@ pub struct IMFAsyncCallback_Vtbl { pub GetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFAsyncCallbackLogging, IMFAsyncCallbackLogging_Vtbl, 0xc7a4dca1_f5f0_47b6_b92b_bf0106d25791); +windows_core::imp::define_interface!(IMFAsyncCallbackLogging, IMFAsyncCallbackLogging_Vtbl, 0xc7a4dca1_f5f0_47b6_b92b_bf0106d25791); windows_core::imp::interface_hierarchy!(IMFAsyncCallbackLogging, windows_core::IUnknown, IMFAsyncCallback); impl IMFAsyncCallbackLogging { pub unsafe fn GetParameters(&self, pdwflags: *mut u32, pdwqueue: *mut u32) -> windows_core::Result<()> { @@ -6707,7 +6707,7 @@ pub struct IMFAsyncCallbackLogging_Vtbl { pub GetObjectPointer: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut core::ffi::c_void, pub GetObjectTag: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(IMFAsyncResult, IMFAsyncResult_Vtbl, 0xac6b7889_0740_4d51_8619_905994a55cc6); +windows_core::imp::define_interface!(IMFAsyncResult, IMFAsyncResult_Vtbl, 0xac6b7889_0740_4d51_8619_905994a55cc6); windows_core::imp::interface_hierarchy!(IMFAsyncResult, windows_core::IUnknown); impl IMFAsyncResult { pub unsafe fn GetState(&self) -> windows_core::Result { @@ -6737,7 +6737,7 @@ pub struct IMFAsyncResult_Vtbl { pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetStateNoAddRef: unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, } -windows_core::imp::com_interface!(IMFAttributes, IMFAttributes_Vtbl, 0x2cd2d921_c447_44a7_a13c_4adabfc247e3); +windows_core::imp::define_interface!(IMFAttributes, IMFAttributes_Vtbl, 0x2cd2d921_c447_44a7_a13c_4adabfc247e3); windows_core::imp::interface_hierarchy!(IMFAttributes, windows_core::IUnknown); impl IMFAttributes { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -6891,7 +6891,7 @@ pub struct IMFAttributes_Vtbl { pub GetItemByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID, *mut std::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::com_interface!(IMFAudioMediaType, IMFAudioMediaType_Vtbl, 0x26a0adc3_ce26_4672_9304_69552edd3faf); +windows_core::imp::define_interface!(IMFAudioMediaType, IMFAudioMediaType_Vtbl, 0x26a0adc3_ce26_4672_9304_69552edd3faf); windows_core::imp::interface_hierarchy!(IMFAudioMediaType, windows_core::IUnknown, IMFAttributes, IMFMediaType); impl IMFAudioMediaType { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -7044,7 +7044,7 @@ pub struct IMFAudioMediaType_Vtbl { #[cfg(not(feature = "Win32_Media_Audio"))] GetAudioFormat: usize, } -windows_core::imp::com_interface!(IMFAudioPolicy, IMFAudioPolicy_Vtbl, 0xa0638c2b_6465_4395_9ae7_a321a9fd2856); +windows_core::imp::define_interface!(IMFAudioPolicy, IMFAudioPolicy_Vtbl, 0xa0638c2b_6465_4395_9ae7_a321a9fd2856); windows_core::imp::interface_hierarchy!(IMFAudioPolicy, windows_core::IUnknown); impl IMFAudioPolicy { pub unsafe fn SetGroupingParam(&self, rguidclass: *const windows_core::GUID) -> windows_core::Result<()> { @@ -7085,7 +7085,7 @@ pub struct IMFAudioPolicy_Vtbl { pub SetIconPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetIconPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFAudioStreamVolume, IMFAudioStreamVolume_Vtbl, 0x76b1bbdb_4ec8_4f36_b106_70a9316df593); +windows_core::imp::define_interface!(IMFAudioStreamVolume, IMFAudioStreamVolume_Vtbl, 0x76b1bbdb_4ec8_4f36_b106_70a9316df593); windows_core::imp::interface_hierarchy!(IMFAudioStreamVolume, windows_core::IUnknown); impl IMFAudioStreamVolume { pub unsafe fn GetChannelCount(&self) -> windows_core::Result { @@ -7115,7 +7115,7 @@ pub struct IMFAudioStreamVolume_Vtbl { pub SetAllVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const f32) -> windows_core::HRESULT, pub GetAllVolumes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFBufferListNotify, IMFBufferListNotify_Vtbl, 0x24cd47f7_81d8_4785_adb2_af697a963cd2); +windows_core::imp::define_interface!(IMFBufferListNotify, IMFBufferListNotify_Vtbl, 0x24cd47f7_81d8_4785_adb2_af697a963cd2); windows_core::imp::interface_hierarchy!(IMFBufferListNotify, windows_core::IUnknown); impl IMFBufferListNotify { pub unsafe fn OnAddSourceBuffer(&self) { @@ -7131,7 +7131,7 @@ pub struct IMFBufferListNotify_Vtbl { pub OnAddSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void), pub OnRemoveSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMFByteStream, IMFByteStream_Vtbl, 0xad4c1b00_4bf7_422f_9175_756693d9130d); +windows_core::imp::define_interface!(IMFByteStream, IMFByteStream_Vtbl, 0xad4c1b00_4bf7_422f_9175_756693d9130d); windows_core::imp::interface_hierarchy!(IMFByteStream, windows_core::IUnknown); impl IMFByteStream { pub unsafe fn GetCapabilities(&self) -> windows_core::Result { @@ -7221,7 +7221,7 @@ pub struct IMFByteStream_Vtbl { pub Flush: 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, } -windows_core::imp::com_interface!(IMFByteStreamBuffering, IMFByteStreamBuffering_Vtbl, 0x6d66d782_1d4f_4db7_8c63_cb8c77f1ef5e); +windows_core::imp::define_interface!(IMFByteStreamBuffering, IMFByteStreamBuffering_Vtbl, 0x6d66d782_1d4f_4db7_8c63_cb8c77f1ef5e); windows_core::imp::interface_hierarchy!(IMFByteStreamBuffering, windows_core::IUnknown); impl IMFByteStreamBuffering { pub unsafe fn SetBufferingParams(&self, pparams: *const MFBYTESTREAM_BUFFERING_PARAMS) -> windows_core::Result<()> { @@ -7244,7 +7244,7 @@ pub struct IMFByteStreamBuffering_Vtbl { pub EnableBuffering: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub StopBuffering: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFByteStreamCacheControl, IMFByteStreamCacheControl_Vtbl, 0xf5042ea4_7a96_4a75_aa7b_2be1ef7f88d5); +windows_core::imp::define_interface!(IMFByteStreamCacheControl, IMFByteStreamCacheControl_Vtbl, 0xf5042ea4_7a96_4a75_aa7b_2be1ef7f88d5); windows_core::imp::interface_hierarchy!(IMFByteStreamCacheControl, windows_core::IUnknown); impl IMFByteStreamCacheControl { pub unsafe fn StopBackgroundTransfer(&self) -> windows_core::Result<()> { @@ -7256,7 +7256,7 @@ pub struct IMFByteStreamCacheControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub StopBackgroundTransfer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFByteStreamCacheControl2, IMFByteStreamCacheControl2_Vtbl, 0x71ce469c_f34b_49ea_a56b_2d2a10e51149); +windows_core::imp::define_interface!(IMFByteStreamCacheControl2, IMFByteStreamCacheControl2_Vtbl, 0x71ce469c_f34b_49ea_a56b_2d2a10e51149); windows_core::imp::interface_hierarchy!(IMFByteStreamCacheControl2, windows_core::IUnknown, IMFByteStreamCacheControl); impl IMFByteStreamCacheControl2 { pub unsafe fn StopBackgroundTransfer(&self) -> windows_core::Result<()> { @@ -7280,7 +7280,7 @@ pub struct IMFByteStreamCacheControl2_Vtbl { pub SetCacheLimit: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub IsBackgroundTransferActive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFByteStreamHandler, IMFByteStreamHandler_Vtbl, 0xbb420aa4_765b_4a1f_91fe_d6a8a143924c); +windows_core::imp::define_interface!(IMFByteStreamHandler, IMFByteStreamHandler_Vtbl, 0xbb420aa4_765b_4a1f_91fe_d6a8a143924c); windows_core::imp::interface_hierarchy!(IMFByteStreamHandler, windows_core::IUnknown); impl IMFByteStreamHandler { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -7322,7 +7322,7 @@ pub struct IMFByteStreamHandler_Vtbl { pub CancelObjectCreation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMaxNumberOfBytesRequiredForResolution: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFByteStreamProxyClassFactory, IMFByteStreamProxyClassFactory_Vtbl, 0xa6b43f84_5c0a_42e8_a44d_b1857a76992f); +windows_core::imp::define_interface!(IMFByteStreamProxyClassFactory, IMFByteStreamProxyClassFactory_Vtbl, 0xa6b43f84_5c0a_42e8_a44d_b1857a76992f); windows_core::imp::interface_hierarchy!(IMFByteStreamProxyClassFactory, windows_core::IUnknown); impl IMFByteStreamProxyClassFactory { pub unsafe fn CreateByteStreamProxy(&self, pbytestream: P0, pattributes: P1) -> windows_core::Result @@ -7340,7 +7340,7 @@ pub struct IMFByteStreamProxyClassFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateByteStreamProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFByteStreamTimeSeek, IMFByteStreamTimeSeek_Vtbl, 0x64976bfa_fb61_4041_9069_8c9a5f659beb); +windows_core::imp::define_interface!(IMFByteStreamTimeSeek, IMFByteStreamTimeSeek_Vtbl, 0x64976bfa_fb61_4041_9069_8c9a5f659beb); windows_core::imp::interface_hierarchy!(IMFByteStreamTimeSeek, windows_core::IUnknown); impl IMFByteStreamTimeSeek { pub unsafe fn IsTimeSeekSupported(&self) -> windows_core::Result { @@ -7361,7 +7361,7 @@ pub struct IMFByteStreamTimeSeek_Vtbl { pub TimeSeek: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub GetTimeSeekResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCameraConfigurationManager, IMFCameraConfigurationManager_Vtbl, 0xa624f617_4704_4206_8a6d_ebda4a093985); +windows_core::imp::define_interface!(IMFCameraConfigurationManager, IMFCameraConfigurationManager_Vtbl, 0xa624f617_4704_4206_8a6d_ebda4a093985); windows_core::imp::interface_hierarchy!(IMFCameraConfigurationManager, windows_core::IUnknown); impl IMFCameraConfigurationManager { pub unsafe fn LoadDefaults(&self, cameraattributes: P0) -> windows_core::Result @@ -7388,7 +7388,7 @@ pub struct IMFCameraConfigurationManager_Vtbl { pub SaveDefaults: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMFCameraControlDefaults, IMFCameraControlDefaults_Vtbl, 0x75510662_b034_48f4_88a7_8de61daa4af9); +windows_core::imp::define_interface!(IMFCameraControlDefaults, IMFCameraControlDefaults_Vtbl, 0x75510662_b034_48f4_88a7_8de61daa4af9); windows_core::imp::interface_hierarchy!(IMFCameraControlDefaults, windows_core::IUnknown); impl IMFCameraControlDefaults { pub unsafe fn GetType(&self) -> MF_CAMERA_CONTROL_CONFIGURATION_TYPE { @@ -7413,7 +7413,7 @@ pub struct IMFCameraControlDefaults_Vtbl { pub LockControlData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UnlockControlData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCameraControlDefaultsCollection, IMFCameraControlDefaultsCollection_Vtbl, 0x92d43d0f_54a8_4bae_96da_356d259a5c26); +windows_core::imp::define_interface!(IMFCameraControlDefaultsCollection, IMFCameraControlDefaultsCollection_Vtbl, 0x92d43d0f_54a8_4bae_96da_356d259a5c26); windows_core::imp::interface_hierarchy!(IMFCameraControlDefaultsCollection, windows_core::IUnknown, IMFAttributes); impl IMFCameraControlDefaultsCollection { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -7564,7 +7564,7 @@ pub struct IMFCameraControlDefaultsCollection_Vtbl { pub RemoveControl: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, pub RemoveAllControls: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCameraControlMonitor, IMFCameraControlMonitor_Vtbl, 0x4d46f2c9_28ba_4970_8c7b_1f0c9d80af69); +windows_core::imp::define_interface!(IMFCameraControlMonitor, IMFCameraControlMonitor_Vtbl, 0x4d46f2c9_28ba_4970_8c7b_1f0c9d80af69); windows_core::imp::interface_hierarchy!(IMFCameraControlMonitor, windows_core::IUnknown); impl IMFCameraControlMonitor { pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -7592,7 +7592,7 @@ pub struct IMFCameraControlMonitor_Vtbl { pub RemoveControlSubscription: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMFCameraControlNotify, IMFCameraControlNotify_Vtbl, 0xe8f2540d_558a_4449_8b64_4863467a9fe8); +windows_core::imp::define_interface!(IMFCameraControlNotify, IMFCameraControlNotify_Vtbl, 0xe8f2540d_558a_4449_8b64_4863467a9fe8); windows_core::imp::interface_hierarchy!(IMFCameraControlNotify, windows_core::IUnknown); impl IMFCameraControlNotify { pub unsafe fn OnChange(&self, controlset: *const windows_core::GUID, id: u32) { @@ -7608,7 +7608,7 @@ pub struct IMFCameraControlNotify_Vtbl { pub OnChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32), pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT), } -windows_core::imp::com_interface!(IMFCameraOcclusionStateMonitor, IMFCameraOcclusionStateMonitor_Vtbl, 0xcc692f46_c697_47e2_a72d_7b064617749b); +windows_core::imp::define_interface!(IMFCameraOcclusionStateMonitor, IMFCameraOcclusionStateMonitor_Vtbl, 0xcc692f46_c697_47e2_a72d_7b064617749b); windows_core::imp::interface_hierarchy!(IMFCameraOcclusionStateMonitor, windows_core::IUnknown); impl IMFCameraOcclusionStateMonitor { pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -7628,7 +7628,7 @@ pub struct IMFCameraOcclusionStateMonitor_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSupportedStates: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(IMFCameraOcclusionStateReport, IMFCameraOcclusionStateReport_Vtbl, 0x1640b2cf_74da_4462_a43b_b76d3bdc1434); +windows_core::imp::define_interface!(IMFCameraOcclusionStateReport, IMFCameraOcclusionStateReport_Vtbl, 0x1640b2cf_74da_4462_a43b_b76d3bdc1434); windows_core::imp::interface_hierarchy!(IMFCameraOcclusionStateReport, windows_core::IUnknown); impl IMFCameraOcclusionStateReport { pub unsafe fn GetOcclusionState(&self) -> windows_core::Result { @@ -7641,7 +7641,7 @@ pub struct IMFCameraOcclusionStateReport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetOcclusionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCameraOcclusionStateReportCallback, IMFCameraOcclusionStateReportCallback_Vtbl, 0x6e5841c7_3889_4019_9035_783fb19b5948); +windows_core::imp::define_interface!(IMFCameraOcclusionStateReportCallback, IMFCameraOcclusionStateReportCallback_Vtbl, 0x6e5841c7_3889_4019_9035_783fb19b5948); windows_core::imp::interface_hierarchy!(IMFCameraOcclusionStateReportCallback, windows_core::IUnknown); impl IMFCameraOcclusionStateReportCallback { pub unsafe fn OnOcclusionStateReport(&self, occlusionstatereport: P0) -> windows_core::Result<()> @@ -7656,7 +7656,7 @@ pub struct IMFCameraOcclusionStateReportCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnOcclusionStateReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCameraSyncObject, IMFCameraSyncObject_Vtbl, 0x6338b23a_3042_49d2_a3ea_ec0fed815407); +windows_core::imp::define_interface!(IMFCameraSyncObject, IMFCameraSyncObject_Vtbl, 0x6338b23a_3042_49d2_a3ea_ec0fed815407); windows_core::imp::interface_hierarchy!(IMFCameraSyncObject, windows_core::IUnknown); impl IMFCameraSyncObject { pub unsafe fn WaitOnSignal(&self, timeoutinms: u32) -> windows_core::Result<()> { @@ -7672,7 +7672,7 @@ pub struct IMFCameraSyncObject_Vtbl { pub WaitOnSignal: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMFCaptureEngine, IMFCaptureEngine_Vtbl, 0xa6bba433_176b_48b2_b375_53aa03473207); +windows_core::imp::define_interface!(IMFCaptureEngine, IMFCaptureEngine_Vtbl, 0xa6bba433_176b_48b2_b375_53aa03473207); windows_core::imp::interface_hierarchy!(IMFCaptureEngine, windows_core::IUnknown); impl IMFCaptureEngine { pub unsafe fn Initialize(&self, peventcallback: P0, pattributes: P1, paudiosource: P2, pvideosource: P3) -> windows_core::Result<()> @@ -7724,7 +7724,7 @@ pub struct IMFCaptureEngine_Vtbl { pub GetSink: unsafe extern "system" fn(*mut core::ffi::c_void, MF_CAPTURE_ENGINE_SINK_TYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCaptureEngineClassFactory, IMFCaptureEngineClassFactory_Vtbl, 0x8f02d140_56fc_4302_a705_3a97c78be779); +windows_core::imp::define_interface!(IMFCaptureEngineClassFactory, IMFCaptureEngineClassFactory_Vtbl, 0x8f02d140_56fc_4302_a705_3a97c78be779); windows_core::imp::interface_hierarchy!(IMFCaptureEngineClassFactory, windows_core::IUnknown); impl IMFCaptureEngineClassFactory { pub unsafe fn CreateInstance(&self, clsid: *const windows_core::GUID) -> windows_core::Result @@ -7740,7 +7740,7 @@ pub struct IMFCaptureEngineClassFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCaptureEngineOnEventCallback, IMFCaptureEngineOnEventCallback_Vtbl, 0xaeda51c0_9025_4983_9012_de597b88b089); +windows_core::imp::define_interface!(IMFCaptureEngineOnEventCallback, IMFCaptureEngineOnEventCallback_Vtbl, 0xaeda51c0_9025_4983_9012_de597b88b089); windows_core::imp::interface_hierarchy!(IMFCaptureEngineOnEventCallback, windows_core::IUnknown); impl IMFCaptureEngineOnEventCallback { pub unsafe fn OnEvent(&self, pevent: P0) -> windows_core::Result<()> @@ -7755,7 +7755,7 @@ pub struct IMFCaptureEngineOnEventCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCaptureEngineOnSampleCallback, IMFCaptureEngineOnSampleCallback_Vtbl, 0x52150b82_ab39_4467_980f_e48bf0822ecd); +windows_core::imp::define_interface!(IMFCaptureEngineOnSampleCallback, IMFCaptureEngineOnSampleCallback_Vtbl, 0x52150b82_ab39_4467_980f_e48bf0822ecd); windows_core::imp::interface_hierarchy!(IMFCaptureEngineOnSampleCallback, windows_core::IUnknown); impl IMFCaptureEngineOnSampleCallback { pub unsafe fn OnSample(&self, psample: P0) -> windows_core::Result<()> @@ -7770,7 +7770,7 @@ pub struct IMFCaptureEngineOnSampleCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCaptureEngineOnSampleCallback2, IMFCaptureEngineOnSampleCallback2_Vtbl, 0xe37ceed7_340f_4514_9f4d_9c2ae026100b); +windows_core::imp::define_interface!(IMFCaptureEngineOnSampleCallback2, IMFCaptureEngineOnSampleCallback2_Vtbl, 0xe37ceed7_340f_4514_9f4d_9c2ae026100b); windows_core::imp::interface_hierarchy!(IMFCaptureEngineOnSampleCallback2, windows_core::IUnknown, IMFCaptureEngineOnSampleCallback); impl IMFCaptureEngineOnSampleCallback2 { pub unsafe fn OnSample(&self, psample: P0) -> windows_core::Result<()> @@ -7791,7 +7791,7 @@ pub struct IMFCaptureEngineOnSampleCallback2_Vtbl { pub base__: IMFCaptureEngineOnSampleCallback_Vtbl, pub OnSynchronizedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCapturePhotoConfirmation, IMFCapturePhotoConfirmation_Vtbl, 0x19f68549_ca8a_4706_a4ef_481dbc95e12c); +windows_core::imp::define_interface!(IMFCapturePhotoConfirmation, IMFCapturePhotoConfirmation_Vtbl, 0x19f68549_ca8a_4706_a4ef_481dbc95e12c); windows_core::imp::interface_hierarchy!(IMFCapturePhotoConfirmation, windows_core::IUnknown); impl IMFCapturePhotoConfirmation { pub unsafe fn SetPhotoConfirmationCallback(&self, pnotificationcallback: P0) -> windows_core::Result<()> @@ -7815,7 +7815,7 @@ pub struct IMFCapturePhotoConfirmation_Vtbl { pub SetPixelFormat: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub GetPixelFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCapturePhotoSink, IMFCapturePhotoSink_Vtbl, 0xd2d43cc8_48bb_4aa7_95db_10c06977e777); +windows_core::imp::define_interface!(IMFCapturePhotoSink, IMFCapturePhotoSink_Vtbl, 0xd2d43cc8_48bb_4aa7_95db_10c06977e777); windows_core::imp::interface_hierarchy!(IMFCapturePhotoSink, windows_core::IUnknown, IMFCaptureSink); impl IMFCapturePhotoSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32, ppmediatype: Option<*mut Option>) -> windows_core::Result<()> { @@ -7863,7 +7863,7 @@ pub struct IMFCapturePhotoSink_Vtbl { pub SetSampleCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetOutputByteStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCapturePreviewSink, IMFCapturePreviewSink_Vtbl, 0x77346cfd_5b49_4d73_ace0_5b52a859f2e0); +windows_core::imp::define_interface!(IMFCapturePreviewSink, IMFCapturePreviewSink_Vtbl, 0x77346cfd_5b49_4d73_ace0_5b52a859f2e0); windows_core::imp::interface_hierarchy!(IMFCapturePreviewSink, windows_core::IUnknown, IMFCaptureSink); impl IMFCapturePreviewSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32, ppmediatype: Option<*mut Option>) -> windows_core::Result<()> { @@ -7943,7 +7943,7 @@ pub struct IMFCapturePreviewSink_Vtbl { pub SetRotation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub SetCustomSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCaptureRecordSink, IMFCaptureRecordSink_Vtbl, 0x3323b55a_f92a_4fe2_8edc_e9bfc0634d77); +windows_core::imp::define_interface!(IMFCaptureRecordSink, IMFCaptureRecordSink_Vtbl, 0x3323b55a_f92a_4fe2_8edc_e9bfc0634d77); windows_core::imp::interface_hierarchy!(IMFCaptureRecordSink, windows_core::IUnknown, IMFCaptureSink); impl IMFCaptureRecordSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32, ppmediatype: Option<*mut Option>) -> windows_core::Result<()> { @@ -8007,7 +8007,7 @@ pub struct IMFCaptureRecordSink_Vtbl { pub GetRotation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub SetRotation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCaptureSink, IMFCaptureSink_Vtbl, 0x72d6135b_35e9_412c_b926_fd5265f2a885); +windows_core::imp::define_interface!(IMFCaptureSink, IMFCaptureSink_Vtbl, 0x72d6135b_35e9_412c_b926_fd5265f2a885); windows_core::imp::interface_hierarchy!(IMFCaptureSink, windows_core::IUnknown); impl IMFCaptureSink { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32, ppmediatype: Option<*mut Option>) -> windows_core::Result<()> { @@ -8039,7 +8039,7 @@ pub struct IMFCaptureSink_Vtbl { pub Prepare: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAllStreams: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCaptureSink2, IMFCaptureSink2_Vtbl, 0xf9e4219e_6197_4b5e_b888_bee310ab2c59); +windows_core::imp::define_interface!(IMFCaptureSink2, IMFCaptureSink2_Vtbl, 0xf9e4219e_6197_4b5e_b888_bee310ab2c59); windows_core::imp::interface_hierarchy!(IMFCaptureSink2, windows_core::IUnknown, IMFCaptureSink); impl IMFCaptureSink2 { pub unsafe fn GetOutputMediaType(&self, dwsinkstreamindex: u32, ppmediatype: Option<*mut Option>) -> windows_core::Result<()> { @@ -8074,7 +8074,7 @@ pub struct IMFCaptureSink2_Vtbl { pub base__: IMFCaptureSink_Vtbl, pub SetOutputMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCaptureSource, IMFCaptureSource_Vtbl, 0x439a42a8_0d2c_4505_be83_f79b2a05d5c4); +windows_core::imp::define_interface!(IMFCaptureSource, IMFCaptureSource_Vtbl, 0x439a42a8_0d2c_4505_be83_f79b2a05d5c4); windows_core::imp::interface_hierarchy!(IMFCaptureSource, windows_core::IUnknown); impl IMFCaptureSource { pub unsafe fn GetCaptureDeviceSource(&self, mfcaptureenginedevicetype: MF_CAPTURE_ENGINE_DEVICE_TYPE, ppmediasource: Option<*mut Option>) -> windows_core::Result<()> { @@ -8155,7 +8155,7 @@ pub struct IMFCaptureSource_Vtbl { pub SetMirrorState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetStreamIndexFromFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCdmSuspendNotify, IMFCdmSuspendNotify_Vtbl, 0x7a5645d2_43bd_47fd_87b7_dcd24cc7d692); +windows_core::imp::define_interface!(IMFCdmSuspendNotify, IMFCdmSuspendNotify_Vtbl, 0x7a5645d2_43bd_47fd_87b7_dcd24cc7d692); windows_core::imp::interface_hierarchy!(IMFCdmSuspendNotify, windows_core::IUnknown); impl IMFCdmSuspendNotify { pub unsafe fn Begin(&self) -> windows_core::Result<()> { @@ -8171,7 +8171,7 @@ pub struct IMFCdmSuspendNotify_Vtbl { pub Begin: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFClock, IMFClock_Vtbl, 0x2eb1e945_18b8_4139_9b1a_d5d584818530); +windows_core::imp::define_interface!(IMFClock, IMFClock_Vtbl, 0x2eb1e945_18b8_4139_9b1a_d5d584818530); windows_core::imp::interface_hierarchy!(IMFClock, windows_core::IUnknown); impl IMFClock { pub unsafe fn GetClockCharacteristics(&self) -> windows_core::Result { @@ -8202,7 +8202,7 @@ pub struct IMFClock_Vtbl { pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut MFCLOCK_STATE) -> windows_core::HRESULT, pub GetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFCLOCK_PROPERTIES) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFClockConsumer, IMFClockConsumer_Vtbl, 0x6ef2a662_47c0_4666_b13d_cbb717f2fa2c); +windows_core::imp::define_interface!(IMFClockConsumer, IMFClockConsumer_Vtbl, 0x6ef2a662_47c0_4666_b13d_cbb717f2fa2c); windows_core::imp::interface_hierarchy!(IMFClockConsumer, windows_core::IUnknown); impl IMFClockConsumer { pub unsafe fn SetPresentationClock(&self, ppresentationclock: P0) -> windows_core::Result<()> @@ -8222,7 +8222,7 @@ pub struct IMFClockConsumer_Vtbl { pub SetPresentationClock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPresentationClock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFClockStateSink, IMFClockStateSink_Vtbl, 0xf6696e82_74f7_4f3d_a178_8a5e09c3659f); +windows_core::imp::define_interface!(IMFClockStateSink, IMFClockStateSink_Vtbl, 0xf6696e82_74f7_4f3d_a178_8a5e09c3659f); windows_core::imp::interface_hierarchy!(IMFClockStateSink, windows_core::IUnknown); impl IMFClockStateSink { pub unsafe fn OnClockStart(&self, hnssystemtime: i64, llclockstartoffset: i64) -> windows_core::Result<()> { @@ -8250,7 +8250,7 @@ pub struct IMFClockStateSink_Vtbl { pub OnClockRestart: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, pub OnClockSetRate: unsafe extern "system" fn(*mut core::ffi::c_void, i64, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFCollection, IMFCollection_Vtbl, 0x5bc8a76b_869a_46a3_9b03_fa218a66aebe); +windows_core::imp::define_interface!(IMFCollection, IMFCollection_Vtbl, 0x5bc8a76b_869a_46a3_9b03_fa218a66aebe); windows_core::imp::interface_hierarchy!(IMFCollection, windows_core::IUnknown); impl IMFCollection { pub unsafe fn GetElementCount(&self) -> windows_core::Result { @@ -8291,7 +8291,7 @@ pub struct IMFCollection_Vtbl { pub InsertElementAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAllElements: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFContentDecryptionModule, IMFContentDecryptionModule_Vtbl, 0x87be986c_10be_4943_bf48_4b54ce1983a2); +windows_core::imp::define_interface!(IMFContentDecryptionModule, IMFContentDecryptionModule_Vtbl, 0x87be986c_10be_4943_bf48_4b54ce1983a2); windows_core::imp::interface_hierarchy!(IMFContentDecryptionModule, windows_core::IUnknown); impl IMFContentDecryptionModule { pub unsafe fn SetContentEnabler(&self, contentenabler: P0, result: P1) -> windows_core::Result<()> @@ -8340,7 +8340,7 @@ pub struct IMFContentDecryptionModule_Vtbl { pub CreateTrustedInput: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetProtectionSystemIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut windows_core::GUID, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFContentDecryptionModuleAccess, IMFContentDecryptionModuleAccess_Vtbl, 0xa853d1f4_e2a0_4303_9edc_f1a68ee43136); +windows_core::imp::define_interface!(IMFContentDecryptionModuleAccess, IMFContentDecryptionModuleAccess_Vtbl, 0xa853d1f4_e2a0_4303_9edc_f1a68ee43136); windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleAccess, windows_core::IUnknown); impl IMFContentDecryptionModuleAccess { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -8374,7 +8374,7 @@ pub struct IMFContentDecryptionModuleAccess_Vtbl { GetConfiguration: usize, pub GetKeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFContentDecryptionModuleFactory, IMFContentDecryptionModuleFactory_Vtbl, 0x7d5abf16_4cbb_4e08_b977_9ba59049943e); +windows_core::imp::define_interface!(IMFContentDecryptionModuleFactory, IMFContentDecryptionModuleFactory_Vtbl, 0x7d5abf16_4cbb_4e08_b977_9ba59049943e); windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleFactory, windows_core::IUnknown); impl IMFContentDecryptionModuleFactory { pub unsafe fn IsTypeSupported(&self, keysystem: P0, contenttype: P1) -> super::super::Foundation::BOOL @@ -8402,7 +8402,7 @@ pub struct IMFContentDecryptionModuleFactory_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] CreateContentDecryptionModuleAccess: usize, } -windows_core::imp::com_interface!(IMFContentDecryptionModuleSession, IMFContentDecryptionModuleSession_Vtbl, 0x4e233efd_1dd2_49e8_b577_d63eee4c0d33); +windows_core::imp::define_interface!(IMFContentDecryptionModuleSession, IMFContentDecryptionModuleSession_Vtbl, 0x4e233efd_1dd2_49e8_b577_d63eee4c0d33); windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleSession, windows_core::IUnknown); impl IMFContentDecryptionModuleSession { pub unsafe fn GetSessionId(&self) -> windows_core::Result { @@ -8451,7 +8451,7 @@ pub struct IMFContentDecryptionModuleSession_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFContentDecryptionModuleSessionCallbacks, IMFContentDecryptionModuleSessionCallbacks_Vtbl, 0x3f96ee40_ad81_4096_8470_59a4b770f89a); +windows_core::imp::define_interface!(IMFContentDecryptionModuleSessionCallbacks, IMFContentDecryptionModuleSessionCallbacks_Vtbl, 0x3f96ee40_ad81_4096_8470_59a4b770f89a); windows_core::imp::interface_hierarchy!(IMFContentDecryptionModuleSessionCallbacks, windows_core::IUnknown); impl IMFContentDecryptionModuleSessionCallbacks { pub unsafe fn KeyMessage(&self, messagetype: MF_MEDIAKEYSESSION_MESSAGETYPE, message: &[u8], destinationurl: P0) -> windows_core::Result<()> @@ -8470,7 +8470,7 @@ pub struct IMFContentDecryptionModuleSessionCallbacks_Vtbl { pub KeyMessage: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MEDIAKEYSESSION_MESSAGETYPE, *const u8, u32, windows_core::PCWSTR) -> windows_core::HRESULT, pub KeyStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFContentDecryptorContext, IMFContentDecryptorContext_Vtbl, 0x7ec4b1bd_43fb_4763_85d2_64fcb5c5f4cb); +windows_core::imp::define_interface!(IMFContentDecryptorContext, IMFContentDecryptorContext_Vtbl, 0x7ec4b1bd_43fb_4763_85d2_64fcb5c5f4cb); windows_core::imp::interface_hierarchy!(IMFContentDecryptorContext, windows_core::IUnknown); impl IMFContentDecryptorContext { pub unsafe fn InitializeHardwareKey(&self, inputprivatedata: Option<&[u8]>) -> windows_core::Result { @@ -8483,7 +8483,7 @@ pub struct IMFContentDecryptorContext_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InitializeHardwareKey: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFContentEnabler, IMFContentEnabler_Vtbl, 0xd3c4ef59_49ce_4381_9071_d5bcd044c770); +windows_core::imp::define_interface!(IMFContentEnabler, IMFContentEnabler_Vtbl, 0xd3c4ef59_49ce_4381_9071_d5bcd044c770); windows_core::imp::interface_hierarchy!(IMFContentEnabler, windows_core::IUnknown); impl IMFContentEnabler { pub unsafe fn GetEnableType(&self) -> windows_core::Result { @@ -8521,7 +8521,7 @@ pub struct IMFContentEnabler_Vtbl { pub MonitorEnable: 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, } -windows_core::imp::com_interface!(IMFContentProtectionDevice, IMFContentProtectionDevice_Vtbl, 0xe6257174_a060_4c9a_a088_3b1b471cad28); +windows_core::imp::define_interface!(IMFContentProtectionDevice, IMFContentProtectionDevice_Vtbl, 0xe6257174_a060_4c9a_a088_3b1b471cad28); windows_core::imp::interface_hierarchy!(IMFContentProtectionDevice, windows_core::IUnknown); impl IMFContentProtectionDevice { pub unsafe fn InvokeFunction(&self, functionid: u32, inputbuffer: &[u8], outputbufferbytecount: *mut u32, outputbuffer: *mut u8) -> windows_core::Result<()> { @@ -8537,7 +8537,7 @@ pub struct IMFContentProtectionDevice_Vtbl { pub InvokeFunction: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8, *mut u32, *mut u8) -> windows_core::HRESULT, pub GetPrivateDataByteCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFContentProtectionManager, IMFContentProtectionManager_Vtbl, 0xacf92459_6a61_42bd_b57c_b43e51203cb0); +windows_core::imp::define_interface!(IMFContentProtectionManager, IMFContentProtectionManager_Vtbl, 0xacf92459_6a61_42bd_b57c_b43e51203cb0); windows_core::imp::interface_hierarchy!(IMFContentProtectionManager, windows_core::IUnknown); impl IMFContentProtectionManager { pub unsafe fn BeginEnableContent(&self, penableractivate: P0, ptopo: P1, pcallback: P2, punkstate: P3) -> windows_core::Result<()> @@ -8562,7 +8562,7 @@ pub struct IMFContentProtectionManager_Vtbl { pub BeginEnableContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndEnableContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFD3D12SynchronizationObject, IMFD3D12SynchronizationObject_Vtbl, 0x802302b0_82de_45e1_b421_f19ee5bdaf23); +windows_core::imp::define_interface!(IMFD3D12SynchronizationObject, IMFD3D12SynchronizationObject_Vtbl, 0x802302b0_82de_45e1_b421_f19ee5bdaf23); windows_core::imp::interface_hierarchy!(IMFD3D12SynchronizationObject, windows_core::IUnknown); impl IMFD3D12SynchronizationObject { pub unsafe fn SignalEventOnFinalResourceRelease(&self, hevent: P0) -> windows_core::Result<()> @@ -8581,7 +8581,7 @@ pub struct IMFD3D12SynchronizationObject_Vtbl { pub SignalEventOnFinalResourceRelease: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFD3D12SynchronizationObjectCommands, IMFD3D12SynchronizationObjectCommands_Vtbl, 0x09d0f835_92ff_4e53_8efa_40faa551f233); +windows_core::imp::define_interface!(IMFD3D12SynchronizationObjectCommands, IMFD3D12SynchronizationObjectCommands_Vtbl, 0x09d0f835_92ff_4e53_8efa_40faa551f233); windows_core::imp::interface_hierarchy!(IMFD3D12SynchronizationObjectCommands, windows_core::IUnknown); impl IMFD3D12SynchronizationObjectCommands { #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -8629,7 +8629,7 @@ pub struct IMFD3D12SynchronizationObjectCommands_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] EnqueueResourceRelease: usize, } -windows_core::imp::com_interface!(IMFDLNASinkInit, IMFDLNASinkInit_Vtbl, 0x0c012799_1b61_4c10_bda9_04445be5f561); +windows_core::imp::define_interface!(IMFDLNASinkInit, IMFDLNASinkInit_Vtbl, 0x0c012799_1b61_4c10_bda9_04445be5f561); windows_core::imp::interface_hierarchy!(IMFDLNASinkInit, windows_core::IUnknown); impl IMFDLNASinkInit { pub unsafe fn Initialize(&self, pbytestream: P0, fpal: P1) -> windows_core::Result<()> @@ -8645,7 +8645,7 @@ pub struct IMFDLNASinkInit_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFDRMNetHelper, IMFDRMNetHelper_Vtbl, 0x3d1ff0ea_679a_4190_8d46_7fa69e8c7e15); +windows_core::imp::define_interface!(IMFDRMNetHelper, IMFDRMNetHelper_Vtbl, 0x3d1ff0ea_679a_4190_8d46_7fa69e8c7e15); windows_core::imp::interface_hierarchy!(IMFDRMNetHelper, windows_core::IUnknown); impl IMFDRMNetHelper { pub unsafe fn ProcessLicenseRequest(&self, plicenserequest: &[u8], pplicenseresponse: *mut *mut u8, pcblicenseresponse: *mut u32, pbstrkid: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -8661,7 +8661,7 @@ pub struct IMFDRMNetHelper_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 GetChainedLicenseResponse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFDXGIBuffer, IMFDXGIBuffer_Vtbl, 0xe7174cfa_1c9e_48b1_8866_626226bfc258); +windows_core::imp::define_interface!(IMFDXGIBuffer, IMFDXGIBuffer_Vtbl, 0xe7174cfa_1c9e_48b1_8866_626226bfc258); windows_core::imp::interface_hierarchy!(IMFDXGIBuffer, windows_core::IUnknown); impl IMFDXGIBuffer { pub unsafe fn GetResource(&self, riid: *const windows_core::GUID, ppvobject: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -8689,7 +8689,7 @@ pub struct IMFDXGIBuffer_Vtbl { 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 SetUnknown: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFDXGIDeviceManager, IMFDXGIDeviceManager_Vtbl, 0xeb533d5d_2db6_40f8_97a9_494692014f07); +windows_core::imp::define_interface!(IMFDXGIDeviceManager, IMFDXGIDeviceManager_Vtbl, 0xeb533d5d_2db6_40f8_97a9_494692014f07); windows_core::imp::interface_hierarchy!(IMFDXGIDeviceManager, windows_core::IUnknown); impl IMFDXGIDeviceManager { pub unsafe fn CloseDeviceHandle(&self, hdevice: P0) -> windows_core::Result<()> @@ -8746,7 +8746,7 @@ pub struct IMFDXGIDeviceManager_Vtbl { pub TestDevice: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub UnlockDevice: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFDXGIDeviceManagerSource, IMFDXGIDeviceManagerSource_Vtbl, 0x20bc074b_7a8d_4609_8c3b_64a0a3b5d7ce); +windows_core::imp::define_interface!(IMFDXGIDeviceManagerSource, IMFDXGIDeviceManagerSource_Vtbl, 0x20bc074b_7a8d_4609_8c3b_64a0a3b5d7ce); windows_core::imp::interface_hierarchy!(IMFDXGIDeviceManagerSource, windows_core::IUnknown); impl IMFDXGIDeviceManagerSource { pub unsafe fn GetManager(&self) -> windows_core::Result { @@ -8759,7 +8759,7 @@ pub struct IMFDXGIDeviceManagerSource_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFDesiredSample, IMFDesiredSample_Vtbl, 0x56c294d0_753e_4260_8d61_a3d8820b1d54); +windows_core::imp::define_interface!(IMFDesiredSample, IMFDesiredSample_Vtbl, 0x56c294d0_753e_4260_8d61_a3d8820b1d54); windows_core::imp::interface_hierarchy!(IMFDesiredSample, windows_core::IUnknown); impl IMFDesiredSample { pub unsafe fn GetDesiredSampleTimeAndDuration(&self, phnssampletime: *mut i64, phnssampleduration: *mut i64) -> windows_core::Result<()> { @@ -8779,7 +8779,7 @@ pub struct IMFDesiredSample_Vtbl { pub SetDesiredSampleTimeAndDuration: unsafe extern "system" fn(*mut core::ffi::c_void, i64, i64), pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMFDeviceTransform, IMFDeviceTransform_Vtbl, 0xd818fbd8_fc46_42f2_87ac_1ea2d1f9bf32); +windows_core::imp::define_interface!(IMFDeviceTransform, IMFDeviceTransform_Vtbl, 0xd818fbd8_fc46_42f2_87ac_1ea2d1f9bf32); windows_core::imp::interface_hierarchy!(IMFDeviceTransform, windows_core::IUnknown); impl IMFDeviceTransform { pub unsafe fn InitializeTransform(&self, pattributes: P0) -> windows_core::Result<()> @@ -8890,7 +8890,7 @@ pub struct IMFDeviceTransform_Vtbl { pub FlushInputStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub FlushOutputStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFDeviceTransformCallback, IMFDeviceTransformCallback_Vtbl, 0x6d5cb646_29ec_41fb_8179_8c4c6d750811); +windows_core::imp::define_interface!(IMFDeviceTransformCallback, IMFDeviceTransformCallback_Vtbl, 0x6d5cb646_29ec_41fb_8179_8c4c6d750811); windows_core::imp::interface_hierarchy!(IMFDeviceTransformCallback, windows_core::IUnknown); impl IMFDeviceTransformCallback { pub unsafe fn OnBufferSent(&self, pcallbackattributes: P0, pinid: u32) -> windows_core::Result<()> @@ -8905,7 +8905,7 @@ pub struct IMFDeviceTransformCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnBufferSent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFExtendedCameraControl, IMFExtendedCameraControl_Vtbl, 0x38e33520_fca1_4845_a27a_68b7c6ab3789); +windows_core::imp::define_interface!(IMFExtendedCameraControl, IMFExtendedCameraControl_Vtbl, 0x38e33520_fca1_4845_a27a_68b7c6ab3789); windows_core::imp::interface_hierarchy!(IMFExtendedCameraControl, windows_core::IUnknown); impl IMFExtendedCameraControl { pub unsafe fn GetCapabilities(&self) -> u64 { @@ -8937,7 +8937,7 @@ pub struct IMFExtendedCameraControl_Vtbl { pub UnlockPayload: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub CommitSettings: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFExtendedCameraController, IMFExtendedCameraController_Vtbl, 0xb91ebfee_ca03_4af4_8a82_a31752f4a0fc); +windows_core::imp::define_interface!(IMFExtendedCameraController, IMFExtendedCameraController_Vtbl, 0xb91ebfee_ca03_4af4_8a82_a31752f4a0fc); windows_core::imp::interface_hierarchy!(IMFExtendedCameraController, windows_core::IUnknown); impl IMFExtendedCameraController { pub unsafe fn GetExtendedCameraControl(&self, dwstreamindex: u32, ulpropertyid: u32) -> windows_core::Result { @@ -8950,7 +8950,7 @@ pub struct IMFExtendedCameraController_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetExtendedCameraControl: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFExtendedCameraIntrinsicModel, IMFExtendedCameraIntrinsicModel_Vtbl, 0x5c595e64_4630_4231_855a_12842f733245); +windows_core::imp::define_interface!(IMFExtendedCameraIntrinsicModel, IMFExtendedCameraIntrinsicModel_Vtbl, 0x5c595e64_4630_4231_855a_12842f733245); windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicModel, windows_core::IUnknown); impl IMFExtendedCameraIntrinsicModel { pub unsafe fn GetModel(&self, pintrinsicmodel: *mut MFExtendedCameraIntrinsic_IntrinsicModel) -> windows_core::Result<()> { @@ -8971,7 +8971,7 @@ pub struct IMFExtendedCameraIntrinsicModel_Vtbl { pub SetModel: unsafe extern "system" fn(*mut core::ffi::c_void, *const MFExtendedCameraIntrinsic_IntrinsicModel) -> windows_core::HRESULT, pub GetDistortionModelType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFCameraIntrinsic_DistortionModelType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFExtendedCameraIntrinsics, IMFExtendedCameraIntrinsics_Vtbl, 0x687f6dac_6987_4750_a16a_734d1e7a10fe); +windows_core::imp::define_interface!(IMFExtendedCameraIntrinsics, IMFExtendedCameraIntrinsics_Vtbl, 0x687f6dac_6987_4750_a16a_734d1e7a10fe); windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsics, windows_core::IUnknown); impl IMFExtendedCameraIntrinsics { pub unsafe fn InitializeFromBuffer(&self, pbbuffer: &[u8]) -> windows_core::Result<()> { @@ -9009,7 +9009,7 @@ pub struct IMFExtendedCameraIntrinsics_Vtbl { pub GetIntrinsicModelByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddIntrinsicModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFExtendedCameraIntrinsicsDistortionModel6KT, IMFExtendedCameraIntrinsicsDistortionModel6KT_Vtbl, 0x74c2653b_5f55_4eb1_9f0f_18b8f68b7d3d); +windows_core::imp::define_interface!(IMFExtendedCameraIntrinsicsDistortionModel6KT, IMFExtendedCameraIntrinsicsDistortionModel6KT_Vtbl, 0x74c2653b_5f55_4eb1_9f0f_18b8f68b7d3d); windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicsDistortionModel6KT, windows_core::IUnknown); impl IMFExtendedCameraIntrinsicsDistortionModel6KT { pub unsafe fn GetDistortionModel(&self, pdistortionmodel: *mut MFCameraIntrinsic_DistortionModel6KT) -> windows_core::Result<()> { @@ -9025,7 +9025,7 @@ pub struct IMFExtendedCameraIntrinsicsDistortionModel6KT_Vtbl { pub GetDistortionModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFCameraIntrinsic_DistortionModel6KT) -> windows_core::HRESULT, pub SetDistortionModel: unsafe extern "system" fn(*mut core::ffi::c_void, *const MFCameraIntrinsic_DistortionModel6KT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFExtendedCameraIntrinsicsDistortionModelArcTan, IMFExtendedCameraIntrinsicsDistortionModelArcTan_Vtbl, 0x812d5f95_b572_45dc_bafc_ae24199ddda8); +windows_core::imp::define_interface!(IMFExtendedCameraIntrinsicsDistortionModelArcTan, IMFExtendedCameraIntrinsicsDistortionModelArcTan_Vtbl, 0x812d5f95_b572_45dc_bafc_ae24199ddda8); windows_core::imp::interface_hierarchy!(IMFExtendedCameraIntrinsicsDistortionModelArcTan, windows_core::IUnknown); impl IMFExtendedCameraIntrinsicsDistortionModelArcTan { pub unsafe fn GetDistortionModel(&self, pdistortionmodel: *mut MFCameraIntrinsic_DistortionModelArcTan) -> windows_core::Result<()> { @@ -9041,7 +9041,7 @@ pub struct IMFExtendedCameraIntrinsicsDistortionModelArcTan_Vtbl { pub GetDistortionModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFCameraIntrinsic_DistortionModelArcTan) -> windows_core::HRESULT, pub SetDistortionModel: unsafe extern "system" fn(*mut core::ffi::c_void, *const MFCameraIntrinsic_DistortionModelArcTan) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFExtendedDRMTypeSupport, IMFExtendedDRMTypeSupport_Vtbl, 0x332ec562_3758_468d_a784_e38f23552128); +windows_core::imp::define_interface!(IMFExtendedDRMTypeSupport, IMFExtendedDRMTypeSupport_Vtbl, 0x332ec562_3758_468d_a784_e38f23552128); windows_core::imp::interface_hierarchy!(IMFExtendedDRMTypeSupport, windows_core::IUnknown); impl IMFExtendedDRMTypeSupport { pub unsafe fn IsTypeSupportedEx(&self, r#type: P0, keysystem: P1) -> windows_core::Result @@ -9058,7 +9058,7 @@ 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, } -windows_core::imp::com_interface!(IMFFieldOfUseMFTUnlock, IMFFieldOfUseMFTUnlock_Vtbl, 0x508e71d3_ec66_4fc3_8775_b4b9ed6ba847); +windows_core::imp::define_interface!(IMFFieldOfUseMFTUnlock, IMFFieldOfUseMFTUnlock_Vtbl, 0x508e71d3_ec66_4fc3_8775_b4b9ed6ba847); windows_core::imp::interface_hierarchy!(IMFFieldOfUseMFTUnlock, windows_core::IUnknown); impl IMFFieldOfUseMFTUnlock { pub unsafe fn Unlock(&self, punkmft: P0) -> windows_core::Result<()> @@ -9073,7 +9073,7 @@ pub struct IMFFieldOfUseMFTUnlock_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Unlock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFFinalizableMediaSink, IMFFinalizableMediaSink_Vtbl, 0xeaecb74a_9a50_42ce_9541_6a7f57aa4ad7); +windows_core::imp::define_interface!(IMFFinalizableMediaSink, IMFFinalizableMediaSink_Vtbl, 0xeaecb74a_9a50_42ce_9541_6a7f57aa4ad7); windows_core::imp::interface_hierarchy!(IMFFinalizableMediaSink, windows_core::IUnknown, IMFMediaSink); impl IMFFinalizableMediaSink { pub unsafe fn GetCharacteristics(&self) -> windows_core::Result { @@ -9135,7 +9135,7 @@ pub struct IMFFinalizableMediaSink_Vtbl { pub BeginFinalize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndFinalize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFGetService, IMFGetService_Vtbl, 0xfa993888_4383_415a_a930_dd472a8cf6f7); +windows_core::imp::define_interface!(IMFGetService, IMFGetService_Vtbl, 0xfa993888_4383_415a_a930_dd472a8cf6f7); windows_core::imp::interface_hierarchy!(IMFGetService, windows_core::IUnknown); impl IMFGetService { pub unsafe fn GetService(&self, guidservice: *const windows_core::GUID) -> windows_core::Result @@ -9151,7 +9151,7 @@ pub struct IMFGetService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFHDCPStatus, IMFHDCPStatus_Vtbl, 0xde400f54_5bf1_40cf_8964_0bea136b1e3d); +windows_core::imp::define_interface!(IMFHDCPStatus, IMFHDCPStatus_Vtbl, 0xde400f54_5bf1_40cf_8964_0bea136b1e3d); windows_core::imp::interface_hierarchy!(IMFHDCPStatus, windows_core::IUnknown); impl IMFHDCPStatus { pub unsafe fn Query(&self, pstatus: *mut MF_HDCP_STATUS, pfstatus: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -9167,7 +9167,7 @@ pub struct IMFHDCPStatus_Vtbl { pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_HDCP_STATUS, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Set: unsafe extern "system" fn(*mut core::ffi::c_void, MF_HDCP_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFHttpDownloadRequest, IMFHttpDownloadRequest_Vtbl, 0xf779fddf_26e7_4270_8a8b_b983d1859de0); +windows_core::imp::define_interface!(IMFHttpDownloadRequest, IMFHttpDownloadRequest_Vtbl, 0xf779fddf_26e7_4270_8a8b_b983d1859de0); windows_core::imp::interface_hierarchy!(IMFHttpDownloadRequest, windows_core::IUnknown); impl IMFHttpDownloadRequest { pub unsafe fn AddHeader(&self, szheader: P0) -> windows_core::Result<()> @@ -9273,7 +9273,7 @@ pub struct IMFHttpDownloadRequest_Vtbl { pub GetRangeEndOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFHttpDownloadSession, IMFHttpDownloadSession_Vtbl, 0x71fa9a2c_53ce_4662_a132_1a7e8cbf62db); +windows_core::imp::define_interface!(IMFHttpDownloadSession, IMFHttpDownloadSession_Vtbl, 0x71fa9a2c_53ce_4662_a132_1a7e8cbf62db); windows_core::imp::interface_hierarchy!(IMFHttpDownloadSession, windows_core::IUnknown); impl IMFHttpDownloadSession { pub unsafe fn SetServer(&self, szservername: P0, nport: u32) -> windows_core::Result<()> @@ -9304,7 +9304,7 @@ pub struct IMFHttpDownloadSession_Vtbl { pub CreateRequest: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::Foundation::BOOL, super::super::Foundation::BOOL, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFHttpDownloadSessionProvider, IMFHttpDownloadSessionProvider_Vtbl, 0x1b4cf4b9_3a16_4115_839d_03cc5c99df01); +windows_core::imp::define_interface!(IMFHttpDownloadSessionProvider, IMFHttpDownloadSessionProvider_Vtbl, 0x1b4cf4b9_3a16_4115_839d_03cc5c99df01); windows_core::imp::interface_hierarchy!(IMFHttpDownloadSessionProvider, windows_core::IUnknown); impl IMFHttpDownloadSessionProvider { pub unsafe fn CreateHttpDownloadSession(&self, wszscheme: P0) -> windows_core::Result @@ -9320,7 +9320,7 @@ pub struct IMFHttpDownloadSessionProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateHttpDownloadSession: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFImageSharingEngine, IMFImageSharingEngine_Vtbl, 0xcfa0ae8e_7e1c_44d2_ae68_fc4c148a6354); +windows_core::imp::define_interface!(IMFImageSharingEngine, IMFImageSharingEngine_Vtbl, 0xcfa0ae8e_7e1c_44d2_ae68_fc4c148a6354); windows_core::imp::interface_hierarchy!(IMFImageSharingEngine, windows_core::IUnknown); impl IMFImageSharingEngine { pub unsafe fn SetSource(&self, pstream: P0) -> windows_core::Result<()> @@ -9343,7 +9343,7 @@ pub struct IMFImageSharingEngine_Vtbl { pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DEVICE_INFO) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFImageSharingEngineClassFactory, IMFImageSharingEngineClassFactory_Vtbl, 0x1fc55727_a7fb_4fc8_83ae_8af024990af1); +windows_core::imp::define_interface!(IMFImageSharingEngineClassFactory, IMFImageSharingEngineClassFactory_Vtbl, 0x1fc55727_a7fb_4fc8_83ae_8af024990af1); windows_core::imp::interface_hierarchy!(IMFImageSharingEngineClassFactory, windows_core::IUnknown); impl IMFImageSharingEngineClassFactory { pub unsafe fn CreateInstanceFromUDN(&self, puniquedevicename: P0) -> windows_core::Result @@ -9359,7 +9359,7 @@ 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, } -windows_core::imp::com_interface!(IMFInputTrustAuthority, IMFInputTrustAuthority_Vtbl, 0xd19f8e98_b126_4446_890c_5dcb7ad71453); +windows_core::imp::define_interface!(IMFInputTrustAuthority, IMFInputTrustAuthority_Vtbl, 0xd19f8e98_b126_4446_890c_5dcb7ad71453); windows_core::imp::interface_hierarchy!(IMFInputTrustAuthority, windows_core::IUnknown); impl IMFInputTrustAuthority { pub unsafe fn GetDecrypter(&self, riid: *const windows_core::GUID, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -9393,7 +9393,7 @@ pub struct IMFInputTrustAuthority_Vtbl { pub UpdateAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *const MFINPUTTRUSTAUTHORITY_ACCESS_PARAMS) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFLocalMFTRegistration, IMFLocalMFTRegistration_Vtbl, 0x149c4d73_b4be_4f8d_8b87_079e926b6add); +windows_core::imp::define_interface!(IMFLocalMFTRegistration, IMFLocalMFTRegistration_Vtbl, 0x149c4d73_b4be_4f8d_8b87_079e926b6add); windows_core::imp::interface_hierarchy!(IMFLocalMFTRegistration, windows_core::IUnknown); impl IMFLocalMFTRegistration { pub unsafe fn RegisterMFTs(&self, pmfts: &[MFT_REGISTRATION_INFO]) -> windows_core::Result<()> { @@ -9405,7 +9405,7 @@ pub struct IMFLocalMFTRegistration_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RegisterMFTs: unsafe extern "system" fn(*mut core::ffi::c_void, *const MFT_REGISTRATION_INFO, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaBuffer, IMFMediaBuffer_Vtbl, 0x045fa593_8799_42b8_bc8d_8968c6453507); +windows_core::imp::define_interface!(IMFMediaBuffer, IMFMediaBuffer_Vtbl, 0x045fa593_8799_42b8_bc8d_8968c6453507); windows_core::imp::interface_hierarchy!(IMFMediaBuffer, windows_core::IUnknown); impl IMFMediaBuffer { pub unsafe fn Lock(&self, ppbbuffer: *mut *mut u8, pcbmaxlength: Option<*mut u32>, pcbcurrentlength: Option<*mut u32>) -> windows_core::Result<()> { @@ -9435,7 +9435,7 @@ pub struct IMFMediaBuffer_Vtbl { pub SetCurrentLength: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetMaxLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngine, IMFMediaEngine_Vtbl, 0x98a1b0bb_03eb_4935_ae7c_93c1fa0e1c93); +windows_core::imp::define_interface!(IMFMediaEngine, IMFMediaEngine_Vtbl, 0x98a1b0bb_03eb_4935_ae7c_93c1fa0e1c93); windows_core::imp::interface_hierarchy!(IMFMediaEngine, windows_core::IUnknown); impl IMFMediaEngine { pub unsafe fn GetError(&self) -> windows_core::Result { @@ -9639,7 +9639,7 @@ pub struct IMFMediaEngine_Vtbl { pub TransferVideoFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const MFVideoNormalizedRect, *const super::super::Foundation::RECT, *const MFARGB) -> windows_core::HRESULT, pub OnVideoStreamTick: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineAudioEndpointId, IMFMediaEngineAudioEndpointId_Vtbl, 0x7a3bac98_0e76_49fb_8c20_8a86fd98eaf2); +windows_core::imp::define_interface!(IMFMediaEngineAudioEndpointId, IMFMediaEngineAudioEndpointId_Vtbl, 0x7a3bac98_0e76_49fb_8c20_8a86fd98eaf2); windows_core::imp::interface_hierarchy!(IMFMediaEngineAudioEndpointId, windows_core::IUnknown); impl IMFMediaEngineAudioEndpointId { pub unsafe fn SetAudioEndpointId(&self, pszendpointid: P0) -> windows_core::Result<()> @@ -9659,7 +9659,7 @@ pub struct IMFMediaEngineAudioEndpointId_Vtbl { pub SetAudioEndpointId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetAudioEndpointId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineClassFactory, IMFMediaEngineClassFactory_Vtbl, 0x4d645ace_26aa_4688_9be1_df3516990b93); +windows_core::imp::define_interface!(IMFMediaEngineClassFactory, IMFMediaEngineClassFactory_Vtbl, 0x4d645ace_26aa_4688_9be1_df3516990b93); windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory, windows_core::IUnknown); impl IMFMediaEngineClassFactory { pub unsafe fn CreateInstance(&self, dwflags: u32, pattr: P0) -> windows_core::Result @@ -9685,7 +9685,7 @@ pub struct IMFMediaEngineClassFactory_Vtbl { pub CreateTimeRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineClassFactory2, IMFMediaEngineClassFactory2_Vtbl, 0x09083cef_867f_4bf6_8776_dee3a7b42fca); +windows_core::imp::define_interface!(IMFMediaEngineClassFactory2, IMFMediaEngineClassFactory2_Vtbl, 0x09083cef_867f_4bf6_8776_dee3a7b42fca); windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory2, windows_core::IUnknown); impl IMFMediaEngineClassFactory2 { pub unsafe fn CreateMediaKeys2(&self, keysystem: P0, defaultcdmstorepath: P1, inprivatecdmstorepath: P2) -> windows_core::Result @@ -9703,7 +9703,7 @@ 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, } -windows_core::imp::com_interface!(IMFMediaEngineClassFactory3, IMFMediaEngineClassFactory3_Vtbl, 0x3787614f_65f7_4003_b673_ead8293a0e60); +windows_core::imp::define_interface!(IMFMediaEngineClassFactory3, IMFMediaEngineClassFactory3_Vtbl, 0x3787614f_65f7_4003_b673_ead8293a0e60); windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory3, windows_core::IUnknown); impl IMFMediaEngineClassFactory3 { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -9723,7 +9723,7 @@ pub struct IMFMediaEngineClassFactory3_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] CreateMediaKeySystemAccess: usize, } -windows_core::imp::com_interface!(IMFMediaEngineClassFactory4, IMFMediaEngineClassFactory4_Vtbl, 0xfbe256c1_43cf_4a9b_8cb8_ce8632a34186); +windows_core::imp::define_interface!(IMFMediaEngineClassFactory4, IMFMediaEngineClassFactory4_Vtbl, 0xfbe256c1_43cf_4a9b_8cb8_ce8632a34186); windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactory4, windows_core::IUnknown); impl IMFMediaEngineClassFactory4 { pub unsafe fn CreateContentDecryptionModuleFactory(&self, keysystem: P0, riid: *const windows_core::GUID, ppvobject: *mut *mut core::ffi::c_void) -> windows_core::Result<()> @@ -9738,7 +9738,7 @@ pub struct IMFMediaEngineClassFactory4_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateContentDecryptionModuleFactory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineClassFactoryEx, IMFMediaEngineClassFactoryEx_Vtbl, 0xc56156c6_ea5b_48a5_9df8_fbe035d0929e); +windows_core::imp::define_interface!(IMFMediaEngineClassFactoryEx, IMFMediaEngineClassFactoryEx_Vtbl, 0xc56156c6_ea5b_48a5_9df8_fbe035d0929e); windows_core::imp::interface_hierarchy!(IMFMediaEngineClassFactoryEx, windows_core::IUnknown, IMFMediaEngineClassFactory); impl IMFMediaEngineClassFactoryEx { pub unsafe fn CreateInstance(&self, dwflags: u32, pattr: P0) -> windows_core::Result @@ -9787,7 +9787,7 @@ pub struct IMFMediaEngineClassFactoryEx_Vtbl { 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, } -windows_core::imp::com_interface!(IMFMediaEngineEME, IMFMediaEngineEME_Vtbl, 0x50dc93e4_ba4f_4275_ae66_83e836e57469); +windows_core::imp::define_interface!(IMFMediaEngineEME, IMFMediaEngineEME_Vtbl, 0x50dc93e4_ba4f_4275_ae66_83e836e57469); windows_core::imp::interface_hierarchy!(IMFMediaEngineEME, windows_core::IUnknown); impl IMFMediaEngineEME { pub unsafe fn Keys(&self) -> windows_core::Result { @@ -9807,7 +9807,7 @@ pub struct IMFMediaEngineEME_Vtbl { pub Keys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMediaKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineEMENotify, IMFMediaEngineEMENotify_Vtbl, 0x9e184d15_cdb7_4f86_b49e_566689f4a601); +windows_core::imp::define_interface!(IMFMediaEngineEMENotify, IMFMediaEngineEMENotify_Vtbl, 0x9e184d15_cdb7_4f86_b49e_566689f4a601); windows_core::imp::interface_hierarchy!(IMFMediaEngineEMENotify, windows_core::IUnknown); impl IMFMediaEngineEMENotify { pub unsafe fn Encrypted(&self, pbinitdata: Option<&[u8]>, bstrinitdatatype: P0) @@ -9826,7 +9826,7 @@ pub struct IMFMediaEngineEMENotify_Vtbl { pub Encrypted: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, std::mem::MaybeUninit), pub WaitingForKey: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMFMediaEngineEx, IMFMediaEngineEx_Vtbl, 0x83015ead_b1e6_40d0_a98a_37145ffe1ad1); +windows_core::imp::define_interface!(IMFMediaEngineEx, IMFMediaEngineEx_Vtbl, 0x83015ead_b1e6_40d0_a98a_37145ffe1ad1); windows_core::imp::interface_hierarchy!(IMFMediaEngineEx, windows_core::IUnknown, IMFMediaEngine); impl IMFMediaEngineEx { pub unsafe fn GetError(&self) -> windows_core::Result { @@ -10180,7 +10180,7 @@ pub struct IMFMediaEngineEx_Vtbl { pub SetCurrentTimeEx: unsafe extern "system" fn(*mut core::ffi::c_void, f64, MF_MEDIA_ENGINE_SEEK_MODE) -> windows_core::HRESULT, pub EnableTimeUpdateTimer: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineExtension, IMFMediaEngineExtension_Vtbl, 0x2f69d622_20b5_41e9_afdf_89ced1dda04e); +windows_core::imp::define_interface!(IMFMediaEngineExtension, IMFMediaEngineExtension_Vtbl, 0x2f69d622_20b5_41e9_afdf_89ced1dda04e); windows_core::imp::interface_hierarchy!(IMFMediaEngineExtension, windows_core::IUnknown); impl IMFMediaEngineExtension { pub unsafe fn CanPlayType(&self, audioonly: P0, mimetype: P1) -> windows_core::Result @@ -10222,7 +10222,7 @@ pub struct IMFMediaEngineExtension_Vtbl { 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, } -windows_core::imp::com_interface!(IMFMediaEngineNeedKeyNotify, IMFMediaEngineNeedKeyNotify_Vtbl, 0x46a30204_a696_4b18_8804_246b8f031bb1); +windows_core::imp::define_interface!(IMFMediaEngineNeedKeyNotify, IMFMediaEngineNeedKeyNotify_Vtbl, 0x46a30204_a696_4b18_8804_246b8f031bb1); windows_core::imp::interface_hierarchy!(IMFMediaEngineNeedKeyNotify, windows_core::IUnknown); impl IMFMediaEngineNeedKeyNotify { pub unsafe fn NeedKey(&self, initdata: Option<&[u8]>) { @@ -10234,7 +10234,7 @@ pub struct IMFMediaEngineNeedKeyNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub NeedKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32), } -windows_core::imp::com_interface!(IMFMediaEngineNotify, IMFMediaEngineNotify_Vtbl, 0xfee7c112_e776_42b5_9bbf_0048524e2bd5); +windows_core::imp::define_interface!(IMFMediaEngineNotify, IMFMediaEngineNotify_Vtbl, 0xfee7c112_e776_42b5_9bbf_0048524e2bd5); windows_core::imp::interface_hierarchy!(IMFMediaEngineNotify, windows_core::IUnknown); impl IMFMediaEngineNotify { pub unsafe fn EventNotify(&self, event: u32, param1: usize, param2: u32) -> windows_core::Result<()> { @@ -10246,7 +10246,7 @@ pub struct IMFMediaEngineNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub EventNotify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineOPMInfo, IMFMediaEngineOPMInfo_Vtbl, 0x765763e6_6c01_4b01_bb0f_b829f60ed28c); +windows_core::imp::define_interface!(IMFMediaEngineOPMInfo, IMFMediaEngineOPMInfo_Vtbl, 0x765763e6_6c01_4b01_bb0f_b829f60ed28c); windows_core::imp::interface_hierarchy!(IMFMediaEngineOPMInfo, windows_core::IUnknown); impl IMFMediaEngineOPMInfo { pub unsafe fn GetOPMInfo(&self, pstatus: *mut MF_MEDIA_ENGINE_OPM_STATUS, pconstricted: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -10258,7 +10258,7 @@ pub struct IMFMediaEngineOPMInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetOPMInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_MEDIA_ENGINE_OPM_STATUS, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineProtectedContent, IMFMediaEngineProtectedContent_Vtbl, 0x9f8021e8_9c8c_487e_bb5c_79aa4779938c); +windows_core::imp::define_interface!(IMFMediaEngineProtectedContent, IMFMediaEngineProtectedContent_Vtbl, 0x9f8021e8_9c8c_487e_bb5c_79aa4779938c); windows_core::imp::interface_hierarchy!(IMFMediaEngineProtectedContent, windows_core::IUnknown); impl IMFMediaEngineProtectedContent { pub unsafe fn ShareResources(&self, punkdevicecontext: P0) -> windows_core::Result<()> @@ -10304,7 +10304,7 @@ pub struct IMFMediaEngineProtectedContent_Vtbl { pub SetContentProtectionManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetApplicationCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineSrcElements, IMFMediaEngineSrcElements_Vtbl, 0x7a5e5354_b114_4c72_b991_3131d75032ea); +windows_core::imp::define_interface!(IMFMediaEngineSrcElements, IMFMediaEngineSrcElements_Vtbl, 0x7a5e5354_b114_4c72_b991_3131d75032ea); windows_core::imp::interface_hierarchy!(IMFMediaEngineSrcElements, windows_core::IUnknown); impl IMFMediaEngineSrcElements { pub unsafe fn GetLength(&self) -> u32 { @@ -10344,7 +10344,7 @@ pub struct IMFMediaEngineSrcElements_Vtbl { pub AddElement: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, pub RemoveAllElements: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineSrcElementsEx, IMFMediaEngineSrcElementsEx_Vtbl, 0x654a6bb3_e1a3_424a_9908_53a43a0dfda0); +windows_core::imp::define_interface!(IMFMediaEngineSrcElementsEx, IMFMediaEngineSrcElementsEx_Vtbl, 0x654a6bb3_e1a3_424a_9908_53a43a0dfda0); windows_core::imp::interface_hierarchy!(IMFMediaEngineSrcElementsEx, windows_core::IUnknown, IMFMediaEngineSrcElements); impl IMFMediaEngineSrcElementsEx { pub unsafe fn GetLength(&self) -> u32 { @@ -10393,7 +10393,7 @@ pub struct IMFMediaEngineSrcElementsEx_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, } -windows_core::imp::com_interface!(IMFMediaEngineSupportsSourceTransfer, IMFMediaEngineSupportsSourceTransfer_Vtbl, 0xa724b056_1b2e_4642_a6f3_db9420c52908); +windows_core::imp::define_interface!(IMFMediaEngineSupportsSourceTransfer, IMFMediaEngineSupportsSourceTransfer_Vtbl, 0xa724b056_1b2e_4642_a6f3_db9420c52908); windows_core::imp::interface_hierarchy!(IMFMediaEngineSupportsSourceTransfer, windows_core::IUnknown); impl IMFMediaEngineSupportsSourceTransfer { pub unsafe fn ShouldTransferSource(&self) -> windows_core::Result { @@ -10419,7 +10419,7 @@ pub struct IMFMediaEngineSupportsSourceTransfer_Vtbl { pub DetachMediaSource: unsafe extern "system" fn(*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 AttachMediaSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineTransferSource, IMFMediaEngineTransferSource_Vtbl, 0x24230452_fe54_40cc_94f3_fcc394c340d6); +windows_core::imp::define_interface!(IMFMediaEngineTransferSource, IMFMediaEngineTransferSource_Vtbl, 0x24230452_fe54_40cc_94f3_fcc394c340d6); windows_core::imp::interface_hierarchy!(IMFMediaEngineTransferSource, windows_core::IUnknown); impl IMFMediaEngineTransferSource { pub unsafe fn TransferSourceToMediaEngine(&self, destination: P0) -> windows_core::Result<()> @@ -10434,7 +10434,7 @@ pub struct IMFMediaEngineTransferSource_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub TransferSourceToMediaEngine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEngineWebSupport, IMFMediaEngineWebSupport_Vtbl, 0xba2743a1_07e0_48ef_84b6_9a2ed023ca6c); +windows_core::imp::define_interface!(IMFMediaEngineWebSupport, IMFMediaEngineWebSupport_Vtbl, 0xba2743a1_07e0_48ef_84b6_9a2ed023ca6c); windows_core::imp::interface_hierarchy!(IMFMediaEngineWebSupport, windows_core::IUnknown); impl IMFMediaEngineWebSupport { pub unsafe fn ShouldDelayTheLoadEvent(&self) -> super::super::Foundation::BOOL { @@ -10455,7 +10455,7 @@ pub struct IMFMediaEngineWebSupport_Vtbl { pub ConnectWebAudio: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DisconnectWebAudio: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaError, IMFMediaError_Vtbl, 0xfc0e10d2_ab2a_4501_a951_06bb1075184c); +windows_core::imp::define_interface!(IMFMediaError, IMFMediaError_Vtbl, 0xfc0e10d2_ab2a_4501_a951_06bb1075184c); windows_core::imp::interface_hierarchy!(IMFMediaError, windows_core::IUnknown); impl IMFMediaError { pub unsafe fn GetErrorCode(&self) -> u16 { @@ -10479,7 +10479,7 @@ pub struct IMFMediaError_Vtbl { pub SetErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MEDIA_ENGINE_ERR) -> windows_core::HRESULT, pub SetExtendedErrorCode: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaEvent, IMFMediaEvent_Vtbl, 0xdf598932_f10c_4e39_bba2_c308f101daa3); +windows_core::imp::define_interface!(IMFMediaEvent, IMFMediaEvent_Vtbl, 0xdf598932_f10c_4e39_bba2_c308f101daa3); windows_core::imp::interface_hierarchy!(IMFMediaEvent, windows_core::IUnknown, IMFAttributes); impl IMFMediaEvent { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -10623,7 +10623,7 @@ pub struct IMFMediaEvent_Vtbl { 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, } -windows_core::imp::com_interface!(IMFMediaEventGenerator, IMFMediaEventGenerator_Vtbl, 0x2cd0bd52_bcd5_4b89_b62c_eadc0c031e7d); +windows_core::imp::define_interface!(IMFMediaEventGenerator, IMFMediaEventGenerator_Vtbl, 0x2cd0bd52_bcd5_4b89_b62c_eadc0c031e7d); 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 { @@ -10656,7 +10656,7 @@ pub struct IMFMediaEventGenerator_Vtbl { 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, } -windows_core::imp::com_interface!(IMFMediaEventQueue, IMFMediaEventQueue_Vtbl, 0x36f846fc_2256_48b6_b58e_e2b638316581); +windows_core::imp::define_interface!(IMFMediaEventQueue, IMFMediaEventQueue_Vtbl, 0x36f846fc_2256_48b6_b58e_e2b638316581); windows_core::imp::interface_hierarchy!(IMFMediaEventQueue, windows_core::IUnknown); impl IMFMediaEventQueue { pub unsafe fn GetEvent(&self, dwflags: u32) -> windows_core::Result { @@ -10707,7 +10707,7 @@ pub struct IMFMediaEventQueue_Vtbl { 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, } -windows_core::imp::com_interface!(IMFMediaKeySession, IMFMediaKeySession_Vtbl, 0x24fa67d5_d1d0_4dc5_995c_c0efdc191fb5); +windows_core::imp::define_interface!(IMFMediaKeySession, IMFMediaKeySession_Vtbl, 0x24fa67d5_d1d0_4dc5_995c_c0efdc191fb5); windows_core::imp::interface_hierarchy!(IMFMediaKeySession, windows_core::IUnknown); impl IMFMediaKeySession { pub unsafe fn GetError(&self, code: *mut u16, systemcode: *mut u32) -> windows_core::Result<()> { @@ -10737,7 +10737,7 @@ pub struct IMFMediaKeySession_Vtbl { 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, } -windows_core::imp::com_interface!(IMFMediaKeySession2, IMFMediaKeySession2_Vtbl, 0xe9707e05_6d55_4636_b185_3de21210bd75); +windows_core::imp::define_interface!(IMFMediaKeySession2, IMFMediaKeySession2_Vtbl, 0xe9707e05_6d55_4636_b185_3de21210bd75); windows_core::imp::interface_hierarchy!(IMFMediaKeySession2, windows_core::IUnknown, IMFMediaKeySession); impl IMFMediaKeySession2 { pub unsafe fn GetError(&self, code: *mut u16, systemcode: *mut u32) -> windows_core::Result<()> { @@ -10794,7 +10794,7 @@ pub struct IMFMediaKeySession2_Vtbl { 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, } -windows_core::imp::com_interface!(IMFMediaKeySessionNotify, IMFMediaKeySessionNotify_Vtbl, 0x6a0083f9_8947_4c1d_9ce0_cdee22b23135); +windows_core::imp::define_interface!(IMFMediaKeySessionNotify, IMFMediaKeySessionNotify_Vtbl, 0x6a0083f9_8947_4c1d_9ce0_cdee22b23135); windows_core::imp::interface_hierarchy!(IMFMediaKeySessionNotify, windows_core::IUnknown); impl IMFMediaKeySessionNotify { pub unsafe fn KeyMessage(&self, destinationurl: P0, message: &[u8]) @@ -10817,7 +10817,7 @@ pub struct IMFMediaKeySessionNotify_Vtbl { pub KeyAdded: unsafe extern "system" fn(*mut core::ffi::c_void), pub KeyError: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u32), } -windows_core::imp::com_interface!(IMFMediaKeySessionNotify2, IMFMediaKeySessionNotify2_Vtbl, 0xc3a9e92a_da88_46b0_a110_6cf953026cb9); +windows_core::imp::define_interface!(IMFMediaKeySessionNotify2, IMFMediaKeySessionNotify2_Vtbl, 0xc3a9e92a_da88_46b0_a110_6cf953026cb9); windows_core::imp::interface_hierarchy!(IMFMediaKeySessionNotify2, windows_core::IUnknown, IMFMediaKeySessionNotify); impl IMFMediaKeySessionNotify2 { pub unsafe fn KeyMessage(&self, destinationurl: P0, message: &[u8]) @@ -10848,7 +10848,7 @@ pub struct IMFMediaKeySessionNotify2_Vtbl { pub KeyMessage2: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MEDIAKEYSESSION_MESSAGETYPE, std::mem::MaybeUninit, *const u8, u32), pub KeyStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMFMediaKeySystemAccess, IMFMediaKeySystemAccess_Vtbl, 0xaec63fda_7a97_4944_b35c_6c6df8085cc3); +windows_core::imp::define_interface!(IMFMediaKeySystemAccess, IMFMediaKeySystemAccess_Vtbl, 0xaec63fda_7a97_4944_b35c_6c6df8085cc3); windows_core::imp::interface_hierarchy!(IMFMediaKeySystemAccess, windows_core::IUnknown); impl IMFMediaKeySystemAccess { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -10882,7 +10882,7 @@ pub struct IMFMediaKeySystemAccess_Vtbl { SupportedConfiguration: usize, pub KeySystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaKeys, IMFMediaKeys_Vtbl, 0x5cb31c05_61ff_418f_afda_caaf41421a38); +windows_core::imp::define_interface!(IMFMediaKeys, IMFMediaKeys_Vtbl, 0x5cb31c05_61ff_418f_afda_caaf41421a38); windows_core::imp::interface_hierarchy!(IMFMediaKeys, windows_core::IUnknown); impl IMFMediaKeys { pub unsafe fn CreateSession(&self, mimetype: P0, initdata: Option<&[u8]>, customdata: Option<&[u8]>, notify: P1) -> windows_core::Result @@ -10913,7 +10913,7 @@ pub struct IMFMediaKeys_Vtbl { 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, } -windows_core::imp::com_interface!(IMFMediaKeys2, IMFMediaKeys2_Vtbl, 0x45892507_ad66_4de2_83a2_acbb13cd8d43); +windows_core::imp::define_interface!(IMFMediaKeys2, IMFMediaKeys2_Vtbl, 0x45892507_ad66_4de2_83a2_acbb13cd8d43); windows_core::imp::interface_hierarchy!(IMFMediaKeys2, windows_core::IUnknown, IMFMediaKeys); impl IMFMediaKeys2 { pub unsafe fn CreateSession(&self, mimetype: P0, initdata: Option<&[u8]>, customdata: Option<&[u8]>, notify: P1) -> windows_core::Result @@ -10957,7 +10957,7 @@ pub struct IMFMediaKeys2_Vtbl { pub SetServerCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, pub GetDOMException: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaSession, IMFMediaSession_Vtbl, 0x90377834_21d0_4dee_8214_ba2e3e6c1127); +windows_core::imp::define_interface!(IMFMediaSession, IMFMediaSession_Vtbl, 0x90377834_21d0_4dee_8214_ba2e3e6c1127); windows_core::imp::interface_hierarchy!(IMFMediaSession, windows_core::IUnknown, IMFMediaEventGenerator); impl IMFMediaSession { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> windows_core::Result { @@ -11032,7 +11032,7 @@ pub struct IMFMediaSession_Vtbl { pub GetSessionCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetFullTopology: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaSharingEngine, IMFMediaSharingEngine_Vtbl, 0x8d3ce1bf_2367_40e0_9eee_40d377cc1b46); +windows_core::imp::define_interface!(IMFMediaSharingEngine, IMFMediaSharingEngine_Vtbl, 0x8d3ce1bf_2367_40e0_9eee_40d377cc1b46); windows_core::imp::interface_hierarchy!(IMFMediaSharingEngine, windows_core::IUnknown, IMFMediaEngine); impl IMFMediaSharingEngine { pub unsafe fn GetError(&self) -> windows_core::Result { @@ -11198,7 +11198,7 @@ pub struct IMFMediaSharingEngine_Vtbl { pub base__: IMFMediaEngine_Vtbl, pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DEVICE_INFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaSharingEngineClassFactory, IMFMediaSharingEngineClassFactory_Vtbl, 0x524d2bc4_b2b1_4fe5_8fac_fa4e4512b4e0); +windows_core::imp::define_interface!(IMFMediaSharingEngineClassFactory, IMFMediaSharingEngineClassFactory_Vtbl, 0x524d2bc4_b2b1_4fe5_8fac_fa4e4512b4e0); windows_core::imp::interface_hierarchy!(IMFMediaSharingEngineClassFactory, windows_core::IUnknown); impl IMFMediaSharingEngineClassFactory { pub unsafe fn CreateInstance(&self, dwflags: u32, pattr: P0) -> windows_core::Result @@ -11214,7 +11214,7 @@ pub struct IMFMediaSharingEngineClassFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaSink, IMFMediaSink_Vtbl, 0x6ef2a660_47c0_4666_b13d_cbb717f2fa2c); +windows_core::imp::define_interface!(IMFMediaSink, IMFMediaSink_Vtbl, 0x6ef2a660_47c0_4666_b13d_cbb717f2fa2c); windows_core::imp::interface_hierarchy!(IMFMediaSink, windows_core::IUnknown); impl IMFMediaSink { pub unsafe fn GetCharacteristics(&self) -> windows_core::Result { @@ -11270,7 +11270,7 @@ pub struct IMFMediaSink_Vtbl { pub GetPresentationClock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaSinkPreroll, IMFMediaSinkPreroll_Vtbl, 0x5dfd4b2a_7674_4110_a4e6_8a68fd5f3688); +windows_core::imp::define_interface!(IMFMediaSinkPreroll, IMFMediaSinkPreroll_Vtbl, 0x5dfd4b2a_7674_4110_a4e6_8a68fd5f3688); windows_core::imp::interface_hierarchy!(IMFMediaSinkPreroll, windows_core::IUnknown); impl IMFMediaSinkPreroll { pub unsafe fn NotifyPreroll(&self, hnsupcomingstarttime: i64) -> windows_core::Result<()> { @@ -11282,7 +11282,7 @@ pub struct IMFMediaSinkPreroll_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub NotifyPreroll: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaSource, IMFMediaSource_Vtbl, 0x279a808d_aec7_40c8_9c6b_a6b492c78a66); +windows_core::imp::define_interface!(IMFMediaSource, IMFMediaSource_Vtbl, 0x279a808d_aec7_40c8_9c6b_a6b492c78a66); windows_core::imp::interface_hierarchy!(IMFMediaSource, windows_core::IUnknown, IMFMediaEventGenerator); impl IMFMediaSource { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> windows_core::Result { @@ -11340,7 +11340,7 @@ pub struct IMFMediaSource_Vtbl { 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, } -windows_core::imp::com_interface!(IMFMediaSource2, IMFMediaSource2_Vtbl, 0xfbb03414_d13b_4786_8319_5ac51fc0a136); +windows_core::imp::define_interface!(IMFMediaSource2, IMFMediaSource2_Vtbl, 0xfbb03414_d13b_4786_8319_5ac51fc0a136); windows_core::imp::interface_hierarchy!(IMFMediaSource2, windows_core::IUnknown, IMFMediaEventGenerator, IMFMediaSource, IMFMediaSourceEx); impl IMFMediaSource2 { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> windows_core::Result { @@ -11413,7 +11413,7 @@ pub struct IMFMediaSource2_Vtbl { pub base__: IMFMediaSourceEx_Vtbl, pub SetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaSourceEx, IMFMediaSourceEx_Vtbl, 0x3c9b2eb9_86d5_4514_a394_f56664f9f0d8); +windows_core::imp::define_interface!(IMFMediaSourceEx, IMFMediaSourceEx_Vtbl, 0x3c9b2eb9_86d5_4514_a394_f56664f9f0d8); windows_core::imp::interface_hierarchy!(IMFMediaSourceEx, windows_core::IUnknown, IMFMediaEventGenerator, IMFMediaSource); impl IMFMediaSourceEx { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> windows_core::Result { @@ -11482,7 +11482,7 @@ pub struct IMFMediaSourceEx_Vtbl { pub GetStreamAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetD3DManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaSourceExtension, IMFMediaSourceExtension_Vtbl, 0xe467b94e_a713_4562_a802_816a42e9008a); +windows_core::imp::define_interface!(IMFMediaSourceExtension, IMFMediaSourceExtension_Vtbl, 0xe467b94e_a713_4562_a802_816a42e9008a); windows_core::imp::interface_hierarchy!(IMFMediaSourceExtension, windows_core::IUnknown); impl IMFMediaSourceExtension { pub unsafe fn GetSourceBuffers(&self) -> Option { @@ -11541,7 +11541,7 @@ pub struct IMFMediaSourceExtension_Vtbl { pub IsTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> super::super::Foundation::BOOL, pub GetSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> Option, } -windows_core::imp::com_interface!(IMFMediaSourceExtensionLiveSeekableRange, IMFMediaSourceExtensionLiveSeekableRange_Vtbl, 0x5d1abfd6_450a_4d92_9efc_d6b6cbc1f4da); +windows_core::imp::define_interface!(IMFMediaSourceExtensionLiveSeekableRange, IMFMediaSourceExtensionLiveSeekableRange_Vtbl, 0x5d1abfd6_450a_4d92_9efc_d6b6cbc1f4da); windows_core::imp::interface_hierarchy!(IMFMediaSourceExtensionLiveSeekableRange, windows_core::IUnknown); impl IMFMediaSourceExtensionLiveSeekableRange { pub unsafe fn SetLiveSeekableRange(&self, start: f64, end: f64) -> windows_core::Result<()> { @@ -11557,7 +11557,7 @@ pub struct IMFMediaSourceExtensionLiveSeekableRange_Vtbl { pub SetLiveSeekableRange: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, pub ClearLiveSeekableRange: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaSourceExtensionNotify, IMFMediaSourceExtensionNotify_Vtbl, 0xa7901327_05dd_4469_a7b7_0e01979e361d); +windows_core::imp::define_interface!(IMFMediaSourceExtensionNotify, IMFMediaSourceExtensionNotify_Vtbl, 0xa7901327_05dd_4469_a7b7_0e01979e361d); windows_core::imp::interface_hierarchy!(IMFMediaSourceExtensionNotify, windows_core::IUnknown); impl IMFMediaSourceExtensionNotify { pub unsafe fn OnSourceOpen(&self) { @@ -11577,7 +11577,7 @@ pub struct IMFMediaSourceExtensionNotify_Vtbl { pub OnSourceEnded: unsafe extern "system" fn(*mut core::ffi::c_void), pub OnSourceClose: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMFMediaSourcePresentationProvider, IMFMediaSourcePresentationProvider_Vtbl, 0x0e1d600a_c9f3_442d_8c51_a42d2d49452f); +windows_core::imp::define_interface!(IMFMediaSourcePresentationProvider, IMFMediaSourcePresentationProvider_Vtbl, 0x0e1d600a_c9f3_442d_8c51_a42d2d49452f); windows_core::imp::interface_hierarchy!(IMFMediaSourcePresentationProvider, windows_core::IUnknown); impl IMFMediaSourcePresentationProvider { pub unsafe fn ForceEndOfPresentation(&self, ppresentationdescriptor: P0) -> windows_core::Result<()> @@ -11592,7 +11592,7 @@ pub struct IMFMediaSourcePresentationProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ForceEndOfPresentation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaSourceTopologyProvider, IMFMediaSourceTopologyProvider_Vtbl, 0x0e1d6009_c9f3_442d_8c51_a42d2d49452f); +windows_core::imp::define_interface!(IMFMediaSourceTopologyProvider, IMFMediaSourceTopologyProvider_Vtbl, 0x0e1d6009_c9f3_442d_8c51_a42d2d49452f); windows_core::imp::interface_hierarchy!(IMFMediaSourceTopologyProvider, windows_core::IUnknown); impl IMFMediaSourceTopologyProvider { pub unsafe fn GetMediaSourceTopology(&self, ppresentationdescriptor: P0) -> windows_core::Result @@ -11608,7 +11608,7 @@ pub struct IMFMediaSourceTopologyProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetMediaSourceTopology: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaStream, IMFMediaStream_Vtbl, 0xd182108f_4ec6_443f_aa42_a71106ec825f); +windows_core::imp::define_interface!(IMFMediaStream, IMFMediaStream_Vtbl, 0xd182108f_4ec6_443f_aa42_a71106ec825f); windows_core::imp::interface_hierarchy!(IMFMediaStream, windows_core::IUnknown, IMFMediaEventGenerator); impl IMFMediaStream { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> windows_core::Result { @@ -11654,7 +11654,7 @@ pub struct IMFMediaStream_Vtbl { pub GetStreamDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaStream2, IMFMediaStream2_Vtbl, 0xc5bc37d6_75c7_46a1_a132_81b5f723c20f); +windows_core::imp::define_interface!(IMFMediaStream2, IMFMediaStream2_Vtbl, 0xc5bc37d6_75c7_46a1_a132_81b5f723c20f); windows_core::imp::interface_hierarchy!(IMFMediaStream2, windows_core::IUnknown, IMFMediaEventGenerator, IMFMediaStream); impl IMFMediaStream2 { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> windows_core::Result { @@ -11706,7 +11706,7 @@ pub struct IMFMediaStream2_Vtbl { pub SetStreamState: unsafe extern "system" fn(*mut core::ffi::c_void, MF_STREAM_STATE) -> windows_core::HRESULT, pub GetStreamState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_STREAM_STATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaStreamSourceSampleRequest, IMFMediaStreamSourceSampleRequest_Vtbl, 0x380b9af9_a85b_4e78_a2af_ea5ce645c6b4); +windows_core::imp::define_interface!(IMFMediaStreamSourceSampleRequest, IMFMediaStreamSourceSampleRequest_Vtbl, 0x380b9af9_a85b_4e78_a2af_ea5ce645c6b4); windows_core::imp::interface_hierarchy!(IMFMediaStreamSourceSampleRequest, windows_core::IUnknown); impl IMFMediaStreamSourceSampleRequest { pub unsafe fn SetSample(&self, value: P0) -> windows_core::Result<()> @@ -11721,7 +11721,7 @@ pub struct IMFMediaStreamSourceSampleRequest_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaTimeRange, IMFMediaTimeRange_Vtbl, 0xdb71a2fc_078a_414e_9df9_8c2531b0aa6c); +windows_core::imp::define_interface!(IMFMediaTimeRange, IMFMediaTimeRange_Vtbl, 0xdb71a2fc_078a_414e_9df9_8c2531b0aa6c); windows_core::imp::interface_hierarchy!(IMFMediaTimeRange, windows_core::IUnknown); impl IMFMediaTimeRange { pub unsafe fn GetLength(&self) -> u32 { @@ -11755,7 +11755,7 @@ pub struct IMFMediaTimeRange_Vtbl { pub AddRange: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaType, IMFMediaType_Vtbl, 0x44ae0fa8_ea31_4109_8d2e_4cae4997c555); +windows_core::imp::define_interface!(IMFMediaType, IMFMediaType_Vtbl, 0x44ae0fa8_ea31_4109_8d2e_4cae4997c555); windows_core::imp::interface_hierarchy!(IMFMediaType, windows_core::IUnknown, IMFAttributes); impl IMFMediaType { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -11905,7 +11905,7 @@ pub struct IMFMediaType_Vtbl { pub GetRepresentation: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FreeRepresentation: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMediaTypeHandler, IMFMediaTypeHandler_Vtbl, 0xe93dcf6c_4b07_4e1e_8123_aa16ed6eadf5); +windows_core::imp::define_interface!(IMFMediaTypeHandler, IMFMediaTypeHandler_Vtbl, 0xe93dcf6c_4b07_4e1e_8123_aa16ed6eadf5); windows_core::imp::interface_hierarchy!(IMFMediaTypeHandler, windows_core::IUnknown); impl IMFMediaTypeHandler { pub unsafe fn IsMediaTypeSupported(&self, pmediatype: P0, ppmediatype: Option<*mut Option>) -> windows_core::Result<()> @@ -11947,7 +11947,7 @@ pub struct IMFMediaTypeHandler_Vtbl { pub GetCurrentMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMajorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMetadata, IMFMetadata_Vtbl, 0xf88cfb8c_ef16_4991_b450_cb8c69e51704); +windows_core::imp::define_interface!(IMFMetadata, IMFMetadata_Vtbl, 0xf88cfb8c_ef16_4991_b450_cb8c69e51704); windows_core::imp::interface_hierarchy!(IMFMetadata, windows_core::IUnknown); impl IMFMetadata { pub unsafe fn SetLanguage(&self, pwszrfc1766: P0) -> windows_core::Result<()> @@ -11999,7 +11999,7 @@ pub struct IMFMetadata_Vtbl { 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, } -windows_core::imp::com_interface!(IMFMetadataProvider, IMFMetadataProvider_Vtbl, 0x56181d2d_e221_4adb_b1c8_3cee6a53f76f); +windows_core::imp::define_interface!(IMFMetadataProvider, IMFMetadataProvider_Vtbl, 0x56181d2d_e221_4adb_b1c8_3cee6a53f76f); windows_core::imp::interface_hierarchy!(IMFMetadataProvider, windows_core::IUnknown); impl IMFMetadataProvider { pub unsafe fn GetMFMetadata(&self, ppresentationdescriptor: P0, dwstreamidentifier: u32, dwflags: u32) -> windows_core::Result @@ -12015,7 +12015,7 @@ pub struct IMFMetadataProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetMFMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMuxStreamAttributesManager, IMFMuxStreamAttributesManager_Vtbl, 0xce8bd576_e440_43b3_be34_1e53f565f7e8); +windows_core::imp::define_interface!(IMFMuxStreamAttributesManager, IMFMuxStreamAttributesManager_Vtbl, 0xce8bd576_e440_43b3_be34_1e53f565f7e8); windows_core::imp::interface_hierarchy!(IMFMuxStreamAttributesManager, windows_core::IUnknown); impl IMFMuxStreamAttributesManager { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { @@ -12033,7 +12033,7 @@ pub struct IMFMuxStreamAttributesManager_Vtbl { pub GetStreamCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMuxStreamMediaTypeManager, IMFMuxStreamMediaTypeManager_Vtbl, 0x505a2c72_42f7_4690_aeab_8f513d0ffdb8); +windows_core::imp::define_interface!(IMFMuxStreamMediaTypeManager, IMFMuxStreamMediaTypeManager_Vtbl, 0x505a2c72_42f7_4690_aeab_8f513d0ffdb8); windows_core::imp::interface_hierarchy!(IMFMuxStreamMediaTypeManager, windows_core::IUnknown); impl IMFMuxStreamMediaTypeManager { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { @@ -12069,7 +12069,7 @@ pub struct IMFMuxStreamMediaTypeManager_Vtbl { pub RemoveStreamConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub GetStreamConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFMuxStreamSampleManager, IMFMuxStreamSampleManager_Vtbl, 0x74abbc19_b1cc_4e41_bb8b_9d9b86a8f6ca); +windows_core::imp::define_interface!(IMFMuxStreamSampleManager, IMFMuxStreamSampleManager_Vtbl, 0x74abbc19_b1cc_4e41_bb8b_9d9b86a8f6ca); windows_core::imp::interface_hierarchy!(IMFMuxStreamSampleManager, windows_core::IUnknown); impl IMFMuxStreamSampleManager { pub unsafe fn GetStreamCount(&self) -> windows_core::Result { @@ -12091,7 +12091,7 @@ pub struct IMFMuxStreamSampleManager_Vtbl { pub GetSample: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetStreamConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, } -windows_core::imp::com_interface!(IMFNetCredential, IMFNetCredential_Vtbl, 0x5b87ef6a_7ed8_434f_ba0e_184fac1628d1); +windows_core::imp::define_interface!(IMFNetCredential, IMFNetCredential_Vtbl, 0x5b87ef6a_7ed8_434f_ba0e_184fac1628d1); windows_core::imp::interface_hierarchy!(IMFNetCredential, windows_core::IUnknown); impl IMFNetCredential { pub unsafe fn SetUser(&self, pbdata: &[u8], fdataisencrypted: P0) -> windows_core::Result<()> @@ -12132,7 +12132,7 @@ pub struct IMFNetCredential_Vtbl { pub GetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub LoggedOnUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFNetCredentialCache, IMFNetCredentialCache_Vtbl, 0x5b87ef6c_7ed8_434f_ba0e_184fac1628d1); +windows_core::imp::define_interface!(IMFNetCredentialCache, IMFNetCredentialCache_Vtbl, 0x5b87ef6c_7ed8_434f_ba0e_184fac1628d1); windows_core::imp::interface_hierarchy!(IMFNetCredentialCache, windows_core::IUnknown); impl IMFNetCredentialCache { pub unsafe fn GetCredential(&self, pszurl: P0, pszrealm: P1, dwauthenticationflags: u32, ppcred: *mut Option, pdwrequirementsflags: *mut u32) -> windows_core::Result<()> @@ -12163,7 +12163,7 @@ pub struct IMFNetCredentialCache_Vtbl { pub SetGood: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetUserOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFNetCredentialManager, IMFNetCredentialManager_Vtbl, 0x5b87ef6b_7ed8_434f_ba0e_184fac1628d1); +windows_core::imp::define_interface!(IMFNetCredentialManager, IMFNetCredentialManager_Vtbl, 0x5b87ef6b_7ed8_434f_ba0e_184fac1628d1); windows_core::imp::interface_hierarchy!(IMFNetCredentialManager, windows_core::IUnknown); impl IMFNetCredentialManager { pub unsafe fn BeginGetCredentials(&self, pparam: *const MFNetCredentialManagerGetParam, pcallback: P0, pstate: P1) -> windows_core::Result<()> @@ -12195,7 +12195,7 @@ pub struct IMFNetCredentialManager_Vtbl { pub EndGetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetGood: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFNetCrossOriginSupport, IMFNetCrossOriginSupport_Vtbl, 0xbc2b7d44_a72d_49d5_8376_1480dee58b22); +windows_core::imp::define_interface!(IMFNetCrossOriginSupport, IMFNetCrossOriginSupport_Vtbl, 0xbc2b7d44_a72d_49d5_8376_1480dee58b22); windows_core::imp::interface_hierarchy!(IMFNetCrossOriginSupport, windows_core::IUnknown); impl IMFNetCrossOriginSupport { pub unsafe fn GetCrossOriginPolicy(&self) -> windows_core::Result { @@ -12221,7 +12221,7 @@ pub struct IMFNetCrossOriginSupport_Vtbl { pub GetSourceOrigin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub IsSameOrigin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFNetProxyLocator, IMFNetProxyLocator_Vtbl, 0xe9cd0383_a268_4bb4_82de_658d53574d41); +windows_core::imp::define_interface!(IMFNetProxyLocator, IMFNetProxyLocator_Vtbl, 0xe9cd0383_a268_4bb4_82de_658d53574d41); windows_core::imp::interface_hierarchy!(IMFNetProxyLocator, windows_core::IUnknown); impl IMFNetProxyLocator { pub unsafe fn FindFirstProxy(&self, pszhost: P0, pszurl: P1, freserved: P2) -> windows_core::Result<()> @@ -12255,7 +12255,7 @@ pub struct IMFNetProxyLocator_Vtbl { pub GetCurrentProxy: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFNetProxyLocatorFactory, IMFNetProxyLocatorFactory_Vtbl, 0xe9cd0384_a268_4bb4_82de_658d53574d41); +windows_core::imp::define_interface!(IMFNetProxyLocatorFactory, IMFNetProxyLocatorFactory_Vtbl, 0xe9cd0384_a268_4bb4_82de_658d53574d41); windows_core::imp::interface_hierarchy!(IMFNetProxyLocatorFactory, windows_core::IUnknown); impl IMFNetProxyLocatorFactory { pub unsafe fn CreateProxyLocator(&self, pszprotocol: P0) -> windows_core::Result @@ -12271,7 +12271,7 @@ pub struct IMFNetProxyLocatorFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateProxyLocator: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFNetResourceFilter, IMFNetResourceFilter_Vtbl, 0x091878a3_bf11_4a5c_bc9f_33995b06ef2d); +windows_core::imp::define_interface!(IMFNetResourceFilter, IMFNetResourceFilter_Vtbl, 0x091878a3_bf11_4a5c_bc9f_33995b06ef2d); windows_core::imp::interface_hierarchy!(IMFNetResourceFilter, windows_core::IUnknown); impl IMFNetResourceFilter { pub unsafe fn OnRedirect(&self, pszurl: P0) -> windows_core::Result @@ -12294,7 +12294,7 @@ pub struct IMFNetResourceFilter_Vtbl { pub OnRedirect: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub OnSendingRequest: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFNetSchemeHandlerConfig, IMFNetSchemeHandlerConfig_Vtbl, 0x7be19e73_c9bf_468a_ac5a_a5e8653bec87); +windows_core::imp::define_interface!(IMFNetSchemeHandlerConfig, IMFNetSchemeHandlerConfig_Vtbl, 0x7be19e73_c9bf_468a_ac5a_a5e8653bec87); windows_core::imp::interface_hierarchy!(IMFNetSchemeHandlerConfig, windows_core::IUnknown); impl IMFNetSchemeHandlerConfig { pub unsafe fn GetNumberOfSupportedProtocols(&self) -> windows_core::Result { @@ -12316,7 +12316,7 @@ pub struct IMFNetSchemeHandlerConfig_Vtbl { pub GetSupportedProtocolType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut MFNETSOURCE_PROTOCOL_TYPE) -> windows_core::HRESULT, pub ResetProtocolRolloverSettings: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFObjectReferenceStream, IMFObjectReferenceStream_Vtbl, 0x09ef5be3_c8a7_469e_8b70_73bf25bb193f); +windows_core::imp::define_interface!(IMFObjectReferenceStream, IMFObjectReferenceStream_Vtbl, 0x09ef5be3_c8a7_469e_8b70_73bf25bb193f); windows_core::imp::interface_hierarchy!(IMFObjectReferenceStream, windows_core::IUnknown); impl IMFObjectReferenceStream { pub unsafe fn SaveReference(&self, riid: *const windows_core::GUID, punk: P0) -> windows_core::Result<()> @@ -12335,7 +12335,7 @@ pub struct IMFObjectReferenceStream_Vtbl { pub SaveReference: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LoadReference: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFOutputPolicy, IMFOutputPolicy_Vtbl, 0x7f00f10a_daed_41af_ab26_5fdfa4dfba3c); +windows_core::imp::define_interface!(IMFOutputPolicy, IMFOutputPolicy_Vtbl, 0x7f00f10a_daed_41af_ab26_5fdfa4dfba3c); windows_core::imp::interface_hierarchy!(IMFOutputPolicy, windows_core::IUnknown, IMFAttributes); impl IMFOutputPolicy { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -12474,7 +12474,7 @@ pub struct IMFOutputPolicy_Vtbl { pub GetOriginatorID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetMinimumGRLVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFOutputSchema, IMFOutputSchema_Vtbl, 0x7be0fc5b_abd9_44fb_a5c8_f50136e71599); +windows_core::imp::define_interface!(IMFOutputSchema, IMFOutputSchema_Vtbl, 0x7be0fc5b_abd9_44fb_a5c8_f50136e71599); windows_core::imp::interface_hierarchy!(IMFOutputSchema, windows_core::IUnknown, IMFAttributes); impl IMFOutputSchema { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -12613,7 +12613,7 @@ pub struct IMFOutputSchema_Vtbl { pub GetConfigurationData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetOriginatorID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFOutputTrustAuthority, IMFOutputTrustAuthority_Vtbl, 0xd19f8e94_b126_4446_890c_5dcb7ad71453); +windows_core::imp::define_interface!(IMFOutputTrustAuthority, IMFOutputTrustAuthority_Vtbl, 0xd19f8e94_b126_4446_890c_5dcb7ad71453); windows_core::imp::interface_hierarchy!(IMFOutputTrustAuthority, windows_core::IUnknown); impl IMFOutputTrustAuthority { pub unsafe fn GetAction(&self) -> windows_core::Result { @@ -12630,7 +12630,7 @@ pub struct IMFOutputTrustAuthority_Vtbl { pub GetAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFPOLICYMANAGER_ACTION) -> windows_core::HRESULT, pub SetPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *const *mut core::ffi::c_void, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFPMPClient, IMFPMPClient_Vtbl, 0x6c4e655d_ead8_4421_b6b9_54dcdbbdf820); +windows_core::imp::define_interface!(IMFPMPClient, IMFPMPClient_Vtbl, 0x6c4e655d_ead8_4421_b6b9_54dcdbbdf820); windows_core::imp::interface_hierarchy!(IMFPMPClient, windows_core::IUnknown); impl IMFPMPClient { pub unsafe fn SetPMPHost(&self, ppmphost: P0) -> windows_core::Result<()> @@ -12645,7 +12645,7 @@ pub struct IMFPMPClient_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetPMPHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFPMPClientApp, IMFPMPClientApp_Vtbl, 0xc004f646_be2c_48f3_93a2_a0983eba1108); +windows_core::imp::define_interface!(IMFPMPClientApp, IMFPMPClientApp_Vtbl, 0xc004f646_be2c_48f3_93a2_a0983eba1108); windows_core::imp::interface_hierarchy!(IMFPMPClientApp, windows_core::IUnknown); impl IMFPMPClientApp { pub unsafe fn SetPMPHost(&self, ppmphost: P0) -> windows_core::Result<()> @@ -12660,7 +12660,7 @@ pub struct IMFPMPClientApp_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetPMPHost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFPMPHost, IMFPMPHost_Vtbl, 0xf70ca1a9_fdc7_4782_b994_adffb1c98606); +windows_core::imp::define_interface!(IMFPMPHost, IMFPMPHost_Vtbl, 0xf70ca1a9_fdc7_4782_b994_adffb1c98606); windows_core::imp::interface_hierarchy!(IMFPMPHost, windows_core::IUnknown); impl IMFPMPHost { pub unsafe fn LockProcess(&self) -> windows_core::Result<()> { @@ -12689,7 +12689,7 @@ pub struct IMFPMPHost_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateObjectByCLSID: usize, } -windows_core::imp::com_interface!(IMFPMPHostApp, IMFPMPHostApp_Vtbl, 0x84d2054a_3aa1_4728_a3b0_440a418cf49c); +windows_core::imp::define_interface!(IMFPMPHostApp, IMFPMPHostApp_Vtbl, 0x84d2054a_3aa1_4728_a3b0_440a418cf49c); windows_core::imp::interface_hierarchy!(IMFPMPHostApp, windows_core::IUnknown); impl IMFPMPHostApp { pub unsafe fn LockProcess(&self) -> windows_core::Result<()> { @@ -12719,7 +12719,7 @@ pub struct IMFPMPHostApp_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ActivateClassById: usize, } -windows_core::imp::com_interface!(IMFPMPServer, IMFPMPServer_Vtbl, 0x994e23af_1cc2_493c_b9fa_46f1cb040fa4); +windows_core::imp::define_interface!(IMFPMPServer, IMFPMPServer_Vtbl, 0x994e23af_1cc2_493c_b9fa_46f1cb040fa4); windows_core::imp::interface_hierarchy!(IMFPMPServer, windows_core::IUnknown); impl IMFPMPServer { pub unsafe fn LockProcess(&self) -> windows_core::Result<()> { @@ -12743,7 +12743,7 @@ pub struct IMFPMPServer_Vtbl { pub UnlockProcess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateObjectByCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFPMediaItem, IMFPMediaItem_Vtbl, 0x90eb3e6b_ecbf_45cc_b1da_c6fe3ea70d57); +windows_core::imp::define_interface!(IMFPMediaItem, IMFPMediaItem_Vtbl, 0x90eb3e6b_ecbf_45cc_b1da_c6fe3ea70d57); windows_core::imp::interface_hierarchy!(IMFPMediaItem, windows_core::IUnknown); impl IMFPMediaItem { pub unsafe fn GetMediaPlayer(&self) -> windows_core::Result { @@ -12849,7 +12849,7 @@ pub struct IMFPMediaItem_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetMetadata: usize, } -windows_core::imp::com_interface!(IMFPMediaPlayer, IMFPMediaPlayer_Vtbl, 0xa714590a_58af_430a_85bf_44f5ec838d85); +windows_core::imp::define_interface!(IMFPMediaPlayer, IMFPMediaPlayer_Vtbl, 0xa714590a_58af_430a_85bf_44f5ec838d85); windows_core::imp::interface_hierarchy!(IMFPMediaPlayer, windows_core::IUnknown); impl IMFPMediaPlayer { pub unsafe fn Play(&self) -> windows_core::Result<()> { @@ -13040,7 +13040,7 @@ pub struct IMFPMediaPlayer_Vtbl { pub RemoveAllEffects: 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, } -windows_core::imp::com_interface!(IMFPMediaPlayerCallback, IMFPMediaPlayerCallback_Vtbl, 0x766c8ffb_5fdb_4fea_a28d_b912996f51bd); +windows_core::imp::define_interface!(IMFPMediaPlayerCallback, IMFPMediaPlayerCallback_Vtbl, 0x766c8ffb_5fdb_4fea_a28d_b912996f51bd); windows_core::imp::interface_hierarchy!(IMFPMediaPlayerCallback, windows_core::IUnknown); impl IMFPMediaPlayerCallback { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -13056,7 +13056,7 @@ pub struct IMFPMediaPlayerCallback_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] OnMediaPlayerEvent: usize, } -windows_core::imp::com_interface!(IMFPluginControl, IMFPluginControl_Vtbl, 0x5c6c44bf_1db6_435b_9249_e8cd10fdec96); +windows_core::imp::define_interface!(IMFPluginControl, IMFPluginControl_Vtbl, 0x5c6c44bf_1db6_435b_9249_e8cd10fdec96); windows_core::imp::interface_hierarchy!(IMFPluginControl, windows_core::IUnknown); impl IMFPluginControl { pub unsafe fn GetPreferredClsid(&self, plugintype: u32, selector: P0) -> windows_core::Result @@ -13099,7 +13099,7 @@ pub struct IMFPluginControl_Vtbl { pub GetDisabledByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut windows_core::GUID) -> windows_core::HRESULT, pub SetDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFPluginControl2, IMFPluginControl2_Vtbl, 0xc6982083_3ddc_45cb_af5e_0f7a8ce4de77); +windows_core::imp::define_interface!(IMFPluginControl2, IMFPluginControl2_Vtbl, 0xc6982083_3ddc_45cb_af5e_0f7a8ce4de77); windows_core::imp::interface_hierarchy!(IMFPluginControl2, windows_core::IUnknown, IMFPluginControl); impl IMFPluginControl2 { pub unsafe fn GetPreferredClsid(&self, plugintype: u32, selector: P0) -> windows_core::Result @@ -13140,7 +13140,7 @@ pub struct IMFPluginControl2_Vtbl { pub base__: IMFPluginControl_Vtbl, pub SetPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, MF_PLUGIN_CONTROL_POLICY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFPresentationClock, IMFPresentationClock_Vtbl, 0x868ce85c_8ea9_4f55_ab82_b009a910a805); +windows_core::imp::define_interface!(IMFPresentationClock, IMFPresentationClock_Vtbl, 0x868ce85c_8ea9_4f55_ab82_b009a910a805); windows_core::imp::interface_hierarchy!(IMFPresentationClock, windows_core::IUnknown, IMFClock); impl IMFPresentationClock { pub unsafe fn GetClockCharacteristics(&self) -> windows_core::Result { @@ -13209,7 +13209,7 @@ pub struct IMFPresentationClock_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, } -windows_core::imp::com_interface!(IMFPresentationDescriptor, IMFPresentationDescriptor_Vtbl, 0x03cb2711_24d7_4db6_a17f_f3a7a479a536); +windows_core::imp::define_interface!(IMFPresentationDescriptor, IMFPresentationDescriptor_Vtbl, 0x03cb2711_24d7_4db6_a17f_f3a7a479a536); windows_core::imp::interface_hierarchy!(IMFPresentationDescriptor, windows_core::IUnknown, IMFAttributes); impl IMFPresentationDescriptor { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -13355,7 +13355,7 @@ pub struct IMFPresentationDescriptor_Vtbl { pub DeselectStream: 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, } -windows_core::imp::com_interface!(IMFPresentationTimeSource, IMFPresentationTimeSource_Vtbl, 0x7ff12cce_f76f_41c2_863b_1666c8e5e139); +windows_core::imp::define_interface!(IMFPresentationTimeSource, IMFPresentationTimeSource_Vtbl, 0x7ff12cce_f76f_41c2_863b_1666c8e5e139); windows_core::imp::interface_hierarchy!(IMFPresentationTimeSource, windows_core::IUnknown, IMFClock); impl IMFPresentationTimeSource { pub unsafe fn GetClockCharacteristics(&self) -> windows_core::Result { @@ -13386,7 +13386,7 @@ pub struct IMFPresentationTimeSource_Vtbl { pub base__: IMFClock_Vtbl, pub GetUnderlyingClock: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFProtectedEnvironmentAccess, IMFProtectedEnvironmentAccess_Vtbl, 0xef5dc845_f0d9_4ec9_b00c_cb5183d38434); +windows_core::imp::define_interface!(IMFProtectedEnvironmentAccess, IMFProtectedEnvironmentAccess_Vtbl, 0xef5dc845_f0d9_4ec9_b00c_cb5183d38434); windows_core::imp::interface_hierarchy!(IMFProtectedEnvironmentAccess, windows_core::IUnknown); impl IMFProtectedEnvironmentAccess { pub unsafe fn Call(&self, input: &[u8], output: &mut [u8]) -> windows_core::Result<()> { @@ -13402,7 +13402,7 @@ pub struct IMFProtectedEnvironmentAccess_Vtbl { pub Call: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, *mut u8) -> windows_core::HRESULT, pub ReadGRL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFQualityAdvise, IMFQualityAdvise_Vtbl, 0xec15e2e9_e36b_4f7c_8758_77d452ef4ce7); +windows_core::imp::define_interface!(IMFQualityAdvise, IMFQualityAdvise_Vtbl, 0xec15e2e9_e36b_4f7c_8758_77d452ef4ce7); windows_core::imp::interface_hierarchy!(IMFQualityAdvise, windows_core::IUnknown); impl IMFQualityAdvise { pub unsafe fn SetDropMode(&self, edropmode: MF_QUALITY_DROP_MODE) -> windows_core::Result<()> { @@ -13432,7 +13432,7 @@ pub struct IMFQualityAdvise_Vtbl { pub GetQualityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_QUALITY_LEVEL) -> windows_core::HRESULT, pub DropTime: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFQualityAdvise2, IMFQualityAdvise2_Vtbl, 0xf3706f0d_8ea2_4886_8000_7155e9ec2eae); +windows_core::imp::define_interface!(IMFQualityAdvise2, IMFQualityAdvise2_Vtbl, 0xf3706f0d_8ea2_4886_8000_7155e9ec2eae); windows_core::imp::interface_hierarchy!(IMFQualityAdvise2, windows_core::IUnknown, IMFQualityAdvise); impl IMFQualityAdvise2 { pub unsafe fn SetDropMode(&self, edropmode: MF_QUALITY_DROP_MODE) -> windows_core::Result<()> { @@ -13465,7 +13465,7 @@ pub struct IMFQualityAdvise2_Vtbl { pub base__: IMFQualityAdvise_Vtbl, pub NotifyQualityEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFQualityAdviseLimits, IMFQualityAdviseLimits_Vtbl, 0xdfcd8e4d_30b5_4567_acaa_8eb5b7853dc9); +windows_core::imp::define_interface!(IMFQualityAdviseLimits, IMFQualityAdviseLimits_Vtbl, 0xdfcd8e4d_30b5_4567_acaa_8eb5b7853dc9); windows_core::imp::interface_hierarchy!(IMFQualityAdviseLimits, windows_core::IUnknown); impl IMFQualityAdviseLimits { pub unsafe fn GetMaximumDropMode(&self) -> windows_core::Result { @@ -13483,7 +13483,7 @@ pub struct IMFQualityAdviseLimits_Vtbl { pub GetMaximumDropMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_QUALITY_DROP_MODE) -> windows_core::HRESULT, pub GetMinimumQualityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_QUALITY_LEVEL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFQualityManager, IMFQualityManager_Vtbl, 0x8d009d86_5b9f_4115_b1fc_9f80d52ab8ab); +windows_core::imp::define_interface!(IMFQualityManager, IMFQualityManager_Vtbl, 0x8d009d86_5b9f_4115_b1fc_9f80d52ab8ab); windows_core::imp::interface_hierarchy!(IMFQualityManager, windows_core::IUnknown); impl IMFQualityManager { pub unsafe fn NotifyTopology(&self, ptopology: P0) -> windows_core::Result<()> @@ -13533,7 +13533,7 @@ pub struct IMFQualityManager_Vtbl { pub NotifyQualityEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFRateControl, IMFRateControl_Vtbl, 0x88ddcd21_03c3_4275_91ed_55ee3929328f); +windows_core::imp::define_interface!(IMFRateControl, IMFRateControl_Vtbl, 0x88ddcd21_03c3_4275_91ed_55ee3929328f); windows_core::imp::interface_hierarchy!(IMFRateControl, windows_core::IUnknown); impl IMFRateControl { pub unsafe fn SetRate(&self, fthin: P0, flrate: f32) -> windows_core::Result<()> @@ -13552,7 +13552,7 @@ pub struct IMFRateControl_Vtbl { pub SetRate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, f32) -> windows_core::HRESULT, pub GetRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFRateSupport, IMFRateSupport_Vtbl, 0x0a9ccdbc_d797_4563_9667_94ec5d79292d); +windows_core::imp::define_interface!(IMFRateSupport, IMFRateSupport_Vtbl, 0x0a9ccdbc_d797_4563_9667_94ec5d79292d); windows_core::imp::interface_hierarchy!(IMFRateSupport, windows_core::IUnknown); impl IMFRateSupport { pub unsafe fn GetSlowestRate(&self, edirection: MFRATE_DIRECTION, fthin: P0) -> windows_core::Result @@ -13583,7 +13583,7 @@ pub struct IMFRateSupport_Vtbl { pub GetFastestRate: unsafe extern "system" fn(*mut core::ffi::c_void, MFRATE_DIRECTION, super::super::Foundation::BOOL, *mut f32) -> windows_core::HRESULT, pub IsRateSupported: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, f32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFReadWriteClassFactory, IMFReadWriteClassFactory_Vtbl, 0xe7fe2e12_661c_40da_92f9_4f002ab67627); +windows_core::imp::define_interface!(IMFReadWriteClassFactory, IMFReadWriteClassFactory_Vtbl, 0xe7fe2e12_661c_40da_92f9_4f002ab67627); windows_core::imp::interface_hierarchy!(IMFReadWriteClassFactory, windows_core::IUnknown); impl IMFReadWriteClassFactory { pub unsafe fn CreateInstanceFromURL(&self, clsid: *const windows_core::GUID, pwszurl: P0, pattributes: P1) -> windows_core::Result @@ -13611,7 +13611,7 @@ pub struct IMFReadWriteClassFactory_Vtbl { pub CreateInstanceFromURL: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCWSTR, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateInstanceFromObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFRealTimeClient, IMFRealTimeClient_Vtbl, 0x2347d60b_3fb5_480c_8803_8df3adcd3ef0); +windows_core::imp::define_interface!(IMFRealTimeClient, IMFRealTimeClient_Vtbl, 0x2347d60b_3fb5_480c_8803_8df3adcd3ef0); windows_core::imp::interface_hierarchy!(IMFRealTimeClient, windows_core::IUnknown); impl IMFRealTimeClient { pub unsafe fn RegisterThreads(&self, dwtaskindex: u32, wszclass: P0) -> windows_core::Result<()> @@ -13634,7 +13634,7 @@ pub struct IMFRealTimeClient_Vtbl { pub UnregisterThreads: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetWorkQueue: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFRealTimeClientEx, IMFRealTimeClientEx_Vtbl, 0x03910848_ab16_4611_b100_17b88ae2f248); +windows_core::imp::define_interface!(IMFRealTimeClientEx, IMFRealTimeClientEx_Vtbl, 0x03910848_ab16_4611_b100_17b88ae2f248); windows_core::imp::interface_hierarchy!(IMFRealTimeClientEx, windows_core::IUnknown); impl IMFRealTimeClientEx { pub unsafe fn RegisterThreadsEx(&self, pdwtaskindex: *mut u32, wszclassname: P0, lbasepriority: i32) -> windows_core::Result<()> @@ -13657,7 +13657,7 @@ pub struct IMFRealTimeClientEx_Vtbl { pub UnregisterThreads: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetWorkQueueEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFRelativePanelReport, IMFRelativePanelReport_Vtbl, 0xf25362ea_2c0e_447f_81e2_755914cdc0c3); +windows_core::imp::define_interface!(IMFRelativePanelReport, IMFRelativePanelReport_Vtbl, 0xf25362ea_2c0e_447f_81e2_755914cdc0c3); windows_core::imp::interface_hierarchy!(IMFRelativePanelReport, windows_core::IUnknown); impl IMFRelativePanelReport { pub unsafe fn GetRelativePanel(&self) -> windows_core::Result { @@ -13670,7 +13670,7 @@ pub struct IMFRelativePanelReport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetRelativePanel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFRelativePanelWatcher, IMFRelativePanelWatcher_Vtbl, 0x421af7f6_573e_4ad0_8fda_2e57cedb18c6); +windows_core::imp::define_interface!(IMFRelativePanelWatcher, IMFRelativePanelWatcher_Vtbl, 0x421af7f6_573e_4ad0_8fda_2e57cedb18c6); windows_core::imp::interface_hierarchy!(IMFRelativePanelWatcher, windows_core::IUnknown, IMFShutdown); impl IMFRelativePanelWatcher { pub unsafe fn Shutdown(&self) -> windows_core::Result<()> { @@ -13706,7 +13706,7 @@ pub struct IMFRelativePanelWatcher_Vtbl { pub EndGetReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFRemoteAsyncCallback, IMFRemoteAsyncCallback_Vtbl, 0xa27003d0_2354_4f2a_8d6a_ab7cff15437e); +windows_core::imp::define_interface!(IMFRemoteAsyncCallback, IMFRemoteAsyncCallback_Vtbl, 0xa27003d0_2354_4f2a_8d6a_ab7cff15437e); windows_core::imp::interface_hierarchy!(IMFRemoteAsyncCallback, windows_core::IUnknown); impl IMFRemoteAsyncCallback { pub unsafe fn Invoke(&self, hr: windows_core::HRESULT, premoteresult: P0) -> windows_core::Result<()> @@ -13721,7 +13721,7 @@ pub struct IMFRemoteAsyncCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFRemoteDesktopPlugin, IMFRemoteDesktopPlugin_Vtbl, 0x1cde6309_cae0_4940_907e_c1ec9c3d1d4a); +windows_core::imp::define_interface!(IMFRemoteDesktopPlugin, IMFRemoteDesktopPlugin_Vtbl, 0x1cde6309_cae0_4940_907e_c1ec9c3d1d4a); windows_core::imp::interface_hierarchy!(IMFRemoteDesktopPlugin, windows_core::IUnknown); impl IMFRemoteDesktopPlugin { pub unsafe fn UpdateTopology(&self, ptopology: P0) -> windows_core::Result<()> @@ -13736,7 +13736,7 @@ pub struct IMFRemoteDesktopPlugin_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub UpdateTopology: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFRemoteProxy, IMFRemoteProxy_Vtbl, 0x994e23ad_1cc2_493c_b9fa_46f1cb040fa4); +windows_core::imp::define_interface!(IMFRemoteProxy, IMFRemoteProxy_Vtbl, 0x994e23ad_1cc2_493c_b9fa_46f1cb040fa4); windows_core::imp::interface_hierarchy!(IMFRemoteProxy, windows_core::IUnknown); impl IMFRemoteProxy { pub unsafe fn GetRemoteObject(&self, riid: *const windows_core::GUID, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -13752,7 +13752,7 @@ pub struct IMFRemoteProxy_Vtbl { pub GetRemoteObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRemoteHost: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSAMIStyle, IMFSAMIStyle_Vtbl, 0xa7e025dd_5303_4a62_89d6_e747e1efac73); +windows_core::imp::define_interface!(IMFSAMIStyle, IMFSAMIStyle_Vtbl, 0xa7e025dd_5303_4a62_89d6_e747e1efac73); windows_core::imp::interface_hierarchy!(IMFSAMIStyle, windows_core::IUnknown); impl IMFSAMIStyle { pub unsafe fn GetStyleCount(&self) -> windows_core::Result { @@ -13782,7 +13782,7 @@ pub struct IMFSAMIStyle_Vtbl { 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, } -windows_core::imp::com_interface!(IMFSSLCertificateManager, IMFSSLCertificateManager_Vtbl, 0x61f7d887_1230_4a8b_aeba_8ad434d1a64d); +windows_core::imp::define_interface!(IMFSSLCertificateManager, IMFSSLCertificateManager_Vtbl, 0x61f7d887_1230_4a8b_aeba_8ad434d1a64d); windows_core::imp::interface_hierarchy!(IMFSSLCertificateManager, windows_core::IUnknown); impl IMFSSLCertificateManager { pub unsafe fn GetClientCertificate(&self, pszurl: P0, ppbdata: *mut *mut u8, pcbdata: *mut u32) -> windows_core::Result<()> @@ -13828,7 +13828,7 @@ pub struct IMFSSLCertificateManager_Vtbl { pub GetCertificatePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub OnServerCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u8, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSample, IMFSample_Vtbl, 0xc40a00f2_b93a_4d80_ae8c_5a1c634f58e4); +windows_core::imp::define_interface!(IMFSample, IMFSample_Vtbl, 0xc40a00f2_b93a_4d80_ae8c_5a1c634f58e4); windows_core::imp::interface_hierarchy!(IMFSample, windows_core::IUnknown, IMFAttributes); impl IMFSample { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -14021,7 +14021,7 @@ pub struct IMFSample_Vtbl { pub GetTotalLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CopyToBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSampleAllocatorControl, IMFSampleAllocatorControl_Vtbl, 0xda62b958_3a38_4a97_bd27_149c640c0771); +windows_core::imp::define_interface!(IMFSampleAllocatorControl, IMFSampleAllocatorControl_Vtbl, 0xda62b958_3a38_4a97_bd27_149c640c0771); windows_core::imp::interface_hierarchy!(IMFSampleAllocatorControl, windows_core::IUnknown); impl IMFSampleAllocatorControl { pub unsafe fn SetDefaultAllocator(&self, dwoutputstreamid: u32, pallocator: P0) -> windows_core::Result<()> @@ -14040,7 +14040,7 @@ pub struct IMFSampleAllocatorControl_Vtbl { pub SetDefaultAllocator: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAllocatorUsage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut MFSampleAllocatorUsage) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSampleGrabberSinkCallback, IMFSampleGrabberSinkCallback_Vtbl, 0x8c7b80bf_ee42_4b59_b1df_55668e1bdca8); +windows_core::imp::define_interface!(IMFSampleGrabberSinkCallback, IMFSampleGrabberSinkCallback_Vtbl, 0x8c7b80bf_ee42_4b59_b1df_55668e1bdca8); windows_core::imp::interface_hierarchy!(IMFSampleGrabberSinkCallback, windows_core::IUnknown, IMFClockStateSink); impl IMFSampleGrabberSinkCallback { pub unsafe fn OnClockStart(&self, hnssystemtime: i64, llclockstartoffset: i64) -> windows_core::Result<()> { @@ -14078,7 +14078,7 @@ pub struct IMFSampleGrabberSinkCallback_Vtbl { pub OnProcessSample: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, i64, i64, *const u8, u32) -> windows_core::HRESULT, pub OnShutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSampleGrabberSinkCallback2, IMFSampleGrabberSinkCallback2_Vtbl, 0xca86aa50_c46e_429e_ab27_16d6ac6844cb); +windows_core::imp::define_interface!(IMFSampleGrabberSinkCallback2, IMFSampleGrabberSinkCallback2_Vtbl, 0xca86aa50_c46e_429e_ab27_16d6ac6844cb); windows_core::imp::interface_hierarchy!(IMFSampleGrabberSinkCallback2, windows_core::IUnknown, IMFClockStateSink, IMFSampleGrabberSinkCallback); impl IMFSampleGrabberSinkCallback2 { pub unsafe fn OnClockStart(&self, hnssystemtime: i64, llclockstartoffset: i64) -> windows_core::Result<()> { @@ -14120,7 +14120,7 @@ pub struct IMFSampleGrabberSinkCallback2_Vtbl { pub base__: IMFSampleGrabberSinkCallback_Vtbl, pub OnProcessSampleEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, i64, i64, *const u8, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSampleOutputStream, IMFSampleOutputStream_Vtbl, 0x8feed468_6f7e_440d_869a_49bdd283ad0d); +windows_core::imp::define_interface!(IMFSampleOutputStream, IMFSampleOutputStream_Vtbl, 0x8feed468_6f7e_440d_869a_49bdd283ad0d); windows_core::imp::interface_hierarchy!(IMFSampleOutputStream, windows_core::IUnknown); impl IMFSampleOutputStream { pub unsafe fn BeginWriteSample(&self, psample: P0, pcallback: P1, punkstate: P2) -> windows_core::Result<()> @@ -14148,7 +14148,7 @@ pub struct IMFSampleOutputStream_Vtbl { pub EndWriteSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSampleProtection, IMFSampleProtection_Vtbl, 0x8e36395f_c7b9_43c4_a54d_512b4af63c95); +windows_core::imp::define_interface!(IMFSampleProtection, IMFSampleProtection_Vtbl, 0x8e36395f_c7b9_43c4_a54d_512b4af63c95); windows_core::imp::interface_hierarchy!(IMFSampleProtection, windows_core::IUnknown); impl IMFSampleProtection { pub unsafe fn GetInputProtectionVersion(&self) -> windows_core::Result { @@ -14178,7 +14178,7 @@ pub struct IMFSampleProtection_Vtbl { pub InitOutputProtection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub InitInputProtection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSaveJob, IMFSaveJob_Vtbl, 0xe9931663_80bf_4c6e_98af_5dcf58747d1f); +windows_core::imp::define_interface!(IMFSaveJob, IMFSaveJob_Vtbl, 0xe9931663_80bf_4c6e_98af_5dcf58747d1f); windows_core::imp::interface_hierarchy!(IMFSaveJob, windows_core::IUnknown); impl IMFSaveJob { pub unsafe fn BeginSave(&self, pstream: P0, pcallback: P1, pstate: P2) -> windows_core::Result<()> @@ -14211,7 +14211,7 @@ pub struct IMFSaveJob_Vtbl { pub CancelSave: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSchemeHandler, IMFSchemeHandler_Vtbl, 0x6d4c7b74_52a0_4bb7_b0db_55f29f47a668); +windows_core::imp::define_interface!(IMFSchemeHandler, IMFSchemeHandler_Vtbl, 0x6d4c7b74_52a0_4bb7_b0db_55f29f47a668); windows_core::imp::interface_hierarchy!(IMFSchemeHandler, windows_core::IUnknown); impl IMFSchemeHandler { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -14247,7 +14247,7 @@ pub struct IMFSchemeHandler_Vtbl { pub EndCreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut MF_OBJECT_TYPE, *mut *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, } -windows_core::imp::com_interface!(IMFSecureBuffer, IMFSecureBuffer_Vtbl, 0xc1209904_e584_4752_a2d6_7f21693f8b21); +windows_core::imp::define_interface!(IMFSecureBuffer, IMFSecureBuffer_Vtbl, 0xc1209904_e584_4752_a2d6_7f21693f8b21); windows_core::imp::interface_hierarchy!(IMFSecureBuffer, windows_core::IUnknown); impl IMFSecureBuffer { pub unsafe fn GetIdentifier(&self) -> windows_core::Result { @@ -14260,7 +14260,7 @@ pub struct IMFSecureBuffer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSecureChannel, IMFSecureChannel_Vtbl, 0xd0ae555d_3b12_4d97_b060_0990bc5aeb67); +windows_core::imp::define_interface!(IMFSecureChannel, IMFSecureChannel_Vtbl, 0xd0ae555d_3b12_4d97_b060_0990bc5aeb67); windows_core::imp::interface_hierarchy!(IMFSecureChannel, windows_core::IUnknown); impl IMFSecureChannel { pub unsafe fn GetCertificate(&self, ppcert: *mut *mut u8, pcbcert: *mut u32) -> windows_core::Result<()> { @@ -14276,7 +14276,7 @@ pub struct IMFSecureChannel_Vtbl { pub GetCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub SetupSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSeekInfo, IMFSeekInfo_Vtbl, 0x26afea53_d9ed_42b5_ab80_e64f9ee34779); +windows_core::imp::define_interface!(IMFSeekInfo, IMFSeekInfo_Vtbl, 0x26afea53_d9ed_42b5_ab80_e64f9ee34779); windows_core::imp::interface_hierarchy!(IMFSeekInfo, windows_core::IUnknown); impl IMFSeekInfo { pub unsafe fn GetNearestKeyFrames(&self, pguidtimeformat: *const windows_core::GUID, pvarstartposition: *const windows_core::PROPVARIANT, pvarpreviouskeyframe: *mut windows_core::PROPVARIANT, pvarnextkeyframe: *mut windows_core::PROPVARIANT) -> windows_core::Result<()> { @@ -14288,7 +14288,7 @@ 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, } -windows_core::imp::com_interface!(IMFSensorActivitiesReport, IMFSensorActivitiesReport_Vtbl, 0x683f7a5e_4a19_43cd_b1a9_dbf4ab3f7777); +windows_core::imp::define_interface!(IMFSensorActivitiesReport, IMFSensorActivitiesReport_Vtbl, 0x683f7a5e_4a19_43cd_b1a9_dbf4ab3f7777); windows_core::imp::interface_hierarchy!(IMFSensorActivitiesReport, windows_core::IUnknown); impl IMFSensorActivitiesReport { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -14314,7 +14314,7 @@ pub struct IMFSensorActivitiesReport_Vtbl { pub GetActivityReport: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetActivityReportByDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSensorActivitiesReportCallback, IMFSensorActivitiesReportCallback_Vtbl, 0xde5072ee_dbe3_46dc_8a87_b6f631194751); +windows_core::imp::define_interface!(IMFSensorActivitiesReportCallback, IMFSensorActivitiesReportCallback_Vtbl, 0xde5072ee_dbe3_46dc_8a87_b6f631194751); windows_core::imp::interface_hierarchy!(IMFSensorActivitiesReportCallback, windows_core::IUnknown); impl IMFSensorActivitiesReportCallback { pub unsafe fn OnActivitiesReport(&self, sensoractivitiesreport: P0) -> windows_core::Result<()> @@ -14329,7 +14329,7 @@ pub struct IMFSensorActivitiesReportCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnActivitiesReport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSensorActivityMonitor, IMFSensorActivityMonitor_Vtbl, 0xd0cef145_b3f4_4340_a2e5_7a5080ca05cb); +windows_core::imp::define_interface!(IMFSensorActivityMonitor, IMFSensorActivityMonitor_Vtbl, 0xd0cef145_b3f4_4340_a2e5_7a5080ca05cb); windows_core::imp::interface_hierarchy!(IMFSensorActivityMonitor, windows_core::IUnknown); impl IMFSensorActivityMonitor { pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -14345,7 +14345,7 @@ pub struct IMFSensorActivityMonitor_Vtbl { pub Start: 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, } -windows_core::imp::com_interface!(IMFSensorActivityReport, IMFSensorActivityReport_Vtbl, 0x3e8c4be1_a8c2_4528_90de_2851bde5fead); +windows_core::imp::define_interface!(IMFSensorActivityReport, IMFSensorActivityReport_Vtbl, 0x3e8c4be1_a8c2_4528_90de_2851bde5fead); windows_core::imp::interface_hierarchy!(IMFSensorActivityReport, windows_core::IUnknown); impl IMFSensorActivityReport { pub unsafe fn GetFriendlyName(&self, friendlyname: &mut [u16], pcchwritten: *mut u32) -> windows_core::Result<()> { @@ -14371,7 +14371,7 @@ pub struct IMFSensorActivityReport_Vtbl { pub GetProcessCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetProcessActivity: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSensorDevice, IMFSensorDevice_Vtbl, 0xfb9f48f2_2a18_4e28_9730_786f30f04dc4); +windows_core::imp::define_interface!(IMFSensorDevice, IMFSensorDevice_Vtbl, 0xfb9f48f2_2a18_4e28_9730_786f30f04dc4); windows_core::imp::interface_hierarchy!(IMFSensorDevice, windows_core::IUnknown); impl IMFSensorDevice { pub unsafe fn GetDeviceId(&self) -> windows_core::Result { @@ -14422,7 +14422,7 @@ pub struct IMFSensorDevice_Vtbl { pub SetSensorDeviceMode: unsafe extern "system" fn(*mut core::ffi::c_void, MFSensorDeviceMode) -> windows_core::HRESULT, pub GetSensorDeviceMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFSensorDeviceMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSensorGroup, IMFSensorGroup_Vtbl, 0x4110243a_9757_461f_89f1_f22345bcab4e); +windows_core::imp::define_interface!(IMFSensorGroup, IMFSensorGroup_Vtbl, 0x4110243a_9757_461f_89f1_f22345bcab4e); windows_core::imp::interface_hierarchy!(IMFSensorGroup, windows_core::IUnknown); impl IMFSensorGroup { pub unsafe fn GetSymbolicLink(&self, symboliclink: &mut [u16], pcchwritten: *mut i32) -> windows_core::Result<()> { @@ -14468,7 +14468,7 @@ pub struct IMFSensorGroup_Vtbl { pub GetDefaultSensorDeviceIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CreateMediaSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSensorProcessActivity, IMFSensorProcessActivity_Vtbl, 0x39dc7f4a_b141_4719_813c_a7f46162a2b8); +windows_core::imp::define_interface!(IMFSensorProcessActivity, IMFSensorProcessActivity_Vtbl, 0x39dc7f4a_b141_4719_813c_a7f46162a2b8); windows_core::imp::interface_hierarchy!(IMFSensorProcessActivity, windows_core::IUnknown); impl IMFSensorProcessActivity { pub unsafe fn GetProcessId(&self) -> windows_core::Result { @@ -14496,7 +14496,7 @@ pub struct IMFSensorProcessActivity_Vtbl { pub GetStreamingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFSensorDeviceMode) -> windows_core::HRESULT, pub GetReportTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSensorProfile, IMFSensorProfile_Vtbl, 0x22f765d1_8dab_4107_846d_56baf72215e7); +windows_core::imp::define_interface!(IMFSensorProfile, IMFSensorProfile_Vtbl, 0x22f765d1_8dab_4107_846d_56baf72215e7); windows_core::imp::interface_hierarchy!(IMFSensorProfile, windows_core::IUnknown); impl IMFSensorProfile { pub unsafe fn GetProfileId(&self, pid: *mut SENSORPROFILEID) -> windows_core::Result<()> { @@ -14530,7 +14530,7 @@ pub struct IMFSensorProfile_Vtbl { pub IsMediaTypeSupported: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub AddBlockedControl: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSensorProfileCollection, IMFSensorProfileCollection_Vtbl, 0xc95ea55b_0187_48be_9353_8d2507662351); +windows_core::imp::define_interface!(IMFSensorProfileCollection, IMFSensorProfileCollection_Vtbl, 0xc95ea55b_0187_48be_9353_8d2507662351); windows_core::imp::interface_hierarchy!(IMFSensorProfileCollection, windows_core::IUnknown); impl IMFSensorProfileCollection { pub unsafe fn GetProfileCount(&self) -> u32 { @@ -14567,7 +14567,7 @@ pub struct IMFSensorProfileCollection_Vtbl { pub RemoveProfileByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32), pub RemoveProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *const SENSORPROFILEID), } -windows_core::imp::com_interface!(IMFSensorStream, IMFSensorStream_Vtbl, 0xe9a42171_c56e_498a_8b39_eda5a070b7fc); +windows_core::imp::define_interface!(IMFSensorStream, IMFSensorStream_Vtbl, 0xe9a42171_c56e_498a_8b39_eda5a070b7fc); windows_core::imp::interface_hierarchy!(IMFSensorStream, windows_core::IUnknown, IMFAttributes); impl IMFSensorStream { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -14706,7 +14706,7 @@ pub struct IMFSensorStream_Vtbl { pub GetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CloneSensorStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSensorTransformFactory, IMFSensorTransformFactory_Vtbl, 0xeed9c2ee_66b4_4f18_a697_ac7d3960215c); +windows_core::imp::define_interface!(IMFSensorTransformFactory, IMFSensorTransformFactory_Vtbl, 0xeed9c2ee_66b4_4f18_a697_ac7d3960215c); windows_core::imp::interface_hierarchy!(IMFSensorTransformFactory, windows_core::IUnknown); impl IMFSensorTransformFactory { pub unsafe fn GetFactoryAttributes(&self) -> windows_core::Result { @@ -14744,7 +14744,7 @@ pub struct IMFSensorTransformFactory_Vtbl { pub GetTransformInformation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateTransform: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSequencerSource, IMFSequencerSource_Vtbl, 0x197cd219_19cb_4de1_a64c_acf2edcbe59e); +windows_core::imp::define_interface!(IMFSequencerSource, IMFSequencerSource_Vtbl, 0x197cd219_19cb_4de1_a64c_acf2edcbe59e); windows_core::imp::interface_hierarchy!(IMFSequencerSource, windows_core::IUnknown); impl IMFSequencerSource { pub unsafe fn AppendTopology(&self, ptopology: P0, dwflags: u32) -> windows_core::Result @@ -14782,7 +14782,7 @@ pub struct IMFSequencerSource_Vtbl { pub UpdateTopology: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UpdateTopologyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSharingEngineClassFactory, IMFSharingEngineClassFactory_Vtbl, 0x2ba61f92_8305_413b_9733_faf15f259384); +windows_core::imp::define_interface!(IMFSharingEngineClassFactory, IMFSharingEngineClassFactory_Vtbl, 0x2ba61f92_8305_413b_9733_faf15f259384); windows_core::imp::interface_hierarchy!(IMFSharingEngineClassFactory, windows_core::IUnknown); impl IMFSharingEngineClassFactory { pub unsafe fn CreateInstance(&self, dwflags: u32, pattr: P0) -> windows_core::Result @@ -14798,7 +14798,7 @@ pub struct IMFSharingEngineClassFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFShutdown, IMFShutdown_Vtbl, 0x97ec2ea4_0e42_4937_97ac_9d6d328824e1); +windows_core::imp::define_interface!(IMFShutdown, IMFShutdown_Vtbl, 0x97ec2ea4_0e42_4937_97ac_9d6d328824e1); windows_core::imp::interface_hierarchy!(IMFShutdown, windows_core::IUnknown); impl IMFShutdown { pub unsafe fn Shutdown(&self) -> windows_core::Result<()> { @@ -14815,7 +14815,7 @@ pub struct IMFShutdown_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetShutdownStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFSHUTDOWN_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSignedLibrary, IMFSignedLibrary_Vtbl, 0x4a724bca_ff6a_4c07_8e0d_7a358421cf06); +windows_core::imp::define_interface!(IMFSignedLibrary, IMFSignedLibrary_Vtbl, 0x4a724bca_ff6a_4c07_8e0d_7a358421cf06); windows_core::imp::interface_hierarchy!(IMFSignedLibrary, windows_core::IUnknown); impl IMFSignedLibrary { pub unsafe fn GetProcedureAddress(&self, name: P0, address: *mut *mut core::ffi::c_void) -> windows_core::Result<()> @@ -14830,7 +14830,7 @@ pub struct IMFSignedLibrary_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetProcedureAddress: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSimpleAudioVolume, IMFSimpleAudioVolume_Vtbl, 0x089edf13_cf71_4338_8d13_9e569dbdc319); +windows_core::imp::define_interface!(IMFSimpleAudioVolume, IMFSimpleAudioVolume_Vtbl, 0x089edf13_cf71_4338_8d13_9e569dbdc319); windows_core::imp::interface_hierarchy!(IMFSimpleAudioVolume, windows_core::IUnknown); impl IMFSimpleAudioVolume { pub unsafe fn SetMasterVolume(&self, flevel: f32) -> windows_core::Result<()> { @@ -14859,7 +14859,7 @@ pub struct IMFSimpleAudioVolume_Vtbl { pub SetMute: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetMute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSinkWriter, IMFSinkWriter_Vtbl, 0x3137f1cd_fe5e_4805_a5d8_fb477448cb3d); +windows_core::imp::define_interface!(IMFSinkWriter, IMFSinkWriter_Vtbl, 0x3137f1cd_fe5e_4805_a5d8_fb477448cb3d); windows_core::imp::interface_hierarchy!(IMFSinkWriter, windows_core::IUnknown); impl IMFSinkWriter { pub unsafe fn AddStream(&self, ptargetmediatype: P0) -> windows_core::Result @@ -14922,7 +14922,7 @@ pub struct IMFSinkWriter_Vtbl { 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 GetStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut MF_SINK_WRITER_STATISTICS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSinkWriterCallback, IMFSinkWriterCallback_Vtbl, 0x666f76de_33d2_41b9_a458_29ed0a972c58); +windows_core::imp::define_interface!(IMFSinkWriterCallback, IMFSinkWriterCallback_Vtbl, 0x666f76de_33d2_41b9_a458_29ed0a972c58); windows_core::imp::interface_hierarchy!(IMFSinkWriterCallback, windows_core::IUnknown); impl IMFSinkWriterCallback { pub unsafe fn OnFinalize(&self, hrstatus: windows_core::HRESULT) -> windows_core::Result<()> { @@ -14938,7 +14938,7 @@ pub struct IMFSinkWriterCallback_Vtbl { pub OnFinalize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, pub OnMarker: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSinkWriterCallback2, IMFSinkWriterCallback2_Vtbl, 0x2456bd58_c067_4513_84fe_8d0c88ffdc61); +windows_core::imp::define_interface!(IMFSinkWriterCallback2, IMFSinkWriterCallback2_Vtbl, 0x2456bd58_c067_4513_84fe_8d0c88ffdc61); windows_core::imp::interface_hierarchy!(IMFSinkWriterCallback2, windows_core::IUnknown, IMFSinkWriterCallback); impl IMFSinkWriterCallback2 { pub unsafe fn OnFinalize(&self, hrstatus: windows_core::HRESULT) -> windows_core::Result<()> { @@ -14960,7 +14960,7 @@ pub struct IMFSinkWriterCallback2_Vtbl { pub OnTransformChange: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnStreamError: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSinkWriterEncoderConfig, IMFSinkWriterEncoderConfig_Vtbl, 0x17c3779e_3cde_4ede_8c60_3899f5f53ad6); +windows_core::imp::define_interface!(IMFSinkWriterEncoderConfig, IMFSinkWriterEncoderConfig_Vtbl, 0x17c3779e_3cde_4ede_8c60_3899f5f53ad6); windows_core::imp::interface_hierarchy!(IMFSinkWriterEncoderConfig, windows_core::IUnknown); impl IMFSinkWriterEncoderConfig { pub unsafe fn SetTargetMediaType(&self, dwstreamindex: u32, ptargetmediatype: P0, pencodingparameters: P1) -> windows_core::Result<()> @@ -14983,7 +14983,7 @@ pub struct IMFSinkWriterEncoderConfig_Vtbl { pub SetTargetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PlaceEncodingParameters: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSinkWriterEx, IMFSinkWriterEx_Vtbl, 0x588d72ab_5bc1_496a_8714_b70617141b25); +windows_core::imp::define_interface!(IMFSinkWriterEx, IMFSinkWriterEx_Vtbl, 0x588d72ab_5bc1_496a_8714_b70617141b25); windows_core::imp::interface_hierarchy!(IMFSinkWriterEx, windows_core::IUnknown, IMFSinkWriter); impl IMFSinkWriterEx { pub unsafe fn AddStream(&self, ptargetmediatype: P0) -> windows_core::Result @@ -15039,7 +15039,7 @@ pub struct IMFSinkWriterEx_Vtbl { pub base__: IMFSinkWriter_Vtbl, pub GetTransformForStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSourceBuffer, IMFSourceBuffer_Vtbl, 0xe2cd3a4b_af25_4d3d_9110_da0e6f8ee877); +windows_core::imp::define_interface!(IMFSourceBuffer, IMFSourceBuffer_Vtbl, 0xe2cd3a4b_af25_4d3d_9110_da0e6f8ee877); windows_core::imp::interface_hierarchy!(IMFSourceBuffer, windows_core::IUnknown); impl IMFSourceBuffer { pub unsafe fn GetUpdating(&self) -> super::super::Foundation::BOOL { @@ -15099,7 +15099,7 @@ pub struct IMFSourceBuffer_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSourceBufferAppendMode, IMFSourceBufferAppendMode_Vtbl, 0x19666fb4_babe_4c55_bc03_0a074da37e2a); +windows_core::imp::define_interface!(IMFSourceBufferAppendMode, IMFSourceBufferAppendMode_Vtbl, 0x19666fb4_babe_4c55_bc03_0a074da37e2a); windows_core::imp::interface_hierarchy!(IMFSourceBufferAppendMode, windows_core::IUnknown); impl IMFSourceBufferAppendMode { pub unsafe fn GetAppendMode(&self) -> MF_MSE_APPEND_MODE { @@ -15115,7 +15115,7 @@ pub struct IMFSourceBufferAppendMode_Vtbl { pub GetAppendMode: unsafe extern "system" fn(*mut core::ffi::c_void) -> MF_MSE_APPEND_MODE, pub SetAppendMode: unsafe extern "system" fn(*mut core::ffi::c_void, MF_MSE_APPEND_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSourceBufferList, IMFSourceBufferList_Vtbl, 0x249981f8_8325_41f3_b80c_3b9e3aad0cbe); +windows_core::imp::define_interface!(IMFSourceBufferList, IMFSourceBufferList_Vtbl, 0x249981f8_8325_41f3_b80c_3b9e3aad0cbe); windows_core::imp::interface_hierarchy!(IMFSourceBufferList, windows_core::IUnknown); impl IMFSourceBufferList { pub unsafe fn GetLength(&self) -> u32 { @@ -15131,7 +15131,7 @@ pub struct IMFSourceBufferList_Vtbl { pub GetLength: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetSourceBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> Option, } -windows_core::imp::com_interface!(IMFSourceBufferNotify, IMFSourceBufferNotify_Vtbl, 0x87e47623_2ceb_45d6_9b88_d8520c4dcbbc); +windows_core::imp::define_interface!(IMFSourceBufferNotify, IMFSourceBufferNotify_Vtbl, 0x87e47623_2ceb_45d6_9b88_d8520c4dcbbc); windows_core::imp::interface_hierarchy!(IMFSourceBufferNotify, windows_core::IUnknown); impl IMFSourceBufferNotify { pub unsafe fn OnUpdateStart(&self) { @@ -15159,7 +15159,7 @@ pub struct IMFSourceBufferNotify_Vtbl { pub OnUpdate: unsafe extern "system" fn(*mut core::ffi::c_void), pub OnUpdateEnd: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMFSourceOpenMonitor, IMFSourceOpenMonitor_Vtbl, 0x059054b3_027c_494c_a27d_9113291cf87f); +windows_core::imp::define_interface!(IMFSourceOpenMonitor, IMFSourceOpenMonitor_Vtbl, 0x059054b3_027c_494c_a27d_9113291cf87f); windows_core::imp::interface_hierarchy!(IMFSourceOpenMonitor, windows_core::IUnknown); impl IMFSourceOpenMonitor { pub unsafe fn OnSourceEvent(&self, pevent: P0) -> windows_core::Result<()> @@ -15174,7 +15174,7 @@ pub struct IMFSourceOpenMonitor_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnSourceEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSourceReader, IMFSourceReader_Vtbl, 0x70ae66f2_c809_4e4f_8915_bdcb406b7993); +windows_core::imp::define_interface!(IMFSourceReader, IMFSourceReader_Vtbl, 0x70ae66f2_c809_4e4f_8915_bdcb406b7993); windows_core::imp::interface_hierarchy!(IMFSourceReader, windows_core::IUnknown); impl IMFSourceReader { pub unsafe fn GetStreamSelection(&self, dwstreamindex: u32) -> windows_core::Result { @@ -15232,7 +15232,7 @@ pub struct IMFSourceReader_Vtbl { 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, } -windows_core::imp::com_interface!(IMFSourceReaderCallback, IMFSourceReaderCallback_Vtbl, 0xdeec8d99_fa1d_4d82_84c2_2c8969944867); +windows_core::imp::define_interface!(IMFSourceReaderCallback, IMFSourceReaderCallback_Vtbl, 0xdeec8d99_fa1d_4d82_84c2_2c8969944867); windows_core::imp::interface_hierarchy!(IMFSourceReaderCallback, windows_core::IUnknown); impl IMFSourceReaderCallback { pub unsafe fn OnReadSample(&self, hrstatus: windows_core::HRESULT, dwstreamindex: u32, dwstreamflags: u32, lltimestamp: i64, psample: P0) -> windows_core::Result<()> @@ -15258,7 +15258,7 @@ pub struct IMFSourceReaderCallback_Vtbl { pub OnFlush: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSourceReaderCallback2, IMFSourceReaderCallback2_Vtbl, 0xcf839fe6_8c2a_4dd2_b6ea_c22d6961af05); +windows_core::imp::define_interface!(IMFSourceReaderCallback2, IMFSourceReaderCallback2_Vtbl, 0xcf839fe6_8c2a_4dd2_b6ea_c22d6961af05); windows_core::imp::interface_hierarchy!(IMFSourceReaderCallback2, windows_core::IUnknown, IMFSourceReaderCallback); impl IMFSourceReaderCallback2 { pub unsafe fn OnReadSample(&self, hrstatus: windows_core::HRESULT, dwstreamindex: u32, dwstreamflags: u32, lltimestamp: i64, psample: P0) -> windows_core::Result<()> @@ -15289,7 +15289,7 @@ pub struct IMFSourceReaderCallback2_Vtbl { pub OnTransformChange: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnStreamError: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSourceReaderEx, IMFSourceReaderEx_Vtbl, 0x7b981cf0_560e_4116_9875_b099895f23d7); +windows_core::imp::define_interface!(IMFSourceReaderEx, IMFSourceReaderEx_Vtbl, 0x7b981cf0_560e_4116_9875_b099895f23d7); windows_core::imp::interface_hierarchy!(IMFSourceReaderEx, windows_core::IUnknown, IMFSourceReader); impl IMFSourceReaderEx { pub unsafe fn GetStreamSelection(&self, dwstreamindex: u32) -> windows_core::Result { @@ -15360,7 +15360,7 @@ pub struct IMFSourceReaderEx_Vtbl { pub RemoveAllTransformsForStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetTransformForStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSourceResolver, IMFSourceResolver_Vtbl, 0xfbe5a32d_a497_4b61_bb85_97b1a848a6e3); +windows_core::imp::define_interface!(IMFSourceResolver, IMFSourceResolver_Vtbl, 0xfbe5a32d_a497_4b61_bb85_97b1a848a6e3); windows_core::imp::interface_hierarchy!(IMFSourceResolver, windows_core::IUnknown); impl IMFSourceResolver { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -15443,7 +15443,7 @@ pub struct IMFSourceResolver_Vtbl { pub EndCreateObjectFromByteStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut MF_OBJECT_TYPE, *mut *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, } -windows_core::imp::com_interface!(IMFSpatialAudioObjectBuffer, IMFSpatialAudioObjectBuffer_Vtbl, 0xd396ec8c_605e_4249_978d_72ad1c312872); +windows_core::imp::define_interface!(IMFSpatialAudioObjectBuffer, IMFSpatialAudioObjectBuffer_Vtbl, 0xd396ec8c_605e_4249_978d_72ad1c312872); windows_core::imp::interface_hierarchy!(IMFSpatialAudioObjectBuffer, windows_core::IUnknown, IMFMediaBuffer); impl IMFSpatialAudioObjectBuffer { pub unsafe fn Lock(&self, ppbbuffer: *mut *mut u8, pcbmaxlength: Option<*mut u32>, pcbcurrentlength: Option<*mut u32>) -> windows_core::Result<()> { @@ -15503,7 +15503,7 @@ pub struct IMFSpatialAudioObjectBuffer_Vtbl { #[cfg(not(feature = "Win32_Media_Audio"))] GetMetadataItems: usize, } -windows_core::imp::com_interface!(IMFSpatialAudioSample, IMFSpatialAudioSample_Vtbl, 0xabf28a9b_3393_4290_ba79_5ffc46d986b2); +windows_core::imp::define_interface!(IMFSpatialAudioSample, IMFSpatialAudioSample_Vtbl, 0xabf28a9b_3393_4290_ba79_5ffc46d986b2); windows_core::imp::interface_hierarchy!(IMFSpatialAudioSample, windows_core::IUnknown, IMFAttributes, IMFSample); impl IMFSpatialAudioSample { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -15699,7 +15699,7 @@ pub struct IMFSpatialAudioSample_Vtbl { pub AddSpatialAudioObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSpatialAudioObjectByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFStreamDescriptor, IMFStreamDescriptor_Vtbl, 0x56c03d9c_9dbb_45f5_ab4b_d80f47c05938); +windows_core::imp::define_interface!(IMFStreamDescriptor, IMFStreamDescriptor_Vtbl, 0x56c03d9c_9dbb_45f5_ab4b_d80f47c05938); windows_core::imp::interface_hierarchy!(IMFStreamDescriptor, windows_core::IUnknown, IMFAttributes); impl IMFStreamDescriptor { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -15833,7 +15833,7 @@ pub struct IMFStreamDescriptor_Vtbl { pub GetStreamIdentifier: 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, } -windows_core::imp::com_interface!(IMFStreamSink, IMFStreamSink_Vtbl, 0x0a97b3cf_8e7c_4a3d_8f8c_0c843dc247fb); +windows_core::imp::define_interface!(IMFStreamSink, IMFStreamSink_Vtbl, 0x0a97b3cf_8e7c_4a3d_8f8c_0c843dc247fb); windows_core::imp::interface_hierarchy!(IMFStreamSink, windows_core::IUnknown, IMFMediaEventGenerator); impl IMFStreamSink { pub unsafe fn GetEvent(&self, dwflags: MEDIA_EVENT_GENERATOR_GET_EVENT_FLAGS) -> windows_core::Result { @@ -15892,7 +15892,7 @@ pub struct IMFStreamSink_Vtbl { 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 Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFStreamingSinkConfig, IMFStreamingSinkConfig_Vtbl, 0x9db7aa41_3cc5_40d4_8509_555804ad34cc); +windows_core::imp::define_interface!(IMFStreamingSinkConfig, IMFStreamingSinkConfig_Vtbl, 0x9db7aa41_3cc5_40d4_8509_555804ad34cc); windows_core::imp::interface_hierarchy!(IMFStreamingSinkConfig, windows_core::IUnknown); impl IMFStreamingSinkConfig { pub unsafe fn StartStreaming(&self, fseekoffsetisbyteoffset: P0, qwseekoffset: u64) -> windows_core::Result<()> @@ -15907,7 +15907,7 @@ pub struct IMFStreamingSinkConfig_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub StartStreaming: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFSystemId, IMFSystemId_Vtbl, 0xfff4af3a_1fc1_4ef9_a29b_d26c49e2f31a); +windows_core::imp::define_interface!(IMFSystemId, IMFSystemId_Vtbl, 0xfff4af3a_1fc1_4ef9_a29b_d26c49e2f31a); windows_core::imp::interface_hierarchy!(IMFSystemId, windows_core::IUnknown); impl IMFSystemId { pub unsafe fn GetData(&self, size: *mut u32, data: *mut *mut u8) -> windows_core::Result<()> { @@ -15923,7 +15923,7 @@ pub struct IMFSystemId_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub Setup: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTimecodeTranslate, IMFTimecodeTranslate_Vtbl, 0xab9d8661_f7e8_4ef4_9861_89f334f94e74); +windows_core::imp::define_interface!(IMFTimecodeTranslate, IMFTimecodeTranslate_Vtbl, 0xab9d8661_f7e8_4ef4_9861_89f334f94e74); windows_core::imp::interface_hierarchy!(IMFTimecodeTranslate, windows_core::IUnknown); impl IMFTimecodeTranslate { pub unsafe fn BeginConvertTimecodeToHNS(&self, ppropvartimecode: *const windows_core::PROPVARIANT, pcallback: P0, punkstate: P1) -> windows_core::Result<()> @@ -15963,7 +15963,7 @@ pub struct IMFTimecodeTranslate_Vtbl { 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, } -windows_core::imp::com_interface!(IMFTimedText, IMFTimedText_Vtbl, 0x1f2a94c9_a3df_430d_9d0f_acd85ddc29af); +windows_core::imp::define_interface!(IMFTimedText, IMFTimedText_Vtbl, 0x1f2a94c9_a3df_430d_9d0f_acd85ddc29af); windows_core::imp::interface_hierarchy!(IMFTimedText, windows_core::IUnknown); impl IMFTimedText { pub unsafe fn RegisterNotifications(&self, notify: P0) -> windows_core::Result<()> @@ -16063,7 +16063,7 @@ pub struct IMFTimedText_Vtbl { pub SetInBandEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsInBandEnabled: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IMFTimedTextBinary, IMFTimedTextBinary_Vtbl, 0x4ae3a412_0545_43c4_bf6f_6b97a5c6c432); +windows_core::imp::define_interface!(IMFTimedTextBinary, IMFTimedTextBinary_Vtbl, 0x4ae3a412_0545_43c4_bf6f_6b97a5c6c432); windows_core::imp::interface_hierarchy!(IMFTimedTextBinary, windows_core::IUnknown); impl IMFTimedTextBinary { pub unsafe fn GetData(&self, data: *mut *mut u8, length: *mut u32) -> windows_core::Result<()> { @@ -16075,7 +16075,7 @@ pub struct IMFTimedTextBinary_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTimedTextBouten, IMFTimedTextBouten_Vtbl, 0x3c5f3e8a_90c0_464e_8136_898d2975f847); +windows_core::imp::define_interface!(IMFTimedTextBouten, IMFTimedTextBouten_Vtbl, 0x3c5f3e8a_90c0_464e_8136_898d2975f847); windows_core::imp::interface_hierarchy!(IMFTimedTextBouten, windows_core::IUnknown); impl IMFTimedTextBouten { pub unsafe fn GetBoutenType(&self) -> windows_core::Result { @@ -16098,7 +16098,7 @@ pub struct IMFTimedTextBouten_Vtbl { pub GetBoutenColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFARGB) -> windows_core::HRESULT, pub GetBoutenPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_TIMED_TEXT_BOUTEN_POSITION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTimedTextCue, IMFTimedTextCue_Vtbl, 0x1e560447_9a2b_43e1_a94c_b0aaabfbfbc9); +windows_core::imp::define_interface!(IMFTimedTextCue, IMFTimedTextCue_Vtbl, 0x1e560447_9a2b_43e1_a94c_b0aaabfbfbc9); windows_core::imp::interface_hierarchy!(IMFTimedTextCue, windows_core::IUnknown); impl IMFTimedTextCue { pub unsafe fn GetId(&self) -> u32 { @@ -16155,7 +16155,7 @@ pub struct IMFTimedTextCue_Vtbl { pub GetLineCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetLine: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTimedTextCueList, IMFTimedTextCueList_Vtbl, 0xad128745_211b_40a0_9981_fe65f166d0fd); +windows_core::imp::define_interface!(IMFTimedTextCueList, IMFTimedTextCueList_Vtbl, 0xad128745_211b_40a0_9981_fe65f166d0fd); windows_core::imp::interface_hierarchy!(IMFTimedTextCueList, windows_core::IUnknown); impl IMFTimedTextCueList { pub unsafe fn GetLength(&self) -> u32 { @@ -16203,7 +16203,7 @@ pub struct IMFTimedTextCueList_Vtbl { pub AddDataCue: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, *const u8, u32, *mut *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, } -windows_core::imp::com_interface!(IMFTimedTextFormattedText, IMFTimedTextFormattedText_Vtbl, 0xe13af3c1_4d47_4354_b1f5_e83ae0ecae60); +windows_core::imp::define_interface!(IMFTimedTextFormattedText, IMFTimedTextFormattedText_Vtbl, 0xe13af3c1_4d47_4354_b1f5_e83ae0ecae60); windows_core::imp::interface_hierarchy!(IMFTimedTextFormattedText, windows_core::IUnknown); impl IMFTimedTextFormattedText { pub unsafe fn GetText(&self) -> windows_core::Result { @@ -16224,7 +16224,7 @@ pub struct IMFTimedTextFormattedText_Vtbl { pub GetSubformattingCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub GetSubformatting: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTimedTextNotify, IMFTimedTextNotify_Vtbl, 0xdf6b87b6_ce12_45db_aba7_432fe054e57d); +windows_core::imp::define_interface!(IMFTimedTextNotify, IMFTimedTextNotify_Vtbl, 0xdf6b87b6_ce12_45db_aba7_432fe054e57d); windows_core::imp::interface_hierarchy!(IMFTimedTextNotify, windows_core::IUnknown); impl IMFTimedTextNotify { pub unsafe fn TrackAdded(&self, trackid: u32) { @@ -16266,7 +16266,7 @@ pub struct IMFTimedTextNotify_Vtbl { pub Cue: unsafe extern "system" fn(*mut core::ffi::c_void, MF_TIMED_TEXT_CUE_EVENT, f64, *mut core::ffi::c_void), pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMFTimedTextRegion, IMFTimedTextRegion_Vtbl, 0xc8d22afc_bc47_4bdf_9b04_787e49ce3f58); +windows_core::imp::define_interface!(IMFTimedTextRegion, IMFTimedTextRegion_Vtbl, 0xc8d22afc_bc47_4bdf_9b04_787e49ce3f58); windows_core::imp::interface_hierarchy!(IMFTimedTextRegion, windows_core::IUnknown); impl IMFTimedTextRegion { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -16330,7 +16330,7 @@ pub struct IMFTimedTextRegion_Vtbl { pub GetZIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetScrollMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_TIMED_TEXT_SCROLL_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTimedTextRuby, IMFTimedTextRuby_Vtbl, 0x76c6a6f5_4955_4de5_b27b_14b734cc14b4); +windows_core::imp::define_interface!(IMFTimedTextRuby, IMFTimedTextRuby_Vtbl, 0x76c6a6f5_4955_4de5_b27b_14b734cc14b4); windows_core::imp::interface_hierarchy!(IMFTimedTextRuby, windows_core::IUnknown); impl IMFTimedTextRuby { pub unsafe fn GetRubyText(&self) -> windows_core::Result { @@ -16358,7 +16358,7 @@ pub struct IMFTimedTextRuby_Vtbl { pub GetRubyAlign: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_TIMED_TEXT_RUBY_ALIGN) -> windows_core::HRESULT, pub GetRubyReserve: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_TIMED_TEXT_RUBY_RESERVE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTimedTextStyle, IMFTimedTextStyle_Vtbl, 0x09b2455d_b834_4f01_a347_9052e21c450e); +windows_core::imp::define_interface!(IMFTimedTextStyle, IMFTimedTextStyle_Vtbl, 0x09b2455d_b834_4f01_a347_9052e21c450e); windows_core::imp::interface_hierarchy!(IMFTimedTextStyle, windows_core::IUnknown); impl IMFTimedTextStyle { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -16428,7 +16428,7 @@ pub struct IMFTimedTextStyle_Vtbl { pub GetTextDecoration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetTextOutline: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFARGB, *mut f64, *mut f64, *mut MF_TIMED_TEXT_UNIT_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTimedTextStyle2, IMFTimedTextStyle2_Vtbl, 0xdb639199_c809_4c89_bfca_d0bbb9729d6e); +windows_core::imp::define_interface!(IMFTimedTextStyle2, IMFTimedTextStyle2_Vtbl, 0xdb639199_c809_4c89_bfca_d0bbb9729d6e); windows_core::imp::interface_hierarchy!(IMFTimedTextStyle2, windows_core::IUnknown); impl IMFTimedTextStyle2 { pub unsafe fn GetRuby(&self) -> windows_core::Result { @@ -16456,7 +16456,7 @@ pub struct IMFTimedTextStyle2_Vtbl { pub IsTextCombined: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetFontAngleInDegrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTimedTextTrack, IMFTimedTextTrack_Vtbl, 0x8822c32d_654e_4233_bf21_d7f2e67d30d4); +windows_core::imp::define_interface!(IMFTimedTextTrack, IMFTimedTextTrack_Vtbl, 0x8822c32d_654e_4233_bf21_d7f2e67d30d4); windows_core::imp::interface_hierarchy!(IMFTimedTextTrack, windows_core::IUnknown); impl IMFTimedTextTrack { pub unsafe fn GetId(&self) -> u32 { @@ -16524,7 +16524,7 @@ pub struct IMFTimedTextTrack_Vtbl { pub GetReadyState: unsafe extern "system" fn(*mut core::ffi::c_void) -> MF_TIMED_TEXT_TRACK_READY_STATE, pub GetCueList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTimedTextTrackList, IMFTimedTextTrackList_Vtbl, 0x23ff334c_442c_445f_bccc_edc438aa11e2); +windows_core::imp::define_interface!(IMFTimedTextTrackList, IMFTimedTextTrackList_Vtbl, 0x23ff334c_442c_445f_bccc_edc438aa11e2); windows_core::imp::interface_hierarchy!(IMFTimedTextTrackList, windows_core::IUnknown); impl IMFTimedTextTrackList { pub unsafe fn GetLength(&self) -> u32 { @@ -16546,7 +16546,7 @@ pub struct IMFTimedTextTrackList_Vtbl { pub GetTrack: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTrackById: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTimer, IMFTimer_Vtbl, 0xe56e4cbd_8f70_49d8_a0f8_edb3d6ab9bf2); +windows_core::imp::define_interface!(IMFTimer, IMFTimer_Vtbl, 0xe56e4cbd_8f70_49d8_a0f8_edb3d6ab9bf2); windows_core::imp::interface_hierarchy!(IMFTimer, windows_core::IUnknown); impl IMFTimer { pub unsafe fn SetTimer(&self, dwflags: u32, llclocktime: i64, pcallback: P0, punkstate: P1) -> windows_core::Result @@ -16570,7 +16570,7 @@ pub struct IMFTimer_Vtbl { pub SetTimer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i64, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CancelTimer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTopoLoader, IMFTopoLoader_Vtbl, 0xde9a6157_f660_4643_b56a_df9f7998c7cd); +windows_core::imp::define_interface!(IMFTopoLoader, IMFTopoLoader_Vtbl, 0xde9a6157_f660_4643_b56a_df9f7998c7cd); windows_core::imp::interface_hierarchy!(IMFTopoLoader, windows_core::IUnknown); impl IMFTopoLoader { pub unsafe fn Load(&self, pinputtopo: P0, ppoutputtopo: *mut Option, pcurrenttopo: P1) -> windows_core::Result<()> @@ -16586,7 +16586,7 @@ pub struct IMFTopoLoader_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Load: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTopology, IMFTopology_Vtbl, 0x83cf873a_f6da_4bc8_823f_bacfd55dc433); +windows_core::imp::define_interface!(IMFTopology, IMFTopology_Vtbl, 0x83cf873a_f6da_4bc8_823f_bacfd55dc433); windows_core::imp::interface_hierarchy!(IMFTopology, windows_core::IUnknown, IMFAttributes); impl IMFTopology { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -16765,7 +16765,7 @@ pub struct IMFTopology_Vtbl { pub GetSourceNodeCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetOutputNodeCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTopologyNode, IMFTopologyNode_Vtbl, 0x83cf873a_f6da_4bc8_823f_bacfd55dc430); +windows_core::imp::define_interface!(IMFTopologyNode, IMFTopologyNode_Vtbl, 0x83cf873a_f6da_4bc8_823f_bacfd55dc430); windows_core::imp::interface_hierarchy!(IMFTopologyNode, windows_core::IUnknown, IMFAttributes); impl IMFTopologyNode { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -16975,7 +16975,7 @@ pub struct IMFTopologyNode_Vtbl { pub GetInputPrefType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CloneFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTopologyNodeAttributeEditor, IMFTopologyNodeAttributeEditor_Vtbl, 0x676aa6dd_238a_410d_bb99_65668d01605a); +windows_core::imp::define_interface!(IMFTopologyNodeAttributeEditor, IMFTopologyNodeAttributeEditor_Vtbl, 0x676aa6dd_238a_410d_bb99_65668d01605a); windows_core::imp::interface_hierarchy!(IMFTopologyNodeAttributeEditor, windows_core::IUnknown); impl IMFTopologyNodeAttributeEditor { pub unsafe fn UpdateNodeAttributes(&self, topoid: u64, pupdates: &[MFTOPONODE_ATTRIBUTE_UPDATE]) -> windows_core::Result<()> { @@ -16987,7 +16987,7 @@ pub struct IMFTopologyNodeAttributeEditor_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub UpdateNodeAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, *const MFTOPONODE_ATTRIBUTE_UPDATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTopologyServiceLookup, IMFTopologyServiceLookup_Vtbl, 0xfa993889_4383_415a_a930_dd472a8cf6f7); +windows_core::imp::define_interface!(IMFTopologyServiceLookup, IMFTopologyServiceLookup_Vtbl, 0xfa993889_4383_415a_a930_dd472a8cf6f7); windows_core::imp::interface_hierarchy!(IMFTopologyServiceLookup, windows_core::IUnknown); impl IMFTopologyServiceLookup { pub unsafe fn LookupService(&self, r#type: MF_SERVICE_LOOKUP_TYPE, dwindex: u32, guidservice: *const windows_core::GUID, riid: *const windows_core::GUID, ppvobjects: *mut *mut core::ffi::c_void, pnobjects: *mut u32) -> windows_core::Result<()> { @@ -16999,7 +16999,7 @@ pub struct IMFTopologyServiceLookup_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub LookupService: unsafe extern "system" fn(*mut core::ffi::c_void, MF_SERVICE_LOOKUP_TYPE, u32, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTopologyServiceLookupClient, IMFTopologyServiceLookupClient_Vtbl, 0xfa99388a_4383_415a_a930_dd472a8cf6f7); +windows_core::imp::define_interface!(IMFTopologyServiceLookupClient, IMFTopologyServiceLookupClient_Vtbl, 0xfa99388a_4383_415a_a930_dd472a8cf6f7); windows_core::imp::interface_hierarchy!(IMFTopologyServiceLookupClient, windows_core::IUnknown); impl IMFTopologyServiceLookupClient { pub unsafe fn InitServicePointers(&self, plookup: P0) -> windows_core::Result<()> @@ -17018,7 +17018,7 @@ pub struct IMFTopologyServiceLookupClient_Vtbl { pub InitServicePointers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseServicePointers: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTrackedSample, IMFTrackedSample_Vtbl, 0x245bf8e9_0755_40f7_88a5_ae0f18d55e17); +windows_core::imp::define_interface!(IMFTrackedSample, IMFTrackedSample_Vtbl, 0x245bf8e9_0755_40f7_88a5_ae0f18d55e17); windows_core::imp::interface_hierarchy!(IMFTrackedSample, windows_core::IUnknown); impl IMFTrackedSample { pub unsafe fn SetAllocator(&self, psampleallocator: P0, punkstate: P1) -> windows_core::Result<()> @@ -17034,7 +17034,7 @@ pub struct IMFTrackedSample_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetAllocator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTranscodeProfile, IMFTranscodeProfile_Vtbl, 0x4adfdba3_7ab0_4953_a62b_461e7ff3da1e); +windows_core::imp::define_interface!(IMFTranscodeProfile, IMFTranscodeProfile_Vtbl, 0x4adfdba3_7ab0_4953_a62b_461e7ff3da1e); windows_core::imp::interface_hierarchy!(IMFTranscodeProfile, windows_core::IUnknown); impl IMFTranscodeProfile { pub unsafe fn SetAudioAttributes(&self, pattrs: P0) -> windows_core::Result<()> @@ -17078,7 +17078,7 @@ pub struct IMFTranscodeProfile_Vtbl { pub SetContainerAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetContainerAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTranscodeSinkInfoProvider, IMFTranscodeSinkInfoProvider_Vtbl, 0x8cffcd2e_5a03_4a3a_aff7_edcd107c620e); +windows_core::imp::define_interface!(IMFTranscodeSinkInfoProvider, IMFTranscodeSinkInfoProvider_Vtbl, 0x8cffcd2e_5a03_4a3a_aff7_edcd107c620e); windows_core::imp::interface_hierarchy!(IMFTranscodeSinkInfoProvider, windows_core::IUnknown); impl IMFTranscodeSinkInfoProvider { pub unsafe fn SetOutputFile(&self, pwszfilename: P0) -> windows_core::Result<()> @@ -17112,7 +17112,7 @@ pub struct IMFTranscodeSinkInfoProvider_Vtbl { pub SetProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSinkInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MF_TRANSCODE_SINK_INFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTransform, IMFTransform_Vtbl, 0xbf94c121_5b05_4e6f_8000_ba598961414d); +windows_core::imp::define_interface!(IMFTransform, IMFTransform_Vtbl, 0xbf94c121_5b05_4e6f_8000_ba598961414d); windows_core::imp::interface_hierarchy!(IMFTransform, windows_core::IUnknown); impl IMFTransform { pub unsafe fn GetStreamLimits(&self, pdwinputminimum: *mut u32, pdwinputmaximum: *mut u32, pdwoutputminimum: *mut u32, pdwoutputmaximum: *mut u32) -> windows_core::Result<()> { @@ -17234,7 +17234,7 @@ pub struct IMFTransform_Vtbl { pub ProcessInput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ProcessOutput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut MFT_OUTPUT_DATA_BUFFER, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTrustedInput, IMFTrustedInput_Vtbl, 0x542612c4_a1b8_4632_b521_de11ea64a0b0); +windows_core::imp::define_interface!(IMFTrustedInput, IMFTrustedInput_Vtbl, 0x542612c4_a1b8_4632_b521_de11ea64a0b0); 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 { @@ -17247,7 +17247,7 @@ pub struct IMFTrustedInput_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetInputTrustAuthority: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFTrustedOutput, IMFTrustedOutput_Vtbl, 0xd19f8e95_b126_4446_890c_5dcb7ad71453); +windows_core::imp::define_interface!(IMFTrustedOutput, IMFTrustedOutput_Vtbl, 0xd19f8e95_b126_4446_890c_5dcb7ad71453); windows_core::imp::interface_hierarchy!(IMFTrustedOutput, windows_core::IUnknown); impl IMFTrustedOutput { pub unsafe fn GetOutputTrustAuthorityCount(&self) -> windows_core::Result { @@ -17270,7 +17270,7 @@ pub struct IMFTrustedOutput_Vtbl { pub GetOutputTrustAuthorityByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsFinal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoCaptureSampleAllocator, IMFVideoCaptureSampleAllocator_Vtbl, 0x725b77c7_ca9f_4fe5_9d72_9946bf9b3c70); +windows_core::imp::define_interface!(IMFVideoCaptureSampleAllocator, IMFVideoCaptureSampleAllocator_Vtbl, 0x725b77c7_ca9f_4fe5_9d72_9946bf9b3c70); windows_core::imp::interface_hierarchy!(IMFVideoCaptureSampleAllocator, windows_core::IUnknown, IMFVideoSampleAllocator); impl IMFVideoCaptureSampleAllocator { pub unsafe fn SetDirectXManager(&self, pmanager: P0) -> windows_core::Result<()> @@ -17305,7 +17305,7 @@ pub struct IMFVideoCaptureSampleAllocator_Vtbl { pub base__: IMFVideoSampleAllocator_Vtbl, pub InitializeCaptureSampleAllocator: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoDeviceID, IMFVideoDeviceID_Vtbl, 0xa38d9567_5a9c_4f3c_b293_8eb415b279ba); +windows_core::imp::define_interface!(IMFVideoDeviceID, IMFVideoDeviceID_Vtbl, 0xa38d9567_5a9c_4f3c_b293_8eb415b279ba); windows_core::imp::interface_hierarchy!(IMFVideoDeviceID, windows_core::IUnknown); impl IMFVideoDeviceID { pub unsafe fn GetDeviceID(&self) -> windows_core::Result { @@ -17318,7 +17318,7 @@ pub struct IMFVideoDeviceID_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDeviceID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoDisplayControl, IMFVideoDisplayControl_Vtbl, 0xa490b1e4_ab84_4d31_a1b2_181e03b1077a); +windows_core::imp::define_interface!(IMFVideoDisplayControl, IMFVideoDisplayControl_Vtbl, 0xa490b1e4_ab84_4d31_a1b2_181e03b1077a); windows_core::imp::interface_hierarchy!(IMFVideoDisplayControl, windows_core::IUnknown); impl IMFVideoDisplayControl { pub unsafe fn GetNativeVideoSize(&self, pszvideo: *mut super::super::Foundation::SIZE, pszarvideo: *mut super::super::Foundation::SIZE) -> windows_core::Result<()> { @@ -17408,7 +17408,7 @@ pub struct IMFVideoDisplayControl_Vtbl { pub SetFullscreen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetFullscreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoMediaType, IMFVideoMediaType_Vtbl, 0xb99f381f_a8f9_47a2_a5af_ca3a225a3890); +windows_core::imp::define_interface!(IMFVideoMediaType, IMFVideoMediaType_Vtbl, 0xb99f381f_a8f9_47a2_a5af_ca3a225a3890); windows_core::imp::interface_hierarchy!(IMFVideoMediaType, windows_core::IUnknown, IMFAttributes, IMFMediaType); impl IMFVideoMediaType { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -17561,7 +17561,7 @@ pub struct IMFVideoMediaType_Vtbl { pub GetVideoFormat: unsafe extern "system" fn(*mut core::ffi::c_void) -> *mut MFVIDEOFORMAT, pub GetVideoRepresentation: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoMixerBitmap, IMFVideoMixerBitmap_Vtbl, 0x814c7b20_0fdb_4eec_af8f_f957c8f69edc); +windows_core::imp::define_interface!(IMFVideoMixerBitmap, IMFVideoMixerBitmap_Vtbl, 0x814c7b20_0fdb_4eec_af8f_f957c8f69edc); windows_core::imp::interface_hierarchy!(IMFVideoMixerBitmap, windows_core::IUnknown); impl IMFVideoMixerBitmap { #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_Gdi"))] @@ -17589,7 +17589,7 @@ pub struct IMFVideoMixerBitmap_Vtbl { pub UpdateAlphaBitmapParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *const MFVideoAlphaBitmapParams) -> windows_core::HRESULT, pub GetAlphaBitmapParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MFVideoAlphaBitmapParams) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoMixerControl, IMFVideoMixerControl_Vtbl, 0xa5c6c53f_c202_4aa5_9695_175ba8c508a5); +windows_core::imp::define_interface!(IMFVideoMixerControl, IMFVideoMixerControl_Vtbl, 0xa5c6c53f_c202_4aa5_9695_175ba8c508a5); windows_core::imp::interface_hierarchy!(IMFVideoMixerControl, windows_core::IUnknown); impl IMFVideoMixerControl { pub unsafe fn SetStreamZOrder(&self, dwstreamid: u32, dwz: u32) -> windows_core::Result<()> { @@ -17615,7 +17615,7 @@ pub struct IMFVideoMixerControl_Vtbl { pub SetStreamOutputRect: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const MFVideoNormalizedRect) -> windows_core::HRESULT, pub GetStreamOutputRect: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut MFVideoNormalizedRect) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoMixerControl2, IMFVideoMixerControl2_Vtbl, 0x8459616d_966e_4930_b658_54fa7e5a16d3); +windows_core::imp::define_interface!(IMFVideoMixerControl2, IMFVideoMixerControl2_Vtbl, 0x8459616d_966e_4930_b658_54fa7e5a16d3); windows_core::imp::interface_hierarchy!(IMFVideoMixerControl2, windows_core::IUnknown, IMFVideoMixerControl); impl IMFVideoMixerControl2 { pub unsafe fn SetStreamZOrder(&self, dwstreamid: u32, dwz: u32) -> windows_core::Result<()> { @@ -17646,7 +17646,7 @@ pub struct IMFVideoMixerControl2_Vtbl { pub SetMixingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetMixingPrefs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoPositionMapper, IMFVideoPositionMapper_Vtbl, 0x1f6a9f17_e70b_4e24_8ae4_0b2c3ba7a4ae); +windows_core::imp::define_interface!(IMFVideoPositionMapper, IMFVideoPositionMapper_Vtbl, 0x1f6a9f17_e70b_4e24_8ae4_0b2c3ba7a4ae); windows_core::imp::interface_hierarchy!(IMFVideoPositionMapper, windows_core::IUnknown); impl IMFVideoPositionMapper { pub unsafe fn MapOutputCoordinateToInputStream(&self, xout: f32, yout: f32, dwoutputstreamindex: u32, dwinputstreamindex: u32, pxin: *mut f32, pyin: *mut f32) -> windows_core::Result<()> { @@ -17658,7 +17658,7 @@ pub struct IMFVideoPositionMapper_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub MapOutputCoordinateToInputStream: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, u32, u32, *mut f32, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoPresenter, IMFVideoPresenter_Vtbl, 0x29aff080_182a_4a5d_af3b_448f3a6346cb); +windows_core::imp::define_interface!(IMFVideoPresenter, IMFVideoPresenter_Vtbl, 0x29aff080_182a_4a5d_af3b_448f3a6346cb); windows_core::imp::interface_hierarchy!(IMFVideoPresenter, windows_core::IUnknown, IMFClockStateSink); impl IMFVideoPresenter { pub unsafe fn OnClockStart(&self, hnssystemtime: i64, llclockstartoffset: i64) -> windows_core::Result<()> { @@ -17690,7 +17690,7 @@ pub struct IMFVideoPresenter_Vtbl { pub ProcessMessage: unsafe extern "system" fn(*mut core::ffi::c_void, MFVP_MESSAGE_TYPE, usize) -> windows_core::HRESULT, pub GetCurrentMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoProcessor, IMFVideoProcessor_Vtbl, 0x6ab0000c_fece_4d1f_a2ac_a9573530656e); +windows_core::imp::define_interface!(IMFVideoProcessor, IMFVideoProcessor_Vtbl, 0x6ab0000c_fece_4d1f_a2ac_a9573530656e); windows_core::imp::interface_hierarchy!(IMFVideoProcessor, windows_core::IUnknown); impl IMFVideoProcessor { pub unsafe fn GetAvailableVideoProcessorModes(&self, lpdwnumprocessingmodes: *mut u32, ppvideoprocessingmodes: *mut *mut windows_core::GUID) -> windows_core::Result<()> { @@ -17759,7 +17759,7 @@ pub struct IMFVideoProcessor_Vtbl { pub GetBackgroundColor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::COLORREF) -> windows_core::HRESULT, pub SetBackgroundColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::COLORREF) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoProcessorControl, IMFVideoProcessorControl_Vtbl, 0xa3f675d5_6119_4f7f_a100_1d8b280f0efb); +windows_core::imp::define_interface!(IMFVideoProcessorControl, IMFVideoProcessorControl_Vtbl, 0xa3f675d5_6119_4f7f_a100_1d8b280f0efb); windows_core::imp::interface_hierarchy!(IMFVideoProcessorControl, windows_core::IUnknown); impl IMFVideoProcessorControl { pub unsafe fn SetBorderColor(&self, pbordercolor: Option<*const MFARGB>) -> windows_core::Result<()> { @@ -17791,7 +17791,7 @@ pub struct IMFVideoProcessorControl_Vtbl { pub SetRotation: unsafe extern "system" fn(*mut core::ffi::c_void, MF_VIDEO_PROCESSOR_ROTATION) -> windows_core::HRESULT, pub SetConstrictionSize: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::SIZE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoProcessorControl2, IMFVideoProcessorControl2_Vtbl, 0xbde633d3_e1dc_4a7f_a693_bbae399c4a20); +windows_core::imp::define_interface!(IMFVideoProcessorControl2, IMFVideoProcessorControl2_Vtbl, 0xbde633d3_e1dc_4a7f_a693_bbae399c4a20); windows_core::imp::interface_hierarchy!(IMFVideoProcessorControl2, windows_core::IUnknown, IMFVideoProcessorControl); impl IMFVideoProcessorControl2 { pub unsafe fn SetBorderColor(&self, pbordercolor: Option<*const MFARGB>) -> windows_core::Result<()> { @@ -17833,7 +17833,7 @@ pub struct IMFVideoProcessorControl2_Vtbl { pub EnableHardwareEffects: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetSupportedHardwareEffects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoProcessorControl3, IMFVideoProcessorControl3_Vtbl, 0x2424b3f2_eb23_40f1_91aa_74bddeea0883); +windows_core::imp::define_interface!(IMFVideoProcessorControl3, IMFVideoProcessorControl3_Vtbl, 0x2424b3f2_eb23_40f1_91aa_74bddeea0883); windows_core::imp::interface_hierarchy!(IMFVideoProcessorControl3, windows_core::IUnknown, IMFVideoProcessorControl, IMFVideoProcessorControl2); impl IMFVideoProcessorControl3 { pub unsafe fn SetBorderColor(&self, pbordercolor: Option<*const MFARGB>) -> windows_core::Result<()> { @@ -17895,7 +17895,7 @@ pub struct IMFVideoProcessorControl3_Vtbl { pub SetSphericalVideoProperties: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, f32, f32, f32) -> windows_core::HRESULT, pub SetOutputDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoRenderer, IMFVideoRenderer_Vtbl, 0xdfdfd197_a9ca_43d8_b341_6af3503792cd); +windows_core::imp::define_interface!(IMFVideoRenderer, IMFVideoRenderer_Vtbl, 0xdfdfd197_a9ca_43d8_b341_6af3503792cd); windows_core::imp::interface_hierarchy!(IMFVideoRenderer, windows_core::IUnknown); impl IMFVideoRenderer { pub unsafe fn InitializeRenderer(&self, pvideomixer: P0, pvideopresenter: P1) -> windows_core::Result<()> @@ -17911,7 +17911,7 @@ pub struct IMFVideoRenderer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InitializeRenderer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoRendererEffectControl, IMFVideoRendererEffectControl_Vtbl, 0x604d33d7_cf23_41d5_8224_5bbbb1a87475); +windows_core::imp::define_interface!(IMFVideoRendererEffectControl, IMFVideoRendererEffectControl_Vtbl, 0x604d33d7_cf23_41d5_8224_5bbbb1a87475); windows_core::imp::interface_hierarchy!(IMFVideoRendererEffectControl, windows_core::IUnknown); impl IMFVideoRendererEffectControl { pub unsafe fn OnAppServiceConnectionEstablished(&self, pappserviceconnection: P0) -> windows_core::Result<()> @@ -17926,7 +17926,7 @@ pub struct IMFVideoRendererEffectControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnAppServiceConnectionEstablished: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoSampleAllocator, IMFVideoSampleAllocator_Vtbl, 0x86cbc910_e533_4751_8e3b_f19b5b806a03); +windows_core::imp::define_interface!(IMFVideoSampleAllocator, IMFVideoSampleAllocator_Vtbl, 0x86cbc910_e533_4751_8e3b_f19b5b806a03); windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocator, windows_core::IUnknown); impl IMFVideoSampleAllocator { pub unsafe fn SetDirectXManager(&self, pmanager: P0) -> windows_core::Result<()> @@ -17957,7 +17957,7 @@ pub struct IMFVideoSampleAllocator_Vtbl { pub InitializeSampleAllocator: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AllocateSample: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoSampleAllocatorCallback, IMFVideoSampleAllocatorCallback_Vtbl, 0x992388b4_3372_4f67_8b6f_c84c071f4751); +windows_core::imp::define_interface!(IMFVideoSampleAllocatorCallback, IMFVideoSampleAllocatorCallback_Vtbl, 0x992388b4_3372_4f67_8b6f_c84c071f4751); windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorCallback, windows_core::IUnknown); impl IMFVideoSampleAllocatorCallback { pub unsafe fn SetCallback(&self, pnotify: P0) -> windows_core::Result<()> @@ -17977,7 +17977,7 @@ pub struct IMFVideoSampleAllocatorCallback_Vtbl { pub SetCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFreeSampleCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoSampleAllocatorEx, IMFVideoSampleAllocatorEx_Vtbl, 0x545b3a48_3283_4f62_866f_a62d8f598f9f); +windows_core::imp::define_interface!(IMFVideoSampleAllocatorEx, IMFVideoSampleAllocatorEx_Vtbl, 0x545b3a48_3283_4f62_866f_a62d8f598f9f); windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorEx, windows_core::IUnknown, IMFVideoSampleAllocator); impl IMFVideoSampleAllocatorEx { pub unsafe fn SetDirectXManager(&self, pmanager: P0) -> windows_core::Result<()> @@ -18012,7 +18012,7 @@ pub struct IMFVideoSampleAllocatorEx_Vtbl { pub base__: IMFVideoSampleAllocator_Vtbl, pub InitializeSampleAllocatorEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoSampleAllocatorNotify, IMFVideoSampleAllocatorNotify_Vtbl, 0xa792cdbe_c374_4e89_8335_278e7b9956a4); +windows_core::imp::define_interface!(IMFVideoSampleAllocatorNotify, IMFVideoSampleAllocatorNotify_Vtbl, 0xa792cdbe_c374_4e89_8335_278e7b9956a4); windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorNotify, windows_core::IUnknown); impl IMFVideoSampleAllocatorNotify { pub unsafe fn NotifyRelease(&self) -> windows_core::Result<()> { @@ -18024,7 +18024,7 @@ pub struct IMFVideoSampleAllocatorNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub NotifyRelease: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVideoSampleAllocatorNotifyEx, IMFVideoSampleAllocatorNotifyEx_Vtbl, 0x3978aa1a_6d5b_4b7f_a340_90899189ae34); +windows_core::imp::define_interface!(IMFVideoSampleAllocatorNotifyEx, IMFVideoSampleAllocatorNotifyEx_Vtbl, 0x3978aa1a_6d5b_4b7f_a340_90899189ae34); windows_core::imp::interface_hierarchy!(IMFVideoSampleAllocatorNotifyEx, windows_core::IUnknown, IMFVideoSampleAllocatorNotify); impl IMFVideoSampleAllocatorNotifyEx { pub unsafe fn NotifyRelease(&self) -> windows_core::Result<()> { @@ -18042,7 +18042,7 @@ pub struct IMFVideoSampleAllocatorNotifyEx_Vtbl { pub base__: IMFVideoSampleAllocatorNotify_Vtbl, pub NotifyPrune: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFVirtualCamera, IMFVirtualCamera_Vtbl, 0x1c08a864_ef6c_4c75_af59_5f2d68da9563); +windows_core::imp::define_interface!(IMFVirtualCamera, IMFVirtualCamera_Vtbl, 0x1c08a864_ef6c_4c75_af59_5f2d68da9563); windows_core::imp::interface_hierarchy!(IMFVirtualCamera, windows_core::IUnknown, IMFAttributes); impl IMFVirtualCamera { pub unsafe fn GetItem(&self, guidkey: *const windows_core::GUID, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -18233,7 +18233,7 @@ pub struct IMFVirtualCamera_Vtbl { pub CreateSyncSemaphore: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, super::super::Foundation::HANDLE, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFWorkQueueServices, IMFWorkQueueServices_Vtbl, 0x35fe1bb8_a3a9_40fe_bbec_eb569c9ccca3); +windows_core::imp::define_interface!(IMFWorkQueueServices, IMFWorkQueueServices_Vtbl, 0x35fe1bb8_a3a9_40fe_bbec_eb569c9ccca3); windows_core::imp::interface_hierarchy!(IMFWorkQueueServices, windows_core::IUnknown); impl IMFWorkQueueServices { pub unsafe fn BeginRegisterTopologyWorkQueuesWithMMCSS(&self, pcallback: P0, pstate: P1) -> windows_core::Result<()> @@ -18321,7 +18321,7 @@ pub struct IMFWorkQueueServices_Vtbl { pub GetPlaftormWorkQueueMMCSSClass: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, pub GetPlatformWorkQueueMMCSSTaskId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMFWorkQueueServicesEx, IMFWorkQueueServicesEx_Vtbl, 0x96bf961b_40fe_42f1_ba9d_320238b49700); +windows_core::imp::define_interface!(IMFWorkQueueServicesEx, IMFWorkQueueServicesEx_Vtbl, 0x96bf961b_40fe_42f1_ba9d_320238b49700); windows_core::imp::interface_hierarchy!(IMFWorkQueueServicesEx, windows_core::IUnknown, IMFWorkQueueServices); impl IMFWorkQueueServicesEx { pub unsafe fn BeginRegisterTopologyWorkQueuesWithMMCSS(&self, pcallback: P0, pstate: P1) -> windows_core::Result<()> @@ -18416,7 +18416,7 @@ pub struct IMFWorkQueueServicesEx_Vtbl { pub BeginRegisterPlatformWorkQueueWithMMCSSEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, u32, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPlatformWorkQueueMMCSSPriority: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOPMVideoOutput, IOPMVideoOutput_Vtbl, 0x0a15159d_41c7_4456_93e1_284cd61d4e8d); +windows_core::imp::define_interface!(IOPMVideoOutput, IOPMVideoOutput_Vtbl, 0x0a15159d_41c7_4456_93e1_284cd61d4e8d); windows_core::imp::interface_hierarchy!(IOPMVideoOutput, windows_core::IUnknown); impl IOPMVideoOutput { pub unsafe fn StartInitialization(&self, prnrandomnumber: *mut OPM_RANDOM_NUMBER, ppbcertificate: *mut *mut u8, pulcertificatelength: *mut u32) -> windows_core::Result<()> { @@ -18444,7 +18444,7 @@ pub struct IOPMVideoOutput_Vtbl { pub COPPCompatibleGetInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *const OPM_COPP_COMPATIBLE_GET_INFO_PARAMETERS, *mut OPM_REQUESTED_INFORMATION) -> windows_core::HRESULT, pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, *const OPM_CONFIGURE_PARAMETERS, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayToControl, IPlayToControl_Vtbl, 0x607574eb_f4b6_45c1_b08c_cb715122901d); +windows_core::imp::define_interface!(IPlayToControl, IPlayToControl_Vtbl, 0x607574eb_f4b6_45c1_b08c_cb715122901d); windows_core::imp::interface_hierarchy!(IPlayToControl, windows_core::IUnknown); impl IPlayToControl { pub unsafe fn Connect(&self, pfactory: P0) -> windows_core::Result<()> @@ -18463,7 +18463,7 @@ pub struct IPlayToControl_Vtbl { pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayToControlWithCapabilities, IPlayToControlWithCapabilities_Vtbl, 0xaa9dd80f_c50a_4220_91c1_332287f82a34); +windows_core::imp::define_interface!(IPlayToControlWithCapabilities, IPlayToControlWithCapabilities_Vtbl, 0xaa9dd80f_c50a_4220_91c1_332287f82a34); windows_core::imp::interface_hierarchy!(IPlayToControlWithCapabilities, windows_core::IUnknown, IPlayToControl); impl IPlayToControlWithCapabilities { pub unsafe fn Connect(&self, pfactory: P0) -> windows_core::Result<()> @@ -18485,7 +18485,7 @@ pub struct IPlayToControlWithCapabilities_Vtbl { pub base__: IPlayToControl_Vtbl, pub GetCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PLAYTO_SOURCE_CREATEFLAGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayToSourceClassFactory, IPlayToSourceClassFactory_Vtbl, 0x842b32a3_9b9b_4d1c_b3f3_49193248a554); +windows_core::imp::define_interface!(IPlayToSourceClassFactory, IPlayToSourceClassFactory_Vtbl, 0x842b32a3_9b9b_4d1c_b3f3_49193248a554); windows_core::imp::interface_hierarchy!(IPlayToSourceClassFactory, windows_core::IUnknown); impl IPlayToSourceClassFactory { pub unsafe fn CreateInstance(&self, dwflags: u32, pcontrol: P0) -> windows_core::Result @@ -18501,7 +18501,7 @@ pub struct IPlayToSourceClassFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToc, IToc_Vtbl, 0xd6f05441_a919_423b_91a0_89d5b4a8ab77); +windows_core::imp::define_interface!(IToc, IToc_Vtbl, 0xd6f05441_a919_423b_91a0_89d5b4a8ab77); windows_core::imp::interface_hierarchy!(IToc, windows_core::IUnknown); impl IToc { pub unsafe fn SetDescriptor(&self, pdescriptor: *mut TOC_DESCRIPTOR) -> windows_core::Result<()> { @@ -18563,7 +18563,7 @@ pub struct IToc_Vtbl { pub AddEntryListByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveEntryListByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITocCollection, ITocCollection_Vtbl, 0x23fee831_ae96_42df_b170_25a04847a3ca); +windows_core::imp::define_interface!(ITocCollection, ITocCollection_Vtbl, 0x23fee831_ae96_42df_b170_25a04847a3ca); windows_core::imp::interface_hierarchy!(ITocCollection, windows_core::IUnknown); impl ITocCollection { pub unsafe fn GetEntryCount(&self, pdwentrycount: *mut u32) -> windows_core::Result<()> { @@ -18598,7 +18598,7 @@ pub struct ITocCollection_Vtbl { pub AddEntryByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveEntryByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITocEntry, ITocEntry_Vtbl, 0xf22f5e06_585c_4def_8523_6555cfbc0cb3); +windows_core::imp::define_interface!(ITocEntry, ITocEntry_Vtbl, 0xf22f5e06_585c_4def_8523_6555cfbc0cb3); windows_core::imp::interface_hierarchy!(ITocEntry, windows_core::IUnknown); impl ITocEntry { pub unsafe fn SetTitle(&self, pwsztitle: P0) -> windows_core::Result<()> @@ -18641,7 +18641,7 @@ pub struct ITocEntry_Vtbl { pub SetDescriptionData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetDescriptionData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u8, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITocEntryList, ITocEntryList_Vtbl, 0x3a8cccbd_0efd_43a3_b838_f38a552ba237); +windows_core::imp::define_interface!(ITocEntryList, ITocEntryList_Vtbl, 0x3a8cccbd_0efd_43a3_b838_f38a552ba237); windows_core::imp::interface_hierarchy!(ITocEntryList, windows_core::IUnknown); impl ITocEntryList { pub unsafe fn GetEntryCount(&self, pdwentrycount: *mut u32) -> windows_core::Result<()> { @@ -18676,7 +18676,7 @@ pub struct ITocEntryList_Vtbl { pub AddEntryByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveEntryByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITocParser, ITocParser_Vtbl, 0xecfb9a55_9298_4f49_887f_0b36206599d2); +windows_core::imp::define_interface!(ITocParser, ITocParser_Vtbl, 0xecfb9a55_9298_4f49_887f_0b36206599d2); windows_core::imp::interface_hierarchy!(ITocParser, windows_core::IUnknown); impl ITocParser { pub unsafe fn Init(&self, pwszfilename: P0) -> windows_core::Result<()> @@ -18724,7 +18724,7 @@ pub struct ITocParser_Vtbl { pub RemoveTocByType: unsafe extern "system" fn(*mut core::ffi::c_void, TOC_POS_TYPE, windows_core::GUID) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IValidateBinding, IValidateBinding_Vtbl, 0x04a578b2_e778_422a_a805_b3ee54d90bd9); +windows_core::imp::define_interface!(IValidateBinding, IValidateBinding_Vtbl, 0x04a578b2_e778_422a_a805_b3ee54d90bd9); windows_core::imp::interface_hierarchy!(IValidateBinding, windows_core::IUnknown); impl IValidateBinding { pub unsafe fn GetIdentifier(&self, guidlicensorid: windows_core::GUID, pbephemeron: &[u8], ppbblobvalidationid: *mut *mut u8, pcbblobsize: *mut u32) -> windows_core::Result<()> { @@ -18736,7 +18736,7 @@ pub struct IValidateBinding_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *const u8, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMCodecLeakyBucket, IWMCodecLeakyBucket_Vtbl, 0xa81ba647_6227_43b7_b231_c7b15135dd7d); +windows_core::imp::define_interface!(IWMCodecLeakyBucket, IWMCodecLeakyBucket_Vtbl, 0xa81ba647_6227_43b7_b231_c7b15135dd7d); windows_core::imp::interface_hierarchy!(IWMCodecLeakyBucket, windows_core::IUnknown); impl IWMCodecLeakyBucket { pub unsafe fn SetBufferSizeBits(&self, ulbuffersize: u32) -> windows_core::Result<()> { @@ -18760,7 +18760,7 @@ pub struct IWMCodecLeakyBucket_Vtbl { pub SetBufferFullnessBits: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetBufferFullnessBits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMCodecOutputTimestamp, IWMCodecOutputTimestamp_Vtbl, 0xb72adf95_7adc_4a72_bc05_577d8ea6bf68); +windows_core::imp::define_interface!(IWMCodecOutputTimestamp, IWMCodecOutputTimestamp_Vtbl, 0xb72adf95_7adc_4a72_bc05_577d8ea6bf68); windows_core::imp::interface_hierarchy!(IWMCodecOutputTimestamp, windows_core::IUnknown); impl IWMCodecOutputTimestamp { pub unsafe fn GetNextOutputTime(&self, prttime: *mut i64) -> windows_core::Result<()> { @@ -18772,7 +18772,7 @@ pub struct IWMCodecOutputTimestamp_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetNextOutputTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMCodecPrivateData, IWMCodecPrivateData_Vtbl, 0x73f0be8e_57f7_4f01_aa66_9f57340cfe0e); +windows_core::imp::define_interface!(IWMCodecPrivateData, IWMCodecPrivateData_Vtbl, 0x73f0be8e_57f7_4f01_aa66_9f57340cfe0e); windows_core::imp::interface_hierarchy!(IWMCodecPrivateData, windows_core::IUnknown); impl IWMCodecPrivateData { #[cfg(feature = "Win32_Media_DxMediaObjects")] @@ -18792,7 +18792,7 @@ pub struct IWMCodecPrivateData_Vtbl { SetPartialOutputType: usize, pub GetPrivateData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMCodecProps, IWMCodecProps_Vtbl, 0x2573e11a_f01a_4fdd_a98d_63b8e0ba9589); +windows_core::imp::define_interface!(IWMCodecProps, IWMCodecProps_Vtbl, 0x2573e11a_f01a_4fdd_a98d_63b8e0ba9589); windows_core::imp::interface_hierarchy!(IWMCodecProps, windows_core::IUnknown); impl IWMCodecProps { #[cfg(feature = "Win32_Media_DxMediaObjects")] @@ -18818,7 +18818,7 @@ pub struct IWMCodecProps_Vtbl { GetFormatProp: usize, pub GetCodecProp: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, *mut WMT_PROP_DATATYPE, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMCodecStrings, IWMCodecStrings_Vtbl, 0xa7b2504b_e58a_47fb_958b_cac7165a057d); +windows_core::imp::define_interface!(IWMCodecStrings, IWMCodecStrings_Vtbl, 0xa7b2504b_e58a_47fb_958b_cac7165a057d); windows_core::imp::interface_hierarchy!(IWMCodecStrings, windows_core::IUnknown); impl IWMCodecStrings { #[cfg(feature = "Win32_Media_DxMediaObjects")] @@ -18842,7 +18842,7 @@ pub struct IWMCodecStrings_Vtbl { #[cfg(not(feature = "Win32_Media_DxMediaObjects"))] GetDescription: usize, } -windows_core::imp::com_interface!(IWMColorConvProps, IWMColorConvProps_Vtbl, 0xe6a49e22_c099_421d_aad3_c061fb4ae85b); +windows_core::imp::define_interface!(IWMColorConvProps, IWMColorConvProps_Vtbl, 0xe6a49e22_c099_421d_aad3_c061fb4ae85b); windows_core::imp::interface_hierarchy!(IWMColorConvProps, windows_core::IUnknown); impl IWMColorConvProps { pub unsafe fn SetMode(&self, lmode: i32) -> windows_core::Result<()> { @@ -18858,7 +18858,7 @@ pub struct IWMColorConvProps_Vtbl { pub SetMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SetFullCroppingParam: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMColorLegalizerProps, IWMColorLegalizerProps_Vtbl, 0x776c93b3_b72d_4508_b6d0_208785f553e7); +windows_core::imp::define_interface!(IWMColorLegalizerProps, IWMColorLegalizerProps_Vtbl, 0x776c93b3_b72d_4508_b6d0_208785f553e7); windows_core::imp::interface_hierarchy!(IWMColorLegalizerProps, windows_core::IUnknown); impl IWMColorLegalizerProps { pub unsafe fn SetColorLegalizerQuality(&self, lquality: i32) -> windows_core::Result<()> { @@ -18870,7 +18870,7 @@ pub struct IWMColorLegalizerProps_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetColorLegalizerQuality: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMFrameInterpProps, IWMFrameInterpProps_Vtbl, 0x4c06bb9b_626c_4614_8329_cc6a21b93fa0); +windows_core::imp::define_interface!(IWMFrameInterpProps, IWMFrameInterpProps_Vtbl, 0x4c06bb9b_626c_4614_8329_cc6a21b93fa0); windows_core::imp::interface_hierarchy!(IWMFrameInterpProps, windows_core::IUnknown); impl IWMFrameInterpProps { pub unsafe fn SetFrameRateIn(&self, lframerate: i32, lscale: i32) -> windows_core::Result<()> { @@ -18897,7 +18897,7 @@ pub struct IWMFrameInterpProps_Vtbl { pub SetFrameInterpEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetComplexityLevel: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMInterlaceProps, IWMInterlaceProps_Vtbl, 0x7b12e5d1_bd22_48ea_bc06_98e893221c89); +windows_core::imp::define_interface!(IWMInterlaceProps, IWMInterlaceProps_Vtbl, 0x7b12e5d1_bd22_48ea_bc06_98e893221c89); windows_core::imp::interface_hierarchy!(IWMInterlaceProps, windows_core::IUnknown); impl IWMInterlaceProps { pub unsafe fn SetProcessType(&self, iprocesstype: i32) -> windows_core::Result<()> { @@ -18917,7 +18917,7 @@ pub struct IWMInterlaceProps_Vtbl { pub SetInitInverseTeleCinePattern: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SetLastFrame: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMResamplerProps, IWMResamplerProps_Vtbl, 0xe7e9984f_f09f_4da4_903f_6e2e0efe56b5); +windows_core::imp::define_interface!(IWMResamplerProps, IWMResamplerProps_Vtbl, 0xe7e9984f_f09f_4da4_903f_6e2e0efe56b5); windows_core::imp::interface_hierarchy!(IWMResamplerProps, windows_core::IUnknown); impl IWMResamplerProps { pub unsafe fn SetHalfFilterLength(&self, lhalffilterlen: i32) -> windows_core::Result<()> { @@ -18933,7 +18933,7 @@ pub struct IWMResamplerProps_Vtbl { pub SetHalfFilterLength: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub SetUserChannelMtx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMResizerProps, IWMResizerProps_Vtbl, 0x57665d4c_0414_4faa_905b_10e546f81c33); +windows_core::imp::define_interface!(IWMResizerProps, IWMResizerProps_Vtbl, 0x57665d4c_0414_4faa_905b_10e546f81c33); windows_core::imp::interface_hierarchy!(IWMResizerProps, windows_core::IUnknown); impl IWMResizerProps { pub unsafe fn SetResizerQuality(&self, lquality: i32) -> windows_core::Result<()> { @@ -18961,7 +18961,7 @@ pub struct IWMResizerProps_Vtbl { pub SetFullCropRegion: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32, i32, i32, i32, i32) -> windows_core::HRESULT, pub GetFullCropRegion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32, *mut i32, *mut i32, *mut i32, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMSampleExtensionSupport, IWMSampleExtensionSupport_Vtbl, 0x9bca9884_0604_4c2a_87da_793ff4d586c3); +windows_core::imp::define_interface!(IWMSampleExtensionSupport, IWMSampleExtensionSupport_Vtbl, 0x9bca9884_0604_4c2a_87da_793ff4d586c3); windows_core::imp::interface_hierarchy!(IWMSampleExtensionSupport, windows_core::IUnknown); impl IWMSampleExtensionSupport { pub unsafe fn SetUseSampleExtensions(&self, fuseextensions: P0) -> windows_core::Result<()> @@ -18976,7 +18976,7 @@ pub struct IWMSampleExtensionSupport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetUseSampleExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMValidate, IWMValidate_Vtbl, 0xcee3def2_3808_414d_be66_fafd472210bc); +windows_core::imp::define_interface!(IWMValidate, IWMValidate_Vtbl, 0xcee3def2_3808_414d_be66_fafd472210bc); windows_core::imp::interface_hierarchy!(IWMValidate, windows_core::IUnknown); impl IWMValidate { pub unsafe fn SetIdentifier(&self, guidvalidationid: windows_core::GUID) -> windows_core::Result<()> { @@ -18988,7 +18988,7 @@ pub struct IWMValidate_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMVideoDecoderHurryup, IWMVideoDecoderHurryup_Vtbl, 0x352bb3bd_2d4d_4323_9e71_dcdcfbd53ca6); +windows_core::imp::define_interface!(IWMVideoDecoderHurryup, IWMVideoDecoderHurryup_Vtbl, 0x352bb3bd_2d4d_4323_9e71_dcdcfbd53ca6); windows_core::imp::interface_hierarchy!(IWMVideoDecoderHurryup, windows_core::IUnknown); impl IWMVideoDecoderHurryup { pub unsafe fn SetHurryup(&self, lhurryup: i32) -> windows_core::Result<()> { @@ -19004,7 +19004,7 @@ pub struct IWMVideoDecoderHurryup_Vtbl { pub SetHurryup: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetHurryup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMVideoDecoderReconBuffer, IWMVideoDecoderReconBuffer_Vtbl, 0x45bda2ac_88e2_4923_98ba_3949080711a3); +windows_core::imp::define_interface!(IWMVideoDecoderReconBuffer, IWMVideoDecoderReconBuffer_Vtbl, 0x45bda2ac_88e2_4923_98ba_3949080711a3); windows_core::imp::interface_hierarchy!(IWMVideoDecoderReconBuffer, windows_core::IUnknown); impl IWMVideoDecoderReconBuffer { pub unsafe fn GetReconstructedVideoFrameSize(&self, pdwsize: *mut u32) -> windows_core::Result<()> { @@ -19038,7 +19038,7 @@ pub struct IWMVideoDecoderReconBuffer_Vtbl { #[cfg(not(feature = "Win32_Media_DxMediaObjects"))] SetReconstructedVideoFrame: usize, } -windows_core::imp::com_interface!(IWMVideoForceKeyFrame, IWMVideoForceKeyFrame_Vtbl, 0x9f8496be_5b9a_41b9_a9e8_f21cd80596c2); +windows_core::imp::define_interface!(IWMVideoForceKeyFrame, IWMVideoForceKeyFrame_Vtbl, 0x9f8496be_5b9a_41b9_a9e8_f21cd80596c2); windows_core::imp::interface_hierarchy!(IWMVideoForceKeyFrame, windows_core::IUnknown); impl IWMVideoForceKeyFrame { pub unsafe fn SetKeyFrame(&self) -> windows_core::Result<()> { @@ -19050,7 +19050,7 @@ pub struct IWMVideoForceKeyFrame_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetKeyFrame: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(MFASYNCRESULT, MFASYNCRESULT_Vtbl, 0); +windows_core::imp::define_interface!(MFASYNCRESULT, MFASYNCRESULT_Vtbl, 0); windows_core::imp::interface_hierarchy!(MFASYNCRESULT, windows_core::IUnknown, IMFAsyncResult); impl MFASYNCRESULT { pub unsafe fn GetState(&self) -> windows_core::Result { 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 ce3d1248b5..c862db859f 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFeed, IFeed_Vtbl, 0xf7f915d8_2ede_42bc_98e7_a5d05063a757); +windows_core::imp::define_interface!(IFeed, IFeed_Vtbl, 0xf7f915d8_2ede_42bc_98e7_a5d05063a757); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFeed, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -250,7 +250,7 @@ pub struct IFeed_Vtbl { pub ItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFeed2, IFeed2_Vtbl, 0x33f2ea09_1398_4ab9_b6a4_f94b49d0a42e); +windows_core::imp::define_interface!(IFeed2, IFeed2_Vtbl, 0x33f2ea09_1398_4ab9_b6a4_f94b49d0a42e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFeed2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFeed); #[cfg(feature = "Win32_System_Com")] @@ -481,7 +481,7 @@ pub struct IFeed2_Vtbl { pub ClearCredentials: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFeedEnclosure, IFeedEnclosure_Vtbl, 0x361c26f7_90a4_4e67_ae09_3a36a546436a); +windows_core::imp::define_interface!(IFeedEnclosure, IFeedEnclosure_Vtbl, 0x361c26f7_90a4_4e67_ae09_3a36a546436a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFeedEnclosure, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -564,7 +564,7 @@ pub struct IFeedEnclosure_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFeedEvents, IFeedEvents_Vtbl, 0xabf35c99_0681_47ea_9a8c_1436a375a99e); +windows_core::imp::define_interface!(IFeedEvents, IFeedEvents_Vtbl, 0xabf35c99_0681_47ea_9a8c_1436a375a99e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFeedEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -631,7 +631,7 @@ pub struct IFeedEvents_Vtbl { pub FeedItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFeedFolder, IFeedFolder_Vtbl, 0x81f04ad1_4194_4d7d_86d6_11813cec163c); +windows_core::imp::define_interface!(IFeedFolder, IFeedFolder_Vtbl, 0x81f04ad1_4194_4d7d_86d6_11813cec163c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFeedFolder, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -787,7 +787,7 @@ pub struct IFeedFolder_Vtbl { GetWatcher: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFeedFolderEvents, IFeedFolderEvents_Vtbl, 0x20a59fa6_a844_4630_9e98_175f70b4d55b); +windows_core::imp::define_interface!(IFeedFolderEvents, IFeedFolderEvents_Vtbl, 0x20a59fa6_a844_4630_9e98_175f70b4d55b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFeedFolderEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -914,7 +914,7 @@ pub struct IFeedFolderEvents_Vtbl { pub FeedItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFeedItem, IFeedItem_Vtbl, 0x0a1e6cad_0a47_4da2_a13d_5baaa5c8bd4f); +windows_core::imp::define_interface!(IFeedItem, IFeedItem_Vtbl, 0x0a1e6cad_0a47_4da2_a13d_5baaa5c8bd4f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFeedItem, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1020,7 +1020,7 @@ pub struct IFeedItem_Vtbl { pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFeedItem2, IFeedItem2_Vtbl, 0x79ac9ef4_f9c1_4d2b_a50b_a7ffba4dcf37); +windows_core::imp::define_interface!(IFeedItem2, IFeedItem2_Vtbl, 0x79ac9ef4_f9c1_4d2b_a50b_a7ffba4dcf37); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFeedItem2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFeedItem); #[cfg(feature = "Win32_System_Com")] @@ -1108,7 +1108,7 @@ pub struct IFeedItem2_Vtbl { pub EffectiveId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFeedsEnum, IFeedsEnum_Vtbl, 0xe3cd0028_2eed_4c60_8fae_a3225309a836); +windows_core::imp::define_interface!(IFeedsEnum, IFeedsEnum_Vtbl, 0xe3cd0028_2eed_4c60_8fae_a3225309a836); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFeedsEnum, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1143,7 +1143,7 @@ pub struct IFeedsEnum_Vtbl { _NewEnum: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFeedsManager, IFeedsManager_Vtbl, 0xa74029cc_1f1a_4906_88f0_810638d86591); +windows_core::imp::define_interface!(IFeedsManager, IFeedsManager_Vtbl, 0xa74029cc_1f1a_4906_88f0_810638d86591); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFeedsManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1272,7 +1272,7 @@ pub struct IFeedsManager_Vtbl { pub Normalize: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub ItemCountLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPAudioRenderConfig, IWMPAudioRenderConfig_Vtbl, 0xe79c6349_5997_4ce4_917c_22a3391ec564); +windows_core::imp::define_interface!(IWMPAudioRenderConfig, IWMPAudioRenderConfig_Vtbl, 0xe79c6349_5997_4ce4_917c_22a3391ec564); windows_core::imp::interface_hierarchy!(IWMPAudioRenderConfig, windows_core::IUnknown); impl IWMPAudioRenderConfig { pub unsafe fn audioOutputDevice(&self, pbstroutputdevice: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -1292,7 +1292,7 @@ pub struct IWMPAudioRenderConfig_Vtbl { pub SetaudioOutputDevice: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPCdrom, IWMPCdrom_Vtbl, 0xcfab6e98_8730_11d3_b388_00c04f68574b); +windows_core::imp::define_interface!(IWMPCdrom, IWMPCdrom_Vtbl, 0xcfab6e98_8730_11d3_b388_00c04f68574b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPCdrom, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1320,7 +1320,7 @@ pub struct IWMPCdrom_Vtbl { playlist: usize, pub eject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPCdromBurn, IWMPCdromBurn_Vtbl, 0xbd94dbeb_417f_4928_aa06_087d56ed9b59); +windows_core::imp::define_interface!(IWMPCdromBurn, IWMPCdromBurn_Vtbl, 0xbd94dbeb_417f_4928_aa06_087d56ed9b59); windows_core::imp::interface_hierarchy!(IWMPCdromBurn, windows_core::IUnknown); impl IWMPCdromBurn { pub unsafe fn isAvailable(&self, bstritem: P0, pisavailable: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> @@ -1406,7 +1406,7 @@ pub struct IWMPCdromBurn_Vtbl { pub erase: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPCdromCollection, IWMPCdromCollection_Vtbl, 0xee4c8fe2_34b2_11d3_a3bf_006097c9b344); +windows_core::imp::define_interface!(IWMPCdromCollection, IWMPCdromCollection_Vtbl, 0xee4c8fe2_34b2_11d3_a3bf_006097c9b344); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPCdromCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1442,7 +1442,7 @@ pub struct IWMPCdromCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] getByDriveSpecifier: usize, } -windows_core::imp::com_interface!(IWMPCdromRip, IWMPCdromRip_Vtbl, 0x56e2294f_69ed_4629_a869_aea72c0dcc2c); +windows_core::imp::define_interface!(IWMPCdromRip, IWMPCdromRip_Vtbl, 0x56e2294f_69ed_4629_a869_aea72c0dcc2c); windows_core::imp::interface_hierarchy!(IWMPCdromRip, windows_core::IUnknown); impl IWMPCdromRip { pub unsafe fn ripState(&self, pwmprs: *mut WMPRipState) -> windows_core::Result<()> { @@ -1467,7 +1467,7 @@ pub struct IWMPCdromRip_Vtbl { pub stopRip: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPClosedCaption, IWMPClosedCaption_Vtbl, 0x4f2df574_c588_11d3_9ed0_00c04fb6e937); +windows_core::imp::define_interface!(IWMPClosedCaption, IWMPClosedCaption_Vtbl, 0x4f2df574_c588_11d3_9ed0_00c04fb6e937); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPClosedCaption, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1523,7 +1523,7 @@ pub struct IWMPClosedCaption_Vtbl { pub SetcaptioningId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPClosedCaption2, IWMPClosedCaption2_Vtbl, 0x350ba78b_6bc8_4113_a5f5_312056934eb6); +windows_core::imp::define_interface!(IWMPClosedCaption2, IWMPClosedCaption2_Vtbl, 0x350ba78b_6bc8_4113_a5f5_312056934eb6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPClosedCaption2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPClosedCaption); #[cfg(feature = "Win32_System_Com")] @@ -1590,7 +1590,7 @@ pub struct IWMPClosedCaption2_Vtbl { 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, } -windows_core::imp::com_interface!(IWMPContentContainer, IWMPContentContainer_Vtbl, 0xad7f4d9c_1a9f_4ed2_9815_ecc0b58cb616); +windows_core::imp::define_interface!(IWMPContentContainer, IWMPContentContainer_Vtbl, 0xad7f4d9c_1a9f_4ed2_9815_ecc0b58cb616); windows_core::imp::interface_hierarchy!(IWMPContentContainer, windows_core::IUnknown); impl IWMPContentContainer { pub unsafe fn GetID(&self) -> windows_core::Result { @@ -1628,7 +1628,7 @@ pub struct IWMPContentContainer_Vtbl { pub GetContentPrice: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut std::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::com_interface!(IWMPContentContainerList, IWMPContentContainerList_Vtbl, 0xa9937f78_0802_4af8_8b8d_e3f045bc8ab5); +windows_core::imp::define_interface!(IWMPContentContainerList, IWMPContentContainerList_Vtbl, 0xa9937f78_0802_4af8_8b8d_e3f045bc8ab5); windows_core::imp::interface_hierarchy!(IWMPContentContainerList, windows_core::IUnknown); impl IWMPContentContainerList { pub unsafe fn GetTransactionType(&self) -> windows_core::Result { @@ -1651,7 +1651,7 @@ pub struct IWMPContentContainerList_Vtbl { pub GetContainerCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetContainer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPContentPartner, IWMPContentPartner_Vtbl, 0x55455073_41b5_4e75_87b8_f13bdb291d08); +windows_core::imp::define_interface!(IWMPContentPartner, IWMPContentPartner_Vtbl, 0x55455073_41b5_4e75_87b8_f13bdb291d08); windows_core::imp::interface_hierarchy!(IWMPContentPartner, windows_core::IUnknown); impl IWMPContentPartner { pub unsafe fn SetCallback(&self, pcallback: P0) -> windows_core::Result<()> @@ -1830,7 +1830,7 @@ pub struct IWMPContentPartner_Vtbl { 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, } -windows_core::imp::com_interface!(IWMPContentPartnerCallback, IWMPContentPartnerCallback_Vtbl, 0x9e8f7da2_0695_403c_b697_da10fafaa676); +windows_core::imp::define_interface!(IWMPContentPartnerCallback, IWMPContentPartnerCallback_Vtbl, 0x9e8f7da2_0695_403c_b697_da10fafaa676); windows_core::imp::interface_hierarchy!(IWMPContentPartnerCallback, windows_core::IUnknown); impl IWMPContentPartnerCallback { pub unsafe fn Notify(&self, r#type: WMPCallbackNotification, pcontext: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -1914,7 +1914,7 @@ pub struct IWMPContentPartnerCallback_Vtbl { pub VerifyPermissionComplete: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *const std::mem::MaybeUninit, windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPControls, IWMPControls_Vtbl, 0x74c09e02_f828_11d2_a74b_00a0c905f36e); +windows_core::imp::define_interface!(IWMPControls, IWMPControls_Vtbl, 0x74c09e02_f828_11d2_a74b_00a0c905f36e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPControls, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2012,7 +2012,7 @@ pub struct IWMPControls_Vtbl { playItem: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPControls2, IWMPControls2_Vtbl, 0x6f030d25_0890_480f_9775_1f7e40ab5b8e); +windows_core::imp::define_interface!(IWMPControls2, IWMPControls2_Vtbl, 0x6f030d25_0890_480f_9775_1f7e40ab5b8e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPControls2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPControls); #[cfg(feature = "Win32_System_Com")] @@ -2089,7 +2089,7 @@ pub struct IWMPControls2_Vtbl { pub step: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPControls3, IWMPControls3_Vtbl, 0xa1d1110e_d545_476a_9a78_ac3e4cb1e6bd); +windows_core::imp::define_interface!(IWMPControls3, IWMPControls3_Vtbl, 0xa1d1110e_d545_476a_9a78_ac3e4cb1e6bd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPControls3, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPControls, IWMPControls2); #[cfg(feature = "Win32_System_Com")] @@ -2207,7 +2207,7 @@ pub struct IWMPControls3_Vtbl { 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, } -windows_core::imp::com_interface!(IWMPConvert, IWMPConvert_Vtbl, 0xd683162f_57d4_4108_8373_4a9676d1c2e9); +windows_core::imp::define_interface!(IWMPConvert, IWMPConvert_Vtbl, 0xd683162f_57d4_4108_8373_4a9676d1c2e9); windows_core::imp::interface_hierarchy!(IWMPConvert, windows_core::IUnknown); impl IWMPConvert { pub unsafe fn ConvertFile(&self, bstrinputfile: P0, bstrdestinationfolder: P1, pbstroutputfile: *mut windows_core::BSTR) -> windows_core::Result<()> @@ -2228,7 +2228,7 @@ pub struct IWMPConvert_Vtbl { pub GetErrorURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPCore, IWMPCore_Vtbl, 0xd84cca99_cce2_11d2_9ecc_0000f8085981); +windows_core::imp::define_interface!(IWMPCore, IWMPCore_Vtbl, 0xd84cca99_cce2_11d2_9ecc_0000f8085981); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPCore, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2394,7 +2394,7 @@ pub struct IWMPCore_Vtbl { pub status: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPCore2, IWMPCore2_Vtbl, 0xbc17e5b7_7561_4c18_bb90_17d485775659); +windows_core::imp::define_interface!(IWMPCore2, IWMPCore2_Vtbl, 0xbc17e5b7_7561_4c18_bb90_17d485775659); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPCore2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); #[cfg(feature = "Win32_System_Com")] @@ -2512,7 +2512,7 @@ pub struct IWMPCore2_Vtbl { dvd: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPCore3, IWMPCore3_Vtbl, 0x7587c667_628f_499f_88e7_6a6f4e888464); +windows_core::imp::define_interface!(IWMPCore3, IWMPCore3_Vtbl, 0x7587c667_628f_499f_88e7_6a6f4e888464); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPCore3, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2); #[cfg(feature = "Win32_System_Com")] @@ -2651,7 +2651,7 @@ pub struct IWMPCore3_Vtbl { newMedia: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPDVD, IWMPDVD_Vtbl, 0x8da61686_4668_4a5c_ae5d_803193293dbe); +windows_core::imp::define_interface!(IWMPDVD, IWMPDVD_Vtbl, 0x8da61686_4668_4a5c_ae5d_803193293dbe); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPDVD, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2690,7 +2690,7 @@ pub struct IWMPDVD_Vtbl { pub resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPDownloadCollection, IWMPDownloadCollection_Vtbl, 0x0a319c7f_85f9_436c_b88e_82fd88000e1c); +windows_core::imp::define_interface!(IWMPDownloadCollection, IWMPDownloadCollection_Vtbl, 0x0a319c7f_85f9_436c_b88e_82fd88000e1c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPDownloadCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2740,7 +2740,7 @@ pub struct IWMPDownloadCollection_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPDownloadItem, IWMPDownloadItem_Vtbl, 0xc9470e8e_3f6b_46a9_a0a9_452815c34297); +windows_core::imp::define_interface!(IWMPDownloadItem, IWMPDownloadItem_Vtbl, 0xc9470e8e_3f6b_46a9_a0a9_452815c34297); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPDownloadItem, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2784,7 +2784,7 @@ pub struct IWMPDownloadItem_Vtbl { pub cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPDownloadItem2, IWMPDownloadItem2_Vtbl, 0x9fbb3336_6da3_479d_b8ff_67d46e20a987); +windows_core::imp::define_interface!(IWMPDownloadItem2, IWMPDownloadItem2_Vtbl, 0x9fbb3336_6da3_479d_b8ff_67d46e20a987); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPDownloadItem2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPDownloadItem); #[cfg(feature = "Win32_System_Com")] @@ -2827,7 +2827,7 @@ pub struct IWMPDownloadItem2_Vtbl { pub getItemInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPDownloadManager, IWMPDownloadManager_Vtbl, 0xe15e9ad1_8f20_4cc4_9ec7_1a328ca86a0d); +windows_core::imp::define_interface!(IWMPDownloadManager, IWMPDownloadManager_Vtbl, 0xe15e9ad1_8f20_4cc4_9ec7_1a328ca86a0d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPDownloadManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2856,7 +2856,7 @@ pub struct IWMPDownloadManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] createDownloadCollection: usize, } -windows_core::imp::com_interface!(IWMPEffects, IWMPEffects_Vtbl, 0xd3984c13_c3cb_48e2_8be5_5168340b4f35); +windows_core::imp::define_interface!(IWMPEffects, IWMPEffects_Vtbl, 0xd3984c13_c3cb_48e2_8be5_5168340b4f35); windows_core::imp::interface_hierarchy!(IWMPEffects, windows_core::IUnknown); impl IWMPEffects { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -2924,7 +2924,7 @@ pub struct IWMPEffects_Vtbl { pub GoFullscreen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub RenderFullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedLevel) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPEffects2, IWMPEffects2_Vtbl, 0x695386ec_aa3c_4618_a5e1_dd9a8b987632); +windows_core::imp::define_interface!(IWMPEffects2, IWMPEffects2_Vtbl, 0x695386ec_aa3c_4618_a5e1_dd9a8b987632); windows_core::imp::interface_hierarchy!(IWMPEffects2, windows_core::IUnknown, IWMPEffects); impl IWMPEffects2 { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -3027,7 +3027,7 @@ pub struct IWMPEffects2_Vtbl { pub RenderWindowed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TimedLevel, super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPError, IWMPError_Vtbl, 0xa12dcf7d_14ab_4c1b_a8cd_63909f06025b); +windows_core::imp::define_interface!(IWMPError, IWMPError_Vtbl, 0xa12dcf7d_14ab_4c1b_a8cd_63909f06025b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPError, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3060,7 +3060,7 @@ pub struct IWMPError_Vtbl { pub webHelp: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPErrorItem, IWMPErrorItem_Vtbl, 0x3614c646_3b3b_4de7_a81e_930e3f2127b3); +windows_core::imp::define_interface!(IWMPErrorItem, IWMPErrorItem_Vtbl, 0x3614c646_3b3b_4de7_a81e_930e3f2127b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPErrorItem, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3092,7 +3092,7 @@ pub struct IWMPErrorItem_Vtbl { pub customUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPErrorItem2, IWMPErrorItem2_Vtbl, 0xf75ccec0_c67c_475c_931e_8719870bee7d); +windows_core::imp::define_interface!(IWMPErrorItem2, IWMPErrorItem2_Vtbl, 0xf75ccec0_c67c_475c_931e_8719870bee7d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPErrorItem2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPErrorItem); #[cfg(feature = "Win32_System_Com")] @@ -3122,7 +3122,7 @@ pub struct IWMPErrorItem2_Vtbl { pub base__: IWMPErrorItem_Vtbl, pub condition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPEvents, IWMPEvents_Vtbl, 0x19a6627b_da9e_47c1_bb23_00b5e668236a); +windows_core::imp::define_interface!(IWMPEvents, IWMPEvents_Vtbl, 0x19a6627b_da9e_47c1_bb23_00b5e668236a); windows_core::imp::interface_hierarchy!(IWMPEvents, windows_core::IUnknown); impl IWMPEvents { pub unsafe fn OpenStateChange(&self, newstate: i32) { @@ -3391,7 +3391,7 @@ pub struct IWMPEvents_Vtbl { pub MouseMove: unsafe extern "system" fn(*mut core::ffi::c_void, i16, i16, i32, i32), pub MouseUp: unsafe extern "system" fn(*mut core::ffi::c_void, i16, i16, i32, i32), } -windows_core::imp::com_interface!(IWMPEvents2, IWMPEvents2_Vtbl, 0x1e7601fa_47ea_4107_9ea9_9004ed9684ff); +windows_core::imp::define_interface!(IWMPEvents2, IWMPEvents2_Vtbl, 0x1e7601fa_47ea_4107_9ea9_9004ed9684ff); windows_core::imp::interface_hierarchy!(IWMPEvents2, windows_core::IUnknown, IWMPEvents); impl IWMPEvents2 { pub unsafe fn OpenStateChange(&self, newstate: i32) { @@ -3647,7 +3647,7 @@ pub struct IWMPEvents2_Vtbl { DeviceSyncError: usize, pub CreatePartnershipComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::HRESULT), } -windows_core::imp::com_interface!(IWMPEvents3, IWMPEvents3_Vtbl, 0x1f504270_a66b_4223_8e96_26a06c63d69f); +windows_core::imp::define_interface!(IWMPEvents3, IWMPEvents3_Vtbl, 0x1f504270_a66b_4223_8e96_26a06c63d69f); windows_core::imp::interface_hierarchy!(IWMPEvents3, windows_core::IUnknown, IWMPEvents, IWMPEvents2); impl IWMPEvents3 { pub unsafe fn OpenStateChange(&self, newstate: i32) { @@ -3990,7 +3990,7 @@ pub struct IWMPEvents3_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] MediaCollectionMediaRemoved: usize, } -windows_core::imp::com_interface!(IWMPEvents4, IWMPEvents4_Vtbl, 0x26dabcfa_306b_404d_9a6f_630a8405048d); +windows_core::imp::define_interface!(IWMPEvents4, IWMPEvents4_Vtbl, 0x26dabcfa_306b_404d_9a6f_630a8405048d); windows_core::imp::interface_hierarchy!(IWMPEvents4, windows_core::IUnknown, IWMPEvents, IWMPEvents2, IWMPEvents3); impl IWMPEvents4 { pub unsafe fn OpenStateChange(&self, newstate: i32) { @@ -4314,7 +4314,7 @@ pub struct IWMPEvents4_Vtbl { pub base__: IWMPEvents3_Vtbl, pub DeviceEstimation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::HRESULT, i64, i64), } -windows_core::imp::com_interface!(IWMPFolderMonitorServices, IWMPFolderMonitorServices_Vtbl, 0x788c8743_e57f_439d_a468_5bc77f2e59c6); +windows_core::imp::define_interface!(IWMPFolderMonitorServices, IWMPFolderMonitorServices_Vtbl, 0x788c8743_e57f_439d_a468_5bc77f2e59c6); windows_core::imp::interface_hierarchy!(IWMPFolderMonitorServices, windows_core::IUnknown); impl IWMPFolderMonitorServices { pub unsafe fn count(&self, plcount: *mut i32) -> windows_core::Result<()> { @@ -4369,7 +4369,7 @@ pub struct IWMPFolderMonitorServices_Vtbl { pub startScan: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub stopScan: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPGraphCreation, IWMPGraphCreation_Vtbl, 0xbfb377e5_c594_4369_a970_de896d5ece74); +windows_core::imp::define_interface!(IWMPGraphCreation, IWMPGraphCreation_Vtbl, 0xbfb377e5_c594_4369_a970_de896d5ece74); windows_core::imp::interface_hierarchy!(IWMPGraphCreation, windows_core::IUnknown); impl IWMPGraphCreation { pub unsafe fn GraphCreationPreRender(&self, pfiltergraph: P0, preserved: P1) -> windows_core::Result<()> @@ -4396,7 +4396,7 @@ pub struct IWMPGraphCreation_Vtbl { pub GraphCreationPostRender: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetGraphCreationFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPLibrary, IWMPLibrary_Vtbl, 0x3df47861_7df1_4c1f_a81b_4c26f0f7a7c6); +windows_core::imp::define_interface!(IWMPLibrary, IWMPLibrary_Vtbl, 0x3df47861_7df1_4c1f_a81b_4c26f0f7a7c6); windows_core::imp::interface_hierarchy!(IWMPLibrary, windows_core::IUnknown); impl IWMPLibrary { pub unsafe fn name(&self, pbstrname: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4428,7 +4428,7 @@ pub struct IWMPLibrary_Vtbl { mediaCollection: usize, pub isIdentical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPLibrary2, IWMPLibrary2_Vtbl, 0xdd578a4e_79b1_426c_bf8f_3add9072500b); +windows_core::imp::define_interface!(IWMPLibrary2, IWMPLibrary2_Vtbl, 0xdd578a4e_79b1_426c_bf8f_3add9072500b); windows_core::imp::interface_hierarchy!(IWMPLibrary2, windows_core::IUnknown, IWMPLibrary); impl IWMPLibrary2 { pub unsafe fn name(&self, pbstrname: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4460,7 +4460,7 @@ 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, } -windows_core::imp::com_interface!(IWMPLibraryServices, IWMPLibraryServices_Vtbl, 0x39c2f8d5_1cf2_4d5e_ae09_d73492cf9eaa); +windows_core::imp::define_interface!(IWMPLibraryServices, IWMPLibraryServices_Vtbl, 0x39c2f8d5_1cf2_4d5e_ae09_d73492cf9eaa); windows_core::imp::interface_hierarchy!(IWMPLibraryServices, windows_core::IUnknown); impl IWMPLibraryServices { pub unsafe fn getCountByType(&self, wmplt: WMPLibraryType, plcount: *mut i32) -> windows_core::Result<()> { @@ -4477,7 +4477,7 @@ pub struct IWMPLibraryServices_Vtbl { pub getCountByType: unsafe extern "system" fn(*mut core::ffi::c_void, WMPLibraryType, *mut i32) -> windows_core::HRESULT, pub getLibraryByType: unsafe extern "system" fn(*mut core::ffi::c_void, WMPLibraryType, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPLibrarySharingServices, IWMPLibrarySharingServices_Vtbl, 0x82cba86b_9f04_474b_a365_d6dd1466e541); +windows_core::imp::define_interface!(IWMPLibrarySharingServices, IWMPLibrarySharingServices_Vtbl, 0x82cba86b_9f04_474b_a365_d6dd1466e541); windows_core::imp::interface_hierarchy!(IWMPLibrarySharingServices, windows_core::IUnknown); impl IWMPLibrarySharingServices { pub unsafe fn isLibraryShared(&self, pvbshared: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { @@ -4498,7 +4498,7 @@ pub struct IWMPLibrarySharingServices_Vtbl { pub showLibrarySharing: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPMedia, IWMPMedia_Vtbl, 0x94d55e95_3fac_11d3_b155_00c04f79faa6); +windows_core::imp::define_interface!(IWMPMedia, IWMPMedia_Vtbl, 0x94d55e95_3fac_11d3_b155_00c04f79faa6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPMedia, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4609,7 +4609,7 @@ pub struct IWMPMedia_Vtbl { pub isReadOnlyItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPMedia2, IWMPMedia2_Vtbl, 0xab7c88bb_143e_4ea4_acc3_e4350b2106c3); +windows_core::imp::define_interface!(IWMPMedia2, IWMPMedia2_Vtbl, 0xab7c88bb_143e_4ea4_acc3_e4350b2106c3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPMedia2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPMedia); #[cfg(feature = "Win32_System_Com")] @@ -4705,7 +4705,7 @@ pub struct IWMPMedia2_Vtbl { error: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPMedia3, IWMPMedia3_Vtbl, 0xf118efc7_f03a_4fb4_99c9_1c02a5c1065b); +windows_core::imp::define_interface!(IWMPMedia3, IWMPMedia3_Vtbl, 0xf118efc7_f03a_4fb4_99c9_1c02a5c1065b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPMedia3, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPMedia, IWMPMedia2); #[cfg(feature = "Win32_System_Com")] @@ -4813,7 +4813,7 @@ pub struct IWMPMedia3_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPMediaCollection, IWMPMediaCollection_Vtbl, 0x8363bc22_b4b4_4b19_989d_1cd765749dd1); +windows_core::imp::define_interface!(IWMPMediaCollection, IWMPMediaCollection_Vtbl, 0x8363bc22_b4b4_4b19_989d_1cd765749dd1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPMediaCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4962,7 +4962,7 @@ pub struct IWMPMediaCollection_Vtbl { isDeleted: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPMediaCollection2, IWMPMediaCollection2_Vtbl, 0x8ba957f5_fd8c_4791_b82d_f840401ee474); +windows_core::imp::define_interface!(IWMPMediaCollection2, IWMPMediaCollection2_Vtbl, 0x8ba957f5_fd8c_4791_b82d_f840401ee474); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPMediaCollection2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPMediaCollection); #[cfg(feature = "Win32_System_Com")] @@ -5119,7 +5119,7 @@ pub struct IWMPMediaCollection2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] getByAttributeAndMediaType: usize, } -windows_core::imp::com_interface!(IWMPMediaPluginRegistrar, IWMPMediaPluginRegistrar_Vtbl, 0x68e27045_05bd_40b2_9720_23088c78e390); +windows_core::imp::define_interface!(IWMPMediaPluginRegistrar, IWMPMediaPluginRegistrar_Vtbl, 0x68e27045_05bd_40b2_9720_23088c78e390); windows_core::imp::interface_hierarchy!(IWMPMediaPluginRegistrar, windows_core::IUnknown); impl IWMPMediaPluginRegistrar { pub unsafe fn WMPRegisterPlayerPlugin(&self, pwszfriendlyname: P0, pwszdescription: P1, pwszuninstallstring: P2, dwpriority: u32, guidplugintype: windows_core::GUID, clsid: windows_core::GUID, cmediatypes: u32, pmediatypes: *mut core::ffi::c_void) -> windows_core::Result<()> @@ -5141,7 +5141,7 @@ pub struct IWMPMediaPluginRegistrar_Vtbl { pub WMPUnRegisterPlayerPlugin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPMetadataPicture, IWMPMetadataPicture_Vtbl, 0x5c29bbe0_f87d_4c45_aa28_a70f0230ffa9); +windows_core::imp::define_interface!(IWMPMetadataPicture, IWMPMetadataPicture_Vtbl, 0x5c29bbe0_f87d_4c45_aa28_a70f0230ffa9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPMetadataPicture, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5169,7 +5169,7 @@ pub struct IWMPMetadataPicture_Vtbl { pub URL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPMetadataText, IWMPMetadataText_Vtbl, 0x769a72db_13d2_45e2_9c48_53ca9d5b7450); +windows_core::imp::define_interface!(IWMPMetadataText, IWMPMetadataText_Vtbl, 0x769a72db_13d2_45e2_9c48_53ca9d5b7450); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPMetadataText, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5189,7 +5189,7 @@ pub struct IWMPMetadataText_Vtbl { pub text: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPNetwork, IWMPNetwork_Vtbl, 0xec21b779_edef_462d_bba4_ad9dde2b29a7); +windows_core::imp::define_interface!(IWMPNetwork, IWMPNetwork_Vtbl, 0xec21b779_edef_462d_bba4_ad9dde2b29a7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPNetwork, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5345,7 +5345,7 @@ pub struct IWMPNetwork_Vtbl { pub encodedFrameRate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub framesSkipped: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPNodeRealEstate, IWMPNodeRealEstate_Vtbl, 0x42751198_5a50_4460_bcb4_709f8bdc8e59); +windows_core::imp::define_interface!(IWMPNodeRealEstate, IWMPNodeRealEstate_Vtbl, 0x42751198_5a50_4460_bcb4_709f8bdc8e59); windows_core::imp::interface_hierarchy!(IWMPNodeRealEstate, windows_core::IUnknown); impl IWMPNodeRealEstate { pub unsafe fn GetDesiredSize(&self, psize: *mut super::super::Foundation::SIZE) -> windows_core::Result<()> { @@ -5387,7 +5387,7 @@ pub struct IWMPNodeRealEstate_Vtbl { pub SetFullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetFullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPNodeRealEstateHost, IWMPNodeRealEstateHost_Vtbl, 0x1491087d_2c6b_44c8_b019_b3c929d2ada9); +windows_core::imp::define_interface!(IWMPNodeRealEstateHost, IWMPNodeRealEstateHost_Vtbl, 0x1491087d_2c6b_44c8_b019_b3c929d2ada9); windows_core::imp::interface_hierarchy!(IWMPNodeRealEstateHost, windows_core::IUnknown); impl IWMPNodeRealEstateHost { pub unsafe fn OnDesiredSizeChange(&self, psize: *mut super::super::Foundation::SIZE) -> windows_core::Result<()> { @@ -5406,7 +5406,7 @@ pub struct IWMPNodeRealEstateHost_Vtbl { pub OnDesiredSizeChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SIZE) -> windows_core::HRESULT, pub OnFullScreenTransition: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPNodeWindowed, IWMPNodeWindowed_Vtbl, 0x96740bfa_c56a_45d1_a3a4_762914d4ade9); +windows_core::imp::define_interface!(IWMPNodeWindowed, IWMPNodeWindowed_Vtbl, 0x96740bfa_c56a_45d1_a3a4_762914d4ade9); windows_core::imp::interface_hierarchy!(IWMPNodeWindowed, windows_core::IUnknown); impl IWMPNodeWindowed { pub unsafe fn SetOwnerWindow(&self, hwnd: isize) -> windows_core::Result<()> { @@ -5422,7 +5422,7 @@ pub struct IWMPNodeWindowed_Vtbl { pub SetOwnerWindow: unsafe extern "system" fn(*mut core::ffi::c_void, isize) -> windows_core::HRESULT, pub GetOwnerWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut isize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPNodeWindowedHost, IWMPNodeWindowedHost_Vtbl, 0xa300415a_54aa_4081_adbf_3b13610d8958); +windows_core::imp::define_interface!(IWMPNodeWindowedHost, IWMPNodeWindowedHost_Vtbl, 0xa300415a_54aa_4081_adbf_3b13610d8958); windows_core::imp::interface_hierarchy!(IWMPNodeWindowedHost, windows_core::IUnknown); impl IWMPNodeWindowedHost { pub unsafe fn OnWindowMessageFromRenderer(&self, umsg: u32, wparam: P0, lparam: P1, plret: *mut super::super::Foundation::LRESULT, pfhandled: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -5438,7 +5438,7 @@ pub struct IWMPNodeWindowedHost_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnWindowMessageFromRenderer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPNodeWindowless, IWMPNodeWindowless_Vtbl, 0x9b9199ad_780c_4eda_b816_261eba5d1575); +windows_core::imp::define_interface!(IWMPNodeWindowless, IWMPNodeWindowless_Vtbl, 0x9b9199ad_780c_4eda_b816_261eba5d1575); windows_core::imp::interface_hierarchy!(IWMPNodeWindowless, windows_core::IUnknown, IWMPWindowMessageSink); impl IWMPNodeWindowless { pub unsafe fn OnWindowMessage(&self, umsg: u32, wparam: P0, lparam: P1, plret: *mut super::super::Foundation::LRESULT, pfhandled: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -5457,7 +5457,7 @@ pub struct IWMPNodeWindowless_Vtbl { pub base__: IWMPWindowMessageSink_Vtbl, pub OnDraw: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPNodeWindowlessHost, IWMPNodeWindowlessHost_Vtbl, 0xbe7017c6_ce34_4901_8106_770381aa6e3e); +windows_core::imp::define_interface!(IWMPNodeWindowlessHost, IWMPNodeWindowlessHost_Vtbl, 0xbe7017c6_ce34_4901_8106_770381aa6e3e); windows_core::imp::interface_hierarchy!(IWMPNodeWindowlessHost, windows_core::IUnknown); impl IWMPNodeWindowlessHost { pub unsafe fn InvalidateRect(&self, prc: *const super::super::Foundation::RECT, ferase: P0) -> windows_core::Result<()> @@ -5473,7 +5473,7 @@ pub struct IWMPNodeWindowlessHost_Vtbl { pub InvalidateRect: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPPlayer, IWMPPlayer_Vtbl, 0x6bf52a4f_394a_11d3_b153_00c04f79faa6); +windows_core::imp::define_interface!(IWMPPlayer, IWMPPlayer_Vtbl, 0x6bf52a4f_394a_11d3_b153_00c04f79faa6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPPlayer, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); #[cfg(feature = "Win32_System_Com")] @@ -5626,7 +5626,7 @@ pub struct IWMPPlayer_Vtbl { pub uiMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPPlayer2, IWMPPlayer2_Vtbl, 0x0e6b01d1_d407_4c85_bf5f_1c01f6150280); +windows_core::imp::define_interface!(IWMPPlayer2, IWMPPlayer2_Vtbl, 0x0e6b01d1_d407_4c85_bf5f_1c01f6150280); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPPlayer2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore); #[cfg(feature = "Win32_System_Com")] @@ -5801,7 +5801,7 @@ pub struct IWMPPlayer2_Vtbl { pub SetwindowlessVideo: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPPlayer3, IWMPPlayer3_Vtbl, 0x54062b68_052a_4c25_a39f_8b63346511d4); +windows_core::imp::define_interface!(IWMPPlayer3, IWMPPlayer3_Vtbl, 0x54062b68_052a_4c25_a39f_8b63346511d4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPPlayer3, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2); #[cfg(feature = "Win32_System_Com")] @@ -5981,7 +5981,7 @@ pub struct IWMPPlayer3_Vtbl { pub SetwindowlessVideo: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPPlayer4, IWMPPlayer4_Vtbl, 0x6c497d62_8919_413c_82db_e935fb3ec584); +windows_core::imp::define_interface!(IWMPPlayer4, IWMPPlayer4_Vtbl, 0x6c497d62_8919_413c_82db_e935fb3ec584); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPPlayer4, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPCore, IWMPCore2, IWMPCore3); #[cfg(feature = "Win32_System_Com")] @@ -6198,7 +6198,7 @@ pub struct IWMPPlayer4_Vtbl { pub openPlayer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPPlayerApplication, IWMPPlayerApplication_Vtbl, 0x40897764_ceab_47be_ad4a_8e28537f9bbf); +windows_core::imp::define_interface!(IWMPPlayerApplication, IWMPPlayerApplication_Vtbl, 0x40897764_ceab_47be_ad4a_8e28537f9bbf); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPPlayerApplication, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6225,7 +6225,7 @@ pub struct IWMPPlayerApplication_Vtbl { pub playerDocked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub hasDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPPlayerServices, IWMPPlayerServices_Vtbl, 0x1d01fbdb_ade2_4c8d_9842_c190b95c3306); +windows_core::imp::define_interface!(IWMPPlayerServices, IWMPPlayerServices_Vtbl, 0x1d01fbdb_ade2_4c8d_9842_c190b95c3306); windows_core::imp::interface_hierarchy!(IWMPPlayerServices, windows_core::IUnknown); impl IWMPPlayerServices { pub unsafe fn activateUIPlugin(&self, bstrplugin: P0) -> windows_core::Result<()> @@ -6256,7 +6256,7 @@ pub struct IWMPPlayerServices_Vtbl { 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, } -windows_core::imp::com_interface!(IWMPPlayerServices2, IWMPPlayerServices2_Vtbl, 0x1bb1592f_f040_418a_9f71_17c7512b4d70); +windows_core::imp::define_interface!(IWMPPlayerServices2, IWMPPlayerServices2_Vtbl, 0x1bb1592f_f040_418a_9f71_17c7512b4d70); windows_core::imp::interface_hierarchy!(IWMPPlayerServices2, windows_core::IUnknown, IWMPPlayerServices); impl IWMPPlayerServices2 { pub unsafe fn activateUIPlugin(&self, bstrplugin: P0) -> windows_core::Result<()> @@ -6292,7 +6292,7 @@ pub struct IWMPPlayerServices2_Vtbl { pub setBackgroundProcessingPriority: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPPlaylist, IWMPPlaylist_Vtbl, 0xd5f0f4f1_130c_11d3_b14e_00c04f79faa6); +windows_core::imp::define_interface!(IWMPPlaylist, IWMPPlaylist_Vtbl, 0xd5f0f4f1_130c_11d3_b14e_00c04f79faa6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPPlaylist, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6403,7 +6403,7 @@ pub struct IWMPPlaylist_Vtbl { pub moveItem: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPPlaylistArray, IWMPPlaylistArray_Vtbl, 0x679409c0_99f7_11d3_9fb7_00105aa620bb); +windows_core::imp::define_interface!(IWMPPlaylistArray, IWMPPlaylistArray_Vtbl, 0x679409c0_99f7_11d3_9fb7_00105aa620bb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPPlaylistArray, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6428,7 +6428,7 @@ pub struct IWMPPlaylistArray_Vtbl { item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPPlaylistCollection, IWMPPlaylistCollection_Vtbl, 0x10a13217_23a7_439b_b1c0_d847c79b7774); +windows_core::imp::define_interface!(IWMPPlaylistCollection, IWMPPlaylistCollection_Vtbl, 0x10a13217_23a7_439b_b1c0_d847c79b7774); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPPlaylistCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6518,7 +6518,7 @@ pub struct IWMPPlaylistCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] importPlaylist: usize, } -windows_core::imp::com_interface!(IWMPPlugin, IWMPPlugin_Vtbl, 0xf1392a70_024c_42bb_a998_73dfdfe7d5a7); +windows_core::imp::define_interface!(IWMPPlugin, IWMPPlugin_Vtbl, 0xf1392a70_024c_42bb_a998_73dfdfe7d5a7); windows_core::imp::interface_hierarchy!(IWMPPlugin, windows_core::IUnknown); impl IWMPPlugin { pub unsafe fn Init(&self, dwplaybackcontext: usize) -> windows_core::Result<()> { @@ -6553,7 +6553,7 @@ pub struct IWMPPlugin_Vtbl { pub AdviseWMPServices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnAdviseWMPServices: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPPluginEnable, IWMPPluginEnable_Vtbl, 0x5fca444c_7ad1_479d_a4ef_40566a5309d6); +windows_core::imp::define_interface!(IWMPPluginEnable, IWMPPluginEnable_Vtbl, 0x5fca444c_7ad1_479d_a4ef_40566a5309d6); windows_core::imp::interface_hierarchy!(IWMPPluginEnable, windows_core::IUnknown); impl IWMPPluginEnable { pub unsafe fn SetEnable(&self, fenable: P0) -> windows_core::Result<()> @@ -6572,7 +6572,7 @@ pub struct IWMPPluginEnable_Vtbl { pub SetEnable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetEnable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPPluginUI, IWMPPluginUI_Vtbl, 0x4c5e8f9f_ad3e_4bf9_9753_fcd30d6d38dd); +windows_core::imp::define_interface!(IWMPPluginUI, IWMPPluginUI_Vtbl, 0x4c5e8f9f_ad3e_4bf9_9753_fcd30d6d38dd); windows_core::imp::interface_hierarchy!(IWMPPluginUI, windows_core::IUnknown); impl IWMPPluginUI { #[cfg(feature = "Win32_System_Com")] @@ -6632,7 +6632,7 @@ pub struct IWMPPluginUI_Vtbl { TranslateAccelerator: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPQuery, IWMPQuery_Vtbl, 0xa00918f3_a6b0_4bfb_9189_fd834c7bc5a5); +windows_core::imp::define_interface!(IWMPQuery, IWMPQuery_Vtbl, 0xa00918f3_a6b0_4bfb_9189_fd834c7bc5a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPQuery, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6656,7 +6656,7 @@ pub struct IWMPQuery_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 beginNextGroup: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPRemoteMediaServices, IWMPRemoteMediaServices_Vtbl, 0xcbb92747_741f_44fe_ab5b_f1a48f3b2a59); +windows_core::imp::define_interface!(IWMPRemoteMediaServices, IWMPRemoteMediaServices_Vtbl, 0xcbb92747_741f_44fe_ab5b_f1a48f3b2a59); windows_core::imp::interface_hierarchy!(IWMPRemoteMediaServices, windows_core::IUnknown); impl IWMPRemoteMediaServices { pub unsafe fn GetServiceType(&self, pbstrtype: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -6684,7 +6684,7 @@ pub struct IWMPRemoteMediaServices_Vtbl { GetScriptableObject: usize, pub GetCustomUIMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPRenderConfig, IWMPRenderConfig_Vtbl, 0x959506c1_0314_4ec5_9e61_8528db5e5478); +windows_core::imp::define_interface!(IWMPRenderConfig, IWMPRenderConfig_Vtbl, 0x959506c1_0314_4ec5_9e61_8528db5e5478); windows_core::imp::interface_hierarchy!(IWMPRenderConfig, windows_core::IUnknown); impl IWMPRenderConfig { pub unsafe fn SetinProcOnly(&self, finproc: P0) -> windows_core::Result<()> @@ -6703,7 +6703,7 @@ pub struct IWMPRenderConfig_Vtbl { pub SetinProcOnly: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub inProcOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPServices, IWMPServices_Vtbl, 0xafb6b76b_1e20_4198_83b3_191db6e0b149); +windows_core::imp::define_interface!(IWMPServices, IWMPServices_Vtbl, 0xafb6b76b_1e20_4198_83b3_191db6e0b149); windows_core::imp::interface_hierarchy!(IWMPServices, windows_core::IUnknown); impl IWMPServices { pub unsafe fn GetStreamTime(&self, prt: *mut i64) -> windows_core::Result<()> { @@ -6720,7 +6720,7 @@ pub struct IWMPServices_Vtbl { pub GetStreamState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMPServices_StreamState) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPSettings, IWMPSettings_Vtbl, 0x9104d1ab_80c9_4fed_abf0_2e6417a6df14); +windows_core::imp::define_interface!(IWMPSettings, IWMPSettings_Vtbl, 0x9104d1ab_80c9_4fed_abf0_2e6417a6df14); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPSettings, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6852,7 +6852,7 @@ pub struct IWMPSettings_Vtbl { pub SetenableErrorDialogs: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPSettings2, IWMPSettings2_Vtbl, 0xfda937a4_eece_4da5_a0b6_39bf89ade2c2); +windows_core::imp::define_interface!(IWMPSettings2, IWMPSettings2_Vtbl, 0xfda937a4_eece_4da5_a0b6_39bf89ade2c2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPSettings2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPSettings); #[cfg(feature = "Win32_System_Com")] @@ -6975,7 +6975,7 @@ pub struct IWMPSettings2_Vtbl { 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, } -windows_core::imp::com_interface!(IWMPSkinManager, IWMPSkinManager_Vtbl, 0x076f2fa6_ed30_448b_8cc5_3f3ef3529c7a); +windows_core::imp::define_interface!(IWMPSkinManager, IWMPSkinManager_Vtbl, 0x076f2fa6_ed30_448b_8cc5_3f3ef3529c7a); windows_core::imp::interface_hierarchy!(IWMPSkinManager, windows_core::IUnknown); impl IWMPSkinManager { pub unsafe fn SetVisualStyle(&self, bstrpath: P0) -> windows_core::Result<()> @@ -6991,7 +6991,7 @@ pub struct IWMPSkinManager_Vtbl { pub SetVisualStyle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPStringCollection, IWMPStringCollection_Vtbl, 0x4a976298_8c0d_11d3_b389_00c04f68574b); +windows_core::imp::define_interface!(IWMPStringCollection, IWMPStringCollection_Vtbl, 0x4a976298_8c0d_11d3_b389_00c04f68574b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPStringCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7011,7 +7011,7 @@ pub struct IWMPStringCollection_Vtbl { pub item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMPStringCollection2, IWMPStringCollection2_Vtbl, 0x46ad648d_53f1_4a74_92e2_2a1b68d63fd4); +windows_core::imp::define_interface!(IWMPStringCollection2, IWMPStringCollection2_Vtbl, 0x46ad648d_53f1_4a74_92e2_2a1b68d63fd4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMPStringCollection2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWMPStringCollection); #[cfg(feature = "Win32_System_Com")] @@ -7062,7 +7062,7 @@ pub struct IWMPStringCollection2_Vtbl { 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, } -windows_core::imp::com_interface!(IWMPSubscriptionService, IWMPSubscriptionService_Vtbl, 0x376055f8_2a59_4a73_9501_dca5273a7a10); +windows_core::imp::define_interface!(IWMPSubscriptionService, IWMPSubscriptionService_Vtbl, 0x376055f8_2a59_4a73_9501_dca5273a7a10); windows_core::imp::interface_hierarchy!(IWMPSubscriptionService, windows_core::IUnknown); impl IWMPSubscriptionService { #[cfg(feature = "Win32_System_Com")] @@ -7113,7 +7113,7 @@ pub struct IWMPSubscriptionService_Vtbl { allowPDATransfer: usize, pub startBackgroundProcessing: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPSubscriptionService2, IWMPSubscriptionService2_Vtbl, 0xa94c120e_d600_4ec6_b05e_ec9d56d84de0); +windows_core::imp::define_interface!(IWMPSubscriptionService2, IWMPSubscriptionService2_Vtbl, 0xa94c120e_d600_4ec6_b05e_ec9d56d84de0); windows_core::imp::interface_hierarchy!(IWMPSubscriptionService2, windows_core::IUnknown, IWMPSubscriptionService); impl IWMPSubscriptionService2 { #[cfg(feature = "Win32_System_Com")] @@ -7176,7 +7176,7 @@ pub struct IWMPSubscriptionService2_Vtbl { 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, } -windows_core::imp::com_interface!(IWMPSubscriptionServiceCallback, IWMPSubscriptionServiceCallback_Vtbl, 0xdd01d127_2dc2_4c3a_876e_63312079f9b0); +windows_core::imp::define_interface!(IWMPSubscriptionServiceCallback, IWMPSubscriptionServiceCallback_Vtbl, 0xdd01d127_2dc2_4c3a_876e_63312079f9b0); windows_core::imp::interface_hierarchy!(IWMPSubscriptionServiceCallback, windows_core::IUnknown); impl IWMPSubscriptionServiceCallback { pub unsafe fn onComplete(&self, hrresult: windows_core::HRESULT) -> windows_core::Result<()> { @@ -7188,7 +7188,7 @@ pub struct IWMPSubscriptionServiceCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub onComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPSyncDevice, IWMPSyncDevice_Vtbl, 0x82a2986c_0293_4fd0_b279_b21b86c058be); +windows_core::imp::define_interface!(IWMPSyncDevice, IWMPSyncDevice_Vtbl, 0x82a2986c_0293_4fd0_b279_b21b86c058be); windows_core::imp::interface_hierarchy!(IWMPSyncDevice, windows_core::IUnknown); impl IWMPSyncDevice { pub unsafe fn friendlyName(&self, pbstrname: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -7272,7 +7272,7 @@ pub struct IWMPSyncDevice_Vtbl { pub showSettings: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub isIdentical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPSyncDevice2, IWMPSyncDevice2_Vtbl, 0x88afb4b2_140a_44d2_91e6_4543da467cd1); +windows_core::imp::define_interface!(IWMPSyncDevice2, IWMPSyncDevice2_Vtbl, 0x88afb4b2_140a_44d2_91e6_4543da467cd1); windows_core::imp::interface_hierarchy!(IWMPSyncDevice2, windows_core::IUnknown, IWMPSyncDevice); impl IWMPSyncDevice2 { pub unsafe fn friendlyName(&self, pbstrname: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -7348,7 +7348,7 @@ 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, } -windows_core::imp::com_interface!(IWMPSyncDevice3, IWMPSyncDevice3_Vtbl, 0xb22c85f9_263c_4372_a0da_b518db9b4098); +windows_core::imp::define_interface!(IWMPSyncDevice3, IWMPSyncDevice3_Vtbl, 0xb22c85f9_263c_4372_a0da_b518db9b4098); windows_core::imp::interface_hierarchy!(IWMPSyncDevice3, windows_core::IUnknown, IWMPSyncDevice, IWMPSyncDevice2); impl IWMPSyncDevice3 { pub unsafe fn friendlyName(&self, pbstrname: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -7439,7 +7439,7 @@ pub struct IWMPSyncDevice3_Vtbl { estimateSyncSize: usize, pub cancelEstimation: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPSyncServices, IWMPSyncServices_Vtbl, 0x8b5050ff_e0a4_4808_b3a8_893a9e1ed894); +windows_core::imp::define_interface!(IWMPSyncServices, IWMPSyncServices_Vtbl, 0x8b5050ff_e0a4_4808_b3a8_893a9e1ed894); windows_core::imp::interface_hierarchy!(IWMPSyncServices, windows_core::IUnknown); impl IWMPSyncServices { pub unsafe fn deviceCount(&self, plcount: *mut i32) -> windows_core::Result<()> { @@ -7456,7 +7456,7 @@ pub struct IWMPSyncServices_Vtbl { pub deviceCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub getDevice: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPTranscodePolicy, IWMPTranscodePolicy_Vtbl, 0xb64cbac3_401c_4327_a3e8_b9feb3a8c25c); +windows_core::imp::define_interface!(IWMPTranscodePolicy, IWMPTranscodePolicy_Vtbl, 0xb64cbac3_401c_4327_a3e8_b9feb3a8c25c); windows_core::imp::interface_hierarchy!(IWMPTranscodePolicy, windows_core::IUnknown); impl IWMPTranscodePolicy { pub unsafe fn allowTranscode(&self, pvballow: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { @@ -7468,7 +7468,7 @@ pub struct IWMPTranscodePolicy_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub allowTranscode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPUserEventSink, IWMPUserEventSink_Vtbl, 0xcfccfa72_c343_48c3_a2de_b7a4402e39f2); +windows_core::imp::define_interface!(IWMPUserEventSink, IWMPUserEventSink_Vtbl, 0xcfccfa72_c343_48c3_a2de_b7a4402e39f2); windows_core::imp::interface_hierarchy!(IWMPUserEventSink, windows_core::IUnknown); impl IWMPUserEventSink { pub unsafe fn NotifyUserEvent(&self, eventcode: i32) -> windows_core::Result<()> { @@ -7480,7 +7480,7 @@ pub struct IWMPUserEventSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub NotifyUserEvent: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPVideoRenderConfig, IWMPVideoRenderConfig_Vtbl, 0x6d6cf803_1ec0_4c8d_b3ca_f18e27282074); +windows_core::imp::define_interface!(IWMPVideoRenderConfig, IWMPVideoRenderConfig_Vtbl, 0x6d6cf803_1ec0_4c8d_b3ca_f18e27282074); windows_core::imp::interface_hierarchy!(IWMPVideoRenderConfig, windows_core::IUnknown); impl IWMPVideoRenderConfig { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -7499,7 +7499,7 @@ pub struct IWMPVideoRenderConfig_Vtbl { #[cfg(not(feature = "Win32_Media_MediaFoundation"))] SetpresenterActivate: usize, } -windows_core::imp::com_interface!(IWMPWindowMessageSink, IWMPWindowMessageSink_Vtbl, 0x3a0daa30_908d_4789_ba87_aed879b5c49b); +windows_core::imp::define_interface!(IWMPWindowMessageSink, IWMPWindowMessageSink_Vtbl, 0x3a0daa30_908d_4789_ba87_aed879b5c49b); windows_core::imp::interface_hierarchy!(IWMPWindowMessageSink, windows_core::IUnknown); impl IWMPWindowMessageSink { pub unsafe fn OnWindowMessage(&self, umsg: u32, wparam: P0, lparam: P1, plret: *mut super::super::Foundation::LRESULT, pfhandled: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -7515,7 +7515,7 @@ pub struct IWMPWindowMessageSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnWindowMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXFeed, IXFeed_Vtbl, 0xa44179a4_e0f6_403b_af8d_d080f425a451); +windows_core::imp::define_interface!(IXFeed, IXFeed_Vtbl, 0xa44179a4_e0f6_403b_af8d_d080f425a451); windows_core::imp::interface_hierarchy!(IXFeed, windows_core::IUnknown); impl IXFeed { #[cfg(feature = "Win32_System_Com")] @@ -7763,7 +7763,7 @@ pub struct IXFeed_Vtbl { pub UnreadItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub ItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXFeed2, IXFeed2_Vtbl, 0xce528e77_3716_4eb7_956d_f5e37502e12a); +windows_core::imp::define_interface!(IXFeed2, IXFeed2_Vtbl, 0xce528e77_3716_4eb7_956d_f5e37502e12a); windows_core::imp::interface_hierarchy!(IXFeed2, windows_core::IUnknown, IXFeed); impl IXFeed2 { #[cfg(feature = "Win32_System_Com")] @@ -7996,7 +7996,7 @@ pub struct IXFeed2_Vtbl { pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub ClearCredentials: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXFeedEnclosure, IXFeedEnclosure_Vtbl, 0xbfbfb953_644f_4792_b69c_dfaca4cbf89a); +windows_core::imp::define_interface!(IXFeedEnclosure, IXFeedEnclosure_Vtbl, 0xbfbfb953_644f_4792_b69c_dfaca4cbf89a); windows_core::imp::interface_hierarchy!(IXFeedEnclosure, windows_core::IUnknown); impl IXFeedEnclosure { pub unsafe fn Url(&self) -> windows_core::Result { @@ -8074,7 +8074,7 @@ pub struct IXFeedEnclosure_Vtbl { 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, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXFeedEvents, IXFeedEvents_Vtbl, 0x1630852e_1263_465b_98e5_fe60ffec4ac2); +windows_core::imp::define_interface!(IXFeedEvents, IXFeedEvents_Vtbl, 0x1630852e_1263_465b_98e5_fe60ffec4ac2); windows_core::imp::interface_hierarchy!(IXFeedEvents, windows_core::IUnknown); impl IXFeedEvents { pub unsafe fn Error(&self) -> windows_core::Result<()> { @@ -8137,7 +8137,7 @@ pub struct IXFeedEvents_Vtbl { pub FeedDownloadCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT, pub FeedItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXFeedFolder, IXFeedFolder_Vtbl, 0x4c963678_3a51_4b88_8531_98b90b6508f2); +windows_core::imp::define_interface!(IXFeedFolder, IXFeedFolder_Vtbl, 0x4c963678_3a51_4b88_8531_98b90b6508f2); windows_core::imp::interface_hierarchy!(IXFeedFolder, windows_core::IUnknown); impl IXFeedFolder { pub unsafe fn Feeds(&self) -> windows_core::Result { @@ -8265,7 +8265,7 @@ pub struct IXFeedFolder_Vtbl { pub TotalUnreadItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub TotalItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXFeedFolderEvents, IXFeedFolderEvents_Vtbl, 0x7964b769_234a_4bb1_a5f4_90454c8ad07e); +windows_core::imp::define_interface!(IXFeedFolderEvents, IXFeedFolderEvents_Vtbl, 0x7964b769_234a_4bb1_a5f4_90454c8ad07e); windows_core::imp::interface_hierarchy!(IXFeedFolderEvents, windows_core::IUnknown); impl IXFeedFolderEvents { pub unsafe fn Error(&self) -> windows_core::Result<()> { @@ -8388,7 +8388,7 @@ pub struct IXFeedFolderEvents_Vtbl { pub FeedDownloadCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, FEEDS_DOWNLOAD_ERROR) -> windows_core::HRESULT, pub FeedItemCountChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXFeedItem, IXFeedItem_Vtbl, 0xe757b2f5_e73e_434e_a1bf_2bd7c3e60fcb); +windows_core::imp::define_interface!(IXFeedItem, IXFeedItem_Vtbl, 0xe757b2f5_e73e_434e_a1bf_2bd7c3e60fcb); windows_core::imp::interface_hierarchy!(IXFeedItem, windows_core::IUnknown); impl IXFeedItem { #[cfg(feature = "Win32_System_Com")] @@ -8492,7 +8492,7 @@ pub struct IXFeedItem_Vtbl { pub LastDownloadTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SYSTEMTIME) -> windows_core::HRESULT, pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SYSTEMTIME) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXFeedItem2, IXFeedItem2_Vtbl, 0x6cda2dc7_9013_4522_9970_2a9dd9ead5a3); +windows_core::imp::define_interface!(IXFeedItem2, IXFeedItem2_Vtbl, 0x6cda2dc7_9013_4522_9970_2a9dd9ead5a3); windows_core::imp::interface_hierarchy!(IXFeedItem2, windows_core::IUnknown, IXFeedItem); impl IXFeedItem2 { #[cfg(feature = "Win32_System_Com")] @@ -8581,7 +8581,7 @@ pub struct IXFeedItem2_Vtbl { pub base__: IXFeedItem_Vtbl, pub EffectiveId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXFeedsEnum, IXFeedsEnum_Vtbl, 0xdc43a9d5_5015_4301_8c96_a47434b4d658); +windows_core::imp::define_interface!(IXFeedsEnum, IXFeedsEnum_Vtbl, 0xdc43a9d5_5015_4301_8c96_a47434b4d658); windows_core::imp::interface_hierarchy!(IXFeedsEnum, windows_core::IUnknown); impl IXFeedsEnum { pub unsafe fn Count(&self) -> windows_core::Result { @@ -8602,7 +8602,7 @@ pub struct IXFeedsEnum_Vtbl { pub Count: 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, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXFeedsManager, IXFeedsManager_Vtbl, 0x5357e238_fb12_4aca_a930_cab7832b84bf); +windows_core::imp::define_interface!(IXFeedsManager, IXFeedsManager_Vtbl, 0x5357e238_fb12_4aca_a930_cab7832b84bf); windows_core::imp::interface_hierarchy!(IXFeedsManager, windows_core::IUnknown); impl IXFeedsManager { pub unsafe fn RootFolder(&self) -> windows_core::Result @@ -8723,7 +8723,7 @@ pub struct IXFeedsManager_Vtbl { pub ItemCountLimit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_WMPOCXEvents, _WMPOCXEvents_Vtbl, 0x6bf52a51_394a_11d3_b153_00c04f79faa6); +windows_core::imp::define_interface!(_WMPOCXEvents, _WMPOCXEvents_Vtbl, 0x6bf52a51_394a_11d3_b153_00c04f79faa6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_WMPOCXEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 014e705080..77d241706c 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/mod.rs @@ -1235,7 +1235,7 @@ where windows_targets::link!("api-ms-win-mm-misc-l1-1-1.dll" "system" fn sndOpenSound(eventname : windows_core::PCWSTR, appname : windows_core::PCWSTR, flags : i32, filehandle : *mut super::super::Foundation:: HANDLE) -> i32); sndOpenSound(eventname.into_param().abi(), appname.into_param().abi(), flags, filehandle) } -windows_core::imp::com_interface!(IAVIEditStream, IAVIEditStream_Vtbl, 0x00020024_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IAVIEditStream, IAVIEditStream_Vtbl, 0x00020024_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IAVIEditStream, windows_core::IUnknown); impl IAVIEditStream { pub unsafe fn Cut(&self, plstart: *mut i32, pllength: *mut i32, ppresult: *mut Option) -> windows_core::Result<()> { @@ -1267,7 +1267,7 @@ pub struct IAVIEditStream_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const AVISTREAMINFOW, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAVIFile, IAVIFile_Vtbl, 0x00020020_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IAVIFile, IAVIFile_Vtbl, 0x00020020_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IAVIFile, windows_core::IUnknown); impl IAVIFile { pub unsafe fn Info(&self, pfi: *mut AVIFILEINFOW, lsize: i32) -> windows_core::Result<()> { @@ -1304,7 +1304,7 @@ pub struct IAVIFile_Vtbl { pub DeleteStream: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAVIPersistFile, IAVIPersistFile_Vtbl, 0x00020025_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IAVIPersistFile, IAVIPersistFile_Vtbl, 0x00020025_0000_0000_c000_000000000046); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAVIPersistFile, windows_core::IUnknown, super::super::System::Com::IPersist, super::super::System::Com::IPersistFile); #[cfg(feature = "Win32_System_Com")] @@ -1355,7 +1355,7 @@ pub struct IAVIPersistFile_Vtbl { pub base__: super::super::System::Com::IPersistFile_Vtbl, pub Reserved1: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAVIStream, IAVIStream_Vtbl, 0x00020021_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IAVIStream, IAVIStream_Vtbl, 0x00020021_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IAVIStream, windows_core::IUnknown); impl IAVIStream { pub unsafe fn Create(&self, lparam1: P0, lparam2: P1) -> windows_core::Result<()> @@ -1411,7 +1411,7 @@ pub struct IAVIStream_Vtbl { pub WriteData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, i32) -> windows_core::HRESULT, pub SetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const AVISTREAMINFOW, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAVIStreaming, IAVIStreaming_Vtbl, 0x00020022_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IAVIStreaming, IAVIStreaming_Vtbl, 0x00020022_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IAVIStreaming, windows_core::IUnknown); impl IAVIStreaming { pub unsafe fn Begin(&self, lstart: i32, lend: i32, lrate: i32) -> windows_core::Result<()> { @@ -1427,7 +1427,7 @@ pub struct IAVIStreaming_Vtbl { pub Begin: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32) -> windows_core::HRESULT, pub End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetFrame, IGetFrame_Vtbl, 0x00020023_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IGetFrame, IGetFrame_Vtbl, 0x00020023_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IGetFrame, windows_core::IUnknown); impl IGetFrame { pub unsafe fn GetFrame(&self, lpos: i32) -> *mut core::ffi::c_void { 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 f58551d947..1e57abe283 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPhotoAcquire, IPhotoAcquire_Vtbl, 0x00f23353_e31b_4955_a8ad_ca5ebf31e2ce); +windows_core::imp::define_interface!(IPhotoAcquire, IPhotoAcquire_Vtbl, 0x00f23353_e31b_4955_a8ad_ca5ebf31e2ce); windows_core::imp::interface_hierarchy!(IPhotoAcquire, windows_core::IUnknown); impl IPhotoAcquire { pub unsafe fn CreatePhotoSource(&self, pszdevice: P0) -> windows_core::Result @@ -34,7 +34,7 @@ pub struct IPhotoAcquire_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] EnumResults: usize, } -windows_core::imp::com_interface!(IPhotoAcquireDeviceSelectionDialog, IPhotoAcquireDeviceSelectionDialog_Vtbl, 0x00f28837_55dd_4f37_aaf5_6855a9640467); +windows_core::imp::define_interface!(IPhotoAcquireDeviceSelectionDialog, IPhotoAcquireDeviceSelectionDialog_Vtbl, 0x00f28837_55dd_4f37_aaf5_6855a9640467); windows_core::imp::interface_hierarchy!(IPhotoAcquireDeviceSelectionDialog, windows_core::IUnknown); impl IPhotoAcquireDeviceSelectionDialog { pub unsafe fn SetTitle(&self, psztitle: P0) -> windows_core::Result<()> @@ -63,7 +63,7 @@ pub struct IPhotoAcquireDeviceSelectionDialog_Vtbl { 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, } -windows_core::imp::com_interface!(IPhotoAcquireItem, IPhotoAcquireItem_Vtbl, 0x00f21c97_28bf_4c02_b842_5e4e90139a30); +windows_core::imp::define_interface!(IPhotoAcquireItem, IPhotoAcquireItem_Vtbl, 0x00f21c97_28bf_4c02_b842_5e4e90139a30); windows_core::imp::interface_hierarchy!(IPhotoAcquireItem, windows_core::IUnknown); impl IPhotoAcquireItem { pub unsafe fn GetItemName(&self) -> windows_core::Result { @@ -130,7 +130,7 @@ pub struct IPhotoAcquireItem_Vtbl { pub GetSubItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetSubItemAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoAcquireOptionsDialog, IPhotoAcquireOptionsDialog_Vtbl, 0x00f2b3ee_bf64_47ee_89f4_4dedd79643f2); +windows_core::imp::define_interface!(IPhotoAcquireOptionsDialog, IPhotoAcquireOptionsDialog_Vtbl, 0x00f2b3ee_bf64_47ee_89f4_4dedd79643f2); windows_core::imp::interface_hierarchy!(IPhotoAcquireOptionsDialog, windows_core::IUnknown); impl IPhotoAcquireOptionsDialog { pub unsafe fn Initialize(&self, pszregistryroot: P0) -> windows_core::Result<()> @@ -168,7 +168,7 @@ pub struct IPhotoAcquireOptionsDialog_Vtbl { pub DoModal: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut isize) -> windows_core::HRESULT, pub SaveData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoAcquirePlugin, IPhotoAcquirePlugin_Vtbl, 0x00f2dceb_ecb8_4f77_8e47_e7a987c83dd0); +windows_core::imp::define_interface!(IPhotoAcquirePlugin, IPhotoAcquirePlugin_Vtbl, 0x00f2dceb_ecb8_4f77_8e47_e7a987c83dd0); windows_core::imp::interface_hierarchy!(IPhotoAcquirePlugin, windows_core::IUnknown); impl IPhotoAcquirePlugin { pub unsafe fn Initialize(&self, pphotoacquiresource: P0, pphotoacquireprogresscb: P1) -> windows_core::Result<()> @@ -209,7 +209,7 @@ pub struct IPhotoAcquirePlugin_Vtbl { pub TransferComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, pub DisplayConfigureDialog: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoAcquireProgressCB, IPhotoAcquireProgressCB_Vtbl, 0x00f2ce1e_935e_4248_892c_130f32c45cb4); +windows_core::imp::define_interface!(IPhotoAcquireProgressCB, IPhotoAcquireProgressCB_Vtbl, 0x00f2ce1e_935e_4248_892c_130f32c45cb4); windows_core::imp::interface_hierarchy!(IPhotoAcquireProgressCB, windows_core::IUnknown); impl IPhotoAcquireProgressCB { pub unsafe fn Cancelled(&self) -> windows_core::Result { @@ -332,7 +332,7 @@ pub struct IPhotoAcquireProgressCB_Vtbl { 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, } -windows_core::imp::com_interface!(IPhotoAcquireSettings, IPhotoAcquireSettings_Vtbl, 0x00f2b868_dd67_487c_9553_049240767e91); +windows_core::imp::define_interface!(IPhotoAcquireSettings, IPhotoAcquireSettings_Vtbl, 0x00f2b868_dd67_487c_9553_049240767e91); windows_core::imp::interface_hierarchy!(IPhotoAcquireSettings, windows_core::IUnknown); impl IPhotoAcquireSettings { pub unsafe fn InitializeFromRegistry(&self, pszregistrykey: P0) -> windows_core::Result<()> @@ -410,7 +410,7 @@ pub struct IPhotoAcquireSettings_Vtbl { pub GetGroupTag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IPhotoAcquireSource, IPhotoAcquireSource_Vtbl, 0x00f2c703_8613_4282_a53b_6ec59c5883ac); +windows_core::imp::define_interface!(IPhotoAcquireSource, IPhotoAcquireSource_Vtbl, 0x00f2c703_8613_4282_a53b_6ec59c5883ac); windows_core::imp::interface_hierarchy!(IPhotoAcquireSource, windows_core::IUnknown); impl IPhotoAcquireSource { pub unsafe fn GetFriendlyName(&self) -> windows_core::Result { @@ -463,7 +463,7 @@ pub struct IPhotoAcquireSource_Vtbl { pub GetDeviceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IPhotoProgressActionCB, IPhotoProgressActionCB_Vtbl, 0x00f242d0_b206_4e7d_b4c1_4755bcbb9c9f); +windows_core::imp::define_interface!(IPhotoProgressActionCB, IPhotoProgressActionCB_Vtbl, 0x00f242d0_b206_4e7d_b4c1_4755bcbb9c9f); windows_core::imp::interface_hierarchy!(IPhotoProgressActionCB, windows_core::IUnknown); impl IPhotoProgressActionCB { pub unsafe fn DoAction(&self, hwndparent: P0) -> windows_core::Result<()> @@ -478,7 +478,7 @@ pub struct IPhotoProgressActionCB_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DoAction: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPhotoProgressDialog, IPhotoProgressDialog_Vtbl, 0x00f246f9_0750_4f08_9381_2cd8e906a4ae); +windows_core::imp::define_interface!(IPhotoProgressDialog, IPhotoProgressDialog_Vtbl, 0x00f246f9_0750_4f08_9381_2cd8e906a4ae); windows_core::imp::interface_hierarchy!(IPhotoProgressDialog, windows_core::IUnknown); impl IPhotoProgressDialog { pub unsafe fn Create(&self, hwndparent: P0) -> windows_core::Result<()> @@ -605,7 +605,7 @@ pub struct IPhotoProgressDialog_Vtbl { 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, } -windows_core::imp::com_interface!(IUserInputString, IUserInputString_Vtbl, 0x00f243a1_205b_45ba_ae26_abbc53aa7a6f); +windows_core::imp::define_interface!(IUserInputString, IUserInputString_Vtbl, 0x00f243a1_205b_45ba_ae26_abbc53aa7a6f); windows_core::imp::interface_hierarchy!(IUserInputString, windows_core::IUnknown); impl IUserInputString { pub unsafe fn GetSubmitButtonText(&self) -> windows_core::Result { 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 8825cd89cb..c6ade5abff 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IEnumSpObjectTokens, IEnumSpObjectTokens_Vtbl, 0x06b64f9e_7fda_11d2_b4f2_00c04f797396); +windows_core::imp::define_interface!(IEnumSpObjectTokens, IEnumSpObjectTokens_Vtbl, 0x06b64f9e_7fda_11d2_b4f2_00c04f797396); windows_core::imp::interface_hierarchy!(IEnumSpObjectTokens, windows_core::IUnknown); impl IEnumSpObjectTokens { pub unsafe fn Next(&self, celt: u32, pelt: *mut Option, pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -33,7 +33,7 @@ pub struct IEnumSpObjectTokens_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpAudio, ISpAudio_Vtbl, 0xc05c768f_fae8_4ec2_8e07_338321c12452); +windows_core::imp::define_interface!(ISpAudio, ISpAudio_Vtbl, 0xc05c768f_fae8_4ec2_8e07_338321c12452); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpAudio, windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); #[cfg(feature = "Win32_System_Com")] @@ -149,7 +149,7 @@ pub struct ISpAudio_Vtbl { pub GetBufferNotifySize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetBufferNotifySize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpCFGInterpreter, ISpCFGInterpreter_Vtbl, 0xf3d3f926_11fc_11d3_bb97_00c04f8ee6c0); +windows_core::imp::define_interface!(ISpCFGInterpreter, ISpCFGInterpreter_Vtbl, 0xf3d3f926_11fc_11d3_bb97_00c04f8ee6c0); windows_core::imp::interface_hierarchy!(ISpCFGInterpreter, windows_core::IUnknown); impl ISpCFGInterpreter { pub unsafe fn InitGrammar(&self, pszgrammarname: P0, pvgrammardata: *const *const core::ffi::c_void) -> windows_core::Result<()> @@ -172,7 +172,7 @@ pub struct ISpCFGInterpreter_Vtbl { pub InitGrammar: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const *const core::ffi::c_void) -> windows_core::HRESULT, pub Interpret: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpCFGInterpreterSite, ISpCFGInterpreterSite_Vtbl, 0x6a6ffad8_78b6_473d_b844_98152e4fb16b); +windows_core::imp::define_interface!(ISpCFGInterpreterSite, ISpCFGInterpreterSite_Vtbl, 0x6a6ffad8_78b6_473d_b844_98152e4fb16b); windows_core::imp::interface_hierarchy!(ISpCFGInterpreterSite, windows_core::IUnknown); impl ISpCFGInterpreterSite { pub unsafe fn AddTextReplacement(&self, preplace: *const SPPHRASEREPLACEMENT) -> windows_core::Result<()> { @@ -196,7 +196,7 @@ pub struct ISpCFGInterpreterSite_Vtbl { pub AddProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPPHRASEPROPERTY) -> windows_core::HRESULT, pub GetResourceValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpContainerLexicon, ISpContainerLexicon_Vtbl, 0x8565572f_c094_41cc_b56e_10bd9c3ff044); +windows_core::imp::define_interface!(ISpContainerLexicon, ISpContainerLexicon_Vtbl, 0x8565572f_c094_41cc_b56e_10bd9c3ff044); windows_core::imp::interface_hierarchy!(ISpContainerLexicon, windows_core::IUnknown, ISpLexicon); impl ISpContainerLexicon { pub unsafe fn GetPronunciations(&self, pszword: P0, langid: u16, dwflags: u32, pwordpronunciationlist: *mut SPWORDPRONUNCIATIONLIST) -> windows_core::Result<()> @@ -238,7 +238,7 @@ pub struct ISpContainerLexicon_Vtbl { pub base__: ISpLexicon_Vtbl, pub AddLexicon: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpDataKey, ISpDataKey_Vtbl, 0x14056581_e16c_11d2_bb90_00c04f8ee6c0); +windows_core::imp::define_interface!(ISpDataKey, ISpDataKey_Vtbl, 0x14056581_e16c_11d2_bb90_00c04f8ee6c0); windows_core::imp::interface_hierarchy!(ISpDataKey, windows_core::IUnknown); impl ISpDataKey { pub unsafe fn SetData(&self, pszvaluename: P0, cbdata: u32, pdata: *const u8) -> windows_core::Result<()> @@ -330,7 +330,7 @@ pub struct ISpDataKey_Vtbl { pub EnumKeys: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub EnumValues: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpDisplayAlternates, ISpDisplayAlternates_Vtbl, 0xc8d7c7e2_0dde_44b7_afe3_b0c991fbeb5e); +windows_core::imp::define_interface!(ISpDisplayAlternates, ISpDisplayAlternates_Vtbl, 0xc8d7c7e2_0dde_44b7_afe3_b0c991fbeb5e); windows_core::imp::interface_hierarchy!(ISpDisplayAlternates, windows_core::IUnknown); impl ISpDisplayAlternates { pub unsafe fn GetDisplayAlternates(&self, pphrase: *const SPDISPLAYPHRASE, crequestcount: u32, ppcomemphrases: *mut *mut SPDISPLAYPHRASE, pcphrasesreturned: *mut u32) -> windows_core::Result<()> { @@ -346,7 +346,7 @@ pub struct ISpDisplayAlternates_Vtbl { pub GetDisplayAlternates: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPDISPLAYPHRASE, u32, *mut *mut SPDISPLAYPHRASE, *mut u32) -> windows_core::HRESULT, pub SetFullStopTrailSpace: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpEnginePronunciation, ISpEnginePronunciation_Vtbl, 0xc360ce4b_76d1_4214_ad68_52657d5083da); +windows_core::imp::define_interface!(ISpEnginePronunciation, ISpEnginePronunciation_Vtbl, 0xc360ce4b_76d1_4214_ad68_52657d5083da); windows_core::imp::interface_hierarchy!(ISpEnginePronunciation, windows_core::IUnknown); impl ISpEnginePronunciation { pub unsafe fn Normalize(&self, pszword: P0, pszleftcontext: P1, pszrightcontext: P2, langid: u16, pnormalizationlist: *mut SPNORMALIZATIONLIST) -> windows_core::Result<()> @@ -372,7 +372,7 @@ pub struct ISpEnginePronunciation_Vtbl { pub Normalize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, u16, *mut SPNORMALIZATIONLIST) -> windows_core::HRESULT, pub GetPronunciations: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, u16, *mut SPWORDPRONUNCIATIONLIST) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpErrorLog, ISpErrorLog_Vtbl, 0xf4711347_e608_11d2_a086_00c04f8ef9b5); +windows_core::imp::define_interface!(ISpErrorLog, ISpErrorLog_Vtbl, 0xf4711347_e608_11d2_a086_00c04f8ef9b5); windows_core::imp::interface_hierarchy!(ISpErrorLog, windows_core::IUnknown); impl ISpErrorLog { pub unsafe fn AddError(&self, llinenumber: i32, hr: windows_core::HRESULT, pszdescription: P0, pszhelpfile: P1, dwhelpcontext: u32) -> windows_core::Result<()> @@ -388,7 +388,7 @@ pub struct ISpErrorLog_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AddError: unsafe extern "system" fn(*mut core::ffi::c_void, i32, windows_core::HRESULT, windows_core::PCWSTR, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpEventSink, ISpEventSink_Vtbl, 0xbe7a9cc9_5f9e_11d2_960f_00c04f8ee628); +windows_core::imp::define_interface!(ISpEventSink, ISpEventSink_Vtbl, 0xbe7a9cc9_5f9e_11d2_960f_00c04f8ee628); windows_core::imp::interface_hierarchy!(ISpEventSink, windows_core::IUnknown); impl ISpEventSink { pub unsafe fn AddEvents(&self, peventarray: *const SPEVENT, ulcount: u32) -> windows_core::Result<()> { @@ -404,7 +404,7 @@ pub struct ISpEventSink_Vtbl { pub AddEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPEVENT, u32) -> windows_core::HRESULT, pub GetEventInterest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpEventSource, ISpEventSource_Vtbl, 0xbe7a9cce_5f9e_11d2_960f_00c04f8ee628); +windows_core::imp::define_interface!(ISpEventSource, ISpEventSource_Vtbl, 0xbe7a9cce_5f9e_11d2_960f_00c04f8ee628); windows_core::imp::interface_hierarchy!(ISpEventSource, windows_core::IUnknown, ISpNotifySource); impl ISpEventSource { pub unsafe fn SetNotifySink(&self, pnotifysink: P0) -> windows_core::Result<()> @@ -462,7 +462,7 @@ pub struct ISpEventSource_Vtbl { pub GetEvents: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut SPEVENT, *mut u32) -> windows_core::HRESULT, pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SPEVENTSOURCEINFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpEventSource2, ISpEventSource2_Vtbl, 0x2373a435_6a4b_429e_a6ac_d4231a61975b); +windows_core::imp::define_interface!(ISpEventSource2, ISpEventSource2_Vtbl, 0x2373a435_6a4b_429e_a6ac_d4231a61975b); windows_core::imp::interface_hierarchy!(ISpEventSource2, windows_core::IUnknown, ISpNotifySource, ISpEventSource); impl ISpEventSource2 { pub unsafe fn SetNotifySink(&self, pnotifysink: P0) -> windows_core::Result<()> @@ -521,7 +521,7 @@ pub struct ISpEventSource2_Vtbl { pub base__: ISpEventSource_Vtbl, pub GetEventsEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut SPEVENTEX, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpGramCompBackend, ISpGramCompBackend_Vtbl, 0x3ddca27c_665c_4786_9f97_8c90c3488b61); +windows_core::imp::define_interface!(ISpGramCompBackend, ISpGramCompBackend_Vtbl, 0x3ddca27c_665c_4786_9f97_8c90c3488b61); windows_core::imp::interface_hierarchy!(ISpGramCompBackend, windows_core::IUnknown, ISpGrammarBuilder); impl ISpGramCompBackend { pub unsafe fn ResetGrammar(&self, newlanguage: u16) -> windows_core::Result<()> { @@ -595,7 +595,7 @@ pub struct ISpGramCompBackend_Vtbl { SetSaveObjects: usize, pub InitFromBinaryGrammar: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPBINARYGRAMMAR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpGrammarBuilder, ISpGrammarBuilder_Vtbl, 0x8137828f_591a_4a42_be58_49ea7ebaac68); +windows_core::imp::define_interface!(ISpGrammarBuilder, ISpGrammarBuilder_Vtbl, 0x8137828f_591a_4a42_be58_49ea7ebaac68); windows_core::imp::interface_hierarchy!(ISpGrammarBuilder, windows_core::IUnknown); impl ISpGrammarBuilder { pub unsafe fn ResetGrammar(&self, newlanguage: u16) -> windows_core::Result<()> { @@ -661,7 +661,7 @@ pub struct ISpGrammarBuilder_Vtbl { pub AddResource: unsafe extern "system" fn(*mut core::ffi::c_void, SPSTATEHANDLE, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpGrammarBuilder2, ISpGrammarBuilder2_Vtbl, 0x8ab10026_20cc_4b20_8c22_a49c9ba78f60); +windows_core::imp::define_interface!(ISpGrammarBuilder2, ISpGrammarBuilder2_Vtbl, 0x8ab10026_20cc_4b20_8c22_a49c9ba78f60); windows_core::imp::interface_hierarchy!(ISpGrammarBuilder2, windows_core::IUnknown); impl ISpGrammarBuilder2 { pub unsafe fn AddTextSubset(&self, hfromstate: P0, htostate: P1, psz: P2, ematchmode: SPMATCHINGMODE) -> windows_core::Result<()> @@ -682,7 +682,7 @@ pub struct ISpGrammarBuilder2_Vtbl { pub AddTextSubset: unsafe extern "system" fn(*mut core::ffi::c_void, SPSTATEHANDLE, SPSTATEHANDLE, windows_core::PCWSTR, SPMATCHINGMODE) -> windows_core::HRESULT, pub SetPhoneticAlphabet: unsafe extern "system" fn(*mut core::ffi::c_void, PHONETICALPHABET) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpGrammarCompiler, ISpGrammarCompiler_Vtbl, 0xb1e29d58_a675_11d2_8302_00c04f8ee6c0); +windows_core::imp::define_interface!(ISpGrammarCompiler, ISpGrammarCompiler_Vtbl, 0xb1e29d58_a675_11d2_8302_00c04f8ee6c0); windows_core::imp::interface_hierarchy!(ISpGrammarCompiler, windows_core::IUnknown); impl ISpGrammarCompiler { #[cfg(feature = "Win32_System_Com")] @@ -705,7 +705,7 @@ pub struct ISpGrammarCompiler_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CompileStream: usize, } -windows_core::imp::com_interface!(ISpITNProcessor, ISpITNProcessor_Vtbl, 0x12d7360f_a1c9_11d3_bc90_00c04f72df9f); +windows_core::imp::define_interface!(ISpITNProcessor, ISpITNProcessor_Vtbl, 0x12d7360f_a1c9_11d3_bc90_00c04f72df9f); windows_core::imp::interface_hierarchy!(ISpITNProcessor, windows_core::IUnknown); impl ISpITNProcessor { pub unsafe fn LoadITNGrammar(&self, pszclsid: P0) -> windows_core::Result<()> @@ -727,7 +727,7 @@ pub struct ISpITNProcessor_Vtbl { pub LoadITNGrammar: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub ITNPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpLexicon, ISpLexicon_Vtbl, 0xda41a7c2_5383_4db2_916b_6c1719e3db58); +windows_core::imp::define_interface!(ISpLexicon, ISpLexicon_Vtbl, 0xda41a7c2_5383_4db2_916b_6c1719e3db58); windows_core::imp::interface_hierarchy!(ISpLexicon, windows_core::IUnknown); impl ISpLexicon { pub unsafe fn GetPronunciations(&self, pszword: P0, langid: u16, dwflags: u32, pwordpronunciationlist: *mut SPWORDPRONUNCIATIONLIST) -> windows_core::Result<()> @@ -769,7 +769,7 @@ pub struct ISpLexicon_Vtbl { pub GetWords: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32, *mut SPWORDLIST) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpMMSysAudio, ISpMMSysAudio_Vtbl, 0x15806f6e_1d70_4b48_98e6_3b1a007509ab); +windows_core::imp::define_interface!(ISpMMSysAudio, ISpMMSysAudio_Vtbl, 0x15806f6e_1d70_4b48_98e6_3b1a007509ab); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpMMSysAudio, windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat, ISpAudio); #[cfg(feature = "Win32_System_Com")] @@ -888,7 +888,7 @@ pub struct ISpMMSysAudio_Vtbl { pub GetLineId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetLineId: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(ISpNotifyCallback, ISpNotifyCallback_Vtbl); +windows_core::imp::define_interface!(ISpNotifyCallback, ISpNotifyCallback_Vtbl); impl ISpNotifyCallback { pub unsafe fn NotifyCallback(&self, wparam: P0, lparam: P1) -> windows_core::Result<()> where @@ -902,7 +902,7 @@ impl ISpNotifyCallback { pub struct ISpNotifyCallback_Vtbl { pub NotifyCallback: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpNotifySink, ISpNotifySink_Vtbl, 0x259684dc_37c3_11d2_9603_00c04f8ee628); +windows_core::imp::define_interface!(ISpNotifySink, ISpNotifySink_Vtbl, 0x259684dc_37c3_11d2_9603_00c04f8ee628); windows_core::imp::interface_hierarchy!(ISpNotifySink, windows_core::IUnknown); impl ISpNotifySink { pub unsafe fn Notify(&self) -> windows_core::Result<()> { @@ -914,7 +914,7 @@ pub struct ISpNotifySink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpNotifySource, ISpNotifySource_Vtbl, 0x5eff4aef_8487_11d2_961c_00c04f8ee628); +windows_core::imp::define_interface!(ISpNotifySource, ISpNotifySource_Vtbl, 0x5eff4aef_8487_11d2_961c_00c04f8ee628); windows_core::imp::interface_hierarchy!(ISpNotifySource, windows_core::IUnknown); impl ISpNotifySource { pub unsafe fn SetNotifySink(&self, pnotifysink: P0) -> windows_core::Result<()> @@ -967,7 +967,7 @@ pub struct ISpNotifySource_Vtbl { pub WaitForNotifyEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetNotifyEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } -windows_core::imp::com_interface!(ISpNotifyTranslator, ISpNotifyTranslator_Vtbl, 0xaca16614_5d3d_11d2_960e_00c04f8ee628); +windows_core::imp::define_interface!(ISpNotifyTranslator, ISpNotifyTranslator_Vtbl, 0xaca16614_5d3d_11d2_960e_00c04f8ee628); windows_core::imp::interface_hierarchy!(ISpNotifyTranslator, windows_core::IUnknown, ISpNotifySink); impl ISpNotifyTranslator { pub unsafe fn Notify(&self) -> windows_core::Result<()> { @@ -1020,7 +1020,7 @@ pub struct ISpNotifyTranslator_Vtbl { pub Wait: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } -windows_core::imp::com_interface!(ISpObjectToken, ISpObjectToken_Vtbl, 0x14056589_e16c_11d2_bb90_00c04f8ee6c0); +windows_core::imp::define_interface!(ISpObjectToken, ISpObjectToken_Vtbl, 0x14056589_e16c_11d2_bb90_00c04f8ee6c0); windows_core::imp::interface_hierarchy!(ISpObjectToken, windows_core::IUnknown, ISpDataKey); impl ISpObjectToken { pub unsafe fn SetData(&self, pszvaluename: P0, cbdata: u32, pdata: *const u8) -> windows_core::Result<()> @@ -1172,7 +1172,7 @@ pub struct ISpObjectToken_Vtbl { pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub MatchesAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpObjectTokenCategory, ISpObjectTokenCategory_Vtbl, 0x2d3d3845_39af_4850_bbf9_40b49780011d); +windows_core::imp::define_interface!(ISpObjectTokenCategory, ISpObjectTokenCategory_Vtbl, 0x2d3d3845_39af_4850_bbf9_40b49780011d); windows_core::imp::interface_hierarchy!(ISpObjectTokenCategory, windows_core::IUnknown, ISpDataKey); impl ISpObjectTokenCategory { pub unsafe fn SetData(&self, pszvaluename: P0, cbdata: u32, pdata: *const u8) -> windows_core::Result<()> @@ -1291,7 +1291,7 @@ pub struct ISpObjectTokenCategory_Vtbl { pub SetDefaultTokenId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetDefaultTokenId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpObjectTokenEnumBuilder, ISpObjectTokenEnumBuilder_Vtbl, 0x06b64f9f_7fda_11d2_b4f2_00c04f797396); +windows_core::imp::define_interface!(ISpObjectTokenEnumBuilder, ISpObjectTokenEnumBuilder_Vtbl, 0x06b64f9f_7fda_11d2_b4f2_00c04f797396); windows_core::imp::interface_hierarchy!(ISpObjectTokenEnumBuilder, windows_core::IUnknown, IEnumSpObjectTokens); impl ISpObjectTokenEnumBuilder { pub unsafe fn Next(&self, celt: u32, pelt: *mut Option, pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1354,7 +1354,7 @@ pub struct ISpObjectTokenEnumBuilder_Vtbl { pub AddTokensFromTokenEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Sort: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpObjectTokenInit, ISpObjectTokenInit_Vtbl, 0xb8aab0cf_346f_49d8_9499_c8b03f161d51); +windows_core::imp::define_interface!(ISpObjectTokenInit, ISpObjectTokenInit_Vtbl, 0xb8aab0cf_346f_49d8_9499_c8b03f161d51); windows_core::imp::interface_hierarchy!(ISpObjectTokenInit, windows_core::IUnknown, ISpDataKey, ISpObjectToken); impl ISpObjectTokenInit { pub unsafe fn SetData(&self, pszvaluename: P0, cbdata: u32, pdata: *const u8) -> windows_core::Result<()> @@ -1505,7 +1505,7 @@ pub struct ISpObjectTokenInit_Vtbl { pub base__: ISpObjectToken_Vtbl, pub InitFromDataKey: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpObjectWithToken, ISpObjectWithToken_Vtbl, 0x5b559f40_e952_11d2_bb91_00c04f8ee6c0); +windows_core::imp::define_interface!(ISpObjectWithToken, ISpObjectWithToken_Vtbl, 0x5b559f40_e952_11d2_bb91_00c04f8ee6c0); windows_core::imp::interface_hierarchy!(ISpObjectWithToken, windows_core::IUnknown); impl ISpObjectWithToken { pub unsafe fn SetObjectToken(&self, ptoken: P0) -> windows_core::Result<()> @@ -1525,7 +1525,7 @@ pub struct ISpObjectWithToken_Vtbl { pub SetObjectToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetObjectToken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpPhoneConverter, ISpPhoneConverter_Vtbl, 0x8445c581_0cac_4a38_abfe_9b2ce2826455); +windows_core::imp::define_interface!(ISpPhoneConverter, ISpPhoneConverter_Vtbl, 0x8445c581_0cac_4a38_abfe_9b2ce2826455); windows_core::imp::interface_hierarchy!(ISpPhoneConverter, windows_core::IUnknown, ISpObjectWithToken); impl ISpPhoneConverter { pub unsafe fn SetObjectToken(&self, ptoken: P0) -> windows_core::Result<()> @@ -1555,7 +1555,7 @@ pub struct ISpPhoneConverter_Vtbl { pub PhoneToId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u16) -> windows_core::HRESULT, pub IdToPhone: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpPhoneticAlphabetConverter, ISpPhoneticAlphabetConverter_Vtbl, 0x133adcd4_19b4_4020_9fdc_842e78253b17); +windows_core::imp::define_interface!(ISpPhoneticAlphabetConverter, ISpPhoneticAlphabetConverter_Vtbl, 0x133adcd4_19b4_4020_9fdc_842e78253b17); windows_core::imp::interface_hierarchy!(ISpPhoneticAlphabetConverter, windows_core::IUnknown); impl ISpPhoneticAlphabetConverter { pub unsafe fn GetLangId(&self) -> windows_core::Result { @@ -1588,7 +1588,7 @@ pub struct ISpPhoneticAlphabetConverter_Vtbl { pub UPS2SAPI: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, *mut u16, u32) -> windows_core::HRESULT, pub GetMaxConvertLength: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpPhoneticAlphabetSelection, ISpPhoneticAlphabetSelection_Vtbl, 0xb2745efd_42ce_48ca_81f1_a96e02538a90); +windows_core::imp::define_interface!(ISpPhoneticAlphabetSelection, ISpPhoneticAlphabetSelection_Vtbl, 0xb2745efd_42ce_48ca_81f1_a96e02538a90); windows_core::imp::interface_hierarchy!(ISpPhoneticAlphabetSelection, windows_core::IUnknown); impl ISpPhoneticAlphabetSelection { pub unsafe fn IsAlphabetUPS(&self) -> windows_core::Result { @@ -1608,7 +1608,7 @@ pub struct ISpPhoneticAlphabetSelection_Vtbl { pub IsAlphabetUPS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetAlphabetToUPS: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpPhrase, ISpPhrase_Vtbl, 0x1a5c0354_b621_4b5a_8791_d306ed379e53); +windows_core::imp::define_interface!(ISpPhrase, ISpPhrase_Vtbl, 0x1a5c0354_b621_4b5a_8791_d306ed379e53); windows_core::imp::interface_hierarchy!(ISpPhrase, windows_core::IUnknown); impl ISpPhrase { pub unsafe fn GetPhrase(&self) -> windows_core::Result<*mut SPPHRASE> { @@ -1637,7 +1637,7 @@ pub struct ISpPhrase_Vtbl { pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, super::super::Foundation::BOOL, *mut windows_core::PWSTR, *mut u8) -> windows_core::HRESULT, pub Discard: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpPhrase2, ISpPhrase2_Vtbl, 0xf264da52_e457_4696_b856_a737b717af79); +windows_core::imp::define_interface!(ISpPhrase2, ISpPhrase2_Vtbl, 0xf264da52_e457_4696_b856_a737b717af79); windows_core::imp::interface_hierarchy!(ISpPhrase2, windows_core::IUnknown, ISpPhrase); impl ISpPhrase2 { pub unsafe fn GetPhrase(&self) -> windows_core::Result<*mut SPPHRASE> { @@ -1679,7 +1679,7 @@ pub struct ISpPhrase2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetAudio: usize, } -windows_core::imp::com_interface!(ISpPhraseAlt, ISpPhraseAlt_Vtbl, 0x8fcebc98_4e49_4067_9c6c_d86a0e092e3d); +windows_core::imp::define_interface!(ISpPhraseAlt, ISpPhraseAlt_Vtbl, 0x8fcebc98_4e49_4067_9c6c_d86a0e092e3d); windows_core::imp::interface_hierarchy!(ISpPhraseAlt, windows_core::IUnknown, ISpPhrase); impl ISpPhraseAlt { pub unsafe fn GetPhrase(&self) -> windows_core::Result<*mut SPPHRASE> { @@ -1712,7 +1712,7 @@ pub struct ISpPhraseAlt_Vtbl { pub GetAltInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpPhraseBuilder, ISpPhraseBuilder_Vtbl, 0x88a3342a_0bed_4834_922b_88d43173162f); +windows_core::imp::define_interface!(ISpPhraseBuilder, ISpPhraseBuilder_Vtbl, 0x88a3342a_0bed_4834_922b_88d43173162f); windows_core::imp::interface_hierarchy!(ISpPhraseBuilder, windows_core::IUnknown, ISpPhrase); impl ISpPhraseBuilder { pub unsafe fn GetPhrase(&self) -> windows_core::Result<*mut SPPHRASE> { @@ -1769,7 +1769,7 @@ pub struct ISpPhraseBuilder_Vtbl { pub AddProperties: unsafe extern "system" fn(*mut core::ffi::c_void, SPPHRASEPROPERTYHANDLE, *const SPPHRASEPROPERTY, *mut SPPHRASEPROPERTYHANDLE) -> windows_core::HRESULT, pub AddReplacements: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const SPPHRASEREPLACEMENT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpPrivateEngineCallEx, ISpPrivateEngineCallEx_Vtbl, 0xdefd682a_fe0a_42b9_bfa1_56d3d6cecfaf); +windows_core::imp::define_interface!(ISpPrivateEngineCallEx, ISpPrivateEngineCallEx_Vtbl, 0xdefd682a_fe0a_42b9_bfa1_56d3d6cecfaf); windows_core::imp::interface_hierarchy!(ISpPrivateEngineCallEx, windows_core::IUnknown); impl ISpPrivateEngineCallEx { pub unsafe fn CallEngineSynchronize(&self, pinframe: *const core::ffi::c_void, ulinframesize: u32, ppcomemoutframe: *mut *mut core::ffi::c_void, puloutframesize: *mut u32) -> windows_core::Result<()> { @@ -1785,7 +1785,7 @@ pub struct ISpPrivateEngineCallEx_Vtbl { pub CallEngineSynchronize: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub CallEngineImmediate: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpProperties, ISpProperties_Vtbl, 0x5b4fb971_b115_4de1_ad97_e482e3bf6ee4); +windows_core::imp::define_interface!(ISpProperties, ISpProperties_Vtbl, 0x5b4fb971_b115_4de1_ad97_e482e3bf6ee4); windows_core::imp::interface_hierarchy!(ISpProperties, windows_core::IUnknown); impl ISpProperties { pub unsafe fn SetPropertyNum(&self, pname: P0, lvalue: i32) -> windows_core::Result<()> @@ -1823,7 +1823,7 @@ pub struct ISpProperties_Vtbl { pub SetPropertyString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetPropertyString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpRecoContext, ISpRecoContext_Vtbl, 0xf740a62f_7c15_489e_8234_940a33d9272d); +windows_core::imp::define_interface!(ISpRecoContext, ISpRecoContext_Vtbl, 0xf740a62f_7c15_489e_8234_940a33d9272d); windows_core::imp::interface_hierarchy!(ISpRecoContext, windows_core::IUnknown, ISpNotifySource, ISpEventSource); impl ISpRecoContext { pub unsafe fn SetNotifySink(&self, pnotifysink: P0) -> windows_core::Result<()> @@ -1972,7 +1972,7 @@ pub struct ISpRecoContext_Vtbl { pub SetContextState: unsafe extern "system" fn(*mut core::ffi::c_void, SPCONTEXTSTATE) -> windows_core::HRESULT, pub GetContextState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SPCONTEXTSTATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpRecoContext2, ISpRecoContext2_Vtbl, 0xbead311c_52ff_437f_9464_6b21054ca73d); +windows_core::imp::define_interface!(ISpRecoContext2, ISpRecoContext2_Vtbl, 0xbead311c_52ff_437f_9464_6b21054ca73d); windows_core::imp::interface_hierarchy!(ISpRecoContext2, windows_core::IUnknown); impl ISpRecoContext2 { pub unsafe fn SetGrammarOptions(&self, egrammaroptions: u32) -> windows_core::Result<()> { @@ -1996,7 +1996,7 @@ pub struct ISpRecoContext2_Vtbl { pub GetGrammarOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetAdaptationData2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32, SPADAPTATIONRELEVANCE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpRecoGrammar, ISpRecoGrammar_Vtbl, 0x2177db29_7f45_47d0_8554_067e91c80502); +windows_core::imp::define_interface!(ISpRecoGrammar, ISpRecoGrammar_Vtbl, 0x2177db29_7f45_47d0_8554_067e91c80502); windows_core::imp::interface_hierarchy!(ISpRecoGrammar, windows_core::IUnknown, ISpGrammarBuilder); impl ISpRecoGrammar { pub unsafe fn ResetGrammar(&self, newlanguage: u16) -> windows_core::Result<()> { @@ -2157,7 +2157,7 @@ pub struct ISpRecoGrammar_Vtbl { SaveCmd: usize, pub GetGrammarState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SPGRAMMARSTATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpRecoGrammar2, ISpRecoGrammar2_Vtbl, 0x4b37bc9e_9ed6_44a3_93d3_18f022b79ec3); +windows_core::imp::define_interface!(ISpRecoGrammar2, ISpRecoGrammar2_Vtbl, 0x4b37bc9e_9ed6_44a3_93d3_18f022b79ec3); windows_core::imp::interface_hierarchy!(ISpRecoGrammar2, windows_core::IUnknown); impl ISpRecoGrammar2 { pub unsafe fn GetRules(&self, ppcomemrules: *mut *mut SPRULE, punumrules: *mut u32) -> windows_core::Result<()> { @@ -2226,7 +2226,7 @@ pub struct ISpRecoGrammar2_Vtbl { #[cfg(not(feature = "Win32_System_Com_Urlmon"))] SetSMLSecurityManager: usize, } -windows_core::imp::com_interface!(ISpRecoResult, ISpRecoResult_Vtbl, 0x20b053be_e235_43cd_9a2a_8d17a48b7842); +windows_core::imp::define_interface!(ISpRecoResult, ISpRecoResult_Vtbl, 0x20b053be_e235_43cd_9a2a_8d17a48b7842); windows_core::imp::interface_hierarchy!(ISpRecoResult, windows_core::IUnknown, ISpPhrase); impl ISpRecoResult { pub unsafe fn GetPhrase(&self) -> windows_core::Result<*mut SPPHRASE> { @@ -2289,7 +2289,7 @@ pub struct ISpRecoResult_Vtbl { ScaleAudio: usize, pub GetRecoContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpRecoResult2, ISpRecoResult2_Vtbl, 0x27cac6c4_88f2_41f2_8817_0c95e59f1e6e); +windows_core::imp::define_interface!(ISpRecoResult2, ISpRecoResult2_Vtbl, 0x27cac6c4_88f2_41f2_8817_0c95e59f1e6e); windows_core::imp::interface_hierarchy!(ISpRecoResult2, windows_core::IUnknown, ISpPhrase, ISpRecoResult); impl ISpRecoResult2 { pub unsafe fn GetPhrase(&self) -> windows_core::Result<*mut SPPHRASE> { @@ -2362,7 +2362,7 @@ pub struct ISpRecoResult2_Vtbl { pub CommitText: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub SetTextFeedback: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpRecognizer, ISpRecognizer_Vtbl, 0xc2b5f241_daa0_4507_9e16_5a1eaa2b7a5c); +windows_core::imp::define_interface!(ISpRecognizer, ISpRecognizer_Vtbl, 0xc2b5f241_daa0_4507_9e16_5a1eaa2b7a5c); windows_core::imp::interface_hierarchy!(ISpRecognizer, windows_core::IUnknown, ISpProperties); impl ISpRecognizer { pub unsafe fn SetPropertyNum(&self, pname: P0, lvalue: i32) -> windows_core::Result<()> @@ -2494,7 +2494,7 @@ pub struct ISpRecognizer_Vtbl { pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub EmulateRecognition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpRecognizer2, ISpRecognizer2_Vtbl, 0x8fc6d974_c81e_4098_93c5_0147f61ed4d3); +windows_core::imp::define_interface!(ISpRecognizer2, ISpRecognizer2_Vtbl, 0x8fc6d974_c81e_4098_93c5_0147f61ed4d3); windows_core::imp::interface_hierarchy!(ISpRecognizer2, windows_core::IUnknown); impl ISpRecognizer2 { pub unsafe fn EmulateRecognitionEx(&self, pphrase: P0, dwcompareflags: u32) -> windows_core::Result<()> @@ -2521,7 +2521,7 @@ pub struct ISpRecognizer2_Vtbl { pub SetTrainingState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub ResetAcousticModelAdaptation: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpRegDataKey, ISpRegDataKey_Vtbl, 0x92a66e2b_c830_4149_83df_6fc2ba1e7a5b); +windows_core::imp::define_interface!(ISpRegDataKey, ISpRegDataKey_Vtbl, 0x92a66e2b_c830_4149_83df_6fc2ba1e7a5b); windows_core::imp::interface_hierarchy!(ISpRegDataKey, windows_core::IUnknown, ISpDataKey); impl ISpRegDataKey { pub unsafe fn SetData(&self, pszvaluename: P0, cbdata: u32, pdata: *const u8) -> windows_core::Result<()> @@ -2614,7 +2614,7 @@ pub struct ISpRegDataKey_Vtbl { SetKey: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpResourceManager, ISpResourceManager_Vtbl, 0x93384e18_5014_43d5_adbb_a78e055926bd); +windows_core::imp::define_interface!(ISpResourceManager, ISpResourceManager_Vtbl, 0x93384e18_5014_43d5_adbb_a78e055926bd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpResourceManager, windows_core::IUnknown, super::super::System::Com::IServiceProvider); #[cfg(feature = "Win32_System_Com")] @@ -2647,7 +2647,7 @@ pub struct ISpResourceManager_Vtbl { pub SetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpSRAlternates, ISpSRAlternates_Vtbl, 0xfece8294_2be1_408f_8e68_2de377092f0e); +windows_core::imp::define_interface!(ISpSRAlternates, ISpSRAlternates_Vtbl, 0xfece8294_2be1_408f_8e68_2de377092f0e); windows_core::imp::interface_hierarchy!(ISpSRAlternates, windows_core::IUnknown); impl ISpSRAlternates { pub unsafe fn GetAlternates(&self, paltrequest: *const SPPHRASEALTREQUEST, ppalts: *mut *mut SPPHRASEALT, pcalts: *mut u32) -> windows_core::Result<()> { @@ -2663,7 +2663,7 @@ pub struct ISpSRAlternates_Vtbl { pub GetAlternates: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPPHRASEALTREQUEST, *mut *mut SPPHRASEALT, *mut u32) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPPHRASEALTREQUEST, *const SPPHRASEALT, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpSRAlternates2, ISpSRAlternates2_Vtbl, 0xf338f437_cb33_4020_9cab_c71ff9ce12d3); +windows_core::imp::define_interface!(ISpSRAlternates2, ISpSRAlternates2_Vtbl, 0xf338f437_cb33_4020_9cab_c71ff9ce12d3); windows_core::imp::interface_hierarchy!(ISpSRAlternates2, windows_core::IUnknown, ISpSRAlternates); impl ISpSRAlternates2 { pub unsafe fn GetAlternates(&self, paltrequest: *const SPPHRASEALTREQUEST, ppalts: *mut *mut SPPHRASEALT, pcalts: *mut u32) -> windows_core::Result<()> { @@ -2684,7 +2684,7 @@ pub struct ISpSRAlternates2_Vtbl { pub base__: ISpSRAlternates_Vtbl, pub CommitText: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPPHRASEALTREQUEST, windows_core::PCWSTR, SPCOMMITFLAGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpSREngine, ISpSREngine_Vtbl, 0x2f472991_854b_4465_b613_fbafb3ad8ed8); +windows_core::imp::define_interface!(ISpSREngine, ISpSREngine_Vtbl, 0x2f472991_854b_4465_b613_fbafb3ad8ed8); windows_core::imp::interface_hierarchy!(ISpSREngine, windows_core::IUnknown); impl ISpSREngine { pub unsafe fn SetSite(&self, psite: P0) -> windows_core::Result<()> @@ -2865,7 +2865,7 @@ pub struct ISpSREngine_Vtbl { pub PrivateCallEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *const core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetContextState: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, SPCONTEXTSTATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpSREngine2, ISpSREngine2_Vtbl, 0x7ba627d8_33f9_4375_90c5_9985aee5ede5); +windows_core::imp::define_interface!(ISpSREngine2, ISpSREngine2_Vtbl, 0x7ba627d8_33f9_4375_90c5_9985aee5ede5); windows_core::imp::interface_hierarchy!(ISpSREngine2, windows_core::IUnknown, ISpSREngine); impl ISpSREngine2 { pub unsafe fn SetSite(&self, psite: P0) -> windows_core::Result<()> @@ -3075,7 +3075,7 @@ pub struct ISpSREngine2_Vtbl { pub OnLoadCFG: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *const SPBINARYGRAMMAR, u32) -> windows_core::HRESULT, pub OnUnloadCFG: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpSREngineSite, ISpSREngineSite_Vtbl, 0x3b414aec_720c_4883_b9ef_178cd394fb3a); +windows_core::imp::define_interface!(ISpSREngineSite, ISpSREngineSite_Vtbl, 0x3b414aec_720c_4883_b9ef_178cd394fb3a); 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 { @@ -3191,7 +3191,7 @@ pub struct ISpSREngineSite_Vtbl { pub GetContextMaxAlternates: unsafe extern "system" fn(*mut core::ffi::c_void, SPRECOCONTEXTHANDLE, *mut u32) -> windows_core::HRESULT, pub UpdateRecoPos: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpSREngineSite2, ISpSREngineSite2_Vtbl, 0x7bc6e012_684a_493e_bdd4_2bf5fbf48cfe); +windows_core::imp::define_interface!(ISpSREngineSite2, ISpSREngineSite2_Vtbl, 0x7bc6e012_684a_493e_bdd4_2bf5fbf48cfe); windows_core::imp::interface_hierarchy!(ISpSREngineSite2, windows_core::IUnknown, ISpSREngineSite); impl ISpSREngineSite2 { pub unsafe fn Read(&self, pv: *const core::ffi::c_void, cb: u32) -> windows_core::Result { @@ -3308,7 +3308,7 @@ pub struct ISpSREngineSite2_Vtbl { pub GetRuleTransition: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut SPTRANSITIONENTRY) -> windows_core::HRESULT, pub RecognitionEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const SPRECORESULTINFOEX) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpSerializeState, ISpSerializeState_Vtbl, 0x21b501a0_0ec7_46c9_92c3_a2bc784c54b9); +windows_core::imp::define_interface!(ISpSerializeState, ISpSerializeState_Vtbl, 0x21b501a0_0ec7_46c9_92c3_a2bc784c54b9); windows_core::imp::interface_hierarchy!(ISpSerializeState, windows_core::IUnknown); impl ISpSerializeState { pub unsafe fn GetSerializedState(&self, ppbdata: *mut *mut u8, pulsize: *mut u32, dwreserved: u32) -> windows_core::Result<()> { @@ -3324,7 +3324,7 @@ pub struct ISpSerializeState_Vtbl { pub GetSerializedState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32, u32) -> windows_core::HRESULT, pub SetSerializedState: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpShortcut, ISpShortcut_Vtbl, 0x3df681e2_ea56_11d9_8bde_f66bad1e3f3a); +windows_core::imp::define_interface!(ISpShortcut, ISpShortcut_Vtbl, 0x3df681e2_ea56_11d9_8bde_f66bad1e3f3a); windows_core::imp::interface_hierarchy!(ISpShortcut, windows_core::IUnknown); impl ISpShortcut { pub unsafe fn AddShortcut(&self, pszdisplay: P0, langid: u16, pszspoken: P1, shtype: SPSHORTCUTTYPE) -> windows_core::Result<()> @@ -3374,7 +3374,7 @@ pub struct ISpShortcut_Vtbl { pub GetGenerationChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut SPSHORTCUTPAIRLIST) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpStream, ISpStream_Vtbl, 0x12e3cca9_7518_44c5_a5e7_ba5a79cb929e); +windows_core::imp::define_interface!(ISpStream, ISpStream_Vtbl, 0x12e3cca9_7518_44c5_a5e7_ba5a79cb929e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpStream, windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); #[cfg(feature = "Win32_System_Com")] @@ -3474,7 +3474,7 @@ pub struct ISpStream_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpStreamFormat, ISpStreamFormat_Vtbl, 0xbed530be_2606_4f4d_a1c0_54c5cda5566f); +windows_core::imp::define_interface!(ISpStreamFormat, ISpStreamFormat_Vtbl, 0xbed530be_2606_4f4d_a1c0_54c5cda5566f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpStreamFormat, windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] @@ -3543,7 +3543,7 @@ pub struct ISpStreamFormat_Vtbl { GetFormat: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpStreamFormatConverter, ISpStreamFormatConverter_Vtbl, 0x678a932c_ea71_4446_9b41_78fda6280a29); +windows_core::imp::define_interface!(ISpStreamFormatConverter, ISpStreamFormatConverter_Vtbl, 0x678a932c_ea71_4446_9b41_78fda6280a29); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpStreamFormatConverter, windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream, ISpStreamFormat); #[cfg(feature = "Win32_System_Com")] @@ -3651,7 +3651,7 @@ pub struct ISpStreamFormatConverter_Vtbl { pub ScaleConvertedToBaseOffset: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut u64) -> windows_core::HRESULT, pub ScaleBaseToConvertedOffset: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpTTSEngine, ISpTTSEngine_Vtbl, 0xa74d7c8e_4cc5_4f2f_a6eb_804dee18500e); +windows_core::imp::define_interface!(ISpTTSEngine, ISpTTSEngine_Vtbl, 0xa74d7c8e_4cc5_4f2f_a6eb_804dee18500e); windows_core::imp::interface_hierarchy!(ISpTTSEngine, windows_core::IUnknown); impl ISpTTSEngine { #[cfg(feature = "Win32_Media_Audio")] @@ -3678,7 +3678,7 @@ pub struct ISpTTSEngine_Vtbl { #[cfg(not(feature = "Win32_Media_Audio"))] GetOutputFormat: usize, } -windows_core::imp::com_interface!(ISpTTSEngineSite, ISpTTSEngineSite_Vtbl, 0x9880499b_cce9_11d2_b503_00c04f797396); +windows_core::imp::define_interface!(ISpTTSEngineSite, ISpTTSEngineSite_Vtbl, 0x9880499b_cce9_11d2_b503_00c04f797396); windows_core::imp::interface_hierarchy!(ISpTTSEngineSite, windows_core::IUnknown, ISpEventSink); impl ISpTTSEngineSite { pub unsafe fn AddEvents(&self, peventarray: *const SPEVENT, ulcount: u32) -> windows_core::Result<()> { @@ -3719,7 +3719,7 @@ pub struct ISpTTSEngineSite_Vtbl { pub GetSkipInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SPVSKIPTYPE, *mut i32) -> windows_core::HRESULT, pub CompleteSkip: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::interface!(ISpTask, ISpTask_Vtbl); +windows_core::imp::define_interface!(ISpTask, ISpTask_Vtbl); impl ISpTask { pub unsafe fn Execute(&self, pvtaskdata: *mut core::ffi::c_void, pfcontinueprocessing: *const i32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).Execute)(windows_core::Interface::as_raw(self), pvtaskdata, pfcontinueprocessing).ok() @@ -3729,7 +3729,7 @@ impl ISpTask { pub struct ISpTask_Vtbl { pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpTaskManager, ISpTaskManager_Vtbl, 0x2baeef81_2ca3_4331_98f3_26ec5abefb03); +windows_core::imp::define_interface!(ISpTaskManager, ISpTaskManager_Vtbl, 0x2baeef81_2ca3_4331_98f3_26ec5abefb03); windows_core::imp::interface_hierarchy!(ISpTaskManager, windows_core::IUnknown); impl ISpTaskManager { pub unsafe fn SetThreadPoolInfo(&self, ppoolinfo: *const SPTMTHREADINFO) -> windows_core::Result<()> { @@ -3779,7 +3779,7 @@ pub struct ISpTaskManager_Vtbl { pub TerminateTask: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub TerminateTaskGroup: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpThreadControl, ISpThreadControl_Vtbl, 0xa6be4d73_4403_4358_b22d_0346e23b1764); +windows_core::imp::define_interface!(ISpThreadControl, ISpThreadControl_Vtbl, 0xa6be4d73_4403_4358_b22d_0346e23b1764); windows_core::imp::interface_hierarchy!(ISpThreadControl, windows_core::IUnknown, ISpNotifySink); impl ISpThreadControl { pub unsafe fn Notify(&self) -> windows_core::Result<()> { @@ -3830,7 +3830,7 @@ pub struct ISpThreadControl_Vtbl { pub ThreadCompleteEvent: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, pub ExitThreadEvent: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::HANDLE, } -windows_core::imp::interface!(ISpThreadTask, ISpThreadTask_Vtbl); +windows_core::imp::define_interface!(ISpThreadTask, ISpThreadTask_Vtbl); impl ISpThreadTask { pub unsafe fn InitThread(&self, pvtaskdata: *mut core::ffi::c_void, hwnd: P0) -> windows_core::Result<()> where @@ -3861,7 +3861,7 @@ pub struct ISpThreadTask_Vtbl { pub ThreadProc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::HANDLE, super::super::Foundation::HANDLE, super::super::Foundation::HWND, *const i32) -> windows_core::HRESULT, pub WindowMessage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::HWND, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> super::super::Foundation::LRESULT, } -windows_core::imp::com_interface!(ISpTokenUI, ISpTokenUI_Vtbl, 0xf8e690f0_39cb_4843_b8d7_c84696e1119d); +windows_core::imp::define_interface!(ISpTokenUI, ISpTokenUI_Vtbl, 0xf8e690f0_39cb_4843_b8d7_c84696e1119d); windows_core::imp::interface_hierarchy!(ISpTokenUI, windows_core::IUnknown); impl ISpTokenUI { pub unsafe fn IsUISupported(&self, psztypeofui: P0, pvextradata: *const core::ffi::c_void, cbextradata: u32, punkobject: P1) -> windows_core::Result @@ -3889,7 +3889,7 @@ pub struct ISpTokenUI_Vtbl { pub IsUISupported: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::ffi::c_void, u32, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, windows_core::PCWSTR, *const core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpTranscript, ISpTranscript_Vtbl, 0x10f63bce_201a_11d3_ac70_00c04f8ee6c0); +windows_core::imp::define_interface!(ISpTranscript, ISpTranscript_Vtbl, 0x10f63bce_201a_11d3_ac70_00c04f8ee6c0); windows_core::imp::interface_hierarchy!(ISpTranscript, windows_core::IUnknown); impl ISpTranscript { pub unsafe fn GetTranscript(&self) -> windows_core::Result { @@ -3909,7 +3909,7 @@ pub struct ISpTranscript_Vtbl { pub GetTranscript: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub AppendTranscript: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpVoice, ISpVoice_Vtbl, 0x6c44df74_72b9_4992_a1ec_ef996e0422d4); +windows_core::imp::define_interface!(ISpVoice, ISpVoice_Vtbl, 0x6c44df74_72b9_4992_a1ec_ef996e0422d4); windows_core::imp::interface_hierarchy!(ISpVoice, windows_core::IUnknown, ISpNotifySource, ISpEventSource); impl ISpVoice { pub unsafe fn SetNotifySink(&self, pnotifysink: P0) -> windows_core::Result<()> @@ -4099,7 +4099,7 @@ pub struct ISpVoice_Vtbl { pub IsUISupported: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub DisplayUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpXMLRecoResult, ISpXMLRecoResult_Vtbl, 0xae39362b_45a8_4074_9b9e_ccf49aa2d0b6); +windows_core::imp::define_interface!(ISpXMLRecoResult, ISpXMLRecoResult_Vtbl, 0xae39362b_45a8_4074_9b9e_ccf49aa2d0b6); windows_core::imp::interface_hierarchy!(ISpXMLRecoResult, windows_core::IUnknown, ISpPhrase, ISpRecoResult); impl ISpXMLRecoResult { pub unsafe fn GetPhrase(&self) -> windows_core::Result<*mut SPPHRASE> { @@ -4158,7 +4158,7 @@ pub struct ISpXMLRecoResult_Vtbl { pub GetXMLErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SPSEMANTICERRORINFO) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechAudio, ISpeechAudio_Vtbl, 0xcff8e175_019e_11d3_a08e_00c04f8ef9b5); +windows_core::imp::define_interface!(ISpeechAudio, ISpeechAudio_Vtbl, 0xcff8e175_019e_11d3_a08e_00c04f8ef9b5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechAudio, windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] @@ -4253,7 +4253,7 @@ pub struct ISpeechAudio_Vtbl { pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechAudioState) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechAudioBufferInfo, ISpeechAudioBufferInfo_Vtbl, 0x11b103d8_1142_4edf_a093_82fb3915f8cc); +windows_core::imp::define_interface!(ISpeechAudioBufferInfo, ISpeechAudioBufferInfo_Vtbl, 0x11b103d8_1142_4edf_a093_82fb3915f8cc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechAudioBufferInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4292,7 +4292,7 @@ pub struct ISpeechAudioBufferInfo_Vtbl { pub SetEventBias: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechAudioFormat, ISpeechAudioFormat_Vtbl, 0xe6e9c590_3e18_40e3_8299_061f98bde7c7); +windows_core::imp::define_interface!(ISpeechAudioFormat, ISpeechAudioFormat_Vtbl, 0xe6e9c590_3e18_40e3_8299_061f98bde7c7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechAudioFormat, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4345,7 +4345,7 @@ pub struct ISpeechAudioFormat_Vtbl { SetWaveFormatEx: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechAudioStatus, ISpeechAudioStatus_Vtbl, 0xc62d9c91_7458_47f6_862d_1ef86fb0b278); +windows_core::imp::define_interface!(ISpeechAudioStatus, ISpeechAudioStatus_Vtbl, 0xc62d9c91_7458_47f6_862d_1ef86fb0b278); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechAudioStatus, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4382,7 +4382,7 @@ pub struct ISpeechAudioStatus_Vtbl { pub CurrentDevicePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechBaseStream, ISpeechBaseStream_Vtbl, 0x6450336f_7d49_4ced_8097_49d6dee37294); +windows_core::imp::define_interface!(ISpeechBaseStream, ISpeechBaseStream_Vtbl, 0x6450336f_7d49_4ced_8097_49d6dee37294); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechBaseStream, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4434,7 +4434,7 @@ pub struct ISpeechBaseStream_Vtbl { pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, SpeechStreamSeekPositionType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechCustomStream, ISpeechCustomStream_Vtbl, 0x1a9e9f4f_104f_4db8_a115_efd7fd0c97ae); +windows_core::imp::define_interface!(ISpeechCustomStream, ISpeechCustomStream_Vtbl, 0x1a9e9f4f_104f_4db8_a115_efd7fd0c97ae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechCustomStream, windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] @@ -4487,7 +4487,7 @@ pub struct ISpeechCustomStream_Vtbl { pub putref_BaseStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechDataKey, ISpeechDataKey_Vtbl, 0xce17c09b_4efa_44d5_a4c9_59d9585ab0cd); +windows_core::imp::define_interface!(ISpeechDataKey, ISpeechDataKey_Vtbl, 0xce17c09b_4efa_44d5_a4c9_59d9585ab0cd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechDataKey, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4594,7 +4594,7 @@ pub struct ISpeechDataKey_Vtbl { pub EnumValues: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechFileStream, ISpeechFileStream_Vtbl, 0xaf67f125_ab39_4e93_b4a2_cc2e66e182a7); +windows_core::imp::define_interface!(ISpeechFileStream, ISpeechFileStream_Vtbl, 0xaf67f125_ab39_4e93_b4a2_cc2e66e182a7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechFileStream, windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] @@ -4647,7 +4647,7 @@ pub struct ISpeechFileStream_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechGrammarRule, ISpeechGrammarRule_Vtbl, 0xafe719cf_5dd1_44f2_999c_7a399f1cfccc); +windows_core::imp::define_interface!(ISpeechGrammarRule, ISpeechGrammarRule_Vtbl, 0xafe719cf_5dd1_44f2_999c_7a399f1cfccc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechGrammarRule, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4704,7 +4704,7 @@ pub struct ISpeechGrammarRule_Vtbl { AddState: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechGrammarRuleState, ISpeechGrammarRuleState_Vtbl, 0xd4286f2c_ee67_45ae_b928_28d695362eda); +windows_core::imp::define_interface!(ISpeechGrammarRuleState, ISpeechGrammarRuleState_Vtbl, 0xd4286f2c_ee67_45ae_b928_28d695362eda); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechGrammarRuleState, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4773,7 +4773,7 @@ pub struct ISpeechGrammarRuleState_Vtbl { AddSpecialTransition: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechGrammarRuleStateTransition, ISpeechGrammarRuleStateTransition_Vtbl, 0xcafd1db1_41d1_4a06_9863_e2e81da17a9a); +windows_core::imp::define_interface!(ISpeechGrammarRuleStateTransition, ISpeechGrammarRuleStateTransition_Vtbl, 0xcafd1db1_41d1_4a06_9863_e2e81da17a9a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechGrammarRuleStateTransition, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4833,7 +4833,7 @@ pub struct ISpeechGrammarRuleStateTransition_Vtbl { NextState: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechGrammarRuleStateTransitions, ISpeechGrammarRuleStateTransitions_Vtbl, 0xeabce657_75bc_44a2_aa7f_c56476742963); +windows_core::imp::define_interface!(ISpeechGrammarRuleStateTransitions, ISpeechGrammarRuleStateTransitions_Vtbl, 0xeabce657_75bc_44a2_aa7f_c56476742963); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechGrammarRuleStateTransitions, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4864,7 +4864,7 @@ pub struct ISpeechGrammarRuleStateTransitions_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")] -windows_core::imp::com_interface!(ISpeechGrammarRules, ISpeechGrammarRules_Vtbl, 0x6ffa3b44_fc2d_40d1_8afc_32911c7f1ad1); +windows_core::imp::define_interface!(ISpeechGrammarRules, ISpeechGrammarRules_Vtbl, 0x6ffa3b44_fc2d_40d1_8afc_32911c7f1ad1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechGrammarRules, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4932,7 +4932,7 @@ pub struct ISpeechGrammarRules_Vtbl { pub CommitAndSave: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechLexicon, ISpeechLexicon_Vtbl, 0x3da7627a_c7ae_4b23_8708_638c50362c25); +windows_core::imp::define_interface!(ISpeechLexicon, ISpeechLexicon_Vtbl, 0x3da7627a_c7ae_4b23_8708_638c50362c25); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechLexicon, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5007,7 +5007,7 @@ pub struct ISpeechLexicon_Vtbl { GetGenerationChange: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechLexiconPronunciation, ISpeechLexiconPronunciation_Vtbl, 0x95252c5d_9e43_4f4a_9899_48ee73352f9f); +windows_core::imp::define_interface!(ISpeechLexiconPronunciation, ISpeechLexiconPronunciation_Vtbl, 0x95252c5d_9e43_4f4a_9899_48ee73352f9f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechLexiconPronunciation, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5044,7 +5044,7 @@ pub struct ISpeechLexiconPronunciation_Vtbl { pub Symbolic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechLexiconPronunciations, ISpeechLexiconPronunciations_Vtbl, 0x72829128_5682_4704_a0d4_3e2bb6f2ead3); +windows_core::imp::define_interface!(ISpeechLexiconPronunciations, ISpeechLexiconPronunciations_Vtbl, 0x72829128_5682_4704_a0d4_3e2bb6f2ead3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechLexiconPronunciations, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5075,7 +5075,7 @@ pub struct ISpeechLexiconPronunciations_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")] -windows_core::imp::com_interface!(ISpeechLexiconWord, ISpeechLexiconWord_Vtbl, 0x4e5b933c_c9be_48ed_8842_1ee51bb1d4ff); +windows_core::imp::define_interface!(ISpeechLexiconWord, ISpeechLexiconWord_Vtbl, 0x4e5b933c_c9be_48ed_8842_1ee51bb1d4ff); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechLexiconWord, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5111,7 +5111,7 @@ pub struct ISpeechLexiconWord_Vtbl { Pronunciations: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechLexiconWords, ISpeechLexiconWords_Vtbl, 0x8d199862_415e_47d5_ac4f_faa608b424e6); +windows_core::imp::define_interface!(ISpeechLexiconWords, ISpeechLexiconWords_Vtbl, 0x8d199862_415e_47d5_ac4f_faa608b424e6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechLexiconWords, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5142,7 +5142,7 @@ pub struct ISpeechLexiconWords_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")] -windows_core::imp::com_interface!(ISpeechMMSysAudio, ISpeechMMSysAudio_Vtbl, 0x3c76af6d_1fd7_4831_81d1_3b71d5a13c44); +windows_core::imp::define_interface!(ISpeechMMSysAudio, ISpeechMMSysAudio_Vtbl, 0x3c76af6d_1fd7_4831_81d1_3b71d5a13c44); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechMMSysAudio, windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream, ISpeechAudio); #[cfg(feature = "Win32_System_Com")] @@ -5242,7 +5242,7 @@ pub struct ISpeechMMSysAudio_Vtbl { pub MMHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechMemoryStream, ISpeechMemoryStream_Vtbl, 0xeeb14b68_808b_4abe_a5ea_b51da7588008); +windows_core::imp::define_interface!(ISpeechMemoryStream, ISpeechMemoryStream_Vtbl, 0xeeb14b68_808b_4abe_a5ea_b51da7588008); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechMemoryStream, windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechBaseStream); #[cfg(feature = "Win32_System_Com")] @@ -5295,7 +5295,7 @@ pub struct ISpeechMemoryStream_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechObjectToken, ISpeechObjectToken_Vtbl, 0xc74a3adc_b727_4500_a84a_b526721c8b8c); +windows_core::imp::define_interface!(ISpeechObjectToken, ISpeechObjectToken_Vtbl, 0xc74a3adc_b727_4500_a84a_b526721c8b8c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechObjectToken, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5412,7 +5412,7 @@ pub struct ISpeechObjectToken_Vtbl { pub MatchesAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechObjectTokenCategory, ISpeechObjectTokenCategory_Vtbl, 0xca7eac50_2d01_4145_86d4_5ae7d70f4469); +windows_core::imp::define_interface!(ISpeechObjectTokenCategory, ISpeechObjectTokenCategory_Vtbl, 0xca7eac50_2d01_4145_86d4_5ae7d70f4469); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechObjectTokenCategory, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5471,7 +5471,7 @@ pub struct ISpeechObjectTokenCategory_Vtbl { EnumerateTokens: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechObjectTokens, ISpeechObjectTokens_Vtbl, 0x9285b776_2e7b_4bc0_b53e_580eb6fa967f); +windows_core::imp::define_interface!(ISpeechObjectTokens, ISpeechObjectTokens_Vtbl, 0x9285b776_2e7b_4bc0_b53e_580eb6fa967f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechObjectTokens, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5502,7 +5502,7 @@ pub struct ISpeechObjectTokens_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")] -windows_core::imp::com_interface!(ISpeechPhoneConverter, ISpeechPhoneConverter_Vtbl, 0xc3e4f353_433f_43d6_89a1_6a62a7054c3d); +windows_core::imp::define_interface!(ISpeechPhoneConverter, ISpeechPhoneConverter_Vtbl, 0xc3e4f353_433f_43d6_89a1_6a62a7054c3d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhoneConverter, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5539,7 +5539,7 @@ pub struct ISpeechPhoneConverter_Vtbl { pub IdToPhone: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechPhraseAlternate, ISpeechPhraseAlternate_Vtbl, 0x27864a2a_2b9f_4cb8_92d3_0d2722fd1e73); +windows_core::imp::define_interface!(ISpeechPhraseAlternate, ISpeechPhraseAlternate_Vtbl, 0x27864a2a_2b9f_4cb8_92d3_0d2722fd1e73); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseAlternate, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5583,7 +5583,7 @@ pub struct ISpeechPhraseAlternate_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechPhraseAlternates, ISpeechPhraseAlternates_Vtbl, 0xb238b6d5_f276_4c3d_a6c1_2974801c3cc2); +windows_core::imp::define_interface!(ISpeechPhraseAlternates, ISpeechPhraseAlternates_Vtbl, 0xb238b6d5_f276_4c3d_a6c1_2974801c3cc2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseAlternates, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5614,7 +5614,7 @@ pub struct ISpeechPhraseAlternates_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")] -windows_core::imp::com_interface!(ISpeechPhraseElement, ISpeechPhraseElement_Vtbl, 0xe6176f96_e373_4801_b223_3b62c068c0b4); +windows_core::imp::define_interface!(ISpeechPhraseElement, ISpeechPhraseElement_Vtbl, 0xe6176f96_e373_4801_b223_3b62c068c0b4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseElement, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5691,7 +5691,7 @@ pub struct ISpeechPhraseElement_Vtbl { pub EngineConfidence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechPhraseElements, ISpeechPhraseElements_Vtbl, 0x0626b328_3478_467d_a0b3_d0853b93dda3); +windows_core::imp::define_interface!(ISpeechPhraseElements, ISpeechPhraseElements_Vtbl, 0x0626b328_3478_467d_a0b3_d0853b93dda3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseElements, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5722,7 +5722,7 @@ pub struct ISpeechPhraseElements_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")] -windows_core::imp::com_interface!(ISpeechPhraseInfo, ISpeechPhraseInfo_Vtbl, 0x961559cf_4e67_4662_8bf0_d93f1fcd61b3); +windows_core::imp::define_interface!(ISpeechPhraseInfo, ISpeechPhraseInfo_Vtbl, 0x961559cf_4e67_4662_8bf0_d93f1fcd61b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5836,7 +5836,7 @@ pub struct ISpeechPhraseInfo_Vtbl { 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")] -windows_core::imp::com_interface!(ISpeechPhraseInfoBuilder, ISpeechPhraseInfoBuilder_Vtbl, 0x3b151836_df3a_4e0a_846c_d2adc9334333); +windows_core::imp::define_interface!(ISpeechPhraseInfoBuilder, ISpeechPhraseInfoBuilder_Vtbl, 0x3b151836_df3a_4e0a_846c_d2adc9334333); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseInfoBuilder, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5857,7 +5857,7 @@ pub struct ISpeechPhraseInfoBuilder_Vtbl { RestorePhraseFromMemory: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechPhraseProperties, ISpeechPhraseProperties_Vtbl, 0x08166b47_102e_4b23_a599_bdb98dbfd1f4); +windows_core::imp::define_interface!(ISpeechPhraseProperties, ISpeechPhraseProperties_Vtbl, 0x08166b47_102e_4b23_a599_bdb98dbfd1f4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseProperties, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5888,7 +5888,7 @@ pub struct ISpeechPhraseProperties_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")] -windows_core::imp::com_interface!(ISpeechPhraseProperty, ISpeechPhraseProperty_Vtbl, 0xce563d48_961e_4732_a2e1_378a42b430be); +windows_core::imp::define_interface!(ISpeechPhraseProperty, ISpeechPhraseProperty_Vtbl, 0xce563d48_961e_4732_a2e1_378a42b430be); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseProperty, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5953,7 +5953,7 @@ pub struct ISpeechPhraseProperty_Vtbl { Children: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechPhraseReplacement, ISpeechPhraseReplacement_Vtbl, 0x2890a410_53a7_4fb5_94ec_06d4998e3d02); +windows_core::imp::define_interface!(ISpeechPhraseReplacement, ISpeechPhraseReplacement_Vtbl, 0x2890a410_53a7_4fb5_94ec_06d4998e3d02); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseReplacement, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5985,7 +5985,7 @@ pub struct ISpeechPhraseReplacement_Vtbl { pub NumberOfElements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechPhraseReplacements, ISpeechPhraseReplacements_Vtbl, 0x38bc662f_2257_4525_959e_2069d2596c05); +windows_core::imp::define_interface!(ISpeechPhraseReplacements, ISpeechPhraseReplacements_Vtbl, 0x38bc662f_2257_4525_959e_2069d2596c05); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseReplacements, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6016,7 +6016,7 @@ pub struct ISpeechPhraseReplacements_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")] -windows_core::imp::com_interface!(ISpeechPhraseRule, ISpeechPhraseRule_Vtbl, 0xa7bfe112_a4a0_48d9_b602_c313843f6964); +windows_core::imp::define_interface!(ISpeechPhraseRule, ISpeechPhraseRule_Vtbl, 0xa7bfe112_a4a0_48d9_b602_c313843f6964); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseRule, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6076,7 +6076,7 @@ pub struct ISpeechPhraseRule_Vtbl { pub EngineConfidence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechPhraseRules, ISpeechPhraseRules_Vtbl, 0x9047d593_01dd_4b72_81a3_e4a0ca69f407); +windows_core::imp::define_interface!(ISpeechPhraseRules, ISpeechPhraseRules_Vtbl, 0x9047d593_01dd_4b72_81a3_e4a0ca69f407); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechPhraseRules, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6107,7 +6107,7 @@ pub struct ISpeechPhraseRules_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")] -windows_core::imp::com_interface!(ISpeechRecoContext, ISpeechRecoContext_Vtbl, 0x580aa49d_7e1e_4809_b8e2_57da806104b8); +windows_core::imp::define_interface!(ISpeechRecoContext, ISpeechRecoContext_Vtbl, 0x580aa49d_7e1e_4809_b8e2_57da806104b8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechRecoContext, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6279,7 +6279,7 @@ pub struct ISpeechRecoContext_Vtbl { pub SetAdaptationData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechRecoGrammar, ISpeechRecoGrammar_Vtbl, 0xb6d6f79f_2158_4e50_b5bc_9a9ccd852a09); +windows_core::imp::define_interface!(ISpeechRecoGrammar, ISpeechRecoGrammar_Vtbl, 0xb6d6f79f_2158_4e50_b5bc_9a9ccd852a09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechRecoGrammar, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6423,7 +6423,7 @@ pub struct ISpeechRecoGrammar_Vtbl { pub IsPronounceable: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut SpeechWordPronounceable) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechRecoResult, ISpeechRecoResult_Vtbl, 0xed2879cf_ced9_4ee6_a534_de0191d5468d); +windows_core::imp::define_interface!(ISpeechRecoResult, ISpeechRecoResult_Vtbl, 0xed2879cf_ced9_4ee6_a534_de0191d5468d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechRecoResult, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6514,7 +6514,7 @@ pub struct ISpeechRecoResult_Vtbl { pub DiscardResultInfo: unsafe extern "system" fn(*mut core::ffi::c_void, SpeechDiscardType) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechRecoResult2, ISpeechRecoResult2_Vtbl, 0x8e0a246d_d3c8_45de_8657_04290c458c3c); +windows_core::imp::define_interface!(ISpeechRecoResult2, ISpeechRecoResult2_Vtbl, 0x8e0a246d_d3c8_45de_8657_04290c458c3c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechRecoResult2, windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechRecoResult); #[cfg(feature = "Win32_System_Com")] @@ -6582,7 +6582,7 @@ pub struct ISpeechRecoResult2_Vtbl { pub SetTextFeedback: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechRecoResultDispatch, ISpeechRecoResultDispatch_Vtbl, 0x6d60eb64_aced_40a6_bbf3_4e557f71dee2); +windows_core::imp::define_interface!(ISpeechRecoResultDispatch, ISpeechRecoResultDispatch_Vtbl, 0x6d60eb64_aced_40a6_bbf3_4e557f71dee2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechRecoResultDispatch, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6690,7 +6690,7 @@ pub struct ISpeechRecoResultDispatch_Vtbl { pub SetTextFeedback: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechRecoResultTimes, ISpeechRecoResultTimes_Vtbl, 0x62b3b8fb_f6e7_41be_bdcb_056b1c29efc0); +windows_core::imp::define_interface!(ISpeechRecoResultTimes, ISpeechRecoResultTimes_Vtbl, 0x62b3b8fb_f6e7_41be_bdcb_056b1c29efc0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechRecoResultTimes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6722,7 +6722,7 @@ pub struct ISpeechRecoResultTimes_Vtbl { pub OffsetFromStart: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechRecognizer, ISpeechRecognizer_Vtbl, 0x2d5f1c0c_bd75_4b08_9478_3b11fea2586c); +windows_core::imp::define_interface!(ISpeechRecognizer, ISpeechRecognizer_Vtbl, 0x2d5f1c0c_bd75_4b08_9478_3b11fea2586c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechRecognizer, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6960,7 +6960,7 @@ pub struct ISpeechRecognizer_Vtbl { GetProfiles: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechRecognizerStatus, ISpeechRecognizerStatus_Vtbl, 0xbff9e781_53ec_484e_bb8a_0e1b5551e35c); +windows_core::imp::define_interface!(ISpeechRecognizerStatus, ISpeechRecognizerStatus_Vtbl, 0xbff9e781_53ec_484e_bb8a_0e1b5551e35c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechRecognizerStatus, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7006,7 +7006,7 @@ pub struct ISpeechRecognizerStatus_Vtbl { pub SupportedLanguages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechResourceLoader, ISpeechResourceLoader_Vtbl, 0xb9ac5783_fcd0_4b21_b119_b4f8da8fd2c3); +windows_core::imp::define_interface!(ISpeechResourceLoader, ISpeechResourceLoader_Vtbl, 0xb9ac5783_fcd0_4b21_b119_b4f8da8fd2c3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechResourceLoader, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7040,7 +7040,7 @@ pub struct ISpeechResourceLoader_Vtbl { pub ReleaseLocalCopy: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechTextSelectionInformation, ISpeechTextSelectionInformation_Vtbl, 0x3b9c7e7a_6eee_4ded_9092_11657279adbe); +windows_core::imp::define_interface!(ISpeechTextSelectionInformation, ISpeechTextSelectionInformation_Vtbl, 0x3b9c7e7a_6eee_4ded_9092_11657279adbe); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechTextSelectionInformation, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7088,7 +7088,7 @@ pub struct ISpeechTextSelectionInformation_Vtbl { pub SelectionLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechVoice, ISpeechVoice_Vtbl, 0x269316d8_57bd_11d2_9eee_00c04f797396); +windows_core::imp::define_interface!(ISpeechVoice, ISpeechVoice_Vtbl, 0x269316d8_57bd_11d2_9eee_00c04f797396); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechVoice, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7323,7 +7323,7 @@ pub struct ISpeechVoice_Vtbl { 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")] -windows_core::imp::com_interface!(ISpeechVoiceStatus, ISpeechVoiceStatus_Vtbl, 0x8be47b07_57f6_11d2_9eee_00c04f797396); +windows_core::imp::define_interface!(ISpeechVoiceStatus, ISpeechVoiceStatus_Vtbl, 0x8be47b07_57f6_11d2_9eee_00c04f797396); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechVoiceStatus, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7395,7 +7395,7 @@ pub struct ISpeechVoiceStatus_Vtbl { pub VisemeId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechWaveFormatEx, ISpeechWaveFormatEx_Vtbl, 0x7a1ef0d5_1581_4741_88e4_209a49f11a10); +windows_core::imp::define_interface!(ISpeechWaveFormatEx, ISpeechWaveFormatEx_Vtbl, 0x7a1ef0d5_1581_4741_88e4_209a49f11a10); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechWaveFormatEx, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7473,7 +7473,7 @@ pub struct ISpeechWaveFormatEx_Vtbl { pub SetExtraData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISpeechXMLRecoResult, ISpeechXMLRecoResult_Vtbl, 0xaaec54af_8f85_4924_944d_b79d39d72e19); +windows_core::imp::define_interface!(ISpeechXMLRecoResult, ISpeechXMLRecoResult_Vtbl, 0xaaec54af_8f85_4924_944d_b79d39d72e19); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISpeechXMLRecoResult, windows_core::IUnknown, super::super::System::Com::IDispatch, ISpeechRecoResult); #[cfg(feature = "Win32_System_Com")] @@ -7541,7 +7541,7 @@ pub struct ISpeechXMLRecoResult_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, } -windows_core::imp::com_interface!(_ISpPrivateEngineCall, _ISpPrivateEngineCall_Vtbl, 0x8e7c791e_4467_11d3_9723_00c04f72db08); +windows_core::imp::define_interface!(_ISpPrivateEngineCall, _ISpPrivateEngineCall_Vtbl, 0x8e7c791e_4467_11d3_9723_00c04f72db08); windows_core::imp::interface_hierarchy!(_ISpPrivateEngineCall, windows_core::IUnknown); impl _ISpPrivateEngineCall { pub unsafe fn CallEngine(&self, pcallframe: *mut core::ffi::c_void, ulcallframesize: u32) -> windows_core::Result<()> { @@ -7558,7 +7558,7 @@ pub struct _ISpPrivateEngineCall_Vtbl { pub CallEngineEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_ISpeechRecoContextEvents, _ISpeechRecoContextEvents_Vtbl, 0x7b8fcb42_0e9d_4f00_a048_7b04d6179d3d); +windows_core::imp::define_interface!(_ISpeechRecoContextEvents, _ISpeechRecoContextEvents_Vtbl, 0x7b8fcb42_0e9d_4f00_a048_7b04d6179d3d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_ISpeechRecoContextEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7569,7 +7569,7 @@ pub struct _ISpeechRecoContextEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_ISpeechVoiceEvents, _ISpeechVoiceEvents_Vtbl, 0xa372acd1_3bef_4bbd_8ffb_cb3e2b416af8); +windows_core::imp::define_interface!(_ISpeechVoiceEvents, _ISpeechVoiceEvents_Vtbl, 0xa372acd1_3bef_4bbd_8ffb_cb3e2b416af8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_ISpeechVoiceEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 660a516e66..b0a7b34d4c 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/mod.rs @@ -78,7 +78,7 @@ where windows_targets::link!("wmvcore.dll" "system" fn WMIsContentProtected(pwszfilename : windows_core::PCWSTR, pfisprotected : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); WMIsContentProtected(pwszfilename.into_param().abi(), pfisprotected).ok() } -windows_core::imp::com_interface!(INSNetSourceCreator, INSNetSourceCreator_Vtbl, 0x0c0e4080_9081_11d2_beec_0060082f2054); +windows_core::imp::define_interface!(INSNetSourceCreator, INSNetSourceCreator_Vtbl, 0x0c0e4080_9081_11d2_beec_0060082f2054); windows_core::imp::interface_hierarchy!(INSNetSourceCreator, windows_core::IUnknown); impl INSNetSourceCreator { pub unsafe fn Initialize(&self) -> windows_core::Result<()> { @@ -134,7 +134,7 @@ pub struct INSNetSourceCreator_Vtbl { 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, } -windows_core::imp::com_interface!(INSSBuffer, INSSBuffer_Vtbl, 0xe1cd3524_03d7_11d2_9eed_006097d2d7cf); +windows_core::imp::define_interface!(INSSBuffer, INSSBuffer_Vtbl, 0xe1cd3524_03d7_11d2_9eed_006097d2d7cf); windows_core::imp::interface_hierarchy!(INSSBuffer, windows_core::IUnknown); impl INSSBuffer { pub unsafe fn GetLength(&self) -> windows_core::Result { @@ -165,7 +165,7 @@ pub struct INSSBuffer_Vtbl { pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, pub GetBufferAndLength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INSSBuffer2, INSSBuffer2_Vtbl, 0x4f528693_1035_43fe_b428_757561ad3a68); +windows_core::imp::define_interface!(INSSBuffer2, INSSBuffer2_Vtbl, 0x4f528693_1035_43fe_b428_757561ad3a68); windows_core::imp::interface_hierarchy!(INSSBuffer2, windows_core::IUnknown, INSSBuffer); impl INSSBuffer2 { pub unsafe fn GetLength(&self) -> windows_core::Result { @@ -200,7 +200,7 @@ pub struct INSSBuffer2_Vtbl { pub GetSampleProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, pub SetSampleProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INSSBuffer3, INSSBuffer3_Vtbl, 0xc87ceaaf_75be_4bc4_84eb_ac2798507672); +windows_core::imp::define_interface!(INSSBuffer3, INSSBuffer3_Vtbl, 0xc87ceaaf_75be_4bc4_84eb_ac2798507672); windows_core::imp::interface_hierarchy!(INSSBuffer3, windows_core::IUnknown, INSSBuffer, INSSBuffer2); impl INSSBuffer3 { pub unsafe fn GetLength(&self) -> windows_core::Result { @@ -241,7 +241,7 @@ pub struct INSSBuffer3_Vtbl { pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *const core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INSSBuffer4, INSSBuffer4_Vtbl, 0xb6b8fd5a_32e2_49d4_a910_c26cc85465ed); +windows_core::imp::define_interface!(INSSBuffer4, INSSBuffer4_Vtbl, 0xb6b8fd5a_32e2_49d4_a910_c26cc85465ed); windows_core::imp::interface_hierarchy!(INSSBuffer4, windows_core::IUnknown, INSSBuffer, INSSBuffer2, INSSBuffer3); impl INSSBuffer4 { pub unsafe fn GetLength(&self) -> windows_core::Result { @@ -289,7 +289,7 @@ pub struct INSSBuffer4_Vtbl { pub GetPropertyCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetPropertyByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMAddressAccess, IWMAddressAccess_Vtbl, 0xbb3c6389_1633_4e92_af14_9f3173ba39d0); +windows_core::imp::define_interface!(IWMAddressAccess, IWMAddressAccess_Vtbl, 0xbb3c6389_1633_4e92_af14_9f3173ba39d0); windows_core::imp::interface_hierarchy!(IWMAddressAccess, windows_core::IUnknown); impl IWMAddressAccess { pub unsafe fn GetAccessEntryCount(&self, aetype: WM_AETYPE) -> windows_core::Result { @@ -315,7 +315,7 @@ pub struct IWMAddressAccess_Vtbl { pub AddAccessEntry: unsafe extern "system" fn(*mut core::ffi::c_void, WM_AETYPE, *const WM_ADDRESS_ACCESSENTRY) -> windows_core::HRESULT, pub RemoveAccessEntry: unsafe extern "system" fn(*mut core::ffi::c_void, WM_AETYPE, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMAddressAccess2, IWMAddressAccess2_Vtbl, 0x65a83fc2_3e98_4d4d_81b5_2a742886b33d); +windows_core::imp::define_interface!(IWMAddressAccess2, IWMAddressAccess2_Vtbl, 0x65a83fc2_3e98_4d4d_81b5_2a742886b33d); windows_core::imp::interface_hierarchy!(IWMAddressAccess2, windows_core::IUnknown, IWMAddressAccess); impl IWMAddressAccess2 { pub unsafe fn GetAccessEntryCount(&self, aetype: WM_AETYPE) -> windows_core::Result { @@ -349,7 +349,7 @@ pub struct IWMAddressAccess2_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, } -windows_core::imp::com_interface!(IWMAuthorizer, IWMAuthorizer_Vtbl, 0xd9b67d36_a9ad_4eb4_baef_db284ef5504c); +windows_core::imp::define_interface!(IWMAuthorizer, IWMAuthorizer_Vtbl, 0xd9b67d36_a9ad_4eb4_baef_db284ef5504c); windows_core::imp::interface_hierarchy!(IWMAuthorizer, windows_core::IUnknown); impl IWMAuthorizer { pub unsafe fn GetCertCount(&self) -> windows_core::Result { @@ -372,7 +372,7 @@ pub struct IWMAuthorizer_Vtbl { pub GetCert: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut u8) -> windows_core::HRESULT, pub GetSharedData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *const u8, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMBackupRestoreProps, IWMBackupRestoreProps_Vtbl, 0x3c8e0da6_996f_4ff3_a1af_4838f9377e2e); +windows_core::imp::define_interface!(IWMBackupRestoreProps, IWMBackupRestoreProps_Vtbl, 0x3c8e0da6_996f_4ff3_a1af_4838f9377e2e); windows_core::imp::interface_hierarchy!(IWMBackupRestoreProps, windows_core::IUnknown); impl IWMBackupRestoreProps { pub unsafe fn GetPropCount(&self) -> windows_core::Result { @@ -414,7 +414,7 @@ pub struct IWMBackupRestoreProps_Vtbl { pub RemoveProp: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub RemoveAllProps: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMBandwidthSharing, IWMBandwidthSharing_Vtbl, 0xad694af1_f8d9_42f8_bc47_70311b0c4f9e); +windows_core::imp::define_interface!(IWMBandwidthSharing, IWMBandwidthSharing_Vtbl, 0xad694af1_f8d9_42f8_bc47_70311b0c4f9e); windows_core::imp::interface_hierarchy!(IWMBandwidthSharing, windows_core::IUnknown, IWMStreamList); impl IWMBandwidthSharing { pub unsafe fn GetStreams(&self, pwstreamnumarray: *mut u16, pcstreams: *mut u16) -> windows_core::Result<()> { @@ -448,7 +448,7 @@ pub struct IWMBandwidthSharing_Vtbl { pub GetBandwidth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub SetBandwidth: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMClientConnections, IWMClientConnections_Vtbl, 0x73c66010_a299_41df_b1f0_ccf03b09c1c6); +windows_core::imp::define_interface!(IWMClientConnections, IWMClientConnections_Vtbl, 0x73c66010_a299_41df_b1f0_ccf03b09c1c6); windows_core::imp::interface_hierarchy!(IWMClientConnections, windows_core::IUnknown); impl IWMClientConnections { pub unsafe fn GetClientCount(&self) -> windows_core::Result { @@ -466,7 +466,7 @@ pub struct IWMClientConnections_Vtbl { pub GetClientCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetClientProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut WM_CLIENT_PROPERTIES) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMClientConnections2, IWMClientConnections2_Vtbl, 0x4091571e_4701_4593_bb3d_d5f5f0c74246); +windows_core::imp::define_interface!(IWMClientConnections2, IWMClientConnections2_Vtbl, 0x4091571e_4701_4593_bb3d_d5f5f0c74246); windows_core::imp::interface_hierarchy!(IWMClientConnections2, windows_core::IUnknown, IWMClientConnections); impl IWMClientConnections2 { pub unsafe fn GetClientCount(&self) -> windows_core::Result { @@ -486,7 +486,7 @@ pub struct IWMClientConnections2_Vtbl { pub base__: IWMClientConnections_Vtbl, pub GetClientInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u32, windows_core::PWSTR, *mut u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMCodecInfo, IWMCodecInfo_Vtbl, 0xa970f41e_34de_4a98_b3ba_e4b3ca7528f0); +windows_core::imp::define_interface!(IWMCodecInfo, IWMCodecInfo_Vtbl, 0xa970f41e_34de_4a98_b3ba_e4b3ca7528f0); windows_core::imp::interface_hierarchy!(IWMCodecInfo, windows_core::IUnknown); impl IWMCodecInfo { pub unsafe fn GetCodecInfoCount(&self, guidtype: *const windows_core::GUID) -> windows_core::Result { @@ -509,7 +509,7 @@ pub struct IWMCodecInfo_Vtbl { pub GetCodecFormatCount: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *mut u32) -> windows_core::HRESULT, pub GetCodecFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMCodecInfo2, IWMCodecInfo2_Vtbl, 0xaa65e273_b686_4056_91ec_dd768d4df710); +windows_core::imp::define_interface!(IWMCodecInfo2, IWMCodecInfo2_Vtbl, 0xaa65e273_b686_4056_91ec_dd768d4df710); windows_core::imp::interface_hierarchy!(IWMCodecInfo2, windows_core::IUnknown, IWMCodecInfo); impl IWMCodecInfo2 { pub unsafe fn GetCodecInfoCount(&self, guidtype: *const windows_core::GUID) -> windows_core::Result { @@ -537,7 +537,7 @@ pub struct IWMCodecInfo2_Vtbl { pub GetCodecName: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, pub GetCodecFormatDesc: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, *mut *mut core::ffi::c_void, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMCodecInfo3, IWMCodecInfo3_Vtbl, 0x7e51f487_4d93_4f98_8ab4_27d0565adc51); +windows_core::imp::define_interface!(IWMCodecInfo3, IWMCodecInfo3_Vtbl, 0x7e51f487_4d93_4f98_8ab4_27d0565adc51); windows_core::imp::interface_hierarchy!(IWMCodecInfo3, windows_core::IUnknown, IWMCodecInfo, IWMCodecInfo2); impl IWMCodecInfo3 { pub unsafe fn GetCodecInfoCount(&self, guidtype: *const windows_core::GUID) -> windows_core::Result { @@ -591,7 +591,7 @@ pub struct IWMCodecInfo3_Vtbl { pub SetCodecEnumerationSetting: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, windows_core::PCWSTR, WMT_ATTR_DATATYPE, *const u8, u32) -> windows_core::HRESULT, pub GetCodecEnumerationSetting: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, windows_core::PCWSTR, *mut WMT_ATTR_DATATYPE, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMCredentialCallback, IWMCredentialCallback_Vtbl, 0x342e0eb7_e651_450c_975b_2ace2c90c48e); +windows_core::imp::define_interface!(IWMCredentialCallback, IWMCredentialCallback_Vtbl, 0x342e0eb7_e651_450c_975b_2ace2c90c48e); windows_core::imp::interface_hierarchy!(IWMCredentialCallback, windows_core::IUnknown); impl IWMCredentialCallback { pub unsafe fn AcquireCredentials(&self, pwszrealm: P0, pwszsite: P1, pwszuser: &mut [u16], pwszpassword: &mut [u16], hrstatus: windows_core::HRESULT, pdwflags: *mut u32) -> windows_core::Result<()> @@ -607,7 +607,7 @@ pub struct IWMCredentialCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AcquireCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PWSTR, u32, windows_core::PWSTR, u32, windows_core::HRESULT, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDRMEditor, IWMDRMEditor_Vtbl, 0xff130ebc_a6c3_42a6_b401_c3382c3e08b3); +windows_core::imp::define_interface!(IWMDRMEditor, IWMDRMEditor_Vtbl, 0xff130ebc_a6c3_42a6_b401_c3382c3e08b3); windows_core::imp::interface_hierarchy!(IWMDRMEditor, windows_core::IUnknown); impl IWMDRMEditor { pub unsafe fn GetDRMProperty(&self, pwstrname: P0, pdwtype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pcblength: *mut u16) -> windows_core::Result<()> @@ -622,7 +622,7 @@ pub struct IWMDRMEditor_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDRMProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut WMT_ATTR_DATATYPE, *mut u8, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDRMMessageParser, IWMDRMMessageParser_Vtbl, 0xa73a0072_25a0_4c99_b4a5_ede8101a6c39); +windows_core::imp::define_interface!(IWMDRMMessageParser, IWMDRMMessageParser_Vtbl, 0xa73a0072_25a0_4c99_b4a5_ede8101a6c39); windows_core::imp::interface_hierarchy!(IWMDRMMessageParser, windows_core::IUnknown); impl IWMDRMMessageParser { pub unsafe fn ParseRegistrationReqMsg(&self, pbregistrationreqmsg: &[u8], ppdevicecert: *mut Option, pdeviceserialnumber: *mut DRM_VAL16) -> windows_core::Result<()> { @@ -638,7 +638,7 @@ pub struct IWMDRMMessageParser_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, } -windows_core::imp::com_interface!(IWMDRMReader, IWMDRMReader_Vtbl, 0xd2827540_3ee7_432c_b14c_dc17f085d3b3); +windows_core::imp::define_interface!(IWMDRMReader, IWMDRMReader_Vtbl, 0xd2827540_3ee7_432c_b14c_dc17f085d3b3); windows_core::imp::interface_hierarchy!(IWMDRMReader, windows_core::IUnknown); impl IWMDRMReader { pub unsafe fn AcquireLicense(&self, dwflags: u32) -> windows_core::Result<()> { @@ -684,7 +684,7 @@ pub struct IWMDRMReader_Vtbl { pub SetDRMProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, WMT_ATTR_DATATYPE, *const u8, u16) -> windows_core::HRESULT, pub GetDRMProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut WMT_ATTR_DATATYPE, *mut u8, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDRMReader2, IWMDRMReader2_Vtbl, 0xbefe7a75_9f1d_4075_b9d9_a3c37bda49a0); +windows_core::imp::define_interface!(IWMDRMReader2, IWMDRMReader2_Vtbl, 0xbefe7a75_9f1d_4075_b9d9_a3c37bda49a0); windows_core::imp::interface_hierarchy!(IWMDRMReader2, windows_core::IUnknown, IWMDRMReader); impl IWMDRMReader2 { pub unsafe fn AcquireLicense(&self, dwflags: u32) -> windows_core::Result<()> { @@ -741,7 +741,7 @@ pub struct IWMDRMReader2_Vtbl { pub GetCopyOutputLevels: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DRM_COPY_OPL, *mut u32, *mut u32) -> windows_core::HRESULT, pub TryNextLicense: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDRMReader3, IWMDRMReader3_Vtbl, 0xe08672de_f1e7_4ff4_a0a3_fc4b08e4caf8); +windows_core::imp::define_interface!(IWMDRMReader3, IWMDRMReader3_Vtbl, 0xe08672de_f1e7_4ff4_a0a3_fc4b08e4caf8); windows_core::imp::interface_hierarchy!(IWMDRMReader3, windows_core::IUnknown, IWMDRMReader, IWMDRMReader2); impl IWMDRMReader3 { pub unsafe fn AcquireLicense(&self, dwflags: u32) -> windows_core::Result<()> { @@ -798,7 +798,7 @@ pub struct IWMDRMReader3_Vtbl { pub base__: IWMDRMReader2_Vtbl, pub GetInclusionList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut windows_core::GUID, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDRMTranscryptionManager, IWMDRMTranscryptionManager_Vtbl, 0xb1a887b2_a4f0_407a_b02e_efbd23bbecdf); +windows_core::imp::define_interface!(IWMDRMTranscryptionManager, IWMDRMTranscryptionManager_Vtbl, 0xb1a887b2_a4f0_407a_b02e_efbd23bbecdf); windows_core::imp::interface_hierarchy!(IWMDRMTranscryptionManager, windows_core::IUnknown); impl IWMDRMTranscryptionManager { pub unsafe fn CreateTranscryptor(&self) -> windows_core::Result { @@ -811,7 +811,7 @@ pub struct IWMDRMTranscryptionManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateTranscryptor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDRMTranscryptor, IWMDRMTranscryptor_Vtbl, 0x69059850_6e6f_4bb2_806f_71863ddfc471); +windows_core::imp::define_interface!(IWMDRMTranscryptor, IWMDRMTranscryptor_Vtbl, 0x69059850_6e6f_4bb2_806f_71863ddfc471); windows_core::imp::interface_hierarchy!(IWMDRMTranscryptor, windows_core::IUnknown); impl IWMDRMTranscryptor { pub unsafe fn Initialize(&self, bstrfilename: P0, pblicenserequestmsg: *mut u8, cblicenserequestmsg: u32, pplicenseresponsemsg: *mut Option, pcallback: P1, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> @@ -839,7 +839,7 @@ pub struct IWMDRMTranscryptor_Vtbl { 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, } -windows_core::imp::com_interface!(IWMDRMTranscryptor2, IWMDRMTranscryptor2_Vtbl, 0xe0da439f_d331_496a_bece_18e5bac5dd23); +windows_core::imp::define_interface!(IWMDRMTranscryptor2, IWMDRMTranscryptor2_Vtbl, 0xe0da439f_d331_496a_bece_18e5bac5dd23); windows_core::imp::interface_hierarchy!(IWMDRMTranscryptor2, windows_core::IUnknown, IWMDRMTranscryptor); impl IWMDRMTranscryptor2 { pub unsafe fn Initialize(&self, bstrfilename: P0, pblicenserequestmsg: *mut u8, cblicenserequestmsg: u32, pplicenseresponsemsg: *mut Option, pcallback: P1, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> @@ -887,7 +887,7 @@ pub struct IWMDRMTranscryptor2_Vtbl { pub GetSeekStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDRMWriter, IWMDRMWriter_Vtbl, 0xd6ea5dd0_12a0_43f4_90ab_a3fd451e6a07); +windows_core::imp::define_interface!(IWMDRMWriter, IWMDRMWriter_Vtbl, 0xd6ea5dd0_12a0_43f4_90ab_a3fd451e6a07); windows_core::imp::interface_hierarchy!(IWMDRMWriter, windows_core::IUnknown); impl IWMDRMWriter { pub unsafe fn GenerateKeySeed(&self, pwszkeyseed: windows_core::PWSTR, pcwchlength: *mut u32) -> windows_core::Result<()> { @@ -914,7 +914,7 @@ pub struct IWMDRMWriter_Vtbl { pub GenerateSigningKeyPair: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, pub SetDRMAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, u16, windows_core::PCWSTR, WMT_ATTR_DATATYPE, *const u8, u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDRMWriter2, IWMDRMWriter2_Vtbl, 0x38ee7a94_40e2_4e10_aa3f_33fd3210ed5b); +windows_core::imp::define_interface!(IWMDRMWriter2, IWMDRMWriter2_Vtbl, 0x38ee7a94_40e2_4e10_aa3f_33fd3210ed5b); windows_core::imp::interface_hierarchy!(IWMDRMWriter2, windows_core::IUnknown, IWMDRMWriter); impl IWMDRMWriter2 { pub unsafe fn GenerateKeySeed(&self, pwszkeyseed: windows_core::PWSTR, pcwchlength: *mut u32) -> windows_core::Result<()> { @@ -944,7 +944,7 @@ pub struct IWMDRMWriter2_Vtbl { pub base__: IWMDRMWriter_Vtbl, pub SetWMDRMNetEncryption: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDRMWriter3, IWMDRMWriter3_Vtbl, 0xa7184082_a4aa_4dde_ac9c_e75dbd1117ce); +windows_core::imp::define_interface!(IWMDRMWriter3, IWMDRMWriter3_Vtbl, 0xa7184082_a4aa_4dde_ac9c_e75dbd1117ce); windows_core::imp::interface_hierarchy!(IWMDRMWriter3, windows_core::IUnknown, IWMDRMWriter, IWMDRMWriter2); impl IWMDRMWriter3 { pub unsafe fn GenerateKeySeed(&self, pwszkeyseed: windows_core::PWSTR, pcwchlength: *mut u32) -> windows_core::Result<()> { @@ -977,7 +977,7 @@ pub struct IWMDRMWriter3_Vtbl { pub base__: IWMDRMWriter2_Vtbl, pub SetProtectStreamSamples: unsafe extern "system" fn(*mut core::ffi::c_void, *const WMDRM_IMPORT_INIT_STRUCT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMDeviceRegistration, IWMDeviceRegistration_Vtbl, 0xf6211f03_8d21_4e94_93e6_8510805f2d99); +windows_core::imp::define_interface!(IWMDeviceRegistration, IWMDeviceRegistration_Vtbl, 0xf6211f03_8d21_4e94_93e6_8510805f2d99); 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 { @@ -1014,7 +1014,7 @@ pub struct IWMDeviceRegistration_Vtbl { pub GetNextRegisteredDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRegisteredDeviceByID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, u32, DRM_VAL16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMGetSecureChannel, IWMGetSecureChannel_Vtbl, 0x94bc0598_c3d2_11d3_bedf_00c04f612986); +windows_core::imp::define_interface!(IWMGetSecureChannel, IWMGetSecureChannel_Vtbl, 0x94bc0598_c3d2_11d3_bedf_00c04f612986); windows_core::imp::interface_hierarchy!(IWMGetSecureChannel, windows_core::IUnknown); impl IWMGetSecureChannel { pub unsafe fn GetPeerSecureChannelInterface(&self) -> windows_core::Result { @@ -1027,7 +1027,7 @@ pub struct IWMGetSecureChannel_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetPeerSecureChannelInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMHeaderInfo, IWMHeaderInfo_Vtbl, 0x96406bda_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMHeaderInfo, IWMHeaderInfo_Vtbl, 0x96406bda_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMHeaderInfo, windows_core::IUnknown); impl IWMHeaderInfo { pub unsafe fn GetAttributeCount(&self, wstreamnum: u16) -> windows_core::Result { @@ -1099,7 +1099,7 @@ pub struct IWMHeaderInfo_Vtbl { pub AddScript: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, u64) -> windows_core::HRESULT, pub RemoveScript: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMHeaderInfo2, IWMHeaderInfo2_Vtbl, 0x15cf9781_454e_482e_b393_85fae487a810); +windows_core::imp::define_interface!(IWMHeaderInfo2, IWMHeaderInfo2_Vtbl, 0x15cf9781_454e_482e_b393_85fae487a810); windows_core::imp::interface_hierarchy!(IWMHeaderInfo2, windows_core::IUnknown, IWMHeaderInfo); impl IWMHeaderInfo2 { pub unsafe fn GetAttributeCount(&self, wstreamnum: u16) -> windows_core::Result { @@ -1168,7 +1168,7 @@ pub struct IWMHeaderInfo2_Vtbl { pub GetCodecInfoCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetCodecInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u16, windows_core::PWSTR, *mut u16, windows_core::PWSTR, *mut WMT_CODEC_INFO_TYPE, *mut u16, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMHeaderInfo3, IWMHeaderInfo3_Vtbl, 0x15cc68e3_27cc_4ecd_b222_3f5d02d80bd5); +windows_core::imp::define_interface!(IWMHeaderInfo3, IWMHeaderInfo3_Vtbl, 0x15cc68e3_27cc_4ecd_b222_3f5d02d80bd5); windows_core::imp::interface_hierarchy!(IWMHeaderInfo3, windows_core::IUnknown, IWMHeaderInfo, IWMHeaderInfo2); impl IWMHeaderInfo3 { pub unsafe fn GetAttributeCount(&self, wstreamnum: u16) -> windows_core::Result { @@ -1274,7 +1274,7 @@ pub struct IWMHeaderInfo3_Vtbl { pub DeleteAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16) -> windows_core::HRESULT, pub AddCodecInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, WMT_CODEC_INFO_TYPE, u16, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMIStreamProps, IWMIStreamProps_Vtbl, 0x6816dad3_2b4b_4c8e_8149_874c3483a753); +windows_core::imp::define_interface!(IWMIStreamProps, IWMIStreamProps_Vtbl, 0x6816dad3_2b4b_4c8e_8149_874c3483a753); windows_core::imp::interface_hierarchy!(IWMIStreamProps, windows_core::IUnknown); impl IWMIStreamProps { pub unsafe fn GetProperty(&self, pszname: P0, ptype: *mut WMT_ATTR_DATATYPE, pvalue: *mut u8, pdwsize: *mut u32) -> windows_core::Result<()> @@ -1289,7 +1289,7 @@ pub struct IWMIStreamProps_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut WMT_ATTR_DATATYPE, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMImageInfo, IWMImageInfo_Vtbl, 0x9f0aa3b6_7267_4d89_88f2_ba915aa5c4c6); +windows_core::imp::define_interface!(IWMImageInfo, IWMImageInfo_Vtbl, 0x9f0aa3b6_7267_4d89_88f2_ba915aa5c4c6); windows_core::imp::interface_hierarchy!(IWMImageInfo, windows_core::IUnknown); impl IWMImageInfo { pub unsafe fn GetImageCount(&self) -> windows_core::Result { @@ -1306,7 +1306,7 @@ pub struct IWMImageInfo_Vtbl { pub GetImageCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetImage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u16, windows_core::PWSTR, *mut u16, windows_core::PWSTR, *mut u16, *mut u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMIndexer, IWMIndexer_Vtbl, 0x6d7cdc71_9888_11d3_8edc_00c04f6109cf); +windows_core::imp::define_interface!(IWMIndexer, IWMIndexer_Vtbl, 0x6d7cdc71_9888_11d3_8edc_00c04f6109cf); windows_core::imp::interface_hierarchy!(IWMIndexer, windows_core::IUnknown); impl IWMIndexer { pub unsafe fn StartIndexing(&self, pwszurl: P0, pcallback: P1, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> @@ -1326,7 +1326,7 @@ pub struct IWMIndexer_Vtbl { pub StartIndexing: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMIndexer2, IWMIndexer2_Vtbl, 0xb70f1e42_6255_4df0_a6b9_02b212d9e2bb); +windows_core::imp::define_interface!(IWMIndexer2, IWMIndexer2_Vtbl, 0xb70f1e42_6255_4df0_a6b9_02b212d9e2bb); windows_core::imp::interface_hierarchy!(IWMIndexer2, windows_core::IUnknown, IWMIndexer); impl IWMIndexer2 { pub unsafe fn StartIndexing(&self, pwszurl: P0, pcallback: P1, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> @@ -1348,7 +1348,7 @@ pub struct IWMIndexer2_Vtbl { pub base__: IWMIndexer_Vtbl, pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, u16, WMT_INDEXER_TYPE, *const core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMInputMediaProps, IWMInputMediaProps_Vtbl, 0x96406bd5_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMInputMediaProps, IWMInputMediaProps_Vtbl, 0x96406bd5_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMInputMediaProps, windows_core::IUnknown, IWMMediaProps); impl IWMInputMediaProps { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -1374,7 +1374,7 @@ pub struct IWMInputMediaProps_Vtbl { pub GetConnectionName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u16) -> windows_core::HRESULT, pub GetGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMLanguageList, IWMLanguageList_Vtbl, 0xdf683f00_2d49_4d8e_92b7_fb19f6a0dc57); +windows_core::imp::define_interface!(IWMLanguageList, IWMLanguageList_Vtbl, 0xdf683f00_2d49_4d8e_92b7_fb19f6a0dc57); windows_core::imp::interface_hierarchy!(IWMLanguageList, windows_core::IUnknown); impl IWMLanguageList { pub unsafe fn GetLanguageCount(&self) -> windows_core::Result { @@ -1399,7 +1399,7 @@ pub struct IWMLanguageList_Vtbl { pub GetLanguageDetails: unsafe extern "system" fn(*mut core::ffi::c_void, u16, windows_core::PWSTR, *mut u16) -> windows_core::HRESULT, pub AddLanguageByRFC1766String: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMLicenseBackup, IWMLicenseBackup_Vtbl, 0x05e5ac9f_3fb6_4508_bb43_a4067ba1ebe8); +windows_core::imp::define_interface!(IWMLicenseBackup, IWMLicenseBackup_Vtbl, 0x05e5ac9f_3fb6_4508_bb43_a4067ba1ebe8); windows_core::imp::interface_hierarchy!(IWMLicenseBackup, windows_core::IUnknown); impl IWMLicenseBackup { pub unsafe fn BackupLicenses(&self, dwflags: u32, pcallback: P0) -> windows_core::Result<()> @@ -1418,7 +1418,7 @@ pub struct IWMLicenseBackup_Vtbl { pub BackupLicenses: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CancelLicenseBackup: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMLicenseRestore, IWMLicenseRestore_Vtbl, 0xc70b6334_a22e_4efb_a245_15e65a004a13); +windows_core::imp::define_interface!(IWMLicenseRestore, IWMLicenseRestore_Vtbl, 0xc70b6334_a22e_4efb_a245_15e65a004a13); windows_core::imp::interface_hierarchy!(IWMLicenseRestore, windows_core::IUnknown); impl IWMLicenseRestore { pub unsafe fn RestoreLicenses(&self, dwflags: u32, pcallback: P0) -> windows_core::Result<()> @@ -1437,7 +1437,7 @@ pub struct IWMLicenseRestore_Vtbl { pub RestoreLicenses: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CancelLicenseRestore: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMLicenseRevocationAgent, IWMLicenseRevocationAgent_Vtbl, 0x6967f2c9_4e26_4b57_8894_799880f7ac7b); +windows_core::imp::define_interface!(IWMLicenseRevocationAgent, IWMLicenseRevocationAgent_Vtbl, 0x6967f2c9_4e26_4b57_8894_799880f7ac7b); windows_core::imp::interface_hierarchy!(IWMLicenseRevocationAgent, windows_core::IUnknown); impl IWMLicenseRevocationAgent { pub unsafe fn GetLRBChallenge(&self, pmachineid: *const u8, dwmachineidlength: u32, pchallenge: *const u8, dwchallengelength: u32, pchallengeoutput: *mut u8, pdwchallengeoutputlength: *mut u32) -> windows_core::Result<()> { @@ -1453,7 +1453,7 @@ pub struct IWMLicenseRevocationAgent_Vtbl { pub GetLRBChallenge: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const u8, u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub ProcessLRB: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMMediaProps, IWMMediaProps_Vtbl, 0x96406bce_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMMediaProps, IWMMediaProps_Vtbl, 0x96406bce_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMMediaProps, windows_core::IUnknown); impl IWMMediaProps { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -1474,7 +1474,7 @@ pub struct IWMMediaProps_Vtbl { pub GetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WM_MEDIA_TYPE, *mut u32) -> windows_core::HRESULT, pub SetMediaType: unsafe extern "system" fn(*mut core::ffi::c_void, *const WM_MEDIA_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMMetadataEditor, IWMMetadataEditor_Vtbl, 0x96406bd9_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMMetadataEditor, IWMMetadataEditor_Vtbl, 0x96406bd9_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMMetadataEditor, windows_core::IUnknown); impl IWMMetadataEditor { pub unsafe fn Open(&self, pwszfilename: P0) -> windows_core::Result<()> @@ -1497,7 +1497,7 @@ pub struct IWMMetadataEditor_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMMetadataEditor2, IWMMetadataEditor2_Vtbl, 0x203cffe3_2e18_4fdf_b59d_6e71530534cf); +windows_core::imp::define_interface!(IWMMetadataEditor2, IWMMetadataEditor2_Vtbl, 0x203cffe3_2e18_4fdf_b59d_6e71530534cf); windows_core::imp::interface_hierarchy!(IWMMetadataEditor2, windows_core::IUnknown, IWMMetadataEditor); impl IWMMetadataEditor2 { pub unsafe fn Open(&self, pwszfilename: P0) -> windows_core::Result<()> @@ -1524,7 +1524,7 @@ pub struct IWMMetadataEditor2_Vtbl { pub base__: IWMMetadataEditor_Vtbl, pub OpenEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMMutualExclusion, IWMMutualExclusion_Vtbl, 0x96406bde_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMMutualExclusion, IWMMutualExclusion_Vtbl, 0x96406bde_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMMutualExclusion, windows_core::IUnknown, IWMStreamList); impl IWMMutualExclusion { pub unsafe fn GetStreams(&self, pwstreamnumarray: *mut u16, pcstreams: *mut u16) -> windows_core::Result<()> { @@ -1550,7 +1550,7 @@ pub struct IWMMutualExclusion_Vtbl { pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub SetType: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMMutualExclusion2, IWMMutualExclusion2_Vtbl, 0x0302b57d_89d1_4ba2_85c9_166f2c53eb91); +windows_core::imp::define_interface!(IWMMutualExclusion2, IWMMutualExclusion2_Vtbl, 0x0302b57d_89d1_4ba2_85c9_166f2c53eb91); windows_core::imp::interface_hierarchy!(IWMMutualExclusion2, windows_core::IUnknown, IWMStreamList, IWMMutualExclusion); impl IWMMutualExclusion2 { pub unsafe fn GetStreams(&self, pwstreamnumarray: *mut u16, pcstreams: *mut u16) -> windows_core::Result<()> { @@ -1621,7 +1621,7 @@ pub struct IWMMutualExclusion2_Vtbl { pub AddStreamForRecord: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16) -> windows_core::HRESULT, pub RemoveStreamForRecord: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMOutputMediaProps, IWMOutputMediaProps_Vtbl, 0x96406bd7_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMOutputMediaProps, IWMOutputMediaProps_Vtbl, 0x96406bd7_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMOutputMediaProps, windows_core::IUnknown, IWMMediaProps); impl IWMOutputMediaProps { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -1647,7 +1647,7 @@ pub struct IWMOutputMediaProps_Vtbl { pub GetStreamGroupName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u16) -> windows_core::HRESULT, pub GetConnectionName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPacketSize, IWMPacketSize_Vtbl, 0xcdfb97ab_188f_40b3_b643_5b7903975c59); +windows_core::imp::define_interface!(IWMPacketSize, IWMPacketSize_Vtbl, 0xcdfb97ab_188f_40b3_b643_5b7903975c59); windows_core::imp::interface_hierarchy!(IWMPacketSize, windows_core::IUnknown); impl IWMPacketSize { pub unsafe fn GetMaxPacketSize(&self) -> windows_core::Result { @@ -1664,7 +1664,7 @@ pub struct IWMPacketSize_Vtbl { pub GetMaxPacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetMaxPacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPacketSize2, IWMPacketSize2_Vtbl, 0x8bfc2b9e_b646_4233_a877_1c6a079669dc); +windows_core::imp::define_interface!(IWMPacketSize2, IWMPacketSize2_Vtbl, 0x8bfc2b9e_b646_4233_a877_1c6a079669dc); windows_core::imp::interface_hierarchy!(IWMPacketSize2, windows_core::IUnknown, IWMPacketSize); impl IWMPacketSize2 { pub unsafe fn GetMaxPacketSize(&self) -> windows_core::Result { @@ -1688,7 +1688,7 @@ pub struct IWMPacketSize2_Vtbl { pub GetMinPacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetMinPacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPlayerHook, IWMPlayerHook_Vtbl, 0xe5b7ca9a_0f1c_4f66_9002_74ec50d8b304); +windows_core::imp::define_interface!(IWMPlayerHook, IWMPlayerHook_Vtbl, 0xe5b7ca9a_0f1c_4f66_9002_74ec50d8b304); windows_core::imp::interface_hierarchy!(IWMPlayerHook, windows_core::IUnknown); impl IWMPlayerHook { pub unsafe fn PreDecode(&self) -> windows_core::Result<()> { @@ -1700,7 +1700,7 @@ pub struct IWMPlayerHook_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub PreDecode: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPlayerTimestampHook, IWMPlayerTimestampHook_Vtbl, 0x28580dda_d98e_48d0_b7ae_69e473a02825); +windows_core::imp::define_interface!(IWMPlayerTimestampHook, IWMPlayerTimestampHook_Vtbl, 0x28580dda_d98e_48d0_b7ae_69e473a02825); windows_core::imp::interface_hierarchy!(IWMPlayerTimestampHook, windows_core::IUnknown); impl IWMPlayerTimestampHook { pub unsafe fn MapTimestamp(&self, rtin: i64) -> windows_core::Result { @@ -1713,7 +1713,7 @@ pub struct IWMPlayerTimestampHook_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub MapTimestamp: unsafe extern "system" fn(*mut core::ffi::c_void, i64, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMProfile, IWMProfile_Vtbl, 0x96406bdb_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMProfile, IWMProfile_Vtbl, 0x96406bdb_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMProfile, windows_core::IUnknown); impl IWMProfile { pub unsafe fn GetVersion(&self) -> windows_core::Result { @@ -1822,7 +1822,7 @@ pub struct IWMProfile_Vtbl { pub AddMutualExclusion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateNewMutualExclusion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMProfile2, IWMProfile2_Vtbl, 0x07e72d33_d94e_4be7_8843_60ae5ff7e5f5); +windows_core::imp::define_interface!(IWMProfile2, IWMProfile2_Vtbl, 0x07e72d33_d94e_4be7_8843_60ae5ff7e5f5); windows_core::imp::interface_hierarchy!(IWMProfile2, windows_core::IUnknown, IWMProfile); impl IWMProfile2 { pub unsafe fn GetVersion(&self) -> windows_core::Result { @@ -1918,7 +1918,7 @@ pub struct IWMProfile2_Vtbl { pub base__: IWMProfile_Vtbl, pub GetProfileID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMProfile3, IWMProfile3_Vtbl, 0x00ef96cc_a461_4546_8bcd_c9a28f0e06f5); +windows_core::imp::define_interface!(IWMProfile3, IWMProfile3_Vtbl, 0x00ef96cc_a461_4546_8bcd_c9a28f0e06f5); windows_core::imp::interface_hierarchy!(IWMProfile3, windows_core::IUnknown, IWMProfile, IWMProfile2); impl IWMProfile3 { pub unsafe fn GetVersion(&self) -> windows_core::Result { @@ -2077,7 +2077,7 @@ pub struct IWMProfile3_Vtbl { pub CreateNewStreamPrioritization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetExpectedPacketCount: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMProfileManager, IWMProfileManager_Vtbl, 0xd16679f2_6ca0_472d_8d31_2f5d55aee155); +windows_core::imp::define_interface!(IWMProfileManager, IWMProfileManager_Vtbl, 0xd16679f2_6ca0_472d_8d31_2f5d55aee155); windows_core::imp::interface_hierarchy!(IWMProfileManager, windows_core::IUnknown); impl IWMProfileManager { pub unsafe fn CreateEmptyProfile(&self, dwversion: WMT_VERSION) -> windows_core::Result { @@ -2121,7 +2121,7 @@ pub struct IWMProfileManager_Vtbl { pub GetSystemProfileCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub LoadSystemProfile: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMProfileManager2, IWMProfileManager2_Vtbl, 0x7a924e51_73c1_494d_8019_23d37ed9b89a); +windows_core::imp::define_interface!(IWMProfileManager2, IWMProfileManager2_Vtbl, 0x7a924e51_73c1_494d_8019_23d37ed9b89a); windows_core::imp::interface_hierarchy!(IWMProfileManager2, windows_core::IUnknown, IWMProfileManager); impl IWMProfileManager2 { pub unsafe fn CreateEmptyProfile(&self, dwversion: WMT_VERSION) -> windows_core::Result { @@ -2167,7 +2167,7 @@ pub struct IWMProfileManager2_Vtbl { pub GetSystemProfileVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WMT_VERSION) -> windows_core::HRESULT, pub SetSystemProfileVersion: unsafe extern "system" fn(*mut core::ffi::c_void, WMT_VERSION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMProfileManagerLanguage, IWMProfileManagerLanguage_Vtbl, 0xba4dcc78_7ee0_4ab8_b27a_dbce8bc51454); +windows_core::imp::define_interface!(IWMProfileManagerLanguage, IWMProfileManagerLanguage_Vtbl, 0xba4dcc78_7ee0_4ab8_b27a_dbce8bc51454); windows_core::imp::interface_hierarchy!(IWMProfileManagerLanguage, windows_core::IUnknown); impl IWMProfileManagerLanguage { pub unsafe fn GetUserLanguageID(&self, wlangid: *mut u16) -> windows_core::Result<()> { @@ -2183,7 +2183,7 @@ pub struct IWMProfileManagerLanguage_Vtbl { pub GetUserLanguageID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, pub SetUserLanguageID: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMPropertyVault, IWMPropertyVault_Vtbl, 0x72995a79_5090_42a4_9c8c_d9d0b6d34be5); +windows_core::imp::define_interface!(IWMPropertyVault, IWMPropertyVault_Vtbl, 0x72995a79_5090_42a4_9c8c_d9d0b6d34be5); windows_core::imp::interface_hierarchy!(IWMPropertyVault, windows_core::IUnknown); impl IWMPropertyVault { pub unsafe fn GetPropertyCount(&self, pdwcount: *const u32) -> windows_core::Result<()> { @@ -2224,7 +2224,7 @@ pub struct IWMPropertyVault_Vtbl { pub CopyPropertiesFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMProximityDetection, IWMProximityDetection_Vtbl, 0x6a9fd8ee_b651_4bf0_b849_7d4ece79a2b1); +windows_core::imp::define_interface!(IWMProximityDetection, IWMProximityDetection_Vtbl, 0x6a9fd8ee_b651_4bf0_b849_7d4ece79a2b1); windows_core::imp::interface_hierarchy!(IWMProximityDetection, windows_core::IUnknown); impl IWMProximityDetection { pub unsafe fn StartDetection(&self, pbregistrationmsg: &[u8], pblocaladdress: &[u8], dwextraportsallowed: u32, ppregistrationresponsemsg: *mut Option, pcallback: P0, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> @@ -2239,7 +2239,7 @@ pub struct IWMProximityDetection_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub StartDetection: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const u8, u32, u32, *mut *mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReader, IWMReader_Vtbl, 0x96406bd6_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMReader, IWMReader_Vtbl, 0x96406bd6_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMReader, windows_core::IUnknown); impl IWMReader { pub unsafe fn Open(&self, pwszurl: P0, pcallback: P1, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> @@ -2302,7 +2302,7 @@ pub struct IWMReader_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, } -windows_core::imp::com_interface!(IWMReaderAccelerator, IWMReaderAccelerator_Vtbl, 0xbddc4d08_944d_4d52_a612_46c3fda07dd4); +windows_core::imp::define_interface!(IWMReaderAccelerator, IWMReaderAccelerator_Vtbl, 0xbddc4d08_944d_4d52_a612_46c3fda07dd4); windows_core::imp::interface_hierarchy!(IWMReaderAccelerator, windows_core::IUnknown); impl IWMReaderAccelerator { pub unsafe fn GetCodecInterface(&self, dwoutputnum: u32, riid: *const windows_core::GUID, ppvcodecinterface: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -2318,7 +2318,7 @@ pub struct IWMReaderAccelerator_Vtbl { pub GetCodecInterface: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const WM_MEDIA_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderAdvanced, IWMReaderAdvanced_Vtbl, 0x96406bea_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMReaderAdvanced, IWMReaderAdvanced_Vtbl, 0x96406bea_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMReaderAdvanced, windows_core::IUnknown); impl IWMReaderAdvanced { pub unsafe fn SetUserProvidedClock(&self, fuserclock: P0) -> windows_core::Result<()> @@ -2433,7 +2433,7 @@ pub struct IWMReaderAdvanced_Vtbl { pub GetMaxStreamSampleSize: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut u32) -> windows_core::HRESULT, pub NotifyLateDelivery: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderAdvanced2, IWMReaderAdvanced2_Vtbl, 0xae14a945_b90c_4d0d_9127_80d665f7d73e); +windows_core::imp::define_interface!(IWMReaderAdvanced2, IWMReaderAdvanced2_Vtbl, 0xae14a945_b90c_4d0d_9127_80d665f7d73e); windows_core::imp::interface_hierarchy!(IWMReaderAdvanced2, windows_core::IUnknown, IWMReaderAdvanced); impl IWMReaderAdvanced2 { pub unsafe fn SetUserProvidedClock(&self, fuserclock: P0) -> windows_core::Result<()> @@ -2611,7 +2611,7 @@ pub struct IWMReaderAdvanced2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OpenStream: usize, } -windows_core::imp::com_interface!(IWMReaderAdvanced3, IWMReaderAdvanced3_Vtbl, 0x5dc0674b_f04b_4a4e_9f2a_b1afde2c8100); +windows_core::imp::define_interface!(IWMReaderAdvanced3, IWMReaderAdvanced3_Vtbl, 0x5dc0674b_f04b_4a4e_9f2a_b1afde2c8100); windows_core::imp::interface_hierarchy!(IWMReaderAdvanced3, windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2); impl IWMReaderAdvanced3 { pub unsafe fn SetUserProvidedClock(&self, fuserclock: P0) -> windows_core::Result<()> @@ -2779,7 +2779,7 @@ pub struct IWMReaderAdvanced3_Vtbl { pub StopNetStreaming: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub StartAtPosition: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *const core::ffi::c_void, *const core::ffi::c_void, WMT_OFFSET_FORMAT, f32, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderAdvanced4, IWMReaderAdvanced4_Vtbl, 0x945a76a2_12ae_4d48_bd3c_cd1d90399b85); +windows_core::imp::define_interface!(IWMReaderAdvanced4, IWMReaderAdvanced4_Vtbl, 0x945a76a2_12ae_4d48_bd3c_cd1d90399b85); windows_core::imp::interface_hierarchy!(IWMReaderAdvanced4, windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3); impl IWMReaderAdvanced4 { pub unsafe fn SetUserProvidedClock(&self, fuserclock: P0) -> windows_core::Result<()> @@ -2990,7 +2990,7 @@ pub struct IWMReaderAdvanced4_Vtbl { pub CancelSaveFileAs: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetURL: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderAdvanced5, IWMReaderAdvanced5_Vtbl, 0x24c44db0_55d1_49ae_a5cc_f13815e36363); +windows_core::imp::define_interface!(IWMReaderAdvanced5, IWMReaderAdvanced5_Vtbl, 0x24c44db0_55d1_49ae_a5cc_f13815e36363); windows_core::imp::interface_hierarchy!(IWMReaderAdvanced5, windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3, IWMReaderAdvanced4); impl IWMReaderAdvanced5 { pub unsafe fn SetUserProvidedClock(&self, fuserclock: P0) -> windows_core::Result<()> @@ -3199,7 +3199,7 @@ pub struct IWMReaderAdvanced5_Vtbl { pub base__: IWMReaderAdvanced4_Vtbl, pub SetPlayerHook: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderAdvanced6, IWMReaderAdvanced6_Vtbl, 0x18a2e7f8_428f_4acd_8a00_e64639bc93de); +windows_core::imp::define_interface!(IWMReaderAdvanced6, IWMReaderAdvanced6_Vtbl, 0x18a2e7f8_428f_4acd_8a00_e64639bc93de); windows_core::imp::interface_hierarchy!(IWMReaderAdvanced6, windows_core::IUnknown, IWMReaderAdvanced, IWMReaderAdvanced2, IWMReaderAdvanced3, IWMReaderAdvanced4, IWMReaderAdvanced5); impl IWMReaderAdvanced6 { pub unsafe fn SetUserProvidedClock(&self, fuserclock: P0) -> windows_core::Result<()> @@ -3411,7 +3411,7 @@ pub struct IWMReaderAdvanced6_Vtbl { pub base__: IWMReaderAdvanced5_Vtbl, pub SetProtectStreamSamples: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, u32, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderAllocatorEx, IWMReaderAllocatorEx_Vtbl, 0x9f762fa7_a22e_428d_93c9_ac82f3aafe5a); +windows_core::imp::define_interface!(IWMReaderAllocatorEx, IWMReaderAllocatorEx_Vtbl, 0x9f762fa7_a22e_428d_93c9_ac82f3aafe5a); windows_core::imp::interface_hierarchy!(IWMReaderAllocatorEx, windows_core::IUnknown); impl IWMReaderAllocatorEx { pub unsafe fn AllocateForStreamEx(&self, wstreamnum: u16, cbbuffer: u32, ppbuffer: *mut Option, dwflags: u32, cnssampletime: u64, cnssampleduration: u64, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3427,7 +3427,7 @@ pub struct IWMReaderAllocatorEx_Vtbl { pub AllocateForStreamEx: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u32, *mut *mut core::ffi::c_void, u32, u64, u64, *const core::ffi::c_void) -> windows_core::HRESULT, pub AllocateForOutputEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void, u32, u64, u64, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderCallback, IWMReaderCallback_Vtbl, 0x96406bd8_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMReaderCallback, IWMReaderCallback_Vtbl, 0x96406bd8_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMReaderCallback, windows_core::IUnknown, IWMStatusCallback); impl IWMReaderCallback { pub unsafe fn OnStatus(&self, status: WMT_STATUS, hr: windows_core::HRESULT, dwtype: WMT_ATTR_DATATYPE, pvalue: *const u8, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -3445,7 +3445,7 @@ pub struct IWMReaderCallback_Vtbl { pub base__: IWMStatusCallback_Vtbl, pub OnSample: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u64, u32, *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderCallbackAdvanced, IWMReaderCallbackAdvanced_Vtbl, 0x96406beb_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMReaderCallbackAdvanced, IWMReaderCallbackAdvanced_Vtbl, 0x96406beb_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMReaderCallbackAdvanced, windows_core::IUnknown); impl IWMReaderCallbackAdvanced { pub unsafe fn OnStreamSample(&self, wstreamnum: u16, cnssampletime: u64, cnssampleduration: u64, dwflags: u32, psample: P0, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> @@ -3480,7 +3480,7 @@ pub struct IWMReaderCallbackAdvanced_Vtbl { pub AllocateForStream: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u32, *mut *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, pub AllocateForOutput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderNetworkConfig, IWMReaderNetworkConfig_Vtbl, 0x96406bec_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMReaderNetworkConfig, IWMReaderNetworkConfig_Vtbl, 0x96406bec_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMReaderNetworkConfig, windows_core::IUnknown); impl IWMReaderNetworkConfig { pub unsafe fn GetBufferingTime(&self) -> windows_core::Result { @@ -3683,7 +3683,7 @@ pub struct IWMReaderNetworkConfig_Vtbl { pub GetLoggingUrlCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub ResetLoggingUrlList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderNetworkConfig2, IWMReaderNetworkConfig2_Vtbl, 0xd979a853_042b_4050_8387_c939db22013f); +windows_core::imp::define_interface!(IWMReaderNetworkConfig2, IWMReaderNetworkConfig2_Vtbl, 0xd979a853_042b_4050_8387_c939db22013f); windows_core::imp::interface_hierarchy!(IWMReaderNetworkConfig2, windows_core::IUnknown, IWMReaderNetworkConfig); impl IWMReaderNetworkConfig2 { pub unsafe fn GetBufferingTime(&self) -> windows_core::Result { @@ -3924,7 +3924,7 @@ pub struct IWMReaderNetworkConfig2_Vtbl { pub SetEnableThinning: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetMaxNetPacketSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderPlaylistBurn, IWMReaderPlaylistBurn_Vtbl, 0xf28c0300_9baa_4477_a846_1744d9cbf533); +windows_core::imp::define_interface!(IWMReaderPlaylistBurn, IWMReaderPlaylistBurn_Vtbl, 0xf28c0300_9baa_4477_a846_1744d9cbf533); windows_core::imp::interface_hierarchy!(IWMReaderPlaylistBurn, windows_core::IUnknown); impl IWMReaderPlaylistBurn { pub unsafe fn InitPlaylistBurn(&self, cfiles: u32, ppwszfilenames: *const windows_core::PCWSTR, pcallback: P0, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> @@ -3952,7 +3952,7 @@ pub struct IWMReaderPlaylistBurn_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EndPlaylistBurn: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderStreamClock, IWMReaderStreamClock_Vtbl, 0x96406bed_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMReaderStreamClock, IWMReaderStreamClock_Vtbl, 0x96406bed_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMReaderStreamClock, windows_core::IUnknown); impl IWMReaderStreamClock { pub unsafe fn GetTime(&self, pcnsnow: *const u64) -> windows_core::Result<()> { @@ -3973,7 +3973,7 @@ pub struct IWMReaderStreamClock_Vtbl { pub SetTimer: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *const core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub KillTimer: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderTimecode, IWMReaderTimecode_Vtbl, 0xf369e2f0_e081_4fe6_8450_b810b2f410d1); +windows_core::imp::define_interface!(IWMReaderTimecode, IWMReaderTimecode_Vtbl, 0xf369e2f0_e081_4fe6_8450_b810b2f410d1); windows_core::imp::interface_hierarchy!(IWMReaderTimecode, windows_core::IUnknown); impl IWMReaderTimecode { pub unsafe fn GetTimecodeRangeCount(&self, wstreamnum: u16) -> windows_core::Result { @@ -3990,7 +3990,7 @@ pub struct IWMReaderTimecode_Vtbl { pub GetTimecodeRangeCount: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut u16) -> windows_core::HRESULT, pub GetTimecodeRangeBounds: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMReaderTypeNegotiation, IWMReaderTypeNegotiation_Vtbl, 0xfdbe5592_81a1_41ea_93bd_735cad1adc05); +windows_core::imp::define_interface!(IWMReaderTypeNegotiation, IWMReaderTypeNegotiation_Vtbl, 0xfdbe5592_81a1_41ea_93bd_735cad1adc05); windows_core::imp::interface_hierarchy!(IWMReaderTypeNegotiation, windows_core::IUnknown); impl IWMReaderTypeNegotiation { pub unsafe fn TryOutputProps(&self, dwoutputnum: u32, poutput: P0) -> windows_core::Result<()> @@ -4005,7 +4005,7 @@ pub struct IWMReaderTypeNegotiation_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub TryOutputProps: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMRegisterCallback, IWMRegisterCallback_Vtbl, 0xcf4b1f99_4de2_4e49_a363_252740d99bc1); +windows_core::imp::define_interface!(IWMRegisterCallback, IWMRegisterCallback_Vtbl, 0xcf4b1f99_4de2_4e49_a363_252740d99bc1); windows_core::imp::interface_hierarchy!(IWMRegisterCallback, windows_core::IUnknown); impl IWMRegisterCallback { pub unsafe fn Advise(&self, pcallback: P0, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> @@ -4027,7 +4027,7 @@ pub struct IWMRegisterCallback_Vtbl { pub Advise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMRegisteredDevice, IWMRegisteredDevice_Vtbl, 0xa4503bec_5508_4148_97ac_bfa75760a70d); +windows_core::imp::define_interface!(IWMRegisteredDevice, IWMRegisteredDevice_Vtbl, 0xa4503bec_5508_4148_97ac_bfa75760a70d); windows_core::imp::interface_hierarchy!(IWMRegisteredDevice, windows_core::IUnknown); impl IWMRegisteredDevice { pub unsafe fn GetDeviceSerialNumber(&self) -> windows_core::Result { @@ -4110,7 +4110,7 @@ pub struct IWMRegisteredDevice_Vtbl { pub Open: 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, } -windows_core::imp::com_interface!(IWMSBufferAllocator, IWMSBufferAllocator_Vtbl, 0x61103ca4_2033_11d2_9ef1_006097d2d7cf); +windows_core::imp::define_interface!(IWMSBufferAllocator, IWMSBufferAllocator_Vtbl, 0x61103ca4_2033_11d2_9ef1_006097d2d7cf); windows_core::imp::interface_hierarchy!(IWMSBufferAllocator, windows_core::IUnknown); impl IWMSBufferAllocator { pub unsafe fn AllocateBuffer(&self, dwmaxbuffersize: u32) -> windows_core::Result { @@ -4128,7 +4128,7 @@ pub struct IWMSBufferAllocator_Vtbl { pub AllocateBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AllocatePageSizeBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMSInternalAdminNetSource, IWMSInternalAdminNetSource_Vtbl, 0x8bb23e5f_d127_4afb_8d02_ae5b66d54c78); +windows_core::imp::define_interface!(IWMSInternalAdminNetSource, IWMSInternalAdminNetSource_Vtbl, 0x8bb23e5f_d127_4afb_8d02_ae5b66d54c78); windows_core::imp::interface_hierarchy!(IWMSInternalAdminNetSource, windows_core::IUnknown); impl IWMSInternalAdminNetSource { pub unsafe fn Initialize(&self, psharednamespace: P0, pnamespacenode: P1, pnetsourcecreator: P2, fembeddedinserver: P3) -> windows_core::Result<()> @@ -4206,7 +4206,7 @@ pub struct IWMSInternalAdminNetSource_Vtbl { 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, } -windows_core::imp::com_interface!(IWMSInternalAdminNetSource2, IWMSInternalAdminNetSource2_Vtbl, 0xe74d58c3_cf77_4b51_af17_744687c43eae); +windows_core::imp::define_interface!(IWMSInternalAdminNetSource2, IWMSInternalAdminNetSource2_Vtbl, 0xe74d58c3_cf77_4b51_af17_744687c43eae); windows_core::imp::interface_hierarchy!(IWMSInternalAdminNetSource2, windows_core::IUnknown); impl IWMSInternalAdminNetSource2 { pub unsafe fn SetCredentialsEx(&self, bstrrealm: P0, bstrurl: P1, fproxy: P2, bstrname: P3, bstrpassword: P4, fpersist: P5, fconfirmedgood: P6) -> windows_core::Result<()> @@ -4254,7 +4254,7 @@ pub struct IWMSInternalAdminNetSource2_Vtbl { 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, } -windows_core::imp::com_interface!(IWMSInternalAdminNetSource3, IWMSInternalAdminNetSource3_Vtbl, 0x6b63d08e_4590_44af_9eb3_57ff1e73bf80); +windows_core::imp::define_interface!(IWMSInternalAdminNetSource3, IWMSInternalAdminNetSource3_Vtbl, 0x6b63d08e_4590_44af_9eb3_57ff1e73bf80); windows_core::imp::interface_hierarchy!(IWMSInternalAdminNetSource3, windows_core::IUnknown, IWMSInternalAdminNetSource2); impl IWMSInternalAdminNetSource3 { pub unsafe fn SetCredentialsEx(&self, bstrrealm: P0, bstrurl: P1, fproxy: P2, bstrname: P3, bstrpassword: P4, fpersist: P5, fconfirmedgood: P6) -> windows_core::Result<()> @@ -4349,7 +4349,7 @@ pub struct IWMSInternalAdminNetSource3_Vtbl { 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, } -windows_core::imp::com_interface!(IWMSecureChannel, IWMSecureChannel_Vtbl, 0x2720598a_d0f2_4189_bd10_91c46ef0936f); +windows_core::imp::define_interface!(IWMSecureChannel, IWMSecureChannel_Vtbl, 0x2720598a_d0f2_4189_bd10_91c46ef0936f); windows_core::imp::interface_hierarchy!(IWMSecureChannel, windows_core::IUnknown, IWMAuthorizer); impl IWMSecureChannel { pub unsafe fn GetCertCount(&self) -> windows_core::Result { @@ -4420,7 +4420,7 @@ pub struct IWMSecureChannel_Vtbl { pub WMSC_Unlock: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub WMSC_SetSharedData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMStatusCallback, IWMStatusCallback_Vtbl, 0x6d7cdc70_9888_11d3_8edc_00c04f6109cf); +windows_core::imp::define_interface!(IWMStatusCallback, IWMStatusCallback_Vtbl, 0x6d7cdc70_9888_11d3_8edc_00c04f6109cf); windows_core::imp::interface_hierarchy!(IWMStatusCallback, windows_core::IUnknown); impl IWMStatusCallback { pub unsafe fn OnStatus(&self, status: WMT_STATUS, hr: windows_core::HRESULT, dwtype: WMT_ATTR_DATATYPE, pvalue: *const u8, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -4432,7 +4432,7 @@ pub struct IWMStatusCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnStatus: unsafe extern "system" fn(*mut core::ffi::c_void, WMT_STATUS, windows_core::HRESULT, WMT_ATTR_DATATYPE, *const u8, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMStreamConfig, IWMStreamConfig_Vtbl, 0x96406bdc_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMStreamConfig, IWMStreamConfig_Vtbl, 0x96406bdc_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMStreamConfig, windows_core::IUnknown); impl IWMStreamConfig { pub unsafe fn GetStreamType(&self) -> windows_core::Result { @@ -4494,7 +4494,7 @@ pub struct IWMStreamConfig_Vtbl { pub GetBufferWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetBufferWindow: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMStreamConfig2, IWMStreamConfig2_Vtbl, 0x7688d8cb_fc0d_43bd_9459_5a8dec200cfa); +windows_core::imp::define_interface!(IWMStreamConfig2, IWMStreamConfig2_Vtbl, 0x7688d8cb_fc0d_43bd_9459_5a8dec200cfa); windows_core::imp::interface_hierarchy!(IWMStreamConfig2, windows_core::IUnknown, IWMStreamConfig); impl IWMStreamConfig2 { pub unsafe fn GetStreamType(&self) -> windows_core::Result { @@ -4571,7 +4571,7 @@ pub struct IWMStreamConfig2_Vtbl { pub GetDataUnitExtension: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut windows_core::GUID, *mut u16, *mut u8, *mut u32) -> windows_core::HRESULT, pub RemoveAllDataUnitExtensions: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMStreamConfig3, IWMStreamConfig3_Vtbl, 0xcb164104_3aa9_45a7_9ac9_4daee131d6e1); +windows_core::imp::define_interface!(IWMStreamConfig3, IWMStreamConfig3_Vtbl, 0xcb164104_3aa9_45a7_9ac9_4daee131d6e1); windows_core::imp::interface_hierarchy!(IWMStreamConfig3, windows_core::IUnknown, IWMStreamConfig, IWMStreamConfig2); impl IWMStreamConfig3 { pub unsafe fn GetStreamType(&self) -> windows_core::Result { @@ -4653,7 +4653,7 @@ pub struct IWMStreamConfig3_Vtbl { pub GetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u16) -> windows_core::HRESULT, pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMStreamList, IWMStreamList_Vtbl, 0x96406bdd_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMStreamList, IWMStreamList_Vtbl, 0x96406bdd_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMStreamList, windows_core::IUnknown); impl IWMStreamList { pub unsafe fn GetStreams(&self, pwstreamnumarray: *mut u16, pcstreams: *mut u16) -> windows_core::Result<()> { @@ -4673,7 +4673,7 @@ pub struct IWMStreamList_Vtbl { pub AddStream: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, pub RemoveStream: unsafe extern "system" fn(*mut core::ffi::c_void, u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMStreamPrioritization, IWMStreamPrioritization_Vtbl, 0x8c1c6090_f9a8_4748_8ec3_dd1108ba1e77); +windows_core::imp::define_interface!(IWMStreamPrioritization, IWMStreamPrioritization_Vtbl, 0x8c1c6090_f9a8_4748_8ec3_dd1108ba1e77); windows_core::imp::interface_hierarchy!(IWMStreamPrioritization, windows_core::IUnknown); impl IWMStreamPrioritization { pub unsafe fn GetPriorityRecords(&self, precordarray: *mut WM_STREAM_PRIORITY_RECORD, pcrecords: *mut u16) -> windows_core::Result<()> { @@ -4689,7 +4689,7 @@ pub struct IWMStreamPrioritization_Vtbl { pub GetPriorityRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WM_STREAM_PRIORITY_RECORD, *mut u16) -> windows_core::HRESULT, pub SetPriorityRecords: unsafe extern "system" fn(*mut core::ffi::c_void, *const WM_STREAM_PRIORITY_RECORD, u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMSyncReader, IWMSyncReader_Vtbl, 0x9397f121_7705_4dc9_b049_98b698188414); +windows_core::imp::define_interface!(IWMSyncReader, IWMSyncReader_Vtbl, 0x9397f121_7705_4dc9_b049_98b698188414); windows_core::imp::interface_hierarchy!(IWMSyncReader, windows_core::IUnknown); impl IWMSyncReader { pub unsafe fn Open(&self, pwszfilename: P0) -> windows_core::Result<()> @@ -4813,7 +4813,7 @@ pub struct IWMSyncReader_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OpenStream: usize, } -windows_core::imp::com_interface!(IWMSyncReader2, IWMSyncReader2_Vtbl, 0xfaed3d21_1b6b_4af7_8cb6_3e189bbc187b); +windows_core::imp::define_interface!(IWMSyncReader2, IWMSyncReader2_Vtbl, 0xfaed3d21_1b6b_4af7_8cb6_3e189bbc187b); windows_core::imp::interface_hierarchy!(IWMSyncReader2, windows_core::IUnknown, IWMSyncReader); impl IWMSyncReader2 { pub unsafe fn Open(&self, pwszfilename: P0) -> windows_core::Result<()> @@ -4946,7 +4946,7 @@ pub struct IWMSyncReader2_Vtbl { pub SetAllocateForStream: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAllocateForStream: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMVideoMediaProps, IWMVideoMediaProps_Vtbl, 0x96406bcf_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMVideoMediaProps, IWMVideoMediaProps_Vtbl, 0x96406bcf_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMVideoMediaProps, windows_core::IUnknown, IWMMediaProps); impl IWMVideoMediaProps { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -4982,7 +4982,7 @@ pub struct IWMVideoMediaProps_Vtbl { pub GetQuality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetQuality: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWatermarkInfo, IWMWatermarkInfo_Vtbl, 0x6f497062_f2e2_4624_8ea7_9dd40d81fc8d); +windows_core::imp::define_interface!(IWMWatermarkInfo, IWMWatermarkInfo_Vtbl, 0x6f497062_f2e2_4624_8ea7_9dd40d81fc8d); windows_core::imp::interface_hierarchy!(IWMWatermarkInfo, windows_core::IUnknown); impl IWMWatermarkInfo { pub unsafe fn GetWatermarkEntryCount(&self, wmettype: WMT_WATERMARK_ENTRY_TYPE) -> windows_core::Result { @@ -4999,7 +4999,7 @@ pub struct IWMWatermarkInfo_Vtbl { pub GetWatermarkEntryCount: unsafe extern "system" fn(*mut core::ffi::c_void, WMT_WATERMARK_ENTRY_TYPE, *mut u32) -> windows_core::HRESULT, pub GetWatermarkEntry: unsafe extern "system" fn(*mut core::ffi::c_void, WMT_WATERMARK_ENTRY_TYPE, u32, *mut WMT_WATERMARK_ENTRY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriter, IWMWriter_Vtbl, 0x96406bd4_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMWriter, IWMWriter_Vtbl, 0x96406bd4_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMWriter, windows_core::IUnknown); impl IWMWriter { pub unsafe fn SetProfileByID(&self, guidprofile: *const windows_core::GUID) -> windows_core::Result<()> { @@ -5076,7 +5076,7 @@ pub struct IWMWriter_Vtbl { pub WriteSample: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriterAdvanced, IWMWriterAdvanced_Vtbl, 0x96406be3_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMWriterAdvanced, IWMWriterAdvanced_Vtbl, 0x96406be3_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMWriterAdvanced, windows_core::IUnknown); impl IWMWriterAdvanced { pub unsafe fn GetSinkCount(&self) -> windows_core::Result { @@ -5145,7 +5145,7 @@ pub struct IWMWriterAdvanced_Vtbl { pub SetSyncTolerance: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetSyncTolerance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriterAdvanced2, IWMWriterAdvanced2_Vtbl, 0x962dc1ec_c046_4db8_9cc7_26ceae500817); +windows_core::imp::define_interface!(IWMWriterAdvanced2, IWMWriterAdvanced2_Vtbl, 0x962dc1ec_c046_4db8_9cc7_26ceae500817); windows_core::imp::interface_hierarchy!(IWMWriterAdvanced2, windows_core::IUnknown, IWMWriterAdvanced); impl IWMWriterAdvanced2 { pub unsafe fn GetSinkCount(&self) -> windows_core::Result { @@ -5217,7 +5217,7 @@ pub struct IWMWriterAdvanced2_Vtbl { pub GetInputSetting: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, *mut WMT_ATTR_DATATYPE, *mut u8, *mut u16) -> windows_core::HRESULT, pub SetInputSetting: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, WMT_ATTR_DATATYPE, *const u8, u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriterAdvanced3, IWMWriterAdvanced3_Vtbl, 0x2cd6492d_7c37_4e76_9d3b_59261183a22e); +windows_core::imp::define_interface!(IWMWriterAdvanced3, IWMWriterAdvanced3_Vtbl, 0x2cd6492d_7c37_4e76_9d3b_59261183a22e); windows_core::imp::interface_hierarchy!(IWMWriterAdvanced3, windows_core::IUnknown, IWMWriterAdvanced, IWMWriterAdvanced2); impl IWMWriterAdvanced3 { pub unsafe fn GetSinkCount(&self) -> windows_core::Result { @@ -5295,7 +5295,7 @@ pub struct IWMWriterAdvanced3_Vtbl { pub GetStatisticsEx: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut WM_WRITER_STATISTICS_EX) -> windows_core::HRESULT, pub SetNonBlocking: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriterFileSink, IWMWriterFileSink_Vtbl, 0x96406be5_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMWriterFileSink, IWMWriterFileSink_Vtbl, 0x96406be5_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMWriterFileSink, windows_core::IUnknown, IWMWriterSink); impl IWMWriterFileSink { pub unsafe fn OnHeader(&self, pheader: P0) -> windows_core::Result<()> @@ -5333,7 +5333,7 @@ pub struct IWMWriterFileSink_Vtbl { pub base__: IWMWriterSink_Vtbl, pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriterFileSink2, IWMWriterFileSink2_Vtbl, 0x14282ba7_4aef_4205_8ce5_c229035a05bc); +windows_core::imp::define_interface!(IWMWriterFileSink2, IWMWriterFileSink2_Vtbl, 0x14282ba7_4aef_4205_8ce5_c229035a05bc); windows_core::imp::interface_hierarchy!(IWMWriterFileSink2, windows_core::IUnknown, IWMWriterSink, IWMWriterFileSink); impl IWMWriterFileSink2 { pub unsafe fn OnHeader(&self, pheader: P0) -> windows_core::Result<()> @@ -5402,7 +5402,7 @@ pub struct IWMWriterFileSink2_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsClosed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriterFileSink3, IWMWriterFileSink3_Vtbl, 0x3fea4feb_2945_47a7_a1dd_c53a8fc4c45c); +windows_core::imp::define_interface!(IWMWriterFileSink3, IWMWriterFileSink3_Vtbl, 0x3fea4feb_2945_47a7_a1dd_c53a8fc4c45c); windows_core::imp::interface_hierarchy!(IWMWriterFileSink3, windows_core::IUnknown, IWMWriterSink, IWMWriterFileSink, IWMWriterFileSink2); impl IWMWriterFileSink3 { pub unsafe fn OnHeader(&self, pheader: P0) -> windows_core::Result<()> @@ -5509,7 +5509,7 @@ pub struct IWMWriterFileSink3_Vtbl { pub GetUnbufferedIO: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CompleteOperations: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriterNetworkSink, IWMWriterNetworkSink_Vtbl, 0x96406be7_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMWriterNetworkSink, IWMWriterNetworkSink_Vtbl, 0x96406be7_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMWriterNetworkSink, windows_core::IUnknown, IWMWriterSink); impl IWMWriterNetworkSink { pub unsafe fn OnHeader(&self, pheader: P0) -> windows_core::Result<()> @@ -5574,7 +5574,7 @@ pub struct IWMWriterNetworkSink_Vtbl { pub Disconnect: 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, } -windows_core::imp::com_interface!(IWMWriterPostView, IWMWriterPostView_Vtbl, 0x81e20ce4_75ef_491a_8004_fc53c45bdc3e); +windows_core::imp::define_interface!(IWMWriterPostView, IWMWriterPostView_Vtbl, 0x81e20ce4_75ef_491a_8004_fc53c45bdc3e); windows_core::imp::interface_hierarchy!(IWMWriterPostView, windows_core::IUnknown); impl IWMWriterPostView { pub unsafe fn SetPostViewCallback(&self, pcallback: P0, pvcontext: *mut core::ffi::c_void) -> windows_core::Result<()> @@ -5635,7 +5635,7 @@ pub struct IWMWriterPostView_Vtbl { pub SetAllocateForPostView: unsafe extern "system" fn(*mut core::ffi::c_void, u16, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetAllocateForPostView: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriterPostViewCallback, IWMWriterPostViewCallback_Vtbl, 0xd9d6549d_a193_4f24_b308_03123d9b7f8d); +windows_core::imp::define_interface!(IWMWriterPostViewCallback, IWMWriterPostViewCallback_Vtbl, 0xd9d6549d_a193_4f24_b308_03123d9b7f8d); windows_core::imp::interface_hierarchy!(IWMWriterPostViewCallback, windows_core::IUnknown, IWMStatusCallback); impl IWMWriterPostViewCallback { pub unsafe fn OnStatus(&self, status: WMT_STATUS, hr: windows_core::HRESULT, dwtype: WMT_ATTR_DATATYPE, pvalue: *const u8, pvcontext: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -5657,7 +5657,7 @@ pub struct IWMWriterPostViewCallback_Vtbl { pub OnPostViewSample: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u64, u64, u32, *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, pub AllocateForPostView: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u32, *mut *mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriterPreprocess, IWMWriterPreprocess_Vtbl, 0xfc54a285_38c4_45b5_aa23_85b9f7cb424b); +windows_core::imp::define_interface!(IWMWriterPreprocess, IWMWriterPreprocess_Vtbl, 0xfc54a285_38c4_45b5_aa23_85b9f7cb424b); windows_core::imp::interface_hierarchy!(IWMWriterPreprocess, windows_core::IUnknown); impl IWMWriterPreprocess { pub unsafe fn GetMaxPreprocessingPasses(&self, dwinputnum: u32, dwflags: u32) -> windows_core::Result { @@ -5689,7 +5689,7 @@ pub struct IWMWriterPreprocess_Vtbl { pub PreprocessSample: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndPreprocessingPass: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriterPushSink, IWMWriterPushSink_Vtbl, 0xdc10e6a5_072c_467d_bf57_6330a9dde12a); +windows_core::imp::define_interface!(IWMWriterPushSink, IWMWriterPushSink_Vtbl, 0xdc10e6a5_072c_467d_bf57_6330a9dde12a); windows_core::imp::interface_hierarchy!(IWMWriterPushSink, windows_core::IUnknown, IWMWriterSink); impl IWMWriterPushSink { pub unsafe fn OnHeader(&self, pheader: P0) -> windows_core::Result<()> @@ -5737,7 +5737,7 @@ pub struct IWMWriterPushSink_Vtbl { pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EndSession: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWMWriterSink, IWMWriterSink_Vtbl, 0x96406be4_2b2b_11d3_b36b_00c04f6108ff); +windows_core::imp::define_interface!(IWMWriterSink, IWMWriterSink_Vtbl, 0x96406be4_2b2b_11d3_b36b_00c04f6108ff); windows_core::imp::interface_hierarchy!(IWMWriterSink, windows_core::IUnknown); impl IWMWriterSink { pub unsafe fn OnHeader(&self, pheader: P0) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Media/mod.rs b/crates/libs/windows/src/Windows/Win32/Media/mod.rs index 0fffa23e24..2eebf032c8 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/mod.rs @@ -59,7 +59,7 @@ pub unsafe fn timeSetEvent(udelay: u32, uresolution: u32, fptc: LPTIMECALLBACK, windows_targets::link!("winmm.dll" "system" fn timeSetEvent(udelay : u32, uresolution : u32, fptc : LPTIMECALLBACK, dwuser : usize, fuevent : u32) -> u32); timeSetEvent(udelay, uresolution, fptc, dwuser, fuevent) } -windows_core::imp::com_interface!(IReferenceClock, IReferenceClock_Vtbl, 0x56a86897_0ad4_11ce_b03a_0020af0ba770); +windows_core::imp::define_interface!(IReferenceClock, IReferenceClock_Vtbl, 0x56a86897_0ad4_11ce_b03a_0020af0ba770); windows_core::imp::interface_hierarchy!(IReferenceClock, windows_core::IUnknown); impl IReferenceClock { pub unsafe fn GetTime(&self) -> windows_core::Result { @@ -92,7 +92,7 @@ pub struct IReferenceClock_Vtbl { pub AdvisePeriodic: unsafe extern "system" fn(*mut core::ffi::c_void, i64, i64, super::Foundation::HANDLE, *mut usize) -> windows_core::HRESULT, pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReferenceClock2, IReferenceClock2_Vtbl, 0x36b73885_c2c8_11cf_8b46_00805f6cef60); +windows_core::imp::define_interface!(IReferenceClock2, IReferenceClock2_Vtbl, 0x36b73885_c2c8_11cf_8b46_00805f6cef60); windows_core::imp::interface_hierarchy!(IReferenceClock2, windows_core::IUnknown, IReferenceClock); impl IReferenceClock2 { pub unsafe fn GetTime(&self) -> windows_core::Result { @@ -121,7 +121,7 @@ impl IReferenceClock2 { pub struct IReferenceClock2_Vtbl { pub base__: IReferenceClock_Vtbl, } -windows_core::imp::com_interface!(IReferenceClockTimerControl, IReferenceClockTimerControl_Vtbl, 0xebec459c_2eca_4d42_a8af_30df557614b8); +windows_core::imp::define_interface!(IReferenceClockTimerControl, IReferenceClockTimerControl_Vtbl, 0xebec459c_2eca_4d42_a8af_30df557614b8); windows_core::imp::interface_hierarchy!(IReferenceClockTimerControl, windows_core::IUnknown); impl IReferenceClockTimerControl { pub unsafe fn SetDefaultTimerResolution(&self, timerresolution: i64) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs index 22a1b0340c..230e0cf209 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDummyMBNUCMExt, IDummyMBNUCMExt_Vtbl, 0xdcbbbab6_ffff_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IDummyMBNUCMExt, IDummyMBNUCMExt_Vtbl, 0xdcbbbab6_ffff_4bbb_aaee_338e368af6fa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDummyMBNUCMExt, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -9,7 +9,7 @@ impl IDummyMBNUCMExt {} pub struct IDummyMBNUCMExt_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(IMbnConnection, IMbnConnection_Vtbl, 0xdcbbbab6_200d_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnConnection, IMbnConnection_Vtbl, 0xdcbbbab6_200d_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnConnection, windows_core::IUnknown); impl IMbnConnection { pub unsafe fn ConnectionID(&self) -> windows_core::Result { @@ -54,7 +54,7 @@ pub struct IMbnConnection_Vtbl { 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, } -windows_core::imp::com_interface!(IMbnConnectionContext, IMbnConnectionContext_Vtbl, 0xdcbbbab6_200b_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnConnectionContext, IMbnConnectionContext_Vtbl, 0xdcbbbab6_200b_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnConnectionContext, windows_core::IUnknown); impl IMbnConnectionContext { #[cfg(feature = "Win32_System_Com")] @@ -79,7 +79,7 @@ pub struct IMbnConnectionContext_Vtbl { GetProvisionedContexts: usize, pub SetProvisionedContext: unsafe extern "system" fn(*mut core::ffi::c_void, MBN_CONTEXT, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnConnectionContextEvents, IMbnConnectionContextEvents_Vtbl, 0xdcbbbab6_200c_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnConnectionContextEvents, IMbnConnectionContextEvents_Vtbl, 0xdcbbbab6_200c_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnConnectionContextEvents, windows_core::IUnknown); impl IMbnConnectionContextEvents { pub unsafe fn OnProvisionedContextListChange(&self, newinterface: P0) -> windows_core::Result<()> @@ -101,7 +101,7 @@ pub struct IMbnConnectionContextEvents_Vtbl { pub OnProvisionedContextListChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnSetProvisionedContextComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnConnectionEvents, IMbnConnectionEvents_Vtbl, 0xdcbbbab6_200e_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnConnectionEvents, IMbnConnectionEvents_Vtbl, 0xdcbbbab6_200e_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnConnectionEvents, windows_core::IUnknown); impl IMbnConnectionEvents { pub unsafe fn OnConnectComplete(&self, newconnection: P0, requestid: u32, status: windows_core::HRESULT) -> windows_core::Result<()> @@ -137,7 +137,7 @@ pub struct IMbnConnectionEvents_Vtbl { pub OnConnectStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnVoiceCallStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnConnectionManager, IMbnConnectionManager_Vtbl, 0xdcbbbab6_201d_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnConnectionManager, IMbnConnectionManager_Vtbl, 0xdcbbbab6_201d_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnConnectionManager, windows_core::IUnknown); impl IMbnConnectionManager { pub unsafe fn GetConnection(&self, connectionid: P0) -> windows_core::Result @@ -162,7 +162,7 @@ pub struct IMbnConnectionManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetConnections: usize, } -windows_core::imp::com_interface!(IMbnConnectionManagerEvents, IMbnConnectionManagerEvents_Vtbl, 0xdcbbbab6_201e_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnConnectionManagerEvents, IMbnConnectionManagerEvents_Vtbl, 0xdcbbbab6_201e_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnConnectionManagerEvents, windows_core::IUnknown); impl IMbnConnectionManagerEvents { pub unsafe fn OnConnectionArrival(&self, newconnection: P0) -> windows_core::Result<()> @@ -184,7 +184,7 @@ pub struct IMbnConnectionManagerEvents_Vtbl { pub OnConnectionArrival: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnConnectionRemoval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnConnectionProfile, IMbnConnectionProfile_Vtbl, 0xdcbbbab6_2010_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnConnectionProfile, IMbnConnectionProfile_Vtbl, 0xdcbbbab6_2010_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnConnectionProfile, windows_core::IUnknown); impl IMbnConnectionProfile { pub unsafe fn GetProfileXmlData(&self) -> windows_core::Result { @@ -208,7 +208,7 @@ pub struct IMbnConnectionProfile_Vtbl { 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, } -windows_core::imp::com_interface!(IMbnConnectionProfileEvents, IMbnConnectionProfileEvents_Vtbl, 0xdcbbbab6_2011_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnConnectionProfileEvents, IMbnConnectionProfileEvents_Vtbl, 0xdcbbbab6_2011_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnConnectionProfileEvents, windows_core::IUnknown); impl IMbnConnectionProfileEvents { pub unsafe fn OnProfileUpdate(&self, newprofile: P0) -> windows_core::Result<()> @@ -223,7 +223,7 @@ pub struct IMbnConnectionProfileEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnProfileUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnConnectionProfileManager, IMbnConnectionProfileManager_Vtbl, 0xdcbbbab6_200f_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnConnectionProfileManager, IMbnConnectionProfileManager_Vtbl, 0xdcbbbab6_200f_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnConnectionProfileManager, windows_core::IUnknown); impl IMbnConnectionProfileManager { #[cfg(feature = "Win32_System_Com")] @@ -259,7 +259,7 @@ pub struct IMbnConnectionProfileManager_Vtbl { pub GetConnectionProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateConnectionProfile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnConnectionProfileManagerEvents, IMbnConnectionProfileManagerEvents_Vtbl, 0xdcbbbab6_201f_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnConnectionProfileManagerEvents, IMbnConnectionProfileManagerEvents_Vtbl, 0xdcbbbab6_201f_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnConnectionProfileManagerEvents, windows_core::IUnknown); impl IMbnConnectionProfileManagerEvents { pub unsafe fn OnConnectionProfileArrival(&self, newconnectionprofile: P0) -> windows_core::Result<()> @@ -281,7 +281,7 @@ pub struct IMbnConnectionProfileManagerEvents_Vtbl { pub OnConnectionProfileArrival: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnConnectionProfileRemoval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnDeviceService, IMbnDeviceService_Vtbl, 0xb3bb9a71_dc70_4be9_a4da_7886ae8b191b); +windows_core::imp::define_interface!(IMbnDeviceService, IMbnDeviceService_Vtbl, 0xb3bb9a71_dc70_4be9_a4da_7886ae8b191b); windows_core::imp::interface_hierarchy!(IMbnDeviceService, windows_core::IUnknown); impl IMbnDeviceService { pub unsafe fn QuerySupportedCommands(&self) -> windows_core::Result { @@ -361,7 +361,7 @@ pub struct IMbnDeviceService_Vtbl { 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, } -windows_core::imp::com_interface!(IMbnDeviceServiceStateEvents, IMbnDeviceServiceStateEvents_Vtbl, 0x5d3ff196_89ee_49d8_8b60_33ffddffc58d); +windows_core::imp::define_interface!(IMbnDeviceServiceStateEvents, IMbnDeviceServiceStateEvents_Vtbl, 0x5d3ff196_89ee_49d8_8b60_33ffddffc58d); windows_core::imp::interface_hierarchy!(IMbnDeviceServiceStateEvents, windows_core::IUnknown); impl IMbnDeviceServiceStateEvents { pub unsafe fn OnSessionsStateChange(&self, interfaceid: P0, statechange: MBN_DEVICE_SERVICE_SESSIONS_STATE) -> windows_core::Result<()> @@ -376,7 +376,7 @@ 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, } -windows_core::imp::com_interface!(IMbnDeviceServicesContext, IMbnDeviceServicesContext_Vtbl, 0xfc5ac347_1592_4068_80bb_6a57580150d8); +windows_core::imp::define_interface!(IMbnDeviceServicesContext, IMbnDeviceServicesContext_Vtbl, 0xfc5ac347_1592_4068_80bb_6a57580150d8); windows_core::imp::interface_hierarchy!(IMbnDeviceServicesContext, windows_core::IUnknown); impl IMbnDeviceServicesContext { #[cfg(feature = "Win32_System_Com")] @@ -411,7 +411,7 @@ pub struct IMbnDeviceServicesContext_Vtbl { 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, } -windows_core::imp::com_interface!(IMbnDeviceServicesEvents, IMbnDeviceServicesEvents_Vtbl, 0x0a900c19_6824_4e97_b76e_cf239d0ca642); +windows_core::imp::define_interface!(IMbnDeviceServicesEvents, IMbnDeviceServicesEvents_Vtbl, 0x0a900c19_6824_4e97_b76e_cf239d0ca642); windows_core::imp::interface_hierarchy!(IMbnDeviceServicesEvents, windows_core::IUnknown); impl IMbnDeviceServicesEvents { #[cfg(feature = "Win32_System_Com")] @@ -516,7 +516,7 @@ pub struct IMbnDeviceServicesEvents_Vtbl { OnReadData: usize, pub OnInterfaceStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, MBN_DEVICE_SERVICES_INTERFACE_STATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnDeviceServicesManager, IMbnDeviceServicesManager_Vtbl, 0x20a26258_6811_4478_ac1d_13324e45e41c); +windows_core::imp::define_interface!(IMbnDeviceServicesManager, IMbnDeviceServicesManager_Vtbl, 0x20a26258_6811_4478_ac1d_13324e45e41c); windows_core::imp::interface_hierarchy!(IMbnDeviceServicesManager, windows_core::IUnknown); impl IMbnDeviceServicesManager { pub unsafe fn GetDeviceServicesContext(&self, networkinterfaceid: P0) -> windows_core::Result @@ -532,7 +532,7 @@ 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, } -windows_core::imp::com_interface!(IMbnInterface, IMbnInterface_Vtbl, 0xdcbbbab6_2001_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnInterface, IMbnInterface_Vtbl, 0xdcbbbab6_2001_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnInterface, windows_core::IUnknown); impl IMbnInterface { pub unsafe fn InterfaceID(&self) -> windows_core::Result { @@ -606,7 +606,7 @@ pub struct IMbnInterface_Vtbl { pub ScanNetwork: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnInterfaceEvents, IMbnInterfaceEvents_Vtbl, 0xdcbbbab6_2002_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnInterfaceEvents, IMbnInterfaceEvents_Vtbl, 0xdcbbbab6_2002_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnInterfaceEvents, windows_core::IUnknown); impl IMbnInterfaceEvents { pub unsafe fn OnInterfaceCapabilityAvailable(&self, newinterface: P0) -> windows_core::Result<()> @@ -670,7 +670,7 @@ pub struct IMbnInterfaceEvents_Vtbl { pub OnSetPreferredProvidersComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, pub OnScanNetworkComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnInterfaceManager, IMbnInterfaceManager_Vtbl, 0xdcbbbab6_201b_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnInterfaceManager, IMbnInterfaceManager_Vtbl, 0xdcbbbab6_201b_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnInterfaceManager, windows_core::IUnknown); impl IMbnInterfaceManager { pub unsafe fn GetInterface(&self, interfaceid: P0) -> windows_core::Result @@ -695,7 +695,7 @@ pub struct IMbnInterfaceManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetInterfaces: usize, } -windows_core::imp::com_interface!(IMbnInterfaceManagerEvents, IMbnInterfaceManagerEvents_Vtbl, 0xdcbbbab6_201c_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnInterfaceManagerEvents, IMbnInterfaceManagerEvents_Vtbl, 0xdcbbbab6_201c_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnInterfaceManagerEvents, windows_core::IUnknown); impl IMbnInterfaceManagerEvents { pub unsafe fn OnInterfaceArrival(&self, newinterface: P0) -> windows_core::Result<()> @@ -717,7 +717,7 @@ pub struct IMbnInterfaceManagerEvents_Vtbl { pub OnInterfaceArrival: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnInterfaceRemoval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnMultiCarrier, IMbnMultiCarrier_Vtbl, 0xdcbbbab6_2020_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnMultiCarrier, IMbnMultiCarrier_Vtbl, 0xdcbbbab6_2020_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnMultiCarrier, windows_core::IUnknown); impl IMbnMultiCarrier { pub unsafe fn SetHomeProvider(&self, homeprovider: *const MBN_PROVIDER2) -> windows_core::Result { @@ -767,7 +767,7 @@ pub struct IMbnMultiCarrier_Vtbl { pub GetCurrentCellularClass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_CELLULAR_CLASS) -> windows_core::HRESULT, pub ScanNetwork: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnMultiCarrierEvents, IMbnMultiCarrierEvents_Vtbl, 0xdcdddab6_2021_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnMultiCarrierEvents, IMbnMultiCarrierEvents_Vtbl, 0xdcdddab6_2021_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnMultiCarrierEvents, windows_core::IUnknown); impl IMbnMultiCarrierEvents { pub unsafe fn OnSetHomeProviderComplete(&self, mbninterface: P0, requestid: u32, status: windows_core::HRESULT) -> windows_core::Result<()> @@ -810,7 +810,7 @@ pub struct IMbnMultiCarrierEvents_Vtbl { pub OnScanNetworkComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, pub OnInterfaceCapabilityChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnPin, IMbnPin_Vtbl, 0xdcbbbab6_2007_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnPin, IMbnPin_Vtbl, 0xdcbbbab6_2007_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnPin, windows_core::IUnknown); impl IMbnPin { pub unsafe fn PinType(&self) -> windows_core::Result { @@ -890,7 +890,7 @@ pub struct IMbnPin_Vtbl { pub Unblock: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, pub GetPinManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnPinEvents, IMbnPinEvents_Vtbl, 0xdcbbbab6_2008_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnPinEvents, IMbnPinEvents_Vtbl, 0xdcbbbab6_2008_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnPinEvents, windows_core::IUnknown); impl IMbnPinEvents { pub unsafe fn OnEnableComplete(&self, pin: P0, pininfo: *const MBN_PIN_INFO, requestid: u32, status: windows_core::HRESULT) -> windows_core::Result<()> @@ -933,7 +933,7 @@ pub struct IMbnPinEvents_Vtbl { pub OnChangeComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const MBN_PIN_INFO, u32, windows_core::HRESULT) -> windows_core::HRESULT, pub OnUnblockComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const MBN_PIN_INFO, u32, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnPinManager, IMbnPinManager_Vtbl, 0xdcbbbab6_2005_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnPinManager, IMbnPinManager_Vtbl, 0xdcbbbab6_2005_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnPinManager, windows_core::IUnknown); impl IMbnPinManager { #[cfg(feature = "Win32_System_Com")] @@ -960,7 +960,7 @@ pub struct IMbnPinManager_Vtbl { pub GetPin: unsafe extern "system" fn(*mut core::ffi::c_void, MBN_PIN_TYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPinState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnPinManagerEvents, IMbnPinManagerEvents_Vtbl, 0xdcbbbab6_2006_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnPinManagerEvents, IMbnPinManagerEvents_Vtbl, 0xdcbbbab6_2006_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnPinManagerEvents, windows_core::IUnknown); impl IMbnPinManagerEvents { pub unsafe fn OnPinListAvailable(&self, pinmanager: P0) -> windows_core::Result<()> @@ -982,7 +982,7 @@ pub struct IMbnPinManagerEvents_Vtbl { pub OnPinListAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnGetPinStateComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, MBN_PIN_INFO, u32, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnRadio, IMbnRadio_Vtbl, 0xdccccab6_201f_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnRadio, IMbnRadio_Vtbl, 0xdccccab6_201f_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnRadio, windows_core::IUnknown); impl IMbnRadio { pub unsafe fn SoftwareRadioState(&self) -> windows_core::Result { @@ -1005,7 +1005,7 @@ pub struct IMbnRadio_Vtbl { pub HardwareRadioState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_RADIO) -> windows_core::HRESULT, pub SetSoftwareRadioState: unsafe extern "system" fn(*mut core::ffi::c_void, MBN_RADIO, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnRadioEvents, IMbnRadioEvents_Vtbl, 0xdcdddab6_201f_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnRadioEvents, IMbnRadioEvents_Vtbl, 0xdcdddab6_201f_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnRadioEvents, windows_core::IUnknown); impl IMbnRadioEvents { pub unsafe fn OnRadioStateChange(&self, newinterface: P0) -> windows_core::Result<()> @@ -1027,7 +1027,7 @@ pub struct IMbnRadioEvents_Vtbl { pub OnRadioStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnSetSoftwareRadioStateComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnRegistration, IMbnRegistration_Vtbl, 0xdcbbbab6_2009_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnRegistration, IMbnRegistration_Vtbl, 0xdcbbbab6_2009_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnRegistration, windows_core::IUnknown); impl IMbnRegistration { pub unsafe fn GetRegisterState(&self) -> windows_core::Result { @@ -1088,7 +1088,7 @@ pub struct IMbnRegistration_Vtbl { pub GetPacketAttachNetworkError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetRegisterMode: unsafe extern "system" fn(*mut core::ffi::c_void, MBN_REGISTER_MODE, windows_core::PCWSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnRegistrationEvents, IMbnRegistrationEvents_Vtbl, 0xdcbbbab6_200a_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnRegistrationEvents, IMbnRegistrationEvents_Vtbl, 0xdcbbbab6_200a_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnRegistrationEvents, windows_core::IUnknown); impl IMbnRegistrationEvents { pub unsafe fn OnRegisterModeAvailable(&self, newinterface: P0) -> windows_core::Result<()> @@ -1124,7 +1124,7 @@ pub struct IMbnRegistrationEvents_Vtbl { pub OnPacketServiceStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnSetRegisterModeComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnServiceActivation, IMbnServiceActivation_Vtbl, 0xdcbbbab6_2017_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnServiceActivation, IMbnServiceActivation_Vtbl, 0xdcbbbab6_2017_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnServiceActivation, windows_core::IUnknown); impl IMbnServiceActivation { #[cfg(feature = "Win32_System_Com")] @@ -1141,7 +1141,7 @@ pub struct IMbnServiceActivation_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Activate: usize, } -windows_core::imp::com_interface!(IMbnServiceActivationEvents, IMbnServiceActivationEvents_Vtbl, 0xdcbbbab6_2018_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnServiceActivationEvents, IMbnServiceActivationEvents_Vtbl, 0xdcbbbab6_2018_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnServiceActivationEvents, windows_core::IUnknown); impl IMbnServiceActivationEvents { #[cfg(feature = "Win32_System_Com")] @@ -1160,7 +1160,7 @@ pub struct IMbnServiceActivationEvents_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OnActivationComplete: usize, } -windows_core::imp::com_interface!(IMbnSignal, IMbnSignal_Vtbl, 0xdcbbbab6_2003_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnSignal, IMbnSignal_Vtbl, 0xdcbbbab6_2003_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnSignal, windows_core::IUnknown); impl IMbnSignal { pub unsafe fn GetSignalStrength(&self) -> windows_core::Result { @@ -1178,7 +1178,7 @@ pub struct IMbnSignal_Vtbl { pub GetSignalStrength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetSignalError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnSignalEvents, IMbnSignalEvents_Vtbl, 0xdcbbbab6_2004_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnSignalEvents, IMbnSignalEvents_Vtbl, 0xdcbbbab6_2004_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnSignalEvents, windows_core::IUnknown); impl IMbnSignalEvents { pub unsafe fn OnSignalStateChange(&self, newinterface: P0) -> windows_core::Result<()> @@ -1193,7 +1193,7 @@ pub struct IMbnSignalEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnSignalStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnSms, IMbnSms_Vtbl, 0xdcbbbab6_2015_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnSms, IMbnSms_Vtbl, 0xdcbbbab6_2015_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnSms, windows_core::IUnknown); impl IMbnSms { pub unsafe fn GetSmsConfiguration(&self) -> windows_core::Result { @@ -1258,7 +1258,7 @@ pub struct IMbnSms_Vtbl { pub SmsDelete: unsafe extern "system" fn(*mut core::ffi::c_void, *const MBN_SMS_FILTER, *mut u32) -> windows_core::HRESULT, pub GetSmsStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_SMS_STATUS_INFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnSmsConfiguration, IMbnSmsConfiguration_Vtbl, 0xdcbbbab6_2012_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnSmsConfiguration, IMbnSmsConfiguration_Vtbl, 0xdcbbbab6_2012_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnSmsConfiguration, windows_core::IUnknown); impl IMbnSmsConfiguration { pub unsafe fn ServiceCenterAddress(&self) -> windows_core::Result { @@ -1297,7 +1297,7 @@ pub struct IMbnSmsConfiguration_Vtbl { pub SmsFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MBN_SMS_FORMAT) -> windows_core::HRESULT, pub SetSmsFormat: unsafe extern "system" fn(*mut core::ffi::c_void, MBN_SMS_FORMAT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnSmsEvents, IMbnSmsEvents_Vtbl, 0xdcbbbab6_2016_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnSmsEvents, IMbnSmsEvents_Vtbl, 0xdcbbbab6_2016_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnSmsEvents, windows_core::IUnknown); impl IMbnSmsEvents { pub unsafe fn OnSmsConfigurationChange(&self, sms: P0) -> windows_core::Result<()> @@ -1363,7 +1363,7 @@ pub struct IMbnSmsEvents_Vtbl { pub OnSmsDeleteComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, windows_core::HRESULT) -> windows_core::HRESULT, pub OnSmsStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMbnSmsReadMsgPdu, IMbnSmsReadMsgPdu_Vtbl, 0xdcbbbab6_2013_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnSmsReadMsgPdu, IMbnSmsReadMsgPdu_Vtbl, 0xdcbbbab6_2013_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnSmsReadMsgPdu, windows_core::IUnknown); impl IMbnSmsReadMsgPdu { pub unsafe fn Index(&self) -> windows_core::Result { @@ -1395,7 +1395,7 @@ pub struct IMbnSmsReadMsgPdu_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Message: usize, } -windows_core::imp::com_interface!(IMbnSmsReadMsgTextCdma, IMbnSmsReadMsgTextCdma_Vtbl, 0xdcbbbab6_2014_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnSmsReadMsgTextCdma, IMbnSmsReadMsgTextCdma_Vtbl, 0xdcbbbab6_2014_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnSmsReadMsgTextCdma, windows_core::IUnknown); impl IMbnSmsReadMsgTextCdma { pub unsafe fn Index(&self) -> windows_core::Result { @@ -1447,7 +1447,7 @@ pub struct IMbnSmsReadMsgTextCdma_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Message: usize, } -windows_core::imp::com_interface!(IMbnSubscriberInformation, IMbnSubscriberInformation_Vtbl, 0x459ecc43_bcf5_11dc_a8a8_001321f1405f); +windows_core::imp::define_interface!(IMbnSubscriberInformation, IMbnSubscriberInformation_Vtbl, 0x459ecc43_bcf5_11dc_a8a8_001321f1405f); windows_core::imp::interface_hierarchy!(IMbnSubscriberInformation, windows_core::IUnknown); impl IMbnSubscriberInformation { pub unsafe fn SubscriberID(&self) -> windows_core::Result { @@ -1474,7 +1474,7 @@ pub struct IMbnSubscriberInformation_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] TelephoneNumbers: usize, } -windows_core::imp::com_interface!(IMbnVendorSpecificEvents, IMbnVendorSpecificEvents_Vtbl, 0xdcbbbab6_201a_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnVendorSpecificEvents, IMbnVendorSpecificEvents_Vtbl, 0xdcbbbab6_201a_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnVendorSpecificEvents, windows_core::IUnknown); impl IMbnVendorSpecificEvents { #[cfg(feature = "Win32_System_Com")] @@ -1504,7 +1504,7 @@ pub struct IMbnVendorSpecificEvents_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OnSetVendorSpecificComplete: usize, } -windows_core::imp::com_interface!(IMbnVendorSpecificOperation, IMbnVendorSpecificOperation_Vtbl, 0xdcbbbab6_2019_4bbb_aaee_338e368af6fa); +windows_core::imp::define_interface!(IMbnVendorSpecificOperation, IMbnVendorSpecificOperation_Vtbl, 0xdcbbbab6_2019_4bbb_aaee_338e368af6fa); windows_core::imp::interface_hierarchy!(IMbnVendorSpecificOperation, windows_core::IUnknown); impl IMbnVendorSpecificOperation { #[cfg(feature = "Win32_System_Com")] 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 58a0fd3d65..27e64d331e 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/mod.rs @@ -1444,7 +1444,7 @@ where windows_targets::link!("rtutils.dll" "system" fn TraceVprintfExW(dwtraceid : u32, dwflags : u32, lpszformat : windows_core::PCWSTR, arglist : *mut i8) -> u32); TraceVprintfExW(dwtraceid, dwflags, lpszformat.into_param().abi(), arglist) } -windows_core::imp::com_interface!(IEnumNetCfgBindingInterface, IEnumNetCfgBindingInterface_Vtbl, 0xc0e8ae90_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(IEnumNetCfgBindingInterface, IEnumNetCfgBindingInterface_Vtbl, 0xc0e8ae90_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(IEnumNetCfgBindingInterface, windows_core::IUnknown); impl IEnumNetCfgBindingInterface { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1468,7 +1468,7 @@ pub struct IEnumNetCfgBindingInterface_Vtbl { 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, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumNetCfgBindingPath, IEnumNetCfgBindingPath_Vtbl, 0xc0e8ae91_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(IEnumNetCfgBindingPath, IEnumNetCfgBindingPath_Vtbl, 0xc0e8ae91_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(IEnumNetCfgBindingPath, windows_core::IUnknown); impl IEnumNetCfgBindingPath { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1492,7 +1492,7 @@ pub struct IEnumNetCfgBindingPath_Vtbl { 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, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumNetCfgComponent, IEnumNetCfgComponent_Vtbl, 0xc0e8ae92_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(IEnumNetCfgComponent, IEnumNetCfgComponent_Vtbl, 0xc0e8ae92_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(IEnumNetCfgComponent, windows_core::IUnknown); impl IEnumNetCfgComponent { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1516,7 +1516,7 @@ pub struct IEnumNetCfgComponent_Vtbl { 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, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfg, INetCfg_Vtbl, 0xc0e8ae93_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(INetCfg, INetCfg_Vtbl, 0xc0e8ae93_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(INetCfg, windows_core::IUnknown); impl INetCfg { pub unsafe fn Initialize(&self, pvreserved: Option<*const core::ffi::c_void>) -> windows_core::Result<()> { @@ -1555,7 +1555,7 @@ pub struct INetCfg_Vtbl { pub FindComponent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub QueryNetCfgClass: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgBindingInterface, INetCfgBindingInterface_Vtbl, 0xc0e8ae94_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(INetCfgBindingInterface, INetCfgBindingInterface_Vtbl, 0xc0e8ae94_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(INetCfgBindingInterface, windows_core::IUnknown); impl INetCfgBindingInterface { pub unsafe fn GetName(&self, ppszwinterfacename: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> { @@ -1575,7 +1575,7 @@ pub struct INetCfgBindingInterface_Vtbl { pub GetUpperComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLowerComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgBindingPath, INetCfgBindingPath_Vtbl, 0xc0e8ae96_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(INetCfgBindingPath, INetCfgBindingPath_Vtbl, 0xc0e8ae96_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(INetCfgBindingPath, windows_core::IUnknown); impl INetCfgBindingPath { pub unsafe fn IsSamePathAs(&self, ppath: P0) -> windows_core::Result<()> @@ -1625,7 +1625,7 @@ pub struct INetCfgBindingPath_Vtbl { pub GetDepth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub EnumBindingInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgClass, INetCfgClass_Vtbl, 0xc0e8ae97_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(INetCfgClass, INetCfgClass_Vtbl, 0xc0e8ae97_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(INetCfgClass, windows_core::IUnknown); impl INetCfgClass { pub unsafe fn FindComponent(&self, pszwinfid: P0, ppnccitem: Option<*mut Option>) -> windows_core::Result<()> @@ -1644,7 +1644,7 @@ pub struct INetCfgClass_Vtbl { pub FindComponent: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumComponents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgClassSetup, INetCfgClassSetup_Vtbl, 0xc0e8ae9d_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(INetCfgClassSetup, INetCfgClassSetup_Vtbl, 0xc0e8ae9d_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(INetCfgClassSetup, windows_core::IUnknown); impl INetCfgClassSetup { pub unsafe fn SelectAndInstall(&self, hwndparent: P0, pobotoken: Option<*const OBO_TOKEN>, ppnccitem: Option<*mut Option>) -> windows_core::Result<()> @@ -1675,7 +1675,7 @@ pub struct INetCfgClassSetup_Vtbl { pub Install: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const OBO_TOKEN, u32, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const OBO_TOKEN, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgClassSetup2, INetCfgClassSetup2_Vtbl, 0xc0e8aea0_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(INetCfgClassSetup2, INetCfgClassSetup2_Vtbl, 0xc0e8aea0_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(INetCfgClassSetup2, windows_core::IUnknown, INetCfgClassSetup); impl INetCfgClassSetup2 { pub unsafe fn SelectAndInstall(&self, hwndparent: P0, pobotoken: Option<*const OBO_TOKEN>, ppnccitem: Option<*mut Option>) -> windows_core::Result<()> @@ -1710,7 +1710,7 @@ pub struct INetCfgClassSetup2_Vtbl { pub base__: INetCfgClassSetup_Vtbl, pub UpdateNonEnumeratedComponent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgComponent, INetCfgComponent_Vtbl, 0xc0e8ae99_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(INetCfgComponent, INetCfgComponent_Vtbl, 0xc0e8ae99_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(INetCfgComponent, windows_core::IUnknown); impl INetCfgComponent { pub unsafe fn GetDisplayName(&self, ppszwdisplayname: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> { @@ -1779,7 +1779,7 @@ pub struct INetCfgComponent_Vtbl { OpenParamKey: usize, pub RaisePropertyUi: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgComponentBindings, INetCfgComponentBindings_Vtbl, 0xc0e8ae9e_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(INetCfgComponentBindings, INetCfgComponentBindings_Vtbl, 0xc0e8ae9e_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(INetCfgComponentBindings, windows_core::IUnknown); impl INetCfgComponentBindings { pub unsafe fn BindTo(&self, pnccitem: P0) -> windows_core::Result<()> @@ -1842,7 +1842,7 @@ pub struct INetCfgComponentBindings_Vtbl { pub MoveBefore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub MoveAfter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgComponentControl, INetCfgComponentControl_Vtbl, 0x932238df_bea1_11d0_9298_00c04fc99dcf); +windows_core::imp::define_interface!(INetCfgComponentControl, INetCfgComponentControl_Vtbl, 0x932238df_bea1_11d0_9298_00c04fc99dcf); windows_core::imp::interface_hierarchy!(INetCfgComponentControl, windows_core::IUnknown); impl INetCfgComponentControl { pub unsafe fn Initialize(&self, picomp: P0, pinetcfg: P1, finstalling: P2) -> windows_core::Result<()> @@ -1874,7 +1874,7 @@ pub struct INetCfgComponentControl_Vtbl { pub ApplyPnpChanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CancelChanges: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgComponentNotifyBinding, INetCfgComponentNotifyBinding_Vtbl, 0x932238e1_bea1_11d0_9298_00c04fc99dcf); +windows_core::imp::define_interface!(INetCfgComponentNotifyBinding, INetCfgComponentNotifyBinding_Vtbl, 0x932238e1_bea1_11d0_9298_00c04fc99dcf); windows_core::imp::interface_hierarchy!(INetCfgComponentNotifyBinding, windows_core::IUnknown); impl INetCfgComponentNotifyBinding { pub unsafe fn QueryBindingPath(&self, dwchangeflag: u32, pipath: P0) -> windows_core::Result<()> @@ -1896,7 +1896,7 @@ pub struct INetCfgComponentNotifyBinding_Vtbl { pub QueryBindingPath: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyBindingPath: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgComponentNotifyGlobal, INetCfgComponentNotifyGlobal_Vtbl, 0x932238e2_bea1_11d0_9298_00c04fc99dcf); +windows_core::imp::define_interface!(INetCfgComponentNotifyGlobal, INetCfgComponentNotifyGlobal_Vtbl, 0x932238e2_bea1_11d0_9298_00c04fc99dcf); windows_core::imp::interface_hierarchy!(INetCfgComponentNotifyGlobal, windows_core::IUnknown); impl INetCfgComponentNotifyGlobal { pub unsafe fn GetSupportedNotifications(&self) -> windows_core::Result { @@ -1930,7 +1930,7 @@ pub struct INetCfgComponentNotifyGlobal_Vtbl { pub SysNotifyBindingPath: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SysNotifyComponent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgComponentPropertyUi, INetCfgComponentPropertyUi_Vtbl, 0x932238e0_bea1_11d0_9298_00c04fc99dcf); +windows_core::imp::define_interface!(INetCfgComponentPropertyUi, INetCfgComponentPropertyUi_Vtbl, 0x932238e0_bea1_11d0_9298_00c04fc99dcf); windows_core::imp::interface_hierarchy!(INetCfgComponentPropertyUi, windows_core::IUnknown); impl INetCfgComponentPropertyUi { pub unsafe fn QueryPropertyUi(&self, punkreserved: P0) -> windows_core::Result<()> @@ -1974,7 +1974,7 @@ pub struct INetCfgComponentPropertyUi_Vtbl { pub ApplyProperties: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub CancelProperties: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgComponentSetup, INetCfgComponentSetup_Vtbl, 0x932238e3_bea1_11d0_9298_00c04fc99dcf); +windows_core::imp::define_interface!(INetCfgComponentSetup, INetCfgComponentSetup_Vtbl, 0x932238e3_bea1_11d0_9298_00c04fc99dcf); windows_core::imp::interface_hierarchy!(INetCfgComponentSetup, windows_core::IUnknown); impl INetCfgComponentSetup { pub unsafe fn Install(&self, dwsetupflags: u32) -> windows_core::Result<()> { @@ -2002,7 +2002,7 @@ pub struct INetCfgComponentSetup_Vtbl { pub ReadAnswerFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub Removing: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgComponentSysPrep, INetCfgComponentSysPrep_Vtbl, 0xc0e8ae9a_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(INetCfgComponentSysPrep, INetCfgComponentSysPrep_Vtbl, 0xc0e8ae9a_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(INetCfgComponentSysPrep, windows_core::IUnknown); impl INetCfgComponentSysPrep { pub unsafe fn SaveAdapterParameters(&self, pncsp: P0, pszwanswersections: P1, padapterinstanceguid: *const windows_core::GUID) -> windows_core::Result<()> @@ -2026,7 +2026,7 @@ pub struct INetCfgComponentSysPrep_Vtbl { pub SaveAdapterParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID) -> windows_core::HRESULT, pub RestoreAdapterParameters: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgComponentUpperEdge, INetCfgComponentUpperEdge_Vtbl, 0x932238e4_bea1_11d0_9298_00c04fc99dcf); +windows_core::imp::define_interface!(INetCfgComponentUpperEdge, INetCfgComponentUpperEdge_Vtbl, 0x932238e4_bea1_11d0_9298_00c04fc99dcf); windows_core::imp::interface_hierarchy!(INetCfgComponentUpperEdge, windows_core::IUnknown); impl INetCfgComponentUpperEdge { pub unsafe fn GetInterfaceIdsForAdapter(&self, padapter: P0, pdwnuminterfaces: *mut u32, ppguidinterfaceids: Option<*mut *mut windows_core::GUID>) -> windows_core::Result<()> @@ -2055,7 +2055,7 @@ pub struct INetCfgComponentUpperEdge_Vtbl { pub AddInterfacesToAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub RemoveInterfacesFromAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgLock, INetCfgLock_Vtbl, 0xc0e8ae9f_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(INetCfgLock, INetCfgLock_Vtbl, 0xc0e8ae9f_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(INetCfgLock, windows_core::IUnknown); impl INetCfgLock { pub unsafe fn AcquireWriteLock(&self, cmstimeout: u32, pszwclientdescription: P0, ppszwclientdescription: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> @@ -2078,7 +2078,7 @@ pub struct INetCfgLock_Vtbl { pub ReleaseWriteLock: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsWriteLocked: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgPnpReconfigCallback, INetCfgPnpReconfigCallback_Vtbl, 0x8d84bd35_e227_11d2_b700_00a0c98a6a85); +windows_core::imp::define_interface!(INetCfgPnpReconfigCallback, INetCfgPnpReconfigCallback_Vtbl, 0x8d84bd35_e227_11d2_b700_00a0c98a6a85); windows_core::imp::interface_hierarchy!(INetCfgPnpReconfigCallback, windows_core::IUnknown); impl INetCfgPnpReconfigCallback { pub unsafe fn SendPnpReconfig(&self, layer: NCPNP_RECONFIG_LAYER, pszwupper: P0, pszwlower: P1, pvdata: *const core::ffi::c_void, dwsizeofdata: u32) -> windows_core::Result<()> @@ -2094,7 +2094,7 @@ pub struct INetCfgPnpReconfigCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SendPnpReconfig: unsafe extern "system" fn(*mut core::ffi::c_void, NCPNP_RECONFIG_LAYER, windows_core::PCWSTR, windows_core::PCWSTR, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetCfgSysPrep, INetCfgSysPrep_Vtbl, 0xc0e8ae98_306e_11d1_aacf_00805fc1270e); +windows_core::imp::define_interface!(INetCfgSysPrep, INetCfgSysPrep_Vtbl, 0xc0e8ae98_306e_11d1_aacf_00805fc1270e); windows_core::imp::interface_hierarchy!(INetCfgSysPrep, windows_core::IUnknown); impl INetCfgSysPrep { pub unsafe fn HrSetupSetFirstDword(&self, pwszsection: P0, pwszkey: P1, dwvalue: u32) -> windows_core::Result<()> @@ -2137,7 +2137,7 @@ pub struct INetCfgSysPrep_Vtbl { pub HrSetupSetFirstStringAsBool: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub HrSetupSetFirstMultiSzField: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetLanConnectionUiInfo, INetLanConnectionUiInfo_Vtbl, 0xc08956a6_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(INetLanConnectionUiInfo, INetLanConnectionUiInfo_Vtbl, 0xc08956a6_1cd3_11d1_b1c5_00805fc1270e); windows_core::imp::interface_hierarchy!(INetLanConnectionUiInfo, windows_core::IUnknown); impl INetLanConnectionUiInfo { pub unsafe fn GetDeviceGuid(&self) -> windows_core::Result { @@ -2150,7 +2150,7 @@ pub struct INetLanConnectionUiInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDeviceGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetRasConnectionIpUiInfo, INetRasConnectionIpUiInfo_Vtbl, 0xfaedcf58_31fe_11d1_aad2_00805fc1270e); +windows_core::imp::define_interface!(INetRasConnectionIpUiInfo, INetRasConnectionIpUiInfo_Vtbl, 0xfaedcf58_31fe_11d1_aad2_00805fc1270e); windows_core::imp::interface_hierarchy!(INetRasConnectionIpUiInfo, windows_core::IUnknown); impl INetRasConnectionIpUiInfo { pub unsafe fn GetUiInfo(&self, pinfo: *mut RASCON_IPUI) -> windows_core::Result<()> { @@ -2162,7 +2162,7 @@ pub struct INetRasConnectionIpUiInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetUiInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RASCON_IPUI) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProvisioningDomain, IProvisioningDomain_Vtbl, 0xc96fbd50_24dd_11d8_89fb_00904b2ea9c6); +windows_core::imp::define_interface!(IProvisioningDomain, IProvisioningDomain_Vtbl, 0xc96fbd50_24dd_11d8_89fb_00904b2ea9c6); windows_core::imp::interface_hierarchy!(IProvisioningDomain, windows_core::IUnknown); impl IProvisioningDomain { pub unsafe fn Add(&self, pszwpathtofolder: P0) -> windows_core::Result<()> @@ -2191,7 +2191,7 @@ pub struct IProvisioningDomain_Vtbl { #[cfg(not(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com")))] Query: usize, } -windows_core::imp::com_interface!(IProvisioningProfileWireless, IProvisioningProfileWireless_Vtbl, 0xc96fbd51_24dd_11d8_89fb_00904b2ea9c6); +windows_core::imp::define_interface!(IProvisioningProfileWireless, IProvisioningProfileWireless_Vtbl, 0xc96fbd51_24dd_11d8_89fb_00904b2ea9c6); windows_core::imp::interface_hierarchy!(IProvisioningProfileWireless, windows_core::IUnknown); impl IProvisioningProfileWireless { pub unsafe fn CreateProfile(&self, bstrxmlwirelessconfigprofile: P0, bstrxmlconnectionconfigprofile: P1, padapterinstanceguid: *const windows_core::GUID) -> windows_core::Result 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 bb6e6f1682..a9ede534f1 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/mod.rs @@ -119,7 +119,7 @@ pub unsafe fn NdfRepairIncident(handle: *const core::ffi::c_void, repairex: *con windows_targets::link!("ndfapi.dll" "system" fn NdfRepairIncident(handle : *const core::ffi::c_void, repairex : *const RepairInfoEx, dwwait : u32) -> windows_core::HRESULT); NdfRepairIncident(handle, repairex, dwwait).ok() } -windows_core::imp::com_interface!(INetDiagExtensibleHelper, INetDiagExtensibleHelper_Vtbl, 0xc0b35748_ebf5_11d8_bbe9_505054503030); +windows_core::imp::define_interface!(INetDiagExtensibleHelper, INetDiagExtensibleHelper_Vtbl, 0xc0b35748_ebf5_11d8_bbe9_505054503030); windows_core::imp::interface_hierarchy!(INetDiagExtensibleHelper, windows_core::IUnknown); impl INetDiagExtensibleHelper { pub unsafe fn ResolveAttributes(&self, rgkeyattributes: &[HELPER_ATTRIBUTE], pcelt: *mut u32, prgmatchvalues: *mut *mut HELPER_ATTRIBUTE) -> windows_core::Result<()> { @@ -131,7 +131,7 @@ pub struct INetDiagExtensibleHelper_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ResolveAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const HELPER_ATTRIBUTE, *mut u32, *mut *mut HELPER_ATTRIBUTE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetDiagHelper, INetDiagHelper_Vtbl, 0xc0b35746_ebf5_11d8_bbe9_505054503030); +windows_core::imp::define_interface!(INetDiagHelper, INetDiagHelper_Vtbl, 0xc0b35746_ebf5_11d8_bbe9_505054503030); windows_core::imp::interface_hierarchy!(INetDiagHelper, windows_core::IUnknown); impl INetDiagHelper { pub unsafe fn Initialize(&self, rgattributes: &[HELPER_ATTRIBUTE]) -> windows_core::Result<()> { @@ -220,7 +220,7 @@ pub struct INetDiagHelper_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Cleanup: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetDiagHelperEx, INetDiagHelperEx_Vtbl, 0x972dab4d_e4e3_4fc6_ae54_5f65ccde4a15); +windows_core::imp::define_interface!(INetDiagHelperEx, INetDiagHelperEx_Vtbl, 0x972dab4d_e4e3_4fc6_ae54_5f65ccde4a15); windows_core::imp::interface_hierarchy!(INetDiagHelperEx, windows_core::IUnknown); impl INetDiagHelperEx { pub unsafe fn ReconfirmLowHealth(&self, presults: &[HypothesisResult], ppwszupdateddescription: *mut windows_core::PWSTR, pupdatedstatus: *mut DIAGNOSIS_STATUS) -> windows_core::Result<()> { @@ -243,7 +243,7 @@ pub struct INetDiagHelperEx_Vtbl { pub SetUtilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReproduceFailure: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetDiagHelperInfo, INetDiagHelperInfo_Vtbl, 0xc0b35747_ebf5_11d8_bbe9_505054503030); +windows_core::imp::define_interface!(INetDiagHelperInfo, INetDiagHelperInfo_Vtbl, 0xc0b35747_ebf5_11d8_bbe9_505054503030); windows_core::imp::interface_hierarchy!(INetDiagHelperInfo, windows_core::IUnknown); impl INetDiagHelperInfo { pub unsafe fn GetAttributeInfo(&self, pcelt: *mut u32, pprgattributeinfos: *mut *mut HelperAttributeInfo) -> windows_core::Result<()> { @@ -255,7 +255,7 @@ pub struct INetDiagHelperInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut HelperAttributeInfo) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetDiagHelperUtilFactory, INetDiagHelperUtilFactory_Vtbl, 0x104613fb_bc57_4178_95ba_88809698354a); +windows_core::imp::define_interface!(INetDiagHelperUtilFactory, INetDiagHelperUtilFactory_Vtbl, 0x104613fb_bc57_4178_95ba_88809698354a); windows_core::imp::interface_hierarchy!(INetDiagHelperUtilFactory, windows_core::IUnknown); impl INetDiagHelperUtilFactory { pub unsafe fn CreateUtilityInstance(&self) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs index 48faff9707..e28e90e7e5 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISdo, ISdo_Vtbl, 0x56bc53de_96db_11d1_bf3f_000000000000); +windows_core::imp::define_interface!(ISdo, ISdo_Vtbl, 0x56bc53de_96db_11d1_bf3f_000000000000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISdo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -42,7 +42,7 @@ pub struct ISdo_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")] -windows_core::imp::com_interface!(ISdoCollection, ISdoCollection_Vtbl, 0x56bc53e2_96db_11d1_bf3f_000000000000); +windows_core::imp::define_interface!(ISdoCollection, ISdoCollection_Vtbl, 0x56bc53e2_96db_11d1_bf3f_000000000000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISdoCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -111,7 +111,7 @@ pub struct ISdoCollection_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")] -windows_core::imp::com_interface!(ISdoDictionaryOld, ISdoDictionaryOld_Vtbl, 0xd432e5f4_53d8_11d2_9a3a_00c04fb998ac); +windows_core::imp::define_interface!(ISdoDictionaryOld, ISdoDictionaryOld_Vtbl, 0xd432e5f4_53d8_11d2_9a3a_00c04fb998ac); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISdoDictionaryOld, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -155,7 +155,7 @@ pub struct ISdoDictionaryOld_Vtbl { pub GetAttributeID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut ATTRIBUTEID) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISdoMachine, ISdoMachine_Vtbl, 0x479f6e75_49a2_11d2_8eca_00c04fc2f519); +windows_core::imp::define_interface!(ISdoMachine, ISdoMachine_Vtbl, 0x479f6e75_49a2_11d2_8eca_00c04fc2f519); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISdoMachine, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -220,7 +220,7 @@ pub struct ISdoMachine_Vtbl { 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")] -windows_core::imp::com_interface!(ISdoMachine2, ISdoMachine2_Vtbl, 0x518e5ffe_d8ce_4f7e_a5db_b40a35419d3b); +windows_core::imp::define_interface!(ISdoMachine2, ISdoMachine2_Vtbl, 0x518e5ffe_d8ce_4f7e_a5db_b40a35419d3b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISdoMachine2, windows_core::IUnknown, super::super::System::Com::IDispatch, ISdoMachine); #[cfg(feature = "Win32_System_Com")] @@ -308,7 +308,7 @@ pub struct ISdoMachine2_Vtbl { pub Reload: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISdoServiceControl, ISdoServiceControl_Vtbl, 0x479f6e74_49a2_11d2_8eca_00c04fc2f519); +windows_core::imp::define_interface!(ISdoServiceControl, ISdoServiceControl_Vtbl, 0x479f6e74_49a2_11d2_8eca_00c04fc2f519); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISdoServiceControl, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -337,7 +337,7 @@ pub struct ISdoServiceControl_Vtbl { pub ResetService: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITemplateSdo, ITemplateSdo_Vtbl, 0x8aa85302_d2e2_4e20_8b1f_a571e437d6c9); +windows_core::imp::define_interface!(ITemplateSdo, ITemplateSdo_Vtbl, 0x8aa85302_d2e2_4e20_8b1f_a571e437d6c9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITemplateSdo, windows_core::IUnknown, super::super::System::Com::IDispatch, ISdo); #[cfg(feature = "Win32_System_Com")] 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 f01090fa50..35925227f5 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -496,7 +496,7 @@ where windows_targets::link!("wlanui.dll" "system" fn WlanUIEditProfile(dwclientversion : u32, wstrprofilename : windows_core::PCWSTR, pinterfaceguid : *const windows_core::GUID, hwnd : super::super::Foundation:: HWND, wlstartpage : WL_DISPLAY_PAGES, preserved : *const core::ffi::c_void, pwlanreasoncode : *mut u32) -> u32); WlanUIEditProfile(dwclientversion, wstrprofilename.into_param().abi(), pinterfaceguid, hwnd.into_param().abi(), wlstartpage, core::mem::transmute(preserved.unwrap_or(std::ptr::null())), core::mem::transmute(pwlanreasoncode.unwrap_or(std::ptr::null_mut()))) } -windows_core::imp::com_interface!(IDot11AdHocInterface, IDot11AdHocInterface_Vtbl, 0x8f10cc2b_cf0d_42a0_acbe_e2de7007384d); +windows_core::imp::define_interface!(IDot11AdHocInterface, IDot11AdHocInterface_Vtbl, 0x8f10cc2b_cf0d_42a0_acbe_e2de7007384d); windows_core::imp::interface_hierarchy!(IDot11AdHocInterface, windows_core::IUnknown); impl IDot11AdHocInterface { pub unsafe fn GetDeviceSignature(&self, psignature: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -544,7 +544,7 @@ pub struct IDot11AdHocInterface_Vtbl { pub GetIEnumDot11AdHocNetworks: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDot11AdHocInterfaceNotificationSink, IDot11AdHocInterfaceNotificationSink_Vtbl, 0x8f10cc2f_cf0d_42a0_acbe_e2de7007384d); +windows_core::imp::define_interface!(IDot11AdHocInterfaceNotificationSink, IDot11AdHocInterfaceNotificationSink_Vtbl, 0x8f10cc2f_cf0d_42a0_acbe_e2de7007384d); windows_core::imp::interface_hierarchy!(IDot11AdHocInterfaceNotificationSink, windows_core::IUnknown); impl IDot11AdHocInterfaceNotificationSink { pub unsafe fn OnConnectionStatusChange(&self, estatus: DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> windows_core::Result<()> { @@ -556,7 +556,7 @@ pub struct IDot11AdHocInterfaceNotificationSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnConnectionStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDot11AdHocManager, IDot11AdHocManager_Vtbl, 0x8f10cc26_cf0d_42a0_acbe_e2de7007384d); +windows_core::imp::define_interface!(IDot11AdHocManager, IDot11AdHocManager_Vtbl, 0x8f10cc26_cf0d_42a0_acbe_e2de7007384d); windows_core::imp::interface_hierarchy!(IDot11AdHocManager, windows_core::IUnknown); impl IDot11AdHocManager { pub unsafe fn CreateNetwork(&self, name: P0, password: P1, geographicalid: i32, pinterface: P2, psecurity: P3, pcontextguid: *const windows_core::GUID) -> windows_core::Result @@ -599,7 +599,7 @@ pub struct IDot11AdHocManager_Vtbl { pub GetIEnumDot11AdHocInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetNetwork: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDot11AdHocManagerNotificationSink, IDot11AdHocManagerNotificationSink_Vtbl, 0x8f10cc27_cf0d_42a0_acbe_e2de7007384d); +windows_core::imp::define_interface!(IDot11AdHocManagerNotificationSink, IDot11AdHocManagerNotificationSink_Vtbl, 0x8f10cc27_cf0d_42a0_acbe_e2de7007384d); windows_core::imp::interface_hierarchy!(IDot11AdHocManagerNotificationSink, windows_core::IUnknown); impl IDot11AdHocManagerNotificationSink { pub unsafe fn OnNetworkAdd(&self, piadhocnetwork: P0) -> windows_core::Result<()> @@ -629,7 +629,7 @@ pub struct IDot11AdHocManagerNotificationSink_Vtbl { pub OnInterfaceAdd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnInterfaceRemove: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDot11AdHocNetwork, IDot11AdHocNetwork_Vtbl, 0x8f10cc29_cf0d_42a0_acbe_e2de7007384d); +windows_core::imp::define_interface!(IDot11AdHocNetwork, IDot11AdHocNetwork_Vtbl, 0x8f10cc29_cf0d_42a0_acbe_e2de7007384d); windows_core::imp::interface_hierarchy!(IDot11AdHocNetwork, windows_core::IUnknown); impl IDot11AdHocNetwork { pub unsafe fn GetStatus(&self, estatus: *mut DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> windows_core::Result<()> { @@ -694,7 +694,7 @@ pub struct IDot11AdHocNetwork_Vtbl { pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, super::super::Foundation::BOOLEAN, super::super::Foundation::BOOLEAN) -> windows_core::HRESULT, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDot11AdHocNetworkNotificationSink, IDot11AdHocNetworkNotificationSink_Vtbl, 0x8f10cc2a_cf0d_42a0_acbe_e2de7007384d); +windows_core::imp::define_interface!(IDot11AdHocNetworkNotificationSink, IDot11AdHocNetworkNotificationSink_Vtbl, 0x8f10cc2a_cf0d_42a0_acbe_e2de7007384d); windows_core::imp::interface_hierarchy!(IDot11AdHocNetworkNotificationSink, windows_core::IUnknown); impl IDot11AdHocNetworkNotificationSink { pub unsafe fn OnStatusChange(&self, estatus: DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> windows_core::Result<()> { @@ -710,7 +710,7 @@ pub struct IDot11AdHocNetworkNotificationSink_Vtbl { pub OnStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, DOT11_ADHOC_NETWORK_CONNECTION_STATUS) -> windows_core::HRESULT, pub OnConnectFail: unsafe extern "system" fn(*mut core::ffi::c_void, DOT11_ADHOC_CONNECT_FAIL_REASON) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDot11AdHocSecuritySettings, IDot11AdHocSecuritySettings_Vtbl, 0x8f10cc2e_cf0d_42a0_acbe_e2de7007384d); +windows_core::imp::define_interface!(IDot11AdHocSecuritySettings, IDot11AdHocSecuritySettings_Vtbl, 0x8f10cc2e_cf0d_42a0_acbe_e2de7007384d); windows_core::imp::interface_hierarchy!(IDot11AdHocSecuritySettings, windows_core::IUnknown); impl IDot11AdHocSecuritySettings { pub unsafe fn GetDot11AuthAlgorithm(&self, pauth: *mut DOT11_ADHOC_AUTH_ALGORITHM) -> windows_core::Result<()> { @@ -726,7 +726,7 @@ pub struct IDot11AdHocSecuritySettings_Vtbl { pub GetDot11AuthAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DOT11_ADHOC_AUTH_ALGORITHM) -> windows_core::HRESULT, pub GetDot11CipherAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DOT11_ADHOC_CIPHER_ALGORITHM) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumDot11AdHocInterfaces, IEnumDot11AdHocInterfaces_Vtbl, 0x8f10cc2c_cf0d_42a0_acbe_e2de7007384d); +windows_core::imp::define_interface!(IEnumDot11AdHocInterfaces, IEnumDot11AdHocInterfaces_Vtbl, 0x8f10cc2c_cf0d_42a0_acbe_e2de7007384d); windows_core::imp::interface_hierarchy!(IEnumDot11AdHocInterfaces, windows_core::IUnknown); impl IEnumDot11AdHocInterfaces { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -751,7 +751,7 @@ pub struct IEnumDot11AdHocInterfaces_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumDot11AdHocNetworks, IEnumDot11AdHocNetworks_Vtbl, 0x8f10cc28_cf0d_42a0_acbe_e2de7007384d); +windows_core::imp::define_interface!(IEnumDot11AdHocNetworks, IEnumDot11AdHocNetworks_Vtbl, 0x8f10cc28_cf0d_42a0_acbe_e2de7007384d); windows_core::imp::interface_hierarchy!(IEnumDot11AdHocNetworks, windows_core::IUnknown); impl IEnumDot11AdHocNetworks { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -776,7 +776,7 @@ pub struct IEnumDot11AdHocNetworks_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumDot11AdHocSecuritySettings, IEnumDot11AdHocSecuritySettings_Vtbl, 0x8f10cc2d_cf0d_42a0_acbe_e2de7007384d); +windows_core::imp::define_interface!(IEnumDot11AdHocSecuritySettings, IEnumDot11AdHocSecuritySettings_Vtbl, 0x8f10cc2d_cf0d_42a0_acbe_e2de7007384d); windows_core::imp::interface_hierarchy!(IEnumDot11AdHocSecuritySettings, windows_core::IUnknown); impl IEnumDot11AdHocSecuritySettings { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::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 78d3954d9e..162fcce48c 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IWCNConnectNotify, IWCNConnectNotify_Vtbl, 0xc100be9f_d33a_4a4b_bf23_bbef4663d017); +windows_core::imp::define_interface!(IWCNConnectNotify, IWCNConnectNotify_Vtbl, 0xc100be9f_d33a_4a4b_bf23_bbef4663d017); windows_core::imp::interface_hierarchy!(IWCNConnectNotify, windows_core::IUnknown); impl IWCNConnectNotify { pub unsafe fn ConnectSucceeded(&self) -> windows_core::Result<()> { @@ -14,7 +14,7 @@ pub struct IWCNConnectNotify_Vtbl { pub ConnectSucceeded: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ConnectFailed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWCNDevice, IWCNDevice_Vtbl, 0xc100be9c_d33a_4a4b_bf23_bbef4663d017); +windows_core::imp::define_interface!(IWCNDevice, IWCNDevice_Vtbl, 0xc100be9c_d33a_4a4b_bf23_bbef4663d017); windows_core::imp::interface_hierarchy!(IWCNDevice, windows_core::IUnknown); impl IWCNDevice { pub unsafe fn SetPassword(&self, r#type: WCN_PASSWORD_TYPE, pbpassword: &[u8]) -> windows_core::Result<()> { 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 5b2667adbe..5607b5234f 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/mod.rs @@ -94,7 +94,7 @@ where NetworkIsolationUnregisterForAppContainerChanges(registrationobject.into_param().abi()) } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDynamicPortMapping, IDynamicPortMapping_Vtbl, 0x4fc80282_23b6_4378_9a27_cd8f17c9400c); +windows_core::imp::define_interface!(IDynamicPortMapping, IDynamicPortMapping_Vtbl, 0x4fc80282_23b6_4378_9a27_cd8f17c9400c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDynamicPortMapping, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -181,7 +181,7 @@ pub struct IDynamicPortMapping_Vtbl { pub EditInternalPort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDynamicPortMappingCollection, IDynamicPortMappingCollection_Vtbl, 0xb60de00f_156e_4e8d_9ec1_3a2342c10899); +windows_core::imp::define_interface!(IDynamicPortMappingCollection, IDynamicPortMappingCollection_Vtbl, 0xb60de00f_156e_4e8d_9ec1_3a2342c10899); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDynamicPortMappingCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -239,7 +239,7 @@ pub struct IDynamicPortMappingCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Add: usize, } -windows_core::imp::com_interface!(IEnumNetConnection, IEnumNetConnection_Vtbl, 0xc08956a0_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(IEnumNetConnection, IEnumNetConnection_Vtbl, 0xc08956a0_1cd3_11d1_b1c5_00805fc1270e); windows_core::imp::interface_hierarchy!(IEnumNetConnection, windows_core::IUnknown); impl IEnumNetConnection { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -264,7 +264,7 @@ pub struct IEnumNetConnection_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumNetSharingEveryConnection, IEnumNetSharingEveryConnection_Vtbl, 0xc08956b8_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(IEnumNetSharingEveryConnection, IEnumNetSharingEveryConnection_Vtbl, 0xc08956b8_1cd3_11d1_b1c5_00805fc1270e); windows_core::imp::interface_hierarchy!(IEnumNetSharingEveryConnection, windows_core::IUnknown); impl IEnumNetSharingEveryConnection { pub unsafe fn Next(&self, rgvar: &mut [windows_core::VARIANT], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -289,7 +289,7 @@ pub struct IEnumNetSharingEveryConnection_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumNetSharingPortMapping, IEnumNetSharingPortMapping_Vtbl, 0xc08956b0_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(IEnumNetSharingPortMapping, IEnumNetSharingPortMapping_Vtbl, 0xc08956b0_1cd3_11d1_b1c5_00805fc1270e); windows_core::imp::interface_hierarchy!(IEnumNetSharingPortMapping, windows_core::IUnknown); impl IEnumNetSharingPortMapping { pub unsafe fn Next(&self, rgvar: &mut [windows_core::VARIANT], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -314,7 +314,7 @@ pub struct IEnumNetSharingPortMapping_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumNetSharingPrivateConnection, IEnumNetSharingPrivateConnection_Vtbl, 0xc08956b5_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(IEnumNetSharingPrivateConnection, IEnumNetSharingPrivateConnection_Vtbl, 0xc08956b5_1cd3_11d1_b1c5_00805fc1270e); windows_core::imp::interface_hierarchy!(IEnumNetSharingPrivateConnection, windows_core::IUnknown); impl IEnumNetSharingPrivateConnection { pub unsafe fn Next(&self, rgvar: &mut [windows_core::VARIANT], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -339,7 +339,7 @@ pub struct IEnumNetSharingPrivateConnection_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumNetSharingPublicConnection, IEnumNetSharingPublicConnection_Vtbl, 0xc08956b4_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(IEnumNetSharingPublicConnection, IEnumNetSharingPublicConnection_Vtbl, 0xc08956b4_1cd3_11d1_b1c5_00805fc1270e); windows_core::imp::interface_hierarchy!(IEnumNetSharingPublicConnection, windows_core::IUnknown); impl IEnumNetSharingPublicConnection { pub unsafe fn Next(&self, rgvar: &mut [windows_core::VARIANT], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -365,7 +365,7 @@ pub struct IEnumNetSharingPublicConnection_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INATEventManager, INATEventManager_Vtbl, 0x624bd588_9060_4109_b0b0_1adbbcac32df); +windows_core::imp::define_interface!(INATEventManager, INATEventManager_Vtbl, 0x624bd588_9060_4109_b0b0_1adbbcac32df); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INATEventManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -390,7 +390,7 @@ pub struct INATEventManager_Vtbl { pub SetExternalIPAddressCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetNumberOfEntriesCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INATExternalIPAddressCallback, INATExternalIPAddressCallback_Vtbl, 0x9c416740_a34e_446f_ba06_abd04c3149ae); +windows_core::imp::define_interface!(INATExternalIPAddressCallback, INATExternalIPAddressCallback_Vtbl, 0x9c416740_a34e_446f_ba06_abd04c3149ae); windows_core::imp::interface_hierarchy!(INATExternalIPAddressCallback, windows_core::IUnknown); impl INATExternalIPAddressCallback { pub unsafe fn NewExternalIPAddress(&self, bstrnewexternalipaddress: P0) -> windows_core::Result<()> @@ -405,7 +405,7 @@ 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, } -windows_core::imp::com_interface!(INATNumberOfEntriesCallback, INATNumberOfEntriesCallback_Vtbl, 0xc83a0a74_91ee_41b6_b67a_67e0f00bbd78); +windows_core::imp::define_interface!(INATNumberOfEntriesCallback, INATNumberOfEntriesCallback_Vtbl, 0xc83a0a74_91ee_41b6_b67a_67e0f00bbd78); windows_core::imp::interface_hierarchy!(INATNumberOfEntriesCallback, windows_core::IUnknown); impl INATNumberOfEntriesCallback { pub unsafe fn NewNumberOfEntries(&self, lnewnumberofentries: i32) -> windows_core::Result<()> { @@ -417,7 +417,7 @@ pub struct INATNumberOfEntriesCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub NewNumberOfEntries: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetConnection, INetConnection_Vtbl, 0xc08956a1_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(INetConnection, INetConnection_Vtbl, 0xc08956a1_1cd3_11d1_b1c5_00805fc1270e); windows_core::imp::interface_hierarchy!(INetConnection, windows_core::IUnknown); impl INetConnection { pub unsafe fn Connect(&self) -> windows_core::Result<()> { @@ -462,7 +462,7 @@ pub struct INetConnection_Vtbl { pub GetUiObjectClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Rename: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetConnectionConnectUi, INetConnectionConnectUi_Vtbl, 0xc08956a3_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(INetConnectionConnectUi, INetConnectionConnectUi_Vtbl, 0xc08956a3_1cd3_11d1_b1c5_00805fc1270e); windows_core::imp::interface_hierarchy!(INetConnectionConnectUi, windows_core::IUnknown); impl INetConnectionConnectUi { pub unsafe fn SetConnection(&self, pcon: P0) -> windows_core::Result<()> @@ -491,7 +491,7 @@ pub struct INetConnectionConnectUi_Vtbl { pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetConnectionManager, INetConnectionManager_Vtbl, 0xc08956a2_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(INetConnectionManager, INetConnectionManager_Vtbl, 0xc08956a2_1cd3_11d1_b1c5_00805fc1270e); windows_core::imp::interface_hierarchy!(INetConnectionManager, windows_core::IUnknown); impl INetConnectionManager { pub unsafe fn EnumConnections(&self, flags: NETCONMGR_ENUM_FLAGS) -> windows_core::Result { @@ -505,7 +505,7 @@ pub struct INetConnectionManager_Vtbl { pub EnumConnections: unsafe extern "system" fn(*mut core::ffi::c_void, NETCONMGR_ENUM_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetConnectionProps, INetConnectionProps_Vtbl, 0xf4277c95_ce5b_463d_8167_5662d9bcaa72); +windows_core::imp::define_interface!(INetConnectionProps, INetConnectionProps_Vtbl, 0xf4277c95_ce5b_463d_8167_5662d9bcaa72); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetConnectionProps, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -547,7 +547,7 @@ pub struct INetConnectionProps_Vtbl { pub Characteristics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwAuthorizedApplication, INetFwAuthorizedApplication_Vtbl, 0xb5e64ffa_c2c5_444e_a301_fb5e00018050); +windows_core::imp::define_interface!(INetFwAuthorizedApplication, INetFwAuthorizedApplication_Vtbl, 0xb5e64ffa_c2c5_444e_a301_fb5e00018050); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwAuthorizedApplication, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -625,7 +625,7 @@ pub struct INetFwAuthorizedApplication_Vtbl { pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwAuthorizedApplications, INetFwAuthorizedApplications_Vtbl, 0x644efd52_ccf9_486c_97a2_39f352570b30); +windows_core::imp::define_interface!(INetFwAuthorizedApplications, INetFwAuthorizedApplications_Vtbl, 0x644efd52_ccf9_486c_97a2_39f352570b30); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwAuthorizedApplications, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -677,7 +677,7 @@ pub struct INetFwAuthorizedApplications_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")] -windows_core::imp::com_interface!(INetFwIcmpSettings, INetFwIcmpSettings_Vtbl, 0xa6207b2e_7cdd_426a_951e_5e1cbc5afead); +windows_core::imp::define_interface!(INetFwIcmpSettings, INetFwIcmpSettings_Vtbl, 0xa6207b2e_7cdd_426a_951e_5e1cbc5afead); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwIcmpSettings, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -809,7 +809,7 @@ pub struct INetFwIcmpSettings_Vtbl { pub SetAllowOutboundPacketTooBig: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwMgr, INetFwMgr_Vtbl, 0xf7898af5_cac4_4632_a2ec_da06e5111af2); +windows_core::imp::define_interface!(INetFwMgr, INetFwMgr_Vtbl, 0xf7898af5_cac4_4632_a2ec_da06e5111af2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwMgr, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -854,7 +854,7 @@ pub struct INetFwMgr_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwOpenPort, INetFwOpenPort_Vtbl, 0xe0483ba0_47ff_4d9c_a6d6_7741d0b195f7); +windows_core::imp::define_interface!(INetFwOpenPort, INetFwOpenPort_Vtbl, 0xe0483ba0_47ff_4d9c_a6d6_7741d0b195f7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwOpenPort, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -943,7 +943,7 @@ pub struct INetFwOpenPort_Vtbl { pub BuiltIn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwOpenPorts, INetFwOpenPorts_Vtbl, 0xc0e9d7fa_e07e_430a_b19a_090ce82d92e2); +windows_core::imp::define_interface!(INetFwOpenPorts, INetFwOpenPorts_Vtbl, 0xc0e9d7fa_e07e_430a_b19a_090ce82d92e2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwOpenPorts, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -989,7 +989,7 @@ pub struct INetFwOpenPorts_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")] -windows_core::imp::com_interface!(INetFwPolicy, INetFwPolicy_Vtbl, 0xd46d2478_9ac9_4008_9dc7_5563ce5536cc); +windows_core::imp::define_interface!(INetFwPolicy, INetFwPolicy_Vtbl, 0xd46d2478_9ac9_4008_9dc7_5563ce5536cc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwPolicy, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1019,7 +1019,7 @@ pub struct INetFwPolicy_Vtbl { GetProfileByType: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwPolicy2, INetFwPolicy2_Vtbl, 0x98325047_c671_4174_8d81_defcd3f03186); +windows_core::imp::define_interface!(INetFwPolicy2, INetFwPolicy2_Vtbl, 0x98325047_c671_4174_8d81_defcd3f03186); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwPolicy2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1165,7 +1165,7 @@ pub struct INetFwPolicy2_Vtbl { pub LocalPolicyModifyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NET_FW_MODIFY_STATE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwProduct, INetFwProduct_Vtbl, 0x71881699_18f4_458b_b892_3ffce5e07f75); +windows_core::imp::define_interface!(INetFwProduct, INetFwProduct_Vtbl, 0x71881699_18f4_458b_b892_3ffce5e07f75); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwProduct, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1206,7 +1206,7 @@ pub struct INetFwProduct_Vtbl { pub PathToSignedProductExe: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwProducts, INetFwProducts_Vtbl, 0x39eb36e0_2097_40bd_8af2_63a13b525362); +windows_core::imp::define_interface!(INetFwProducts, INetFwProducts_Vtbl, 0x39eb36e0_2097_40bd_8af2_63a13b525362); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwProducts, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1249,7 +1249,7 @@ pub struct INetFwProducts_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")] -windows_core::imp::com_interface!(INetFwProfile, INetFwProfile_Vtbl, 0x174a0dda_e9f9_449d_993b_21ab667ca456); +windows_core::imp::define_interface!(INetFwProfile, INetFwProfile_Vtbl, 0x174a0dda_e9f9_449d_993b_21ab667ca456); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwProfile, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1359,7 +1359,7 @@ pub struct INetFwProfile_Vtbl { AuthorizedApplications: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwRemoteAdminSettings, INetFwRemoteAdminSettings_Vtbl, 0xd4becddf_6f73_4a83_b832_9c66874cd20e); +windows_core::imp::define_interface!(INetFwRemoteAdminSettings, INetFwRemoteAdminSettings_Vtbl, 0xd4becddf_6f73_4a83_b832_9c66874cd20e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwRemoteAdminSettings, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1413,7 +1413,7 @@ pub struct INetFwRemoteAdminSettings_Vtbl { pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwRule, INetFwRule_Vtbl, 0xaf230d27_baba_4e42_aced_f524f22cfce2); +windows_core::imp::define_interface!(INetFwRule, INetFwRule_Vtbl, 0xaf230d27_baba_4e42_aced_f524f22cfce2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwRule, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1629,7 +1629,7 @@ pub struct INetFwRule_Vtbl { pub SetAction: unsafe extern "system" fn(*mut core::ffi::c_void, NET_FW_ACTION) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwRule2, INetFwRule2_Vtbl, 0x9c27c8da_189b_4dde_89f7_8b39a316782c); +windows_core::imp::define_interface!(INetFwRule2, INetFwRule2_Vtbl, 0x9c27c8da_189b_4dde_89f7_8b39a316782c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwRule2, windows_core::IUnknown, super::super::System::Com::IDispatch, INetFwRule); #[cfg(feature = "Win32_System_Com")] @@ -1818,7 +1818,7 @@ pub struct INetFwRule2_Vtbl { pub SetEdgeTraversalOptions: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwRule3, INetFwRule3_Vtbl, 0xb21563ff_d696_4222_ab46_4e89b73ab34a); +windows_core::imp::define_interface!(INetFwRule3, INetFwRule3_Vtbl, 0xb21563ff_d696_4222_ab46_4e89b73ab34a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwRule3, windows_core::IUnknown, super::super::System::Com::IDispatch, INetFwRule, INetFwRule2); #[cfg(feature = "Win32_System_Com")] @@ -2074,7 +2074,7 @@ pub struct INetFwRule3_Vtbl { pub SetSecureFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwRules, INetFwRules_Vtbl, 0x9c4c6277_5027_441e_afae_ca1f542da009); +windows_core::imp::define_interface!(INetFwRules, INetFwRules_Vtbl, 0x9c4c6277_5027_441e_afae_ca1f542da009); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwRules, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2126,7 +2126,7 @@ pub struct INetFwRules_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")] -windows_core::imp::com_interface!(INetFwService, INetFwService_Vtbl, 0x79fd57c8_908e_4a36_9888_d5b3f0a444cf); +windows_core::imp::define_interface!(INetFwService, INetFwService_Vtbl, 0x79fd57c8_908e_4a36_9888_d5b3f0a444cf); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwService, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2204,7 +2204,7 @@ pub struct INetFwService_Vtbl { GloballyOpenPorts: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwServiceRestriction, INetFwServiceRestriction_Vtbl, 0x8267bbe3_f890_491c_b7b6_2db1ef0e5d2b); +windows_core::imp::define_interface!(INetFwServiceRestriction, INetFwServiceRestriction_Vtbl, 0x8267bbe3_f890_491c_b7b6_2db1ef0e5d2b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwServiceRestriction, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2244,7 +2244,7 @@ pub struct INetFwServiceRestriction_Vtbl { Rules: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetFwServices, INetFwServices_Vtbl, 0x79649bb4_903e_421b_94c9_79848e79f6ee); +windows_core::imp::define_interface!(INetFwServices, INetFwServices_Vtbl, 0x79649bb4_903e_421b_94c9_79848e79f6ee); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetFwServices, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2275,7 +2275,7 @@ pub struct INetFwServices_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")] -windows_core::imp::com_interface!(INetSharingConfiguration, INetSharingConfiguration_Vtbl, 0xc08956b6_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(INetSharingConfiguration, INetSharingConfiguration_Vtbl, 0xc08956b6_1cd3_11d1_b1c5_00805fc1270e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetSharingConfiguration, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2351,7 +2351,7 @@ pub struct INetSharingConfiguration_Vtbl { RemovePortMapping: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetSharingEveryConnectionCollection, INetSharingEveryConnectionCollection_Vtbl, 0x33c4643c_7811_46fa_a89a_768597bd7223); +windows_core::imp::define_interface!(INetSharingEveryConnectionCollection, INetSharingEveryConnectionCollection_Vtbl, 0x33c4643c_7811_46fa_a89a_768597bd7223); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetSharingEveryConnectionCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2373,7 +2373,7 @@ pub struct INetSharingEveryConnectionCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetSharingManager, INetSharingManager_Vtbl, 0xc08956b7_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(INetSharingManager, INetSharingManager_Vtbl, 0xc08956b7_1cd3_11d1_b1c5_00805fc1270e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetSharingManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2441,7 +2441,7 @@ pub struct INetSharingManager_Vtbl { get_NetConnectionProps: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetSharingPortMapping, INetSharingPortMapping_Vtbl, 0xc08956b1_1cd3_11d1_b1c5_00805fc1270e); +windows_core::imp::define_interface!(INetSharingPortMapping, INetSharingPortMapping_Vtbl, 0xc08956b1_1cd3_11d1_b1c5_00805fc1270e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetSharingPortMapping, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2474,7 +2474,7 @@ pub struct INetSharingPortMapping_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetSharingPortMappingCollection, INetSharingPortMappingCollection_Vtbl, 0x02e4a2de_da20_4e34_89c8_ac22275a010b); +windows_core::imp::define_interface!(INetSharingPortMappingCollection, INetSharingPortMappingCollection_Vtbl, 0x02e4a2de_da20_4e34_89c8_ac22275a010b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetSharingPortMappingCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2496,7 +2496,7 @@ pub struct INetSharingPortMappingCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetSharingPortMappingProps, INetSharingPortMappingProps_Vtbl, 0x24b7e9b5_e38f_4685_851b_00892cf5f940); +windows_core::imp::define_interface!(INetSharingPortMappingProps, INetSharingPortMappingProps_Vtbl, 0x24b7e9b5_e38f_4685_851b_00892cf5f940); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetSharingPortMappingProps, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2548,7 +2548,7 @@ pub struct INetSharingPortMappingProps_Vtbl { 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")] -windows_core::imp::com_interface!(INetSharingPrivateConnectionCollection, INetSharingPrivateConnectionCollection_Vtbl, 0x38ae69e0_4409_402a_a2cb_e965c727f840); +windows_core::imp::define_interface!(INetSharingPrivateConnectionCollection, INetSharingPrivateConnectionCollection_Vtbl, 0x38ae69e0_4409_402a_a2cb_e965c727f840); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetSharingPrivateConnectionCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2570,7 +2570,7 @@ pub struct INetSharingPrivateConnectionCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetSharingPublicConnectionCollection, INetSharingPublicConnectionCollection_Vtbl, 0x7d7a6355_f372_4971_a149_bfc927be762a); +windows_core::imp::define_interface!(INetSharingPublicConnectionCollection, INetSharingPublicConnectionCollection_Vtbl, 0x7d7a6355_f372_4971_a149_bfc927be762a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetSharingPublicConnectionCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2592,7 +2592,7 @@ pub struct INetSharingPublicConnectionCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IStaticPortMapping, IStaticPortMapping_Vtbl, 0x6f10711f_729b_41e5_93b8_f21d0f818df1); +windows_core::imp::define_interface!(IStaticPortMapping, IStaticPortMapping_Vtbl, 0x6f10711f_729b_41e5_93b8_f21d0f818df1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IStaticPortMapping, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2664,7 +2664,7 @@ pub struct IStaticPortMapping_Vtbl { pub EditInternalPort: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IStaticPortMappingCollection, IStaticPortMappingCollection_Vtbl, 0xcd1f3e77_66d6_4664_82c7_36dbb641d0f1); +windows_core::imp::define_interface!(IStaticPortMappingCollection, IStaticPortMappingCollection_Vtbl, 0xcd1f3e77_66d6_4664_82c7_36dbb641d0f1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IStaticPortMappingCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2720,7 +2720,7 @@ pub struct IStaticPortMappingCollection_Vtbl { Add: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUPnPNAT, IUPnPNAT_Vtbl, 0xb171c812_cc76_485a_94d8_b6b3a2794e99); +windows_core::imp::define_interface!(IUPnPNAT, IUPnPNAT_Vtbl, 0xb171c812_cc76_485a_94d8_b6b3a2794e99); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUPnPNAT, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 b94b70bc53..8d03dcda24 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -1300,7 +1300,7 @@ where SecurityDescriptorToBinarySD(vvarsecdes.into_param().abi(), ppsecuritydescriptor, pdwsdlength, pszservername.into_param().abi(), username.into_param().abi(), password.into_param().abi(), dwflags).ok() } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADs, IADs_Vtbl, 0xfd8256d0_fd15_11ce_abc4_02608c9e7553); +windows_core::imp::define_interface!(IADs, IADs_Vtbl, 0xfd8256d0_fd15_11ce_abc4_02608c9e7553); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADs, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1389,7 +1389,7 @@ pub struct IADs_Vtbl { pub GetInfoEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsADSystemInfo, IADsADSystemInfo_Vtbl, 0x5bb11929_afd1_11d2_9cb9_0000f87a369e); +windows_core::imp::define_interface!(IADsADSystemInfo, IADsADSystemInfo_Vtbl, 0x5bb11929_afd1_11d2_9cb9_0000f87a369e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsADSystemInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1468,7 +1468,7 @@ pub struct IADsADSystemInfo_Vtbl { pub GetTrees: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsAccessControlEntry, IADsAccessControlEntry_Vtbl, 0xb4f3a14c_9bdd_11d0_852c_00c04fd8d503); +windows_core::imp::define_interface!(IADsAccessControlEntry, IADsAccessControlEntry_Vtbl, 0xb4f3a14c_9bdd_11d0_852c_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsAccessControlEntry, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1552,7 +1552,7 @@ pub struct IADsAccessControlEntry_Vtbl { pub SetTrustee: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsAccessControlList, IADsAccessControlList_Vtbl, 0xb7ee91cc_9bdd_11d0_852c_00c04fd8d503); +windows_core::imp::define_interface!(IADsAccessControlList, IADsAccessControlList_Vtbl, 0xb7ee91cc_9bdd_11d0_852c_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsAccessControlList, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1618,7 +1618,7 @@ pub struct IADsAccessControlList_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")] -windows_core::imp::com_interface!(IADsAcl, IADsAcl_Vtbl, 0x8452d3ab_0869_11d1_a377_00c04fb950dc); +windows_core::imp::define_interface!(IADsAcl, IADsAcl_Vtbl, 0x8452d3ab_0869_11d1_a377_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsAcl, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1671,7 +1671,7 @@ pub struct IADsAcl_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CopyAcl: usize, } -windows_core::imp::com_interface!(IADsAggregatee, IADsAggregatee_Vtbl, 0x1346ce8c_9039_11d0_8528_00c04fd8d503); +windows_core::imp::define_interface!(IADsAggregatee, IADsAggregatee_Vtbl, 0x1346ce8c_9039_11d0_8528_00c04fd8d503); windows_core::imp::interface_hierarchy!(IADsAggregatee, windows_core::IUnknown); impl IADsAggregatee { pub unsafe fn ConnectAsAggregatee(&self, pouterunknown: P0) -> windows_core::Result<()> @@ -1698,7 +1698,7 @@ pub struct IADsAggregatee_Vtbl { pub RelinquishInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub RestoreInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IADsAggregator, IADsAggregator_Vtbl, 0x52db5fb0_941f_11d0_8529_00c04fd8d503); +windows_core::imp::define_interface!(IADsAggregator, IADsAggregator_Vtbl, 0x52db5fb0_941f_11d0_8529_00c04fd8d503); windows_core::imp::interface_hierarchy!(IADsAggregator, windows_core::IUnknown); impl IADsAggregator { pub unsafe fn ConnectAsAggregator(&self, paggregatee: P0) -> windows_core::Result<()> @@ -1718,7 +1718,7 @@ pub struct IADsAggregator_Vtbl { pub DisconnectAsAggregator: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsBackLink, IADsBackLink_Vtbl, 0xfd1302bd_4080_11d1_a3ac_00c04fb950dc); +windows_core::imp::define_interface!(IADsBackLink, IADsBackLink_Vtbl, 0xfd1302bd_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsBackLink, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1751,7 +1751,7 @@ pub struct IADsBackLink_Vtbl { pub SetObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsCaseIgnoreList, IADsCaseIgnoreList_Vtbl, 0x7b66b533_4680_11d1_a3b4_00c04fb950dc); +windows_core::imp::define_interface!(IADsCaseIgnoreList, IADsCaseIgnoreList_Vtbl, 0x7b66b533_4680_11d1_a3b4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsCaseIgnoreList, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1775,7 +1775,7 @@ pub struct IADsCaseIgnoreList_Vtbl { pub SetCaseIgnoreList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsClass, IADsClass_Vtbl, 0xc8f93dd0_4ae0_11cf_9e73_00aa004a5691); +windows_core::imp::define_interface!(IADsClass, IADsClass_Vtbl, 0xc8f93dd0_4ae0_11cf_9e73_00aa004a5691); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsClass, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -2030,7 +2030,7 @@ pub struct IADsClass_Vtbl { Qualifiers: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsCollection, IADsCollection_Vtbl, 0x72b945e0_253b_11cf_a988_00aa006bc149); +windows_core::imp::define_interface!(IADsCollection, IADsCollection_Vtbl, 0x72b945e0_253b_11cf_a988_00aa006bc149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2070,7 +2070,7 @@ pub struct IADsCollection_Vtbl { pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsComputer, IADsComputer_Vtbl, 0xefe3cc70_1d9f_11cf_b1f3_02608c9e7553); +windows_core::imp::define_interface!(IADsComputer, IADsComputer_Vtbl, 0xefe3cc70_1d9f_11cf_b1f3_02608c9e7553); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsComputer, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -2336,7 +2336,7 @@ pub struct IADsComputer_Vtbl { pub SetNetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsComputerOperations, IADsComputerOperations_Vtbl, 0xef497680_1d9f_11cf_b1f3_02608c9e7553); +windows_core::imp::define_interface!(IADsComputerOperations, IADsComputerOperations_Vtbl, 0xef497680_1d9f_11cf_b1f3_02608c9e7553); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsComputerOperations, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -2428,7 +2428,7 @@ pub struct IADsComputerOperations_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsContainer, IADsContainer_Vtbl, 0x001677d0_fd16_11ce_abc4_02608c9e7553); +windows_core::imp::define_interface!(IADsContainer, IADsContainer_Vtbl, 0x001677d0_fd16_11ce_abc4_02608c9e7553); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsContainer, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2534,7 +2534,7 @@ pub struct IADsContainer_Vtbl { MoveHere: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsDNWithBinary, IADsDNWithBinary_Vtbl, 0x7e99c0a2_f935_11d2_ba96_00c04fb6d0d1); +windows_core::imp::define_interface!(IADsDNWithBinary, IADsDNWithBinary_Vtbl, 0x7e99c0a2_f935_11d2_ba96_00c04fb6d0d1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsDNWithBinary, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2570,7 +2570,7 @@ pub struct IADsDNWithBinary_Vtbl { pub SetDNString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsDNWithString, IADsDNWithString_Vtbl, 0x370df02e_f934_11d2_ba96_00c04fb6d0d1); +windows_core::imp::define_interface!(IADsDNWithString, IADsDNWithString_Vtbl, 0x370df02e_f934_11d2_ba96_00c04fb6d0d1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsDNWithString, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2606,7 +2606,7 @@ pub struct IADsDNWithString_Vtbl { pub SetDNString: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsDeleteOps, IADsDeleteOps_Vtbl, 0xb2bd0902_8878_11d1_8c21_00c04fd8d503); +windows_core::imp::define_interface!(IADsDeleteOps, IADsDeleteOps_Vtbl, 0xb2bd0902_8878_11d1_8c21_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsDeleteOps, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2622,7 +2622,7 @@ pub struct IADsDeleteOps_Vtbl { pub DeleteObject: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsDomain, IADsDomain_Vtbl, 0x00e4c220_fd16_11ce_abc4_02608c9e7553); +windows_core::imp::define_interface!(IADsDomain, IADsDomain_Vtbl, 0x00e4c220_fd16_11ce_abc4_02608c9e7553); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsDomain, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -2775,7 +2775,7 @@ pub struct IADsDomain_Vtbl { pub SetLockoutObservationInterval: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsEmail, IADsEmail_Vtbl, 0x97af011a_478e_11d1_a3b4_00c04fb950dc); +windows_core::imp::define_interface!(IADsEmail, IADsEmail_Vtbl, 0x97af011a_478e_11d1_a3b4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsEmail, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2807,7 +2807,7 @@ pub struct IADsEmail_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, } -windows_core::imp::com_interface!(IADsExtension, IADsExtension_Vtbl, 0x3d35553c_d2b0_11d1_b17b_0000f87593a0); +windows_core::imp::define_interface!(IADsExtension, IADsExtension_Vtbl, 0x3d35553c_d2b0_11d1_b17b_0000f87593a0); windows_core::imp::interface_hierarchy!(IADsExtension, windows_core::IUnknown); impl IADsExtension { pub unsafe fn Operate(&self, dwcode: u32, vardata1: P0, vardata2: P1, vardata3: P2) -> windows_core::Result<()> @@ -2838,7 +2838,7 @@ pub struct IADsExtension_Vtbl { PrivateInvoke: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsFaxNumber, IADsFaxNumber_Vtbl, 0xa910dea9_4680_11d1_a3b4_00c04fb950dc); +windows_core::imp::define_interface!(IADsFaxNumber, IADsFaxNumber_Vtbl, 0xa910dea9_4680_11d1_a3b4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsFaxNumber, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2874,7 +2874,7 @@ pub struct IADsFaxNumber_Vtbl { pub SetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsFileService, IADsFileService_Vtbl, 0xa89d1900_31ca_11cf_a98a_00aa006bc149); +windows_core::imp::define_interface!(IADsFileService, IADsFileService_Vtbl, 0xa89d1900_31ca_11cf_a98a_00aa006bc149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsFileService, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs, IADsService); #[cfg(feature = "Win32_System_Com")] @@ -3082,7 +3082,7 @@ pub struct IADsFileService_Vtbl { pub SetMaxUserCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsFileServiceOperations, IADsFileServiceOperations_Vtbl, 0xa02ded10_31ca_11cf_a98a_00aa006bc149); +windows_core::imp::define_interface!(IADsFileServiceOperations, IADsFileServiceOperations_Vtbl, 0xa02ded10_31ca_11cf_a98a_00aa006bc149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsFileServiceOperations, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs, IADsServiceOperations); #[cfg(feature = "Win32_System_Com")] @@ -3198,7 +3198,7 @@ pub struct IADsFileServiceOperations_Vtbl { Resources: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsFileShare, IADsFileShare_Vtbl, 0xeb6dcaf0_4b83_11cf_a995_00aa006bc149); +windows_core::imp::define_interface!(IADsFileShare, IADsFileShare_Vtbl, 0xeb6dcaf0_4b83_11cf_a995_00aa006bc149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsFileShare, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -3324,7 +3324,7 @@ pub struct IADsFileShare_Vtbl { pub SetMaxUserCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsGroup, IADsGroup_Vtbl, 0x27636b00_410f_11cf_b1ff_02608c9e7553); +windows_core::imp::define_interface!(IADsGroup, IADsGroup_Vtbl, 0x27636b00_410f_11cf_b1ff_02608c9e7553); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsGroup, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -3443,7 +3443,7 @@ pub struct IADsGroup_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsHold, IADsHold_Vtbl, 0xb3eb3b37_4080_11d1_a3ac_00c04fb950dc); +windows_core::imp::define_interface!(IADsHold, IADsHold_Vtbl, 0xb3eb3b37_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsHold, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3476,7 +3476,7 @@ pub struct IADsHold_Vtbl { pub SetAmount: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsLargeInteger, IADsLargeInteger_Vtbl, 0x9068270b_0939_11d1_8be1_00c04fd8d503); +windows_core::imp::define_interface!(IADsLargeInteger, IADsLargeInteger_Vtbl, 0x9068270b_0939_11d1_8be1_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsLargeInteger, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3506,7 +3506,7 @@ pub struct IADsLargeInteger_Vtbl { pub SetLowPart: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsLocality, IADsLocality_Vtbl, 0xa05e03a2_effe_11cf_8abc_00c04fd8d503); +windows_core::imp::define_interface!(IADsLocality, IADsLocality_Vtbl, 0xa05e03a2_effe_11cf_8abc_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsLocality, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -3630,7 +3630,7 @@ pub struct IADsLocality_Vtbl { pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsMembers, IADsMembers_Vtbl, 0x451a0030_72ec_11cf_b03b_00aa006e0975); +windows_core::imp::define_interface!(IADsMembers, IADsMembers_Vtbl, 0x451a0030_72ec_11cf_b03b_00aa006e0975); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsMembers, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3664,7 +3664,7 @@ pub struct IADsMembers_Vtbl { pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsNameTranslate, IADsNameTranslate_Vtbl, 0xb1b272a3_3625_11d1_a3a4_00c04fb950dc); +windows_core::imp::define_interface!(IADsNameTranslate, IADsNameTranslate_Vtbl, 0xb1b272a3_3625_11d1_a3a4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsNameTranslate, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3721,7 +3721,7 @@ pub struct IADsNameTranslate_Vtbl { pub GetEx: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsNamespaces, IADsNamespaces_Vtbl, 0x28b96ba0_b330_11cf_a9ad_00aa006bc149); +windows_core::imp::define_interface!(IADsNamespaces, IADsNamespaces_Vtbl, 0x28b96ba0_b330_11cf_a9ad_00aa006bc149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsNamespaces, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -3809,7 +3809,7 @@ pub struct IADsNamespaces_Vtbl { pub SetDefaultContainer: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsNetAddress, IADsNetAddress_Vtbl, 0xb21a50a9_4080_11d1_a3ac_00c04fb950dc); +windows_core::imp::define_interface!(IADsNetAddress, IADsNetAddress_Vtbl, 0xb21a50a9_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsNetAddress, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3842,7 +3842,7 @@ pub struct IADsNetAddress_Vtbl { pub SetAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsO, IADsO_Vtbl, 0xa1cd2dc6_effe_11cf_8abc_00c04fd8d503); +windows_core::imp::define_interface!(IADsO, IADsO_Vtbl, 0xa1cd2dc6_effe_11cf_8abc_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsO, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -3990,7 +3990,7 @@ pub struct IADsO_Vtbl { pub SetSeeAlso: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsOU, IADsOU_Vtbl, 0xa2f733b8_effe_11cf_8abc_00c04fd8d503); +windows_core::imp::define_interface!(IADsOU, IADsOU_Vtbl, 0xa2f733b8_effe_11cf_8abc_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsOU, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -4150,7 +4150,7 @@ pub struct IADsOU_Vtbl { pub SetBusinessCategory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsObjectOptions, IADsObjectOptions_Vtbl, 0x46f14fda_232b_11d1_a808_00c04fd8d5a8); +windows_core::imp::define_interface!(IADsObjectOptions, IADsObjectOptions_Vtbl, 0x46f14fda_232b_11d1_a808_00c04fd8d5a8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsObjectOptions, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4174,7 +4174,7 @@ pub struct IADsObjectOptions_Vtbl { pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsOctetList, IADsOctetList_Vtbl, 0x7b28b80f_4680_11d1_a3b4_00c04fb950dc); +windows_core::imp::define_interface!(IADsOctetList, IADsOctetList_Vtbl, 0x7b28b80f_4680_11d1_a3b4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsOctetList, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4198,7 +4198,7 @@ pub struct IADsOctetList_Vtbl { pub SetOctetList: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsOpenDSObject, IADsOpenDSObject_Vtbl, 0xddf2891e_0f9c_11d0_8ad4_00c04fd8d503); +windows_core::imp::define_interface!(IADsOpenDSObject, IADsOpenDSObject_Vtbl, 0xddf2891e_0f9c_11d0_8ad4_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsOpenDSObject, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4224,7 +4224,7 @@ pub struct IADsOpenDSObject_Vtbl { OpenDSObject: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsPath, IADsPath_Vtbl, 0xb287fcd5_4080_11d1_a3ac_00c04fb950dc); +windows_core::imp::define_interface!(IADsPath, IADsPath_Vtbl, 0xb287fcd5_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsPath, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4269,7 +4269,7 @@ pub struct IADsPath_Vtbl { pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsPathname, IADsPathname_Vtbl, 0xd592aed4_f420_11d0_a36e_00c04fb950dc); +windows_core::imp::define_interface!(IADsPathname, IADsPathname_Vtbl, 0xd592aed4_f420_11d0_a36e_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsPathname, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4344,7 +4344,7 @@ pub struct IADsPathname_Vtbl { pub SetEscapedMode: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsPostalAddress, IADsPostalAddress_Vtbl, 0x7adecf29_4680_11d1_a3b4_00c04fb950dc); +windows_core::imp::define_interface!(IADsPostalAddress, IADsPostalAddress_Vtbl, 0x7adecf29_4680_11d1_a3b4_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsPostalAddress, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4368,7 +4368,7 @@ pub struct IADsPostalAddress_Vtbl { pub SetPostalAddress: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsPrintJob, IADsPrintJob_Vtbl, 0x32fb6780_1ed0_11cf_a988_00aa006bc149); +windows_core::imp::define_interface!(IADsPrintJob, IADsPrintJob_Vtbl, 0x32fb6780_1ed0_11cf_a988_00aa006bc149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsPrintJob, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -4537,7 +4537,7 @@ pub struct IADsPrintJob_Vtbl { pub SetNotifyPath: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsPrintJobOperations, IADsPrintJobOperations_Vtbl, 0x9a52db30_1ecf_11cf_a988_00aa006bc149); +windows_core::imp::define_interface!(IADsPrintJobOperations, IADsPrintJobOperations_Vtbl, 0x9a52db30_1ecf_11cf_a988_00aa006bc149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsPrintJobOperations, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -4645,7 +4645,7 @@ pub struct IADsPrintJobOperations_Vtbl { pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsPrintQueue, IADsPrintQueue_Vtbl, 0xb15160d0_1226_11cf_a985_00aa006bc149); +windows_core::imp::define_interface!(IADsPrintQueue, IADsPrintQueue_Vtbl, 0xb15160d0_1226_11cf_a985_00aa006bc149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsPrintQueue, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -4865,7 +4865,7 @@ pub struct IADsPrintQueue_Vtbl { pub SetNetAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsPrintQueueOperations, IADsPrintQueueOperations_Vtbl, 0x124be5c0_156e_11cf_a986_00aa006bc149); +windows_core::imp::define_interface!(IADsPrintQueueOperations, IADsPrintQueueOperations_Vtbl, 0x124be5c0_156e_11cf_a986_00aa006bc149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsPrintQueueOperations, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -4967,7 +4967,7 @@ pub struct IADsPrintQueueOperations_Vtbl { pub Purge: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsProperty, IADsProperty_Vtbl, 0xc8f93dd3_4ae0_11cf_9e73_00aa004a5691); +windows_core::imp::define_interface!(IADsProperty, IADsProperty_Vtbl, 0xc8f93dd3_4ae0_11cf_9e73_00aa004a5691); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsProperty, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -5106,7 +5106,7 @@ pub struct IADsProperty_Vtbl { Qualifiers: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsPropertyEntry, IADsPropertyEntry_Vtbl, 0x05792c8e_941f_11d0_8529_00c04fd8d503); +windows_core::imp::define_interface!(IADsPropertyEntry, IADsPropertyEntry_Vtbl, 0x05792c8e_941f_11d0_8529_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsPropertyEntry, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5164,7 +5164,7 @@ pub struct IADsPropertyEntry_Vtbl { pub SetValues: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsPropertyList, IADsPropertyList_Vtbl, 0xc6f602b6_8f69_11d0_8528_00c04fd8d503); +windows_core::imp::define_interface!(IADsPropertyList, IADsPropertyList_Vtbl, 0xc6f602b6_8f69_11d0_8528_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsPropertyList, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5227,7 +5227,7 @@ pub struct IADsPropertyList_Vtbl { pub PurgePropertyList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsPropertyValue, IADsPropertyValue_Vtbl, 0x79fa9ad0_a97c_11d0_8534_00c04fd8d503); +windows_core::imp::define_interface!(IADsPropertyValue, IADsPropertyValue_Vtbl, 0x79fa9ad0_a97c_11d0_8534_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsPropertyValue, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5391,7 +5391,7 @@ pub struct IADsPropertyValue_Vtbl { pub SetUTCTime: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsPropertyValue2, IADsPropertyValue2_Vtbl, 0x306e831c_5bc7_11d1_a3b8_00c04fb950dc); +windows_core::imp::define_interface!(IADsPropertyValue2, IADsPropertyValue2_Vtbl, 0x306e831c_5bc7_11d1_a3b8_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsPropertyValue2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5414,7 +5414,7 @@ pub struct IADsPropertyValue2_Vtbl { pub PutObjectProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsReplicaPointer, IADsReplicaPointer_Vtbl, 0xf60fb803_4080_11d1_a3ac_00c04fb950dc); +windows_core::imp::define_interface!(IADsReplicaPointer, IADsReplicaPointer_Vtbl, 0xf60fb803_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsReplicaPointer, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5477,7 +5477,7 @@ pub struct IADsReplicaPointer_Vtbl { pub SetReplicaAddressHints: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsResource, IADsResource_Vtbl, 0x34a05b20_4aab_11cf_ae2c_00aa006ebfb9); +windows_core::imp::define_interface!(IADsResource, IADsResource_Vtbl, 0x34a05b20_4aab_11cf_ae2c_00aa006ebfb9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsResource, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -5573,7 +5573,7 @@ pub struct IADsResource_Vtbl { pub LockCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsSecurityDescriptor, IADsSecurityDescriptor_Vtbl, 0xb8c787ca_9bdd_11d0_852c_00c04fd8d503); +windows_core::imp::define_interface!(IADsSecurityDescriptor, IADsSecurityDescriptor_Vtbl, 0xb8c787ca_9bdd_11d0_852c_00c04fd8d503); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsSecurityDescriptor, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5724,7 +5724,7 @@ pub struct IADsSecurityDescriptor_Vtbl { CopySecurityDescriptor: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsSecurityUtility, IADsSecurityUtility_Vtbl, 0xa63251b2_5f21_474b_ab52_4a8efad10895); +windows_core::imp::define_interface!(IADsSecurityUtility, IADsSecurityUtility_Vtbl, 0xa63251b2_5f21_474b_ab52_4a8efad10895); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsSecurityUtility, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5769,7 +5769,7 @@ pub struct IADsSecurityUtility_Vtbl { pub SetSecurityMask: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsService, IADsService_Vtbl, 0x68af66e0_31ca_11cf_a98a_00aa006bc149); +windows_core::imp::define_interface!(IADsService, IADsService_Vtbl, 0x68af66e0_31ca_11cf_a98a_00aa006bc149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsService, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -5980,7 +5980,7 @@ pub struct IADsService_Vtbl { pub SetDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsServiceOperations, IADsServiceOperations_Vtbl, 0x5d7b33f0_31ca_11cf_a98a_00aa006bc149); +windows_core::imp::define_interface!(IADsServiceOperations, IADsServiceOperations_Vtbl, 0x5d7b33f0_31ca_11cf_a98a_00aa006bc149); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsServiceOperations, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -6084,7 +6084,7 @@ pub struct IADsServiceOperations_Vtbl { pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsSession, IADsSession_Vtbl, 0x398b7da0_4aab_11cf_ae2c_00aa006ebfb9); +windows_core::imp::define_interface!(IADsSession, IADsSession_Vtbl, 0x398b7da0_4aab_11cf_ae2c_00aa006ebfb9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsSession, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -6190,7 +6190,7 @@ pub struct IADsSession_Vtbl { pub IdleTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsSyntax, IADsSyntax_Vtbl, 0xc8f93dd2_4ae0_11cf_9e73_00aa004a5691); +windows_core::imp::define_interface!(IADsSyntax, IADsSyntax_Vtbl, 0xc8f93dd2_4ae0_11cf_9e73_00aa004a5691); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsSyntax, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -6275,7 +6275,7 @@ pub struct IADsSyntax_Vtbl { pub SetOleAutoDataType: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsTimestamp, IADsTimestamp_Vtbl, 0xb2f5a901_4080_11d1_a3ac_00c04fb950dc); +windows_core::imp::define_interface!(IADsTimestamp, IADsTimestamp_Vtbl, 0xb2f5a901_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsTimestamp, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6305,7 +6305,7 @@ pub struct IADsTimestamp_Vtbl { pub SetEventID: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsTypedName, IADsTypedName_Vtbl, 0xb371a349_4080_11d1_a3ac_00c04fb950dc); +windows_core::imp::define_interface!(IADsTypedName, IADsTypedName_Vtbl, 0xb371a349_4080_11d1_a3ac_00c04fb950dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsTypedName, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6347,7 +6347,7 @@ pub struct IADsTypedName_Vtbl { pub SetInterval: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsUser, IADsUser_Vtbl, 0x3e37e320_17e2_11cf_abc4_02608c9e7553); +windows_core::imp::define_interface!(IADsUser, IADsUser_Vtbl, 0x3e37e320_17e2_11cf_abc4_02608c9e7553); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsUser, windows_core::IUnknown, super::super::System::Com::IDispatch, IADs); #[cfg(feature = "Win32_System_Com")] @@ -6948,7 +6948,7 @@ pub struct IADsUser_Vtbl { pub ChangePassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsWinNTSystemInfo, IADsWinNTSystemInfo_Vtbl, 0x6c6d65dc_afd1_11d2_9cb9_0000f87a369e); +windows_core::imp::define_interface!(IADsWinNTSystemInfo, IADsWinNTSystemInfo_Vtbl, 0x6c6d65dc_afd1_11d2_9cb9_0000f87a369e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsWinNTSystemInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6979,7 +6979,7 @@ pub struct IADsWinNTSystemInfo_Vtbl { 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, } -windows_core::imp::com_interface!(ICommonQuery, ICommonQuery_Vtbl, 0xab50dec0_6f1d_11d0_a1c4_00aa00c16e65); +windows_core::imp::define_interface!(ICommonQuery, ICommonQuery_Vtbl, 0xab50dec0_6f1d_11d0_a1c4_00aa00c16e65); windows_core::imp::interface_hierarchy!(ICommonQuery, windows_core::IUnknown); impl ICommonQuery { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -6998,7 +6998,7 @@ pub struct ICommonQuery_Vtbl { #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] OpenQueryWindow: usize, } -windows_core::imp::com_interface!(IDirectoryObject, IDirectoryObject_Vtbl, 0xe798de2c_22e4_11d0_84fe_00c04fd8d503); +windows_core::imp::define_interface!(IDirectoryObject, IDirectoryObject_Vtbl, 0xe798de2c_22e4_11d0_84fe_00c04fd8d503); windows_core::imp::interface_hierarchy!(IDirectoryObject, windows_core::IUnknown); impl IDirectoryObject { pub unsafe fn GetObjectInformation(&self) -> windows_core::Result<*mut ADS_OBJECT_INFO> { @@ -7039,7 +7039,7 @@ pub struct IDirectoryObject_Vtbl { CreateDSObject: usize, pub DeleteDSObject: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectorySchemaMgmt, IDirectorySchemaMgmt_Vtbl, 0x75db3b9c_a4d8_11d0_a79c_00c04fd8d5a8); +windows_core::imp::define_interface!(IDirectorySchemaMgmt, IDirectorySchemaMgmt_Vtbl, 0x75db3b9c_a4d8_11d0_a79c_00c04fd8d5a8); windows_core::imp::interface_hierarchy!(IDirectorySchemaMgmt, windows_core::IUnknown); impl IDirectorySchemaMgmt { pub unsafe fn EnumAttributes(&self, ppszattrnames: *const windows_core::PCWSTR, dwnumattributes: u32, ppattrdefinition: *const *const ADS_ATTR_DEF, pdwnumattributes: *const u32) -> windows_core::Result<()> { @@ -7097,7 +7097,7 @@ pub struct IDirectorySchemaMgmt_Vtbl { pub CreateClassDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const ADS_CLASS_DEF) -> windows_core::HRESULT, pub DeleteClassDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDirectorySearch, IDirectorySearch_Vtbl, 0x109ba8ec_92f0_11d0_a790_00c04fd8d5a8); +windows_core::imp::define_interface!(IDirectorySearch, IDirectorySearch_Vtbl, 0x109ba8ec_92f0_11d0_a790_00c04fd8d5a8); windows_core::imp::interface_hierarchy!(IDirectorySearch, windows_core::IUnknown); impl IDirectorySearch { pub unsafe fn SetSearchPreference(&self, psearchprefs: *const ADS_SEARCHPREF_INFO, dwnumprefs: u32) -> windows_core::Result<()> { @@ -7171,7 +7171,7 @@ pub struct IDirectorySearch_Vtbl { pub FreeColumn: unsafe extern "system" fn(*mut core::ffi::c_void, *const ADS_SEARCH_COLUMN) -> windows_core::HRESULT, pub CloseSearchHandle: unsafe extern "system" fn(*mut core::ffi::c_void, ADS_SEARCH_HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDsAdminCreateObj, IDsAdminCreateObj_Vtbl, 0x53554a38_f902_11d2_82b9_00c04f68928b); +windows_core::imp::define_interface!(IDsAdminCreateObj, IDsAdminCreateObj_Vtbl, 0x53554a38_f902_11d2_82b9_00c04f68928b); windows_core::imp::interface_hierarchy!(IDsAdminCreateObj, windows_core::IUnknown); impl IDsAdminCreateObj { #[cfg(feature = "Win32_System_Com")] @@ -7204,7 +7204,7 @@ pub struct IDsAdminCreateObj_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateModal: usize, } -windows_core::imp::com_interface!(IDsAdminNewObj, IDsAdminNewObj_Vtbl, 0xf2573587_e6fc_11d2_82af_00c04f68928b); +windows_core::imp::define_interface!(IDsAdminNewObj, IDsAdminNewObj_Vtbl, 0xf2573587_e6fc_11d2_82af_00c04f68928b); windows_core::imp::interface_hierarchy!(IDsAdminNewObj, windows_core::IUnknown); impl IDsAdminNewObj { pub unsafe fn SetButtons(&self, ncurrindex: u32, bvalid: P0) -> windows_core::Result<()> @@ -7223,7 +7223,7 @@ pub struct IDsAdminNewObj_Vtbl { pub SetButtons: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetPageCounts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDsAdminNewObjExt, IDsAdminNewObjExt_Vtbl, 0x6088eae2_e7bf_11d2_82af_00c04f68928b); +windows_core::imp::define_interface!(IDsAdminNewObjExt, IDsAdminNewObjExt_Vtbl, 0x6088eae2_e7bf_11d2_82af_00c04f68928b); windows_core::imp::interface_hierarchy!(IDsAdminNewObjExt, windows_core::IUnknown); impl IDsAdminNewObjExt { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_WindowsAndMessaging"))] @@ -7285,7 +7285,7 @@ pub struct IDsAdminNewObjExt_Vtbl { 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, } -windows_core::imp::com_interface!(IDsAdminNewObjPrimarySite, IDsAdminNewObjPrimarySite_Vtbl, 0xbe2b487e_f904_11d2_82b9_00c04f68928b); +windows_core::imp::define_interface!(IDsAdminNewObjPrimarySite, IDsAdminNewObjPrimarySite_Vtbl, 0xbe2b487e_f904_11d2_82b9_00c04f68928b); windows_core::imp::interface_hierarchy!(IDsAdminNewObjPrimarySite, windows_core::IUnknown); impl IDsAdminNewObjPrimarySite { pub unsafe fn CreateNew(&self, pszname: P0) -> windows_core::Result<()> @@ -7304,7 +7304,7 @@ pub struct IDsAdminNewObjPrimarySite_Vtbl { pub CreateNew: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDsAdminNotifyHandler, IDsAdminNotifyHandler_Vtbl, 0xe4a2b8b3_5a18_11d2_97c1_00a0c9a06d2d); +windows_core::imp::define_interface!(IDsAdminNotifyHandler, IDsAdminNotifyHandler_Vtbl, 0xe4a2b8b3_5a18_11d2_97c1_00a0c9a06d2d); windows_core::imp::interface_hierarchy!(IDsAdminNotifyHandler, windows_core::IUnknown); impl IDsAdminNotifyHandler { #[cfg(feature = "Win32_System_Com")] @@ -7343,7 +7343,7 @@ pub struct IDsAdminNotifyHandler_Vtbl { pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDsBrowseDomainTree, IDsBrowseDomainTree_Vtbl, 0x7cabcf1e_78f5_11d2_960c_00c04fa31a86); +windows_core::imp::define_interface!(IDsBrowseDomainTree, IDsBrowseDomainTree_Vtbl, 0x7cabcf1e_78f5_11d2_960c_00c04fa31a86); windows_core::imp::interface_hierarchy!(IDsBrowseDomainTree, windows_core::IUnknown); impl IDsBrowseDomainTree { pub unsafe fn BrowseTo(&self, hwndparent: P0, ppsztargetpath: *mut windows_core::PWSTR, dwflags: u32) -> windows_core::Result<()> @@ -7379,7 +7379,7 @@ pub struct IDsBrowseDomainTree_Vtbl { pub FlushCachedDomains: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetComputer: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDsDisplaySpecifier, IDsDisplaySpecifier_Vtbl, 0x1ab4a8c0_6a0b_11d2_ad49_00c04fa31a86); +windows_core::imp::define_interface!(IDsDisplaySpecifier, IDsDisplaySpecifier_Vtbl, 0x1ab4a8c0_6a0b_11d2_ad49_00c04fa31a86); windows_core::imp::interface_hierarchy!(IDsDisplaySpecifier, windows_core::IUnknown); impl IDsDisplaySpecifier { pub unsafe fn SetServer(&self, pszserver: P0, pszusername: P1, pszpassword: P2, dwflags: u32) -> windows_core::Result<()> @@ -7470,7 +7470,7 @@ pub struct IDsDisplaySpecifier_Vtbl { pub EnumClassAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, LPDSENUMATTRIBUTES, super::super::Foundation::LPARAM) -> windows_core::HRESULT, pub GetAttributeADsType: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> ADSTYPE, } -windows_core::imp::com_interface!(IDsObjectPicker, IDsObjectPicker_Vtbl, 0x0c87e64e_3b7a_11d2_b9e0_00c04fd8dbf7); +windows_core::imp::define_interface!(IDsObjectPicker, IDsObjectPicker_Vtbl, 0x0c87e64e_3b7a_11d2_b9e0_00c04fd8dbf7); windows_core::imp::interface_hierarchy!(IDsObjectPicker, windows_core::IUnknown); impl IDsObjectPicker { pub unsafe fn Initialize(&self, pinitinfo: *mut DSOP_INIT_INFO) -> windows_core::Result<()> { @@ -7494,7 +7494,7 @@ pub struct IDsObjectPicker_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] InvokeDialog: usize, } -windows_core::imp::com_interface!(IDsObjectPickerCredentials, IDsObjectPickerCredentials_Vtbl, 0xe2d3ec9b_d041_445a_8f16_4748de8fb1cf); +windows_core::imp::define_interface!(IDsObjectPickerCredentials, IDsObjectPickerCredentials_Vtbl, 0xe2d3ec9b_d041_445a_8f16_4748de8fb1cf); windows_core::imp::interface_hierarchy!(IDsObjectPickerCredentials, windows_core::IUnknown, IDsObjectPicker); impl IDsObjectPickerCredentials { pub unsafe fn Initialize(&self, pinitinfo: *mut DSOP_INIT_INFO) -> windows_core::Result<()> { @@ -7522,7 +7522,7 @@ pub struct IDsObjectPickerCredentials_Vtbl { pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPersistQuery, IPersistQuery_Vtbl, 0x1a3114b8_a62e_11d0_a6c5_00a0c906af45); +windows_core::imp::define_interface!(IPersistQuery, IPersistQuery_Vtbl, 0x1a3114b8_a62e_11d0_a6c5_00a0c906af45); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPersistQuery, windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] @@ -7591,7 +7591,7 @@ pub struct IPersistQuery_Vtbl { pub ReadStruct: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrivateDispatch, IPrivateDispatch_Vtbl, 0x86ab4bbe_65f6_11d1_8c13_00c04fd8d503); +windows_core::imp::define_interface!(IPrivateDispatch, IPrivateDispatch_Vtbl, 0x86ab4bbe_65f6_11d1_8c13_00c04fd8d503); windows_core::imp::interface_hierarchy!(IPrivateDispatch, windows_core::IUnknown); impl IPrivateDispatch { pub unsafe fn ADSIInitializeDispatchManager(&self, dwextensionid: i32) -> windows_core::Result<()> { @@ -7630,7 +7630,7 @@ pub struct IPrivateDispatch_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ADSIInvoke: usize, } -windows_core::imp::com_interface!(IPrivateUnknown, IPrivateUnknown_Vtbl, 0x89126bab_6ead_11d1_8c18_00c04fd8d503); +windows_core::imp::define_interface!(IPrivateUnknown, IPrivateUnknown_Vtbl, 0x89126bab_6ead_11d1_8c18_00c04fd8d503); windows_core::imp::interface_hierarchy!(IPrivateUnknown, windows_core::IUnknown); impl IPrivateUnknown { pub unsafe fn ADSIInitializeObject(&self, lpszusername: P0, lpszpassword: P1, lnreserved: i32) -> windows_core::Result<()> @@ -7650,7 +7650,7 @@ pub struct IPrivateUnknown_Vtbl { pub ADSIInitializeObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub ADSIReleaseObject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQueryForm, IQueryForm_Vtbl, 0x8cfcee30_39bd_11d0_b8d1_00a024ab2dbb); +windows_core::imp::define_interface!(IQueryForm, IQueryForm_Vtbl, 0x8cfcee30_39bd_11d0_b8d1_00a024ab2dbb); windows_core::imp::interface_hierarchy!(IQueryForm, windows_core::IUnknown); impl IQueryForm { #[cfg(feature = "Win32_System_Registry")] 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 02c35d3166..b7e8b8245f 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(AsyncIBackgroundCopyCallback, AsyncIBackgroundCopyCallback_Vtbl, 0xca29d251_b4bb_4679_a3d9_ae8006119d54); +windows_core::imp::define_interface!(AsyncIBackgroundCopyCallback, AsyncIBackgroundCopyCallback_Vtbl, 0xca29d251_b4bb_4679_a3d9_ae8006119d54); windows_core::imp::interface_hierarchy!(AsyncIBackgroundCopyCallback, windows_core::IUnknown); impl AsyncIBackgroundCopyCallback { pub unsafe fn Begin_JobTransferred(&self, pjob: P0) -> windows_core::Result<()> @@ -41,7 +41,7 @@ pub struct AsyncIBackgroundCopyCallback_Vtbl { pub Finish_JobModification: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IBITSExtensionSetup, IBITSExtensionSetup_Vtbl, 0x29cfbbf7_09e4_4b97_b0bc_f2287e3d8eb3); +windows_core::imp::define_interface!(IBITSExtensionSetup, IBITSExtensionSetup_Vtbl, 0x29cfbbf7_09e4_4b97_b0bc_f2287e3d8eb3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBITSExtensionSetup, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -71,7 +71,7 @@ pub struct IBITSExtensionSetup_Vtbl { 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")] -windows_core::imp::com_interface!(IBITSExtensionSetupFactory, IBITSExtensionSetupFactory_Vtbl, 0xd5d2d542_5503_4e64_8b48_72ef91a32ee1); +windows_core::imp::define_interface!(IBITSExtensionSetupFactory, IBITSExtensionSetupFactory_Vtbl, 0xd5d2d542_5503_4e64_8b48_72ef91a32ee1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBITSExtensionSetupFactory, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -94,7 +94,7 @@ pub struct IBITSExtensionSetupFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetObject: usize, } -windows_core::imp::com_interface!(IBackgroundCopyCallback, IBackgroundCopyCallback_Vtbl, 0x97ea99c7_0186_4ad4_8df9_c5b4e0ed6b22); +windows_core::imp::define_interface!(IBackgroundCopyCallback, IBackgroundCopyCallback_Vtbl, 0x97ea99c7_0186_4ad4_8df9_c5b4e0ed6b22); windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback, windows_core::IUnknown); impl IBackgroundCopyCallback { pub unsafe fn JobTransferred(&self, pjob: P0) -> windows_core::Result<()> @@ -124,7 +124,7 @@ pub struct IBackgroundCopyCallback_Vtbl { pub JobError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub JobModification: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyCallback1, IBackgroundCopyCallback1_Vtbl, 0x084f6593_3800_4e08_9b59_99fa59addf82); +windows_core::imp::define_interface!(IBackgroundCopyCallback1, IBackgroundCopyCallback1_Vtbl, 0x084f6593_3800_4e08_9b59_99fa59addf82); windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback1, windows_core::IUnknown); impl IBackgroundCopyCallback1 { pub unsafe fn OnStatus(&self, pgroup: P0, pjob: P1, dwfileindex: u32, dwstatus: u32, dwnumofretries: u32, dwwin32result: u32, dwtransportresult: u32) -> windows_core::Result<()> @@ -156,7 +156,7 @@ pub struct IBackgroundCopyCallback1_Vtbl { pub OnProgress: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub OnProgressEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyCallback2, IBackgroundCopyCallback2_Vtbl, 0x659cdeac_489e_11d9_a9cd_000d56965251); +windows_core::imp::define_interface!(IBackgroundCopyCallback2, IBackgroundCopyCallback2_Vtbl, 0x659cdeac_489e_11d9_a9cd_000d56965251); windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback2, windows_core::IUnknown, IBackgroundCopyCallback); impl IBackgroundCopyCallback2 { pub unsafe fn JobTransferred(&self, pjob: P0) -> windows_core::Result<()> @@ -191,7 +191,7 @@ pub struct IBackgroundCopyCallback2_Vtbl { pub base__: IBackgroundCopyCallback_Vtbl, pub FileTransferred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyCallback3, IBackgroundCopyCallback3_Vtbl, 0x98c97bd2_e32b_4ad8_a528_95fd8b16bd42); +windows_core::imp::define_interface!(IBackgroundCopyCallback3, IBackgroundCopyCallback3_Vtbl, 0x98c97bd2_e32b_4ad8_a528_95fd8b16bd42); windows_core::imp::interface_hierarchy!(IBackgroundCopyCallback3, windows_core::IUnknown, IBackgroundCopyCallback, IBackgroundCopyCallback2); impl IBackgroundCopyCallback3 { pub unsafe fn JobTransferred(&self, pjob: P0) -> windows_core::Result<()> @@ -233,7 +233,7 @@ pub struct IBackgroundCopyCallback3_Vtbl { pub base__: IBackgroundCopyCallback2_Vtbl, pub FileRangesTransferred: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const BG_FILE_RANGE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyError, IBackgroundCopyError_Vtbl, 0x19c613a0_fcb8_4f28_81ae_897c3d078f81); +windows_core::imp::define_interface!(IBackgroundCopyError, IBackgroundCopyError_Vtbl, 0x19c613a0_fcb8_4f28_81ae_897c3d078f81); windows_core::imp::interface_hierarchy!(IBackgroundCopyError, windows_core::IUnknown); impl IBackgroundCopyError { pub unsafe fn GetError(&self, pcontext: *mut BG_ERROR_CONTEXT, pcode: *mut windows_core::HRESULT) -> windows_core::Result<()> { @@ -265,7 +265,7 @@ pub struct IBackgroundCopyError_Vtbl { pub GetErrorContextDescription: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyFile, IBackgroundCopyFile_Vtbl, 0x01b7bd23_fb88_4a77_8490_5891d3e4653a); +windows_core::imp::define_interface!(IBackgroundCopyFile, IBackgroundCopyFile_Vtbl, 0x01b7bd23_fb88_4a77_8490_5891d3e4653a); windows_core::imp::interface_hierarchy!(IBackgroundCopyFile, windows_core::IUnknown); impl IBackgroundCopyFile { pub unsafe fn GetRemoteName(&self) -> windows_core::Result { @@ -287,7 +287,7 @@ pub struct IBackgroundCopyFile_Vtbl { pub GetLocalName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BG_FILE_PROGRESS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyFile2, IBackgroundCopyFile2_Vtbl, 0x83e81b93_0873_474d_8a8c_f2018b1a939c); +windows_core::imp::define_interface!(IBackgroundCopyFile2, IBackgroundCopyFile2_Vtbl, 0x83e81b93_0873_474d_8a8c_f2018b1a939c); windows_core::imp::interface_hierarchy!(IBackgroundCopyFile2, windows_core::IUnknown, IBackgroundCopyFile); impl IBackgroundCopyFile2 { pub unsafe fn GetRemoteName(&self) -> windows_core::Result { @@ -317,7 +317,7 @@ pub struct IBackgroundCopyFile2_Vtbl { pub GetFileRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut BG_FILE_RANGE) -> windows_core::HRESULT, pub SetRemoteName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyFile3, IBackgroundCopyFile3_Vtbl, 0x659cdeaa_489e_11d9_a9cd_000d56965251); +windows_core::imp::define_interface!(IBackgroundCopyFile3, IBackgroundCopyFile3_Vtbl, 0x659cdeaa_489e_11d9_a9cd_000d56965251); windows_core::imp::interface_hierarchy!(IBackgroundCopyFile3, windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2); impl IBackgroundCopyFile3 { pub unsafe fn GetRemoteName(&self) -> windows_core::Result { @@ -367,7 +367,7 @@ pub struct IBackgroundCopyFile3_Vtbl { pub GetValidationState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsDownloadedFromPeer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyFile4, IBackgroundCopyFile4_Vtbl, 0xef7e0655_7888_4960_b0e5_730846e03492); +windows_core::imp::define_interface!(IBackgroundCopyFile4, IBackgroundCopyFile4_Vtbl, 0xef7e0655_7888_4960_b0e5_730846e03492); windows_core::imp::interface_hierarchy!(IBackgroundCopyFile4, windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3); impl IBackgroundCopyFile4 { pub unsafe fn GetRemoteName(&self) -> windows_core::Result { @@ -417,7 +417,7 @@ pub struct IBackgroundCopyFile4_Vtbl { pub base__: IBackgroundCopyFile3_Vtbl, pub GetPeerDownloadStats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyFile5, IBackgroundCopyFile5_Vtbl, 0x85c1657f_dafc_40e8_8834_df18ea25717e); +windows_core::imp::define_interface!(IBackgroundCopyFile5, IBackgroundCopyFile5_Vtbl, 0x85c1657f_dafc_40e8_8834_df18ea25717e); windows_core::imp::interface_hierarchy!(IBackgroundCopyFile5, windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3, IBackgroundCopyFile4); impl IBackgroundCopyFile5 { pub unsafe fn GetRemoteName(&self) -> windows_core::Result { @@ -475,7 +475,7 @@ pub struct IBackgroundCopyFile5_Vtbl { pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, BITS_FILE_PROPERTY_ID, BITS_FILE_PROPERTY_VALUE) -> windows_core::HRESULT, pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, BITS_FILE_PROPERTY_ID, *mut BITS_FILE_PROPERTY_VALUE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyFile6, IBackgroundCopyFile6_Vtbl, 0xcf6784f7_d677_49fd_9368_cb47aee9d1ad); +windows_core::imp::define_interface!(IBackgroundCopyFile6, IBackgroundCopyFile6_Vtbl, 0xcf6784f7_d677_49fd_9368_cb47aee9d1ad); windows_core::imp::interface_hierarchy!(IBackgroundCopyFile6, windows_core::IUnknown, IBackgroundCopyFile, IBackgroundCopyFile2, IBackgroundCopyFile3, IBackgroundCopyFile4, IBackgroundCopyFile5); impl IBackgroundCopyFile6 { pub unsafe fn GetRemoteName(&self) -> windows_core::Result { @@ -543,7 +543,7 @@ pub struct IBackgroundCopyFile6_Vtbl { pub RequestFileRanges: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const BG_FILE_RANGE) -> windows_core::HRESULT, pub GetFilledFileRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut BG_FILE_RANGE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyGroup, IBackgroundCopyGroup_Vtbl, 0x1ded80a7_53ea_424f_8a04_17fea9adc4f5); +windows_core::imp::define_interface!(IBackgroundCopyGroup, IBackgroundCopyGroup_Vtbl, 0x1ded80a7_53ea_424f_8a04_17fea9adc4f5); windows_core::imp::interface_hierarchy!(IBackgroundCopyGroup, windows_core::IUnknown); impl IBackgroundCopyGroup { pub unsafe fn GetProp(&self, propid: GROUPPROP) -> windows_core::Result { @@ -622,7 +622,7 @@ pub struct IBackgroundCopyGroup_Vtbl { pub QueryNewJobInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetNotificationPointer: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyJob, IBackgroundCopyJob_Vtbl, 0x37668d37_507e_4160_9316_26306d150b12); +windows_core::imp::define_interface!(IBackgroundCopyJob, IBackgroundCopyJob_Vtbl, 0x37668d37_507e_4160_9316_26306d150b12); windows_core::imp::interface_hierarchy!(IBackgroundCopyJob, windows_core::IUnknown); impl IBackgroundCopyJob { pub unsafe fn AddFileSet(&self, pfileset: &[BG_FILE_INFO]) -> windows_core::Result<()> { @@ -789,7 +789,7 @@ pub struct IBackgroundCopyJob_Vtbl { pub GetProxySettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BG_JOB_PROXY_USAGE, *mut windows_core::PWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub TakeOwnership: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyJob1, IBackgroundCopyJob1_Vtbl, 0x59f5553c_2031_4629_bb18_2645a6970947); +windows_core::imp::define_interface!(IBackgroundCopyJob1, IBackgroundCopyJob1_Vtbl, 0x59f5553c_2031_4629_bb18_2645a6970947); windows_core::imp::interface_hierarchy!(IBackgroundCopyJob1, windows_core::IUnknown); impl IBackgroundCopyJob1 { pub unsafe fn CancelJob(&self) -> windows_core::Result<()> { @@ -833,7 +833,7 @@ pub struct IBackgroundCopyJob1_Vtbl { pub SwitchToForeground: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub JobID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyJob2, IBackgroundCopyJob2_Vtbl, 0x54b50739_686f_45eb_9dff_d6a9a0faa9af); +windows_core::imp::define_interface!(IBackgroundCopyJob2, IBackgroundCopyJob2_Vtbl, 0x54b50739_686f_45eb_9dff_d6a9a0faa9af); windows_core::imp::interface_hierarchy!(IBackgroundCopyJob2, windows_core::IUnknown, IBackgroundCopyJob); impl IBackgroundCopyJob2 { pub unsafe fn AddFileSet(&self, pfileset: &[BG_FILE_INFO]) -> windows_core::Result<()> { @@ -1008,7 +1008,7 @@ pub struct IBackgroundCopyJob2_Vtbl { pub SetCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, *const BG_AUTH_CREDENTIALS) -> windows_core::HRESULT, pub RemoveCredentials: unsafe extern "system" fn(*mut core::ffi::c_void, BG_AUTH_TARGET, BG_AUTH_SCHEME) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyJob3, IBackgroundCopyJob3_Vtbl, 0x443c8934_90ff_48ed_bcde_26f5c7450042); +windows_core::imp::define_interface!(IBackgroundCopyJob3, IBackgroundCopyJob3_Vtbl, 0x443c8934_90ff_48ed_bcde_26f5c7450042); windows_core::imp::interface_hierarchy!(IBackgroundCopyJob3, windows_core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2); impl IBackgroundCopyJob3 { pub unsafe fn AddFileSet(&self, pfileset: &[BG_FILE_INFO]) -> windows_core::Result<()> { @@ -1200,7 +1200,7 @@ pub struct IBackgroundCopyJob3_Vtbl { pub SetFileACLFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetFileACLFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyJob4, IBackgroundCopyJob4_Vtbl, 0x659cdeae_489e_11d9_a9cd_000d56965251); +windows_core::imp::define_interface!(IBackgroundCopyJob4, IBackgroundCopyJob4_Vtbl, 0x659cdeae_489e_11d9_a9cd_000d56965251); windows_core::imp::interface_hierarchy!(IBackgroundCopyJob4, windows_core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2, IBackgroundCopyJob3); impl IBackgroundCopyJob4 { pub unsafe fn AddFileSet(&self, pfileset: &[BG_FILE_INFO]) -> windows_core::Result<()> { @@ -1416,7 +1416,7 @@ pub struct IBackgroundCopyJob4_Vtbl { pub SetMaximumDownloadTime: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetMaximumDownloadTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyJob5, IBackgroundCopyJob5_Vtbl, 0xe847030c_bbba_4657_af6d_484aa42bf1fe); +windows_core::imp::define_interface!(IBackgroundCopyJob5, IBackgroundCopyJob5_Vtbl, 0xe847030c_bbba_4657_af6d_484aa42bf1fe); windows_core::imp::interface_hierarchy!(IBackgroundCopyJob5, windows_core::IUnknown, IBackgroundCopyJob, IBackgroundCopyJob2, IBackgroundCopyJob3, IBackgroundCopyJob4); impl IBackgroundCopyJob5 { pub unsafe fn AddFileSet(&self, pfileset: &[BG_FILE_INFO]) -> windows_core::Result<()> { @@ -1635,7 +1635,7 @@ pub struct IBackgroundCopyJob5_Vtbl { pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, BITS_JOB_PROPERTY_ID, BITS_JOB_PROPERTY_VALUE) -> windows_core::HRESULT, pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, BITS_JOB_PROPERTY_ID, *mut BITS_JOB_PROPERTY_VALUE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyJobHttpOptions, IBackgroundCopyJobHttpOptions_Vtbl, 0xf1bd1079_9f01_4bdc_8036_f09b70095066); +windows_core::imp::define_interface!(IBackgroundCopyJobHttpOptions, IBackgroundCopyJobHttpOptions_Vtbl, 0xf1bd1079_9f01_4bdc_8036_f09b70095066); windows_core::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions, windows_core::IUnknown); impl IBackgroundCopyJobHttpOptions { pub unsafe fn SetClientCertificateByID(&self, storelocation: BG_CERT_STORE_LOCATION, storename: P0, pcerthashblob: &[u8; 20]) -> windows_core::Result<()> @@ -1687,7 +1687,7 @@ pub struct IBackgroundCopyJobHttpOptions_Vtbl { pub SetSecurityFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetSecurityFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyJobHttpOptions2, IBackgroundCopyJobHttpOptions2_Vtbl, 0xb591a192_a405_4fc3_8323_4c5c542578fc); +windows_core::imp::define_interface!(IBackgroundCopyJobHttpOptions2, IBackgroundCopyJobHttpOptions2_Vtbl, 0xb591a192_a405_4fc3_8323_4c5c542578fc); windows_core::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions2, windows_core::IUnknown, IBackgroundCopyJobHttpOptions); impl IBackgroundCopyJobHttpOptions2 { pub unsafe fn SetClientCertificateByID(&self, storelocation: BG_CERT_STORE_LOCATION, storename: P0, pcerthashblob: &[u8; 20]) -> windows_core::Result<()> @@ -1743,7 +1743,7 @@ pub struct IBackgroundCopyJobHttpOptions2_Vtbl { pub SetHttpMethod: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetHttpMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyJobHttpOptions3, IBackgroundCopyJobHttpOptions3_Vtbl, 0x8a9263d3_fd4c_4eda_9b28_30132a4d4e3c); +windows_core::imp::define_interface!(IBackgroundCopyJobHttpOptions3, IBackgroundCopyJobHttpOptions3_Vtbl, 0x8a9263d3_fd4c_4eda_9b28_30132a4d4e3c); windows_core::imp::interface_hierarchy!(IBackgroundCopyJobHttpOptions3, windows_core::IUnknown, IBackgroundCopyJobHttpOptions, IBackgroundCopyJobHttpOptions2); impl IBackgroundCopyJobHttpOptions3 { pub unsafe fn SetClientCertificateByID(&self, storelocation: BG_CERT_STORE_LOCATION, storename: P0, pcerthashblob: &[u8; 20]) -> windows_core::Result<()> @@ -1808,7 +1808,7 @@ pub struct IBackgroundCopyJobHttpOptions3_Vtbl { pub SetServerCertificateValidationInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub MakeCustomHeadersWriteOnly: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyManager, IBackgroundCopyManager_Vtbl, 0x5ce34c0d_0dc9_4c1f_897c_daa1b78cee7c); +windows_core::imp::define_interface!(IBackgroundCopyManager, IBackgroundCopyManager_Vtbl, 0x5ce34c0d_0dc9_4c1f_897c_daa1b78cee7c); windows_core::imp::interface_hierarchy!(IBackgroundCopyManager, windows_core::IUnknown); impl IBackgroundCopyManager { pub unsafe fn CreateJob(&self, displayname: P0, r#type: BG_JOB_TYPE, pjobid: *mut windows_core::GUID, ppjob: *mut Option) -> windows_core::Result<()> @@ -1838,7 +1838,7 @@ pub struct IBackgroundCopyManager_Vtbl { pub EnumJobs: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetErrorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyQMgr, IBackgroundCopyQMgr_Vtbl, 0x16f41c69_09f5_41d2_8cd8_3c08c47bc8a8); +windows_core::imp::define_interface!(IBackgroundCopyQMgr, IBackgroundCopyQMgr_Vtbl, 0x16f41c69_09f5_41d2_8cd8_3c08c47bc8a8); windows_core::imp::interface_hierarchy!(IBackgroundCopyQMgr, windows_core::IUnknown); impl IBackgroundCopyQMgr { pub unsafe fn CreateGroup(&self, guidgroupid: windows_core::GUID) -> windows_core::Result { @@ -1861,7 +1861,7 @@ pub struct IBackgroundCopyQMgr_Vtbl { pub GetGroup: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumGroups: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBackgroundCopyServerCertificateValidationCallback, IBackgroundCopyServerCertificateValidationCallback_Vtbl, 0x4cec0d02_def7_4158_813a_c32a46945ff7); +windows_core::imp::define_interface!(IBackgroundCopyServerCertificateValidationCallback, IBackgroundCopyServerCertificateValidationCallback_Vtbl, 0x4cec0d02_def7_4158_813a_c32a46945ff7); windows_core::imp::interface_hierarchy!(IBackgroundCopyServerCertificateValidationCallback, windows_core::IUnknown); impl IBackgroundCopyServerCertificateValidationCallback { pub unsafe fn ValidateServerCertificate(&self, job: P0, file: P1, certdata: &[u8], certencodingtype: u32, certstoredata: &[u8]) -> windows_core::Result<()> @@ -1877,7 +1877,7 @@ pub struct IBackgroundCopyServerCertificateValidationCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ValidateServerCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const u8, u32, u32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitsPeer, IBitsPeer_Vtbl, 0x659cdea2_489e_11d9_a9cd_000d56965251); +windows_core::imp::define_interface!(IBitsPeer, IBitsPeer_Vtbl, 0x659cdea2_489e_11d9_a9cd_000d56965251); windows_core::imp::interface_hierarchy!(IBitsPeer, windows_core::IUnknown); impl IBitsPeer { pub unsafe fn GetPeerName(&self) -> windows_core::Result { @@ -1900,7 +1900,7 @@ pub struct IBitsPeer_Vtbl { pub IsAuthenticated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitsPeerCacheAdministration, IBitsPeerCacheAdministration_Vtbl, 0x659cdead_489e_11d9_a9cd_000d56965251); +windows_core::imp::define_interface!(IBitsPeerCacheAdministration, IBitsPeerCacheAdministration_Vtbl, 0x659cdead_489e_11d9_a9cd_000d56965251); windows_core::imp::interface_hierarchy!(IBitsPeerCacheAdministration, windows_core::IUnknown); impl IBitsPeerCacheAdministration { pub unsafe fn GetMaximumCacheSize(&self) -> windows_core::Result { @@ -1973,7 +1973,7 @@ pub struct IBitsPeerCacheAdministration_Vtbl { pub ClearPeers: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DiscoverPeers: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitsPeerCacheRecord, IBitsPeerCacheRecord_Vtbl, 0x659cdeaf_489e_11d9_a9cd_000d56965251); +windows_core::imp::define_interface!(IBitsPeerCacheRecord, IBitsPeerCacheRecord_Vtbl, 0x659cdeaf_489e_11d9_a9cd_000d56965251); windows_core::imp::interface_hierarchy!(IBitsPeerCacheRecord, windows_core::IUnknown); impl IBitsPeerCacheRecord { pub unsafe fn GetId(&self) -> windows_core::Result { @@ -2014,7 +2014,7 @@ pub struct IBitsPeerCacheRecord_Vtbl { pub IsFileValidated: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFileRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut BG_FILE_RANGE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBitsTokenOptions, IBitsTokenOptions_Vtbl, 0x9a2584c3_f7d2_457a_9a5e_22b67bffc7d2); +windows_core::imp::define_interface!(IBitsTokenOptions, IBitsTokenOptions_Vtbl, 0x9a2584c3_f7d2_457a_9a5e_22b67bffc7d2); windows_core::imp::interface_hierarchy!(IBitsTokenOptions, windows_core::IUnknown); impl IBitsTokenOptions { pub unsafe fn SetHelperTokenFlags(&self, usageflags: BG_TOKEN) -> windows_core::Result<()> { @@ -2044,7 +2044,7 @@ pub struct IBitsTokenOptions_Vtbl { pub ClearHelperToken: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetHelperTokenSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumBackgroundCopyFiles, IEnumBackgroundCopyFiles_Vtbl, 0xca51e165_c365_424c_8d41_24aaa4ff3c40); +windows_core::imp::define_interface!(IEnumBackgroundCopyFiles, IEnumBackgroundCopyFiles_Vtbl, 0xca51e165_c365_424c_8d41_24aaa4ff3c40); windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyFiles, windows_core::IUnknown); impl IEnumBackgroundCopyFiles { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -2074,7 +2074,7 @@ pub struct IEnumBackgroundCopyFiles_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IEnumBackgroundCopyGroups, IEnumBackgroundCopyGroups_Vtbl, 0xd993e603_4aa4_47c5_8665_c20d39c2ba4f); +windows_core::imp::define_interface!(IEnumBackgroundCopyGroups, IEnumBackgroundCopyGroups_Vtbl, 0xd993e603_4aa4_47c5_8665_c20d39c2ba4f); windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyGroups, windows_core::IUnknown); impl IEnumBackgroundCopyGroups { pub unsafe fn Next(&self, rgelt: &mut [windows_core::GUID], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -2104,7 +2104,7 @@ pub struct IEnumBackgroundCopyGroups_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IEnumBackgroundCopyJobs, IEnumBackgroundCopyJobs_Vtbl, 0x1af4f612_3b71_466f_8f58_7b6f73ac57ad); +windows_core::imp::define_interface!(IEnumBackgroundCopyJobs, IEnumBackgroundCopyJobs_Vtbl, 0x1af4f612_3b71_466f_8f58_7b6f73ac57ad); windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyJobs, windows_core::IUnknown); impl IEnumBackgroundCopyJobs { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -2134,7 +2134,7 @@ pub struct IEnumBackgroundCopyJobs_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IEnumBackgroundCopyJobs1, IEnumBackgroundCopyJobs1_Vtbl, 0x8baeba9d_8f1c_42c4_b82c_09ae79980d25); +windows_core::imp::define_interface!(IEnumBackgroundCopyJobs1, IEnumBackgroundCopyJobs1_Vtbl, 0x8baeba9d_8f1c_42c4_b82c_09ae79980d25); windows_core::imp::interface_hierarchy!(IEnumBackgroundCopyJobs1, windows_core::IUnknown); impl IEnumBackgroundCopyJobs1 { pub unsafe fn Next(&self, rgelt: &mut [windows_core::GUID], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -2164,7 +2164,7 @@ pub struct IEnumBackgroundCopyJobs1_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IEnumBitsPeerCacheRecords, IEnumBitsPeerCacheRecords_Vtbl, 0x659cdea4_489e_11d9_a9cd_000d56965251); +windows_core::imp::define_interface!(IEnumBitsPeerCacheRecords, IEnumBitsPeerCacheRecords_Vtbl, 0x659cdea4_489e_11d9_a9cd_000d56965251); windows_core::imp::interface_hierarchy!(IEnumBitsPeerCacheRecords, windows_core::IUnknown); impl IEnumBitsPeerCacheRecords { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -2194,7 +2194,7 @@ pub struct IEnumBitsPeerCacheRecords_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IEnumBitsPeers, IEnumBitsPeers_Vtbl, 0x659cdea5_489e_11d9_a9cd_000d56965251); +windows_core::imp::define_interface!(IEnumBitsPeers, IEnumBitsPeers_Vtbl, 0x659cdea5_489e_11d9_a9cd_000d56965251); windows_core::imp::interface_hierarchy!(IEnumBitsPeers, windows_core::IUnknown); impl IEnumBitsPeers { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs index 1cb772b644..d6a3b9088e 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs @@ -3499,7 +3499,7 @@ where windows_targets::link!("clusapi.dll" "system" fn SetGroupDependencyExpressionEx(hgroup : HGROUP, lpszdependencyexpression : windows_core::PCWSTR, lpszreason : windows_core::PCWSTR) -> u32); SetGroupDependencyExpressionEx(hgroup.into_param().abi(), lpszdependencyexpression.into_param().abi(), lpszreason.into_param().abi()) } -windows_core::imp::com_interface!(IGetClusterDataInfo, IGetClusterDataInfo_Vtbl, 0x97dede51_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IGetClusterDataInfo, IGetClusterDataInfo_Vtbl, 0x97dede51_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IGetClusterDataInfo, windows_core::IUnknown); impl IGetClusterDataInfo { pub unsafe fn GetClusterName(&self, lpszname: &windows_core::BSTR, pcchname: *mut i32) -> windows_core::Result<()> { @@ -3519,7 +3519,7 @@ pub struct IGetClusterDataInfo_Vtbl { pub GetClusterHandle: unsafe extern "system" fn(*mut core::ffi::c_void) -> HCLUSTER, pub GetObjectCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> i32, } -windows_core::imp::com_interface!(IGetClusterGroupInfo, IGetClusterGroupInfo_Vtbl, 0x97dede54_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IGetClusterGroupInfo, IGetClusterGroupInfo_Vtbl, 0x97dede54_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IGetClusterGroupInfo, windows_core::IUnknown); impl IGetClusterGroupInfo { pub unsafe fn GetGroupHandle(&self, lobjindex: i32) -> HGROUP { @@ -3531,7 +3531,7 @@ pub struct IGetClusterGroupInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetGroupHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> HGROUP, } -windows_core::imp::com_interface!(IGetClusterNetInterfaceInfo, IGetClusterNetInterfaceInfo_Vtbl, 0x97dede57_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IGetClusterNetInterfaceInfo, IGetClusterNetInterfaceInfo_Vtbl, 0x97dede57_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IGetClusterNetInterfaceInfo, windows_core::IUnknown); impl IGetClusterNetInterfaceInfo { pub unsafe fn GetNetInterfaceHandle(&self, lobjindex: i32) -> HNETINTERFACE { @@ -3543,7 +3543,7 @@ pub struct IGetClusterNetInterfaceInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetNetInterfaceHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> HNETINTERFACE, } -windows_core::imp::com_interface!(IGetClusterNetworkInfo, IGetClusterNetworkInfo_Vtbl, 0x97dede56_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IGetClusterNetworkInfo, IGetClusterNetworkInfo_Vtbl, 0x97dede56_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IGetClusterNetworkInfo, windows_core::IUnknown); impl IGetClusterNetworkInfo { pub unsafe fn GetNetworkHandle(&self, lobjindex: i32) -> HNETWORK { @@ -3555,7 +3555,7 @@ pub struct IGetClusterNetworkInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetNetworkHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> HNETWORK, } -windows_core::imp::com_interface!(IGetClusterNodeInfo, IGetClusterNodeInfo_Vtbl, 0x97dede53_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IGetClusterNodeInfo, IGetClusterNodeInfo_Vtbl, 0x97dede53_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IGetClusterNodeInfo, windows_core::IUnknown); impl IGetClusterNodeInfo { pub unsafe fn GetNodeHandle(&self, lobjindex: i32) -> HNODE { @@ -3567,7 +3567,7 @@ pub struct IGetClusterNodeInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetNodeHandle: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> HNODE, } -windows_core::imp::com_interface!(IGetClusterObjectInfo, IGetClusterObjectInfo_Vtbl, 0x97dede52_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IGetClusterObjectInfo, IGetClusterObjectInfo_Vtbl, 0x97dede52_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IGetClusterObjectInfo, windows_core::IUnknown); impl IGetClusterObjectInfo { pub unsafe fn GetObjectName(&self, lobjindex: i32, lpszname: &windows_core::BSTR, pcchname: *mut i32) -> windows_core::Result<()> { @@ -3583,7 +3583,7 @@ pub struct IGetClusterObjectInfo_Vtbl { pub GetObjectName: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::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::com_interface!(IGetClusterResourceInfo, IGetClusterResourceInfo_Vtbl, 0x97dede55_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IGetClusterResourceInfo, IGetClusterResourceInfo_Vtbl, 0x97dede55_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IGetClusterResourceInfo, windows_core::IUnknown); impl IGetClusterResourceInfo { pub unsafe fn GetResourceHandle(&self, lobjindex: i32) -> HRESOURCE { @@ -3603,7 +3603,7 @@ pub struct IGetClusterResourceInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IGetClusterUIInfo, IGetClusterUIInfo_Vtbl, 0x97dede50_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IGetClusterUIInfo, IGetClusterUIInfo_Vtbl, 0x97dede50_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IGetClusterUIInfo, windows_core::IUnknown); impl IGetClusterUIInfo { pub unsafe fn GetClusterName(&self, lpszname: &windows_core::BSTR, pcchname: *mut i32) -> windows_core::Result<()> { @@ -3636,7 +3636,7 @@ pub struct IGetClusterUIInfo_Vtbl { GetIcon: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusApplication, ISClusApplication_Vtbl, 0xf2e606e6_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusApplication, ISClusApplication_Vtbl, 0xf2e606e6_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusApplication, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3681,7 +3681,7 @@ pub struct ISClusApplication_Vtbl { OpenCluster: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusCryptoKeys, ISClusCryptoKeys_Vtbl, 0xf2e6072c_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusCryptoKeys, ISClusCryptoKeys_Vtbl, 0xf2e6072c_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusCryptoKeys, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3729,7 +3729,7 @@ pub struct ISClusCryptoKeys_Vtbl { pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusDisk, ISClusDisk_Vtbl, 0xf2e60724_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusDisk, ISClusDisk_Vtbl, 0xf2e60724_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusDisk, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3769,7 +3769,7 @@ pub struct ISClusDisk_Vtbl { Partitions: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusDisks, ISClusDisks_Vtbl, 0xf2e60726_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusDisks, ISClusDisks_Vtbl, 0xf2e60726_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusDisks, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3803,7 +3803,7 @@ pub struct ISClusDisks_Vtbl { get_Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusNetInterface, ISClusNetInterface_Vtbl, 0xf2e606ee_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusNetInterface, ISClusNetInterface_Vtbl, 0xf2e606ee_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusNetInterface, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3875,7 +3875,7 @@ pub struct ISClusNetInterface_Vtbl { Cluster: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusNetInterfaces, ISClusNetInterfaces_Vtbl, 0xf2e606f0_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusNetInterfaces, ISClusNetInterfaces_Vtbl, 0xf2e606f0_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusNetInterfaces, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3913,7 +3913,7 @@ pub struct ISClusNetInterfaces_Vtbl { get_Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusNetwork, ISClusNetwork_Vtbl, 0xf2e606f2_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusNetwork, ISClusNetwork_Vtbl, 0xf2e606f2_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusNetwork, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4006,7 +4006,7 @@ pub struct ISClusNetwork_Vtbl { Cluster: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusNetworkNetInterfaces, ISClusNetworkNetInterfaces_Vtbl, 0xf2e606f6_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusNetworkNetInterfaces, ISClusNetworkNetInterfaces_Vtbl, 0xf2e606f6_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusNetworkNetInterfaces, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4044,7 +4044,7 @@ pub struct ISClusNetworkNetInterfaces_Vtbl { get_Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusNetworks, ISClusNetworks_Vtbl, 0xf2e606f4_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusNetworks, ISClusNetworks_Vtbl, 0xf2e606f4_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusNetworks, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4082,7 +4082,7 @@ pub struct ISClusNetworks_Vtbl { get_Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusNode, ISClusNode_Vtbl, 0xf2e606f8_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusNode, ISClusNode_Vtbl, 0xf2e606f8_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusNode, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4189,7 +4189,7 @@ pub struct ISClusNode_Vtbl { NetInterfaces: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusNodeNetInterfaces, ISClusNodeNetInterfaces_Vtbl, 0xf2e606fc_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusNodeNetInterfaces, ISClusNodeNetInterfaces_Vtbl, 0xf2e606fc_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusNodeNetInterfaces, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4227,7 +4227,7 @@ pub struct ISClusNodeNetInterfaces_Vtbl { get_Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusNodes, ISClusNodes_Vtbl, 0xf2e606fa_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusNodes, ISClusNodes_Vtbl, 0xf2e606fa_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusNodes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4265,7 +4265,7 @@ pub struct ISClusNodes_Vtbl { get_Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusPartition, ISClusPartition_Vtbl, 0xf2e60720_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusPartition, ISClusPartition_Vtbl, 0xf2e60720_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusPartition, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4312,7 +4312,7 @@ pub struct ISClusPartition_Vtbl { pub FileSystem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusPartitionEx, ISClusPartitionEx_Vtbl, 0x8802d4fe_b32e_4ad1_9dbd_64f18e1166ce); +windows_core::imp::define_interface!(ISClusPartitionEx, ISClusPartitionEx_Vtbl, 0x8802d4fe_b32e_4ad1_9dbd_64f18e1166ce); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusPartitionEx, windows_core::IUnknown, super::super::System::Com::IDispatch, ISClusPartition); #[cfg(feature = "Win32_System_Com")] @@ -4377,7 +4377,7 @@ pub struct ISClusPartitionEx_Vtbl { pub VolumeGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusPartitions, ISClusPartitions_Vtbl, 0xf2e60722_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusPartitions, ISClusPartitions_Vtbl, 0xf2e60722_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusPartitions, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4411,7 +4411,7 @@ pub struct ISClusPartitions_Vtbl { get_Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusProperties, ISClusProperties_Vtbl, 0xf2e60700_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusProperties, ISClusProperties_Vtbl, 0xf2e60700_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusProperties, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4494,7 +4494,7 @@ pub struct ISClusProperties_Vtbl { pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusProperty, ISClusProperty_Vtbl, 0xf2e606fe_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusProperty, ISClusProperty_Vtbl, 0xf2e606fe_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusProperty, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4584,7 +4584,7 @@ pub struct ISClusProperty_Vtbl { pub UseDefaultValue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusPropertyValue, ISClusPropertyValue_Vtbl, 0xf2e6071a_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusPropertyValue, ISClusPropertyValue_Vtbl, 0xf2e6071a_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusPropertyValue, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4645,7 +4645,7 @@ pub struct ISClusPropertyValue_Vtbl { Data: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusPropertyValueData, ISClusPropertyValueData_Vtbl, 0xf2e6071e_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusPropertyValueData, ISClusPropertyValueData_Vtbl, 0xf2e6071e_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusPropertyValueData, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4690,7 +4690,7 @@ pub struct ISClusPropertyValueData_Vtbl { pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusPropertyValues, ISClusPropertyValues_Vtbl, 0xf2e6071c_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusPropertyValues, ISClusPropertyValues_Vtbl, 0xf2e6071c_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusPropertyValues, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4744,7 +4744,7 @@ pub struct ISClusPropertyValues_Vtbl { pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusRefObject, ISClusRefObject_Vtbl, 0xf2e60702_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusRefObject, ISClusRefObject_Vtbl, 0xf2e60702_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusRefObject, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4761,7 +4761,7 @@ pub struct ISClusRefObject_Vtbl { pub Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusRegistryKeys, ISClusRegistryKeys_Vtbl, 0xf2e6072a_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusRegistryKeys, ISClusRegistryKeys_Vtbl, 0xf2e6072a_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusRegistryKeys, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4809,7 +4809,7 @@ pub struct ISClusRegistryKeys_Vtbl { pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResDependencies, ISClusResDependencies_Vtbl, 0xf2e60704_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResDependencies, ISClusResDependencies_Vtbl, 0xf2e60704_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResDependencies, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4885,7 +4885,7 @@ pub struct ISClusResDependencies_Vtbl { pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResDependents, ISClusResDependents_Vtbl, 0xf2e6072e_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResDependents, ISClusResDependents_Vtbl, 0xf2e6072e_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResDependents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4961,7 +4961,7 @@ pub struct ISClusResDependents_Vtbl { pub RemoveItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResGroup, ISClusResGroup_Vtbl, 0xf2e60706_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResGroup, ISClusResGroup_Vtbl, 0xf2e60706_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResGroup, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5097,7 +5097,7 @@ pub struct ISClusResGroup_Vtbl { Cluster: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResGroupPreferredOwnerNodes, ISClusResGroupPreferredOwnerNodes_Vtbl, 0xf2e606e8_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResGroupPreferredOwnerNodes, ISClusResGroupPreferredOwnerNodes_Vtbl, 0xf2e606e8_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResGroupPreferredOwnerNodes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5173,7 +5173,7 @@ pub struct ISClusResGroupPreferredOwnerNodes_Vtbl { AddItem: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResGroupResources, ISClusResGroupResources_Vtbl, 0xf2e606ea_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResGroupResources, ISClusResGroupResources_Vtbl, 0xf2e606ea_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResGroupResources, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5231,7 +5231,7 @@ pub struct ISClusResGroupResources_Vtbl { pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResGroups, ISClusResGroups_Vtbl, 0xf2e60708_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResGroups, ISClusResGroups_Vtbl, 0xf2e60708_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResGroups, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5288,7 +5288,7 @@ pub struct ISClusResGroups_Vtbl { pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResPossibleOwnerNodes, ISClusResPossibleOwnerNodes_Vtbl, 0xf2e6070e_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResPossibleOwnerNodes, ISClusResPossibleOwnerNodes_Vtbl, 0xf2e6070e_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResPossibleOwnerNodes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5349,7 +5349,7 @@ pub struct ISClusResPossibleOwnerNodes_Vtbl { pub Modified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResType, ISClusResType_Vtbl, 0xf2e60710_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResType, ISClusResType_Vtbl, 0xf2e60710_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResType, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5442,7 +5442,7 @@ pub struct ISClusResType_Vtbl { AvailableDisks: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResTypePossibleOwnerNodes, ISClusResTypePossibleOwnerNodes_Vtbl, 0xf2e60718_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResTypePossibleOwnerNodes, ISClusResTypePossibleOwnerNodes_Vtbl, 0xf2e60718_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResTypePossibleOwnerNodes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5480,7 +5480,7 @@ pub struct ISClusResTypePossibleOwnerNodes_Vtbl { get_Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResTypeResources, ISClusResTypeResources_Vtbl, 0xf2e60714_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResTypeResources, ISClusResTypeResources_Vtbl, 0xf2e60714_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResTypeResources, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5538,7 +5538,7 @@ pub struct ISClusResTypeResources_Vtbl { pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResTypes, ISClusResTypes_Vtbl, 0xf2e60712_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResTypes, ISClusResTypes_Vtbl, 0xf2e60712_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResTypes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5597,7 +5597,7 @@ pub struct ISClusResTypes_Vtbl { pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResource, ISClusResource_Vtbl, 0xf2e6070a_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResource, ISClusResource_Vtbl, 0xf2e6070a_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResource, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5854,7 +5854,7 @@ pub struct ISClusResource_Vtbl { pub SetMaintenanceMode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusResources, ISClusResources_Vtbl, 0xf2e6070c_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusResources, ISClusResources_Vtbl, 0xf2e6070c_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusResources, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5913,7 +5913,7 @@ pub struct ISClusResources_Vtbl { pub DeleteItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusScsiAddress, ISClusScsiAddress_Vtbl, 0xf2e60728_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusScsiAddress, ISClusScsiAddress_Vtbl, 0xf2e60728_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusScsiAddress, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5945,7 +5945,7 @@ pub struct ISClusScsiAddress_Vtbl { pub Lun: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusVersion, ISClusVersion_Vtbl, 0xf2e60716_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusVersion, ISClusVersion_Vtbl, 0xf2e60716_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusVersion, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6007,7 +6007,7 @@ pub struct ISClusVersion_Vtbl { pub MixedVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISCluster, ISCluster_Vtbl, 0xf2e606e4_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISCluster, ISCluster_Vtbl, 0xf2e606e4_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISCluster, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6183,7 +6183,7 @@ pub struct ISCluster_Vtbl { NetInterfaces: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISClusterNames, ISClusterNames_Vtbl, 0xf2e606ec_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISClusterNames, ISClusterNames_Vtbl, 0xf2e606ec_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISClusterNames, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6222,7 +6222,7 @@ pub struct ISClusterNames_Vtbl { pub DomainName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISDomainNames, ISDomainNames_Vtbl, 0xf2e606e2_2631_11d1_89f1_00a0c90d061e); +windows_core::imp::define_interface!(ISDomainNames, ISDomainNames_Vtbl, 0xf2e606e2_2631_11d1_89f1_00a0c90d061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISDomainNames, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6255,7 +6255,7 @@ pub struct ISDomainNames_Vtbl { 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, } -windows_core::imp::com_interface!(IWCContextMenuCallback, IWCContextMenuCallback_Vtbl, 0x97dede64_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IWCContextMenuCallback, IWCContextMenuCallback_Vtbl, 0x97dede64_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IWCContextMenuCallback, windows_core::IUnknown); impl IWCContextMenuCallback { pub unsafe fn AddExtensionMenuItem(&self, lpszname: P0, lpszstatusbartext: P1, ncommandid: u32, nsubmenucommandid: u32, uflags: u32) -> windows_core::Result<()> @@ -6271,7 +6271,7 @@ 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, } -windows_core::imp::com_interface!(IWCPropertySheetCallback, IWCPropertySheetCallback_Vtbl, 0x97dede60_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IWCPropertySheetCallback, IWCPropertySheetCallback_Vtbl, 0x97dede60_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IWCPropertySheetCallback, windows_core::IUnknown); impl IWCPropertySheetCallback { pub unsafe fn AddPropertySheetPage(&self, hpage: *const i32) -> windows_core::Result<()> { @@ -6283,7 +6283,7 @@ pub struct IWCPropertySheetCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AddPropertySheetPage: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWCWizard97Callback, IWCWizard97Callback_Vtbl, 0x97dede67_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IWCWizard97Callback, IWCWizard97Callback_Vtbl, 0x97dede67_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IWCWizard97Callback, windows_core::IUnknown); impl IWCWizard97Callback { pub unsafe fn AddWizard97Page(&self, hpage: *const i32) -> windows_core::Result<()> { @@ -6302,7 +6302,7 @@ pub struct IWCWizard97Callback_Vtbl { pub AddWizard97Page: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32) -> windows_core::HRESULT, pub EnableNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWCWizardCallback, IWCWizardCallback_Vtbl, 0x97dede62_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IWCWizardCallback, IWCWizardCallback_Vtbl, 0x97dede62_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IWCWizardCallback, windows_core::IUnknown); impl IWCWizardCallback { pub unsafe fn AddWizardPage(&self, hpage: *const i32) -> windows_core::Result<()> { @@ -6321,7 +6321,7 @@ pub struct IWCWizardCallback_Vtbl { pub AddWizardPage: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32) -> windows_core::HRESULT, pub EnableNext: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWEExtendContextMenu, IWEExtendContextMenu_Vtbl, 0x97dede65_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IWEExtendContextMenu, IWEExtendContextMenu_Vtbl, 0x97dede65_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IWEExtendContextMenu, windows_core::IUnknown); impl IWEExtendContextMenu { pub unsafe fn AddContextMenuItems(&self, pidata: P0, picallback: P1) -> windows_core::Result<()> @@ -6337,7 +6337,7 @@ pub struct IWEExtendContextMenu_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AddContextMenuItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWEExtendPropertySheet, IWEExtendPropertySheet_Vtbl, 0x97dede61_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IWEExtendPropertySheet, IWEExtendPropertySheet_Vtbl, 0x97dede61_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IWEExtendPropertySheet, windows_core::IUnknown); impl IWEExtendPropertySheet { pub unsafe fn CreatePropertySheetPages(&self, pidata: P0, picallback: P1) -> windows_core::Result<()> @@ -6353,7 +6353,7 @@ pub struct IWEExtendPropertySheet_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreatePropertySheetPages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWEExtendWizard, IWEExtendWizard_Vtbl, 0x97dede63_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IWEExtendWizard, IWEExtendWizard_Vtbl, 0x97dede63_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IWEExtendWizard, windows_core::IUnknown); impl IWEExtendWizard { pub unsafe fn CreateWizardPages(&self, pidata: P0, picallback: P1) -> windows_core::Result<()> @@ -6369,7 +6369,7 @@ pub struct IWEExtendWizard_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateWizardPages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWEExtendWizard97, IWEExtendWizard97_Vtbl, 0x97dede68_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IWEExtendWizard97, IWEExtendWizard97_Vtbl, 0x97dede68_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IWEExtendWizard97, windows_core::IUnknown); impl IWEExtendWizard97 { pub unsafe fn CreateWizard97Pages(&self, pidata: P0, picallback: P1) -> windows_core::Result<()> @@ -6385,7 +6385,7 @@ pub struct IWEExtendWizard97_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateWizard97Pages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWEInvokeCommand, IWEInvokeCommand_Vtbl, 0x97dede66_fc6b_11cf_b5f5_00a0c90ab505); +windows_core::imp::define_interface!(IWEInvokeCommand, IWEInvokeCommand_Vtbl, 0x97dede66_fc6b_11cf_b5f5_00a0c90ab505); windows_core::imp::interface_hierarchy!(IWEInvokeCommand, windows_core::IUnknown); impl IWEInvokeCommand { pub unsafe fn InvokeCommand(&self, ncommandid: u32, pidata: P0) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs index 273213787c..206e2130d3 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IEnumNetworkConnections, IEnumNetworkConnections_Vtbl, 0xdcb00006_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(IEnumNetworkConnections, IEnumNetworkConnections_Vtbl, 0xdcb00006_570f_4a9b_8d69_199fdba5723b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IEnumNetworkConnections, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -45,7 +45,7 @@ pub struct IEnumNetworkConnections_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IEnumNetworks, IEnumNetworks_Vtbl, 0xdcb00003_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(IEnumNetworks, IEnumNetworks_Vtbl, 0xdcb00003_570f_4a9b_8d69_199fdba5723b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IEnumNetworks, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -91,7 +91,7 @@ pub struct IEnumNetworks_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetwork, INetwork_Vtbl, 0xdcb00002_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(INetwork, INetwork_Vtbl, 0xdcb00002_570f_4a9b_8d69_199fdba5723b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetwork, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -174,7 +174,7 @@ pub struct INetwork_Vtbl { pub SetCategory: unsafe extern "system" fn(*mut core::ffi::c_void, NLM_NETWORK_CATEGORY) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetwork2, INetwork2_Vtbl, 0xb5550abb_3391_4310_804f_25dcc325ed81); +windows_core::imp::define_interface!(INetwork2, INetwork2_Vtbl, 0xb5550abb_3391_4310_804f_25dcc325ed81); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetwork2, windows_core::IUnknown, super::super::System::Com::IDispatch, INetwork); #[cfg(feature = "Win32_System_Com")] @@ -246,7 +246,7 @@ pub struct INetwork2_Vtbl { pub IsDomainAuthenticatedBy: unsafe extern "system" fn(*mut core::ffi::c_void, NLM_DOMAIN_AUTHENTICATION_KIND, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetworkConnection, INetworkConnection_Vtbl, 0xdcb00005_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(INetworkConnection, INetworkConnection_Vtbl, 0xdcb00005_570f_4a9b_8d69_199fdba5723b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetworkConnection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -297,7 +297,7 @@ pub struct INetworkConnection_Vtbl { pub GetDomainType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NLM_DOMAIN_TYPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetworkConnection2, INetworkConnection2_Vtbl, 0x00e676ed_5a35_4738_92eb_8581738d0f0a); +windows_core::imp::define_interface!(INetworkConnection2, INetworkConnection2_Vtbl, 0x00e676ed_5a35_4738_92eb_8581738d0f0a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetworkConnection2, windows_core::IUnknown, super::super::System::Com::IDispatch, INetworkConnection); #[cfg(feature = "Win32_System_Com")] @@ -342,7 +342,7 @@ pub struct INetworkConnection2_Vtbl { pub base__: INetworkConnection_Vtbl, pub IsDomainAuthenticatedBy: unsafe extern "system" fn(*mut core::ffi::c_void, NLM_DOMAIN_AUTHENTICATION_KIND, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkConnectionCost, INetworkConnectionCost_Vtbl, 0xdcb0000a_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(INetworkConnectionCost, INetworkConnectionCost_Vtbl, 0xdcb0000a_570f_4a9b_8d69_199fdba5723b); windows_core::imp::interface_hierarchy!(INetworkConnectionCost, windows_core::IUnknown); impl INetworkConnectionCost { pub unsafe fn GetCost(&self) -> windows_core::Result { @@ -359,7 +359,7 @@ pub struct INetworkConnectionCost_Vtbl { pub GetCost: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetDataPlanStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NLM_DATAPLAN_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkConnectionCostEvents, INetworkConnectionCostEvents_Vtbl, 0xdcb0000b_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(INetworkConnectionCostEvents, INetworkConnectionCostEvents_Vtbl, 0xdcb0000b_570f_4a9b_8d69_199fdba5723b); windows_core::imp::interface_hierarchy!(INetworkConnectionCostEvents, windows_core::IUnknown); impl INetworkConnectionCostEvents { pub unsafe fn ConnectionCostChanged(&self, connectionid: windows_core::GUID, newcost: u32) -> windows_core::Result<()> { @@ -375,7 +375,7 @@ pub struct INetworkConnectionCostEvents_Vtbl { pub ConnectionCostChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32) -> windows_core::HRESULT, pub ConnectionDataPlanStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkConnectionEvents, INetworkConnectionEvents_Vtbl, 0xdcb00007_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(INetworkConnectionEvents, INetworkConnectionEvents_Vtbl, 0xdcb00007_570f_4a9b_8d69_199fdba5723b); windows_core::imp::interface_hierarchy!(INetworkConnectionEvents, windows_core::IUnknown); impl INetworkConnectionEvents { pub unsafe fn NetworkConnectionConnectivityChanged(&self, connectionid: windows_core::GUID, newconnectivity: NLM_CONNECTIVITY) -> windows_core::Result<()> { @@ -391,7 +391,7 @@ pub struct INetworkConnectionEvents_Vtbl { pub NetworkConnectionConnectivityChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, NLM_CONNECTIVITY) -> windows_core::HRESULT, pub NetworkConnectionPropertyChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, NLM_CONNECTION_PROPERTY_CHANGE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkCostManager, INetworkCostManager_Vtbl, 0xdcb00008_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(INetworkCostManager, INetworkCostManager_Vtbl, 0xdcb00008_570f_4a9b_8d69_199fdba5723b); windows_core::imp::interface_hierarchy!(INetworkCostManager, windows_core::IUnknown); impl INetworkCostManager { pub unsafe fn GetCost(&self, pcost: *mut u32, pdestipaddr: *const NLM_SOCKADDR) -> windows_core::Result<()> { @@ -414,7 +414,7 @@ pub struct INetworkCostManager_Vtbl { pub GetDataPlanStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut NLM_DATAPLAN_STATUS, *const NLM_SOCKADDR) -> windows_core::HRESULT, pub SetDestinationAddresses: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const NLM_SOCKADDR, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkCostManagerEvents, INetworkCostManagerEvents_Vtbl, 0xdcb00009_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(INetworkCostManagerEvents, INetworkCostManagerEvents_Vtbl, 0xdcb00009_570f_4a9b_8d69_199fdba5723b); windows_core::imp::interface_hierarchy!(INetworkCostManagerEvents, windows_core::IUnknown); impl INetworkCostManagerEvents { pub unsafe fn CostChanged(&self, newcost: u32, pdestaddr: *const NLM_SOCKADDR) -> windows_core::Result<()> { @@ -430,7 +430,7 @@ pub struct INetworkCostManagerEvents_Vtbl { pub CostChanged: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const NLM_SOCKADDR) -> windows_core::HRESULT, pub DataPlanStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *const NLM_SOCKADDR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkEvents, INetworkEvents_Vtbl, 0xdcb00004_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(INetworkEvents, INetworkEvents_Vtbl, 0xdcb00004_570f_4a9b_8d69_199fdba5723b); windows_core::imp::interface_hierarchy!(INetworkEvents, windows_core::IUnknown); impl INetworkEvents { pub unsafe fn NetworkAdded(&self, networkid: windows_core::GUID) -> windows_core::Result<()> { @@ -455,7 +455,7 @@ pub struct INetworkEvents_Vtbl { pub NetworkPropertyChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, NLM_NETWORK_PROPERTY_CHANGE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetworkListManager, INetworkListManager_Vtbl, 0xdcb00000_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(INetworkListManager, INetworkListManager_Vtbl, 0xdcb00000_570f_4a9b_8d69_199fdba5723b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetworkListManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -525,7 +525,7 @@ pub struct INetworkListManager_Vtbl { pub SetSimulatedProfileInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const NLM_SIMULATED_PROFILE_INFO) -> windows_core::HRESULT, pub ClearSimulatedProfileInfo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkListManagerEvents, INetworkListManagerEvents_Vtbl, 0xdcb00001_570f_4a9b_8d69_199fdba5723b); +windows_core::imp::define_interface!(INetworkListManagerEvents, INetworkListManagerEvents_Vtbl, 0xdcb00001_570f_4a9b_8d69_199fdba5723b); windows_core::imp::interface_hierarchy!(INetworkListManagerEvents, windows_core::IUnknown); impl INetworkListManagerEvents { pub unsafe fn ConnectivityChanged(&self, newconnectivity: NLM_CONNECTIVITY) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs index 41020327a0..02854f2637 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IFindSimilarResults, IFindSimilarResults_Vtbl, 0x96236a81_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(IFindSimilarResults, IFindSimilarResults_Vtbl, 0x96236a81_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(IFindSimilarResults, windows_core::IUnknown); impl IFindSimilarResults { pub unsafe fn GetSize(&self) -> windows_core::Result { @@ -15,7 +15,7 @@ pub struct IFindSimilarResults_Vtbl { pub GetSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetNextFileId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut SimilarityFileId) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRdcComparator, IRdcComparator_Vtbl, 0x96236a77_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(IRdcComparator, IRdcComparator_Vtbl, 0x96236a77_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(IRdcComparator, windows_core::IUnknown); impl IRdcComparator { pub unsafe fn Process(&self, endofinput: P0, endofoutput: *mut super::super::Foundation::BOOL, inputbuffer: *mut RdcBufferPointer, outputbuffer: *mut RdcNeedPointer, rdc_errorcode: *mut RDC_ErrorCode) -> windows_core::Result<()> @@ -30,7 +30,7 @@ pub struct IRdcComparator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Process: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL, *mut RdcBufferPointer, *mut RdcNeedPointer, *mut RDC_ErrorCode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRdcFileReader, IRdcFileReader_Vtbl, 0x96236a74_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(IRdcFileReader, IRdcFileReader_Vtbl, 0x96236a74_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(IRdcFileReader, windows_core::IUnknown); impl IRdcFileReader { pub unsafe fn GetFileSize(&self) -> windows_core::Result { @@ -52,7 +52,7 @@ pub struct IRdcFileReader_Vtbl { pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, *mut u32, *mut u8, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetFilePosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRdcFileWriter, IRdcFileWriter_Vtbl, 0x96236a75_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(IRdcFileWriter, IRdcFileWriter_Vtbl, 0x96236a75_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(IRdcFileWriter, windows_core::IUnknown, IRdcFileReader); impl IRdcFileWriter { pub unsafe fn GetFileSize(&self) -> windows_core::Result { @@ -84,7 +84,7 @@ pub struct IRdcFileWriter_Vtbl { pub Truncate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteOnClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRdcGenerator, IRdcGenerator_Vtbl, 0x96236a73_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(IRdcGenerator, IRdcGenerator_Vtbl, 0x96236a73_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(IRdcGenerator, windows_core::IUnknown); impl IRdcGenerator { pub unsafe fn GetGeneratorParameters(&self, level: u32) -> windows_core::Result { @@ -104,7 +104,7 @@ pub struct IRdcGenerator_Vtbl { pub GetGeneratorParameters: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Process: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL, *mut RdcBufferPointer, u32, *mut *mut RdcBufferPointer, *mut RDC_ErrorCode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRdcGeneratorFilterMaxParameters, IRdcGeneratorFilterMaxParameters_Vtbl, 0x96236a72_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(IRdcGeneratorFilterMaxParameters, IRdcGeneratorFilterMaxParameters_Vtbl, 0x96236a72_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(IRdcGeneratorFilterMaxParameters, windows_core::IUnknown); impl IRdcGeneratorFilterMaxParameters { pub unsafe fn GetHorizonSize(&self) -> windows_core::Result { @@ -130,7 +130,7 @@ pub struct IRdcGeneratorFilterMaxParameters_Vtbl { pub GetHashWindowSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetHashWindowSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRdcGeneratorParameters, IRdcGeneratorParameters_Vtbl, 0x96236a71_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(IRdcGeneratorParameters, IRdcGeneratorParameters_Vtbl, 0x96236a71_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(IRdcGeneratorParameters, windows_core::IUnknown); impl IRdcGeneratorParameters { pub unsafe fn GetGeneratorParametersType(&self) -> windows_core::Result { @@ -156,7 +156,7 @@ pub struct IRdcGeneratorParameters_Vtbl { pub GetSerializeSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRdcLibrary, IRdcLibrary_Vtbl, 0x96236a78_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(IRdcLibrary, IRdcLibrary_Vtbl, 0x96236a78_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(IRdcLibrary, windows_core::IUnknown); impl IRdcLibrary { pub unsafe fn ComputeDefaultRecursionDepth(&self, filesize: u64) -> windows_core::Result { @@ -204,7 +204,7 @@ pub struct IRdcLibrary_Vtbl { pub CreateSignatureReader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRDCVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRdcSignatureReader, IRdcSignatureReader_Vtbl, 0x96236a76_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(IRdcSignatureReader, IRdcSignatureReader_Vtbl, 0x96236a76_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(IRdcSignatureReader, windows_core::IUnknown); impl IRdcSignatureReader { pub unsafe fn ReadHeader(&self) -> windows_core::Result { @@ -221,7 +221,7 @@ pub struct IRdcSignatureReader_Vtbl { pub ReadHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RDC_ErrorCode) -> windows_core::HRESULT, pub ReadSignatures: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RdcSignaturePointer, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRdcSimilarityGenerator, IRdcSimilarityGenerator_Vtbl, 0x96236a80_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(IRdcSimilarityGenerator, IRdcSimilarityGenerator_Vtbl, 0x96236a80_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(IRdcSimilarityGenerator, windows_core::IUnknown); impl IRdcSimilarityGenerator { pub unsafe fn EnableSimilarity(&self) -> windows_core::Result<()> { @@ -238,7 +238,7 @@ pub struct IRdcSimilarityGenerator_Vtbl { pub EnableSimilarity: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Results: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SimilarityData) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimilarity, ISimilarity_Vtbl, 0x96236a83_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(ISimilarity, ISimilarity_Vtbl, 0x96236a83_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(ISimilarity, windows_core::IUnknown); impl ISimilarity { pub unsafe fn CreateTable(&self, path: P0, truncate: P1, securitydescriptor: *const u8, recordsize: u32) -> windows_core::Result @@ -294,7 +294,7 @@ pub struct ISimilarity_Vtbl { pub CopyAndSwap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRecordCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimilarityFileIdTable, ISimilarityFileIdTable_Vtbl, 0x96236a7f_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(ISimilarityFileIdTable, ISimilarityFileIdTable_Vtbl, 0x96236a7f_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(ISimilarityFileIdTable, windows_core::IUnknown); impl ISimilarityFileIdTable { pub unsafe fn CreateTable(&self, path: P0, truncate: P1, securitydescriptor: *const u8, recordsize: u32) -> windows_core::Result @@ -345,7 +345,7 @@ pub struct ISimilarityFileIdTable_Vtbl { pub Invalidate: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetRecordCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimilarityReportProgress, ISimilarityReportProgress_Vtbl, 0x96236a7a_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(ISimilarityReportProgress, ISimilarityReportProgress_Vtbl, 0x96236a7a_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(ISimilarityReportProgress, windows_core::IUnknown); impl ISimilarityReportProgress { pub unsafe fn ReportProgress(&self, percentcompleted: u32) -> windows_core::Result<()> { @@ -357,7 +357,7 @@ pub struct ISimilarityReportProgress_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ReportProgress: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimilarityTableDumpState, ISimilarityTableDumpState_Vtbl, 0x96236a7b_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(ISimilarityTableDumpState, ISimilarityTableDumpState_Vtbl, 0x96236a7b_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(ISimilarityTableDumpState, windows_core::IUnknown); impl ISimilarityTableDumpState { pub unsafe fn GetNextData(&self, resultssize: u32, resultsused: *mut u32, eof: *mut super::super::Foundation::BOOL, results: *mut SimilarityDumpData) -> windows_core::Result<()> { @@ -369,7 +369,7 @@ pub struct ISimilarityTableDumpState_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetNextData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut super::super::Foundation::BOOL, *mut SimilarityDumpData) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimilarityTraitsMappedView, ISimilarityTraitsMappedView_Vtbl, 0x96236a7c_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(ISimilarityTraitsMappedView, ISimilarityTraitsMappedView_Vtbl, 0x96236a7c_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(ISimilarityTraitsMappedView, windows_core::IUnknown); impl ISimilarityTraitsMappedView { pub unsafe fn Flush(&self) -> windows_core::Result<()> { @@ -397,7 +397,7 @@ pub struct ISimilarityTraitsMappedView_Vtbl { pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, u64, super::super::Foundation::BOOL, u32, *mut SimilarityMappedViewInfo) -> windows_core::HRESULT, pub GetView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut *mut u8), } -windows_core::imp::com_interface!(ISimilarityTraitsMapping, ISimilarityTraitsMapping_Vtbl, 0x96236a7d_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(ISimilarityTraitsMapping, ISimilarityTraitsMapping_Vtbl, 0x96236a7d_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(ISimilarityTraitsMapping, windows_core::IUnknown); impl ISimilarityTraitsMapping { pub unsafe fn CloseMapping(&self) { @@ -439,7 +439,7 @@ pub struct ISimilarityTraitsMapping_Vtbl { pub GetPageSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32), pub CreateView: unsafe extern "system" fn(*mut core::ffi::c_void, u32, RdcMappingAccessMode, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimilarityTraitsTable, ISimilarityTraitsTable_Vtbl, 0x96236a7e_9dbc_11da_9e3f_0011114ae311); +windows_core::imp::define_interface!(ISimilarityTraitsTable, ISimilarityTraitsTable_Vtbl, 0x96236a7e_9dbc_11da_9e3f_0011114ae311); windows_core::imp::interface_hierarchy!(ISimilarityTraitsTable, windows_core::IUnknown); impl ISimilarityTraitsTable { pub unsafe fn CreateTable(&self, path: P0, truncate: P1, securitydescriptor: *const u8) -> windows_core::Result 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 ceffa2e0a7..2a3046cf7d 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/mod.rs @@ -323,7 +323,7 @@ where WinHttpWriteProxySettings(hsession, fforceupdate.into_param().abi(), pwinhttpproxysettings) } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWinHttpRequest, IWinHttpRequest_Vtbl, 0x016fe2ec_b2c8_45f8_b23b_39e53a75396b); +windows_core::imp::define_interface!(IWinHttpRequest, IWinHttpRequest_Vtbl, 0x016fe2ec_b2c8_45f8_b23b_39e53a75396b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWinHttpRequest, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -451,7 +451,7 @@ pub struct IWinHttpRequest_Vtbl { pub SetClientCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, pub SetAutoLogonPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, WinHttpRequestAutoLogonPolicy) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWinHttpRequestEvents, IWinHttpRequestEvents_Vtbl, 0xf97f4e15_b787_4212_80d1_d380cbbf982e); +windows_core::imp::define_interface!(IWinHttpRequestEvents, IWinHttpRequestEvents_Vtbl, 0xf97f4e15_b787_4212_80d1_d380cbbf982e); windows_core::imp::interface_hierarchy!(IWinHttpRequestEvents, windows_core::IUnknown); impl IWinHttpRequestEvents { pub unsafe fn OnResponseStart(&self, status: i32, contenttype: P0) 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 7a50be8a71..bbb71ca5ac 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs @@ -2134,7 +2134,7 @@ where windows_targets::link!("wininet.dll" "system" fn UrlCacheUpdateEntryExtraData(happcache : *const core::ffi::c_void, pcwszurl : windows_core::PCWSTR, pbextradata : *const u8, cbextradata : u32) -> u32); UrlCacheUpdateEntryExtraData(core::mem::transmute(happcache.unwrap_or(std::ptr::null())), pcwszurl.into_param().abi(), core::mem::transmute(pbextradata.as_ptr()), pbextradata.len().try_into().unwrap()) } -windows_core::imp::com_interface!(IDialBranding, IDialBranding_Vtbl, 0x8aecafa9_4306_43cc_8c5a_765f2979cc16); +windows_core::imp::define_interface!(IDialBranding, IDialBranding_Vtbl, 0x8aecafa9_4306_43cc_8c5a_765f2979cc16); windows_core::imp::interface_hierarchy!(IDialBranding, windows_core::IUnknown); impl IDialBranding { pub unsafe fn Initialize(&self, pwzconnectoid: P0) -> windows_core::Result<()> @@ -2158,7 +2158,7 @@ pub struct IDialBranding_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetBitmap: usize, } -windows_core::imp::com_interface!(IDialEngine, IDialEngine_Vtbl, 0x39fd782b_7905_40d5_9148_3c9b190423d5); +windows_core::imp::define_interface!(IDialEngine, IDialEngine_Vtbl, 0x39fd782b_7905_40d5_9148_3c9b190423d5); windows_core::imp::interface_hierarchy!(IDialEngine, windows_core::IUnknown); impl IDialEngine { pub unsafe fn Initialize(&self, pwzconnectoid: P0, pides: P1) -> windows_core::Result<()> @@ -2208,7 +2208,7 @@ pub struct IDialEngine_Vtbl { pub GetConnectedState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetConnectHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDialEventSink, IDialEventSink_Vtbl, 0x2d86f4ff_6e2d_4488_b2e9_6934afd41bea); +windows_core::imp::define_interface!(IDialEventSink, IDialEventSink_Vtbl, 0x2d86f4ff_6e2d_4488_b2e9_6934afd41bea); windows_core::imp::interface_hierarchy!(IDialEventSink, windows_core::IUnknown); impl IDialEventSink { pub unsafe fn OnEvent(&self, dwevent: u32, dwstatus: u32) -> windows_core::Result<()> { @@ -2220,7 +2220,7 @@ pub struct IDialEventSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProofOfPossessionCookieInfoManager, IProofOfPossessionCookieInfoManager_Vtbl, 0xcdaece56_4edf_43df_b113_88e4556fa1bb); +windows_core::imp::define_interface!(IProofOfPossessionCookieInfoManager, IProofOfPossessionCookieInfoManager_Vtbl, 0xcdaece56_4edf_43df_b113_88e4556fa1bb); windows_core::imp::interface_hierarchy!(IProofOfPossessionCookieInfoManager, windows_core::IUnknown); impl IProofOfPossessionCookieInfoManager { pub unsafe fn GetCookieInfoForUri(&self, uri: P0, cookieinfocount: *mut u32, cookieinfo: *mut *mut ProofOfPossessionCookieInfo) -> windows_core::Result<()> @@ -2235,7 +2235,7 @@ pub struct IProofOfPossessionCookieInfoManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetCookieInfoForUri: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32, *mut *mut ProofOfPossessionCookieInfo) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProofOfPossessionCookieInfoManager2, IProofOfPossessionCookieInfoManager2_Vtbl, 0x15e41407_b42f_4ae7_9966_34a087b2d713); +windows_core::imp::define_interface!(IProofOfPossessionCookieInfoManager2, IProofOfPossessionCookieInfoManager2_Vtbl, 0x15e41407_b42f_4ae7_9966_34a087b2d713); windows_core::imp::interface_hierarchy!(IProofOfPossessionCookieInfoManager2, windows_core::IUnknown); impl IProofOfPossessionCookieInfoManager2 { pub unsafe fn GetCookieInfoWithUriForAccount(&self, webaccount: P0, uri: P1, cookieinfocount: *mut u32, cookieinfo: *mut *mut ProofOfPossessionCookieInfo) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs index d3331095e7..615a2d57d0 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs @@ -1087,7 +1087,7 @@ pub unsafe fn WsXmlStringEquals(string1: *const WS_XML_STRING, string2: *const W windows_targets::link!("webservices.dll" "system" fn WsXmlStringEquals(string1 : *const WS_XML_STRING, string2 : *const WS_XML_STRING, error : *const WS_ERROR) -> windows_core::HRESULT); WsXmlStringEquals(string1, string2, core::mem::transmute(error.unwrap_or(std::ptr::null()))).ok() } -windows_core::imp::com_interface!(IContentPrefetcherTaskTrigger, IContentPrefetcherTaskTrigger_Vtbl, 0x1b35a14a_6094_4799_a60e_e474e15d4dc9); +windows_core::imp::define_interface!(IContentPrefetcherTaskTrigger, IContentPrefetcherTaskTrigger_Vtbl, 0x1b35a14a_6094_4799_a60e_e474e15d4dc9); windows_core::imp::interface_hierarchy!(IContentPrefetcherTaskTrigger, windows_core::IUnknown, windows_core::IInspectable); impl IContentPrefetcherTaskTrigger { pub unsafe fn TriggerContentPrefetcherTask(&self, packagefullname: P0) -> windows_core::Result<()> 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 4faec7b01e..8ead1e39de 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(AsyncIAssociatedIdentityProvider, AsyncIAssociatedIdentityProvider_Vtbl, 0x2834d6ed_297e_4e72_8a51_961e86f05152); +windows_core::imp::define_interface!(AsyncIAssociatedIdentityProvider, AsyncIAssociatedIdentityProvider_Vtbl, 0x2834d6ed_297e_4e72_8a51_961e86f05152); windows_core::imp::interface_hierarchy!(AsyncIAssociatedIdentityProvider, windows_core::IUnknown); impl AsyncIAssociatedIdentityProvider { pub unsafe fn Begin_AssociateIdentity(&self, hwndparent: P0) -> windows_core::Result<()> @@ -46,7 +46,7 @@ pub struct AsyncIAssociatedIdentityProvider_Vtbl { pub Begin_ChangeCredential: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::HWND, windows_core::PCWSTR) -> windows_core::HRESULT, pub Finish_ChangeCredential: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIConnectedIdentityProvider, AsyncIConnectedIdentityProvider_Vtbl, 0x9ce55141_bce9_4e15_824d_43d79f512f93); +windows_core::imp::define_interface!(AsyncIConnectedIdentityProvider, AsyncIConnectedIdentityProvider_Vtbl, 0x9ce55141_bce9_4e15_824d_43d79f512f93); windows_core::imp::interface_hierarchy!(AsyncIConnectedIdentityProvider, windows_core::IUnknown); impl AsyncIConnectedIdentityProvider { pub unsafe fn Begin_ConnectIdentity(&self, authbuffer: &[u8]) -> windows_core::Result<()> { @@ -103,7 +103,7 @@ pub struct AsyncIConnectedIdentityProvider_Vtbl { 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, } -windows_core::imp::com_interface!(AsyncIIdentityAdvise, AsyncIIdentityAdvise_Vtbl, 0x3ab4c8da_d038_4830_8dd9_3253c55a127f); +windows_core::imp::define_interface!(AsyncIIdentityAdvise, AsyncIIdentityAdvise_Vtbl, 0x3ab4c8da_d038_4830_8dd9_3253c55a127f); windows_core::imp::interface_hierarchy!(AsyncIIdentityAdvise, windows_core::IUnknown); impl AsyncIIdentityAdvise { pub unsafe fn Begin_IdentityUpdated(&self, dwidentityupdateevents: u32, lpszuniqueid: P0) -> windows_core::Result<()> @@ -122,7 +122,7 @@ pub struct AsyncIIdentityAdvise_Vtbl { pub Begin_IdentityUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR) -> windows_core::HRESULT, pub Finish_IdentityUpdated: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIIdentityAuthentication, AsyncIIdentityAuthentication_Vtbl, 0xf9a2f918_feca_4e9c_9633_61cbf13ed34d); +windows_core::imp::define_interface!(AsyncIIdentityAuthentication, AsyncIIdentityAuthentication_Vtbl, 0xf9a2f918_feca_4e9c_9633_61cbf13ed34d); windows_core::imp::interface_hierarchy!(AsyncIIdentityAuthentication, windows_core::IUnknown); impl AsyncIIdentityAuthentication { pub unsafe fn Begin_SetIdentityCredential(&self, credbuffer: Option<&[u8]>) -> windows_core::Result<()> { @@ -154,7 +154,7 @@ pub struct AsyncIIdentityAuthentication_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Finish_ValidateIdentityCredential: usize, } -windows_core::imp::com_interface!(AsyncIIdentityProvider, AsyncIIdentityProvider_Vtbl, 0xc6fc9901_c433_4646_8f48_4e4687aae2a0); +windows_core::imp::define_interface!(AsyncIIdentityProvider, AsyncIIdentityProvider_Vtbl, 0xc6fc9901_c433_4646_8f48_4e4687aae2a0); windows_core::imp::interface_hierarchy!(AsyncIIdentityProvider, windows_core::IUnknown); impl AsyncIIdentityProvider { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -270,7 +270,7 @@ pub struct AsyncIIdentityProvider_Vtbl { pub Begin_UnAdvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Finish_UnAdvise: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIIdentityStore, AsyncIIdentityStore_Vtbl, 0xeefa1616_48de_4872_aa64_6e6206535a51); +windows_core::imp::define_interface!(AsyncIIdentityStore, AsyncIIdentityStore_Vtbl, 0xeefa1616_48de_4872_aa64_6e6206535a51); windows_core::imp::interface_hierarchy!(AsyncIIdentityStore, windows_core::IUnknown); impl AsyncIIdentityStore { pub unsafe fn Begin_GetCount(&self) -> windows_core::Result<()> { @@ -342,7 +342,7 @@ pub struct AsyncIIdentityStore_Vtbl { pub Begin_Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Finish_Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIIdentityStoreEx, AsyncIIdentityStoreEx_Vtbl, 0xfca3af9a_8a07_4eae_8632_ec3de658a36a); +windows_core::imp::define_interface!(AsyncIIdentityStoreEx, AsyncIIdentityStoreEx_Vtbl, 0xfca3af9a_8a07_4eae_8632_ec3de658a36a); windows_core::imp::interface_hierarchy!(AsyncIIdentityStoreEx, windows_core::IUnknown); impl AsyncIIdentityStoreEx { pub unsafe fn Begin_CreateConnectedIdentity(&self, localname: P0, connectedname: P1, providerguid: *const windows_core::GUID) -> windows_core::Result<()> @@ -373,7 +373,7 @@ pub struct AsyncIIdentityStoreEx_Vtbl { pub Begin_DeleteConnectedIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID) -> windows_core::HRESULT, pub Finish_DeleteConnectedIdentity: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAssociatedIdentityProvider, IAssociatedIdentityProvider_Vtbl, 0x2af066b3_4cbb_4cba_a798_204b6af68cc0); +windows_core::imp::define_interface!(IAssociatedIdentityProvider, IAssociatedIdentityProvider_Vtbl, 0x2af066b3_4cbb_4cba_a798_204b6af68cc0); windows_core::imp::interface_hierarchy!(IAssociatedIdentityProvider, windows_core::IUnknown); impl IAssociatedIdentityProvider { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -409,7 +409,7 @@ pub struct IAssociatedIdentityProvider_Vtbl { pub DisassociateIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::HWND, windows_core::PCWSTR) -> windows_core::HRESULT, pub ChangeCredential: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::HWND, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectedIdentityProvider, IConnectedIdentityProvider_Vtbl, 0xb7417b54_e08c_429b_96c8_678d1369ecb1); +windows_core::imp::define_interface!(IConnectedIdentityProvider, IConnectedIdentityProvider_Vtbl, 0xb7417b54_e08c_429b_96c8_678d1369ecb1); windows_core::imp::interface_hierarchy!(IConnectedIdentityProvider, windows_core::IUnknown); impl IConnectedIdentityProvider { pub unsafe fn ConnectIdentity(&self, authbuffer: &[u8]) -> windows_core::Result<()> { @@ -446,7 +446,7 @@ pub struct IConnectedIdentityProvider_Vtbl { GetUrl: usize, pub GetAccountState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ACCOUNT_STATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIdentityAdvise, IIdentityAdvise_Vtbl, 0x4e982fed_d14b_440c_b8d6_bb386453d386); +windows_core::imp::define_interface!(IIdentityAdvise, IIdentityAdvise_Vtbl, 0x4e982fed_d14b_440c_b8d6_bb386453d386); windows_core::imp::interface_hierarchy!(IIdentityAdvise, windows_core::IUnknown); impl IIdentityAdvise { pub unsafe fn IdentityUpdated(&self, dwidentityupdateevents: IdentityUpdateEvent, lpszuniqueid: P0) -> windows_core::Result<()> @@ -461,7 +461,7 @@ pub struct IIdentityAdvise_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IdentityUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIdentityAuthentication, IIdentityAuthentication_Vtbl, 0x5e7ef254_979f_43b5_b74e_06e4eb7df0f9); +windows_core::imp::define_interface!(IIdentityAuthentication, IIdentityAuthentication_Vtbl, 0x5e7ef254_979f_43b5_b74e_06e4eb7df0f9); windows_core::imp::interface_hierarchy!(IIdentityAuthentication, windows_core::IUnknown); impl IIdentityAuthentication { pub unsafe fn SetIdentityCredential(&self, credbuffer: Option<&[u8]>) -> windows_core::Result<()> { @@ -481,7 +481,7 @@ pub struct IIdentityAuthentication_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] ValidateIdentityCredential: usize, } -windows_core::imp::com_interface!(IIdentityProvider, IIdentityProvider_Vtbl, 0x0d1b9e0c_e8ba_4f55_a81b_bce934b948f5); +windows_core::imp::define_interface!(IIdentityProvider, IIdentityProvider_Vtbl, 0x0d1b9e0c_e8ba_4f55_a81b_bce934b948f5); windows_core::imp::interface_hierarchy!(IIdentityProvider, windows_core::IUnknown); impl IIdentityProvider { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_PropertiesSystem"))] @@ -560,7 +560,7 @@ pub struct IIdentityProvider_Vtbl { pub Advise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub UnAdvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIdentityStore, IIdentityStore_Vtbl, 0xdf586fa5_6f35_44f1_b209_b38e169772eb); +windows_core::imp::define_interface!(IIdentityStore, IIdentityStore_Vtbl, 0xdf586fa5_6f35_44f1_b209_b38e169772eb); windows_core::imp::interface_hierarchy!(IIdentityStore, windows_core::IUnknown); impl IIdentityStore { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -604,7 +604,7 @@ pub struct IIdentityStore_Vtbl { EnumerateIdentities: usize, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIdentityStoreEx, IIdentityStoreEx_Vtbl, 0xf9f9eb98_8f7f_4e38_9577_6980114ce32b); +windows_core::imp::define_interface!(IIdentityStoreEx, IIdentityStoreEx_Vtbl, 0xf9f9eb98_8f7f_4e38_9577_6980114ce32b); windows_core::imp::interface_hierarchy!(IIdentityStoreEx, windows_core::IUnknown); impl IIdentityStoreEx { pub unsafe fn CreateConnectedIdentity(&self, localname: P0, connectedname: P1, providerguid: *const windows_core::GUID) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/mod.rs index e5c4f9e9af..cea577abd3 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 @@ -1513,7 +1513,7 @@ pub unsafe fn VerifySignature(phcontext: *const super::super::Credentials::SecHa let mut result__ = std::mem::zeroed(); VerifySignature(phcontext, pmessage, messageseqno, &mut result__).map(|| result__) } -windows_core::imp::com_interface!(ICcgDomainAuthCredentials, ICcgDomainAuthCredentials_Vtbl, 0x6ecda518_2010_4437_8bc3_46e752b7b172); +windows_core::imp::define_interface!(ICcgDomainAuthCredentials, ICcgDomainAuthCredentials_Vtbl, 0x6ecda518_2010_4437_8bc3_46e752b7b172); windows_core::imp::interface_hierarchy!(ICcgDomainAuthCredentials, windows_core::IUnknown); impl ICcgDomainAuthCredentials { pub unsafe fn GetPasswordCredentials(&self, plugininput: P0, domainname: *mut windows_core::PWSTR, username: *mut windows_core::PWSTR, password: *mut windows_core::PWSTR) -> windows_core::Result<()> 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 9b91aa91fa..1d97e489c1 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 @@ -26,7 +26,7 @@ where windows_targets::link!("aclui.dll" "system" fn EditSecurityAdvanced(hwndowner : super::super::super::Foundation:: HWND, psi : * mut core::ffi::c_void, usipage : SI_PAGE_TYPE) -> windows_core::HRESULT); EditSecurityAdvanced(hwndowner.into_param().abi(), psi.into_param().abi(), usipage).ok() } -windows_core::imp::com_interface!(IEffectivePermission, IEffectivePermission_Vtbl, 0x3853dc76_9f35_407c_88a1_d19344365fbc); +windows_core::imp::define_interface!(IEffectivePermission, IEffectivePermission_Vtbl, 0x3853dc76_9f35_407c_88a1_d19344365fbc); windows_core::imp::interface_hierarchy!(IEffectivePermission, windows_core::IUnknown); impl IEffectivePermission { pub unsafe fn GetEffectivePermission(&self, pguidobjecttype: *const windows_core::GUID, pusersid: P0, pszservername: P1, psd: P2, ppobjecttypelist: *mut *mut super::super::OBJECT_TYPE_LIST, pcobjecttypelistlength: *mut u32, ppgrantedaccesslist: *mut *mut u32, pcgrantedaccesslistlength: *mut u32) -> windows_core::Result<()> @@ -43,7 +43,7 @@ pub struct IEffectivePermission_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetEffectivePermission: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, super::super::super::Foundation::PSID, windows_core::PCWSTR, super::super::PSECURITY_DESCRIPTOR, *mut *mut super::super::OBJECT_TYPE_LIST, *mut u32, *mut *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEffectivePermission2, IEffectivePermission2_Vtbl, 0x941fabca_dd47_4fca_90bb_b0e10255f20d); +windows_core::imp::define_interface!(IEffectivePermission2, IEffectivePermission2_Vtbl, 0x941fabca_dd47_4fca_90bb_b0e10255f20d); windows_core::imp::interface_hierarchy!(IEffectivePermission2, windows_core::IUnknown); impl IEffectivePermission2 { pub unsafe fn ComputeEffectivePermissionWithSecondarySecurity( @@ -93,7 +93,7 @@ pub struct IEffectivePermission2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ComputeEffectivePermissionWithSecondarySecurity: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::PSID, super::super::super::Foundation::PSID, windows_core::PCWSTR, *mut SECURITY_OBJECT, u32, *const super::super::TOKEN_GROUPS, *const super::AUTHZ_SID_OPERATION, *const super::super::TOKEN_GROUPS, *const super::AUTHZ_SID_OPERATION, *const super::AUTHZ_SECURITY_ATTRIBUTES_INFORMATION, *const super::AUTHZ_SECURITY_ATTRIBUTE_OPERATION, *const super::AUTHZ_SECURITY_ATTRIBUTES_INFORMATION, *const super::AUTHZ_SECURITY_ATTRIBUTE_OPERATION, *mut EFFPERM_RESULT_LIST) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISecurityInformation, ISecurityInformation_Vtbl, 0x965fc360_16ff_11d0_91cb_00aa00bbb723); +windows_core::imp::define_interface!(ISecurityInformation, ISecurityInformation_Vtbl, 0x965fc360_16ff_11d0_91cb_00aa00bbb723); windows_core::imp::interface_hierarchy!(ISecurityInformation, windows_core::IUnknown); impl ISecurityInformation { pub unsafe fn GetObjectInformation(&self, pobjectinfo: *mut SI_OBJECT_INFO) -> windows_core::Result<()> { @@ -142,7 +142,7 @@ pub struct ISecurityInformation_Vtbl { #[cfg(not(feature = "Win32_UI_Controls"))] PropertySheetPageCallback: usize, } -windows_core::imp::com_interface!(ISecurityInformation2, ISecurityInformation2_Vtbl, 0xc3ccfdb4_6f88_11d2_a3ce_00c04fb1782a); +windows_core::imp::define_interface!(ISecurityInformation2, ISecurityInformation2_Vtbl, 0xc3ccfdb4_6f88_11d2_a3ce_00c04fb1782a); windows_core::imp::interface_hierarchy!(ISecurityInformation2, windows_core::IUnknown); impl ISecurityInformation2 { pub unsafe fn IsDaclCanonical(&self, pdacl: *const super::super::ACL) -> super::super::super::Foundation::BOOL { @@ -163,7 +163,7 @@ pub struct ISecurityInformation2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] LookupSids: usize, } -windows_core::imp::com_interface!(ISecurityInformation3, ISecurityInformation3_Vtbl, 0xe2cdc9cc_31bd_4f8f_8c8b_b641af516a1a); +windows_core::imp::define_interface!(ISecurityInformation3, ISecurityInformation3_Vtbl, 0xe2cdc9cc_31bd_4f8f_8c8b_b641af516a1a); windows_core::imp::interface_hierarchy!(ISecurityInformation3, windows_core::IUnknown); impl ISecurityInformation3 { pub unsafe fn GetFullResourceName(&self) -> windows_core::Result { @@ -183,7 +183,7 @@ pub struct ISecurityInformation3_Vtbl { pub GetFullResourceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub OpenElevatedEditor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, SI_PAGE_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISecurityInformation4, ISecurityInformation4_Vtbl, 0xea961070_cd14_4621_ace4_f63c03e583e4); +windows_core::imp::define_interface!(ISecurityInformation4, ISecurityInformation4_Vtbl, 0xea961070_cd14_4621_ace4_f63c03e583e4); windows_core::imp::interface_hierarchy!(ISecurityInformation4, windows_core::IUnknown); impl ISecurityInformation4 { pub unsafe fn GetSecondarySecurity(&self, psecurityobjects: *mut *mut SECURITY_OBJECT, psecurityobjectcount: *mut u32) -> windows_core::Result<()> { @@ -195,7 +195,7 @@ pub struct ISecurityInformation4_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSecondarySecurity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut SECURITY_OBJECT, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISecurityObjectTypeInfo, ISecurityObjectTypeInfo_Vtbl, 0xfc3066eb_79ef_444b_9111_d18a75ebf2fa); +windows_core::imp::define_interface!(ISecurityObjectTypeInfo, ISecurityObjectTypeInfo_Vtbl, 0xfc3066eb_79ef_444b_9111_d18a75ebf2fa); windows_core::imp::interface_hierarchy!(ISecurityObjectTypeInfo, windows_core::IUnknown); impl ISecurityObjectTypeInfo { pub unsafe fn GetInheritSource(&self, si: u32, pacl: *mut super::super::ACL, ppinheritarray: *mut *mut super::INHERITED_FROMA) -> windows_core::Result<()> { 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 c7e070296c..0b3d3fa38b 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs @@ -701,7 +701,7 @@ where TreeSetNamedSecurityInfoW(pobjectname.into_param().abi(), objecttype, securityinfo, powner.into_param().abi(), pgroup.into_param().abi(), core::mem::transmute(pdacl.unwrap_or(std::ptr::null())), core::mem::transmute(psacl.unwrap_or(std::ptr::null())), dwaction, fnprogress, progressinvokesetting, core::mem::transmute(args.unwrap_or(std::ptr::null()))) } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzApplication, IAzApplication_Vtbl, 0x987bc7c7_b813_4d27_bede_6ba5ae867e95); +windows_core::imp::define_interface!(IAzApplication, IAzApplication_Vtbl, 0x987bc7c7_b813_4d27_bede_6ba5ae867e95); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzApplication, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1221,7 +1221,7 @@ pub struct IAzApplication_Vtbl { pub DeleteDelegatedPolicyUserName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzApplication2, IAzApplication2_Vtbl, 0x086a68af_a249_437c_b18d_d4d86d6a9660); +windows_core::imp::define_interface!(IAzApplication2, IAzApplication2_Vtbl, 0x086a68af_a249_437c_b18d_d4d86d6a9660); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzApplication2, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzApplication); #[cfg(feature = "Win32_System_Com")] @@ -1651,7 +1651,7 @@ pub struct IAzApplication2_Vtbl { InitializeClientContext2: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzApplication3, IAzApplication3_Vtbl, 0x181c845e_7196_4a7d_ac2e_020c0bb7a303); +windows_core::imp::define_interface!(IAzApplication3, IAzApplication3_Vtbl, 0x181c845e_7196_4a7d_ac2e_020c0bb7a303); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzApplication3, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzApplication, IAzApplication2); #[cfg(feature = "Win32_System_Com")] @@ -2204,7 +2204,7 @@ pub struct IAzApplication3_Vtbl { pub SetBizRulesEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzApplicationGroup, IAzApplicationGroup_Vtbl, 0xf1b744cd_58a6_4e06_9fbf_36f6d779e21e); +windows_core::imp::define_interface!(IAzApplicationGroup, IAzApplicationGroup_Vtbl, 0xf1b744cd_58a6_4e06_9fbf_36f6d779e21e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzApplicationGroup, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2431,7 +2431,7 @@ pub struct IAzApplicationGroup_Vtbl { pub NonMembersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzApplicationGroup2, IAzApplicationGroup2_Vtbl, 0x3f0613fc_b71a_464e_a11d_5b881a56cefa); +windows_core::imp::define_interface!(IAzApplicationGroup2, IAzApplicationGroup2_Vtbl, 0x3f0613fc_b71a_464e_a11d_5b881a56cefa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzApplicationGroup2, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzApplicationGroup); #[cfg(feature = "Win32_System_Com")] @@ -2675,7 +2675,7 @@ pub struct IAzApplicationGroup2_Vtbl { RoleAssignments: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzApplicationGroups, IAzApplicationGroups_Vtbl, 0x4ce66ad5_9f3c_469d_a911_b99887a7e685); +windows_core::imp::define_interface!(IAzApplicationGroups, IAzApplicationGroups_Vtbl, 0x4ce66ad5_9f3c_469d_a911_b99887a7e685); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzApplicationGroups, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2702,7 +2702,7 @@ pub struct IAzApplicationGroups_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")] -windows_core::imp::com_interface!(IAzApplications, IAzApplications_Vtbl, 0x929b11a9_95c5_4a84_a29a_20ad42c2f16c); +windows_core::imp::define_interface!(IAzApplications, IAzApplications_Vtbl, 0x929b11a9_95c5_4a84_a29a_20ad42c2f16c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzApplications, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2729,7 +2729,7 @@ pub struct IAzApplications_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")] -windows_core::imp::com_interface!(IAzAuthorizationStore, IAzAuthorizationStore_Vtbl, 0xedbd9ca9_9b82_4f6a_9e8b_98301e450f14); +windows_core::imp::define_interface!(IAzAuthorizationStore, IAzAuthorizationStore_Vtbl, 0xedbd9ca9_9b82_4f6a_9e8b_98301e450f14); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzAuthorizationStore, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3106,7 +3106,7 @@ pub struct IAzAuthorizationStore_Vtbl { pub CloseApplication: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzAuthorizationStore2, IAzAuthorizationStore2_Vtbl, 0xb11e5584_d577_4273_b6c5_0973e0f8e80d); +windows_core::imp::define_interface!(IAzAuthorizationStore2, IAzAuthorizationStore2_Vtbl, 0xb11e5584_d577_4273_b6c5_0973e0f8e80d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzAuthorizationStore2, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzAuthorizationStore); #[cfg(feature = "Win32_System_Com")] @@ -3440,7 +3440,7 @@ pub struct IAzAuthorizationStore2_Vtbl { CreateApplication2: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzAuthorizationStore3, IAzAuthorizationStore3_Vtbl, 0xabc08425_0c86_4fa0_9be3_7189956c926e); +windows_core::imp::define_interface!(IAzAuthorizationStore3, IAzAuthorizationStore3_Vtbl, 0xabc08425_0c86_4fa0_9be3_7189956c926e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzAuthorizationStore3, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzAuthorizationStore, IAzAuthorizationStore2); #[cfg(feature = "Win32_System_Com")] @@ -3789,7 +3789,7 @@ pub struct IAzAuthorizationStore3_Vtbl { pub GetSchemaVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzBizRuleContext, IAzBizRuleContext_Vtbl, 0xe192f17d_d59f_455e_a152_940316cd77b2); +windows_core::imp::define_interface!(IAzBizRuleContext, IAzBizRuleContext_Vtbl, 0xe192f17d_d59f_455e_a152_940316cd77b2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzBizRuleContext, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3828,7 +3828,7 @@ pub struct IAzBizRuleContext_Vtbl { pub GetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzBizRuleInterfaces, IAzBizRuleInterfaces_Vtbl, 0xe94128c7_e9da_44cc_b0bd_53036f3aab3d); +windows_core::imp::define_interface!(IAzBizRuleInterfaces, IAzBizRuleInterfaces_Vtbl, 0xe94128c7_e9da_44cc_b0bd_53036f3aab3d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzBizRuleInterfaces, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3880,7 +3880,7 @@ pub struct IAzBizRuleInterfaces_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzBizRuleParameters, IAzBizRuleParameters_Vtbl, 0xfc17685f_e25d_4dcd_bae1_276ec9533cb5); +windows_core::imp::define_interface!(IAzBizRuleParameters, IAzBizRuleParameters_Vtbl, 0xfc17685f_e25d_4dcd_bae1_276ec9533cb5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzBizRuleParameters, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3932,7 +3932,7 @@ pub struct IAzBizRuleParameters_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzClientContext, IAzClientContext_Vtbl, 0xeff1f00b_488a_466d_afd9_a401c5f9eef5); +windows_core::imp::define_interface!(IAzClientContext, IAzClientContext_Vtbl, 0xeff1f00b_488a_466d_afd9_a401c5f9eef5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzClientContext, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4027,7 +4027,7 @@ pub struct IAzClientContext_Vtbl { pub SetRoleForAccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzClientContext2, IAzClientContext2_Vtbl, 0x2b0c92b8_208a_488a_8f81_e4edb22111cd); +windows_core::imp::define_interface!(IAzClientContext2, IAzClientContext2_Vtbl, 0x2b0c92b8_208a_488a_8f81_e4edb22111cd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzClientContext2, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzClientContext); #[cfg(feature = "Win32_System_Com")] @@ -4147,7 +4147,7 @@ pub struct IAzClientContext2_Vtbl { pub LDAPQueryDN: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzClientContext3, IAzClientContext3_Vtbl, 0x11894fde_1deb_4b4b_8907_6d1cda1f5d4f); +windows_core::imp::define_interface!(IAzClientContext3, IAzClientContext3_Vtbl, 0x11894fde_1deb_4b4b_8907_6d1cda1f5d4f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzClientContext3, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzClientContext, IAzClientContext2); #[cfg(feature = "Win32_System_Com")] @@ -4334,7 +4334,7 @@ pub struct IAzClientContext3_Vtbl { pub Sids: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzNameResolver, IAzNameResolver_Vtbl, 0x504d0f15_73e2_43df_a870_a64f40714f53); +windows_core::imp::define_interface!(IAzNameResolver, IAzNameResolver_Vtbl, 0x504d0f15_73e2_43df_a870_a64f40714f53); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzNameResolver, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4360,7 +4360,7 @@ pub struct IAzNameResolver_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzObjectPicker, IAzObjectPicker_Vtbl, 0x63130a48_699a_42d8_bf01_c62ac3fb79f9); +windows_core::imp::define_interface!(IAzObjectPicker, IAzObjectPicker_Vtbl, 0x63130a48_699a_42d8_bf01_c62ac3fb79f9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzObjectPicker, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4385,7 +4385,7 @@ pub struct IAzObjectPicker_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzOperation, IAzOperation_Vtbl, 0x5e56b24f_ea01_4d61_be44_c49b5e4eaf74); +windows_core::imp::define_interface!(IAzOperation, IAzOperation_Vtbl, 0x5e56b24f_ea01_4d61_be44_c49b5e4eaf74); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzOperation, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4470,7 +4470,7 @@ pub struct IAzOperation_Vtbl { pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzOperation2, IAzOperation2_Vtbl, 0x1f5ea01f_44a2_4184_9c48_a75b4dcc8ccc); +windows_core::imp::define_interface!(IAzOperation2, IAzOperation2_Vtbl, 0x1f5ea01f_44a2_4184_9c48_a75b4dcc8ccc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzOperation2, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzOperation); #[cfg(feature = "Win32_System_Com")] @@ -4556,7 +4556,7 @@ pub struct IAzOperation2_Vtbl { RoleAssignments: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzOperations, IAzOperations_Vtbl, 0x90ef9c07_9706_49d9_af80_0438a5f3ec35); +windows_core::imp::define_interface!(IAzOperations, IAzOperations_Vtbl, 0x90ef9c07_9706_49d9_af80_0438a5f3ec35); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzOperations, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4583,7 +4583,7 @@ pub struct IAzOperations_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")] -windows_core::imp::com_interface!(IAzPrincipalLocator, IAzPrincipalLocator_Vtbl, 0xe5c3507d_ad6a_4992_9c7f_74ab480b44cc); +windows_core::imp::define_interface!(IAzPrincipalLocator, IAzPrincipalLocator_Vtbl, 0xe5c3507d_ad6a_4992_9c7f_74ab480b44cc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzPrincipalLocator, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4613,7 +4613,7 @@ pub struct IAzPrincipalLocator_Vtbl { ObjectPicker: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzRole, IAzRole_Vtbl, 0x859e0d8d_62d7_41d8_a034_c0cd5d43fdfa); +windows_core::imp::define_interface!(IAzRole, IAzRole_Vtbl, 0x859e0d8d_62d7_41d8_a034_c0cd5d43fdfa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzRole, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4810,7 +4810,7 @@ pub struct IAzRole_Vtbl { pub MembersName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzRoleAssignment, IAzRoleAssignment_Vtbl, 0x55647d31_0d5a_4fa3_b4ac_2b5f9ad5ab76); +windows_core::imp::define_interface!(IAzRoleAssignment, IAzRoleAssignment_Vtbl, 0x55647d31_0d5a_4fa3_b4ac_2b5f9ad5ab76); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzRoleAssignment, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzRole); #[cfg(feature = "Win32_System_Com")] @@ -5012,7 +5012,7 @@ pub struct IAzRoleAssignment_Vtbl { Scope: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzRoleAssignments, IAzRoleAssignments_Vtbl, 0x9c80b900_fceb_4d73_a0f4_c83b0bbf2481); +windows_core::imp::define_interface!(IAzRoleAssignments, IAzRoleAssignments_Vtbl, 0x9c80b900_fceb_4d73_a0f4_c83b0bbf2481); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzRoleAssignments, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5039,7 +5039,7 @@ pub struct IAzRoleAssignments_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")] -windows_core::imp::com_interface!(IAzRoleDefinition, IAzRoleDefinition_Vtbl, 0xd97fcea1_2599_44f1_9fc3_58e9fbe09466); +windows_core::imp::define_interface!(IAzRoleDefinition, IAzRoleDefinition_Vtbl, 0xd97fcea1_2599_44f1_9fc3_58e9fbe09466); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzRoleDefinition, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzTask); #[cfg(feature = "Win32_System_Com")] @@ -5231,7 +5231,7 @@ pub struct IAzRoleDefinition_Vtbl { RoleDefinitions: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzRoleDefinitions, IAzRoleDefinitions_Vtbl, 0x881f25a5_d755_4550_957a_d503a3b34001); +windows_core::imp::define_interface!(IAzRoleDefinitions, IAzRoleDefinitions_Vtbl, 0x881f25a5_d755_4550_957a_d503a3b34001); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzRoleDefinitions, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5258,7 +5258,7 @@ pub struct IAzRoleDefinitions_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")] -windows_core::imp::com_interface!(IAzRoles, IAzRoles_Vtbl, 0x95e0f119_13b4_4dae_b65f_2f7d60d822e4); +windows_core::imp::define_interface!(IAzRoles, IAzRoles_Vtbl, 0x95e0f119_13b4_4dae_b65f_2f7d60d822e4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzRoles, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5285,7 +5285,7 @@ pub struct IAzRoles_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")] -windows_core::imp::com_interface!(IAzScope, IAzScope_Vtbl, 0x00e52487_e08d_4514_b62e_877d5645f5ab); +windows_core::imp::define_interface!(IAzScope, IAzScope_Vtbl, 0x00e52487_e08d_4514_b62e_877d5645f5ab); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzScope, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5600,7 +5600,7 @@ pub struct IAzScope_Vtbl { pub DeletePolicyReaderName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzScope2, IAzScope2_Vtbl, 0xee9fe8c9_c9f3_40e2_aa12_d1d8599727fd); +windows_core::imp::define_interface!(IAzScope2, IAzScope2_Vtbl, 0xee9fe8c9_c9f3_40e2_aa12_d1d8599727fd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzScope2, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzScope); #[cfg(feature = "Win32_System_Com")] @@ -5930,7 +5930,7 @@ pub struct IAzScope2_Vtbl { pub DeleteRoleAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzScopes, IAzScopes_Vtbl, 0x78e14853_9f5e_406d_9b91_6bdba6973510); +windows_core::imp::define_interface!(IAzScopes, IAzScopes_Vtbl, 0x78e14853_9f5e_406d_9b91_6bdba6973510); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzScopes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5957,7 +5957,7 @@ pub struct IAzScopes_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")] -windows_core::imp::com_interface!(IAzTask, IAzTask_Vtbl, 0xcb94e592_2e0e_4a6c_a336_b89a6dc1e388); +windows_core::imp::define_interface!(IAzTask, IAzTask_Vtbl, 0xcb94e592_2e0e_4a6c_a336_b89a6dc1e388); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzTask, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6139,7 +6139,7 @@ pub struct IAzTask_Vtbl { pub Submit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzTask2, IAzTask2_Vtbl, 0x03a9a5ee_48c8_4832_9025_aad503c46526); +windows_core::imp::define_interface!(IAzTask2, IAzTask2_Vtbl, 0x03a9a5ee_48c8_4832_9025_aad503c46526); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzTask2, windows_core::IUnknown, super::super::System::Com::IDispatch, IAzTask); #[cfg(feature = "Win32_System_Com")] @@ -6308,7 +6308,7 @@ pub struct IAzTask2_Vtbl { RoleAssignments: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAzTasks, IAzTasks_Vtbl, 0xb338ccab_4c85_4388_8c0a_c58592bad398); +windows_core::imp::define_interface!(IAzTasks, IAzTasks_Vtbl, 0xb338ccab_4c85_4388_8c0a_c58592bad398); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAzTasks, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 7e587c00d1..dd3531924e 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISceSvcAttachmentData, ISceSvcAttachmentData_Vtbl, 0x17c35fde_200d_11d1_affb_00c04fb984f9); +windows_core::imp::define_interface!(ISceSvcAttachmentData, ISceSvcAttachmentData_Vtbl, 0x17c35fde_200d_11d1_affb_00c04fb984f9); windows_core::imp::interface_hierarchy!(ISceSvcAttachmentData, windows_core::IUnknown); impl ISceSvcAttachmentData { pub unsafe fn GetData(&self, scesvchandle: *mut core::ffi::c_void, scetype: SCESVC_INFO_TYPE, ppvdata: *mut *mut core::ffi::c_void, psceenumhandle: *mut u32) -> windows_core::Result<()> { @@ -25,7 +25,7 @@ pub struct ISceSvcAttachmentData_Vtbl { pub FreeBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CloseHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISceSvcAttachmentPersistInfo, ISceSvcAttachmentPersistInfo_Vtbl, 0x6d90e0d0_200d_11d1_affb_00c04fb984f9); +windows_core::imp::define_interface!(ISceSvcAttachmentPersistInfo, ISceSvcAttachmentPersistInfo_Vtbl, 0x6d90e0d0_200d_11d1_affb_00c04fb984f9); windows_core::imp::interface_hierarchy!(ISceSvcAttachmentPersistInfo, windows_core::IUnknown); impl ISceSvcAttachmentPersistInfo { pub unsafe fn Save(&self, lptemplatename: *mut i8, scesvchandle: *mut *mut core::ffi::c_void, ppvdata: *mut *mut core::ffi::c_void, pboverwriteall: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { 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 6f15039acf..9321a46684 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 @@ -164,7 +164,7 @@ where PstValidate(core::mem::transmute(ptargetname.unwrap_or(std::ptr::null())), bisclient.into_param().abi(), core::mem::transmute(prequestedissuancepolicy.unwrap_or(std::ptr::null())), core::mem::transmute(phadditionalcertstore.unwrap_or(std::ptr::null())), pcert, core::mem::transmute(pprovguid.unwrap_or(std::ptr::null_mut()))) } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAlternativeName, IAlternativeName_Vtbl, 0x728ab313_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IAlternativeName, IAlternativeName_Vtbl, 0x728ab313_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAlternativeName, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -227,7 +227,7 @@ pub struct IAlternativeName_Vtbl { pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAlternativeNames, IAlternativeNames_Vtbl, 0x728ab314_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IAlternativeNames, IAlternativeNames_Vtbl, 0x728ab314_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAlternativeNames, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -277,7 +277,7 @@ pub struct IAlternativeNames_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IBinaryConverter, IBinaryConverter_Vtbl, 0x728ab302_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IBinaryConverter, IBinaryConverter_Vtbl, 0x728ab302_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBinaryConverter, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -310,7 +310,7 @@ pub struct IBinaryConverter_Vtbl { pub StringToVariantByteArray: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IBinaryConverter2, IBinaryConverter2_Vtbl, 0x8d7928b4_4e17_428d_9a17_728df00d1b2b); +windows_core::imp::define_interface!(IBinaryConverter2, IBinaryConverter2_Vtbl, 0x8d7928b4_4e17_428d_9a17_728df00d1b2b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBinaryConverter2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IBinaryConverter); #[cfg(feature = "Win32_System_Com")] @@ -350,7 +350,7 @@ pub struct IBinaryConverter2_Vtbl { pub VariantArrayToStringArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICEnroll, ICEnroll_Vtbl, 0x43f8f288_7a20_11d0_8f06_00c04fc295e1); +windows_core::imp::define_interface!(ICEnroll, ICEnroll_Vtbl, 0x43f8f288_7a20_11d0_8f06_00c04fc295e1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICEnroll, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -683,7 +683,7 @@ pub struct ICEnroll_Vtbl { pub SetHashAlgorithm: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICEnroll2, ICEnroll2_Vtbl, 0x704ca730_c90b_11d1_9bec_00c04fc295e1); +windows_core::imp::define_interface!(ICEnroll2, ICEnroll2_Vtbl, 0x704ca730_c90b_11d1_9bec_00c04fc295e1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICEnroll2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll); #[cfg(feature = "Win32_System_Com")] @@ -999,7 +999,7 @@ pub struct ICEnroll2_Vtbl { pub SetEnableT61DNEncoding: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICEnroll3, ICEnroll3_Vtbl, 0xc28c2d95_b7de_11d2_a421_00c04f79fe8e); +windows_core::imp::define_interface!(ICEnroll3, ICEnroll3_Vtbl, 0xc28c2d95_b7de_11d2_a421_00c04f79fe8e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICEnroll3, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll, ICEnroll2); #[cfg(feature = "Win32_System_Com")] @@ -1389,7 +1389,7 @@ pub struct ICEnroll3_Vtbl { pub EnableSMIMECapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICEnroll4, ICEnroll4_Vtbl, 0xc1f1188a_2eb5_4a80_841b_7e729a356d90); +windows_core::imp::define_interface!(ICEnroll4, ICEnroll4_Vtbl, 0xc1f1188a_2eb5_4a80_841b_7e729a356d90); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICEnroll4, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICEnroll, ICEnroll2, ICEnroll3); #[cfg(feature = "Win32_System_Com")] @@ -1990,7 +1990,7 @@ pub struct ICEnroll4_Vtbl { pub IncludeSubjectKeyID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertAdmin, ICertAdmin_Vtbl, 0x34df6950_7fb6_11d0_8817_00a0c903b83c); +windows_core::imp::define_interface!(ICertAdmin, ICertAdmin_Vtbl, 0x34df6950_7fb6_11d0_8817_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertAdmin, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2079,7 +2079,7 @@ pub struct ICertAdmin_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertAdmin2, ICertAdmin2_Vtbl, 0xf7c3ac41_b8ce_4fb4_aa58_3d1dc0e36b39); +windows_core::imp::define_interface!(ICertAdmin2, ICertAdmin2_Vtbl, 0xf7c3ac41_b8ce_4fb4_aa58_3d1dc0e36b39); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertAdmin2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertAdmin); #[cfg(feature = "Win32_System_Com")] @@ -2248,7 +2248,7 @@ pub struct ICertAdmin2_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertConfig, ICertConfig_Vtbl, 0x372fce34_4324_11d0_8810_00a0c903b83c); +windows_core::imp::define_interface!(ICertConfig, ICertConfig_Vtbl, 0x372fce34_4324_11d0_8810_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertConfig, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2283,7 +2283,7 @@ pub struct ICertConfig_Vtbl { pub GetConfig: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertConfig2, ICertConfig2_Vtbl, 0x7a18edde_7e78_4163_8ded_78e2c9cee924); +windows_core::imp::define_interface!(ICertConfig2, ICertConfig2_Vtbl, 0x7a18edde_7e78_4163_8ded_78e2c9cee924); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertConfig2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertConfig); #[cfg(feature = "Win32_System_Com")] @@ -2321,7 +2321,7 @@ pub struct ICertConfig2_Vtbl { pub SetSharedFolder: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeAltName, ICertEncodeAltName_Vtbl, 0x1c9a8c70_1271_11d1_9bd4_00c04fb683fa); +windows_core::imp::define_interface!(ICertEncodeAltName, ICertEncodeAltName_Vtbl, 0x1c9a8c70_1271_11d1_9bd4_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeAltName, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2371,7 +2371,7 @@ pub struct ICertEncodeAltName_Vtbl { pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeAltName2, ICertEncodeAltName2_Vtbl, 0xf67fe177_5ef1_4535_b4ce_29df15e2e0c3); +windows_core::imp::define_interface!(ICertEncodeAltName2, ICertEncodeAltName2_Vtbl, 0xf67fe177_5ef1_4535_b4ce_29df15e2e0c3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeAltName2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeAltName); #[cfg(feature = "Win32_System_Com")] @@ -2438,7 +2438,7 @@ pub struct ICertEncodeAltName2_Vtbl { pub SetNameEntryBlob: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, std::mem::MaybeUninit, EncodingType) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeBitString, ICertEncodeBitString_Vtbl, 0x6db525be_1278_11d1_9bd4_00c04fb683fa); +windows_core::imp::define_interface!(ICertEncodeBitString, ICertEncodeBitString_Vtbl, 0x6db525be_1278_11d1_9bd4_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeBitString, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2475,7 +2475,7 @@ pub struct ICertEncodeBitString_Vtbl { pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeBitString2, ICertEncodeBitString2_Vtbl, 0xe070d6e7_23ef_4dd2_8242_ebd9c928cb30); +windows_core::imp::define_interface!(ICertEncodeBitString2, ICertEncodeBitString2_Vtbl, 0xe070d6e7_23ef_4dd2_8242_ebd9c928cb30); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeBitString2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeBitString); #[cfg(feature = "Win32_System_Com")] @@ -2528,7 +2528,7 @@ pub struct ICertEncodeBitString2_Vtbl { pub GetBitStringBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeCRLDistInfo, ICertEncodeCRLDistInfo_Vtbl, 0x01958640_bbff_11d0_8825_00a0c903b83c); +windows_core::imp::define_interface!(ICertEncodeCRLDistInfo, ICertEncodeCRLDistInfo_Vtbl, 0x01958640_bbff_11d0_8825_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeCRLDistInfo, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2587,7 +2587,7 @@ pub struct ICertEncodeCRLDistInfo_Vtbl { pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeCRLDistInfo2, ICertEncodeCRLDistInfo2_Vtbl, 0xb4275d4b_3e30_446f_ad36_09d03120b078); +windows_core::imp::define_interface!(ICertEncodeCRLDistInfo2, ICertEncodeCRLDistInfo2_Vtbl, 0xb4275d4b_3e30_446f_ad36_09d03120b078); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeCRLDistInfo2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeCRLDistInfo); #[cfg(feature = "Win32_System_Com")] @@ -2649,7 +2649,7 @@ pub struct ICertEncodeCRLDistInfo2_Vtbl { pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeDateArray, ICertEncodeDateArray_Vtbl, 0x2f9469a0_a470_11d0_8821_00a0c903b83c); +windows_core::imp::define_interface!(ICertEncodeDateArray, ICertEncodeDateArray_Vtbl, 0x2f9469a0_a470_11d0_8821_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeDateArray, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2691,7 +2691,7 @@ pub struct ICertEncodeDateArray_Vtbl { pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeDateArray2, ICertEncodeDateArray2_Vtbl, 0x99a4edb5_2b8e_448d_bf95_bba8d7789dc8); +windows_core::imp::define_interface!(ICertEncodeDateArray2, ICertEncodeDateArray2_Vtbl, 0x99a4edb5_2b8e_448d_bf95_bba8d7789dc8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeDateArray2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeDateArray); #[cfg(feature = "Win32_System_Com")] @@ -2739,7 +2739,7 @@ pub struct ICertEncodeDateArray2_Vtbl { pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeLongArray, ICertEncodeLongArray_Vtbl, 0x15e2f230_a0a2_11d0_8821_00a0c903b83c); +windows_core::imp::define_interface!(ICertEncodeLongArray, ICertEncodeLongArray_Vtbl, 0x15e2f230_a0a2_11d0_8821_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeLongArray, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2781,7 +2781,7 @@ pub struct ICertEncodeLongArray_Vtbl { pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeLongArray2, ICertEncodeLongArray2_Vtbl, 0x4efde84a_bd9b_4fc2_a108_c347d478840f); +windows_core::imp::define_interface!(ICertEncodeLongArray2, ICertEncodeLongArray2_Vtbl, 0x4efde84a_bd9b_4fc2_a108_c347d478840f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeLongArray2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeLongArray); #[cfg(feature = "Win32_System_Com")] @@ -2829,7 +2829,7 @@ pub struct ICertEncodeLongArray2_Vtbl { pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeStringArray, ICertEncodeStringArray_Vtbl, 0x12a88820_7494_11d0_8816_00a0c903b83c); +windows_core::imp::define_interface!(ICertEncodeStringArray, ICertEncodeStringArray_Vtbl, 0x12a88820_7494_11d0_8816_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeStringArray, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2879,7 +2879,7 @@ pub struct ICertEncodeStringArray_Vtbl { pub Encode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertEncodeStringArray2, ICertEncodeStringArray2_Vtbl, 0x9c680d93_9b7d_4e95_9018_4ffe10ba5ada); +windows_core::imp::define_interface!(ICertEncodeStringArray2, ICertEncodeStringArray2_Vtbl, 0x9c680d93_9b7d_4e95_9018_4ffe10ba5ada); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertEncodeStringArray2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertEncodeStringArray); #[cfg(feature = "Win32_System_Com")] @@ -2934,7 +2934,7 @@ pub struct ICertEncodeStringArray2_Vtbl { pub EncodeBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertExit, ICertExit_Vtbl, 0xe19ae1a0_7364_11d0_8816_00a0c903b83c); +windows_core::imp::define_interface!(ICertExit, ICertExit_Vtbl, 0xe19ae1a0_7364_11d0_8816_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertExit, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2963,7 +2963,7 @@ pub struct ICertExit_Vtbl { pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertExit2, ICertExit2_Vtbl, 0x0abf484b_d049_464d_a7ed_552e7529b0ff); +windows_core::imp::define_interface!(ICertExit2, ICertExit2_Vtbl, 0x0abf484b_d049_464d_a7ed_552e7529b0ff); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertExit2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertExit); #[cfg(feature = "Win32_System_Com")] @@ -2998,7 +2998,7 @@ pub struct ICertExit2_Vtbl { GetManageModule: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertGetConfig, ICertGetConfig_Vtbl, 0xc7ea09c0_ce17_11d0_8833_00a0c903b83c); +windows_core::imp::define_interface!(ICertGetConfig, ICertGetConfig_Vtbl, 0xc7ea09c0_ce17_11d0_8833_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertGetConfig, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3015,7 +3015,7 @@ pub struct ICertGetConfig_Vtbl { pub GetConfig: unsafe extern "system" fn(*mut core::ffi::c_void, CERT_GET_CONFIG_FLAGS, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertManageModule, ICertManageModule_Vtbl, 0xe7d7ad42_bd3d_11d1_9a4d_00c04fc297eb); +windows_core::imp::define_interface!(ICertManageModule, ICertManageModule_Vtbl, 0xe7d7ad42_bd3d_11d1_9a4d_00c04fc297eb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertManageModule, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3054,7 +3054,7 @@ pub struct ICertManageModule_Vtbl { pub Configure: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPolicy, ICertPolicy_Vtbl, 0x38bb5a00_7636_11d0_b413_00a0c91bbf8c); +windows_core::imp::define_interface!(ICertPolicy, ICertPolicy_Vtbl, 0x38bb5a00_7636_11d0_b413_00a0c91bbf8c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPolicy, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3090,7 +3090,7 @@ pub struct ICertPolicy_Vtbl { pub ShutDown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPolicy2, ICertPolicy2_Vtbl, 0x3db4910e_8001_4bf1_aa1b_f43a808317a0); +windows_core::imp::define_interface!(ICertPolicy2, ICertPolicy2_Vtbl, 0x3db4910e_8001_4bf1_aa1b_f43a808317a0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPolicy2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertPolicy); #[cfg(feature = "Win32_System_Com")] @@ -3131,7 +3131,7 @@ pub struct ICertPolicy2_Vtbl { GetManageModule: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertProperties, ICertProperties_Vtbl, 0x728ab32f_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertProperties, ICertProperties_Vtbl, 0x728ab32f_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertProperties, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3189,7 +3189,7 @@ pub struct ICertProperties_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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertProperty, ICertProperty_Vtbl, 0x728ab32e_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertProperty, ICertProperty_Vtbl, 0x728ab32e_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertProperty, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3246,7 +3246,7 @@ pub struct ICertProperty_Vtbl { pub SetValueOnCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertyArchived, ICertPropertyArchived_Vtbl, 0x728ab337_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertyArchived, ICertPropertyArchived_Vtbl, 0x728ab337_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertyArchived, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -3308,7 +3308,7 @@ pub struct ICertPropertyArchived_Vtbl { pub Archived: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertyArchivedKeyHash, ICertPropertyArchivedKeyHash_Vtbl, 0x728ab33b_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertyArchivedKeyHash, ICertPropertyArchivedKeyHash_Vtbl, 0x728ab33b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertyArchivedKeyHash, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -3370,7 +3370,7 @@ pub struct ICertPropertyArchivedKeyHash_Vtbl { pub get_ArchivedKeyHash: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertyAutoEnroll, ICertPropertyAutoEnroll_Vtbl, 0x728ab332_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertyAutoEnroll, ICertPropertyAutoEnroll_Vtbl, 0x728ab332_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertyAutoEnroll, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -3432,7 +3432,7 @@ pub struct ICertPropertyAutoEnroll_Vtbl { pub TemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertyBackedUp, ICertPropertyBackedUp_Vtbl, 0x728ab338_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertyBackedUp, ICertPropertyBackedUp_Vtbl, 0x728ab338_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertyBackedUp, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -3506,7 +3506,7 @@ pub struct ICertPropertyBackedUp_Vtbl { pub BackedUpTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertyDescription, ICertPropertyDescription_Vtbl, 0x728ab331_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertyDescription, ICertPropertyDescription_Vtbl, 0x728ab331_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertyDescription, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -3568,7 +3568,7 @@ pub struct ICertPropertyDescription_Vtbl { pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertyEnrollment, ICertPropertyEnrollment_Vtbl, 0x728ab339_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertyEnrollment, ICertPropertyEnrollment_Vtbl, 0x728ab339_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertyEnrollment, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -3647,7 +3647,7 @@ pub struct ICertPropertyEnrollment_Vtbl { pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertyEnrollmentPolicyServer, ICertPropertyEnrollmentPolicyServer_Vtbl, 0x728ab34a_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertyEnrollmentPolicyServer, ICertPropertyEnrollmentPolicyServer_Vtbl, 0x728ab34a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertyEnrollmentPolicyServer, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -3747,7 +3747,7 @@ pub struct ICertPropertyEnrollmentPolicyServer_Vtbl { pub GetEnrollmentServerAuthentication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509EnrollmentAuthFlags) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertyFriendlyName, ICertPropertyFriendlyName_Vtbl, 0x728ab330_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertyFriendlyName, ICertPropertyFriendlyName_Vtbl, 0x728ab330_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertyFriendlyName, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -3809,7 +3809,7 @@ pub struct ICertPropertyFriendlyName_Vtbl { pub FriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertyKeyProvInfo, ICertPropertyKeyProvInfo_Vtbl, 0x728ab336_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertyKeyProvInfo, ICertPropertyKeyProvInfo_Vtbl, 0x728ab336_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertyKeyProvInfo, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -3879,7 +3879,7 @@ pub struct ICertPropertyKeyProvInfo_Vtbl { PrivateKey: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertyRenewal, ICertPropertyRenewal_Vtbl, 0x728ab33a_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertyRenewal, ICertPropertyRenewal_Vtbl, 0x728ab33a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertyRenewal, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -3949,7 +3949,7 @@ pub struct ICertPropertyRenewal_Vtbl { pub get_Renewal: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertyRequestOriginator, ICertPropertyRequestOriginator_Vtbl, 0x728ab333_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertyRequestOriginator, ICertPropertyRequestOriginator_Vtbl, 0x728ab333_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertyRequestOriginator, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -4015,7 +4015,7 @@ pub struct ICertPropertyRequestOriginator_Vtbl { pub RequestOriginator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertPropertySHA1Hash, ICertPropertySHA1Hash_Vtbl, 0x728ab334_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertPropertySHA1Hash, ICertPropertySHA1Hash_Vtbl, 0x728ab334_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertPropertySHA1Hash, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertProperty); #[cfg(feature = "Win32_System_Com")] @@ -4077,7 +4077,7 @@ pub struct ICertPropertySHA1Hash_Vtbl { pub get_SHA1Hash: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertRequest, ICertRequest_Vtbl, 0x014e4840_5523_11d0_8812_00a0c903b83c); +windows_core::imp::define_interface!(ICertRequest, ICertRequest_Vtbl, 0x014e4840_5523_11d0_8812_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4135,7 +4135,7 @@ pub struct ICertRequest_Vtbl { pub GetCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertRequest2, ICertRequest2_Vtbl, 0xa4772988_4a85_4fa9_824e_b5cf5c16405a); +windows_core::imp::define_interface!(ICertRequest2, ICertRequest2_Vtbl, 0xa4772988_4a85_4fa9_824e_b5cf5c16405a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertRequest2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertRequest); #[cfg(feature = "Win32_System_Com")] @@ -4229,7 +4229,7 @@ pub struct ICertRequest2_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertRequest3, ICertRequest3_Vtbl, 0xafc8f92b_33a2_4861_bf36_2933b7cd67b3); +windows_core::imp::define_interface!(ICertRequest3, ICertRequest3_Vtbl, 0xafc8f92b_33a2_4861_bf36_2933b7cd67b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertRequest3, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertRequest, ICertRequest2); #[cfg(feature = "Win32_System_Com")] @@ -4344,7 +4344,7 @@ pub struct ICertRequest3_Vtbl { 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 GetRefreshPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICertRequestD, ICertRequestD_Vtbl, 0xd99e6e70_fc88_11d0_b498_00a0c90312f3); +windows_core::imp::define_interface!(ICertRequestD, ICertRequestD_Vtbl, 0xd99e6e70_fc88_11d0_b498_00a0c90312f3); windows_core::imp::interface_hierarchy!(ICertRequestD, windows_core::IUnknown); impl ICertRequestD { pub unsafe fn Request(&self, dwflags: u32, pwszauthority: P0, pdwrequestid: *mut u32, pdwdisposition: *mut u32, pwszattributes: P1, pctbrequest: *const CERTTRANSBLOB, pctbcertchain: *mut CERTTRANSBLOB, pctbencodedcert: *mut CERTTRANSBLOB, pctbdispositionmessage: *mut CERTTRANSBLOB) -> windows_core::Result<()> @@ -4375,7 +4375,7 @@ pub struct ICertRequestD_Vtbl { pub GetCACert: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, *mut CERTTRANSBLOB) -> windows_core::HRESULT, pub Ping: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICertRequestD2, ICertRequestD2_Vtbl, 0x5422fd3a_d4b8_4cef_a12e_e87d4ca22e90); +windows_core::imp::define_interface!(ICertRequestD2, ICertRequestD2_Vtbl, 0x5422fd3a_d4b8_4cef_a12e_e87d4ca22e90); windows_core::imp::interface_hierarchy!(ICertRequestD2, windows_core::IUnknown, ICertRequestD); impl ICertRequestD2 { pub unsafe fn Request(&self, dwflags: u32, pwszauthority: P0, pdwrequestid: *mut u32, pdwdisposition: *mut u32, pwszattributes: P1, pctbrequest: *const CERTTRANSBLOB, pctbcertchain: *mut CERTTRANSBLOB, pctbencodedcert: *mut CERTTRANSBLOB, pctbdispositionmessage: *mut CERTTRANSBLOB) -> windows_core::Result<()> @@ -4435,7 +4435,7 @@ pub struct ICertRequestD2_Vtbl { pub Ping2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertServerExit, ICertServerExit_Vtbl, 0x4ba9eb90_732c_11d0_8816_00a0c903b83c); +windows_core::imp::define_interface!(ICertServerExit, ICertServerExit_Vtbl, 0x4ba9eb90_732c_11d0_8816_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertServerExit, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4514,7 +4514,7 @@ pub struct ICertServerExit_Vtbl { pub EnumerateAttributesClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertServerPolicy, ICertServerPolicy_Vtbl, 0xaa000922_ffbe_11cf_8800_00a0c903b83c); +windows_core::imp::define_interface!(ICertServerPolicy, ICertServerPolicy_Vtbl, 0xaa000922_ffbe_11cf_8800_00a0c903b83c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertServerPolicy, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4607,7 +4607,7 @@ pub struct ICertServerPolicy_Vtbl { pub EnumerateAttributesClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertView, ICertView_Vtbl, 0xc3fac344_1e84_11d1_9bd6_00c04fb683fa); +windows_core::imp::define_interface!(ICertView, ICertView_Vtbl, 0xc3fac344_1e84_11d1_9bd6_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertView, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4667,7 +4667,7 @@ pub struct ICertView_Vtbl { OpenView: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertView2, ICertView2_Vtbl, 0xd594b282_8851_4b61_9c66_3edadf848863); +windows_core::imp::define_interface!(ICertView2, ICertView2_Vtbl, 0xd594b282_8851_4b61_9c66_3edadf848863); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertView2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertView); #[cfg(feature = "Win32_System_Com")] @@ -4717,7 +4717,7 @@ pub struct ICertView2_Vtbl { pub SetTable: unsafe extern "system" fn(*mut core::ffi::c_void, CVRC_TABLE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertificateAttestationChallenge, ICertificateAttestationChallenge_Vtbl, 0x6f175a7c_4a3a_40ae_9dba_592fd6bbf9b8); +windows_core::imp::define_interface!(ICertificateAttestationChallenge, ICertificateAttestationChallenge_Vtbl, 0x6f175a7c_4a3a_40ae_9dba_592fd6bbf9b8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertificateAttestationChallenge, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4746,7 +4746,7 @@ pub struct ICertificateAttestationChallenge_Vtbl { pub RequestID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertificateAttestationChallenge2, ICertificateAttestationChallenge2_Vtbl, 0x4631334d_e266_47d6_bd79_be53cb2e2753); +windows_core::imp::define_interface!(ICertificateAttestationChallenge2, ICertificateAttestationChallenge2_Vtbl, 0x4631334d_e266_47d6_bd79_be53cb2e2753); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertificateAttestationChallenge2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ICertificateAttestationChallenge); #[cfg(feature = "Win32_System_Com")] @@ -4786,7 +4786,7 @@ pub struct ICertificateAttestationChallenge2_Vtbl { pub put_KeyBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertificatePolicies, ICertificatePolicies_Vtbl, 0x728ab31f_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertificatePolicies, ICertificatePolicies_Vtbl, 0x728ab31f_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertificatePolicies, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4836,7 +4836,7 @@ pub struct ICertificatePolicies_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertificatePolicy, ICertificatePolicy_Vtbl, 0x728ab31e_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertificatePolicy, ICertificatePolicy_Vtbl, 0x728ab31e_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertificatePolicy, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4877,7 +4877,7 @@ pub struct ICertificatePolicy_Vtbl { PolicyQualifiers: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertificationAuthorities, ICertificationAuthorities_Vtbl, 0x13b79005_2181_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICertificationAuthorities, ICertificationAuthorities_Vtbl, 0x13b79005_2181_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertificationAuthorities, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4943,7 +4943,7 @@ pub struct ICertificationAuthorities_Vtbl { get_ItemByName: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertificationAuthority, ICertificationAuthority_Vtbl, 0x835d1f61_1e95_4bc8_b4d3_976c42b968f7); +windows_core::imp::define_interface!(ICertificationAuthority, ICertificationAuthority_Vtbl, 0x835d1f61_1e95_4bc8_b4d3_976c42b968f7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertificationAuthority, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4960,7 +4960,7 @@ pub struct ICertificationAuthority_Vtbl { pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentCAProperty, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICryptAttribute, ICryptAttribute_Vtbl, 0x728ab32c_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICryptAttribute, ICryptAttribute_Vtbl, 0x728ab32c_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICryptAttribute, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5012,7 +5012,7 @@ pub struct ICryptAttribute_Vtbl { Values: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICryptAttributes, ICryptAttributes_Vtbl, 0x728ab32d_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICryptAttributes, ICryptAttributes_Vtbl, 0x728ab32d_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICryptAttributes, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5085,7 +5085,7 @@ pub struct ICryptAttributes_Vtbl { AddRange: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICspAlgorithm, ICspAlgorithm_Vtbl, 0x728ab305_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICspAlgorithm, ICspAlgorithm_Vtbl, 0x728ab305_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICspAlgorithm, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5151,7 +5151,7 @@ pub struct ICspAlgorithm_Vtbl { pub Operations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AlgorithmOperationFlags) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICspAlgorithms, ICspAlgorithms_Vtbl, 0x728ab306_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICspAlgorithms, ICspAlgorithms_Vtbl, 0x728ab306_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICspAlgorithms, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5225,7 +5225,7 @@ pub struct ICspAlgorithms_Vtbl { get_IndexByObjectId: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICspInformation, ICspInformation_Vtbl, 0x728ab307_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICspInformation, ICspInformation_Vtbl, 0x728ab307_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICspInformation, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5345,7 +5345,7 @@ pub struct ICspInformation_Vtbl { GetCspStatusFromOperations: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICspInformations, ICspInformations_Vtbl, 0x728ab308_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICspInformations, ICspInformations_Vtbl, 0x728ab308_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICspInformations, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5459,7 +5459,7 @@ pub struct ICspInformations_Vtbl { GetHashAlgorithms: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICspStatus, ICspStatus_Vtbl, 0x728ab309_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICspStatus, ICspStatus_Vtbl, 0x728ab309_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICspStatus, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5524,7 +5524,7 @@ pub struct ICspStatus_Vtbl { pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICspStatuses, ICspStatuses_Vtbl, 0x728ab30a_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ICspStatuses, ICspStatuses_Vtbl, 0x728ab30a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICspStatuses, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5620,7 +5620,7 @@ pub struct ICspStatuses_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] get_ItemByProvider: usize, } -windows_core::imp::com_interface!(IEnroll, IEnroll_Vtbl, 0xacaa7838_4585_11d1_ab57_00c04fc295e1); +windows_core::imp::define_interface!(IEnroll, IEnroll_Vtbl, 0xacaa7838_4585_11d1_ab57_00c04fc295e1); windows_core::imp::interface_hierarchy!(IEnroll, windows_core::IUnknown); impl IEnroll { pub unsafe fn createFilePKCS10WStr(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> windows_core::Result<()> @@ -5981,7 +5981,7 @@ pub struct IEnroll_Vtbl { pub AddAuthenticatedAttributesToPKCS7Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::CRYPT_ATTRIBUTES) -> windows_core::HRESULT, pub CreatePKCS7RequestFromRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::CRYPT_INTEGER_BLOB, *const super::CERT_CONTEXT, *mut super::CRYPT_INTEGER_BLOB) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnroll2, IEnroll2_Vtbl, 0xc080e199_b7df_11d2_a421_00c04f79fe8e); +windows_core::imp::define_interface!(IEnroll2, IEnroll2_Vtbl, 0xc080e199_b7df_11d2_a421_00c04f79fe8e); windows_core::imp::interface_hierarchy!(IEnroll2, windows_core::IUnknown, IEnroll); impl IEnroll2 { pub unsafe fn createFilePKCS10WStr(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> windows_core::Result<()> @@ -6369,7 +6369,7 @@ pub struct IEnroll2_Vtbl { pub SetEnableSMIMECapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub EnableSMIMECapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnroll4, IEnroll4_Vtbl, 0xf8053fe5_78f4_448f_a0db_41d61b73446b); +windows_core::imp::define_interface!(IEnroll4, IEnroll4_Vtbl, 0xf8053fe5_78f4_448f_a0db_41d61b73446b); windows_core::imp::interface_hierarchy!(IEnroll4, windows_core::IUnknown, IEnroll, IEnroll2); impl IEnroll4 { pub unsafe fn createFilePKCS10WStr(&self, dnname: P0, usage: P1, wszpkcs10filename: P2) -> windows_core::Result<()> @@ -6918,7 +6918,7 @@ pub struct IEnroll4_Vtbl { pub IncludeSubjectKeyID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IEnumCERTVIEWATTRIBUTE, IEnumCERTVIEWATTRIBUTE_Vtbl, 0xe77db656_7653_11d1_9bde_00c04fb683fa); +windows_core::imp::define_interface!(IEnumCERTVIEWATTRIBUTE, IEnumCERTVIEWATTRIBUTE_Vtbl, 0xe77db656_7653_11d1_9bde_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IEnumCERTVIEWATTRIBUTE, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6959,7 +6959,7 @@ pub struct IEnumCERTVIEWATTRIBUTE_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IEnumCERTVIEWCOLUMN, IEnumCERTVIEWCOLUMN_Vtbl, 0x9c735be2_57a5_11d1_9bdb_00c04fb683fa); +windows_core::imp::define_interface!(IEnumCERTVIEWCOLUMN, IEnumCERTVIEWCOLUMN_Vtbl, 0x9c735be2_57a5_11d1_9bdb_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IEnumCERTVIEWCOLUMN, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7016,7 +7016,7 @@ pub struct IEnumCERTVIEWCOLUMN_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IEnumCERTVIEWEXTENSION, IEnumCERTVIEWEXTENSION_Vtbl, 0xe7dd1466_7653_11d1_9bde_00c04fb683fa); +windows_core::imp::define_interface!(IEnumCERTVIEWEXTENSION, IEnumCERTVIEWEXTENSION_Vtbl, 0xe7dd1466_7653_11d1_9bde_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IEnumCERTVIEWEXTENSION, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7061,7 +7061,7 @@ pub struct IEnumCERTVIEWEXTENSION_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IEnumCERTVIEWROW, IEnumCERTVIEWROW_Vtbl, 0xd1157f4c_5af2_11d1_9bdc_00c04fb683fa); +windows_core::imp::define_interface!(IEnumCERTVIEWROW, IEnumCERTVIEWROW_Vtbl, 0xd1157f4c_5af2_11d1_9bdc_00c04fb683fa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IEnumCERTVIEWROW, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7124,7 +7124,7 @@ pub struct IEnumCERTVIEWROW_Vtbl { Clone: usize, pub GetMaxIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INDESPolicy, INDESPolicy_Vtbl, 0x13ca515d_431d_46cc_8c2e_1da269bbd625); +windows_core::imp::define_interface!(INDESPolicy, INDESPolicy_Vtbl, 0x13ca515d_431d_46cc_8c2e_1da269bbd625); windows_core::imp::interface_hierarchy!(INDESPolicy, windows_core::IUnknown); impl INDESPolicy { pub unsafe fn Initialize(&self) -> windows_core::Result<()> { @@ -7167,7 +7167,7 @@ pub struct INDESPolicy_Vtbl { pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, X509SCEPDisposition, i32, *mut CERTTRANSBLOB) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IOCSPAdmin, IOCSPAdmin_Vtbl, 0x322e830d_67db_4fe9_9577_4596d9f09294); +windows_core::imp::define_interface!(IOCSPAdmin, IOCSPAdmin_Vtbl, 0x322e830d_67db_4fe9_9577_4596d9f09294); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IOCSPAdmin, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7261,7 +7261,7 @@ pub struct IOCSPAdmin_Vtbl { pub GetHashAlgorithms: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IOCSPCAConfiguration, IOCSPCAConfiguration_Vtbl, 0xaec92b40_3d46_433f_87d1_b84d5c1e790d); +windows_core::imp::define_interface!(IOCSPCAConfiguration, IOCSPCAConfiguration_Vtbl, 0xaec92b40_3d46_433f_87d1_b84d5c1e790d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IOCSPCAConfiguration, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7405,7 +7405,7 @@ pub struct IOCSPCAConfiguration_Vtbl { pub SetCAConfig: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IOCSPCAConfigurationCollection, IOCSPCAConfigurationCollection_Vtbl, 0x2bebea0b_5ece_4f28_a91c_86b4bb20f0d3); +windows_core::imp::define_interface!(IOCSPCAConfigurationCollection, IOCSPCAConfigurationCollection_Vtbl, 0x2bebea0b_5ece_4f28_a91c_86b4bb20f0d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IOCSPCAConfigurationCollection, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7460,7 +7460,7 @@ pub struct IOCSPCAConfigurationCollection_Vtbl { pub DeleteCAConfiguration: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IOCSPProperty, IOCSPProperty_Vtbl, 0x66fb7839_5f04_4c25_ad18_9ff1a8376ee0); +windows_core::imp::define_interface!(IOCSPProperty, IOCSPProperty_Vtbl, 0x66fb7839_5f04_4c25_ad18_9ff1a8376ee0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IOCSPProperty, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7494,7 +7494,7 @@ pub struct IOCSPProperty_Vtbl { 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")] -windows_core::imp::com_interface!(IOCSPPropertyCollection, IOCSPPropertyCollection_Vtbl, 0x2597c18d_54e6_4b74_9fa9_a6bfda99cbbe); +windows_core::imp::define_interface!(IOCSPPropertyCollection, IOCSPPropertyCollection_Vtbl, 0x2597c18d_54e6_4b74_9fa9_a6bfda99cbbe); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IOCSPPropertyCollection, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7557,7 +7557,7 @@ pub struct IOCSPPropertyCollection_Vtbl { pub GetAllProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IObjectId, IObjectId_Vtbl, 0x728ab300_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IObjectId, IObjectId_Vtbl, 0x728ab300_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IObjectId, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7614,7 +7614,7 @@ pub struct IObjectId_Vtbl { pub GetAlgorithmName: unsafe extern "system" fn(*mut core::ffi::c_void, ObjectIdGroupId, ObjectIdPublicKeyFlags, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IObjectIds, IObjectIds_Vtbl, 0x728ab301_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IObjectIds, IObjectIds_Vtbl, 0x728ab301_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IObjectIds, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7675,7 +7675,7 @@ pub struct IObjectIds_Vtbl { AddRange: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPolicyQualifier, IPolicyQualifier_Vtbl, 0x728ab31c_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IPolicyQualifier, IPolicyQualifier_Vtbl, 0x728ab31c_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPolicyQualifier, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7718,7 +7718,7 @@ pub struct IPolicyQualifier_Vtbl { pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPolicyQualifiers, IPolicyQualifiers_Vtbl, 0x728ab31d_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IPolicyQualifiers, IPolicyQualifiers_Vtbl, 0x728ab31d_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPolicyQualifiers, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7768,7 +7768,7 @@ pub struct IPolicyQualifiers_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISignerCertificate, ISignerCertificate_Vtbl, 0x728ab33d_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ISignerCertificate, ISignerCertificate_Vtbl, 0x728ab33d_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISignerCertificate, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7851,7 +7851,7 @@ pub struct ISignerCertificate_Vtbl { SignatureInformation: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISignerCertificates, ISignerCertificates_Vtbl, 0x728ab33e_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ISignerCertificates, ISignerCertificates_Vtbl, 0x728ab33e_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISignerCertificates, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7913,7 +7913,7 @@ pub struct ISignerCertificates_Vtbl { Find: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISmimeCapabilities, ISmimeCapabilities_Vtbl, 0x728ab31a_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ISmimeCapabilities, ISmimeCapabilities_Vtbl, 0x728ab31a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISmimeCapabilities, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -7981,7 +7981,7 @@ pub struct ISmimeCapabilities_Vtbl { pub AddAvailableSmimeCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISmimeCapability, ISmimeCapability_Vtbl, 0x728ab319_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(ISmimeCapability, ISmimeCapability_Vtbl, 0x728ab319_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISmimeCapability, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8018,7 +8018,7 @@ pub struct ISmimeCapability_Vtbl { pub BitCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX500DistinguishedName, IX500DistinguishedName_Vtbl, 0x728ab303_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX500DistinguishedName, IX500DistinguishedName_Vtbl, 0x728ab303_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX500DistinguishedName, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8054,7 +8054,7 @@ pub struct IX500DistinguishedName_Vtbl { pub get_EncodedName: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509Attribute, IX509Attribute_Vtbl, 0x728ab322_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509Attribute, IX509Attribute_Vtbl, 0x728ab322_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509Attribute, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8092,7 +8092,7 @@ pub struct IX509Attribute_Vtbl { pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509AttributeArchiveKey, IX509AttributeArchiveKey_Vtbl, 0x728ab327_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509AttributeArchiveKey, IX509AttributeArchiveKey_Vtbl, 0x728ab327_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509AttributeArchiveKey, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] @@ -8160,7 +8160,7 @@ pub struct IX509AttributeArchiveKey_Vtbl { pub EncryptionStrength: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509AttributeArchiveKeyHash, IX509AttributeArchiveKeyHash_Vtbl, 0x728ab328_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509AttributeArchiveKeyHash, IX509AttributeArchiveKeyHash_Vtbl, 0x728ab328_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509AttributeArchiveKeyHash, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] @@ -8208,7 +8208,7 @@ pub struct IX509AttributeArchiveKeyHash_Vtbl { pub get_EncryptedKeyHashBlob: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509AttributeClientId, IX509AttributeClientId_Vtbl, 0x728ab325_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509AttributeClientId, IX509AttributeClientId_Vtbl, 0x728ab325_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509AttributeClientId, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] @@ -8273,7 +8273,7 @@ pub struct IX509AttributeClientId_Vtbl { pub ProcessName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509AttributeCspProvider, IX509AttributeCspProvider_Vtbl, 0x728ab32b_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509AttributeCspProvider, IX509AttributeCspProvider_Vtbl, 0x728ab32b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509AttributeCspProvider, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] @@ -8332,7 +8332,7 @@ pub struct IX509AttributeCspProvider_Vtbl { pub get_Signature: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509AttributeExtensions, IX509AttributeExtensions_Vtbl, 0x728ab324_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509AttributeExtensions, IX509AttributeExtensions_Vtbl, 0x728ab324_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509AttributeExtensions, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] @@ -8388,7 +8388,7 @@ pub struct IX509AttributeExtensions_Vtbl { X509Extensions: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509AttributeOSVersion, IX509AttributeOSVersion_Vtbl, 0x728ab32a_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509AttributeOSVersion, IX509AttributeOSVersion_Vtbl, 0x728ab32a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509AttributeOSVersion, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] @@ -8436,7 +8436,7 @@ pub struct IX509AttributeOSVersion_Vtbl { pub OSVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509AttributeRenewalCertificate, IX509AttributeRenewalCertificate_Vtbl, 0x728ab326_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509AttributeRenewalCertificate, IX509AttributeRenewalCertificate_Vtbl, 0x728ab326_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509AttributeRenewalCertificate, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Attribute); #[cfg(feature = "Win32_System_Com")] @@ -8484,7 +8484,7 @@ pub struct IX509AttributeRenewalCertificate_Vtbl { pub get_RenewalCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509Attributes, IX509Attributes_Vtbl, 0x728ab323_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509Attributes, IX509Attributes_Vtbl, 0x728ab323_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509Attributes, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8534,7 +8534,7 @@ pub struct IX509Attributes_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRequest, IX509CertificateRequest_Vtbl, 0x728ab341_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRequest, IX509CertificateRequest_Vtbl, 0x728ab341_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRequest, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -8700,7 +8700,7 @@ pub struct IX509CertificateRequest_Vtbl { pub get_RawData: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRequestCertificate, IX509CertificateRequestCertificate_Vtbl, 0x728ab343_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRequestCertificate, IX509CertificateRequestCertificate_Vtbl, 0x728ab343_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRequestCertificate, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10); #[cfg(feature = "Win32_System_Com")] @@ -9050,7 +9050,7 @@ pub struct IX509CertificateRequestCertificate_Vtbl { SetSignerCertificate: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRequestCertificate2, IX509CertificateRequestCertificate2_Vtbl, 0x728ab35a_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRequestCertificate2, IX509CertificateRequestCertificate2_Vtbl, 0x728ab35a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRequestCertificate2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestCertificate); #[cfg(feature = "Win32_System_Com")] @@ -9417,7 +9417,7 @@ pub struct IX509CertificateRequestCertificate2_Vtbl { Template: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRequestCmc, IX509CertificateRequestCmc_Vtbl, 0x728ab345_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRequestCmc, IX509CertificateRequestCmc_Vtbl, 0x728ab345_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRequestCmc, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7); #[cfg(feature = "Win32_System_Com")] @@ -9759,7 +9759,7 @@ pub struct IX509CertificateRequestCmc_Vtbl { SignerCertificates: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRequestCmc2, IX509CertificateRequestCmc2_Vtbl, 0x728ab35d_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRequestCmc2, IX509CertificateRequestCmc2_Vtbl, 0x728ab35d_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRequestCmc2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7, IX509CertificateRequestCmc); #[cfg(feature = "Win32_System_Com")] @@ -10104,7 +10104,7 @@ pub struct IX509CertificateRequestCmc2_Vtbl { CheckCertificateSignature: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10_Vtbl, 0x728ab342_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10_Vtbl, 0x728ab342_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs10, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest); #[cfg(feature = "Win32_System_Com")] @@ -10443,7 +10443,7 @@ pub struct IX509CertificateRequestPkcs10_Vtbl { GetCspStatuses: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRequestPkcs10V2, IX509CertificateRequestPkcs10V2_Vtbl, 0x728ab35b_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRequestPkcs10V2, IX509CertificateRequestPkcs10V2_Vtbl, 0x728ab35b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10); #[cfg(feature = "Win32_System_Com")] @@ -10768,7 +10768,7 @@ pub struct IX509CertificateRequestPkcs10V2_Vtbl { Template: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRequestPkcs10V3, IX509CertificateRequestPkcs10V3_Vtbl, 0x54ea9942_3d66_4530_b76e_7c9170d3ec52); +windows_core::imp::define_interface!(IX509CertificateRequestPkcs10V3, IX509CertificateRequestPkcs10V3_Vtbl, 0x54ea9942_3d66_4530_b76e_7c9170d3ec52); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V3, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10V2); #[cfg(feature = "Win32_System_Com")] @@ -11147,7 +11147,7 @@ pub struct IX509CertificateRequestPkcs10V3_Vtbl { NameValuePairs: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRequestPkcs10V4, IX509CertificateRequestPkcs10V4_Vtbl, 0x728ab363_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRequestPkcs10V4, IX509CertificateRequestPkcs10V4_Vtbl, 0x728ab363_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs10V4, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs10, IX509CertificateRequestPkcs10V2, IX509CertificateRequestPkcs10V3); #[cfg(feature = "Win32_System_Com")] @@ -11527,7 +11527,7 @@ pub struct IX509CertificateRequestPkcs10V4_Vtbl { pub SetAttestPrivateKeyPreferred: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRequestPkcs7, IX509CertificateRequestPkcs7_Vtbl, 0x728ab344_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRequestPkcs7, IX509CertificateRequestPkcs7_Vtbl, 0x728ab344_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs7, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest); #[cfg(feature = "Win32_System_Com")] @@ -11718,7 +11718,7 @@ pub struct IX509CertificateRequestPkcs7_Vtbl { SetSignerCertificate: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRequestPkcs7V2, IX509CertificateRequestPkcs7V2_Vtbl, 0x728ab35c_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRequestPkcs7V2, IX509CertificateRequestPkcs7V2_Vtbl, 0x728ab35c_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRequestPkcs7V2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509CertificateRequest, IX509CertificateRequestPkcs7); #[cfg(feature = "Win32_System_Com")] @@ -11929,7 +11929,7 @@ pub struct IX509CertificateRequestPkcs7V2_Vtbl { pub CheckCertificateSignature: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRevocationList, IX509CertificateRevocationList_Vtbl, 0x728ab360_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRevocationList, IX509CertificateRevocationList_Vtbl, 0x728ab360_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRevocationList, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12147,7 +12147,7 @@ pub struct IX509CertificateRevocationList_Vtbl { pub get_Signature: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRevocationListEntries, IX509CertificateRevocationListEntries_Vtbl, 0x728ab35f_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRevocationListEntries, IX509CertificateRevocationListEntries_Vtbl, 0x728ab35f_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRevocationListEntries, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12216,7 +12216,7 @@ pub struct IX509CertificateRevocationListEntries_Vtbl { AddRange: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateRevocationListEntry, IX509CertificateRevocationListEntry_Vtbl, 0x728ab35e_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateRevocationListEntry, IX509CertificateRevocationListEntry_Vtbl, 0x728ab35e_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateRevocationListEntry, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12272,7 +12272,7 @@ pub struct IX509CertificateRevocationListEntry_Vtbl { CriticalExtensions: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateTemplate, IX509CertificateTemplate_Vtbl, 0x54244a13_555a_4e22_896d_1b0e52f76406); +windows_core::imp::define_interface!(IX509CertificateTemplate, IX509CertificateTemplate_Vtbl, 0x54244a13_555a_4e22_896d_1b0e52f76406); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateTemplate, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12289,7 +12289,7 @@ pub struct IX509CertificateTemplate_Vtbl { pub get_Property: unsafe extern "system" fn(*mut core::ffi::c_void, EnrollmentTemplateProperty, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateTemplateWritable, IX509CertificateTemplateWritable_Vtbl, 0xf49466a7_395a_4e9e_b6e7_32b331600dc0); +windows_core::imp::define_interface!(IX509CertificateTemplateWritable, IX509CertificateTemplateWritable_Vtbl, 0xf49466a7_395a_4e9e_b6e7_32b331600dc0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateTemplateWritable, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12340,7 +12340,7 @@ pub struct IX509CertificateTemplateWritable_Vtbl { Template: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509CertificateTemplates, IX509CertificateTemplates_Vtbl, 0x13b79003_2181_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509CertificateTemplates, IX509CertificateTemplates_Vtbl, 0x13b79003_2181_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509CertificateTemplates, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12414,7 +12414,7 @@ pub struct IX509CertificateTemplates_Vtbl { get_ItemByOid: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509EndorsementKey, IX509EndorsementKey_Vtbl, 0xb11cd855_f4c4_4fc6_b710_4422237f09e9); +windows_core::imp::define_interface!(IX509EndorsementKey, IX509EndorsementKey_Vtbl, 0xb11cd855_f4c4_4fc6_b710_4422237f09e9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509EndorsementKey, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12495,7 +12495,7 @@ pub struct IX509EndorsementKey_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509Enrollment, IX509Enrollment_Vtbl, 0x728ab346_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509Enrollment, IX509Enrollment_Vtbl, 0x728ab346_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509Enrollment, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12651,7 +12651,7 @@ pub struct IX509Enrollment_Vtbl { pub CAConfigString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509Enrollment2, IX509Enrollment2_Vtbl, 0x728ab350_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509Enrollment2, IX509Enrollment2_Vtbl, 0x728ab350_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509Enrollment2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Enrollment); #[cfg(feature = "Win32_System_Com")] @@ -12817,7 +12817,7 @@ pub struct IX509Enrollment2_Vtbl { pub RequestIdString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509EnrollmentHelper, IX509EnrollmentHelper_Vtbl, 0x728ab351_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509EnrollmentHelper, IX509EnrollmentHelper_Vtbl, 0x728ab351_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509EnrollmentHelper, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -12861,7 +12861,7 @@ pub struct IX509EnrollmentHelper_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509EnrollmentPolicyServer, IX509EnrollmentPolicyServer_Vtbl, 0x13b79026_2181_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509EnrollmentPolicyServer, IX509EnrollmentPolicyServer_Vtbl, 0x13b79026_2181_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509EnrollmentPolicyServer, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -13018,7 +13018,7 @@ pub struct IX509EnrollmentPolicyServer_Vtbl { pub SetCost: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509EnrollmentStatus, IX509EnrollmentStatus_Vtbl, 0x728ab304_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509EnrollmentStatus, IX509EnrollmentStatus_Vtbl, 0x728ab304_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509EnrollmentStatus, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -13090,7 +13090,7 @@ pub struct IX509EnrollmentStatus_Vtbl { pub ErrorText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509EnrollmentWebClassFactory, IX509EnrollmentWebClassFactory_Vtbl, 0x728ab349_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509EnrollmentWebClassFactory, IX509EnrollmentWebClassFactory_Vtbl, 0x728ab349_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509EnrollmentWebClassFactory, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -13110,7 +13110,7 @@ pub struct IX509EnrollmentWebClassFactory_Vtbl { pub CreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509Extension, IX509Extension_Vtbl, 0x728ab30d_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509Extension, IX509Extension_Vtbl, 0x728ab30d_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509Extension, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -13160,7 +13160,7 @@ pub struct IX509Extension_Vtbl { pub SetCritical: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509ExtensionAlternativeNames, IX509ExtensionAlternativeNames_Vtbl, 0x728ab315_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509ExtensionAlternativeNames, IX509ExtensionAlternativeNames_Vtbl, 0x728ab315_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509ExtensionAlternativeNames, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] @@ -13226,7 +13226,7 @@ pub struct IX509ExtensionAlternativeNames_Vtbl { AlternativeNames: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509ExtensionAuthorityKeyIdentifier, IX509ExtensionAuthorityKeyIdentifier_Vtbl, 0x728ab318_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509ExtensionAuthorityKeyIdentifier, IX509ExtensionAuthorityKeyIdentifier_Vtbl, 0x728ab318_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509ExtensionAuthorityKeyIdentifier, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] @@ -13284,7 +13284,7 @@ pub struct IX509ExtensionAuthorityKeyIdentifier_Vtbl { pub get_AuthorityKeyIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509ExtensionBasicConstraints, IX509ExtensionBasicConstraints_Vtbl, 0x728ab316_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509ExtensionBasicConstraints, IX509ExtensionBasicConstraints_Vtbl, 0x728ab316_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509ExtensionBasicConstraints, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] @@ -13347,7 +13347,7 @@ pub struct IX509ExtensionBasicConstraints_Vtbl { pub PathLenConstraint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509ExtensionCertificatePolicies, IX509ExtensionCertificatePolicies_Vtbl, 0x728ab320_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509ExtensionCertificatePolicies, IX509ExtensionCertificatePolicies_Vtbl, 0x728ab320_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509ExtensionCertificatePolicies, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] @@ -13413,7 +13413,7 @@ pub struct IX509ExtensionCertificatePolicies_Vtbl { Policies: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509ExtensionEnhancedKeyUsage, IX509ExtensionEnhancedKeyUsage_Vtbl, 0x728ab310_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509ExtensionEnhancedKeyUsage, IX509ExtensionEnhancedKeyUsage_Vtbl, 0x728ab310_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509ExtensionEnhancedKeyUsage, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] @@ -13479,7 +13479,7 @@ pub struct IX509ExtensionEnhancedKeyUsage_Vtbl { EnhancedKeyUsage: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509ExtensionKeyUsage, IX509ExtensionKeyUsage_Vtbl, 0x728ab30f_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509ExtensionKeyUsage, IX509ExtensionKeyUsage_Vtbl, 0x728ab30f_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509ExtensionKeyUsage, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] @@ -13534,7 +13534,7 @@ pub struct IX509ExtensionKeyUsage_Vtbl { pub KeyUsage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut X509KeyUsageFlags) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509ExtensionMSApplicationPolicies, IX509ExtensionMSApplicationPolicies_Vtbl, 0x728ab321_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509ExtensionMSApplicationPolicies, IX509ExtensionMSApplicationPolicies_Vtbl, 0x728ab321_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509ExtensionMSApplicationPolicies, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] @@ -13600,7 +13600,7 @@ pub struct IX509ExtensionMSApplicationPolicies_Vtbl { Policies: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509ExtensionSmimeCapabilities, IX509ExtensionSmimeCapabilities_Vtbl, 0x728ab31b_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509ExtensionSmimeCapabilities, IX509ExtensionSmimeCapabilities_Vtbl, 0x728ab31b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509ExtensionSmimeCapabilities, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] @@ -13666,7 +13666,7 @@ pub struct IX509ExtensionSmimeCapabilities_Vtbl { SmimeCapabilities: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509ExtensionSubjectKeyIdentifier, IX509ExtensionSubjectKeyIdentifier_Vtbl, 0x728ab317_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509ExtensionSubjectKeyIdentifier, IX509ExtensionSubjectKeyIdentifier_Vtbl, 0x728ab317_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509ExtensionSubjectKeyIdentifier, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] @@ -13724,7 +13724,7 @@ pub struct IX509ExtensionSubjectKeyIdentifier_Vtbl { pub get_SubjectKeyIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509ExtensionTemplate, IX509ExtensionTemplate_Vtbl, 0x728ab312_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509ExtensionTemplate, IX509ExtensionTemplate_Vtbl, 0x728ab312_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509ExtensionTemplate, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] @@ -13800,7 +13800,7 @@ pub struct IX509ExtensionTemplate_Vtbl { pub MinorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509ExtensionTemplateName, IX509ExtensionTemplateName_Vtbl, 0x728ab311_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509ExtensionTemplateName, IX509ExtensionTemplateName_Vtbl, 0x728ab311_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509ExtensionTemplateName, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509Extension); #[cfg(feature = "Win32_System_Com")] @@ -13858,7 +13858,7 @@ pub struct IX509ExtensionTemplateName_Vtbl { pub TemplateName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509Extensions, IX509Extensions_Vtbl, 0x728ab30e_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509Extensions, IX509Extensions_Vtbl, 0x728ab30e_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509Extensions, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -13931,7 +13931,7 @@ pub struct IX509Extensions_Vtbl { AddRange: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509MachineEnrollmentFactory, IX509MachineEnrollmentFactory_Vtbl, 0x728ab352_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509MachineEnrollmentFactory, IX509MachineEnrollmentFactory_Vtbl, 0x728ab352_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509MachineEnrollmentFactory, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -13955,7 +13955,7 @@ pub struct IX509MachineEnrollmentFactory_Vtbl { CreateObject: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509NameValuePair, IX509NameValuePair_Vtbl, 0x728ab33f_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509NameValuePair, IX509NameValuePair_Vtbl, 0x728ab33f_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509NameValuePair, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -13985,7 +13985,7 @@ pub struct IX509NameValuePair_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509NameValuePairs, IX509NameValuePairs_Vtbl, 0x728ab340_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509NameValuePairs, IX509NameValuePairs_Vtbl, 0x728ab340_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509NameValuePairs, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -14035,7 +14035,7 @@ pub struct IX509NameValuePairs_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509PolicyServerListManager, IX509PolicyServerListManager_Vtbl, 0x884e204b_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509PolicyServerListManager, IX509PolicyServerListManager_Vtbl, 0x884e204b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509PolicyServerListManager, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -14089,7 +14089,7 @@ pub struct IX509PolicyServerListManager_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext, PolicyServerUrlFlags) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509PolicyServerUrl, IX509PolicyServerUrl_Vtbl, 0x884e204a_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509PolicyServerUrl, IX509PolicyServerUrl_Vtbl, 0x884e204a_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509PolicyServerUrl, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -14176,7 +14176,7 @@ pub struct IX509PolicyServerUrl_Vtbl { pub RemoveFromRegistry: unsafe extern "system" fn(*mut core::ffi::c_void, X509CertificateEnrollmentContext) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509PrivateKey, IX509PrivateKey_Vtbl, 0x728ab30c_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509PrivateKey, IX509PrivateKey_Vtbl, 0x728ab30c_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509PrivateKey, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -14534,7 +14534,7 @@ pub struct IX509PrivateKey_Vtbl { pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509PrivateKey2, IX509PrivateKey2_Vtbl, 0x728ab362_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509PrivateKey2, IX509PrivateKey2_Vtbl, 0x728ab362_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509PrivateKey2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509PrivateKey); #[cfg(feature = "Win32_System_Com")] @@ -14867,7 +14867,7 @@ pub struct IX509PrivateKey2_Vtbl { pub SetParametersExportType: unsafe extern "system" fn(*mut core::ffi::c_void, X509KeyParametersExportType) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509PublicKey, IX509PublicKey_Vtbl, 0x728ab30b_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509PublicKey, IX509PublicKey_Vtbl, 0x728ab30b_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509PublicKey, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -14928,7 +14928,7 @@ pub struct IX509PublicKey_Vtbl { pub ComputeKeyIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, KeyIdentifierHashAlgorithm, EncodingType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509SCEPEnrollment, IX509SCEPEnrollment_Vtbl, 0x728ab361_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509SCEPEnrollment, IX509SCEPEnrollment_Vtbl, 0x728ab361_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509SCEPEnrollment, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -15099,7 +15099,7 @@ pub struct IX509SCEPEnrollment_Vtbl { pub DeleteRequest: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509SCEPEnrollment2, IX509SCEPEnrollment2_Vtbl, 0x728ab364_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509SCEPEnrollment2, IX509SCEPEnrollment2_Vtbl, 0x728ab364_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509SCEPEnrollment2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, IX509SCEPEnrollment); #[cfg(feature = "Win32_System_Com")] @@ -15262,7 +15262,7 @@ pub struct IX509SCEPEnrollment2_Vtbl { pub SetActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509SCEPEnrollmentHelper, IX509SCEPEnrollmentHelper_Vtbl, 0x728ab365_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509SCEPEnrollmentHelper, IX509SCEPEnrollmentHelper_Vtbl, 0x728ab365_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509SCEPEnrollmentHelper, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -15321,7 +15321,7 @@ pub struct IX509SCEPEnrollmentHelper_Vtbl { pub ResultMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IX509SignatureInformation, IX509SignatureInformation_Vtbl, 0x728ab33c_217d_11da_b2a4_000e7bbb2b09); +windows_core::imp::define_interface!(IX509SignatureInformation, IX509SignatureInformation_Vtbl, 0x728ab33c_217d_11da_b2a4_000e7bbb2b09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IX509SignatureInformation, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 2c76a21897..9bc25b07d9 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs @@ -2843,7 +2843,7 @@ where VerifyHash(hcrypto, phash.len().try_into().unwrap(), core::mem::transmute(phash.as_ptr()), hashalgoid.into_param().abi(), psig.len().try_into().unwrap(), core::mem::transmute(psig.as_ptr()), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertSrvSetup, ICertSrvSetup_Vtbl, 0xb760a1bb_4784_44c0_8f12_555f0780ff25); +windows_core::imp::define_interface!(ICertSrvSetup, ICertSrvSetup_Vtbl, 0xb760a1bb_4784_44c0_8f12_555f0780ff25); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertSrvSetup, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2993,7 +2993,7 @@ pub struct ICertSrvSetup_Vtbl { pub PostUnInstall: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertSrvSetupKeyInformation, ICertSrvSetupKeyInformation_Vtbl, 0x6ba73778_36da_4c39_8a85_bcfa7d000793); +windows_core::imp::define_interface!(ICertSrvSetupKeyInformation, ICertSrvSetupKeyInformation_Vtbl, 0x6ba73778_36da_4c39_8a85_bcfa7d000793); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertSrvSetupKeyInformation, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3074,7 +3074,7 @@ pub struct ICertSrvSetupKeyInformation_Vtbl { pub SetExistingCACertificate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertSrvSetupKeyInformationCollection, ICertSrvSetupKeyInformationCollection_Vtbl, 0xe65c8b00_e58f_41f9_a9ec_a28d7427c844); +windows_core::imp::define_interface!(ICertSrvSetupKeyInformationCollection, ICertSrvSetupKeyInformationCollection_Vtbl, 0xe65c8b00_e58f_41f9_a9ec_a28d7427c844); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertSrvSetupKeyInformationCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3112,7 +3112,7 @@ pub struct ICertSrvSetupKeyInformationCollection_Vtbl { Add: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertificateEnrollmentPolicyServerSetup, ICertificateEnrollmentPolicyServerSetup_Vtbl, 0x859252cc_238c_4a88_b8fd_a37e7d04e68b); +windows_core::imp::define_interface!(ICertificateEnrollmentPolicyServerSetup, ICertificateEnrollmentPolicyServerSetup_Vtbl, 0x859252cc_238c_4a88_b8fd_a37e7d04e68b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertificateEnrollmentPolicyServerSetup, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3150,7 +3150,7 @@ pub struct ICertificateEnrollmentPolicyServerSetup_Vtbl { pub UnInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICertificateEnrollmentServerSetup, ICertificateEnrollmentServerSetup_Vtbl, 0x70027fdb_9dd9_4921_8944_b35cb31bd2ec); +windows_core::imp::define_interface!(ICertificateEnrollmentServerSetup, ICertificateEnrollmentServerSetup_Vtbl, 0x70027fdb_9dd9_4921_8944_b35cb31bd2ec); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICertificateEnrollmentServerSetup, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3196,7 +3196,7 @@ pub struct ICertificateEnrollmentServerSetup_Vtbl { pub UnInstall: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSCEPSetup, IMSCEPSetup_Vtbl, 0x4f7761bb_9f3b_4592_9ee0_9a73259c313e); +windows_core::imp::define_interface!(IMSCEPSetup, IMSCEPSetup_Vtbl, 0x4f7761bb_9f3b_4592_9ee0_9a73259c313e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSCEPSetup, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 93608738ec..6ced4b8691 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/mod.rs @@ -93,7 +93,7 @@ where windows_targets::link!("efswrt.dll" "system" fn UnprotectFile(fileorfolderpath : windows_core::PCWSTR, options : *const FILE_UNPROTECT_OPTIONS) -> windows_core::HRESULT); UnprotectFile(fileorfolderpath.into_param().abi(), core::mem::transmute(options.unwrap_or(std::ptr::null()))).ok() } -windows_core::imp::com_interface!(IProtectionPolicyManagerInterop, IProtectionPolicyManagerInterop_Vtbl, 0x4652651d_c1fe_4ba1_9f0a_c0f56596f721); +windows_core::imp::define_interface!(IProtectionPolicyManagerInterop, IProtectionPolicyManagerInterop_Vtbl, 0x4652651d_c1fe_4ba1_9f0a_c0f56596f721); windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop, windows_core::IUnknown, windows_core::IInspectable); impl IProtectionPolicyManagerInterop { pub unsafe fn RequestAccessForWindowAsync(&self, appwindow: P0, sourceidentity: &windows_core::HSTRING, targetidentity: &windows_core::HSTRING) -> windows_core::Result @@ -119,7 +119,7 @@ pub struct IProtectionPolicyManagerInterop_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 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::com_interface!(IProtectionPolicyManagerInterop2, IProtectionPolicyManagerInterop2_Vtbl, 0x157cfbe4_a78d_4156_b384_61fdac41e686); +windows_core::imp::define_interface!(IProtectionPolicyManagerInterop2, IProtectionPolicyManagerInterop2_Vtbl, 0x157cfbe4_a78d_4156_b384_61fdac41e686); windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop2, windows_core::IUnknown, windows_core::IInspectable); impl IProtectionPolicyManagerInterop2 { pub unsafe fn RequestAccessForAppWithWindowAsync(&self, appwindow: P0, sourceidentity: &windows_core::HSTRING, apppackagefamilyname: &windows_core::HSTRING) -> windows_core::Result @@ -176,7 +176,7 @@ pub struct IProtectionPolicyManagerInterop2_Vtbl { 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, } -windows_core::imp::com_interface!(IProtectionPolicyManagerInterop3, IProtectionPolicyManagerInterop3_Vtbl, 0xc1c03933_b398_4d93_b0fd_2972adf802c2); +windows_core::imp::define_interface!(IProtectionPolicyManagerInterop3, IProtectionPolicyManagerInterop3_Vtbl, 0xc1c03933_b398_4d93_b0fd_2972adf802c2); windows_core::imp::interface_hierarchy!(IProtectionPolicyManagerInterop3, windows_core::IUnknown, windows_core::IInspectable); impl IProtectionPolicyManagerInterop3 { pub unsafe fn RequestAccessWithBehaviorForWindowAsync(&self, appwindow: P0, sourceidentity: &windows_core::HSTRING, targetidentity: &windows_core::HSTRING, auditinfounk: P1, messagefromapp: &windows_core::HSTRING, behavior: u32) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs index 53a9058188..080ad0082e 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/mod.rs @@ -194,7 +194,7 @@ pub unsafe fn EapHostPeerUninitialize() { windows_targets::link!("eappprxy.dll" "system" fn EapHostPeerUninitialize()); EapHostPeerUninitialize() } -windows_core::imp::com_interface!(IAccountingProviderConfig, IAccountingProviderConfig_Vtbl, 0x66a2db18_d706_11d0_a37b_00c04fc9da04); +windows_core::imp::define_interface!(IAccountingProviderConfig, IAccountingProviderConfig_Vtbl, 0x66a2db18_d706_11d0_a37b_00c04fc9da04); windows_core::imp::interface_hierarchy!(IAccountingProviderConfig, windows_core::IUnknown); impl IAccountingProviderConfig { pub unsafe fn Initialize(&self, pszmachinename: P0) -> windows_core::Result @@ -229,7 +229,7 @@ pub struct IAccountingProviderConfig_Vtbl { pub Activate: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, pub Deactivate: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAuthenticationProviderConfig, IAuthenticationProviderConfig_Vtbl, 0x66a2db17_d706_11d0_a37b_00c04fc9da04); +windows_core::imp::define_interface!(IAuthenticationProviderConfig, IAuthenticationProviderConfig_Vtbl, 0x66a2db17_d706_11d0_a37b_00c04fc9da04); windows_core::imp::interface_hierarchy!(IAuthenticationProviderConfig, windows_core::IUnknown); impl IAuthenticationProviderConfig { pub unsafe fn Initialize(&self, pszmachinename: P0) -> windows_core::Result @@ -264,7 +264,7 @@ pub struct IAuthenticationProviderConfig_Vtbl { pub Activate: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, pub Deactivate: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEAPProviderConfig, IEAPProviderConfig_Vtbl, 0x66a2db19_d706_11d0_a37b_00c04fc9da04); +windows_core::imp::define_interface!(IEAPProviderConfig, IEAPProviderConfig_Vtbl, 0x66a2db19_d706_11d0_a37b_00c04fc9da04); windows_core::imp::interface_hierarchy!(IEAPProviderConfig, windows_core::IUnknown); impl IEAPProviderConfig { pub unsafe fn Initialize(&self, pszmachinename: P0, dweaptypeid: u32) -> windows_core::Result @@ -305,7 +305,7 @@ pub struct IEAPProviderConfig_Vtbl { pub RouterInvokeConfigUI: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, super::super::Foundation::HWND, u32, *const u8, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub RouterInvokeCredentialsUI: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, super::super::Foundation::HWND, u32, *const u8, u32, *const u8, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEAPProviderConfig2, IEAPProviderConfig2_Vtbl, 0xd565917a_85c4_4466_856e_671c3742ea9a); +windows_core::imp::define_interface!(IEAPProviderConfig2, IEAPProviderConfig2_Vtbl, 0xd565917a_85c4_4466_856e_671c3742ea9a); windows_core::imp::interface_hierarchy!(IEAPProviderConfig2, windows_core::IUnknown, IEAPProviderConfig); impl IEAPProviderConfig2 { pub unsafe fn Initialize(&self, pszmachinename: P0, dweaptypeid: u32) -> windows_core::Result @@ -352,7 +352,7 @@ pub struct IEAPProviderConfig2_Vtbl { pub ServerInvokeConfigUI2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, super::super::Foundation::HWND, *const u8, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub GetGlobalConfig: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEAPProviderConfig3, IEAPProviderConfig3_Vtbl, 0xb78ecd12_68bb_4f86_9bf0_8438dd3be982); +windows_core::imp::define_interface!(IEAPProviderConfig3, IEAPProviderConfig3_Vtbl, 0xb78ecd12_68bb_4f86_9bf0_8438dd3be982); windows_core::imp::interface_hierarchy!(IEAPProviderConfig3, windows_core::IUnknown, IEAPProviderConfig, IEAPProviderConfig2); impl IEAPProviderConfig3 { pub unsafe fn Initialize(&self, pszmachinename: P0, dweaptypeid: u32) -> windows_core::Result @@ -404,7 +404,7 @@ pub struct IEAPProviderConfig3_Vtbl { pub base__: IEAPProviderConfig2_Vtbl, pub ServerInvokeCertificateConfigUI: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, super::super::Foundation::HWND, *const u8, u32, *mut *mut u8, *mut u32, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRouterProtocolConfig, IRouterProtocolConfig_Vtbl, 0x66a2db16_d706_11d0_a37b_00c04fc9da04); +windows_core::imp::define_interface!(IRouterProtocolConfig, IRouterProtocolConfig_Vtbl, 0x66a2db16_d706_11d0_a37b_00c04fc9da04); windows_core::imp::interface_hierarchy!(IRouterProtocolConfig, windows_core::IUnknown); impl IRouterProtocolConfig { pub unsafe fn AddProtocol(&self, pszmachinename: P0, dwtransportid: u32, dwprotocolid: u32, hwnd: P1, dwflags: u32, prouter: P2, ureserved1: usize) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs index e6a29fe315..8bcea0592c 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Isolation/mod.rs @@ -85,7 +85,7 @@ pub unsafe fn IsProcessInWDAGContainer(reserved: *const core::ffi::c_void) -> wi let mut result__ = std::mem::zeroed(); IsProcessInWDAGContainer(reserved, &mut result__).map(|| result__) } -windows_core::imp::com_interface!(IIsolatedAppLauncher, IIsolatedAppLauncher_Vtbl, 0xf686878f_7b42_4cc4_96fb_f4f3b6e3d24d); +windows_core::imp::define_interface!(IIsolatedAppLauncher, IIsolatedAppLauncher_Vtbl, 0xf686878f_7b42_4cc4_96fb_f4f3b6e3d24d); windows_core::imp::interface_hierarchy!(IIsolatedAppLauncher, windows_core::IUnknown); impl IIsolatedAppLauncher { pub unsafe fn Launch(&self, appusermodelid: P0, arguments: P1, telemetryparameters: *const IsolatedAppLauncherTelemetryParameters) -> windows_core::Result<()> @@ -101,7 +101,7 @@ pub struct IIsolatedAppLauncher_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Launch: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *const IsolatedAppLauncherTelemetryParameters) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedProcessLauncher, IIsolatedProcessLauncher_Vtbl, 0x1aa24232_9a91_4201_88cb_122f9d6522e0); +windows_core::imp::define_interface!(IIsolatedProcessLauncher, IIsolatedProcessLauncher_Vtbl, 0x1aa24232_9a91_4201_88cb_122f9d6522e0); windows_core::imp::interface_hierarchy!(IIsolatedProcessLauncher, windows_core::IUnknown); impl IIsolatedProcessLauncher { pub unsafe fn LaunchProcess(&self, process: P0, arguments: P1, workingdirectory: P2) -> windows_core::Result<()> @@ -141,7 +141,7 @@ pub struct IIsolatedProcessLauncher_Vtbl { pub AllowSetForegroundAccess: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub IsContainerRunning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIsolatedProcessLauncher2, IIsolatedProcessLauncher2_Vtbl, 0x780e4416_5e72_4123_808e_66dc6479feef); +windows_core::imp::define_interface!(IIsolatedProcessLauncher2, IIsolatedProcessLauncher2_Vtbl, 0x780e4416_5e72_4123_808e_66dc6479feef); windows_core::imp::interface_hierarchy!(IIsolatedProcessLauncher2, windows_core::IUnknown, IIsolatedProcessLauncher); impl IIsolatedProcessLauncher2 { pub unsafe fn LaunchProcess(&self, process: P0, arguments: P1, workingdirectory: P2) -> windows_core::Result<()> 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 0b4228593f..d059884256 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Tpm/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ITpmVirtualSmartCardManager, ITpmVirtualSmartCardManager_Vtbl, 0x112b1dff_d9dc_41f7_869f_d67fee7cb591); +windows_core::imp::define_interface!(ITpmVirtualSmartCardManager, ITpmVirtualSmartCardManager_Vtbl, 0x112b1dff_d9dc_41f7_869f_d67fee7cb591); windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManager, windows_core::IUnknown); impl ITpmVirtualSmartCardManager { pub unsafe fn CreateVirtualSmartCard(&self, pszfriendlyname: P0, badminalgid: u8, pbadminkey: &[u8], pbadminkcv: &[u8], pbpuk: &[u8], pbpin: &[u8], fgenerate: P1, pstatuscallback: P2, ppszinstanceid: *mut windows_core::PWSTR, pfneedreboot: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -41,7 +41,7 @@ pub struct ITpmVirtualSmartCardManager_Vtbl { pub CreateVirtualSmartCard: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u8, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, super::super::Foundation::BOOL, *mut core::ffi::c_void, *mut windows_core::PWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub DestroyVirtualSmartCard: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITpmVirtualSmartCardManager2, ITpmVirtualSmartCardManager2_Vtbl, 0xfdf8a2b9_02de_47f4_bc26_aa85ab5e5267); +windows_core::imp::define_interface!(ITpmVirtualSmartCardManager2, ITpmVirtualSmartCardManager2_Vtbl, 0xfdf8a2b9_02de_47f4_bc26_aa85ab5e5267); windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManager2, windows_core::IUnknown, ITpmVirtualSmartCardManager); impl ITpmVirtualSmartCardManager2 { pub unsafe fn CreateVirtualSmartCard(&self, pszfriendlyname: P0, badminalgid: u8, pbadminkey: &[u8], pbadminkcv: &[u8], pbpuk: &[u8], pbpin: &[u8], fgenerate: P1, pstatuscallback: P2, ppszinstanceid: *mut windows_core::PWSTR, pfneedreboot: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -110,7 +110,7 @@ pub struct ITpmVirtualSmartCardManager2_Vtbl { pub base__: ITpmVirtualSmartCardManager_Vtbl, pub CreateVirtualSmartCardWithPinPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u8, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, super::super::Foundation::BOOL, *mut core::ffi::c_void, *mut windows_core::PWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITpmVirtualSmartCardManager3, ITpmVirtualSmartCardManager3_Vtbl, 0x3c745a97_f375_4150_be17_5950f694c699); +windows_core::imp::define_interface!(ITpmVirtualSmartCardManager3, ITpmVirtualSmartCardManager3_Vtbl, 0x3c745a97_f375_4150_be17_5950f694c699); windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManager3, windows_core::IUnknown, ITpmVirtualSmartCardManager, ITpmVirtualSmartCardManager2); impl ITpmVirtualSmartCardManager3 { pub unsafe fn CreateVirtualSmartCard(&self, pszfriendlyname: P0, badminalgid: u8, pbadminkey: &[u8], pbadminkcv: &[u8], pbpuk: &[u8], pbpin: &[u8], fgenerate: P1, pstatuscallback: P2, ppszinstanceid: *mut windows_core::PWSTR, pfneedreboot: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -207,7 +207,7 @@ pub struct ITpmVirtualSmartCardManager3_Vtbl { pub base__: ITpmVirtualSmartCardManager2_Vtbl, pub CreateVirtualSmartCardWithAttestation: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u8, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, TPMVSC_ATTESTATION_TYPE, super::super::Foundation::BOOL, *mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITpmVirtualSmartCardManagerStatusCallback, ITpmVirtualSmartCardManagerStatusCallback_Vtbl, 0x1a1bb35f_abb8_451c_a1ae_33d98f1bef4a); +windows_core::imp::define_interface!(ITpmVirtualSmartCardManagerStatusCallback, ITpmVirtualSmartCardManagerStatusCallback_Vtbl, 0x1a1bb35f_abb8_451c_a1ae_33d98f1bef4a); windows_core::imp::interface_hierarchy!(ITpmVirtualSmartCardManagerStatusCallback, windows_core::IUnknown); impl ITpmVirtualSmartCardManagerStatusCallback { pub unsafe fn ReportProgress(&self, status: TPMVSCMGR_STATUS) -> windows_core::Result<()> { 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 189dbbcb92..e8b936bbcb 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDedupBackupSupport, IDedupBackupSupport_Vtbl, 0xc719d963_2b2d_415e_acf7_7eb7ca596ff4); +windows_core::imp::define_interface!(IDedupBackupSupport, IDedupBackupSupport_Vtbl, 0xc719d963_2b2d_415e_acf7_7eb7ca596ff4); windows_core::imp::interface_hierarchy!(IDedupBackupSupport, windows_core::IUnknown); impl IDedupBackupSupport { pub unsafe fn RestoreFiles(&self, numberoffiles: u32, filefullpaths: *const windows_core::BSTR, store: P0, flags: u32, fileresults: *mut windows_core::HRESULT) -> windows_core::Result<()> @@ -13,7 +13,7 @@ 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, } -windows_core::imp::com_interface!(IDedupChunkLibrary, IDedupChunkLibrary_Vtbl, 0xbb5144d7_2720_4dcc_8777_78597416ec23); +windows_core::imp::define_interface!(IDedupChunkLibrary, IDedupChunkLibrary_Vtbl, 0xbb5144d7_2720_4dcc_8777_78597416ec23); windows_core::imp::interface_hierarchy!(IDedupChunkLibrary, windows_core::IUnknown); impl IDedupChunkLibrary { pub unsafe fn InitializeForPushBuffers(&self) -> windows_core::Result<()> { @@ -41,7 +41,7 @@ pub struct IDedupChunkLibrary_Vtbl { pub SetParameter: unsafe extern "system" fn(*mut core::ffi::c_void, u32, std::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::com_interface!(IDedupDataPort, IDedupDataPort_Vtbl, 0x7963d734_40a9_4ea3_bbf6_5a89d26f7ae8); +windows_core::imp::define_interface!(IDedupDataPort, IDedupDataPort_Vtbl, 0x7963d734_40a9_4ea3_bbf6_5a89d26f7ae8); windows_core::imp::interface_hierarchy!(IDedupDataPort, windows_core::IUnknown); impl IDedupDataPort { pub unsafe fn GetStatus(&self, pstatus: *mut DedupDataPortVolumeStatus, pdataheadroommb: *mut u32) -> windows_core::Result<()> { @@ -119,7 +119,7 @@ pub struct IDedupDataPort_Vtbl { pub GetRequestStatus: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut DedupDataPortRequestStatus) -> windows_core::HRESULT, pub GetRequestResults: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32, *mut windows_core::HRESULT, *mut u32, *mut DedupDataPortRequestStatus, *mut *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDedupDataPortManager, IDedupDataPortManager_Vtbl, 0x44677452_b90a_445e_8192_cdcfe81511fb); +windows_core::imp::define_interface!(IDedupDataPortManager, IDedupDataPortManager_Vtbl, 0x44677452_b90a_445e_8192_cdcfe81511fb); windows_core::imp::interface_hierarchy!(IDedupDataPortManager, windows_core::IUnknown); impl IDedupDataPortManager { pub unsafe fn GetConfiguration(&self, pminchunksize: *mut u32, pmaxchunksize: *mut u32, pchunkingalgorithm: *mut DedupChunkingAlgorithm, phashingalgorithm: *mut DedupHashingAlgorithm, pcompressionalgorithm: *mut DedupCompressionAlgorithm) -> windows_core::Result<()> { @@ -147,7 +147,7 @@ pub struct IDedupDataPortManager_Vtbl { 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, } -windows_core::imp::com_interface!(IDedupIterateChunksHash32, IDedupIterateChunksHash32_Vtbl, 0x90b584d3_72aa_400f_9767_cad866a5a2d8); +windows_core::imp::define_interface!(IDedupIterateChunksHash32, IDedupIterateChunksHash32_Vtbl, 0x90b584d3_72aa_400f_9767_cad866a5a2d8); windows_core::imp::interface_hierarchy!(IDedupIterateChunksHash32, windows_core::IUnknown); impl IDedupIterateChunksHash32 { pub unsafe fn PushBuffer(&self, pbuffer: &[u8]) -> windows_core::Result<()> { @@ -171,7 +171,7 @@ pub struct IDedupIterateChunksHash32_Vtbl { pub Drain: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDedupReadFileCallback, IDedupReadFileCallback_Vtbl, 0x7bacc67a_2f1d_42d0_897e_6ff62dd533bb); +windows_core::imp::define_interface!(IDedupReadFileCallback, IDedupReadFileCallback_Vtbl, 0x7bacc67a_2f1d_42d0_897e_6ff62dd533bb); windows_core::imp::interface_hierarchy!(IDedupReadFileCallback, windows_core::IUnknown); impl IDedupReadFileCallback { pub unsafe fn ReadBackupFile(&self, filefullpath: P0, fileoffset: i64, filebuffer: &mut [u8], returnedsize: *mut u32, flags: u32) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs index 2f5c3b5fab..ab023c642b 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IEnhancedStorageACT, IEnhancedStorageACT_Vtbl, 0x6e7781f4_e0f2_4239_b976_a01abab52930); +windows_core::imp::define_interface!(IEnhancedStorageACT, IEnhancedStorageACT_Vtbl, 0x6e7781f4_e0f2_4239_b976_a01abab52930); windows_core::imp::interface_hierarchy!(IEnhancedStorageACT, windows_core::IUnknown); impl IEnhancedStorageACT { pub unsafe fn Authorize(&self, hwndparent: u32, dwflags: u32) -> windows_core::Result<()> { @@ -33,7 +33,7 @@ pub struct IEnhancedStorageACT_Vtbl { pub GetUniqueIdentity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetSilos: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut Option, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnhancedStorageACT2, IEnhancedStorageACT2_Vtbl, 0x4da57d2e_8eb3_41f6_a07e_98b52b88242b); +windows_core::imp::define_interface!(IEnhancedStorageACT2, IEnhancedStorageACT2_Vtbl, 0x4da57d2e_8eb3_41f6_a07e_98b52b88242b); windows_core::imp::interface_hierarchy!(IEnhancedStorageACT2, windows_core::IUnknown, IEnhancedStorageACT); impl IEnhancedStorageACT2 { pub unsafe fn Authorize(&self, hwndparent: u32, dwflags: u32) -> windows_core::Result<()> { @@ -72,7 +72,7 @@ pub struct IEnhancedStorageACT2_Vtbl { pub GetDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub IsDeviceRemovable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnhancedStorageACT3, IEnhancedStorageACT3_Vtbl, 0x022150a1_113d_11df_bb61_001aa01bbc58); +windows_core::imp::define_interface!(IEnhancedStorageACT3, IEnhancedStorageACT3_Vtbl, 0x022150a1_113d_11df_bb61_001aa01bbc58); windows_core::imp::interface_hierarchy!(IEnhancedStorageACT3, windows_core::IUnknown, IEnhancedStorageACT, IEnhancedStorageACT2); impl IEnhancedStorageACT3 { pub unsafe fn Authorize(&self, hwndparent: u32, dwflags: u32) -> windows_core::Result<()> { @@ -123,7 +123,7 @@ pub struct IEnhancedStorageACT3_Vtbl { pub IsQueueFrozen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetShellExtSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnhancedStorageSilo, IEnhancedStorageSilo_Vtbl, 0x5aef78c6_2242_4703_bf49_44b29357a359); +windows_core::imp::define_interface!(IEnhancedStorageSilo, IEnhancedStorageSilo_Vtbl, 0x5aef78c6_2242_4703_bf49_44b29357a359); windows_core::imp::interface_hierarchy!(IEnhancedStorageSilo, windows_core::IUnknown); impl IEnhancedStorageSilo { pub unsafe fn GetInfo(&self) -> windows_core::Result { @@ -158,7 +158,7 @@ pub struct IEnhancedStorageSilo_Vtbl { GetPortableDevice: usize, pub GetDevicePath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnhancedStorageSiloAction, IEnhancedStorageSiloAction_Vtbl, 0xb6f7f311_206f_4ff8_9c4b_27efee77a86f); +windows_core::imp::define_interface!(IEnhancedStorageSiloAction, IEnhancedStorageSiloAction_Vtbl, 0xb6f7f311_206f_4ff8_9c4b_27efee77a86f); windows_core::imp::interface_hierarchy!(IEnhancedStorageSiloAction, windows_core::IUnknown); impl IEnhancedStorageSiloAction { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -180,7 +180,7 @@ pub struct IEnhancedStorageSiloAction_Vtbl { pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumEnhancedStorageACT, IEnumEnhancedStorageACT_Vtbl, 0x09b224bd_1335_4631_a7ff_cfd3a92646d7); +windows_core::imp::define_interface!(IEnumEnhancedStorageACT, IEnumEnhancedStorageACT_Vtbl, 0x09b224bd_1335_4631_a7ff_cfd3a92646d7); windows_core::imp::interface_hierarchy!(IEnumEnhancedStorageACT, windows_core::IUnknown); impl IEnumEnhancedStorageACT { pub unsafe fn GetACTs(&self, pppienhancedstorageacts: *mut *mut Option, pcenhancedstorageacts: *mut u32) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs index b91d06ae4c..1afda63048 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/mod.rs @@ -64,7 +64,7 @@ where windows_targets::link!("fhsvcctl.dll" "system" fn FhServiceUnblockBackup(pipe : super::super::System::WindowsProgramming:: FH_SERVICE_PIPE_HANDLE) -> windows_core::HRESULT); FhServiceUnblockBackup(pipe.into_param().abi()).ok() } -windows_core::imp::com_interface!(IFhConfigMgr, IFhConfigMgr_Vtbl, 0x6a5fea5b_bf8f_4ee5_b8c3_44d8a0d7331c); +windows_core::imp::define_interface!(IFhConfigMgr, IFhConfigMgr_Vtbl, 0x6a5fea5b_bf8f_4ee5_b8c3_44d8a0d7331c); windows_core::imp::interface_hierarchy!(IFhConfigMgr, windows_core::IUnknown); impl IFhConfigMgr { pub unsafe fn LoadConfiguration(&self) -> windows_core::Result<()> { @@ -153,7 +153,7 @@ pub struct IFhConfigMgr_Vtbl { 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, } -windows_core::imp::com_interface!(IFhReassociation, IFhReassociation_Vtbl, 0x6544a28a_f68d_47ac_91ef_16b2b36aa3ee); +windows_core::imp::define_interface!(IFhReassociation, IFhReassociation_Vtbl, 0x6544a28a_f68d_47ac_91ef_16b2b36aa3ee); windows_core::imp::interface_hierarchy!(IFhReassociation, windows_core::IUnknown); impl IFhReassociation { pub unsafe fn ValidateTarget(&self, targeturl: P0) -> windows_core::Result @@ -191,7 +191,7 @@ pub struct IFhReassociation_Vtbl { 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, } -windows_core::imp::com_interface!(IFhScopeIterator, IFhScopeIterator_Vtbl, 0x3197abce_532a_44c6_8615_f3666566a720); +windows_core::imp::define_interface!(IFhScopeIterator, IFhScopeIterator_Vtbl, 0x3197abce_532a_44c6_8615_f3666566a720); windows_core::imp::interface_hierarchy!(IFhScopeIterator, windows_core::IUnknown); impl IFhScopeIterator { pub unsafe fn MoveToNextItem(&self) -> windows_core::Result<()> { @@ -208,7 +208,7 @@ pub struct IFhScopeIterator_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, } -windows_core::imp::com_interface!(IFhTarget, IFhTarget_Vtbl, 0xd87965fd_2bad_4657_bd3b_9567eb300ced); +windows_core::imp::define_interface!(IFhTarget, IFhTarget_Vtbl, 0xd87965fd_2bad_4657_bd3b_9567eb300ced); windows_core::imp::interface_hierarchy!(IFhTarget, windows_core::IUnknown); impl IFhTarget { pub unsafe fn GetStringProperty(&self, propertytype: FH_TARGET_PROPERTY_TYPE) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs index 4565b46cb3..7351e4bc31 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DIFsrmClassificationEvents, DIFsrmClassificationEvents_Vtbl, 0x26942db0_dabf_41d8_bbdd_b129a9f70424); +windows_core::imp::define_interface!(DIFsrmClassificationEvents, DIFsrmClassificationEvents_Vtbl, 0x26942db0_dabf_41d8_bbdd_b129a9f70424); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DIFsrmClassificationEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -10,7 +10,7 @@ pub struct DIFsrmClassificationEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmAccessDeniedRemediationClient, IFsrmAccessDeniedRemediationClient_Vtbl, 0x40002314_590b_45a5_8e1b_8c05da527e52); +windows_core::imp::define_interface!(IFsrmAccessDeniedRemediationClient, IFsrmAccessDeniedRemediationClient_Vtbl, 0x40002314_590b_45a5_8e1b_8c05da527e52); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmAccessDeniedRemediationClient, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -32,7 +32,7 @@ pub struct IFsrmAccessDeniedRemediationClient_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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmAction, IFsrmAction_Vtbl, 0x6cd6408a_ae60_463b_9ef1_e117534d69dc); +windows_core::imp::define_interface!(IFsrmAction, IFsrmAction_Vtbl, 0x6cd6408a_ae60_463b_9ef1_e117534d69dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmAction, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -67,7 +67,7 @@ pub struct IFsrmAction_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmActionCommand, IFsrmActionCommand_Vtbl, 0x12937789_e247_4917_9c20_f3ee9c7ee783); +windows_core::imp::define_interface!(IFsrmActionCommand, IFsrmActionCommand_Vtbl, 0x12937789_e247_4917_9c20_f3ee9c7ee783); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmActionCommand, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] @@ -175,7 +175,7 @@ pub struct IFsrmActionCommand_Vtbl { pub SetLogResult: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmActionEmail, IFsrmActionEmail_Vtbl, 0xd646567d_26ae_4caa_9f84_4e0aad207fca); +windows_core::imp::define_interface!(IFsrmActionEmail, IFsrmActionEmail_Vtbl, 0xd646567d_26ae_4caa_9f84_4e0aad207fca); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmActionEmail, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] @@ -289,7 +289,7 @@ pub struct IFsrmActionEmail_Vtbl { pub SetMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmActionEmail2, IFsrmActionEmail2_Vtbl, 0x8276702f_2532_4839_89bf_4872609a2ea4); +windows_core::imp::define_interface!(IFsrmActionEmail2, IFsrmActionEmail2_Vtbl, 0x8276702f_2532_4839_89bf_4872609a2ea4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmActionEmail2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction, IFsrmActionEmail); #[cfg(feature = "Win32_System_Com")] @@ -398,7 +398,7 @@ pub struct IFsrmActionEmail2_Vtbl { pub SetAttachmentFileListSize: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmActionEventLog, IFsrmActionEventLog_Vtbl, 0x4c8f96c3_5d94_4f37_a4f4_f56ab463546f); +windows_core::imp::define_interface!(IFsrmActionEventLog, IFsrmActionEventLog_Vtbl, 0x4c8f96c3_5d94_4f37_a4f4_f56ab463546f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmActionEventLog, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] @@ -449,7 +449,7 @@ pub struct IFsrmActionEventLog_Vtbl { pub SetMessageText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmActionReport, IFsrmActionReport_Vtbl, 0x2dbe63c4_b340_48a0_a5b0_158e07fc567e); +windows_core::imp::define_interface!(IFsrmActionReport, IFsrmActionReport_Vtbl, 0x2dbe63c4_b340_48a0_a5b0_158e07fc567e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmActionReport, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmAction); #[cfg(feature = "Win32_System_Com")] @@ -508,7 +508,7 @@ pub struct IFsrmActionReport_Vtbl { pub SetMailTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmAutoApplyQuota, IFsrmAutoApplyQuota_Vtbl, 0xf82e5729_6aba_4740_bfc7_c7f58f75fb7b); +windows_core::imp::define_interface!(IFsrmAutoApplyQuota, IFsrmAutoApplyQuota_Vtbl, 0xf82e5729_6aba_4740_bfc7_c7f58f75fb7b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmAutoApplyQuota, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaObject); #[cfg(feature = "Win32_System_Com")] @@ -633,7 +633,7 @@ pub struct IFsrmAutoApplyQuota_Vtbl { CommitAndUpdateDerived: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmClassificationManager, IFsrmClassificationManager_Vtbl, 0xd2dc89da_ee91_48a0_85d8_cc72a56f7d04); +windows_core::imp::define_interface!(IFsrmClassificationManager, IFsrmClassificationManager_Vtbl, 0xd2dc89da_ee91_48a0_85d8_cc72a56f7d04); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmClassificationManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -858,7 +858,7 @@ pub struct IFsrmClassificationManager_Vtbl { pub ClearFileProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmClassificationManager2, IFsrmClassificationManager2_Vtbl, 0x0004c1c9_127e_4765_ba07_6a3147bca112); +windows_core::imp::define_interface!(IFsrmClassificationManager2, IFsrmClassificationManager2_Vtbl, 0x0004c1c9_127e_4765_ba07_6a3147bca112); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmClassificationManager2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmClassificationManager); #[cfg(feature = "Win32_System_Com")] @@ -1025,7 +1025,7 @@ pub struct IFsrmClassificationManager2_Vtbl { ClassifyFiles: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmClassificationRule, IFsrmClassificationRule_Vtbl, 0xafc052c2_5315_45ab_841b_c6db0e120148); +windows_core::imp::define_interface!(IFsrmClassificationRule, IFsrmClassificationRule_Vtbl, 0xafc052c2_5315_45ab_841b_c6db0e120148); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmClassificationRule, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmRule); #[cfg(feature = "Win32_System_Com")] @@ -1143,7 +1143,7 @@ pub struct IFsrmClassificationRule_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmClassifierModuleDefinition, IFsrmClassifierModuleDefinition_Vtbl, 0xbb36ea26_6318_4b8c_8592_f72dd602e7a5); +windows_core::imp::define_interface!(IFsrmClassifierModuleDefinition, IFsrmClassifierModuleDefinition_Vtbl, 0xbb36ea26_6318_4b8c_8592_f72dd602e7a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmClassifierModuleDefinition, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPipelineModuleDefinition); #[cfg(feature = "Win32_System_Com")] @@ -1310,7 +1310,7 @@ pub struct IFsrmClassifierModuleDefinition_Vtbl { pub SetNeedsExplicitValue: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmClassifierModuleImplementation, IFsrmClassifierModuleImplementation_Vtbl, 0x4c968fc6_6edb_4051_9c18_73b7291ae106); +windows_core::imp::define_interface!(IFsrmClassifierModuleImplementation, IFsrmClassifierModuleImplementation_Vtbl, 0x4c968fc6_6edb_4051_9c18_73b7291ae106); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmClassifierModuleImplementation, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmPipelineModuleImplementation); #[cfg(feature = "Win32_System_Com")] @@ -1380,7 +1380,7 @@ pub struct IFsrmClassifierModuleImplementation_Vtbl { pub OnEndFile: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmCollection, IFsrmCollection_Vtbl, 0xf76fbf3b_8ddd_4b42_b05a_cb1c3ff1fee8); +windows_core::imp::define_interface!(IFsrmCollection, IFsrmCollection_Vtbl, 0xf76fbf3b_8ddd_4b42_b05a_cb1c3ff1fee8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmCollection, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1426,7 +1426,7 @@ pub struct IFsrmCollection_Vtbl { pub GetById: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmCommittableCollection, IFsrmCommittableCollection_Vtbl, 0x96deb3b5_8b91_4a2a_9d93_80a35d8aa847); +windows_core::imp::define_interface!(IFsrmCommittableCollection, IFsrmCommittableCollection_Vtbl, 0x96deb3b5_8b91_4a2a_9d93_80a35d8aa847); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmCommittableCollection, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmCollection, IFsrmMutableCollection); #[cfg(feature = "Win32_System_Com")] @@ -1491,7 +1491,7 @@ pub struct IFsrmCommittableCollection_Vtbl { Commit: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmDerivedObjectsResult, IFsrmDerivedObjectsResult_Vtbl, 0x39322a2d_38ee_4d0d_8095_421a80849a82); +windows_core::imp::define_interface!(IFsrmDerivedObjectsResult, IFsrmDerivedObjectsResult_Vtbl, 0x39322a2d_38ee_4d0d_8095_421a80849a82); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmDerivedObjectsResult, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1521,7 +1521,7 @@ pub struct IFsrmDerivedObjectsResult_Vtbl { Results: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmExportImport, IFsrmExportImport_Vtbl, 0xefcb0ab1_16c4_4a79_812c_725614c3306b); +windows_core::imp::define_interface!(IFsrmExportImport, IFsrmExportImport_Vtbl, 0xefcb0ab1_16c4_4a79_812c_725614c3306b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmExportImport, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1596,7 +1596,7 @@ pub struct IFsrmExportImport_Vtbl { ImportQuotaTemplates: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileCondition, IFsrmFileCondition_Vtbl, 0x70684ffc_691a_4a1a_b922_97752e138cc1); +windows_core::imp::define_interface!(IFsrmFileCondition, IFsrmFileCondition_Vtbl, 0x70684ffc_691a_4a1a_b922_97752e138cc1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileCondition, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1617,7 +1617,7 @@ pub struct IFsrmFileCondition_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileConditionProperty, IFsrmFileConditionProperty_Vtbl, 0x81926775_b981_4479_988f_da171d627360); +windows_core::imp::define_interface!(IFsrmFileConditionProperty, IFsrmFileConditionProperty_Vtbl, 0x81926775_b981_4479_988f_da171d627360); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileConditionProperty, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmFileCondition); #[cfg(feature = "Win32_System_Com")] @@ -1687,7 +1687,7 @@ pub struct IFsrmFileConditionProperty_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileGroup, IFsrmFileGroup_Vtbl, 0x8dd04909_0e34_4d55_afaa_89e1f1a1bbb9); +windows_core::imp::define_interface!(IFsrmFileGroup, IFsrmFileGroup_Vtbl, 0x8dd04909_0e34_4d55_afaa_89e1f1a1bbb9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileGroup, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] @@ -1771,7 +1771,7 @@ pub struct IFsrmFileGroup_Vtbl { SetNonMembers: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileGroupImported, IFsrmFileGroupImported_Vtbl, 0xad55f10b_5f11_4be7_94ef_d9ee2e470ded); +windows_core::imp::define_interface!(IFsrmFileGroupImported, IFsrmFileGroupImported_Vtbl, 0xad55f10b_5f11_4be7_94ef_d9ee2e470ded); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileGroupImported, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileGroup); #[cfg(feature = "Win32_System_Com")] @@ -1849,7 +1849,7 @@ pub struct IFsrmFileGroupImported_Vtbl { pub SetOverwriteOnCommit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileGroupManager, IFsrmFileGroupManager_Vtbl, 0x426677d5_018c_485c_8a51_20b86d00bdc4); +windows_core::imp::define_interface!(IFsrmFileGroupManager, IFsrmFileGroupManager_Vtbl, 0x426677d5_018c_485c_8a51_20b86d00bdc4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileGroupManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1908,7 +1908,7 @@ pub struct IFsrmFileGroupManager_Vtbl { ImportFileGroups: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileManagementJob, IFsrmFileManagementJob_Vtbl, 0x0770687e_9f36_4d6f_8778_599d188461c9); +windows_core::imp::define_interface!(IFsrmFileManagementJob, IFsrmFileManagementJob_Vtbl, 0x0770687e_9f36_4d6f_8778_599d188461c9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileManagementJob, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] @@ -2240,7 +2240,7 @@ pub struct IFsrmFileManagementJob_Vtbl { CreateCustomAction: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileManagementJobManager, IFsrmFileManagementJobManager_Vtbl, 0xee321ecb_d95e_48e9_907c_c7685a013235); +windows_core::imp::define_interface!(IFsrmFileManagementJobManager, IFsrmFileManagementJobManager_Vtbl, 0xee321ecb_d95e_48e9_907c_c7685a013235); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileManagementJobManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2300,7 +2300,7 @@ pub struct IFsrmFileManagementJobManager_Vtbl { GetFileManagementJob: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileScreen, IFsrmFileScreen_Vtbl, 0x5f6325d3_ce88_4733_84c1_2d6aefc5ea07); +windows_core::imp::define_interface!(IFsrmFileScreen, IFsrmFileScreen_Vtbl, 0x5f6325d3_ce88_4733_84c1_2d6aefc5ea07); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileScreen, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase); #[cfg(feature = "Win32_System_Com")] @@ -2393,7 +2393,7 @@ pub struct IFsrmFileScreen_Vtbl { pub ApplyTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileScreenBase, IFsrmFileScreenBase_Vtbl, 0xf3637e80_5b22_4a2b_a637_bbb642b41cfc); +windows_core::imp::define_interface!(IFsrmFileScreenBase, IFsrmFileScreenBase_Vtbl, 0xf3637e80_5b22_4a2b_a637_bbb642b41cfc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileScreenBase, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] @@ -2472,7 +2472,7 @@ pub struct IFsrmFileScreenBase_Vtbl { EnumActions: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileScreenException, IFsrmFileScreenException_Vtbl, 0xbee7ce02_df77_4515_9389_78f01c5afc1a); +windows_core::imp::define_interface!(IFsrmFileScreenException, IFsrmFileScreenException_Vtbl, 0xbee7ce02_df77_4515_9389_78f01c5afc1a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileScreenException, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] @@ -2529,7 +2529,7 @@ pub struct IFsrmFileScreenException_Vtbl { SetAllowedFileGroups: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileScreenManager, IFsrmFileScreenManager_Vtbl, 0xff4fa04e_5a94_4bda_a3a0_d5b4d3c52eba); +windows_core::imp::define_interface!(IFsrmFileScreenManager, IFsrmFileScreenManager_Vtbl, 0xff4fa04e_5a94_4bda_a3a0_d5b4d3c52eba); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileScreenManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2640,7 +2640,7 @@ pub struct IFsrmFileScreenManager_Vtbl { CreateFileScreenCollection: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileScreenTemplate, IFsrmFileScreenTemplate_Vtbl, 0x205bebf8_dd93_452a_95a6_32b566b35828); +windows_core::imp::define_interface!(IFsrmFileScreenTemplate, IFsrmFileScreenTemplate_Vtbl, 0x205bebf8_dd93_452a_95a6_32b566b35828); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileScreenTemplate, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase); #[cfg(feature = "Win32_System_Com")] @@ -2729,7 +2729,7 @@ pub struct IFsrmFileScreenTemplate_Vtbl { CommitAndUpdateDerived: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileScreenTemplateImported, IFsrmFileScreenTemplateImported_Vtbl, 0xe1010359_3e5d_4ecd_9fe4_ef48622fdf30); +windows_core::imp::define_interface!(IFsrmFileScreenTemplateImported, IFsrmFileScreenTemplateImported_Vtbl, 0xe1010359_3e5d_4ecd_9fe4_ef48622fdf30); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileScreenTemplateImported, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmFileScreenBase, IFsrmFileScreenTemplate); #[cfg(feature = "Win32_System_Com")] @@ -2823,7 +2823,7 @@ pub struct IFsrmFileScreenTemplateImported_Vtbl { pub SetOverwriteOnCommit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmFileScreenTemplateManager, IFsrmFileScreenTemplateManager_Vtbl, 0xcfe36cba_1949_4e74_a14f_f1d580ceaf13); +windows_core::imp::define_interface!(IFsrmFileScreenTemplateManager, IFsrmFileScreenTemplateManager_Vtbl, 0xcfe36cba_1949_4e74_a14f_f1d580ceaf13); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmFileScreenTemplateManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2882,7 +2882,7 @@ pub struct IFsrmFileScreenTemplateManager_Vtbl { ImportTemplates: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmMutableCollection, IFsrmMutableCollection_Vtbl, 0x1bb617b8_3886_49dc_af82_a6c90fa35dda); +windows_core::imp::define_interface!(IFsrmMutableCollection, IFsrmMutableCollection_Vtbl, 0x1bb617b8_3886_49dc_af82_a6c90fa35dda); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmMutableCollection, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmCollection); #[cfg(feature = "Win32_System_Com")] @@ -2945,7 +2945,7 @@ pub struct IFsrmMutableCollection_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmObject, IFsrmObject_Vtbl, 0x22bcef93_4a3f_4183_89f9_2f8b8a628aee); +windows_core::imp::define_interface!(IFsrmObject, IFsrmObject_Vtbl, 0x22bcef93_4a3f_4183_89f9_2f8b8a628aee); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmObject, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2982,7 +2982,7 @@ pub struct IFsrmObject_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmPathMapper, IFsrmPathMapper_Vtbl, 0x6f4dbfff_6920_4821_a6c3_b7e94c1fd60c); +windows_core::imp::define_interface!(IFsrmPathMapper, IFsrmPathMapper_Vtbl, 0x6f4dbfff_6920_4821_a6c3_b7e94c1fd60c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmPathMapper, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3006,7 +3006,7 @@ pub struct IFsrmPathMapper_Vtbl { GetSharePathsForLocalPath: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmPipelineModuleConnector, IFsrmPipelineModuleConnector_Vtbl, 0xc16014f3_9aa1_46b3_b0a7_ab146eb205f2); +windows_core::imp::define_interface!(IFsrmPipelineModuleConnector, IFsrmPipelineModuleConnector_Vtbl, 0xc16014f3_9aa1_46b3_b0a7_ab146eb205f2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmPipelineModuleConnector, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3054,7 +3054,7 @@ pub struct IFsrmPipelineModuleConnector_Vtbl { Bind: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmPipelineModuleDefinition, IFsrmPipelineModuleDefinition_Vtbl, 0x515c1277_2c81_440e_8fcf_367921ed4f59); +windows_core::imp::define_interface!(IFsrmPipelineModuleDefinition, IFsrmPipelineModuleDefinition_Vtbl, 0x515c1277_2c81_440e_8fcf_367921ed4f59); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmPipelineModuleDefinition, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] @@ -3206,7 +3206,7 @@ pub struct IFsrmPipelineModuleDefinition_Vtbl { SetParameters: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmPipelineModuleImplementation, IFsrmPipelineModuleImplementation_Vtbl, 0xb7907906_2b02_4cb5_84a9_fdf54613d6cd); +windows_core::imp::define_interface!(IFsrmPipelineModuleImplementation, IFsrmPipelineModuleImplementation_Vtbl, 0xb7907906_2b02_4cb5_84a9_fdf54613d6cd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmPipelineModuleImplementation, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3234,7 +3234,7 @@ pub struct IFsrmPipelineModuleImplementation_Vtbl { pub OnUnload: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmProperty, IFsrmProperty_Vtbl, 0x4a73fee4_4102_4fcc_9ffb_38614f9ee768); +windows_core::imp::define_interface!(IFsrmProperty, IFsrmProperty_Vtbl, 0x4a73fee4_4102_4fcc_9ffb_38614f9ee768); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmProperty, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3270,7 +3270,7 @@ pub struct IFsrmProperty_Vtbl { pub PropertyFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmPropertyBag, IFsrmPropertyBag_Vtbl, 0x774589d1_d300_4f7a_9a24_f7b766800250); +windows_core::imp::define_interface!(IFsrmPropertyBag, IFsrmPropertyBag_Vtbl, 0x774589d1_d300_4f7a_9a24_f7b766800250); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmPropertyBag, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3407,7 +3407,7 @@ pub struct IFsrmPropertyBag_Vtbl { pub GetFileStreamInterface: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmFileStreamingMode, FsrmFileStreamingInterfaceType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmPropertyBag2, IFsrmPropertyBag2_Vtbl, 0x0e46bdbd_2402_4fed_9c30_9266e6eb2cc9); +windows_core::imp::define_interface!(IFsrmPropertyBag2, IFsrmPropertyBag2_Vtbl, 0x0e46bdbd_2402_4fed_9c30_9266e6eb2cc9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmPropertyBag2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmPropertyBag); #[cfg(feature = "Win32_System_Com")] @@ -3528,7 +3528,7 @@ pub struct IFsrmPropertyBag2_Vtbl { GetUntrustedInFileProperties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmPropertyCondition, IFsrmPropertyCondition_Vtbl, 0x326af66f_2ac0_4f68_bf8c_4759f054fa29); +windows_core::imp::define_interface!(IFsrmPropertyCondition, IFsrmPropertyCondition_Vtbl, 0x326af66f_2ac0_4f68_bf8c_4759f054fa29); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmPropertyCondition, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3577,7 +3577,7 @@ pub struct IFsrmPropertyCondition_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmPropertyDefinition, IFsrmPropertyDefinition_Vtbl, 0xede0150f_e9a3_419c_877c_01fe5d24c5d3); +windows_core::imp::define_interface!(IFsrmPropertyDefinition, IFsrmPropertyDefinition_Vtbl, 0xede0150f_e9a3_419c_877c_01fe5d24c5d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmPropertyDefinition, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] @@ -3681,7 +3681,7 @@ pub struct IFsrmPropertyDefinition_Vtbl { SetParameters: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmPropertyDefinition2, IFsrmPropertyDefinition2_Vtbl, 0x47782152_d16c_4229_b4e1_0ddfe308b9f6); +windows_core::imp::define_interface!(IFsrmPropertyDefinition2, IFsrmPropertyDefinition2_Vtbl, 0x47782152_d16c_4229_b4e1_0ddfe308b9f6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmPropertyDefinition2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPropertyDefinition); #[cfg(feature = "Win32_System_Com")] @@ -3788,7 +3788,7 @@ pub struct IFsrmPropertyDefinition2_Vtbl { ValueDefinitions: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmPropertyDefinitionValue, IFsrmPropertyDefinitionValue_Vtbl, 0xe946d148_bd67_4178_8e22_1c44925ed710); +windows_core::imp::define_interface!(IFsrmPropertyDefinitionValue, IFsrmPropertyDefinitionValue_Vtbl, 0xe946d148_bd67_4178_8e22_1c44925ed710); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmPropertyDefinitionValue, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3820,7 +3820,7 @@ pub struct IFsrmPropertyDefinitionValue_Vtbl { pub UniqueID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmQuota, IFsrmQuota_Vtbl, 0x377f739d_9647_4b8e_97d2_5ffce6d759cd); +windows_core::imp::define_interface!(IFsrmQuota, IFsrmQuota_Vtbl, 0x377f739d_9647_4b8e_97d2_5ffce6d759cd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmQuota, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaObject); #[cfg(feature = "Win32_System_Com")] @@ -3942,7 +3942,7 @@ pub struct IFsrmQuota_Vtbl { pub RefreshUsageProperties: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmQuotaBase, IFsrmQuotaBase_Vtbl, 0x1568a795_3924_4118_b74b_68d8f0fa5daf); +windows_core::imp::define_interface!(IFsrmQuotaBase, IFsrmQuotaBase_Vtbl, 0x1568a795_3924_4118_b74b_68d8f0fa5daf); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmQuotaBase, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] @@ -4034,7 +4034,7 @@ pub struct IFsrmQuotaBase_Vtbl { EnumThresholdActions: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmQuotaManager, IFsrmQuotaManager_Vtbl, 0x8bb68c7d_19d8_4ffb_809e_be4fc1734014); +windows_core::imp::define_interface!(IFsrmQuotaManager, IFsrmQuotaManager_Vtbl, 0x8bb68c7d_19d8_4ffb_809e_be4fc1734014); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmQuotaManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4177,7 +4177,7 @@ pub struct IFsrmQuotaManager_Vtbl { CreateQuotaCollection: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmQuotaManagerEx, IFsrmQuotaManagerEx_Vtbl, 0x4846cb01_d430_494f_abb4_b1054999fb09); +windows_core::imp::define_interface!(IFsrmQuotaManagerEx, IFsrmQuotaManagerEx_Vtbl, 0x4846cb01_d430_494f_abb4_b1054999fb09); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmQuotaManagerEx, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmQuotaManager); #[cfg(feature = "Win32_System_Com")] @@ -4283,7 +4283,7 @@ pub struct IFsrmQuotaManagerEx_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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmQuotaObject, IFsrmQuotaObject_Vtbl, 0x42dc3511_61d5_48ae_b6dc_59fc00c0a8d6); +windows_core::imp::define_interface!(IFsrmQuotaObject, IFsrmQuotaObject_Vtbl, 0x42dc3511_61d5_48ae_b6dc_59fc00c0a8d6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmQuotaObject, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase); #[cfg(feature = "Win32_System_Com")] @@ -4388,7 +4388,7 @@ pub struct IFsrmQuotaObject_Vtbl { pub ApplyTemplate: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmQuotaTemplate, IFsrmQuotaTemplate_Vtbl, 0xa2efab31_295e_46bb_b976_e86d58b52e8b); +windows_core::imp::define_interface!(IFsrmQuotaTemplate, IFsrmQuotaTemplate_Vtbl, 0xa2efab31_295e_46bb_b976_e86d58b52e8b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmQuotaTemplate, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase); #[cfg(feature = "Win32_System_Com")] @@ -4489,7 +4489,7 @@ pub struct IFsrmQuotaTemplate_Vtbl { CommitAndUpdateDerived: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmQuotaTemplateImported, IFsrmQuotaTemplateImported_Vtbl, 0x9a2bf113_a329_44cc_809a_5c00fce8da40); +windows_core::imp::define_interface!(IFsrmQuotaTemplateImported, IFsrmQuotaTemplateImported_Vtbl, 0x9a2bf113_a329_44cc_809a_5c00fce8da40); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmQuotaTemplateImported, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmQuotaBase, IFsrmQuotaTemplate); #[cfg(feature = "Win32_System_Com")] @@ -4595,7 +4595,7 @@ pub struct IFsrmQuotaTemplateImported_Vtbl { pub SetOverwriteOnCommit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmQuotaTemplateManager, IFsrmQuotaTemplateManager_Vtbl, 0x4173ac41_172d_4d52_963c_fdc7e415f717); +windows_core::imp::define_interface!(IFsrmQuotaTemplateManager, IFsrmQuotaTemplateManager_Vtbl, 0x4173ac41_172d_4d52_963c_fdc7e415f717); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmQuotaTemplateManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4654,7 +4654,7 @@ pub struct IFsrmQuotaTemplateManager_Vtbl { ImportTemplates: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmReport, IFsrmReport_Vtbl, 0xd8cc81d9_46b8_4fa4_bfa5_4aa9dec9b638); +windows_core::imp::define_interface!(IFsrmReport, IFsrmReport_Vtbl, 0xd8cc81d9_46b8_4fa4_bfa5_4aa9dec9b638); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmReport, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4716,7 +4716,7 @@ pub struct IFsrmReport_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmReportJob, IFsrmReportJob_Vtbl, 0x38e87280_715c_4c7d_a280_ea1651a19fef); +windows_core::imp::define_interface!(IFsrmReportJob, IFsrmReportJob_Vtbl, 0x38e87280_715c_4c7d_a280_ea1651a19fef); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmReportJob, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] @@ -4857,7 +4857,7 @@ pub struct IFsrmReportJob_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmReportManager, IFsrmReportManager_Vtbl, 0x27b899fe_6ffa_4481_a184_d3daade8a02b); +windows_core::imp::define_interface!(IFsrmReportManager, IFsrmReportManager_Vtbl, 0x27b899fe_6ffa_4481_a184_d3daade8a02b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmReportManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4940,7 +4940,7 @@ pub struct IFsrmReportManager_Vtbl { pub SetReportSizeLimit: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmReportLimit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmReportScheduler, IFsrmReportScheduler_Vtbl, 0x6879caf9_6617_4484_8719_71c3d8645f94); +windows_core::imp::define_interface!(IFsrmReportScheduler, IFsrmReportScheduler_Vtbl, 0x6879caf9_6617_4484_8719_71c3d8645f94); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmReportScheduler, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4979,7 +4979,7 @@ pub struct IFsrmReportScheduler_Vtbl { pub DeleteScheduleTask: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmRule, IFsrmRule_Vtbl, 0xcb0df960_16f5_4495_9079_3f9360d831df); +windows_core::imp::define_interface!(IFsrmRule, IFsrmRule_Vtbl, 0xcb0df960_16f5_4495_9079_3f9360d831df); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmRule, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject); #[cfg(feature = "Win32_System_Com")] @@ -5088,7 +5088,7 @@ pub struct IFsrmRule_Vtbl { pub LastModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmSetting, IFsrmSetting_Vtbl, 0xf411d4fd_14be_4260_8c40_03b7c95e608a); +windows_core::imp::define_interface!(IFsrmSetting, IFsrmSetting_Vtbl, 0xf411d4fd_14be_4260_8c40_03b7c95e608a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmSetting, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5176,7 +5176,7 @@ pub struct IFsrmSetting_Vtbl { pub GetActionRunLimitInterval: unsafe extern "system" fn(*mut core::ffi::c_void, FsrmActionType, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmStorageModuleDefinition, IFsrmStorageModuleDefinition_Vtbl, 0x15a81350_497d_4aba_80e9_d4dbcc5521fe); +windows_core::imp::define_interface!(IFsrmStorageModuleDefinition, IFsrmStorageModuleDefinition_Vtbl, 0x15a81350_497d_4aba_80e9_d4dbcc5521fe); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmStorageModuleDefinition, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmObject, IFsrmPipelineModuleDefinition); #[cfg(feature = "Win32_System_Com")] @@ -5327,7 +5327,7 @@ pub struct IFsrmStorageModuleDefinition_Vtbl { pub SetUpdatesFileContent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsrmStorageModuleImplementation, IFsrmStorageModuleImplementation_Vtbl, 0x0af4a0da_895a_4e50_8712_a96724bcec64); +windows_core::imp::define_interface!(IFsrmStorageModuleImplementation, IFsrmStorageModuleImplementation_Vtbl, 0x0af4a0da_895a_4e50_8712_a96724bcec64); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsrmStorageModuleImplementation, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsrmPipelineModuleImplementation); #[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 9efa382c0e..bf20aae997 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -3334,7 +3334,7 @@ where WriteTapemark(hdevice.into_param().abi(), dwtapemarktype, dwtapemarkcount, bimmediate.into_param().abi()) } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDiskQuotaControl, IDiskQuotaControl_Vtbl, 0x7988b572_ec89_11cf_9c00_00aa00a14f56); +windows_core::imp::define_interface!(IDiskQuotaControl, IDiskQuotaControl_Vtbl, 0x7988b572_ec89_11cf_9c00_00aa00a14f56); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDiskQuotaControl, windows_core::IUnknown, super::super::System::Com::IConnectionPointContainer); #[cfg(feature = "Win32_System_Com")] @@ -3472,7 +3472,7 @@ pub struct IDiskQuotaControl_Vtbl { pub GiveUserNameResolutionPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShutdownNameResolution: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDiskQuotaEvents, IDiskQuotaEvents_Vtbl, 0x7988b579_ec89_11cf_9c00_00aa00a14f56); +windows_core::imp::define_interface!(IDiskQuotaEvents, IDiskQuotaEvents_Vtbl, 0x7988b579_ec89_11cf_9c00_00aa00a14f56); windows_core::imp::interface_hierarchy!(IDiskQuotaEvents, windows_core::IUnknown); impl IDiskQuotaEvents { pub unsafe fn OnUserNameChanged(&self, puser: P0) -> windows_core::Result<()> @@ -3487,7 +3487,7 @@ pub struct IDiskQuotaEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnUserNameChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDiskQuotaUser, IDiskQuotaUser_Vtbl, 0x7988b574_ec89_11cf_9c00_00aa00a14f56); +windows_core::imp::define_interface!(IDiskQuotaUser, IDiskQuotaUser_Vtbl, 0x7988b574_ec89_11cf_9c00_00aa00a14f56); windows_core::imp::interface_hierarchy!(IDiskQuotaUser, windows_core::IUnknown); impl IDiskQuotaUser { pub unsafe fn GetID(&self, pulid: *mut u32) -> windows_core::Result<()> { @@ -3575,7 +3575,7 @@ pub struct IDiskQuotaUser_Vtbl { pub Invalidate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAccountStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDiskQuotaUserBatch, IDiskQuotaUserBatch_Vtbl, 0x7988b576_ec89_11cf_9c00_00aa00a14f56); +windows_core::imp::define_interface!(IDiskQuotaUserBatch, IDiskQuotaUserBatch_Vtbl, 0x7988b576_ec89_11cf_9c00_00aa00a14f56); windows_core::imp::interface_hierarchy!(IDiskQuotaUserBatch, windows_core::IUnknown); impl IDiskQuotaUserBatch { pub unsafe fn Add(&self, puser: P0) -> windows_core::Result<()> @@ -3605,7 +3605,7 @@ pub struct IDiskQuotaUserBatch_Vtbl { pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub FlushToDisk: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumDiskQuotaUsers, IEnumDiskQuotaUsers_Vtbl, 0x7988b577_ec89_11cf_9c00_00aa00a14f56); +windows_core::imp::define_interface!(IEnumDiskQuotaUsers, IEnumDiskQuotaUsers_Vtbl, 0x7988b577_ec89_11cf_9c00_00aa00a14f56); windows_core::imp::interface_hierarchy!(IEnumDiskQuotaUsers, windows_core::IUnknown); impl IEnumDiskQuotaUsers { pub unsafe fn Next(&self, cusers: u32, rgusers: *mut Option, pcusersfetched: *mut u32) -> windows_core::Result<()> { 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 1187bd3e06..bd05495a4b 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/mod.rs @@ -44,7 +44,7 @@ pub unsafe fn SetAttribIMsgOnIStg(lpobject: *mut core::ffi::c_void, lpproptags: SetAttribIMsgOnIStg(lpobject, lpproptags, lppropattrs, lpppropproblems).ok() } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DDiscFormat2DataEvents, DDiscFormat2DataEvents_Vtbl, 0x2735413c_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(DDiscFormat2DataEvents, DDiscFormat2DataEvents_Vtbl, 0x2735413c_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DDiscFormat2DataEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -68,7 +68,7 @@ pub struct DDiscFormat2DataEvents_Vtbl { Update: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DDiscFormat2EraseEvents, DDiscFormat2EraseEvents_Vtbl, 0x2735413a_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(DDiscFormat2EraseEvents, DDiscFormat2EraseEvents_Vtbl, 0x2735413a_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DDiscFormat2EraseEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -91,7 +91,7 @@ pub struct DDiscFormat2EraseEvents_Vtbl { Update: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DDiscFormat2RawCDEvents, DDiscFormat2RawCDEvents_Vtbl, 0x27354142_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(DDiscFormat2RawCDEvents, DDiscFormat2RawCDEvents_Vtbl, 0x27354142_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DDiscFormat2RawCDEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -115,7 +115,7 @@ pub struct DDiscFormat2RawCDEvents_Vtbl { Update: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DDiscFormat2TrackAtOnceEvents, DDiscFormat2TrackAtOnceEvents_Vtbl, 0x2735413f_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(DDiscFormat2TrackAtOnceEvents, DDiscFormat2TrackAtOnceEvents_Vtbl, 0x2735413f_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DDiscFormat2TrackAtOnceEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -139,7 +139,7 @@ pub struct DDiscFormat2TrackAtOnceEvents_Vtbl { Update: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DDiscMaster2Events, DDiscMaster2Events_Vtbl, 0x27354131_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(DDiscMaster2Events, DDiscMaster2Events_Vtbl, 0x27354131_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DDiscMaster2Events, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -175,7 +175,7 @@ pub struct DDiscMaster2Events_Vtbl { NotifyDeviceRemoved: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DFileSystemImageEvents, DFileSystemImageEvents_Vtbl, 0x2c941fdf_975b_59be_a960_9a2a262853a5); +windows_core::imp::define_interface!(DFileSystemImageEvents, DFileSystemImageEvents_Vtbl, 0x2c941fdf_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DFileSystemImageEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -199,7 +199,7 @@ pub struct DFileSystemImageEvents_Vtbl { Update: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DFileSystemImageImportEvents, DFileSystemImageImportEvents_Vtbl, 0xd25c30f9_4087_4366_9e24_e55be286424b); +windows_core::imp::define_interface!(DFileSystemImageImportEvents, DFileSystemImageImportEvents_Vtbl, 0xd25c30f9_4087_4366_9e24_e55be286424b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DFileSystemImageImportEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -223,7 +223,7 @@ pub struct DFileSystemImageImportEvents_Vtbl { UpdateImport: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DWriteEngine2Events, DWriteEngine2Events_Vtbl, 0x27354137_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(DWriteEngine2Events, DWriteEngine2Events_Vtbl, 0x27354137_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DWriteEngine2Events, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -247,7 +247,7 @@ pub struct DWriteEngine2Events_Vtbl { Update: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IBlockRange, IBlockRange_Vtbl, 0xb507ca25_2204_11dd_966a_001aa01bbc58); +windows_core::imp::define_interface!(IBlockRange, IBlockRange_Vtbl, 0xb507ca25_2204_11dd_966a_001aa01bbc58); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBlockRange, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -269,7 +269,7 @@ pub struct IBlockRange_Vtbl { pub EndLba: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IBlockRangeList, IBlockRangeList_Vtbl, 0xb507ca26_2204_11dd_966a_001aa01bbc58); +windows_core::imp::define_interface!(IBlockRangeList, IBlockRangeList_Vtbl, 0xb507ca26_2204_11dd_966a_001aa01bbc58); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBlockRangeList, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -290,7 +290,7 @@ pub struct IBlockRangeList_Vtbl { BlockRanges: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IBootOptions, IBootOptions_Vtbl, 0x2c941fd4_975b_59be_a960_9a2a262853a5); +windows_core::imp::define_interface!(IBootOptions, IBootOptions_Vtbl, 0x2c941fd4_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBootOptions, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -356,7 +356,7 @@ pub struct IBootOptions_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AssignBootImage: usize, } -windows_core::imp::com_interface!(IBurnVerification, IBurnVerification_Vtbl, 0xd2ffd834_958b_426d_8470_2a13879c6a91); +windows_core::imp::define_interface!(IBurnVerification, IBurnVerification_Vtbl, 0xd2ffd834_958b_426d_8470_2a13879c6a91); windows_core::imp::interface_hierarchy!(IBurnVerification, windows_core::IUnknown); impl IBurnVerification { pub unsafe fn SetBurnVerificationLevel(&self, value: IMAPI_BURN_VERIFICATION_LEVEL) -> windows_core::Result<()> { @@ -374,7 +374,7 @@ pub struct IBurnVerification_Vtbl { pub BurnVerificationLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_BURN_VERIFICATION_LEVEL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDiscFormat2, IDiscFormat2_Vtbl, 0x27354152_8f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IDiscFormat2, IDiscFormat2_Vtbl, 0x27354152_8f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDiscFormat2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -429,7 +429,7 @@ pub struct IDiscFormat2_Vtbl { SupportedMediaTypes: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDiscFormat2Data, IDiscFormat2Data_Vtbl, 0x27354153_9f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IDiscFormat2Data, IDiscFormat2Data_Vtbl, 0x27354153_9f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDiscFormat2Data, windows_core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] @@ -671,7 +671,7 @@ pub struct IDiscFormat2Data_Vtbl { pub SetWriteSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, i32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDiscFormat2DataEventArgs, IDiscFormat2DataEventArgs_Vtbl, 0x2735413d_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IDiscFormat2DataEventArgs, IDiscFormat2DataEventArgs_Vtbl, 0x2735413d_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDiscFormat2DataEventArgs, windows_core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); #[cfg(feature = "Win32_System_Com")] @@ -731,7 +731,7 @@ pub struct IDiscFormat2DataEventArgs_Vtbl { pub CurrentAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMAPI_FORMAT2_DATA_WRITE_ACTION) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDiscFormat2Erase, IDiscFormat2Erase_Vtbl, 0x27354156_8f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IDiscFormat2Erase, IDiscFormat2Erase_Vtbl, 0x27354156_8f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDiscFormat2Erase, windows_core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] @@ -825,7 +825,7 @@ pub struct IDiscFormat2Erase_Vtbl { pub EraseMedia: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDiscFormat2RawCD, IDiscFormat2RawCD_Vtbl, 0x27354155_8f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IDiscFormat2RawCD, IDiscFormat2RawCD_Vtbl, 0x27354155_8f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDiscFormat2RawCD, windows_core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] @@ -1022,7 +1022,7 @@ pub struct IDiscFormat2RawCD_Vtbl { SupportedWriteSpeedDescriptors: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDiscFormat2RawCDEventArgs, IDiscFormat2RawCDEventArgs_Vtbl, 0x27354143_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IDiscFormat2RawCDEventArgs, IDiscFormat2RawCDEventArgs_Vtbl, 0x27354143_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDiscFormat2RawCDEventArgs, windows_core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); #[cfg(feature = "Win32_System_Com")] @@ -1077,7 +1077,7 @@ pub struct IDiscFormat2RawCDEventArgs_Vtbl { pub RemainingTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDiscFormat2TrackAtOnce, IDiscFormat2TrackAtOnce_Vtbl, 0x27354154_8f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IDiscFormat2TrackAtOnce, IDiscFormat2TrackAtOnce_Vtbl, 0x27354154_8f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDiscFormat2TrackAtOnce, windows_core::IUnknown, super::super::System::Com::IDispatch, IDiscFormat2); #[cfg(feature = "Win32_System_Com")] @@ -1276,7 +1276,7 @@ pub struct IDiscFormat2TrackAtOnce_Vtbl { SupportedWriteSpeedDescriptors: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDiscFormat2TrackAtOnceEventArgs, IDiscFormat2TrackAtOnceEventArgs_Vtbl, 0x27354140_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IDiscFormat2TrackAtOnceEventArgs, IDiscFormat2TrackAtOnceEventArgs_Vtbl, 0x27354140_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDiscFormat2TrackAtOnceEventArgs, windows_core::IUnknown, super::super::System::Com::IDispatch, IWriteEngine2EventArgs); #[cfg(feature = "Win32_System_Com")] @@ -1335,7 +1335,7 @@ pub struct IDiscFormat2TrackAtOnceEventArgs_Vtbl { pub ElapsedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub RemainingTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDiscMaster, IDiscMaster_Vtbl, 0x520cca62_51a5_11d3_9144_00104ba11c5e); +windows_core::imp::define_interface!(IDiscMaster, IDiscMaster_Vtbl, 0x520cca62_51a5_11d3_9144_00104ba11c5e); windows_core::imp::interface_hierarchy!(IDiscMaster, windows_core::IUnknown); impl IDiscMaster { pub unsafe fn Open(&self) -> windows_core::Result<()> { @@ -1403,7 +1403,7 @@ pub struct IDiscMaster_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDiscMaster2, IDiscMaster2_Vtbl, 0x27354130_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IDiscMaster2, IDiscMaster2_Vtbl, 0x27354130_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDiscMaster2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1438,7 +1438,7 @@ pub struct IDiscMaster2_Vtbl { 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, } -windows_core::imp::com_interface!(IDiscMasterProgressEvents, IDiscMasterProgressEvents_Vtbl, 0xec9e51c1_4e5d_11d3_9144_00104ba11c5e); +windows_core::imp::define_interface!(IDiscMasterProgressEvents, IDiscMasterProgressEvents_Vtbl, 0xec9e51c1_4e5d_11d3_9144_00104ba11c5e); windows_core::imp::interface_hierarchy!(IDiscMasterProgressEvents, windows_core::IUnknown); impl IDiscMasterProgressEvents { pub unsafe fn QueryCancel(&self) -> windows_core::Result { @@ -1483,7 +1483,7 @@ pub struct IDiscMasterProgressEvents_Vtbl { pub NotifyBurnComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, pub NotifyEraseComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDiscRecorder, IDiscRecorder_Vtbl, 0x85ac9776_ca88_4cf2_894e_09598c078a41); +windows_core::imp::define_interface!(IDiscRecorder, IDiscRecorder_Vtbl, 0x85ac9776_ca88_4cf2_894e_09598c078a41); windows_core::imp::interface_hierarchy!(IDiscRecorder, windows_core::IUnknown); impl IDiscRecorder { pub unsafe fn Init(&self, pbyuniqueid: &[u8], nuldrivenumber: u32) -> windows_core::Result<()> { @@ -1568,7 +1568,7 @@ pub struct IDiscRecorder_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDiscRecorder2, IDiscRecorder2_Vtbl, 0x27354133_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IDiscRecorder2, IDiscRecorder2_Vtbl, 0x27354133_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDiscRecorder2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1708,7 +1708,7 @@ pub struct IDiscRecorder2_Vtbl { SupportedModePages: usize, pub ExclusiveAccessOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDiscRecorder2Ex, IDiscRecorder2Ex_Vtbl, 0x27354132_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IDiscRecorder2Ex, IDiscRecorder2Ex_Vtbl, 0x27354132_7f64_5b0f_8f00_5d77afbe261e); windows_core::imp::interface_hierarchy!(IDiscRecorder2Ex, windows_core::IUnknown); impl IDiscRecorder2Ex { pub unsafe fn SendCommandNoData(&self, cdb: &[u8], sensebuffer: &mut [u8; 18], timeout: u32) -> windows_core::Result<()> { @@ -1800,7 +1800,7 @@ pub struct IDiscRecorder2Ex_Vtbl { pub GetMaximumNonPageAlignedTransferSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetMaximumPageAlignedTransferSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumDiscMasterFormats, IEnumDiscMasterFormats_Vtbl, 0xddf445e1_54ba_11d3_9144_00104ba11c5e); +windows_core::imp::define_interface!(IEnumDiscMasterFormats, IEnumDiscMasterFormats_Vtbl, 0xddf445e1_54ba_11d3_9144_00104ba11c5e); windows_core::imp::interface_hierarchy!(IEnumDiscMasterFormats, windows_core::IUnknown); impl IEnumDiscMasterFormats { pub unsafe fn Next(&self, lpiidformatid: &mut [windows_core::GUID], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -1825,7 +1825,7 @@ pub struct IEnumDiscMasterFormats_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumDiscRecorders, IEnumDiscRecorders_Vtbl, 0x9b1921e1_54ac_11d3_9144_00104ba11c5e); +windows_core::imp::define_interface!(IEnumDiscRecorders, IEnumDiscRecorders_Vtbl, 0x9b1921e1_54ac_11d3_9144_00104ba11c5e); windows_core::imp::interface_hierarchy!(IEnumDiscRecorders, windows_core::IUnknown); impl IEnumDiscRecorders { pub unsafe fn Next(&self, pprecorder: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -1850,7 +1850,7 @@ pub struct IEnumDiscRecorders_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumFsiItems, IEnumFsiItems_Vtbl, 0x2c941fda_975b_59be_a960_9a2a262853a5); +windows_core::imp::define_interface!(IEnumFsiItems, IEnumFsiItems_Vtbl, 0x2c941fda_975b_59be_a960_9a2a262853a5); windows_core::imp::interface_hierarchy!(IEnumFsiItems, windows_core::IUnknown); impl IEnumFsiItems { #[cfg(feature = "Win32_System_Com")] @@ -1879,7 +1879,7 @@ pub struct IEnumFsiItems_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumProgressItems, IEnumProgressItems_Vtbl, 0x2c941fd6_975b_59be_a960_9a2a262853a5); +windows_core::imp::define_interface!(IEnumProgressItems, IEnumProgressItems_Vtbl, 0x2c941fd6_975b_59be_a960_9a2a262853a5); windows_core::imp::interface_hierarchy!(IEnumProgressItems, windows_core::IUnknown); impl IEnumProgressItems { #[cfg(feature = "Win32_System_Com")] @@ -1909,7 +1909,7 @@ pub struct IEnumProgressItems_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFileSystemImage, IFileSystemImage_Vtbl, 0x2c941fe1_975b_59be_a960_9a2a262853a5); +windows_core::imp::define_interface!(IFileSystemImage, IFileSystemImage_Vtbl, 0x2c941fe1_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFileSystemImage, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2241,7 +2241,7 @@ pub struct IFileSystemImage_Vtbl { SetMultisessionInterfaces: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFileSystemImage2, IFileSystemImage2_Vtbl, 0xd7644b2c_1537_4767_b62f_f1387b02ddfd); +windows_core::imp::define_interface!(IFileSystemImage2, IFileSystemImage2_Vtbl, 0xd7644b2c_1537_4767_b62f_f1387b02ddfd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFileSystemImage2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImage); #[cfg(feature = "Win32_System_Com")] @@ -2501,7 +2501,7 @@ pub struct IFileSystemImage2_Vtbl { SetBootImageOptionsArray: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFileSystemImage3, IFileSystemImage3_Vtbl, 0x7cff842c_7e97_4807_8304_910dd8f7c051); +windows_core::imp::define_interface!(IFileSystemImage3, IFileSystemImage3_Vtbl, 0x7cff842c_7e97_4807_8304_910dd8f7c051); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFileSystemImage3, windows_core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImage, IFileSystemImage2); #[cfg(feature = "Win32_System_Com")] @@ -2770,7 +2770,7 @@ pub struct IFileSystemImage3_Vtbl { pub ProbeSpecificFileSystem: unsafe extern "system" fn(*mut core::ffi::c_void, FsiFileSystems, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFileSystemImageResult, IFileSystemImageResult_Vtbl, 0x2c941fd8_975b_59be_a960_9a2a262853a5); +windows_core::imp::define_interface!(IFileSystemImageResult, IFileSystemImageResult_Vtbl, 0x2c941fd8_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFileSystemImageResult, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2815,7 +2815,7 @@ pub struct IFileSystemImageResult_Vtbl { pub DiscId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFileSystemImageResult2, IFileSystemImageResult2_Vtbl, 0xb507ca29_2204_11dd_966a_001aa01bbc58); +windows_core::imp::define_interface!(IFileSystemImageResult2, IFileSystemImageResult2_Vtbl, 0xb507ca29_2204_11dd_966a_001aa01bbc58); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFileSystemImageResult2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFileSystemImageResult); #[cfg(feature = "Win32_System_Com")] @@ -2858,7 +2858,7 @@ pub struct IFileSystemImageResult2_Vtbl { ModifiedBlocks: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsiDirectoryItem, IFsiDirectoryItem_Vtbl, 0x2c941fdc_975b_59be_a960_9a2a262853a5); +windows_core::imp::define_interface!(IFsiDirectoryItem, IFsiDirectoryItem_Vtbl, 0x2c941fdc_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsiDirectoryItem, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsiItem); #[cfg(feature = "Win32_System_Com")] @@ -3000,7 +3000,7 @@ pub struct IFsiDirectoryItem_Vtbl { pub RemoveTree: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsiDirectoryItem2, IFsiDirectoryItem2_Vtbl, 0xf7fb4b9b_6d96_4d7b_9115_201b144811ef); +windows_core::imp::define_interface!(IFsiDirectoryItem2, IFsiDirectoryItem2_Vtbl, 0xf7fb4b9b_6d96_4d7b_9115_201b144811ef); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsiDirectoryItem2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsiItem, IFsiDirectoryItem); #[cfg(feature = "Win32_System_Com")] @@ -3128,7 +3128,7 @@ pub struct IFsiDirectoryItem2_Vtbl { pub AddTreeWithNamedStreams: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsiFileItem, IFsiFileItem_Vtbl, 0x2c941fdb_975b_59be_a960_9a2a262853a5); +windows_core::imp::define_interface!(IFsiFileItem, IFsiFileItem_Vtbl, 0x2c941fdb_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsiFileItem, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsiItem); #[cfg(feature = "Win32_System_Com")] @@ -3222,7 +3222,7 @@ pub struct IFsiFileItem_Vtbl { SetData: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsiFileItem2, IFsiFileItem2_Vtbl, 0x199d0c19_11e1_40eb_8ec2_c8c822a07792); +windows_core::imp::define_interface!(IFsiFileItem2, IFsiFileItem2_Vtbl, 0x199d0c19_11e1_40eb_8ec2_c8c822a07792); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsiFileItem2, windows_core::IUnknown, super::super::System::Com::IDispatch, IFsiItem, IFsiFileItem); #[cfg(feature = "Win32_System_Com")] @@ -3350,7 +3350,7 @@ pub struct IFsiFileItem2_Vtbl { pub SetIsRealTime: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsiItem, IFsiItem_Vtbl, 0x2c941fd9_975b_59be_a960_9a2a262853a5); +windows_core::imp::define_interface!(IFsiItem, IFsiItem_Vtbl, 0x2c941fd9_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsiItem, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3421,7 +3421,7 @@ pub struct IFsiItem_Vtbl { pub FileSystemPath: unsafe extern "system" fn(*mut core::ffi::c_void, FsiFileSystems, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFsiNamedStreams, IFsiNamedStreams_Vtbl, 0xed79ba56_5294_4250_8d46_f9aecee23459); +windows_core::imp::define_interface!(IFsiNamedStreams, IFsiNamedStreams_Vtbl, 0xed79ba56_5294_4250_8d46_f9aecee23459); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFsiNamedStreams, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3461,7 +3461,7 @@ pub struct IFsiNamedStreams_Vtbl { pub EnumNamedStreams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IIsoImageManager, IIsoImageManager_Vtbl, 0x6ca38be5_fbbb_4800_95a1_a438865eb0d4); +windows_core::imp::define_interface!(IIsoImageManager, IIsoImageManager_Vtbl, 0x6ca38be5_fbbb_4800_95a1_a438865eb0d4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IIsoImageManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3508,7 +3508,7 @@ pub struct IIsoImageManager_Vtbl { SetStream: usize, pub Validate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IJolietDiscMaster, IJolietDiscMaster_Vtbl, 0xe3bc42ce_4e5c_11d3_9144_00104ba11c5e); +windows_core::imp::define_interface!(IJolietDiscMaster, IJolietDiscMaster_Vtbl, 0xe3bc42ce_4e5c_11d3_9144_00104ba11c5e); windows_core::imp::interface_hierarchy!(IJolietDiscMaster, windows_core::IUnknown); impl IJolietDiscMaster { pub unsafe fn GetTotalDataBlocks(&self) -> windows_core::Result { @@ -3563,7 +3563,7 @@ pub struct IJolietDiscMaster_Vtbl { SetJolietProperties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMultisession, IMultisession_Vtbl, 0x27354150_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IMultisession, IMultisession_Vtbl, 0x27354150_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMultisession, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3601,7 +3601,7 @@ pub struct IMultisession_Vtbl { ImportRecorder: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMultisessionRandomWrite, IMultisessionRandomWrite_Vtbl, 0xb507ca23_2204_11dd_966a_001aa01bbc58); +windows_core::imp::define_interface!(IMultisessionRandomWrite, IMultisessionRandomWrite_Vtbl, 0xb507ca23_2204_11dd_966a_001aa01bbc58); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMultisessionRandomWrite, windows_core::IUnknown, super::super::System::Com::IDispatch, IMultisession); #[cfg(feature = "Win32_System_Com")] @@ -3647,7 +3647,7 @@ pub struct IMultisessionRandomWrite_Vtbl { pub TotalSectorsOnMedia: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMultisessionSequential, IMultisessionSequential_Vtbl, 0x27354151_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IMultisessionSequential, IMultisessionSequential_Vtbl, 0x27354151_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMultisessionSequential, windows_core::IUnknown, super::super::System::Com::IDispatch, IMultisession); #[cfg(feature = "Win32_System_Com")] @@ -3703,7 +3703,7 @@ pub struct IMultisessionSequential_Vtbl { pub FreeSectorsOnMedia: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMultisessionSequential2, IMultisessionSequential2_Vtbl, 0xb507ca22_2204_11dd_966a_001aa01bbc58); +windows_core::imp::define_interface!(IMultisessionSequential2, IMultisessionSequential2_Vtbl, 0xb507ca22_2204_11dd_966a_001aa01bbc58); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMultisessionSequential2, windows_core::IUnknown, super::super::System::Com::IDispatch, IMultisession, IMultisessionSequential); #[cfg(feature = "Win32_System_Com")] @@ -3759,7 +3759,7 @@ pub struct IMultisessionSequential2_Vtbl { pub WriteUnitSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IProgressItem, IProgressItem_Vtbl, 0x2c941fd5_975b_59be_a960_9a2a262853a5); +windows_core::imp::define_interface!(IProgressItem, IProgressItem_Vtbl, 0x2c941fd5_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IProgressItem, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3791,7 +3791,7 @@ pub struct IProgressItem_Vtbl { pub BlockCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IProgressItems, IProgressItems_Vtbl, 0x2c941fd7_975b_59be_a960_9a2a262853a5); +windows_core::imp::define_interface!(IProgressItems, IProgressItems_Vtbl, 0x2c941fd7_975b_59be_a960_9a2a262853a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IProgressItems, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3852,7 +3852,7 @@ pub struct IProgressItems_Vtbl { pub EnumProgressItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRawCDImageCreator, IRawCDImageCreator_Vtbl, 0x25983550_9d65_49ce_b335_40630d901227); +windows_core::imp::define_interface!(IRawCDImageCreator, IRawCDImageCreator_Vtbl, 0x25983550_9d65_49ce_b335_40630d901227); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRawCDImageCreator, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3991,7 +3991,7 @@ pub struct IRawCDImageCreator_Vtbl { ExpectedTableOfContents: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRawCDImageTrackInfo, IRawCDImageTrackInfo_Vtbl, 0x25983551_9d65_49ce_b335_40630d901227); +windows_core::imp::define_interface!(IRawCDImageTrackInfo, IRawCDImageTrackInfo_Vtbl, 0x25983551_9d65_49ce_b335_40630d901227); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRawCDImageTrackInfo, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4072,7 +4072,7 @@ pub struct IRawCDImageTrackInfo_Vtbl { pub AddTrackIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub ClearTrackIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRedbookDiscMaster, IRedbookDiscMaster_Vtbl, 0xe3bc42cd_4e5c_11d3_9144_00104ba11c5e); +windows_core::imp::define_interface!(IRedbookDiscMaster, IRedbookDiscMaster_Vtbl, 0xe3bc42cd_4e5c_11d3_9144_00104ba11c5e); windows_core::imp::interface_hierarchy!(IRedbookDiscMaster, windows_core::IUnknown); impl IRedbookDiscMaster { pub unsafe fn GetTotalAudioTracks(&self) -> windows_core::Result { @@ -4118,7 +4118,7 @@ pub struct IRedbookDiscMaster_Vtbl { pub CloseAudioTrack: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IStreamConcatenate, IStreamConcatenate_Vtbl, 0x27354146_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IStreamConcatenate, IStreamConcatenate_Vtbl, 0x27354146_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IStreamConcatenate, windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] @@ -4217,7 +4217,7 @@ pub struct IStreamConcatenate_Vtbl { Append2: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IStreamInterleave, IStreamInterleave_Vtbl, 0x27354147_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IStreamInterleave, IStreamInterleave_Vtbl, 0x27354147_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IStreamInterleave, windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] @@ -4285,7 +4285,7 @@ pub struct IStreamInterleave_Vtbl { Initialize: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IStreamPseudoRandomBased, IStreamPseudoRandomBased_Vtbl, 0x27354145_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IStreamPseudoRandomBased, IStreamPseudoRandomBased_Vtbl, 0x27354145_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IStreamPseudoRandomBased, windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] @@ -4362,7 +4362,7 @@ pub struct IStreamPseudoRandomBased_Vtbl { pub get_ExtendedSeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u32, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWriteEngine2, IWriteEngine2_Vtbl, 0x27354135_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IWriteEngine2, IWriteEngine2_Vtbl, 0x27354135_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWriteEngine2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4445,7 +4445,7 @@ pub struct IWriteEngine2_Vtbl { pub WriteInProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWriteEngine2EventArgs, IWriteEngine2EventArgs_Vtbl, 0x27354136_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IWriteEngine2EventArgs, IWriteEngine2EventArgs_Vtbl, 0x27354136_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWriteEngine2EventArgs, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4492,7 +4492,7 @@ pub struct IWriteEngine2EventArgs_Vtbl { pub FreeSystemBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWriteSpeedDescriptor, IWriteSpeedDescriptor_Vtbl, 0x27354144_7f64_5b0f_8f00_5d77afbe261e); +windows_core::imp::define_interface!(IWriteSpeedDescriptor, IWriteSpeedDescriptor_Vtbl, 0x27354144_7f64_5b0f_8f00_5d77afbe261e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWriteSpeedDescriptor, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 1cf03083ce..ff661e512b 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/mod.rs @@ -35,7 +35,7 @@ where windows_targets::link!("query.dll" "system" fn LoadIFilterEx(pwcspath : windows_core::PCWSTR, dwflags : u32, riid : *const windows_core::GUID, ppiunk : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); LoadIFilterEx(pwcspath.into_param().abi(), dwflags, riid, ppiunk).ok() } -windows_core::imp::com_interface!(IFilter, IFilter_Vtbl, 0x89bcb740_6119_101a_bcb7_00dd010655af); +windows_core::imp::define_interface!(IFilter, IFilter_Vtbl, 0x89bcb740_6119_101a_bcb7_00dd010655af); windows_core::imp::interface_hierarchy!(IFilter, windows_core::IUnknown); impl IFilter { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -71,7 +71,7 @@ pub struct IFilter_Vtbl { pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut windows_core::PROPVARIANT) -> i32, pub BindRegion: unsafe extern "system" fn(*mut core::ffi::c_void, FILTERREGION, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> i32, } -windows_core::imp::com_interface!(IPhraseSink, IPhraseSink_Vtbl, 0xcc906ff0_c058_101a_b554_08002b33b0e6); +windows_core::imp::define_interface!(IPhraseSink, IPhraseSink_Vtbl, 0xcc906ff0_c058_101a_b554_08002b33b0e6); windows_core::imp::interface_hierarchy!(IPhraseSink, windows_core::IUnknown); impl IPhraseSink { pub unsafe fn PutSmallPhrase(&self, pwcnoun: P0, cwcnoun: u32, pwcmodifier: P1, cwcmodifier: u32, ulattachmenttype: u32) -> windows_core::Result<()> 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 d0f64b8a28..e806273f02 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/mod.rs @@ -21,7 +21,7 @@ pub unsafe fn OfflineFilesStart() -> u32 { windows_targets::link!("cscapi.dll" "system" fn OfflineFilesStart() -> u32); OfflineFilesStart() } -windows_core::imp::com_interface!(IEnumOfflineFilesItems, IEnumOfflineFilesItems_Vtbl, 0xda70e815_c361_4407_bc0b_0d7046e5f2cd); +windows_core::imp::define_interface!(IEnumOfflineFilesItems, IEnumOfflineFilesItems_Vtbl, 0xda70e815_c361_4407_bc0b_0d7046e5f2cd); windows_core::imp::interface_hierarchy!(IEnumOfflineFilesItems, windows_core::IUnknown); impl IEnumOfflineFilesItems { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -46,7 +46,7 @@ pub struct IEnumOfflineFilesItems_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumOfflineFilesSettings, IEnumOfflineFilesSettings_Vtbl, 0x729680c4_1a38_47bc_9e5c_02c51562ac30); +windows_core::imp::define_interface!(IEnumOfflineFilesSettings, IEnumOfflineFilesSettings_Vtbl, 0x729680c4_1a38_47bc_9e5c_02c51562ac30); windows_core::imp::interface_hierarchy!(IEnumOfflineFilesSettings, windows_core::IUnknown); impl IEnumOfflineFilesSettings { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -71,7 +71,7 @@ pub struct IEnumOfflineFilesSettings_Vtbl { 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, } -windows_core::imp::com_interface!(IOfflineFilesCache, IOfflineFilesCache_Vtbl, 0x855d6203_7914_48b9_8d40_4c56f5acffc5); +windows_core::imp::define_interface!(IOfflineFilesCache, IOfflineFilesCache_Vtbl, 0x855d6203_7914_48b9_8d40_4c56f5acffc5); windows_core::imp::interface_hierarchy!(IOfflineFilesCache, windows_core::IUnknown); impl IOfflineFilesCache { pub unsafe fn Synchronize(&self, hwndparent: P0, rgpszpaths: &[windows_core::PCWSTR], basync: P1, dwsynccontrol: u32, pisyncconflicthandler: P2, piprogress: P3, psyncid: Option<*const windows_core::GUID>) -> windows_core::Result<()> @@ -210,7 +210,7 @@ pub struct IOfflineFilesCache_Vtbl { pub EnumSettingObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsPathCacheable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL, *mut OFFLINEFILES_CACHING_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesCache2, IOfflineFilesCache2_Vtbl, 0x8c075039_1551_4ed9_8781_56705c04d3c0); +windows_core::imp::define_interface!(IOfflineFilesCache2, IOfflineFilesCache2_Vtbl, 0x8c075039_1551_4ed9_8781_56705c04d3c0); windows_core::imp::interface_hierarchy!(IOfflineFilesCache2, windows_core::IUnknown, IOfflineFilesCache); impl IOfflineFilesCache2 { pub unsafe fn Synchronize(&self, hwndparent: P0, rgpszpaths: &[windows_core::PCWSTR], basync: P1, dwsynccontrol: u32, pisyncconflicthandler: P2, piprogress: P3, psyncid: Option<*const windows_core::GUID>) -> windows_core::Result<()> @@ -341,7 +341,7 @@ pub struct IOfflineFilesCache2_Vtbl { pub base__: IOfflineFilesCache_Vtbl, pub RenameItemEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesChangeInfo, IOfflineFilesChangeInfo_Vtbl, 0xa96e6fa4_e0d1_4c29_960b_ee508fe68c72); +windows_core::imp::define_interface!(IOfflineFilesChangeInfo, IOfflineFilesChangeInfo_Vtbl, 0xa96e6fa4_e0d1_4c29_960b_ee508fe68c72); windows_core::imp::interface_hierarchy!(IOfflineFilesChangeInfo, windows_core::IUnknown); impl IOfflineFilesChangeInfo { pub unsafe fn IsDirty(&self, pbdirty: *mut super::super::Foundation::BOOL) -> windows_core::HRESULT { @@ -378,7 +378,7 @@ pub struct IOfflineFilesChangeInfo_Vtbl { pub IsLocallyModifiedAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsLocallyModifiedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesConnectionInfo, IOfflineFilesConnectionInfo_Vtbl, 0xefb23a09_a867_4be8_83a6_86969a7d0856); +windows_core::imp::define_interface!(IOfflineFilesConnectionInfo, IOfflineFilesConnectionInfo_Vtbl, 0xefb23a09_a867_4be8_83a6_86969a7d0856); windows_core::imp::interface_hierarchy!(IOfflineFilesConnectionInfo, windows_core::IUnknown); impl IOfflineFilesConnectionInfo { pub unsafe fn GetConnectState(&self, pconnectstate: *mut OFFLINEFILES_CONNECT_STATE, pofflinereason: *mut OFFLINEFILES_OFFLINE_REASON) -> windows_core::Result<()> { @@ -413,7 +413,7 @@ pub struct IOfflineFilesConnectionInfo_Vtbl { pub TransitionOnline: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, pub TransitionOffline: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesDirectoryItem, IOfflineFilesDirectoryItem_Vtbl, 0x2273597a_a08c_4a00_a37a_c1ae4e9a1cfd); +windows_core::imp::define_interface!(IOfflineFilesDirectoryItem, IOfflineFilesDirectoryItem_Vtbl, 0x2273597a_a08c_4a00_a37a_c1ae4e9a1cfd); windows_core::imp::interface_hierarchy!(IOfflineFilesDirectoryItem, windows_core::IUnknown, IOfflineFilesItem); impl IOfflineFilesDirectoryItem { pub unsafe fn GetItemType(&self) -> windows_core::Result { @@ -440,7 +440,7 @@ impl IOfflineFilesDirectoryItem { pub struct IOfflineFilesDirectoryItem_Vtbl { pub base__: IOfflineFilesItem_Vtbl, } -windows_core::imp::com_interface!(IOfflineFilesDirtyInfo, IOfflineFilesDirtyInfo_Vtbl, 0x0f50ce33_bac9_4eaa_a11d_da0e527d047d); +windows_core::imp::define_interface!(IOfflineFilesDirtyInfo, IOfflineFilesDirtyInfo_Vtbl, 0x0f50ce33_bac9_4eaa_a11d_da0e527d047d); windows_core::imp::interface_hierarchy!(IOfflineFilesDirtyInfo, windows_core::IUnknown); impl IOfflineFilesDirtyInfo { pub unsafe fn LocalDirtyByteCount(&self) -> windows_core::Result { @@ -458,7 +458,7 @@ pub struct IOfflineFilesDirtyInfo_Vtbl { pub LocalDirtyByteCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, pub RemoteDirtyByteCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesErrorInfo, IOfflineFilesErrorInfo_Vtbl, 0x7112fa5f_7571_435a_8eb7_195c7c1429bc); +windows_core::imp::define_interface!(IOfflineFilesErrorInfo, IOfflineFilesErrorInfo_Vtbl, 0x7112fa5f_7571_435a_8eb7_195c7c1429bc); windows_core::imp::interface_hierarchy!(IOfflineFilesErrorInfo, windows_core::IUnknown); impl IOfflineFilesErrorInfo { #[cfg(feature = "Win32_System_Com")] @@ -480,7 +480,7 @@ pub struct IOfflineFilesErrorInfo_Vtbl { GetRawData: usize, pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesEvents, IOfflineFilesEvents_Vtbl, 0xe25585c1_0caa_4eb1_873b_1cae5b77c314); +windows_core::imp::define_interface!(IOfflineFilesEvents, IOfflineFilesEvents_Vtbl, 0xe25585c1_0caa_4eb1_873b_1cae5b77c314); windows_core::imp::interface_hierarchy!(IOfflineFilesEvents, windows_core::IUnknown); impl IOfflineFilesEvents { pub unsafe fn CacheMoved(&self, pszoldpath: P0, psznewpath: P1) -> windows_core::Result<()> @@ -646,7 +646,7 @@ pub struct IOfflineFilesEvents_Vtbl { pub DataLost: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Ping: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesEvents2, IOfflineFilesEvents2_Vtbl, 0x1ead8f56_ff76_4faa_a795_6f6ef792498b); +windows_core::imp::define_interface!(IOfflineFilesEvents2, IOfflineFilesEvents2_Vtbl, 0x1ead8f56_ff76_4faa_a795_6f6ef792498b); windows_core::imp::interface_hierarchy!(IOfflineFilesEvents2, windows_core::IUnknown, IOfflineFilesEvents); impl IOfflineFilesEvents2 { pub unsafe fn CacheMoved(&self, pszoldpath: P0, psznewpath: P1) -> windows_core::Result<()> @@ -823,7 +823,7 @@ pub struct IOfflineFilesEvents2_Vtbl { pub PreferenceChangeDetected: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SettingsChangesApplied: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesEvents3, IOfflineFilesEvents3_Vtbl, 0x9ba04a45_ee69_42f0_9ab1_7db5c8805808); +windows_core::imp::define_interface!(IOfflineFilesEvents3, IOfflineFilesEvents3_Vtbl, 0x9ba04a45_ee69_42f0_9ab1_7db5c8805808); windows_core::imp::interface_hierarchy!(IOfflineFilesEvents3, windows_core::IUnknown, IOfflineFilesEvents, IOfflineFilesEvents2); impl IOfflineFilesEvents3 { pub unsafe fn CacheMoved(&self, pszoldpath: P0, psznewpath: P1) -> windows_core::Result<()> @@ -1015,7 +1015,7 @@ pub struct IOfflineFilesEvents3_Vtbl { pub PrefetchFileBegin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub PrefetchFileEnd: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesEvents4, IOfflineFilesEvents4_Vtbl, 0xdbd69b1e_c7d2_473e_b35f_9d8c24c0c484); +windows_core::imp::define_interface!(IOfflineFilesEvents4, IOfflineFilesEvents4_Vtbl, 0xdbd69b1e_c7d2_473e_b35f_9d8c24c0c484); windows_core::imp::interface_hierarchy!(IOfflineFilesEvents4, windows_core::IUnknown, IOfflineFilesEvents, IOfflineFilesEvents2, IOfflineFilesEvents3); impl IOfflineFilesEvents4 { pub unsafe fn CacheMoved(&self, pszoldpath: P0, psznewpath: P1) -> windows_core::Result<()> @@ -1212,7 +1212,7 @@ pub struct IOfflineFilesEvents4_Vtbl { pub PrefetchCloseHandleBegin: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PrefetchCloseHandleEnd: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesEventsFilter, IOfflineFilesEventsFilter_Vtbl, 0x33fc4e1b_0716_40fa_ba65_6e62a84a846f); +windows_core::imp::define_interface!(IOfflineFilesEventsFilter, IOfflineFilesEventsFilter_Vtbl, 0x33fc4e1b_0716_40fa_ba65_6e62a84a846f); windows_core::imp::interface_hierarchy!(IOfflineFilesEventsFilter, windows_core::IUnknown); impl IOfflineFilesEventsFilter { pub unsafe fn GetPathFilter(&self, ppszfilter: *mut windows_core::PWSTR, pmatch: *mut OFFLINEFILES_PATHFILTER_MATCH) -> windows_core::Result<()> { @@ -1232,7 +1232,7 @@ pub struct IOfflineFilesEventsFilter_Vtbl { pub GetIncludedEvents: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut OFFLINEFILES_EVENTS, *mut u32) -> windows_core::HRESULT, pub GetExcludedEvents: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut OFFLINEFILES_EVENTS, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesFileItem, IOfflineFilesFileItem_Vtbl, 0x8dfadead_26c2_4eff_8a72_6b50723d9a00); +windows_core::imp::define_interface!(IOfflineFilesFileItem, IOfflineFilesFileItem_Vtbl, 0x8dfadead_26c2_4eff_8a72_6b50723d9a00); windows_core::imp::interface_hierarchy!(IOfflineFilesFileItem, windows_core::IUnknown, IOfflineFilesItem); impl IOfflineFilesFileItem { pub unsafe fn GetItemType(&self) -> windows_core::Result { @@ -1269,7 +1269,7 @@ pub struct IOfflineFilesFileItem_Vtbl { pub IsSparse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsEncrypted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesFileSysInfo, IOfflineFilesFileSysInfo_Vtbl, 0xbc1a163f_7bfd_4d88_9c66_96ea9a6a3d6b); +windows_core::imp::define_interface!(IOfflineFilesFileSysInfo, IOfflineFilesFileSysInfo_Vtbl, 0xbc1a163f_7bfd_4d88_9c66_96ea9a6a3d6b); windows_core::imp::interface_hierarchy!(IOfflineFilesFileSysInfo, windows_core::IUnknown); impl IOfflineFilesFileSysInfo { pub unsafe fn GetAttributes(&self, copy: OFFLINEFILES_ITEM_COPY) -> windows_core::Result { @@ -1291,7 +1291,7 @@ pub struct IOfflineFilesFileSysInfo_Vtbl { pub GetTimes: unsafe extern "system" fn(*mut core::ffi::c_void, OFFLINEFILES_ITEM_COPY, *mut super::super::Foundation::FILETIME, *mut super::super::Foundation::FILETIME, *mut super::super::Foundation::FILETIME, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub GetFileSize: unsafe extern "system" fn(*mut core::ffi::c_void, OFFLINEFILES_ITEM_COPY, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesGhostInfo, IOfflineFilesGhostInfo_Vtbl, 0x2b09d48c_8ab5_464f_a755_a59d92f99429); +windows_core::imp::define_interface!(IOfflineFilesGhostInfo, IOfflineFilesGhostInfo_Vtbl, 0x2b09d48c_8ab5_464f_a755_a59d92f99429); windows_core::imp::interface_hierarchy!(IOfflineFilesGhostInfo, windows_core::IUnknown); impl IOfflineFilesGhostInfo { pub unsafe fn IsGhosted(&self) -> windows_core::Result { @@ -1304,7 +1304,7 @@ pub struct IOfflineFilesGhostInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsGhosted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesItem, IOfflineFilesItem_Vtbl, 0x4a753da6_e044_4f12_a718_5d14d079a906); +windows_core::imp::define_interface!(IOfflineFilesItem, IOfflineFilesItem_Vtbl, 0x4a753da6_e044_4f12_a718_5d14d079a906); windows_core::imp::interface_hierarchy!(IOfflineFilesItem, windows_core::IUnknown); impl IOfflineFilesItem { pub unsafe fn GetItemType(&self) -> windows_core::Result { @@ -1336,7 +1336,7 @@ pub struct IOfflineFilesItem_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub IsMarkedForDeletion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesItemContainer, IOfflineFilesItemContainer_Vtbl, 0x3836f049_9413_45dd_bf46_b5aaa82dc310); +windows_core::imp::define_interface!(IOfflineFilesItemContainer, IOfflineFilesItemContainer_Vtbl, 0x3836f049_9413_45dd_bf46_b5aaa82dc310); windows_core::imp::interface_hierarchy!(IOfflineFilesItemContainer, windows_core::IUnknown); impl IOfflineFilesItemContainer { pub unsafe fn EnumItems(&self, dwqueryflags: u32) -> windows_core::Result { @@ -1360,7 +1360,7 @@ pub struct IOfflineFilesItemContainer_Vtbl { pub EnumItems: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumItemsEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesItemFilter, IOfflineFilesItemFilter_Vtbl, 0xf4b5a26c_dc05_4f20_ada4_551f1077be5c); +windows_core::imp::define_interface!(IOfflineFilesItemFilter, IOfflineFilesItemFilter_Vtbl, 0xf4b5a26c_dc05_4f20_ada4_551f1077be5c); windows_core::imp::interface_hierarchy!(IOfflineFilesItemFilter, windows_core::IUnknown); impl IOfflineFilesItemFilter { pub unsafe fn GetFilterFlags(&self, pullflags: *mut u64, pullmask: *mut u64) -> windows_core::Result<()> { @@ -1380,7 +1380,7 @@ pub struct IOfflineFilesItemFilter_Vtbl { pub GetTimeFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME, *mut super::super::Foundation::BOOL, *mut OFFLINEFILES_ITEM_TIME, *mut OFFLINEFILES_COMPARE) -> windows_core::HRESULT, pub GetPatternFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesPinInfo, IOfflineFilesPinInfo_Vtbl, 0x5b2b0655_b3fd_497d_adeb_bd156bc8355b); +windows_core::imp::define_interface!(IOfflineFilesPinInfo, IOfflineFilesPinInfo_Vtbl, 0x5b2b0655_b3fd_497d_adeb_bd156bc8355b); windows_core::imp::interface_hierarchy!(IOfflineFilesPinInfo, windows_core::IUnknown); impl IOfflineFilesPinInfo { pub unsafe fn IsPinned(&self) -> windows_core::Result { @@ -1409,7 +1409,7 @@ pub struct IOfflineFilesPinInfo_Vtbl { pub IsPinnedForComputer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsPinnedForFolderRedirection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesPinInfo2, IOfflineFilesPinInfo2_Vtbl, 0x623c58a2_42ed_4ad7_b69a_0f1b30a72d0d); +windows_core::imp::define_interface!(IOfflineFilesPinInfo2, IOfflineFilesPinInfo2_Vtbl, 0x623c58a2_42ed_4ad7_b69a_0f1b30a72d0d); windows_core::imp::interface_hierarchy!(IOfflineFilesPinInfo2, windows_core::IUnknown, IOfflineFilesPinInfo); impl IOfflineFilesPinInfo2 { pub unsafe fn IsPinned(&self) -> windows_core::Result { @@ -1438,7 +1438,7 @@ pub struct IOfflineFilesPinInfo2_Vtbl { pub base__: IOfflineFilesPinInfo_Vtbl, pub IsPartlyPinned: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesProgress, IOfflineFilesProgress_Vtbl, 0xfad63237_c55b_4911_9850_bcf96d4c979e); +windows_core::imp::define_interface!(IOfflineFilesProgress, IOfflineFilesProgress_Vtbl, 0xfad63237_c55b_4911_9850_bcf96d4c979e); windows_core::imp::interface_hierarchy!(IOfflineFilesProgress, windows_core::IUnknown); impl IOfflineFilesProgress { pub unsafe fn Begin(&self) -> windows_core::Result { @@ -1460,7 +1460,7 @@ pub struct IOfflineFilesProgress_Vtbl { pub QueryAbort: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub End: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesServerItem, IOfflineFilesServerItem_Vtbl, 0x9b1c9576_a92b_4151_8e9e_7c7b3ec2e016); +windows_core::imp::define_interface!(IOfflineFilesServerItem, IOfflineFilesServerItem_Vtbl, 0x9b1c9576_a92b_4151_8e9e_7c7b3ec2e016); windows_core::imp::interface_hierarchy!(IOfflineFilesServerItem, windows_core::IUnknown, IOfflineFilesItem); impl IOfflineFilesServerItem { pub unsafe fn GetItemType(&self) -> windows_core::Result { @@ -1487,7 +1487,7 @@ impl IOfflineFilesServerItem { pub struct IOfflineFilesServerItem_Vtbl { pub base__: IOfflineFilesItem_Vtbl, } -windows_core::imp::com_interface!(IOfflineFilesSetting, IOfflineFilesSetting_Vtbl, 0xd871d3f7_f613_48a1_827e_7a34e560fff6); +windows_core::imp::define_interface!(IOfflineFilesSetting, IOfflineFilesSetting_Vtbl, 0xd871d3f7_f613_48a1_827e_7a34e560fff6); windows_core::imp::interface_hierarchy!(IOfflineFilesSetting, windows_core::IUnknown); impl IOfflineFilesSetting { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -1535,7 +1535,7 @@ pub struct IOfflineFilesSetting_Vtbl { 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, } -windows_core::imp::com_interface!(IOfflineFilesShareInfo, IOfflineFilesShareInfo_Vtbl, 0x7bcc43e7_31ce_4ca4_8ccd_1cff2dc494da); +windows_core::imp::define_interface!(IOfflineFilesShareInfo, IOfflineFilesShareInfo_Vtbl, 0x7bcc43e7_31ce_4ca4_8ccd_1cff2dc494da); windows_core::imp::interface_hierarchy!(IOfflineFilesShareInfo, windows_core::IUnknown); impl IOfflineFilesShareInfo { pub unsafe fn GetShareItem(&self) -> windows_core::Result { @@ -1558,7 +1558,7 @@ pub struct IOfflineFilesShareInfo_Vtbl { pub GetShareCachingMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OFFLINEFILES_CACHING_MODE) -> windows_core::HRESULT, pub IsShareDfsJunction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesShareItem, IOfflineFilesShareItem_Vtbl, 0xbab7e48d_4804_41b5_a44d_0f199b06b145); +windows_core::imp::define_interface!(IOfflineFilesShareItem, IOfflineFilesShareItem_Vtbl, 0xbab7e48d_4804_41b5_a44d_0f199b06b145); windows_core::imp::interface_hierarchy!(IOfflineFilesShareItem, windows_core::IUnknown, IOfflineFilesItem); impl IOfflineFilesShareItem { pub unsafe fn GetItemType(&self) -> windows_core::Result { @@ -1585,7 +1585,7 @@ impl IOfflineFilesShareItem { pub struct IOfflineFilesShareItem_Vtbl { pub base__: IOfflineFilesItem_Vtbl, } -windows_core::imp::com_interface!(IOfflineFilesSimpleProgress, IOfflineFilesSimpleProgress_Vtbl, 0xc34f7f9b_c43d_4f9d_a776_c0eb6de5d401); +windows_core::imp::define_interface!(IOfflineFilesSimpleProgress, IOfflineFilesSimpleProgress_Vtbl, 0xc34f7f9b_c43d_4f9d_a776_c0eb6de5d401); windows_core::imp::interface_hierarchy!(IOfflineFilesSimpleProgress, windows_core::IUnknown, IOfflineFilesProgress); impl IOfflineFilesSimpleProgress { pub unsafe fn Begin(&self) -> windows_core::Result { @@ -1620,7 +1620,7 @@ pub struct IOfflineFilesSimpleProgress_Vtbl { pub ItemBegin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut OFFLINEFILES_OP_RESPONSE) -> windows_core::HRESULT, pub ItemResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::HRESULT, *mut OFFLINEFILES_OP_RESPONSE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesSuspend, IOfflineFilesSuspend_Vtbl, 0x62c4560f_bc0b_48ca_ad9d_34cb528d99a9); +windows_core::imp::define_interface!(IOfflineFilesSuspend, IOfflineFilesSuspend_Vtbl, 0x62c4560f_bc0b_48ca_ad9d_34cb528d99a9); windows_core::imp::interface_hierarchy!(IOfflineFilesSuspend, windows_core::IUnknown); impl IOfflineFilesSuspend { pub unsafe fn SuspendRoot(&self, bsuspend: P0) -> windows_core::Result<()> @@ -1635,7 +1635,7 @@ pub struct IOfflineFilesSuspend_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SuspendRoot: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesSuspendInfo, IOfflineFilesSuspendInfo_Vtbl, 0xa457c25b_4e9c_4b04_85af_8932ccd97889); +windows_core::imp::define_interface!(IOfflineFilesSuspendInfo, IOfflineFilesSuspendInfo_Vtbl, 0xa457c25b_4e9c_4b04_85af_8932ccd97889); windows_core::imp::interface_hierarchy!(IOfflineFilesSuspendInfo, windows_core::IUnknown); impl IOfflineFilesSuspendInfo { pub unsafe fn IsSuspended(&self, pbsuspended: *mut super::super::Foundation::BOOL, pbsuspendedroot: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -1647,7 +1647,7 @@ pub struct IOfflineFilesSuspendInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsSuspended: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesSyncConflictHandler, IOfflineFilesSyncConflictHandler_Vtbl, 0xb6dd5092_c65c_46b6_97b8_fadd08e7e1be); +windows_core::imp::define_interface!(IOfflineFilesSyncConflictHandler, IOfflineFilesSyncConflictHandler_Vtbl, 0xb6dd5092_c65c_46b6_97b8_fadd08e7e1be); windows_core::imp::interface_hierarchy!(IOfflineFilesSyncConflictHandler, windows_core::IUnknown); impl IOfflineFilesSyncConflictHandler { pub unsafe fn ResolveConflict(&self, pszpath: P0, fstateknown: u32, state: OFFLINEFILES_SYNC_STATE, fchangedetails: u32, pconflictresolution: *mut OFFLINEFILES_SYNC_CONFLICT_RESOLVE, ppsznewname: *mut windows_core::PWSTR) -> windows_core::Result<()> @@ -1662,7 +1662,7 @@ pub struct IOfflineFilesSyncConflictHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ResolveConflict: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, OFFLINEFILES_SYNC_STATE, u32, *mut OFFLINEFILES_SYNC_CONFLICT_RESOLVE, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesSyncErrorInfo, IOfflineFilesSyncErrorInfo_Vtbl, 0x59f95e46_eb54_49d1_be76_de95458d01b0); +windows_core::imp::define_interface!(IOfflineFilesSyncErrorInfo, IOfflineFilesSyncErrorInfo_Vtbl, 0x59f95e46_eb54_49d1_be76_de95458d01b0); windows_core::imp::interface_hierarchy!(IOfflineFilesSyncErrorInfo, windows_core::IUnknown, IOfflineFilesErrorInfo); impl IOfflineFilesSyncErrorInfo { #[cfg(feature = "Win32_System_Com")] @@ -1712,7 +1712,7 @@ pub struct IOfflineFilesSyncErrorInfo_Vtbl { pub GetRemoteInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetOriginalInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesSyncErrorItemInfo, IOfflineFilesSyncErrorItemInfo_Vtbl, 0xecdbaf0d_6a18_4d55_8017_108f7660ba44); +windows_core::imp::define_interface!(IOfflineFilesSyncErrorItemInfo, IOfflineFilesSyncErrorItemInfo_Vtbl, 0xecdbaf0d_6a18_4d55_8017_108f7660ba44); windows_core::imp::interface_hierarchy!(IOfflineFilesSyncErrorItemInfo, windows_core::IUnknown); impl IOfflineFilesSyncErrorItemInfo { pub unsafe fn GetFileAttributes(&self) -> windows_core::Result { @@ -1734,7 +1734,7 @@ pub struct IOfflineFilesSyncErrorItemInfo_Vtbl { pub GetFileTimes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub GetFileSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesSyncProgress, IOfflineFilesSyncProgress_Vtbl, 0x6931f49a_6fc7_4c1b_b265_56793fc451b7); +windows_core::imp::define_interface!(IOfflineFilesSyncProgress, IOfflineFilesSyncProgress_Vtbl, 0x6931f49a_6fc7_4c1b_b265_56793fc451b7); windows_core::imp::interface_hierarchy!(IOfflineFilesSyncProgress, windows_core::IUnknown, IOfflineFilesProgress); impl IOfflineFilesSyncProgress { pub unsafe fn Begin(&self) -> windows_core::Result { @@ -1770,7 +1770,7 @@ pub struct IOfflineFilesSyncProgress_Vtbl { pub SyncItemBegin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut OFFLINEFILES_OP_RESPONSE) -> windows_core::HRESULT, pub SyncItemResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::HRESULT, *mut core::ffi::c_void, *mut OFFLINEFILES_OP_RESPONSE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOfflineFilesTransparentCacheInfo, IOfflineFilesTransparentCacheInfo_Vtbl, 0xbcaf4a01_5b68_4b56_a6a1_8d2786ede8e3); +windows_core::imp::define_interface!(IOfflineFilesTransparentCacheInfo, IOfflineFilesTransparentCacheInfo_Vtbl, 0xbcaf4a01_5b68_4b56_a6a1_8d2786ede8e3); windows_core::imp::interface_hierarchy!(IOfflineFilesTransparentCacheInfo, windows_core::IUnknown); impl IOfflineFilesTransparentCacheInfo { pub unsafe fn IsTransparentlyCached(&self) -> windows_core::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 00dbc67949..55e992a943 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 @@ -469,7 +469,7 @@ where windows_targets::link!("api-ms-win-appmodel-runtime-l1-1-1.dll" "system" fn VerifyPackageRelativeApplicationId(packagerelativeapplicationid : windows_core::PCWSTR) -> super::super::super::Foundation:: WIN32_ERROR); VerifyPackageRelativeApplicationId(packagerelativeapplicationid.into_param().abi()) } -windows_core::imp::com_interface!(IAppxAppInstallerReader, IAppxAppInstallerReader_Vtbl, 0xf35bc38c_1d2f_43db_a1f4_586430d1fed2); +windows_core::imp::define_interface!(IAppxAppInstallerReader, IAppxAppInstallerReader_Vtbl, 0xf35bc38c_1d2f_43db_a1f4_586430d1fed2); windows_core::imp::interface_hierarchy!(IAppxAppInstallerReader, windows_core::IUnknown); impl IAppxAppInstallerReader { #[cfg(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com"))] @@ -486,7 +486,7 @@ pub struct IAppxAppInstallerReader_Vtbl { #[cfg(not(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com")))] GetXmlDom: usize, } -windows_core::imp::com_interface!(IAppxBlockMapBlock, IAppxBlockMapBlock_Vtbl, 0x75cf3930_3244_4fe0_a8c8_e0bcb270b889); +windows_core::imp::define_interface!(IAppxBlockMapBlock, IAppxBlockMapBlock_Vtbl, 0x75cf3930_3244_4fe0_a8c8_e0bcb270b889); windows_core::imp::interface_hierarchy!(IAppxBlockMapBlock, windows_core::IUnknown); impl IAppxBlockMapBlock { pub unsafe fn GetHash(&self, buffersize: *mut u32) -> windows_core::Result<*mut u8> { @@ -504,7 +504,7 @@ pub struct IAppxBlockMapBlock_Vtbl { pub GetHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub GetCompressedSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBlockMapBlocksEnumerator, IAppxBlockMapBlocksEnumerator_Vtbl, 0x6b429b5b_36ef_479e_b9eb_0c1482b49e16); +windows_core::imp::define_interface!(IAppxBlockMapBlocksEnumerator, IAppxBlockMapBlocksEnumerator_Vtbl, 0x6b429b5b_36ef_479e_b9eb_0c1482b49e16); windows_core::imp::interface_hierarchy!(IAppxBlockMapBlocksEnumerator, windows_core::IUnknown); impl IAppxBlockMapBlocksEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -527,7 +527,7 @@ pub struct IAppxBlockMapBlocksEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBlockMapFile, IAppxBlockMapFile_Vtbl, 0x277672ac_4f63_42c1_8abc_beae3600eb59); +windows_core::imp::define_interface!(IAppxBlockMapFile, IAppxBlockMapFile_Vtbl, 0x277672ac_4f63_42c1_8abc_beae3600eb59); windows_core::imp::interface_hierarchy!(IAppxBlockMapFile, windows_core::IUnknown); impl IAppxBlockMapFile { pub unsafe fn GetBlocks(&self) -> windows_core::Result { @@ -567,7 +567,7 @@ pub struct IAppxBlockMapFile_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ValidateFileHash: usize, } -windows_core::imp::com_interface!(IAppxBlockMapFilesEnumerator, IAppxBlockMapFilesEnumerator_Vtbl, 0x02b856a2_4262_4070_bacb_1a8cbbc42305); +windows_core::imp::define_interface!(IAppxBlockMapFilesEnumerator, IAppxBlockMapFilesEnumerator_Vtbl, 0x02b856a2_4262_4070_bacb_1a8cbbc42305); windows_core::imp::interface_hierarchy!(IAppxBlockMapFilesEnumerator, windows_core::IUnknown); impl IAppxBlockMapFilesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -590,7 +590,7 @@ pub struct IAppxBlockMapFilesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBlockMapReader, IAppxBlockMapReader_Vtbl, 0x5efec991_bca3_42d1_9ec2_e92d609ec22a); +windows_core::imp::define_interface!(IAppxBlockMapReader, IAppxBlockMapReader_Vtbl, 0x5efec991_bca3_42d1_9ec2_e92d609ec22a); windows_core::imp::interface_hierarchy!(IAppxBlockMapReader, windows_core::IUnknown); impl IAppxBlockMapReader { pub unsafe fn GetFile(&self, filename: P0) -> windows_core::Result @@ -629,7 +629,7 @@ pub struct IAppxBlockMapReader_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetStream: usize, } -windows_core::imp::com_interface!(IAppxBundleFactory, IAppxBundleFactory_Vtbl, 0xbba65864_965f_4a5f_855f_f074bdbf3a7b); +windows_core::imp::define_interface!(IAppxBundleFactory, IAppxBundleFactory_Vtbl, 0xbba65864_965f_4a5f_855f_f074bdbf3a7b); windows_core::imp::interface_hierarchy!(IAppxBundleFactory, windows_core::IUnknown); impl IAppxBundleFactory { #[cfg(feature = "Win32_System_Com")] @@ -673,7 +673,7 @@ pub struct IAppxBundleFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateBundleManifestReader: usize, } -windows_core::imp::com_interface!(IAppxBundleFactory2, IAppxBundleFactory2_Vtbl, 0x7325b83d_0185_42c4_82ac_be34ab1a2a8a); +windows_core::imp::define_interface!(IAppxBundleFactory2, IAppxBundleFactory2_Vtbl, 0x7325b83d_0185_42c4_82ac_be34ab1a2a8a); windows_core::imp::interface_hierarchy!(IAppxBundleFactory2, windows_core::IUnknown); impl IAppxBundleFactory2 { #[cfg(feature = "Win32_System_Com")] @@ -694,7 +694,7 @@ pub struct IAppxBundleFactory2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateBundleReader2: usize, } -windows_core::imp::com_interface!(IAppxBundleManifestOptionalBundleInfo, IAppxBundleManifestOptionalBundleInfo_Vtbl, 0x515bf2e8_bcb0_4d69_8c48_e383147b6e12); +windows_core::imp::define_interface!(IAppxBundleManifestOptionalBundleInfo, IAppxBundleManifestOptionalBundleInfo_Vtbl, 0x515bf2e8_bcb0_4d69_8c48_e383147b6e12); windows_core::imp::interface_hierarchy!(IAppxBundleManifestOptionalBundleInfo, windows_core::IUnknown); impl IAppxBundleManifestOptionalBundleInfo { pub unsafe fn GetPackageId(&self) -> windows_core::Result { @@ -717,7 +717,7 @@ pub struct IAppxBundleManifestOptionalBundleInfo_Vtbl { pub GetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetPackageInfoItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBundleManifestOptionalBundleInfoEnumerator, IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl, 0x9a178793_f97e_46ac_aaca_dd5ba4c177c8); +windows_core::imp::define_interface!(IAppxBundleManifestOptionalBundleInfoEnumerator, IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl, 0x9a178793_f97e_46ac_aaca_dd5ba4c177c8); windows_core::imp::interface_hierarchy!(IAppxBundleManifestOptionalBundleInfoEnumerator, windows_core::IUnknown); impl IAppxBundleManifestOptionalBundleInfoEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -740,7 +740,7 @@ pub struct IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBundleManifestPackageInfo, IAppxBundleManifestPackageInfo_Vtbl, 0x54cd06c1_268f_40bb_8ed2_757a9ebaec8d); +windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo, IAppxBundleManifestPackageInfo_Vtbl, 0x54cd06c1_268f_40bb_8ed2_757a9ebaec8d); windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo, windows_core::IUnknown); impl IAppxBundleManifestPackageInfo { pub unsafe fn GetPackageType(&self) -> windows_core::Result { @@ -778,7 +778,7 @@ pub struct IAppxBundleManifestPackageInfo_Vtbl { pub GetSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub GetResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBundleManifestPackageInfo2, IAppxBundleManifestPackageInfo2_Vtbl, 0x44c2acbc_b2cf_4ccb_bbdb_9c6da8c3bc9e); +windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo2, IAppxBundleManifestPackageInfo2_Vtbl, 0x44c2acbc_b2cf_4ccb_bbdb_9c6da8c3bc9e); windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo2, windows_core::IUnknown); impl IAppxBundleManifestPackageInfo2 { pub unsafe fn GetIsPackageReference(&self) -> windows_core::Result { @@ -801,7 +801,7 @@ pub struct IAppxBundleManifestPackageInfo2_Vtbl { pub GetIsNonQualifiedResourcePackage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetIsDefaultApplicablePackage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBundleManifestPackageInfo3, IAppxBundleManifestPackageInfo3_Vtbl, 0x6ba74b98_bb74_4296_80d0_5f4256a99675); +windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo3, IAppxBundleManifestPackageInfo3_Vtbl, 0x6ba74b98_bb74_4296_80d0_5f4256a99675); windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo3, windows_core::IUnknown); impl IAppxBundleManifestPackageInfo3 { pub unsafe fn GetTargetDeviceFamilies(&self) -> windows_core::Result { @@ -814,7 +814,7 @@ pub struct IAppxBundleManifestPackageInfo3_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetTargetDeviceFamilies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBundleManifestPackageInfo4, IAppxBundleManifestPackageInfo4_Vtbl, 0x5da6f13d_a8a7_4532_857c_1393d659371d); +windows_core::imp::define_interface!(IAppxBundleManifestPackageInfo4, IAppxBundleManifestPackageInfo4_Vtbl, 0x5da6f13d_a8a7_4532_857c_1393d659371d); windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfo4, windows_core::IUnknown); impl IAppxBundleManifestPackageInfo4 { pub unsafe fn GetIsStub(&self) -> windows_core::Result { @@ -827,7 +827,7 @@ pub struct IAppxBundleManifestPackageInfo4_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetIsStub: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBundleManifestPackageInfoEnumerator, IAppxBundleManifestPackageInfoEnumerator_Vtbl, 0xf9b856ee_49a6_4e19_b2b0_6a2406d63a32); +windows_core::imp::define_interface!(IAppxBundleManifestPackageInfoEnumerator, IAppxBundleManifestPackageInfoEnumerator_Vtbl, 0xf9b856ee_49a6_4e19_b2b0_6a2406d63a32); windows_core::imp::interface_hierarchy!(IAppxBundleManifestPackageInfoEnumerator, windows_core::IUnknown); impl IAppxBundleManifestPackageInfoEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -850,7 +850,7 @@ pub struct IAppxBundleManifestPackageInfoEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBundleManifestReader, IAppxBundleManifestReader_Vtbl, 0xcf0ebbc1_cc99_4106_91eb_e67462e04fb0); +windows_core::imp::define_interface!(IAppxBundleManifestReader, IAppxBundleManifestReader_Vtbl, 0xcf0ebbc1_cc99_4106_91eb_e67462e04fb0); windows_core::imp::interface_hierarchy!(IAppxBundleManifestReader, windows_core::IUnknown); impl IAppxBundleManifestReader { pub unsafe fn GetPackageId(&self) -> windows_core::Result { @@ -877,7 +877,7 @@ pub struct IAppxBundleManifestReader_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetStream: usize, } -windows_core::imp::com_interface!(IAppxBundleManifestReader2, IAppxBundleManifestReader2_Vtbl, 0x5517df70_033f_4af2_8213_87d766805c02); +windows_core::imp::define_interface!(IAppxBundleManifestReader2, IAppxBundleManifestReader2_Vtbl, 0x5517df70_033f_4af2_8213_87d766805c02); windows_core::imp::interface_hierarchy!(IAppxBundleManifestReader2, windows_core::IUnknown); impl IAppxBundleManifestReader2 { pub unsafe fn GetOptionalBundles(&self) -> windows_core::Result { @@ -890,7 +890,7 @@ pub struct IAppxBundleManifestReader2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetOptionalBundles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBundleReader, IAppxBundleReader_Vtbl, 0xdd75b8c0_ba76_43b0_ae0f_68656a1dc5c8); +windows_core::imp::define_interface!(IAppxBundleReader, IAppxBundleReader_Vtbl, 0xdd75b8c0_ba76_43b0_ae0f_68656a1dc5c8); 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 { @@ -926,7 +926,7 @@ pub struct IAppxBundleReader_Vtbl { pub GetPayloadPackages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPayloadPackage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBundleWriter, IAppxBundleWriter_Vtbl, 0xec446fe8_bfec_4c64_ab4f_49f038f0c6d2); +windows_core::imp::define_interface!(IAppxBundleWriter, IAppxBundleWriter_Vtbl, 0xec446fe8_bfec_4c64_ab4f_49f038f0c6d2); windows_core::imp::interface_hierarchy!(IAppxBundleWriter, windows_core::IUnknown); impl IAppxBundleWriter { #[cfg(feature = "Win32_System_Com")] @@ -950,7 +950,7 @@ pub struct IAppxBundleWriter_Vtbl { AddPayloadPackage: usize, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBundleWriter2, IAppxBundleWriter2_Vtbl, 0x6d8fe971_01cc_49a0_b685_233851279962); +windows_core::imp::define_interface!(IAppxBundleWriter2, IAppxBundleWriter2_Vtbl, 0x6d8fe971_01cc_49a0_b685_233851279962); windows_core::imp::interface_hierarchy!(IAppxBundleWriter2, windows_core::IUnknown); impl IAppxBundleWriter2 { #[cfg(feature = "Win32_System_Com")] @@ -970,7 +970,7 @@ pub struct IAppxBundleWriter2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AddExternalPackageReference: usize, } -windows_core::imp::com_interface!(IAppxBundleWriter3, IAppxBundleWriter3_Vtbl, 0xad711152_f969_4193_82d5_9ddf2786d21a); +windows_core::imp::define_interface!(IAppxBundleWriter3, IAppxBundleWriter3_Vtbl, 0xad711152_f969_4193_82d5_9ddf2786d21a); windows_core::imp::interface_hierarchy!(IAppxBundleWriter3, windows_core::IUnknown); impl IAppxBundleWriter3 { #[cfg(feature = "Win32_System_Com")] @@ -997,7 +997,7 @@ pub struct IAppxBundleWriter3_Vtbl { AddPackageReference: usize, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxBundleWriter4, IAppxBundleWriter4_Vtbl, 0x9cd9d523_5009_4c01_9882_dc029fbd47a3); +windows_core::imp::define_interface!(IAppxBundleWriter4, IAppxBundleWriter4_Vtbl, 0x9cd9d523_5009_4c01_9882_dc029fbd47a3); windows_core::imp::interface_hierarchy!(IAppxBundleWriter4, windows_core::IUnknown); impl IAppxBundleWriter4 { #[cfg(feature = "Win32_System_Com")] @@ -1044,7 +1044,7 @@ pub struct IAppxBundleWriter4_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AddExternalPackageReference: usize, } -windows_core::imp::com_interface!(IAppxContentGroup, IAppxContentGroup_Vtbl, 0x328f6468_c04f_4e3c_b6fa_6b8d27f3003a); +windows_core::imp::define_interface!(IAppxContentGroup, IAppxContentGroup_Vtbl, 0x328f6468_c04f_4e3c_b6fa_6b8d27f3003a); windows_core::imp::interface_hierarchy!(IAppxContentGroup, windows_core::IUnknown); impl IAppxContentGroup { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -1062,7 +1062,7 @@ pub struct IAppxContentGroup_Vtbl { pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetFiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxContentGroupFilesEnumerator, IAppxContentGroupFilesEnumerator_Vtbl, 0x1a09a2fd_7440_44eb_8c84_848205a6a1cc); +windows_core::imp::define_interface!(IAppxContentGroupFilesEnumerator, IAppxContentGroupFilesEnumerator_Vtbl, 0x1a09a2fd_7440_44eb_8c84_848205a6a1cc); windows_core::imp::interface_hierarchy!(IAppxContentGroupFilesEnumerator, windows_core::IUnknown); impl IAppxContentGroupFilesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -1085,7 +1085,7 @@ pub struct IAppxContentGroupFilesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxContentGroupMapReader, IAppxContentGroupMapReader_Vtbl, 0x418726d8_dd99_4f5d_9886_157add20de01); +windows_core::imp::define_interface!(IAppxContentGroupMapReader, IAppxContentGroupMapReader_Vtbl, 0x418726d8_dd99_4f5d_9886_157add20de01); windows_core::imp::interface_hierarchy!(IAppxContentGroupMapReader, windows_core::IUnknown); impl IAppxContentGroupMapReader { pub unsafe fn GetRequiredGroup(&self) -> windows_core::Result { @@ -1103,7 +1103,7 @@ pub struct IAppxContentGroupMapReader_Vtbl { pub GetRequiredGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAutomaticGroups: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxContentGroupMapWriter, IAppxContentGroupMapWriter_Vtbl, 0xd07ab776_a9de_4798_8c14_3db31e687c78); +windows_core::imp::define_interface!(IAppxContentGroupMapWriter, IAppxContentGroupMapWriter_Vtbl, 0xd07ab776_a9de_4798_8c14_3db31e687c78); windows_core::imp::interface_hierarchy!(IAppxContentGroupMapWriter, windows_core::IUnknown); impl IAppxContentGroupMapWriter { pub unsafe fn AddAutomaticGroup(&self, groupname: P0) -> windows_core::Result<()> @@ -1129,7 +1129,7 @@ pub struct IAppxContentGroupMapWriter_Vtbl { pub AddAutomaticFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxContentGroupsEnumerator, IAppxContentGroupsEnumerator_Vtbl, 0x3264e477_16d1_4d63_823e_7d2984696634); +windows_core::imp::define_interface!(IAppxContentGroupsEnumerator, IAppxContentGroupsEnumerator_Vtbl, 0x3264e477_16d1_4d63_823e_7d2984696634); windows_core::imp::interface_hierarchy!(IAppxContentGroupsEnumerator, windows_core::IUnknown); impl IAppxContentGroupsEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -1152,7 +1152,7 @@ pub struct IAppxContentGroupsEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxDigestProvider, IAppxDigestProvider_Vtbl, 0x9fe2702b_7640_4659_8e6c_349e43c4cdbd); +windows_core::imp::define_interface!(IAppxDigestProvider, IAppxDigestProvider_Vtbl, 0x9fe2702b_7640_4659_8e6c_349e43c4cdbd); windows_core::imp::interface_hierarchy!(IAppxDigestProvider, windows_core::IUnknown); impl IAppxDigestProvider { pub unsafe fn GetDigest(&self) -> windows_core::Result { @@ -1165,7 +1165,7 @@ pub struct IAppxDigestProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDigest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxEncryptedBundleWriter, IAppxEncryptedBundleWriter_Vtbl, 0x80b0902f_7bf0_4117_b8c6_4279ef81ee77); +windows_core::imp::define_interface!(IAppxEncryptedBundleWriter, IAppxEncryptedBundleWriter_Vtbl, 0x80b0902f_7bf0_4117_b8c6_4279ef81ee77); windows_core::imp::interface_hierarchy!(IAppxEncryptedBundleWriter, windows_core::IUnknown); impl IAppxEncryptedBundleWriter { #[cfg(feature = "Win32_System_Com")] @@ -1189,7 +1189,7 @@ pub struct IAppxEncryptedBundleWriter_Vtbl { AddPayloadPackageEncrypted: usize, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxEncryptedBundleWriter2, IAppxEncryptedBundleWriter2_Vtbl, 0xe644be82_f0fa_42b8_a956_8d1cb48ee379); +windows_core::imp::define_interface!(IAppxEncryptedBundleWriter2, IAppxEncryptedBundleWriter2_Vtbl, 0xe644be82_f0fa_42b8_a956_8d1cb48ee379); windows_core::imp::interface_hierarchy!(IAppxEncryptedBundleWriter2, windows_core::IUnknown); impl IAppxEncryptedBundleWriter2 { #[cfg(feature = "Win32_System_Com")] @@ -1209,7 +1209,7 @@ pub struct IAppxEncryptedBundleWriter2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AddExternalPackageReference: usize, } -windows_core::imp::com_interface!(IAppxEncryptedBundleWriter3, IAppxEncryptedBundleWriter3_Vtbl, 0x0d34deb3_5cae_4dd3_977c_504932a51d31); +windows_core::imp::define_interface!(IAppxEncryptedBundleWriter3, IAppxEncryptedBundleWriter3_Vtbl, 0x0d34deb3_5cae_4dd3_977c_504932a51d31); windows_core::imp::interface_hierarchy!(IAppxEncryptedBundleWriter3, windows_core::IUnknown); impl IAppxEncryptedBundleWriter3 { #[cfg(feature = "Win32_System_Com")] @@ -1243,7 +1243,7 @@ pub struct IAppxEncryptedBundleWriter3_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AddExternalPackageReference: usize, } -windows_core::imp::com_interface!(IAppxEncryptedPackageWriter, IAppxEncryptedPackageWriter_Vtbl, 0xf43d0b0b_1379_40e2_9b29_682ea2bf42af); +windows_core::imp::define_interface!(IAppxEncryptedPackageWriter, IAppxEncryptedPackageWriter_Vtbl, 0xf43d0b0b_1379_40e2_9b29_682ea2bf42af); windows_core::imp::interface_hierarchy!(IAppxEncryptedPackageWriter, windows_core::IUnknown); impl IAppxEncryptedPackageWriter { #[cfg(feature = "Win32_System_Com")] @@ -1267,7 +1267,7 @@ pub struct IAppxEncryptedPackageWriter_Vtbl { AddPayloadFileEncrypted: usize, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxEncryptedPackageWriter2, IAppxEncryptedPackageWriter2_Vtbl, 0x3e475447_3a25_40b5_8ad2_f953ae50c92d); +windows_core::imp::define_interface!(IAppxEncryptedPackageWriter2, IAppxEncryptedPackageWriter2_Vtbl, 0x3e475447_3a25_40b5_8ad2_f953ae50c92d); windows_core::imp::interface_hierarchy!(IAppxEncryptedPackageWriter2, windows_core::IUnknown); impl IAppxEncryptedPackageWriter2 { #[cfg(feature = "Win32_System_Com")] @@ -1283,7 +1283,7 @@ pub struct IAppxEncryptedPackageWriter2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AddPayloadFilesEncrypted: usize, } -windows_core::imp::com_interface!(IAppxEncryptionFactory, IAppxEncryptionFactory_Vtbl, 0x80e8e04d_8c88_44ae_a011_7cadf6fb2e72); +windows_core::imp::define_interface!(IAppxEncryptionFactory, IAppxEncryptionFactory_Vtbl, 0x80e8e04d_8c88_44ae_a011_7cadf6fb2e72); windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory, windows_core::IUnknown); impl IAppxEncryptionFactory { #[cfg(feature = "Win32_System_Com")] @@ -1388,7 +1388,7 @@ pub struct IAppxEncryptionFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateEncryptedBundleReader: usize, } -windows_core::imp::com_interface!(IAppxEncryptionFactory2, IAppxEncryptionFactory2_Vtbl, 0xc1b11eee_c4ba_4ab2_a55d_d015fe8ff64f); +windows_core::imp::define_interface!(IAppxEncryptionFactory2, IAppxEncryptionFactory2_Vtbl, 0xc1b11eee_c4ba_4ab2_a55d_d015fe8ff64f); windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory2, windows_core::IUnknown); impl IAppxEncryptionFactory2 { #[cfg(feature = "Win32_System_Com")] @@ -1410,7 +1410,7 @@ pub struct IAppxEncryptionFactory2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateEncryptedPackageWriter: usize, } -windows_core::imp::com_interface!(IAppxEncryptionFactory3, IAppxEncryptionFactory3_Vtbl, 0x09edca37_cd64_47d6_b7e8_1cb11d4f7e05); +windows_core::imp::define_interface!(IAppxEncryptionFactory3, IAppxEncryptionFactory3_Vtbl, 0x09edca37_cd64_47d6_b7e8_1cb11d4f7e05); windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory3, windows_core::IUnknown); impl IAppxEncryptionFactory3 { #[cfg(feature = "Win32_System_Com")] @@ -1468,7 +1468,7 @@ pub struct IAppxEncryptionFactory3_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateEncryptedBundleWriter: usize, } -windows_core::imp::com_interface!(IAppxEncryptionFactory4, IAppxEncryptionFactory4_Vtbl, 0xa879611f_12fd_41fe_85d5_06ae779bbaf5); +windows_core::imp::define_interface!(IAppxEncryptionFactory4, IAppxEncryptionFactory4_Vtbl, 0xa879611f_12fd_41fe_85d5_06ae779bbaf5); windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory4, windows_core::IUnknown); impl IAppxEncryptionFactory4 { #[cfg(feature = "Win32_System_Com")] @@ -1488,7 +1488,7 @@ pub struct IAppxEncryptionFactory4_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] EncryptPackage: usize, } -windows_core::imp::com_interface!(IAppxEncryptionFactory5, IAppxEncryptionFactory5_Vtbl, 0x68d6e77a_f446_480f_b0f0_d91a24c60746); +windows_core::imp::define_interface!(IAppxEncryptionFactory5, IAppxEncryptionFactory5_Vtbl, 0x68d6e77a_f446_480f_b0f0_d91a24c60746); windows_core::imp::interface_hierarchy!(IAppxEncryptionFactory5, windows_core::IUnknown); impl IAppxEncryptionFactory5 { #[cfg(feature = "Win32_System_Com")] @@ -1522,7 +1522,7 @@ pub struct IAppxEncryptionFactory5_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateEncryptedBundleReader2: usize, } -windows_core::imp::com_interface!(IAppxFactory, IAppxFactory_Vtbl, 0xbeb94909_e451_438b_b5a7_d79e767b75d8); +windows_core::imp::define_interface!(IAppxFactory, IAppxFactory_Vtbl, 0xbeb94909_e451_438b_b5a7_d79e767b75d8); windows_core::imp::interface_hierarchy!(IAppxFactory, windows_core::IUnknown); impl IAppxFactory { #[cfg(feature = "Win32_System_Com")] @@ -1591,7 +1591,7 @@ pub struct IAppxFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateValidatedBlockMapReader: usize, } -windows_core::imp::com_interface!(IAppxFactory2, IAppxFactory2_Vtbl, 0xf1346df2_c282_4e22_b918_743a929a8d55); +windows_core::imp::define_interface!(IAppxFactory2, IAppxFactory2_Vtbl, 0xf1346df2_c282_4e22_b918_743a929a8d55); windows_core::imp::interface_hierarchy!(IAppxFactory2, windows_core::IUnknown); impl IAppxFactory2 { #[cfg(feature = "Win32_System_Com")] @@ -1635,7 +1635,7 @@ pub struct IAppxFactory2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateContentGroupMapWriter: usize, } -windows_core::imp::com_interface!(IAppxFactory3, IAppxFactory3_Vtbl, 0x776b2c05_e21d_4e24_ba1a_cd529a8bfdbb); +windows_core::imp::define_interface!(IAppxFactory3, IAppxFactory3_Vtbl, 0x776b2c05_e21d_4e24_ba1a_cd529a8bfdbb); windows_core::imp::interface_hierarchy!(IAppxFactory3, windows_core::IUnknown); impl IAppxFactory3 { #[cfg(feature = "Win32_System_Com")] @@ -1682,7 +1682,7 @@ pub struct IAppxFactory3_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateAppInstallerReader: usize, } -windows_core::imp::com_interface!(IAppxFile, IAppxFile_Vtbl, 0x91df827b_94fd_468f_827b_57f41b2f6f2e); +windows_core::imp::define_interface!(IAppxFile, IAppxFile_Vtbl, 0x91df827b_94fd_468f_827b_57f41b2f6f2e); windows_core::imp::interface_hierarchy!(IAppxFile, windows_core::IUnknown); impl IAppxFile { pub unsafe fn GetCompressionOption(&self) -> windows_core::Result { @@ -1719,7 +1719,7 @@ pub struct IAppxFile_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetStream: usize, } -windows_core::imp::com_interface!(IAppxFilesEnumerator, IAppxFilesEnumerator_Vtbl, 0xf007eeaf_9831_411c_9847_917cdc62d1fe); +windows_core::imp::define_interface!(IAppxFilesEnumerator, IAppxFilesEnumerator_Vtbl, 0xf007eeaf_9831_411c_9847_917cdc62d1fe); windows_core::imp::interface_hierarchy!(IAppxFilesEnumerator, windows_core::IUnknown); impl IAppxFilesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -1742,7 +1742,7 @@ pub struct IAppxFilesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestApplication, IAppxManifestApplication_Vtbl, 0x5da89bf4_3773_46be_b650_7e744863b7e8); +windows_core::imp::define_interface!(IAppxManifestApplication, IAppxManifestApplication_Vtbl, 0x5da89bf4_3773_46be_b650_7e744863b7e8); windows_core::imp::interface_hierarchy!(IAppxManifestApplication, windows_core::IUnknown); impl IAppxManifestApplication { pub unsafe fn GetStringValue(&self, name: P0) -> windows_core::Result @@ -1763,7 +1763,7 @@ pub struct IAppxManifestApplication_Vtbl { pub GetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetAppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestApplicationsEnumerator, IAppxManifestApplicationsEnumerator_Vtbl, 0x9eb8a55a_f04b_4d0d_808d_686185d4847a); +windows_core::imp::define_interface!(IAppxManifestApplicationsEnumerator, IAppxManifestApplicationsEnumerator_Vtbl, 0x9eb8a55a_f04b_4d0d_808d_686185d4847a); windows_core::imp::interface_hierarchy!(IAppxManifestApplicationsEnumerator, windows_core::IUnknown); impl IAppxManifestApplicationsEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -1786,7 +1786,7 @@ pub struct IAppxManifestApplicationsEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestCapabilitiesEnumerator, IAppxManifestCapabilitiesEnumerator_Vtbl, 0x11d22258_f470_42c1_b291_8361c5437e41); +windows_core::imp::define_interface!(IAppxManifestCapabilitiesEnumerator, IAppxManifestCapabilitiesEnumerator_Vtbl, 0x11d22258_f470_42c1_b291_8361c5437e41); windows_core::imp::interface_hierarchy!(IAppxManifestCapabilitiesEnumerator, windows_core::IUnknown); impl IAppxManifestCapabilitiesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -1809,7 +1809,7 @@ pub struct IAppxManifestCapabilitiesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestDeviceCapabilitiesEnumerator, IAppxManifestDeviceCapabilitiesEnumerator_Vtbl, 0x30204541_427b_4a1c_bacf_655bf463a540); +windows_core::imp::define_interface!(IAppxManifestDeviceCapabilitiesEnumerator, IAppxManifestDeviceCapabilitiesEnumerator_Vtbl, 0x30204541_427b_4a1c_bacf_655bf463a540); windows_core::imp::interface_hierarchy!(IAppxManifestDeviceCapabilitiesEnumerator, windows_core::IUnknown); impl IAppxManifestDeviceCapabilitiesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -1832,7 +1832,7 @@ pub struct IAppxManifestDeviceCapabilitiesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestDriverConstraint, IAppxManifestDriverConstraint_Vtbl, 0xc031bee4_bbcc_48ea_a237_c34045c80a07); +windows_core::imp::define_interface!(IAppxManifestDriverConstraint, IAppxManifestDriverConstraint_Vtbl, 0xc031bee4_bbcc_48ea_a237_c34045c80a07); windows_core::imp::interface_hierarchy!(IAppxManifestDriverConstraint, windows_core::IUnknown); impl IAppxManifestDriverConstraint { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -1855,7 +1855,7 @@ pub struct IAppxManifestDriverConstraint_Vtbl { pub GetMinVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub GetMinDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestDriverConstraintsEnumerator, IAppxManifestDriverConstraintsEnumerator_Vtbl, 0xd402b2d1_f600_49e0_95e6_975d8da13d89); +windows_core::imp::define_interface!(IAppxManifestDriverConstraintsEnumerator, IAppxManifestDriverConstraintsEnumerator_Vtbl, 0xd402b2d1_f600_49e0_95e6_975d8da13d89); windows_core::imp::interface_hierarchy!(IAppxManifestDriverConstraintsEnumerator, windows_core::IUnknown); impl IAppxManifestDriverConstraintsEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -1878,7 +1878,7 @@ pub struct IAppxManifestDriverConstraintsEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestDriverDependenciesEnumerator, IAppxManifestDriverDependenciesEnumerator_Vtbl, 0xfe039db2_467f_4755_8404_8f5eb6865b33); +windows_core::imp::define_interface!(IAppxManifestDriverDependenciesEnumerator, IAppxManifestDriverDependenciesEnumerator_Vtbl, 0xfe039db2_467f_4755_8404_8f5eb6865b33); windows_core::imp::interface_hierarchy!(IAppxManifestDriverDependenciesEnumerator, windows_core::IUnknown); impl IAppxManifestDriverDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -1901,7 +1901,7 @@ pub struct IAppxManifestDriverDependenciesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestDriverDependency, IAppxManifestDriverDependency_Vtbl, 0x1210cb94_5a92_4602_be24_79f318af4af9); +windows_core::imp::define_interface!(IAppxManifestDriverDependency, IAppxManifestDriverDependency_Vtbl, 0x1210cb94_5a92_4602_be24_79f318af4af9); windows_core::imp::interface_hierarchy!(IAppxManifestDriverDependency, windows_core::IUnknown); impl IAppxManifestDriverDependency { pub unsafe fn GetDriverConstraints(&self) -> windows_core::Result { @@ -1914,7 +1914,7 @@ pub struct IAppxManifestDriverDependency_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDriverConstraints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestHostRuntimeDependenciesEnumerator, IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl, 0x6427a646_7f49_433e_b1a6_0da309f6885a); +windows_core::imp::define_interface!(IAppxManifestHostRuntimeDependenciesEnumerator, IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl, 0x6427a646_7f49_433e_b1a6_0da309f6885a); windows_core::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependenciesEnumerator, windows_core::IUnknown); impl IAppxManifestHostRuntimeDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -1937,7 +1937,7 @@ pub struct IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestHostRuntimeDependency, IAppxManifestHostRuntimeDependency_Vtbl, 0x3455d234_8414_410d_95c7_7b35255b8391); +windows_core::imp::define_interface!(IAppxManifestHostRuntimeDependency, IAppxManifestHostRuntimeDependency_Vtbl, 0x3455d234_8414_410d_95c7_7b35255b8391); windows_core::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependency, windows_core::IUnknown); impl IAppxManifestHostRuntimeDependency { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -1960,7 +1960,7 @@ pub struct IAppxManifestHostRuntimeDependency_Vtbl { pub GetPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetMinVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestHostRuntimeDependency2, IAppxManifestHostRuntimeDependency2_Vtbl, 0xc26f23a8_ee10_4ad6_b898_2b4d7aebfe6a); +windows_core::imp::define_interface!(IAppxManifestHostRuntimeDependency2, IAppxManifestHostRuntimeDependency2_Vtbl, 0xc26f23a8_ee10_4ad6_b898_2b4d7aebfe6a); windows_core::imp::interface_hierarchy!(IAppxManifestHostRuntimeDependency2, windows_core::IUnknown); impl IAppxManifestHostRuntimeDependency2 { pub unsafe fn GetPackageFamilyName(&self) -> windows_core::Result { @@ -1973,7 +1973,7 @@ pub struct IAppxManifestHostRuntimeDependency2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestMainPackageDependenciesEnumerator, IAppxManifestMainPackageDependenciesEnumerator_Vtbl, 0xa99c4f00_51d2_4f0f_ba46_7ed5255ebdff); +windows_core::imp::define_interface!(IAppxManifestMainPackageDependenciesEnumerator, IAppxManifestMainPackageDependenciesEnumerator_Vtbl, 0xa99c4f00_51d2_4f0f_ba46_7ed5255ebdff); windows_core::imp::interface_hierarchy!(IAppxManifestMainPackageDependenciesEnumerator, windows_core::IUnknown); impl IAppxManifestMainPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -1996,7 +1996,7 @@ pub struct IAppxManifestMainPackageDependenciesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestMainPackageDependency, IAppxManifestMainPackageDependency_Vtbl, 0x05d0611c_bc29_46d5_97e2_84b9c79bd8ae); +windows_core::imp::define_interface!(IAppxManifestMainPackageDependency, IAppxManifestMainPackageDependency_Vtbl, 0x05d0611c_bc29_46d5_97e2_84b9c79bd8ae); windows_core::imp::interface_hierarchy!(IAppxManifestMainPackageDependency, windows_core::IUnknown); impl IAppxManifestMainPackageDependency { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2019,7 +2019,7 @@ pub struct IAppxManifestMainPackageDependency_Vtbl { pub GetPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestOSPackageDependenciesEnumerator, IAppxManifestOSPackageDependenciesEnumerator_Vtbl, 0xb84e2fc3_f8ec_4bc1_8ae2_156346f5ffea); +windows_core::imp::define_interface!(IAppxManifestOSPackageDependenciesEnumerator, IAppxManifestOSPackageDependenciesEnumerator_Vtbl, 0xb84e2fc3_f8ec_4bc1_8ae2_156346f5ffea); windows_core::imp::interface_hierarchy!(IAppxManifestOSPackageDependenciesEnumerator, windows_core::IUnknown); impl IAppxManifestOSPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -2042,7 +2042,7 @@ pub struct IAppxManifestOSPackageDependenciesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestOSPackageDependency, IAppxManifestOSPackageDependency_Vtbl, 0x154995ee_54a6_4f14_ac97_d8cf0519644b); +windows_core::imp::define_interface!(IAppxManifestOSPackageDependency, IAppxManifestOSPackageDependency_Vtbl, 0x154995ee_54a6_4f14_ac97_d8cf0519644b); windows_core::imp::interface_hierarchy!(IAppxManifestOSPackageDependency, windows_core::IUnknown); impl IAppxManifestOSPackageDependency { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2060,7 +2060,7 @@ pub struct IAppxManifestOSPackageDependency_Vtbl { pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestOptionalPackageInfo, IAppxManifestOptionalPackageInfo_Vtbl, 0x2634847d_5b5d_4fe5_a243_002ff95edc7e); +windows_core::imp::define_interface!(IAppxManifestOptionalPackageInfo, IAppxManifestOptionalPackageInfo_Vtbl, 0x2634847d_5b5d_4fe5_a243_002ff95edc7e); windows_core::imp::interface_hierarchy!(IAppxManifestOptionalPackageInfo, windows_core::IUnknown); impl IAppxManifestOptionalPackageInfo { pub unsafe fn GetIsOptionalPackage(&self) -> windows_core::Result { @@ -2078,7 +2078,7 @@ pub struct IAppxManifestOptionalPackageInfo_Vtbl { pub GetIsOptionalPackage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetMainPackageName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestPackageDependenciesEnumerator, IAppxManifestPackageDependenciesEnumerator_Vtbl, 0xb43bbcf9_65a6_42dd_bac0_8c6741e7f5a4); +windows_core::imp::define_interface!(IAppxManifestPackageDependenciesEnumerator, IAppxManifestPackageDependenciesEnumerator_Vtbl, 0xb43bbcf9_65a6_42dd_bac0_8c6741e7f5a4); windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependenciesEnumerator, windows_core::IUnknown); impl IAppxManifestPackageDependenciesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -2101,7 +2101,7 @@ pub struct IAppxManifestPackageDependenciesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestPackageDependency, IAppxManifestPackageDependency_Vtbl, 0xe4946b59_733e_43f0_a724_3bde4c1285a0); +windows_core::imp::define_interface!(IAppxManifestPackageDependency, IAppxManifestPackageDependency_Vtbl, 0xe4946b59_733e_43f0_a724_3bde4c1285a0); windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependency, windows_core::IUnknown); impl IAppxManifestPackageDependency { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2124,7 +2124,7 @@ pub struct IAppxManifestPackageDependency_Vtbl { pub GetPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetMinVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestPackageDependency2, IAppxManifestPackageDependency2_Vtbl, 0xdda0b713_f3ff_49d3_898a_2786780c5d98); +windows_core::imp::define_interface!(IAppxManifestPackageDependency2, IAppxManifestPackageDependency2_Vtbl, 0xdda0b713_f3ff_49d3_898a_2786780c5d98); windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependency2, windows_core::IUnknown, IAppxManifestPackageDependency); impl IAppxManifestPackageDependency2 { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2149,7 +2149,7 @@ pub struct IAppxManifestPackageDependency2_Vtbl { pub base__: IAppxManifestPackageDependency_Vtbl, pub GetMaxMajorVersionTested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestPackageDependency3, IAppxManifestPackageDependency3_Vtbl, 0x1ac56374_6198_4d6b_92e4_749d5ab8a895); +windows_core::imp::define_interface!(IAppxManifestPackageDependency3, IAppxManifestPackageDependency3_Vtbl, 0x1ac56374_6198_4d6b_92e4_749d5ab8a895); windows_core::imp::interface_hierarchy!(IAppxManifestPackageDependency3, windows_core::IUnknown); impl IAppxManifestPackageDependency3 { pub unsafe fn GetIsOptional(&self) -> windows_core::Result { @@ -2162,7 +2162,7 @@ pub struct IAppxManifestPackageDependency3_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetIsOptional: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestPackageId, IAppxManifestPackageId_Vtbl, 0x283ce2d7_7153_4a91_9649_7a0f7240945f); +windows_core::imp::define_interface!(IAppxManifestPackageId, IAppxManifestPackageId_Vtbl, 0x283ce2d7_7153_4a91_9649_7a0f7240945f); windows_core::imp::interface_hierarchy!(IAppxManifestPackageId, windows_core::IUnknown); impl IAppxManifestPackageId { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2213,7 +2213,7 @@ pub struct IAppxManifestPackageId_Vtbl { pub GetPackageFullName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetPackageFamilyName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestPackageId2, IAppxManifestPackageId2_Vtbl, 0x2256999d_d617_42f1_880e_0ba4542319d5); +windows_core::imp::define_interface!(IAppxManifestPackageId2, IAppxManifestPackageId2_Vtbl, 0x2256999d_d617_42f1_880e_0ba4542319d5); windows_core::imp::interface_hierarchy!(IAppxManifestPackageId2, windows_core::IUnknown, IAppxManifestPackageId); impl IAppxManifestPackageId2 { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2261,7 +2261,7 @@ pub struct IAppxManifestPackageId2_Vtbl { pub base__: IAppxManifestPackageId_Vtbl, pub GetArchitecture2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut APPX_PACKAGE_ARCHITECTURE2) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestProperties, IAppxManifestProperties_Vtbl, 0x03faf64d_f26f_4b2c_aaf7_8fe7789b8bca); +windows_core::imp::define_interface!(IAppxManifestProperties, IAppxManifestProperties_Vtbl, 0x03faf64d_f26f_4b2c_aaf7_8fe7789b8bca); windows_core::imp::interface_hierarchy!(IAppxManifestProperties, windows_core::IUnknown); impl IAppxManifestProperties { pub unsafe fn GetBoolValue(&self, name: P0) -> windows_core::Result @@ -2285,7 +2285,7 @@ pub struct IAppxManifestProperties_Vtbl { pub GetBoolValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetStringValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestQualifiedResource, IAppxManifestQualifiedResource_Vtbl, 0x3b53a497_3c5c_48d1_9ea3_bb7eac8cd7d4); +windows_core::imp::define_interface!(IAppxManifestQualifiedResource, IAppxManifestQualifiedResource_Vtbl, 0x3b53a497_3c5c_48d1_9ea3_bb7eac8cd7d4); windows_core::imp::interface_hierarchy!(IAppxManifestQualifiedResource, windows_core::IUnknown); impl IAppxManifestQualifiedResource { pub unsafe fn GetLanguage(&self) -> windows_core::Result { @@ -2308,7 +2308,7 @@ pub struct IAppxManifestQualifiedResource_Vtbl { pub GetScale: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetDXFeatureLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DX_FEATURE_LEVEL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestQualifiedResourcesEnumerator, IAppxManifestQualifiedResourcesEnumerator_Vtbl, 0x8ef6adfe_3762_4a8f_9373_2fc5d444c8d2); +windows_core::imp::define_interface!(IAppxManifestQualifiedResourcesEnumerator, IAppxManifestQualifiedResourcesEnumerator_Vtbl, 0x8ef6adfe_3762_4a8f_9373_2fc5d444c8d2); windows_core::imp::interface_hierarchy!(IAppxManifestQualifiedResourcesEnumerator, windows_core::IUnknown); impl IAppxManifestQualifiedResourcesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -2331,7 +2331,7 @@ pub struct IAppxManifestQualifiedResourcesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestReader, IAppxManifestReader_Vtbl, 0x4e1bd148_55a0_4480_a3d1_15544710637c); +windows_core::imp::define_interface!(IAppxManifestReader, IAppxManifestReader_Vtbl, 0x4e1bd148_55a0_4480_a3d1_15544710637c); windows_core::imp::interface_hierarchy!(IAppxManifestReader, windows_core::IUnknown); impl IAppxManifestReader { pub unsafe fn GetPackageId(&self) -> windows_core::Result { @@ -2391,7 +2391,7 @@ pub struct IAppxManifestReader_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetStream: usize, } -windows_core::imp::com_interface!(IAppxManifestReader2, IAppxManifestReader2_Vtbl, 0xd06f67bc_b31d_4eba_a8af_638e73e77b4d); +windows_core::imp::define_interface!(IAppxManifestReader2, IAppxManifestReader2_Vtbl, 0xd06f67bc_b31d_4eba_a8af_638e73e77b4d); windows_core::imp::interface_hierarchy!(IAppxManifestReader2, windows_core::IUnknown, IAppxManifestReader); impl IAppxManifestReader2 { pub unsafe fn GetPackageId(&self) -> windows_core::Result { @@ -2444,7 +2444,7 @@ pub struct IAppxManifestReader2_Vtbl { pub base__: IAppxManifestReader_Vtbl, pub GetQualifiedResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestReader3, IAppxManifestReader3_Vtbl, 0xc43825ab_69b7_400a_9709_cc37f5a72d24); +windows_core::imp::define_interface!(IAppxManifestReader3, IAppxManifestReader3_Vtbl, 0xc43825ab_69b7_400a_9709_cc37f5a72d24); windows_core::imp::interface_hierarchy!(IAppxManifestReader3, windows_core::IUnknown, IAppxManifestReader, IAppxManifestReader2); impl IAppxManifestReader3 { pub unsafe fn GetPackageId(&self) -> windows_core::Result { @@ -2506,7 +2506,7 @@ pub struct IAppxManifestReader3_Vtbl { pub GetCapabilitiesByCapabilityClass: unsafe extern "system" fn(*mut core::ffi::c_void, APPX_CAPABILITY_CLASS_TYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTargetDeviceFamilies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestReader4, IAppxManifestReader4_Vtbl, 0x4579bb7c_741d_4161_b5a1_47bd3b78ad9b); +windows_core::imp::define_interface!(IAppxManifestReader4, IAppxManifestReader4_Vtbl, 0x4579bb7c_741d_4161_b5a1_47bd3b78ad9b); windows_core::imp::interface_hierarchy!(IAppxManifestReader4, windows_core::IUnknown, IAppxManifestReader, IAppxManifestReader2, IAppxManifestReader3); impl IAppxManifestReader4 { pub unsafe fn GetPackageId(&self) -> windows_core::Result { @@ -2571,7 +2571,7 @@ pub struct IAppxManifestReader4_Vtbl { pub base__: IAppxManifestReader3_Vtbl, pub GetOptionalPackageInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestReader5, IAppxManifestReader5_Vtbl, 0x8d7ae132_a690_4c00_b75a_6aae1feaac80); +windows_core::imp::define_interface!(IAppxManifestReader5, IAppxManifestReader5_Vtbl, 0x8d7ae132_a690_4c00_b75a_6aae1feaac80); windows_core::imp::interface_hierarchy!(IAppxManifestReader5, windows_core::IUnknown); impl IAppxManifestReader5 { pub unsafe fn GetMainPackageDependencies(&self) -> windows_core::Result { @@ -2584,7 +2584,7 @@ pub struct IAppxManifestReader5_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetMainPackageDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestReader6, IAppxManifestReader6_Vtbl, 0x34deaca4_d3c0_4e3e_b312_e42625e3807e); +windows_core::imp::define_interface!(IAppxManifestReader6, IAppxManifestReader6_Vtbl, 0x34deaca4_d3c0_4e3e_b312_e42625e3807e); windows_core::imp::interface_hierarchy!(IAppxManifestReader6, windows_core::IUnknown); impl IAppxManifestReader6 { pub unsafe fn GetIsNonQualifiedResourcePackage(&self) -> windows_core::Result { @@ -2597,7 +2597,7 @@ pub struct IAppxManifestReader6_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetIsNonQualifiedResourcePackage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestReader7, IAppxManifestReader7_Vtbl, 0x8efe6f27_0ce0_4988_b32d_738eb63db3b7); +windows_core::imp::define_interface!(IAppxManifestReader7, IAppxManifestReader7_Vtbl, 0x8efe6f27_0ce0_4988_b32d_738eb63db3b7); windows_core::imp::interface_hierarchy!(IAppxManifestReader7, windows_core::IUnknown); impl IAppxManifestReader7 { pub unsafe fn GetDriverDependencies(&self) -> windows_core::Result { @@ -2620,7 +2620,7 @@ pub struct IAppxManifestReader7_Vtbl { pub GetOSPackageDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetHostRuntimeDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestResourcesEnumerator, IAppxManifestResourcesEnumerator_Vtbl, 0xde4dfbbd_881a_48bb_858c_d6f2baeae6ed); +windows_core::imp::define_interface!(IAppxManifestResourcesEnumerator, IAppxManifestResourcesEnumerator_Vtbl, 0xde4dfbbd_881a_48bb_858c_d6f2baeae6ed); windows_core::imp::interface_hierarchy!(IAppxManifestResourcesEnumerator, windows_core::IUnknown); impl IAppxManifestResourcesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -2643,7 +2643,7 @@ pub struct IAppxManifestResourcesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestTargetDeviceFamiliesEnumerator, IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl, 0x36537f36_27a4_4788_88c0_733819575017); +windows_core::imp::define_interface!(IAppxManifestTargetDeviceFamiliesEnumerator, IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl, 0x36537f36_27a4_4788_88c0_733819575017); windows_core::imp::interface_hierarchy!(IAppxManifestTargetDeviceFamiliesEnumerator, windows_core::IUnknown); impl IAppxManifestTargetDeviceFamiliesEnumerator { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -2666,7 +2666,7 @@ pub struct IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl { pub GetHasCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub MoveNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxManifestTargetDeviceFamily, IAppxManifestTargetDeviceFamily_Vtbl, 0x9091b09b_c8d5_4f31_8687_a338259faefb); +windows_core::imp::define_interface!(IAppxManifestTargetDeviceFamily, IAppxManifestTargetDeviceFamily_Vtbl, 0x9091b09b_c8d5_4f31_8687_a338259faefb); windows_core::imp::interface_hierarchy!(IAppxManifestTargetDeviceFamily, windows_core::IUnknown); impl IAppxManifestTargetDeviceFamily { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2689,7 +2689,7 @@ pub struct IAppxManifestTargetDeviceFamily_Vtbl { pub GetMinVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub GetMaxVersionTested: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxPackageEditor, IAppxPackageEditor_Vtbl, 0xe2adb6dc_5e71_4416_86b6_86e5f5291a6b); +windows_core::imp::define_interface!(IAppxPackageEditor, IAppxPackageEditor_Vtbl, 0xe2adb6dc_5e71_4416_86b6_86e5f5291a6b); windows_core::imp::interface_hierarchy!(IAppxPackageEditor, windows_core::IUnknown); impl IAppxPackageEditor { pub unsafe fn SetWorkingDirectory(&self, workingdirectory: P0) -> windows_core::Result<()> @@ -2768,7 +2768,7 @@ pub struct IAppxPackageEditor_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] UpdatePackageManifest: usize, } -windows_core::imp::com_interface!(IAppxPackageReader, IAppxPackageReader_Vtbl, 0xb5c49650_99bc_481c_9a34_3d53a4106708); +windows_core::imp::define_interface!(IAppxPackageReader, IAppxPackageReader_Vtbl, 0xb5c49650_99bc_481c_9a34_3d53a4106708); windows_core::imp::interface_hierarchy!(IAppxPackageReader, windows_core::IUnknown); impl IAppxPackageReader { pub unsafe fn GetBlockMap(&self) -> windows_core::Result { @@ -2804,7 +2804,7 @@ pub struct IAppxPackageReader_Vtbl { pub GetPayloadFiles: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetManifest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxPackageWriter, IAppxPackageWriter_Vtbl, 0x9099e33b_246f_41e4_881a_008eb613f858); +windows_core::imp::define_interface!(IAppxPackageWriter, IAppxPackageWriter_Vtbl, 0x9099e33b_246f_41e4_881a_008eb613f858); windows_core::imp::interface_hierarchy!(IAppxPackageWriter, windows_core::IUnknown); impl IAppxPackageWriter { #[cfg(feature = "Win32_System_Com")] @@ -2836,7 +2836,7 @@ pub struct IAppxPackageWriter_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Close: usize, } -windows_core::imp::com_interface!(IAppxPackageWriter2, IAppxPackageWriter2_Vtbl, 0x2cf5c4fd_e54c_4ea5_ba4e_f8c4b105a8c8); +windows_core::imp::define_interface!(IAppxPackageWriter2, IAppxPackageWriter2_Vtbl, 0x2cf5c4fd_e54c_4ea5_ba4e_f8c4b105a8c8); windows_core::imp::interface_hierarchy!(IAppxPackageWriter2, windows_core::IUnknown); impl IAppxPackageWriter2 { #[cfg(feature = "Win32_System_Com")] @@ -2856,7 +2856,7 @@ pub struct IAppxPackageWriter2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Close: usize, } -windows_core::imp::com_interface!(IAppxPackageWriter3, IAppxPackageWriter3_Vtbl, 0xa83aacd3_41c0_4501_b8a3_74164f50b2fd); +windows_core::imp::define_interface!(IAppxPackageWriter3, IAppxPackageWriter3_Vtbl, 0xa83aacd3_41c0_4501_b8a3_74164f50b2fd); windows_core::imp::interface_hierarchy!(IAppxPackageWriter3, windows_core::IUnknown); impl IAppxPackageWriter3 { #[cfg(feature = "Win32_System_Com")] @@ -2872,7 +2872,7 @@ pub struct IAppxPackageWriter3_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AddPayloadFiles: usize, } -windows_core::imp::com_interface!(IAppxPackagingDiagnosticEventSink, IAppxPackagingDiagnosticEventSink_Vtbl, 0x17239d47_6adb_45d2_80f6_f9cbc3bf059d); +windows_core::imp::define_interface!(IAppxPackagingDiagnosticEventSink, IAppxPackagingDiagnosticEventSink_Vtbl, 0x17239d47_6adb_45d2_80f6_f9cbc3bf059d); windows_core::imp::interface_hierarchy!(IAppxPackagingDiagnosticEventSink, windows_core::IUnknown); impl IAppxPackagingDiagnosticEventSink { pub unsafe fn ReportContextChange(&self, changetype: APPX_PACKAGING_CONTEXT_CHANGE_TYPE, contextid: i32, contextname: P0, contextmessage: P1, detailsmessage: P2) -> windows_core::Result<()> @@ -2896,7 +2896,7 @@ pub struct IAppxPackagingDiagnosticEventSink_Vtbl { pub ReportContextChange: unsafe extern "system" fn(*mut core::ffi::c_void, APPX_PACKAGING_CONTEXT_CHANGE_TYPE, i32, windows_core::PCSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxPackagingDiagnosticEventSinkManager, IAppxPackagingDiagnosticEventSinkManager_Vtbl, 0x369648fa_a7eb_4909_a15d_6954a078f18a); +windows_core::imp::define_interface!(IAppxPackagingDiagnosticEventSinkManager, IAppxPackagingDiagnosticEventSinkManager_Vtbl, 0x369648fa_a7eb_4909_a15d_6954a078f18a); windows_core::imp::interface_hierarchy!(IAppxPackagingDiagnosticEventSinkManager, windows_core::IUnknown); impl IAppxPackagingDiagnosticEventSinkManager { pub unsafe fn SetSinkForProcess(&self, sink: P0) -> windows_core::Result<()> @@ -2911,7 +2911,7 @@ pub struct IAppxPackagingDiagnosticEventSinkManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetSinkForProcess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppxSourceContentGroupMapReader, IAppxSourceContentGroupMapReader_Vtbl, 0xf329791d_540b_4a9f_bc75_3282b7d73193); +windows_core::imp::define_interface!(IAppxSourceContentGroupMapReader, IAppxSourceContentGroupMapReader_Vtbl, 0xf329791d_540b_4a9f_bc75_3282b7d73193); windows_core::imp::interface_hierarchy!(IAppxSourceContentGroupMapReader, windows_core::IUnknown); impl IAppxSourceContentGroupMapReader { pub unsafe fn GetRequiredGroup(&self) -> windows_core::Result { 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 49d4b9031f..3d73c95fb7 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IOpcCertificateEnumerator, IOpcCertificateEnumerator_Vtbl, 0x85131937_8f24_421f_b439_59ab24d140b8); +windows_core::imp::define_interface!(IOpcCertificateEnumerator, IOpcCertificateEnumerator_Vtbl, 0x85131937_8f24_421f_b439_59ab24d140b8); windows_core::imp::interface_hierarchy!(IOpcCertificateEnumerator, windows_core::IUnknown); impl IOpcCertificateEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -30,7 +30,7 @@ pub struct IOpcCertificateEnumerator_Vtbl { GetCurrent: usize, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcCertificateSet, IOpcCertificateSet_Vtbl, 0x56ea4325_8e2d_4167_b1a4_e486d24c8fa7); +windows_core::imp::define_interface!(IOpcCertificateSet, IOpcCertificateSet_Vtbl, 0x56ea4325_8e2d_4167_b1a4_e486d24c8fa7); windows_core::imp::interface_hierarchy!(IOpcCertificateSet, windows_core::IUnknown); impl IOpcCertificateSet { #[cfg(feature = "Win32_Security_Cryptography")] @@ -59,7 +59,7 @@ pub struct IOpcCertificateSet_Vtbl { Remove: usize, pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcDigitalSignature, IOpcDigitalSignature_Vtbl, 0x52ab21dd_1cd0_4949_bc80_0c1232d00cb4); +windows_core::imp::define_interface!(IOpcDigitalSignature, IOpcDigitalSignature_Vtbl, 0x52ab21dd_1cd0_4949_bc80_0c1232d00cb4); windows_core::imp::interface_hierarchy!(IOpcDigitalSignature, windows_core::IUnknown); impl IOpcDigitalSignature { pub unsafe fn GetNamespaces(&self, prefixes: *mut *mut windows_core::PWSTR, namespaces: *mut *mut windows_core::PWSTR, count: *mut u32) -> windows_core::Result<()> { @@ -143,7 +143,7 @@ pub struct IOpcDigitalSignature_Vtbl { pub GetCustomObjectEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSignatureXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcDigitalSignatureEnumerator, IOpcDigitalSignatureEnumerator_Vtbl, 0x967b6882_0ba3_4358_b9e7_b64c75063c5e); +windows_core::imp::define_interface!(IOpcDigitalSignatureEnumerator, IOpcDigitalSignatureEnumerator_Vtbl, 0x967b6882_0ba3_4358_b9e7_b64c75063c5e); windows_core::imp::interface_hierarchy!(IOpcDigitalSignatureEnumerator, windows_core::IUnknown); impl IOpcDigitalSignatureEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -171,7 +171,7 @@ pub struct IOpcDigitalSignatureEnumerator_Vtbl { pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IOpcDigitalSignatureManager, IOpcDigitalSignatureManager_Vtbl, 0xd5e62a0b_696d_462f_94df_72e33cef2659); +windows_core::imp::define_interface!(IOpcDigitalSignatureManager, IOpcDigitalSignatureManager_Vtbl, 0xd5e62a0b_696d_462f_94df_72e33cef2659); windows_core::imp::interface_hierarchy!(IOpcDigitalSignatureManager, windows_core::IUnknown); impl IOpcDigitalSignatureManager { #[cfg(feature = "Win32_System_Com")] @@ -256,7 +256,7 @@ pub struct IOpcDigitalSignatureManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ReplaceSignatureXml: usize, } -windows_core::imp::com_interface!(IOpcFactory, IOpcFactory_Vtbl, 0x6d0b4446_cd73_4ab3_94f4_8ccdf6116154); +windows_core::imp::define_interface!(IOpcFactory, IOpcFactory_Vtbl, 0x6d0b4446_cd73_4ab3_94f4_8ccdf6116154); windows_core::imp::interface_hierarchy!(IOpcFactory, windows_core::IUnknown); impl IOpcFactory { #[cfg(feature = "Win32_System_Com")] @@ -334,7 +334,7 @@ pub struct IOpcFactory_Vtbl { WritePackageToStream: usize, pub CreateDigitalSignatureManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcPackage, IOpcPackage_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee70); +windows_core::imp::define_interface!(IOpcPackage, IOpcPackage_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee70); windows_core::imp::interface_hierarchy!(IOpcPackage, windows_core::IUnknown); impl IOpcPackage { pub unsafe fn GetPartSet(&self) -> windows_core::Result { @@ -352,7 +352,7 @@ pub struct IOpcPackage_Vtbl { pub GetPartSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRelationshipSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcPart, IOpcPart_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee71); +windows_core::imp::define_interface!(IOpcPart, IOpcPart_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee71); windows_core::imp::interface_hierarchy!(IOpcPart, windows_core::IUnknown); impl IOpcPart { pub unsafe fn GetRelationshipSet(&self) -> windows_core::Result { @@ -393,7 +393,7 @@ pub struct IOpcPart_Vtbl { pub GetContentType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetCompressionOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPC_COMPRESSION_OPTIONS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcPartEnumerator, IOpcPartEnumerator_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee75); +windows_core::imp::define_interface!(IOpcPartEnumerator, IOpcPartEnumerator_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee75); windows_core::imp::interface_hierarchy!(IOpcPartEnumerator, windows_core::IUnknown); impl IOpcPartEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -421,7 +421,7 @@ pub struct IOpcPartEnumerator_Vtbl { pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IOpcPartSet, IOpcPartSet_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee73); +windows_core::imp::define_interface!(IOpcPartSet, IOpcPartSet_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee73); windows_core::imp::interface_hierarchy!(IOpcPartSet, windows_core::IUnknown); impl IOpcPartSet { #[cfg(feature = "Win32_System_Com")] @@ -483,7 +483,7 @@ pub struct IOpcPartSet_Vtbl { pub GetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IOpcPartUri, IOpcPartUri_Vtbl, 0x7d3babe7_88b2_46ba_85cb_4203cb016c87); +windows_core::imp::define_interface!(IOpcPartUri, IOpcPartUri_Vtbl, 0x7d3babe7_88b2_46ba_85cb_4203cb016c87); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IOpcPartUri, windows_core::IUnknown, super::super::super::System::Com::IUri, IOpcUri); #[cfg(feature = "Win32_System_Com")] @@ -666,7 +666,7 @@ pub struct IOpcPartUri_Vtbl { GetSourceUri: usize, pub IsRelationshipsPartUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcRelationship, IOpcRelationship_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee72); +windows_core::imp::define_interface!(IOpcRelationship, IOpcRelationship_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee72); windows_core::imp::interface_hierarchy!(IOpcRelationship, windows_core::IUnknown); impl IOpcRelationship { pub unsafe fn GetId(&self) -> windows_core::Result { @@ -707,7 +707,7 @@ pub struct IOpcRelationship_Vtbl { GetTargetUri: usize, pub GetTargetMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPC_URI_TARGET_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcRelationshipEnumerator, IOpcRelationshipEnumerator_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee76); +windows_core::imp::define_interface!(IOpcRelationshipEnumerator, IOpcRelationshipEnumerator_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee76); windows_core::imp::interface_hierarchy!(IOpcRelationshipEnumerator, windows_core::IUnknown); impl IOpcRelationshipEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -735,7 +735,7 @@ pub struct IOpcRelationshipEnumerator_Vtbl { pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IOpcRelationshipSelector, IOpcRelationshipSelector_Vtbl, 0xf8f26c7f_b28f_4899_84c8_5d5639ede75f); +windows_core::imp::define_interface!(IOpcRelationshipSelector, IOpcRelationshipSelector_Vtbl, 0xf8f26c7f_b28f_4899_84c8_5d5639ede75f); windows_core::imp::interface_hierarchy!(IOpcRelationshipSelector, windows_core::IUnknown); impl IOpcRelationshipSelector { pub unsafe fn GetSelectorType(&self) -> windows_core::Result { @@ -753,7 +753,7 @@ pub struct IOpcRelationshipSelector_Vtbl { pub GetSelectorType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPC_RELATIONSHIP_SELECTOR) -> windows_core::HRESULT, pub GetSelectionCriterion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcRelationshipSelectorEnumerator, IOpcRelationshipSelectorEnumerator_Vtbl, 0x5e50a181_a91b_48ac_88d2_bca3d8f8c0b1); +windows_core::imp::define_interface!(IOpcRelationshipSelectorEnumerator, IOpcRelationshipSelectorEnumerator_Vtbl, 0x5e50a181_a91b_48ac_88d2_bca3d8f8c0b1); windows_core::imp::interface_hierarchy!(IOpcRelationshipSelectorEnumerator, windows_core::IUnknown); impl IOpcRelationshipSelectorEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -781,7 +781,7 @@ pub struct IOpcRelationshipSelectorEnumerator_Vtbl { pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IOpcRelationshipSelectorSet, IOpcRelationshipSelectorSet_Vtbl, 0x6e34c269_a4d3_47c0_b5c4_87ff2b3b6136); +windows_core::imp::define_interface!(IOpcRelationshipSelectorSet, IOpcRelationshipSelectorSet_Vtbl, 0x6e34c269_a4d3_47c0_b5c4_87ff2b3b6136); windows_core::imp::interface_hierarchy!(IOpcRelationshipSelectorSet, windows_core::IUnknown); impl IOpcRelationshipSelectorSet { pub unsafe fn Create(&self, selector: OPC_RELATIONSHIP_SELECTOR, selectioncriterion: P0) -> windows_core::Result @@ -809,7 +809,7 @@ pub struct IOpcRelationshipSelectorSet_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> 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::com_interface!(IOpcRelationshipSet, IOpcRelationshipSet_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee74); +windows_core::imp::define_interface!(IOpcRelationshipSet, IOpcRelationshipSet_Vtbl, 0x42195949_3b79_4fc8_89c6_fc7fb979ee74); windows_core::imp::interface_hierarchy!(IOpcRelationshipSet, windows_core::IUnknown); impl IOpcRelationshipSet { pub unsafe fn GetRelationship(&self, relationshipidentifier: P0) -> windows_core::Result @@ -876,7 +876,7 @@ pub struct IOpcRelationshipSet_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetRelationshipsContentStream: usize, } -windows_core::imp::com_interface!(IOpcSignatureCustomObject, IOpcSignatureCustomObject_Vtbl, 0x5d77a19e_62c1_44e7_becd_45da5ae51a56); +windows_core::imp::define_interface!(IOpcSignatureCustomObject, IOpcSignatureCustomObject_Vtbl, 0x5d77a19e_62c1_44e7_becd_45da5ae51a56); windows_core::imp::interface_hierarchy!(IOpcSignatureCustomObject, windows_core::IUnknown); impl IOpcSignatureCustomObject { pub unsafe fn GetXml(&self, xmlmarkup: *mut *mut u8, count: *mut u32) -> windows_core::Result<()> { @@ -888,7 +888,7 @@ pub struct IOpcSignatureCustomObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcSignatureCustomObjectEnumerator, IOpcSignatureCustomObjectEnumerator_Vtbl, 0x5ee4fe1d_e1b0_4683_8079_7ea0fcf80b4c); +windows_core::imp::define_interface!(IOpcSignatureCustomObjectEnumerator, IOpcSignatureCustomObjectEnumerator_Vtbl, 0x5ee4fe1d_e1b0_4683_8079_7ea0fcf80b4c); windows_core::imp::interface_hierarchy!(IOpcSignatureCustomObjectEnumerator, windows_core::IUnknown); impl IOpcSignatureCustomObjectEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -916,7 +916,7 @@ pub struct IOpcSignatureCustomObjectEnumerator_Vtbl { pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IOpcSignatureCustomObjectSet, IOpcSignatureCustomObjectSet_Vtbl, 0x8f792ac5_7947_4e11_bc3d_2659ff046ae1); +windows_core::imp::define_interface!(IOpcSignatureCustomObjectSet, IOpcSignatureCustomObjectSet_Vtbl, 0x8f792ac5_7947_4e11_bc3d_2659ff046ae1); windows_core::imp::interface_hierarchy!(IOpcSignatureCustomObjectSet, windows_core::IUnknown); impl IOpcSignatureCustomObjectSet { pub unsafe fn Create(&self, xmlmarkup: &[u8]) -> windows_core::Result { @@ -941,7 +941,7 @@ pub struct IOpcSignatureCustomObjectSet_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> 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::com_interface!(IOpcSignaturePartReference, IOpcSignaturePartReference_Vtbl, 0xe24231ca_59f4_484e_b64b_36eeda36072c); +windows_core::imp::define_interface!(IOpcSignaturePartReference, IOpcSignaturePartReference_Vtbl, 0xe24231ca_59f4_484e_b64b_36eeda36072c); windows_core::imp::interface_hierarchy!(IOpcSignaturePartReference, windows_core::IUnknown); impl IOpcSignaturePartReference { #[cfg(feature = "Win32_System_Com")] @@ -977,7 +977,7 @@ pub struct IOpcSignaturePartReference_Vtbl { pub GetDigestValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub GetTransformMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPC_CANONICALIZATION_METHOD) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcSignaturePartReferenceEnumerator, IOpcSignaturePartReferenceEnumerator_Vtbl, 0x80eb1561_8c77_49cf_8266_459b356ee99a); +windows_core::imp::define_interface!(IOpcSignaturePartReferenceEnumerator, IOpcSignaturePartReferenceEnumerator_Vtbl, 0x80eb1561_8c77_49cf_8266_459b356ee99a); windows_core::imp::interface_hierarchy!(IOpcSignaturePartReferenceEnumerator, windows_core::IUnknown); impl IOpcSignaturePartReferenceEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -1005,7 +1005,7 @@ pub struct IOpcSignaturePartReferenceEnumerator_Vtbl { pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IOpcSignaturePartReferenceSet, IOpcSignaturePartReferenceSet_Vtbl, 0x6c9fe28c_ecd9_4b22_9d36_7fdde670fec0); +windows_core::imp::define_interface!(IOpcSignaturePartReferenceSet, IOpcSignaturePartReferenceSet_Vtbl, 0x6c9fe28c_ecd9_4b22_9d36_7fdde670fec0); windows_core::imp::interface_hierarchy!(IOpcSignaturePartReferenceSet, windows_core::IUnknown); impl IOpcSignaturePartReferenceSet { #[cfg(feature = "Win32_System_Com")] @@ -1038,7 +1038,7 @@ pub struct IOpcSignaturePartReferenceSet_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> 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::com_interface!(IOpcSignatureReference, IOpcSignatureReference_Vtbl, 0x1b47005e_3011_4edc_be6f_0f65e5ab0342); +windows_core::imp::define_interface!(IOpcSignatureReference, IOpcSignatureReference_Vtbl, 0x1b47005e_3011_4edc_be6f_0f65e5ab0342); windows_core::imp::interface_hierarchy!(IOpcSignatureReference, windows_core::IUnknown); impl IOpcSignatureReference { pub unsafe fn GetId(&self) -> windows_core::Result { @@ -1079,7 +1079,7 @@ pub struct IOpcSignatureReference_Vtbl { pub GetDigestMethod: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetDigestValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcSignatureReferenceEnumerator, IOpcSignatureReferenceEnumerator_Vtbl, 0xcfa59a45_28b1_4868_969e_fa8097fdc12a); +windows_core::imp::define_interface!(IOpcSignatureReferenceEnumerator, IOpcSignatureReferenceEnumerator_Vtbl, 0xcfa59a45_28b1_4868_969e_fa8097fdc12a); windows_core::imp::interface_hierarchy!(IOpcSignatureReferenceEnumerator, windows_core::IUnknown); impl IOpcSignatureReferenceEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -1107,7 +1107,7 @@ pub struct IOpcSignatureReferenceEnumerator_Vtbl { pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IOpcSignatureReferenceSet, IOpcSignatureReferenceSet_Vtbl, 0xf3b02d31_ab12_42dd_9e2f_2b16761c3c1e); +windows_core::imp::define_interface!(IOpcSignatureReferenceSet, IOpcSignatureReferenceSet_Vtbl, 0xf3b02d31_ab12_42dd_9e2f_2b16761c3c1e); windows_core::imp::interface_hierarchy!(IOpcSignatureReferenceSet, windows_core::IUnknown); impl IOpcSignatureReferenceSet { #[cfg(feature = "Win32_System_Com")] @@ -1142,7 +1142,7 @@ pub struct IOpcSignatureReferenceSet_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> 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::com_interface!(IOpcSignatureRelationshipReference, IOpcSignatureRelationshipReference_Vtbl, 0x57babac6_9d4a_4e50_8b86_e5d4051eae7c); +windows_core::imp::define_interface!(IOpcSignatureRelationshipReference, IOpcSignatureRelationshipReference_Vtbl, 0x57babac6_9d4a_4e50_8b86_e5d4051eae7c); windows_core::imp::interface_hierarchy!(IOpcSignatureRelationshipReference, windows_core::IUnknown); impl IOpcSignatureRelationshipReference { #[cfg(feature = "Win32_System_Com")] @@ -1183,7 +1183,7 @@ pub struct IOpcSignatureRelationshipReference_Vtbl { pub GetRelationshipSigningOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OPC_RELATIONSHIPS_SIGNING_OPTION) -> windows_core::HRESULT, pub GetRelationshipSelectorEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpcSignatureRelationshipReferenceEnumerator, IOpcSignatureRelationshipReferenceEnumerator_Vtbl, 0x773ba3e4_f021_48e4_aa04_9816db5d3495); +windows_core::imp::define_interface!(IOpcSignatureRelationshipReferenceEnumerator, IOpcSignatureRelationshipReferenceEnumerator_Vtbl, 0x773ba3e4_f021_48e4_aa04_9816db5d3495); windows_core::imp::interface_hierarchy!(IOpcSignatureRelationshipReferenceEnumerator, windows_core::IUnknown); impl IOpcSignatureRelationshipReferenceEnumerator { pub unsafe fn MoveNext(&self) -> windows_core::Result { @@ -1211,7 +1211,7 @@ pub struct IOpcSignatureRelationshipReferenceEnumerator_Vtbl { pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IOpcSignatureRelationshipReferenceSet, IOpcSignatureRelationshipReferenceSet_Vtbl, 0x9f863ca5_3631_404c_828d_807e0715069b); +windows_core::imp::define_interface!(IOpcSignatureRelationshipReferenceSet, IOpcSignatureRelationshipReferenceSet_Vtbl, 0x9f863ca5_3631_404c_828d_807e0715069b); windows_core::imp::interface_hierarchy!(IOpcSignatureRelationshipReferenceSet, windows_core::IUnknown); impl IOpcSignatureRelationshipReferenceSet { #[cfg(feature = "Win32_System_Com")] @@ -1250,7 +1250,7 @@ pub struct IOpcSignatureRelationshipReferenceSet_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> 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::com_interface!(IOpcSigningOptions, IOpcSigningOptions_Vtbl, 0x50d2d6a5_7aeb_46c0_b241_43ab0e9b407e); +windows_core::imp::define_interface!(IOpcSigningOptions, IOpcSigningOptions_Vtbl, 0x50d2d6a5_7aeb_46c0_b241_43ab0e9b407e); windows_core::imp::interface_hierarchy!(IOpcSigningOptions, windows_core::IUnknown); impl IOpcSigningOptions { pub unsafe fn GetSignatureId(&self) -> windows_core::Result { @@ -1358,7 +1358,7 @@ pub struct IOpcSigningOptions_Vtbl { SetSignaturePartName: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IOpcUri, IOpcUri_Vtbl, 0xbc9c1b9b_d62c_49eb_aef0_3b4e0b28ebed); +windows_core::imp::define_interface!(IOpcUri, IOpcUri_Vtbl, 0xbc9c1b9b_d62c_49eb_aef0_3b4e0b28ebed); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IOpcUri, windows_core::IUnknown, super::super::super::System::Com::IUri); #[cfg(feature = "Win32_System_Com")] 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 f76d3e17f1..dc0230776e 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IEnumVdsObject, IEnumVdsObject_Vtbl, 0x118610b7_8d94_4030_b5b8_500889788e4e); +windows_core::imp::define_interface!(IEnumVdsObject, IEnumVdsObject_Vtbl, 0x118610b7_8d94_4030_b5b8_500889788e4e); windows_core::imp::interface_hierarchy!(IEnumVdsObject, windows_core::IUnknown); impl IEnumVdsObject { pub unsafe fn Next(&self, ppobjectarray: &mut [Option], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -23,7 +23,7 @@ pub struct IEnumVdsObject_Vtbl { 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, } -windows_core::imp::com_interface!(IVdsAdmin, IVdsAdmin_Vtbl, 0xd188e97d_85aa_4d33_abc6_26299a10ffc1); +windows_core::imp::define_interface!(IVdsAdmin, IVdsAdmin_Vtbl, 0xd188e97d_85aa_4d33_abc6_26299a10ffc1); windows_core::imp::interface_hierarchy!(IVdsAdmin, windows_core::IUnknown); impl IVdsAdmin { pub unsafe fn RegisterProvider(&self, providerid: windows_core::GUID, providerclsid: windows_core::GUID, pwszname: P0, r#type: VDS_PROVIDER_TYPE, pwszmachinename: P1, pwszversion: P2, guidversionid: windows_core::GUID) -> windows_core::Result<()> @@ -44,7 +44,7 @@ pub struct IVdsAdmin_Vtbl { pub RegisterProvider: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::GUID, windows_core::PCWSTR, VDS_PROVIDER_TYPE, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::GUID) -> windows_core::HRESULT, pub UnregisterProvider: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsAdvancedDisk, IVdsAdvancedDisk_Vtbl, 0x6e6f6b40_977c_4069_bddd_ac710059f8c0); +windows_core::imp::define_interface!(IVdsAdvancedDisk, IVdsAdvancedDisk_Vtbl, 0x6e6f6b40_977c_4069_bddd_ac710059f8c0); windows_core::imp::interface_hierarchy!(IVdsAdvancedDisk, windows_core::IUnknown); impl IVdsAdvancedDisk { pub unsafe fn GetPartitionProperties(&self, ulloffset: u64, ppartitionprop: *mut VDS_PARTITION_PROP) -> windows_core::Result<()> { @@ -110,7 +110,7 @@ pub struct IVdsAdvancedDisk_Vtbl { pub FormatPartition: unsafe extern "system" fn(*mut core::ffi::c_void, u64, VDS_FILE_SYSTEM_TYPE, windows_core::PCWSTR, u32, super::super::Foundation::BOOL, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Clean: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsAdvancedDisk2, IVdsAdvancedDisk2_Vtbl, 0x9723f420_9355_42de_ab66_e31bb15beeac); +windows_core::imp::define_interface!(IVdsAdvancedDisk2, IVdsAdvancedDisk2_Vtbl, 0x9723f420_9355_42de_ab66_e31bb15beeac); windows_core::imp::interface_hierarchy!(IVdsAdvancedDisk2, windows_core::IUnknown); impl IVdsAdvancedDisk2 { pub unsafe fn ChangePartitionType(&self, ulloffset: u64, bforce: P0, para: *const CHANGE_PARTITION_TYPE_PARAMETERS) -> windows_core::Result<()> @@ -125,7 +125,7 @@ pub struct IVdsAdvancedDisk2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ChangePartitionType: unsafe extern "system" fn(*mut core::ffi::c_void, u64, super::super::Foundation::BOOL, *const CHANGE_PARTITION_TYPE_PARAMETERS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsAdvancedDisk3, IVdsAdvancedDisk3_Vtbl, 0x3858c0d5_0f35_4bf5_9714_69874963bc36); +windows_core::imp::define_interface!(IVdsAdvancedDisk3, IVdsAdvancedDisk3_Vtbl, 0x3858c0d5_0f35_4bf5_9714_69874963bc36); windows_core::imp::interface_hierarchy!(IVdsAdvancedDisk3, windows_core::IUnknown); impl IVdsAdvancedDisk3 { pub unsafe fn GetProperties(&self, padvdiskprop: *mut VDS_ADVANCEDDISK_PROP) -> windows_core::Result<()> { @@ -142,7 +142,7 @@ pub struct IVdsAdvancedDisk3_Vtbl { pub GetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_ADVANCEDDISK_PROP) -> windows_core::HRESULT, pub GetUniqueId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsAdviseSink, IVdsAdviseSink_Vtbl, 0x8326cd1d_cf59_4936_b786_5efc08798e25); +windows_core::imp::define_interface!(IVdsAdviseSink, IVdsAdviseSink_Vtbl, 0x8326cd1d_cf59_4936_b786_5efc08798e25); windows_core::imp::interface_hierarchy!(IVdsAdviseSink, windows_core::IUnknown); impl IVdsAdviseSink { pub unsafe fn OnNotify(&self, pnotificationarray: &[VDS_NOTIFICATION]) -> windows_core::Result<()> { @@ -154,7 +154,7 @@ pub struct IVdsAdviseSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnNotify: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const VDS_NOTIFICATION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsAsync, IVdsAsync_Vtbl, 0xd5d23b6d_5a55_4492_9889_397a3c2d2dbc); +windows_core::imp::define_interface!(IVdsAsync, IVdsAsync_Vtbl, 0xd5d23b6d_5a55_4492_9889_397a3c2d2dbc); windows_core::imp::interface_hierarchy!(IVdsAsync, windows_core::IUnknown); impl IVdsAsync { pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -174,7 +174,7 @@ pub struct IVdsAsync_Vtbl { pub Wait: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut VDS_ASYNC_OUTPUT) -> windows_core::HRESULT, pub QueryStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsController, IVdsController_Vtbl, 0xcb53d96e_dffb_474a_a078_790d1e2bc082); +windows_core::imp::define_interface!(IVdsController, IVdsController_Vtbl, 0xcb53d96e_dffb_474a_a078_790d1e2bc082); windows_core::imp::interface_hierarchy!(IVdsController, windows_core::IUnknown); impl IVdsController { pub unsafe fn GetProperties(&self, pcontrollerprop: *mut VDS_CONTROLLER_PROP) -> windows_core::Result<()> { @@ -216,7 +216,7 @@ pub struct IVdsController_Vtbl { pub QueryAssociatedLuns: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_CONTROLLER_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsControllerControllerPort, IVdsControllerControllerPort_Vtbl, 0xca5d735f_6bae_42c0_b30e_f2666045ce71); +windows_core::imp::define_interface!(IVdsControllerControllerPort, IVdsControllerControllerPort_Vtbl, 0xca5d735f_6bae_42c0_b30e_f2666045ce71); windows_core::imp::interface_hierarchy!(IVdsControllerControllerPort, windows_core::IUnknown); impl IVdsControllerControllerPort { pub unsafe fn QueryControllerPorts(&self) -> windows_core::Result { @@ -229,7 +229,7 @@ pub struct IVdsControllerControllerPort_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryControllerPorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsControllerPort, IVdsControllerPort_Vtbl, 0x18691d0d_4e7f_43e8_92e4_cf44beeed11c); +windows_core::imp::define_interface!(IVdsControllerPort, IVdsControllerPort_Vtbl, 0x18691d0d_4e7f_43e8_92e4_cf44beeed11c); windows_core::imp::interface_hierarchy!(IVdsControllerPort, windows_core::IUnknown); impl IVdsControllerPort { pub unsafe fn GetProperties(&self, pportprop: *mut VDS_PORT_PROP) -> windows_core::Result<()> { @@ -259,7 +259,7 @@ pub struct IVdsControllerPort_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_PORT_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsCreatePartitionEx, IVdsCreatePartitionEx_Vtbl, 0x9882f547_cfc3_420b_9750_00dfbec50662); +windows_core::imp::define_interface!(IVdsCreatePartitionEx, IVdsCreatePartitionEx_Vtbl, 0x9882f547_cfc3_420b_9750_00dfbec50662); 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 { @@ -272,7 +272,7 @@ pub struct IVdsCreatePartitionEx_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreatePartitionEx: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u64, u32, *const CREATE_PARTITION_PARAMETERS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsDisk, IVdsDisk_Vtbl, 0x07e5c822_f00c_47a1_8fce_b244da56fd06); +windows_core::imp::define_interface!(IVdsDisk, IVdsDisk_Vtbl, 0x07e5c822_f00c_47a1_8fce_b244da56fd06); windows_core::imp::interface_hierarchy!(IVdsDisk, windows_core::IUnknown); impl IVdsDisk { pub unsafe fn GetProperties(&self, pdiskproperties: *mut VDS_DISK_PROP) -> windows_core::Result<()> { @@ -309,7 +309,7 @@ pub struct IVdsDisk_Vtbl { pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ClearFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsDisk2, IVdsDisk2_Vtbl, 0x40f73c8b_687d_4a13_8d96_3d7f2e683936); +windows_core::imp::define_interface!(IVdsDisk2, IVdsDisk2_Vtbl, 0x40f73c8b_687d_4a13_8d96_3d7f2e683936); windows_core::imp::interface_hierarchy!(IVdsDisk2, windows_core::IUnknown); impl IVdsDisk2 { pub unsafe fn SetSANMode(&self, benable: P0) -> windows_core::Result<()> @@ -324,7 +324,7 @@ pub struct IVdsDisk2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetSANMode: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsDisk3, IVdsDisk3_Vtbl, 0x8f4b2f5d_ec15_4357_992f_473ef10975b9); +windows_core::imp::define_interface!(IVdsDisk3, IVdsDisk3_Vtbl, 0x8f4b2f5d_ec15_4357_992f_473ef10975b9); windows_core::imp::interface_hierarchy!(IVdsDisk3, windows_core::IUnknown); impl IVdsDisk3 { pub unsafe fn GetProperties2(&self, pdiskproperties: *mut VDS_DISK_PROP2) -> windows_core::Result<()> { @@ -340,7 +340,7 @@ pub struct IVdsDisk3_Vtbl { pub GetProperties2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_DISK_PROP2) -> windows_core::HRESULT, pub QueryFreeExtents: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut VDS_DISK_FREE_EXTENT, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsDiskOnline, IVdsDiskOnline_Vtbl, 0x90681b1d_6a7f_48e8_9061_31b7aa125322); +windows_core::imp::define_interface!(IVdsDiskOnline, IVdsDiskOnline_Vtbl, 0x90681b1d_6a7f_48e8_9061_31b7aa125322); windows_core::imp::interface_hierarchy!(IVdsDiskOnline, windows_core::IUnknown); impl IVdsDiskOnline { pub unsafe fn Online(&self) -> windows_core::Result<()> { @@ -356,7 +356,7 @@ pub struct IVdsDiskOnline_Vtbl { pub Online: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Offline: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsDiskPartitionMF, IVdsDiskPartitionMF_Vtbl, 0x538684e0_ba3d_4bc0_aca9_164aff85c2a9); +windows_core::imp::define_interface!(IVdsDiskPartitionMF, IVdsDiskPartitionMF_Vtbl, 0x538684e0_ba3d_4bc0_aca9_164aff85c2a9); windows_core::imp::interface_hierarchy!(IVdsDiskPartitionMF, windows_core::IUnknown); impl IVdsDiskPartitionMF { pub unsafe fn GetPartitionFileSystemProperties(&self, ulloffset: u64, pfilesystemprop: *mut VDS_FILE_SYSTEM_PROP) -> windows_core::Result<()> { @@ -389,7 +389,7 @@ pub struct IVdsDiskPartitionMF_Vtbl { pub QueryPartitionFileSystemFormatSupport: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP, *mut i32) -> windows_core::HRESULT, pub FormatPartitionEx: unsafe extern "system" fn(*mut core::ffi::c_void, u64, windows_core::PCWSTR, u16, u32, windows_core::PCWSTR, super::super::Foundation::BOOL, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsDiskPartitionMF2, IVdsDiskPartitionMF2_Vtbl, 0x9cbe50ca_f2d2_4bf4_ace1_96896b729625); +windows_core::imp::define_interface!(IVdsDiskPartitionMF2, IVdsDiskPartitionMF2_Vtbl, 0x9cbe50ca_f2d2_4bf4_ace1_96896b729625); windows_core::imp::interface_hierarchy!(IVdsDiskPartitionMF2, windows_core::IUnknown); impl IVdsDiskPartitionMF2 { pub unsafe fn FormatPartitionEx2(&self, ulloffset: u64, pwszfilesystemtypename: P0, usfilesystemrevision: u16, uldesiredunitallocationsize: u32, pwszlabel: P1, options: u32) -> windows_core::Result @@ -406,7 +406,7 @@ pub struct IVdsDiskPartitionMF2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub FormatPartitionEx2: unsafe extern "system" fn(*mut core::ffi::c_void, u64, windows_core::PCWSTR, u16, u32, windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsDrive, IVdsDrive_Vtbl, 0xff24efa4_aade_4b6b_898b_eaa6a20887c7); +windows_core::imp::define_interface!(IVdsDrive, IVdsDrive_Vtbl, 0xff24efa4_aade_4b6b_898b_eaa6a20887c7); windows_core::imp::interface_hierarchy!(IVdsDrive, windows_core::IUnknown); impl IVdsDrive { pub unsafe fn GetProperties(&self, pdriveprop: *mut VDS_DRIVE_PROP) -> windows_core::Result<()> { @@ -439,7 +439,7 @@ pub struct IVdsDrive_Vtbl { pub ClearFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_DRIVE_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsDrive2, IVdsDrive2_Vtbl, 0x60b5a730_addf_4436_8ca7_5769e2d1ffa4); +windows_core::imp::define_interface!(IVdsDrive2, IVdsDrive2_Vtbl, 0x60b5a730_addf_4436_8ca7_5769e2d1ffa4); windows_core::imp::interface_hierarchy!(IVdsDrive2, windows_core::IUnknown); impl IVdsDrive2 { pub unsafe fn GetProperties2(&self, pdriveprop2: *mut VDS_DRIVE_PROP2) -> windows_core::Result<()> { @@ -451,7 +451,7 @@ pub struct IVdsDrive2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetProperties2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_DRIVE_PROP2) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsHbaPort, IVdsHbaPort_Vtbl, 0x2abd757f_2851_4997_9a13_47d2a885d6ca); +windows_core::imp::define_interface!(IVdsHbaPort, IVdsHbaPort_Vtbl, 0x2abd757f_2851_4997_9a13_47d2a885d6ca); windows_core::imp::interface_hierarchy!(IVdsHbaPort, windows_core::IUnknown); impl IVdsHbaPort { pub unsafe fn GetProperties(&self, phbaportprop: *mut VDS_HBAPORT_PROP) -> windows_core::Result<()> { @@ -467,7 +467,7 @@ pub struct IVdsHbaPort_Vtbl { pub GetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_HBAPORT_PROP) -> windows_core::HRESULT, pub SetAllPathStatuses: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_PATH_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsHwProvider, IVdsHwProvider_Vtbl, 0xd99bdaae_b13a_4178_9fdb_e27f16b4603e); +windows_core::imp::define_interface!(IVdsHwProvider, IVdsHwProvider_Vtbl, 0xd99bdaae_b13a_4178_9fdb_e27f16b4603e); windows_core::imp::interface_hierarchy!(IVdsHwProvider, windows_core::IUnknown); impl IVdsHwProvider { pub unsafe fn QuerySubSystems(&self) -> windows_core::Result { @@ -488,7 +488,7 @@ pub struct IVdsHwProvider_Vtbl { pub Reenumerate: 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, } -windows_core::imp::com_interface!(IVdsHwProviderPrivate, IVdsHwProviderPrivate_Vtbl, 0x98f17bf3_9f33_4f12_8714_8b4075092c2e); +windows_core::imp::define_interface!(IVdsHwProviderPrivate, IVdsHwProviderPrivate_Vtbl, 0x98f17bf3_9f33_4f12_8714_8b4075092c2e); windows_core::imp::interface_hierarchy!(IVdsHwProviderPrivate, windows_core::IUnknown); impl IVdsHwProviderPrivate { pub unsafe fn QueryIfCreatedLun(&self, pwszdevicepath: P0, pvdsluninformation: *const VDS_LUN_INFORMATION) -> windows_core::Result @@ -504,7 +504,7 @@ pub struct IVdsHwProviderPrivate_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryIfCreatedLun: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const VDS_LUN_INFORMATION, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsHwProviderPrivateMpio, IVdsHwProviderPrivateMpio_Vtbl, 0x310a7715_ac2b_4c6f_9827_3d742f351676); +windows_core::imp::define_interface!(IVdsHwProviderPrivateMpio, IVdsHwProviderPrivateMpio_Vtbl, 0x310a7715_ac2b_4c6f_9827_3d742f351676); windows_core::imp::interface_hierarchy!(IVdsHwProviderPrivateMpio, windows_core::IUnknown); impl IVdsHwProviderPrivateMpio { pub unsafe fn SetAllPathStatusesFromHbaPort(&self, hbaportprop: VDS_HBAPORT_PROP, status: VDS_PATH_STATUS) -> windows_core::Result<()> { @@ -516,7 +516,7 @@ pub struct IVdsHwProviderPrivateMpio_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetAllPathStatusesFromHbaPort: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_HBAPORT_PROP, VDS_PATH_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsHwProviderStoragePools, IVdsHwProviderStoragePools_Vtbl, 0xd5b5937a_f188_4c79_b86c_11c920ad11b8); +windows_core::imp::define_interface!(IVdsHwProviderStoragePools, IVdsHwProviderStoragePools_Vtbl, 0xd5b5937a_f188_4c79_b86c_11c920ad11b8); 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 { @@ -542,7 +542,7 @@ pub struct IVdsHwProviderStoragePools_Vtbl { pub CreateLunInStoragePool: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_LUN_TYPE, u64, windows_core::GUID, windows_core::PCWSTR, *const VDS_HINTS2, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub QueryMaxLunCreateSizeInStoragePool: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_LUN_TYPE, windows_core::GUID, *const VDS_HINTS2, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsHwProviderType, IVdsHwProviderType_Vtbl, 0x3e0f5166_542d_4fc6_947a_012174240b7e); +windows_core::imp::define_interface!(IVdsHwProviderType, IVdsHwProviderType_Vtbl, 0x3e0f5166_542d_4fc6_947a_012174240b7e); windows_core::imp::interface_hierarchy!(IVdsHwProviderType, windows_core::IUnknown); impl IVdsHwProviderType { pub unsafe fn GetProviderType(&self) -> windows_core::Result { @@ -555,7 +555,7 @@ pub struct IVdsHwProviderType_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetProviderType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_HWPROVIDER_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsHwProviderType2, IVdsHwProviderType2_Vtbl, 0x8190236f_c4d0_4e81_8011_d69512fcc984); +windows_core::imp::define_interface!(IVdsHwProviderType2, IVdsHwProviderType2_Vtbl, 0x8190236f_c4d0_4e81_8011_d69512fcc984); windows_core::imp::interface_hierarchy!(IVdsHwProviderType2, windows_core::IUnknown); impl IVdsHwProviderType2 { pub unsafe fn GetProviderType2(&self) -> windows_core::Result { @@ -568,7 +568,7 @@ pub struct IVdsHwProviderType2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetProviderType2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_HWPROVIDER_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsIscsiInitiatorAdapter, IVdsIscsiInitiatorAdapter_Vtbl, 0xb07fedd4_1682_4440_9189_a39b55194dc5); +windows_core::imp::define_interface!(IVdsIscsiInitiatorAdapter, IVdsIscsiInitiatorAdapter_Vtbl, 0xb07fedd4_1682_4440_9189_a39b55194dc5); windows_core::imp::interface_hierarchy!(IVdsIscsiInitiatorAdapter, windows_core::IUnknown); impl IVdsIscsiInitiatorAdapter { pub unsafe fn GetProperties(&self, pinitiatoradapterprop: *mut VDS_ISCSI_INITIATOR_ADAPTER_PROP) -> windows_core::Result<()> { @@ -599,7 +599,7 @@ pub struct IVdsIscsiInitiatorAdapter_Vtbl { pub LoginToTarget: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_ISCSI_LOGIN_TYPE, windows_core::GUID, windows_core::GUID, windows_core::GUID, u32, super::super::Foundation::BOOL, super::super::Foundation::BOOL, VDS_ISCSI_AUTH_TYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub LogoutFromTarget: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsIscsiInitiatorPortal, IVdsIscsiInitiatorPortal_Vtbl, 0x38a0a9ab_7cc8_4693_ac07_1f28bd03c3da); +windows_core::imp::define_interface!(IVdsIscsiInitiatorPortal, IVdsIscsiInitiatorPortal_Vtbl, 0x38a0a9ab_7cc8_4693_ac07_1f28bd03c3da); windows_core::imp::interface_hierarchy!(IVdsIscsiInitiatorPortal, windows_core::IUnknown); impl IVdsIscsiInitiatorPortal { pub unsafe fn GetProperties(&self, pinitiatorportalprop: *mut VDS_ISCSI_INITIATOR_PORTAL_PROP) -> windows_core::Result<()> { @@ -629,7 +629,7 @@ pub struct IVdsIscsiInitiatorPortal_Vtbl { pub GetIpsecSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut u64) -> windows_core::HRESULT, pub SetIpsecSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u64, *const VDS_ISCSI_IPSEC_KEY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsIscsiPortal, IVdsIscsiPortal_Vtbl, 0x7fa1499d_ec85_4a8a_a47b_ff69201fcd34); +windows_core::imp::define_interface!(IVdsIscsiPortal, IVdsIscsiPortal_Vtbl, 0x7fa1499d_ec85_4a8a_a47b_ff69201fcd34); windows_core::imp::interface_hierarchy!(IVdsIscsiPortal, windows_core::IUnknown); impl IVdsIscsiPortal { pub unsafe fn GetProperties(&self, pportalprop: *mut VDS_ISCSI_PORTAL_PROP) -> windows_core::Result<()> { @@ -668,7 +668,7 @@ pub struct IVdsIscsiPortal_Vtbl { pub GetIpsecSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_IPADDRESS, *mut u64) -> windows_core::HRESULT, pub SetIpsecSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_IPADDRESS, u64, *const VDS_ISCSI_IPSEC_KEY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsIscsiPortalGroup, IVdsIscsiPortalGroup_Vtbl, 0xfef5f89d_a3dd_4b36_bf28_e7dde045c593); +windows_core::imp::define_interface!(IVdsIscsiPortalGroup, IVdsIscsiPortalGroup_Vtbl, 0xfef5f89d_a3dd_4b36_bf28_e7dde045c593); windows_core::imp::interface_hierarchy!(IVdsIscsiPortalGroup, windows_core::IUnknown); impl IVdsIscsiPortalGroup { pub unsafe fn GetProperties(&self, pportalgroupprop: *mut VDS_ISCSI_PORTALGROUP_PROP) -> windows_core::Result<()> { @@ -705,7 +705,7 @@ pub struct IVdsIscsiPortalGroup_Vtbl { pub RemovePortal: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsIscsiPortalLocal, IVdsIscsiPortalLocal_Vtbl, 0xad837c28_52c1_421d_bf04_fae7da665396); +windows_core::imp::define_interface!(IVdsIscsiPortalLocal, IVdsIscsiPortalLocal_Vtbl, 0xad837c28_52c1_421d_bf04_fae7da665396); windows_core::imp::interface_hierarchy!(IVdsIscsiPortalLocal, windows_core::IUnknown); impl IVdsIscsiPortalLocal { pub unsafe fn SetIpsecSecurityLocal(&self, ullsecurityflags: u64, pipseckey: *const VDS_ISCSI_IPSEC_KEY) -> windows_core::Result<()> { @@ -717,7 +717,7 @@ pub struct IVdsIscsiPortalLocal_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetIpsecSecurityLocal: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *const VDS_ISCSI_IPSEC_KEY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsIscsiTarget, IVdsIscsiTarget_Vtbl, 0xaa8f5055_83e5_4bcc_aa73_19851a36a849); +windows_core::imp::define_interface!(IVdsIscsiTarget, IVdsIscsiTarget_Vtbl, 0xaa8f5055_83e5_4bcc_aa73_19851a36a849); windows_core::imp::interface_hierarchy!(IVdsIscsiTarget, windows_core::IUnknown); impl IVdsIscsiTarget { pub unsafe fn GetProperties(&self, ptargetprop: *mut VDS_ISCSI_TARGET_PROP) -> windows_core::Result<()> { @@ -779,7 +779,7 @@ pub struct IVdsIscsiTarget_Vtbl { pub RememberInitiatorSharedSecret: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const VDS_ISCSI_SHARED_SECRET) -> windows_core::HRESULT, pub GetConnectedInitiators: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut windows_core::PWSTR, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsLun, IVdsLun_Vtbl, 0x3540a9c7_e60f_4111_a840_8bba6c2c83d8); +windows_core::imp::define_interface!(IVdsLun, IVdsLun_Vtbl, 0x3540a9c7_e60f_4111_a840_8bba6c2c83d8); windows_core::imp::interface_hierarchy!(IVdsLun, windows_core::IUnknown); impl IVdsLun { pub unsafe fn GetProperties(&self, plunprop: *mut VDS_LUN_PROP) -> windows_core::Result<()> { @@ -867,7 +867,7 @@ pub struct IVdsLun_Vtbl { pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_LUN_STATUS) -> windows_core::HRESULT, pub QueryMaxLunExtendSize: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, i32, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsLun2, IVdsLun2_Vtbl, 0xe5b3a735_9efb_499a_8071_4394d9ee6fcb); +windows_core::imp::define_interface!(IVdsLun2, IVdsLun2_Vtbl, 0xe5b3a735_9efb_499a_8071_4394d9ee6fcb); windows_core::imp::interface_hierarchy!(IVdsLun2, windows_core::IUnknown); impl IVdsLun2 { pub unsafe fn QueryHints2(&self, phints2: *mut VDS_HINTS2) -> windows_core::Result<()> { @@ -883,7 +883,7 @@ pub struct IVdsLun2_Vtbl { pub QueryHints2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_HINTS2) -> windows_core::HRESULT, pub ApplyHints2: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_HINTS2) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsLunControllerPorts, IVdsLunControllerPorts_Vtbl, 0x451fe266_da6d_406a_bb60_82e534f85aeb); +windows_core::imp::define_interface!(IVdsLunControllerPorts, IVdsLunControllerPorts_Vtbl, 0x451fe266_da6d_406a_bb60_82e534f85aeb); windows_core::imp::interface_hierarchy!(IVdsLunControllerPorts, windows_core::IUnknown); impl IVdsLunControllerPorts { pub unsafe fn AssociateControllerPorts(&self, pactivecontrollerportidarray: &[windows_core::GUID], pinactivecontrollerportidarray: &[windows_core::GUID]) -> windows_core::Result<()> { @@ -900,7 +900,7 @@ pub struct IVdsLunControllerPorts_Vtbl { pub AssociateControllerPorts: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, i32, *const windows_core::GUID, i32) -> windows_core::HRESULT, pub QueryActiveControllerPorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsLunIscsi, IVdsLunIscsi_Vtbl, 0x0d7c1e64_b59b_45ae_b86a_2c2cc6a42067); +windows_core::imp::define_interface!(IVdsLunIscsi, IVdsLunIscsi_Vtbl, 0x0d7c1e64_b59b_45ae_b86a_2c2cc6a42067); windows_core::imp::interface_hierarchy!(IVdsLunIscsi, windows_core::IUnknown); impl IVdsLunIscsi { pub unsafe fn AssociateTargets(&self, ptargetidarray: &[windows_core::GUID]) -> windows_core::Result<()> { @@ -917,7 +917,7 @@ pub struct IVdsLunIscsi_Vtbl { pub AssociateTargets: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, i32) -> windows_core::HRESULT, pub QueryAssociatedTargets: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsLunMpio, IVdsLunMpio_Vtbl, 0x7c5fbae3_333a_48a1_a982_33c15788cde3); +windows_core::imp::define_interface!(IVdsLunMpio, IVdsLunMpio_Vtbl, 0x7c5fbae3_333a_48a1_a982_33c15788cde3); windows_core::imp::interface_hierarchy!(IVdsLunMpio, windows_core::IUnknown); impl IVdsLunMpio { pub unsafe fn GetPathInfo(&self, pppaths: *mut *mut VDS_PATH_INFO, plnumberofpaths: *mut i32) -> windows_core::Result<()> { @@ -942,7 +942,7 @@ pub struct IVdsLunMpio_Vtbl { pub SetLoadBalancePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_LOADBALANCE_POLICY_ENUM, *const VDS_PATH_POLICY, i32) -> windows_core::HRESULT, pub GetSupportedLbPolicies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsLunNaming, IVdsLunNaming_Vtbl, 0x907504cb_6b4e_4d88_a34d_17ba661fbb06); +windows_core::imp::define_interface!(IVdsLunNaming, IVdsLunNaming_Vtbl, 0x907504cb_6b4e_4d88_a34d_17ba661fbb06); windows_core::imp::interface_hierarchy!(IVdsLunNaming, windows_core::IUnknown); impl IVdsLunNaming { pub unsafe fn SetFriendlyName(&self, pwszfriendlyname: P0) -> windows_core::Result<()> @@ -957,7 +957,7 @@ pub struct IVdsLunNaming_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsLunNumber, IVdsLunNumber_Vtbl, 0xd3f95e46_54b3_41f9_b678_0f1871443a08); +windows_core::imp::define_interface!(IVdsLunNumber, IVdsLunNumber_Vtbl, 0xd3f95e46_54b3_41f9_b678_0f1871443a08); windows_core::imp::interface_hierarchy!(IVdsLunNumber, windows_core::IUnknown); impl IVdsLunNumber { pub unsafe fn GetLunNumber(&self) -> windows_core::Result { @@ -970,7 +970,7 @@ pub struct IVdsLunNumber_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetLunNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsLunPlex, IVdsLunPlex_Vtbl, 0x0ee1a790_5d2e_4abb_8c99_c481e8be2138); +windows_core::imp::define_interface!(IVdsLunPlex, IVdsLunPlex_Vtbl, 0x0ee1a790_5d2e_4abb_8c99_c481e8be2138); windows_core::imp::interface_hierarchy!(IVdsLunPlex, windows_core::IUnknown); impl IVdsLunPlex { pub unsafe fn GetProperties(&self, pplexprop: *mut VDS_LUN_PLEX_PROP) -> windows_core::Result<()> { @@ -999,7 +999,7 @@ pub struct IVdsLunPlex_Vtbl { pub QueryHints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_HINTS) -> windows_core::HRESULT, pub ApplyHints: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_HINTS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsMaintenance, IVdsMaintenance_Vtbl, 0xdaebeef3_8523_47ed_a2b9_05cecce2a1ae); +windows_core::imp::define_interface!(IVdsMaintenance, IVdsMaintenance_Vtbl, 0xdaebeef3_8523_47ed_a2b9_05cecce2a1ae); windows_core::imp::interface_hierarchy!(IVdsMaintenance, windows_core::IUnknown); impl IVdsMaintenance { pub unsafe fn StartMaintenance(&self, operation: VDS_MAINTENANCE_OPERATION) -> windows_core::Result<()> { @@ -1019,7 +1019,7 @@ pub struct IVdsMaintenance_Vtbl { pub StopMaintenance: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_MAINTENANCE_OPERATION) -> windows_core::HRESULT, pub PulseMaintenance: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_MAINTENANCE_OPERATION, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsOpenVDisk, IVdsOpenVDisk_Vtbl, 0x75c8f324_f715_4fe3_a28e_f9011b61a4a1); +windows_core::imp::define_interface!(IVdsOpenVDisk, IVdsOpenVDisk_Vtbl, 0x75c8f324_f715_4fe3_a28e_f9011b61a4a1); windows_core::imp::interface_hierarchy!(IVdsOpenVDisk, windows_core::IUnknown); impl IVdsOpenVDisk { #[cfg(feature = "Win32_Storage_Vhd")] @@ -1082,7 +1082,7 @@ pub struct IVdsOpenVDisk_Vtbl { #[cfg(not(feature = "Win32_Storage_Vhd"))] Expand: usize, } -windows_core::imp::com_interface!(IVdsPack, IVdsPack_Vtbl, 0x3b69d7f5_9d94_4648_91ca_79939ba263bf); +windows_core::imp::define_interface!(IVdsPack, IVdsPack_Vtbl, 0x3b69d7f5_9d94_4648_91ca_79939ba263bf); windows_core::imp::interface_hierarchy!(IVdsPack, windows_core::IUnknown); impl IVdsPack { pub unsafe fn GetProperties(&self, ppackprop: *mut VDS_PACK_PROP) -> windows_core::Result<()> { @@ -1143,7 +1143,7 @@ pub struct IVdsPack_Vtbl { pub RemoveMissingDisk: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub Recover: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsPack2, IVdsPack2_Vtbl, 0x13b50bff_290a_47dd_8558_b7c58db1a71a); +windows_core::imp::define_interface!(IVdsPack2, IVdsPack2_Vtbl, 0x13b50bff_290a_47dd_8558_b7c58db1a71a); 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 { @@ -1156,7 +1156,7 @@ pub struct IVdsPack2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateVolume2: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_VOLUME_TYPE, *const VDS_INPUT_DISK, i32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsProvider, IVdsProvider_Vtbl, 0x10c5e575_7984_4e81_a56b_431f5f92ae42); +windows_core::imp::define_interface!(IVdsProvider, IVdsProvider_Vtbl, 0x10c5e575_7984_4e81_a56b_431f5f92ae42); windows_core::imp::interface_hierarchy!(IVdsProvider, windows_core::IUnknown); impl IVdsProvider { pub unsafe fn GetProperties(&self, pproviderprop: *mut VDS_PROVIDER_PROP) -> windows_core::Result<()> { @@ -1168,7 +1168,7 @@ pub struct IVdsProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_PROVIDER_PROP) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsProviderPrivate, IVdsProviderPrivate_Vtbl, 0x11f3cd41_b7e8_48ff_9472_9dff018aa292); +windows_core::imp::define_interface!(IVdsProviderPrivate, IVdsProviderPrivate_Vtbl, 0x11f3cd41_b7e8_48ff_9472_9dff018aa292); 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 { @@ -1196,7 +1196,7 @@ pub struct IVdsProviderPrivate_Vtbl { pub OnLoad: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnUnload: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsProviderSupport, IVdsProviderSupport_Vtbl, 0x1732be13_e8f9_4a03_bfbc_5f616aa66ce1); +windows_core::imp::define_interface!(IVdsProviderSupport, IVdsProviderSupport_Vtbl, 0x1732be13_e8f9_4a03_bfbc_5f616aa66ce1); windows_core::imp::interface_hierarchy!(IVdsProviderSupport, windows_core::IUnknown); impl IVdsProviderSupport { pub unsafe fn GetVersionSupport(&self) -> windows_core::Result { @@ -1209,7 +1209,7 @@ pub struct IVdsProviderSupport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetVersionSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsRemovable, IVdsRemovable_Vtbl, 0x0316560b_5db4_4ed9_bbb5_213436ddc0d9); +windows_core::imp::define_interface!(IVdsRemovable, IVdsRemovable_Vtbl, 0x0316560b_5db4_4ed9_bbb5_213436ddc0d9); windows_core::imp::interface_hierarchy!(IVdsRemovable, windows_core::IUnknown); impl IVdsRemovable { pub unsafe fn QueryMedia(&self) -> windows_core::Result<()> { @@ -1225,7 +1225,7 @@ pub struct IVdsRemovable_Vtbl { pub QueryMedia: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Eject: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsService, IVdsService_Vtbl, 0x0818a8ef_9ba9_40d8_a6f9_e22833cc771e); +windows_core::imp::define_interface!(IVdsService, IVdsService_Vtbl, 0x0818a8ef_9ba9_40d8_a6f9_e22833cc771e); windows_core::imp::interface_hierarchy!(IVdsService, windows_core::IUnknown); impl IVdsService { pub unsafe fn IsServiceReady(&self) -> windows_core::Result<()> { @@ -1310,7 +1310,7 @@ pub struct IVdsService_Vtbl { pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ClearFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsServiceHba, IVdsServiceHba_Vtbl, 0x0ac13689_3134_47c6_a17c_4669216801be); +windows_core::imp::define_interface!(IVdsServiceHba, IVdsServiceHba_Vtbl, 0x0ac13689_3134_47c6_a17c_4669216801be); windows_core::imp::interface_hierarchy!(IVdsServiceHba, windows_core::IUnknown); impl IVdsServiceHba { pub unsafe fn QueryHbaPorts(&self) -> windows_core::Result { @@ -1323,7 +1323,7 @@ pub struct IVdsServiceHba_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryHbaPorts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsServiceInitialization, IVdsServiceInitialization_Vtbl, 0x4afc3636_db01_4052_80c3_03bbcb8d3c69); +windows_core::imp::define_interface!(IVdsServiceInitialization, IVdsServiceInitialization_Vtbl, 0x4afc3636_db01_4052_80c3_03bbcb8d3c69); windows_core::imp::interface_hierarchy!(IVdsServiceInitialization, windows_core::IUnknown); impl IVdsServiceInitialization { pub unsafe fn Initialize(&self, pwszmachinename: P0) -> windows_core::Result<()> @@ -1338,7 +1338,7 @@ pub struct IVdsServiceInitialization_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsServiceIscsi, IVdsServiceIscsi_Vtbl, 0x14fbe036_3ed7_4e10_90e9_a5ff991aff01); +windows_core::imp::define_interface!(IVdsServiceIscsi, IVdsServiceIscsi_Vtbl, 0x14fbe036_3ed7_4e10_90e9_a5ff991aff01); windows_core::imp::interface_hierarchy!(IVdsServiceIscsi, windows_core::IUnknown); impl IVdsServiceIscsi { pub unsafe fn GetInitiatorName(&self) -> windows_core::Result { @@ -1376,7 +1376,7 @@ pub struct IVdsServiceIscsi_Vtbl { pub SetInitiatorSharedSecret: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_ISCSI_SHARED_SECRET, windows_core::GUID) -> windows_core::HRESULT, pub RememberTargetSharedSecret: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *const VDS_ISCSI_SHARED_SECRET) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsServiceLoader, IVdsServiceLoader_Vtbl, 0xe0393303_90d4_4a97_ab71_e9b671ee2729); +windows_core::imp::define_interface!(IVdsServiceLoader, IVdsServiceLoader_Vtbl, 0xe0393303_90d4_4a97_ab71_e9b671ee2729); windows_core::imp::interface_hierarchy!(IVdsServiceLoader, windows_core::IUnknown); impl IVdsServiceLoader { pub unsafe fn LoadService(&self, pwszmachinename: P0) -> windows_core::Result @@ -1392,7 +1392,7 @@ pub struct IVdsServiceLoader_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub LoadService: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsServiceSAN, IVdsServiceSAN_Vtbl, 0xfc5d23e8_a88b_41a5_8de0_2d2f73c5a630); +windows_core::imp::define_interface!(IVdsServiceSAN, IVdsServiceSAN_Vtbl, 0xfc5d23e8_a88b_41a5_8de0_2d2f73c5a630); windows_core::imp::interface_hierarchy!(IVdsServiceSAN, windows_core::IUnknown); impl IVdsServiceSAN { pub unsafe fn GetSANPolicy(&self) -> windows_core::Result { @@ -1409,7 +1409,7 @@ pub struct IVdsServiceSAN_Vtbl { pub GetSANPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_SAN_POLICY) -> windows_core::HRESULT, pub SetSANPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_SAN_POLICY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsServiceSw, IVdsServiceSw_Vtbl, 0x15fc031c_0652_4306_b2c3_f558b8f837e2); +windows_core::imp::define_interface!(IVdsServiceSw, IVdsServiceSw_Vtbl, 0x15fc031c_0652_4306_b2c3_f558b8f837e2); windows_core::imp::interface_hierarchy!(IVdsServiceSw, windows_core::IUnknown); impl IVdsServiceSw { pub unsafe fn GetDiskObject(&self, pwszdeviceid: P0) -> windows_core::Result @@ -1425,7 +1425,7 @@ pub struct IVdsServiceSw_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDiskObject: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsServiceUninstallDisk, IVdsServiceUninstallDisk_Vtbl, 0xb6b22da8_f903_4be7_b492_c09d875ac9da); +windows_core::imp::define_interface!(IVdsServiceUninstallDisk, IVdsServiceUninstallDisk_Vtbl, 0xb6b22da8_f903_4be7_b492_c09d875ac9da); windows_core::imp::interface_hierarchy!(IVdsServiceUninstallDisk, windows_core::IUnknown); impl IVdsServiceUninstallDisk { pub unsafe fn GetDiskIdFromLunInfo(&self, pluninfo: *const VDS_LUN_INFORMATION) -> windows_core::Result { @@ -1445,7 +1445,7 @@ pub struct IVdsServiceUninstallDisk_Vtbl { pub GetDiskIdFromLunInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_LUN_INFORMATION, *mut windows_core::GUID) -> windows_core::HRESULT, pub UninstallDisks: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, super::super::Foundation::BOOLEAN, *mut u8, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsStoragePool, IVdsStoragePool_Vtbl, 0x932ca8cf_0eb3_4ba8_9620_22665d7f8450); +windows_core::imp::define_interface!(IVdsStoragePool, IVdsStoragePool_Vtbl, 0x932ca8cf_0eb3_4ba8_9620_22665d7f8450); windows_core::imp::interface_hierarchy!(IVdsStoragePool, windows_core::IUnknown); impl IVdsStoragePool { pub unsafe fn GetProvider(&self) -> windows_core::Result { @@ -1480,7 +1480,7 @@ pub struct IVdsStoragePool_Vtbl { pub QueryAllocatedLuns: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub QueryAllocatedStoragePools: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsSubSystem, IVdsSubSystem_Vtbl, 0x6fcee2d3_6d90_4f91_80e2_a5c7caaca9d8); +windows_core::imp::define_interface!(IVdsSubSystem, IVdsSubSystem_Vtbl, 0x6fcee2d3_6d90_4f91_80e2_a5c7caaca9d8); windows_core::imp::interface_hierarchy!(IVdsSubSystem, windows_core::IUnknown); impl IVdsSubSystem { pub unsafe fn GetProperties(&self, psubsystemprop: *mut VDS_SUB_SYSTEM_PROP) -> windows_core::Result<()> { @@ -1546,7 +1546,7 @@ pub struct IVdsSubSystem_Vtbl { pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_SUB_SYSTEM_STATUS) -> windows_core::HRESULT, pub QueryMaxLunCreateSize: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_LUN_TYPE, *const windows_core::GUID, i32, *const VDS_HINTS, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsSubSystem2, IVdsSubSystem2_Vtbl, 0xbe666735_7800_4a77_9d9c_40f85b87e292); +windows_core::imp::define_interface!(IVdsSubSystem2, IVdsSubSystem2_Vtbl, 0xbe666735_7800_4a77_9d9c_40f85b87e292); windows_core::imp::interface_hierarchy!(IVdsSubSystem2, windows_core::IUnknown); impl IVdsSubSystem2 { pub unsafe fn GetProperties2(&self, psubsystemprop2: *mut VDS_SUB_SYSTEM_PROP2) -> windows_core::Result<()> { @@ -1576,7 +1576,7 @@ pub struct IVdsSubSystem2_Vtbl { pub CreateLun2: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_LUN_TYPE, u64, *const windows_core::GUID, i32, windows_core::PCWSTR, *const VDS_HINTS2, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub QueryMaxLunCreateSize2: unsafe extern "system" fn(*mut core::ffi::c_void, VDS_LUN_TYPE, *const windows_core::GUID, i32, *const VDS_HINTS2, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsSubSystemImportTarget, IVdsSubSystemImportTarget_Vtbl, 0x83bfb87f_43fb_4903_baa6_127f01029eec); +windows_core::imp::define_interface!(IVdsSubSystemImportTarget, IVdsSubSystemImportTarget_Vtbl, 0x83bfb87f_43fb_4903_baa6_127f01029eec); windows_core::imp::interface_hierarchy!(IVdsSubSystemImportTarget, windows_core::IUnknown); impl IVdsSubSystemImportTarget { pub unsafe fn GetImportTarget(&self) -> windows_core::Result { @@ -1596,7 +1596,7 @@ pub struct IVdsSubSystemImportTarget_Vtbl { pub GetImportTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub SetImportTarget: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsSubSystemInterconnect, IVdsSubSystemInterconnect_Vtbl, 0x9e6fa560_c141_477b_83ba_0b6c38f7febf); +windows_core::imp::define_interface!(IVdsSubSystemInterconnect, IVdsSubSystemInterconnect_Vtbl, 0x9e6fa560_c141_477b_83ba_0b6c38f7febf); windows_core::imp::interface_hierarchy!(IVdsSubSystemInterconnect, windows_core::IUnknown); impl IVdsSubSystemInterconnect { pub unsafe fn GetSupportedInterconnects(&self) -> windows_core::Result { @@ -1609,7 +1609,7 @@ pub struct IVdsSubSystemInterconnect_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSupportedInterconnects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsSubSystemIscsi, IVdsSubSystemIscsi_Vtbl, 0x0027346f_40d0_4b45_8cec_5906dc0380c8); +windows_core::imp::define_interface!(IVdsSubSystemIscsi, IVdsSubSystemIscsi_Vtbl, 0x0027346f_40d0_4b45_8cec_5906dc0380c8); windows_core::imp::interface_hierarchy!(IVdsSubSystemIscsi, windows_core::IUnknown); impl IVdsSubSystemIscsi { pub unsafe fn QueryTargets(&self) -> windows_core::Result { @@ -1640,7 +1640,7 @@ pub struct IVdsSubSystemIscsi_Vtbl { pub CreateTarget: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetIpsecGroupPresharedKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_ISCSI_IPSEC_KEY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsSubSystemNaming, IVdsSubSystemNaming_Vtbl, 0x0d70faa3_9cd4_4900_aa20_6981b6aafc75); +windows_core::imp::define_interface!(IVdsSubSystemNaming, IVdsSubSystemNaming_Vtbl, 0x0d70faa3_9cd4_4900_aa20_6981b6aafc75); windows_core::imp::interface_hierarchy!(IVdsSubSystemNaming, windows_core::IUnknown); impl IVdsSubSystemNaming { pub unsafe fn SetFriendlyName(&self, pwszfriendlyname: P0) -> windows_core::Result<()> @@ -1655,7 +1655,7 @@ pub struct IVdsSubSystemNaming_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsSwProvider, IVdsSwProvider_Vtbl, 0x9aa58360_ce33_4f92_b658_ed24b14425b8); +windows_core::imp::define_interface!(IVdsSwProvider, IVdsSwProvider_Vtbl, 0x9aa58360_ce33_4f92_b658_ed24b14425b8); windows_core::imp::interface_hierarchy!(IVdsSwProvider, windows_core::IUnknown); impl IVdsSwProvider { pub unsafe fn QueryPacks(&self) -> windows_core::Result { @@ -1673,7 +1673,7 @@ pub struct IVdsSwProvider_Vtbl { pub QueryPacks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreatePack: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsVDisk, IVdsVDisk_Vtbl, 0x1e062b84_e5e6_4b4b_8a25_67b81e8f13e8); +windows_core::imp::define_interface!(IVdsVDisk, IVdsVDisk_Vtbl, 0x1e062b84_e5e6_4b4b_8a25_67b81e8f13e8); windows_core::imp::interface_hierarchy!(IVdsVDisk, windows_core::IUnknown); impl IVdsVDisk { #[cfg(feature = "Win32_Storage_Vhd")] @@ -1708,7 +1708,7 @@ pub struct IVdsVDisk_Vtbl { pub GetHostVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDeviceName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsVdProvider, IVdsVdProvider_Vtbl, 0xb481498c_8354_45f9_84a0_0bdd2832a91f); +windows_core::imp::define_interface!(IVdsVdProvider, IVdsVdProvider_Vtbl, 0xb481498c_8354_45f9_84a0_0bdd2832a91f); windows_core::imp::interface_hierarchy!(IVdsVdProvider, windows_core::IUnknown); impl IVdsVdProvider { pub unsafe fn QueryVDisks(&self) -> windows_core::Result { @@ -1760,7 +1760,7 @@ pub struct IVdsVdProvider_Vtbl { pub GetDiskFromVDisk: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVDiskFromDisk: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsVolume, IVdsVolume_Vtbl, 0x88306bb2_e71f_478c_86a2_79da200a0f11); +windows_core::imp::define_interface!(IVdsVolume, IVdsVolume_Vtbl, 0x88306bb2_e71f_478c_86a2_79da200a0f11); windows_core::imp::interface_hierarchy!(IVdsVolume, windows_core::IUnknown); impl IVdsVolume { pub unsafe fn GetProperties(&self, pvolumeproperties: *mut VDS_VOLUME_PROP) -> windows_core::Result<()> { @@ -1825,7 +1825,7 @@ pub struct IVdsVolume_Vtbl { pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub ClearFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsVolume2, IVdsVolume2_Vtbl, 0x72ae6713_dcbb_4a03_b36b_371f6ac6b53d); +windows_core::imp::define_interface!(IVdsVolume2, IVdsVolume2_Vtbl, 0x72ae6713_dcbb_4a03_b36b_371f6ac6b53d); windows_core::imp::interface_hierarchy!(IVdsVolume2, windows_core::IUnknown); impl IVdsVolume2 { pub unsafe fn GetProperties2(&self, pvolumeproperties: *mut VDS_VOLUME_PROP2) -> windows_core::Result<()> { @@ -1837,7 +1837,7 @@ pub struct IVdsVolume2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetProperties2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VDS_VOLUME_PROP2) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsVolumeMF, IVdsVolumeMF_Vtbl, 0xee2d5ded_6236_4169_931d_b9778ce03dc6); +windows_core::imp::define_interface!(IVdsVolumeMF, IVdsVolumeMF_Vtbl, 0xee2d5ded_6236_4169_931d_b9778ce03dc6); windows_core::imp::interface_hierarchy!(IVdsVolumeMF, windows_core::IUnknown); impl IVdsVolumeMF { pub unsafe fn GetFileSystemProperties(&self, pfilesystemprop: *mut VDS_FILE_SYSTEM_PROP) -> windows_core::Result<()> { @@ -1903,7 +1903,7 @@ pub struct IVdsVolumeMF_Vtbl { pub SetFileSystemFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ClearFileSystemFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsVolumeMF2, IVdsVolumeMF2_Vtbl, 0x4dbcee9a_6343_4651_b85f_5e75d74d983c); +windows_core::imp::define_interface!(IVdsVolumeMF2, IVdsVolumeMF2_Vtbl, 0x4dbcee9a_6343_4651_b85f_5e75d74d983c); windows_core::imp::interface_hierarchy!(IVdsVolumeMF2, windows_core::IUnknown); impl IVdsVolumeMF2 { pub unsafe fn GetFileSystemTypeName(&self) -> windows_core::Result { @@ -1932,7 +1932,7 @@ pub struct IVdsVolumeMF2_Vtbl { pub QueryFileSystemFormatSupport: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut VDS_FILE_SYSTEM_FORMAT_SUPPORT_PROP, *mut i32) -> windows_core::HRESULT, pub FormatEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u16, u32, windows_core::PCWSTR, super::super::Foundation::BOOL, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsVolumeMF3, IVdsVolumeMF3_Vtbl, 0x6788faf9_214e_4b85_ba59_266953616e09); +windows_core::imp::define_interface!(IVdsVolumeMF3, IVdsVolumeMF3_Vtbl, 0x6788faf9_214e_4b85_ba59_266953616e09); windows_core::imp::interface_hierarchy!(IVdsVolumeMF3, windows_core::IUnknown); impl IVdsVolumeMF3 { pub unsafe fn QueryVolumeGuidPathnames(&self, pwszpatharray: *mut *mut windows_core::PWSTR, pulnumberofpaths: *mut u32) -> windows_core::Result<()> { @@ -1957,7 +1957,7 @@ pub struct IVdsVolumeMF3_Vtbl { pub FormatEx2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u16, u32, windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OfflineVolume: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsVolumeOnline, IVdsVolumeOnline_Vtbl, 0x1be2275a_b315_4f70_9e44_879b3a2a53f2); +windows_core::imp::define_interface!(IVdsVolumeOnline, IVdsVolumeOnline_Vtbl, 0x1be2275a_b315_4f70_9e44_879b3a2a53f2); windows_core::imp::interface_hierarchy!(IVdsVolumeOnline, windows_core::IUnknown); impl IVdsVolumeOnline { pub unsafe fn Online(&self) -> windows_core::Result<()> { @@ -1969,7 +1969,7 @@ pub struct IVdsVolumeOnline_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Online: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsVolumePlex, IVdsVolumePlex_Vtbl, 0x4daa0135_e1d1_40f1_aaa5_3cc1e53221c3); +windows_core::imp::define_interface!(IVdsVolumePlex, IVdsVolumePlex_Vtbl, 0x4daa0135_e1d1_40f1_aaa5_3cc1e53221c3); windows_core::imp::interface_hierarchy!(IVdsVolumePlex, windows_core::IUnknown); impl IVdsVolumePlex { pub unsafe fn GetProperties(&self, pplexproperties: *mut VDS_VOLUME_PLEX_PROP) -> windows_core::Result<()> { @@ -1995,7 +1995,7 @@ pub struct IVdsVolumePlex_Vtbl { pub QueryExtents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut VDS_DISK_EXTENT, *mut i32) -> windows_core::HRESULT, pub Repair: unsafe extern "system" fn(*mut core::ffi::c_void, *const VDS_INPUT_DISK, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVdsVolumeShrink, IVdsVolumeShrink_Vtbl, 0xd68168c9_82a2_4f85_b6e9_74707c49a58f); +windows_core::imp::define_interface!(IVdsVolumeShrink, IVdsVolumeShrink_Vtbl, 0xd68168c9_82a2_4f85_b6e9_74707c49a58f); windows_core::imp::interface_hierarchy!(IVdsVolumeShrink, windows_core::IUnknown); impl IVdsVolumeShrink { pub unsafe fn QueryMaxReclaimableBytes(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs index 83370198c3..4ac3540dda 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Vss/mod.rs @@ -4,7 +4,7 @@ pub unsafe fn CreateVssExpressWriterInternal() -> windows_core::Result windows_core::Result<()> { @@ -29,7 +29,7 @@ pub struct IVssAdmin_Vtbl { pub QueryProviders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AbortAllSnapshotsInProgress: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssAdminEx, IVssAdminEx_Vtbl, 0x7858a9f8_b1fa_41a6_964f_b9b36b8cd8d8); +windows_core::imp::define_interface!(IVssAdminEx, IVssAdminEx_Vtbl, 0x7858a9f8_b1fa_41a6_964f_b9b36b8cd8d8); windows_core::imp::interface_hierarchy!(IVssAdminEx, windows_core::IUnknown, IVssAdmin); impl IVssAdminEx { pub unsafe fn RegisterProvider(&self, pproviderid: windows_core::GUID, classid: windows_core::GUID, pwszprovidername: *const u16, eprovidertype: VSS_PROVIDER_TYPE, pwszproviderversion: *const u16, providerversionid: windows_core::GUID) -> windows_core::Result<()> { @@ -64,7 +64,7 @@ pub struct IVssAdminEx_Vtbl { pub GetProviderContext: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut i32) -> windows_core::HRESULT, pub SetProviderContext: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssAsync, IVssAsync_Vtbl, 0x507c37b4_cf5b_4e95_b0af_14eb9767467e); +windows_core::imp::define_interface!(IVssAsync, IVssAsync_Vtbl, 0x507c37b4_cf5b_4e95_b0af_14eb9767467e); windows_core::imp::interface_hierarchy!(IVssAsync, windows_core::IUnknown); impl IVssAsync { pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -84,7 +84,7 @@ pub struct IVssAsync_Vtbl { pub Wait: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub QueryStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssComponent, IVssComponent_Vtbl, 0xd2c72c96_c121_4518_b627_e5a93d010ead); +windows_core::imp::define_interface!(IVssComponent, IVssComponent_Vtbl, 0xd2c72c96_c121_4518_b627_e5a93d010ead); windows_core::imp::interface_hierarchy!(IVssComponent, windows_core::IUnknown); impl IVssComponent { pub unsafe fn GetLogicalPath(&self, pbstrpath: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -286,7 +286,7 @@ pub struct IVssComponent_Vtbl { 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, } -windows_core::imp::com_interface!(IVssComponentEx, IVssComponentEx_Vtbl, 0x156c8b5e_f131_4bd7_9c97_d1923be7e1fa); +windows_core::imp::define_interface!(IVssComponentEx, IVssComponentEx_Vtbl, 0x156c8b5e_f131_4bd7_9c97_d1923be7e1fa); windows_core::imp::interface_hierarchy!(IVssComponentEx, windows_core::IUnknown, IVssComponent); impl IVssComponentEx { pub unsafe fn GetLogicalPath(&self, pbstrpath: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -488,7 +488,7 @@ pub struct IVssComponentEx_Vtbl { 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, } -windows_core::imp::com_interface!(IVssComponentEx2, IVssComponentEx2_Vtbl, 0x3b5be0f2_07a9_4e4b_bdd3_cfdc8e2c0d2d); +windows_core::imp::define_interface!(IVssComponentEx2, IVssComponentEx2_Vtbl, 0x3b5be0f2_07a9_4e4b_bdd3_cfdc8e2c0d2d); windows_core::imp::interface_hierarchy!(IVssComponentEx2, windows_core::IUnknown, IVssComponent, IVssComponentEx); impl IVssComponentEx2 { pub unsafe fn GetLogicalPath(&self, pbstrpath: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -694,7 +694,7 @@ pub struct IVssComponentEx2_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, } -windows_core::imp::com_interface!(IVssCreateExpressWriterMetadata, IVssCreateExpressWriterMetadata_Vtbl, 0x9c772e77_b26e_427f_92dd_c996f41ea5e3); +windows_core::imp::define_interface!(IVssCreateExpressWriterMetadata, IVssCreateExpressWriterMetadata_Vtbl, 0x9c772e77_b26e_427f_92dd_c996f41ea5e3); windows_core::imp::interface_hierarchy!(IVssCreateExpressWriterMetadata, windows_core::IUnknown); impl IVssCreateExpressWriterMetadata { pub unsafe fn AddExcludeFiles(&self, wszpath: P0, wszfilespec: P1, brecursive: u8) -> windows_core::Result<()> @@ -757,7 +757,7 @@ pub struct IVssCreateExpressWriterMetadata_Vtbl { 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, } -windows_core::imp::interface!(IVssCreateWriterMetadata, IVssCreateWriterMetadata_Vtbl); +windows_core::imp::define_interface!(IVssCreateWriterMetadata, IVssCreateWriterMetadata_Vtbl); impl IVssCreateWriterMetadata { pub unsafe fn AddIncludeFiles(&self, wszpath: P0, wszfilespec: P1, brecursive: u8, wszalternatelocation: P2) -> windows_core::Result<()> where @@ -864,7 +864,7 @@ pub struct IVssCreateWriterMetadata_Vtbl { GetDocument: usize, pub SaveAsXML: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssDifferentialSoftwareSnapshotMgmt, IVssDifferentialSoftwareSnapshotMgmt_Vtbl, 0x214a0f28_b737_4026_b847_4f9e37d79529); +windows_core::imp::define_interface!(IVssDifferentialSoftwareSnapshotMgmt, IVssDifferentialSoftwareSnapshotMgmt_Vtbl, 0x214a0f28_b737_4026_b847_4f9e37d79529); windows_core::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt, windows_core::IUnknown); impl IVssDifferentialSoftwareSnapshotMgmt { pub unsafe fn AddDiffArea(&self, pwszvolumename: *const u16, pwszdiffareavolumename: *const u16, llmaximumdiffspace: i64) -> windows_core::Result<()> { @@ -900,7 +900,7 @@ pub struct IVssDifferentialSoftwareSnapshotMgmt_Vtbl { pub QueryDiffAreasOnVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub QueryDiffAreasForSnapshot: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssDifferentialSoftwareSnapshotMgmt2, IVssDifferentialSoftwareSnapshotMgmt2_Vtbl, 0x949d7353_675f_4275_8969_f044c6277815); +windows_core::imp::define_interface!(IVssDifferentialSoftwareSnapshotMgmt2, IVssDifferentialSoftwareSnapshotMgmt2_Vtbl, 0x949d7353_675f_4275_8969_f044c6277815); windows_core::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt2, windows_core::IUnknown, IVssDifferentialSoftwareSnapshotMgmt); impl IVssDifferentialSoftwareSnapshotMgmt2 { pub unsafe fn AddDiffArea(&self, pwszvolumename: *const u16, pwszdiffareavolumename: *const u16, llmaximumdiffspace: i64) -> windows_core::Result<()> { @@ -950,7 +950,7 @@ pub struct IVssDifferentialSoftwareSnapshotMgmt2_Vtbl { pub QueryMigrationStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, *const u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSnapshotPriority: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssDifferentialSoftwareSnapshotMgmt3, IVssDifferentialSoftwareSnapshotMgmt3_Vtbl, 0x383f7e71_a4c5_401f_b27f_f826289f8458); +windows_core::imp::define_interface!(IVssDifferentialSoftwareSnapshotMgmt3, IVssDifferentialSoftwareSnapshotMgmt3_Vtbl, 0x383f7e71_a4c5_401f_b27f_f826289f8458); windows_core::imp::interface_hierarchy!(IVssDifferentialSoftwareSnapshotMgmt3, windows_core::IUnknown, IVssDifferentialSoftwareSnapshotMgmt, IVssDifferentialSoftwareSnapshotMgmt2); impl IVssDifferentialSoftwareSnapshotMgmt3 { pub unsafe fn AddDiffArea(&self, pwszvolumename: *const u16, pwszdiffareavolumename: *const u16, llmaximumdiffspace: i64) -> windows_core::Result<()> { @@ -1016,7 +1016,7 @@ pub struct IVssDifferentialSoftwareSnapshotMgmt3_Vtbl { pub DeleteUnusedDiffAreas: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16) -> windows_core::HRESULT, pub QuerySnapshotDeltaBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, windows_core::GUID, *mut u32, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssEnumMgmtObject, IVssEnumMgmtObject_Vtbl, 0x01954e6b_9254_4e6e_808c_c9e05d007696); +windows_core::imp::define_interface!(IVssEnumMgmtObject, IVssEnumMgmtObject_Vtbl, 0x01954e6b_9254_4e6e_808c_c9e05d007696); windows_core::imp::interface_hierarchy!(IVssEnumMgmtObject, windows_core::IUnknown); impl IVssEnumMgmtObject { pub unsafe fn Next(&self, rgelt: &mut [VSS_MGMT_OBJECT_PROP], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -1040,7 +1040,7 @@ pub struct IVssEnumMgmtObject_Vtbl { 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, } -windows_core::imp::com_interface!(IVssEnumObject, IVssEnumObject_Vtbl, 0xae1c7110_2f60_11d3_8a39_00c04f72d8e3); +windows_core::imp::define_interface!(IVssEnumObject, IVssEnumObject_Vtbl, 0xae1c7110_2f60_11d3_8a39_00c04f72d8e3); windows_core::imp::interface_hierarchy!(IVssEnumObject, windows_core::IUnknown); impl IVssEnumObject { pub unsafe fn Next(&self, rgelt: &mut [VSS_OBJECT_PROP], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -1064,7 +1064,7 @@ pub struct IVssEnumObject_Vtbl { 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, } -windows_core::imp::com_interface!(IVssExpressWriter, IVssExpressWriter_Vtbl, 0xe33affdc_59c7_47b1_97d5_4266598f6235); +windows_core::imp::define_interface!(IVssExpressWriter, IVssExpressWriter_Vtbl, 0xe33affdc_59c7_47b1_97d5_4266598f6235); windows_core::imp::interface_hierarchy!(IVssExpressWriter, windows_core::IUnknown); impl IVssExpressWriter { pub unsafe fn CreateMetadata(&self, writerid: windows_core::GUID, writername: P0, usagetype: VSS_USAGE_TYPE, versionmajor: u32, versionminor: u32, reserved: u32) -> windows_core::Result @@ -1095,7 +1095,7 @@ pub struct IVssExpressWriter_Vtbl { pub Register: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Unregister: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssFileShareSnapshotProvider, IVssFileShareSnapshotProvider_Vtbl, 0xc8636060_7c2e_11df_8c4a_0800200c9a66); +windows_core::imp::define_interface!(IVssFileShareSnapshotProvider, IVssFileShareSnapshotProvider_Vtbl, 0xc8636060_7c2e_11df_8c4a_0800200c9a66); windows_core::imp::interface_hierarchy!(IVssFileShareSnapshotProvider, windows_core::IUnknown); impl IVssFileShareSnapshotProvider { pub unsafe fn SetContext(&self, lcontext: i32) -> windows_core::Result<()> { @@ -1143,7 +1143,7 @@ pub struct IVssFileShareSnapshotProvider_Vtbl { 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, } -windows_core::imp::com_interface!(IVssHardwareSnapshotProvider, IVssHardwareSnapshotProvider_Vtbl, 0x9593a157_44e9_4344_bbeb_44fbf9b06b10); +windows_core::imp::define_interface!(IVssHardwareSnapshotProvider, IVssHardwareSnapshotProvider_Vtbl, 0x9593a157_44e9_4344_bbeb_44fbf9b06b10); windows_core::imp::interface_hierarchy!(IVssHardwareSnapshotProvider, windows_core::IUnknown); impl IVssHardwareSnapshotProvider { #[cfg(feature = "Win32_Storage_VirtualDiskService")] @@ -1199,7 +1199,7 @@ pub struct IVssHardwareSnapshotProvider_Vtbl { #[cfg(not(feature = "Win32_Storage_VirtualDiskService"))] OnLunEmpty: usize, } -windows_core::imp::com_interface!(IVssHardwareSnapshotProviderEx, IVssHardwareSnapshotProviderEx_Vtbl, 0x7f5ba925_cdb1_4d11_a71f_339eb7e709fd); +windows_core::imp::define_interface!(IVssHardwareSnapshotProviderEx, IVssHardwareSnapshotProviderEx_Vtbl, 0x7f5ba925_cdb1_4d11_a71f_339eb7e709fd); windows_core::imp::interface_hierarchy!(IVssHardwareSnapshotProviderEx, windows_core::IUnknown, IVssHardwareSnapshotProvider); impl IVssHardwareSnapshotProviderEx { #[cfg(feature = "Win32_Storage_VirtualDiskService")] @@ -1261,7 +1261,7 @@ pub struct IVssHardwareSnapshotProviderEx_Vtbl { #[cfg(not(feature = "Win32_Storage_VirtualDiskService"))] OnReuseLuns: usize, } -windows_core::imp::com_interface!(IVssProviderCreateSnapshotSet, IVssProviderCreateSnapshotSet_Vtbl, 0x5f894e5b_1e39_4778_8e23_9abad9f0e08c); +windows_core::imp::define_interface!(IVssProviderCreateSnapshotSet, IVssProviderCreateSnapshotSet_Vtbl, 0x5f894e5b_1e39_4778_8e23_9abad9f0e08c); windows_core::imp::interface_hierarchy!(IVssProviderCreateSnapshotSet, windows_core::IUnknown); impl IVssProviderCreateSnapshotSet { pub unsafe fn EndPrepareSnapshots(&self, snapshotsetid: windows_core::GUID) -> windows_core::Result<()> { @@ -1297,7 +1297,7 @@ pub struct IVssProviderCreateSnapshotSet_Vtbl { pub PostFinalCommitSnapshots: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub AbortSnapshots: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssProviderNotifications, IVssProviderNotifications_Vtbl, 0xe561901f_03a5_4afe_86d0_72baeece7004); +windows_core::imp::define_interface!(IVssProviderNotifications, IVssProviderNotifications_Vtbl, 0xe561901f_03a5_4afe_86d0_72baeece7004); windows_core::imp::interface_hierarchy!(IVssProviderNotifications, windows_core::IUnknown); impl IVssProviderNotifications { pub unsafe fn OnLoad(&self, pcallback: P0) -> windows_core::Result<()> @@ -1319,7 +1319,7 @@ pub struct IVssProviderNotifications_Vtbl { pub OnLoad: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnUnload: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssSnapshotMgmt, IVssSnapshotMgmt_Vtbl, 0xfa7df749_66e7_4986_a27f_e2f04ae53772); +windows_core::imp::define_interface!(IVssSnapshotMgmt, IVssSnapshotMgmt_Vtbl, 0xfa7df749_66e7_4986_a27f_e2f04ae53772); 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 { @@ -1342,7 +1342,7 @@ pub struct IVssSnapshotMgmt_Vtbl { pub QueryVolumesSupportedForSnapshots: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub QuerySnapshotsByVolume: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssSnapshotMgmt2, IVssSnapshotMgmt2_Vtbl, 0x0f61ec39_fe82_45f2_a3f0_768b5d427102); +windows_core::imp::define_interface!(IVssSnapshotMgmt2, IVssSnapshotMgmt2_Vtbl, 0x0f61ec39_fe82_45f2_a3f0_768b5d427102); windows_core::imp::interface_hierarchy!(IVssSnapshotMgmt2, windows_core::IUnknown); impl IVssSnapshotMgmt2 { pub unsafe fn GetMinDiffAreaSize(&self) -> windows_core::Result { @@ -1355,7 +1355,7 @@ pub struct IVssSnapshotMgmt2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetMinDiffAreaSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVssSoftwareSnapshotProvider, IVssSoftwareSnapshotProvider_Vtbl, 0x609e123e_2c5a_44d3_8f01_0b1d9a47d1ff); +windows_core::imp::define_interface!(IVssSoftwareSnapshotProvider, IVssSoftwareSnapshotProvider_Vtbl, 0x609e123e_2c5a_44d3_8f01_0b1d9a47d1ff); windows_core::imp::interface_hierarchy!(IVssSoftwareSnapshotProvider, windows_core::IUnknown); impl IVssSoftwareSnapshotProvider { pub unsafe fn SetContext(&self, lcontext: i32) -> windows_core::Result<()> { @@ -1412,7 +1412,7 @@ pub struct IVssSoftwareSnapshotProvider_Vtbl { 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, } -windows_core::imp::com_interface!(IVssWMDependency, IVssWMDependency_Vtbl, 0); +windows_core::imp::define_interface!(IVssWMDependency, IVssWMDependency_Vtbl, 0); windows_core::imp::interface_hierarchy!(IVssWMDependency, windows_core::IUnknown); impl IVssWMDependency { pub unsafe fn GetWriterId(&self, pwriterid: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -1432,7 +1432,7 @@ pub struct IVssWMDependency_Vtbl { 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, } -windows_core::imp::com_interface!(IVssWMFiledesc, IVssWMFiledesc_Vtbl, 0); +windows_core::imp::define_interface!(IVssWMFiledesc, IVssWMFiledesc_Vtbl, 0); windows_core::imp::interface_hierarchy!(IVssWMFiledesc, windows_core::IUnknown); impl IVssWMFiledesc { pub unsafe fn GetPath(&self) -> windows_core::Result { @@ -1465,7 +1465,7 @@ pub struct IVssWMFiledesc_Vtbl { pub GetAlternateLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub GetBackupTypeMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(IVssWriterComponents, IVssWriterComponents_Vtbl); +windows_core::imp::define_interface!(IVssWriterComponents, IVssWriterComponents_Vtbl); impl IVssWriterComponents { pub unsafe fn GetComponentCount(&self, pccomponents: *mut u32) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).GetComponentCount)(windows_core::Interface::as_raw(self), pccomponents).ok() 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 202ecbd2c7..cf0ca05f42 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 @@ -24,7 +24,7 @@ where StartXpsPrintJob1(printername.into_param().abi(), jobname.into_param().abi(), outputfilename.into_param().abi(), progressevent.into_param().abi(), completionevent.into_param().abi(), core::mem::transmute(xpsprintjob), core::mem::transmute(printcontentreceiver)).ok() } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrintDocumentPackageStatusEvent, IPrintDocumentPackageStatusEvent_Vtbl, 0xed90c8ad_5c34_4d05_a1ec_0e8a9b3ad7af); +windows_core::imp::define_interface!(IPrintDocumentPackageStatusEvent, IPrintDocumentPackageStatusEvent_Vtbl, 0xed90c8ad_5c34_4d05_a1ec_0e8a9b3ad7af); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrintDocumentPackageStatusEvent, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -39,7 +39,7 @@ pub struct IPrintDocumentPackageStatusEvent_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, pub PackageStatusUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *const PrintDocumentPackageStatus) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintDocumentPackageTarget, IPrintDocumentPackageTarget_Vtbl, 0x1b8efec4_3019_4c27_964e_367202156906); +windows_core::imp::define_interface!(IPrintDocumentPackageTarget, IPrintDocumentPackageTarget_Vtbl, 0x1b8efec4_3019_4c27_964e_367202156906); windows_core::imp::interface_hierarchy!(IPrintDocumentPackageTarget, windows_core::IUnknown); impl IPrintDocumentPackageTarget { pub unsafe fn GetPackageTargetTypes(&self, targetcount: *mut u32, targettypes: *mut *mut windows_core::GUID) -> windows_core::Result<()> { @@ -63,7 +63,7 @@ pub struct IPrintDocumentPackageTarget_Vtbl { pub GetPackageTarget: 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 Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintDocumentPackageTarget2, IPrintDocumentPackageTarget2_Vtbl, 0xc560298a_535c_48f9_866a_632540660cb4); +windows_core::imp::define_interface!(IPrintDocumentPackageTarget2, IPrintDocumentPackageTarget2_Vtbl, 0xc560298a_535c_48f9_866a_632540660cb4); windows_core::imp::interface_hierarchy!(IPrintDocumentPackageTarget2, windows_core::IUnknown); impl IPrintDocumentPackageTarget2 { pub unsafe fn GetIsTargetIppPrinter(&self) -> windows_core::Result { @@ -84,7 +84,7 @@ pub struct IPrintDocumentPackageTarget2_Vtbl { pub GetIsTargetIppPrinter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetTargetIppPrintDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintDocumentPackageTargetFactory, IPrintDocumentPackageTargetFactory_Vtbl, 0xd2959bf7_b31b_4a3d_9600_712eb1335ba4); +windows_core::imp::define_interface!(IPrintDocumentPackageTargetFactory, IPrintDocumentPackageTargetFactory_Vtbl, 0xd2959bf7_b31b_4a3d_9600_712eb1335ba4); windows_core::imp::interface_hierarchy!(IPrintDocumentPackageTargetFactory, windows_core::IUnknown); impl IPrintDocumentPackageTargetFactory { #[cfg(feature = "Win32_System_Com")] @@ -107,7 +107,7 @@ pub struct IPrintDocumentPackageTargetFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateDocumentPackageTargetForPrintJob: usize, } -windows_core::imp::com_interface!(IXpsPrintJob, IXpsPrintJob_Vtbl, 0x5ab89b06_8194_425f_ab3b_d7a96e350161); +windows_core::imp::define_interface!(IXpsPrintJob, IXpsPrintJob_Vtbl, 0x5ab89b06_8194_425f_ab3b_d7a96e350161); windows_core::imp::interface_hierarchy!(IXpsPrintJob, windows_core::IUnknown); impl IXpsPrintJob { pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -124,7 +124,7 @@ pub struct IXpsPrintJob_Vtbl { pub GetJobStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_JOB_STATUS) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IXpsPrintJobStream, IXpsPrintJobStream_Vtbl, 0x7a77dc5f_45d6_4dff_9307_d8cb846347ca); +windows_core::imp::define_interface!(IXpsPrintJobStream, IXpsPrintJobStream_Vtbl, 0x7a77dc5f_45d6_4dff_9307_d8cb846347ca); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IXpsPrintJobStream, windows_core::IUnknown, super::super::super::System::Com::ISequentialStream); #[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 b75d99813b..6a840a3a63 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/mod.rs @@ -111,7 +111,7 @@ where windows_targets::link!("gdi32.dll" "system" fn StartPage(hdc : super::super::Graphics::Gdi:: HDC) -> i32); StartPage(hdc.into_param().abi()) } -windows_core::imp::com_interface!(IXpsDocumentPackageTarget, IXpsDocumentPackageTarget_Vtbl, 0x3b0b6d38_53ad_41da_b212_d37637a6714e); +windows_core::imp::define_interface!(IXpsDocumentPackageTarget, IXpsDocumentPackageTarget_Vtbl, 0x3b0b6d38_53ad_41da_b212_d37637a6714e); windows_core::imp::interface_hierarchy!(IXpsDocumentPackageTarget, windows_core::IUnknown); impl IXpsDocumentPackageTarget { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -142,7 +142,7 @@ pub struct IXpsDocumentPackageTarget_Vtbl { pub GetXpsOMFactory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetXpsType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_DOCUMENT_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsDocumentPackageTarget3D, IXpsDocumentPackageTarget3D_Vtbl, 0x60ba71b8_3101_4984_9199_f4ea775ff01d); +windows_core::imp::define_interface!(IXpsDocumentPackageTarget3D, IXpsDocumentPackageTarget3D_Vtbl, 0x60ba71b8_3101_4984_9199_f4ea775ff01d); windows_core::imp::interface_hierarchy!(IXpsDocumentPackageTarget3D, windows_core::IUnknown); impl IXpsDocumentPackageTarget3D { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -170,7 +170,7 @@ pub struct IXpsDocumentPackageTarget3D_Vtbl { GetXpsOMPackageWriter3D: usize, pub GetXpsOMFactory: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMBrush, IXpsOMBrush_Vtbl, 0x56a3f80c_ea4c_4187_a57b_a2a473b2b42b); +windows_core::imp::define_interface!(IXpsOMBrush, IXpsOMBrush_Vtbl, 0x56a3f80c_ea4c_4187_a57b_a2a473b2b42b); windows_core::imp::interface_hierarchy!(IXpsOMBrush, windows_core::IUnknown, IXpsOMShareable); impl IXpsOMBrush { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -195,7 +195,7 @@ pub struct IXpsOMBrush_Vtbl { pub GetOpacity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetOpacity: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMCanvas, IXpsOMCanvas_Vtbl, 0x221d1452_331e_47c6_87e9_6ccefb9b5ba3); +windows_core::imp::define_interface!(IXpsOMCanvas, IXpsOMCanvas_Vtbl, 0x221d1452_331e_47c6_87e9_6ccefb9b5ba3); windows_core::imp::interface_hierarchy!(IXpsOMCanvas, windows_core::IUnknown, IXpsOMShareable, IXpsOMVisual); impl IXpsOMCanvas { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -407,7 +407,7 @@ pub struct IXpsOMCanvas_Vtbl { pub SetDictionaryResource: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IXpsOMColorProfileResource, IXpsOMColorProfileResource_Vtbl, 0x67bd7d69_1eef_4bb1_b5e7_6f4f87be8abe); +windows_core::imp::define_interface!(IXpsOMColorProfileResource, IXpsOMColorProfileResource_Vtbl, 0x67bd7d69_1eef_4bb1_b5e7_6f4f87be8abe); windows_core::imp::interface_hierarchy!(IXpsOMColorProfileResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMColorProfileResource { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -448,7 +448,7 @@ pub struct IXpsOMColorProfileResource_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] SetContent: usize, } -windows_core::imp::com_interface!(IXpsOMColorProfileResourceCollection, IXpsOMColorProfileResourceCollection_Vtbl, 0x12759630_5fba_4283_8f7d_cca849809edb); +windows_core::imp::define_interface!(IXpsOMColorProfileResourceCollection, IXpsOMColorProfileResourceCollection_Vtbl, 0x12759630_5fba_4283_8f7d_cca849809edb); windows_core::imp::interface_hierarchy!(IXpsOMColorProfileResourceCollection, windows_core::IUnknown); impl IXpsOMColorProfileResourceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -503,7 +503,7 @@ pub struct IXpsOMColorProfileResourceCollection_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] GetByPartName: usize, } -windows_core::imp::com_interface!(IXpsOMCoreProperties, IXpsOMCoreProperties_Vtbl, 0x3340fe8f_4027_4aa1_8f5f_d35ae45fe597); +windows_core::imp::define_interface!(IXpsOMCoreProperties, IXpsOMCoreProperties_Vtbl, 0x3340fe8f_4027_4aa1_8f5f_d35ae45fe597); windows_core::imp::interface_hierarchy!(IXpsOMCoreProperties, windows_core::IUnknown, IXpsOMPart); impl IXpsOMCoreProperties { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -716,7 +716,7 @@ pub struct IXpsOMCoreProperties_Vtbl { pub SetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMDashCollection, IXpsOMDashCollection_Vtbl, 0x081613f4_74eb_48f2_83b3_37a9ce2d7dc6); +windows_core::imp::define_interface!(IXpsOMDashCollection, IXpsOMDashCollection_Vtbl, 0x081613f4_74eb_48f2_83b3_37a9ce2d7dc6); windows_core::imp::interface_hierarchy!(IXpsOMDashCollection, windows_core::IUnknown); impl IXpsOMDashCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -750,7 +750,7 @@ pub struct IXpsOMDashCollection_Vtbl { pub SetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const XPS_DASH) -> windows_core::HRESULT, pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *const XPS_DASH) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMDictionary, IXpsOMDictionary_Vtbl, 0x897c86b8_8eaf_4ae3_bdde_56419fcf4236); +windows_core::imp::define_interface!(IXpsOMDictionary, IXpsOMDictionary_Vtbl, 0x897c86b8_8eaf_4ae3_bdde_56419fcf4236); windows_core::imp::interface_hierarchy!(IXpsOMDictionary, windows_core::IUnknown); impl IXpsOMDictionary { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -823,7 +823,7 @@ pub struct IXpsOMDictionary_Vtbl { pub SetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, *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, } -windows_core::imp::com_interface!(IXpsOMDocument, IXpsOMDocument_Vtbl, 0x2c2c94cb_ac5f_4254_8ee9_23948309d9f0); +windows_core::imp::define_interface!(IXpsOMDocument, IXpsOMDocument_Vtbl, 0x2c2c94cb_ac5f_4254_8ee9_23948309d9f0); windows_core::imp::interface_hierarchy!(IXpsOMDocument, windows_core::IUnknown, IXpsOMPart); impl IXpsOMDocument { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -887,7 +887,7 @@ pub struct IXpsOMDocument_Vtbl { pub GetSignatureBlockResources: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IXpsOMDocumentCollection, IXpsOMDocumentCollection_Vtbl, 0xd1c87f0d_e947_4754_8a25_971478f7e83e); +windows_core::imp::define_interface!(IXpsOMDocumentCollection, IXpsOMDocumentCollection_Vtbl, 0xd1c87f0d_e947_4754_8a25_971478f7e83e); windows_core::imp::interface_hierarchy!(IXpsOMDocumentCollection, windows_core::IUnknown); impl IXpsOMDocumentCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -930,7 +930,7 @@ pub struct IXpsOMDocumentCollection_Vtbl { pub SetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMDocumentSequence, IXpsOMDocumentSequence_Vtbl, 0x56492eb4_d8d5_425e_8256_4c2b64ad0264); +windows_core::imp::define_interface!(IXpsOMDocumentSequence, IXpsOMDocumentSequence_Vtbl, 0x56492eb4_d8d5_425e_8256_4c2b64ad0264); windows_core::imp::interface_hierarchy!(IXpsOMDocumentSequence, windows_core::IUnknown, IXpsOMPart); impl IXpsOMDocumentSequence { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -972,7 +972,7 @@ pub struct IXpsOMDocumentSequence_Vtbl { pub GetPrintTicketResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPrintTicketResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMDocumentStructureResource, IXpsOMDocumentStructureResource_Vtbl, 0x85febc8a_6b63_48a9_af07_7064e4ecff30); +windows_core::imp::define_interface!(IXpsOMDocumentStructureResource, IXpsOMDocumentStructureResource_Vtbl, 0x85febc8a_6b63_48a9_af07_7064e4ecff30); windows_core::imp::interface_hierarchy!(IXpsOMDocumentStructureResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMDocumentStructureResource { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1018,7 +1018,7 @@ pub struct IXpsOMDocumentStructureResource_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] SetContent: usize, } -windows_core::imp::com_interface!(IXpsOMFontResource, IXpsOMFontResource_Vtbl, 0xa8c45708_47d9_4af4_8d20_33b48c9b8485); +windows_core::imp::define_interface!(IXpsOMFontResource, IXpsOMFontResource_Vtbl, 0xa8c45708_47d9_4af4_8d20_33b48c9b8485); windows_core::imp::interface_hierarchy!(IXpsOMFontResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMFontResource { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1064,7 +1064,7 @@ pub struct IXpsOMFontResource_Vtbl { SetContent: usize, pub GetEmbeddingOption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_FONT_EMBEDDING) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMFontResourceCollection, IXpsOMFontResourceCollection_Vtbl, 0x70b4a6bb_88d4_4fa8_aaf9_6d9c596fdbad); +windows_core::imp::define_interface!(IXpsOMFontResourceCollection, IXpsOMFontResourceCollection_Vtbl, 0x70b4a6bb_88d4_4fa8_aaf9_6d9c596fdbad); windows_core::imp::interface_hierarchy!(IXpsOMFontResourceCollection, windows_core::IUnknown); impl IXpsOMFontResourceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -1119,7 +1119,7 @@ pub struct IXpsOMFontResourceCollection_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] GetByPartName: usize, } -windows_core::imp::com_interface!(IXpsOMGeometry, IXpsOMGeometry_Vtbl, 0x64fcf3d7_4d58_44ba_ad73_a13af6492072); +windows_core::imp::define_interface!(IXpsOMGeometry, IXpsOMGeometry_Vtbl, 0x64fcf3d7_4d58_44ba_ad73_a13af6492072); windows_core::imp::interface_hierarchy!(IXpsOMGeometry, windows_core::IUnknown, IXpsOMShareable); impl IXpsOMGeometry { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -1183,7 +1183,7 @@ pub struct IXpsOMGeometry_Vtbl { pub SetTransformLookup: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMGeometryFigure, IXpsOMGeometryFigure_Vtbl, 0xd410dc83_908c_443e_8947_b1795d3c165a); +windows_core::imp::define_interface!(IXpsOMGeometryFigure, IXpsOMGeometryFigure_Vtbl, 0xd410dc83_908c_443e_8947_b1795d3c165a); windows_core::imp::interface_hierarchy!(IXpsOMGeometryFigure, windows_core::IUnknown); impl IXpsOMGeometryFigure { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -1265,7 +1265,7 @@ pub struct IXpsOMGeometryFigure_Vtbl { pub GetSegmentStrokePattern: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_SEGMENT_STROKE_PATTERN) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMGeometryFigureCollection, IXpsOMGeometryFigureCollection_Vtbl, 0xfd48c3f3_a58e_4b5a_8826_1de54abe72b2); +windows_core::imp::define_interface!(IXpsOMGeometryFigureCollection, IXpsOMGeometryFigureCollection_Vtbl, 0xfd48c3f3_a58e_4b5a_8826_1de54abe72b2); windows_core::imp::interface_hierarchy!(IXpsOMGeometryFigureCollection, windows_core::IUnknown); impl IXpsOMGeometryFigureCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -1308,7 +1308,7 @@ pub struct IXpsOMGeometryFigureCollection_Vtbl { pub SetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMGlyphs, IXpsOMGlyphs_Vtbl, 0x819b3199_0a5a_4b64_bec7_a9e17e780de2); +windows_core::imp::define_interface!(IXpsOMGlyphs, IXpsOMGlyphs_Vtbl, 0x819b3199_0a5a_4b64_bec7_a9e17e780de2); windows_core::imp::interface_hierarchy!(IXpsOMGlyphs, windows_core::IUnknown, IXpsOMShareable, IXpsOMVisual); impl IXpsOMGlyphs { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -1579,7 +1579,7 @@ pub struct IXpsOMGlyphs_Vtbl { pub GetGlyphsEditor: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IXpsOMGlyphsEditor, IXpsOMGlyphsEditor_Vtbl, 0xa5ab8616_5b16_4b9f_9629_89b323ed7909); +windows_core::imp::define_interface!(IXpsOMGlyphsEditor, IXpsOMGlyphsEditor_Vtbl, 0xa5ab8616_5b16_4b9f_9629_89b323ed7909); windows_core::imp::interface_hierarchy!(IXpsOMGlyphsEditor, windows_core::IUnknown); impl IXpsOMGlyphsEditor { pub unsafe fn ApplyEdits(&self) -> windows_core::Result<()> { @@ -1675,7 +1675,7 @@ pub struct IXpsOMGlyphsEditor_Vtbl { pub GetDeviceFontName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub SetDeviceFontName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMGradientBrush, IXpsOMGradientBrush_Vtbl, 0xedb59622_61a2_42c3_bace_acf2286c06bf); +windows_core::imp::define_interface!(IXpsOMGradientBrush, IXpsOMGradientBrush_Vtbl, 0xedb59622_61a2_42c3_bace_acf2286c06bf); windows_core::imp::interface_hierarchy!(IXpsOMGradientBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush); impl IXpsOMGradientBrush { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -1750,7 +1750,7 @@ pub struct IXpsOMGradientBrush_Vtbl { pub GetColorInterpolationMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_COLOR_INTERPOLATION) -> windows_core::HRESULT, pub SetColorInterpolationMode: unsafe extern "system" fn(*mut core::ffi::c_void, XPS_COLOR_INTERPOLATION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMGradientStop, IXpsOMGradientStop_Vtbl, 0x5cf4f5cc_3969_49b5_a70a_5550b618fe49); +windows_core::imp::define_interface!(IXpsOMGradientStop, IXpsOMGradientStop_Vtbl, 0x5cf4f5cc_3969_49b5_a70a_5550b618fe49); windows_core::imp::interface_hierarchy!(IXpsOMGradientStop, windows_core::IUnknown); impl IXpsOMGradientStop { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -1789,7 +1789,7 @@ pub struct IXpsOMGradientStop_Vtbl { pub SetColor: unsafe extern "system" fn(*mut core::ffi::c_void, *const XPS_COLOR, *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, } -windows_core::imp::com_interface!(IXpsOMGradientStopCollection, IXpsOMGradientStopCollection_Vtbl, 0xc9174c3a_3cd3_4319_bda4_11a39392ceef); +windows_core::imp::define_interface!(IXpsOMGradientStopCollection, IXpsOMGradientStopCollection_Vtbl, 0xc9174c3a_3cd3_4319_bda4_11a39392ceef); windows_core::imp::interface_hierarchy!(IXpsOMGradientStopCollection, windows_core::IUnknown); impl IXpsOMGradientStopCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -1832,7 +1832,7 @@ pub struct IXpsOMGradientStopCollection_Vtbl { pub SetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMImageBrush, IXpsOMImageBrush_Vtbl, 0x3df0b466_d382_49ef_8550_dd94c80242e4); +windows_core::imp::define_interface!(IXpsOMImageBrush, IXpsOMImageBrush_Vtbl, 0x3df0b466_d382_49ef_8550_dd94c80242e4); windows_core::imp::interface_hierarchy!(IXpsOMImageBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMTileBrush); impl IXpsOMImageBrush { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -1929,7 +1929,7 @@ pub struct IXpsOMImageBrush_Vtbl { pub SetColorProfileResource: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IXpsOMImageResource, IXpsOMImageResource_Vtbl, 0x3db8417d_ae50_485e_9a44_d7758f78a23f); +windows_core::imp::define_interface!(IXpsOMImageResource, IXpsOMImageResource_Vtbl, 0x3db8417d_ae50_485e_9a44_d7758f78a23f); windows_core::imp::interface_hierarchy!(IXpsOMImageResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMImageResource { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -1975,7 +1975,7 @@ pub struct IXpsOMImageResource_Vtbl { SetContent: usize, pub GetImageType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_IMAGE_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMImageResourceCollection, IXpsOMImageResourceCollection_Vtbl, 0x7a4a1a71_9cde_4b71_b33f_62de843eabfe); +windows_core::imp::define_interface!(IXpsOMImageResourceCollection, IXpsOMImageResourceCollection_Vtbl, 0x7a4a1a71_9cde_4b71_b33f_62de843eabfe); windows_core::imp::interface_hierarchy!(IXpsOMImageResourceCollection, windows_core::IUnknown); impl IXpsOMImageResourceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -2030,7 +2030,7 @@ pub struct IXpsOMImageResourceCollection_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] GetByPartName: usize, } -windows_core::imp::com_interface!(IXpsOMLinearGradientBrush, IXpsOMLinearGradientBrush_Vtbl, 0x005e279f_c30d_40ff_93ec_1950d3c528db); +windows_core::imp::define_interface!(IXpsOMLinearGradientBrush, IXpsOMLinearGradientBrush_Vtbl, 0x005e279f_c30d_40ff_93ec_1950d3c528db); windows_core::imp::interface_hierarchy!(IXpsOMLinearGradientBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMGradientBrush); impl IXpsOMLinearGradientBrush { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -2118,7 +2118,7 @@ pub struct IXpsOMLinearGradientBrush_Vtbl { pub SetEndPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *const XPS_POINT) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMMatrixTransform, IXpsOMMatrixTransform_Vtbl, 0xb77330ff_bb37_4501_a93e_f1b1e50bfc46); +windows_core::imp::define_interface!(IXpsOMMatrixTransform, IXpsOMMatrixTransform_Vtbl, 0xb77330ff_bb37_4501_a93e_f1b1e50bfc46); windows_core::imp::interface_hierarchy!(IXpsOMMatrixTransform, windows_core::IUnknown, IXpsOMShareable); impl IXpsOMMatrixTransform { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -2148,7 +2148,7 @@ pub struct IXpsOMMatrixTransform_Vtbl { pub SetMatrix: unsafe extern "system" fn(*mut core::ffi::c_void, *const XPS_MATRIX) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMNameCollection, IXpsOMNameCollection_Vtbl, 0x4bddf8ec_c915_421b_a166_d173d25653d2); +windows_core::imp::define_interface!(IXpsOMNameCollection, IXpsOMNameCollection_Vtbl, 0x4bddf8ec_c915_421b_a166_d173d25653d2); windows_core::imp::interface_hierarchy!(IXpsOMNameCollection, windows_core::IUnknown); impl IXpsOMNameCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -2166,7 +2166,7 @@ pub struct IXpsOMNameCollection_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 windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMObjectFactory, IXpsOMObjectFactory_Vtbl, 0xf9b2a685_a50d_4fc2_b764_b56e093ea0ca); +windows_core::imp::define_interface!(IXpsOMObjectFactory, IXpsOMObjectFactory_Vtbl, 0xf9b2a685_a50d_4fc2_b764_b56e093ea0ca); windows_core::imp::interface_hierarchy!(IXpsOMObjectFactory, windows_core::IUnknown); impl IXpsOMObjectFactory { pub unsafe fn CreatePackage(&self) -> windows_core::Result { @@ -2544,7 +2544,7 @@ pub struct IXpsOMObjectFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateReadOnlyStreamOnFile: usize, } -windows_core::imp::com_interface!(IXpsOMObjectFactory1, IXpsOMObjectFactory1_Vtbl, 0x0a91b617_d612_4181_bf7c_be5824e9cc8f); +windows_core::imp::define_interface!(IXpsOMObjectFactory1, IXpsOMObjectFactory1_Vtbl, 0x0a91b617_d612_4181_bf7c_be5824e9cc8f); windows_core::imp::interface_hierarchy!(IXpsOMObjectFactory1, windows_core::IUnknown, IXpsOMObjectFactory); impl IXpsOMObjectFactory1 { pub unsafe fn CreatePackage(&self) -> windows_core::Result { @@ -2967,7 +2967,7 @@ pub struct IXpsOMObjectFactory1_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] CreateRemoteDictionaryResourceFromStream1: usize, } -windows_core::imp::com_interface!(IXpsOMPackage, IXpsOMPackage_Vtbl, 0x18c3df65_81e1_4674_91dc_fc452f5a416f); +windows_core::imp::define_interface!(IXpsOMPackage, IXpsOMPackage_Vtbl, 0x18c3df65_81e1_4674_91dc_fc452f5a416f); windows_core::imp::interface_hierarchy!(IXpsOMPackage, windows_core::IUnknown); impl IXpsOMPackage { pub unsafe fn GetDocumentSequence(&self) -> windows_core::Result { @@ -3055,7 +3055,7 @@ pub struct IXpsOMPackage_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] WriteToStream: usize, } -windows_core::imp::com_interface!(IXpsOMPackage1, IXpsOMPackage1_Vtbl, 0x95a9435e_12bb_461b_8e7f_c6adb04cd96a); +windows_core::imp::define_interface!(IXpsOMPackage1, IXpsOMPackage1_Vtbl, 0x95a9435e_12bb_461b_8e7f_c6adb04cd96a); windows_core::imp::interface_hierarchy!(IXpsOMPackage1, windows_core::IUnknown, IXpsOMPackage); impl IXpsOMPackage1 { pub unsafe fn GetDocumentSequence(&self) -> windows_core::Result { @@ -3150,7 +3150,7 @@ pub struct IXpsOMPackage1_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] WriteToStream1: usize, } -windows_core::imp::com_interface!(IXpsOMPackageTarget, IXpsOMPackageTarget_Vtbl, 0x219a9db0_4959_47d0_8034_b1ce84f41a4d); +windows_core::imp::define_interface!(IXpsOMPackageTarget, IXpsOMPackageTarget_Vtbl, 0x219a9db0_4959_47d0_8034_b1ce84f41a4d); windows_core::imp::interface_hierarchy!(IXpsOMPackageTarget, windows_core::IUnknown); impl IXpsOMPackageTarget { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -3172,7 +3172,7 @@ pub struct IXpsOMPackageTarget_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] CreateXpsOMPackageWriter: usize, } -windows_core::imp::com_interface!(IXpsOMPackageWriter, IXpsOMPackageWriter_Vtbl, 0x4e2aa182_a443_42c6_b41b_4f8e9de73ff9); +windows_core::imp::define_interface!(IXpsOMPackageWriter, IXpsOMPackageWriter_Vtbl, 0x4e2aa182_a443_42c6_b41b_4f8e9de73ff9); windows_core::imp::interface_hierarchy!(IXpsOMPackageWriter, windows_core::IUnknown); impl IXpsOMPackageWriter { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -3222,7 +3222,7 @@ pub struct IXpsOMPackageWriter_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsClosed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMPackageWriter3D, IXpsOMPackageWriter3D_Vtbl, 0xe8a45033_640e_43fa_9bdf_fddeaa31c6a0); +windows_core::imp::define_interface!(IXpsOMPackageWriter3D, IXpsOMPackageWriter3D_Vtbl, 0xe8a45033_640e_43fa_9bdf_fddeaa31c6a0); windows_core::imp::interface_hierarchy!(IXpsOMPackageWriter3D, windows_core::IUnknown, IXpsOMPackageWriter); impl IXpsOMPackageWriter3D { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -3288,7 +3288,7 @@ pub struct IXpsOMPackageWriter3D_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] SetModelPrintTicket: usize, } -windows_core::imp::com_interface!(IXpsOMPage, IXpsOMPage_Vtbl, 0xd3e18888_f120_4fee_8c68_35296eae91d4); +windows_core::imp::define_interface!(IXpsOMPage, IXpsOMPage_Vtbl, 0xd3e18888_f120_4fee_8c68_35296eae91d4); windows_core::imp::interface_hierarchy!(IXpsOMPage, windows_core::IUnknown, IXpsOMPart); impl IXpsOMPage { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -3432,7 +3432,7 @@ pub struct IXpsOMPage_Vtbl { pub GenerateUnusedLookupKey: unsafe extern "system" fn(*mut core::ffi::c_void, XPS_OBJECT_TYPE, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMPage1, IXpsOMPage1_Vtbl, 0x305b60ef_6892_4dda_9cbb_3aa65974508a); +windows_core::imp::define_interface!(IXpsOMPage1, IXpsOMPage1_Vtbl, 0x305b60ef_6892_4dda_9cbb_3aa65974508a); windows_core::imp::interface_hierarchy!(IXpsOMPage1, windows_core::IUnknown, IXpsOMPart, IXpsOMPage); impl IXpsOMPage1 { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -3568,7 +3568,7 @@ pub struct IXpsOMPage1_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Write1: usize, } -windows_core::imp::com_interface!(IXpsOMPageReference, IXpsOMPageReference_Vtbl, 0xed360180_6f92_4998_890d_2f208531a0a0); +windows_core::imp::define_interface!(IXpsOMPageReference, IXpsOMPageReference_Vtbl, 0xed360180_6f92_4998_890d_2f208531a0a0); windows_core::imp::interface_hierarchy!(IXpsOMPageReference, windows_core::IUnknown); impl IXpsOMPageReference { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -3667,7 +3667,7 @@ pub struct IXpsOMPageReference_Vtbl { pub HasRestrictedFonts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMPageReferenceCollection, IXpsOMPageReferenceCollection_Vtbl, 0xca16ba4d_e7b9_45c5_958b_f98022473745); +windows_core::imp::define_interface!(IXpsOMPageReferenceCollection, IXpsOMPageReferenceCollection_Vtbl, 0xca16ba4d_e7b9_45c5_958b_f98022473745); windows_core::imp::interface_hierarchy!(IXpsOMPageReferenceCollection, windows_core::IUnknown); impl IXpsOMPageReferenceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -3710,7 +3710,7 @@ pub struct IXpsOMPageReferenceCollection_Vtbl { pub SetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMPart, IXpsOMPart_Vtbl, 0x74eb2f0b_a91e_4486_afac_0fabeca3dfc6); +windows_core::imp::define_interface!(IXpsOMPart, IXpsOMPart_Vtbl, 0x74eb2f0b_a91e_4486_afac_0fabeca3dfc6); windows_core::imp::interface_hierarchy!(IXpsOMPart, windows_core::IUnknown); impl IXpsOMPart { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -3738,7 +3738,7 @@ pub struct IXpsOMPart_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] SetPartName: usize, } -windows_core::imp::com_interface!(IXpsOMPartResources, IXpsOMPartResources_Vtbl, 0xf4cf7729_4864_4275_99b3_a8717163ecaf); +windows_core::imp::define_interface!(IXpsOMPartResources, IXpsOMPartResources_Vtbl, 0xf4cf7729_4864_4275_99b3_a8717163ecaf); windows_core::imp::interface_hierarchy!(IXpsOMPartResources, windows_core::IUnknown); impl IXpsOMPartResources { pub unsafe fn GetFontResources(&self) -> windows_core::Result { @@ -3766,7 +3766,7 @@ pub struct IXpsOMPartResources_Vtbl { pub GetColorProfileResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRemoteDictionaryResources: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMPartUriCollection, IXpsOMPartUriCollection_Vtbl, 0x57c650d4_067c_4893_8c33_f62a0633730f); +windows_core::imp::define_interface!(IXpsOMPartUriCollection, IXpsOMPartUriCollection_Vtbl, 0x57c650d4_067c_4893_8c33_f62a0633730f); windows_core::imp::interface_hierarchy!(IXpsOMPartUriCollection, windows_core::IUnknown); impl IXpsOMPartUriCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -3825,7 +3825,7 @@ pub struct IXpsOMPartUriCollection_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] Append: usize, } -windows_core::imp::com_interface!(IXpsOMPath, IXpsOMPath_Vtbl, 0x37d38bb6_3ee9_4110_9312_14b194163337); +windows_core::imp::define_interface!(IXpsOMPath, IXpsOMPath_Vtbl, 0x37d38bb6_3ee9_4110_9312_14b194163337); windows_core::imp::interface_hierarchy!(IXpsOMPath, windows_core::IUnknown, IXpsOMShareable, IXpsOMVisual); impl IXpsOMPath { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -4158,7 +4158,7 @@ pub struct IXpsOMPath_Vtbl { pub SetFillBrushLookup: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMPrintTicketResource, IXpsOMPrintTicketResource_Vtbl, 0xe7ff32d2_34aa_499b_bbe9_9cd4ee6c59f7); +windows_core::imp::define_interface!(IXpsOMPrintTicketResource, IXpsOMPrintTicketResource_Vtbl, 0xe7ff32d2_34aa_499b_bbe9_9cd4ee6c59f7); windows_core::imp::interface_hierarchy!(IXpsOMPrintTicketResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMPrintTicketResource { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -4199,7 +4199,7 @@ pub struct IXpsOMPrintTicketResource_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] SetContent: usize, } -windows_core::imp::com_interface!(IXpsOMRadialGradientBrush, IXpsOMRadialGradientBrush_Vtbl, 0x75f207e5_08bf_413c_96b1_b82b4064176b); +windows_core::imp::define_interface!(IXpsOMRadialGradientBrush, IXpsOMRadialGradientBrush_Vtbl, 0x75f207e5_08bf_413c_96b1_b82b4064176b); windows_core::imp::interface_hierarchy!(IXpsOMRadialGradientBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMGradientBrush); impl IXpsOMRadialGradientBrush { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -4296,7 +4296,7 @@ pub struct IXpsOMRadialGradientBrush_Vtbl { pub SetGradientOrigin: unsafe extern "system" fn(*mut core::ffi::c_void, *const XPS_POINT) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMRemoteDictionaryResource, IXpsOMRemoteDictionaryResource_Vtbl, 0xc9bd7cd4_e16a_4bf8_8c84_c950af7a3061); +windows_core::imp::define_interface!(IXpsOMRemoteDictionaryResource, IXpsOMRemoteDictionaryResource_Vtbl, 0xc9bd7cd4_e16a_4bf8_8c84_c950af7a3061); windows_core::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMRemoteDictionaryResource { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -4328,7 +4328,7 @@ pub struct IXpsOMRemoteDictionaryResource_Vtbl { pub GetDictionary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetDictionary: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMRemoteDictionaryResource1, IXpsOMRemoteDictionaryResource1_Vtbl, 0xbf8fc1d4_9d46_4141_ba5f_94bb9250d041); +windows_core::imp::define_interface!(IXpsOMRemoteDictionaryResource1, IXpsOMRemoteDictionaryResource1_Vtbl, 0xbf8fc1d4_9d46_4141_ba5f_94bb9250d041); windows_core::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResource1, windows_core::IUnknown, IXpsOMPart, IXpsOMResource, IXpsOMRemoteDictionaryResource); impl IXpsOMRemoteDictionaryResource1 { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -4374,7 +4374,7 @@ pub struct IXpsOMRemoteDictionaryResource1_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Write1: usize, } -windows_core::imp::com_interface!(IXpsOMRemoteDictionaryResourceCollection, IXpsOMRemoteDictionaryResourceCollection_Vtbl, 0x5c38db61_7fec_464a_87bd_41e3bef018be); +windows_core::imp::define_interface!(IXpsOMRemoteDictionaryResourceCollection, IXpsOMRemoteDictionaryResourceCollection_Vtbl, 0x5c38db61_7fec_464a_87bd_41e3bef018be); windows_core::imp::interface_hierarchy!(IXpsOMRemoteDictionaryResourceCollection, windows_core::IUnknown); impl IXpsOMRemoteDictionaryResourceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -4429,7 +4429,7 @@ pub struct IXpsOMRemoteDictionaryResourceCollection_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] GetByPartName: usize, } -windows_core::imp::com_interface!(IXpsOMResource, IXpsOMResource_Vtbl, 0xda2ac0a2_73a2_4975_ad14_74097c3ff3a5); +windows_core::imp::define_interface!(IXpsOMResource, IXpsOMResource_Vtbl, 0xda2ac0a2_73a2_4975_ad14_74097c3ff3a5); windows_core::imp::interface_hierarchy!(IXpsOMResource, windows_core::IUnknown, IXpsOMPart); impl IXpsOMResource { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -4449,7 +4449,7 @@ impl IXpsOMResource { pub struct IXpsOMResource_Vtbl { pub base__: IXpsOMPart_Vtbl, } -windows_core::imp::com_interface!(IXpsOMShareable, IXpsOMShareable_Vtbl, 0x7137398f_2fc1_454d_8c6a_2c3115a16ece); +windows_core::imp::define_interface!(IXpsOMShareable, IXpsOMShareable_Vtbl, 0x7137398f_2fc1_454d_8c6a_2c3115a16ece); windows_core::imp::interface_hierarchy!(IXpsOMShareable, windows_core::IUnknown); impl IXpsOMShareable { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -4467,7 +4467,7 @@ pub struct IXpsOMShareable_Vtbl { pub GetOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_OBJECT_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMSignatureBlockResource, IXpsOMSignatureBlockResource_Vtbl, 0x4776ad35_2e04_4357_8743_ebf6c171a905); +windows_core::imp::define_interface!(IXpsOMSignatureBlockResource, IXpsOMSignatureBlockResource_Vtbl, 0x4776ad35_2e04_4357_8743_ebf6c171a905); windows_core::imp::interface_hierarchy!(IXpsOMSignatureBlockResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMSignatureBlockResource { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -4513,7 +4513,7 @@ pub struct IXpsOMSignatureBlockResource_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] SetContent: usize, } -windows_core::imp::com_interface!(IXpsOMSignatureBlockResourceCollection, IXpsOMSignatureBlockResourceCollection_Vtbl, 0xab8f5d8e_351b_4d33_aaed_fa56f0022931); +windows_core::imp::define_interface!(IXpsOMSignatureBlockResourceCollection, IXpsOMSignatureBlockResourceCollection_Vtbl, 0xab8f5d8e_351b_4d33_aaed_fa56f0022931); windows_core::imp::interface_hierarchy!(IXpsOMSignatureBlockResourceCollection, windows_core::IUnknown); impl IXpsOMSignatureBlockResourceCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -4568,7 +4568,7 @@ pub struct IXpsOMSignatureBlockResourceCollection_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] GetByPartName: usize, } -windows_core::imp::com_interface!(IXpsOMSolidColorBrush, IXpsOMSolidColorBrush_Vtbl, 0xa06f9f05_3be9_4763_98a8_094fc672e488); +windows_core::imp::define_interface!(IXpsOMSolidColorBrush, IXpsOMSolidColorBrush_Vtbl, 0xa06f9f05_3be9_4763_98a8_094fc672e488); windows_core::imp::interface_hierarchy!(IXpsOMSolidColorBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush); impl IXpsOMSolidColorBrush { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -4608,7 +4608,7 @@ pub struct IXpsOMSolidColorBrush_Vtbl { pub SetColor: unsafe extern "system" fn(*mut core::ffi::c_void, *const XPS_COLOR, *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, } -windows_core::imp::com_interface!(IXpsOMStoryFragmentsResource, IXpsOMStoryFragmentsResource_Vtbl, 0xc2b3ca09_0473_4282_87ae_1780863223f0); +windows_core::imp::define_interface!(IXpsOMStoryFragmentsResource, IXpsOMStoryFragmentsResource_Vtbl, 0xc2b3ca09_0473_4282_87ae_1780863223f0); windows_core::imp::interface_hierarchy!(IXpsOMStoryFragmentsResource, windows_core::IUnknown, IXpsOMPart, IXpsOMResource); impl IXpsOMStoryFragmentsResource { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -4654,7 +4654,7 @@ pub struct IXpsOMStoryFragmentsResource_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] SetContent: usize, } -windows_core::imp::com_interface!(IXpsOMThumbnailGenerator, IXpsOMThumbnailGenerator_Vtbl, 0x15b873d5_1971_41e8_83a3_6578403064c7); +windows_core::imp::define_interface!(IXpsOMThumbnailGenerator, IXpsOMThumbnailGenerator_Vtbl, 0x15b873d5_1971_41e8_83a3_6578403064c7); windows_core::imp::interface_hierarchy!(IXpsOMThumbnailGenerator, windows_core::IUnknown); impl IXpsOMThumbnailGenerator { #[cfg(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com"))] @@ -4675,7 +4675,7 @@ pub struct IXpsOMThumbnailGenerator_Vtbl { #[cfg(not(all(feature = "Win32_Storage_Packaging_Opc", feature = "Win32_System_Com")))] GenerateThumbnail: usize, } -windows_core::imp::com_interface!(IXpsOMTileBrush, IXpsOMTileBrush_Vtbl, 0x0fc2328d_d722_4a54_b2ec_be90218a789e); +windows_core::imp::define_interface!(IXpsOMTileBrush, IXpsOMTileBrush_Vtbl, 0x0fc2328d_d722_4a54_b2ec_be90218a789e); windows_core::imp::interface_hierarchy!(IXpsOMTileBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush); impl IXpsOMTileBrush { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -4754,7 +4754,7 @@ pub struct IXpsOMTileBrush_Vtbl { pub GetTileMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XPS_TILE_MODE) -> windows_core::HRESULT, pub SetTileMode: unsafe extern "system" fn(*mut core::ffi::c_void, XPS_TILE_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMVisual, IXpsOMVisual_Vtbl, 0xbc3e7333_fb0b_4af3_a819_0b4eaad0d2fd); +windows_core::imp::define_interface!(IXpsOMVisual, IXpsOMVisual_Vtbl, 0xbc3e7333_fb0b_4af3_a819_0b4eaad0d2fd); windows_core::imp::interface_hierarchy!(IXpsOMVisual, windows_core::IUnknown, IXpsOMShareable); impl IXpsOMVisual { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -4922,7 +4922,7 @@ pub struct IXpsOMVisual_Vtbl { pub GetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub SetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMVisualBrush, IXpsOMVisualBrush_Vtbl, 0x97e294af_5b37_46b4_8057_874d2f64119b); +windows_core::imp::define_interface!(IXpsOMVisualBrush, IXpsOMVisualBrush_Vtbl, 0x97e294af_5b37_46b4_8057_874d2f64119b); windows_core::imp::interface_hierarchy!(IXpsOMVisualBrush, windows_core::IUnknown, IXpsOMShareable, IXpsOMBrush, IXpsOMTileBrush); impl IXpsOMVisualBrush { pub unsafe fn GetOwner(&self) -> windows_core::Result { @@ -5024,7 +5024,7 @@ pub struct IXpsOMVisualBrush_Vtbl { pub SetVisualLookup: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsOMVisualCollection, IXpsOMVisualCollection_Vtbl, 0x94d8abde_ab91_46a8_82b7_f5b05ef01a96); +windows_core::imp::define_interface!(IXpsOMVisualCollection, IXpsOMVisualCollection_Vtbl, 0x94d8abde_ab91_46a8_82b7_f5b05ef01a96); windows_core::imp::interface_hierarchy!(IXpsOMVisualCollection, windows_core::IUnknown); impl IXpsOMVisualCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -5067,7 +5067,7 @@ pub struct IXpsOMVisualCollection_Vtbl { pub SetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Append: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsSignature, IXpsSignature_Vtbl, 0x6ae4c93e_1ade_42fb_898b_3a5658284857); +windows_core::imp::define_interface!(IXpsSignature, IXpsSignature_Vtbl, 0x6ae4c93e_1ade_42fb_898b_3a5658284857); windows_core::imp::interface_hierarchy!(IXpsSignature, windows_core::IUnknown); impl IXpsSignature { pub unsafe fn GetSignatureId(&self) -> windows_core::Result { @@ -5156,7 +5156,7 @@ pub struct IXpsSignature_Vtbl { pub GetSignatureXml: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub SetSignatureXml: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsSignatureBlock, IXpsSignatureBlock_Vtbl, 0x151fac09_0b97_4ac6_a323_5e4297d4322b); +windows_core::imp::define_interface!(IXpsSignatureBlock, IXpsSignatureBlock_Vtbl, 0x151fac09_0b97_4ac6_a323_5e4297d4322b); windows_core::imp::interface_hierarchy!(IXpsSignatureBlock, windows_core::IUnknown); impl IXpsSignatureBlock { pub unsafe fn GetRequests(&self) -> windows_core::Result { @@ -5200,7 +5200,7 @@ pub struct IXpsSignatureBlock_Vtbl { GetDocumentName: usize, pub CreateRequest: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsSignatureBlockCollection, IXpsSignatureBlockCollection_Vtbl, 0x23397050_fe99_467a_8dce_9237f074ffe4); +windows_core::imp::define_interface!(IXpsSignatureBlockCollection, IXpsSignatureBlockCollection_Vtbl, 0x23397050_fe99_467a_8dce_9237f074ffe4); windows_core::imp::interface_hierarchy!(IXpsSignatureBlockCollection, windows_core::IUnknown); impl IXpsSignatureBlockCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -5222,7 +5222,7 @@ pub struct IXpsSignatureBlockCollection_Vtbl { pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsSignatureCollection, IXpsSignatureCollection_Vtbl, 0xa2d1d95d_add2_4dff_ab27_6b9c645ff322); +windows_core::imp::define_interface!(IXpsSignatureCollection, IXpsSignatureCollection_Vtbl, 0xa2d1d95d_add2_4dff_ab27_6b9c645ff322); windows_core::imp::interface_hierarchy!(IXpsSignatureCollection, windows_core::IUnknown); impl IXpsSignatureCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -5244,7 +5244,7 @@ pub struct IXpsSignatureCollection_Vtbl { pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsSignatureManager, IXpsSignatureManager_Vtbl, 0xd3e8d338_fdc4_4afc_80b5_d532a1782ee1); +windows_core::imp::define_interface!(IXpsSignatureManager, IXpsSignatureManager_Vtbl, 0xd3e8d338_fdc4_4afc_80b5_d532a1782ee1); windows_core::imp::interface_hierarchy!(IXpsSignatureManager, windows_core::IUnknown); impl IXpsSignatureManager { pub unsafe fn LoadPackageFile(&self, filename: P0) -> windows_core::Result<()> @@ -5351,7 +5351,7 @@ pub struct IXpsSignatureManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SavePackageToStream: usize, } -windows_core::imp::com_interface!(IXpsSignatureRequest, IXpsSignatureRequest_Vtbl, 0xac58950b_7208_4b2d_b2c4_951083d3b8eb); +windows_core::imp::define_interface!(IXpsSignatureRequest, IXpsSignatureRequest_Vtbl, 0xac58950b_7208_4b2d_b2c4_951083d3b8eb); windows_core::imp::interface_hierarchy!(IXpsSignatureRequest, windows_core::IUnknown); impl IXpsSignatureRequest { pub unsafe fn GetIntent(&self) -> windows_core::Result { @@ -5429,7 +5429,7 @@ pub struct IXpsSignatureRequest_Vtbl { pub GetRequestId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetSignature: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsSignatureRequestCollection, IXpsSignatureRequestCollection_Vtbl, 0xf0253e68_9f19_412e_9b4f_54d3b0ac6cd9); +windows_core::imp::define_interface!(IXpsSignatureRequestCollection, IXpsSignatureRequestCollection_Vtbl, 0xf0253e68_9f19_412e_9b4f_54d3b0ac6cd9); windows_core::imp::interface_hierarchy!(IXpsSignatureRequestCollection, windows_core::IUnknown); impl IXpsSignatureRequestCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -5451,7 +5451,7 @@ pub struct IXpsSignatureRequestCollection_Vtbl { pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXpsSigningOptions, IXpsSigningOptions_Vtbl, 0x7718eae4_3215_49be_af5b_594fef7fcfa6); +windows_core::imp::define_interface!(IXpsSigningOptions, IXpsSigningOptions_Vtbl, 0x7718eae4_3215_49be_af5b_594fef7fcfa6); windows_core::imp::interface_hierarchy!(IXpsSigningOptions, windows_core::IUnknown); impl IXpsSigningOptions { pub unsafe fn GetSignatureId(&self) -> 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 2e7e71c607..0dacd06629 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs @@ -354,7 +354,7 @@ pub unsafe fn WrapStoreEntryID(ulflags: u32, lpszdllname: *const i8, cborigentry windows_targets::link!("mapi32.dll" "system" fn WrapStoreEntryID(ulflags : u32, lpszdllname : *const i8, cborigentry : u32, lporigentry : *const ENTRYID, lpcbwrappedentry : *mut u32, lppwrappedentry : *mut *mut ENTRYID) -> windows_core::HRESULT); WrapStoreEntryID(ulflags, lpszdllname, cborigentry, lporigentry, lpcbwrappedentry, lppwrappedentry).ok() } -windows_core::imp::com_interface!(IABContainer, IABContainer_Vtbl, 0); +windows_core::imp::define_interface!(IABContainer, IABContainer_Vtbl, 0); windows_core::imp::interface_hierarchy!(IABContainer, windows_core::IUnknown, IMAPIProp, IMAPIContainer); impl IABContainer { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -447,7 +447,7 @@ pub struct IABContainer_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ResolveNames: usize, } -windows_core::imp::com_interface!(IAddrBook, IAddrBook_Vtbl, 0); +windows_core::imp::define_interface!(IAddrBook, IAddrBook_Vtbl, 0); windows_core::imp::interface_hierarchy!(IAddrBook, windows_core::IUnknown, IMAPIProp); impl IAddrBook { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -599,7 +599,7 @@ pub struct IAddrBook_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] PrepareRecips: usize, } -windows_core::imp::com_interface!(IAttach, IAttach_Vtbl, 0); +windows_core::imp::define_interface!(IAttach, IAttach_Vtbl, 0); windows_core::imp::interface_hierarchy!(IAttach, windows_core::IUnknown, IMAPIProp); impl IAttach { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -648,7 +648,7 @@ impl IAttach { pub struct IAttach_Vtbl { pub base__: IMAPIProp_Vtbl, } -windows_core::imp::com_interface!(IDistList, IDistList_Vtbl, 0); +windows_core::imp::define_interface!(IDistList, IDistList_Vtbl, 0); windows_core::imp::interface_hierarchy!(IDistList, windows_core::IUnknown, IMAPIProp, IMAPIContainer); impl IDistList { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -741,7 +741,7 @@ pub struct IDistList_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ResolveNames: usize, } -windows_core::imp::com_interface!(IMAPIAdviseSink, IMAPIAdviseSink_Vtbl, 0); +windows_core::imp::define_interface!(IMAPIAdviseSink, IMAPIAdviseSink_Vtbl, 0); windows_core::imp::interface_hierarchy!(IMAPIAdviseSink, windows_core::IUnknown); impl IMAPIAdviseSink { #[cfg(feature = "Win32_System_Com")] @@ -757,7 +757,7 @@ pub struct IMAPIAdviseSink_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OnNotify: usize, } -windows_core::imp::com_interface!(IMAPIContainer, IMAPIContainer_Vtbl, 0); +windows_core::imp::define_interface!(IMAPIContainer, IMAPIContainer_Vtbl, 0); windows_core::imp::interface_hierarchy!(IMAPIContainer, windows_core::IUnknown, IMAPIProp); impl IMAPIContainer { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -836,7 +836,7 @@ pub struct IMAPIContainer_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetSearchCriteria: usize, } -windows_core::imp::com_interface!(IMAPIControl, IMAPIControl_Vtbl, 0); +windows_core::imp::define_interface!(IMAPIControl, IMAPIControl_Vtbl, 0); 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> { @@ -857,7 +857,7 @@ pub struct IMAPIControl_Vtbl { pub Activate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize) -> windows_core::HRESULT, pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMAPIFolder, IMAPIFolder_Vtbl, 0); +windows_core::imp::define_interface!(IMAPIFolder, IMAPIFolder_Vtbl, 0); windows_core::imp::interface_hierarchy!(IMAPIFolder, windows_core::IUnknown, IMAPIProp, IMAPIContainer); impl IMAPIFolder { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -990,7 +990,7 @@ pub struct IMAPIFolder_Vtbl { pub SaveContentsSort: unsafe extern "system" fn(*mut core::ffi::c_void, *const SSortOrderSet, u32) -> windows_core::HRESULT, pub EmptyFolder: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMAPIProgress, IMAPIProgress_Vtbl, 0); +windows_core::imp::define_interface!(IMAPIProgress, IMAPIProgress_Vtbl, 0); windows_core::imp::interface_hierarchy!(IMAPIProgress, windows_core::IUnknown); impl IMAPIProgress { pub unsafe fn Progress(&self, ulvalue: u32, ulcount: u32, ultotal: u32) -> windows_core::Result<()> { @@ -1018,7 +1018,7 @@ pub struct IMAPIProgress_Vtbl { pub GetMin: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetLimits: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMAPIProp, IMAPIProp_Vtbl, 0); +windows_core::imp::define_interface!(IMAPIProp, IMAPIProp_Vtbl, 0); windows_core::imp::interface_hierarchy!(IMAPIProp, windows_core::IUnknown); impl IMAPIProp { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -1084,7 +1084,7 @@ pub struct IMAPIProp_Vtbl { pub GetNamesFromIDs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut SPropTagArray, *mut windows_core::GUID, u32, *mut u32, *mut *mut *mut MAPINAMEID) -> windows_core::HRESULT, pub GetIDsFromNames: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut MAPINAMEID, u32, *mut *mut SPropTagArray) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMAPIStatus, IMAPIStatus_Vtbl, 0); +windows_core::imp::define_interface!(IMAPIStatus, IMAPIStatus_Vtbl, 0); windows_core::imp::interface_hierarchy!(IMAPIStatus, windows_core::IUnknown, IMAPIProp); impl IMAPIStatus { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -1149,7 +1149,7 @@ pub struct IMAPIStatus_Vtbl { pub ChangePassword: unsafe extern "system" fn(*mut core::ffi::c_void, *const i8, *const i8, u32) -> windows_core::HRESULT, pub FlushQueues: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *const ENTRYID, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMAPITable, IMAPITable_Vtbl, 0); +windows_core::imp::define_interface!(IMAPITable, IMAPITable_Vtbl, 0); windows_core::imp::interface_hierarchy!(IMAPITable, windows_core::IUnknown); impl IMAPITable { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -1268,7 +1268,7 @@ pub struct IMAPITable_Vtbl { pub GetCollapseState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u8, *mut u32, *mut *mut u8) -> windows_core::HRESULT, pub SetCollapseState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMailUser, IMailUser_Vtbl, 0); +windows_core::imp::define_interface!(IMailUser, IMailUser_Vtbl, 0); windows_core::imp::interface_hierarchy!(IMailUser, windows_core::IUnknown, IMAPIProp); impl IMailUser { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -1317,7 +1317,7 @@ impl IMailUser { pub struct IMailUser_Vtbl { pub base__: IMAPIProp_Vtbl, } -windows_core::imp::com_interface!(IMessage, IMessage_Vtbl, 0); +windows_core::imp::define_interface!(IMessage, IMessage_Vtbl, 0); windows_core::imp::interface_hierarchy!(IMessage, windows_core::IUnknown, IMAPIProp); impl IMessage { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -1408,7 +1408,7 @@ pub struct IMessage_Vtbl { pub SubmitMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetReadFlag: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMsgStore, IMsgStore_Vtbl, 0); +windows_core::imp::define_interface!(IMsgStore, IMsgStore_Vtbl, 0); windows_core::imp::interface_hierarchy!(IMsgStore, windows_core::IUnknown, IMAPIProp); impl IMsgStore { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -1523,7 +1523,7 @@ pub struct IMsgStore_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] NotifyNewMail: usize, } -windows_core::imp::com_interface!(IProfSect, IProfSect_Vtbl, 0); +windows_core::imp::define_interface!(IProfSect, IProfSect_Vtbl, 0); windows_core::imp::interface_hierarchy!(IProfSect, windows_core::IUnknown, IMAPIProp); impl IProfSect { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -1572,7 +1572,7 @@ impl IProfSect { pub struct IProfSect_Vtbl { pub base__: IMAPIProp_Vtbl, } -windows_core::imp::com_interface!(IPropData, IPropData_Vtbl, 0); +windows_core::imp::define_interface!(IPropData, IPropData_Vtbl, 0); windows_core::imp::interface_hierarchy!(IPropData, windows_core::IUnknown, IMAPIProp); impl IPropData { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { @@ -1637,7 +1637,7 @@ pub struct IPropData_Vtbl { pub HrGetPropAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut SPropTagArray, *mut *mut u32) -> windows_core::HRESULT, pub HrAddObjProps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SPropTagArray, *mut *mut SPropProblemArray) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProviderAdmin, IProviderAdmin_Vtbl, 0); +windows_core::imp::define_interface!(IProviderAdmin, IProviderAdmin_Vtbl, 0); 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> { @@ -1673,7 +1673,7 @@ pub struct IProviderAdmin_Vtbl { pub DeleteProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *const MAPIUID) -> windows_core::HRESULT, pub OpenProfileSection: unsafe extern "system" fn(*mut core::ffi::c_void, *const MAPIUID, *const windows_core::GUID, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITableData, ITableData_Vtbl, 0); +windows_core::imp::define_interface!(ITableData, ITableData_Vtbl, 0); windows_core::imp::interface_hierarchy!(ITableData, windows_core::IUnknown); impl ITableData { pub unsafe fn HrGetView(&self, lpssortorderset: *mut SSortOrderSet, lpfcallerrelease: *mut CALLERRELEASE, ulcallerdata: u32, lppmapitable: *mut Option) -> windows_core::Result<()> { @@ -1749,7 +1749,7 @@ pub struct ITableData_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] HrDeleteRows: usize, } -windows_core::imp::com_interface!(IWABExtInit, IWABExtInit_Vtbl, 0xea22ebf0_87a4_11d1_9acf_00a0c91f9c8b); +windows_core::imp::define_interface!(IWABExtInit, IWABExtInit_Vtbl, 0xea22ebf0_87a4_11d1_9acf_00a0c91f9c8b); windows_core::imp::interface_hierarchy!(IWABExtInit, windows_core::IUnknown); impl IWABExtInit { pub unsafe fn Initialize(&self, lpwabextdisplay: *mut WABEXTDISPLAY) -> windows_core::Result<()> { @@ -1761,7 +1761,7 @@ pub struct IWABExtInit_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WABEXTDISPLAY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWABObject, IWABObject_Vtbl, 0); +windows_core::imp::define_interface!(IWABObject, IWABObject_Vtbl, 0); windows_core::imp::interface_hierarchy!(IWABObject, windows_core::IUnknown); impl IWABObject { pub unsafe fn GetLastError(&self, hresult: windows_core::HRESULT, ulflags: u32, lppmapierror: *mut *mut MAPIERROR) -> windows_core::Result<()> { 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 b7085edadb..b202babde6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Antimalware/mod.rs @@ -74,7 +74,7 @@ where windows_targets::link!("kernel32.dll" "system" fn InstallELAMCertificateInfo(elamfile : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); InstallELAMCertificateInfo(elamfile.into_param().abi()).ok() } -windows_core::imp::com_interface!(IAmsiStream, IAmsiStream_Vtbl, 0x3e47f2e5_81d4_4d3b_897f_545096770373); +windows_core::imp::define_interface!(IAmsiStream, IAmsiStream_Vtbl, 0x3e47f2e5_81d4_4d3b_897f_545096770373); windows_core::imp::interface_hierarchy!(IAmsiStream, windows_core::IUnknown); impl IAmsiStream { pub unsafe fn GetAttribute(&self, attribute: AMSI_ATTRIBUTE, data: &mut [u8], retdata: *mut u32) -> windows_core::Result<()> { @@ -90,7 +90,7 @@ pub struct IAmsiStream_Vtbl { pub GetAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, AMSI_ATTRIBUTE, u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAntimalware, IAntimalware_Vtbl, 0x82d29c2e_f062_44e6_b5c9_3d9a2f24a2df); +windows_core::imp::define_interface!(IAntimalware, IAntimalware_Vtbl, 0x82d29c2e_f062_44e6_b5c9_3d9a2f24a2df); windows_core::imp::interface_hierarchy!(IAntimalware, windows_core::IUnknown); impl IAntimalware { pub unsafe fn Scan(&self, stream: P0, result: *mut AMSI_RESULT, provider: *mut Option) -> windows_core::Result<()> @@ -109,7 +109,7 @@ pub struct IAntimalware_Vtbl { pub Scan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut AMSI_RESULT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CloseSession: unsafe extern "system" fn(*mut core::ffi::c_void, u64), } -windows_core::imp::com_interface!(IAntimalware2, IAntimalware2_Vtbl, 0x301035b5_2d42_4f56_8c65_2dcaa7fb3cdc); +windows_core::imp::define_interface!(IAntimalware2, IAntimalware2_Vtbl, 0x301035b5_2d42_4f56_8c65_2dcaa7fb3cdc); windows_core::imp::interface_hierarchy!(IAntimalware2, windows_core::IUnknown, IAntimalware); impl IAntimalware2 { pub unsafe fn Scan(&self, stream: P0, result: *mut AMSI_RESULT, provider: *mut Option) -> windows_core::Result<()> @@ -135,7 +135,7 @@ pub struct IAntimalware2_Vtbl { pub base__: IAntimalware_Vtbl, pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut AMSI_RESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAntimalwareProvider, IAntimalwareProvider_Vtbl, 0xb2cabfe3_fe04_42b1_a5df_08d483d4d125); +windows_core::imp::define_interface!(IAntimalwareProvider, IAntimalwareProvider_Vtbl, 0xb2cabfe3_fe04_42b1_a5df_08d483d4d125); windows_core::imp::interface_hierarchy!(IAntimalwareProvider, windows_core::IUnknown); impl IAntimalwareProvider { pub unsafe fn Scan(&self, stream: P0) -> windows_core::Result @@ -160,7 +160,7 @@ pub struct IAntimalwareProvider_Vtbl { pub CloseSession: unsafe extern "system" fn(*mut core::ffi::c_void, u64), pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAntimalwareProvider2, IAntimalwareProvider2_Vtbl, 0x7c1e6570_3f73_4e0f_8ad4_98b94cd3290f); +windows_core::imp::define_interface!(IAntimalwareProvider2, IAntimalwareProvider2_Vtbl, 0x7c1e6570_3f73_4e0f_8ad4_98b94cd3290f); windows_core::imp::interface_hierarchy!(IAntimalwareProvider2, windows_core::IUnknown, IAntimalwareProvider); impl IAntimalwareProvider2 { pub unsafe fn Scan(&self, stream: P0) -> windows_core::Result @@ -191,7 +191,7 @@ pub struct IAntimalwareProvider2_Vtbl { pub base__: IAntimalwareProvider_Vtbl, pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut AMSI_RESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAntimalwareUacProvider, IAntimalwareUacProvider_Vtbl, 0xb2cabfe4_fe04_42b1_a5df_08d483d4d125); +windows_core::imp::define_interface!(IAntimalwareUacProvider, IAntimalwareUacProvider_Vtbl, 0xb2cabfe4_fe04_42b1_a5df_08d483d4d125); 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 { 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 568ef059a4..6d02f3bf93 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs @@ -2873,7 +2873,7 @@ where windows_targets::link!("kernel32.dll" "system" fn ZombifyActCtx(hactctx : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); ZombifyActCtx(hactctx.into_param().abi()).ok() } -windows_core::imp::com_interface!(IAssemblyCache, IAssemblyCache_Vtbl, 0xe707dcde_d1cd_11d2_bab9_00c04f8eceae); +windows_core::imp::define_interface!(IAssemblyCache, IAssemblyCache_Vtbl, 0xe707dcde_d1cd_11d2_bab9_00c04f8eceae); windows_core::imp::interface_hierarchy!(IAssemblyCache, windows_core::IUnknown); impl IAssemblyCache { pub unsafe fn UninstallAssembly(&self, dwflags: u32, pszassemblyname: P0, prefdata: *mut FUSION_INSTALL_REFERENCE, puldisposition: *mut IASSEMBLYCACHE_UNINSTALL_DISPOSITION) -> windows_core::Result<()> @@ -2914,7 +2914,7 @@ pub struct IAssemblyCache_Vtbl { pub Reserved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub InstallAssembly: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, *mut FUSION_INSTALL_REFERENCE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAssemblyCacheItem, IAssemblyCacheItem_Vtbl, 0x9e3aaeb4_d1cd_11d2_bab9_00c04f8eceae); +windows_core::imp::define_interface!(IAssemblyCacheItem, IAssemblyCacheItem_Vtbl, 0x9e3aaeb4_d1cd_11d2_bab9_00c04f8eceae); windows_core::imp::interface_hierarchy!(IAssemblyCacheItem, windows_core::IUnknown); impl IAssemblyCacheItem { #[cfg(feature = "Win32_System_Com")] @@ -2941,7 +2941,7 @@ pub struct IAssemblyCacheItem_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub AbortItem: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAssemblyName, IAssemblyName_Vtbl, 0xcd193bc0_b4bc_11d2_9833_00c04fc31d2e); +windows_core::imp::define_interface!(IAssemblyName, IAssemblyName_Vtbl, 0xcd193bc0_b4bc_11d2_9833_00c04fc31d2e); windows_core::imp::interface_hierarchy!(IAssemblyName, windows_core::IUnknown); impl IAssemblyName { pub unsafe fn SetProperty(&self, propertyid: u32, pvproperty: *mut core::ffi::c_void, cbproperty: u32) -> windows_core::Result<()> { @@ -2994,7 +2994,7 @@ pub struct IAssemblyName_Vtbl { pub IsEqual: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IEnumMsmDependency, IEnumMsmDependency_Vtbl, 0x0adda82c_2c26_11d2_ad65_00a0c9af11a6); +windows_core::imp::define_interface!(IEnumMsmDependency, IEnumMsmDependency_Vtbl, 0x0adda82c_2c26_11d2_ad65_00a0c9af11a6); windows_core::imp::interface_hierarchy!(IEnumMsmDependency, windows_core::IUnknown); impl IEnumMsmDependency { #[cfg(feature = "Win32_System_Com")] @@ -3023,7 +3023,7 @@ pub struct IEnumMsmDependency_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumMsmError, IEnumMsmError_Vtbl, 0x0adda829_2c26_11d2_ad65_00a0c9af11a6); +windows_core::imp::define_interface!(IEnumMsmError, IEnumMsmError_Vtbl, 0x0adda829_2c26_11d2_ad65_00a0c9af11a6); windows_core::imp::interface_hierarchy!(IEnumMsmError, windows_core::IUnknown); impl IEnumMsmError { #[cfg(feature = "Win32_System_Com")] @@ -3052,7 +3052,7 @@ pub struct IEnumMsmError_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumMsmString, IEnumMsmString_Vtbl, 0x0adda826_2c26_11d2_ad65_00a0c9af11a6); +windows_core::imp::define_interface!(IEnumMsmString, IEnumMsmString_Vtbl, 0x0adda826_2c26_11d2_ad65_00a0c9af11a6); windows_core::imp::interface_hierarchy!(IEnumMsmString, windows_core::IUnknown); impl IEnumMsmString { pub unsafe fn Next(&self, cfetch: u32, rgbstrstrings: *mut windows_core::BSTR, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -3078,7 +3078,7 @@ pub struct IEnumMsmString_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMsmDependencies, IMsmDependencies_Vtbl, 0x0adda82d_2c26_11d2_ad65_00a0c9af11a6); +windows_core::imp::define_interface!(IMsmDependencies, IMsmDependencies_Vtbl, 0x0adda82d_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMsmDependencies, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3108,7 +3108,7 @@ pub struct IMsmDependencies_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")] -windows_core::imp::com_interface!(IMsmDependency, IMsmDependency_Vtbl, 0x0adda82b_2c26_11d2_ad65_00a0c9af11a6); +windows_core::imp::define_interface!(IMsmDependency, IMsmDependency_Vtbl, 0x0adda82b_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMsmDependency, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3132,7 +3132,7 @@ pub struct IMsmDependency_Vtbl { pub Version: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMsmError, IMsmError_Vtbl, 0x0adda828_2c26_11d2_ad65_00a0c9af11a6); +windows_core::imp::define_interface!(IMsmError, IMsmError_Vtbl, 0x0adda828_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMsmError, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3182,7 +3182,7 @@ pub struct IMsmError_Vtbl { ModuleKeys: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMsmErrors, IMsmErrors_Vtbl, 0x0adda82a_2c26_11d2_ad65_00a0c9af11a6); +windows_core::imp::define_interface!(IMsmErrors, IMsmErrors_Vtbl, 0x0adda82a_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMsmErrors, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3212,7 +3212,7 @@ pub struct IMsmErrors_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")] -windows_core::imp::com_interface!(IMsmGetFiles, IMsmGetFiles_Vtbl, 0x7041ae26_2d78_11d2_888a_00a0c981b015); +windows_core::imp::define_interface!(IMsmGetFiles, IMsmGetFiles_Vtbl, 0x7041ae26_2d78_11d2_888a_00a0c981b015); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMsmGetFiles, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3233,7 +3233,7 @@ pub struct IMsmGetFiles_Vtbl { ModuleFiles: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMsmMerge, IMsmMerge_Vtbl, 0x0adda82e_2c26_11d2_ad65_00a0c9af11a6); +windows_core::imp::define_interface!(IMsmMerge, IMsmMerge_Vtbl, 0x0adda82e_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMsmMerge, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3335,7 +3335,7 @@ pub struct IMsmMerge_Vtbl { pub ExtractFiles: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMsmStrings, IMsmStrings_Vtbl, 0x0adda827_2c26_11d2_ad65_00a0c9af11a6); +windows_core::imp::define_interface!(IMsmStrings, IMsmStrings_Vtbl, 0x0adda827_2c26_11d2_ad65_00a0c9af11a6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMsmStrings, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3359,7 +3359,7 @@ pub struct IMsmStrings_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, } -windows_core::imp::com_interface!(IPMApplicationInfo, IPMApplicationInfo_Vtbl, 0x50afb58a_438c_4088_9789_f8c4899829c7); +windows_core::imp::define_interface!(IPMApplicationInfo, IPMApplicationInfo_Vtbl, 0x50afb58a_438c_4088_9789_f8c4899829c7); windows_core::imp::interface_hierarchy!(IPMApplicationInfo, windows_core::IUnknown); impl IPMApplicationInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { @@ -3646,7 +3646,7 @@ pub struct IPMApplicationInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IPMApplicationInfoEnumerator, IPMApplicationInfoEnumerator_Vtbl, 0x0ec42a96_4d46_4dc6_a3d9_a7acaac0f5fa); +windows_core::imp::define_interface!(IPMApplicationInfoEnumerator, IPMApplicationInfoEnumerator_Vtbl, 0x0ec42a96_4d46_4dc6_a3d9_a7acaac0f5fa); windows_core::imp::interface_hierarchy!(IPMApplicationInfoEnumerator, windows_core::IUnknown); impl IPMApplicationInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { @@ -3659,7 +3659,7 @@ pub struct IPMApplicationInfoEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMBackgroundServiceAgentInfo, IPMBackgroundServiceAgentInfo_Vtbl, 0x3a8b46da_928c_4879_998c_09dc96f3d490); +windows_core::imp::define_interface!(IPMBackgroundServiceAgentInfo, IPMBackgroundServiceAgentInfo_Vtbl, 0x3a8b46da_928c_4879_998c_09dc96f3d490); windows_core::imp::interface_hierarchy!(IPMBackgroundServiceAgentInfo, windows_core::IUnknown); impl IPMBackgroundServiceAgentInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { @@ -3735,7 +3735,7 @@ pub struct IPMBackgroundServiceAgentInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IPMBackgroundServiceAgentInfoEnumerator, IPMBackgroundServiceAgentInfoEnumerator_Vtbl, 0x18eb2072_ab56_43b3_872c_beafb7a6b391); +windows_core::imp::define_interface!(IPMBackgroundServiceAgentInfoEnumerator, IPMBackgroundServiceAgentInfoEnumerator_Vtbl, 0x18eb2072_ab56_43b3_872c_beafb7a6b391); windows_core::imp::interface_hierarchy!(IPMBackgroundServiceAgentInfoEnumerator, windows_core::IUnknown); impl IPMBackgroundServiceAgentInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { @@ -3748,7 +3748,7 @@ pub struct IPMBackgroundServiceAgentInfoEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMBackgroundWorkerInfo, IPMBackgroundWorkerInfo_Vtbl, 0x7dd4531b_d3bf_4b6b_94f3_69c098b1497d); +windows_core::imp::define_interface!(IPMBackgroundWorkerInfo, IPMBackgroundWorkerInfo_Vtbl, 0x7dd4531b_d3bf_4b6b_94f3_69c098b1497d); windows_core::imp::interface_hierarchy!(IPMBackgroundWorkerInfo, windows_core::IUnknown); impl IPMBackgroundWorkerInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { @@ -3784,7 +3784,7 @@ pub struct IPMBackgroundWorkerInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IPMBackgroundWorkerInfoEnumerator, IPMBackgroundWorkerInfoEnumerator_Vtbl, 0x87f479f8_90d8_4ec7_92b9_72787e2f636b); +windows_core::imp::define_interface!(IPMBackgroundWorkerInfoEnumerator, IPMBackgroundWorkerInfoEnumerator_Vtbl, 0x87f479f8_90d8_4ec7_92b9_72787e2f636b); windows_core::imp::interface_hierarchy!(IPMBackgroundWorkerInfoEnumerator, windows_core::IUnknown); impl IPMBackgroundWorkerInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { @@ -3797,7 +3797,7 @@ pub struct IPMBackgroundWorkerInfoEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMDeploymentManager, IPMDeploymentManager_Vtbl, 0x35f785fa_1979_4a8b_bc8f_fd70eb0d1544); +windows_core::imp::define_interface!(IPMDeploymentManager, IPMDeploymentManager_Vtbl, 0x35f785fa_1979_4a8b_bc8f_fd70eb0d1544); windows_core::imp::interface_hierarchy!(IPMDeploymentManager, windows_core::IUnknown); impl IPMDeploymentManager { pub unsafe fn ReportDownloadBegin(&self, productid: windows_core::GUID) -> windows_core::Result<()> { @@ -3998,7 +3998,7 @@ pub struct IPMDeploymentManager_Vtbl { 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, } -windows_core::imp::com_interface!(IPMEnumerationManager, IPMEnumerationManager_Vtbl, 0x698d57c2_292d_4cf3_b73c_d95a6922ed9a); +windows_core::imp::define_interface!(IPMEnumerationManager, IPMEnumerationManager_Vtbl, 0x698d57c2_292d_4cf3_b73c_d95a6922ed9a); windows_core::imp::interface_hierarchy!(IPMEnumerationManager, windows_core::IUnknown); impl IPMEnumerationManager { pub unsafe fn get_AllApplications(&self, ppappenum: *mut Option, filter: PM_ENUM_FILTER) -> windows_core::Result<()> { @@ -4106,7 +4106,7 @@ pub struct IPMEnumerationManager_Vtbl { 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, } -windows_core::imp::com_interface!(IPMExtensionCachedFileUpdaterInfo, IPMExtensionCachedFileUpdaterInfo_Vtbl, 0xe2d77509_4e58_4ba9_af7e_b642e370e1b0); +windows_core::imp::define_interface!(IPMExtensionCachedFileUpdaterInfo, IPMExtensionCachedFileUpdaterInfo_Vtbl, 0xe2d77509_4e58_4ba9_af7e_b642e370e1b0); windows_core::imp::interface_hierarchy!(IPMExtensionCachedFileUpdaterInfo, windows_core::IUnknown); impl IPMExtensionCachedFileUpdaterInfo { pub unsafe fn SupportsUpdates(&self) -> windows_core::Result { @@ -4119,7 +4119,7 @@ pub struct IPMExtensionCachedFileUpdaterInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SupportsUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMExtensionContractInfo, IPMExtensionContractInfo_Vtbl, 0xe5666373_7ba1_467c_b819_b175db1c295b); +windows_core::imp::define_interface!(IPMExtensionContractInfo, IPMExtensionContractInfo_Vtbl, 0xe5666373_7ba1_467c_b819_b175db1c295b); windows_core::imp::interface_hierarchy!(IPMExtensionContractInfo, windows_core::IUnknown); impl IPMExtensionContractInfo { pub unsafe fn get_InvocationInfo(&self, paumid: *mut windows_core::BSTR, pargs: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4131,7 +4131,7 @@ 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, } -windows_core::imp::com_interface!(IPMExtensionFileExtensionInfo, IPMExtensionFileExtensionInfo_Vtbl, 0x6b87cb6c_0b88_4989_a4ec_033714f710d4); +windows_core::imp::define_interface!(IPMExtensionFileExtensionInfo, IPMExtensionFileExtensionInfo_Vtbl, 0x6b87cb6c_0b88_4989_a4ec_033714f710d4); windows_core::imp::interface_hierarchy!(IPMExtensionFileExtensionInfo, windows_core::IUnknown); impl IPMExtensionFileExtensionInfo { pub unsafe fn Name(&self, pname: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4173,7 +4173,7 @@ pub struct IPMExtensionFileExtensionInfo_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_AllFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::BSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMExtensionFileOpenPickerInfo, IPMExtensionFileOpenPickerInfo_Vtbl, 0x6dc91d25_9606_420c_9a78_e034a3418345); +windows_core::imp::define_interface!(IPMExtensionFileOpenPickerInfo, IPMExtensionFileOpenPickerInfo_Vtbl, 0x6dc91d25_9606_420c_9a78_e034a3418345); windows_core::imp::interface_hierarchy!(IPMExtensionFileOpenPickerInfo, windows_core::IUnknown); impl IPMExtensionFileOpenPickerInfo { pub unsafe fn get_AllFileTypes(&self, pctypes: *mut u32, pptypes: *mut *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4190,7 +4190,7 @@ pub struct IPMExtensionFileOpenPickerInfo_Vtbl { pub get_AllFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::BSTR) -> windows_core::HRESULT, pub SupportsAllFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMExtensionFileSavePickerInfo, IPMExtensionFileSavePickerInfo_Vtbl, 0x38005cba_f81a_493e_a0f8_922c8680da43); +windows_core::imp::define_interface!(IPMExtensionFileSavePickerInfo, IPMExtensionFileSavePickerInfo_Vtbl, 0x38005cba_f81a_493e_a0f8_922c8680da43); windows_core::imp::interface_hierarchy!(IPMExtensionFileSavePickerInfo, windows_core::IUnknown); impl IPMExtensionFileSavePickerInfo { pub unsafe fn get_AllFileTypes(&self, pctypes: *mut u32, pptypes: *mut *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4207,7 +4207,7 @@ pub struct IPMExtensionFileSavePickerInfo_Vtbl { pub get_AllFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::BSTR) -> windows_core::HRESULT, pub SupportsAllFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMExtensionInfo, IPMExtensionInfo_Vtbl, 0x49acde79_9788_4d0a_8aa0_1746afdb9e9d); +windows_core::imp::define_interface!(IPMExtensionInfo, IPMExtensionInfo_Vtbl, 0x49acde79_9788_4d0a_8aa0_1746afdb9e9d); windows_core::imp::interface_hierarchy!(IPMExtensionInfo, windows_core::IUnknown); impl IPMExtensionInfo { pub unsafe fn SupplierPID(&self) -> windows_core::Result { @@ -4240,7 +4240,7 @@ pub struct IPMExtensionInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IPMExtensionInfoEnumerator, IPMExtensionInfoEnumerator_Vtbl, 0x403b9e82_1171_4573_8e6f_6f33f39b83dd); +windows_core::imp::define_interface!(IPMExtensionInfoEnumerator, IPMExtensionInfoEnumerator_Vtbl, 0x403b9e82_1171_4573_8e6f_6f33f39b83dd); windows_core::imp::interface_hierarchy!(IPMExtensionInfoEnumerator, windows_core::IUnknown); impl IPMExtensionInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { @@ -4253,7 +4253,7 @@ pub struct IPMExtensionInfoEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMExtensionProtocolInfo, IPMExtensionProtocolInfo_Vtbl, 0x1e3fa036_51eb_4453_baff_b8d8e4b46c8e); +windows_core::imp::define_interface!(IPMExtensionProtocolInfo, IPMExtensionProtocolInfo_Vtbl, 0x1e3fa036_51eb_4453_baff_b8d8e4b46c8e); windows_core::imp::interface_hierarchy!(IPMExtensionProtocolInfo, windows_core::IUnknown); impl IPMExtensionProtocolInfo { pub unsafe fn Protocol(&self, pprotocol: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4269,7 +4269,7 @@ pub struct IPMExtensionProtocolInfo_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, } -windows_core::imp::com_interface!(IPMExtensionShareTargetInfo, IPMExtensionShareTargetInfo_Vtbl, 0x5471f48b_c65c_4656_8c70_242e31195fea); +windows_core::imp::define_interface!(IPMExtensionShareTargetInfo, IPMExtensionShareTargetInfo_Vtbl, 0x5471f48b_c65c_4656_8c70_242e31195fea); windows_core::imp::interface_hierarchy!(IPMExtensionShareTargetInfo, windows_core::IUnknown); impl IPMExtensionShareTargetInfo { pub unsafe fn get_AllFileTypes(&self, pctypes: *mut u32, pptypes: *mut *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -4290,7 +4290,7 @@ pub struct IPMExtensionShareTargetInfo_Vtbl { pub get_AllDataFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::BSTR) -> windows_core::HRESULT, pub SupportsAllFileTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMLiveTileJobInfo, IPMLiveTileJobInfo_Vtbl, 0x6009a81f_4710_4697_b5f6_2208f6057b8e); +windows_core::imp::define_interface!(IPMLiveTileJobInfo, IPMLiveTileJobInfo_Vtbl, 0x6009a81f_4710_4697_b5f6_2208f6057b8e); windows_core::imp::interface_hierarchy!(IPMLiveTileJobInfo, windows_core::IUnknown); impl IPMLiveTileJobInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { @@ -4407,7 +4407,7 @@ pub struct IPMLiveTileJobInfo_Vtbl { pub DownloadState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub set_DownloadState: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMLiveTileJobInfoEnumerator, IPMLiveTileJobInfoEnumerator_Vtbl, 0xbc042582_9415_4f36_9f99_06f104c07c03); +windows_core::imp::define_interface!(IPMLiveTileJobInfoEnumerator, IPMLiveTileJobInfoEnumerator_Vtbl, 0xbc042582_9415_4f36_9f99_06f104c07c03); windows_core::imp::interface_hierarchy!(IPMLiveTileJobInfoEnumerator, windows_core::IUnknown); impl IPMLiveTileJobInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { @@ -4420,7 +4420,7 @@ pub struct IPMLiveTileJobInfoEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMTaskInfo, IPMTaskInfo_Vtbl, 0xbf1d8c33_1bf5_4ee0_b549_6b9dd3834942); +windows_core::imp::define_interface!(IPMTaskInfo, IPMTaskInfo_Vtbl, 0xbf1d8c33_1bf5_4ee0_b549_6b9dd3834942); windows_core::imp::interface_hierarchy!(IPMTaskInfo, windows_core::IUnknown); impl IPMTaskInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { @@ -4524,7 +4524,7 @@ pub struct IPMTaskInfo_Vtbl { pub BackgroundExecutionAbilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IPMTaskInfoEnumerator, IPMTaskInfoEnumerator_Vtbl, 0x0630b0f8_0bbc_4821_be74_c7995166ed2a); +windows_core::imp::define_interface!(IPMTaskInfoEnumerator, IPMTaskInfoEnumerator_Vtbl, 0x0630b0f8_0bbc_4821_be74_c7995166ed2a); windows_core::imp::interface_hierarchy!(IPMTaskInfoEnumerator, windows_core::IUnknown); impl IPMTaskInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { @@ -4537,7 +4537,7 @@ pub struct IPMTaskInfoEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMTileInfo, IPMTileInfo_Vtbl, 0xd1604833_2b08_4001_82cd_183ad734f752); +windows_core::imp::define_interface!(IPMTileInfo, IPMTileInfo_Vtbl, 0xd1604833_2b08_4001_82cd_183ad734f752); windows_core::imp::interface_hierarchy!(IPMTileInfo, windows_core::IUnknown); impl IPMTileInfo { pub unsafe fn ProductID(&self) -> windows_core::Result { @@ -4670,7 +4670,7 @@ pub struct IPMTileInfo_Vtbl { pub set_IsRestoring: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub set_IsAutoRestoreDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMTileInfoEnumerator, IPMTileInfoEnumerator_Vtbl, 0xded83065_e462_4b2c_acb5_e39cea61c874); +windows_core::imp::define_interface!(IPMTileInfoEnumerator, IPMTileInfoEnumerator_Vtbl, 0xded83065_e462_4b2c_acb5_e39cea61c874); windows_core::imp::interface_hierarchy!(IPMTileInfoEnumerator, windows_core::IUnknown); impl IPMTileInfoEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { @@ -4683,7 +4683,7 @@ pub struct IPMTileInfoEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMTilePropertyEnumerator, IPMTilePropertyEnumerator_Vtbl, 0xcc4cd629_9047_4250_aac8_930e47812421); +windows_core::imp::define_interface!(IPMTilePropertyEnumerator, IPMTilePropertyEnumerator_Vtbl, 0xcc4cd629_9047_4250_aac8_930e47812421); windows_core::imp::interface_hierarchy!(IPMTilePropertyEnumerator, windows_core::IUnknown); impl IPMTilePropertyEnumerator { pub unsafe fn Next(&self) -> windows_core::Result { @@ -4696,7 +4696,7 @@ pub struct IPMTilePropertyEnumerator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPMTilePropertyInfo, IPMTilePropertyInfo_Vtbl, 0x6c2b8017_1efa_42a7_86c0_6d4b640bf528); +windows_core::imp::define_interface!(IPMTilePropertyInfo, IPMTilePropertyInfo_Vtbl, 0x6c2b8017_1efa_42a7_86c0_6d4b640bf528); windows_core::imp::interface_hierarchy!(IPMTilePropertyInfo, windows_core::IUnknown); impl IPMTilePropertyInfo { pub unsafe fn PropertyID(&self) -> windows_core::Result { @@ -4720,7 +4720,7 @@ pub struct IPMTilePropertyInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IValidate, IValidate_Vtbl, 0xe482e5c6_e31e_4143_a2e6_dbc3d8e4b8d3); +windows_core::imp::define_interface!(IValidate, IValidate_Vtbl, 0xe482e5c6_e31e_4143_a2e6_dbc3d8e4b8d3); windows_core::imp::interface_hierarchy!(IValidate, windows_core::IUnknown); impl IValidate { pub unsafe fn OpenDatabase(&self, szdatabase: P0) -> windows_core::Result<()> 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 c78b0c41de..3fba847e17 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/mod.rs @@ -1,5 +1,5 @@ #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] -windows_core::imp::com_interface!(IAccessibleWinSAT, IAccessibleWinSAT_Vtbl, 0x30e6018a_94a8_4ff8_a69a_71b67413f07b); +windows_core::imp::define_interface!(IAccessibleWinSAT, IAccessibleWinSAT_Vtbl, 0x30e6018a_94a8_4ff8_a69a_71b67413f07b); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] windows_core::imp::interface_hierarchy!(IAccessibleWinSAT, windows_core::IUnknown, super::Com::IDispatch, super::super::UI::Accessibility::IAccessible); #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Accessibility"))] @@ -169,7 +169,7 @@ pub struct IAccessibleWinSAT_Vtbl { pub base__: super::super::UI::Accessibility::IAccessible_Vtbl, pub SetAccessiblityData: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInitiateWinSATAssessment, IInitiateWinSATAssessment_Vtbl, 0xd983fc50_f5bf_49d5_b5ed_cccb18aa7fc1); +windows_core::imp::define_interface!(IInitiateWinSATAssessment, IInitiateWinSATAssessment_Vtbl, 0xd983fc50_f5bf_49d5_b5ed_cccb18aa7fc1); windows_core::imp::interface_hierarchy!(IInitiateWinSATAssessment, windows_core::IUnknown); impl IInitiateWinSATAssessment { pub unsafe fn InitiateAssessment(&self, cmdline: P0, pcallbacks: P1, callerhwnd: P2) -> windows_core::Result<()> @@ -199,7 +199,7 @@ pub struct IInitiateWinSATAssessment_Vtbl { pub CancelAssessment: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IProvideWinSATAssessmentInfo, IProvideWinSATAssessmentInfo_Vtbl, 0x0cd1c380_52d3_4678_ac6f_e929e480be9e); +windows_core::imp::define_interface!(IProvideWinSATAssessmentInfo, IProvideWinSATAssessmentInfo_Vtbl, 0x0cd1c380_52d3_4678_ac6f_e929e480be9e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IProvideWinSATAssessmentInfo, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -226,7 +226,7 @@ pub struct IProvideWinSATAssessmentInfo_Vtbl { pub Description: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IProvideWinSATResultsInfo, IProvideWinSATResultsInfo_Vtbl, 0xf8334d5d_568e_4075_875f_9df341506640); +windows_core::imp::define_interface!(IProvideWinSATResultsInfo, IProvideWinSATResultsInfo_Vtbl, 0xf8334d5d_568e_4075_875f_9df341506640); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IProvideWinSATResultsInfo, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -266,7 +266,7 @@ pub struct IProvideWinSATResultsInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IProvideWinSATVisuals, IProvideWinSATVisuals_Vtbl, 0xa9f4ade0_871a_42a3_b813_3078d25162c9); +windows_core::imp::define_interface!(IProvideWinSATVisuals, IProvideWinSATVisuals_Vtbl, 0xa9f4ade0_871a_42a3_b813_3078d25162c9); windows_core::imp::interface_hierarchy!(IProvideWinSATVisuals, windows_core::IUnknown); impl IProvideWinSATVisuals { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -284,7 +284,7 @@ pub struct IProvideWinSATVisuals_Vtbl { get_Bitmap: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IQueryAllWinSATAssessments, IQueryAllWinSATAssessments_Vtbl, 0x0b89ed1d_6398_4fea_87fc_567d8d19176f); +windows_core::imp::define_interface!(IQueryAllWinSATAssessments, IQueryAllWinSATAssessments_Vtbl, 0x0b89ed1d_6398_4fea_87fc_567d8d19176f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IQueryAllWinSATAssessments, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -308,7 +308,7 @@ pub struct IQueryAllWinSATAssessments_Vtbl { #[cfg(not(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com")))] get_AllXML: usize, } -windows_core::imp::com_interface!(IQueryOEMWinSATCustomization, IQueryOEMWinSATCustomization_Vtbl, 0xbc9a6a9f_ad4e_420e_9953_b34671e9df22); +windows_core::imp::define_interface!(IQueryOEMWinSATCustomization, IQueryOEMWinSATCustomization_Vtbl, 0xbc9a6a9f_ad4e_420e_9953_b34671e9df22); windows_core::imp::interface_hierarchy!(IQueryOEMWinSATCustomization, windows_core::IUnknown); impl IQueryOEMWinSATCustomization { pub unsafe fn GetOEMPrePopulationInfo(&self) -> windows_core::Result { @@ -322,7 +322,7 @@ pub struct IQueryOEMWinSATCustomization_Vtbl { pub GetOEMPrePopulationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WINSAT_OEM_CUSTOMIZATION_STATE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IQueryRecentWinSATAssessment, IQueryRecentWinSATAssessment_Vtbl, 0xf8ad5d1f_3b47_4bdc_9375_7c6b1da4eca7); +windows_core::imp::define_interface!(IQueryRecentWinSATAssessment, IQueryRecentWinSATAssessment_Vtbl, 0xf8ad5d1f_3b47_4bdc_9375_7c6b1da4eca7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IQueryRecentWinSATAssessment, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -355,7 +355,7 @@ pub struct IQueryRecentWinSATAssessment_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Info: usize, } -windows_core::imp::com_interface!(IWinSATInitiateEvents, IWinSATInitiateEvents_Vtbl, 0x262a1918_ba0d_41d5_92c2_fab4633ee74f); +windows_core::imp::define_interface!(IWinSATInitiateEvents, IWinSATInitiateEvents_Vtbl, 0x262a1918_ba0d_41d5_92c2_fab4633ee74f); windows_core::imp::interface_hierarchy!(IWinSATInitiateEvents, windows_core::IUnknown); impl IWinSATInitiateEvents { pub unsafe fn WinSATComplete(&self, hresult: windows_core::HRESULT, strdescription: P0) -> windows_core::Result<()> 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 53f19058ee..46794be0a0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/mod.rs @@ -213,7 +213,7 @@ where windows_targets::link!("mscoree.dll" "system" fn RunDll32ShimW(hwnd : super::super::Foundation:: HWND, hinst : super::super::Foundation:: HINSTANCE, lpszcmdline : windows_core::PCWSTR, ncmdshow : i32) -> windows_core::HRESULT); RunDll32ShimW(hwnd.into_param().abi(), hinst.into_param().abi(), lpszcmdline.into_param().abi(), ncmdshow).ok() } -windows_core::imp::com_interface!(IActionOnCLREvent, IActionOnCLREvent_Vtbl, 0x607be24b_d91b_4e28_a242_61871ce56e35); +windows_core::imp::define_interface!(IActionOnCLREvent, IActionOnCLREvent_Vtbl, 0x607be24b_d91b_4e28_a242_61871ce56e35); windows_core::imp::interface_hierarchy!(IActionOnCLREvent, windows_core::IUnknown); impl IActionOnCLREvent { pub unsafe fn OnEvent(&self, event: EClrEvent, data: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -225,7 +225,7 @@ pub struct IActionOnCLREvent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, EClrEvent, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApartmentCallback, IApartmentCallback_Vtbl, 0x178e5337_1528_4591_b1c9_1c6e484686d8); +windows_core::imp::define_interface!(IApartmentCallback, IApartmentCallback_Vtbl, 0x178e5337_1528_4591_b1c9_1c6e484686d8); windows_core::imp::interface_hierarchy!(IApartmentCallback, windows_core::IUnknown); impl IApartmentCallback { pub unsafe fn DoCallback(&self, pfunc: usize, pdata: usize) -> windows_core::Result<()> { @@ -237,7 +237,7 @@ pub struct IApartmentCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DoCallback: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppDomainBinding, IAppDomainBinding_Vtbl, 0x5c2b07a7_1e98_11d3_872f_00c04f79ed0d); +windows_core::imp::define_interface!(IAppDomainBinding, IAppDomainBinding_Vtbl, 0x5c2b07a7_1e98_11d3_872f_00c04f79ed0d); windows_core::imp::interface_hierarchy!(IAppDomainBinding, windows_core::IUnknown); impl IAppDomainBinding { pub unsafe fn OnAppDomain(&self, pappdomain: P0) -> windows_core::Result<()> @@ -252,7 +252,7 @@ pub struct IAppDomainBinding_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnAppDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRAppDomainResourceMonitor, ICLRAppDomainResourceMonitor_Vtbl, 0xc62de18c_2e23_4aea_8423_b40c1fc59eae); +windows_core::imp::define_interface!(ICLRAppDomainResourceMonitor, ICLRAppDomainResourceMonitor_Vtbl, 0xc62de18c_2e23_4aea_8423_b40c1fc59eae); windows_core::imp::interface_hierarchy!(ICLRAppDomainResourceMonitor, windows_core::IUnknown); impl ICLRAppDomainResourceMonitor { pub unsafe fn GetCurrentAllocated(&self, dwappdomainid: u32, pbytesallocated: *mut u64) -> windows_core::Result<()> { @@ -272,7 +272,7 @@ pub struct ICLRAppDomainResourceMonitor_Vtbl { pub GetCurrentSurvived: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u64, *mut u64) -> windows_core::HRESULT, pub GetCurrentCpuTime: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRAssemblyIdentityManager, ICLRAssemblyIdentityManager_Vtbl, 0x15f0a9da_3ff6_4393_9da9_fdfd284e6972); +windows_core::imp::define_interface!(ICLRAssemblyIdentityManager, ICLRAssemblyIdentityManager_Vtbl, 0x15f0a9da_3ff6_4393_9da9_fdfd284e6972); 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 { @@ -341,7 +341,7 @@ pub struct ICLRAssemblyIdentityManager_Vtbl { pub GetProbingAssembliesFromReference: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsStronglyNamed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRAssemblyReferenceList, ICLRAssemblyReferenceList_Vtbl, 0x1b2c9750_2e66_4bda_8b44_0a642c5cd733); +windows_core::imp::define_interface!(ICLRAssemblyReferenceList, ICLRAssemblyReferenceList_Vtbl, 0x1b2c9750_2e66_4bda_8b44_0a642c5cd733); windows_core::imp::interface_hierarchy!(ICLRAssemblyReferenceList, windows_core::IUnknown); impl ICLRAssemblyReferenceList { pub unsafe fn IsStringAssemblyReferenceInList(&self, pwzassemblyname: P0) -> windows_core::Result<()> @@ -363,7 +363,7 @@ pub struct ICLRAssemblyReferenceList_Vtbl { pub IsStringAssemblyReferenceInList: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub IsAssemblyReferenceInList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRControl, ICLRControl_Vtbl, 0x9065597e_d1a1_4fb2_b6ba_7e1fce230f61); +windows_core::imp::define_interface!(ICLRControl, ICLRControl_Vtbl, 0x9065597e_d1a1_4fb2_b6ba_7e1fce230f61); windows_core::imp::interface_hierarchy!(ICLRControl, windows_core::IUnknown); impl ICLRControl { pub unsafe fn GetCLRManager(&self, riid: *const windows_core::GUID, ppobject: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -383,7 +383,7 @@ pub struct ICLRControl_Vtbl { pub GetCLRManager: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAppDomainManagerType: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRDebugManager, ICLRDebugManager_Vtbl, 0x00dcaec6_2ac0_43a9_acf9_1e36c139b10d); +windows_core::imp::define_interface!(ICLRDebugManager, ICLRDebugManager_Vtbl, 0x00dcaec6_2ac0_43a9_acf9_1e36c139b10d); windows_core::imp::interface_hierarchy!(ICLRDebugManager, windows_core::IUnknown); impl ICLRDebugManager { pub unsafe fn BeginConnection(&self, dwconnectionid: u32, szconnectionname: P0) -> windows_core::Result<()> @@ -432,7 +432,7 @@ pub struct ICLRDebugManager_Vtbl { pub IsDebuggerAttached: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetSymbolReadingPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, ESymbolReadingPolicy) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRDebugging, ICLRDebugging_Vtbl, 0xd28f3c5a_9634_4206_a509_477552eefb10); +windows_core::imp::define_interface!(ICLRDebugging, ICLRDebugging_Vtbl, 0xd28f3c5a_9634_4206_a509_477552eefb10); windows_core::imp::interface_hierarchy!(ICLRDebugging, windows_core::IUnknown); impl ICLRDebugging { pub unsafe fn OpenVirtualProcess(&self, modulebaseaddress: u64, pdatatarget: P0, plibraryprovider: P1, pmaxdebuggersupportedversion: *const CLR_DEBUGGING_VERSION, riidprocess: *const windows_core::GUID, ppprocess: *mut Option, pversion: *mut CLR_DEBUGGING_VERSION, pdwflags: *mut CLR_DEBUGGING_PROCESS_FLAGS) -> windows_core::Result<()> @@ -455,7 +455,7 @@ pub struct ICLRDebugging_Vtbl { pub OpenVirtualProcess: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::ffi::c_void, *mut core::ffi::c_void, *const CLR_DEBUGGING_VERSION, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut CLR_DEBUGGING_VERSION, *mut CLR_DEBUGGING_PROCESS_FLAGS) -> windows_core::HRESULT, pub CanUnloadNow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HMODULE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRDebuggingLibraryProvider, ICLRDebuggingLibraryProvider_Vtbl, 0x3151c08d_4d09_4f9b_8838_2880bf18fe51); +windows_core::imp::define_interface!(ICLRDebuggingLibraryProvider, ICLRDebuggingLibraryProvider_Vtbl, 0x3151c08d_4d09_4f9b_8838_2880bf18fe51); windows_core::imp::interface_hierarchy!(ICLRDebuggingLibraryProvider, windows_core::IUnknown); impl ICLRDebuggingLibraryProvider { pub unsafe fn ProvideLibrary(&self, pwszfilename: P0, dwtimestamp: u32, dwsizeofimage: u32) -> windows_core::Result @@ -471,7 +471,7 @@ pub struct ICLRDebuggingLibraryProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProvideLibrary: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, *mut super::super::Foundation::HMODULE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRDomainManager, ICLRDomainManager_Vtbl, 0x270d00a2_8e15_4d0b_adeb_37bc3e47df77); +windows_core::imp::define_interface!(ICLRDomainManager, ICLRDomainManager_Vtbl, 0x270d00a2_8e15_4d0b_adeb_37bc3e47df77); windows_core::imp::interface_hierarchy!(ICLRDomainManager, windows_core::IUnknown); impl ICLRDomainManager { pub unsafe fn SetAppDomainManagerType(&self, wszappdomainmanagerassembly: P0, wszappdomainmanagertype: P1, dwinitializedomainflags: EInitializeNewDomainFlags) -> windows_core::Result<()> @@ -491,7 +491,7 @@ pub struct ICLRDomainManager_Vtbl { pub SetAppDomainManagerType: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, EInitializeNewDomainFlags) -> windows_core::HRESULT, pub SetPropertiesForDefaultAppDomain: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::PCWSTR, *const windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRErrorReportingManager, ICLRErrorReportingManager_Vtbl, 0x980d2f1a_bf79_4c08_812a_bb9778928f78); +windows_core::imp::define_interface!(ICLRErrorReportingManager, ICLRErrorReportingManager_Vtbl, 0x980d2f1a_bf79_4c08_812a_bb9778928f78); windows_core::imp::interface_hierarchy!(ICLRErrorReportingManager, windows_core::IUnknown); impl ICLRErrorReportingManager { pub unsafe fn GetBucketParametersForCurrentException(&self, pparams: *mut BucketParameters) -> windows_core::Result<()> { @@ -511,7 +511,7 @@ pub struct ICLRErrorReportingManager_Vtbl { pub BeginCustomDump: unsafe extern "system" fn(*mut core::ffi::c_void, ECustomDumpFlavor, u32, *const CustomDumpItem, u32) -> windows_core::HRESULT, pub EndCustomDump: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRGCManager, ICLRGCManager_Vtbl, 0x54d9007e_a8e2_4885_b7bf_f998deee4f2a); +windows_core::imp::define_interface!(ICLRGCManager, ICLRGCManager_Vtbl, 0x54d9007e_a8e2_4885_b7bf_f998deee4f2a); windows_core::imp::interface_hierarchy!(ICLRGCManager, windows_core::IUnknown); impl ICLRGCManager { pub unsafe fn Collect(&self, generation: i32) -> windows_core::Result<()> { @@ -531,7 +531,7 @@ pub struct ICLRGCManager_Vtbl { pub GetStats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut COR_GC_STATS) -> windows_core::HRESULT, pub SetGCStartupLimits: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRGCManager2, ICLRGCManager2_Vtbl, 0x0603b793_a97a_4712_9cb4_0cd1c74c0f7c); +windows_core::imp::define_interface!(ICLRGCManager2, ICLRGCManager2_Vtbl, 0x0603b793_a97a_4712_9cb4_0cd1c74c0f7c); windows_core::imp::interface_hierarchy!(ICLRGCManager2, windows_core::IUnknown, ICLRGCManager); impl ICLRGCManager2 { pub unsafe fn Collect(&self, generation: i32) -> windows_core::Result<()> { @@ -552,7 +552,7 @@ pub struct ICLRGCManager2_Vtbl { pub base__: ICLRGCManager_Vtbl, pub SetGCStartupLimitsEx: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRHostBindingPolicyManager, ICLRHostBindingPolicyManager_Vtbl, 0x4b3545e7_1856_48c9_a8ba_24b21a753c09); +windows_core::imp::define_interface!(ICLRHostBindingPolicyManager, ICLRHostBindingPolicyManager_Vtbl, 0x4b3545e7_1856_48c9_a8ba_24b21a753c09); windows_core::imp::interface_hierarchy!(ICLRHostBindingPolicyManager, windows_core::IUnknown); impl ICLRHostBindingPolicyManager { pub unsafe fn ModifyApplicationPolicy(&self, pwzsourceassemblyidentity: P0, pwztargetassemblyidentity: P1, pbapplicationpolicy: *const u8, cbapppolicysize: u32, dwpolicymodifyflags: u32, pbnewapplicationpolicy: *mut u8, pcbnewapppolicysize: *mut u32) -> windows_core::Result<()> @@ -575,7 +575,7 @@ pub struct ICLRHostBindingPolicyManager_Vtbl { pub ModifyApplicationPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *const u8, u32, u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub EvaluatePolicy: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u8, u32, windows_core::PWSTR, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRHostProtectionManager, ICLRHostProtectionManager_Vtbl, 0x89f25f5c_ceef_43e1_9cfa_a68ce863aaac); +windows_core::imp::define_interface!(ICLRHostProtectionManager, ICLRHostProtectionManager_Vtbl, 0x89f25f5c_ceef_43e1_9cfa_a68ce863aaac); windows_core::imp::interface_hierarchy!(ICLRHostProtectionManager, windows_core::IUnknown); impl ICLRHostProtectionManager { pub unsafe fn SetProtectedCategories(&self, categories: EApiCategories) -> windows_core::Result<()> { @@ -591,7 +591,7 @@ pub struct ICLRHostProtectionManager_Vtbl { pub SetProtectedCategories: unsafe extern "system" fn(*mut core::ffi::c_void, EApiCategories) -> windows_core::HRESULT, pub SetEagerSerializeGrantSets: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRIoCompletionManager, ICLRIoCompletionManager_Vtbl, 0x2d74ce86_b8d6_4c84_b3a7_9768933b3c12); +windows_core::imp::define_interface!(ICLRIoCompletionManager, ICLRIoCompletionManager_Vtbl, 0x2d74ce86_b8d6_4c84_b3a7_9768933b3c12); windows_core::imp::interface_hierarchy!(ICLRIoCompletionManager, windows_core::IUnknown); impl ICLRIoCompletionManager { pub unsafe fn OnComplete(&self, dwerrorcode: u32, numberofbytestransferred: u32, pvoverlapped: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -603,7 +603,7 @@ pub struct ICLRIoCompletionManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnComplete: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRMemoryNotificationCallback, ICLRMemoryNotificationCallback_Vtbl, 0x47eb8e57_0846_4546_af76_6f42fcfc2649); +windows_core::imp::define_interface!(ICLRMemoryNotificationCallback, ICLRMemoryNotificationCallback_Vtbl, 0x47eb8e57_0846_4546_af76_6f42fcfc2649); windows_core::imp::interface_hierarchy!(ICLRMemoryNotificationCallback, windows_core::IUnknown); impl ICLRMemoryNotificationCallback { pub unsafe fn OnMemoryNotification(&self, ememoryavailable: EMemoryAvailable) -> windows_core::Result<()> { @@ -615,7 +615,7 @@ pub struct ICLRMemoryNotificationCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnMemoryNotification: unsafe extern "system" fn(*mut core::ffi::c_void, EMemoryAvailable) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRMetaHost, ICLRMetaHost_Vtbl, 0xd332db9e_b9b3_4125_8207_a14884f53216); +windows_core::imp::define_interface!(ICLRMetaHost, ICLRMetaHost_Vtbl, 0xd332db9e_b9b3_4125_8207_a14884f53216); windows_core::imp::interface_hierarchy!(ICLRMetaHost, windows_core::IUnknown); impl ICLRMetaHost { pub unsafe fn GetRuntime(&self, pwzversion: P0) -> windows_core::Result @@ -676,7 +676,7 @@ pub struct ICLRMetaHost_Vtbl { pub QueryLegacyV2RuntimeBinding: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ExitProcess: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRMetaHostPolicy, ICLRMetaHostPolicy_Vtbl, 0xe2190695_77b2_492e_8e14_c4b3a7fdd593); +windows_core::imp::define_interface!(ICLRMetaHostPolicy, ICLRMetaHostPolicy_Vtbl, 0xe2190695_77b2_492e_8e14_c4b3a7fdd593); windows_core::imp::interface_hierarchy!(ICLRMetaHostPolicy, windows_core::IUnknown); impl ICLRMetaHostPolicy { #[cfg(feature = "Win32_System_Com")] @@ -698,7 +698,7 @@ pub struct ICLRMetaHostPolicy_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetRequestedRuntime: usize, } -windows_core::imp::com_interface!(ICLROnEventManager, ICLROnEventManager_Vtbl, 0x1d0e0132_e64f_493d_9260_025c0e32c175); +windows_core::imp::define_interface!(ICLROnEventManager, ICLROnEventManager_Vtbl, 0x1d0e0132_e64f_493d_9260_025c0e32c175); windows_core::imp::interface_hierarchy!(ICLROnEventManager, windows_core::IUnknown); impl ICLROnEventManager { pub unsafe fn RegisterActionOnEvent(&self, event: EClrEvent, paction: P0) -> windows_core::Result<()> @@ -720,7 +720,7 @@ pub struct ICLROnEventManager_Vtbl { pub RegisterActionOnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, EClrEvent, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnregisterActionOnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, EClrEvent, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRPolicyManager, ICLRPolicyManager_Vtbl, 0x7d290010_d781_45da_a6f8_aa5d711a730e); +windows_core::imp::define_interface!(ICLRPolicyManager, ICLRPolicyManager_Vtbl, 0x7d290010_d781_45da_a6f8_aa5d711a730e); windows_core::imp::interface_hierarchy!(ICLRPolicyManager, windows_core::IUnknown); impl ICLRPolicyManager { pub unsafe fn SetDefaultAction(&self, operation: EClrOperation, action: EPolicyAction) -> windows_core::Result<()> { @@ -752,7 +752,7 @@ pub struct ICLRPolicyManager_Vtbl { pub SetActionOnFailure: unsafe extern "system" fn(*mut core::ffi::c_void, EClrFailure, EPolicyAction) -> windows_core::HRESULT, pub SetUnhandledExceptionPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, EClrUnhandledException) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRProbingAssemblyEnum, ICLRProbingAssemblyEnum_Vtbl, 0xd0c5fb1f_416b_4f97_81f4_7ac7dc24dd5d); +windows_core::imp::define_interface!(ICLRProbingAssemblyEnum, ICLRProbingAssemblyEnum_Vtbl, 0xd0c5fb1f_416b_4f97_81f4_7ac7dc24dd5d); windows_core::imp::interface_hierarchy!(ICLRProbingAssemblyEnum, windows_core::IUnknown); impl ICLRProbingAssemblyEnum { pub unsafe fn Get(&self, dwindex: u32, pwzbuffer: windows_core::PWSTR, pcchbuffersize: *mut u32) -> windows_core::Result<()> { @@ -764,7 +764,7 @@ pub struct ICLRProbingAssemblyEnum_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRProfiling, ICLRProfiling_Vtbl, 0xb349abe3_b56f_4689_bfcd_76bf39d888ea); +windows_core::imp::define_interface!(ICLRProfiling, ICLRProfiling_Vtbl, 0xb349abe3_b56f_4689_bfcd_76bf39d888ea); windows_core::imp::interface_hierarchy!(ICLRProfiling, windows_core::IUnknown); impl ICLRProfiling { pub unsafe fn AttachProfiler(&self, dwprofileeprocessid: u32, dwmillisecondsmax: u32, pclsidprofiler: *const windows_core::GUID, wszprofilerpath: P0, pvclientdata: &[u8]) -> windows_core::Result<()> @@ -779,7 +779,7 @@ pub struct ICLRProfiling_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AttachProfiler: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const windows_core::GUID, windows_core::PCWSTR, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRReferenceAssemblyEnum, ICLRReferenceAssemblyEnum_Vtbl, 0xd509cb5d_cf32_4876_ae61_67770cf91973); +windows_core::imp::define_interface!(ICLRReferenceAssemblyEnum, ICLRReferenceAssemblyEnum_Vtbl, 0xd509cb5d_cf32_4876_ae61_67770cf91973); windows_core::imp::interface_hierarchy!(ICLRReferenceAssemblyEnum, windows_core::IUnknown); impl ICLRReferenceAssemblyEnum { pub unsafe fn Get(&self, dwindex: u32, pwzbuffer: windows_core::PWSTR, pcchbuffersize: *mut u32) -> windows_core::Result<()> { @@ -791,7 +791,7 @@ pub struct ICLRReferenceAssemblyEnum_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRRuntimeHost, ICLRRuntimeHost_Vtbl, 0x90f1a06c_7712_4762_86b5_7a5eba6bdb02); +windows_core::imp::define_interface!(ICLRRuntimeHost, ICLRRuntimeHost_Vtbl, 0x90f1a06c_7712_4762_86b5_7a5eba6bdb02); windows_core::imp::interface_hierarchy!(ICLRRuntimeHost, windows_core::IUnknown); impl ICLRRuntimeHost { pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -854,7 +854,7 @@ pub struct ICLRRuntimeHost_Vtbl { pub ExecuteApplication: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const windows_core::PCWSTR, u32, *const windows_core::PCWSTR, *mut i32) -> windows_core::HRESULT, pub ExecuteInDefaultAppDomain: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRRuntimeInfo, ICLRRuntimeInfo_Vtbl, 0xbd39d1d2_ba2f_486a_89b0_b4b0cb466891); +windows_core::imp::define_interface!(ICLRRuntimeInfo, ICLRRuntimeInfo_Vtbl, 0xbd39d1d2_ba2f_486a_89b0_b4b0cb466891); windows_core::imp::interface_hierarchy!(ICLRRuntimeInfo, windows_core::IUnknown); impl ICLRRuntimeInfo { pub unsafe fn GetVersionString(&self, pwzbuffer: windows_core::PWSTR, pcchbuffer: *mut u32) -> windows_core::Result<()> { @@ -930,7 +930,7 @@ pub struct ICLRRuntimeInfo_Vtbl { pub BindAsLegacyV2Runtime: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsStarted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRStrongName, ICLRStrongName_Vtbl, 0x9fd93ccf_3280_4391_b3a9_96e1cde77c8d); +windows_core::imp::define_interface!(ICLRStrongName, ICLRStrongName_Vtbl, 0x9fd93ccf_3280_4391_b3a9_96e1cde77c8d); windows_core::imp::interface_hierarchy!(ICLRStrongName, windows_core::IUnknown); impl ICLRStrongName { pub unsafe fn GetHashFromAssemblyFile(&self, pszfilepath: P0, pihashalg: *mut u32, pbhash: &mut [u8], pchhash: *mut u32) -> windows_core::Result<()> @@ -1101,7 +1101,7 @@ pub struct ICLRStrongName_Vtbl { pub StrongNameTokenFromAssemblyEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut u8, *mut u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, pub StrongNameTokenFromPublicKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRStrongName2, ICLRStrongName2_Vtbl, 0xc22ed5c5_4b59_4975_90eb_85ea55c0069b); +windows_core::imp::define_interface!(ICLRStrongName2, ICLRStrongName2_Vtbl, 0xc22ed5c5_4b59_4975_90eb_85ea55c0069b); windows_core::imp::interface_hierarchy!(ICLRStrongName2, windows_core::IUnknown); impl ICLRStrongName2 { pub unsafe fn StrongNameGetPublicKeyEx(&self, pwzkeycontainer: P0, pbkeyblob: *const u8, cbkeyblob: u32, ppbpublickeyblob: *mut *mut u8, pcbpublickeyblob: *mut u32, uhashalgid: u32, ureserved: u32) -> windows_core::Result<()> @@ -1125,7 +1125,7 @@ pub struct ICLRStrongName2_Vtbl { pub StrongNameGetPublicKeyEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u8, u32, *mut *mut u8, *mut u32, u32, u32) -> windows_core::HRESULT, pub StrongNameSignatureVerificationEx2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::Foundation::BOOLEAN, *const u8, u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRStrongName3, ICLRStrongName3_Vtbl, 0x22c7089b_bbd3_414a_b698_210f263f1fed); +windows_core::imp::define_interface!(ICLRStrongName3, ICLRStrongName3_Vtbl, 0x22c7089b_bbd3_414a_b698_210f263f1fed); windows_core::imp::interface_hierarchy!(ICLRStrongName3, windows_core::IUnknown); impl ICLRStrongName3 { pub unsafe fn StrongNameDigestGenerate(&self, wszfilepath: P0, ppbdigestblob: *mut *mut u8, pcbdigestblob: *mut u32, dwflags: u32) -> windows_core::Result<()> @@ -1154,7 +1154,7 @@ pub struct ICLRStrongName3_Vtbl { pub StrongNameDigestSign: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u8, u32, *const u8, u32, u32, *mut *mut u8, *mut u32, u32) -> windows_core::HRESULT, pub StrongNameDigestEmbed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRSyncManager, ICLRSyncManager_Vtbl, 0x55ff199d_ad21_48f9_a16c_f24ebbb8727d); +windows_core::imp::define_interface!(ICLRSyncManager, ICLRSyncManager_Vtbl, 0x55ff199d_ad21_48f9_a16c_f24ebbb8727d); windows_core::imp::interface_hierarchy!(ICLRSyncManager, windows_core::IUnknown); impl ICLRSyncManager { pub unsafe fn GetMonitorOwner(&self, cookie: usize) -> windows_core::Result { @@ -1181,7 +1181,7 @@ pub struct ICLRSyncManager_Vtbl { pub GetRWLockOwnerNext: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteRWLockOwnerIterator: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRTask, ICLRTask_Vtbl, 0x28e66a4a_9906_4225_b231_9187c3eb8611); +windows_core::imp::define_interface!(ICLRTask, ICLRTask_Vtbl, 0x28e66a4a_9906_4225_b231_9187c3eb8611); windows_core::imp::interface_hierarchy!(ICLRTask, windows_core::IUnknown); impl ICLRTask { pub unsafe fn SwitchIn(&self, threadhandle: P0) -> windows_core::Result<()> @@ -1242,7 +1242,7 @@ pub struct ICLRTask_Vtbl { pub LocksHeld: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize) -> windows_core::HRESULT, pub SetTaskIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRTask2, ICLRTask2_Vtbl, 0x28e66a4a_9906_4225_b231_9187c3eb8612); +windows_core::imp::define_interface!(ICLRTask2, ICLRTask2_Vtbl, 0x28e66a4a_9906_4225_b231_9187c3eb8612); windows_core::imp::interface_hierarchy!(ICLRTask2, windows_core::IUnknown, ICLRTask); impl ICLRTask2 { pub unsafe fn SwitchIn(&self, threadhandle: P0) -> windows_core::Result<()> @@ -1300,7 +1300,7 @@ pub struct ICLRTask2_Vtbl { pub BeginPreventAsyncAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EndPreventAsyncAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICLRTaskManager, ICLRTaskManager_Vtbl, 0x4862efbe_3ae5_44f8_8feb_346190ee8a34); +windows_core::imp::define_interface!(ICLRTaskManager, ICLRTaskManager_Vtbl, 0x4862efbe_3ae5_44f8_8feb_346190ee8a34); windows_core::imp::interface_hierarchy!(ICLRTaskManager, windows_core::IUnknown); impl ICLRTaskManager { pub unsafe fn CreateTask(&self) -> windows_core::Result { @@ -1331,7 +1331,7 @@ pub struct ICLRTaskManager_Vtbl { pub SetLocale: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetCurrentTaskType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ETaskType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICatalogServices, ICatalogServices_Vtbl, 0x04c6be1e_1db1_4058_ab7a_700cccfbf254); +windows_core::imp::define_interface!(ICatalogServices, ICatalogServices_Vtbl, 0x04c6be1e_1db1_4058_ab7a_700cccfbf254); windows_core::imp::interface_hierarchy!(ICatalogServices, windows_core::IUnknown); impl ICatalogServices { pub unsafe fn Autodone(&self) -> windows_core::Result<()> { @@ -1347,7 +1347,7 @@ pub struct ICatalogServices_Vtbl { pub Autodone: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub NotAutodone: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorConfiguration, ICorConfiguration_Vtbl, 0x5c2b07a5_1e98_11d3_872f_00c04f79ed0d); +windows_core::imp::define_interface!(ICorConfiguration, ICorConfiguration_Vtbl, 0x5c2b07a5_1e98_11d3_872f_00c04f79ed0d); windows_core::imp::interface_hierarchy!(ICorConfiguration, windows_core::IUnknown); impl ICorConfiguration { pub unsafe fn SetGCThreadControl(&self, pgcthreadcontrol: P0) -> windows_core::Result<()> @@ -1380,7 +1380,7 @@ pub struct ICorConfiguration_Vtbl { pub SetDebuggerThreadControl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddDebuggerSpecialThread: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorRuntimeHost, ICorRuntimeHost_Vtbl, 0xcb2f6722_ab3a_11d2_9c40_00c04fa30a3e); +windows_core::imp::define_interface!(ICorRuntimeHost, ICorRuntimeHost_Vtbl, 0xcb2f6722_ab3a_11d2_9c40_00c04fa30a3e); windows_core::imp::interface_hierarchy!(ICorRuntimeHost, windows_core::IUnknown); impl ICorRuntimeHost { pub unsafe fn CreateLogicalThreadState(&self) -> windows_core::Result<()> { @@ -1490,7 +1490,7 @@ pub struct ICorRuntimeHost_Vtbl { pub UnloadDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CurrentDomain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorThreadpool, ICorThreadpool_Vtbl, 0x84680d3a_b2c1_46e8_acc2_dbc0a359159a); +windows_core::imp::define_interface!(ICorThreadpool, ICorThreadpool_Vtbl, 0x84680d3a_b2c1_46e8_acc2_dbc0a359159a); windows_core::imp::interface_hierarchy!(ICorThreadpool, windows_core::IUnknown); impl ICorThreadpool { #[cfg(feature = "Win32_System_Threading")] @@ -1590,7 +1590,7 @@ pub struct ICorThreadpool_Vtbl { pub CorGetMaxThreads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub CorGetAvailableThreads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebuggerInfo, IDebuggerInfo_Vtbl, 0xbf24142d_a47d_4d24_a66d_8c2141944e44); +windows_core::imp::define_interface!(IDebuggerInfo, IDebuggerInfo_Vtbl, 0xbf24142d_a47d_4d24_a66d_8c2141944e44); windows_core::imp::interface_hierarchy!(IDebuggerInfo, windows_core::IUnknown); impl IDebuggerInfo { pub unsafe fn IsDebuggerAttached(&self) -> windows_core::Result { @@ -1603,7 +1603,7 @@ pub struct IDebuggerInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsDebuggerAttached: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebuggerThreadControl, IDebuggerThreadControl_Vtbl, 0x23d86786_0bb5_4774_8fb5_e3522add6246); +windows_core::imp::define_interface!(IDebuggerThreadControl, IDebuggerThreadControl_Vtbl, 0x23d86786_0bb5_4774_8fb5_e3522add6246); windows_core::imp::interface_hierarchy!(IDebuggerThreadControl, windows_core::IUnknown); impl IDebuggerThreadControl { pub unsafe fn ThreadIsBlockingForDebugger(&self) -> windows_core::Result<()> { @@ -1623,7 +1623,7 @@ pub struct IDebuggerThreadControl_Vtbl { pub ReleaseAllRuntimeThreads: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub StartBlockingForDebugger: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGCHost, IGCHost_Vtbl, 0xfac34f6e_0dcd_47b5_8021_531bc5ecca63); +windows_core::imp::define_interface!(IGCHost, IGCHost_Vtbl, 0xfac34f6e_0dcd_47b5_8021_531bc5ecca63); windows_core::imp::interface_hierarchy!(IGCHost, windows_core::IUnknown); impl IGCHost { pub unsafe fn SetGCStartupLimits(&self, segmentsize: u32, maxgen0size: u32) -> windows_core::Result<()> { @@ -1651,7 +1651,7 @@ pub struct IGCHost_Vtbl { pub GetThreadStats: unsafe extern "system" fn(*mut core::ffi::c_void, *const u32, *mut COR_GC_THREAD_STATS) -> windows_core::HRESULT, pub SetVirtualMemLimit: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGCHost2, IGCHost2_Vtbl, 0xa1d70cec_2dbe_4e2f_9291_fdf81438a1df); +windows_core::imp::define_interface!(IGCHost2, IGCHost2_Vtbl, 0xa1d70cec_2dbe_4e2f_9291_fdf81438a1df); windows_core::imp::interface_hierarchy!(IGCHost2, windows_core::IUnknown, IGCHost); impl IGCHost2 { pub unsafe fn SetGCStartupLimits(&self, segmentsize: u32, maxgen0size: u32) -> windows_core::Result<()> { @@ -1678,7 +1678,7 @@ pub struct IGCHost2_Vtbl { pub base__: IGCHost_Vtbl, pub SetGCStartupLimitsEx: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGCHostControl, IGCHostControl_Vtbl, 0x5513d564_8374_4cb9_aed9_0083f4160a1d); +windows_core::imp::define_interface!(IGCHostControl, IGCHostControl_Vtbl, 0x5513d564_8374_4cb9_aed9_0083f4160a1d); windows_core::imp::interface_hierarchy!(IGCHostControl, windows_core::IUnknown); impl IGCHostControl { pub unsafe fn RequestVirtualMemLimit(&self, sztmaxvirtualmemmb: usize, psztnewmaxvirtualmemmb: *mut usize) -> windows_core::Result<()> { @@ -1690,7 +1690,7 @@ pub struct IGCHostControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RequestVirtualMemLimit: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGCThreadControl, IGCThreadControl_Vtbl, 0xf31d1788_c397_4725_87a5_6af3472c2791); +windows_core::imp::define_interface!(IGCThreadControl, IGCThreadControl_Vtbl, 0xf31d1788_c397_4725_87a5_6af3472c2791); windows_core::imp::interface_hierarchy!(IGCThreadControl, windows_core::IUnknown); impl IGCThreadControl { pub unsafe fn ThreadIsBlockingForSuspension(&self) -> windows_core::Result<()> { @@ -1710,7 +1710,7 @@ pub struct IGCThreadControl_Vtbl { pub SuspensionStarting: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SuspensionEnding: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostAssemblyManager, IHostAssemblyManager_Vtbl, 0x613dabd7_62b2_493e_9e65_c1e32a1e0c5e); +windows_core::imp::define_interface!(IHostAssemblyManager, IHostAssemblyManager_Vtbl, 0x613dabd7_62b2_493e_9e65_c1e32a1e0c5e); windows_core::imp::interface_hierarchy!(IHostAssemblyManager, windows_core::IUnknown); impl IHostAssemblyManager { pub unsafe fn GetNonHostStoreAssemblies(&self) -> windows_core::Result { @@ -1728,7 +1728,7 @@ pub struct IHostAssemblyManager_Vtbl { pub GetNonHostStoreAssemblies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAssemblyStore: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostAssemblyStore, IHostAssemblyStore_Vtbl, 0x7b102a88_3f7f_496d_8fa2_c35374e01af3); +windows_core::imp::define_interface!(IHostAssemblyStore, IHostAssemblyStore_Vtbl, 0x7b102a88_3f7f_496d_8fa2_c35374e01af3); windows_core::imp::interface_hierarchy!(IHostAssemblyStore, windows_core::IUnknown); impl IHostAssemblyStore { #[cfg(feature = "Win32_System_Com")] @@ -1752,7 +1752,7 @@ pub struct IHostAssemblyStore_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ProvideModule: usize, } -windows_core::imp::com_interface!(IHostAutoEvent, IHostAutoEvent_Vtbl, 0x50b0cfce_4063_4278_9673_e5cb4ed0bdb8); +windows_core::imp::define_interface!(IHostAutoEvent, IHostAutoEvent_Vtbl, 0x50b0cfce_4063_4278_9673_e5cb4ed0bdb8); windows_core::imp::interface_hierarchy!(IHostAutoEvent, windows_core::IUnknown); impl IHostAutoEvent { pub unsafe fn Wait(&self, dwmilliseconds: u32, option: u32) -> windows_core::Result<()> { @@ -1768,7 +1768,7 @@ pub struct IHostAutoEvent_Vtbl { pub Wait: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub Set: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostControl, IHostControl_Vtbl, 0x02ca073c_7079_4860_880a_c2f7a449c991); +windows_core::imp::define_interface!(IHostControl, IHostControl_Vtbl, 0x02ca073c_7079_4860_880a_c2f7a449c991); windows_core::imp::interface_hierarchy!(IHostControl, windows_core::IUnknown); impl IHostControl { pub unsafe fn GetHostManager(&self, riid: *const windows_core::GUID, ppobject: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -1787,7 +1787,7 @@ pub struct IHostControl_Vtbl { pub GetHostManager: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAppDomainManager: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostCrst, IHostCrst_Vtbl, 0x6df710a6_26a4_4a65_8cd5_7237b8bda8dc); +windows_core::imp::define_interface!(IHostCrst, IHostCrst_Vtbl, 0x6df710a6_26a4_4a65_8cd5_7237b8bda8dc); windows_core::imp::interface_hierarchy!(IHostCrst, windows_core::IUnknown); impl IHostCrst { pub unsafe fn Enter(&self, option: u32) -> windows_core::Result<()> { @@ -1812,7 +1812,7 @@ pub struct IHostCrst_Vtbl { pub TryEnter: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetSpinCount: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostGCManager, IHostGCManager_Vtbl, 0x5d4ec34e_f248_457b_b603_255faaba0d21); +windows_core::imp::define_interface!(IHostGCManager, IHostGCManager_Vtbl, 0x5d4ec34e_f248_457b_b603_255faaba0d21); windows_core::imp::interface_hierarchy!(IHostGCManager, windows_core::IUnknown); impl IHostGCManager { pub unsafe fn ThreadIsBlockingForSuspension(&self) -> windows_core::Result<()> { @@ -1832,7 +1832,7 @@ pub struct IHostGCManager_Vtbl { pub SuspensionStarting: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SuspensionEnding: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostIoCompletionManager, IHostIoCompletionManager_Vtbl, 0x8bde9d80_ec06_41d6_83e6_22580effcc20); +windows_core::imp::define_interface!(IHostIoCompletionManager, IHostIoCompletionManager_Vtbl, 0x8bde9d80_ec06_41d6_83e6_22580effcc20); windows_core::imp::interface_hierarchy!(IHostIoCompletionManager, windows_core::IUnknown); impl IHostIoCompletionManager { pub unsafe fn CreateIoCompletionPort(&self) -> windows_core::Result { @@ -1899,7 +1899,7 @@ pub struct IHostIoCompletionManager_Vtbl { pub SetMinThreads: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetMinThreads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostMalloc, IHostMalloc_Vtbl, 0x1831991c_cc53_4a31_b218_04e910446479); +windows_core::imp::define_interface!(IHostMalloc, IHostMalloc_Vtbl, 0x1831991c_cc53_4a31_b218_04e910446479); windows_core::imp::interface_hierarchy!(IHostMalloc, windows_core::IUnknown); impl IHostMalloc { pub unsafe fn Alloc(&self, cbsize: usize, ecriticallevel: EMemoryCriticalLevel, ppmem: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -1919,7 +1919,7 @@ pub struct IHostMalloc_Vtbl { pub DebugAlloc: unsafe extern "system" fn(*mut core::ffi::c_void, usize, EMemoryCriticalLevel, *const u8, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Free: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostManualEvent, IHostManualEvent_Vtbl, 0x1bf4ec38_affe_4fb9_85a6_525268f15b54); +windows_core::imp::define_interface!(IHostManualEvent, IHostManualEvent_Vtbl, 0x1bf4ec38_affe_4fb9_85a6_525268f15b54); windows_core::imp::interface_hierarchy!(IHostManualEvent, windows_core::IUnknown); impl IHostManualEvent { pub unsafe fn Wait(&self, dwmilliseconds: u32, option: u32) -> windows_core::Result<()> { @@ -1939,7 +1939,7 @@ pub struct IHostManualEvent_Vtbl { pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Set: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostMemoryManager, IHostMemoryManager_Vtbl, 0x7bc698d1_f9e3_4460_9cde_d04248e9fa25); +windows_core::imp::define_interface!(IHostMemoryManager, IHostMemoryManager_Vtbl, 0x7bc698d1_f9e3_4460_9cde_d04248e9fa25); windows_core::imp::interface_hierarchy!(IHostMemoryManager, windows_core::IUnknown); impl IHostMemoryManager { pub unsafe fn CreateMalloc(&self, dwmalloctype: u32) -> windows_core::Result { @@ -1992,7 +1992,7 @@ pub struct IHostMemoryManager_Vtbl { pub AcquiredVirtualAddressSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, usize) -> windows_core::HRESULT, pub ReleasedVirtualAddressSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostPolicyManager, IHostPolicyManager_Vtbl, 0x7ae49844_b1e3_4683_ba7c_1e8212ea3b79); +windows_core::imp::define_interface!(IHostPolicyManager, IHostPolicyManager_Vtbl, 0x7ae49844_b1e3_4683_ba7c_1e8212ea3b79); windows_core::imp::interface_hierarchy!(IHostPolicyManager, windows_core::IUnknown); impl IHostPolicyManager { pub unsafe fn OnDefaultAction(&self, operation: EClrOperation, action: EPolicyAction) -> windows_core::Result<()> { @@ -2012,7 +2012,7 @@ pub struct IHostPolicyManager_Vtbl { pub OnTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, EClrOperation, EPolicyAction) -> windows_core::HRESULT, pub OnFailure: unsafe extern "system" fn(*mut core::ffi::c_void, EClrFailure, EPolicyAction) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostSecurityContext, IHostSecurityContext_Vtbl, 0x7e573ce4_0343_4423_98d7_6318348a1d3c); +windows_core::imp::define_interface!(IHostSecurityContext, IHostSecurityContext_Vtbl, 0x7e573ce4_0343_4423_98d7_6318348a1d3c); windows_core::imp::interface_hierarchy!(IHostSecurityContext, windows_core::IUnknown); impl IHostSecurityContext { pub unsafe fn Capture(&self) -> windows_core::Result { @@ -2025,7 +2025,7 @@ pub struct IHostSecurityContext_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Capture: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostSecurityManager, IHostSecurityManager_Vtbl, 0x75ad2468_a349_4d02_a764_76a68aee0c4f); +windows_core::imp::define_interface!(IHostSecurityManager, IHostSecurityManager_Vtbl, 0x75ad2468_a349_4d02_a764_76a68aee0c4f); windows_core::imp::interface_hierarchy!(IHostSecurityManager, windows_core::IUnknown); impl IHostSecurityManager { pub unsafe fn ImpersonateLoggedOnUser(&self, htoken: P0) -> windows_core::Result<()> @@ -2071,7 +2071,7 @@ pub struct IHostSecurityManager_Vtbl { pub GetSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void, EContextType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void, EContextType, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostSemaphore, IHostSemaphore_Vtbl, 0x855efd47_cc09_463a_a97d_16acab882661); +windows_core::imp::define_interface!(IHostSemaphore, IHostSemaphore_Vtbl, 0x855efd47_cc09_463a_a97d_16acab882661); windows_core::imp::interface_hierarchy!(IHostSemaphore, windows_core::IUnknown); impl IHostSemaphore { pub unsafe fn Wait(&self, dwmilliseconds: u32, option: u32) -> windows_core::Result<()> { @@ -2088,7 +2088,7 @@ pub struct IHostSemaphore_Vtbl { pub Wait: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub ReleaseSemaphore: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostSyncManager, IHostSyncManager_Vtbl, 0x234330c7_5f10_4f20_9615_5122dab7a0ac); +windows_core::imp::define_interface!(IHostSyncManager, IHostSyncManager_Vtbl, 0x234330c7_5f10_4f20_9615_5122dab7a0ac); windows_core::imp::interface_hierarchy!(IHostSyncManager, windows_core::IUnknown); impl IHostSyncManager { pub unsafe fn SetCLRSyncManager(&self, pmanager: P0) -> windows_core::Result<()> @@ -2149,7 +2149,7 @@ pub struct IHostSyncManager_Vtbl { pub CreateRWLockReaderEvent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, usize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateSemaphoreA: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostTask, IHostTask_Vtbl, 0xc2275828_c4b1_4b55_82c9_92135f74df1a); +windows_core::imp::define_interface!(IHostTask, IHostTask_Vtbl, 0xc2275828_c4b1_4b55_82c9_92135f74df1a); windows_core::imp::interface_hierarchy!(IHostTask, windows_core::IUnknown); impl IHostTask { pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -2185,7 +2185,7 @@ pub struct IHostTask_Vtbl { pub GetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetCLRTask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostTaskManager, IHostTaskManager_Vtbl, 0x997ff24c_43b7_4352_8667_0dc04fafd354); +windows_core::imp::define_interface!(IHostTaskManager, IHostTaskManager_Vtbl, 0x997ff24c_43b7_4352_8667_0dc04fafd354); windows_core::imp::interface_hierarchy!(IHostTaskManager, windows_core::IUnknown); impl IHostTaskManager { pub unsafe fn GetCurrentTask(&self) -> windows_core::Result { @@ -2276,7 +2276,7 @@ pub struct IHostTaskManager_Vtbl { pub GetStackGuarantee: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetCLRTaskManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostThreadpoolManager, IHostThreadpoolManager_Vtbl, 0x983d50e2_cb15_466b_80fc_845dc6e8c5fd); +windows_core::imp::define_interface!(IHostThreadpoolManager, IHostThreadpoolManager_Vtbl, 0x983d50e2_cb15_466b_80fc_845dc6e8c5fd); windows_core::imp::interface_hierarchy!(IHostThreadpoolManager, windows_core::IUnknown); impl IHostThreadpoolManager { #[cfg(feature = "Win32_System_Threading")] @@ -2315,7 +2315,7 @@ pub struct IHostThreadpoolManager_Vtbl { pub SetMinThreads: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetMinThreads: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManagedObject, IManagedObject_Vtbl, 0xc3fcc19e_a970_11d2_8b5a_00a0c9b7c9c4); +windows_core::imp::define_interface!(IManagedObject, IManagedObject_Vtbl, 0xc3fcc19e_a970_11d2_8b5a_00a0c9b7c9c4); windows_core::imp::interface_hierarchy!(IManagedObject, windows_core::IUnknown); impl IManagedObject { pub unsafe fn GetSerializedBuffer(&self) -> windows_core::Result { @@ -2332,7 +2332,7 @@ pub struct IManagedObject_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, } -windows_core::imp::com_interface!(IObjectHandle, IObjectHandle_Vtbl, 0xc460e2b4_e199_412a_8456_84dc3e4838c3); +windows_core::imp::define_interface!(IObjectHandle, IObjectHandle_Vtbl, 0xc460e2b4_e199_412a_8456_84dc3e4838c3); windows_core::imp::interface_hierarchy!(IObjectHandle, windows_core::IUnknown); impl IObjectHandle { pub unsafe fn Unwrap(&self) -> windows_core::Result { @@ -2345,7 +2345,7 @@ 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, } -windows_core::imp::com_interface!(ITypeName, ITypeName_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00522); +windows_core::imp::define_interface!(ITypeName, ITypeName_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00522); windows_core::imp::interface_hierarchy!(ITypeName, windows_core::IUnknown); impl ITypeName { pub unsafe fn GetNameCount(&self) -> windows_core::Result { @@ -2388,7 +2388,7 @@ pub struct ITypeName_Vtbl { 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, } -windows_core::imp::com_interface!(ITypeNameBuilder, ITypeNameBuilder_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00523); +windows_core::imp::define_interface!(ITypeNameBuilder, ITypeNameBuilder_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00523); windows_core::imp::interface_hierarchy!(ITypeNameBuilder, windows_core::IUnknown); impl ITypeNameBuilder { pub unsafe fn OpenGenericArguments(&self) -> windows_core::Result<()> { @@ -2451,7 +2451,7 @@ pub struct ITypeNameBuilder_Vtbl { pub ToString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITypeNameFactory, ITypeNameFactory_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00521); +windows_core::imp::define_interface!(ITypeNameFactory, ITypeNameFactory_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b00521); windows_core::imp::interface_hierarchy!(ITypeNameFactory, windows_core::IUnknown); impl ITypeNameFactory { pub unsafe fn ParseTypeName(&self, szname: P0, perror: *mut u32) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/mod.rs index 6bb4f5c4d0..e2b802a98c 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 @@ -15,7 +15,7 @@ where windows_targets::link!("ole32.dll" "system" fn CoGetInterceptorFromTypeInfo(iidintercepted : *const windows_core::GUID, punkouter : * mut core::ffi::c_void, typeinfo : * mut core::ffi::c_void, iid : *const windows_core::GUID, ppv : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); CoGetInterceptorFromTypeInfo(iidintercepted, punkouter.into_param().abi(), typeinfo.into_param().abi(), iid, ppv).ok() } -windows_core::imp::com_interface!(ICallFrame, ICallFrame_Vtbl, 0xd573b4b0_894e_11d2_b8b6_00c04fb9618a); +windows_core::imp::define_interface!(ICallFrame, ICallFrame_Vtbl, 0xd573b4b0_894e_11d2_b8b6_00c04fb9618a); windows_core::imp::interface_hierarchy!(ICallFrame, windows_core::IUnknown); impl ICallFrame { pub unsafe fn GetInfo(&self, pinfo: *mut CALLFRAMEINFO) -> windows_core::Result<()> { @@ -119,7 +119,7 @@ pub struct ICallFrame_Vtbl { pub ReleaseMarshalData: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, u32, u32, *const CALLFRAME_MARSHALCONTEXT) -> windows_core::HRESULT, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICallFrameEvents, ICallFrameEvents_Vtbl, 0xfd5e0843_fc91_11d0_97d7_00c04fb9618a); +windows_core::imp::define_interface!(ICallFrameEvents, ICallFrameEvents_Vtbl, 0xfd5e0843_fc91_11d0_97d7_00c04fb9618a); windows_core::imp::interface_hierarchy!(ICallFrameEvents, windows_core::IUnknown); impl ICallFrameEvents { pub unsafe fn OnCall(&self, pframe: P0) -> windows_core::Result<()> @@ -134,7 +134,7 @@ pub struct ICallFrameEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnCall: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICallFrameWalker, ICallFrameWalker_Vtbl, 0x08b23919_392d_11d2_b8a4_00c04fb9618a); +windows_core::imp::define_interface!(ICallFrameWalker, ICallFrameWalker_Vtbl, 0x08b23919_392d_11d2_b8a4_00c04fb9618a); windows_core::imp::interface_hierarchy!(ICallFrameWalker, windows_core::IUnknown); impl ICallFrameWalker { pub unsafe fn OnWalkInterface(&self, iid: *const windows_core::GUID, ppvinterface: *const *const core::ffi::c_void, fin: P0, fout: P1) -> windows_core::Result<()> @@ -150,7 +150,7 @@ pub struct ICallFrameWalker_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnWalkInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const *const core::ffi::c_void, super::super::super::Foundation::BOOL, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICallIndirect, ICallIndirect_Vtbl, 0xd573b4b1_894e_11d2_b8b6_00c04fb9618a); +windows_core::imp::define_interface!(ICallIndirect, ICallIndirect_Vtbl, 0xd573b4b1_894e_11d2_b8b6_00c04fb9618a); windows_core::imp::interface_hierarchy!(ICallIndirect, windows_core::IUnknown); impl ICallIndirect { pub unsafe fn CallIndirect(&self, phrreturn: *mut windows_core::HRESULT, imethod: u32, pvargs: *const core::ffi::c_void, cbargs: *mut u32) -> windows_core::Result<()> { @@ -175,7 +175,7 @@ pub struct ICallIndirect_Vtbl { pub GetStackSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetIID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, *mut super::super::super::Foundation::BOOL, *mut u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICallInterceptor, ICallInterceptor_Vtbl, 0x60c7ca75_896d_11d2_b8b6_00c04fb9618a); +windows_core::imp::define_interface!(ICallInterceptor, ICallInterceptor_Vtbl, 0x60c7ca75_896d_11d2_b8b6_00c04fb9618a); windows_core::imp::interface_hierarchy!(ICallInterceptor, windows_core::IUnknown, ICallIndirect); impl ICallInterceptor { pub unsafe fn CallIndirect(&self, phrreturn: *mut windows_core::HRESULT, imethod: u32, pvargs: *const core::ffi::c_void, cbargs: *mut u32) -> windows_core::Result<()> { @@ -208,7 +208,7 @@ pub struct ICallInterceptor_Vtbl { pub RegisterSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRegisteredSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICallUnmarshal, ICallUnmarshal_Vtbl, 0x5333b003_2e42_11d2_b89d_00c04fb9618a); +windows_core::imp::define_interface!(ICallUnmarshal, ICallUnmarshal_Vtbl, 0x5333b003_2e42_11d2_b89d_00c04fb9618a); windows_core::imp::interface_hierarchy!(ICallUnmarshal, windows_core::IUnknown); impl ICallUnmarshal { pub unsafe fn Unmarshal(&self, imethod: u32, pbuffer: &[u8], fforcebuffercopy: P0, datarep: u32, pcontext: *const CALLFRAME_MARSHALCONTEXT, pcbunmarshalled: *mut u32, ppframe: *mut Option) -> windows_core::Result<()> @@ -227,7 +227,7 @@ pub struct ICallUnmarshal_Vtbl { pub Unmarshal: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32, super::super::super::Foundation::BOOL, u32, *const CALLFRAME_MARSHALCONTEXT, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseMarshalData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32, u32, u32, *const CALLFRAME_MARSHALCONTEXT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInterfaceRelated, IInterfaceRelated_Vtbl, 0xd1fb5a79_7706_11d1_adba_00c04fc2adc0); +windows_core::imp::define_interface!(IInterfaceRelated, IInterfaceRelated_Vtbl, 0xd1fb5a79_7706_11d1_adba_00c04fc2adc0); windows_core::imp::interface_hierarchy!(IInterfaceRelated, windows_core::IUnknown); impl IInterfaceRelated { pub unsafe fn SetIID(&self, iid: *const windows_core::GUID) -> windows_core::Result<()> { 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 d9c18af96f..a325673220 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IChannelCredentials, IChannelCredentials_Vtbl, 0x181b448c_c17c_4b17_ac6d_06699b93198f); +windows_core::imp::define_interface!(IChannelCredentials, IChannelCredentials_Vtbl, 0x181b448c_c17c_4b17_ac6d_06699b93198f); windows_core::imp::interface_hierarchy!(IChannelCredentials, windows_core::IUnknown, super::IDispatch); impl IChannelCredentials { pub unsafe fn SetWindowsCredential(&self, domain: P0, username: P1, password: P2, impersonationlevel: i32, allowntlm: P3) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs index 88eeb2bb06..1d5f88b883 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Events/mod.rs @@ -1,11 +1,11 @@ -windows_core::imp::com_interface!(IDontSupportEventSubscription, IDontSupportEventSubscription_Vtbl, 0x784121f1_62a6_4b89_855f_d65f296de83a); +windows_core::imp::define_interface!(IDontSupportEventSubscription, IDontSupportEventSubscription_Vtbl, 0x784121f1_62a6_4b89_855f_d65f296de83a); windows_core::imp::interface_hierarchy!(IDontSupportEventSubscription, windows_core::IUnknown); impl IDontSupportEventSubscription {} #[repr(C)] pub struct IDontSupportEventSubscription_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IEnumEventObject, IEnumEventObject_Vtbl, 0xf4a07d63_2e25_11d1_9964_00c04fbbb345); +windows_core::imp::define_interface!(IEnumEventObject, IEnumEventObject_Vtbl, 0xf4a07d63_2e25_11d1_9964_00c04fbbb345); windows_core::imp::interface_hierarchy!(IEnumEventObject, windows_core::IUnknown); impl IEnumEventObject { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -30,7 +30,7 @@ pub struct IEnumEventObject_Vtbl { 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, } -windows_core::imp::com_interface!(IEventClass, IEventClass_Vtbl, 0xfb2b72a0_7a68_11d1_88f9_0080c7d771bf); +windows_core::imp::define_interface!(IEventClass, IEventClass_Vtbl, 0xfb2b72a0_7a68_11d1_88f9_0080c7d771bf); windows_core::imp::interface_hierarchy!(IEventClass, windows_core::IUnknown, super::IDispatch); impl IEventClass { pub unsafe fn EventClassID(&self) -> windows_core::Result { @@ -122,7 +122,7 @@ pub struct IEventClass_Vtbl { 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, } -windows_core::imp::com_interface!(IEventClass2, IEventClass2_Vtbl, 0xfb2b72a1_7a68_11d1_88f9_0080c7d771bf); +windows_core::imp::define_interface!(IEventClass2, IEventClass2_Vtbl, 0xfb2b72a1_7a68_11d1_88f9_0080c7d771bf); windows_core::imp::interface_hierarchy!(IEventClass2, windows_core::IUnknown, super::IDispatch, IEventClass); impl IEventClass2 { pub unsafe fn EventClassID(&self) -> windows_core::Result { @@ -248,7 +248,7 @@ pub struct IEventClass2_Vtbl { pub FireInParallel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetFireInParallel: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEventControl, IEventControl_Vtbl, 0x0343e2f4_86f6_11d1_b760_00c04fb926af); +windows_core::imp::define_interface!(IEventControl, IEventControl_Vtbl, 0x0343e2f4_86f6_11d1_b760_00c04fb926af); windows_core::imp::interface_hierarchy!(IEventControl, windows_core::IUnknown, super::IDispatch); impl IEventControl { pub unsafe fn SetPublisherFilter(&self, methodname: P0, ppublisherfilter: P1) -> windows_core::Result<()> @@ -294,7 +294,7 @@ pub struct IEventControl_Vtbl { 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, } -windows_core::imp::com_interface!(IEventObjectChange, IEventObjectChange_Vtbl, 0xf4a07d70_2e25_11d1_9964_00c04fbbb345); +windows_core::imp::define_interface!(IEventObjectChange, IEventObjectChange_Vtbl, 0xf4a07d70_2e25_11d1_9964_00c04fbbb345); windows_core::imp::interface_hierarchy!(IEventObjectChange, windows_core::IUnknown); impl IEventObjectChange { pub unsafe fn ChangedSubscription(&self, changetype: EOC_ChangeType, bstrsubscriptionid: P0) -> windows_core::Result<()> @@ -323,7 +323,7 @@ pub struct IEventObjectChange_Vtbl { 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, } -windows_core::imp::com_interface!(IEventObjectChange2, IEventObjectChange2_Vtbl, 0x7701a9c3_bd68_438f_83e0_67bf4f53a422); +windows_core::imp::define_interface!(IEventObjectChange2, IEventObjectChange2_Vtbl, 0x7701a9c3_bd68_438f_83e0_67bf4f53a422); windows_core::imp::interface_hierarchy!(IEventObjectChange2, windows_core::IUnknown); impl IEventObjectChange2 { pub unsafe fn ChangedSubscription(&self, pinfo: *const COMEVENTSYSCHANGEINFO) -> windows_core::Result<()> { @@ -339,7 +339,7 @@ pub struct IEventObjectChange2_Vtbl { pub ChangedSubscription: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMEVENTSYSCHANGEINFO) -> windows_core::HRESULT, pub ChangedEventClass: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMEVENTSYSCHANGEINFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEventObjectCollection, IEventObjectCollection_Vtbl, 0xf89ac270_d4eb_11d1_b682_00805fc79216); +windows_core::imp::define_interface!(IEventObjectCollection, IEventObjectCollection_Vtbl, 0xf89ac270_d4eb_11d1_b682_00805fc79216); windows_core::imp::interface_hierarchy!(IEventObjectCollection, windows_core::IUnknown, super::IDispatch); impl IEventObjectCollection { pub unsafe fn _NewEnum(&self) -> windows_core::Result { @@ -384,7 +384,7 @@ pub struct IEventObjectCollection_Vtbl { 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, } -windows_core::imp::com_interface!(IEventProperty, IEventProperty_Vtbl, 0xda538ee2_f4de_11d1_b6bb_00805fc79216); +windows_core::imp::define_interface!(IEventProperty, IEventProperty_Vtbl, 0xda538ee2_f4de_11d1_b6bb_00805fc79216); windows_core::imp::interface_hierarchy!(IEventProperty, windows_core::IUnknown, super::IDispatch); impl IEventProperty { pub unsafe fn Name(&self) -> windows_core::Result { @@ -413,7 +413,7 @@ pub struct IEventProperty_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, } -windows_core::imp::com_interface!(IEventPublisher, IEventPublisher_Vtbl, 0xe341516b_2e32_11d1_9964_00c04fbbb345); +windows_core::imp::define_interface!(IEventPublisher, IEventPublisher_Vtbl, 0xe341516b_2e32_11d1_9964_00c04fbbb345); windows_core::imp::interface_hierarchy!(IEventPublisher, windows_core::IUnknown, super::IDispatch); impl IEventPublisher { pub unsafe fn PublisherID(&self) -> windows_core::Result { @@ -508,7 +508,7 @@ pub struct IEventPublisher_Vtbl { pub RemoveDefaultProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IEventSubscription, IEventSubscription_Vtbl, 0x4a6b0e15_2e38_11d1_9965_00c04fbbb345); +windows_core::imp::define_interface!(IEventSubscription, IEventSubscription_Vtbl, 0x4a6b0e15_2e38_11d1_9965_00c04fbbb345); windows_core::imp::interface_hierarchy!(IEventSubscription, windows_core::IUnknown, super::IDispatch); impl IEventSubscription { pub unsafe fn SubscriptionID(&self) -> windows_core::Result { @@ -726,7 +726,7 @@ pub struct IEventSubscription_Vtbl { 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, } -windows_core::imp::com_interface!(IEventSystem, IEventSystem_Vtbl, 0x4e14fb9f_2e22_11d1_9964_00c04fbbb345); +windows_core::imp::define_interface!(IEventSystem, IEventSystem_Vtbl, 0x4e14fb9f_2e22_11d1_9964_00c04fbbb345); windows_core::imp::interface_hierarchy!(IEventSystem, windows_core::IUnknown, super::IDispatch); impl IEventSystem { pub unsafe fn Query(&self, progid: P0, querycriteria: P1, errorindex: *mut i32) -> windows_core::Result @@ -782,7 +782,7 @@ pub struct IEventSystem_Vtbl { 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, } -windows_core::imp::com_interface!(IFiringControl, IFiringControl_Vtbl, 0xe0498c93_4efe_11d1_9971_00c04fbbb345); +windows_core::imp::define_interface!(IFiringControl, IFiringControl_Vtbl, 0xe0498c93_4efe_11d1_9971_00c04fbbb345); windows_core::imp::interface_hierarchy!(IFiringControl, windows_core::IUnknown, super::IDispatch); impl IFiringControl { pub unsafe fn FireSubscription(&self, subscription: P0) -> windows_core::Result<()> @@ -797,7 +797,7 @@ pub struct IFiringControl_Vtbl { pub base__: super::IDispatch_Vtbl, pub FireSubscription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMultiInterfaceEventControl, IMultiInterfaceEventControl_Vtbl, 0x0343e2f5_86f6_11d1_b760_00c04fb926af); +windows_core::imp::define_interface!(IMultiInterfaceEventControl, IMultiInterfaceEventControl_Vtbl, 0x0343e2f5_86f6_11d1_b760_00c04fb926af); windows_core::imp::interface_hierarchy!(IMultiInterfaceEventControl, windows_core::IUnknown); impl IMultiInterfaceEventControl { pub unsafe fn SetMultiInterfacePublisherFilter(&self, classfilter: P0) -> windows_core::Result<()> @@ -854,7 +854,7 @@ pub struct IMultiInterfaceEventControl_Vtbl { pub FireInParallel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetFireInParallel: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMultiInterfacePublisherFilter, IMultiInterfacePublisherFilter_Vtbl, 0x465e5cc1_7b26_11d1_88fb_0080c7d771bf); +windows_core::imp::define_interface!(IMultiInterfacePublisherFilter, IMultiInterfacePublisherFilter_Vtbl, 0x465e5cc1_7b26_11d1_88fb_0080c7d771bf); windows_core::imp::interface_hierarchy!(IMultiInterfacePublisherFilter, windows_core::IUnknown); impl IMultiInterfacePublisherFilter { pub unsafe fn Initialize(&self, peic: P0) -> windows_core::Result<()> @@ -877,7 +877,7 @@ pub struct IMultiInterfacePublisherFilter_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, } -windows_core::imp::com_interface!(IPublisherFilter, IPublisherFilter_Vtbl, 0x465e5cc0_7b26_11d1_88fb_0080c7d771bf); +windows_core::imp::define_interface!(IPublisherFilter, IPublisherFilter_Vtbl, 0x465e5cc0_7b26_11d1_88fb_0080c7d771bf); windows_core::imp::interface_hierarchy!(IPublisherFilter, windows_core::IUnknown); impl IPublisherFilter { pub unsafe fn Initialize(&self, methodname: P0, dispuserdefined: P1) -> windows_core::Result<()> 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 2edd815d36..80b13b749c 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 @@ -653,7 +653,7 @@ pub unsafe fn STGMEDIUM_UserUnmarshal64(param0: *const u32, param1: *const u8, p windows_targets::link!("ole32.dll" "system" fn STGMEDIUM_UserUnmarshal64(param0 : *const u32, param1 : *const u8, param2 : *mut super:: STGMEDIUM) -> *mut u8); STGMEDIUM_UserUnmarshal64(param0, param1, param2) } -windows_core::imp::com_interface!(IMarshal, IMarshal_Vtbl, 0x00000003_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IMarshal, IMarshal_Vtbl, 0x00000003_0000_0000_c000_000000000046); 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 { @@ -696,7 +696,7 @@ pub struct IMarshal_Vtbl { pub ReleaseMarshalData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DisconnectObject: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMarshal2, IMarshal2_Vtbl, 0x000001cf_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IMarshal2, IMarshal2_Vtbl, 0x000001cf_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IMarshal2, windows_core::IUnknown, IMarshal); impl IMarshal2 { 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 { @@ -733,7 +733,7 @@ impl IMarshal2 { pub struct IMarshal2_Vtbl { pub base__: IMarshal_Vtbl, } -windows_core::imp::com_interface!(IMarshalingStream, IMarshalingStream_Vtbl, 0xd8f2f5e6_6102_4863_9f26_389a4676efde); +windows_core::imp::define_interface!(IMarshalingStream, IMarshalingStream_Vtbl, 0xd8f2f5e6_6102_4863_9f26_389a4676efde); windows_core::imp::interface_hierarchy!(IMarshalingStream, windows_core::IUnknown, super::ISequentialStream, super::IStream); impl IMarshalingStream { pub unsafe fn Read(&self, pv: *mut core::ffi::c_void, cb: u32, pcbread: Option<*mut u32>) -> windows_core::HRESULT { 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 6ffb926d1e..fc4c711e4d 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 @@ -833,7 +833,7 @@ where windows_targets::link!("ole32.dll" "system" fn WriteFmtUserTypeStg(pstg : * mut core::ffi::c_void, cf : u16, lpszusertype : windows_core::PCWSTR) -> windows_core::HRESULT); WriteFmtUserTypeStg(pstg.into_param().abi(), cf, lpszusertype.into_param().abi()).ok() } -windows_core::imp::com_interface!(IDirectWriterLock, IDirectWriterLock_Vtbl, 0x0e6d4d92_6738_11cf_9608_00aa00680db4); +windows_core::imp::define_interface!(IDirectWriterLock, IDirectWriterLock_Vtbl, 0x0e6d4d92_6738_11cf_9608_00aa00680db4); windows_core::imp::interface_hierarchy!(IDirectWriterLock, windows_core::IUnknown); impl IDirectWriterLock { pub unsafe fn WaitForWriteAccess(&self, dwtimeout: u32) -> windows_core::Result<()> { @@ -853,7 +853,7 @@ pub struct IDirectWriterLock_Vtbl { pub ReleaseWriteAccess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub HaveWriteAccess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumSTATPROPSETSTG, IEnumSTATPROPSETSTG_Vtbl, 0x0000013b_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumSTATPROPSETSTG, IEnumSTATPROPSETSTG_Vtbl, 0x0000013b_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumSTATPROPSETSTG, windows_core::IUnknown); impl IEnumSTATPROPSETSTG { pub unsafe fn Next(&self, rgelt: &mut [STATPROPSETSTG], pceltfetched: Option<*mut u32>) -> windows_core::HRESULT { @@ -878,7 +878,7 @@ pub struct IEnumSTATPROPSETSTG_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSTATPROPSTG, IEnumSTATPROPSTG_Vtbl, 0x00000139_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumSTATPROPSTG, IEnumSTATPROPSTG_Vtbl, 0x00000139_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumSTATPROPSTG, windows_core::IUnknown); impl IEnumSTATPROPSTG { #[cfg(feature = "Win32_System_Variant")] @@ -907,7 +907,7 @@ pub struct IEnumSTATPROPSTG_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSTATSTG, IEnumSTATSTG_Vtbl, 0x0000000d_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumSTATSTG, IEnumSTATSTG_Vtbl, 0x0000000d_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumSTATSTG, windows_core::IUnknown); impl IEnumSTATSTG { pub unsafe fn Next(&self, rgelt: &mut [super::STATSTG], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -932,7 +932,7 @@ pub struct IEnumSTATSTG_Vtbl { 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, } -windows_core::imp::com_interface!(IFillLockBytes, IFillLockBytes_Vtbl, 0x99caf010_415e_11cf_8814_00aa00b569f5); +windows_core::imp::define_interface!(IFillLockBytes, IFillLockBytes_Vtbl, 0x99caf010_415e_11cf_8814_00aa00b569f5); 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 { @@ -961,7 +961,7 @@ pub struct IFillLockBytes_Vtbl { pub SetFillSize: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILayoutStorage, ILayoutStorage_Vtbl, 0x0e6d4d90_6738_11cf_9608_00aa00680db4); +windows_core::imp::define_interface!(ILayoutStorage, ILayoutStorage_Vtbl, 0x0e6d4d90_6738_11cf_9608_00aa00680db4); windows_core::imp::interface_hierarchy!(ILayoutStorage, windows_core::IUnknown); impl ILayoutStorage { pub unsafe fn LayoutScript(&self, pstoragelayout: &[super::StorageLayout], glfinterleavedflag: u32) -> windows_core::Result<()> { @@ -995,7 +995,7 @@ pub struct ILayoutStorage_Vtbl { pub ReLayoutDocfile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub ReLayoutDocfileOnILockBytes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILockBytes, ILockBytes_Vtbl, 0x0000000a_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ILockBytes, ILockBytes_Vtbl, 0x0000000a_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ILockBytes, windows_core::IUnknown); impl ILockBytes { pub unsafe fn ReadAt(&self, uloffset: u64, pv: *mut core::ffi::c_void, cb: u32, pcbread: Option<*mut u32>) -> windows_core::Result<()> { @@ -1031,7 +1031,7 @@ pub struct ILockBytes_Vtbl { pub UnlockRegion: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u64, u32) -> windows_core::HRESULT, pub Stat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::STATSTG, u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(IMemoryAllocator, IMemoryAllocator_Vtbl); +windows_core::imp::define_interface!(IMemoryAllocator, IMemoryAllocator_Vtbl); impl IMemoryAllocator { pub unsafe fn Allocate(&self, cbsize: u32) -> *mut core::ffi::c_void { (windows_core::Interface::vtable(self).Allocate)(windows_core::Interface::as_raw(self), cbsize) @@ -1045,7 +1045,7 @@ pub struct IMemoryAllocator_Vtbl { pub Allocate: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> *mut core::ffi::c_void, pub Free: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } -windows_core::imp::com_interface!(IPersistStorage, IPersistStorage_Vtbl, 0x0000010a_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IPersistStorage, IPersistStorage_Vtbl, 0x0000010a_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IPersistStorage, windows_core::IUnknown, super::IPersist); impl IPersistStorage { pub unsafe fn GetClassID(&self) -> windows_core::Result { @@ -1094,7 +1094,7 @@ pub struct IPersistStorage_Vtbl { pub SaveCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub HandsOffStorage: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyBag, IPropertyBag_Vtbl, 0x55272a00_42cb_11ce_8135_00aa004bb851); +windows_core::imp::define_interface!(IPropertyBag, IPropertyBag_Vtbl, 0x55272a00_42cb_11ce_8135_00aa004bb851); windows_core::imp::interface_hierarchy!(IPropertyBag, windows_core::IUnknown); impl IPropertyBag { pub unsafe fn Read(&self, pszpropname: P0, pvar: *mut windows_core::VARIANT, perrorlog: P1) -> windows_core::Result<()> @@ -1117,7 +1117,7 @@ pub struct IPropertyBag_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, } -windows_core::imp::com_interface!(IPropertyBag2, IPropertyBag2_Vtbl, 0x22f55882_280b_11d0_a8a9_00a0c90c2004); +windows_core::imp::define_interface!(IPropertyBag2, IPropertyBag2_Vtbl, 0x22f55882_280b_11d0_a8a9_00a0c90c2004); windows_core::imp::interface_hierarchy!(IPropertyBag2, windows_core::IUnknown); impl IPropertyBag2 { #[cfg(feature = "Win32_System_Variant")] @@ -1166,7 +1166,7 @@ pub struct IPropertyBag2_Vtbl { GetPropertyInfo: usize, pub LoadObject: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertySetStorage, IPropertySetStorage_Vtbl, 0x0000013a_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IPropertySetStorage, IPropertySetStorage_Vtbl, 0x0000013a_0000_0000_c000_000000000046); 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 { @@ -1193,7 +1193,7 @@ pub struct IPropertySetStorage_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub Enum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyStorage, IPropertyStorage_Vtbl, 0x00000138_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IPropertyStorage, IPropertyStorage_Vtbl, 0x00000138_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IPropertyStorage, windows_core::IUnknown); impl IPropertyStorage { pub unsafe fn ReadMultiple(&self, cpspec: u32, rgpspec: *const PROPSPEC, rgpropvar: *mut windows_core::PROPVARIANT) -> windows_core::Result<()> { @@ -1250,7 +1250,7 @@ pub struct IPropertyStorage_Vtbl { pub SetClass: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub Stat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut STATPROPSETSTG) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRootStorage, IRootStorage_Vtbl, 0x00000012_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IRootStorage, IRootStorage_Vtbl, 0x00000012_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IRootStorage, windows_core::IUnknown); impl IRootStorage { pub unsafe fn SwitchToFile(&self, pszfile: P0) -> windows_core::Result<()> @@ -1265,7 +1265,7 @@ pub struct IRootStorage_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SwitchToFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorage, IStorage_Vtbl, 0x0000000b_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IStorage, IStorage_Vtbl, 0x0000000b_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IStorage, windows_core::IUnknown); impl IStorage { pub unsafe fn CreateStream(&self, pwcsname: P0, grfmode: super::STGM, reserved1: u32, reserved2: u32) -> windows_core::Result 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 aab1df52a9..f1198a7be9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/UI/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDummyHICONIncluder, IDummyHICONIncluder_Vtbl, 0x947990de_cc28_11d2_a0f7_00805f858fb1); +windows_core::imp::define_interface!(IDummyHICONIncluder, IDummyHICONIncluder_Vtbl, 0x947990de_cc28_11d2_a0f7_00805f858fb1); windows_core::imp::interface_hierarchy!(IDummyHICONIncluder, windows_core::IUnknown); impl IDummyHICONIncluder { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] @@ -18,7 +18,7 @@ pub struct IDummyHICONIncluder_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging")))] Dummy: usize, } -windows_core::imp::com_interface!(IThumbnailExtractor, IThumbnailExtractor_Vtbl, 0x969dc708_5c76_11d1_8d86_0000f804b057); +windows_core::imp::define_interface!(IThumbnailExtractor, IThumbnailExtractor_Vtbl, 0x969dc708_5c76_11d1_8d86_0000f804b057); windows_core::imp::interface_hierarchy!(IThumbnailExtractor, windows_core::IUnknown); impl IThumbnailExtractor { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/mod.rs index e8f13819bd..fb04a57742 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 @@ -607,7 +607,7 @@ pub unsafe fn WriteHitLogging(lplogginginfo: *const HIT_LOGGING_INFO) -> super:: windows_targets::link!("urlmon.dll" "system" fn WriteHitLogging(lplogginginfo : *const HIT_LOGGING_INFO) -> super::super::super::Foundation:: BOOL); WriteHitLogging(lplogginginfo) } -windows_core::imp::com_interface!(IBindCallbackRedirect, IBindCallbackRedirect_Vtbl, 0x11c81bc2_121e_4ed5_b9c4_b430bd54f2c0); +windows_core::imp::define_interface!(IBindCallbackRedirect, IBindCallbackRedirect_Vtbl, 0x11c81bc2_121e_4ed5_b9c4_b430bd54f2c0); windows_core::imp::interface_hierarchy!(IBindCallbackRedirect, windows_core::IUnknown); impl IBindCallbackRedirect { pub unsafe fn Redirect(&self, lpcurl: P0) -> windows_core::Result @@ -623,7 +623,7 @@ pub struct IBindCallbackRedirect_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Redirect: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut super::super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBindHttpSecurity, IBindHttpSecurity_Vtbl, 0xa9eda967_f50e_4a33_b358_206f6ef3086d); +windows_core::imp::define_interface!(IBindHttpSecurity, IBindHttpSecurity_Vtbl, 0xa9eda967_f50e_4a33_b358_206f6ef3086d); windows_core::imp::interface_hierarchy!(IBindHttpSecurity, windows_core::IUnknown); impl IBindHttpSecurity { pub unsafe fn GetIgnoreCertMask(&self) -> windows_core::Result { @@ -636,7 +636,7 @@ pub struct IBindHttpSecurity_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetIgnoreCertMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBindProtocol, IBindProtocol_Vtbl, 0x79eac9cd_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IBindProtocol, IBindProtocol_Vtbl, 0x79eac9cd_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IBindProtocol, windows_core::IUnknown); impl IBindProtocol { pub unsafe fn CreateBinding(&self, szurl: P0, pbc: P1) -> windows_core::Result @@ -653,7 +653,7 @@ pub struct IBindProtocol_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateBinding: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICatalogFileInfo, ICatalogFileInfo_Vtbl, 0x711c7600_6b48_11d1_b403_00aa00b92af1); +windows_core::imp::define_interface!(ICatalogFileInfo, ICatalogFileInfo_Vtbl, 0x711c7600_6b48_11d1_b403_00aa00b92af1); windows_core::imp::interface_hierarchy!(ICatalogFileInfo, windows_core::IUnknown); impl ICatalogFileInfo { pub unsafe fn GetCatalogFile(&self) -> windows_core::Result { @@ -670,7 +670,7 @@ pub struct ICatalogFileInfo_Vtbl { pub GetCatalogFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PSTR) -> windows_core::HRESULT, pub GetJavaTrust: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICodeInstall, ICodeInstall_Vtbl, 0x79eac9d1_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(ICodeInstall, ICodeInstall_Vtbl, 0x79eac9d1_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(ICodeInstall, windows_core::IUnknown, IWindowForBindingUI); impl ICodeInstall { pub unsafe fn GetWindow(&self, rguidreason: *const windows_core::GUID) -> windows_core::Result { @@ -690,7 +690,7 @@ pub struct ICodeInstall_Vtbl { pub base__: IWindowForBindingUI_Vtbl, pub OnCodeInstallProblem: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataFilter, IDataFilter_Vtbl, 0x69d14c80_c18e_11d0_a9ce_006097942311); +windows_core::imp::define_interface!(IDataFilter, IDataFilter_Vtbl, 0x69d14c80_c18e_11d0_a9ce_006097942311); windows_core::imp::interface_hierarchy!(IDataFilter, windows_core::IUnknown); impl IDataFilter { pub unsafe fn DoEncode(&self, dwflags: u32, pbinbuffer: &[u8], pboutbuffer: &mut [u8], linbytesavailable: i32, plinbytesread: *mut i32, ploutbyteswritten: *mut i32, dwreserved: u32) -> windows_core::Result<()> { @@ -710,7 +710,7 @@ pub struct IDataFilter_Vtbl { pub DoDecode: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i32, *const u8, i32, *mut u8, i32, *mut i32, *mut i32, u32) -> windows_core::HRESULT, pub SetEncodingLevel: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEncodingFilterFactory, IEncodingFilterFactory_Vtbl, 0x70bdde00_c18e_11d0_a9ce_006097942311); +windows_core::imp::define_interface!(IEncodingFilterFactory, IEncodingFilterFactory_Vtbl, 0x70bdde00_c18e_11d0_a9ce_006097942311); windows_core::imp::interface_hierarchy!(IEncodingFilterFactory, windows_core::IUnknown); impl IEncodingFilterFactory { pub unsafe fn FindBestFilter(&self, pwzcodein: P0, pwzcodeout: P1, info: DATAINFO) -> windows_core::Result @@ -736,7 +736,7 @@ pub struct IEncodingFilterFactory_Vtbl { pub FindBestFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, DATAINFO, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefaultFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetBindHandle, IGetBindHandle_Vtbl, 0xaf0ff408_129d_4b20_91f0_02bd23d88352); +windows_core::imp::define_interface!(IGetBindHandle, IGetBindHandle_Vtbl, 0xaf0ff408_129d_4b20_91f0_02bd23d88352); windows_core::imp::interface_hierarchy!(IGetBindHandle, windows_core::IUnknown); impl IGetBindHandle { pub unsafe fn GetBindHandle(&self, enumrequestedhandle: BINDHANDLETYPES) -> windows_core::Result { @@ -749,7 +749,7 @@ pub struct IGetBindHandle_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetBindHandle: unsafe extern "system" fn(*mut core::ffi::c_void, BINDHANDLETYPES, *mut super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpNegotiate, IHttpNegotiate_Vtbl, 0x79eac9d2_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IHttpNegotiate, IHttpNegotiate_Vtbl, 0x79eac9d2_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IHttpNegotiate, windows_core::IUnknown); impl IHttpNegotiate { pub unsafe fn BeginningTransaction(&self, szurl: P0, szheaders: P1, dwreserved: u32) -> windows_core::Result @@ -775,7 +775,7 @@ pub struct IHttpNegotiate_Vtbl { pub BeginningTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub OnResponse: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpNegotiate2, IHttpNegotiate2_Vtbl, 0x4f9f9fcb_e0f4_48eb_b7ab_fa2ea9365cb4); +windows_core::imp::define_interface!(IHttpNegotiate2, IHttpNegotiate2_Vtbl, 0x4f9f9fcb_e0f4_48eb_b7ab_fa2ea9365cb4); windows_core::imp::interface_hierarchy!(IHttpNegotiate2, windows_core::IUnknown, IHttpNegotiate); impl IHttpNegotiate2 { pub unsafe fn BeginningTransaction(&self, szurl: P0, szheaders: P1, dwreserved: u32) -> windows_core::Result @@ -803,7 +803,7 @@ pub struct IHttpNegotiate2_Vtbl { pub base__: IHttpNegotiate_Vtbl, pub GetRootSecurityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpNegotiate3, IHttpNegotiate3_Vtbl, 0x57b6c80a_34c2_4602_bc26_66a02fc57153); +windows_core::imp::define_interface!(IHttpNegotiate3, IHttpNegotiate3_Vtbl, 0x57b6c80a_34c2_4602_bc26_66a02fc57153); windows_core::imp::interface_hierarchy!(IHttpNegotiate3, windows_core::IUnknown, IHttpNegotiate, IHttpNegotiate2); impl IHttpNegotiate3 { pub unsafe fn BeginningTransaction(&self, szurl: P0, szheaders: P1, dwreserved: u32) -> windows_core::Result @@ -834,7 +834,7 @@ pub struct IHttpNegotiate3_Vtbl { pub base__: IHttpNegotiate2_Vtbl, pub GetSerializedClientCertContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHttpSecurity, IHttpSecurity_Vtbl, 0x79eac9d7_bafa_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IHttpSecurity, IHttpSecurity_Vtbl, 0x79eac9d7_bafa_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IHttpSecurity, windows_core::IUnknown, IWindowForBindingUI); impl IHttpSecurity { pub unsafe fn GetWindow(&self, rguidreason: *const windows_core::GUID) -> windows_core::Result { @@ -850,14 +850,14 @@ pub struct IHttpSecurity_Vtbl { pub base__: IWindowForBindingUI_Vtbl, pub OnSecurityProblem: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternet, IInternet_Vtbl, 0x79eac9e0_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternet, IInternet_Vtbl, 0x79eac9e0_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternet, windows_core::IUnknown); impl IInternet {} #[repr(C)] pub struct IInternet_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IInternetBindInfo, IInternetBindInfo_Vtbl, 0x79eac9e1_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetBindInfo, IInternetBindInfo_Vtbl, 0x79eac9e1_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetBindInfo, windows_core::IUnknown); impl IInternetBindInfo { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] @@ -877,7 +877,7 @@ pub struct IInternetBindInfo_Vtbl { GetBindInfo: usize, pub GetBindString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetBindInfoEx, IInternetBindInfoEx_Vtbl, 0xa3e015b7_a82c_4dcd_a150_569aeeed36ab); +windows_core::imp::define_interface!(IInternetBindInfoEx, IInternetBindInfoEx_Vtbl, 0xa3e015b7_a82c_4dcd_a150_569aeeed36ab); windows_core::imp::interface_hierarchy!(IInternetBindInfoEx, windows_core::IUnknown, IInternetBindInfo); impl IInternetBindInfoEx { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] @@ -900,7 +900,7 @@ pub struct IInternetBindInfoEx_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage")))] GetBindInfoEx: usize, } -windows_core::imp::com_interface!(IInternetHostSecurityManager, IInternetHostSecurityManager_Vtbl, 0x3af280b6_cb3f_11d0_891e_00c04fb6bfc4); +windows_core::imp::define_interface!(IInternetHostSecurityManager, IInternetHostSecurityManager_Vtbl, 0x3af280b6_cb3f_11d0_891e_00c04fb6bfc4); windows_core::imp::interface_hierarchy!(IInternetHostSecurityManager, windows_core::IUnknown); impl IInternetHostSecurityManager { pub unsafe fn GetSecurityId(&self, pbsecurityid: *mut u8, pcbsecurityid: *mut u32, dwreserved: usize) -> windows_core::Result<()> { @@ -920,7 +920,7 @@ pub struct IInternetHostSecurityManager_Vtbl { pub ProcessUrlAction: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8, u32, *const u8, u32, u32, u32) -> windows_core::HRESULT, pub QueryCustomPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut u8, *mut u32, *const u8, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetPriority, IInternetPriority_Vtbl, 0x79eac9eb_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetPriority, IInternetPriority_Vtbl, 0x79eac9eb_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetPriority, windows_core::IUnknown); impl IInternetPriority { pub unsafe fn SetPriority(&self, npriority: i32) -> windows_core::Result<()> { @@ -937,7 +937,7 @@ pub struct IInternetPriority_Vtbl { pub SetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub GetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetProtocol, IInternetProtocol_Vtbl, 0x79eac9e4_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetProtocol, IInternetProtocol_Vtbl, 0x79eac9e4_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetProtocol, windows_core::IUnknown, IInternetProtocolRoot); impl IInternetProtocol { pub unsafe fn Start(&self, szurl: P0, poiprotsink: P1, poibindinfo: P2, grfpi: u32, dwreserved: P3) -> windows_core::Result<()> @@ -986,7 +986,7 @@ pub struct IInternetProtocol_Vtbl { pub LockRequest: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub UnlockRequest: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetProtocolEx, IInternetProtocolEx_Vtbl, 0xc7a98e66_1010_492c_a1c8_c809e1f75905); +windows_core::imp::define_interface!(IInternetProtocolEx, IInternetProtocolEx_Vtbl, 0xc7a98e66_1010_492c_a1c8_c809e1f75905); windows_core::imp::interface_hierarchy!(IInternetProtocolEx, windows_core::IUnknown, IInternetProtocolRoot, IInternetProtocol); impl IInternetProtocolEx { pub unsafe fn Start(&self, szurl: P0, poiprotsink: P1, poibindinfo: P2, grfpi: u32, dwreserved: P3) -> windows_core::Result<()> @@ -1041,7 +1041,7 @@ pub struct IInternetProtocolEx_Vtbl { pub base__: IInternetProtocol_Vtbl, pub StartEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, super::super::super::Foundation::HANDLE_PTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetProtocolInfo, IInternetProtocolInfo_Vtbl, 0x79eac9ec_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetProtocolInfo, IInternetProtocolInfo_Vtbl, 0x79eac9ec_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetProtocolInfo, windows_core::IUnknown); impl IInternetProtocolInfo { pub unsafe fn ParseUrl(&self, pwzurl: P0, parseaction: PARSEACTION, dwparseflags: u32, pwzresult: windows_core::PWSTR, cchresult: u32, pcchresult: *mut u32, dwreserved: u32) -> windows_core::Result<()> @@ -1080,7 +1080,7 @@ pub struct IInternetProtocolInfo_Vtbl { pub CompareUrl: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub QueryInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, QUERYOPTION, u32, *mut core::ffi::c_void, u32, *mut u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetProtocolRoot, IInternetProtocolRoot_Vtbl, 0x79eac9e3_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetProtocolRoot, IInternetProtocolRoot_Vtbl, 0x79eac9e3_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetProtocolRoot, windows_core::IUnknown); impl IInternetProtocolRoot { pub unsafe fn Start(&self, szurl: P0, poiprotsink: P1, poibindinfo: P2, grfpi: u32, dwreserved: P3) -> windows_core::Result<()> @@ -1118,7 +1118,7 @@ pub struct IInternetProtocolRoot_Vtbl { pub Suspend: 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, } -windows_core::imp::com_interface!(IInternetProtocolSink, IInternetProtocolSink_Vtbl, 0x79eac9e5_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetProtocolSink, IInternetProtocolSink_Vtbl, 0x79eac9e5_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetProtocolSink, windows_core::IUnknown); impl IInternetProtocolSink { pub unsafe fn Switch(&self, pprotocoldata: *const PROTOCOLDATA) -> windows_core::Result<()> { @@ -1148,7 +1148,7 @@ pub struct IInternetProtocolSink_Vtbl { pub ReportData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, pub ReportResult: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetProtocolSinkStackable, IInternetProtocolSinkStackable_Vtbl, 0x79eac9f0_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetProtocolSinkStackable, IInternetProtocolSinkStackable_Vtbl, 0x79eac9f0_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetProtocolSinkStackable, windows_core::IUnknown); impl IInternetProtocolSinkStackable { pub unsafe fn SwitchSink(&self, poiprotsink: P0) -> windows_core::Result<()> @@ -1171,7 +1171,7 @@ pub struct IInternetProtocolSinkStackable_Vtbl { pub CommitSwitch: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RollbackSwitch: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetSecurityManager, IInternetSecurityManager_Vtbl, 0x79eac9ee_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetSecurityManager, IInternetSecurityManager_Vtbl, 0x79eac9ee_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetSecurityManager, windows_core::IUnknown); impl IInternetSecurityManager { pub unsafe fn SetSecuritySite(&self, psite: P0) -> windows_core::Result<()> @@ -1230,7 +1230,7 @@ pub struct IInternetSecurityManager_Vtbl { pub SetZoneMapping: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub GetZoneMappings: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetSecurityManagerEx, IInternetSecurityManagerEx_Vtbl, 0xf164edf1_cc7c_4f0d_9a94_34222625c393); +windows_core::imp::define_interface!(IInternetSecurityManagerEx, IInternetSecurityManagerEx_Vtbl, 0xf164edf1_cc7c_4f0d_9a94_34222625c393); windows_core::imp::interface_hierarchy!(IInternetSecurityManagerEx, windows_core::IUnknown, IInternetSecurityManager); impl IInternetSecurityManagerEx { pub unsafe fn SetSecuritySite(&self, psite: P0) -> windows_core::Result<()> @@ -1288,7 +1288,7 @@ pub struct IInternetSecurityManagerEx_Vtbl { pub base__: IInternetSecurityManager_Vtbl, pub ProcessUrlActionEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut u8, u32, *const u8, u32, u32, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetSecurityManagerEx2, IInternetSecurityManagerEx2_Vtbl, 0xf1e50292_a795_4117_8e09_2b560a72ac60); +windows_core::imp::define_interface!(IInternetSecurityManagerEx2, IInternetSecurityManagerEx2_Vtbl, 0xf1e50292_a795_4117_8e09_2b560a72ac60); windows_core::imp::interface_hierarchy!(IInternetSecurityManagerEx2, windows_core::IUnknown, IInternetSecurityManager, IInternetSecurityManagerEx); impl IInternetSecurityManagerEx2 { pub unsafe fn SetSecuritySite(&self, psite: P0) -> windows_core::Result<()> @@ -1373,7 +1373,7 @@ pub struct IInternetSecurityManagerEx2_Vtbl { pub GetSecurityIdEx2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u8, *mut u32, usize) -> windows_core::HRESULT, pub QueryCustomPolicyEx2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut u8, *mut u32, *const u8, u32, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetSecurityMgrSite, IInternetSecurityMgrSite_Vtbl, 0x79eac9ed_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetSecurityMgrSite, IInternetSecurityMgrSite_Vtbl, 0x79eac9ed_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetSecurityMgrSite, windows_core::IUnknown); impl IInternetSecurityMgrSite { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -1393,7 +1393,7 @@ pub struct IInternetSecurityMgrSite_Vtbl { pub GetWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::HWND) -> windows_core::HRESULT, pub EnableModeless: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetSession, IInternetSession_Vtbl, 0x79eac9e7_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetSession, IInternetSession_Vtbl, 0x79eac9e7_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetSession, windows_core::IUnknown); impl IInternetSession { pub unsafe fn RegisterNameSpace(&self, pcf: P0, rclsid: *const windows_core::GUID, pwzprotocol: P1, cpatterns: u32, ppwzpatterns: *const windows_core::PCWSTR, dwreserved: u32) -> windows_core::Result<()> @@ -1450,7 +1450,7 @@ pub struct IInternetSession_Vtbl { pub SetSessionOption: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub GetSessionOption: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetThreadSwitch, IInternetThreadSwitch_Vtbl, 0x79eac9e8_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetThreadSwitch, IInternetThreadSwitch_Vtbl, 0x79eac9e8_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetThreadSwitch, windows_core::IUnknown); impl IInternetThreadSwitch { pub unsafe fn Prepare(&self) -> windows_core::Result<()> { @@ -1466,7 +1466,7 @@ pub struct IInternetThreadSwitch_Vtbl { pub Prepare: 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, } -windows_core::imp::com_interface!(IInternetZoneManager, IInternetZoneManager_Vtbl, 0x79eac9ef_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IInternetZoneManager, IInternetZoneManager_Vtbl, 0x79eac9ef_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IInternetZoneManager, windows_core::IUnknown); impl IInternetZoneManager { pub unsafe fn GetZoneAttributes(&self, dwzone: u32, pzoneattributes: *mut ZONEATTRIBUTES) -> windows_core::Result<()> { @@ -1532,7 +1532,7 @@ pub struct IInternetZoneManager_Vtbl { pub DestroyZoneEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub CopyTemplatePoliciesToZone: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetZoneManagerEx, IInternetZoneManagerEx_Vtbl, 0xa4c23339_8e06_431e_9bf4_7e711c085648); +windows_core::imp::define_interface!(IInternetZoneManagerEx, IInternetZoneManagerEx_Vtbl, 0xa4c23339_8e06_431e_9bf4_7e711c085648); windows_core::imp::interface_hierarchy!(IInternetZoneManagerEx, windows_core::IUnknown, IInternetZoneManager); impl IInternetZoneManagerEx { pub unsafe fn GetZoneAttributes(&self, dwzone: u32, pzoneattributes: *mut ZONEATTRIBUTES) -> windows_core::Result<()> { @@ -1594,7 +1594,7 @@ pub struct IInternetZoneManagerEx_Vtbl { pub GetZoneActionPolicyEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u8, u32, URLZONEREG, u32) -> windows_core::HRESULT, pub SetZoneActionPolicyEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const u8, u32, URLZONEREG, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetZoneManagerEx2, IInternetZoneManagerEx2_Vtbl, 0xedc17559_dd5d_4846_8eef_8becba5a4abf); +windows_core::imp::define_interface!(IInternetZoneManagerEx2, IInternetZoneManagerEx2_Vtbl, 0xedc17559_dd5d_4846_8eef_8becba5a4abf); windows_core::imp::interface_hierarchy!(IInternetZoneManagerEx2, windows_core::IUnknown, IInternetZoneManager, IInternetZoneManagerEx); impl IInternetZoneManagerEx2 { pub unsafe fn GetZoneAttributes(&self, dwzone: u32, pzoneattributes: *mut ZONEATTRIBUTES) -> windows_core::Result<()> { @@ -1677,7 +1677,7 @@ pub struct IInternetZoneManagerEx2_Vtbl { pub GetIESecurityState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL, *mut u32, *mut super::super::super::Foundation::BOOL, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub FixUnsecureSettings: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMonikerProp, IMonikerProp_Vtbl, 0xa5ca5f7f_1847_4d87_9c5b_918509f7511d); +windows_core::imp::define_interface!(IMonikerProp, IMonikerProp_Vtbl, 0xa5ca5f7f_1847_4d87_9c5b_918509f7511d); windows_core::imp::interface_hierarchy!(IMonikerProp, windows_core::IUnknown); impl IMonikerProp { pub unsafe fn PutProperty(&self, mkp: MONIKERPROPERTY, val: P0) -> windows_core::Result<()> @@ -1692,7 +1692,7 @@ pub struct IMonikerProp_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub PutProperty: unsafe extern "system" fn(*mut core::ffi::c_void, MONIKERPROPERTY, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPersistMoniker, IPersistMoniker_Vtbl, 0x79eac9c9_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IPersistMoniker, IPersistMoniker_Vtbl, 0x79eac9c9_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IPersistMoniker, windows_core::IUnknown); impl IPersistMoniker { pub unsafe fn GetClassID(&self) -> windows_core::Result { @@ -1740,7 +1740,7 @@ pub struct IPersistMoniker_Vtbl { pub SaveCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCurMoniker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISoftDistExt, ISoftDistExt_Vtbl, 0xb15b8dc1_c7e1_11d0_8680_00aa00bdcb71); +windows_core::imp::define_interface!(ISoftDistExt, ISoftDistExt_Vtbl, 0xb15b8dc1_c7e1_11d0_8680_00aa00bdcb71); windows_core::imp::interface_hierarchy!(ISoftDistExt, windows_core::IUnknown); impl ISoftDistExt { #[cfg(feature = "Win32_Data_Xml_MsXml")] @@ -1775,7 +1775,7 @@ pub struct ISoftDistExt_Vtbl { pub GetNextCodeBase: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::PCWSTR, *const u32) -> windows_core::HRESULT, pub AsyncInstallDistributionUnit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const core::ffi::c_void, u32, *const CODEBASEHOLD) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUriBuilderFactory, IUriBuilderFactory_Vtbl, 0xe982ce48_0b96_440c_bc37_0c869b27a29e); +windows_core::imp::define_interface!(IUriBuilderFactory, IUriBuilderFactory_Vtbl, 0xe982ce48_0b96_440c_bc37_0c869b27a29e); windows_core::imp::interface_hierarchy!(IUriBuilderFactory, windows_core::IUnknown); impl IUriBuilderFactory { pub unsafe fn CreateIUriBuilder(&self, dwflags: u32, dwreserved: usize) -> windows_core::Result { @@ -1793,7 +1793,7 @@ pub struct IUriBuilderFactory_Vtbl { pub CreateIUriBuilder: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateInitializedIUriBuilder: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUriContainer, IUriContainer_Vtbl, 0xa158a630_ed6f_45fb_b987_f68676f57752); +windows_core::imp::define_interface!(IUriContainer, IUriContainer_Vtbl, 0xa158a630_ed6f_45fb_b987_f68676f57752); windows_core::imp::interface_hierarchy!(IUriContainer, windows_core::IUnknown); impl IUriContainer { pub unsafe fn GetIUri(&self) -> windows_core::Result { @@ -1806,7 +1806,7 @@ pub struct IUriContainer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetIUri: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWinInetCacheHints, IWinInetCacheHints_Vtbl, 0xdd1ec3b3_8391_4fdb_a9e6_347c3caaa7dd); +windows_core::imp::define_interface!(IWinInetCacheHints, IWinInetCacheHints_Vtbl, 0xdd1ec3b3_8391_4fdb_a9e6_347c3caaa7dd); windows_core::imp::interface_hierarchy!(IWinInetCacheHints, windows_core::IUnknown); impl IWinInetCacheHints { pub unsafe fn SetCacheExtension(&self, pwzext: P0, pszcachefile: *mut core::ffi::c_void, pcbcachefile: *mut u32, pdwwinineterror: *mut u32, pdwreserved: *mut u32) -> windows_core::Result<()> @@ -1821,7 +1821,7 @@ pub struct IWinInetCacheHints_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetCacheExtension: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWinInetCacheHints2, IWinInetCacheHints2_Vtbl, 0x7857aeac_d31f_49bf_884e_dd46df36780a); +windows_core::imp::define_interface!(IWinInetCacheHints2, IWinInetCacheHints2_Vtbl, 0x7857aeac_d31f_49bf_884e_dd46df36780a); windows_core::imp::interface_hierarchy!(IWinInetCacheHints2, windows_core::IUnknown, IWinInetCacheHints); impl IWinInetCacheHints2 { pub unsafe fn SetCacheExtension(&self, pwzext: P0, pszcachefile: *mut core::ffi::c_void, pcbcachefile: *mut u32, pdwwinineterror: *mut u32, pdwreserved: *mut u32) -> windows_core::Result<()> @@ -1842,7 +1842,7 @@ pub struct IWinInetCacheHints2_Vtbl { pub base__: IWinInetCacheHints_Vtbl, pub SetCacheExtension2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PWSTR, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWinInetFileStream, IWinInetFileStream_Vtbl, 0xf134c4b7_b1f8_4e75_b886_74b90943becb); +windows_core::imp::define_interface!(IWinInetFileStream, IWinInetFileStream_Vtbl, 0xf134c4b7_b1f8_4e75_b886_74b90943becb); windows_core::imp::interface_hierarchy!(IWinInetFileStream, windows_core::IUnknown); impl IWinInetFileStream { pub unsafe fn SetHandleForUnlock(&self, hwininetlockhandle: usize, dwreserved: usize) -> windows_core::Result<()> { @@ -1858,7 +1858,7 @@ pub struct IWinInetFileStream_Vtbl { pub SetHandleForUnlock: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, pub SetDeleteFile: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWinInetHttpInfo, IWinInetHttpInfo_Vtbl, 0x79eac9d8_bafa_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IWinInetHttpInfo, IWinInetHttpInfo_Vtbl, 0x79eac9d8_bafa_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IWinInetHttpInfo, windows_core::IUnknown, IWinInetInfo); impl IWinInetHttpInfo { pub unsafe fn QueryOption(&self, dwoption: u32, pbuffer: *mut core::ffi::c_void, pcbbuf: *mut u32) -> windows_core::Result<()> { @@ -1873,7 +1873,7 @@ pub struct IWinInetHttpInfo_Vtbl { pub base__: IWinInetInfo_Vtbl, pub QueryInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWinInetHttpTimeouts, IWinInetHttpTimeouts_Vtbl, 0xf286fa56_c1fd_4270_8e67_b3eb790a81e8); +windows_core::imp::define_interface!(IWinInetHttpTimeouts, IWinInetHttpTimeouts_Vtbl, 0xf286fa56_c1fd_4270_8e67_b3eb790a81e8); windows_core::imp::interface_hierarchy!(IWinInetHttpTimeouts, windows_core::IUnknown); impl IWinInetHttpTimeouts { pub unsafe fn GetRequestTimeouts(&self, pdwconnecttimeout: *mut u32, pdwsendtimeout: *mut u32, pdwreceivetimeout: *mut u32) -> windows_core::Result<()> { @@ -1885,7 +1885,7 @@ pub struct IWinInetHttpTimeouts_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetRequestTimeouts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWinInetInfo, IWinInetInfo_Vtbl, 0x79eac9d6_bafa_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IWinInetInfo, IWinInetInfo_Vtbl, 0x79eac9d6_bafa_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IWinInetInfo, windows_core::IUnknown); impl IWinInetInfo { pub unsafe fn QueryOption(&self, dwoption: u32, pbuffer: *mut core::ffi::c_void, pcbbuf: *mut u32) -> windows_core::Result<()> { @@ -1897,7 +1897,7 @@ pub struct IWinInetInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryOption: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowForBindingUI, IWindowForBindingUI_Vtbl, 0x79eac9d5_bafa_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IWindowForBindingUI, IWindowForBindingUI_Vtbl, 0x79eac9d5_bafa_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IWindowForBindingUI, windows_core::IUnknown); impl IWindowForBindingUI { pub unsafe fn GetWindow(&self, rguidreason: *const windows_core::GUID) -> windows_core::Result { @@ -1910,7 +1910,7 @@ pub struct IWindowForBindingUI_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut super::super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWrappedProtocol, IWrappedProtocol_Vtbl, 0x53c84785_8425_4dc5_971b_e58d9c19f9b6); +windows_core::imp::define_interface!(IWrappedProtocol, IWrappedProtocol_Vtbl, 0x53c84785_8425_4dc5_971b_e58d9c19f9b6); windows_core::imp::interface_hierarchy!(IWrappedProtocol, windows_core::IUnknown); impl IWrappedProtocol { pub unsafe fn GetWrapperCode(&self, pncode: *mut i32, dwreserved: usize) -> windows_core::Result<()> { @@ -1922,7 +1922,7 @@ pub struct IWrappedProtocol_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetWrapperCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IZoneIdentifier, IZoneIdentifier_Vtbl, 0xcd45f185_1b21_48e2_967b_ead743a8914e); +windows_core::imp::define_interface!(IZoneIdentifier, IZoneIdentifier_Vtbl, 0xcd45f185_1b21_48e2_967b_ead743a8914e); windows_core::imp::interface_hierarchy!(IZoneIdentifier, windows_core::IUnknown); impl IZoneIdentifier { pub unsafe fn GetId(&self) -> windows_core::Result { @@ -1943,7 +1943,7 @@ pub struct IZoneIdentifier_Vtbl { pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IZoneIdentifier2, IZoneIdentifier2_Vtbl, 0xeb5e760c_09ef_45c0_b510_70830ce31e6a); +windows_core::imp::define_interface!(IZoneIdentifier2, IZoneIdentifier2_Vtbl, 0xeb5e760c_09ef_45c0_b510_70830ce31e6a); windows_core::imp::interface_hierarchy!(IZoneIdentifier2, windows_core::IUnknown, IZoneIdentifier); impl IZoneIdentifier2 { pub unsafe fn GetId(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs index 862870029a..815200d4af 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs @@ -800,7 +800,7 @@ pub unsafe fn StringFromIID(rclsid: *const windows_core::GUID) -> windows_core:: let mut result__ = std::mem::zeroed(); StringFromIID(rclsid, &mut result__).map(|| result__) } -windows_core::imp::com_interface!(AsyncIAdviseSink, AsyncIAdviseSink_Vtbl, 0x00000150_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(AsyncIAdviseSink, AsyncIAdviseSink_Vtbl, 0x00000150_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(AsyncIAdviseSink, windows_core::IUnknown); impl AsyncIAdviseSink { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] @@ -855,7 +855,7 @@ pub struct AsyncIAdviseSink_Vtbl { pub Begin_OnClose: unsafe extern "system" fn(*mut core::ffi::c_void), pub Finish_OnClose: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(AsyncIAdviseSink2, AsyncIAdviseSink2_Vtbl, 0x00000151_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(AsyncIAdviseSink2, AsyncIAdviseSink2_Vtbl, 0x00000151_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(AsyncIAdviseSink2, windows_core::IUnknown, AsyncIAdviseSink); impl AsyncIAdviseSink2 { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] @@ -908,7 +908,7 @@ pub struct AsyncIAdviseSink2_Vtbl { pub Begin_OnLinkSrcChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), pub Finish_OnLinkSrcChange: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(AsyncIMultiQI, AsyncIMultiQI_Vtbl, 0x000e0020_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(AsyncIMultiQI, AsyncIMultiQI_Vtbl, 0x000e0020_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(AsyncIMultiQI, windows_core::IUnknown); impl AsyncIMultiQI { pub unsafe fn Begin_QueryMultipleInterfaces(&self, pmqis: &mut [MULTI_QI]) -> windows_core::Result<()> { @@ -924,7 +924,7 @@ pub struct AsyncIMultiQI_Vtbl { pub Begin_QueryMultipleInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut MULTI_QI) -> windows_core::HRESULT, pub Finish_QueryMultipleInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MULTI_QI) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIPipeByte, AsyncIPipeByte_Vtbl, 0xdb2f3acb_2f86_11d1_8e04_00c04fb9989a); +windows_core::imp::define_interface!(AsyncIPipeByte, AsyncIPipeByte_Vtbl, 0xdb2f3acb_2f86_11d1_8e04_00c04fb9989a); windows_core::imp::interface_hierarchy!(AsyncIPipeByte, windows_core::IUnknown); impl AsyncIPipeByte { pub unsafe fn Begin_Pull(&self, crequest: u32) -> windows_core::Result<()> { @@ -948,7 +948,7 @@ pub struct AsyncIPipeByte_Vtbl { pub Begin_Push: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, pub Finish_Push: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIPipeDouble, AsyncIPipeDouble_Vtbl, 0xdb2f3acf_2f86_11d1_8e04_00c04fb9989a); +windows_core::imp::define_interface!(AsyncIPipeDouble, AsyncIPipeDouble_Vtbl, 0xdb2f3acf_2f86_11d1_8e04_00c04fb9989a); windows_core::imp::interface_hierarchy!(AsyncIPipeDouble, windows_core::IUnknown); impl AsyncIPipeDouble { pub unsafe fn Begin_Pull(&self, crequest: u32) -> windows_core::Result<()> { @@ -972,7 +972,7 @@ pub struct AsyncIPipeDouble_Vtbl { pub Begin_Push: unsafe extern "system" fn(*mut core::ffi::c_void, *const f64, u32) -> windows_core::HRESULT, pub Finish_Push: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIPipeLong, AsyncIPipeLong_Vtbl, 0xdb2f3acd_2f86_11d1_8e04_00c04fb9989a); +windows_core::imp::define_interface!(AsyncIPipeLong, AsyncIPipeLong_Vtbl, 0xdb2f3acd_2f86_11d1_8e04_00c04fb9989a); windows_core::imp::interface_hierarchy!(AsyncIPipeLong, windows_core::IUnknown); impl AsyncIPipeLong { pub unsafe fn Begin_Pull(&self, crequest: u32) -> windows_core::Result<()> { @@ -996,7 +996,7 @@ pub struct AsyncIPipeLong_Vtbl { pub Begin_Push: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32, u32) -> windows_core::HRESULT, pub Finish_Push: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIUnknown, AsyncIUnknown_Vtbl, 0x000e0000_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(AsyncIUnknown, AsyncIUnknown_Vtbl, 0x000e0000_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(AsyncIUnknown, windows_core::IUnknown); impl AsyncIUnknown { pub unsafe fn Begin_QueryInterface(&self, riid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -1028,7 +1028,7 @@ pub struct AsyncIUnknown_Vtbl { pub Begin_Release: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Finish_Release: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(IActivationFilter, IActivationFilter_Vtbl, 0x00000017_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IActivationFilter, IActivationFilter_Vtbl, 0x00000017_0000_0000_c000_000000000046); 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 { @@ -1041,7 +1041,7 @@ pub struct IActivationFilter_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub HandleActivation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAddrExclusionControl, IAddrExclusionControl_Vtbl, 0x00000148_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IAddrExclusionControl, IAddrExclusionControl_Vtbl, 0x00000148_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IAddrExclusionControl, windows_core::IUnknown); impl IAddrExclusionControl { pub unsafe fn GetCurrentAddrExclusionList(&self, riid: *const windows_core::GUID, ppenumerator: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -1060,7 +1060,7 @@ pub struct IAddrExclusionControl_Vtbl { pub GetCurrentAddrExclusionList: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub UpdateAddrExclusionList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAddrTrackingControl, IAddrTrackingControl_Vtbl, 0x00000147_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IAddrTrackingControl, IAddrTrackingControl_Vtbl, 0x00000147_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IAddrTrackingControl, windows_core::IUnknown); impl IAddrTrackingControl { pub unsafe fn EnableCOMDynamicAddrTracking(&self) -> windows_core::Result<()> { @@ -1076,7 +1076,7 @@ pub struct IAddrTrackingControl_Vtbl { pub EnableCOMDynamicAddrTracking: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DisableCOMDynamicAddrTracking: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAdviseSink, IAdviseSink_Vtbl, 0x0000010f_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IAdviseSink, IAdviseSink_Vtbl, 0x0000010f_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IAdviseSink, windows_core::IUnknown); impl IAdviseSink { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] @@ -1111,7 +1111,7 @@ pub struct IAdviseSink_Vtbl { pub OnSave: unsafe extern "system" fn(*mut core::ffi::c_void), pub OnClose: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IAdviseSink2, IAdviseSink2_Vtbl, 0x00000125_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IAdviseSink2, IAdviseSink2_Vtbl, 0x00000125_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IAdviseSink2, windows_core::IUnknown, IAdviseSink); impl IAdviseSink2 { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] @@ -1145,14 +1145,14 @@ pub struct IAdviseSink2_Vtbl { pub base__: IAdviseSink_Vtbl, pub OnLinkSrcChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), } -windows_core::imp::com_interface!(IAgileObject, IAgileObject_Vtbl, 0x94ea2b94_e9cc_49e0_c0ff_ee64ca8f5b90); +windows_core::imp::define_interface!(IAgileObject, IAgileObject_Vtbl, 0x94ea2b94_e9cc_49e0_c0ff_ee64ca8f5b90); windows_core::imp::interface_hierarchy!(IAgileObject, windows_core::IUnknown); impl IAgileObject {} #[repr(C)] pub struct IAgileObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IAsyncManager, IAsyncManager_Vtbl, 0x0000002a_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IAsyncManager, IAsyncManager_Vtbl, 0x0000002a_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IAsyncManager, windows_core::IUnknown); impl IAsyncManager { pub unsafe fn CompleteCall(&self, result: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1173,7 +1173,7 @@ pub struct IAsyncManager_Vtbl { pub GetCallContext: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAsyncRpcChannelBuffer, IAsyncRpcChannelBuffer_Vtbl, 0xa5029fb6_3c34_11d1_9c99_00c04fb998aa); +windows_core::imp::define_interface!(IAsyncRpcChannelBuffer, IAsyncRpcChannelBuffer_Vtbl, 0xa5029fb6_3c34_11d1_9c99_00c04fb998aa); windows_core::imp::interface_hierarchy!(IAsyncRpcChannelBuffer, windows_core::IUnknown, IRpcChannelBuffer, IRpcChannelBuffer2); impl IAsyncRpcChannelBuffer { pub unsafe fn GetBuffer(&self, pmessage: *mut RPCOLEMESSAGE, riid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -1215,7 +1215,7 @@ pub struct IAsyncRpcChannelBuffer_Vtbl { pub Receive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RPCOLEMESSAGE, *mut u32) -> windows_core::HRESULT, pub GetDestCtxEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const RPCOLEMESSAGE, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAuthenticate, IAuthenticate_Vtbl, 0x79eac9d0_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IAuthenticate, IAuthenticate_Vtbl, 0x79eac9d0_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IAuthenticate, windows_core::IUnknown); impl IAuthenticate { pub unsafe fn Authenticate(&self, phwnd: *mut super::super::Foundation::HWND, pszusername: *mut windows_core::PWSTR, pszpassword: *mut windows_core::PWSTR) -> windows_core::Result<()> { @@ -1227,7 +1227,7 @@ pub struct IAuthenticate_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Authenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND, *mut windows_core::PWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAuthenticateEx, IAuthenticateEx_Vtbl, 0x2ad1edaf_d83d_48b5_9adf_03dbe19f53bd); +windows_core::imp::define_interface!(IAuthenticateEx, IAuthenticateEx_Vtbl, 0x2ad1edaf_d83d_48b5_9adf_03dbe19f53bd); windows_core::imp::interface_hierarchy!(IAuthenticateEx, windows_core::IUnknown, IAuthenticate); impl IAuthenticateEx { pub unsafe fn Authenticate(&self, phwnd: *mut super::super::Foundation::HWND, pszusername: *mut windows_core::PWSTR, pszpassword: *mut windows_core::PWSTR) -> windows_core::Result<()> { @@ -1242,7 +1242,7 @@ pub struct IAuthenticateEx_Vtbl { pub base__: IAuthenticate_Vtbl, pub AuthenticateEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND, *mut windows_core::PWSTR, *mut windows_core::PWSTR, *const AUTHENTICATEINFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBindCtx, IBindCtx_Vtbl, 0x0000000e_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IBindCtx, IBindCtx_Vtbl, 0x0000000e_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IBindCtx, windows_core::IUnknown); impl IBindCtx { pub unsafe fn RegisterObjectBound(&self, punk: P0) -> windows_core::Result<()> @@ -1309,7 +1309,7 @@ pub struct IBindCtx_Vtbl { pub EnumObjectParam: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RevokeObjectParam: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBindHost, IBindHost_Vtbl, 0xfc4801a1_2ba9_11cf_a229_00aa003d7352); +windows_core::imp::define_interface!(IBindHost, IBindHost_Vtbl, 0xfc4801a1_2ba9_11cf_a229_00aa003d7352); windows_core::imp::interface_hierarchy!(IBindHost, windows_core::IUnknown); impl IBindHost { pub unsafe fn CreateMoniker(&self, szname: P0, pbc: P1, ppmk: *mut Option, dwreserved: u32) -> windows_core::Result<()> @@ -1343,7 +1343,7 @@ pub struct IBindHost_Vtbl { pub MonikerBindToStorage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MonikerBindToObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBindStatusCallback, IBindStatusCallback_Vtbl, 0x79eac9c1_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IBindStatusCallback, IBindStatusCallback_Vtbl, 0x79eac9c1_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IBindStatusCallback, windows_core::IUnknown); impl IBindStatusCallback { pub unsafe fn OnStartBinding(&self, dwreserved: u32, pib: P0) -> windows_core::Result<()> @@ -1404,7 +1404,7 @@ pub struct IBindStatusCallback_Vtbl { OnDataAvailable: usize, pub OnObjectAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBindStatusCallbackEx, IBindStatusCallbackEx_Vtbl, 0xaaa74ef9_8ee7_4659_88d9_f8c504da73cc); +windows_core::imp::define_interface!(IBindStatusCallbackEx, IBindStatusCallbackEx_Vtbl, 0xaaa74ef9_8ee7_4659_88d9_f8c504da73cc); windows_core::imp::interface_hierarchy!(IBindStatusCallbackEx, windows_core::IUnknown, IBindStatusCallback); impl IBindStatusCallbackEx { pub unsafe fn OnStartBinding(&self, dwreserved: u32, pib: P0) -> windows_core::Result<()> @@ -1459,7 +1459,7 @@ pub struct IBindStatusCallbackEx_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage")))] GetBindInfoEx: usize, } -windows_core::imp::com_interface!(IBinding, IBinding_Vtbl, 0x79eac9c0_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IBinding, IBinding_Vtbl, 0x79eac9c0_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IBinding, windows_core::IUnknown); impl IBinding { pub unsafe fn Abort(&self) -> windows_core::Result<()> { @@ -1492,7 +1492,7 @@ pub struct IBinding_Vtbl { pub GetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetBindResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, *mut u32, *mut windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBlockingLock, IBlockingLock_Vtbl, 0x30f3d47a_6447_11d1_8e3c_00c04fb9386d); +windows_core::imp::define_interface!(IBlockingLock, IBlockingLock_Vtbl, 0x30f3d47a_6447_11d1_8e3c_00c04fb9386d); windows_core::imp::interface_hierarchy!(IBlockingLock, windows_core::IUnknown); impl IBlockingLock { pub unsafe fn Lock(&self, dwtimeout: u32) -> windows_core::Result<()> { @@ -1508,7 +1508,7 @@ pub struct IBlockingLock_Vtbl { pub Lock: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Unlock: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICallFactory, ICallFactory_Vtbl, 0x1c733a30_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ICallFactory, ICallFactory_Vtbl, 0x1c733a30_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ICallFactory, windows_core::IUnknown); impl ICallFactory { pub unsafe fn CreateCall(&self, riid: *const windows_core::GUID, pctrlunk: P0, riid2: *const windows_core::GUID) -> windows_core::Result @@ -1524,7 +1524,7 @@ pub struct ICallFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateCall: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICancelMethodCalls, ICancelMethodCalls_Vtbl, 0x00000029_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ICancelMethodCalls, ICancelMethodCalls_Vtbl, 0x00000029_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ICancelMethodCalls, windows_core::IUnknown); impl ICancelMethodCalls { pub unsafe fn Cancel(&self, ulseconds: u32) -> windows_core::Result<()> { @@ -1540,7 +1540,7 @@ pub struct ICancelMethodCalls_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub TestCancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICatInformation, ICatInformation_Vtbl, 0x0002e013_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ICatInformation, ICatInformation_Vtbl, 0x0002e013_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ICatInformation, windows_core::IUnknown); impl ICatInformation { pub unsafe fn EnumCategories(&self, lcid: u32) -> windows_core::Result { @@ -1577,7 +1577,7 @@ pub struct ICatInformation_Vtbl { pub EnumImplCategoriesOfClass: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumReqCategoriesOfClass: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICatRegister, ICatRegister_Vtbl, 0x0002e012_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ICatRegister, ICatRegister_Vtbl, 0x0002e012_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ICatRegister, windows_core::IUnknown); impl ICatRegister { pub unsafe fn RegisterCategories(&self, rgcategoryinfo: &[CATEGORYINFO]) -> windows_core::Result<()> { @@ -1609,7 +1609,7 @@ pub struct ICatRegister_Vtbl { pub RegisterClassReqCategories: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const windows_core::GUID) -> windows_core::HRESULT, pub UnRegisterClassReqCategories: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChannelHook, IChannelHook_Vtbl, 0x1008c4a0_7613_11cf_9af1_0020af6e72f4); +windows_core::imp::define_interface!(IChannelHook, IChannelHook_Vtbl, 0x1008c4a0_7613_11cf_9af1_0020af6e72f4); 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 { @@ -1645,7 +1645,7 @@ pub struct IChannelHook_Vtbl { pub ServerGetSize: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, windows_core::HRESULT, *mut u32), pub ServerFillBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut u32, *const core::ffi::c_void, windows_core::HRESULT), } -windows_core::imp::com_interface!(IClassActivator, IClassActivator_Vtbl, 0x00000140_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IClassActivator, IClassActivator_Vtbl, 0x00000140_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IClassActivator, windows_core::IUnknown); impl IClassActivator { pub unsafe fn GetClassObject(&self, rclsid: *const windows_core::GUID, dwclasscontext: u32, locale: u32) -> windows_core::Result @@ -1661,7 +1661,7 @@ pub struct IClassActivator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetClassObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClassFactory, IClassFactory_Vtbl, 0x00000001_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IClassFactory, IClassFactory_Vtbl, 0x00000001_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IClassFactory, windows_core::IUnknown); impl IClassFactory { pub unsafe fn CreateInstance(&self, punkouter: P0) -> windows_core::Result @@ -1685,7 +1685,7 @@ pub struct IClassFactory_Vtbl { 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 LockServer: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClientSecurity, IClientSecurity_Vtbl, 0x0000013d_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IClientSecurity, IClientSecurity_Vtbl, 0x0000013d_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IClientSecurity, windows_core::IUnknown); impl IClientSecurity { pub unsafe fn QueryBlanket(&self, pproxy: P0, pauthnsvc: *mut u32, pauthzsvc: Option<*mut u32>, pserverprincname: *mut *mut u16, pauthnlevel: Option<*mut RPC_C_AUTHN_LEVEL>, pimplevel: Option<*mut RPC_C_IMP_LEVEL>, pauthinfo: *mut *mut core::ffi::c_void, pcapabilites: Option<*mut u32>) -> windows_core::Result<()> @@ -1716,7 +1716,7 @@ pub struct IClientSecurity_Vtbl { pub SetBlanket: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, windows_core::PCWSTR, RPC_C_AUTHN_LEVEL, RPC_C_IMP_LEVEL, *const core::ffi::c_void, u32) -> windows_core::HRESULT, pub CopyProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComThreadingInfo, IComThreadingInfo_Vtbl, 0x000001ce_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IComThreadingInfo, IComThreadingInfo_Vtbl, 0x000001ce_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IComThreadingInfo, windows_core::IUnknown); impl IComThreadingInfo { pub unsafe fn GetCurrentApartmentType(&self) -> windows_core::Result { @@ -1743,7 +1743,7 @@ pub struct IComThreadingInfo_Vtbl { pub GetCurrentLogicalThreadId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub SetCurrentLogicalThreadId: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectionPoint, IConnectionPoint_Vtbl, 0xb196b286_bab4_101a_b69c_00aa00341d07); +windows_core::imp::define_interface!(IConnectionPoint, IConnectionPoint_Vtbl, 0xb196b286_bab4_101a_b69c_00aa00341d07); windows_core::imp::interface_hierarchy!(IConnectionPoint, windows_core::IUnknown); impl IConnectionPoint { pub unsafe fn GetConnectionInterface(&self) -> windows_core::Result { @@ -1778,7 +1778,7 @@ pub struct IConnectionPoint_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub EnumConnections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectionPointContainer, IConnectionPointContainer_Vtbl, 0xb196b284_bab4_101a_b69c_00aa00341d07); +windows_core::imp::define_interface!(IConnectionPointContainer, IConnectionPointContainer_Vtbl, 0xb196b284_bab4_101a_b69c_00aa00341d07); windows_core::imp::interface_hierarchy!(IConnectionPointContainer, windows_core::IUnknown); impl IConnectionPointContainer { pub unsafe fn EnumConnectionPoints(&self) -> windows_core::Result { @@ -1796,7 +1796,7 @@ pub struct IConnectionPointContainer_Vtbl { pub EnumConnectionPoints: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FindConnectionPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContext, IContext_Vtbl, 0x000001c0_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IContext, IContext_Vtbl, 0x000001c0_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IContext, windows_core::IUnknown); impl IContext { pub unsafe fn SetProperty(&self, rpolicyid: *const windows_core::GUID, flags: u32, punk: P0) -> windows_core::Result<()> @@ -1824,7 +1824,7 @@ pub struct IContext_Vtbl { pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumContextProps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContextCallback, IContextCallback_Vtbl, 0x000001da_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IContextCallback, IContextCallback_Vtbl, 0x000001da_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IContextCallback, windows_core::IUnknown); impl IContextCallback { pub unsafe fn ContextCallback(&self, pfncallback: PFNCONTEXTCALL, pparam: *const ComCallData, riid: *const windows_core::GUID, imethod: i32, punk: P0) -> windows_core::Result<()> @@ -1839,7 +1839,7 @@ pub struct IContextCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ContextCallback: unsafe extern "system" fn(*mut core::ffi::c_void, PFNCONTEXTCALL, *const ComCallData, *const windows_core::GUID, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataAdviseHolder, IDataAdviseHolder_Vtbl, 0x00000110_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IDataAdviseHolder, IDataAdviseHolder_Vtbl, 0x00000110_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IDataAdviseHolder, windows_core::IUnknown); impl IDataAdviseHolder { pub unsafe fn Advise(&self, pdataobject: P0, pfetc: *const FORMATETC, advf: u32, padvise: P1) -> windows_core::Result @@ -1872,7 +1872,7 @@ pub struct IDataAdviseHolder_Vtbl { pub EnumAdvise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SendOnDataChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataObject, IDataObject_Vtbl, 0x0000010e_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IDataObject, IDataObject_Vtbl, 0x0000010e_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IDataObject, windows_core::IUnknown); impl IDataObject { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage"))] @@ -1938,7 +1938,7 @@ pub struct IDataObject_Vtbl { pub DUnadvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub EnumDAdvise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDispatch, IDispatch_Vtbl, 0x00020400_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IDispatch, IDispatch_Vtbl, 0x00020400_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IDispatch, windows_core::IUnknown); impl IDispatch { pub unsafe fn GetTypeInfoCount(&self) -> windows_core::Result { @@ -1964,7 +1964,7 @@ pub struct IDispatch_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumCATEGORYINFO, IEnumCATEGORYINFO_Vtbl, 0x0002e011_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumCATEGORYINFO, IEnumCATEGORYINFO_Vtbl, 0x0002e011_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumCATEGORYINFO, windows_core::IUnknown); impl IEnumCATEGORYINFO { pub unsafe fn Next(&self, rgelt: &mut [CATEGORYINFO], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -1989,7 +1989,7 @@ pub struct IEnumCATEGORYINFO_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumConnectionPoints, IEnumConnectionPoints_Vtbl, 0xb196b285_bab4_101a_b69c_00aa00341d07); +windows_core::imp::define_interface!(IEnumConnectionPoints, IEnumConnectionPoints_Vtbl, 0xb196b285_bab4_101a_b69c_00aa00341d07); windows_core::imp::interface_hierarchy!(IEnumConnectionPoints, windows_core::IUnknown); impl IEnumConnectionPoints { pub unsafe fn Next(&self, ppcp: &mut [Option], pcfetched: *mut u32) -> windows_core::HRESULT { @@ -2014,7 +2014,7 @@ pub struct IEnumConnectionPoints_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumConnections, IEnumConnections_Vtbl, 0xb196b287_bab4_101a_b69c_00aa00341d07); +windows_core::imp::define_interface!(IEnumConnections, IEnumConnections_Vtbl, 0xb196b287_bab4_101a_b69c_00aa00341d07); windows_core::imp::interface_hierarchy!(IEnumConnections, windows_core::IUnknown); impl IEnumConnections { pub unsafe fn Next(&self, rgcd: &mut [CONNECTDATA], pcfetched: *mut u32) -> windows_core::HRESULT { @@ -2039,7 +2039,7 @@ pub struct IEnumConnections_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumContextProps, IEnumContextProps_Vtbl, 0x000001c1_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumContextProps, IEnumContextProps_Vtbl, 0x000001c1_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumContextProps, windows_core::IUnknown); impl IEnumContextProps { pub unsafe fn Next(&self, pcontextproperties: &mut [ContextProperty], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -2069,7 +2069,7 @@ pub struct IEnumContextProps_Vtbl { pub Clone: 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 u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumFORMATETC, IEnumFORMATETC_Vtbl, 0x00000103_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumFORMATETC, IEnumFORMATETC_Vtbl, 0x00000103_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumFORMATETC, windows_core::IUnknown); impl IEnumFORMATETC { pub unsafe fn Next(&self, rgelt: &mut [FORMATETC], pceltfetched: Option<*mut u32>) -> windows_core::HRESULT { @@ -2094,7 +2094,7 @@ pub struct IEnumFORMATETC_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumGUID, IEnumGUID_Vtbl, 0x0002e000_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumGUID, IEnumGUID_Vtbl, 0x0002e000_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumGUID, windows_core::IUnknown); impl IEnumGUID { pub unsafe fn Next(&self, rgelt: &mut [windows_core::GUID], pceltfetched: Option<*mut u32>) -> windows_core::HRESULT { @@ -2119,7 +2119,7 @@ pub struct IEnumGUID_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumMoniker, IEnumMoniker_Vtbl, 0x00000102_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumMoniker, IEnumMoniker_Vtbl, 0x00000102_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumMoniker, windows_core::IUnknown); impl IEnumMoniker { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::HRESULT { @@ -2144,7 +2144,7 @@ pub struct IEnumMoniker_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSTATDATA, IEnumSTATDATA_Vtbl, 0x00000105_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumSTATDATA, IEnumSTATDATA_Vtbl, 0x00000105_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumSTATDATA, windows_core::IUnknown); impl IEnumSTATDATA { pub unsafe fn Next(&self, rgelt: &mut [STATDATA], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -2169,7 +2169,7 @@ pub struct IEnumSTATDATA_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumString, IEnumString_Vtbl, 0x00000101_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumString, IEnumString_Vtbl, 0x00000101_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumString, windows_core::IUnknown); impl IEnumString { pub unsafe fn Next(&self, rgelt: &mut [windows_core::PWSTR], pceltfetched: Option<*mut u32>) -> windows_core::HRESULT { @@ -2194,7 +2194,7 @@ pub struct IEnumString_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumUnknown, IEnumUnknown_Vtbl, 0x00000100_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumUnknown, IEnumUnknown_Vtbl, 0x00000100_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumUnknown, windows_core::IUnknown); impl IEnumUnknown { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::HRESULT { @@ -2219,7 +2219,7 @@ pub struct IEnumUnknown_Vtbl { 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, } -windows_core::imp::com_interface!(IErrorInfo, IErrorInfo_Vtbl, 0x1cf2b120_547d_101b_8e65_08002b2bd119); +windows_core::imp::define_interface!(IErrorInfo, IErrorInfo_Vtbl, 0x1cf2b120_547d_101b_8e65_08002b2bd119); windows_core::imp::interface_hierarchy!(IErrorInfo, windows_core::IUnknown); impl IErrorInfo { pub unsafe fn GetGUID(&self) -> windows_core::Result { @@ -2252,7 +2252,7 @@ pub struct IErrorInfo_Vtbl { pub GetHelpFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub GetHelpContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IErrorLog, IErrorLog_Vtbl, 0x3127ca40_446e_11ce_8135_00aa004bb851); +windows_core::imp::define_interface!(IErrorLog, IErrorLog_Vtbl, 0x3127ca40_446e_11ce_8135_00aa004bb851); windows_core::imp::interface_hierarchy!(IErrorLog, windows_core::IUnknown); impl IErrorLog { pub unsafe fn AddError(&self, pszpropname: P0, pexcepinfo: *const EXCEPINFO) -> windows_core::Result<()> @@ -2267,7 +2267,7 @@ pub struct IErrorLog_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AddError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const EXCEPINFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExternalConnection, IExternalConnection_Vtbl, 0x00000019_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IExternalConnection, IExternalConnection_Vtbl, 0x00000019_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IExternalConnection, windows_core::IUnknown); impl IExternalConnection { pub unsafe fn AddConnection(&self, extconn: u32, reserved: u32) -> u32 { @@ -2286,14 +2286,14 @@ pub struct IExternalConnection_Vtbl { pub AddConnection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> u32, pub ReleaseConnection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, super::super::Foundation::BOOL) -> u32, } -windows_core::imp::com_interface!(IFastRundown, IFastRundown_Vtbl, 0x00000040_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IFastRundown, IFastRundown_Vtbl, 0x00000040_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IFastRundown, windows_core::IUnknown); impl IFastRundown {} #[repr(C)] pub struct IFastRundown_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IForegroundTransfer, IForegroundTransfer_Vtbl, 0x00000145_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IForegroundTransfer, IForegroundTransfer_Vtbl, 0x00000145_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IForegroundTransfer, windows_core::IUnknown); impl IForegroundTransfer { pub unsafe fn AllowForegroundTransfer(&self, lpvreserved: Option<*const core::ffi::c_void>) -> windows_core::Result<()> { @@ -2305,7 +2305,7 @@ pub struct IForegroundTransfer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AllowForegroundTransfer: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGlobalInterfaceTable, IGlobalInterfaceTable_Vtbl, 0x00000146_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IGlobalInterfaceTable, IGlobalInterfaceTable_Vtbl, 0x00000146_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IGlobalInterfaceTable, windows_core::IUnknown); impl IGlobalInterfaceTable { pub unsafe fn RegisterInterfaceInGlobal(&self, punk: P0, riid: *const windows_core::GUID) -> windows_core::Result @@ -2329,7 +2329,7 @@ pub struct IGlobalInterfaceTable_Vtbl { pub RevokeInterfaceFromGlobal: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetInterfaceFromGlobal: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGlobalOptions, IGlobalOptions_Vtbl, 0x0000015b_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IGlobalOptions, IGlobalOptions_Vtbl, 0x0000015b_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IGlobalOptions, windows_core::IUnknown); impl IGlobalOptions { pub unsafe fn Set(&self, dwproperty: GLOBALOPT_PROPERTIES, dwvalue: usize) -> windows_core::Result<()> { @@ -2346,7 +2346,7 @@ pub struct IGlobalOptions_Vtbl { pub Set: unsafe extern "system" fn(*mut core::ffi::c_void, GLOBALOPT_PROPERTIES, usize) -> windows_core::HRESULT, pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, GLOBALOPT_PROPERTIES, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInitializeSpy, IInitializeSpy_Vtbl, 0x00000034_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IInitializeSpy, IInitializeSpy_Vtbl, 0x00000034_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IInitializeSpy, windows_core::IUnknown); impl IInitializeSpy { pub unsafe fn PreInitialize(&self, dwcoinit: u32, dwcurthreadaptrefs: u32) -> windows_core::Result<()> { @@ -2370,7 +2370,7 @@ pub struct IInitializeSpy_Vtbl { pub PreUninitialize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub PostUninitialize: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternalUnknown, IInternalUnknown_Vtbl, 0x00000021_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IInternalUnknown, IInternalUnknown_Vtbl, 0x00000021_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IInternalUnknown, windows_core::IUnknown); impl IInternalUnknown { pub unsafe fn QueryInternalInterface(&self, riid: *const windows_core::GUID, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -2382,7 +2382,7 @@ pub struct IInternalUnknown_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryInternalInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMachineGlobalObjectTable, IMachineGlobalObjectTable_Vtbl, 0x26d709ac_f70b_4421_a96f_d2878fafb00d); +windows_core::imp::define_interface!(IMachineGlobalObjectTable, IMachineGlobalObjectTable_Vtbl, 0x26d709ac_f70b_4421_a96f_d2878fafb00d); windows_core::imp::interface_hierarchy!(IMachineGlobalObjectTable, windows_core::IUnknown); impl IMachineGlobalObjectTable { pub unsafe fn RegisterObject(&self, clsid: *const windows_core::GUID, identifier: P0, object: P1) -> windows_core::Result @@ -2415,7 +2415,7 @@ pub struct IMachineGlobalObjectTable_Vtbl { pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RevokeObject: unsafe extern "system" fn(*mut core::ffi::c_void, MachineGlobalObjectTableRegistrationToken) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMalloc, IMalloc_Vtbl, 0x00000002_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IMalloc, IMalloc_Vtbl, 0x00000002_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IMalloc, windows_core::IUnknown); impl IMalloc { pub unsafe fn Alloc(&self, cb: usize) -> *mut core::ffi::c_void { @@ -2447,7 +2447,7 @@ pub struct IMalloc_Vtbl { pub DidAlloc: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> i32, pub HeapMinimize: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMallocSpy, IMallocSpy_Vtbl, 0x0000001d_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IMallocSpy, IMallocSpy_Vtbl, 0x0000001d_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IMallocSpy, windows_core::IUnknown); impl IMallocSpy { pub unsafe fn PreAlloc(&self, cbrequest: usize) -> usize { @@ -2527,7 +2527,7 @@ pub struct IMallocSpy_Vtbl { pub PreHeapMinimize: unsafe extern "system" fn(*mut core::ffi::c_void), pub PostHeapMinimize: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IMoniker, IMoniker_Vtbl, 0x0000000f_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IMoniker, IMoniker_Vtbl, 0x0000000f_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IMoniker, windows_core::IUnknown, IPersist, IPersistStream); impl IMoniker { pub unsafe fn GetClassID(&self) -> windows_core::Result { @@ -2677,7 +2677,7 @@ pub struct IMoniker_Vtbl { pub ParseDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsSystemMoniker: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMultiQI, IMultiQI_Vtbl, 0x00000020_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IMultiQI, IMultiQI_Vtbl, 0x00000020_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IMultiQI, windows_core::IUnknown); impl IMultiQI { pub unsafe fn QueryMultipleInterfaces(&self, pmqis: &mut [MULTI_QI]) -> windows_core::Result<()> { @@ -2689,14 +2689,14 @@ pub struct IMultiQI_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryMultipleInterfaces: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut MULTI_QI) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INoMarshal, INoMarshal_Vtbl, 0xecc8691b_c1db_4dc0_855e_65f6c551af49); +windows_core::imp::define_interface!(INoMarshal, INoMarshal_Vtbl, 0xecc8691b_c1db_4dc0_855e_65f6c551af49); windows_core::imp::interface_hierarchy!(INoMarshal, windows_core::IUnknown); impl INoMarshal {} #[repr(C)] pub struct INoMarshal_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IOplockStorage, IOplockStorage_Vtbl, 0x8d19c834_8879_11d1_83e9_00c04fc2c6d4); +windows_core::imp::define_interface!(IOplockStorage, IOplockStorage_Vtbl, 0x8d19c834_8879_11d1_83e9_00c04fc2c6d4); windows_core::imp::interface_hierarchy!(IOplockStorage, windows_core::IUnknown); impl IOplockStorage { pub unsafe fn CreateStorageEx(&self, pwcsname: P0, grfmode: u32, stgfmt: u32, grfattrs: u32) -> windows_core::Result @@ -2722,7 +2722,7 @@ pub struct IOplockStorage_Vtbl { pub CreateStorageEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OpenStorageEx: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPSFactoryBuffer, IPSFactoryBuffer_Vtbl, 0xd5f569d0_593b_101a_b569_08002b2dbf7a); +windows_core::imp::define_interface!(IPSFactoryBuffer, IPSFactoryBuffer_Vtbl, 0xd5f569d0_593b_101a_b569_08002b2dbf7a); windows_core::imp::interface_hierarchy!(IPSFactoryBuffer, windows_core::IUnknown); impl IPSFactoryBuffer { pub unsafe fn CreateProxy(&self, punkouter: P0, riid: *const windows_core::GUID, ppproxy: *mut Option, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> @@ -2745,7 +2745,7 @@ pub struct IPSFactoryBuffer_Vtbl { pub CreateProxy: unsafe extern "system" fn(*mut core::ffi::c_void, *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 CreateStub: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPersist, IPersist_Vtbl, 0x0000010c_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IPersist, IPersist_Vtbl, 0x0000010c_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IPersist, windows_core::IUnknown); impl IPersist { pub unsafe fn GetClassID(&self) -> windows_core::Result { @@ -2758,7 +2758,7 @@ pub struct IPersist_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetClassID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPersistFile, IPersistFile_Vtbl, 0x0000010b_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IPersistFile, IPersistFile_Vtbl, 0x0000010b_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IPersistFile, windows_core::IUnknown, IPersist); impl IPersistFile { pub unsafe fn GetClassID(&self) -> windows_core::Result { @@ -2801,7 +2801,7 @@ pub struct IPersistFile_Vtbl { pub SaveCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetCurFile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPersistMemory, IPersistMemory_Vtbl, 0xbd1ae5e0_a6ae_11ce_bd37_504200c10000); +windows_core::imp::define_interface!(IPersistMemory, IPersistMemory_Vtbl, 0xbd1ae5e0_a6ae_11ce_bd37_504200c10000); windows_core::imp::interface_hierarchy!(IPersistMemory, windows_core::IUnknown, IPersist); impl IPersistMemory { pub unsafe fn GetClassID(&self) -> windows_core::Result { @@ -2837,7 +2837,7 @@ pub struct IPersistMemory_Vtbl { pub GetSizeMax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub InitNew: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPersistStream, IPersistStream_Vtbl, 0x00000109_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IPersistStream, IPersistStream_Vtbl, 0x00000109_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IPersistStream, windows_core::IUnknown, IPersist); impl IPersistStream { pub unsafe fn GetClassID(&self) -> windows_core::Result { @@ -2873,7 +2873,7 @@ pub struct IPersistStream_Vtbl { pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetSizeMax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPersistStreamInit, IPersistStreamInit_Vtbl, 0x7fd52380_4e07_101b_ae2d_08002b2ec713); +windows_core::imp::define_interface!(IPersistStreamInit, IPersistStreamInit_Vtbl, 0x7fd52380_4e07_101b_ae2d_08002b2ec713); windows_core::imp::interface_hierarchy!(IPersistStreamInit, windows_core::IUnknown, IPersist); impl IPersistStreamInit { pub unsafe fn GetClassID(&self) -> windows_core::Result { @@ -2913,7 +2913,7 @@ pub struct IPersistStreamInit_Vtbl { pub GetSizeMax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub InitNew: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPipeByte, IPipeByte_Vtbl, 0xdb2f3aca_2f86_11d1_8e04_00c04fb9989a); +windows_core::imp::define_interface!(IPipeByte, IPipeByte_Vtbl, 0xdb2f3aca_2f86_11d1_8e04_00c04fb9989a); windows_core::imp::interface_hierarchy!(IPipeByte, windows_core::IUnknown); impl IPipeByte { pub unsafe fn Pull(&self, buf: &mut [u8], pcreturned: *mut u32) -> windows_core::Result<()> { @@ -2929,7 +2929,7 @@ pub struct IPipeByte_Vtbl { pub Pull: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32, *mut u32) -> windows_core::HRESULT, pub Push: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPipeDouble, IPipeDouble_Vtbl, 0xdb2f3ace_2f86_11d1_8e04_00c04fb9989a); +windows_core::imp::define_interface!(IPipeDouble, IPipeDouble_Vtbl, 0xdb2f3ace_2f86_11d1_8e04_00c04fb9989a); windows_core::imp::interface_hierarchy!(IPipeDouble, windows_core::IUnknown); impl IPipeDouble { pub unsafe fn Pull(&self, buf: &mut [f64], pcreturned: *mut u32) -> windows_core::Result<()> { @@ -2945,7 +2945,7 @@ pub struct IPipeDouble_Vtbl { pub Pull: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64, u32, *mut u32) -> windows_core::HRESULT, pub Push: unsafe extern "system" fn(*mut core::ffi::c_void, *const f64, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPipeLong, IPipeLong_Vtbl, 0xdb2f3acc_2f86_11d1_8e04_00c04fb9989a); +windows_core::imp::define_interface!(IPipeLong, IPipeLong_Vtbl, 0xdb2f3acc_2f86_11d1_8e04_00c04fb9989a); windows_core::imp::interface_hierarchy!(IPipeLong, windows_core::IUnknown); impl IPipeLong { pub unsafe fn Pull(&self, buf: &mut [i32], pcreturned: *mut u32) -> windows_core::Result<()> { @@ -2961,7 +2961,7 @@ pub struct IPipeLong_Vtbl { pub Pull: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, u32, *mut u32) -> windows_core::HRESULT, pub Push: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessInitControl, IProcessInitControl_Vtbl, 0x72380d55_8d2b_43a3_8513_2b6ef31434e9); +windows_core::imp::define_interface!(IProcessInitControl, IProcessInitControl_Vtbl, 0x72380d55_8d2b_43a3_8513_2b6ef31434e9); windows_core::imp::interface_hierarchy!(IProcessInitControl, windows_core::IUnknown); impl IProcessInitControl { pub unsafe fn ResetInitializerTimeout(&self, dwsecondsremaining: u32) -> windows_core::Result<()> { @@ -2973,7 +2973,7 @@ pub struct IProcessInitControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ResetInitializerTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessLock, IProcessLock_Vtbl, 0x000001d5_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IProcessLock, IProcessLock_Vtbl, 0x000001d5_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IProcessLock, windows_core::IUnknown); impl IProcessLock { pub unsafe fn AddRefOnProcess(&self) -> u32 { @@ -2989,7 +2989,7 @@ pub struct IProcessLock_Vtbl { pub AddRefOnProcess: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, pub ReleaseRefOnProcess: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } -windows_core::imp::com_interface!(IProgressNotify, IProgressNotify_Vtbl, 0xa9d758a0_4617_11cf_95fc_00aa00680db4); +windows_core::imp::define_interface!(IProgressNotify, IProgressNotify_Vtbl, 0xa9d758a0_4617_11cf_95fc_00aa00680db4); windows_core::imp::interface_hierarchy!(IProgressNotify, windows_core::IUnknown); impl IProgressNotify { pub unsafe fn OnProgress(&self, dwprogresscurrent: u32, dwprogressmaximum: u32, faccurate: P0, fowner: P1) -> windows_core::Result<()> @@ -3005,7 +3005,7 @@ pub struct IProgressNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnProgress: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IROTData, IROTData_Vtbl, 0xf29f6bc0_5021_11ce_aa15_00006901293f); +windows_core::imp::define_interface!(IROTData, IROTData_Vtbl, 0xf29f6bc0_5021_11ce_aa15_00006901293f); windows_core::imp::interface_hierarchy!(IROTData, windows_core::IUnknown); impl IROTData { pub unsafe fn GetComparisonData(&self, pbdata: &mut [u8], pcbdata: *mut u32) -> windows_core::Result<()> { @@ -3017,7 +3017,7 @@ pub struct IROTData_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetComparisonData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReleaseMarshalBuffers, IReleaseMarshalBuffers_Vtbl, 0xeb0cb9e8_7996_11d2_872e_0000f8080859); +windows_core::imp::define_interface!(IReleaseMarshalBuffers, IReleaseMarshalBuffers_Vtbl, 0xeb0cb9e8_7996_11d2_872e_0000f8080859); windows_core::imp::interface_hierarchy!(IReleaseMarshalBuffers, windows_core::IUnknown); impl IReleaseMarshalBuffers { pub unsafe fn ReleaseMarshalBuffer(&self, pmsg: *mut RPCOLEMESSAGE, dwflags: u32, pchnl: P0) -> windows_core::Result<()> @@ -3032,7 +3032,7 @@ pub struct IReleaseMarshalBuffers_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ReleaseMarshalBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RPCOLEMESSAGE, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRpcChannelBuffer, IRpcChannelBuffer_Vtbl, 0xd5f56b60_593b_101a_b569_08002b2dbf7a); +windows_core::imp::define_interface!(IRpcChannelBuffer, IRpcChannelBuffer_Vtbl, 0xd5f56b60_593b_101a_b569_08002b2dbf7a); windows_core::imp::interface_hierarchy!(IRpcChannelBuffer, windows_core::IUnknown); impl IRpcChannelBuffer { pub unsafe fn GetBuffer(&self, pmessage: *mut RPCOLEMESSAGE, riid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -3060,7 +3060,7 @@ pub struct IRpcChannelBuffer_Vtbl { pub GetDestCtx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRpcChannelBuffer2, IRpcChannelBuffer2_Vtbl, 0x594f31d0_7f19_11d0_b194_00a0c90dc8bf); +windows_core::imp::define_interface!(IRpcChannelBuffer2, IRpcChannelBuffer2_Vtbl, 0x594f31d0_7f19_11d0_b194_00a0c90dc8bf); windows_core::imp::interface_hierarchy!(IRpcChannelBuffer2, windows_core::IUnknown, IRpcChannelBuffer); impl IRpcChannelBuffer2 { pub unsafe fn GetBuffer(&self, pmessage: *mut RPCOLEMESSAGE, riid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -3088,7 +3088,7 @@ pub struct IRpcChannelBuffer2_Vtbl { pub base__: IRpcChannelBuffer_Vtbl, pub GetProtocolVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRpcChannelBuffer3, IRpcChannelBuffer3_Vtbl, 0x25b15600_0115_11d0_bf0d_00aa00b8dfd2); +windows_core::imp::define_interface!(IRpcChannelBuffer3, IRpcChannelBuffer3_Vtbl, 0x25b15600_0115_11d0_bf0d_00aa00b8dfd2); windows_core::imp::interface_hierarchy!(IRpcChannelBuffer3, windows_core::IUnknown, IRpcChannelBuffer, IRpcChannelBuffer2); impl IRpcChannelBuffer3 { pub unsafe fn GetBuffer(&self, pmessage: *mut RPCOLEMESSAGE, riid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -3147,7 +3147,7 @@ pub struct IRpcChannelBuffer3_Vtbl { pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, *const RPCOLEMESSAGE, *mut u32) -> windows_core::HRESULT, pub RegisterAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RPCOLEMESSAGE, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRpcHelper, IRpcHelper_Vtbl, 0x00000149_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IRpcHelper, IRpcHelper_Vtbl, 0x00000149_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IRpcHelper, windows_core::IUnknown); impl IRpcHelper { pub unsafe fn GetDCOMProtocolVersion(&self) -> windows_core::Result { @@ -3165,7 +3165,7 @@ pub struct IRpcHelper_Vtbl { pub GetDCOMProtocolVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetIIDFromOBJREF: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *mut *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRpcOptions, IRpcOptions_Vtbl, 0x00000144_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IRpcOptions, IRpcOptions_Vtbl, 0x00000144_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IRpcOptions, windows_core::IUnknown); impl IRpcOptions { pub unsafe fn Set(&self, pprx: P0, dwproperty: RPCOPT_PROPERTIES, dwvalue: usize) -> windows_core::Result<()> @@ -3188,7 +3188,7 @@ pub struct IRpcOptions_Vtbl { pub Set: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, RPCOPT_PROPERTIES, usize) -> windows_core::HRESULT, pub Query: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, RPCOPT_PROPERTIES, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRpcProxyBuffer, IRpcProxyBuffer_Vtbl, 0xd5f56a34_593b_101a_b569_08002b2dbf7a); +windows_core::imp::define_interface!(IRpcProxyBuffer, IRpcProxyBuffer_Vtbl, 0xd5f56a34_593b_101a_b569_08002b2dbf7a); windows_core::imp::interface_hierarchy!(IRpcProxyBuffer, windows_core::IUnknown); impl IRpcProxyBuffer { pub unsafe fn Connect(&self, prpcchannelbuffer: P0) -> windows_core::Result<()> @@ -3207,7 +3207,7 @@ pub struct IRpcProxyBuffer_Vtbl { pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IRpcStubBuffer, IRpcStubBuffer_Vtbl, 0xd5f56afc_593b_101a_b569_08002b2dbf7a); +windows_core::imp::define_interface!(IRpcStubBuffer, IRpcStubBuffer_Vtbl, 0xd5f56afc_593b_101a_b569_08002b2dbf7a); windows_core::imp::interface_hierarchy!(IRpcStubBuffer, windows_core::IUnknown); impl IRpcStubBuffer { pub unsafe fn Connect(&self, punkserver: P0) -> windows_core::Result<()> @@ -3249,7 +3249,7 @@ pub struct IRpcStubBuffer_Vtbl { pub DebugServerQueryInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DebugServerRelease: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void), } -windows_core::imp::com_interface!(IRpcSyntaxNegotiate, IRpcSyntaxNegotiate_Vtbl, 0x58a08519_24c8_4935_b482_3fd823333a4f); +windows_core::imp::define_interface!(IRpcSyntaxNegotiate, IRpcSyntaxNegotiate_Vtbl, 0x58a08519_24c8_4935_b482_3fd823333a4f); windows_core::imp::interface_hierarchy!(IRpcSyntaxNegotiate, windows_core::IUnknown); impl IRpcSyntaxNegotiate { pub unsafe fn NegotiateSyntax(&self, pmsg: *mut RPCOLEMESSAGE) -> windows_core::Result<()> { @@ -3261,7 +3261,7 @@ pub struct IRpcSyntaxNegotiate_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub NegotiateSyntax: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RPCOLEMESSAGE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRunnableObject, IRunnableObject_Vtbl, 0x00000126_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IRunnableObject, IRunnableObject_Vtbl, 0x00000126_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IRunnableObject, windows_core::IUnknown); impl IRunnableObject { pub unsafe fn GetRunningClass(&self) -> windows_core::Result { @@ -3300,7 +3300,7 @@ pub struct IRunnableObject_Vtbl { pub LockRunning: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetContainedObject: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRunningObjectTable, IRunningObjectTable_Vtbl, 0x00000010_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IRunningObjectTable, IRunningObjectTable_Vtbl, 0x00000010_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IRunningObjectTable, windows_core::IUnknown); impl IRunningObjectTable { pub unsafe fn Register(&self, grfflags: ROT_FLAGS, punkobject: P0, pmkobjectname: P1) -> windows_core::Result @@ -3353,7 +3353,7 @@ pub struct IRunningObjectTable_Vtbl { pub GetTimeOfLastChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, pub EnumRunning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISequentialStream, ISequentialStream_Vtbl, 0x0c733a30_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ISequentialStream, ISequentialStream_Vtbl, 0x0c733a30_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ISequentialStream, windows_core::IUnknown); impl ISequentialStream { pub unsafe fn Read(&self, pv: *mut core::ffi::c_void, cb: u32, pcbread: Option<*mut u32>) -> windows_core::HRESULT { @@ -3369,7 +3369,7 @@ pub struct ISequentialStream_Vtbl { pub Read: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServerSecurity, IServerSecurity_Vtbl, 0x0000013e_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IServerSecurity, IServerSecurity_Vtbl, 0x0000013e_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IServerSecurity, windows_core::IUnknown); impl IServerSecurity { pub unsafe fn QueryBlanket(&self, pauthnsvc: Option<*mut u32>, pauthzsvc: Option<*mut u32>, pserverprincname: *mut *mut u16, pauthnlevel: Option<*mut u32>, pimplevel: Option<*mut u32>, pprivs: *mut *mut core::ffi::c_void, pcapabilities: Option<*mut u32>) -> windows_core::Result<()> { @@ -3393,7 +3393,7 @@ pub struct IServerSecurity_Vtbl { pub RevertToSelf: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsImpersonating: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IServiceProvider, IServiceProvider_Vtbl, 0x6d5140c1_7436_11ce_8034_00aa006009fa); +windows_core::imp::define_interface!(IServiceProvider, IServiceProvider_Vtbl, 0x6d5140c1_7436_11ce_8034_00aa006009fa); windows_core::imp::interface_hierarchy!(IServiceProvider, windows_core::IUnknown); impl IServiceProvider { pub unsafe fn QueryService(&self, guidservice: *const windows_core::GUID) -> windows_core::Result @@ -3409,7 +3409,7 @@ pub struct IServiceProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryService: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStdMarshalInfo, IStdMarshalInfo_Vtbl, 0x00000018_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IStdMarshalInfo, IStdMarshalInfo_Vtbl, 0x00000018_0000_0000_c000_000000000046); 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 { @@ -3422,7 +3422,7 @@ pub struct IStdMarshalInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetClassForHandler: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStream, IStream_Vtbl, 0x0000000c_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IStream, IStream_Vtbl, 0x0000000c_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IStream, windows_core::IUnknown, ISequentialStream); impl IStream { pub unsafe fn Read(&self, pv: *mut core::ffi::c_void, cb: u32, pcbread: Option<*mut u32>) -> windows_core::HRESULT { @@ -3476,14 +3476,14 @@ pub struct IStream_Vtbl { pub Stat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut STATSTG, u32) -> windows_core::HRESULT, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISupportAllowLowerTrustActivation, ISupportAllowLowerTrustActivation_Vtbl, 0xe9956ef2_3828_4b4b_8fa9_7db61dee4954); +windows_core::imp::define_interface!(ISupportAllowLowerTrustActivation, ISupportAllowLowerTrustActivation_Vtbl, 0xe9956ef2_3828_4b4b_8fa9_7db61dee4954); windows_core::imp::interface_hierarchy!(ISupportAllowLowerTrustActivation, windows_core::IUnknown); impl ISupportAllowLowerTrustActivation {} #[repr(C)] pub struct ISupportAllowLowerTrustActivation_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(ISupportErrorInfo, ISupportErrorInfo_Vtbl, 0xdf0b3d60_548f_101b_8e65_08002b2bd119); +windows_core::imp::define_interface!(ISupportErrorInfo, ISupportErrorInfo_Vtbl, 0xdf0b3d60_548f_101b_8e65_08002b2bd119); windows_core::imp::interface_hierarchy!(ISupportErrorInfo, windows_core::IUnknown); impl ISupportErrorInfo { pub unsafe fn InterfaceSupportsErrorInfo(&self, riid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -3495,7 +3495,7 @@ pub struct ISupportErrorInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InterfaceSupportsErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISurrogate, ISurrogate_Vtbl, 0x00000022_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ISurrogate, ISurrogate_Vtbl, 0x00000022_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ISurrogate, windows_core::IUnknown); impl ISurrogate { pub unsafe fn LoadDllServer(&self, clsid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -3511,7 +3511,7 @@ pub struct ISurrogate_Vtbl { pub LoadDllServer: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub FreeSurrogate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISurrogateService, ISurrogateService_Vtbl, 0x000001d4_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ISurrogateService, ISurrogateService_Vtbl, 0x000001d4_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ISurrogateService, windows_core::IUnknown); impl ISurrogateService { pub unsafe fn Init(&self, rguidprocessid: *const windows_core::GUID, pprocesslock: P0) -> windows_core::Result @@ -3543,7 +3543,7 @@ pub struct ISurrogateService_Vtbl { pub CatalogRefresh: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ProcessShutdown: unsafe extern "system" fn(*mut core::ffi::c_void, ShutdownType) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISynchronize, ISynchronize_Vtbl, 0x00000030_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ISynchronize, ISynchronize_Vtbl, 0x00000030_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ISynchronize, windows_core::IUnknown); impl ISynchronize { pub unsafe fn Wait(&self, dwflags: u32, dwmilliseconds: u32) -> windows_core::Result<()> { @@ -3563,7 +3563,7 @@ pub struct ISynchronize_Vtbl { pub Signal: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISynchronizeContainer, ISynchronizeContainer_Vtbl, 0x00000033_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ISynchronizeContainer, ISynchronizeContainer_Vtbl, 0x00000033_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ISynchronizeContainer, windows_core::IUnknown); impl ISynchronizeContainer { pub unsafe fn AddSynchronize(&self, psync: P0) -> windows_core::Result<()> @@ -3583,7 +3583,7 @@ pub struct ISynchronizeContainer_Vtbl { pub AddSynchronize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub WaitMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISynchronizeEvent, ISynchronizeEvent_Vtbl, 0x00000032_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ISynchronizeEvent, ISynchronizeEvent_Vtbl, 0x00000032_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ISynchronizeEvent, windows_core::IUnknown, ISynchronizeHandle); impl ISynchronizeEvent { pub unsafe fn GetHandle(&self) -> windows_core::Result { @@ -3599,7 +3599,7 @@ pub struct ISynchronizeEvent_Vtbl { pub base__: ISynchronizeHandle_Vtbl, pub SetEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISynchronizeHandle, ISynchronizeHandle_Vtbl, 0x00000031_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ISynchronizeHandle, ISynchronizeHandle_Vtbl, 0x00000031_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ISynchronizeHandle, windows_core::IUnknown); impl ISynchronizeHandle { pub unsafe fn GetHandle(&self) -> windows_core::Result { @@ -3612,7 +3612,7 @@ pub struct ISynchronizeHandle_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISynchronizeMutex, ISynchronizeMutex_Vtbl, 0x00000025_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ISynchronizeMutex, ISynchronizeMutex_Vtbl, 0x00000025_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ISynchronizeMutex, windows_core::IUnknown, ISynchronize); impl ISynchronizeMutex { pub unsafe fn Wait(&self, dwflags: u32, dwmilliseconds: u32) -> windows_core::Result<()> { @@ -3633,7 +3633,7 @@ pub struct ISynchronizeMutex_Vtbl { pub base__: ISynchronize_Vtbl, pub ReleaseMutex: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimeAndNoticeControl, ITimeAndNoticeControl_Vtbl, 0xbc0bf6ae_8878_11d1_83e9_00c04fc2c6d4); +windows_core::imp::define_interface!(ITimeAndNoticeControl, ITimeAndNoticeControl_Vtbl, 0xbc0bf6ae_8878_11d1_83e9_00c04fc2c6d4); windows_core::imp::interface_hierarchy!(ITimeAndNoticeControl, windows_core::IUnknown); impl ITimeAndNoticeControl { pub unsafe fn SuppressChanges(&self, res1: u32, res2: u32) -> windows_core::Result<()> { @@ -3645,7 +3645,7 @@ pub struct ITimeAndNoticeControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SuppressChanges: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITypeComp, ITypeComp_Vtbl, 0x00020403_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ITypeComp, ITypeComp_Vtbl, 0x00020403_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ITypeComp, windows_core::IUnknown); impl ITypeComp { #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3671,7 +3671,7 @@ pub struct ITypeComp_Vtbl { Bind: usize, pub BindType: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITypeInfo, ITypeInfo_Vtbl, 0x00020401_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ITypeInfo, ITypeInfo_Vtbl, 0x00020401_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ITypeInfo, windows_core::IUnknown); impl ITypeInfo { #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3792,7 +3792,7 @@ pub struct ITypeInfo_Vtbl { #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] ReleaseVarDesc: usize, } -windows_core::imp::com_interface!(ITypeInfo2, ITypeInfo2_Vtbl, 0x00020412_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ITypeInfo2, ITypeInfo2_Vtbl, 0x00020412_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ITypeInfo2, windows_core::IUnknown, ITypeInfo); impl ITypeInfo2 { #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_System_Variant"))] @@ -3950,7 +3950,7 @@ pub struct ITypeInfo2_Vtbl { pub GetAllVarCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CUSTDATA) -> windows_core::HRESULT, pub GetAllImplTypeCustData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CUSTDATA) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITypeLib, ITypeLib_Vtbl, 0x00020402_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ITypeLib, ITypeLib_Vtbl, 0x00020402_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ITypeLib, windows_core::IUnknown); impl ITypeLib { pub unsafe fn GetTypeInfoCount(&self) -> u32 { @@ -4003,7 +4003,7 @@ pub struct ITypeLib_Vtbl { 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), } -windows_core::imp::com_interface!(ITypeLib2, ITypeLib2_Vtbl, 0x00020411_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ITypeLib2, ITypeLib2_Vtbl, 0x00020411_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ITypeLib2, windows_core::IUnknown, ITypeLib); impl ITypeLib2 { pub unsafe fn GetTypeInfoCount(&self) -> u32 { @@ -4064,7 +4064,7 @@ pub struct ITypeLib2_Vtbl { 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 GetAllCustData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CUSTDATA) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITypeLibRegistration, ITypeLibRegistration_Vtbl, 0x76a3e735_02df_4a12_98eb_043ad3600af3); +windows_core::imp::define_interface!(ITypeLibRegistration, ITypeLibRegistration_Vtbl, 0x76a3e735_02df_4a12_98eb_043ad3600af3); windows_core::imp::interface_hierarchy!(ITypeLibRegistration, windows_core::IUnknown); impl ITypeLibRegistration { pub unsafe fn GetGuid(&self) -> windows_core::Result { @@ -4112,7 +4112,7 @@ pub struct ITypeLibRegistration_Vtbl { 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, } -windows_core::imp::com_interface!(ITypeLibRegistrationReader, ITypeLibRegistrationReader_Vtbl, 0xed6a8a2a_b160_4e77_8f73_aa7435cd5c27); +windows_core::imp::define_interface!(ITypeLibRegistrationReader, ITypeLibRegistrationReader_Vtbl, 0xed6a8a2a_b160_4e77_8f73_aa7435cd5c27); windows_core::imp::interface_hierarchy!(ITypeLibRegistrationReader, windows_core::IUnknown); impl ITypeLibRegistrationReader { pub unsafe fn EnumTypeLibRegistrations(&self) -> windows_core::Result { @@ -4125,7 +4125,7 @@ pub struct ITypeLibRegistrationReader_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub EnumTypeLibRegistrations: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUri, IUri_Vtbl, 0xa39ee748_6a27_4817_a6f2_13914bef5890); +windows_core::imp::define_interface!(IUri, IUri_Vtbl, 0xa39ee748_6a27_4817_a6f2_13914bef5890); windows_core::imp::interface_hierarchy!(IUri, windows_core::IUnknown); impl IUri { pub unsafe fn GetPropertyBSTR(&self, uriprop: Uri_PROPERTY, pbstrproperty: *mut windows_core::BSTR, dwflags: u32) -> windows_core::Result<()> { @@ -4258,7 +4258,7 @@ pub struct IUri_Vtbl { pub GetProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub IsEqual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUriBuilder, IUriBuilder_Vtbl, 0x4221b2e1_8955_46c0_bd5b_de9897565de7); +windows_core::imp::define_interface!(IUriBuilder, IUriBuilder_Vtbl, 0x4221b2e1_8955_46c0_bd5b_de9897565de7); windows_core::imp::interface_hierarchy!(IUriBuilder, windows_core::IUnknown); impl IUriBuilder { pub unsafe fn CreateUriSimple(&self, dwallowencodingpropertymask: u32, dwreserved: usize) -> windows_core::Result { @@ -4390,7 +4390,7 @@ pub struct IUriBuilder_Vtbl { pub RemoveProperties: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub HasBeenModified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUrlMon, IUrlMon_Vtbl, 0x00000026_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IUrlMon, IUrlMon_Vtbl, 0x00000026_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IUrlMon, windows_core::IUnknown); impl IUrlMon { pub unsafe fn AsyncGetClassBits(&self, rclsid: *const windows_core::GUID, psztype: P0, pszext: P1, dwfileversionms: u32, dwfileversionls: u32, pszcodebase: P2, pbc: P3, dwclasscontext: u32, riid: *const windows_core::GUID, flags: u32) -> windows_core::Result<()> @@ -4408,7 +4408,7 @@ pub struct IUrlMon_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AsyncGetClassBits: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCWSTR, windows_core::PCWSTR, u32, u32, windows_core::PCWSTR, *mut core::ffi::c_void, u32, *const windows_core::GUID, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWaitMultiple, IWaitMultiple_Vtbl, 0x0000002b_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IWaitMultiple, IWaitMultiple_Vtbl, 0x0000002b_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IWaitMultiple, windows_core::IUnknown); impl IWaitMultiple { pub unsafe fn WaitMultiple(&self, timeout: u32) -> windows_core::Result { 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 cb8039fb21..a7acb37a2f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/mod.rs @@ -58,7 +58,7 @@ where SafeRef(rid, punk.into_param().abi()) } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ContextInfo, ContextInfo_Vtbl, 0x19a5a02c_0ac8_11d2_b286_00c04f8ef934); +windows_core::imp::define_interface!(ContextInfo, ContextInfo_Vtbl, 0x19a5a02c_0ac8_11d2_b286_00c04f8ef934); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ContextInfo, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -95,7 +95,7 @@ pub struct ContextInfo_Vtbl { pub GetContextId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ContextInfo2, ContextInfo2_Vtbl, 0xc99d6e75_2375_11d4_8331_00c04f605588); +windows_core::imp::define_interface!(ContextInfo2, ContextInfo2_Vtbl, 0xc99d6e75_2375_11d4_8331_00c04f605588); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ContextInfo2, windows_core::IUnknown, super::Com::IDispatch, ContextInfo); #[cfg(feature = "Win32_System_Com")] @@ -142,7 +142,7 @@ pub struct ContextInfo2_Vtbl { pub GetApplicationInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAppDomainHelper, IAppDomainHelper_Vtbl, 0xc7b67079_8255_42c6_9ec0_6994a3548780); +windows_core::imp::define_interface!(IAppDomainHelper, IAppDomainHelper_Vtbl, 0xc7b67079_8255_42c6_9ec0_6994a3548780); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAppDomainHelper, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -168,7 +168,7 @@ pub struct IAppDomainHelper_Vtbl { pub DoCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, isize, *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAssemblyLocator, IAssemblyLocator_Vtbl, 0x391ffbb9_a8ee_432a_abc8_baa238dab90f); +windows_core::imp::define_interface!(IAssemblyLocator, IAssemblyLocator_Vtbl, 0x391ffbb9_a8ee_432a_abc8_baa238dab90f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAssemblyLocator, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -193,7 +193,7 @@ pub struct IAssemblyLocator_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetModules: usize, } -windows_core::imp::com_interface!(IAsyncErrorNotify, IAsyncErrorNotify_Vtbl, 0xfe6777fb_a674_4177_8f32_6d707e113484); +windows_core::imp::define_interface!(IAsyncErrorNotify, IAsyncErrorNotify_Vtbl, 0xfe6777fb_a674_4177_8f32_6d707e113484); windows_core::imp::interface_hierarchy!(IAsyncErrorNotify, windows_core::IUnknown); impl IAsyncErrorNotify { pub unsafe fn OnError(&self, hr: windows_core::HRESULT) -> windows_core::Result<()> { @@ -206,7 +206,7 @@ pub struct IAsyncErrorNotify_Vtbl { pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICOMAdminCatalog, ICOMAdminCatalog_Vtbl, 0xdd662187_dfc2_11d1_a2cf_00805fc79235); +windows_core::imp::define_interface!(ICOMAdminCatalog, ICOMAdminCatalog_Vtbl, 0xdd662187_dfc2_11d1_a2cf_00805fc79235); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICOMAdminCatalog, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -423,7 +423,7 @@ pub struct ICOMAdminCatalog_Vtbl { GetEventClassesForIID: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICOMAdminCatalog2, ICOMAdminCatalog2_Vtbl, 0x790c6e0b_9194_4cc9_9426_a48a63185696); +windows_core::imp::define_interface!(ICOMAdminCatalog2, ICOMAdminCatalog2_Vtbl, 0x790c6e0b_9194_4cc9_9426_a48a63185696); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICOMAdminCatalog2, windows_core::IUnknown, super::Com::IDispatch, ICOMAdminCatalog); #[cfg(feature = "Win32_System_Com")] @@ -812,7 +812,7 @@ pub struct ICOMAdminCatalog2_Vtbl { QueryApplicationFile2: usize, pub GetComponentVersionCount: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICOMLBArguments, ICOMLBArguments_Vtbl, 0x3a0f150f_8ee5_4b94_b40e_aef2f9e42ed2); +windows_core::imp::define_interface!(ICOMLBArguments, ICOMLBArguments_Vtbl, 0x3a0f150f_8ee5_4b94_b40e_aef2f9e42ed2); windows_core::imp::interface_hierarchy!(ICOMLBArguments, windows_core::IUnknown); impl ICOMLBArguments { pub unsafe fn GetCLSID(&self, pclsid: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -837,7 +837,7 @@ pub struct ICOMLBArguments_Vtbl { pub SetMachineName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICatalogCollection, ICatalogCollection_Vtbl, 0x6eb22872_8a19_11d0_81b6_00a0c9231c29); +windows_core::imp::define_interface!(ICatalogCollection, ICatalogCollection_Vtbl, 0x6eb22872_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICatalogCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -952,7 +952,7 @@ pub struct ICatalogCollection_Vtbl { pub PopulateByQuery: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICatalogObject, ICatalogObject_Vtbl, 0x6eb22871_8a19_11d0_81b6_00a0c9231c29); +windows_core::imp::define_interface!(ICatalogObject, ICatalogObject_Vtbl, 0x6eb22871_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICatalogObject, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1010,7 +1010,7 @@ pub struct ICatalogObject_Vtbl { 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, } -windows_core::imp::com_interface!(ICheckSxsConfig, ICheckSxsConfig_Vtbl, 0x0ff5a96f_11fc_47d1_baa6_25dd347e7242); +windows_core::imp::define_interface!(ICheckSxsConfig, ICheckSxsConfig_Vtbl, 0x0ff5a96f_11fc_47d1_baa6_25dd347e7242); windows_core::imp::interface_hierarchy!(ICheckSxsConfig, windows_core::IUnknown); impl ICheckSxsConfig { pub unsafe fn IsSameSxsConfig(&self, wszsxsname: P0, wszsxsdirectory: P1, wszsxsappname: P2) -> windows_core::Result<()> @@ -1027,7 +1027,7 @@ pub struct ICheckSxsConfig_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsSameSxsConfig: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComActivityEvents, IComActivityEvents_Vtbl, 0x683130b0_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComActivityEvents, IComActivityEvents_Vtbl, 0x683130b0_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComActivityEvents, windows_core::IUnknown); impl IComActivityEvents { pub unsafe fn OnActivityCreate(&self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const windows_core::GUID) -> windows_core::Result<()> { @@ -1063,7 +1063,7 @@ pub struct IComActivityEvents_Vtbl { pub OnActivityLeave: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, *const windows_core::GUID) -> windows_core::HRESULT, pub OnActivityLeaveSame: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComApp2Events, IComApp2Events_Vtbl, 0x1290bc1a_b219_418d_b078_5934ded08242); +windows_core::imp::define_interface!(IComApp2Events, IComApp2Events_Vtbl, 0x1290bc1a_b219_418d_b078_5934ded08242); windows_core::imp::interface_hierarchy!(IComApp2Events, windows_core::IUnknown); impl IComApp2Events { pub unsafe fn OnAppActivation2(&self, pinfo: *const COMSVCSEVENTINFO, guidapp: windows_core::GUID, guidprocess: windows_core::GUID) -> windows_core::Result<()> { @@ -1094,7 +1094,7 @@ pub struct IComApp2Events_Vtbl { pub OnAppPaused2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub OnAppRecycle2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID, windows_core::GUID, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComAppEvents, IComAppEvents_Vtbl, 0x683130a6_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComAppEvents, IComAppEvents_Vtbl, 0x683130a6_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComAppEvents, windows_core::IUnknown); impl IComAppEvents { pub unsafe fn OnAppActivation(&self, pinfo: *const COMSVCSEVENTINFO, guidapp: windows_core::GUID) -> windows_core::Result<()> { @@ -1114,7 +1114,7 @@ pub struct IComAppEvents_Vtbl { pub OnAppShutdown: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID) -> windows_core::HRESULT, pub OnAppForceShutdown: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComCRMEvents, IComCRMEvents_Vtbl, 0x683130b5_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComCRMEvents, IComCRMEvents_Vtbl, 0x683130b5_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComCRMEvents, windows_core::IUnknown); impl IComCRMEvents { pub unsafe fn OnCRMRecoveryStart(&self, pinfo: *const COMSVCSEVENTINFO, guidapp: windows_core::GUID) -> windows_core::Result<()> { @@ -1188,7 +1188,7 @@ pub struct IComCRMEvents_Vtbl { pub OnCRMForce: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID) -> windows_core::HRESULT, pub OnCRMDeliver: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID, super::super::Foundation::BOOL, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComExceptionEvents, IComExceptionEvents_Vtbl, 0x683130b3_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComExceptionEvents, IComExceptionEvents_Vtbl, 0x683130b3_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComExceptionEvents, windows_core::IUnknown); impl IComExceptionEvents { pub unsafe fn OnExceptionUser(&self, pinfo: *const COMSVCSEVENTINFO, code: u32, address: u64, pszstacktrace: P0) -> windows_core::Result<()> @@ -1203,7 +1203,7 @@ pub struct IComExceptionEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnExceptionUser: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u32, u64, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComIdentityEvents, IComIdentityEvents_Vtbl, 0x683130b1_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComIdentityEvents, IComIdentityEvents_Vtbl, 0x683130b1_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComIdentityEvents, windows_core::IUnknown); impl IComIdentityEvents { pub unsafe fn OnIISRequestInfo(&self, pinfo: *const COMSVCSEVENTINFO, objid: u64, pszclientip: P0, pszserverip: P1, pszurl: P2) -> windows_core::Result<()> @@ -1220,7 +1220,7 @@ pub struct IComIdentityEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnIISRequestInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComInstance2Events, IComInstance2Events_Vtbl, 0x20e3bf07_b506_4ad5_a50c_d2ca5b9c158e); +windows_core::imp::define_interface!(IComInstance2Events, IComInstance2Events_Vtbl, 0x20e3bf07_b506_4ad5_a50c_d2ca5b9c158e); windows_core::imp::interface_hierarchy!(IComInstance2Events, windows_core::IUnknown); impl IComInstance2Events { pub unsafe fn OnObjectCreate2(&self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const windows_core::GUID, clsid: *const windows_core::GUID, tsid: *const windows_core::GUID, ctxtid: u64, objectid: u64, guidpartition: *const windows_core::GUID) -> windows_core::Result<()> { @@ -1236,7 +1236,7 @@ pub struct IComInstance2Events_Vtbl { pub OnObjectCreate2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, u64, u64, *const windows_core::GUID) -> windows_core::HRESULT, pub OnObjectDestroy2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComInstanceEvents, IComInstanceEvents_Vtbl, 0x683130a7_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComInstanceEvents, IComInstanceEvents_Vtbl, 0x683130a7_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComInstanceEvents, windows_core::IUnknown); impl IComInstanceEvents { pub unsafe fn OnObjectCreate(&self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const windows_core::GUID, clsid: *const windows_core::GUID, tsid: *const windows_core::GUID, ctxtid: u64, objectid: u64) -> windows_core::Result<()> { @@ -1252,7 +1252,7 @@ pub struct IComInstanceEvents_Vtbl { pub OnObjectCreate: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, u64, u64) -> windows_core::HRESULT, pub OnObjectDestroy: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComLTxEvents, IComLTxEvents_Vtbl, 0x605cf82c_578e_4298_975d_82babcd9e053); +windows_core::imp::define_interface!(IComLTxEvents, IComLTxEvents_Vtbl, 0x605cf82c_578e_4298_975d_82babcd9e053); windows_core::imp::interface_hierarchy!(IComLTxEvents, windows_core::IUnknown); impl IComLTxEvents { pub unsafe fn OnLtxTransactionStart(&self, pinfo: *const COMSVCSEVENTINFO, guidltx: windows_core::GUID, tsid: windows_core::GUID, froot: P0, nisolationlevel: i32) -> windows_core::Result<()> @@ -1286,7 +1286,7 @@ pub struct IComLTxEvents_Vtbl { pub OnLtxTransactionCommit: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID) -> windows_core::HRESULT, pub OnLtxTransactionPromote: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, windows_core::GUID, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComMethod2Events, IComMethod2Events_Vtbl, 0xfb388aaa_567d_4024_af8e_6e93ee748573); +windows_core::imp::define_interface!(IComMethod2Events, IComMethod2Events_Vtbl, 0xfb388aaa_567d_4024_af8e_6e93ee748573); windows_core::imp::interface_hierarchy!(IComMethod2Events, windows_core::IUnknown); impl IComMethod2Events { pub unsafe fn OnMethodCall2(&self, pinfo: *const COMSVCSEVENTINFO, oid: u64, guidcid: *const windows_core::GUID, guidrid: *const windows_core::GUID, dwthread: u32, imeth: u32) -> windows_core::Result<()> { @@ -1306,7 +1306,7 @@ pub struct IComMethod2Events_Vtbl { pub OnMethodReturn2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, *const windows_core::GUID, *const windows_core::GUID, u32, u32, windows_core::HRESULT) -> windows_core::HRESULT, pub OnMethodException2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, *const windows_core::GUID, *const windows_core::GUID, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComMethodEvents, IComMethodEvents_Vtbl, 0x683130a9_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComMethodEvents, IComMethodEvents_Vtbl, 0x683130a9_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComMethodEvents, windows_core::IUnknown); impl IComMethodEvents { pub unsafe fn OnMethodCall(&self, pinfo: *const COMSVCSEVENTINFO, oid: u64, guidcid: *const windows_core::GUID, guidrid: *const windows_core::GUID, imeth: u32) -> windows_core::Result<()> { @@ -1326,7 +1326,7 @@ pub struct IComMethodEvents_Vtbl { pub OnMethodReturn: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, *const windows_core::GUID, *const windows_core::GUID, u32, windows_core::HRESULT) -> windows_core::HRESULT, pub OnMethodException: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, *const windows_core::GUID, *const windows_core::GUID, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComMtaThreadPoolKnobs, IComMtaThreadPoolKnobs_Vtbl, 0xf9a76d2e_76a5_43eb_a0c4_49bec8e48480); +windows_core::imp::define_interface!(IComMtaThreadPoolKnobs, IComMtaThreadPoolKnobs_Vtbl, 0xf9a76d2e_76a5_43eb_a0c4_49bec8e48480); windows_core::imp::interface_hierarchy!(IComMtaThreadPoolKnobs, windows_core::IUnknown); impl IComMtaThreadPoolKnobs { pub unsafe fn MTASetMaxThreadCount(&self, dwmaxthreads: u32) -> windows_core::Result<()> { @@ -1352,7 +1352,7 @@ pub struct IComMtaThreadPoolKnobs_Vtbl { pub MTASetThrottleValue: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub MTAGetThrottleValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComObjectConstruction2Events, IComObjectConstruction2Events_Vtbl, 0x4b5a7827_8df2_45c0_8f6f_57ea1f856a9f); +windows_core::imp::define_interface!(IComObjectConstruction2Events, IComObjectConstruction2Events_Vtbl, 0x4b5a7827_8df2_45c0_8f6f_57ea1f856a9f); windows_core::imp::interface_hierarchy!(IComObjectConstruction2Events, windows_core::IUnknown); impl IComObjectConstruction2Events { pub unsafe fn OnObjectConstruct2(&self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const windows_core::GUID, sconstructstring: P0, oid: u64, guidpartition: *const windows_core::GUID) -> windows_core::Result<()> @@ -1367,7 +1367,7 @@ pub struct IComObjectConstruction2Events_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnObjectConstruct2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, windows_core::PCWSTR, u64, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComObjectConstructionEvents, IComObjectConstructionEvents_Vtbl, 0x683130af_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComObjectConstructionEvents, IComObjectConstructionEvents_Vtbl, 0x683130af_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComObjectConstructionEvents, windows_core::IUnknown); impl IComObjectConstructionEvents { pub unsafe fn OnObjectConstruct(&self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const windows_core::GUID, sconstructstring: P0, oid: u64) -> windows_core::Result<()> @@ -1382,7 +1382,7 @@ pub struct IComObjectConstructionEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnObjectConstruct: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, windows_core::PCWSTR, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComObjectEvents, IComObjectEvents_Vtbl, 0x683130aa_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComObjectEvents, IComObjectEvents_Vtbl, 0x683130aa_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComObjectEvents, windows_core::IUnknown); impl IComObjectEvents { pub unsafe fn OnObjectActivate(&self, pinfo: *const COMSVCSEVENTINFO, ctxtid: u64, objectid: u64) -> windows_core::Result<()> { @@ -1414,7 +1414,7 @@ pub struct IComObjectEvents_Vtbl { pub OnSetComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64) -> windows_core::HRESULT, pub OnSetAbort: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComObjectPool2Events, IComObjectPool2Events_Vtbl, 0x65bf6534_85ea_4f64_8cf4_3d974b2ab1cf); +windows_core::imp::define_interface!(IComObjectPool2Events, IComObjectPool2Events_Vtbl, 0x65bf6534_85ea_4f64_8cf4_3d974b2ab1cf); windows_core::imp::interface_hierarchy!(IComObjectPool2Events, windows_core::IUnknown); impl IComObjectPool2Events { pub unsafe fn OnObjPoolPutObject2(&self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const windows_core::GUID, nreason: i32, dwavailable: u32, oid: u64) -> windows_core::Result<()> { @@ -1438,7 +1438,7 @@ pub struct IComObjectPool2Events_Vtbl { pub OnObjPoolRecycleToTx2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, u64) -> windows_core::HRESULT, pub OnObjPoolGetFromTx2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, u64, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComObjectPoolEvents, IComObjectPoolEvents_Vtbl, 0x683130ad_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComObjectPoolEvents, IComObjectPoolEvents_Vtbl, 0x683130ad_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComObjectPoolEvents, windows_core::IUnknown); impl IComObjectPoolEvents { pub unsafe fn OnObjPoolPutObject(&self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const windows_core::GUID, nreason: i32, dwavailable: u32, oid: u64) -> windows_core::Result<()> { @@ -1462,7 +1462,7 @@ pub struct IComObjectPoolEvents_Vtbl { pub OnObjPoolRecycleToTx: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, u64) -> windows_core::HRESULT, pub OnObjPoolGetFromTx: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComObjectPoolEvents2, IComObjectPoolEvents2_Vtbl, 0x683130ae_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComObjectPoolEvents2, IComObjectPoolEvents2_Vtbl, 0x683130ae_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComObjectPoolEvents2, windows_core::IUnknown); impl IComObjectPoolEvents2 { pub unsafe fn OnObjPoolCreateObject(&self, pinfo: *const COMSVCSEVENTINFO, guidobject: *const windows_core::GUID, dwobjscreated: u32, oid: u64) -> windows_core::Result<()> { @@ -1490,7 +1490,7 @@ pub struct IComObjectPoolEvents2_Vtbl { pub OnObjPoolTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, *const windows_core::GUID, u32) -> windows_core::HRESULT, pub OnObjPoolCreatePool: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, u32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComQCEvents, IComQCEvents_Vtbl, 0x683130b2_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComQCEvents, IComQCEvents_Vtbl, 0x683130b2_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComQCEvents, windows_core::IUnknown); impl IComQCEvents { pub unsafe fn OnQCRecord(&self, pinfo: *const COMSVCSEVENTINFO, objid: u64, szqueue: &[u16; 60], guidmsgid: *const windows_core::GUID, guidworkflowid: *const windows_core::GUID, msmqhr: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1526,7 +1526,7 @@ pub struct IComQCEvents_Vtbl { pub OnQCMoveToDeadQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, *const windows_core::GUID) -> windows_core::HRESULT, pub OnQCPlayback: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, *const windows_core::GUID, *const windows_core::GUID, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComResourceEvents, IComResourceEvents_Vtbl, 0x683130ab_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComResourceEvents, IComResourceEvents_Vtbl, 0x683130ab_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComResourceEvents, windows_core::IUnknown); impl IComResourceEvents { pub unsafe fn OnResourceCreate(&self, pinfo: *const COMSVCSEVENTINFO, objectid: u64, psztype: P0, resid: u64, enlisted: P1) -> windows_core::Result<()> @@ -1572,7 +1572,7 @@ pub struct IComResourceEvents_Vtbl { pub OnResourceDestroy: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, windows_core::HRESULT, windows_core::PCWSTR, u64) -> windows_core::HRESULT, pub OnResourceTrack: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64, windows_core::PCWSTR, u64, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComSecurityEvents, IComSecurityEvents_Vtbl, 0x683130ac_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComSecurityEvents, IComSecurityEvents_Vtbl, 0x683130ac_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComSecurityEvents, windows_core::IUnknown); impl IComSecurityEvents { pub unsafe fn OnAuthenticate(&self, pinfo: *const COMSVCSEVENTINFO, guidactivity: *const windows_core::GUID, objectid: u64, guidiid: *const windows_core::GUID, imeth: u32, psidoriginaluser: &[u8], psidcurrentuser: &[u8], bcurrentuserinpersonatinginproc: P0) -> windows_core::Result<()> @@ -1594,7 +1594,7 @@ pub struct IComSecurityEvents_Vtbl { pub OnAuthenticate: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, u64, *const windows_core::GUID, u32, u32, *const u8, u32, *const u8, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub OnAuthenticateFail: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, u64, *const windows_core::GUID, u32, u32, *const u8, u32, *const u8, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComStaThreadPoolKnobs, IComStaThreadPoolKnobs_Vtbl, 0x324b64fa_33b6_11d2_98b7_00c04f8ee1c4); +windows_core::imp::define_interface!(IComStaThreadPoolKnobs, IComStaThreadPoolKnobs_Vtbl, 0x324b64fa_33b6_11d2_98b7_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComStaThreadPoolKnobs, windows_core::IUnknown); impl IComStaThreadPoolKnobs { pub unsafe fn SetMinThreadCount(&self, minthreads: u32) -> windows_core::Result<()> { @@ -1652,7 +1652,7 @@ pub struct IComStaThreadPoolKnobs_Vtbl { pub GetQueueDepth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetQueueDepth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComStaThreadPoolKnobs2, IComStaThreadPoolKnobs2_Vtbl, 0x73707523_ff9a_4974_bf84_2108dc213740); +windows_core::imp::define_interface!(IComStaThreadPoolKnobs2, IComStaThreadPoolKnobs2_Vtbl, 0x73707523_ff9a_4974_bf84_2108dc213740); windows_core::imp::interface_hierarchy!(IComStaThreadPoolKnobs2, windows_core::IUnknown, IComStaThreadPoolKnobs); impl IComStaThreadPoolKnobs2 { pub unsafe fn SetMinThreadCount(&self, minthreads: u32) -> windows_core::Result<()> { @@ -1750,7 +1750,7 @@ pub struct IComStaThreadPoolKnobs2_Vtbl { pub GetWaitTimeForThreadCleanup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetWaitTimeForThreadCleanup: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComThreadEvents, IComThreadEvents_Vtbl, 0x683130a5_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComThreadEvents, IComThreadEvents_Vtbl, 0x683130a5_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComThreadEvents, windows_core::IUnknown); impl IComThreadEvents { pub unsafe fn OnThreadStart(&self, pinfo: *const COMSVCSEVENTINFO, threadid: u64, dwthread: u32, dwtheadcnt: u32) -> windows_core::Result<()> { @@ -1802,7 +1802,7 @@ pub struct IComThreadEvents_Vtbl { pub OnThreadAssignApartment: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID, u64) -> windows_core::HRESULT, pub OnThreadUnassignApartment: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComTrackingInfoCollection, IComTrackingInfoCollection_Vtbl, 0xc266c677_c9ad_49ab_9fd9_d9661078588a); +windows_core::imp::define_interface!(IComTrackingInfoCollection, IComTrackingInfoCollection_Vtbl, 0xc266c677_c9ad_49ab_9fd9_d9661078588a); windows_core::imp::interface_hierarchy!(IComTrackingInfoCollection, windows_core::IUnknown); impl IComTrackingInfoCollection { pub unsafe fn Type(&self) -> windows_core::Result { @@ -1824,7 +1824,7 @@ pub struct IComTrackingInfoCollection_Vtbl { pub Count: 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, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComTrackingInfoEvents, IComTrackingInfoEvents_Vtbl, 0x4e6cdcc9_fb25_4fd5_9cc5_c9f4b6559cec); +windows_core::imp::define_interface!(IComTrackingInfoEvents, IComTrackingInfoEvents_Vtbl, 0x4e6cdcc9_fb25_4fd5_9cc5_c9f4b6559cec); windows_core::imp::interface_hierarchy!(IComTrackingInfoEvents, windows_core::IUnknown); impl IComTrackingInfoEvents { pub unsafe fn OnNewTrackingInfo(&self, ptoplevelcollection: P0) -> windows_core::Result<()> @@ -1839,7 +1839,7 @@ pub struct IComTrackingInfoEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnNewTrackingInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComTrackingInfoObject, IComTrackingInfoObject_Vtbl, 0x116e42c5_d8b1_47bf_ab1e_c895ed3e2372); +windows_core::imp::define_interface!(IComTrackingInfoObject, IComTrackingInfoObject_Vtbl, 0x116e42c5_d8b1_47bf_ab1e_c895ed3e2372); windows_core::imp::interface_hierarchy!(IComTrackingInfoObject, windows_core::IUnknown); impl IComTrackingInfoObject { pub unsafe fn GetValue(&self, szpropertyname: P0) -> windows_core::Result @@ -1855,7 +1855,7 @@ 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, } -windows_core::imp::com_interface!(IComTrackingInfoProperties, IComTrackingInfoProperties_Vtbl, 0x789b42be_6f6b_443a_898e_67abf390aa14); +windows_core::imp::define_interface!(IComTrackingInfoProperties, IComTrackingInfoProperties_Vtbl, 0x789b42be_6f6b_443a_898e_67abf390aa14); windows_core::imp::interface_hierarchy!(IComTrackingInfoProperties, windows_core::IUnknown); impl IComTrackingInfoProperties { pub unsafe fn PropCount(&self) -> windows_core::Result { @@ -1873,7 +1873,7 @@ pub struct IComTrackingInfoProperties_Vtbl { pub PropCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetPropName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComTransaction2Events, IComTransaction2Events_Vtbl, 0xa136f62a_2f94_4288_86e0_d8a1fa4c0299); +windows_core::imp::define_interface!(IComTransaction2Events, IComTransaction2Events_Vtbl, 0xa136f62a_2f94_4288_86e0_d8a1fa4c0299); windows_core::imp::interface_hierarchy!(IComTransaction2Events, windows_core::IUnknown); impl IComTransaction2Events { pub unsafe fn OnTransactionStart2(&self, pinfo: *const COMSVCSEVENTINFO, guidtx: *const windows_core::GUID, tsid: *const windows_core::GUID, froot: P0, nisolationlevel: i32) -> windows_core::Result<()> @@ -1903,7 +1903,7 @@ pub struct IComTransaction2Events_Vtbl { pub OnTransactionAbort2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID) -> windows_core::HRESULT, pub OnTransactionCommit2: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComTransactionEvents, IComTransactionEvents_Vtbl, 0x683130a8_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComTransactionEvents, IComTransactionEvents_Vtbl, 0x683130a8_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComTransactionEvents, windows_core::IUnknown); impl IComTransactionEvents { pub unsafe fn OnTransactionStart(&self, pinfo: *const COMSVCSEVENTINFO, guidtx: *const windows_core::GUID, tsid: *const windows_core::GUID, froot: P0) -> windows_core::Result<()> @@ -1933,7 +1933,7 @@ pub struct IComTransactionEvents_Vtbl { pub OnTransactionAbort: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID) -> windows_core::HRESULT, pub OnTransactionCommit: unsafe extern "system" fn(*mut core::ffi::c_void, *const COMSVCSEVENTINFO, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComUserEvent, IComUserEvent_Vtbl, 0x683130a4_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(IComUserEvent, IComUserEvent_Vtbl, 0x683130a4_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IComUserEvent, windows_core::IUnknown); impl IComUserEvent { pub unsafe fn OnUserEvent(&self, pinfo: *const COMSVCSEVENTINFO, pvarevent: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -1945,7 +1945,7 @@ 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, } -windows_core::imp::com_interface!(IContextProperties, IContextProperties_Vtbl, 0xd396da85_bf8f_11d1_bbae_00c04fc2fa5f); +windows_core::imp::define_interface!(IContextProperties, IContextProperties_Vtbl, 0xd396da85_bf8f_11d1_bbae_00c04fc2fa5f); windows_core::imp::interface_hierarchy!(IContextProperties, windows_core::IUnknown); impl IContextProperties { pub unsafe fn Count(&self, plcount: *mut i32) -> windows_core::Result<()> { @@ -1984,7 +1984,7 @@ pub struct IContextProperties_Vtbl { 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, } -windows_core::imp::com_interface!(IContextSecurityPerimeter, IContextSecurityPerimeter_Vtbl, 0xa7549a29_a7c4_42e1_8dc1_7e3d748dc24a); +windows_core::imp::define_interface!(IContextSecurityPerimeter, IContextSecurityPerimeter_Vtbl, 0xa7549a29_a7c4_42e1_8dc1_7e3d748dc24a); windows_core::imp::interface_hierarchy!(IContextSecurityPerimeter, windows_core::IUnknown); impl IContextSecurityPerimeter { pub unsafe fn GetPerimeterFlag(&self, pflag: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -2003,7 +2003,7 @@ pub struct IContextSecurityPerimeter_Vtbl { pub GetPerimeterFlag: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetPerimeterFlag: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContextState, IContextState_Vtbl, 0x3c05e54b_a42a_11d2_afc4_00c04f8ee1c4); +windows_core::imp::define_interface!(IContextState, IContextState_Vtbl, 0x3c05e54b_a42a_11d2_afc4_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IContextState, windows_core::IUnknown); impl IContextState { pub unsafe fn SetDeactivateOnReturn(&self, bdeactivate: P0) -> windows_core::Result<()> @@ -2030,7 +2030,7 @@ pub struct IContextState_Vtbl { pub SetMyTransactionVote: unsafe extern "system" fn(*mut core::ffi::c_void, TransactionVote) -> windows_core::HRESULT, pub GetMyTransactionVote: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TransactionVote) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateWithLocalTransaction, ICreateWithLocalTransaction_Vtbl, 0x227ac7a8_8423_42ce_b7cf_03061ec9aaa3); +windows_core::imp::define_interface!(ICreateWithLocalTransaction, ICreateWithLocalTransaction_Vtbl, 0x227ac7a8_8423_42ce_b7cf_03061ec9aaa3); windows_core::imp::interface_hierarchy!(ICreateWithLocalTransaction, windows_core::IUnknown); impl ICreateWithLocalTransaction { pub unsafe fn CreateInstanceWithSysTx(&self, ptransaction: P0, rclsid: *const windows_core::GUID, riid: *const windows_core::GUID, pobject: *mut *mut core::ffi::c_void) -> windows_core::Result<()> @@ -2045,7 +2045,7 @@ pub struct ICreateWithLocalTransaction_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateInstanceWithSysTx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateWithTipTransactionEx, ICreateWithTipTransactionEx_Vtbl, 0x455acf59_5345_11d2_99cf_00c04f797bc9); +windows_core::imp::define_interface!(ICreateWithTipTransactionEx, ICreateWithTipTransactionEx_Vtbl, 0x455acf59_5345_11d2_99cf_00c04f797bc9); windows_core::imp::interface_hierarchy!(ICreateWithTipTransactionEx, windows_core::IUnknown); impl ICreateWithTipTransactionEx { pub unsafe fn CreateInstance(&self, bstrtipurl: P0, rclsid: *const windows_core::GUID) -> windows_core::Result @@ -2062,7 +2062,7 @@ 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, } -windows_core::imp::com_interface!(ICreateWithTransactionEx, ICreateWithTransactionEx_Vtbl, 0x455acf57_5345_11d2_99cf_00c04f797bc9); +windows_core::imp::define_interface!(ICreateWithTransactionEx, ICreateWithTransactionEx_Vtbl, 0x455acf57_5345_11d2_99cf_00c04f797bc9); windows_core::imp::interface_hierarchy!(ICreateWithTransactionEx, windows_core::IUnknown); impl ICreateWithTransactionEx { #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] @@ -2083,7 +2083,7 @@ pub struct ICreateWithTransactionEx_Vtbl { #[cfg(not(feature = "Win32_System_DistributedTransactionCoordinator"))] CreateInstance: usize, } -windows_core::imp::com_interface!(ICrmCompensator, ICrmCompensator_Vtbl, 0xbbc01830_8d3b_11d1_82ec_00a0c91eede9); +windows_core::imp::define_interface!(ICrmCompensator, ICrmCompensator_Vtbl, 0xbbc01830_8d3b_11d1_82ec_00a0c91eede9); windows_core::imp::interface_hierarchy!(ICrmCompensator, windows_core::IUnknown); impl ICrmCompensator { pub unsafe fn SetLogControl(&self, plogcontrol: P0) -> windows_core::Result<()> @@ -2156,7 +2156,7 @@ pub struct ICrmCompensator_Vtbl { AbortRecord: usize, pub EndAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICrmCompensatorVariants, ICrmCompensatorVariants_Vtbl, 0xf0baf8e4_7804_11d1_82e9_00a0c91eede9); +windows_core::imp::define_interface!(ICrmCompensatorVariants, ICrmCompensatorVariants_Vtbl, 0xf0baf8e4_7804_11d1_82e9_00a0c91eede9); windows_core::imp::interface_hierarchy!(ICrmCompensatorVariants, windows_core::IUnknown); impl ICrmCompensatorVariants { pub unsafe fn SetLogControlVariants(&self, plogcontrol: P0) -> windows_core::Result<()> @@ -2217,7 +2217,7 @@ pub struct ICrmCompensatorVariants_Vtbl { 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 EndAbortVariants: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICrmFormatLogRecords, ICrmFormatLogRecords_Vtbl, 0x9c51d821_c98b_11d1_82fb_00a0c91eede9); +windows_core::imp::define_interface!(ICrmFormatLogRecords, ICrmFormatLogRecords_Vtbl, 0x9c51d821_c98b_11d1_82fb_00a0c91eede9); windows_core::imp::interface_hierarchy!(ICrmFormatLogRecords, windows_core::IUnknown); impl ICrmFormatLogRecords { pub unsafe fn GetColumnCount(&self) -> windows_core::Result { @@ -2252,7 +2252,7 @@ pub struct ICrmFormatLogRecords_Vtbl { GetColumn: usize, pub GetColumnVariants: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICrmLogControl, ICrmLogControl_Vtbl, 0xa0e174b3_d26e_11d2_8f84_00805fc7bcd9); +windows_core::imp::define_interface!(ICrmLogControl, ICrmLogControl_Vtbl, 0xa0e174b3_d26e_11d2_8f84_00805fc7bcd9); windows_core::imp::interface_hierarchy!(ICrmLogControl, windows_core::IUnknown); impl ICrmLogControl { pub unsafe fn TransactionUOW(&self) -> windows_core::Result { @@ -2297,7 +2297,7 @@ pub struct ICrmLogControl_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] WriteLogRecord: usize, } -windows_core::imp::com_interface!(ICrmMonitor, ICrmMonitor_Vtbl, 0x70c8e443_c7ed_11d1_82fb_00a0c91eede9); +windows_core::imp::define_interface!(ICrmMonitor, ICrmMonitor_Vtbl, 0x70c8e443_c7ed_11d1_82fb_00a0c91eede9); windows_core::imp::interface_hierarchy!(ICrmMonitor, windows_core::IUnknown); impl ICrmMonitor { #[cfg(feature = "Win32_System_Com")] @@ -2323,7 +2323,7 @@ pub struct ICrmMonitor_Vtbl { pub HoldClerk: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICrmMonitorClerks, ICrmMonitorClerks_Vtbl, 0x70c8e442_c7ed_11d1_82fb_00a0c91eede9); +windows_core::imp::define_interface!(ICrmMonitorClerks, ICrmMonitorClerks_Vtbl, 0x70c8e442_c7ed_11d1_82fb_00a0c91eede9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICrmMonitorClerks, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2384,7 +2384,7 @@ pub struct ICrmMonitorClerks_Vtbl { 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, } -windows_core::imp::com_interface!(ICrmMonitorLogRecords, ICrmMonitorLogRecords_Vtbl, 0x70c8e441_c7ed_11d1_82fb_00a0c91eede9); +windows_core::imp::define_interface!(ICrmMonitorLogRecords, ICrmMonitorLogRecords_Vtbl, 0x70c8e441_c7ed_11d1_82fb_00a0c91eede9); windows_core::imp::interface_hierarchy!(ICrmMonitorLogRecords, windows_core::IUnknown); impl ICrmMonitorLogRecords { pub unsafe fn Count(&self) -> windows_core::Result { @@ -2423,7 +2423,7 @@ pub struct ICrmMonitorLogRecords_Vtbl { GetLogRecord: usize, pub GetLogRecordVariants: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDispenserDriver, IDispenserDriver_Vtbl, 0x208b3651_2b48_11cf_be10_00aa00a2fa25); +windows_core::imp::define_interface!(IDispenserDriver, IDispenserDriver_Vtbl, 0x208b3651_2b48_11cf_be10_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IDispenserDriver, windows_core::IUnknown); impl IDispenserDriver { pub unsafe fn CreateResource(&self, restypid: usize, presid: *mut usize, psecsfreebeforedestroy: *mut i32) -> windows_core::Result<()> { @@ -2458,7 +2458,7 @@ pub struct IDispenserDriver_Vtbl { pub DestroyResource: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, pub DestroyResourceS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDispenserManager, IDispenserManager_Vtbl, 0x5cb31e10_2b5f_11cf_be10_00aa00a2fa25); +windows_core::imp::define_interface!(IDispenserManager, IDispenserManager_Vtbl, 0x5cb31e10_2b5f_11cf_be10_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IDispenserManager, windows_core::IUnknown); impl IDispenserManager { pub unsafe fn RegisterDispenser(&self, __midl__idispensermanager0000: P0, szdispensername: P1) -> windows_core::Result @@ -2479,7 +2479,7 @@ pub struct IDispenserManager_Vtbl { pub RegisterDispenser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumNames, IEnumNames_Vtbl, 0x51372af2_cae7_11cf_be81_00aa00a2fa25); +windows_core::imp::define_interface!(IEnumNames, IEnumNames_Vtbl, 0x51372af2_cae7_11cf_be81_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IEnumNames, windows_core::IUnknown); impl IEnumNames { pub unsafe fn Next(&self, celt: u32, rgname: *mut windows_core::BSTR, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -2505,7 +2505,7 @@ pub struct IEnumNames_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IEventServerTrace, IEventServerTrace_Vtbl, 0x9a9f12b8_80af_47ab_a579_35ea57725370); +windows_core::imp::define_interface!(IEventServerTrace, IEventServerTrace_Vtbl, 0x9a9f12b8_80af_47ab_a579_35ea57725370); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IEventServerTrace, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2536,7 +2536,7 @@ pub struct IEventServerTrace_Vtbl { 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, } -windows_core::imp::com_interface!(IGetAppTrackerData, IGetAppTrackerData_Vtbl, 0x507c3ac8_3e12_4cb0_9366_653d3e050638); +windows_core::imp::define_interface!(IGetAppTrackerData, IGetAppTrackerData_Vtbl, 0x507c3ac8_3e12_4cb0_9366_653d3e050638); windows_core::imp::interface_hierarchy!(IGetAppTrackerData, windows_core::IUnknown); impl IGetAppTrackerData { pub unsafe fn GetApplicationProcesses(&self, partitionid: *const windows_core::GUID, applicationid: *const windows_core::GUID, flags: u32, numapplicationprocesses: *mut u32, applicationprocesses: *mut *mut ApplicationProcessSummary) -> windows_core::Result<()> { @@ -2574,7 +2574,7 @@ pub struct IGetAppTrackerData_Vtbl { pub GetTrackerDataAsCollectionObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSuggestedPollingInterval: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetContextProperties, IGetContextProperties_Vtbl, 0x51372af4_cae7_11cf_be81_00aa00a2fa25); +windows_core::imp::define_interface!(IGetContextProperties, IGetContextProperties_Vtbl, 0x51372af4_cae7_11cf_be81_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IGetContextProperties, windows_core::IUnknown); impl IGetContextProperties { pub unsafe fn Count(&self, plcount: *mut i32) -> windows_core::Result<()> { @@ -2599,7 +2599,7 @@ pub struct IGetContextProperties_Vtbl { 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")] -windows_core::imp::com_interface!(IGetSecurityCallContext, IGetSecurityCallContext_Vtbl, 0xcafc823f_b441_11d1_b82b_0000f8757e2a); +windows_core::imp::define_interface!(IGetSecurityCallContext, IGetSecurityCallContext_Vtbl, 0xcafc823f_b441_11d1_b82b_0000f8757e2a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGetSecurityCallContext, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2619,7 +2619,7 @@ pub struct IGetSecurityCallContext_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetSecurityCallContext: usize, } -windows_core::imp::com_interface!(IHolder, IHolder_Vtbl, 0xbf6a1850_2b45_11cf_be10_00aa00a2fa25); +windows_core::imp::define_interface!(IHolder, IHolder_Vtbl, 0xbf6a1850_2b45_11cf_be10_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IHolder, windows_core::IUnknown); impl IHolder { pub unsafe fn AllocResource(&self, __midl__iholder0000: usize, __midl__iholder0001: *mut usize) -> windows_core::Result<()> { @@ -2665,7 +2665,7 @@ pub struct IHolder_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestDestroyResource: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILBEvents, ILBEvents_Vtbl, 0x683130b4_2e50_11d2_98a5_00c04f8ee1c4); +windows_core::imp::define_interface!(ILBEvents, ILBEvents_Vtbl, 0x683130b4_2e50_11d2_98a5_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(ILBEvents, windows_core::IUnknown); impl ILBEvents { pub unsafe fn TargetUp(&self, bstrservername: P0, bstrclsideng: P1) -> windows_core::Result<()> @@ -2697,7 +2697,7 @@ pub struct ILBEvents_Vtbl { 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, } -windows_core::imp::com_interface!(IMTSActivity, IMTSActivity_Vtbl, 0x51372af0_cae7_11cf_be81_00aa00a2fa25); +windows_core::imp::define_interface!(IMTSActivity, IMTSActivity_Vtbl, 0x51372af0_cae7_11cf_be81_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IMTSActivity, windows_core::IUnknown); impl IMTSActivity { pub unsafe fn SynchronousCall(&self, pcall: P0) -> windows_core::Result<()> @@ -2731,7 +2731,7 @@ pub struct IMTSActivity_Vtbl { pub BindToCurrentThread: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub UnbindFromThread: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMTSCall, IMTSCall_Vtbl, 0x51372aef_cae7_11cf_be81_00aa00a2fa25); +windows_core::imp::define_interface!(IMTSCall, IMTSCall_Vtbl, 0x51372aef_cae7_11cf_be81_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IMTSCall, windows_core::IUnknown); impl IMTSCall { pub unsafe fn OnCall(&self) -> windows_core::Result<()> { @@ -2744,7 +2744,7 @@ pub struct IMTSCall_Vtbl { pub OnCall: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMTSLocator, IMTSLocator_Vtbl, 0xd19b8bfd_7f88_11d0_b16e_00aa00ba3258); +windows_core::imp::define_interface!(IMTSLocator, IMTSLocator_Vtbl, 0xd19b8bfd_7f88_11d0_b16e_00aa00ba3258); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMTSLocator, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2760,7 +2760,7 @@ pub struct IMTSLocator_Vtbl { pub base__: super::Com::IDispatch_Vtbl, pub GetEventDispatcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManagedActivationEvents, IManagedActivationEvents_Vtbl, 0xa5f325af_572f_46da_b8ab_827c3d95d99e); +windows_core::imp::define_interface!(IManagedActivationEvents, IManagedActivationEvents_Vtbl, 0xa5f325af_572f_46da_b8ab_827c3d95d99e); windows_core::imp::interface_hierarchy!(IManagedActivationEvents, windows_core::IUnknown); impl IManagedActivationEvents { pub unsafe fn CreateManagedStub(&self, pinfo: P0, fdist: P1) -> windows_core::Result<()> @@ -2783,7 +2783,7 @@ pub struct IManagedActivationEvents_Vtbl { pub CreateManagedStub: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub DestroyManagedStub: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManagedObjectInfo, IManagedObjectInfo_Vtbl, 0x1427c51a_4584_49d8_90a0_c50d8086cbe9); +windows_core::imp::define_interface!(IManagedObjectInfo, IManagedObjectInfo_Vtbl, 0x1427c51a_4584_49d8_90a0_c50d8086cbe9); windows_core::imp::interface_hierarchy!(IManagedObjectInfo, windows_core::IUnknown); impl IManagedObjectInfo { pub unsafe fn GetIUnknown(&self) -> windows_core::Result { @@ -2816,7 +2816,7 @@ pub struct IManagedObjectInfo_Vtbl { pub SetInPool: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetWrapperStrength: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManagedPoolAction, IManagedPoolAction_Vtbl, 0xda91b74e_5388_4783_949d_c1cd5fb00506); +windows_core::imp::define_interface!(IManagedPoolAction, IManagedPoolAction_Vtbl, 0xda91b74e_5388_4783_949d_c1cd5fb00506); windows_core::imp::interface_hierarchy!(IManagedPoolAction, windows_core::IUnknown); impl IManagedPoolAction { pub unsafe fn LastRelease(&self) -> windows_core::Result<()> { @@ -2828,7 +2828,7 @@ pub struct IManagedPoolAction_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub LastRelease: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManagedPooledObj, IManagedPooledObj_Vtbl, 0xc5da4bea_1b42_4437_8926_b6a38860a770); +windows_core::imp::define_interface!(IManagedPooledObj, IManagedPooledObj_Vtbl, 0xc5da4bea_1b42_4437_8926_b6a38860a770); windows_core::imp::interface_hierarchy!(IManagedPooledObj, windows_core::IUnknown); impl IManagedPooledObj { pub unsafe fn SetHeld(&self, m_bheld: P0) -> windows_core::Result<()> @@ -2844,7 +2844,7 @@ pub struct IManagedPooledObj_Vtbl { pub SetHeld: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMessageMover, IMessageMover_Vtbl, 0x588a085a_b795_11d1_8054_00c04fc340ee); +windows_core::imp::define_interface!(IMessageMover, IMessageMover_Vtbl, 0x588a085a_b795_11d1_8054_00c04fc340ee); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMessageMover, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2894,7 +2894,7 @@ pub struct IMessageMover_Vtbl { pub MoveMessages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMtsEventInfo, IMtsEventInfo_Vtbl, 0xd56c3dc1_8482_11d0_b170_00aa00ba3258); +windows_core::imp::define_interface!(IMtsEventInfo, IMtsEventInfo_Vtbl, 0xd56c3dc1_8482_11d0_b170_00aa00ba3258); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMtsEventInfo, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2934,7 +2934,7 @@ pub struct IMtsEventInfo_Vtbl { pub get_Value: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMtsEvents, IMtsEvents_Vtbl, 0xbacedf4d_74ab_11d0_b162_00aa00ba3258); +windows_core::imp::define_interface!(IMtsEvents, IMtsEvents_Vtbl, 0xbacedf4d_74ab_11d0_b162_00aa00ba3258); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMtsEvents, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2970,7 +2970,7 @@ pub struct IMtsEvents_Vtbl { pub GetProcessID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMtsGrp, IMtsGrp_Vtbl, 0x4b2e958c_0393_11d1_b1ab_00aa00ba3258); +windows_core::imp::define_interface!(IMtsGrp, IMtsGrp_Vtbl, 0x4b2e958c_0393_11d1_b1ab_00aa00ba3258); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMtsGrp, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2995,7 +2995,7 @@ pub struct IMtsGrp_Vtbl { pub Item: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjPool, IObjPool_Vtbl, 0x7d8805a0_2ea7_11d1_b1cc_00aa00ba3258); +windows_core::imp::define_interface!(IObjPool, IObjPool_Vtbl, 0x7d8805a0_2ea7_11d1_b1cc_00aa00ba3258); windows_core::imp::interface_hierarchy!(IObjPool, windows_core::IUnknown); impl IObjPool { pub unsafe fn Reserved1(&self) { @@ -3034,7 +3034,7 @@ pub struct IObjPool_Vtbl { pub Reserved5: unsafe extern "system" fn(*mut core::ffi::c_void), pub Reserved6: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IObjectConstruct, IObjectConstruct_Vtbl, 0x41c4f8b3_7439_11d2_98cb_00c04f8ee1c4); +windows_core::imp::define_interface!(IObjectConstruct, IObjectConstruct_Vtbl, 0x41c4f8b3_7439_11d2_98cb_00c04f8ee1c4); windows_core::imp::interface_hierarchy!(IObjectConstruct, windows_core::IUnknown); impl IObjectConstruct { #[cfg(feature = "Win32_System_Com")] @@ -3054,7 +3054,7 @@ pub struct IObjectConstruct_Vtbl { Construct: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IObjectConstructString, IObjectConstructString_Vtbl, 0x41c4f8b2_7439_11d2_98cb_00c04f8ee1c4); +windows_core::imp::define_interface!(IObjectConstructString, IObjectConstructString_Vtbl, 0x41c4f8b2_7439_11d2_98cb_00c04f8ee1c4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IObjectConstructString, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3069,7 +3069,7 @@ 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, } -windows_core::imp::com_interface!(IObjectContext, IObjectContext_Vtbl, 0x51372ae0_cae7_11cf_be81_00aa00a2fa25); +windows_core::imp::define_interface!(IObjectContext, IObjectContext_Vtbl, 0x51372ae0_cae7_11cf_be81_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IObjectContext, windows_core::IUnknown); impl IObjectContext { pub unsafe fn CreateInstance(&self, rclsid: *const windows_core::GUID, riid: *const windows_core::GUID, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -3112,7 +3112,7 @@ pub struct IObjectContext_Vtbl { 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, } -windows_core::imp::com_interface!(IObjectContextActivity, IObjectContextActivity_Vtbl, 0x51372afc_cae7_11cf_be81_00aa00a2fa25); +windows_core::imp::define_interface!(IObjectContextActivity, IObjectContextActivity_Vtbl, 0x51372afc_cae7_11cf_be81_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IObjectContextActivity, windows_core::IUnknown); impl IObjectContextActivity { pub unsafe fn GetActivityId(&self, pguid: *mut windows_core::GUID) -> windows_core::Result<()> { @@ -3124,7 +3124,7 @@ pub struct IObjectContextActivity_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectContextInfo, IObjectContextInfo_Vtbl, 0x75b52ddb_e8ed_11d1_93ad_00aa00ba3258); +windows_core::imp::define_interface!(IObjectContextInfo, IObjectContextInfo_Vtbl, 0x75b52ddb_e8ed_11d1_93ad_00aa00ba3258); windows_core::imp::interface_hierarchy!(IObjectContextInfo, windows_core::IUnknown); impl IObjectContextInfo { pub unsafe fn IsInTransaction(&self) -> super::super::Foundation::BOOL { @@ -3153,7 +3153,7 @@ pub struct IObjectContextInfo_Vtbl { pub GetActivityId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetContextId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectContextInfo2, IObjectContextInfo2_Vtbl, 0x594be71a_4bc4_438b_9197_cfd176248b09); +windows_core::imp::define_interface!(IObjectContextInfo2, IObjectContextInfo2_Vtbl, 0x594be71a_4bc4_438b_9197_cfd176248b09); windows_core::imp::interface_hierarchy!(IObjectContextInfo2, windows_core::IUnknown, IObjectContextInfo); impl IObjectContextInfo2 { pub unsafe fn IsInTransaction(&self) -> super::super::Foundation::BOOL { @@ -3189,7 +3189,7 @@ pub struct IObjectContextInfo2_Vtbl { pub GetApplicationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetApplicationInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectContextTip, IObjectContextTip_Vtbl, 0x92fd41ca_bad9_11d2_9a2d_00c04f797bc9); +windows_core::imp::define_interface!(IObjectContextTip, IObjectContextTip_Vtbl, 0x92fd41ca_bad9_11d2_9a2d_00c04f797bc9); windows_core::imp::interface_hierarchy!(IObjectContextTip, windows_core::IUnknown); impl IObjectContextTip { pub unsafe fn GetTipUrl(&self, ptipurl: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -3201,7 +3201,7 @@ 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, } -windows_core::imp::com_interface!(IObjectControl, IObjectControl_Vtbl, 0x51372aec_cae7_11cf_be81_00aa00a2fa25); +windows_core::imp::define_interface!(IObjectControl, IObjectControl_Vtbl, 0x51372aec_cae7_11cf_be81_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IObjectControl, windows_core::IUnknown); impl IObjectControl { pub unsafe fn Activate(&self) -> windows_core::Result<()> { @@ -3221,7 +3221,7 @@ pub struct IObjectControl_Vtbl { pub Deactivate: unsafe extern "system" fn(*mut core::ffi::c_void), pub CanBePooled: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IPlaybackControl, IPlaybackControl_Vtbl, 0x51372afd_cae7_11cf_be81_00aa00a2fa25); +windows_core::imp::define_interface!(IPlaybackControl, IPlaybackControl_Vtbl, 0x51372afd_cae7_11cf_be81_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IPlaybackControl, windows_core::IUnknown); impl IPlaybackControl { pub unsafe fn FinalClientRetry(&self) -> windows_core::Result<()> { @@ -3238,7 +3238,7 @@ pub struct IPlaybackControl_Vtbl { pub FinalServerRetry: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPoolManager, IPoolManager_Vtbl, 0x0a469861_5a91_43a0_99b6_d5e179bb0631); +windows_core::imp::define_interface!(IPoolManager, IPoolManager_Vtbl, 0x0a469861_5a91_43a0_99b6_d5e179bb0631); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPoolManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3256,7 +3256,7 @@ 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, } -windows_core::imp::com_interface!(IProcessInitializer, IProcessInitializer_Vtbl, 0x1113f52d_dc7f_4943_aed6_88d04027e32a); +windows_core::imp::define_interface!(IProcessInitializer, IProcessInitializer_Vtbl, 0x1113f52d_dc7f_4943_aed6_88d04027e32a); windows_core::imp::interface_hierarchy!(IProcessInitializer, windows_core::IUnknown); impl IProcessInitializer { pub unsafe fn Startup(&self, punkprocesscontrol: P0) -> windows_core::Result<()> @@ -3276,7 +3276,7 @@ pub struct IProcessInitializer_Vtbl { pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISecurityCallContext, ISecurityCallContext_Vtbl, 0xcafc823e_b441_11d1_b82b_0000f8757e2a); +windows_core::imp::define_interface!(ISecurityCallContext, ISecurityCallContext_Vtbl, 0xcafc823e_b441_11d1_b82b_0000f8757e2a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISecurityCallContext, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3327,7 +3327,7 @@ pub struct ISecurityCallContext_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISecurityCallersColl, ISecurityCallersColl_Vtbl, 0xcafc823d_b441_11d1_b82b_0000f8757e2a); +windows_core::imp::define_interface!(ISecurityCallersColl, ISecurityCallersColl_Vtbl, 0xcafc823d_b441_11d1_b82b_0000f8757e2a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISecurityCallersColl, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3358,7 +3358,7 @@ pub struct ISecurityCallersColl_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")] -windows_core::imp::com_interface!(ISecurityIdentityColl, ISecurityIdentityColl_Vtbl, 0xcafc823c_b441_11d1_b82b_0000f8757e2a); +windows_core::imp::define_interface!(ISecurityIdentityColl, ISecurityIdentityColl_Vtbl, 0xcafc823c_b441_11d1_b82b_0000f8757e2a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISecurityIdentityColl, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3387,7 +3387,7 @@ pub struct ISecurityIdentityColl_Vtbl { pub get_Item: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::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::com_interface!(ISecurityProperty, ISecurityProperty_Vtbl, 0x51372aea_cae7_11cf_be81_00aa00a2fa25); +windows_core::imp::define_interface!(ISecurityProperty, ISecurityProperty_Vtbl, 0x51372aea_cae7_11cf_be81_00aa00a2fa25); windows_core::imp::interface_hierarchy!(ISecurityProperty, windows_core::IUnknown); impl ISecurityProperty { pub unsafe fn GetDirectCreatorSID(&self, psid: *mut super::super::Foundation::PSID) -> windows_core::Result<()> { @@ -3418,7 +3418,7 @@ pub struct ISecurityProperty_Vtbl { pub GetOriginalCallerSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::PSID) -> windows_core::HRESULT, pub ReleaseSID: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::PSID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISelectCOMLBServer, ISelectCOMLBServer_Vtbl, 0xdcf443f4_3f8a_4872_b9f0_369a796d12d6); +windows_core::imp::define_interface!(ISelectCOMLBServer, ISelectCOMLBServer_Vtbl, 0xdcf443f4_3f8a_4872_b9f0_369a796d12d6); windows_core::imp::interface_hierarchy!(ISelectCOMLBServer, windows_core::IUnknown); impl ISelectCOMLBServer { pub unsafe fn Init(&self) -> windows_core::Result<()> { @@ -3437,7 +3437,7 @@ pub struct ISelectCOMLBServer_Vtbl { pub Init: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLBServer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISendMethodEvents, ISendMethodEvents_Vtbl, 0x2732fd59_b2b4_4d44_878c_8b8f09626008); +windows_core::imp::define_interface!(ISendMethodEvents, ISendMethodEvents_Vtbl, 0x2732fd59_b2b4_4d44_878c_8b8f09626008); windows_core::imp::interface_hierarchy!(ISendMethodEvents, windows_core::IUnknown); impl ISendMethodEvents { pub unsafe fn SendMethodCall(&self, pidentity: *const core::ffi::c_void, riid: *const windows_core::GUID, dwmeth: u32) -> windows_core::Result<()> { @@ -3453,7 +3453,7 @@ pub struct ISendMethodEvents_Vtbl { pub SendMethodCall: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, pub SendMethodReturn: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, *const windows_core::GUID, u32, windows_core::HRESULT, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceActivity, IServiceActivity_Vtbl, 0x67532e0c_9e2f_4450_a354_035633944e17); +windows_core::imp::define_interface!(IServiceActivity, IServiceActivity_Vtbl, 0x67532e0c_9e2f_4450_a354_035633944e17); windows_core::imp::interface_hierarchy!(IServiceActivity, windows_core::IUnknown); impl IServiceActivity { pub unsafe fn SynchronousCall(&self, piservicecall: P0) -> windows_core::Result<()> @@ -3483,7 +3483,7 @@ pub struct IServiceActivity_Vtbl { pub BindToCurrentThread: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub UnbindFromThread: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceCall, IServiceCall_Vtbl, 0xbd3e2e12_42dd_40f4_a09a_95a50c58304b); +windows_core::imp::define_interface!(IServiceCall, IServiceCall_Vtbl, 0xbd3e2e12_42dd_40f4_a09a_95a50c58304b); windows_core::imp::interface_hierarchy!(IServiceCall, windows_core::IUnknown); impl IServiceCall { pub unsafe fn OnCall(&self) -> windows_core::Result<()> { @@ -3495,7 +3495,7 @@ pub struct IServiceCall_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnCall: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceComTIIntrinsicsConfig, IServiceComTIIntrinsicsConfig_Vtbl, 0x09e6831e_04e1_4ed4_9d0f_e8b168bafeaf); +windows_core::imp::define_interface!(IServiceComTIIntrinsicsConfig, IServiceComTIIntrinsicsConfig_Vtbl, 0x09e6831e_04e1_4ed4_9d0f_e8b168bafeaf); windows_core::imp::interface_hierarchy!(IServiceComTIIntrinsicsConfig, windows_core::IUnknown); impl IServiceComTIIntrinsicsConfig { pub unsafe fn ComTIIntrinsicsConfig(&self, comtiintrinsicsconfig: CSC_COMTIIntrinsicsConfig) -> windows_core::Result<()> { @@ -3507,7 +3507,7 @@ pub struct IServiceComTIIntrinsicsConfig_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ComTIIntrinsicsConfig: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_COMTIIntrinsicsConfig) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceIISIntrinsicsConfig, IServiceIISIntrinsicsConfig_Vtbl, 0x1a0cf920_d452_46f4_bc36_48118d54ea52); +windows_core::imp::define_interface!(IServiceIISIntrinsicsConfig, IServiceIISIntrinsicsConfig_Vtbl, 0x1a0cf920_d452_46f4_bc36_48118d54ea52); windows_core::imp::interface_hierarchy!(IServiceIISIntrinsicsConfig, windows_core::IUnknown); impl IServiceIISIntrinsicsConfig { pub unsafe fn IISIntrinsicsConfig(&self, iisintrinsicsconfig: CSC_IISIntrinsicsConfig) -> windows_core::Result<()> { @@ -3519,7 +3519,7 @@ pub struct IServiceIISIntrinsicsConfig_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IISIntrinsicsConfig: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_IISIntrinsicsConfig) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceInheritanceConfig, IServiceInheritanceConfig_Vtbl, 0x92186771_d3b4_4d77_a8ea_ee842d586f35); +windows_core::imp::define_interface!(IServiceInheritanceConfig, IServiceInheritanceConfig_Vtbl, 0x92186771_d3b4_4d77_a8ea_ee842d586f35); windows_core::imp::interface_hierarchy!(IServiceInheritanceConfig, windows_core::IUnknown); impl IServiceInheritanceConfig { pub unsafe fn ContainingContextTreatment(&self, inheritanceconfig: CSC_InheritanceConfig) -> windows_core::Result<()> { @@ -3531,7 +3531,7 @@ pub struct IServiceInheritanceConfig_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ContainingContextTreatment: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_InheritanceConfig) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServicePartitionConfig, IServicePartitionConfig_Vtbl, 0x80182d03_5ea4_4831_ae97_55beffc2e590); +windows_core::imp::define_interface!(IServicePartitionConfig, IServicePartitionConfig_Vtbl, 0x80182d03_5ea4_4831_ae97_55beffc2e590); windows_core::imp::interface_hierarchy!(IServicePartitionConfig, windows_core::IUnknown); impl IServicePartitionConfig { pub unsafe fn PartitionConfig(&self, partitionconfig: CSC_PartitionConfig) -> windows_core::Result<()> { @@ -3547,7 +3547,7 @@ pub struct IServicePartitionConfig_Vtbl { pub PartitionConfig: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_PartitionConfig) -> windows_core::HRESULT, pub PartitionID: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServicePool, IServicePool_Vtbl, 0xb302df81_ea45_451e_99a2_09f9fd1b1e13); +windows_core::imp::define_interface!(IServicePool, IServicePool_Vtbl, 0xb302df81_ea45_451e_99a2_09f9fd1b1e13); windows_core::imp::interface_hierarchy!(IServicePool, windows_core::IUnknown); impl IServicePool { pub unsafe fn Initialize(&self, ppoolconfig: P0) -> windows_core::Result<()> @@ -3570,7 +3570,7 @@ pub struct IServicePool_Vtbl { pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServicePoolConfig, IServicePoolConfig_Vtbl, 0xa9690656_5bca_470c_8451_250c1f43a33e); +windows_core::imp::define_interface!(IServicePoolConfig, IServicePoolConfig_Vtbl, 0xa9690656_5bca_470c_8451_250c1f43a33e); windows_core::imp::interface_hierarchy!(IServicePoolConfig, windows_core::IUnknown); impl IServicePoolConfig { pub unsafe fn SetMaxPoolSize(&self, dwmaxpool: u32) -> windows_core::Result<()> { @@ -3633,7 +3633,7 @@ pub struct IServicePoolConfig_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ClassFactory: usize, } -windows_core::imp::com_interface!(IServiceSxsConfig, IServiceSxsConfig_Vtbl, 0xc7cd7379_f3f2_4634_811b_703281d73e08); +windows_core::imp::define_interface!(IServiceSxsConfig, IServiceSxsConfig_Vtbl, 0xc7cd7379_f3f2_4634_811b_703281d73e08); windows_core::imp::interface_hierarchy!(IServiceSxsConfig, windows_core::IUnknown); impl IServiceSxsConfig { pub unsafe fn SxsConfig(&self, scsconfig: CSC_SxsConfig) -> windows_core::Result<()> { @@ -3659,7 +3659,7 @@ pub struct IServiceSxsConfig_Vtbl { pub SxsName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SxsDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceSynchronizationConfig, IServiceSynchronizationConfig_Vtbl, 0xfd880e81_6dce_4c58_af83_a208846c0030); +windows_core::imp::define_interface!(IServiceSynchronizationConfig, IServiceSynchronizationConfig_Vtbl, 0xfd880e81_6dce_4c58_af83_a208846c0030); windows_core::imp::interface_hierarchy!(IServiceSynchronizationConfig, windows_core::IUnknown); impl IServiceSynchronizationConfig { pub unsafe fn ConfigureSynchronization(&self, synchconfig: CSC_SynchronizationConfig) -> windows_core::Result<()> { @@ -3671,7 +3671,7 @@ pub struct IServiceSynchronizationConfig_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ConfigureSynchronization: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_SynchronizationConfig) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceSysTxnConfig, IServiceSysTxnConfig_Vtbl, 0x33caf1a1_fcb8_472b_b45e_967448ded6d8); +windows_core::imp::define_interface!(IServiceSysTxnConfig, IServiceSysTxnConfig_Vtbl, 0x33caf1a1_fcb8_472b_b45e_967448ded6d8); windows_core::imp::interface_hierarchy!(IServiceSysTxnConfig, windows_core::IUnknown, IServiceTransactionConfigBase, IServiceTransactionConfig); impl IServiceSysTxnConfig { pub unsafe fn ConfigureTransaction(&self, transactionconfig: CSC_TransactionConfig) -> windows_core::Result<()> { @@ -3714,7 +3714,7 @@ pub struct IServiceSysTxnConfig_Vtbl { pub base__: IServiceTransactionConfig_Vtbl, pub ConfigureBYOTSysTxn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceThreadPoolConfig, IServiceThreadPoolConfig_Vtbl, 0x186d89bc_f277_4bcc_80d5_4df7b836ef4a); +windows_core::imp::define_interface!(IServiceThreadPoolConfig, IServiceThreadPoolConfig_Vtbl, 0x186d89bc_f277_4bcc_80d5_4df7b836ef4a); windows_core::imp::interface_hierarchy!(IServiceThreadPoolConfig, windows_core::IUnknown); impl IServiceThreadPoolConfig { pub unsafe fn SelectThreadPool(&self, threadpool: CSC_ThreadPool) -> windows_core::Result<()> { @@ -3730,7 +3730,7 @@ pub struct IServiceThreadPoolConfig_Vtbl { pub SelectThreadPool: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_ThreadPool) -> windows_core::HRESULT, pub SetBindingInfo: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_Binding) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceTrackerConfig, IServiceTrackerConfig_Vtbl, 0x6c3a3e1d_0ba6_4036_b76f_d0404db816c9); +windows_core::imp::define_interface!(IServiceTrackerConfig, IServiceTrackerConfig_Vtbl, 0x6c3a3e1d_0ba6_4036_b76f_d0404db816c9); windows_core::imp::interface_hierarchy!(IServiceTrackerConfig, windows_core::IUnknown); impl IServiceTrackerConfig { pub unsafe fn TrackerConfig(&self, trackerconfig: CSC_TrackerConfig, sztrackerappname: P0, sztrackerctxname: P1) -> windows_core::Result<()> @@ -3746,7 +3746,7 @@ pub struct IServiceTrackerConfig_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub TrackerConfig: unsafe extern "system" fn(*mut core::ffi::c_void, CSC_TrackerConfig, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IServiceTransactionConfig, IServiceTransactionConfig_Vtbl, 0x59f4c2a3_d3d7_4a31_b6e4_6ab3177c50b9); +windows_core::imp::define_interface!(IServiceTransactionConfig, IServiceTransactionConfig_Vtbl, 0x59f4c2a3_d3d7_4a31_b6e4_6ab3177c50b9); windows_core::imp::interface_hierarchy!(IServiceTransactionConfig, windows_core::IUnknown, IServiceTransactionConfigBase); impl IServiceTransactionConfig { pub unsafe fn ConfigureTransaction(&self, transactionconfig: CSC_TransactionConfig) -> windows_core::Result<()> { @@ -3786,7 +3786,7 @@ pub struct IServiceTransactionConfig_Vtbl { #[cfg(not(feature = "Win32_System_DistributedTransactionCoordinator"))] ConfigureBYOT: usize, } -windows_core::imp::com_interface!(IServiceTransactionConfigBase, IServiceTransactionConfigBase_Vtbl, 0x772b3fbe_6ffd_42fb_b5f8_8f9b260f3810); +windows_core::imp::define_interface!(IServiceTransactionConfigBase, IServiceTransactionConfigBase_Vtbl, 0x772b3fbe_6ffd_42fb_b5f8_8f9b260f3810); windows_core::imp::interface_hierarchy!(IServiceTransactionConfigBase, windows_core::IUnknown); impl IServiceTransactionConfigBase { pub unsafe fn ConfigureTransaction(&self, transactionconfig: CSC_TransactionConfig) -> windows_core::Result<()> { @@ -3821,7 +3821,7 @@ pub struct IServiceTransactionConfigBase_Vtbl { pub NewTransactionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISharedProperty, ISharedProperty_Vtbl, 0x2a005c01_a5de_11cf_9e66_00aa00a3f464); +windows_core::imp::define_interface!(ISharedProperty, ISharedProperty_Vtbl, 0x2a005c01_a5de_11cf_9e66_00aa00a3f464); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISharedProperty, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3845,7 +3845,7 @@ pub struct ISharedProperty_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISharedPropertyGroup, ISharedPropertyGroup_Vtbl, 0x2a005c07_a5de_11cf_9e66_00aa00a3f464); +windows_core::imp::define_interface!(ISharedPropertyGroup, ISharedPropertyGroup_Vtbl, 0x2a005c07_a5de_11cf_9e66_00aa00a3f464); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISharedPropertyGroup, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3897,7 +3897,7 @@ pub struct ISharedPropertyGroup_Vtbl { get_Property: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISharedPropertyGroupManager, ISharedPropertyGroupManager_Vtbl, 0x2a005c0d_a5de_11cf_9e66_00aa00a3f464); +windows_core::imp::define_interface!(ISharedPropertyGroupManager, ISharedPropertyGroupManager_Vtbl, 0x2a005c0d_a5de_11cf_9e66_00aa00a3f464); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISharedPropertyGroupManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3936,7 +3936,7 @@ pub struct ISharedPropertyGroupManager_Vtbl { get_Group: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemAppEventData, ISystemAppEventData_Vtbl, 0xd6d48a3c_d5c5_49e7_8c74_99e4889ed52f); +windows_core::imp::define_interface!(ISystemAppEventData, ISystemAppEventData_Vtbl, 0xd6d48a3c_d5c5_49e7_8c74_99e4889ed52f); windows_core::imp::interface_hierarchy!(ISystemAppEventData, windows_core::IUnknown); impl ISystemAppEventData { pub unsafe fn Startup(&self) -> windows_core::Result<()> { @@ -3955,7 +3955,7 @@ pub struct ISystemAppEventData_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, } -windows_core::imp::com_interface!(IThreadPoolKnobs, IThreadPoolKnobs_Vtbl, 0x51372af7_cae7_11cf_be81_00aa00a2fa25); +windows_core::imp::define_interface!(IThreadPoolKnobs, IThreadPoolKnobs_Vtbl, 0x51372af7_cae7_11cf_be81_00aa00a2fa25); windows_core::imp::interface_hierarchy!(IThreadPoolKnobs, windows_core::IUnknown); impl IThreadPoolKnobs { pub unsafe fn GetMaxThreads(&self, plcmaxthreads: *mut i32) -> windows_core::Result<()> { @@ -4004,7 +4004,7 @@ pub struct IThreadPoolKnobs_Vtbl { pub SetQueueDepth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITransactionContext, ITransactionContext_Vtbl, 0x7999fc21_d3c6_11cf_acab_00a024a55aef); +windows_core::imp::define_interface!(ITransactionContext, ITransactionContext_Vtbl, 0x7999fc21_d3c6_11cf_acab_00a024a55aef); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITransactionContext, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4031,7 +4031,7 @@ pub struct ITransactionContext_Vtbl { 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, } -windows_core::imp::com_interface!(ITransactionContextEx, ITransactionContextEx_Vtbl, 0x7999fc22_d3c6_11cf_acab_00a024a55aef); +windows_core::imp::define_interface!(ITransactionContextEx, ITransactionContextEx_Vtbl, 0x7999fc22_d3c6_11cf_acab_00a024a55aef); windows_core::imp::interface_hierarchy!(ITransactionContextEx, windows_core::IUnknown); impl ITransactionContextEx { pub unsafe fn CreateInstance(&self, rclsid: *const windows_core::GUID) -> windows_core::Result @@ -4055,7 +4055,7 @@ pub struct ITransactionContextEx_Vtbl { 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, } -windows_core::imp::com_interface!(ITransactionProperty, ITransactionProperty_Vtbl, 0x788ea814_87b1_11d1_bba6_00c04fc2fa5f); +windows_core::imp::define_interface!(ITransactionProperty, ITransactionProperty_Vtbl, 0x788ea814_87b1_11d1_bba6_00c04fc2fa5f); windows_core::imp::interface_hierarchy!(ITransactionProperty, windows_core::IUnknown); impl ITransactionProperty { pub unsafe fn Reserved1(&self) { @@ -4136,7 +4136,7 @@ pub struct ITransactionProperty_Vtbl { pub Reserved16: unsafe extern "system" fn(*mut core::ffi::c_void), pub Reserved17: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(ITransactionProxy, ITransactionProxy_Vtbl, 0x02558374_df2e_4dae_bd6b_1d5c994f9bdc); +windows_core::imp::define_interface!(ITransactionProxy, ITransactionProxy_Vtbl, 0x02558374_df2e_4dae_bd6b_1d5c994f9bdc); windows_core::imp::interface_hierarchy!(ITransactionProxy, windows_core::IUnknown); impl ITransactionProxy { pub unsafe fn Commit(&self, guid: windows_core::GUID) -> windows_core::Result<()> { @@ -4185,7 +4185,7 @@ pub struct ITransactionProxy_Vtbl { pub GetIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub IsReusable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionResourcePool, ITransactionResourcePool_Vtbl, 0xc5feb7c1_346a_11d1_b1cc_00aa00ba3258); +windows_core::imp::define_interface!(ITransactionResourcePool, ITransactionResourcePool_Vtbl, 0xc5feb7c1_346a_11d1_b1cc_00aa00ba3258); windows_core::imp::interface_hierarchy!(ITransactionResourcePool, windows_core::IUnknown); impl ITransactionResourcePool { pub unsafe fn PutResource(&self, ppool: P0, punk: P1) -> windows_core::Result<()> @@ -4209,7 +4209,7 @@ pub struct ITransactionResourcePool_Vtbl { pub PutResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionStatus, ITransactionStatus_Vtbl, 0x61f589e8_3724_4898_a0a4_664ae9e1d1b4); +windows_core::imp::define_interface!(ITransactionStatus, ITransactionStatus_Vtbl, 0x61f589e8_3724_4898_a0a4_664ae9e1d1b4); windows_core::imp::interface_hierarchy!(ITransactionStatus, windows_core::IUnknown); impl ITransactionStatus { pub unsafe fn SetTransactionStatus(&self, hrstatus: windows_core::HRESULT) -> windows_core::Result<()> { @@ -4225,7 +4225,7 @@ pub struct ITransactionStatus_Vtbl { pub SetTransactionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, pub GetTransactionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITxProxyHolder, ITxProxyHolder_Vtbl, 0x13d86f31_0139_41af_bcad_c7d50435fe9f); +windows_core::imp::define_interface!(ITxProxyHolder, ITxProxyHolder_Vtbl, 0x13d86f31_0139_41af_bcad_c7d50435fe9f); windows_core::imp::interface_hierarchy!(ITxProxyHolder, windows_core::IUnknown); impl ITxProxyHolder { pub unsafe fn GetIdentifier(&self, pguidltx: *mut windows_core::GUID) { @@ -4238,7 +4238,7 @@ pub struct ITxProxyHolder_Vtbl { pub GetIdentifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID), } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ObjectContext, ObjectContext_Vtbl, 0x74c08646_cedb_11cf_8b49_00aa00b8a790); +windows_core::imp::define_interface!(ObjectContext, ObjectContext_Vtbl, 0x74c08646_cedb_11cf_8b49_00aa00b8a790); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ObjectContext, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4327,7 +4327,7 @@ pub struct ObjectContext_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ContextInfo: usize, } -windows_core::imp::com_interface!(ObjectControl, ObjectControl_Vtbl, 0x7dc41850_0c31_11d0_8b79_00aa00b8a790); +windows_core::imp::define_interface!(ObjectControl, ObjectControl_Vtbl, 0x7dc41850_0c31_11d0_8b79_00aa00b8a790); windows_core::imp::interface_hierarchy!(ObjectControl, windows_core::IUnknown); impl ObjectControl { pub unsafe fn Activate(&self) -> windows_core::Result<()> { @@ -4348,7 +4348,7 @@ pub struct ObjectControl_Vtbl { pub CanBePooled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(SecurityProperty, SecurityProperty_Vtbl, 0xe74a7215_014d_11d1_a63c_00a0c911b4e0); +windows_core::imp::define_interface!(SecurityProperty, SecurityProperty_Vtbl, 0xe74a7215_014d_11d1_a63c_00a0c911b4e0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(SecurityProperty, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 33aa1ed3d7..65af50a854 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Contacts/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IContact, IContact_Vtbl, 0xf941b671_bda7_4f77_884a_f46462f226a7); +windows_core::imp::define_interface!(IContact, IContact_Vtbl, 0xf941b671_bda7_4f77_884a_f46462f226a7); windows_core::imp::interface_hierarchy!(IContact, windows_core::IUnknown); impl IContact { pub unsafe fn GetContactID(&self, pszcontactid: &mut [u16], pdwcchcontactidrequired: *mut u32) -> windows_core::Result<()> { @@ -18,7 +18,7 @@ pub struct IContact_Vtbl { pub GetPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, pub CommitChanges: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactAggregationAggregate, IContactAggregationAggregate_Vtbl, 0x7ed1c814_cd30_43c8_9b8d_2e489e53d54b); +windows_core::imp::define_interface!(IContactAggregationAggregate, IContactAggregationAggregate_Vtbl, 0x7ed1c814_cd30_43c8_9b8d_2e489e53d54b); windows_core::imp::interface_hierarchy!(IContactAggregationAggregate, windows_core::IUnknown); impl IContactAggregationAggregate { pub unsafe fn Save(&self) -> windows_core::Result<()> { @@ -73,7 +73,7 @@ pub struct IContactAggregationAggregate_Vtbl { pub SetFavoriteOrder: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactAggregationAggregateCollection, IContactAggregationAggregateCollection_Vtbl, 0x2359f3a6_3a68_40af_98db_0f9eb143c3bb); +windows_core::imp::define_interface!(IContactAggregationAggregateCollection, IContactAggregationAggregateCollection_Vtbl, 0x2359f3a6_3a68_40af_98db_0f9eb143c3bb); windows_core::imp::interface_hierarchy!(IContactAggregationAggregateCollection, windows_core::IUnknown); impl IContactAggregationAggregateCollection { pub unsafe fn FindFirst(&self) -> windows_core::Result { @@ -104,7 +104,7 @@ pub struct IContactAggregationAggregateCollection_Vtbl { pub FindNext: 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, } -windows_core::imp::com_interface!(IContactAggregationContact, IContactAggregationContact_Vtbl, 0x1eb22e86_4c86_41f0_9f9f_c251e9fda6c3); +windows_core::imp::define_interface!(IContactAggregationContact, IContactAggregationContact_Vtbl, 0x1eb22e86_4c86_41f0_9f9f_c251e9fda6c3); windows_core::imp::interface_hierarchy!(IContactAggregationContact, windows_core::IUnknown); impl IContactAggregationContact { pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -202,7 +202,7 @@ pub struct IContactAggregationContact_Vtbl { pub SyncIdentityHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut CONTACT_AGGREGATION_BLOB) -> windows_core::HRESULT, pub SetSyncIdentityHash: unsafe extern "system" fn(*mut core::ffi::c_void, *const CONTACT_AGGREGATION_BLOB) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactAggregationContactCollection, IContactAggregationContactCollection_Vtbl, 0x826e66fa_81de_43ca_a6fb_8c785cd996c6); +windows_core::imp::define_interface!(IContactAggregationContactCollection, IContactAggregationContactCollection_Vtbl, 0x826e66fa_81de_43ca_a6fb_8c785cd996c6); windows_core::imp::interface_hierarchy!(IContactAggregationContactCollection, windows_core::IUnknown); impl IContactAggregationContactCollection { pub unsafe fn FindFirst(&self) -> windows_core::Result { @@ -243,7 +243,7 @@ pub struct IContactAggregationContactCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub FindFirstByRemoteId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *const CONTACT_AGGREGATION_BLOB, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactAggregationGroup, IContactAggregationGroup_Vtbl, 0xc93c545f_1284_499b_96af_07372af473e0); +windows_core::imp::define_interface!(IContactAggregationGroup, IContactAggregationGroup_Vtbl, 0xc93c545f_1284_499b_96af_07372af473e0); windows_core::imp::interface_hierarchy!(IContactAggregationGroup, windows_core::IUnknown); impl IContactAggregationGroup { pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -304,7 +304,7 @@ pub struct IContactAggregationGroup_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactAggregationGroupCollection, IContactAggregationGroupCollection_Vtbl, 0x20a19a9c_d2f3_4b83_9143_beffd2cc226d); +windows_core::imp::define_interface!(IContactAggregationGroupCollection, IContactAggregationGroupCollection_Vtbl, 0x20a19a9c_d2f3_4b83_9143_beffd2cc226d); windows_core::imp::interface_hierarchy!(IContactAggregationGroupCollection, windows_core::IUnknown); impl IContactAggregationGroupCollection { pub unsafe fn FindFirst(&self) -> windows_core::Result { @@ -332,7 +332,7 @@ pub struct IContactAggregationGroupCollection_Vtbl { pub FindNext: 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 u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactAggregationLink, IContactAggregationLink_Vtbl, 0xb6813323_a183_4654_8627_79b30de3a0ec); +windows_core::imp::define_interface!(IContactAggregationLink, IContactAggregationLink_Vtbl, 0xb6813323_a183_4654_8627_79b30de3a0ec); windows_core::imp::interface_hierarchy!(IContactAggregationLink, windows_core::IUnknown); impl IContactAggregationLink { pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -431,7 +431,7 @@ pub struct IContactAggregationLink_Vtbl { pub SyncIdentityHash: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut CONTACT_AGGREGATION_BLOB) -> windows_core::HRESULT, pub SetSyncIdentityHash: unsafe extern "system" fn(*mut core::ffi::c_void, *const CONTACT_AGGREGATION_BLOB) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactAggregationLinkCollection, IContactAggregationLinkCollection_Vtbl, 0xf8bc0e93_fb55_4f28_b9fa_b1c274153292); +windows_core::imp::define_interface!(IContactAggregationLinkCollection, IContactAggregationLinkCollection_Vtbl, 0xf8bc0e93_fb55_4f28_b9fa_b1c274153292); windows_core::imp::interface_hierarchy!(IContactAggregationLinkCollection, windows_core::IUnknown); impl IContactAggregationLinkCollection { pub unsafe fn FindFirst(&self) -> windows_core::Result { @@ -463,7 +463,7 @@ pub struct IContactAggregationLinkCollection_Vtbl { pub FindNext: 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 u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactAggregationManager, IContactAggregationManager_Vtbl, 0x1d865989_4b1f_4b60_8f34_c2ad468b2b50); +windows_core::imp::define_interface!(IContactAggregationManager, IContactAggregationManager_Vtbl, 0x1d865989_4b1f_4b60_8f34_c2ad468b2b50); windows_core::imp::interface_hierarchy!(IContactAggregationManager, windows_core::IUnknown); impl IContactAggregationManager { pub unsafe fn GetVersionInfo(&self, plmajorversion: *mut i32, plminorversion: *mut i32) -> windows_core::Result<()> { @@ -562,7 +562,7 @@ pub struct IContactAggregationManager_Vtbl { pub ServerPersons: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub get_ServerContactLinks: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactAggregationServerPerson, IContactAggregationServerPerson_Vtbl, 0x7fdc3d4b_1b82_4334_85c5_25184ee5a5f2); +windows_core::imp::define_interface!(IContactAggregationServerPerson, IContactAggregationServerPerson_Vtbl, 0x7fdc3d4b_1b82_4334_85c5_25184ee5a5f2); windows_core::imp::interface_hierarchy!(IContactAggregationServerPerson, windows_core::IUnknown); impl IContactAggregationServerPerson { pub unsafe fn Delete(&self) -> windows_core::Result<()> { @@ -691,7 +691,7 @@ pub struct IContactAggregationServerPerson_Vtbl { pub ObjectId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub SetObjectId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactAggregationServerPersonCollection, IContactAggregationServerPersonCollection_Vtbl, 0x4f730a4a_6604_47b6_a987_669ecf1e5751); +windows_core::imp::define_interface!(IContactAggregationServerPersonCollection, IContactAggregationServerPersonCollection_Vtbl, 0x4f730a4a_6604_47b6_a987_669ecf1e5751); windows_core::imp::interface_hierarchy!(IContactAggregationServerPersonCollection, windows_core::IUnknown); impl IContactAggregationServerPersonCollection { pub unsafe fn FindFirst(&self) -> windows_core::Result { @@ -738,7 +738,7 @@ pub struct IContactAggregationServerPersonCollection_Vtbl { pub FindNext: 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 u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactCollection, IContactCollection_Vtbl, 0xb6afa338_d779_11d9_8bde_f66bad1e3f3a); +windows_core::imp::define_interface!(IContactCollection, IContactCollection_Vtbl, 0xb6afa338_d779_11d9_8bde_f66bad1e3f3a); windows_core::imp::interface_hierarchy!(IContactCollection, windows_core::IUnknown); impl IContactCollection { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -759,7 +759,7 @@ pub struct IContactCollection_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactManager, IContactManager_Vtbl, 0xad553d98_deb1_474a_8e17_fc0c2075b738); +windows_core::imp::define_interface!(IContactManager, IContactManager_Vtbl, 0xad553d98_deb1_474a_8e17_fc0c2075b738); windows_core::imp::interface_hierarchy!(IContactManager, windows_core::IUnknown); impl IContactManager { pub unsafe fn Initialize(&self, pszappname: P0, pszappversion: P1) -> windows_core::Result<()> @@ -808,7 +808,7 @@ pub struct IContactManager_Vtbl { pub SetMeContact: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetContactCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactProperties, IContactProperties_Vtbl, 0x70dd27dd_5cbd_46e8_bef0_23b6b346288f); +windows_core::imp::define_interface!(IContactProperties, IContactProperties_Vtbl, 0x70dd27dd_5cbd_46e8_bef0_23b6b346288f); windows_core::imp::interface_hierarchy!(IContactProperties, windows_core::IUnknown); impl IContactProperties { pub unsafe fn GetString(&self, pszpropertyname: P0, dwflags: u32, pszvalue: &mut [u16], pdwcchpropertyvaluerequired: *mut u32) -> windows_core::Result<()> @@ -920,7 +920,7 @@ pub struct IContactProperties_Vtbl { pub DeleteLabels: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub GetPropertyCollection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, windows_core::PCWSTR, u32, *const windows_core::PCWSTR, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactPropertyCollection, IContactPropertyCollection_Vtbl, 0xffd3adf8_fa64_4328_b1b6_2e0db509cb3c); +windows_core::imp::define_interface!(IContactPropertyCollection, IContactPropertyCollection_Vtbl, 0xffd3adf8_fa64_4328_b1b6_2e0db509cb3c); windows_core::imp::interface_hierarchy!(IContactPropertyCollection, windows_core::IUnknown); impl IContactPropertyCollection { pub unsafe fn Reset(&self) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs index 806a2d9076..4dc5f21ceb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs @@ -708,7 +708,7 @@ where WdsTransportServerTraceV(hprovider.into_param().abi(), severity, pwszformat.into_param().abi(), params).ok() } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportCacheable, IWdsTransportCacheable_Vtbl, 0x46ad894b_0bab_47dc_84b2_7b553f1d8f80); +windows_core::imp::define_interface!(IWdsTransportCacheable, IWdsTransportCacheable_Vtbl, 0x46ad894b_0bab_47dc_84b2_7b553f1d8f80); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportCacheable, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -737,7 +737,7 @@ pub struct IWdsTransportCacheable_Vtbl { pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportClient, IWdsTransportClient_Vtbl, 0xb5dbc93a_cabe_46ca_837f_3e44e93c6545); +windows_core::imp::define_interface!(IWdsTransportClient, IWdsTransportClient_Vtbl, 0xb5dbc93a_cabe_46ca_837f_3e44e93c6545); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportClient, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -812,7 +812,7 @@ pub struct IWdsTransportClient_Vtbl { pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_DISCONNECT_TYPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportCollection, IWdsTransportCollection_Vtbl, 0xb8ba4b1a_2ff4_43ab_996c_b2b10a91a6eb); +windows_core::imp::define_interface!(IWdsTransportCollection, IWdsTransportCollection_Vtbl, 0xb8ba4b1a_2ff4_43ab_996c_b2b10a91a6eb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -843,7 +843,7 @@ pub struct IWdsTransportCollection_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")] -windows_core::imp::com_interface!(IWdsTransportConfigurationManager, IWdsTransportConfigurationManager_Vtbl, 0x84cc4779_42dd_4792_891e_1321d6d74b44); +windows_core::imp::define_interface!(IWdsTransportConfigurationManager, IWdsTransportConfigurationManager_Vtbl, 0x84cc4779_42dd_4792_891e_1321d6d74b44); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportConfigurationManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -905,7 +905,7 @@ pub struct IWdsTransportConfigurationManager_Vtbl { pub NotifyWdsTransportServices: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_SERVICE_NOTIFICATION) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportConfigurationManager2, IWdsTransportConfigurationManager2_Vtbl, 0xd0d85caf_a153_4f1d_a9dd_96f431c50717); +windows_core::imp::define_interface!(IWdsTransportConfigurationManager2, IWdsTransportConfigurationManager2_Vtbl, 0xd0d85caf_a153_4f1d_a9dd_96f431c50717); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportConfigurationManager2, windows_core::IUnknown, super::Com::IDispatch, IWdsTransportConfigurationManager); #[cfg(feature = "Win32_System_Com")] @@ -961,7 +961,7 @@ pub struct IWdsTransportConfigurationManager2_Vtbl { MulticastSessionPolicy: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportContent, IWdsTransportContent_Vtbl, 0xd405d711_0296_4ab4_a860_ac7d32e65798); +windows_core::imp::define_interface!(IWdsTransportContent, IWdsTransportContent_Vtbl, 0xd405d711_0296_4ab4_a860_ac7d32e65798); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportContent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1005,7 +1005,7 @@ pub struct IWdsTransportContent_Vtbl { pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportContentProvider, IWdsTransportContentProvider_Vtbl, 0xb9489f24_f219_4acf_aad7_265c7c08a6ae); +windows_core::imp::define_interface!(IWdsTransportContentProvider, IWdsTransportContentProvider_Vtbl, 0xb9489f24_f219_4acf_aad7_265c7c08a6ae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportContentProvider, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1037,7 +1037,7 @@ pub struct IWdsTransportContentProvider_Vtbl { pub InitializationRoutine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportDiagnosticsPolicy, IWdsTransportDiagnosticsPolicy_Vtbl, 0x13b33efc_7856_4f61_9a59_8de67b6b87b6); +windows_core::imp::define_interface!(IWdsTransportDiagnosticsPolicy, IWdsTransportDiagnosticsPolicy_Vtbl, 0x13b33efc_7856_4f61_9a59_8de67b6b87b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportDiagnosticsPolicy, windows_core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); #[cfg(feature = "Win32_System_Com")] @@ -1083,7 +1083,7 @@ pub struct IWdsTransportDiagnosticsPolicy_Vtbl { pub SetComponents: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportManager, IWdsTransportManager_Vtbl, 0x5b0d35f5_1b13_4afd_b878_6526dc340b5d); +windows_core::imp::define_interface!(IWdsTransportManager, IWdsTransportManager_Vtbl, 0x5b0d35f5_1b13_4afd_b878_6526dc340b5d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1107,7 +1107,7 @@ pub struct IWdsTransportManager_Vtbl { GetWdsTransportServer: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportMulticastSessionPolicy, IWdsTransportMulticastSessionPolicy_Vtbl, 0x4e5753cf_68ec_4504_a951_4a003266606b); +windows_core::imp::define_interface!(IWdsTransportMulticastSessionPolicy, IWdsTransportMulticastSessionPolicy_Vtbl, 0x4e5753cf_68ec_4504_a951_4a003266606b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportMulticastSessionPolicy, windows_core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); #[cfg(feature = "Win32_System_Com")] @@ -1171,7 +1171,7 @@ pub struct IWdsTransportMulticastSessionPolicy_Vtbl { pub SetSlowClientFallback: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportNamespace, IWdsTransportNamespace_Vtbl, 0xfa561f57_fbef_4ed3_b056_127cb1b33b84); +windows_core::imp::define_interface!(IWdsTransportNamespace, IWdsTransportNamespace_Vtbl, 0xfa561f57_fbef_4ed3_b056_127cb1b33b84); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportNamespace, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1306,7 +1306,7 @@ pub struct IWdsTransportNamespace_Vtbl { RetrieveContents: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportNamespaceAutoCast, IWdsTransportNamespaceAutoCast_Vtbl, 0xad931a72_c4bd_4c41_8fbc_59c9c748df9e); +windows_core::imp::define_interface!(IWdsTransportNamespaceAutoCast, IWdsTransportNamespaceAutoCast_Vtbl, 0xad931a72_c4bd_4c41_8fbc_59c9c748df9e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportNamespaceAutoCast, windows_core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace); #[cfg(feature = "Win32_System_Com")] @@ -1414,7 +1414,7 @@ pub struct IWdsTransportNamespaceAutoCast_Vtbl { pub base__: IWdsTransportNamespace_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportNamespaceManager, IWdsTransportNamespaceManager_Vtbl, 0x3e22d9f6_3777_4d98_83e1_f98696717ba3); +windows_core::imp::define_interface!(IWdsTransportNamespaceManager, IWdsTransportNamespaceManager_Vtbl, 0x3e22d9f6_3777_4d98_83e1_f98696717ba3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportNamespaceManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1466,7 +1466,7 @@ pub struct IWdsTransportNamespaceManager_Vtbl { RetrieveNamespaces: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportNamespaceScheduledCast, IWdsTransportNamespaceScheduledCast_Vtbl, 0x3840cecf_d76c_416e_a4cc_31c741d2874b); +windows_core::imp::define_interface!(IWdsTransportNamespaceScheduledCast, IWdsTransportNamespaceScheduledCast_Vtbl, 0x3840cecf_d76c_416e_a4cc_31c741d2874b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportNamespaceScheduledCast, windows_core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace); #[cfg(feature = "Win32_System_Com")] @@ -1578,7 +1578,7 @@ pub struct IWdsTransportNamespaceScheduledCast_Vtbl { pub StartTransmission: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportNamespaceScheduledCastAutoStart, IWdsTransportNamespaceScheduledCastAutoStart_Vtbl, 0xd606af3d_ea9c_4219_961e_7491d618d9b9); +windows_core::imp::define_interface!(IWdsTransportNamespaceScheduledCastAutoStart, IWdsTransportNamespaceScheduledCastAutoStart_Vtbl, 0xd606af3d_ea9c_4219_961e_7491d618d9b9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportNamespaceScheduledCastAutoStart, windows_core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace, IWdsTransportNamespaceScheduledCast); #[cfg(feature = "Win32_System_Com")] @@ -1707,7 +1707,7 @@ pub struct IWdsTransportNamespaceScheduledCastAutoStart_Vtbl { pub SetStartTime: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportNamespaceScheduledCastManualStart, IWdsTransportNamespaceScheduledCastManualStart_Vtbl, 0x013e6e4c_e6a7_4fb5_b7ff_d9f5da805c31); +windows_core::imp::define_interface!(IWdsTransportNamespaceScheduledCastManualStart, IWdsTransportNamespaceScheduledCastManualStart_Vtbl, 0x013e6e4c_e6a7_4fb5_b7ff_d9f5da805c31); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportNamespaceScheduledCastManualStart, windows_core::IUnknown, super::Com::IDispatch, IWdsTransportNamespace, IWdsTransportNamespaceScheduledCast); #[cfg(feature = "Win32_System_Com")] @@ -1818,7 +1818,7 @@ pub struct IWdsTransportNamespaceScheduledCastManualStart_Vtbl { pub base__: IWdsTransportNamespaceScheduledCast_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportServer, IWdsTransportServer_Vtbl, 0x09ccd093_830d_4344_a30a_73ae8e8fca90); +windows_core::imp::define_interface!(IWdsTransportServer, IWdsTransportServer_Vtbl, 0x09ccd093_830d_4344_a30a_73ae8e8fca90); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportServer, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1866,7 +1866,7 @@ pub struct IWdsTransportServer_Vtbl { pub DisconnectClient: unsafe extern "system" fn(*mut core::ffi::c_void, u32, WDSTRANSPORT_DISCONNECT_TYPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportServer2, IWdsTransportServer2_Vtbl, 0x256e999f_6df4_4538_81b9_857b9ab8fb47); +windows_core::imp::define_interface!(IWdsTransportServer2, IWdsTransportServer2_Vtbl, 0x256e999f_6df4_4538_81b9_857b9ab8fb47); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportServer2, windows_core::IUnknown, super::Com::IDispatch, IWdsTransportServer); #[cfg(feature = "Win32_System_Com")] @@ -1909,7 +1909,7 @@ pub struct IWdsTransportServer2_Vtbl { TftpManager: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportServicePolicy, IWdsTransportServicePolicy_Vtbl, 0xb9468578_9f2b_48cc_b27a_a60799c2750c); +windows_core::imp::define_interface!(IWdsTransportServicePolicy, IWdsTransportServicePolicy_Vtbl, 0xb9468578_9f2b_48cc_b27a_a60799c2750c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportServicePolicy, windows_core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable); #[cfg(feature = "Win32_System_Com")] @@ -1994,7 +1994,7 @@ pub struct IWdsTransportServicePolicy_Vtbl { pub SetNetworkProfile: unsafe extern "system" fn(*mut core::ffi::c_void, WDSTRANSPORT_NETWORK_PROFILE_TYPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportServicePolicy2, IWdsTransportServicePolicy2_Vtbl, 0x65c19e5c_aa7e_4b91_8944_91e0e5572797); +windows_core::imp::define_interface!(IWdsTransportServicePolicy2, IWdsTransportServicePolicy2_Vtbl, 0x65c19e5c_aa7e_4b91_8944_91e0e5572797); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportServicePolicy2, windows_core::IUnknown, super::Com::IDispatch, IWdsTransportCacheable, IWdsTransportServicePolicy); #[cfg(feature = "Win32_System_Com")] @@ -2097,7 +2097,7 @@ pub struct IWdsTransportServicePolicy2_Vtbl { pub SetEnableTftpVariableWindowExtension: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportSession, IWdsTransportSession_Vtbl, 0xf4efea88_65b1_4f30_a4b9_2793987796fb); +windows_core::imp::define_interface!(IWdsTransportSession, IWdsTransportSession_Vtbl, 0xf4efea88_65b1_4f30_a4b9_2793987796fb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportSession, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2156,7 +2156,7 @@ pub struct IWdsTransportSession_Vtbl { pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportSetupManager, IWdsTransportSetupManager_Vtbl, 0xf7238425_efa8_40a4_aef9_c98d969c0b75); +windows_core::imp::define_interface!(IWdsTransportSetupManager, IWdsTransportSetupManager_Vtbl, 0xf7238425_efa8_40a4_aef9_c98d969c0b75); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportSetupManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2200,7 +2200,7 @@ pub struct IWdsTransportSetupManager_Vtbl { pub DeregisterContentProvider: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportSetupManager2, IWdsTransportSetupManager2_Vtbl, 0x02be79da_7e9e_4366_8b6e_2aa9a91be47f); +windows_core::imp::define_interface!(IWdsTransportSetupManager2, IWdsTransportSetupManager2_Vtbl, 0x02be79da_7e9e_4366_8b6e_2aa9a91be47f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportSetupManager2, windows_core::IUnknown, super::Com::IDispatch, IWdsTransportSetupManager); #[cfg(feature = "Win32_System_Com")] @@ -2253,7 +2253,7 @@ pub struct IWdsTransportSetupManager2_Vtbl { ContentProviders: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportTftpClient, IWdsTransportTftpClient_Vtbl, 0xb022d3ae_884d_4d85_b146_53320e76ef62); +windows_core::imp::define_interface!(IWdsTransportTftpClient, IWdsTransportTftpClient_Vtbl, 0xb022d3ae_884d_4d85_b146_53320e76ef62); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportTftpClient, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2300,7 +2300,7 @@ pub struct IWdsTransportTftpClient_Vtbl { pub WindowSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWdsTransportTftpManager, IWdsTransportTftpManager_Vtbl, 0x1327a7c8_ae8a_4fb3_8150_136227c37e9a); +windows_core::imp::define_interface!(IWdsTransportTftpManager, IWdsTransportTftpManager_Vtbl, 0x1327a7c8_ae8a_4fb3_8150_136227c37e9a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWdsTransportTftpManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 a98fb0df08..5dec741314 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIApplication, IRDPSRAPIApplication_Vtbl, 0x41e7a09d_eb7a_436e_935d_780ca2628324); +windows_core::imp::define_interface!(IRDPSRAPIApplication, IRDPSRAPIApplication_Vtbl, 0x41e7a09d_eb7a_436e_935d_780ca2628324); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIApplication, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -47,7 +47,7 @@ pub struct IRDPSRAPIApplication_Vtbl { pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIApplicationFilter, IRDPSRAPIApplicationFilter_Vtbl, 0xd20f10ca_6637_4f06_b1d5_277ea7e5160d); +windows_core::imp::define_interface!(IRDPSRAPIApplicationFilter, IRDPSRAPIApplicationFilter_Vtbl, 0xd20f10ca_6637_4f06_b1d5_277ea7e5160d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIApplicationFilter, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -89,7 +89,7 @@ pub struct IRDPSRAPIApplicationFilter_Vtbl { pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIApplicationList, IRDPSRAPIApplicationList_Vtbl, 0xd4b4aeb3_22dc_4837_b3b6_42ea2517849a); +windows_core::imp::define_interface!(IRDPSRAPIApplicationList, IRDPSRAPIApplicationList_Vtbl, 0xd4b4aeb3_22dc_4837_b3b6_42ea2517849a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIApplicationList, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -115,7 +115,7 @@ pub struct IRDPSRAPIApplicationList_Vtbl { get_Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIAttendee, IRDPSRAPIAttendee_Vtbl, 0xec0671b3_1b78_4b80_a464_9132247543e3); +windows_core::imp::define_interface!(IRDPSRAPIAttendee, IRDPSRAPIAttendee_Vtbl, 0xec0671b3_1b78_4b80_a464_9132247543e3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIAttendee, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -169,7 +169,7 @@ pub struct IRDPSRAPIAttendee_Vtbl { pub ConnectivityInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIAttendeeDisconnectInfo, IRDPSRAPIAttendeeDisconnectInfo_Vtbl, 0xc187689f_447c_44a1_9c14_fffbb3b7ec17); +windows_core::imp::define_interface!(IRDPSRAPIAttendeeDisconnectInfo, IRDPSRAPIAttendeeDisconnectInfo_Vtbl, 0xc187689f_447c_44a1_9c14_fffbb3b7ec17); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIAttendeeDisconnectInfo, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -200,7 +200,7 @@ pub struct IRDPSRAPIAttendeeDisconnectInfo_Vtbl { pub Code: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIAttendeeManager, IRDPSRAPIAttendeeManager_Vtbl, 0xba3a37e8_33da_4749_8da0_07fa34da7944); +windows_core::imp::define_interface!(IRDPSRAPIAttendeeManager, IRDPSRAPIAttendeeManager_Vtbl, 0xba3a37e8_33da_4749_8da0_07fa34da7944); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIAttendeeManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -225,7 +225,7 @@ pub struct IRDPSRAPIAttendeeManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } -windows_core::imp::com_interface!(IRDPSRAPIAudioStream, IRDPSRAPIAudioStream_Vtbl, 0xe3e30ef9_89c6_4541_ba3b_19336ac6d31c); +windows_core::imp::define_interface!(IRDPSRAPIAudioStream, IRDPSRAPIAudioStream_Vtbl, 0xe3e30ef9_89c6_4541_ba3b_19336ac6d31c); windows_core::imp::interface_hierarchy!(IRDPSRAPIAudioStream, windows_core::IUnknown); impl IRDPSRAPIAudioStream { pub unsafe fn Initialize(&self) -> windows_core::Result { @@ -254,7 +254,7 @@ pub struct IRDPSRAPIAudioStream_Vtbl { pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32, *mut u64) -> windows_core::HRESULT, pub FreeBuffer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRDPSRAPIClipboardUseEvents, IRDPSRAPIClipboardUseEvents_Vtbl, 0xd559f59a_7a27_4138_8763_247ce5f659a8); +windows_core::imp::define_interface!(IRDPSRAPIClipboardUseEvents, IRDPSRAPIClipboardUseEvents_Vtbl, 0xd559f59a_7a27_4138_8763_247ce5f659a8); windows_core::imp::interface_hierarchy!(IRDPSRAPIClipboardUseEvents, windows_core::IUnknown); impl IRDPSRAPIClipboardUseEvents { #[cfg(feature = "Win32_System_Com")] @@ -274,7 +274,7 @@ pub struct IRDPSRAPIClipboardUseEvents_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OnPasteFromClipboard: usize, } -windows_core::imp::com_interface!(IRDPSRAPIDebug, IRDPSRAPIDebug_Vtbl, 0xaa1e42b5_496d_4ca4_a690_348dcb2ec4ad); +windows_core::imp::define_interface!(IRDPSRAPIDebug, IRDPSRAPIDebug_Vtbl, 0xaa1e42b5_496d_4ca4_a690_348dcb2ec4ad); windows_core::imp::interface_hierarchy!(IRDPSRAPIDebug, windows_core::IUnknown); impl IRDPSRAPIDebug { pub unsafe fn SetCLXCmdLine(&self, clxcmdline: P0) -> windows_core::Result<()> @@ -295,7 +295,7 @@ pub struct IRDPSRAPIDebug_Vtbl { pub CLXCmdLine: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIFrameBuffer, IRDPSRAPIFrameBuffer_Vtbl, 0x3d67e7d2_b27b_448e_81b3_c6110ed8b4be); +windows_core::imp::define_interface!(IRDPSRAPIFrameBuffer, IRDPSRAPIFrameBuffer_Vtbl, 0x3d67e7d2_b27b_448e_81b3_c6110ed8b4be); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIFrameBuffer, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -331,7 +331,7 @@ pub struct IRDPSRAPIFrameBuffer_Vtbl { GetFrameBufferBits: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIInvitation, IRDPSRAPIInvitation_Vtbl, 0x4fac1d43_fc51_45bb_b1b4_2b53aa562fa3); +windows_core::imp::define_interface!(IRDPSRAPIInvitation, IRDPSRAPIInvitation_Vtbl, 0x4fac1d43_fc51_45bb_b1b4_2b53aa562fa3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIInvitation, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -379,7 +379,7 @@ pub struct IRDPSRAPIInvitation_Vtbl { pub SetRevoked: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIInvitationManager, IRDPSRAPIInvitationManager_Vtbl, 0x4722b049_92c3_4c2d_8a65_f7348f644dcf); +windows_core::imp::define_interface!(IRDPSRAPIInvitationManager, IRDPSRAPIInvitationManager_Vtbl, 0x4722b049_92c3_4c2d_8a65_f7348f644dcf); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIInvitationManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -426,7 +426,7 @@ pub struct IRDPSRAPIInvitationManager_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateInvitation: usize, } -windows_core::imp::com_interface!(IRDPSRAPIPerfCounterLogger, IRDPSRAPIPerfCounterLogger_Vtbl, 0x071c2533_0fa4_4e8f_ae83_9c10b4305ab5); +windows_core::imp::define_interface!(IRDPSRAPIPerfCounterLogger, IRDPSRAPIPerfCounterLogger_Vtbl, 0x071c2533_0fa4_4e8f_ae83_9c10b4305ab5); windows_core::imp::interface_hierarchy!(IRDPSRAPIPerfCounterLogger, windows_core::IUnknown); impl IRDPSRAPIPerfCounterLogger { pub unsafe fn LogValue(&self, lvalue: i64) -> windows_core::Result<()> { @@ -438,7 +438,7 @@ pub struct IRDPSRAPIPerfCounterLogger_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub LogValue: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRDPSRAPIPerfCounterLoggingManager, IRDPSRAPIPerfCounterLoggingManager_Vtbl, 0x9a512c86_ac6e_4a8e_b1a4_fcef363f6e64); +windows_core::imp::define_interface!(IRDPSRAPIPerfCounterLoggingManager, IRDPSRAPIPerfCounterLoggingManager_Vtbl, 0x9a512c86_ac6e_4a8e_b1a4_fcef363f6e64); windows_core::imp::interface_hierarchy!(IRDPSRAPIPerfCounterLoggingManager, windows_core::IUnknown); impl IRDPSRAPIPerfCounterLoggingManager { pub unsafe fn CreateLogger(&self, bstrcountername: P0) -> windows_core::Result @@ -455,7 +455,7 @@ pub struct IRDPSRAPIPerfCounterLoggingManager_Vtbl { pub CreateLogger: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPISessionProperties, IRDPSRAPISessionProperties_Vtbl, 0x339b24f2_9bc0_4f16_9aac_f165433d13d4); +windows_core::imp::define_interface!(IRDPSRAPISessionProperties, IRDPSRAPISessionProperties_Vtbl, 0x339b24f2_9bc0_4f16_9aac_f165433d13d4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPISessionProperties, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -483,7 +483,7 @@ pub struct IRDPSRAPISessionProperties_Vtbl { pub put_Property: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPISharingSession, IRDPSRAPISharingSession_Vtbl, 0xeeb20886_e470_4cf6_842b_2739c0ec5cfb); +windows_core::imp::define_interface!(IRDPSRAPISharingSession, IRDPSRAPISharingSession_Vtbl, 0xeeb20886_e470_4cf6_842b_2739c0ec5cfb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPISharingSession, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -580,7 +580,7 @@ pub struct IRDPSRAPISharingSession_Vtbl { pub GetDesktopSharedRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32, *mut i32, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPISharingSession2, IRDPSRAPISharingSession2_Vtbl, 0xfee4ee57_e3e8_4205_8fb0_8fd1d0675c21); +windows_core::imp::define_interface!(IRDPSRAPISharingSession2, IRDPSRAPISharingSession2_Vtbl, 0xfee4ee57_e3e8_4205_8fb0_8fd1d0675c21); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPISharingSession2, windows_core::IUnknown, super::Com::IDispatch, IRDPSRAPISharingSession); #[cfg(feature = "Win32_System_Com")] @@ -677,7 +677,7 @@ pub struct IRDPSRAPISharingSession2_Vtbl { SendControlLevelChangeResponse: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPITcpConnectionInfo, IRDPSRAPITcpConnectionInfo_Vtbl, 0xf74049a4_3d06_4028_8193_0a8c29bc2452); +windows_core::imp::define_interface!(IRDPSRAPITcpConnectionInfo, IRDPSRAPITcpConnectionInfo_Vtbl, 0xf74049a4_3d06_4028_8193_0a8c29bc2452); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPITcpConnectionInfo, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -713,7 +713,7 @@ pub struct IRDPSRAPITcpConnectionInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IRDPSRAPITransportStream, IRDPSRAPITransportStream_Vtbl, 0x36cfa065_43bb_4ef7_aed7_9b88a5053036); +windows_core::imp::define_interface!(IRDPSRAPITransportStream, IRDPSRAPITransportStream_Vtbl, 0x36cfa065_43bb_4ef7_aed7_9b88a5053036); windows_core::imp::interface_hierarchy!(IRDPSRAPITransportStream, windows_core::IUnknown); impl IRDPSRAPITransportStream { pub unsafe fn AllocBuffer(&self, maxpayload: i32) -> windows_core::Result { @@ -758,7 +758,7 @@ pub struct IRDPSRAPITransportStream_Vtbl { pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRDPSRAPITransportStreamBuffer, IRDPSRAPITransportStreamBuffer_Vtbl, 0x81c80290_5085_44b0_b460_f865c39cb4a9); +windows_core::imp::define_interface!(IRDPSRAPITransportStreamBuffer, IRDPSRAPITransportStreamBuffer_Vtbl, 0x81c80290_5085_44b0_b460_f865c39cb4a9); windows_core::imp::interface_hierarchy!(IRDPSRAPITransportStreamBuffer, windows_core::IUnknown); impl IRDPSRAPITransportStreamBuffer { pub unsafe fn Storage(&self) -> windows_core::Result<*mut u8> { @@ -815,7 +815,7 @@ pub struct IRDPSRAPITransportStreamBuffer_Vtbl { pub Context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRDPSRAPITransportStreamEvents, IRDPSRAPITransportStreamEvents_Vtbl, 0xea81c254_f5af_4e40_982e_3e63bb595276); +windows_core::imp::define_interface!(IRDPSRAPITransportStreamEvents, IRDPSRAPITransportStreamEvents_Vtbl, 0xea81c254_f5af_4e40_982e_3e63bb595276); windows_core::imp::interface_hierarchy!(IRDPSRAPITransportStreamEvents, windows_core::IUnknown); impl IRDPSRAPITransportStreamEvents { pub unsafe fn OnWriteCompleted(&self, pbuffer: P0) @@ -842,7 +842,7 @@ pub struct IRDPSRAPITransportStreamEvents_Vtbl { pub OnStreamClosed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT), } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIViewer, IRDPSRAPIViewer_Vtbl, 0xc6bfcd38_8ce9_404d_8ae8_f31d00c65cb5); +windows_core::imp::define_interface!(IRDPSRAPIViewer, IRDPSRAPIViewer_Vtbl, 0xc6bfcd38_8ce9_404d_8ae8_f31d00c65cb5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIViewer, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -954,7 +954,7 @@ pub struct IRDPSRAPIViewer_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIVirtualChannel, IRDPSRAPIVirtualChannel_Vtbl, 0x05e12f95_28b3_4c9a_8780_d0248574a1e0); +windows_core::imp::define_interface!(IRDPSRAPIVirtualChannel, IRDPSRAPIVirtualChannel_Vtbl, 0x05e12f95_28b3_4c9a_8780_d0248574a1e0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIVirtualChannel, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -992,7 +992,7 @@ pub struct IRDPSRAPIVirtualChannel_Vtbl { pub Priority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CHANNEL_PRIORITY) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIVirtualChannelManager, IRDPSRAPIVirtualChannelManager_Vtbl, 0x0d11c661_5d0d_4ee4_89df_2166ae1fdfed); +windows_core::imp::define_interface!(IRDPSRAPIVirtualChannelManager, IRDPSRAPIVirtualChannelManager_Vtbl, 0x0d11c661_5d0d_4ee4_89df_2166ae1fdfed); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIVirtualChannelManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1033,7 +1033,7 @@ pub struct IRDPSRAPIVirtualChannelManager_Vtbl { CreateVirtualChannel: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIWindow, IRDPSRAPIWindow_Vtbl, 0xbeafe0f9_c77b_4933_ba9f_a24cddcc27cf); +windows_core::imp::define_interface!(IRDPSRAPIWindow, IRDPSRAPIWindow_Vtbl, 0xbeafe0f9_c77b_4933_ba9f_a24cddcc27cf); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIWindow, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1085,7 +1085,7 @@ pub struct IRDPSRAPIWindow_Vtbl { pub Flags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRDPSRAPIWindowList, IRDPSRAPIWindowList_Vtbl, 0x8a05ce44_715a_4116_a189_a118f30a07bd); +windows_core::imp::define_interface!(IRDPSRAPIWindowList, IRDPSRAPIWindowList_Vtbl, 0x8a05ce44_715a_4116_a189_a118f30a07bd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRDPSRAPIWindowList, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1110,7 +1110,7 @@ pub struct IRDPSRAPIWindowList_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] get_Item: usize, } -windows_core::imp::com_interface!(IRDPViewerInputSink, IRDPViewerInputSink_Vtbl, 0xbb590853_a6c5_4a7b_8dd4_76b69eea12d5); +windows_core::imp::define_interface!(IRDPViewerInputSink, IRDPViewerInputSink_Vtbl, 0xbb590853_a6c5_4a7b_8dd4_76b69eea12d5); windows_core::imp::interface_hierarchy!(IRDPViewerInputSink, windows_core::IUnknown); impl IRDPViewerInputSink { pub unsafe fn SendMouseButtonEvent(&self, buttontype: RDPSRAPI_MOUSE_BUTTON_TYPE, vbbuttondown: P0, xpos: u32, ypos: u32) -> windows_core::Result<()> @@ -1159,7 +1159,7 @@ pub struct IRDPViewerInputSink_Vtbl { pub EndTouchFrame: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_IRDPSessionEvents, _IRDPSessionEvents_Vtbl, 0x98a97042_6698_40e9_8efd_b3200990004b); +windows_core::imp::define_interface!(_IRDPSessionEvents, _IRDPSessionEvents_Vtbl, 0x98a97042_6698_40e9_8efd_b3200990004b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_IRDPSessionEvents, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 e2fbd06df8..533ac184d3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICorProfilerAssemblyReferenceProvider, ICorProfilerAssemblyReferenceProvider_Vtbl, 0x66a78c24_2eef_4f65_b45f_dd1d8038bf3c); +windows_core::imp::define_interface!(ICorProfilerAssemblyReferenceProvider, ICorProfilerAssemblyReferenceProvider_Vtbl, 0x66a78c24_2eef_4f65_b45f_dd1d8038bf3c); windows_core::imp::interface_hierarchy!(ICorProfilerAssemblyReferenceProvider, windows_core::IUnknown); impl ICorProfilerAssemblyReferenceProvider { #[cfg(feature = "Win32_System_WinRT_Metadata")] @@ -14,7 +14,7 @@ pub struct ICorProfilerAssemblyReferenceProvider_Vtbl { #[cfg(not(feature = "Win32_System_WinRT_Metadata"))] AddAssemblyReference: usize, } -windows_core::imp::com_interface!(ICorProfilerCallback, ICorProfilerCallback_Vtbl, 0x176fbed1_a55c_4796_98ca_a9da0ef883e7); +windows_core::imp::define_interface!(ICorProfilerCallback, ICorProfilerCallback_Vtbl, 0x176fbed1_a55c_4796_98ca_a9da0ef883e7); windows_core::imp::interface_hierarchy!(ICorProfilerCallback, windows_core::IUnknown); impl ICorProfilerCallback { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> windows_core::Result<()> @@ -321,7 +321,7 @@ pub struct ICorProfilerCallback_Vtbl { pub ExceptionCLRCatcherFound: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ExceptionCLRCatcherExecute: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerCallback10, ICorProfilerCallback10_Vtbl, 0xcec5b60e_c69c_495f_87f6_84d28ee16ffb); +windows_core::imp::define_interface!(ICorProfilerCallback10, ICorProfilerCallback10_Vtbl, 0xcec5b60e_c69c_495f_87f6_84d28ee16ffb); windows_core::imp::interface_hierarchy!(ICorProfilerCallback10, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7, ICorProfilerCallback8, ICorProfilerCallback9); impl ICorProfilerCallback10 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> windows_core::Result<()> @@ -658,7 +658,7 @@ pub struct ICorProfilerCallback10_Vtbl { pub EventPipeEventDelivered: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, u32, u32, *const u8, u32, *const u8, *const windows_core::GUID, *const windows_core::GUID, usize, u32, *const usize) -> windows_core::HRESULT, pub EventPipeProviderCreated: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerCallback11, ICorProfilerCallback11_Vtbl, 0x42350846_aaed_47f7_b128_fd0c98881cde); +windows_core::imp::define_interface!(ICorProfilerCallback11, ICorProfilerCallback11_Vtbl, 0x42350846_aaed_47f7_b128_fd0c98881cde); windows_core::imp::interface_hierarchy!(ICorProfilerCallback11, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7, ICorProfilerCallback8, ICorProfilerCallback9, ICorProfilerCallback10); impl ICorProfilerCallback11 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> windows_core::Result<()> @@ -997,7 +997,7 @@ pub struct ICorProfilerCallback11_Vtbl { pub base__: ICorProfilerCallback10_Vtbl, pub LoadAsNotificationOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerCallback2, ICorProfilerCallback2_Vtbl, 0x8a8cc829_ccf2_49fe_bbae_0f022228071a); +windows_core::imp::define_interface!(ICorProfilerCallback2, ICorProfilerCallback2_Vtbl, 0x8a8cc829_ccf2_49fe_bbae_0f022228071a); windows_core::imp::interface_hierarchy!(ICorProfilerCallback2, windows_core::IUnknown, ICorProfilerCallback); impl ICorProfilerCallback2 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> windows_core::Result<()> @@ -1267,7 +1267,7 @@ pub struct ICorProfilerCallback2_Vtbl { pub HandleCreated: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, pub HandleDestroyed: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerCallback3, ICorProfilerCallback3_Vtbl, 0x4fd2ed52_7731_4b8d_9469_03d2cc3086c5); +windows_core::imp::define_interface!(ICorProfilerCallback3, ICorProfilerCallback3_Vtbl, 0x4fd2ed52_7731_4b8d_9469_03d2cc3086c5); windows_core::imp::interface_hierarchy!(ICorProfilerCallback3, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2); impl ICorProfilerCallback3 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> windows_core::Result<()> @@ -1544,7 +1544,7 @@ pub struct ICorProfilerCallback3_Vtbl { pub ProfilerAttachComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ProfilerDetachSucceeded: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerCallback4, ICorProfilerCallback4_Vtbl, 0x7b63b2e3_107d_4d48_b2f6_f61e229470d2); +windows_core::imp::define_interface!(ICorProfilerCallback4, ICorProfilerCallback4_Vtbl, 0x7b63b2e3_107d_4d48_b2f6_f61e229470d2); windows_core::imp::interface_hierarchy!(ICorProfilerCallback4, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3); impl ICorProfilerCallback4 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> windows_core::Result<()> @@ -1851,7 +1851,7 @@ pub struct ICorProfilerCallback4_Vtbl { pub MovedReferences2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const usize, *const usize, *const usize) -> windows_core::HRESULT, pub SurvivingReferences2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const usize, *const usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerCallback5, ICorProfilerCallback5_Vtbl, 0x8dfba405_8c9f_45f8_bffa_83b14cef78b5); +windows_core::imp::define_interface!(ICorProfilerCallback5, ICorProfilerCallback5_Vtbl, 0x8dfba405_8c9f_45f8_bffa_83b14cef78b5); windows_core::imp::interface_hierarchy!(ICorProfilerCallback5, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4); impl ICorProfilerCallback5 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> windows_core::Result<()> @@ -2156,7 +2156,7 @@ pub struct ICorProfilerCallback5_Vtbl { pub base__: ICorProfilerCallback4_Vtbl, pub ConditionalWeakTableElementReferences: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const usize, *const usize, *const usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerCallback6, ICorProfilerCallback6_Vtbl, 0xfc13df4b_4448_4f4f_950c_ba8d19d00c36); +windows_core::imp::define_interface!(ICorProfilerCallback6, ICorProfilerCallback6_Vtbl, 0xfc13df4b_4448_4f4f_950c_ba8d19d00c36); windows_core::imp::interface_hierarchy!(ICorProfilerCallback6, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5); impl ICorProfilerCallback6 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> windows_core::Result<()> @@ -2468,7 +2468,7 @@ pub struct ICorProfilerCallback6_Vtbl { pub base__: ICorProfilerCallback5_Vtbl, pub GetAssemblyReferences: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerCallback7, ICorProfilerCallback7_Vtbl, 0xf76a2dba_1d52_4539_866c_2aa518f9efc3); +windows_core::imp::define_interface!(ICorProfilerCallback7, ICorProfilerCallback7_Vtbl, 0xf76a2dba_1d52_4539_866c_2aa518f9efc3); windows_core::imp::interface_hierarchy!(ICorProfilerCallback7, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6); impl ICorProfilerCallback7 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> windows_core::Result<()> @@ -2783,7 +2783,7 @@ pub struct ICorProfilerCallback7_Vtbl { pub base__: ICorProfilerCallback6_Vtbl, pub ModuleInMemorySymbolsUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerCallback8, ICorProfilerCallback8_Vtbl, 0x5bed9b15_c079_4d47_bfe2_215a140c07e0); +windows_core::imp::define_interface!(ICorProfilerCallback8, ICorProfilerCallback8_Vtbl, 0x5bed9b15_c079_4d47_bfe2_215a140c07e0); windows_core::imp::interface_hierarchy!(ICorProfilerCallback8, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7); impl ICorProfilerCallback8 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> windows_core::Result<()> @@ -3111,7 +3111,7 @@ pub struct ICorProfilerCallback8_Vtbl { pub DynamicMethodJITCompilationStarted: unsafe extern "system" fn(*mut core::ffi::c_void, usize, super::super::super::Foundation::BOOL, *const u8, u32) -> windows_core::HRESULT, pub DynamicMethodJITCompilationFinished: unsafe extern "system" fn(*mut core::ffi::c_void, usize, windows_core::HRESULT, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerCallback9, ICorProfilerCallback9_Vtbl, 0x27583ec3_c8f5_482f_8052_194b8ce4705a); +windows_core::imp::define_interface!(ICorProfilerCallback9, ICorProfilerCallback9_Vtbl, 0x27583ec3_c8f5_482f_8052_194b8ce4705a); windows_core::imp::interface_hierarchy!(ICorProfilerCallback9, windows_core::IUnknown, ICorProfilerCallback, ICorProfilerCallback2, ICorProfilerCallback3, ICorProfilerCallback4, ICorProfilerCallback5, ICorProfilerCallback6, ICorProfilerCallback7, ICorProfilerCallback8); impl ICorProfilerCallback9 { pub unsafe fn Initialize(&self, picorprofilerinfounk: P0) -> windows_core::Result<()> @@ -3441,7 +3441,7 @@ pub struct ICorProfilerCallback9_Vtbl { pub base__: ICorProfilerCallback8_Vtbl, pub DynamicMethodUnloaded: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerFunctionControl, ICorProfilerFunctionControl_Vtbl, 0xf0963021_e1ea_4732_8581_e01b0bd3c0c6); +windows_core::imp::define_interface!(ICorProfilerFunctionControl, ICorProfilerFunctionControl_Vtbl, 0xf0963021_e1ea_4732_8581_e01b0bd3c0c6); windows_core::imp::interface_hierarchy!(ICorProfilerFunctionControl, windows_core::IUnknown); impl ICorProfilerFunctionControl { pub unsafe fn SetCodegenFlags(&self, flags: u32) -> windows_core::Result<()> { @@ -3461,7 +3461,7 @@ pub struct ICorProfilerFunctionControl_Vtbl { pub SetILFunctionBody: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, pub SetILInstrumentedCodeMap: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const COR_IL_MAP) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerFunctionEnum, ICorProfilerFunctionEnum_Vtbl, 0xff71301a_b994_429d_a10b_b345a65280ef); +windows_core::imp::define_interface!(ICorProfilerFunctionEnum, ICorProfilerFunctionEnum_Vtbl, 0xff71301a_b994_429d_a10b_b345a65280ef); windows_core::imp::interface_hierarchy!(ICorProfilerFunctionEnum, windows_core::IUnknown); impl ICorProfilerFunctionEnum { pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result<()> { @@ -3491,7 +3491,7 @@ pub struct ICorProfilerFunctionEnum_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut COR_PRF_FUNCTION, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo, ICorProfilerInfo_Vtbl, 0x28b5557d_3f3f_48b4_90b2_5f9eea2f6c48); +windows_core::imp::define_interface!(ICorProfilerInfo, ICorProfilerInfo_Vtbl, 0x28b5557d_3f3f_48b4_90b2_5f9eea2f6c48); windows_core::imp::interface_hierarchy!(ICorProfilerInfo, windows_core::IUnknown); impl ICorProfilerInfo { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -3656,7 +3656,7 @@ pub struct ICorProfilerInfo_Vtbl { pub EndInprocDebugging: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetILToNativeMapping: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *mut u32, *mut COR_DEBUG_IL_TO_NATIVE_MAP) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo10, ICorProfilerInfo10_Vtbl, 0x2f1b5152_c869_40c9_aa5f_3abe026bd720); +windows_core::imp::define_interface!(ICorProfilerInfo10, ICorProfilerInfo10_Vtbl, 0x2f1b5152_c869_40c9_aa5f_3abe026bd720); windows_core::imp::interface_hierarchy!(ICorProfilerInfo10, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9); impl ICorProfilerInfo10 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -3997,7 +3997,7 @@ pub struct ICorProfilerInfo10_Vtbl { pub SuspendRuntime: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ResumeRuntime: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo11, ICorProfilerInfo11_Vtbl, 0x06398876_8987_4154_b621_40a00d6e4d04); +windows_core::imp::define_interface!(ICorProfilerInfo11, ICorProfilerInfo11_Vtbl, 0x06398876_8987_4154_b621_40a00d6e4d04); windows_core::imp::interface_hierarchy!(ICorProfilerInfo11, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9, ICorProfilerInfo10); impl ICorProfilerInfo11 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -4347,7 +4347,7 @@ pub struct ICorProfilerInfo11_Vtbl { pub GetEnvironmentVariableA: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut u32, windows_core::PWSTR) -> windows_core::HRESULT, pub SetEnvironmentVariable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo12, ICorProfilerInfo12_Vtbl, 0x27b24ccd_1cb1_47c5_96ee_98190dc30959); +windows_core::imp::define_interface!(ICorProfilerInfo12, ICorProfilerInfo12_Vtbl, 0x27b24ccd_1cb1_47c5_96ee_98190dc30959); windows_core::imp::interface_hierarchy!(ICorProfilerInfo12, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9, ICorProfilerInfo10, ICorProfilerInfo11); impl ICorProfilerInfo12 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -4736,7 +4736,7 @@ pub struct ICorProfilerInfo12_Vtbl { pub EventPipeDefineEvent: unsafe extern "system" fn(*mut core::ffi::c_void, usize, windows_core::PCWSTR, u32, u64, u32, u32, u8, super::super::super::Foundation::BOOL, u32, *const COR_PRF_EVENTPIPE_PARAM_DESC, *mut usize) -> windows_core::HRESULT, pub EventPipeWriteEvent: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *const COR_PRF_EVENT_DATA, *const windows_core::GUID, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo13, ICorProfilerInfo13_Vtbl, 0x6e6c7ee2_0701_4ec2_9d29_2e8733b66934); +windows_core::imp::define_interface!(ICorProfilerInfo13, ICorProfilerInfo13_Vtbl, 0x6e6c7ee2_0701_4ec2_9d29_2e8733b66934); windows_core::imp::interface_hierarchy!(ICorProfilerInfo13, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8, ICorProfilerInfo9, ICorProfilerInfo10, ICorProfilerInfo11, ICorProfilerInfo12); impl ICorProfilerInfo13 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -5131,7 +5131,7 @@ pub struct ICorProfilerInfo13_Vtbl { pub DestroyHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const core::ffi::c_void) -> windows_core::HRESULT, pub GetObjectIDFromHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const core::ffi::c_void, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo14, ICorProfilerInfo14_Vtbl, 0xf460e352_d76d_4fe9_835f_f6af9d6e862d); +windows_core::imp::define_interface!(ICorProfilerInfo14, ICorProfilerInfo14_Vtbl, 0xf460e352_d76d_4fe9_835f_f6af9d6e862d); 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 GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -5540,7 +5540,7 @@ pub struct ICorProfilerInfo14_Vtbl { pub GetNonGCHeapBounds: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut COR_PRF_NONGC_HEAP_RANGE) -> windows_core::HRESULT, pub EventPipeCreateProvider2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const EventPipeProviderCallback, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo2, ICorProfilerInfo2_Vtbl, 0xcc0935cd_a518_487d_b0bb_a93214e65478); +windows_core::imp::define_interface!(ICorProfilerInfo2, ICorProfilerInfo2_Vtbl, 0xcc0935cd_a518_487d_b0bb_a93214e65478); windows_core::imp::interface_hierarchy!(ICorProfilerInfo2, windows_core::IUnknown, ICorProfilerInfo); impl ICorProfilerInfo2 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -5765,7 +5765,7 @@ pub struct ICorProfilerInfo2_Vtbl { pub GetObjectGeneration: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut COR_PRF_GC_GENERATION_RANGE) -> windows_core::HRESULT, pub GetNotifiedExceptionClauseInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut COR_PRF_EX_CLAUSE_INFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo3, ICorProfilerInfo3_Vtbl, 0xb555ed4f_452a_4e54_8b39_b5360bad32a0); +windows_core::imp::define_interface!(ICorProfilerInfo3, ICorProfilerInfo3_Vtbl, 0xb555ed4f_452a_4e54_8b39_b5360bad32a0); windows_core::imp::interface_hierarchy!(ICorProfilerInfo3, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2); impl ICorProfilerInfo3 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -6025,7 +6025,7 @@ pub struct ICorProfilerInfo3_Vtbl { pub GetAppDomainsContainingModule: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *mut u32, *mut usize) -> windows_core::HRESULT, pub GetModuleInfo2: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut *mut u8, u32, *mut u32, windows_core::PWSTR, *mut usize, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo4, ICorProfilerInfo4_Vtbl, 0x0d8fdcaa_6257_47bf_b1bf_94dac88466ee); +windows_core::imp::define_interface!(ICorProfilerInfo4, ICorProfilerInfo4_Vtbl, 0x0d8fdcaa_6257_47bf_b1bf_94dac88466ee); windows_core::imp::interface_hierarchy!(ICorProfilerInfo4, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3); impl ICorProfilerInfo4 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -6314,7 +6314,7 @@ pub struct ICorProfilerInfo4_Vtbl { pub EnumJITedFunctions2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetObjectSize2: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo5, ICorProfilerInfo5_Vtbl, 0x07602928_ce38_4b83_81e7_74adaf781214); +windows_core::imp::define_interface!(ICorProfilerInfo5, ICorProfilerInfo5_Vtbl, 0x07602928_ce38_4b83_81e7_74adaf781214); windows_core::imp::interface_hierarchy!(ICorProfilerInfo5, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4); impl ICorProfilerInfo5 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -6601,7 +6601,7 @@ pub struct ICorProfilerInfo5_Vtbl { pub GetEventMask2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub SetEventMask2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo6, ICorProfilerInfo6_Vtbl, 0xf30a070d_bffb_46a7_b1d8_8781ef7b698a); +windows_core::imp::define_interface!(ICorProfilerInfo6, ICorProfilerInfo6_Vtbl, 0xf30a070d_bffb_46a7_b1d8_8781ef7b698a); windows_core::imp::interface_hierarchy!(ICorProfilerInfo6, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5); impl ICorProfilerInfo6 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -6890,7 +6890,7 @@ pub struct ICorProfilerInfo6_Vtbl { pub base__: ICorProfilerInfo5_Vtbl, pub EnumNgenModuleMethodsInliningThisMethod: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, u32, *mut super::super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo7, ICorProfilerInfo7_Vtbl, 0x9aeecc0d_63e0_4187_8c00_e312f503f663); +windows_core::imp::define_interface!(ICorProfilerInfo7, ICorProfilerInfo7_Vtbl, 0x9aeecc0d_63e0_4187_8c00_e312f503f663); windows_core::imp::interface_hierarchy!(ICorProfilerInfo7, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6); impl ICorProfilerInfo7 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -7191,7 +7191,7 @@ pub struct ICorProfilerInfo7_Vtbl { pub GetInMemorySymbolsLength: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut u32) -> windows_core::HRESULT, pub ReadInMemorySymbols: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *mut u8, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo8, ICorProfilerInfo8_Vtbl, 0xc5ac80a6_782e_4716_8044_39598c60cfbf); +windows_core::imp::define_interface!(ICorProfilerInfo8, ICorProfilerInfo8_Vtbl, 0xc5ac80a6_782e_4716_8044_39598c60cfbf); windows_core::imp::interface_hierarchy!(ICorProfilerInfo8, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7); impl ICorProfilerInfo8 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -7502,7 +7502,7 @@ pub struct ICorProfilerInfo8_Vtbl { pub GetFunctionFromIP3: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *mut usize, *mut usize) -> windows_core::HRESULT, pub GetDynamicFunctionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut usize, *mut *mut u8, *mut u32, u32, *mut u32, windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerInfo9, ICorProfilerInfo9_Vtbl, 0x008170db_f8cc_4796_9a51_dc8aa0b47012); +windows_core::imp::define_interface!(ICorProfilerInfo9, ICorProfilerInfo9_Vtbl, 0x008170db_f8cc_4796_9a51_dc8aa0b47012); windows_core::imp::interface_hierarchy!(ICorProfilerInfo9, windows_core::IUnknown, ICorProfilerInfo, ICorProfilerInfo2, ICorProfilerInfo3, ICorProfilerInfo4, ICorProfilerInfo5, ICorProfilerInfo6, ICorProfilerInfo7, ICorProfilerInfo8); impl ICorProfilerInfo9 { pub unsafe fn GetClassFromObject(&self, objectid: usize) -> windows_core::Result { @@ -7822,7 +7822,7 @@ pub struct ICorProfilerInfo9_Vtbl { pub GetILToNativeMapping3: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *mut u32, *mut COR_DEBUG_IL_TO_NATIVE_MAP) -> windows_core::HRESULT, pub GetCodeInfo4: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *mut u32, *mut COR_PRF_CODE_INFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerMethodEnum, ICorProfilerMethodEnum_Vtbl, 0xfccee788_0088_454b_a811_c99f298d1942); +windows_core::imp::define_interface!(ICorProfilerMethodEnum, ICorProfilerMethodEnum_Vtbl, 0xfccee788_0088_454b_a811_c99f298d1942); windows_core::imp::interface_hierarchy!(ICorProfilerMethodEnum, windows_core::IUnknown); impl ICorProfilerMethodEnum { pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result<()> { @@ -7852,7 +7852,7 @@ pub struct ICorProfilerMethodEnum_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut COR_PRF_METHOD, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerModuleEnum, ICorProfilerModuleEnum_Vtbl, 0xb0266d75_2081_4493_af7f_028ba34db891); +windows_core::imp::define_interface!(ICorProfilerModuleEnum, ICorProfilerModuleEnum_Vtbl, 0xb0266d75_2081_4493_af7f_028ba34db891); windows_core::imp::interface_hierarchy!(ICorProfilerModuleEnum, windows_core::IUnknown); impl ICorProfilerModuleEnum { pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result<()> { @@ -7882,7 +7882,7 @@ pub struct ICorProfilerModuleEnum_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut usize, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerObjectEnum, ICorProfilerObjectEnum_Vtbl, 0x2c6269bd_2d13_4321_ae12_6686365fd6af); +windows_core::imp::define_interface!(ICorProfilerObjectEnum, ICorProfilerObjectEnum_Vtbl, 0x2c6269bd_2d13_4321_ae12_6686365fd6af); windows_core::imp::interface_hierarchy!(ICorProfilerObjectEnum, windows_core::IUnknown); impl ICorProfilerObjectEnum { pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result<()> { @@ -7912,7 +7912,7 @@ pub struct ICorProfilerObjectEnum_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut usize, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorProfilerThreadEnum, ICorProfilerThreadEnum_Vtbl, 0x571194f7_25ed_419f_aa8b_7016b3159701); +windows_core::imp::define_interface!(ICorProfilerThreadEnum, ICorProfilerThreadEnum_Vtbl, 0x571194f7_25ed_419f_aa8b_7016b3159701); windows_core::imp::interface_hierarchy!(ICorProfilerThreadEnum, windows_core::IUnknown); impl ICorProfilerThreadEnum { pub unsafe fn Skip(&self, celt: u32) -> windows_core::Result<()> { @@ -7942,7 +7942,7 @@ pub struct ICorProfilerThreadEnum_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut usize, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMethodMalloc, IMethodMalloc_Vtbl, 0xa0efb28b_6ee2_4d7b_b983_a75ef7beedb8); +windows_core::imp::define_interface!(IMethodMalloc, IMethodMalloc_Vtbl, 0xa0efb28b_6ee2_4d7b_b983_a75ef7beedb8); windows_core::imp::interface_hierarchy!(IMethodMalloc, windows_core::IUnknown); impl IMethodMalloc { pub unsafe fn Alloc(&self, cb: u32) -> *mut core::ffi::c_void { 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 eb40d5c65b..a2fc98775f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(AsyncIDebugApplicationNodeEvents, AsyncIDebugApplicationNodeEvents_Vtbl, 0xa2e3aa3b_aa8d_4ebf_84cd_648b737b8c13); +windows_core::imp::define_interface!(AsyncIDebugApplicationNodeEvents, AsyncIDebugApplicationNodeEvents_Vtbl, 0xa2e3aa3b_aa8d_4ebf_84cd_648b737b8c13); windows_core::imp::interface_hierarchy!(AsyncIDebugApplicationNodeEvents, windows_core::IUnknown); impl AsyncIDebugApplicationNodeEvents { pub unsafe fn Begin_onAddChild(&self, prddpchild: P0) -> windows_core::Result<()> @@ -47,7 +47,7 @@ pub struct AsyncIDebugApplicationNodeEvents_Vtbl { pub Begin_onAttach: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Finish_onAttach: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScript, IActiveScript_Vtbl, 0xbb1a2ae1_a4f9_11cf_8f20_00805f2cd064); +windows_core::imp::define_interface!(IActiveScript, IActiveScript_Vtbl, 0xbb1a2ae1_a4f9_11cf_8f20_00805f2cd064); windows_core::imp::interface_hierarchy!(IActiveScript, windows_core::IUnknown); impl IActiveScript { pub unsafe fn SetScriptSite(&self, pass: P0) -> windows_core::Result<()> @@ -134,7 +134,7 @@ pub struct IActiveScript_Vtbl { InterruptScriptThread: usize, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptAuthor, IActiveScriptAuthor_Vtbl, 0x9c109da0_7006_11d1_b36c_00a0c911e8b2); +windows_core::imp::define_interface!(IActiveScriptAuthor, IActiveScriptAuthor_Vtbl, 0x9c109da0_7006_11d1_b36c_00a0c911e8b2); windows_core::imp::interface_hierarchy!(IActiveScriptAuthor, windows_core::IUnknown); impl IActiveScriptAuthor { #[cfg(feature = "Win32_System_Com")] @@ -248,7 +248,7 @@ pub struct IActiveScriptAuthor_Vtbl { 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, } -windows_core::imp::com_interface!(IActiveScriptAuthorProcedure, IActiveScriptAuthorProcedure_Vtbl, 0x7e2d4b70_bd9a_11d0_9336_00a0c90dcaa9); +windows_core::imp::define_interface!(IActiveScriptAuthorProcedure, IActiveScriptAuthorProcedure_Vtbl, 0x7e2d4b70_bd9a_11d0_9336_00a0c90dcaa9); windows_core::imp::interface_hierarchy!(IActiveScriptAuthorProcedure, windows_core::IUnknown); impl IActiveScriptAuthorProcedure { #[cfg(feature = "Win32_System_Com")] @@ -272,7 +272,7 @@ pub struct IActiveScriptAuthorProcedure_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ParseProcedureText: usize, } -windows_core::imp::com_interface!(IActiveScriptDebug32, IActiveScriptDebug32_Vtbl, 0x51973c10_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IActiveScriptDebug32, IActiveScriptDebug32_Vtbl, 0x51973c10_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IActiveScriptDebug32, windows_core::IUnknown); impl IActiveScriptDebug32 { pub unsafe fn GetScriptTextAttributes(&self, pstrcode: P0, unumcodechars: u32, pstrdelimiter: P1, dwflags: u32, pattr: *mut u16) -> windows_core::Result<()> @@ -301,7 +301,7 @@ pub struct IActiveScriptDebug32_Vtbl { pub GetScriptletTextAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32, *mut u16) -> windows_core::HRESULT, pub EnumCodeContextsOfPosition: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptDebug64, IActiveScriptDebug64_Vtbl, 0xbc437e23_f5b8_47f4_bb79_7d1ce5483b86); +windows_core::imp::define_interface!(IActiveScriptDebug64, IActiveScriptDebug64_Vtbl, 0xbc437e23_f5b8_47f4_bb79_7d1ce5483b86); windows_core::imp::interface_hierarchy!(IActiveScriptDebug64, windows_core::IUnknown); impl IActiveScriptDebug64 { pub unsafe fn GetScriptTextAttributes(&self, pstrcode: P0, unumcodechars: u32, pstrdelimiter: P1, dwflags: u32, pattr: *mut u16) -> windows_core::Result<()> @@ -330,7 +330,7 @@ pub struct IActiveScriptDebug64_Vtbl { pub GetScriptletTextAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32, *mut u16) -> windows_core::HRESULT, pub EnumCodeContextsOfPosition: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptEncode, IActiveScriptEncode_Vtbl, 0xbb1a2ae3_a4f9_11cf_8f20_00805f2cd064); +windows_core::imp::define_interface!(IActiveScriptEncode, IActiveScriptEncode_Vtbl, 0xbb1a2ae3_a4f9_11cf_8f20_00805f2cd064); windows_core::imp::interface_hierarchy!(IActiveScriptEncode, windows_core::IUnknown); impl IActiveScriptEncode { pub unsafe fn EncodeSection(&self, pchin: P0, cchin: u32, pchout: windows_core::PWSTR, cchout: u32, pcchret: *mut u32) -> windows_core::Result<()> @@ -356,7 +356,7 @@ pub struct IActiveScriptEncode_Vtbl { 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, } -windows_core::imp::com_interface!(IActiveScriptError, IActiveScriptError_Vtbl, 0xeae1ba61_a4ed_11cf_8f20_00805f2cd064); +windows_core::imp::define_interface!(IActiveScriptError, IActiveScriptError_Vtbl, 0xeae1ba61_a4ed_11cf_8f20_00805f2cd064); windows_core::imp::interface_hierarchy!(IActiveScriptError, windows_core::IUnknown); impl IActiveScriptError { #[cfg(feature = "Win32_System_Com")] @@ -381,7 +381,7 @@ pub struct IActiveScriptError_Vtbl { 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, } -windows_core::imp::com_interface!(IActiveScriptError64, IActiveScriptError64_Vtbl, 0xb21fb2a1_5b8f_4963_8c21_21450f84ed7f); +windows_core::imp::define_interface!(IActiveScriptError64, IActiveScriptError64_Vtbl, 0xb21fb2a1_5b8f_4963_8c21_21450f84ed7f); windows_core::imp::interface_hierarchy!(IActiveScriptError64, windows_core::IUnknown, IActiveScriptError); impl IActiveScriptError64 { #[cfg(feature = "Win32_System_Com")] @@ -404,7 +404,7 @@ pub struct IActiveScriptError64_Vtbl { pub base__: IActiveScriptError_Vtbl, pub GetSourcePosition64: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptErrorDebug, IActiveScriptErrorDebug_Vtbl, 0x51973c12_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IActiveScriptErrorDebug, IActiveScriptErrorDebug_Vtbl, 0x51973c12_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IActiveScriptErrorDebug, windows_core::IUnknown, IActiveScriptError); impl IActiveScriptErrorDebug { #[cfg(feature = "Win32_System_Com")] @@ -433,7 +433,7 @@ pub struct IActiveScriptErrorDebug_Vtbl { pub GetDocumentContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetStackFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptErrorDebug110, IActiveScriptErrorDebug110_Vtbl, 0x516e42b6_89a8_4530_937b_5f0708431442); +windows_core::imp::define_interface!(IActiveScriptErrorDebug110, IActiveScriptErrorDebug110_Vtbl, 0x516e42b6_89a8_4530_937b_5f0708431442); windows_core::imp::interface_hierarchy!(IActiveScriptErrorDebug110, windows_core::IUnknown); impl IActiveScriptErrorDebug110 { pub unsafe fn GetExceptionThrownKind(&self) -> windows_core::Result { @@ -446,7 +446,7 @@ pub struct IActiveScriptErrorDebug110_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetExceptionThrownKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SCRIPT_ERROR_DEBUG_EXCEPTION_THROWN_KIND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptGarbageCollector, IActiveScriptGarbageCollector_Vtbl, 0x6aa2c4a0_2b53_11d4_a2a0_00104bd35090); +windows_core::imp::define_interface!(IActiveScriptGarbageCollector, IActiveScriptGarbageCollector_Vtbl, 0x6aa2c4a0_2b53_11d4_a2a0_00104bd35090); windows_core::imp::interface_hierarchy!(IActiveScriptGarbageCollector, windows_core::IUnknown); impl IActiveScriptGarbageCollector { pub unsafe fn CollectGarbage(&self, scriptgctype: SCRIPTGCTYPE) -> windows_core::Result<()> { @@ -458,7 +458,7 @@ pub struct IActiveScriptGarbageCollector_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CollectGarbage: unsafe extern "system" fn(*mut core::ffi::c_void, SCRIPTGCTYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptHostEncode, IActiveScriptHostEncode_Vtbl, 0xbee9b76e_cfe3_11d1_b747_00c04fc2b085); +windows_core::imp::define_interface!(IActiveScriptHostEncode, IActiveScriptHostEncode_Vtbl, 0xbee9b76e_cfe3_11d1_b747_00c04fc2b085); windows_core::imp::interface_hierarchy!(IActiveScriptHostEncode, windows_core::IUnknown); impl IActiveScriptHostEncode { pub unsafe fn EncodeScriptHostFile(&self, bstrinfile: P0, pbstroutfile: *mut windows_core::BSTR, cflags: u32, bstrdefaultlang: P1) -> windows_core::Result<()> @@ -474,7 +474,7 @@ 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, } -windows_core::imp::com_interface!(IActiveScriptParse32, IActiveScriptParse32_Vtbl, 0xbb1a2ae2_a4f9_11cf_8f20_00805f2cd064); +windows_core::imp::define_interface!(IActiveScriptParse32, IActiveScriptParse32_Vtbl, 0xbb1a2ae2_a4f9_11cf_8f20_00805f2cd064); windows_core::imp::interface_hierarchy!(IActiveScriptParse32, windows_core::IUnknown); impl IActiveScriptParse32 { pub unsafe fn InitNew(&self) -> windows_core::Result<()> { @@ -516,7 +516,7 @@ pub struct IActiveScriptParse32_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ParseScriptText: usize, } -windows_core::imp::com_interface!(IActiveScriptParse64, IActiveScriptParse64_Vtbl, 0xc7ef7658_e1ee_480e_97ea_d52cb4d76d17); +windows_core::imp::define_interface!(IActiveScriptParse64, IActiveScriptParse64_Vtbl, 0xc7ef7658_e1ee_480e_97ea_d52cb4d76d17); windows_core::imp::interface_hierarchy!(IActiveScriptParse64, windows_core::IUnknown); impl IActiveScriptParse64 { pub unsafe fn InitNew(&self) -> windows_core::Result<()> { @@ -558,7 +558,7 @@ pub struct IActiveScriptParse64_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ParseScriptText: usize, } -windows_core::imp::com_interface!(IActiveScriptParseProcedure2_32, IActiveScriptParseProcedure2_32_Vtbl, 0x71ee5b20_fb04_11d1_b3a8_00a0c911e8b2); +windows_core::imp::define_interface!(IActiveScriptParseProcedure2_32, IActiveScriptParseProcedure2_32_Vtbl, 0x71ee5b20_fb04_11d1_b3a8_00a0c911e8b2); windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure2_32, windows_core::IUnknown, IActiveScriptParseProcedure32); impl IActiveScriptParseProcedure2_32 { #[cfg(feature = "Win32_System_Com")] @@ -579,7 +579,7 @@ impl IActiveScriptParseProcedure2_32 { pub struct IActiveScriptParseProcedure2_32_Vtbl { pub base__: IActiveScriptParseProcedure32_Vtbl, } -windows_core::imp::com_interface!(IActiveScriptParseProcedure2_64, IActiveScriptParseProcedure2_64_Vtbl, 0xfe7c4271_210c_448d_9f54_76dab7047b28); +windows_core::imp::define_interface!(IActiveScriptParseProcedure2_64, IActiveScriptParseProcedure2_64_Vtbl, 0xfe7c4271_210c_448d_9f54_76dab7047b28); windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure2_64, windows_core::IUnknown, IActiveScriptParseProcedure64); impl IActiveScriptParseProcedure2_64 { #[cfg(feature = "Win32_System_Com")] @@ -600,7 +600,7 @@ impl IActiveScriptParseProcedure2_64 { pub struct IActiveScriptParseProcedure2_64_Vtbl { pub base__: IActiveScriptParseProcedure64_Vtbl, } -windows_core::imp::com_interface!(IActiveScriptParseProcedure32, IActiveScriptParseProcedure32_Vtbl, 0xaa5b6a80_b834_11d0_932f_00a0c90dcaa9); +windows_core::imp::define_interface!(IActiveScriptParseProcedure32, IActiveScriptParseProcedure32_Vtbl, 0xaa5b6a80_b834_11d0_932f_00a0c90dcaa9); windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure32, windows_core::IUnknown); impl IActiveScriptParseProcedure32 { #[cfg(feature = "Win32_System_Com")] @@ -625,7 +625,7 @@ pub struct IActiveScriptParseProcedure32_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ParseProcedureText: usize, } -windows_core::imp::com_interface!(IActiveScriptParseProcedure64, IActiveScriptParseProcedure64_Vtbl, 0xc64713b6_e029_4cc5_9200_438b72890b6a); +windows_core::imp::define_interface!(IActiveScriptParseProcedure64, IActiveScriptParseProcedure64_Vtbl, 0xc64713b6_e029_4cc5_9200_438b72890b6a); windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedure64, windows_core::IUnknown); impl IActiveScriptParseProcedure64 { #[cfg(feature = "Win32_System_Com")] @@ -650,7 +650,7 @@ pub struct IActiveScriptParseProcedure64_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ParseProcedureText: usize, } -windows_core::imp::com_interface!(IActiveScriptParseProcedureOld32, IActiveScriptParseProcedureOld32_Vtbl, 0x1cff0050_6fdd_11d0_9328_00a0c90dcaa9); +windows_core::imp::define_interface!(IActiveScriptParseProcedureOld32, IActiveScriptParseProcedureOld32_Vtbl, 0x1cff0050_6fdd_11d0_9328_00a0c90dcaa9); windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedureOld32, windows_core::IUnknown); impl IActiveScriptParseProcedureOld32 { #[cfg(feature = "Win32_System_Com")] @@ -674,7 +674,7 @@ pub struct IActiveScriptParseProcedureOld32_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ParseProcedureText: usize, } -windows_core::imp::com_interface!(IActiveScriptParseProcedureOld64, IActiveScriptParseProcedureOld64_Vtbl, 0x21f57128_08c9_4638_ba12_22d15d88dc5c); +windows_core::imp::define_interface!(IActiveScriptParseProcedureOld64, IActiveScriptParseProcedureOld64_Vtbl, 0x21f57128_08c9_4638_ba12_22d15d88dc5c); windows_core::imp::interface_hierarchy!(IActiveScriptParseProcedureOld64, windows_core::IUnknown); impl IActiveScriptParseProcedureOld64 { #[cfg(feature = "Win32_System_Com")] @@ -698,7 +698,7 @@ pub struct IActiveScriptParseProcedureOld64_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ParseProcedureText: usize, } -windows_core::imp::com_interface!(IActiveScriptProfilerCallback, IActiveScriptProfilerCallback_Vtbl, 0x740eca23_7d9d_42e5_ba9d_f8b24b1c7a9b); +windows_core::imp::define_interface!(IActiveScriptProfilerCallback, IActiveScriptProfilerCallback_Vtbl, 0x740eca23_7d9d_42e5_ba9d_f8b24b1c7a9b); windows_core::imp::interface_hierarchy!(IActiveScriptProfilerCallback, windows_core::IUnknown); impl IActiveScriptProfilerCallback { pub unsafe fn Initialize(&self, dwcontext: u32) -> windows_core::Result<()> { @@ -738,7 +738,7 @@ pub struct IActiveScriptProfilerCallback_Vtbl { pub OnFunctionEnter: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub OnFunctionExit: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptProfilerCallback2, IActiveScriptProfilerCallback2_Vtbl, 0x31b7f8ad_a637_409c_b22f_040995b6103d); +windows_core::imp::define_interface!(IActiveScriptProfilerCallback2, IActiveScriptProfilerCallback2_Vtbl, 0x31b7f8ad_a637_409c_b22f_040995b6103d); windows_core::imp::interface_hierarchy!(IActiveScriptProfilerCallback2, windows_core::IUnknown, IActiveScriptProfilerCallback); impl IActiveScriptProfilerCallback2 { pub unsafe fn Initialize(&self, dwcontext: u32) -> windows_core::Result<()> { @@ -786,7 +786,7 @@ pub struct IActiveScriptProfilerCallback2_Vtbl { pub OnFunctionEnterByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, PROFILER_SCRIPT_TYPE) -> windows_core::HRESULT, pub OnFunctionExitByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, PROFILER_SCRIPT_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptProfilerCallback3, IActiveScriptProfilerCallback3_Vtbl, 0x6ac5ad25_2037_4687_91df_b59979d93d73); +windows_core::imp::define_interface!(IActiveScriptProfilerCallback3, IActiveScriptProfilerCallback3_Vtbl, 0x6ac5ad25_2037_4687_91df_b59979d93d73); windows_core::imp::interface_hierarchy!(IActiveScriptProfilerCallback3, windows_core::IUnknown, IActiveScriptProfilerCallback, IActiveScriptProfilerCallback2); impl IActiveScriptProfilerCallback3 { pub unsafe fn Initialize(&self, dwcontext: u32) -> windows_core::Result<()> { @@ -836,7 +836,7 @@ pub struct IActiveScriptProfilerCallback3_Vtbl { pub base__: IActiveScriptProfilerCallback2_Vtbl, pub SetWebWorkerId: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptProfilerControl, IActiveScriptProfilerControl_Vtbl, 0x784b5ff0_69b0_47d1_a7dc_2518f4230e90); +windows_core::imp::define_interface!(IActiveScriptProfilerControl, IActiveScriptProfilerControl_Vtbl, 0x784b5ff0_69b0_47d1_a7dc_2518f4230e90); windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl, windows_core::IUnknown); impl IActiveScriptProfilerControl { pub unsafe fn StartProfiling(&self, clsidprofilerobject: *const windows_core::GUID, dweventmask: u32, dwcontext: u32) -> windows_core::Result<()> { @@ -856,7 +856,7 @@ pub struct IActiveScriptProfilerControl_Vtbl { pub SetProfilerEventMask: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub StopProfiling: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptProfilerControl2, IActiveScriptProfilerControl2_Vtbl, 0x47810165_498f_40be_94f1_653557e9e7da); +windows_core::imp::define_interface!(IActiveScriptProfilerControl2, IActiveScriptProfilerControl2_Vtbl, 0x47810165_498f_40be_94f1_653557e9e7da); windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl2, windows_core::IUnknown, IActiveScriptProfilerControl); impl IActiveScriptProfilerControl2 { pub unsafe fn StartProfiling(&self, clsidprofilerobject: *const windows_core::GUID, dweventmask: u32, dwcontext: u32) -> windows_core::Result<()> { @@ -881,7 +881,7 @@ pub struct IActiveScriptProfilerControl2_Vtbl { pub CompleteProfilerStart: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub PrepareProfilerStop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptProfilerControl3, IActiveScriptProfilerControl3_Vtbl, 0x0b403015_f381_4023_a5d0_6fed076de716); +windows_core::imp::define_interface!(IActiveScriptProfilerControl3, IActiveScriptProfilerControl3_Vtbl, 0x0b403015_f381_4023_a5d0_6fed076de716); windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl3, windows_core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2); impl IActiveScriptProfilerControl3 { pub unsafe fn StartProfiling(&self, clsidprofilerobject: *const windows_core::GUID, dweventmask: u32, dwcontext: u32) -> windows_core::Result<()> { @@ -909,7 +909,7 @@ pub struct IActiveScriptProfilerControl3_Vtbl { pub base__: IActiveScriptProfilerControl2_Vtbl, pub EnumHeap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptProfilerControl4, IActiveScriptProfilerControl4_Vtbl, 0x160f94fd_9dbc_40d4_9eac_2b71db3132f4); +windows_core::imp::define_interface!(IActiveScriptProfilerControl4, IActiveScriptProfilerControl4_Vtbl, 0x160f94fd_9dbc_40d4_9eac_2b71db3132f4); windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl4, windows_core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2, IActiveScriptProfilerControl3); impl IActiveScriptProfilerControl4 { pub unsafe fn StartProfiling(&self, clsidprofilerobject: *const windows_core::GUID, dweventmask: u32, dwcontext: u32) -> windows_core::Result<()> { @@ -940,7 +940,7 @@ pub struct IActiveScriptProfilerControl4_Vtbl { pub base__: IActiveScriptProfilerControl3_Vtbl, pub SummarizeHeap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PROFILER_HEAP_SUMMARY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptProfilerControl5, IActiveScriptProfilerControl5_Vtbl, 0x1c01a2d1_8f0f_46a5_9720_0d7ed2c62f0a); +windows_core::imp::define_interface!(IActiveScriptProfilerControl5, IActiveScriptProfilerControl5_Vtbl, 0x1c01a2d1_8f0f_46a5_9720_0d7ed2c62f0a); windows_core::imp::interface_hierarchy!(IActiveScriptProfilerControl5, windows_core::IUnknown, IActiveScriptProfilerControl, IActiveScriptProfilerControl2, IActiveScriptProfilerControl3, IActiveScriptProfilerControl4); impl IActiveScriptProfilerControl5 { pub unsafe fn StartProfiling(&self, clsidprofilerobject: *const windows_core::GUID, dweventmask: u32, dwcontext: u32) -> windows_core::Result<()> { @@ -975,7 +975,7 @@ pub struct IActiveScriptProfilerControl5_Vtbl { pub base__: IActiveScriptProfilerControl4_Vtbl, pub EnumHeap2: unsafe extern "system" fn(*mut core::ffi::c_void, PROFILER_HEAP_ENUM_FLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptProfilerHeapEnum, IActiveScriptProfilerHeapEnum_Vtbl, 0x32e4694e_0d37_419b_b93d_fa20ded6e8ea); +windows_core::imp::define_interface!(IActiveScriptProfilerHeapEnum, IActiveScriptProfilerHeapEnum_Vtbl, 0x32e4694e_0d37_419b_b93d_fa20ded6e8ea); windows_core::imp::interface_hierarchy!(IActiveScriptProfilerHeapEnum, windows_core::IUnknown); impl IActiveScriptProfilerHeapEnum { pub unsafe fn Next(&self, heapobjects: &mut [*mut PROFILER_HEAP_OBJECT], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -999,7 +999,7 @@ pub struct IActiveScriptProfilerHeapEnum_Vtbl { pub FreeObjectAndOptionalInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *const PROFILER_HEAP_OBJECT) -> windows_core::HRESULT, pub GetNameIdMap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut *mut windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptProperty, IActiveScriptProperty_Vtbl, 0x4954e0d0_fbc7_11d1_8410_006008c3fbfc); +windows_core::imp::define_interface!(IActiveScriptProperty, IActiveScriptProperty_Vtbl, 0x4954e0d0_fbc7_11d1_8410_006008c3fbfc); 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 { @@ -1016,7 +1016,7 @@ pub struct IActiveScriptProperty_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, } -windows_core::imp::com_interface!(IActiveScriptSIPInfo, IActiveScriptSIPInfo_Vtbl, 0x764651d0_38de_11d4_a2a3_00104bd35090); +windows_core::imp::define_interface!(IActiveScriptSIPInfo, IActiveScriptSIPInfo_Vtbl, 0x764651d0_38de_11d4_a2a3_00104bd35090); windows_core::imp::interface_hierarchy!(IActiveScriptSIPInfo, windows_core::IUnknown); impl IActiveScriptSIPInfo { pub unsafe fn GetSIPOID(&self) -> windows_core::Result { @@ -1029,7 +1029,7 @@ pub struct IActiveScriptSIPInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSIPOID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptSite, IActiveScriptSite_Vtbl, 0xdb01a1e3_a42b_11cf_8f20_00805f2cd064); +windows_core::imp::define_interface!(IActiveScriptSite, IActiveScriptSite_Vtbl, 0xdb01a1e3_a42b_11cf_8f20_00805f2cd064); windows_core::imp::interface_hierarchy!(IActiveScriptSite, windows_core::IUnknown); impl IActiveScriptSite { pub unsafe fn GetLCID(&self) -> windows_core::Result { @@ -1085,7 +1085,7 @@ pub struct IActiveScriptSite_Vtbl { pub OnEnterScript: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnLeaveScript: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptSiteDebug32, IActiveScriptSiteDebug32_Vtbl, 0x51973c11_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IActiveScriptSiteDebug32, IActiveScriptSiteDebug32_Vtbl, 0x51973c11_cb0c_11d0_b5c9_00a0244a0e7a); 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 { @@ -1115,7 +1115,7 @@ pub struct IActiveScriptSiteDebug32_Vtbl { pub GetRootApplicationNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnScriptErrorDebug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::super::Foundation::BOOL, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptSiteDebug64, IActiveScriptSiteDebug64_Vtbl, 0xd6b96b0a_7463_402c_92ac_89984226942f); +windows_core::imp::define_interface!(IActiveScriptSiteDebug64, IActiveScriptSiteDebug64_Vtbl, 0xd6b96b0a_7463_402c_92ac_89984226942f); 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 { @@ -1145,7 +1145,7 @@ pub struct IActiveScriptSiteDebug64_Vtbl { pub GetRootApplicationNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnScriptErrorDebug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::super::Foundation::BOOL, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptSiteDebugEx, IActiveScriptSiteDebugEx_Vtbl, 0xbb722ccb_6ad2_41c6_b780_af9c03ee69f5); +windows_core::imp::define_interface!(IActiveScriptSiteDebugEx, IActiveScriptSiteDebugEx_Vtbl, 0xbb722ccb_6ad2_41c6_b780_af9c03ee69f5); windows_core::imp::interface_hierarchy!(IActiveScriptSiteDebugEx, windows_core::IUnknown); impl IActiveScriptSiteDebugEx { pub unsafe fn OnCanNotJITScriptErrorDebug(&self, perrordebug: P0) -> windows_core::Result @@ -1161,7 +1161,7 @@ pub struct IActiveScriptSiteDebugEx_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnCanNotJITScriptErrorDebug: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptSiteInterruptPoll, IActiveScriptSiteInterruptPoll_Vtbl, 0x539698a0_cdca_11cf_a5eb_00aa0047a063); +windows_core::imp::define_interface!(IActiveScriptSiteInterruptPoll, IActiveScriptSiteInterruptPoll_Vtbl, 0x539698a0_cdca_11cf_a5eb_00aa0047a063); windows_core::imp::interface_hierarchy!(IActiveScriptSiteInterruptPoll, windows_core::IUnknown); impl IActiveScriptSiteInterruptPoll { pub unsafe fn QueryContinue(&self) -> windows_core::Result<()> { @@ -1173,7 +1173,7 @@ pub struct IActiveScriptSiteInterruptPoll_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptSiteTraceInfo, IActiveScriptSiteTraceInfo_Vtbl, 0x4b7272ae_1955_4bfe_98b0_780621888569); +windows_core::imp::define_interface!(IActiveScriptSiteTraceInfo, IActiveScriptSiteTraceInfo_Vtbl, 0x4b7272ae_1955_4bfe_98b0_780621888569); windows_core::imp::interface_hierarchy!(IActiveScriptSiteTraceInfo, windows_core::IUnknown); impl IActiveScriptSiteTraceInfo { pub unsafe fn SendScriptTraceInfo(&self, stieventtype: SCRIPTTRACEINFO, guidcontextid: windows_core::GUID, dwscriptcontextcookie: u32, lscriptstatementstart: i32, lscriptstatementend: i32, dwreserved: u64) -> windows_core::Result<()> { @@ -1185,7 +1185,7 @@ pub struct IActiveScriptSiteTraceInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SendScriptTraceInfo: unsafe extern "system" fn(*mut core::ffi::c_void, SCRIPTTRACEINFO, windows_core::GUID, u32, i32, i32, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptSiteUIControl, IActiveScriptSiteUIControl_Vtbl, 0xaedae97e_d7ee_4796_b960_7f092ae844ab); +windows_core::imp::define_interface!(IActiveScriptSiteUIControl, IActiveScriptSiteUIControl_Vtbl, 0xaedae97e_d7ee_4796_b960_7f092ae844ab); windows_core::imp::interface_hierarchy!(IActiveScriptSiteUIControl, windows_core::IUnknown); impl IActiveScriptSiteUIControl { pub unsafe fn GetUIBehavior(&self, uicitem: SCRIPTUICITEM) -> windows_core::Result { @@ -1198,7 +1198,7 @@ pub struct IActiveScriptSiteUIControl_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetUIBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, SCRIPTUICITEM, *mut SCRIPTUICHANDLING) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptSiteWindow, IActiveScriptSiteWindow_Vtbl, 0xd10f6761_83e9_11cf_8f20_00805f2cd064); +windows_core::imp::define_interface!(IActiveScriptSiteWindow, IActiveScriptSiteWindow_Vtbl, 0xd10f6761_83e9_11cf_8f20_00805f2cd064); windows_core::imp::interface_hierarchy!(IActiveScriptSiteWindow, windows_core::IUnknown); impl IActiveScriptSiteWindow { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -1218,7 +1218,7 @@ pub struct IActiveScriptSiteWindow_Vtbl { pub GetWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::HWND) -> windows_core::HRESULT, pub EnableModeless: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptStats, IActiveScriptStats_Vtbl, 0xb8da6310_e19b_11d0_933c_00a0c90dcaa9); +windows_core::imp::define_interface!(IActiveScriptStats, IActiveScriptStats_Vtbl, 0xb8da6310_e19b_11d0_933c_00a0c90dcaa9); windows_core::imp::interface_hierarchy!(IActiveScriptStats, windows_core::IUnknown); impl IActiveScriptStats { pub unsafe fn GetStat(&self, stid: u32, pluhi: *mut u32, plulo: *mut u32) -> windows_core::Result<()> { @@ -1238,7 +1238,7 @@ pub struct IActiveScriptStats_Vtbl { pub GetStatEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32, *mut u32) -> windows_core::HRESULT, pub ResetStats: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptStringCompare, IActiveScriptStringCompare_Vtbl, 0x58562769_ed52_42f7_8403_4963514e1f11); +windows_core::imp::define_interface!(IActiveScriptStringCompare, IActiveScriptStringCompare_Vtbl, 0x58562769_ed52_42f7_8403_4963514e1f11); windows_core::imp::interface_hierarchy!(IActiveScriptStringCompare, windows_core::IUnknown); impl IActiveScriptStringCompare { pub unsafe fn StrComp(&self, bszstr1: P0, bszstr2: P1) -> windows_core::Result @@ -1255,7 +1255,7 @@ 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, } -windows_core::imp::com_interface!(IActiveScriptTraceInfo, IActiveScriptTraceInfo_Vtbl, 0xc35456e7_bebf_4a1b_86a9_24d56be8b369); +windows_core::imp::define_interface!(IActiveScriptTraceInfo, IActiveScriptTraceInfo_Vtbl, 0xc35456e7_bebf_4a1b_86a9_24d56be8b369); windows_core::imp::interface_hierarchy!(IActiveScriptTraceInfo, windows_core::IUnknown); impl IActiveScriptTraceInfo { pub unsafe fn StartScriptTracing(&self, psitetraceinfo: P0, guidcontextid: windows_core::GUID) -> windows_core::Result<()> @@ -1274,7 +1274,7 @@ pub struct IActiveScriptTraceInfo_Vtbl { pub StartScriptTracing: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub StopScriptTracing: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveScriptWinRTErrorDebug, IActiveScriptWinRTErrorDebug_Vtbl, 0x73a3f82a_0fe9_4b33_ba3b_fe095f697e0a); +windows_core::imp::define_interface!(IActiveScriptWinRTErrorDebug, IActiveScriptWinRTErrorDebug_Vtbl, 0x73a3f82a_0fe9_4b33_ba3b_fe095f697e0a); windows_core::imp::interface_hierarchy!(IActiveScriptWinRTErrorDebug, windows_core::IUnknown, IActiveScriptError); impl IActiveScriptWinRTErrorDebug { #[cfg(feature = "Win32_System_Com")] @@ -1308,7 +1308,7 @@ pub struct IActiveScriptWinRTErrorDebug_Vtbl { 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, } -windows_core::imp::com_interface!(IApplicationDebugger, IApplicationDebugger_Vtbl, 0x51973c2a_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IApplicationDebugger, IApplicationDebugger_Vtbl, 0x51973c2a_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IApplicationDebugger, windows_core::IUnknown); impl IApplicationDebugger { pub unsafe fn QueryAlive(&self) -> windows_core::Result<()> { @@ -1354,7 +1354,7 @@ pub struct IApplicationDebugger_Vtbl { pub onClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub onDebuggerEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationDebuggerUI, IApplicationDebuggerUI_Vtbl, 0x51973c2b_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IApplicationDebuggerUI, IApplicationDebuggerUI_Vtbl, 0x51973c2b_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IApplicationDebuggerUI, windows_core::IUnknown); impl IApplicationDebuggerUI { pub unsafe fn BringDocumentToTop(&self, pddt: P0) -> windows_core::Result<()> @@ -1376,7 +1376,7 @@ pub struct IApplicationDebuggerUI_Vtbl { pub BringDocumentToTop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub BringDocumentContextToTop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBindEventHandler, IBindEventHandler_Vtbl, 0x63cdbcb0_c1b1_11d0_9336_00a0c90dcaa9); +windows_core::imp::define_interface!(IBindEventHandler, IBindEventHandler_Vtbl, 0x63cdbcb0_c1b1_11d0_9336_00a0c90dcaa9); windows_core::imp::interface_hierarchy!(IBindEventHandler, windows_core::IUnknown); impl IBindEventHandler { #[cfg(feature = "Win32_System_Com")] @@ -1396,7 +1396,7 @@ pub struct IBindEventHandler_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] BindHandler: usize, } -windows_core::imp::com_interface!(IDebugApplication11032, IDebugApplication11032_Vtbl, 0xbdb3b5de_89f2_4e11_84a5_97445f941c7d); +windows_core::imp::define_interface!(IDebugApplication11032, IDebugApplication11032_Vtbl, 0xbdb3b5de_89f2_4e11_84a5_97445f941c7d); windows_core::imp::interface_hierarchy!(IDebugApplication11032, windows_core::IUnknown, IRemoteDebugApplication110); impl IDebugApplication11032 { pub unsafe fn SetDebuggerOptions(&self, mask: SCRIPT_DEBUGGER_OPTIONS, value: SCRIPT_DEBUGGER_OPTIONS) -> windows_core::Result<()> { @@ -1434,7 +1434,7 @@ pub struct IDebugApplication11032_Vtbl { pub AsynchronousCallInMainThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, pub CallableWaitForHandles: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::super::super::Foundation::HANDLE, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugApplication11064, IDebugApplication11064_Vtbl, 0x2039d958_4eeb_496a_87bb_2e5201eadeef); +windows_core::imp::define_interface!(IDebugApplication11064, IDebugApplication11064_Vtbl, 0x2039d958_4eeb_496a_87bb_2e5201eadeef); windows_core::imp::interface_hierarchy!(IDebugApplication11064, windows_core::IUnknown, IRemoteDebugApplication110); impl IDebugApplication11064 { pub unsafe fn SetDebuggerOptions(&self, mask: SCRIPT_DEBUGGER_OPTIONS, value: SCRIPT_DEBUGGER_OPTIONS) -> windows_core::Result<()> { @@ -1472,7 +1472,7 @@ pub struct IDebugApplication11064_Vtbl { pub AsynchronousCallInMainThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, pub CallableWaitForHandles: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::super::super::Foundation::HANDLE, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugApplication32, IDebugApplication32_Vtbl, 0x51973c32_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugApplication32, IDebugApplication32_Vtbl, 0x51973c32_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugApplication32, windows_core::IUnknown, IRemoteDebugApplication); impl IDebugApplication32 { pub unsafe fn ResumeFromBreakPoint(&self, prptfocus: P0, bra: BREAKRESUMEACTION, era: ERRORRESUMEACTION) -> windows_core::Result<()> @@ -1639,7 +1639,7 @@ pub struct IDebugApplication32_Vtbl { pub AddGlobalExpressionContextProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub RemoveGlobalExpressionContextProvider: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugApplication64, IDebugApplication64_Vtbl, 0x4dedc754_04c7_4f10_9e60_16a390fe6e62); +windows_core::imp::define_interface!(IDebugApplication64, IDebugApplication64_Vtbl, 0x4dedc754_04c7_4f10_9e60_16a390fe6e62); windows_core::imp::interface_hierarchy!(IDebugApplication64, windows_core::IUnknown, IRemoteDebugApplication); impl IDebugApplication64 { pub unsafe fn ResumeFromBreakPoint(&self, prptfocus: P0, bra: BREAKRESUMEACTION, era: ERRORRESUMEACTION) -> windows_core::Result<()> @@ -1806,7 +1806,7 @@ pub struct IDebugApplication64_Vtbl { pub AddGlobalExpressionContextProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub RemoveGlobalExpressionContextProvider: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugApplicationNode, IDebugApplicationNode_Vtbl, 0x51973c34_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugApplicationNode, IDebugApplicationNode_Vtbl, 0x51973c34_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugApplicationNode, windows_core::IUnknown, IDebugDocumentInfo, IDebugDocumentProvider); impl IDebugApplicationNode { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> windows_core::Result { @@ -1858,7 +1858,7 @@ pub struct IDebugApplicationNode_Vtbl { pub Attach: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Detach: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugApplicationNode100, IDebugApplicationNode100_Vtbl, 0x90a7734e_841b_4f77_9384_a2891e76e7e2); +windows_core::imp::define_interface!(IDebugApplicationNode100, IDebugApplicationNode100_Vtbl, 0x90a7734e_841b_4f77_9384_a2891e76e7e2); windows_core::imp::interface_hierarchy!(IDebugApplicationNode100, windows_core::IUnknown); impl IDebugApplicationNode100 { pub unsafe fn SetFilterForEventSink(&self, dwcookie: u32, filter: APPLICATION_NODE_EVENT_FILTER) -> windows_core::Result<()> { @@ -1882,7 +1882,7 @@ pub struct IDebugApplicationNode100_Vtbl { pub GetExcludedDocuments: unsafe extern "system" fn(*mut core::ffi::c_void, APPLICATION_NODE_EVENT_FILTER, *mut TEXT_DOCUMENT_ARRAY) -> windows_core::HRESULT, pub QueryIsChildNode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugApplicationNodeEvents, IDebugApplicationNodeEvents_Vtbl, 0x51973c35_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugApplicationNodeEvents, IDebugApplicationNodeEvents_Vtbl, 0x51973c35_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugApplicationNodeEvents, windows_core::IUnknown); impl IDebugApplicationNodeEvents { pub unsafe fn onAddChild(&self, prddpchild: P0) -> windows_core::Result<()> @@ -1915,7 +1915,7 @@ pub struct IDebugApplicationNodeEvents_Vtbl { pub onDetach: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub onAttach: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugApplicationThread, IDebugApplicationThread_Vtbl, 0x51973c38_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugApplicationThread, IDebugApplicationThread_Vtbl, 0x51973c38_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugApplicationThread, windows_core::IUnknown, IRemoteDebugApplicationThread); impl IDebugApplicationThread { pub unsafe fn GetSystemThreadId(&self) -> windows_core::Result { @@ -1990,7 +1990,7 @@ pub struct IDebugApplicationThread_Vtbl { pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetStateString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugApplicationThread11032, IDebugApplicationThread11032_Vtbl, 0x2194ac5c_6561_404a_a2e9_f57d72de3702); +windows_core::imp::define_interface!(IDebugApplicationThread11032, IDebugApplicationThread11032_Vtbl, 0x2194ac5c_6561_404a_a2e9_f57d72de3702); windows_core::imp::interface_hierarchy!(IDebugApplicationThread11032, windows_core::IUnknown); impl IDebugApplicationThread11032 { pub unsafe fn GetActiveThreadRequestCount(&self) -> windows_core::Result { @@ -2020,7 +2020,7 @@ pub struct IDebugApplicationThread11032_Vtbl { pub IsThreadCallable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub AsynchronousCallIntoThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugApplicationThread11064, IDebugApplicationThread11064_Vtbl, 0x420aa4cc_efd8_4dac_983b_47127826917d); +windows_core::imp::define_interface!(IDebugApplicationThread11064, IDebugApplicationThread11064_Vtbl, 0x420aa4cc_efd8_4dac_983b_47127826917d); windows_core::imp::interface_hierarchy!(IDebugApplicationThread11064, windows_core::IUnknown); impl IDebugApplicationThread11064 { pub unsafe fn GetActiveThreadRequestCount(&self) -> windows_core::Result { @@ -2050,7 +2050,7 @@ pub struct IDebugApplicationThread11064_Vtbl { pub IsThreadCallable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::super::Foundation::BOOL) -> windows_core::HRESULT, pub AsynchronousCallIntoThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, usize, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugApplicationThread64, IDebugApplicationThread64_Vtbl, 0x9dac5886_dbad_456d_9dee_5dec39ab3dda); +windows_core::imp::define_interface!(IDebugApplicationThread64, IDebugApplicationThread64_Vtbl, 0x9dac5886_dbad_456d_9dee_5dec39ab3dda); windows_core::imp::interface_hierarchy!(IDebugApplicationThread64, windows_core::IUnknown, IRemoteDebugApplicationThread, IDebugApplicationThread); impl IDebugApplicationThread64 { pub unsafe fn GetSystemThreadId(&self) -> windows_core::Result { @@ -2127,7 +2127,7 @@ pub struct IDebugApplicationThread64_Vtbl { pub base__: IDebugApplicationThread_Vtbl, pub SynchronousCallIntoThread64: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64, u64, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugApplicationThreadEvents110, IDebugApplicationThreadEvents110_Vtbl, 0x84e5e468_d5da_48a8_83f4_40366429007b); +windows_core::imp::define_interface!(IDebugApplicationThreadEvents110, IDebugApplicationThreadEvents110_Vtbl, 0x84e5e468_d5da_48a8_83f4_40366429007b); windows_core::imp::interface_hierarchy!(IDebugApplicationThreadEvents110, windows_core::IUnknown); impl IDebugApplicationThreadEvents110 { pub unsafe fn OnSuspendForBreakPoint(&self) -> windows_core::Result<()> { @@ -2151,7 +2151,7 @@ pub struct IDebugApplicationThreadEvents110_Vtbl { pub OnThreadRequestComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnBeginThreadRequest: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugAsyncOperation, IDebugAsyncOperation_Vtbl, 0x51973c1b_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugAsyncOperation, IDebugAsyncOperation_Vtbl, 0x51973c1b_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugAsyncOperation, windows_core::IUnknown); impl IDebugAsyncOperation { pub unsafe fn GetSyncDebugOperation(&self) -> windows_core::Result { @@ -2183,7 +2183,7 @@ pub struct IDebugAsyncOperation_Vtbl { pub QueryIsComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugAsyncOperationCallBack, IDebugAsyncOperationCallBack_Vtbl, 0x51973c1c_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugAsyncOperationCallBack, IDebugAsyncOperationCallBack_Vtbl, 0x51973c1c_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugAsyncOperationCallBack, windows_core::IUnknown); impl IDebugAsyncOperationCallBack { pub unsafe fn onComplete(&self) -> windows_core::Result<()> { @@ -2195,7 +2195,7 @@ pub struct IDebugAsyncOperationCallBack_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub onComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugCodeContext, IDebugCodeContext_Vtbl, 0x51973c13_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugCodeContext, IDebugCodeContext_Vtbl, 0x51973c13_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugCodeContext, windows_core::IUnknown); impl IDebugCodeContext { pub unsafe fn GetDocumentContext(&self) -> windows_core::Result { @@ -2212,7 +2212,7 @@ pub struct IDebugCodeContext_Vtbl { pub GetDocumentContext: 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, BREAKPOINT_STATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugCookie, IDebugCookie_Vtbl, 0x51973c39_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugCookie, IDebugCookie_Vtbl, 0x51973c39_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugCookie, windows_core::IUnknown); impl IDebugCookie { pub unsafe fn SetDebugCookie(&self, dwdebugappcookie: u32) -> windows_core::Result<()> { @@ -2224,7 +2224,7 @@ pub struct IDebugCookie_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetDebugCookie: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDocument, IDebugDocument_Vtbl, 0x51973c21_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugDocument, IDebugDocument_Vtbl, 0x51973c21_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugDocument, windows_core::IUnknown, IDebugDocumentInfo); impl IDebugDocument { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> windows_core::Result { @@ -2240,7 +2240,7 @@ impl IDebugDocument { pub struct IDebugDocument_Vtbl { pub base__: IDebugDocumentInfo_Vtbl, } -windows_core::imp::com_interface!(IDebugDocumentContext, IDebugDocumentContext_Vtbl, 0x51973c28_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugDocumentContext, IDebugDocumentContext_Vtbl, 0x51973c28_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugDocumentContext, windows_core::IUnknown); impl IDebugDocumentContext { pub unsafe fn GetDocument(&self) -> windows_core::Result { @@ -2258,7 +2258,7 @@ pub struct IDebugDocumentContext_Vtbl { pub GetDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumCodeContexts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDocumentHelper32, IDebugDocumentHelper32_Vtbl, 0x51973c26_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugDocumentHelper32, IDebugDocumentHelper32_Vtbl, 0x51973c26_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugDocumentHelper32, windows_core::IUnknown); impl IDebugDocumentHelper32 { pub unsafe fn Init(&self, pda: P0, pszshortname: P1, pszlongname: P2, docattr: u32) -> windows_core::Result<()> @@ -2371,7 +2371,7 @@ pub struct IDebugDocumentHelper32_Vtbl { pub BringDocumentToTop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub BringDocumentContextToTop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDocumentHelper64, IDebugDocumentHelper64_Vtbl, 0xc4c7363c_20fd_47f9_bd82_4855e0150871); +windows_core::imp::define_interface!(IDebugDocumentHelper64, IDebugDocumentHelper64_Vtbl, 0xc4c7363c_20fd_47f9_bd82_4855e0150871); windows_core::imp::interface_hierarchy!(IDebugDocumentHelper64, windows_core::IUnknown); impl IDebugDocumentHelper64 { pub unsafe fn Init(&self, pda: P0, pszshortname: P1, pszlongname: P2, docattr: u32) -> windows_core::Result<()> @@ -2484,7 +2484,7 @@ pub struct IDebugDocumentHelper64_Vtbl { pub BringDocumentToTop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub BringDocumentContextToTop: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDocumentHost, IDebugDocumentHost_Vtbl, 0x51973c27_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugDocumentHost, IDebugDocumentHost_Vtbl, 0x51973c27_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugDocumentHost, windows_core::IUnknown); impl IDebugDocumentHost { pub unsafe fn GetDeferredText(&self, dwtextstartcookie: u32, pchartext: windows_core::PWSTR, pstatextattr: *mut u16, pcnumchars: *mut u32, cmaxchars: u32) -> windows_core::Result<()> { @@ -2522,7 +2522,7 @@ pub struct IDebugDocumentHost_Vtbl { pub GetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub NotifyChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDocumentInfo, IDebugDocumentInfo_Vtbl, 0x51973c1f_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugDocumentInfo, IDebugDocumentInfo_Vtbl, 0x51973c1f_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugDocumentInfo, windows_core::IUnknown); impl IDebugDocumentInfo { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> windows_core::Result { @@ -2540,7 +2540,7 @@ pub struct IDebugDocumentInfo_Vtbl { pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, DOCUMENTNAMETYPE, *mut std::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::com_interface!(IDebugDocumentProvider, IDebugDocumentProvider_Vtbl, 0x51973c20_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugDocumentProvider, IDebugDocumentProvider_Vtbl, 0x51973c20_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugDocumentProvider, windows_core::IUnknown, IDebugDocumentInfo); impl IDebugDocumentProvider { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> windows_core::Result { @@ -2561,7 +2561,7 @@ pub struct IDebugDocumentProvider_Vtbl { pub base__: IDebugDocumentInfo_Vtbl, pub GetDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDocumentText, IDebugDocumentText_Vtbl, 0x51973c22_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugDocumentText, IDebugDocumentText_Vtbl, 0x51973c22_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugDocumentText, windows_core::IUnknown, IDebugDocumentInfo, IDebugDocument); impl IDebugDocumentText { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> windows_core::Result { @@ -2611,7 +2611,7 @@ pub struct IDebugDocumentText_Vtbl { pub GetPositionOfContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub GetContextOfPosition: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDocumentTextAuthor, IDebugDocumentTextAuthor_Vtbl, 0x51973c24_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugDocumentTextAuthor, IDebugDocumentTextAuthor_Vtbl, 0x51973c24_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugDocumentTextAuthor, windows_core::IUnknown, IDebugDocumentInfo, IDebugDocument, IDebugDocumentText); impl IDebugDocumentTextAuthor { pub unsafe fn GetName(&self, dnt: DOCUMENTNAMETYPE) -> windows_core::Result { @@ -2666,7 +2666,7 @@ pub struct IDebugDocumentTextAuthor_Vtbl { pub RemoveText: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub ReplaceText: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDocumentTextEvents, IDebugDocumentTextEvents_Vtbl, 0x51973c23_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugDocumentTextEvents, IDebugDocumentTextEvents_Vtbl, 0x51973c23_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugDocumentTextEvents, windows_core::IUnknown); impl IDebugDocumentTextEvents { pub unsafe fn onDestroy(&self) -> windows_core::Result<()> { @@ -2698,7 +2698,7 @@ pub struct IDebugDocumentTextEvents_Vtbl { pub onUpdateTextAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub onUpdateDocumentAttributes: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDocumentTextExternalAuthor, IDebugDocumentTextExternalAuthor_Vtbl, 0x51973c25_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugDocumentTextExternalAuthor, IDebugDocumentTextExternalAuthor_Vtbl, 0x51973c25_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugDocumentTextExternalAuthor, windows_core::IUnknown); impl IDebugDocumentTextExternalAuthor { pub unsafe fn GetPathName(&self, pbstrlongname: *mut windows_core::BSTR, pfisoriginalfile: *mut super::super::super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -2719,7 +2719,7 @@ pub struct IDebugDocumentTextExternalAuthor_Vtbl { pub GetFileName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub NotifyChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugExpression, IDebugExpression_Vtbl, 0x51973c14_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugExpression, IDebugExpression_Vtbl, 0x51973c14_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugExpression, windows_core::IUnknown); impl IDebugExpression { pub unsafe fn Start(&self, pdecb: P0) -> windows_core::Result<()> @@ -2750,7 +2750,7 @@ pub struct IDebugExpression_Vtbl { pub GetResultAsString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut std::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::com_interface!(IDebugExpressionCallBack, IDebugExpressionCallBack_Vtbl, 0x51973c16_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugExpressionCallBack, IDebugExpressionCallBack_Vtbl, 0x51973c16_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugExpressionCallBack, windows_core::IUnknown); impl IDebugExpressionCallBack { pub unsafe fn onComplete(&self) -> windows_core::Result<()> { @@ -2762,7 +2762,7 @@ pub struct IDebugExpressionCallBack_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub onComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugExpressionContext, IDebugExpressionContext_Vtbl, 0x51973c15_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugExpressionContext, IDebugExpressionContext_Vtbl, 0x51973c15_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugExpressionContext, windows_core::IUnknown); impl IDebugExpressionContext { pub unsafe fn ParseLanguageText(&self, pstrcode: P0, nradix: u32, pstrdelimiter: P1, dwflags: u32) -> windows_core::Result @@ -2783,7 +2783,7 @@ pub struct IDebugExpressionContext_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, } -windows_core::imp::com_interface!(IDebugFormatter, IDebugFormatter_Vtbl, 0x51973c05_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugFormatter, IDebugFormatter_Vtbl, 0x51973c05_cb0c_11d0_b5c9_00a0244a0e7a); 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 { @@ -2813,7 +2813,7 @@ pub struct IDebugFormatter_Vtbl { #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_Ole", feature = "Win32_System_Variant")))] GetStringForVarType: usize, } -windows_core::imp::com_interface!(IDebugHelper, IDebugHelper_Vtbl, 0x51973c3f_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugHelper, IDebugHelper_Vtbl, 0x51973c3f_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugHelper, windows_core::IUnknown); impl IDebugHelper { pub unsafe fn CreatePropertyBrowser(&self, pvar: *const windows_core::VARIANT, bstrname: P0, pdat: P1) -> windows_core::Result @@ -2852,7 +2852,7 @@ pub struct IDebugHelper_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateSimpleConnectionPoint: usize, } -windows_core::imp::com_interface!(IDebugSessionProvider, IDebugSessionProvider_Vtbl, 0x51973c29_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugSessionProvider, IDebugSessionProvider_Vtbl, 0x51973c29_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugSessionProvider, windows_core::IUnknown); impl IDebugSessionProvider { pub unsafe fn StartDebugSession(&self, pda: P0) -> windows_core::Result<()> @@ -2867,7 +2867,7 @@ pub struct IDebugSessionProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub StartDebugSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugStackFrame, IDebugStackFrame_Vtbl, 0x51973c17_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugStackFrame, IDebugStackFrame_Vtbl, 0x51973c17_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugStackFrame, windows_core::IUnknown); impl IDebugStackFrame { pub unsafe fn GetCodeContext(&self) -> windows_core::Result { @@ -2906,7 +2906,7 @@ pub struct IDebugStackFrame_Vtbl { 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, } -windows_core::imp::com_interface!(IDebugStackFrame110, IDebugStackFrame110_Vtbl, 0x4b509611_b6ea_4b24_adcb_d0ccfd1a7e33); +windows_core::imp::define_interface!(IDebugStackFrame110, IDebugStackFrame110_Vtbl, 0x4b509611_b6ea_4b24_adcb_d0ccfd1a7e33); windows_core::imp::interface_hierarchy!(IDebugStackFrame110, windows_core::IUnknown, IDebugStackFrame); impl IDebugStackFrame110 { pub unsafe fn GetCodeContext(&self) -> windows_core::Result { @@ -2950,7 +2950,7 @@ pub struct IDebugStackFrame110_Vtbl { pub GetStackFrameType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DEBUG_STACKFRAME_TYPE) -> windows_core::HRESULT, pub GetScriptInvocationContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugStackFrameSniffer, IDebugStackFrameSniffer_Vtbl, 0x51973c18_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugStackFrameSniffer, IDebugStackFrameSniffer_Vtbl, 0x51973c18_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugStackFrameSniffer, windows_core::IUnknown); impl IDebugStackFrameSniffer { pub unsafe fn EnumStackFrames(&self) -> windows_core::Result { @@ -2963,7 +2963,7 @@ pub struct IDebugStackFrameSniffer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub EnumStackFrames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugStackFrameSnifferEx32, IDebugStackFrameSnifferEx32_Vtbl, 0x51973c19_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugStackFrameSnifferEx32, IDebugStackFrameSnifferEx32_Vtbl, 0x51973c19_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugStackFrameSnifferEx32, windows_core::IUnknown, IDebugStackFrameSniffer); impl IDebugStackFrameSnifferEx32 { pub unsafe fn EnumStackFrames(&self) -> windows_core::Result { @@ -2980,7 +2980,7 @@ pub struct IDebugStackFrameSnifferEx32_Vtbl { pub base__: IDebugStackFrameSniffer_Vtbl, pub EnumStackFramesEx32: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugStackFrameSnifferEx64, IDebugStackFrameSnifferEx64_Vtbl, 0x8cd12af4_49c1_4d52_8d8a_c146f47581aa); +windows_core::imp::define_interface!(IDebugStackFrameSnifferEx64, IDebugStackFrameSnifferEx64_Vtbl, 0x8cd12af4_49c1_4d52_8d8a_c146f47581aa); windows_core::imp::interface_hierarchy!(IDebugStackFrameSnifferEx64, windows_core::IUnknown, IDebugStackFrameSniffer); impl IDebugStackFrameSnifferEx64 { pub unsafe fn EnumStackFrames(&self) -> windows_core::Result { @@ -2997,7 +2997,7 @@ pub struct IDebugStackFrameSnifferEx64_Vtbl { pub base__: IDebugStackFrameSniffer_Vtbl, pub EnumStackFramesEx64: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSyncOperation, IDebugSyncOperation_Vtbl, 0x51973c1a_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugSyncOperation, IDebugSyncOperation_Vtbl, 0x51973c1a_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugSyncOperation, windows_core::IUnknown); impl IDebugSyncOperation { pub unsafe fn GetTargetThread(&self) -> windows_core::Result { @@ -3019,7 +3019,7 @@ pub struct IDebugSyncOperation_Vtbl { pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub InProgressAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugThreadCall32, IDebugThreadCall32_Vtbl, 0x51973c36_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugThreadCall32, IDebugThreadCall32_Vtbl, 0x51973c36_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugThreadCall32, windows_core::IUnknown); impl IDebugThreadCall32 { pub unsafe fn ThreadCallHandler(&self, dwparam1: u32, dwparam2: u32, dwparam3: u32) -> windows_core::Result<()> { @@ -3031,7 +3031,7 @@ pub struct IDebugThreadCall32_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ThreadCallHandler: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugThreadCall64, IDebugThreadCall64_Vtbl, 0xcb3fa335_e979_42fd_9fcf_a7546a0f3905); +windows_core::imp::define_interface!(IDebugThreadCall64, IDebugThreadCall64_Vtbl, 0xcb3fa335_e979_42fd_9fcf_a7546a0f3905); windows_core::imp::interface_hierarchy!(IDebugThreadCall64, windows_core::IUnknown); impl IDebugThreadCall64 { pub unsafe fn ThreadCallHandler(&self, dwparam1: u64, dwparam2: u64, dwparam3: u64) -> windows_core::Result<()> { @@ -3043,7 +3043,7 @@ pub struct IDebugThreadCall64_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ThreadCallHandler: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u64, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumDebugApplicationNodes, IEnumDebugApplicationNodes_Vtbl, 0x51973c3a_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IEnumDebugApplicationNodes, IEnumDebugApplicationNodes_Vtbl, 0x51973c3a_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IEnumDebugApplicationNodes, windows_core::IUnknown); impl IEnumDebugApplicationNodes { pub unsafe fn Next(&self, celt: u32, pprddp: *mut Option, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -3068,7 +3068,7 @@ pub struct IEnumDebugApplicationNodes_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumDebugCodeContexts, IEnumDebugCodeContexts_Vtbl, 0x51973c1d_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IEnumDebugCodeContexts, IEnumDebugCodeContexts_Vtbl, 0x51973c1d_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IEnumDebugCodeContexts, windows_core::IUnknown); impl IEnumDebugCodeContexts { pub unsafe fn Next(&self, celt: u32, pscc: *mut Option, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -3093,7 +3093,7 @@ pub struct IEnumDebugCodeContexts_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumDebugExpressionContexts, IEnumDebugExpressionContexts_Vtbl, 0x51973c40_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IEnumDebugExpressionContexts, IEnumDebugExpressionContexts_Vtbl, 0x51973c40_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IEnumDebugExpressionContexts, windows_core::IUnknown); impl IEnumDebugExpressionContexts { pub unsafe fn Next(&self, celt: u32, ppdec: *mut Option, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -3118,7 +3118,7 @@ pub struct IEnumDebugExpressionContexts_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumDebugStackFrames, IEnumDebugStackFrames_Vtbl, 0x51973c1e_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IEnumDebugStackFrames, IEnumDebugStackFrames_Vtbl, 0x51973c1e_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IEnumDebugStackFrames, windows_core::IUnknown); impl IEnumDebugStackFrames { pub unsafe fn Next(&self, celt: u32, prgdsfd: *mut DebugStackFrameDescriptor, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -3143,7 +3143,7 @@ pub struct IEnumDebugStackFrames_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumDebugStackFrames64, IEnumDebugStackFrames64_Vtbl, 0x0dc38853_c1b0_4176_a984_b298361027af); +windows_core::imp::define_interface!(IEnumDebugStackFrames64, IEnumDebugStackFrames64_Vtbl, 0x0dc38853_c1b0_4176_a984_b298361027af); windows_core::imp::interface_hierarchy!(IEnumDebugStackFrames64, windows_core::IUnknown, IEnumDebugStackFrames); impl IEnumDebugStackFrames64 { pub unsafe fn Next(&self, celt: u32, prgdsfd: *mut DebugStackFrameDescriptor, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -3168,7 +3168,7 @@ pub struct IEnumDebugStackFrames64_Vtbl { pub base__: IEnumDebugStackFrames_Vtbl, pub Next64: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DebugStackFrameDescriptor64, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumJsStackFrames, IEnumJsStackFrames_Vtbl, 0x5e7da34b_fb51_4791_abe7_cb5bdf419755); +windows_core::imp::define_interface!(IEnumJsStackFrames, IEnumJsStackFrames_Vtbl, 0x5e7da34b_fb51_4791_abe7_cb5bdf419755); windows_core::imp::interface_hierarchy!(IEnumJsStackFrames, windows_core::IUnknown); impl IEnumJsStackFrames { pub unsafe fn Next(&self, pframes: &mut [JS_NATIVE_FRAME], pcfetched: *mut u32) -> windows_core::Result<()> { @@ -3184,7 +3184,7 @@ pub struct IEnumJsStackFrames_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut JS_NATIVE_FRAME, *mut u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumRemoteDebugApplicationThreads, IEnumRemoteDebugApplicationThreads_Vtbl, 0x51973c3c_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IEnumRemoteDebugApplicationThreads, IEnumRemoteDebugApplicationThreads_Vtbl, 0x51973c3c_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IEnumRemoteDebugApplicationThreads, windows_core::IUnknown); impl IEnumRemoteDebugApplicationThreads { pub unsafe fn Next(&self, celt: u32, pprdat: *mut Option, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -3209,7 +3209,7 @@ pub struct IEnumRemoteDebugApplicationThreads_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumRemoteDebugApplications, IEnumRemoteDebugApplications_Vtbl, 0x51973c3b_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IEnumRemoteDebugApplications, IEnumRemoteDebugApplications_Vtbl, 0x51973c3b_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IEnumRemoteDebugApplications, windows_core::IUnknown); impl IEnumRemoteDebugApplications { pub unsafe fn Next(&self, celt: u32, ppda: *mut Option, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -3234,7 +3234,7 @@ pub struct IEnumRemoteDebugApplications_Vtbl { 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, } -windows_core::imp::com_interface!(IJsDebug, IJsDebug_Vtbl, 0xbe0e89da_2ac5_4c04_ac5e_59956aae3613); +windows_core::imp::define_interface!(IJsDebug, IJsDebug_Vtbl, 0xbe0e89da_2ac5_4c04_ac5e_59956aae3613); windows_core::imp::interface_hierarchy!(IJsDebug, windows_core::IUnknown); impl IJsDebug { pub unsafe fn OpenVirtualProcess(&self, processid: u32, runtimejsbaseaddress: u64, pdatatarget: P0) -> windows_core::Result @@ -3250,7 +3250,7 @@ pub struct IJsDebug_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OpenVirtualProcess: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IJsDebugBreakPoint, IJsDebugBreakPoint_Vtbl, 0xdf6773e3_ed8d_488b_8a3e_5812577d1542); +windows_core::imp::define_interface!(IJsDebugBreakPoint, IJsDebugBreakPoint_Vtbl, 0xdf6773e3_ed8d_488b_8a3e_5812577d1542); windows_core::imp::interface_hierarchy!(IJsDebugBreakPoint, windows_core::IUnknown); impl IJsDebugBreakPoint { pub unsafe fn IsEnabled(&self) -> windows_core::Result { @@ -3279,7 +3279,7 @@ pub struct IJsDebugBreakPoint_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDocumentPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IJsDebugDataTarget, IJsDebugDataTarget_Vtbl, 0x53b28977_53a1_48e5_9000_5d0dfa893931); +windows_core::imp::define_interface!(IJsDebugDataTarget, IJsDebugDataTarget_Vtbl, 0x53b28977_53a1_48e5_9000_5d0dfa893931); windows_core::imp::interface_hierarchy!(IJsDebugDataTarget, windows_core::IUnknown); impl IJsDebugDataTarget { pub unsafe fn ReadMemory(&self, address: u64, flags: JsDebugReadMemoryFlags, pbuffer: &mut [u8], pbytesread: *mut u32) -> windows_core::Result<()> { @@ -3328,7 +3328,7 @@ pub struct IJsDebugDataTarget_Vtbl { 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, } -windows_core::imp::com_interface!(IJsDebugFrame, IJsDebugFrame_Vtbl, 0xc9196637_ab9d_44b2_bad2_13b95b3f390e); +windows_core::imp::define_interface!(IJsDebugFrame, IJsDebugFrame_Vtbl, 0xc9196637_ab9d_44b2_bad2_13b95b3f390e); windows_core::imp::interface_hierarchy!(IJsDebugFrame, windows_core::IUnknown); impl IJsDebugFrame { pub unsafe fn GetStackRange(&self, pstart: *mut u64, pend: *mut u64) -> windows_core::Result<()> { @@ -3370,7 +3370,7 @@ pub struct IJsDebugFrame_Vtbl { 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, } -windows_core::imp::com_interface!(IJsDebugProcess, IJsDebugProcess_Vtbl, 0x3d587168_6a2d_4041_bd3b_0de674502862); +windows_core::imp::define_interface!(IJsDebugProcess, IJsDebugProcess_Vtbl, 0x3d587168_6a2d_4041_bd3b_0de674502862); windows_core::imp::interface_hierarchy!(IJsDebugProcess, windows_core::IUnknown); impl IJsDebugProcess { pub unsafe fn CreateStackWalker(&self, threadid: u32) -> windows_core::Result { @@ -3400,7 +3400,7 @@ pub struct IJsDebugProcess_Vtbl { pub PerformAsyncBreak: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetExternalStepAddress: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IJsDebugProperty, IJsDebugProperty_Vtbl, 0xf8ffcf2b_3aa4_4320_85c3_52a312ba9633); +windows_core::imp::define_interface!(IJsDebugProperty, IJsDebugProperty_Vtbl, 0xf8ffcf2b_3aa4_4320_85c3_52a312ba9633); windows_core::imp::interface_hierarchy!(IJsDebugProperty, windows_core::IUnknown); impl IJsDebugProperty { pub unsafe fn GetPropertyInfo(&self, nradix: u32, ppropertyinfo: *mut JsDebugPropertyInfo) -> windows_core::Result<()> { @@ -3417,7 +3417,7 @@ pub struct IJsDebugProperty_Vtbl { pub GetPropertyInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut JsDebugPropertyInfo) -> windows_core::HRESULT, pub GetMembers: unsafe extern "system" fn(*mut core::ffi::c_void, JS_PROPERTY_MEMBERS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IJsDebugStackWalker, IJsDebugStackWalker_Vtbl, 0xdb24b094_73c4_456c_a4ec_e90ea00bdfe3); +windows_core::imp::define_interface!(IJsDebugStackWalker, IJsDebugStackWalker_Vtbl, 0xdb24b094_73c4_456c_a4ec_e90ea00bdfe3); windows_core::imp::interface_hierarchy!(IJsDebugStackWalker, windows_core::IUnknown); impl IJsDebugStackWalker { pub unsafe fn GetNext(&self) -> windows_core::Result { @@ -3430,7 +3430,7 @@ pub struct IJsDebugStackWalker_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetNext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IJsEnumDebugProperty, IJsEnumDebugProperty_Vtbl, 0x4092432f_2f0f_4fe1_b638_5b74a52cdcbe); +windows_core::imp::define_interface!(IJsEnumDebugProperty, IJsEnumDebugProperty_Vtbl, 0x4092432f_2f0f_4fe1_b638_5b74a52cdcbe); windows_core::imp::interface_hierarchy!(IJsEnumDebugProperty, windows_core::IUnknown); impl IJsEnumDebugProperty { pub unsafe fn Next(&self, ppdebugproperty: &mut [Option], pactualcount: *mut u32) -> windows_core::Result<()> { @@ -3447,7 +3447,7 @@ pub struct IJsEnumDebugProperty_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMachineDebugManager, IMachineDebugManager_Vtbl, 0x51973c2c_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IMachineDebugManager, IMachineDebugManager_Vtbl, 0x51973c2c_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IMachineDebugManager, windows_core::IUnknown); impl IMachineDebugManager { pub unsafe fn AddApplication(&self, pda: P0) -> windows_core::Result @@ -3472,7 +3472,7 @@ pub struct IMachineDebugManager_Vtbl { pub RemoveApplication: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub EnumApplications: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMachineDebugManagerCookie, IMachineDebugManagerCookie_Vtbl, 0x51973c2d_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IMachineDebugManagerCookie, IMachineDebugManagerCookie_Vtbl, 0x51973c2d_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IMachineDebugManagerCookie, windows_core::IUnknown); impl IMachineDebugManagerCookie { pub unsafe fn AddApplication(&self, pda: P0, dwdebugappcookie: u32) -> windows_core::Result @@ -3497,7 +3497,7 @@ pub struct IMachineDebugManagerCookie_Vtbl { pub RemoveApplication: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub EnumApplications: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMachineDebugManagerEvents, IMachineDebugManagerEvents_Vtbl, 0x51973c2e_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IMachineDebugManagerEvents, IMachineDebugManagerEvents_Vtbl, 0x51973c2e_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IMachineDebugManagerEvents, windows_core::IUnknown); impl IMachineDebugManagerEvents { pub unsafe fn onAddApplication(&self, pda: P0, dwappcookie: u32) -> windows_core::Result<()> @@ -3519,7 +3519,7 @@ pub struct IMachineDebugManagerEvents_Vtbl { pub onAddApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub onRemoveApplication: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessDebugManager32, IProcessDebugManager32_Vtbl, 0x51973c2f_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IProcessDebugManager32, IProcessDebugManager32_Vtbl, 0x51973c2f_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IProcessDebugManager32, windows_core::IUnknown); impl IProcessDebugManager32 { pub unsafe fn CreateApplication(&self) -> windows_core::Result { @@ -3557,7 +3557,7 @@ pub struct IProcessDebugManager32_Vtbl { pub RemoveApplication: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub CreateDebugDocumentHelper: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProcessDebugManager64, IProcessDebugManager64_Vtbl, 0x56b9fc1c_63a9_4cc1_ac21_087d69a17fab); +windows_core::imp::define_interface!(IProcessDebugManager64, IProcessDebugManager64_Vtbl, 0x56b9fc1c_63a9_4cc1_ac21_087d69a17fab); windows_core::imp::interface_hierarchy!(IProcessDebugManager64, windows_core::IUnknown); impl IProcessDebugManager64 { pub unsafe fn CreateApplication(&self) -> windows_core::Result { @@ -3595,7 +3595,7 @@ pub struct IProcessDebugManager64_Vtbl { pub RemoveApplication: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub CreateDebugDocumentHelper: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProvideExpressionContexts, IProvideExpressionContexts_Vtbl, 0x51973c41_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IProvideExpressionContexts, IProvideExpressionContexts_Vtbl, 0x51973c41_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IProvideExpressionContexts, windows_core::IUnknown); impl IProvideExpressionContexts { pub unsafe fn EnumExpressionContexts(&self) -> windows_core::Result { @@ -3608,7 +3608,7 @@ pub struct IProvideExpressionContexts_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub EnumExpressionContexts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteDebugApplication, IRemoteDebugApplication_Vtbl, 0x51973c30_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IRemoteDebugApplication, IRemoteDebugApplication_Vtbl, 0x51973c30_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IRemoteDebugApplication, windows_core::IUnknown); impl IRemoteDebugApplication { pub unsafe fn ResumeFromBreakPoint(&self, prptfocus: P0, bra: BREAKRESUMEACTION, era: ERRORRESUMEACTION) -> windows_core::Result<()> @@ -3675,7 +3675,7 @@ pub struct IRemoteDebugApplication_Vtbl { 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, } -windows_core::imp::com_interface!(IRemoteDebugApplication110, IRemoteDebugApplication110_Vtbl, 0xd5fe005b_2836_485e_b1f9_89d91aa24fd4); +windows_core::imp::define_interface!(IRemoteDebugApplication110, IRemoteDebugApplication110_Vtbl, 0xd5fe005b_2836_485e_b1f9_89d91aa24fd4); windows_core::imp::interface_hierarchy!(IRemoteDebugApplication110, windows_core::IUnknown); impl IRemoteDebugApplication110 { pub unsafe fn SetDebuggerOptions(&self, mask: SCRIPT_DEBUGGER_OPTIONS, value: SCRIPT_DEBUGGER_OPTIONS) -> windows_core::Result<()> { @@ -3697,7 +3697,7 @@ pub struct IRemoteDebugApplication110_Vtbl { pub GetCurrentDebuggerOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SCRIPT_DEBUGGER_OPTIONS) -> windows_core::HRESULT, pub GetMainThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteDebugApplicationEvents, IRemoteDebugApplicationEvents_Vtbl, 0x51973c33_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IRemoteDebugApplicationEvents, IRemoteDebugApplicationEvents_Vtbl, 0x51973c33_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IRemoteDebugApplicationEvents, windows_core::IUnknown); impl IRemoteDebugApplicationEvents { pub unsafe fn OnConnectDebugger(&self, pad: P0) -> windows_core::Result<()> @@ -3769,7 +3769,7 @@ pub struct IRemoteDebugApplicationEvents_Vtbl { pub OnDestroyThread: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnBreakFlagChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteDebugApplicationThread, IRemoteDebugApplicationThread_Vtbl, 0x51973c37_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IRemoteDebugApplicationThread, IRemoteDebugApplicationThread_Vtbl, 0x51973c37_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IRemoteDebugApplicationThread, windows_core::IUnknown); impl IRemoteDebugApplicationThread { pub unsafe fn GetSystemThreadId(&self) -> windows_core::Result { @@ -3824,7 +3824,7 @@ pub struct IRemoteDebugApplicationThread_Vtbl { pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetSuspendCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteDebugCriticalErrorEvent110, IRemoteDebugCriticalErrorEvent110_Vtbl, 0x2f69c611_6b14_47e8_9260_4bb7c52f504b); +windows_core::imp::define_interface!(IRemoteDebugCriticalErrorEvent110, IRemoteDebugCriticalErrorEvent110_Vtbl, 0x2f69c611_6b14_47e8_9260_4bb7c52f504b); windows_core::imp::interface_hierarchy!(IRemoteDebugCriticalErrorEvent110, windows_core::IUnknown); impl IRemoteDebugCriticalErrorEvent110 { pub unsafe fn GetErrorInfo(&self, pbstrsource: *mut windows_core::BSTR, pmessageid: *mut i32, pbstrmessage: *mut windows_core::BSTR, pplocation: *mut Option) -> windows_core::Result<()> { @@ -3836,7 +3836,7 @@ 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, } -windows_core::imp::com_interface!(IRemoteDebugInfoEvent110, IRemoteDebugInfoEvent110_Vtbl, 0x9ff56bb6_eb89_4c0f_8823_cc2a4c0b7f26); +windows_core::imp::define_interface!(IRemoteDebugInfoEvent110, IRemoteDebugInfoEvent110_Vtbl, 0x9ff56bb6_eb89_4c0f_8823_cc2a4c0b7f26); windows_core::imp::interface_hierarchy!(IRemoteDebugInfoEvent110, windows_core::IUnknown); impl IRemoteDebugInfoEvent110 { pub unsafe fn GetEventInfo(&self, pmessagetype: *mut DEBUG_EVENT_INFO_TYPE, pbstrmessage: *mut windows_core::BSTR, pbstrurl: *mut windows_core::BSTR, pplocation: *mut Option) -> windows_core::Result<()> { @@ -3848,7 +3848,7 @@ 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, } -windows_core::imp::com_interface!(IScriptEntry, IScriptEntry_Vtbl, 0x0aee2a95_bcbb_11d0_8c72_00c04fc2b085); +windows_core::imp::define_interface!(IScriptEntry, IScriptEntry_Vtbl, 0x0aee2a95_bcbb_11d0_8c72_00c04fc2b085); windows_core::imp::interface_hierarchy!(IScriptEntry, windows_core::IUnknown, IScriptNode); impl IScriptEntry { pub unsafe fn Alive(&self) -> windows_core::Result<()> { @@ -3975,7 +3975,7 @@ pub struct IScriptEntry_Vtbl { SetSignature: usize, pub GetRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScriptInvocationContext, IScriptInvocationContext_Vtbl, 0x5d7741b7_af7e_4a2a_85e5_c77f4d0659fb); +windows_core::imp::define_interface!(IScriptInvocationContext, IScriptInvocationContext_Vtbl, 0x5d7741b7_af7e_4a2a_85e5_c77f4d0659fb); windows_core::imp::interface_hierarchy!(IScriptInvocationContext, windows_core::IUnknown); impl IScriptInvocationContext { pub unsafe fn GetContextType(&self) -> windows_core::Result { @@ -3998,7 +3998,7 @@ pub struct IScriptInvocationContext_Vtbl { pub GetContextDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IScriptNode, IScriptNode_Vtbl, 0x0aee2a94_bcbb_11d0_8c72_00c04fc2b085); +windows_core::imp::define_interface!(IScriptNode, IScriptNode_Vtbl, 0x0aee2a94_bcbb_11d0_8c72_00c04fc2b085); windows_core::imp::interface_hierarchy!(IScriptNode, windows_core::IUnknown); impl IScriptNode { pub unsafe fn Alive(&self) -> windows_core::Result<()> { @@ -4067,7 +4067,7 @@ pub struct IScriptNode_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateChildHandler: usize, } -windows_core::imp::com_interface!(IScriptScriptlet, IScriptScriptlet_Vtbl, 0x0aee2a96_bcbb_11d0_8c72_00c04fc2b085); +windows_core::imp::define_interface!(IScriptScriptlet, IScriptScriptlet_Vtbl, 0x0aee2a96_bcbb_11d0_8c72_00c04fc2b085); windows_core::imp::interface_hierarchy!(IScriptScriptlet, windows_core::IUnknown, IScriptNode, IScriptEntry); impl IScriptScriptlet { pub unsafe fn Alive(&self) -> windows_core::Result<()> { @@ -4213,7 +4213,7 @@ pub struct IScriptScriptlet_Vtbl { pub GetSimpleEventName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(ISimpleConnectionPoint, ISimpleConnectionPoint_Vtbl, 0x51973c3e_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(ISimpleConnectionPoint, ISimpleConnectionPoint_Vtbl, 0x51973c3e_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(ISimpleConnectionPoint, windows_core::IUnknown); impl ISimpleConnectionPoint { pub unsafe fn GetEventCount(&self) -> windows_core::Result { @@ -4246,7 +4246,7 @@ pub struct ISimpleConnectionPoint_Vtbl { Advise: usize, pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITridentEventSink, ITridentEventSink_Vtbl, 0x1dc9ca50_06ef_11d2_8415_006008c3fbfc); +windows_core::imp::define_interface!(ITridentEventSink, ITridentEventSink_Vtbl, 0x1dc9ca50_06ef_11d2_8415_006008c3fbfc); windows_core::imp::interface_hierarchy!(ITridentEventSink, windows_core::IUnknown); impl ITridentEventSink { #[cfg(feature = "Win32_System_Com")] @@ -4265,7 +4265,7 @@ pub struct ITridentEventSink_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] FireEvent: usize, } -windows_core::imp::com_interface!(IWebAppDiagnosticsObjectInitialization, IWebAppDiagnosticsObjectInitialization_Vtbl, 0x16ff3a42_a5f5_432b_b625_8e8e16f57e15); +windows_core::imp::define_interface!(IWebAppDiagnosticsObjectInitialization, IWebAppDiagnosticsObjectInitialization_Vtbl, 0x16ff3a42_a5f5_432b_b625_8e8e16f57e15); windows_core::imp::interface_hierarchy!(IWebAppDiagnosticsObjectInitialization, windows_core::IUnknown); impl IWebAppDiagnosticsObjectInitialization { pub unsafe fn Initialize(&self, hpassedhandle: P0, pdebugapplication: P1) -> windows_core::Result<()> @@ -4281,7 +4281,7 @@ pub struct IWebAppDiagnosticsObjectInitialization_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::super::Foundation::HANDLE_PTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAppDiagnosticsSetup, IWebAppDiagnosticsSetup_Vtbl, 0x379bfbe1_c6c9_432a_93e1_6d17656c538c); +windows_core::imp::define_interface!(IWebAppDiagnosticsSetup, IWebAppDiagnosticsSetup_Vtbl, 0x379bfbe1_c6c9_432a_93e1_6d17656c538c); windows_core::imp::interface_hierarchy!(IWebAppDiagnosticsSetup, windows_core::IUnknown); impl IWebAppDiagnosticsSetup { pub unsafe fn DiagnosticsSupported(&self) -> windows_core::Result { 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 05df2327b1..b65d269bc3 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 @@ -41,7 +41,7 @@ where let mut result__ = std::ptr::null_mut(); DebugCreateEx(&T::IID, dbgengoptions, &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } -windows_core::imp::com_interface!(DebugBaseEventCallbacks, DebugBaseEventCallbacks_Vtbl, 0); +windows_core::imp::define_interface!(DebugBaseEventCallbacks, DebugBaseEventCallbacks_Vtbl, 0); windows_core::imp::interface_hierarchy!(DebugBaseEventCallbacks, windows_core::IUnknown, IDebugEventCallbacks); impl DebugBaseEventCallbacks { pub unsafe fn GetInterestMask(&self) -> windows_core::Result { @@ -106,7 +106,7 @@ impl DebugBaseEventCallbacks { pub struct DebugBaseEventCallbacks_Vtbl { pub base__: IDebugEventCallbacks_Vtbl, } -windows_core::imp::com_interface!(DebugBaseEventCallbacksWide, DebugBaseEventCallbacksWide_Vtbl, 0); +windows_core::imp::define_interface!(DebugBaseEventCallbacksWide, DebugBaseEventCallbacksWide_Vtbl, 0); windows_core::imp::interface_hierarchy!(DebugBaseEventCallbacksWide, windows_core::IUnknown, IDebugEventCallbacksWide); impl DebugBaseEventCallbacksWide { pub unsafe fn GetInterestMask(&self) -> windows_core::Result { @@ -171,7 +171,7 @@ impl DebugBaseEventCallbacksWide { pub struct DebugBaseEventCallbacksWide_Vtbl { pub base__: IDebugEventCallbacksWide_Vtbl, } -windows_core::imp::com_interface!(ICodeAddressConcept, ICodeAddressConcept_Vtbl, 0xc7371568_5c78_4a00_a4ab_6ef8823184cb); +windows_core::imp::define_interface!(ICodeAddressConcept, ICodeAddressConcept_Vtbl, 0xc7371568_5c78_4a00_a4ab_6ef8823184cb); windows_core::imp::interface_hierarchy!(ICodeAddressConcept, windows_core::IUnknown); impl ICodeAddressConcept { pub unsafe fn GetContainingSymbol(&self, pcontextobject: P0) -> windows_core::Result @@ -187,7 +187,7 @@ pub struct ICodeAddressConcept_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetContainingSymbol: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComparableConcept, IComparableConcept_Vtbl, 0xa7830646_9f0c_4a31_ba19_503f33e6c8a3); +windows_core::imp::define_interface!(IComparableConcept, IComparableConcept_Vtbl, 0xa7830646_9f0c_4a31_ba19_503f33e6c8a3); windows_core::imp::interface_hierarchy!(IComparableConcept, windows_core::IUnknown); impl IComparableConcept { pub unsafe fn CompareObjects(&self, contextobject: P0, otherobject: P1) -> windows_core::Result @@ -204,7 +204,7 @@ pub struct IComparableConcept_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CompareObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelConcept, IDataModelConcept_Vtbl, 0xfcb98d1d_1114_4fbf_b24c_effcb5def0d3); +windows_core::imp::define_interface!(IDataModelConcept, IDataModelConcept_Vtbl, 0xfcb98d1d_1114_4fbf_b24c_effcb5def0d3); windows_core::imp::interface_hierarchy!(IDataModelConcept, windows_core::IUnknown); impl IDataModelConcept { pub unsafe fn InitializeObject(&self, modelobject: P0, matchingtypesignature: P1, wildcardmatches: P2) -> windows_core::Result<()> @@ -226,7 +226,7 @@ pub struct IDataModelConcept_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, } -windows_core::imp::com_interface!(IDataModelManager, IDataModelManager_Vtbl, 0x73fe19f4_a110_4500_8ed9_3c28896f508c); +windows_core::imp::define_interface!(IDataModelManager, IDataModelManager_Vtbl, 0x73fe19f4_a110_4500_8ed9_3c28896f508c); windows_core::imp::interface_hierarchy!(IDataModelManager, windows_core::IUnknown); impl IDataModelManager { pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -381,7 +381,7 @@ pub struct IDataModelManager_Vtbl { pub UnregisterNamedModel: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub AcquireNamedModel: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelManager2, IDataModelManager2_Vtbl, 0xf412c5ea_2284_4622_a660_a697160d3312); +windows_core::imp::define_interface!(IDataModelManager2, IDataModelManager2_Vtbl, 0xf412c5ea_2284_4622_a660_a697160d3312); windows_core::imp::interface_hierarchy!(IDataModelManager2, windows_core::IUnknown, IDataModelManager); impl IDataModelManager2 { pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -536,7 +536,7 @@ pub struct IDataModelManager2_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, } -windows_core::imp::com_interface!(IDataModelNameBinder, IDataModelNameBinder_Vtbl, 0xaf352b7b_8292_4c01_b360_2dc3696c65e7); +windows_core::imp::define_interface!(IDataModelNameBinder, IDataModelNameBinder_Vtbl, 0xaf352b7b_8292_4c01_b360_2dc3696c65e7); windows_core::imp::interface_hierarchy!(IDataModelNameBinder, windows_core::IUnknown); impl IDataModelNameBinder { pub unsafe fn BindValue(&self, contextobject: P0, name: P1, value: *mut Option, metadata: Option<*mut Option>) -> windows_core::Result<()> @@ -576,7 +576,7 @@ pub struct IDataModelNameBinder_Vtbl { pub EnumerateValues: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateReferences: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScript, IDataModelScript_Vtbl, 0x7b4d30fc_b14a_49f8_8d87_d9a1480c97f7); +windows_core::imp::define_interface!(IDataModelScript, IDataModelScript_Vtbl, 0x7b4d30fc_b14a_49f8_8d87_d9a1480c97f7); windows_core::imp::interface_hierarchy!(IDataModelScript, windows_core::IUnknown); impl IDataModelScript { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -630,7 +630,7 @@ pub struct IDataModelScript_Vtbl { pub IsInvocable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, pub InvokeMain: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScriptClient, IDataModelScriptClient_Vtbl, 0x3b362b0e_89f0_46c6_a663_dfdc95194aef); +windows_core::imp::define_interface!(IDataModelScriptClient, IDataModelScriptClient_Vtbl, 0x3b362b0e_89f0_46c6_a663_dfdc95194aef); windows_core::imp::interface_hierarchy!(IDataModelScriptClient, windows_core::IUnknown); impl IDataModelScriptClient { pub unsafe fn ReportError(&self, errclass: ErrorClass, hrfail: windows_core::HRESULT, message: P0, line: u32, position: u32) -> windows_core::Result<()> @@ -645,7 +645,7 @@ pub struct IDataModelScriptClient_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, ErrorClass, windows_core::HRESULT, windows_core::PCWSTR, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScriptDebug, IDataModelScriptDebug_Vtbl, 0xde8e0945_9750_4471_ab76_a8f79d6ec350); +windows_core::imp::define_interface!(IDataModelScriptDebug, IDataModelScriptDebug_Vtbl, 0xde8e0945_9750_4471_ab76_a8f79d6ec350); windows_core::imp::interface_hierarchy!(IDataModelScriptDebug, windows_core::IUnknown); impl IDataModelScriptDebug { pub unsafe fn GetDebugState(&self) -> ScriptDebugState { @@ -704,7 +704,7 @@ pub struct IDataModelScriptDebug_Vtbl { pub StartDebugging: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub StopDebugging: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScriptDebug2, IDataModelScriptDebug2_Vtbl, 0xcbb10ed3_839e_426c_9243_e23535c1ae1a); +windows_core::imp::define_interface!(IDataModelScriptDebug2, IDataModelScriptDebug2_Vtbl, 0xcbb10ed3_839e_426c_9243_e23535c1ae1a); windows_core::imp::interface_hierarchy!(IDataModelScriptDebug2, windows_core::IUnknown, IDataModelScriptDebug); impl IDataModelScriptDebug2 { pub unsafe fn GetDebugState(&self) -> ScriptDebugState { @@ -761,7 +761,7 @@ pub struct IDataModelScriptDebug2_Vtbl { pub base__: IDataModelScriptDebug_Vtbl, pub SetBreakpointAtFunction: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScriptDebugBreakpoint, IDataModelScriptDebugBreakpoint_Vtbl, 0x6bb27b35_02e6_47cb_90a0_5371244032de); +windows_core::imp::define_interface!(IDataModelScriptDebugBreakpoint, IDataModelScriptDebugBreakpoint_Vtbl, 0x6bb27b35_02e6_47cb_90a0_5371244032de); windows_core::imp::interface_hierarchy!(IDataModelScriptDebugBreakpoint, windows_core::IUnknown); impl IDataModelScriptDebugBreakpoint { pub unsafe fn GetId(&self) -> u64 { @@ -793,7 +793,7 @@ pub struct IDataModelScriptDebugBreakpoint_Vtbl { 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, } -windows_core::imp::com_interface!(IDataModelScriptDebugBreakpointEnumerator, IDataModelScriptDebugBreakpointEnumerator_Vtbl, 0x39484a75_b4f3_4799_86da_691afa57b299); +windows_core::imp::define_interface!(IDataModelScriptDebugBreakpointEnumerator, IDataModelScriptDebugBreakpointEnumerator_Vtbl, 0x39484a75_b4f3_4799_86da_691afa57b299); windows_core::imp::interface_hierarchy!(IDataModelScriptDebugBreakpointEnumerator, windows_core::IUnknown); impl IDataModelScriptDebugBreakpointEnumerator { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -810,7 +810,7 @@ pub struct IDataModelScriptDebugBreakpointEnumerator_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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScriptDebugClient, IDataModelScriptDebugClient_Vtbl, 0x53159b6d_d4c4_471b_a863_5b110ca800ca); +windows_core::imp::define_interface!(IDataModelScriptDebugClient, IDataModelScriptDebugClient_Vtbl, 0x53159b6d_d4c4_471b_a863_5b110ca800ca); windows_core::imp::interface_hierarchy!(IDataModelScriptDebugClient, windows_core::IUnknown); impl IDataModelScriptDebugClient { pub unsafe fn NotifyDebugEvent(&self, peventinfo: *const ScriptDebugEventInformation, pscript: P0, peventdataobject: P1, resumeeventkind: *mut ScriptExecutionKind) -> windows_core::Result<()> @@ -826,7 +826,7 @@ pub struct IDataModelScriptDebugClient_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub NotifyDebugEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const ScriptDebugEventInformation, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut ScriptExecutionKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScriptDebugStack, IDataModelScriptDebugStack_Vtbl, 0x051364dd_e449_443e_9762_fe578f4a5473); +windows_core::imp::define_interface!(IDataModelScriptDebugStack, IDataModelScriptDebugStack_Vtbl, 0x051364dd_e449_443e_9762_fe578f4a5473); windows_core::imp::interface_hierarchy!(IDataModelScriptDebugStack, windows_core::IUnknown); impl IDataModelScriptDebugStack { pub unsafe fn GetFrameCount(&self) -> u64 { @@ -843,7 +843,7 @@ pub struct IDataModelScriptDebugStack_Vtbl { pub GetFrameCount: unsafe extern "system" fn(*mut core::ffi::c_void) -> u64, pub GetStackFrame: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScriptDebugStackFrame, IDataModelScriptDebugStackFrame_Vtbl, 0xdec6ed5e_6360_4941_ab4c_a26409de4f82); +windows_core::imp::define_interface!(IDataModelScriptDebugStackFrame, IDataModelScriptDebugStackFrame_Vtbl, 0xdec6ed5e_6360_4941_ab4c_a26409de4f82); windows_core::imp::interface_hierarchy!(IDataModelScriptDebugStackFrame, windows_core::IUnknown); impl IDataModelScriptDebugStackFrame { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -887,7 +887,7 @@ pub struct IDataModelScriptDebugStackFrame_Vtbl { pub EnumerateLocals: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateArguments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScriptDebugVariableSetEnumerator, IDataModelScriptDebugVariableSetEnumerator_Vtbl, 0x0f9feed7_d045_4ac3_98a8_a98942cf6a35); +windows_core::imp::define_interface!(IDataModelScriptDebugVariableSetEnumerator, IDataModelScriptDebugVariableSetEnumerator_Vtbl, 0x0f9feed7_d045_4ac3_98a8_a98942cf6a35); windows_core::imp::interface_hierarchy!(IDataModelScriptDebugVariableSetEnumerator, windows_core::IUnknown); impl IDataModelScriptDebugVariableSetEnumerator { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -903,7 +903,7 @@ pub struct IDataModelScriptDebugVariableSetEnumerator_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, } -windows_core::imp::com_interface!(IDataModelScriptHostContext, IDataModelScriptHostContext_Vtbl, 0x014d366a_1f23_4981_9219_b2db8b402054); +windows_core::imp::define_interface!(IDataModelScriptHostContext, IDataModelScriptHostContext_Vtbl, 0x014d366a_1f23_4981_9219_b2db8b402054); windows_core::imp::interface_hierarchy!(IDataModelScriptHostContext, windows_core::IUnknown); impl IDataModelScriptHostContext { pub unsafe fn NotifyScriptChange(&self, script: P0, changekind: ScriptChangeKind) -> windows_core::Result<()> @@ -923,7 +923,7 @@ pub struct IDataModelScriptHostContext_Vtbl { pub NotifyScriptChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, ScriptChangeKind) -> windows_core::HRESULT, pub GetNamespaceObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScriptManager, IDataModelScriptManager_Vtbl, 0x6fd11e33_e5ad_410b_8011_68c6bc4bf80d); +windows_core::imp::define_interface!(IDataModelScriptManager, IDataModelScriptManager_Vtbl, 0x6fd11e33_e5ad_410b_8011_68c6bc4bf80d); windows_core::imp::interface_hierarchy!(IDataModelScriptManager, windows_core::IUnknown); impl IDataModelScriptManager { pub unsafe fn GetDefaultNameBinder(&self) -> windows_core::Result { @@ -971,7 +971,7 @@ pub struct IDataModelScriptManager_Vtbl { pub FindProviderForScriptExtension: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateScriptProviders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScriptProvider, IDataModelScriptProvider_Vtbl, 0x513461e0_4fca_48ce_8658_32f3e2056f3b); +windows_core::imp::define_interface!(IDataModelScriptProvider, IDataModelScriptProvider_Vtbl, 0x513461e0_4fca_48ce_8658_32f3e2056f3b); windows_core::imp::interface_hierarchy!(IDataModelScriptProvider, windows_core::IUnknown); impl IDataModelScriptProvider { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -1004,7 +1004,7 @@ pub struct IDataModelScriptProvider_Vtbl { 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, } -windows_core::imp::com_interface!(IDataModelScriptProviderEnumerator, IDataModelScriptProviderEnumerator_Vtbl, 0x95ba00e2_704a_4fe2_a8f1_a7e7d8fb0941); +windows_core::imp::define_interface!(IDataModelScriptProviderEnumerator, IDataModelScriptProviderEnumerator_Vtbl, 0x95ba00e2_704a_4fe2_a8f1_a7e7d8fb0941); windows_core::imp::interface_hierarchy!(IDataModelScriptProviderEnumerator, windows_core::IUnknown); impl IDataModelScriptProviderEnumerator { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -1021,7 +1021,7 @@ pub struct IDataModelScriptProviderEnumerator_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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataModelScriptTemplate, IDataModelScriptTemplate_Vtbl, 0x1303dec4_fa3b_4f1b_9224_b953d16babb5); +windows_core::imp::define_interface!(IDataModelScriptTemplate, IDataModelScriptTemplate_Vtbl, 0x1303dec4_fa3b_4f1b_9224_b953d16babb5); windows_core::imp::interface_hierarchy!(IDataModelScriptTemplate, windows_core::IUnknown); impl IDataModelScriptTemplate { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -1048,7 +1048,7 @@ pub struct IDataModelScriptTemplate_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetContent: usize, } -windows_core::imp::com_interface!(IDataModelScriptTemplateEnumerator, IDataModelScriptTemplateEnumerator_Vtbl, 0x69ce6ae2_2268_4e6f_b062_20ce62bfe677); +windows_core::imp::define_interface!(IDataModelScriptTemplateEnumerator, IDataModelScriptTemplateEnumerator_Vtbl, 0x69ce6ae2_2268_4e6f_b062_20ce62bfe677); windows_core::imp::interface_hierarchy!(IDataModelScriptTemplateEnumerator, windows_core::IUnknown); impl IDataModelScriptTemplateEnumerator { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -1065,7 +1065,7 @@ pub struct IDataModelScriptTemplateEnumerator_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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugAdvanced, IDebugAdvanced_Vtbl, 0xf2df5f53_071f_47bd_9de6_5734c3fed689); +windows_core::imp::define_interface!(IDebugAdvanced, IDebugAdvanced_Vtbl, 0xf2df5f53_071f_47bd_9de6_5734c3fed689); windows_core::imp::interface_hierarchy!(IDebugAdvanced, windows_core::IUnknown); impl IDebugAdvanced { pub unsafe fn GetThreadContext(&self, context: *mut core::ffi::c_void, contextsize: u32) -> windows_core::Result<()> { @@ -1081,7 +1081,7 @@ pub struct IDebugAdvanced_Vtbl { pub GetThreadContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetThreadContext: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugAdvanced2, IDebugAdvanced2_Vtbl, 0x716d14c9_119b_4ba5_af1f_0890e672416a); +windows_core::imp::define_interface!(IDebugAdvanced2, IDebugAdvanced2_Vtbl, 0x716d14c9_119b_4ba5_af1f_0890e672416a); windows_core::imp::interface_hierarchy!(IDebugAdvanced2, windows_core::IUnknown); impl IDebugAdvanced2 { pub unsafe fn GetThreadContext(&self, context: *mut core::ffi::c_void, contextsize: u32) -> windows_core::Result<()> { @@ -1123,7 +1123,7 @@ pub struct IDebugAdvanced2_Vtbl { pub GetSymbolInformation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u32, *mut core::ffi::c_void, u32, *mut u32, windows_core::PSTR, u32, *mut u32) -> windows_core::HRESULT, pub GetSystemObjectInformation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u32, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugAdvanced3, IDebugAdvanced3_Vtbl, 0xcba4abb4_84c4_444d_87ca_a04e13286739); +windows_core::imp::define_interface!(IDebugAdvanced3, IDebugAdvanced3_Vtbl, 0xcba4abb4_84c4_444d_87ca_a04e13286739); windows_core::imp::interface_hierarchy!(IDebugAdvanced3, windows_core::IUnknown); impl IDebugAdvanced3 { pub unsafe fn GetThreadContext(&self, context: *mut core::ffi::c_void, contextsize: u32) -> windows_core::Result<()> { @@ -1183,7 +1183,7 @@ pub struct IDebugAdvanced3_Vtbl { pub FindSourceFileAndTokenWide: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, windows_core::PCWSTR, u32, *const core::ffi::c_void, u32, *mut u32, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, pub GetSymbolInformationWide: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u32, *mut core::ffi::c_void, u32, *mut u32, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugAdvanced4, IDebugAdvanced4_Vtbl, 0xd1069067_2a65_4bf0_ae97_76184b67856b); +windows_core::imp::define_interface!(IDebugAdvanced4, IDebugAdvanced4_Vtbl, 0xd1069067_2a65_4bf0_ae97_76184b67856b); windows_core::imp::interface_hierarchy!(IDebugAdvanced4, windows_core::IUnknown); impl IDebugAdvanced4 { pub unsafe fn GetThreadContext(&self, context: *mut core::ffi::c_void, contextsize: u32) -> windows_core::Result<()> { @@ -1260,7 +1260,7 @@ pub struct IDebugAdvanced4_Vtbl { pub GetSymbolInformationWide: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u32, *mut core::ffi::c_void, u32, *mut u32, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, pub GetSymbolInformationWideEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, u32, *mut core::ffi::c_void, u32, *mut u32, windows_core::PWSTR, u32, *mut u32, *mut SYMBOL_INFO_EX) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugBreakpoint, IDebugBreakpoint_Vtbl, 0x5bd9d474_5975_423a_b88b_65a8e7110e65); +windows_core::imp::define_interface!(IDebugBreakpoint, IDebugBreakpoint_Vtbl, 0x5bd9d474_5975_423a_b88b_65a8e7110e65); windows_core::imp::interface_hierarchy!(IDebugBreakpoint, windows_core::IUnknown); impl IDebugBreakpoint { pub unsafe fn GetId(&self) -> windows_core::Result { @@ -1365,7 +1365,7 @@ pub struct IDebugBreakpoint_Vtbl { pub SetOffsetExpression: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR) -> windows_core::HRESULT, pub GetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DEBUG_BREAKPOINT_PARAMETERS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugBreakpoint2, IDebugBreakpoint2_Vtbl, 0x1b278d20_79f2_426e_a3f9_c1ddf375d48e); +windows_core::imp::define_interface!(IDebugBreakpoint2, IDebugBreakpoint2_Vtbl, 0x1b278d20_79f2_426e_a3f9_c1ddf375d48e); windows_core::imp::interface_hierarchy!(IDebugBreakpoint2, windows_core::IUnknown); impl IDebugBreakpoint2 { pub unsafe fn GetId(&self) -> windows_core::Result { @@ -1492,7 +1492,7 @@ pub struct IDebugBreakpoint2_Vtbl { pub GetOffsetExpressionWide: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, pub SetOffsetExpressionWide: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugBreakpoint3, IDebugBreakpoint3_Vtbl, 0x38f5c249_b448_43bb_9835_579d4ec02249); +windows_core::imp::define_interface!(IDebugBreakpoint3, IDebugBreakpoint3_Vtbl, 0x38f5c249_b448_43bb_9835_579d4ec02249); windows_core::imp::interface_hierarchy!(IDebugBreakpoint3, windows_core::IUnknown); impl IDebugBreakpoint3 { pub unsafe fn GetId(&self) -> windows_core::Result { @@ -1624,7 +1624,7 @@ pub struct IDebugBreakpoint3_Vtbl { pub SetOffsetExpressionWide: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugClient, IDebugClient_Vtbl, 0x27fe5639_8407_4f47_8364_ee118fb08ac8); +windows_core::imp::define_interface!(IDebugClient, IDebugClient_Vtbl, 0x27fe5639_8407_4f47_8364_ee118fb08ac8); windows_core::imp::interface_hierarchy!(IDebugClient, windows_core::IUnknown); impl IDebugClient { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> windows_core::Result<()> @@ -1892,7 +1892,7 @@ pub struct IDebugClient_Vtbl { pub SetEventCallbacks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub FlushCallbacks: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugClient2, IDebugClient2_Vtbl, 0xedbed635_372e_4dab_bbfe_ed0d2f63be81); +windows_core::imp::define_interface!(IDebugClient2, IDebugClient2_Vtbl, 0xedbed635_372e_4dab_bbfe_ed0d2f63be81); windows_core::imp::interface_hierarchy!(IDebugClient2, windows_core::IUnknown); impl IDebugClient2 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> windows_core::Result<()> @@ -2199,7 +2199,7 @@ pub struct IDebugClient2_Vtbl { pub DetachCurrentProcess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub AbandonCurrentProcess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugClient3, IDebugClient3_Vtbl, 0xdd492d7f_71b8_4ad6_a8dc_1c887479ff91); +windows_core::imp::define_interface!(IDebugClient3, IDebugClient3_Vtbl, 0xdd492d7f_71b8_4ad6_a8dc_1c887479ff91); windows_core::imp::interface_hierarchy!(IDebugClient3, windows_core::IUnknown); impl IDebugClient3 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> windows_core::Result<()> @@ -2544,7 +2544,7 @@ pub struct IDebugClient3_Vtbl { pub CreateProcessWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub CreateProcessAndAttachWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, windows_core::PCWSTR, u32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugClient4, IDebugClient4_Vtbl, 0xca83c3de_5089_4cf8_93c8_d892387f2a5e); +windows_core::imp::define_interface!(IDebugClient4, IDebugClient4_Vtbl, 0xca83c3de_5089_4cf8_93c8_d892387f2a5e); windows_core::imp::interface_hierarchy!(IDebugClient4, windows_core::IUnknown); impl IDebugClient4 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> windows_core::Result<()> @@ -2924,7 +2924,7 @@ pub struct IDebugClient4_Vtbl { pub GetDumpFile: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PSTR, u32, *mut u32, *mut u64, *mut u32) -> windows_core::HRESULT, pub GetDumpFileWide: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, u32, *mut u32, *mut u64, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugClient5, IDebugClient5_Vtbl, 0xe3acb9d7_7ec2_4f0c_a0da_e81e0cbbe628); +windows_core::imp::define_interface!(IDebugClient5, IDebugClient5_Vtbl, 0xe3acb9d7_7ec2_4f0c_a0da_e81e0cbbe628); windows_core::imp::interface_hierarchy!(IDebugClient5, windows_core::IUnknown); impl IDebugClient5 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> windows_core::Result<()> @@ -3490,7 +3490,7 @@ pub struct IDebugClient5_Vtbl { pub GetQuitLockStringWide: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, pub SetQuitLockStringWide: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugClient6, IDebugClient6_Vtbl, 0xfd28b4c5_c498_4686_a28e_62cad2154eb3); +windows_core::imp::define_interface!(IDebugClient6, IDebugClient6_Vtbl, 0xfd28b4c5_c498_4686_a28e_62cad2154eb3); windows_core::imp::interface_hierarchy!(IDebugClient6, windows_core::IUnknown); impl IDebugClient6 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> windows_core::Result<()> @@ -4063,7 +4063,7 @@ pub struct IDebugClient6_Vtbl { pub SetQuitLockStringWide: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetEventContextCallbacks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugClient7, IDebugClient7_Vtbl, 0x13586be3_542e_481e_b1f2_8497ba74f9a9); +windows_core::imp::define_interface!(IDebugClient7, IDebugClient7_Vtbl, 0x13586be3_542e_481e_b1f2_8497ba74f9a9); windows_core::imp::interface_hierarchy!(IDebugClient7, windows_core::IUnknown); impl IDebugClient7 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> windows_core::Result<()> @@ -4640,7 +4640,7 @@ pub struct IDebugClient7_Vtbl { pub SetEventContextCallbacks: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetClientContext: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugClient8, IDebugClient8_Vtbl, 0xcec43add_6375_469e_83d5_414e4033c19a); +windows_core::imp::define_interface!(IDebugClient8, IDebugClient8_Vtbl, 0xcec43add_6375_469e_83d5_414e4033c19a); windows_core::imp::interface_hierarchy!(IDebugClient8, windows_core::IUnknown); impl IDebugClient8 { pub unsafe fn AttachKernel(&self, flags: u32, connectoptions: P0) -> windows_core::Result<()> @@ -5224,7 +5224,7 @@ pub struct IDebugClient8_Vtbl { pub SetClientContext: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32) -> windows_core::HRESULT, pub OpenDumpFileWide2: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u64, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugControl, IDebugControl_Vtbl, 0x5182e668_105e_416e_ad92_24ef800424ba); +windows_core::imp::define_interface!(IDebugControl, IDebugControl_Vtbl, 0x5182e668_105e_416e_ad92_24ef800424ba); windows_core::imp::interface_hierarchy!(IDebugControl, windows_core::IUnknown); impl IDebugControl { pub unsafe fn GetInterrupt(&self) -> windows_core::Result<()> { @@ -5721,7 +5721,7 @@ pub struct IDebugControl_Vtbl { pub WaitForEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub GetLastEventInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32, *mut core::ffi::c_void, u32, *mut u32, windows_core::PSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugControl2, IDebugControl2_Vtbl, 0xd4366723_44df_4bed_8c7e_4c05424f4588); +windows_core::imp::define_interface!(IDebugControl2, IDebugControl2_Vtbl, 0xd4366723_44df_4bed_8c7e_4c05424f4588); windows_core::imp::interface_hierarchy!(IDebugControl2, windows_core::IUnknown); impl IDebugControl2 { pub unsafe fn GetInterrupt(&self) -> windows_core::Result<()> { @@ -6272,7 +6272,7 @@ pub struct IDebugControl2_Vtbl { pub RemoveTextReplacements: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OutputTextReplacements: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugControl3, IDebugControl3_Vtbl, 0x7df74a86_b03f_407f_90ab_a20dadcead08); +windows_core::imp::define_interface!(IDebugControl3, IDebugControl3_Vtbl, 0x7df74a86_b03f_407f_90ab_a20dadcead08); windows_core::imp::interface_hierarchy!(IDebugControl3, windows_core::IUnknown); impl IDebugControl3 { pub unsafe fn GetInterrupt(&self) -> windows_core::Result<()> { @@ -6897,7 +6897,7 @@ pub struct IDebugControl3_Vtbl { pub GetCurrentEventIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetNextEventIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugControl4, IDebugControl4_Vtbl, 0x94e60ce9_9b41_4b19_9fc0_6d9eb35272b3); +windows_core::imp::define_interface!(IDebugControl4, IDebugControl4_Vtbl, 0x94e60ce9_9b41_4b19_9fc0_6d9eb35272b3); windows_core::imp::interface_hierarchy!(IDebugControl4, windows_core::IUnknown); impl IDebugControl4 { pub unsafe fn GetInterrupt(&self) -> windows_core::Result<()> { @@ -7855,7 +7855,7 @@ pub struct IDebugControl4_Vtbl { pub GetManagedStatusWide: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, pub ResetManagedStatus: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugControl5, IDebugControl5_Vtbl, 0xb2ffe162_2412_429f_8d1d_5bf6dd824696); +windows_core::imp::define_interface!(IDebugControl5, IDebugControl5_Vtbl, 0xb2ffe162_2412_429f_8d1d_5bf6dd824696); windows_core::imp::interface_hierarchy!(IDebugControl5, windows_core::IUnknown); impl IDebugControl5 { pub unsafe fn GetInterrupt(&self) -> windows_core::Result<()> { @@ -8834,7 +8834,7 @@ pub struct IDebugControl5_Vtbl { pub OutputContextStackTraceEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const DEBUG_STACK_FRAME_EX, u32, *const core::ffi::c_void, u32, u32, u32) -> windows_core::HRESULT, pub GetBreakpointByGuid: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugControl6, IDebugControl6_Vtbl, 0xbc0d583f_126d_43a1_9cc4_a860ab1d537b); +windows_core::imp::define_interface!(IDebugControl6, IDebugControl6_Vtbl, 0xbc0d583f_126d_43a1_9cc4_a860ab1d537b); windows_core::imp::interface_hierarchy!(IDebugControl6, windows_core::IUnknown); impl IDebugControl6 { pub unsafe fn GetInterrupt(&self) -> windows_core::Result<()> { @@ -9822,7 +9822,7 @@ pub struct IDebugControl6_Vtbl { pub GetExecutionStatusEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetSynchronizationStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugControl7, IDebugControl7_Vtbl, 0xb86fb3b1_80d4_475b_aea3_cf06539cf63a); +windows_core::imp::define_interface!(IDebugControl7, IDebugControl7_Vtbl, 0xb86fb3b1_80d4_475b_aea3_cf06539cf63a); windows_core::imp::interface_hierarchy!(IDebugControl7, windows_core::IUnknown); impl IDebugControl7 { pub unsafe fn GetInterrupt(&self) -> windows_core::Result<()> { @@ -10814,7 +10814,7 @@ pub struct IDebugControl7_Vtbl { pub GetSynchronizationStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub GetDebuggeeType2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDataSpaces, IDebugDataSpaces_Vtbl, 0x88f7dfab_3ea7_4c3a_aefb_c4e8106173aa); +windows_core::imp::define_interface!(IDebugDataSpaces, IDebugDataSpaces_Vtbl, 0x88f7dfab_3ea7_4c3a_aefb_c4e8106173aa); windows_core::imp::interface_hierarchy!(IDebugDataSpaces, windows_core::IUnknown); impl IDebugDataSpaces { pub unsafe fn ReadVirtual(&self, offset: u64, buffer: *mut core::ffi::c_void, buffersize: u32, bytesread: Option<*mut u32>) -> windows_core::Result<()> { @@ -10904,7 +10904,7 @@ pub struct IDebugDataSpaces_Vtbl { pub ReadDebuggerData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub ReadProcessorSystemData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDataSpaces2, IDebugDataSpaces2_Vtbl, 0x7a5e852f_96e9_468f_ac1b_0b3addc4a049); +windows_core::imp::define_interface!(IDebugDataSpaces2, IDebugDataSpaces2_Vtbl, 0x7a5e852f_96e9_468f_ac1b_0b3addc4a049); windows_core::imp::interface_hierarchy!(IDebugDataSpaces2, windows_core::IUnknown); impl IDebugDataSpaces2 { pub unsafe fn ReadVirtual(&self, offset: u64, buffer: *mut core::ffi::c_void, buffersize: u32, bytesread: Option<*mut u32>) -> windows_core::Result<()> { @@ -11023,7 +11023,7 @@ pub struct IDebugDataSpaces2_Vtbl { #[cfg(not(feature = "Win32_System_Memory"))] QueryVirtual: usize, } -windows_core::imp::com_interface!(IDebugDataSpaces3, IDebugDataSpaces3_Vtbl, 0x23f79d6c_8aaf_4f7c_a607_9995f5407e63); +windows_core::imp::define_interface!(IDebugDataSpaces3, IDebugDataSpaces3_Vtbl, 0x23f79d6c_8aaf_4f7c_a607_9995f5407e63); windows_core::imp::interface_hierarchy!(IDebugDataSpaces3, windows_core::IUnknown); impl IDebugDataSpaces3 { pub unsafe fn ReadVirtual(&self, offset: u64, buffer: *mut core::ffi::c_void, buffersize: u32, bytesread: Option<*mut u32>) -> windows_core::Result<()> { @@ -11167,7 +11167,7 @@ pub struct IDebugDataSpaces3_Vtbl { pub GetNextTagged: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut windows_core::GUID, *mut u32) -> windows_core::HRESULT, pub EndEnumTagged: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugDataSpaces4, IDebugDataSpaces4_Vtbl, 0xd98ada1f_29e9_4ef5_a6c0_e53349883212); +windows_core::imp::define_interface!(IDebugDataSpaces4, IDebugDataSpaces4_Vtbl, 0xd98ada1f_29e9_4ef5_a6c0_e53349883212); windows_core::imp::interface_hierarchy!(IDebugDataSpaces4, windows_core::IUnknown); impl IDebugDataSpaces4 { pub unsafe fn ReadVirtual(&self, offset: u64, buffer: *mut core::ffi::c_void, buffersize: u32, bytesread: Option<*mut u32>) -> windows_core::Result<()> { @@ -11353,7 +11353,7 @@ pub struct IDebugDataSpaces4_Vtbl { pub ReadPhysical2: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub WritePhysical2: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, *const core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugEventCallbacks, IDebugEventCallbacks_Vtbl, 0x337be28b_5036_4d72_b6bf_c45fbb9f2eaa); +windows_core::imp::define_interface!(IDebugEventCallbacks, IDebugEventCallbacks_Vtbl, 0x337be28b_5036_4d72_b6bf_c45fbb9f2eaa); windows_core::imp::interface_hierarchy!(IDebugEventCallbacks, windows_core::IUnknown); impl IDebugEventCallbacks { pub unsafe fn GetInterestMask(&self) -> windows_core::Result { @@ -11432,7 +11432,7 @@ pub struct IDebugEventCallbacks_Vtbl { pub ChangeEngineState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64) -> windows_core::HRESULT, pub ChangeSymbolState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugEventCallbacksWide, IDebugEventCallbacksWide_Vtbl, 0x0690e046_9c23_45ac_a04f_987ac29ad0d3); +windows_core::imp::define_interface!(IDebugEventCallbacksWide, IDebugEventCallbacksWide_Vtbl, 0x0690e046_9c23_45ac_a04f_987ac29ad0d3); windows_core::imp::interface_hierarchy!(IDebugEventCallbacksWide, windows_core::IUnknown); impl IDebugEventCallbacksWide { pub unsafe fn GetInterestMask(&self) -> windows_core::Result { @@ -11511,7 +11511,7 @@ pub struct IDebugEventCallbacksWide_Vtbl { pub ChangeEngineState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64) -> windows_core::HRESULT, pub ChangeSymbolState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugEventContextCallbacks, IDebugEventContextCallbacks_Vtbl, 0x61a4905b_23f9_4247_b3c5_53d087529ab7); +windows_core::imp::define_interface!(IDebugEventContextCallbacks, IDebugEventContextCallbacks_Vtbl, 0x61a4905b_23f9_4247_b3c5_53d087529ab7); windows_core::imp::interface_hierarchy!(IDebugEventContextCallbacks, windows_core::IUnknown); impl IDebugEventContextCallbacks { pub unsafe fn GetInterestMask(&self) -> windows_core::Result { @@ -11590,7 +11590,7 @@ pub struct IDebugEventContextCallbacks_Vtbl { pub ChangeEngineState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64, *const core::ffi::c_void, u32) -> windows_core::HRESULT, pub ChangeSymbolState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u64) -> windows_core::HRESULT, } -windows_core::imp::interface!(IDebugFAEntryTags, IDebugFAEntryTags_Vtbl); +windows_core::imp::define_interface!(IDebugFAEntryTags, IDebugFAEntryTags_Vtbl); impl IDebugFAEntryTags { pub unsafe fn GetType(&self, tag: DEBUG_FLR_PARAM_TYPE) -> FA_ENTRY_TYPE { (windows_core::Interface::vtable(self).GetType)(windows_core::Interface::as_raw(self), tag) @@ -11629,7 +11629,7 @@ pub struct IDebugFAEntryTags_Vtbl { pub GetTagByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, windows_core::PCSTR, *mut DEBUG_FLR_PARAM_TYPE) -> windows_core::HRESULT, pub IsValidTagToSet: unsafe extern "system" fn(*mut core::ffi::c_void, DEBUG_FLR_PARAM_TYPE) -> super::super::super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IDebugFailureAnalysis, IDebugFailureAnalysis_Vtbl, 0xed0de363_451f_4943_820c_62dccdfa7e6d); +windows_core::imp::define_interface!(IDebugFailureAnalysis, IDebugFailureAnalysis_Vtbl, 0xed0de363_451f_4943_820c_62dccdfa7e6d); windows_core::imp::interface_hierarchy!(IDebugFailureAnalysis, windows_core::IUnknown); impl IDebugFailureAnalysis { pub unsafe fn GetFailureClass(&self) -> u32 { @@ -11677,7 +11677,7 @@ pub struct IDebugFailureAnalysis_Vtbl { pub GetUlong64: unsafe extern "system" fn(*mut core::ffi::c_void, DEBUG_FLR_PARAM_TYPE, *mut u64) -> *mut FA_ENTRY, pub NextEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *const FA_ENTRY) -> *mut FA_ENTRY, } -windows_core::imp::com_interface!(IDebugFailureAnalysis2, IDebugFailureAnalysis2_Vtbl, 0xea15c288_8226_4b70_acf6_0be6b189e3ad); +windows_core::imp::define_interface!(IDebugFailureAnalysis2, IDebugFailureAnalysis2_Vtbl, 0xea15c288_8226_4b70_acf6_0be6b189e3ad); windows_core::imp::interface_hierarchy!(IDebugFailureAnalysis2, windows_core::IUnknown); impl IDebugFailureAnalysis2 { pub unsafe fn GetFailureClass(&self) -> u32 { @@ -11798,7 +11798,7 @@ pub struct IDebugFailureAnalysis2_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, } -windows_core::imp::com_interface!(IDebugFailureAnalysis3, IDebugFailureAnalysis3_Vtbl, 0x3627dc67_fd45_42ff_9ba4_4a67ee64619f); +windows_core::imp::define_interface!(IDebugFailureAnalysis3, IDebugFailureAnalysis3_Vtbl, 0x3627dc67_fd45_42ff_9ba4_4a67ee64619f); windows_core::imp::interface_hierarchy!(IDebugFailureAnalysis3, windows_core::IUnknown); impl IDebugFailureAnalysis3 { pub unsafe fn GetFailureClass(&self) -> u32 { @@ -12023,7 +12023,7 @@ pub struct IDebugFailureAnalysis3_Vtbl { 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, } -windows_core::imp::com_interface!(IDebugHost, IDebugHost_Vtbl, 0xb8c74943_6b2c_4eeb_b5c5_35d378a6d99d); +windows_core::imp::define_interface!(IDebugHost, IDebugHost_Vtbl, 0xb8c74943_6b2c_4eeb_b5c5_35d378a6d99d); windows_core::imp::interface_hierarchy!(IDebugHost, windows_core::IUnknown); impl IDebugHost { pub unsafe fn GetHostDefinedInterface(&self) -> windows_core::Result { @@ -12046,7 +12046,7 @@ pub struct IDebugHost_Vtbl { pub GetCurrentContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDefaultMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostBaseClass, IDebugHostBaseClass_Vtbl, 0xb94d57d2_390b_40f7_b5b4_b6db897d974b); +windows_core::imp::define_interface!(IDebugHostBaseClass, IDebugHostBaseClass_Vtbl, 0xb94d57d2_390b_40f7_b5b4_b6db897d974b); windows_core::imp::interface_hierarchy!(IDebugHostBaseClass, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostBaseClass { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -12093,7 +12093,7 @@ pub struct IDebugHostBaseClass_Vtbl { pub base__: IDebugHostSymbol_Vtbl, pub GetOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostConstant, IDebugHostConstant_Vtbl, 0x62787edc_fa76_4690_bd71_5e8c3e2937ec); +windows_core::imp::define_interface!(IDebugHostConstant, IDebugHostConstant_Vtbl, 0x62787edc_fa76_4690_bd71_5e8c3e2937ec); windows_core::imp::interface_hierarchy!(IDebugHostConstant, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostConstant { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -12140,7 +12140,7 @@ 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, } -windows_core::imp::com_interface!(IDebugHostContext, IDebugHostContext_Vtbl, 0xa68c70d8_5ec0_46e5_b775_3134a48ea2e3); +windows_core::imp::define_interface!(IDebugHostContext, IDebugHostContext_Vtbl, 0xa68c70d8_5ec0_46e5_b775_3134a48ea2e3); windows_core::imp::interface_hierarchy!(IDebugHostContext, windows_core::IUnknown); impl IDebugHostContext { pub unsafe fn IsEqualTo(&self, pcontext: P0) -> windows_core::Result @@ -12156,7 +12156,7 @@ pub struct IDebugHostContext_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsEqualTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostData, IDebugHostData_Vtbl, 0xa3d64993_826c_44fa_897d_926f2fe7ad0b); +windows_core::imp::define_interface!(IDebugHostData, IDebugHostData_Vtbl, 0xa3d64993_826c_44fa_897d_926f2fe7ad0b); windows_core::imp::interface_hierarchy!(IDebugHostData, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostData { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -12213,7 +12213,7 @@ pub struct IDebugHostData_Vtbl { 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, } -windows_core::imp::com_interface!(IDebugHostErrorSink, IDebugHostErrorSink_Vtbl, 0xc8ff0f0b_fce9_467e_8bb3_5d69ef109c00); +windows_core::imp::define_interface!(IDebugHostErrorSink, IDebugHostErrorSink_Vtbl, 0xc8ff0f0b_fce9_467e_8bb3_5d69ef109c00); windows_core::imp::interface_hierarchy!(IDebugHostErrorSink, windows_core::IUnknown); impl IDebugHostErrorSink { pub unsafe fn ReportError(&self, errclass: ErrorClass, hrerror: windows_core::HRESULT, message: P0) -> windows_core::Result<()> @@ -12228,7 +12228,7 @@ pub struct IDebugHostErrorSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ReportError: unsafe extern "system" fn(*mut core::ffi::c_void, ErrorClass, windows_core::HRESULT, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostEvaluator, IDebugHostEvaluator_Vtbl, 0x0fef9a21_577e_4997_ac7b_1c4883241d99); +windows_core::imp::define_interface!(IDebugHostEvaluator, IDebugHostEvaluator_Vtbl, 0x0fef9a21_577e_4997_ac7b_1c4883241d99); windows_core::imp::interface_hierarchy!(IDebugHostEvaluator, windows_core::IUnknown); impl IDebugHostEvaluator { pub unsafe fn EvaluateExpression(&self, context: P0, expression: P1, bindingcontext: P2, result: *mut Option, metadata: Option<*mut Option>) -> windows_core::Result<()> @@ -12254,7 +12254,7 @@ pub struct IDebugHostEvaluator_Vtbl { pub EvaluateExpression: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EvaluateExtendedExpression: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostEvaluator2, IDebugHostEvaluator2_Vtbl, 0xa117a435_1fb4_4092_a2ab_a929576c1e87); +windows_core::imp::define_interface!(IDebugHostEvaluator2, IDebugHostEvaluator2_Vtbl, 0xa117a435_1fb4_4092_a2ab_a929576c1e87); windows_core::imp::interface_hierarchy!(IDebugHostEvaluator2, windows_core::IUnknown, IDebugHostEvaluator); impl IDebugHostEvaluator2 { pub unsafe fn EvaluateExpression(&self, context: P0, expression: P1, bindingcontext: P2, result: *mut Option, metadata: Option<*mut Option>) -> windows_core::Result<()> @@ -12286,7 +12286,7 @@ pub struct IDebugHostEvaluator2_Vtbl { pub base__: IDebugHostEvaluator_Vtbl, pub AssignTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostExtensibility, IDebugHostExtensibility_Vtbl, 0x3c2b24e1_11d0_4f86_8ae5_4df166f73253); +windows_core::imp::define_interface!(IDebugHostExtensibility, IDebugHostExtensibility_Vtbl, 0x3c2b24e1_11d0_4f86_8ae5_4df166f73253); windows_core::imp::interface_hierarchy!(IDebugHostExtensibility, windows_core::IUnknown); impl IDebugHostExtensibility { pub unsafe fn CreateFunctionAlias(&self, aliasname: P0, functionobject: P1) -> windows_core::Result<()> @@ -12309,7 +12309,7 @@ pub struct IDebugHostExtensibility_Vtbl { pub CreateFunctionAlias: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DestroyFunctionAlias: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostField, IDebugHostField_Vtbl, 0xe06f6495_16bc_4cc9_b11d_2a6b23fa72f3); +windows_core::imp::define_interface!(IDebugHostField, IDebugHostField_Vtbl, 0xe06f6495_16bc_4cc9_b11d_2a6b23fa72f3); windows_core::imp::interface_hierarchy!(IDebugHostField, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostField { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -12371,7 +12371,7 @@ pub struct IDebugHostField_Vtbl { 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, } -windows_core::imp::com_interface!(IDebugHostMemory, IDebugHostMemory_Vtbl, 0x212149c9_9183_4a3e_b00e_4fd1dc95339b); +windows_core::imp::define_interface!(IDebugHostMemory, IDebugHostMemory_Vtbl, 0x212149c9_9183_4a3e_b00e_4fd1dc95339b); windows_core::imp::interface_hierarchy!(IDebugHostMemory, windows_core::IUnknown); impl IDebugHostMemory { pub unsafe fn ReadBytes(&self, context: P0, location: Location, buffer: *mut core::ffi::c_void, buffersize: u64, bytesread: Option<*mut u64>) -> windows_core::Result<()> @@ -12415,7 +12415,7 @@ pub struct IDebugHostMemory_Vtbl { 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, } -windows_core::imp::com_interface!(IDebugHostMemory2, IDebugHostMemory2_Vtbl, 0xeea033de_38f6_416b_a251_1d3771001270); +windows_core::imp::define_interface!(IDebugHostMemory2, IDebugHostMemory2_Vtbl, 0xeea033de_38f6_416b_a251_1d3771001270); windows_core::imp::interface_hierarchy!(IDebugHostMemory2, windows_core::IUnknown, IDebugHostMemory); impl IDebugHostMemory2 { pub unsafe fn ReadBytes(&self, context: P0, location: Location, buffer: *mut core::ffi::c_void, buffersize: u64, bytesread: Option<*mut u64>) -> windows_core::Result<()> @@ -12462,7 +12462,7 @@ pub struct IDebugHostMemory2_Vtbl { pub base__: IDebugHostMemory_Vtbl, pub LinearizeLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, *mut Location) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostModule, IDebugHostModule_Vtbl, 0xc9ba3e18_d070_4378_bbd0_34613b346e1e); +windows_core::imp::define_interface!(IDebugHostModule, IDebugHostModule_Vtbl, 0xc9ba3e18_d070_4378_bbd0_34613b346e1e); windows_core::imp::interface_hierarchy!(IDebugHostModule, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostModule { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -12539,7 +12539,7 @@ pub struct IDebugHostModule_Vtbl { pub FindSymbolByRVA: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub FindSymbolByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostModule2, IDebugHostModule2_Vtbl, 0xb51887e8_bcd0_4e8f_a8c7_434398b78c37); +windows_core::imp::define_interface!(IDebugHostModule2, IDebugHostModule2_Vtbl, 0xb51887e8_bcd0_4e8f_a8c7_434398b78c37); windows_core::imp::interface_hierarchy!(IDebugHostModule2, windows_core::IUnknown, IDebugHostSymbol, IDebugHostModule); impl IDebugHostModule2 { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -12614,7 +12614,7 @@ pub struct IDebugHostModule2_Vtbl { pub base__: IDebugHostModule_Vtbl, pub FindContainingSymbolByRVA: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostModuleSignature, IDebugHostModuleSignature_Vtbl, 0x31e53a5a_01ee_4bbb_b899_4b46ae7d595c); +windows_core::imp::define_interface!(IDebugHostModuleSignature, IDebugHostModuleSignature_Vtbl, 0x31e53a5a_01ee_4bbb_b899_4b46ae7d595c); windows_core::imp::interface_hierarchy!(IDebugHostModuleSignature, windows_core::IUnknown); impl IDebugHostModuleSignature { pub unsafe fn IsMatch(&self, pmodule: P0) -> windows_core::Result @@ -12630,7 +12630,7 @@ pub struct IDebugHostModuleSignature_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsMatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostPublic, IDebugHostPublic_Vtbl, 0x6c597ac9_fb4d_4f6d_9f39_22488539f8f4); +windows_core::imp::define_interface!(IDebugHostPublic, IDebugHostPublic_Vtbl, 0x6c597ac9_fb4d_4f6d_9f39_22488539f8f4); windows_core::imp::interface_hierarchy!(IDebugHostPublic, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostPublic { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -12682,7 +12682,7 @@ pub struct IDebugHostPublic_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, } -windows_core::imp::com_interface!(IDebugHostScriptHost, IDebugHostScriptHost_Vtbl, 0xb70334a4_b92c_4570_93a1_d3eb686649a0); +windows_core::imp::define_interface!(IDebugHostScriptHost, IDebugHostScriptHost_Vtbl, 0xb70334a4_b92c_4570_93a1_d3eb686649a0); windows_core::imp::interface_hierarchy!(IDebugHostScriptHost, windows_core::IUnknown); impl IDebugHostScriptHost { pub unsafe fn CreateContext(&self, script: P0) -> windows_core::Result @@ -12698,7 +12698,7 @@ pub struct IDebugHostScriptHost_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostStatus, IDebugHostStatus_Vtbl, 0x4f3e1ce2_86b2_4c7a_9c65_d0a9d0eecf44); +windows_core::imp::define_interface!(IDebugHostStatus, IDebugHostStatus_Vtbl, 0x4f3e1ce2_86b2_4c7a_9c65_d0a9d0eecf44); windows_core::imp::interface_hierarchy!(IDebugHostStatus, windows_core::IUnknown); impl IDebugHostStatus { pub unsafe fn PollUserInterrupt(&self) -> windows_core::Result { @@ -12711,7 +12711,7 @@ pub struct IDebugHostStatus_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub PollUserInterrupt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostSymbol, IDebugHostSymbol_Vtbl, 0x0f819103_87de_4e96_8277_e05cd441fb22); +windows_core::imp::define_interface!(IDebugHostSymbol, IDebugHostSymbol_Vtbl, 0x0f819103_87de_4e96_8277_e05cd441fb22); windows_core::imp::interface_hierarchy!(IDebugHostSymbol, windows_core::IUnknown); impl IDebugHostSymbol { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -12760,7 +12760,7 @@ pub struct IDebugHostSymbol_Vtbl { 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, } -windows_core::imp::com_interface!(IDebugHostSymbol2, IDebugHostSymbol2_Vtbl, 0x21515b67_6720_4257_8a68_077dc944471c); +windows_core::imp::define_interface!(IDebugHostSymbol2, IDebugHostSymbol2_Vtbl, 0x21515b67_6720_4257_8a68_077dc944471c); windows_core::imp::interface_hierarchy!(IDebugHostSymbol2, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostSymbol2 { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -12807,7 +12807,7 @@ pub struct IDebugHostSymbol2_Vtbl { pub base__: IDebugHostSymbol_Vtbl, pub GetLanguage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut LanguageKind) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostSymbolEnumerator, IDebugHostSymbolEnumerator_Vtbl, 0x28d96c86_10a3_4976_b14e_eaef4790aa1f); +windows_core::imp::define_interface!(IDebugHostSymbolEnumerator, IDebugHostSymbolEnumerator_Vtbl, 0x28d96c86_10a3_4976_b14e_eaef4790aa1f); windows_core::imp::interface_hierarchy!(IDebugHostSymbolEnumerator, windows_core::IUnknown); impl IDebugHostSymbolEnumerator { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -12824,7 +12824,7 @@ pub struct IDebugHostSymbolEnumerator_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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostSymbols, IDebugHostSymbols_Vtbl, 0x854fd751_c2e1_4eb2_b525_6619cb97a588); +windows_core::imp::define_interface!(IDebugHostSymbols, IDebugHostSymbols_Vtbl, 0x854fd751_c2e1_4eb2_b525_6619cb97a588); windows_core::imp::interface_hierarchy!(IDebugHostSymbols, windows_core::IUnknown); impl IDebugHostSymbols { pub unsafe fn CreateModuleSignature(&self, pwszmodulename: P0, pwszminversion: P1, pwszmaxversion: P2) -> windows_core::Result @@ -12895,7 +12895,7 @@ pub struct IDebugHostSymbols_Vtbl { pub FindModuleByLocation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetMostDerivedObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, Location, *mut core::ffi::c_void, *mut Location, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostType, IDebugHostType_Vtbl, 0x3aadc353_2b14_4abb_9893_5e03458e07ee); +windows_core::imp::define_interface!(IDebugHostType, IDebugHostType_Vtbl, 0x3aadc353_2b14_4abb_9893_5e03458e07ee); windows_core::imp::interface_hierarchy!(IDebugHostType, windows_core::IUnknown, IDebugHostSymbol); impl IDebugHostType { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -13029,7 +13029,7 @@ pub struct IDebugHostType_Vtbl { pub GetGenericArgumentCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub GetGenericArgumentAt: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostType2, IDebugHostType2_Vtbl, 0xb28632b9_8506_4676_87ce_8f7e05e59876); +windows_core::imp::define_interface!(IDebugHostType2, IDebugHostType2_Vtbl, 0xb28632b9_8506_4676_87ce_8f7e05e59876); windows_core::imp::interface_hierarchy!(IDebugHostType2, windows_core::IUnknown, IDebugHostSymbol, IDebugHostType); impl IDebugHostType2 { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -13169,7 +13169,7 @@ pub struct IDebugHostType2_Vtbl { pub GetFunctionVarArgsKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut VarArgsKind) -> windows_core::HRESULT, pub GetFunctionInstancePointerType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugHostTypeSignature, IDebugHostTypeSignature_Vtbl, 0x3aadc353_2b14_4abb_9893_5e03458e07ee); +windows_core::imp::define_interface!(IDebugHostTypeSignature, IDebugHostTypeSignature_Vtbl, 0x3aadc353_2b14_4abb_9893_5e03458e07ee); windows_core::imp::interface_hierarchy!(IDebugHostTypeSignature, windows_core::IUnknown); impl IDebugHostTypeSignature { pub unsafe fn GetHashCode(&self) -> windows_core::Result { @@ -13197,7 +13197,7 @@ pub struct IDebugHostTypeSignature_Vtbl { pub IsMatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool, *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, *mut SignatureComparison) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugInputCallbacks, IDebugInputCallbacks_Vtbl, 0x9f50e42c_f136_499e_9a97_73036c94ed2d); +windows_core::imp::define_interface!(IDebugInputCallbacks, IDebugInputCallbacks_Vtbl, 0x9f50e42c_f136_499e_9a97_73036c94ed2d); windows_core::imp::interface_hierarchy!(IDebugInputCallbacks, windows_core::IUnknown); impl IDebugInputCallbacks { pub unsafe fn StartInput(&self, buffersize: u32) -> windows_core::Result<()> { @@ -13213,7 +13213,7 @@ pub struct IDebugInputCallbacks_Vtbl { pub StartInput: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub EndInput: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugOutputCallbacks, IDebugOutputCallbacks_Vtbl, 0x4bf58045_d654_4c40_b0af_683090f356dc); +windows_core::imp::define_interface!(IDebugOutputCallbacks, IDebugOutputCallbacks_Vtbl, 0x4bf58045_d654_4c40_b0af_683090f356dc); windows_core::imp::interface_hierarchy!(IDebugOutputCallbacks, windows_core::IUnknown); impl IDebugOutputCallbacks { pub unsafe fn Output(&self, mask: u32, text: P0) -> windows_core::Result<()> @@ -13228,7 +13228,7 @@ pub struct IDebugOutputCallbacks_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Output: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugOutputCallbacks2, IDebugOutputCallbacks2_Vtbl, 0x67721fe9_56d2_4a44_a325_2b65513ce6eb); +windows_core::imp::define_interface!(IDebugOutputCallbacks2, IDebugOutputCallbacks2_Vtbl, 0x67721fe9_56d2_4a44_a325_2b65513ce6eb); windows_core::imp::interface_hierarchy!(IDebugOutputCallbacks2, windows_core::IUnknown); impl IDebugOutputCallbacks2 { pub unsafe fn Output(&self, mask: u32, text: P0) -> windows_core::Result<()> @@ -13255,7 +13255,7 @@ pub struct IDebugOutputCallbacks2_Vtbl { pub GetInterestMask: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Output2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u64, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugOutputCallbacksWide, IDebugOutputCallbacksWide_Vtbl, 0x4c7fd663_c394_4e26_8ef1_34ad5ed3764c); +windows_core::imp::define_interface!(IDebugOutputCallbacksWide, IDebugOutputCallbacksWide_Vtbl, 0x4c7fd663_c394_4e26_8ef1_34ad5ed3764c); windows_core::imp::interface_hierarchy!(IDebugOutputCallbacksWide, windows_core::IUnknown); impl IDebugOutputCallbacksWide { pub unsafe fn Output(&self, mask: u32, text: P0) -> windows_core::Result<()> @@ -13270,7 +13270,7 @@ pub struct IDebugOutputCallbacksWide_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Output: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugOutputStream, IDebugOutputStream_Vtbl, 0x7782d8f2_2b85_4059_ab88_28ceddca1c80); +windows_core::imp::define_interface!(IDebugOutputStream, IDebugOutputStream_Vtbl, 0x7782d8f2_2b85_4059_ab88_28ceddca1c80); windows_core::imp::interface_hierarchy!(IDebugOutputStream, windows_core::IUnknown); impl IDebugOutputStream { pub unsafe fn Write(&self, psz: P0) -> windows_core::Result<()> @@ -13285,7 +13285,7 @@ pub struct IDebugOutputStream_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugPlmClient, IDebugPlmClient_Vtbl, 0xa02b66c4_aea3_4234_a9f7_fe4c383d4e29); +windows_core::imp::define_interface!(IDebugPlmClient, IDebugPlmClient_Vtbl, 0xa02b66c4_aea3_4234_a9f7_fe4c383d4e29); windows_core::imp::interface_hierarchy!(IDebugPlmClient, windows_core::IUnknown); impl IDebugPlmClient { pub unsafe fn LaunchPlmPackageForDebugWide(&self, server: u64, timeout: u32, packagefullname: P0, appname: P1, arguments: P2, processid: *mut u32, threadid: *mut u32) -> windows_core::Result<()> @@ -13302,7 +13302,7 @@ pub struct IDebugPlmClient_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub LaunchPlmPackageForDebugWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugPlmClient2, IDebugPlmClient2_Vtbl, 0x597c980d_e7bd_4309_962c_9d9b69a7372c); +windows_core::imp::define_interface!(IDebugPlmClient2, IDebugPlmClient2_Vtbl, 0x597c980d_e7bd_4309_962c_9d9b69a7372c); windows_core::imp::interface_hierarchy!(IDebugPlmClient2, windows_core::IUnknown); impl IDebugPlmClient2 { pub unsafe fn LaunchPlmPackageForDebugWide(&self, server: u64, timeout: u32, packagefullname: P0, appname: P1, arguments: P2, processid: *mut u32, threadid: *mut u32) -> windows_core::Result<()> @@ -13327,7 +13327,7 @@ pub struct IDebugPlmClient2_Vtbl { pub LaunchPlmPackageForDebugWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut u32, *mut u32) -> windows_core::HRESULT, pub LaunchPlmBgTaskForDebugWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugPlmClient3, IDebugPlmClient3_Vtbl, 0xd4a5dbd1_ca02_4d90_856a_2a92bfd0f20f); +windows_core::imp::define_interface!(IDebugPlmClient3, IDebugPlmClient3_Vtbl, 0xd4a5dbd1_ca02_4d90_856a_2a92bfd0f20f); windows_core::imp::interface_hierarchy!(IDebugPlmClient3, windows_core::IUnknown); impl IDebugPlmClient3 { pub unsafe fn LaunchPlmPackageForDebugWide(&self, server: u64, timeout: u32, packagefullname: P0, appname: P1, arguments: P2, processid: *mut u32, threadid: *mut u32) -> windows_core::Result<()> @@ -13419,7 +13419,7 @@ pub struct IDebugPlmClient3_Vtbl { pub LaunchAndDebugPlmAppWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub ActivateAndDebugPlmBgTaskWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugRegisters, IDebugRegisters_Vtbl, 0xce289126_9e84_45a7_937e_67bb18691493); +windows_core::imp::define_interface!(IDebugRegisters, IDebugRegisters_Vtbl, 0xce289126_9e84_45a7_937e_67bb18691493); windows_core::imp::interface_hierarchy!(IDebugRegisters, windows_core::IUnknown); impl IDebugRegisters { pub unsafe fn GetNumberRegisters(&self) -> windows_core::Result { @@ -13479,7 +13479,7 @@ pub struct IDebugRegisters_Vtbl { pub GetStackOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub GetFrameOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugRegisters2, IDebugRegisters2_Vtbl, 0x1656afa9_19c6_4e3a_97e7_5dc9160cf9c4); +windows_core::imp::define_interface!(IDebugRegisters2, IDebugRegisters2_Vtbl, 0x1656afa9_19c6_4e3a_97e7_5dc9160cf9c4); windows_core::imp::interface_hierarchy!(IDebugRegisters2, windows_core::IUnknown); impl IDebugRegisters2 { pub unsafe fn GetNumberRegisters(&self) -> windows_core::Result { @@ -13615,7 +13615,7 @@ pub struct IDebugRegisters2_Vtbl { pub GetStackOffset2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u64) -> windows_core::HRESULT, pub GetFrameOffset2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSymbolGroup, IDebugSymbolGroup_Vtbl, 0xf2528316_0f1a_4431_aeed_11d096e1e2ab); +windows_core::imp::define_interface!(IDebugSymbolGroup, IDebugSymbolGroup_Vtbl, 0xf2528316_0f1a_4431_aeed_11d096e1e2ab); windows_core::imp::interface_hierarchy!(IDebugSymbolGroup, windows_core::IUnknown); impl IDebugSymbolGroup { pub unsafe fn GetNumberSymbols(&self) -> windows_core::Result { @@ -13679,7 +13679,7 @@ pub struct IDebugSymbolGroup_Vtbl { pub WriteSymbol: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCSTR) -> windows_core::HRESULT, pub OutputAsType: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSymbolGroup2, IDebugSymbolGroup2_Vtbl, 0x6a7ccc5f_fb5e_4dcc_b41c_6c20307bccc7); +windows_core::imp::define_interface!(IDebugSymbolGroup2, IDebugSymbolGroup2_Vtbl, 0x6a7ccc5f_fb5e_4dcc_b41c_6c20307bccc7); windows_core::imp::interface_hierarchy!(IDebugSymbolGroup2, windows_core::IUnknown); impl IDebugSymbolGroup2 { pub unsafe fn GetNumberSymbols(&self) -> windows_core::Result { @@ -13810,7 +13810,7 @@ pub struct IDebugSymbolGroup2_Vtbl { pub GetSymbolValueTextWide: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, pub GetSymbolEntryInformation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut DEBUG_SYMBOL_ENTRY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSymbols, IDebugSymbols_Vtbl, 0x8c31e98c_983a_48a5_9016_6fe5d667a950); +windows_core::imp::define_interface!(IDebugSymbols, IDebugSymbols_Vtbl, 0x8c31e98c_983a_48a5_9016_6fe5d667a950); windows_core::imp::interface_hierarchy!(IDebugSymbols, windows_core::IUnknown); impl IDebugSymbols { pub unsafe fn GetSymbolOptions(&self) -> windows_core::Result { @@ -14093,7 +14093,7 @@ pub struct IDebugSymbols_Vtbl { pub FindSourceFile: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCSTR, u32, *mut u32, windows_core::PSTR, u32, *mut u32) -> windows_core::HRESULT, pub GetSourceFileLineOffsets: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, *mut u64, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSymbols2, IDebugSymbols2_Vtbl, 0x3a707211_afdd_4495_ad4f_56fecdf8163f); +windows_core::imp::define_interface!(IDebugSymbols2, IDebugSymbols2_Vtbl, 0x3a707211_afdd_4495_ad4f_56fecdf8163f); windows_core::imp::interface_hierarchy!(IDebugSymbols2, windows_core::IUnknown); impl IDebugSymbols2 { pub unsafe fn GetSymbolOptions(&self) -> windows_core::Result { @@ -14412,7 +14412,7 @@ pub struct IDebugSymbols2_Vtbl { pub RemoveTypeOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetTypeOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSymbols3, IDebugSymbols3_Vtbl, 0xf02fbecc_50ac_4f36_9ad9_c975e8f32ff8); +windows_core::imp::define_interface!(IDebugSymbols3, IDebugSymbols3_Vtbl, 0xf02fbecc_50ac_4f36_9ad9_c975e8f32ff8); windows_core::imp::interface_hierarchy!(IDebugSymbols3, windows_core::IUnknown); impl IDebugSymbols3 { pub unsafe fn GetSymbolOptions(&self) -> windows_core::Result { @@ -15101,7 +15101,7 @@ pub struct IDebugSymbols3_Vtbl { pub GetSourceEntryOffsetRegions: unsafe extern "system" fn(*mut core::ffi::c_void, *const DEBUG_SYMBOL_SOURCE_ENTRY, u32, *mut DEBUG_OFFSET_REGION, u32, *mut u32) -> windows_core::HRESULT, pub GetSourceEntryBySourceEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *const DEBUG_SYMBOL_SOURCE_ENTRY, u32, *mut DEBUG_SYMBOL_SOURCE_ENTRY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSymbols4, IDebugSymbols4_Vtbl, 0xe391bbd8_9d8c_4418_840b_c006592a1752); +windows_core::imp::define_interface!(IDebugSymbols4, IDebugSymbols4_Vtbl, 0xe391bbd8_9d8c_4418_840b_c006592a1752); windows_core::imp::interface_hierarchy!(IDebugSymbols4, windows_core::IUnknown); impl IDebugSymbols4 { pub unsafe fn GetSymbolOptions(&self) -> windows_core::Result { @@ -15818,7 +15818,7 @@ pub struct IDebugSymbols4_Vtbl { pub GetLineByInlineContextWide: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, *mut u32, windows_core::PWSTR, u32, *mut u32, *mut u64) -> windows_core::HRESULT, pub OutputSymbolByInlineContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u64, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSymbols5, IDebugSymbols5_Vtbl, 0xc65fa83e_1e69_475e_8e0e_b5d79e9cc17e); +windows_core::imp::define_interface!(IDebugSymbols5, IDebugSymbols5_Vtbl, 0xc65fa83e_1e69_475e_8e0e_b5d79e9cc17e); windows_core::imp::interface_hierarchy!(IDebugSymbols5, windows_core::IUnknown); impl IDebugSymbols5 { pub unsafe fn GetSymbolOptions(&self) -> windows_core::Result { @@ -16544,7 +16544,7 @@ pub struct IDebugSymbols5_Vtbl { pub GetCurrentScopeFrameIndexEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub SetScopeFrameByIndexEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSystemObjects, IDebugSystemObjects_Vtbl, 0x6b86fe2c_2c4f_4f0c_9da2_174311acc327); +windows_core::imp::define_interface!(IDebugSystemObjects, IDebugSystemObjects_Vtbl, 0x6b86fe2c_2c4f_4f0c_9da2_174311acc327); windows_core::imp::interface_hierarchy!(IDebugSystemObjects, windows_core::IUnknown); impl IDebugSystemObjects { pub unsafe fn GetEventThread(&self) -> windows_core::Result { @@ -16691,7 +16691,7 @@ pub struct IDebugSystemObjects_Vtbl { pub GetProcessIdByHandle: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut u32) -> windows_core::HRESULT, pub GetCurrentProcessExecutableName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSystemObjects2, IDebugSystemObjects2_Vtbl, 0x0ae9f5ff_1852_4679_b055_494bee6407ee); +windows_core::imp::define_interface!(IDebugSystemObjects2, IDebugSystemObjects2_Vtbl, 0x0ae9f5ff_1852_4679_b055_494bee6407ee); windows_core::imp::interface_hierarchy!(IDebugSystemObjects2, windows_core::IUnknown); impl IDebugSystemObjects2 { pub unsafe fn GetEventThread(&self) -> windows_core::Result { @@ -16861,7 +16861,7 @@ pub struct IDebugSystemObjects2_Vtbl { pub GetImplicitProcessDataOffset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub SetImplicitProcessDataOffset: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSystemObjects3, IDebugSystemObjects3_Vtbl, 0xe9676e2f_e286_4ea3_b0f9_dfe5d9fc330e); +windows_core::imp::define_interface!(IDebugSystemObjects3, IDebugSystemObjects3_Vtbl, 0xe9676e2f_e286_4ea3_b0f9_dfe5d9fc330e); windows_core::imp::interface_hierarchy!(IDebugSystemObjects3, windows_core::IUnknown); impl IDebugSystemObjects3 { pub unsafe fn GetEventThread(&self) -> windows_core::Result { @@ -17072,7 +17072,7 @@ pub struct IDebugSystemObjects3_Vtbl { pub GetSystemByServer: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut u32) -> windows_core::HRESULT, pub GetCurrentSystemServerName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugSystemObjects4, IDebugSystemObjects4_Vtbl, 0x489468e6_7d0f_4af5_87ab_25207454d553); +windows_core::imp::define_interface!(IDebugSystemObjects4, IDebugSystemObjects4_Vtbl, 0x489468e6_7d0f_4af5_87ab_25207454d553); windows_core::imp::interface_hierarchy!(IDebugSystemObjects4, windows_core::IUnknown); impl IDebugSystemObjects4 { pub unsafe fn GetEventThread(&self) -> windows_core::Result { @@ -17291,7 +17291,7 @@ pub struct IDebugSystemObjects4_Vtbl { pub GetCurrentProcessExecutableNameWide: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, pub GetCurrentSystemServerNameWide: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDynamicConceptProviderConcept, IDynamicConceptProviderConcept_Vtbl, 0x95a7f7dd_602e_483f_9d06_a15c0ee13174); +windows_core::imp::define_interface!(IDynamicConceptProviderConcept, IDynamicConceptProviderConcept_Vtbl, 0x95a7f7dd_602e_483f_9d06_a15c0ee13174); windows_core::imp::interface_hierarchy!(IDynamicConceptProviderConcept, windows_core::IUnknown); impl IDynamicConceptProviderConcept { pub unsafe fn GetConcept(&self, contextobject: P0, conceptid: *const windows_core::GUID, conceptinterface: *mut Option, conceptmetadata: Option<*mut Option>, hasconcept: *mut bool) -> windows_core::Result<()> @@ -17333,7 +17333,7 @@ pub struct IDynamicConceptProviderConcept_Vtbl { pub NotifyParentChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyDestruct: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDynamicKeyProviderConcept, IDynamicKeyProviderConcept_Vtbl, 0xe7983fa1_80a7_498c_988f_518ddc5d4025); +windows_core::imp::define_interface!(IDynamicKeyProviderConcept, IDynamicKeyProviderConcept_Vtbl, 0xe7983fa1_80a7_498c_988f_518ddc5d4025); windows_core::imp::interface_hierarchy!(IDynamicKeyProviderConcept, windows_core::IUnknown); impl IDynamicKeyProviderConcept { pub unsafe fn GetKey(&self, contextobject: P0, key: P1, keyvalue: Option<*mut Option>, metadata: Option<*mut Option>, haskey: Option<*mut bool>) -> windows_core::Result<()> @@ -17367,7 +17367,7 @@ pub struct IDynamicKeyProviderConcept_Vtbl { pub SetKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumerateKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEquatableConcept, IEquatableConcept_Vtbl, 0xc52d5d3d_609d_4d5d_8a82_46b0acdec4f4); +windows_core::imp::define_interface!(IEquatableConcept, IEquatableConcept_Vtbl, 0xc52d5d3d_609d_4d5d_8a82_46b0acdec4f4); windows_core::imp::interface_hierarchy!(IEquatableConcept, windows_core::IUnknown); impl IEquatableConcept { pub unsafe fn AreObjectsEqual(&self, contextobject: P0, otherobject: P1) -> windows_core::Result @@ -17384,7 +17384,7 @@ pub struct IEquatableConcept_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AreObjectsEqual: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostDataModelAccess, IHostDataModelAccess_Vtbl, 0xf2bce54e_4835_4f8a_836e_7981e29904d1); +windows_core::imp::define_interface!(IHostDataModelAccess, IHostDataModelAccess_Vtbl, 0xf2bce54e_4835_4f8a_836e_7981e29904d1); windows_core::imp::interface_hierarchy!(IHostDataModelAccess, windows_core::IUnknown); impl IHostDataModelAccess { pub unsafe fn GetDataModel(&self, manager: *mut Option, host: *mut Option) -> windows_core::Result<()> { @@ -17396,7 +17396,7 @@ pub struct IHostDataModelAccess_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDataModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIndexableConcept, IIndexableConcept_Vtbl, 0xd1fad99f_3f53_4457_850c_8051df2d3fb5); +windows_core::imp::define_interface!(IIndexableConcept, IIndexableConcept_Vtbl, 0xd1fad99f_3f53_4457_850c_8051df2d3fb5); windows_core::imp::interface_hierarchy!(IIndexableConcept, windows_core::IUnknown); impl IIndexableConcept { pub unsafe fn GetDimensionality(&self, contextobject: P0) -> windows_core::Result @@ -17427,7 +17427,7 @@ pub struct IIndexableConcept_Vtbl { pub GetAt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64, *const *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetAt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64, *const *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIterableConcept, IIterableConcept_Vtbl, 0xf5d49d0c_0b02_4301_9c9b_b3a6037628f3); +windows_core::imp::define_interface!(IIterableConcept, IIterableConcept_Vtbl, 0xf5d49d0c_0b02_4301_9c9b_b3a6037628f3); windows_core::imp::interface_hierarchy!(IIterableConcept, windows_core::IUnknown); impl IIterableConcept { pub unsafe fn GetDefaultIndexDimensionality(&self, contextobject: P0) -> windows_core::Result @@ -17451,7 +17451,7 @@ pub struct IIterableConcept_Vtbl { pub GetDefaultIndexDimensionality: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub GetIterator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKeyEnumerator, IKeyEnumerator_Vtbl, 0x345fa92e_5e00_4319_9cae_971f7601cdcf); +windows_core::imp::define_interface!(IKeyEnumerator, IKeyEnumerator_Vtbl, 0x345fa92e_5e00_4319_9cae_971f7601cdcf); windows_core::imp::interface_hierarchy!(IKeyEnumerator, windows_core::IUnknown); impl IKeyEnumerator { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -17467,7 +17467,7 @@ pub struct IKeyEnumerator_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, } -windows_core::imp::com_interface!(IKeyStore, IKeyStore_Vtbl, 0x0fc7557d_401d_4fca_9365_da1e9850697c); +windows_core::imp::define_interface!(IKeyStore, IKeyStore_Vtbl, 0x0fc7557d_401d_4fca_9365_da1e9850697c); windows_core::imp::interface_hierarchy!(IKeyStore, windows_core::IUnknown); impl IKeyStore { pub unsafe fn GetKey(&self, key: P0, object: Option<*mut Option>, metadata: Option<*mut Option>) -> windows_core::Result<()> @@ -17510,7 +17510,7 @@ pub struct IKeyStore_Vtbl { pub SetKeyValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ClearKeys: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IModelIterator, IModelIterator_Vtbl, 0xe4622136_927d_4490_874f_581f3e4e3688); +windows_core::imp::define_interface!(IModelIterator, IModelIterator_Vtbl, 0xe4622136_927d_4490_874f_581f3e4e3688); windows_core::imp::interface_hierarchy!(IModelIterator, windows_core::IUnknown); impl IModelIterator { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -17526,7 +17526,7 @@ pub struct IModelIterator_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 *mut core::ffi::c_void, u64, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IModelKeyReference, IModelKeyReference_Vtbl, 0x5253dcf8_5aff_4c62_b302_56a289e00998); +windows_core::imp::define_interface!(IModelKeyReference, IModelKeyReference_Vtbl, 0x5253dcf8_5aff_4c62_b302_56a289e00998); windows_core::imp::interface_hierarchy!(IModelKeyReference, windows_core::IUnknown); impl IModelKeyReference { pub unsafe fn GetKeyName(&self) -> windows_core::Result { @@ -17572,7 +17572,7 @@ pub struct IModelKeyReference_Vtbl { pub SetKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetKeyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IModelKeyReference2, IModelKeyReference2_Vtbl, 0x80e2f7c5_7159_4e92_887e_7e0347e88406); +windows_core::imp::define_interface!(IModelKeyReference2, IModelKeyReference2_Vtbl, 0x80e2f7c5_7159_4e92_887e_7e0347e88406); windows_core::imp::interface_hierarchy!(IModelKeyReference2, windows_core::IUnknown, IModelKeyReference); impl IModelKeyReference2 { pub unsafe fn GetKeyName(&self) -> windows_core::Result { @@ -17618,7 +17618,7 @@ pub struct IModelKeyReference2_Vtbl { pub base__: IModelKeyReference_Vtbl, pub OverrideContextObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IModelMethod, IModelMethod_Vtbl, 0x80600c1f_b90b_4896_82ad_1c00207909e8); +windows_core::imp::define_interface!(IModelMethod, IModelMethod_Vtbl, 0x80600c1f_b90b_4896_82ad_1c00207909e8); windows_core::imp::interface_hierarchy!(IModelMethod, windows_core::IUnknown); impl IModelMethod { pub unsafe fn Call(&self, pcontextobject: P0, pparguments: &[Option], ppresult: *mut Option, ppmetadata: Option<*mut Option>) -> windows_core::Result<()> @@ -17633,7 +17633,7 @@ pub struct IModelMethod_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Call: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u64, *const *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IModelObject, IModelObject_Vtbl, 0xe28c7893_3f4b_4b96_baca_293cdc55f45d); +windows_core::imp::define_interface!(IModelObject, IModelObject_Vtbl, 0xe28c7893_3f4b_4b96_baca_293cdc55f45d); windows_core::imp::interface_hierarchy!(IModelObject, windows_core::IUnknown); impl IModelObject { pub unsafe fn GetContext(&self) -> windows_core::Result { @@ -17843,7 +17843,7 @@ pub struct IModelObject_Vtbl { pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub IsEqualTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IModelPropertyAccessor, IModelPropertyAccessor_Vtbl, 0x5a0c63d9_0526_42b8_960c_9516a3254c85); +windows_core::imp::define_interface!(IModelPropertyAccessor, IModelPropertyAccessor_Vtbl, 0x5a0c63d9_0526_42b8_960c_9516a3254c85); windows_core::imp::interface_hierarchy!(IModelPropertyAccessor, windows_core::IUnknown); impl IModelPropertyAccessor { pub unsafe fn GetValue(&self, key: P0, contextobject: P1) -> windows_core::Result @@ -17869,7 +17869,7 @@ pub struct IModelPropertyAccessor_Vtbl { pub GetValue: 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, pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPreferredRuntimeTypeConcept, IPreferredRuntimeTypeConcept_Vtbl, 0x9d6c1d7b_a76f_4618_8068_5f76bd9a4e8a); +windows_core::imp::define_interface!(IPreferredRuntimeTypeConcept, IPreferredRuntimeTypeConcept_Vtbl, 0x9d6c1d7b_a76f_4618_8068_5f76bd9a4e8a); windows_core::imp::interface_hierarchy!(IPreferredRuntimeTypeConcept, windows_core::IUnknown); impl IPreferredRuntimeTypeConcept { pub unsafe fn CastToPreferredRuntimeType(&self, contextobject: P0) -> windows_core::Result @@ -17885,7 +17885,7 @@ pub struct IPreferredRuntimeTypeConcept_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CastToPreferredRuntimeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRawEnumerator, IRawEnumerator_Vtbl, 0xe13613f9_3a3c_40b5_8f48_1e5ebfb9b21b); +windows_core::imp::define_interface!(IRawEnumerator, IRawEnumerator_Vtbl, 0xe13613f9_3a3c_40b5_8f48_1e5ebfb9b21b); windows_core::imp::interface_hierarchy!(IRawEnumerator, windows_core::IUnknown); impl IRawEnumerator { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -17901,7 +17901,7 @@ pub struct IRawEnumerator_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, } -windows_core::imp::com_interface!(IStringDisplayableConcept, IStringDisplayableConcept_Vtbl, 0xd28e8d70_6c00_4205_940d_501016601ea3); +windows_core::imp::define_interface!(IStringDisplayableConcept, IStringDisplayableConcept_Vtbl, 0xd28e8d70_6c00_4205_940d_501016601ea3); windows_core::imp::interface_hierarchy!(IStringDisplayableConcept, windows_core::IUnknown); impl IStringDisplayableConcept { pub unsafe fn ToDisplayString(&self, contextobject: P0, metadata: P1) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/mod.rs index 2160f3eeea..67e65fdd81 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 @@ -2605,7 +2605,7 @@ where windows_targets::link!("kernel32.dll" "system" fn WriteProcessMemory(hprocess : super::super::super::Foundation:: HANDLE, lpbaseaddress : *const core::ffi::c_void, lpbuffer : *const core::ffi::c_void, nsize : usize, lpnumberofbyteswritten : *mut usize) -> super::super::super::Foundation:: BOOL); WriteProcessMemory(hprocess.into_param().abi(), lpbaseaddress, lpbuffer, nsize, core::mem::transmute(lpnumberofbyteswritten.unwrap_or(std::ptr::null_mut()))).ok() } -windows_core::imp::com_interface!(IDebugExtendedProperty, IDebugExtendedProperty_Vtbl, 0x51973c52_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugExtendedProperty, IDebugExtendedProperty_Vtbl, 0x51973c52_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugExtendedProperty, windows_core::IUnknown, IDebugProperty); impl IDebugExtendedProperty { pub unsafe fn GetPropertyInfo(&self, dwfieldspec: u32, nradix: u32, ppropertyinfo: *mut DebugPropertyInfo) -> windows_core::Result<()> { @@ -2646,7 +2646,7 @@ pub struct IDebugExtendedProperty_Vtbl { GetExtendedPropertyInfo: usize, pub EnumExtendedMembers: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDebugProperty, IDebugProperty_Vtbl, 0x51973c50_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugProperty, IDebugProperty_Vtbl, 0x51973c50_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugProperty, windows_core::IUnknown); impl IDebugProperty { pub unsafe fn GetPropertyInfo(&self, dwfieldspec: u32, nradix: u32, ppropertyinfo: *mut DebugPropertyInfo) -> windows_core::Result<()> { @@ -2679,7 +2679,7 @@ pub struct IDebugProperty_Vtbl { 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, } -windows_core::imp::com_interface!(IDebugPropertyEnumType_All, IDebugPropertyEnumType_All_Vtbl, 0x51973c55_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugPropertyEnumType_All, IDebugPropertyEnumType_All_Vtbl, 0x51973c55_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_All, windows_core::IUnknown); impl IDebugPropertyEnumType_All { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2692,7 +2692,7 @@ 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, } -windows_core::imp::com_interface!(IDebugPropertyEnumType_Arguments, IDebugPropertyEnumType_Arguments_Vtbl, 0x51973c57_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugPropertyEnumType_Arguments, IDebugPropertyEnumType_Arguments_Vtbl, 0x51973c57_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_Arguments, windows_core::IUnknown, IDebugPropertyEnumType_All); impl IDebugPropertyEnumType_Arguments { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2704,7 +2704,7 @@ impl IDebugPropertyEnumType_Arguments { pub struct IDebugPropertyEnumType_Arguments_Vtbl { pub base__: IDebugPropertyEnumType_All_Vtbl, } -windows_core::imp::com_interface!(IDebugPropertyEnumType_Locals, IDebugPropertyEnumType_Locals_Vtbl, 0x51973c56_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugPropertyEnumType_Locals, IDebugPropertyEnumType_Locals_Vtbl, 0x51973c56_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_Locals, windows_core::IUnknown, IDebugPropertyEnumType_All); impl IDebugPropertyEnumType_Locals { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2716,7 +2716,7 @@ impl IDebugPropertyEnumType_Locals { pub struct IDebugPropertyEnumType_Locals_Vtbl { pub base__: IDebugPropertyEnumType_All_Vtbl, } -windows_core::imp::com_interface!(IDebugPropertyEnumType_LocalsPlusArgs, IDebugPropertyEnumType_LocalsPlusArgs_Vtbl, 0x51973c58_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugPropertyEnumType_LocalsPlusArgs, IDebugPropertyEnumType_LocalsPlusArgs_Vtbl, 0x51973c58_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_LocalsPlusArgs, windows_core::IUnknown, IDebugPropertyEnumType_All); impl IDebugPropertyEnumType_LocalsPlusArgs { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2728,7 +2728,7 @@ impl IDebugPropertyEnumType_LocalsPlusArgs { pub struct IDebugPropertyEnumType_LocalsPlusArgs_Vtbl { pub base__: IDebugPropertyEnumType_All_Vtbl, } -windows_core::imp::com_interface!(IDebugPropertyEnumType_Registers, IDebugPropertyEnumType_Registers_Vtbl, 0x51973c59_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IDebugPropertyEnumType_Registers, IDebugPropertyEnumType_Registers_Vtbl, 0x51973c59_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IDebugPropertyEnumType_Registers, windows_core::IUnknown, IDebugPropertyEnumType_All); impl IDebugPropertyEnumType_Registers { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -2740,7 +2740,7 @@ impl IDebugPropertyEnumType_Registers { pub struct IDebugPropertyEnumType_Registers_Vtbl { pub base__: IDebugPropertyEnumType_All_Vtbl, } -windows_core::imp::com_interface!(IEnumDebugExtendedPropertyInfo, IEnumDebugExtendedPropertyInfo_Vtbl, 0x51973c53_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IEnumDebugExtendedPropertyInfo, IEnumDebugExtendedPropertyInfo_Vtbl, 0x51973c53_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IEnumDebugExtendedPropertyInfo, windows_core::IUnknown); impl IEnumDebugExtendedPropertyInfo { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -2774,7 +2774,7 @@ pub struct IEnumDebugExtendedPropertyInfo_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IEnumDebugPropertyInfo, IEnumDebugPropertyInfo_Vtbl, 0x51973c51_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IEnumDebugPropertyInfo, IEnumDebugPropertyInfo_Vtbl, 0x51973c51_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IEnumDebugPropertyInfo, windows_core::IUnknown); impl IEnumDebugPropertyInfo { pub unsafe fn Next(&self, pi: &mut [DebugPropertyInfo], pceltsfetched: *mut u32) -> windows_core::Result<()> { @@ -2804,7 +2804,7 @@ pub struct IEnumDebugPropertyInfo_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IObjectSafety, IObjectSafety_Vtbl, 0xcb5bdc81_93c1_11cf_8f20_00805f2cd064); +windows_core::imp::define_interface!(IObjectSafety, IObjectSafety_Vtbl, 0xcb5bdc81_93c1_11cf_8f20_00805f2cd064); windows_core::imp::interface_hierarchy!(IObjectSafety, windows_core::IUnknown); impl IObjectSafety { pub unsafe fn GetInterfaceSafetyOptions(&self, riid: *const windows_core::GUID, pdwsupportedoptions: *mut u32, pdwenabledoptions: *mut u32) -> windows_core::Result<()> { @@ -2820,7 +2820,7 @@ pub struct IObjectSafety_Vtbl { pub GetInterfaceSafetyOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32, *mut u32) -> windows_core::HRESULT, pub SetInterfaceSafetyOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPerPropertyBrowsing2, IPerPropertyBrowsing2_Vtbl, 0x51973c54_cb0c_11d0_b5c9_00a0244a0e7a); +windows_core::imp::define_interface!(IPerPropertyBrowsing2, IPerPropertyBrowsing2_Vtbl, 0x51973c54_cb0c_11d0_b5c9_00a0244a0e7a); windows_core::imp::interface_hierarchy!(IPerPropertyBrowsing2, windows_core::IUnknown); impl IPerPropertyBrowsing2 { pub unsafe fn GetDisplayString(&self, dispid: i32) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/mod.rs index 875296f3ad..ffd8f49453 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 @@ -539,7 +539,7 @@ where windows_targets::link!("advapi32.dll" "system" fn UpdateTraceW(tracehandle : CONTROLTRACE_HANDLE, instancename : windows_core::PCWSTR, properties : *mut EVENT_TRACE_PROPERTIES) -> super::super::super::Foundation:: WIN32_ERROR); UpdateTraceW(core::mem::transmute(tracehandle), instancename.into_param().abi(), properties) } -windows_core::imp::com_interface!(ITraceEvent, ITraceEvent_Vtbl, 0x8cc97f40_9028_4ff3_9b62_7d1f79ca7bcb); +windows_core::imp::define_interface!(ITraceEvent, ITraceEvent_Vtbl, 0x8cc97f40_9028_4ff3_9b62_7d1f79ca7bcb); windows_core::imp::interface_hierarchy!(ITraceEvent, windows_core::IUnknown); impl ITraceEvent { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -598,7 +598,7 @@ pub struct ITraceEvent_Vtbl { pub SetTimeStamp: unsafe extern "system" fn(*mut core::ffi::c_void, *const i64) -> windows_core::HRESULT, pub SetProviderId: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITraceEventCallback, ITraceEventCallback_Vtbl, 0x3ed25501_593f_43e9_8f38_3ab46f5a4a52); +windows_core::imp::define_interface!(ITraceEventCallback, ITraceEventCallback_Vtbl, 0x3ed25501_593f_43e9_8f38_3ab46f5a4a52); windows_core::imp::interface_hierarchy!(ITraceEventCallback, windows_core::IUnknown); impl ITraceEventCallback { pub unsafe fn OnBeginProcessTrace(&self, headerevent: P0, relogger: P1) -> windows_core::Result<()> @@ -629,7 +629,7 @@ pub struct ITraceEventCallback_Vtbl { pub OnFinalizeProcessTrace: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITraceRelogger, ITraceRelogger_Vtbl, 0xf754ad43_3bcc_4286_8009_9c5da214e84e); +windows_core::imp::define_interface!(ITraceRelogger, ITraceRelogger_Vtbl, 0xf754ad43_3bcc_4286_8009_9c5da214e84e); windows_core::imp::interface_hierarchy!(ITraceRelogger, windows_core::IUnknown); impl ITraceRelogger { pub unsafe fn AddLogfileTraceStream(&self, logfilename: P0, usercontext: *const core::ffi::c_void) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs index 6cce714d42..4be8918ad6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/mod.rs @@ -34,7 +34,7 @@ where windows_targets::link!("xolehlp.dll" "cdecl" fn DtcGetTransactionManagerExW(i_pwszhost : windows_core::PCWSTR, i_pwsztmname : windows_core::PCWSTR, i_riid : *const windows_core::GUID, i_grfoptions : u32, i_pvconfigparams : *mut core::ffi::c_void, o_ppvobject : *mut *mut core::ffi::c_void) -> windows_core::HRESULT); DtcGetTransactionManagerExW(i_pwszhost.into_param().abi(), i_pwsztmname.into_param().abi(), i_riid, i_grfoptions, i_pvconfigparams, o_ppvobject).ok() } -windows_core::imp::com_interface!(IDtcLuConfigure, IDtcLuConfigure_Vtbl, 0x4131e760_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuConfigure, IDtcLuConfigure_Vtbl, 0x4131e760_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuConfigure, windows_core::IUnknown); impl IDtcLuConfigure { pub unsafe fn Add(&self, puclupair: &[u8]) -> windows_core::Result<()> { @@ -50,14 +50,14 @@ pub struct IDtcLuConfigure_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuRecovery, IDtcLuRecovery_Vtbl, 0xac2b8ad2_d6f0_11d0_b386_00a0c9083365); +windows_core::imp::define_interface!(IDtcLuRecovery, IDtcLuRecovery_Vtbl, 0xac2b8ad2_d6f0_11d0_b386_00a0c9083365); windows_core::imp::interface_hierarchy!(IDtcLuRecovery, windows_core::IUnknown); impl IDtcLuRecovery {} #[repr(C)] pub struct IDtcLuRecovery_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IDtcLuRecoveryFactory, IDtcLuRecoveryFactory_Vtbl, 0x4131e762_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuRecoveryFactory, IDtcLuRecoveryFactory_Vtbl, 0x4131e762_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuRecoveryFactory, windows_core::IUnknown); impl IDtcLuRecoveryFactory { pub unsafe fn Create(&self, puclupair: &[u8]) -> windows_core::Result { @@ -70,7 +70,7 @@ pub struct IDtcLuRecoveryFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuRecoveryInitiatedByDtc, IDtcLuRecoveryInitiatedByDtc_Vtbl, 0x4131e764_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByDtc, IDtcLuRecoveryInitiatedByDtc_Vtbl, 0x4131e764_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtc, windows_core::IUnknown); impl IDtcLuRecoveryInitiatedByDtc { pub unsafe fn GetWork(&self, pwork: *mut DTCINITIATEDRECOVERYWORK, ppv: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -82,7 +82,7 @@ pub struct IDtcLuRecoveryInitiatedByDtc_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetWork: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DTCINITIATEDRECOVERYWORK, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuRecoveryInitiatedByDtcStatusWork, IDtcLuRecoveryInitiatedByDtcStatusWork_Vtbl, 0x4131e766_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByDtcStatusWork, IDtcLuRecoveryInitiatedByDtcStatusWork_Vtbl, 0x4131e766_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtcStatusWork, windows_core::IUnknown); impl IDtcLuRecoveryInitiatedByDtcStatusWork { pub unsafe fn HandleCheckLuStatus(&self, lrecoveryseqnum: i32) -> windows_core::Result<()> { @@ -94,7 +94,7 @@ pub struct IDtcLuRecoveryInitiatedByDtcStatusWork_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub HandleCheckLuStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuRecoveryInitiatedByDtcTransWork, IDtcLuRecoveryInitiatedByDtcTransWork_Vtbl, 0x4131e765_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByDtcTransWork, IDtcLuRecoveryInitiatedByDtcTransWork_Vtbl, 0x4131e765_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByDtcTransWork, windows_core::IUnknown); impl IDtcLuRecoveryInitiatedByDtcTransWork { pub unsafe fn GetLogNameSizes(&self, pcbourlogname: *mut u32, pcbremotelogname: *mut u32) -> windows_core::Result<()> { @@ -154,7 +154,7 @@ pub struct IDtcLuRecoveryInitiatedByDtcTransWork_Vtbl { pub GetRecoverySeqNum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ObsoleteRecoverySeqNum: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuRecoveryInitiatedByLu, IDtcLuRecoveryInitiatedByLu_Vtbl, 0x4131e768_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByLu, IDtcLuRecoveryInitiatedByLu_Vtbl, 0x4131e768_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByLu, windows_core::IUnknown); impl IDtcLuRecoveryInitiatedByLu { pub unsafe fn GetObjectToHandleWorkFromLu(&self) -> windows_core::Result { @@ -167,7 +167,7 @@ pub struct IDtcLuRecoveryInitiatedByLu_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetObjectToHandleWorkFromLu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuRecoveryInitiatedByLuWork, IDtcLuRecoveryInitiatedByLuWork_Vtbl, 0xac2b8ad1_d6f0_11d0_b386_00a0c9083365); +windows_core::imp::define_interface!(IDtcLuRecoveryInitiatedByLuWork, IDtcLuRecoveryInitiatedByLuWork_Vtbl, 0xac2b8ad1_d6f0_11d0_b386_00a0c9083365); windows_core::imp::interface_hierarchy!(IDtcLuRecoveryInitiatedByLuWork, windows_core::IUnknown); impl IDtcLuRecoveryInitiatedByLuWork { pub unsafe fn HandleTheirXln(&self, lrecoveryseqnum: i32, xln: DTCLUXLN, premotelogname: *mut u8, cbremotelogname: u32, pourlogname: *mut u8, cbourlogname: u32, dwprotocol: u32, presponse: *mut DTCLUXLNRESPONSE) -> windows_core::Result<()> { @@ -207,7 +207,7 @@ pub struct IDtcLuRecoveryInitiatedByLuWork_Vtbl { pub HandleErrorFromOurCompareStates: unsafe extern "system" fn(*mut core::ffi::c_void, DTCLUCOMPARESTATESERROR) -> windows_core::HRESULT, pub ConversationLost: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuRmEnlistment, IDtcLuRmEnlistment_Vtbl, 0x4131e769_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuRmEnlistment, IDtcLuRmEnlistment_Vtbl, 0x4131e769_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuRmEnlistment, windows_core::IUnknown); impl IDtcLuRmEnlistment { pub unsafe fn Unplug(&self, fconversationlost: P0) -> windows_core::Result<()> @@ -242,7 +242,7 @@ pub struct IDtcLuRmEnlistment_Vtbl { pub Forget: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestCommit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuRmEnlistmentFactory, IDtcLuRmEnlistmentFactory_Vtbl, 0x4131e771_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuRmEnlistmentFactory, IDtcLuRmEnlistmentFactory_Vtbl, 0x4131e771_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuRmEnlistmentFactory, windows_core::IUnknown); impl IDtcLuRmEnlistmentFactory { pub unsafe fn Create(&self, puclupair: *mut u8, cblupair: u32, pitransaction: P0, ptransid: *mut u8, cbtransid: u32, prmenlistmentsink: P1, pprmenlistment: *mut Option) -> windows_core::Result<()> @@ -258,7 +258,7 @@ pub struct IDtcLuRmEnlistmentFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32, *mut core::ffi::c_void, *mut u8, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuRmEnlistmentSink, IDtcLuRmEnlistmentSink_Vtbl, 0x4131e770_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuRmEnlistmentSink, IDtcLuRmEnlistmentSink_Vtbl, 0x4131e770_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuRmEnlistmentSink, windows_core::IUnknown); impl IDtcLuRmEnlistmentSink { pub unsafe fn AckUnplug(&self) -> windows_core::Result<()> { @@ -302,7 +302,7 @@ pub struct IDtcLuRmEnlistmentSink_Vtbl { pub Prepare: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestCommit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuSubordinateDtc, IDtcLuSubordinateDtc_Vtbl, 0x4131e773_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuSubordinateDtc, IDtcLuSubordinateDtc_Vtbl, 0x4131e773_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuSubordinateDtc, windows_core::IUnknown); impl IDtcLuSubordinateDtc { pub unsafe fn Unplug(&self, fconversationlost: P0) -> windows_core::Result<()> @@ -341,7 +341,7 @@ pub struct IDtcLuSubordinateDtc_Vtbl { pub Prepare: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestCommit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuSubordinateDtcFactory, IDtcLuSubordinateDtcFactory_Vtbl, 0x4131e775_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuSubordinateDtcFactory, IDtcLuSubordinateDtcFactory_Vtbl, 0x4131e775_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuSubordinateDtcFactory, windows_core::IUnknown); impl IDtcLuSubordinateDtcFactory { pub unsafe fn Create(&self, puclupair: *mut u8, cblupair: u32, punktransactionouter: P0, isolevel: i32, isoflags: u32, poptions: P1, pptransaction: *mut Option, ptransid: *mut u8, cbtransid: u32, psubordinatedtcsink: P2, ppsubordinatedtc: *mut Option) -> windows_core::Result<()> @@ -358,7 +358,7 @@ pub struct IDtcLuSubordinateDtcFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, u32, *mut core::ffi::c_void, i32, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut u8, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcLuSubordinateDtcSink, IDtcLuSubordinateDtcSink_Vtbl, 0x4131e774_1aea_11d0_944b_00a0c905416e); +windows_core::imp::define_interface!(IDtcLuSubordinateDtcSink, IDtcLuSubordinateDtcSink_Vtbl, 0x4131e774_1aea_11d0_944b_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcLuSubordinateDtcSink, windows_core::IUnknown); impl IDtcLuSubordinateDtcSink { pub unsafe fn AckUnplug(&self) -> windows_core::Result<()> { @@ -398,7 +398,7 @@ pub struct IDtcLuSubordinateDtcSink_Vtbl { pub Forget: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RequestCommit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcNetworkAccessConfig, IDtcNetworkAccessConfig_Vtbl, 0x9797c15d_a428_4291_87b6_0995031a678d); +windows_core::imp::define_interface!(IDtcNetworkAccessConfig, IDtcNetworkAccessConfig_Vtbl, 0x9797c15d_a428_4291_87b6_0995031a678d); windows_core::imp::interface_hierarchy!(IDtcNetworkAccessConfig, windows_core::IUnknown); impl IDtcNetworkAccessConfig { pub unsafe fn GetAnyNetworkAccess(&self) -> windows_core::Result { @@ -482,7 +482,7 @@ pub struct IDtcNetworkAccessConfig_Vtbl { pub SetXAAccess: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub RestartDtcService: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcNetworkAccessConfig2, IDtcNetworkAccessConfig2_Vtbl, 0xa7aa013b_eb7d_4f42_b41c_b2dec09ae034); +windows_core::imp::define_interface!(IDtcNetworkAccessConfig2, IDtcNetworkAccessConfig2_Vtbl, 0xa7aa013b_eb7d_4f42_b41c_b2dec09ae034); windows_core::imp::interface_hierarchy!(IDtcNetworkAccessConfig2, windows_core::IUnknown, IDtcNetworkAccessConfig); impl IDtcNetworkAccessConfig2 { pub unsafe fn GetAnyNetworkAccess(&self) -> windows_core::Result { @@ -586,7 +586,7 @@ pub struct IDtcNetworkAccessConfig2_Vtbl { pub GetAuthenticationLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AUTHENTICATION_LEVEL) -> windows_core::HRESULT, pub SetAuthenticationLevel: unsafe extern "system" fn(*mut core::ffi::c_void, AUTHENTICATION_LEVEL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcNetworkAccessConfig3, IDtcNetworkAccessConfig3_Vtbl, 0x76e4b4f3_2ca5_466b_89d5_fd218ee75b49); +windows_core::imp::define_interface!(IDtcNetworkAccessConfig3, IDtcNetworkAccessConfig3_Vtbl, 0x76e4b4f3_2ca5_466b_89d5_fd218ee75b49); windows_core::imp::interface_hierarchy!(IDtcNetworkAccessConfig3, windows_core::IUnknown, IDtcNetworkAccessConfig, IDtcNetworkAccessConfig2); impl IDtcNetworkAccessConfig3 { pub unsafe fn GetAnyNetworkAccess(&self) -> windows_core::Result { @@ -696,7 +696,7 @@ pub struct IDtcNetworkAccessConfig3_Vtbl { pub GetLUAccess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetLUAccess: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcToXaHelper, IDtcToXaHelper_Vtbl, 0xa9861611_304a_11d1_9813_00a0c905416e); +windows_core::imp::define_interface!(IDtcToXaHelper, IDtcToXaHelper_Vtbl, 0xa9861611_304a_11d1_9813_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcToXaHelper, windows_core::IUnknown); impl IDtcToXaHelper { pub unsafe fn Close(&self, i_fdorecovery: P0) -> windows_core::Result<()> @@ -718,7 +718,7 @@ pub struct IDtcToXaHelper_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub TranslateTridToXid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut XID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcToXaHelperFactory, IDtcToXaHelperFactory_Vtbl, 0xa9861610_304a_11d1_9813_00a0c905416e); +windows_core::imp::define_interface!(IDtcToXaHelperFactory, IDtcToXaHelperFactory_Vtbl, 0xa9861610_304a_11d1_9813_00a0c905416e); windows_core::imp::interface_hierarchy!(IDtcToXaHelperFactory, windows_core::IUnknown); impl IDtcToXaHelperFactory { pub unsafe fn Create(&self, pszdsn: P0, pszclientdllname: P1, pguidrm: *mut windows_core::GUID, ppxahelper: *mut Option) -> windows_core::Result<()> @@ -734,7 +734,7 @@ pub struct IDtcToXaHelperFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, windows_core::PCSTR, *mut windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDtcToXaHelperSinglePipe, IDtcToXaHelperSinglePipe_Vtbl, 0x47ed4971_53b3_11d1_bbb9_00c04fd658f6); +windows_core::imp::define_interface!(IDtcToXaHelperSinglePipe, IDtcToXaHelperSinglePipe_Vtbl, 0x47ed4971_53b3_11d1_bbb9_00c04fd658f6); windows_core::imp::interface_hierarchy!(IDtcToXaHelperSinglePipe, windows_core::IUnknown); impl IDtcToXaHelperSinglePipe { pub unsafe fn XARMCreate(&self, pszdsn: P0, pszclientdll: P1, pdwrmcookie: *mut u32) -> windows_core::Result<()> @@ -770,7 +770,7 @@ pub struct IDtcToXaHelperSinglePipe_Vtbl { pub EnlistWithRM: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ReleaseRMCookie: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL), } -windows_core::imp::com_interface!(IDtcToXaMapper, IDtcToXaMapper_Vtbl, 0x64ffabe0_7ce9_11d0_8ce6_00c04fdc877e); +windows_core::imp::define_interface!(IDtcToXaMapper, IDtcToXaMapper_Vtbl, 0x64ffabe0_7ce9_11d0_8ce6_00c04fdc877e); windows_core::imp::interface_hierarchy!(IDtcToXaMapper, windows_core::IUnknown); impl IDtcToXaMapper { pub unsafe fn RequestNewResourceManager(&self, pszdsn: P0, pszclientdllname: P1, pdwrmcookie: *mut u32) -> windows_core::Result<()> @@ -798,7 +798,7 @@ pub struct IDtcToXaMapper_Vtbl { pub EnlistResourceManager: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u32) -> windows_core::HRESULT, pub ReleaseResourceManager: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetDispenser, IGetDispenser_Vtbl, 0xc23cc370_87ef_11ce_8081_0080c758527e); +windows_core::imp::define_interface!(IGetDispenser, IGetDispenser_Vtbl, 0xc23cc370_87ef_11ce_8081_0080c758527e); windows_core::imp::interface_hierarchy!(IGetDispenser, windows_core::IUnknown); impl IGetDispenser { pub unsafe fn GetDispenser(&self, iid: *const windows_core::GUID, ppvobject: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -810,7 +810,7 @@ pub struct IGetDispenser_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDispenser: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKernelTransaction, IKernelTransaction_Vtbl, 0x79427a2b_f895_40e0_be79_b57dc82ed231); +windows_core::imp::define_interface!(IKernelTransaction, IKernelTransaction_Vtbl, 0x79427a2b_f895_40e0_be79_b57dc82ed231); windows_core::imp::interface_hierarchy!(IKernelTransaction, windows_core::IUnknown); impl IKernelTransaction { pub unsafe fn GetHandle(&self) -> windows_core::Result { @@ -823,7 +823,7 @@ pub struct IKernelTransaction_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILastResourceManager, ILastResourceManager_Vtbl, 0x4d964ad4_5b33_11d3_8a91_00c04f79eb6d); +windows_core::imp::define_interface!(ILastResourceManager, ILastResourceManager_Vtbl, 0x4d964ad4_5b33_11d3_8a91_00c04f79eb6d); windows_core::imp::interface_hierarchy!(ILastResourceManager, windows_core::IUnknown); impl ILastResourceManager { pub unsafe fn TransactionCommitted(&self, pprepinfo: &[u8]) -> windows_core::Result<()> { @@ -839,7 +839,7 @@ pub struct ILastResourceManager_Vtbl { pub TransactionCommitted: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32) -> windows_core::HRESULT, pub RecoveryDone: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrepareInfo, IPrepareInfo_Vtbl, 0x80c7bfd0_87ee_11ce_8081_0080c758527e); +windows_core::imp::define_interface!(IPrepareInfo, IPrepareInfo_Vtbl, 0x80c7bfd0_87ee_11ce_8081_0080c758527e); windows_core::imp::interface_hierarchy!(IPrepareInfo, windows_core::IUnknown); impl IPrepareInfo { pub unsafe fn GetPrepareInfoSize(&self, pcbprepinfo: *mut u32) -> windows_core::Result<()> { @@ -855,7 +855,7 @@ pub struct IPrepareInfo_Vtbl { pub GetPrepareInfoSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetPrepareInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrepareInfo2, IPrepareInfo2_Vtbl, 0x5fab2547_9779_11d1_b886_00c04fb9618a); +windows_core::imp::define_interface!(IPrepareInfo2, IPrepareInfo2_Vtbl, 0x5fab2547_9779_11d1_b886_00c04fb9618a); windows_core::imp::interface_hierarchy!(IPrepareInfo2, windows_core::IUnknown); impl IPrepareInfo2 { pub unsafe fn GetPrepareInfoSize(&self) -> windows_core::Result { @@ -872,7 +872,7 @@ pub struct IPrepareInfo2_Vtbl { pub GetPrepareInfoSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetPrepareInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRMHelper, IRMHelper_Vtbl, 0xe793f6d1_f53d_11cf_a60d_00a0c905416e); +windows_core::imp::define_interface!(IRMHelper, IRMHelper_Vtbl, 0xe793f6d1_f53d_11cf_a60d_00a0c905416e); windows_core::imp::interface_hierarchy!(IRMHelper, windows_core::IUnknown); impl IRMHelper { pub unsafe fn RMCount(&self, dwctotalnumberofrms: u32) -> windows_core::Result<()> { @@ -893,7 +893,7 @@ pub struct IRMHelper_Vtbl { pub RMCount: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub RMInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut xa_switch_t, super::super::Foundation::BOOL, windows_core::PCSTR, windows_core::PCSTR, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResourceManager, IResourceManager_Vtbl, 0x13741d21_87eb_11ce_8081_0080c758527e); +windows_core::imp::define_interface!(IResourceManager, IResourceManager_Vtbl, 0x13741d21_87eb_11ce_8081_0080c758527e); windows_core::imp::interface_hierarchy!(IResourceManager, windows_core::IUnknown); impl IResourceManager { pub unsafe fn Enlist(&self, ptransaction: P0, pres: P1, puow: *mut BOID, pisolevel: *mut i32, ppenlist: *mut Option) -> windows_core::Result<()> @@ -922,7 +922,7 @@ pub struct IResourceManager_Vtbl { pub ReenlistmentComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDistributedTransactionManager: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResourceManager2, IResourceManager2_Vtbl, 0xd136c69a_f749_11d1_8f47_00c04f8ee57d); +windows_core::imp::define_interface!(IResourceManager2, IResourceManager2_Vtbl, 0xd136c69a_f749_11d1_8f47_00c04f8ee57d); windows_core::imp::interface_hierarchy!(IResourceManager2, windows_core::IUnknown, IResourceManager); impl IResourceManager2 { pub unsafe fn Enlist(&self, ptransaction: P0, pres: P1, puow: *mut BOID, pisolevel: *mut i32, ppenlist: *mut Option) -> windows_core::Result<()> @@ -960,7 +960,7 @@ pub struct IResourceManager2_Vtbl { pub Enlist2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut BOID, *mut i32, *mut XID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Reenlist2: unsafe extern "system" fn(*mut core::ffi::c_void, *const XID, u32, *mut XACTSTAT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResourceManagerFactory, IResourceManagerFactory_Vtbl, 0x13741d20_87eb_11ce_8081_0080c758527e); +windows_core::imp::define_interface!(IResourceManagerFactory, IResourceManagerFactory_Vtbl, 0x13741d20_87eb_11ce_8081_0080c758527e); windows_core::imp::interface_hierarchy!(IResourceManagerFactory, windows_core::IUnknown); impl IResourceManagerFactory { pub unsafe fn Create(&self, pguidrm: *const windows_core::GUID, pszrmname: P0, piresmgrsink: P1) -> windows_core::Result @@ -977,7 +977,7 @@ pub struct IResourceManagerFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResourceManagerFactory2, IResourceManagerFactory2_Vtbl, 0x6b369c21_fbd2_11d1_8f47_00c04f8ee57d); +windows_core::imp::define_interface!(IResourceManagerFactory2, IResourceManagerFactory2_Vtbl, 0x6b369c21_fbd2_11d1_8f47_00c04f8ee57d); windows_core::imp::interface_hierarchy!(IResourceManagerFactory2, windows_core::IUnknown, IResourceManagerFactory); impl IResourceManagerFactory2 { pub unsafe fn Create(&self, pguidrm: *const windows_core::GUID, pszrmname: P0, piresmgrsink: P1) -> windows_core::Result @@ -1001,7 +1001,7 @@ pub struct IResourceManagerFactory2_Vtbl { pub base__: IResourceManagerFactory_Vtbl, pub CreateEx: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCSTR, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResourceManagerRejoinable, IResourceManagerRejoinable_Vtbl, 0x6f6de620_b5df_4f3e_9cfa_c8aebd05172b); +windows_core::imp::define_interface!(IResourceManagerRejoinable, IResourceManagerRejoinable_Vtbl, 0x6f6de620_b5df_4f3e_9cfa_c8aebd05172b); windows_core::imp::interface_hierarchy!(IResourceManagerRejoinable, windows_core::IUnknown, IResourceManager, IResourceManager2); impl IResourceManagerRejoinable { pub unsafe fn Enlist(&self, ptransaction: P0, pres: P1, puow: *mut BOID, pisolevel: *mut i32, ppenlist: *mut Option) -> windows_core::Result<()> @@ -1042,7 +1042,7 @@ pub struct IResourceManagerRejoinable_Vtbl { pub base__: IResourceManager2_Vtbl, pub Rejoin: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, u32, *mut XACTSTAT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResourceManagerSink, IResourceManagerSink_Vtbl, 0x0d563181_defb_11ce_aed1_00aa0051e2c4); +windows_core::imp::define_interface!(IResourceManagerSink, IResourceManagerSink_Vtbl, 0x0d563181_defb_11ce_aed1_00aa0051e2c4); windows_core::imp::interface_hierarchy!(IResourceManagerSink, windows_core::IUnknown); impl IResourceManagerSink { pub unsafe fn TMDown(&self) -> windows_core::Result<()> { @@ -1054,7 +1054,7 @@ pub struct IResourceManagerSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub TMDown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITipHelper, ITipHelper_Vtbl, 0x17cf72d1_bac5_11d1_b1bf_00c04fc2f3ef); +windows_core::imp::define_interface!(ITipHelper, ITipHelper_Vtbl, 0x17cf72d1_bac5_11d1_b1bf_00c04fc2f3ef); windows_core::imp::interface_hierarchy!(ITipHelper, windows_core::IUnknown); impl ITipHelper { pub unsafe fn Pull(&self, i_psztxurl: *const u8) -> windows_core::Result { @@ -1080,7 +1080,7 @@ pub struct ITipHelper_Vtbl { pub PullAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLocalTmUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITipPullSink, ITipPullSink_Vtbl, 0x17cf72d2_bac5_11d1_b1bf_00c04fc2f3ef); +windows_core::imp::define_interface!(ITipPullSink, ITipPullSink_Vtbl, 0x17cf72d2_bac5_11d1_b1bf_00c04fc2f3ef); windows_core::imp::interface_hierarchy!(ITipPullSink, windows_core::IUnknown); impl ITipPullSink { pub unsafe fn PullComplete(&self, i_hrpull: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1092,7 +1092,7 @@ pub struct ITipPullSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub PullComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITipTransaction, ITipTransaction_Vtbl, 0x17cf72d0_bac5_11d1_b1bf_00c04fc2f3ef); +windows_core::imp::define_interface!(ITipTransaction, ITipTransaction_Vtbl, 0x17cf72d0_bac5_11d1_b1bf_00c04fc2f3ef); windows_core::imp::interface_hierarchy!(ITipTransaction, windows_core::IUnknown); impl ITipTransaction { pub unsafe fn Push(&self, i_pszremotetmurl: *const u8) -> windows_core::Result { @@ -1110,7 +1110,7 @@ pub struct ITipTransaction_Vtbl { pub Push: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *mut windows_core::PSTR) -> windows_core::HRESULT, pub GetTransactionUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITmNodeName, ITmNodeName_Vtbl, 0x30274f88_6ee4_474e_9b95_7807bc9ef8cf); +windows_core::imp::define_interface!(ITmNodeName, ITmNodeName_Vtbl, 0x30274f88_6ee4_474e_9b95_7807bc9ef8cf); windows_core::imp::interface_hierarchy!(ITmNodeName, windows_core::IUnknown); impl ITmNodeName { pub unsafe fn GetNodeNameSize(&self) -> windows_core::Result { @@ -1127,7 +1127,7 @@ pub struct ITmNodeName_Vtbl { pub GetNodeNameSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetNodeName: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransaction, ITransaction_Vtbl, 0x0fb15084_af41_11ce_bd2b_204c4f4f5020); +windows_core::imp::define_interface!(ITransaction, ITransaction_Vtbl, 0x0fb15084_af41_11ce_bd2b_204c4f4f5020); windows_core::imp::interface_hierarchy!(ITransaction, windows_core::IUnknown); impl ITransaction { pub unsafe fn Commit(&self, fretaining: P0, grftc: u32, grfrm: u32) -> windows_core::Result<()> @@ -1154,7 +1154,7 @@ pub struct ITransaction_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void, *const BOID, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetTransactionInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XACTTRANSINFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransaction2, ITransaction2_Vtbl, 0x34021548_0065_11d3_bac1_00c04f797be2); +windows_core::imp::define_interface!(ITransaction2, ITransaction2_Vtbl, 0x34021548_0065_11d3_bac1_00c04f797be2); windows_core::imp::interface_hierarchy!(ITransaction2, windows_core::IUnknown, ITransaction, ITransactionCloner); impl ITransaction2 { pub unsafe fn Commit(&self, fretaining: P0, grftc: u32, grfrm: u32) -> windows_core::Result<()> @@ -1186,7 +1186,7 @@ pub struct ITransaction2_Vtbl { pub base__: ITransactionCloner_Vtbl, pub GetTransactionInfo2: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XACTTRANSINFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionCloner, ITransactionCloner_Vtbl, 0x02656950_2152_11d0_944c_00a0c905416e); +windows_core::imp::define_interface!(ITransactionCloner, ITransactionCloner_Vtbl, 0x02656950_2152_11d0_944c_00a0c905416e); windows_core::imp::interface_hierarchy!(ITransactionCloner, windows_core::IUnknown, ITransaction); impl ITransactionCloner { pub unsafe fn Commit(&self, fretaining: P0, grftc: u32, grfrm: u32) -> windows_core::Result<()> @@ -1215,7 +1215,7 @@ pub struct ITransactionCloner_Vtbl { pub base__: ITransaction_Vtbl, pub CloneWithCommitDisabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionDispenser, ITransactionDispenser_Vtbl, 0x3a6ad9e1_23b9_11cf_ad60_00aa00a74ccd); +windows_core::imp::define_interface!(ITransactionDispenser, ITransactionDispenser_Vtbl, 0x3a6ad9e1_23b9_11cf_ad60_00aa00a74ccd); windows_core::imp::interface_hierarchy!(ITransactionDispenser, windows_core::IUnknown); impl ITransactionDispenser { pub unsafe fn GetOptionsObject(&self) -> windows_core::Result { @@ -1237,7 +1237,7 @@ pub struct ITransactionDispenser_Vtbl { pub GetOptionsObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub BeginTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionEnlistmentAsync, ITransactionEnlistmentAsync_Vtbl, 0x0fb15081_af41_11ce_bd2b_204c4f4f5020); +windows_core::imp::define_interface!(ITransactionEnlistmentAsync, ITransactionEnlistmentAsync_Vtbl, 0x0fb15081_af41_11ce_bd2b_204c4f4f5020); windows_core::imp::interface_hierarchy!(ITransactionEnlistmentAsync, windows_core::IUnknown); impl ITransactionEnlistmentAsync { #[cfg(feature = "Win32_System_Com")] @@ -1264,7 +1264,7 @@ pub struct ITransactionEnlistmentAsync_Vtbl { pub CommitRequestDone: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, pub AbortRequestDone: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionExport, ITransactionExport_Vtbl, 0x0141fda5_8fc0_11ce_bd18_204c4f4f5020); +windows_core::imp::define_interface!(ITransactionExport, ITransactionExport_Vtbl, 0x0141fda5_8fc0_11ce_bd18_204c4f4f5020); windows_core::imp::interface_hierarchy!(ITransactionExport, windows_core::IUnknown); impl ITransactionExport { pub unsafe fn Export(&self, punktransaction: P0) -> windows_core::Result @@ -1287,7 +1287,7 @@ pub struct ITransactionExport_Vtbl { pub Export: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetTransactionCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionExportFactory, ITransactionExportFactory_Vtbl, 0xe1cf9b53_8745_11ce_a9ba_00aa006c3706); +windows_core::imp::define_interface!(ITransactionExportFactory, ITransactionExportFactory_Vtbl, 0xe1cf9b53_8745_11ce_a9ba_00aa006c3706); windows_core::imp::interface_hierarchy!(ITransactionExportFactory, windows_core::IUnknown); impl ITransactionExportFactory { pub unsafe fn GetRemoteClassId(&self) -> windows_core::Result { @@ -1305,7 +1305,7 @@ pub struct ITransactionExportFactory_Vtbl { pub GetRemoteClassId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionImport, ITransactionImport_Vtbl, 0xe1cf9b5a_8745_11ce_a9ba_00aa006c3706); +windows_core::imp::define_interface!(ITransactionImport, ITransactionImport_Vtbl, 0xe1cf9b5a_8745_11ce_a9ba_00aa006c3706); windows_core::imp::interface_hierarchy!(ITransactionImport, windows_core::IUnknown); impl ITransactionImport { pub unsafe fn Import(&self, rgbtransactioncookie: &[u8]) -> windows_core::Result @@ -1321,7 +1321,7 @@ pub struct ITransactionImport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Import: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionImportWhereabouts, ITransactionImportWhereabouts_Vtbl, 0x0141fda4_8fc0_11ce_bd18_204c4f4f5020); +windows_core::imp::define_interface!(ITransactionImportWhereabouts, ITransactionImportWhereabouts_Vtbl, 0x0141fda4_8fc0_11ce_bd18_204c4f4f5020); windows_core::imp::interface_hierarchy!(ITransactionImportWhereabouts, windows_core::IUnknown); impl ITransactionImportWhereabouts { pub unsafe fn GetWhereaboutsSize(&self) -> windows_core::Result { @@ -1338,7 +1338,7 @@ pub struct ITransactionImportWhereabouts_Vtbl { pub GetWhereaboutsSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetWhereabouts: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionLastEnlistmentAsync, ITransactionLastEnlistmentAsync_Vtbl, 0xc82bd533_5b30_11d3_8a91_00c04f79eb6d); +windows_core::imp::define_interface!(ITransactionLastEnlistmentAsync, ITransactionLastEnlistmentAsync_Vtbl, 0xc82bd533_5b30_11d3_8a91_00c04f79eb6d); windows_core::imp::interface_hierarchy!(ITransactionLastEnlistmentAsync, windows_core::IUnknown); impl ITransactionLastEnlistmentAsync { pub unsafe fn TransactionOutcome(&self, xactstat: XACTSTAT, pboidreason: *const BOID) -> windows_core::Result<()> { @@ -1350,7 +1350,7 @@ pub struct ITransactionLastEnlistmentAsync_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub TransactionOutcome: unsafe extern "system" fn(*mut core::ffi::c_void, XACTSTAT, *const BOID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionLastResourceAsync, ITransactionLastResourceAsync_Vtbl, 0xc82bd532_5b30_11d3_8a91_00c04f79eb6d); +windows_core::imp::define_interface!(ITransactionLastResourceAsync, ITransactionLastResourceAsync_Vtbl, 0xc82bd532_5b30_11d3_8a91_00c04f79eb6d); windows_core::imp::interface_hierarchy!(ITransactionLastResourceAsync, windows_core::IUnknown); impl ITransactionLastResourceAsync { pub unsafe fn DelegateCommit(&self, grfrm: u32) -> windows_core::Result<()> { @@ -1366,7 +1366,7 @@ pub struct ITransactionLastResourceAsync_Vtbl { pub DelegateCommit: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub ForgetRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *const BOID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionOptions, ITransactionOptions_Vtbl, 0x3a6ad9e0_23b9_11cf_ad60_00aa00a74ccd); +windows_core::imp::define_interface!(ITransactionOptions, ITransactionOptions_Vtbl, 0x3a6ad9e0_23b9_11cf_ad60_00aa00a74ccd); windows_core::imp::interface_hierarchy!(ITransactionOptions, windows_core::IUnknown); impl ITransactionOptions { pub unsafe fn SetOptions(&self, poptions: *const XACTOPT) -> windows_core::Result<()> { @@ -1382,7 +1382,7 @@ pub struct ITransactionOptions_Vtbl { pub SetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *const XACTOPT) -> windows_core::HRESULT, pub GetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut XACTOPT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionOutcomeEvents, ITransactionOutcomeEvents_Vtbl, 0x3a6ad9e2_23b9_11cf_ad60_00aa00a74ccd); +windows_core::imp::define_interface!(ITransactionOutcomeEvents, ITransactionOutcomeEvents_Vtbl, 0x3a6ad9e2_23b9_11cf_ad60_00aa00a74ccd); windows_core::imp::interface_hierarchy!(ITransactionOutcomeEvents, windows_core::IUnknown); impl ITransactionOutcomeEvents { pub unsafe fn Committed(&self, fretaining: P0, pnewuow: *const BOID, hr: windows_core::HRESULT) -> windows_core::Result<()> @@ -1412,7 +1412,7 @@ pub struct ITransactionOutcomeEvents_Vtbl { pub HeuristicDecision: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const BOID, windows_core::HRESULT) -> windows_core::HRESULT, pub Indoubt: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionPhase0EnlistmentAsync, ITransactionPhase0EnlistmentAsync_Vtbl, 0x82dc88e1_a954_11d1_8f88_00600895e7d5); +windows_core::imp::define_interface!(ITransactionPhase0EnlistmentAsync, ITransactionPhase0EnlistmentAsync_Vtbl, 0x82dc88e1_a954_11d1_8f88_00600895e7d5); windows_core::imp::interface_hierarchy!(ITransactionPhase0EnlistmentAsync, windows_core::IUnknown); impl ITransactionPhase0EnlistmentAsync { pub unsafe fn Enable(&self) -> windows_core::Result<()> { @@ -1441,7 +1441,7 @@ pub struct ITransactionPhase0EnlistmentAsync_Vtbl { pub Unenlist: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionPhase0Factory, ITransactionPhase0Factory_Vtbl, 0x82dc88e0_a954_11d1_8f88_00600895e7d5); +windows_core::imp::define_interface!(ITransactionPhase0Factory, ITransactionPhase0Factory_Vtbl, 0x82dc88e0_a954_11d1_8f88_00600895e7d5); windows_core::imp::interface_hierarchy!(ITransactionPhase0Factory, windows_core::IUnknown); impl ITransactionPhase0Factory { pub unsafe fn Create(&self, pphase0notify: P0) -> windows_core::Result @@ -1457,7 +1457,7 @@ pub struct ITransactionPhase0Factory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionPhase0NotifyAsync, ITransactionPhase0NotifyAsync_Vtbl, 0xef081809_0c76_11d2_87a6_00c04f990f34); +windows_core::imp::define_interface!(ITransactionPhase0NotifyAsync, ITransactionPhase0NotifyAsync_Vtbl, 0xef081809_0c76_11d2_87a6_00c04f990f34); windows_core::imp::interface_hierarchy!(ITransactionPhase0NotifyAsync, windows_core::IUnknown); impl ITransactionPhase0NotifyAsync { pub unsafe fn Phase0Request(&self, fabortinghint: P0) -> windows_core::Result<()> @@ -1476,7 +1476,7 @@ pub struct ITransactionPhase0NotifyAsync_Vtbl { pub Phase0Request: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub EnlistCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionReceiver, ITransactionReceiver_Vtbl, 0x59313e03_b36c_11cf_a539_00aa006887c3); +windows_core::imp::define_interface!(ITransactionReceiver, ITransactionReceiver_Vtbl, 0x59313e03_b36c_11cf_a539_00aa006887c3); windows_core::imp::interface_hierarchy!(ITransactionReceiver, windows_core::IUnknown); impl ITransactionReceiver { pub unsafe fn UnmarshalPropagationToken(&self, rgbtoken: &[u8]) -> windows_core::Result { @@ -1502,7 +1502,7 @@ pub struct ITransactionReceiver_Vtbl { pub MarshalReturnToken: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionReceiverFactory, ITransactionReceiverFactory_Vtbl, 0x59313e02_b36c_11cf_a539_00aa006887c3); +windows_core::imp::define_interface!(ITransactionReceiverFactory, ITransactionReceiverFactory_Vtbl, 0x59313e02_b36c_11cf_a539_00aa006887c3); windows_core::imp::interface_hierarchy!(ITransactionReceiverFactory, windows_core::IUnknown); impl ITransactionReceiverFactory { pub unsafe fn Create(&self) -> windows_core::Result { @@ -1515,7 +1515,7 @@ pub struct ITransactionReceiverFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionResource, ITransactionResource_Vtbl, 0xee5ff7b3_4572_11d0_9452_00a0c905416e); +windows_core::imp::define_interface!(ITransactionResource, ITransactionResource_Vtbl, 0xee5ff7b3_4572_11d0_9452_00a0c905416e); windows_core::imp::interface_hierarchy!(ITransactionResource, windows_core::IUnknown); impl ITransactionResource { pub unsafe fn PrepareRequest(&self, fretaining: P0, grfrm: u32, fwantmoniker: P1, fsinglephase: P2) -> windows_core::Result<()> @@ -1547,7 +1547,7 @@ pub struct ITransactionResource_Vtbl { pub AbortRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *const BOID, super::super::Foundation::BOOL, *const BOID) -> windows_core::HRESULT, pub TMDown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionResourceAsync, ITransactionResourceAsync_Vtbl, 0x69e971f0_23ce_11cf_ad60_00aa00a74ccd); +windows_core::imp::define_interface!(ITransactionResourceAsync, ITransactionResourceAsync_Vtbl, 0x69e971f0_23ce_11cf_ad60_00aa00a74ccd); windows_core::imp::interface_hierarchy!(ITransactionResourceAsync, windows_core::IUnknown); impl ITransactionResourceAsync { pub unsafe fn PrepareRequest(&self, fretaining: P0, grfrm: u32, fwantmoniker: P1, fsinglephase: P2) -> windows_core::Result<()> @@ -1579,7 +1579,7 @@ pub struct ITransactionResourceAsync_Vtbl { pub AbortRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *const BOID, super::super::Foundation::BOOL, *const BOID) -> windows_core::HRESULT, pub TMDown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionTransmitter, ITransactionTransmitter_Vtbl, 0x59313e01_b36c_11cf_a539_00aa006887c3); +windows_core::imp::define_interface!(ITransactionTransmitter, ITransactionTransmitter_Vtbl, 0x59313e01_b36c_11cf_a539_00aa006887c3); windows_core::imp::interface_hierarchy!(ITransactionTransmitter, windows_core::IUnknown); impl ITransactionTransmitter { pub unsafe fn Set(&self, ptransaction: P0) -> windows_core::Result<()> @@ -1611,7 +1611,7 @@ pub struct ITransactionTransmitter_Vtbl { pub UnmarshalReturnToken: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionTransmitterFactory, ITransactionTransmitterFactory_Vtbl, 0x59313e00_b36c_11cf_a539_00aa006887c3); +windows_core::imp::define_interface!(ITransactionTransmitterFactory, ITransactionTransmitterFactory_Vtbl, 0x59313e00_b36c_11cf_a539_00aa006887c3); windows_core::imp::interface_hierarchy!(ITransactionTransmitterFactory, windows_core::IUnknown); impl ITransactionTransmitterFactory { pub unsafe fn Create(&self) -> windows_core::Result { @@ -1624,7 +1624,7 @@ pub struct ITransactionTransmitterFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionVoterBallotAsync2, ITransactionVoterBallotAsync2_Vtbl, 0x5433376c_414d_11d3_b206_00c04fc2f3ef); +windows_core::imp::define_interface!(ITransactionVoterBallotAsync2, ITransactionVoterBallotAsync2_Vtbl, 0x5433376c_414d_11d3_b206_00c04fc2f3ef); windows_core::imp::interface_hierarchy!(ITransactionVoterBallotAsync2, windows_core::IUnknown); impl ITransactionVoterBallotAsync2 { pub unsafe fn VoteRequestDone(&self, hr: windows_core::HRESULT, pboidreason: Option<*const BOID>) -> windows_core::Result<()> { @@ -1636,7 +1636,7 @@ pub struct ITransactionVoterBallotAsync2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub VoteRequestDone: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, *const BOID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionVoterFactory2, ITransactionVoterFactory2_Vtbl, 0x5433376a_414d_11d3_b206_00c04fc2f3ef); +windows_core::imp::define_interface!(ITransactionVoterFactory2, ITransactionVoterFactory2_Vtbl, 0x5433376a_414d_11d3_b206_00c04fc2f3ef); windows_core::imp::interface_hierarchy!(ITransactionVoterFactory2, windows_core::IUnknown); impl ITransactionVoterFactory2 { pub unsafe fn Create(&self, ptransaction: P0, pvoternotify: P1) -> windows_core::Result @@ -1653,7 +1653,7 @@ pub struct ITransactionVoterFactory2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionVoterNotifyAsync2, ITransactionVoterNotifyAsync2_Vtbl, 0x5433376b_414d_11d3_b206_00c04fc2f3ef); +windows_core::imp::define_interface!(ITransactionVoterNotifyAsync2, ITransactionVoterNotifyAsync2_Vtbl, 0x5433376b_414d_11d3_b206_00c04fc2f3ef); windows_core::imp::interface_hierarchy!(ITransactionVoterNotifyAsync2, windows_core::IUnknown, ITransactionOutcomeEvents); impl ITransactionVoterNotifyAsync2 { pub unsafe fn Committed(&self, fretaining: P0, pnewuow: *const BOID, hr: windows_core::HRESULT) -> windows_core::Result<()> @@ -1683,7 +1683,7 @@ pub struct ITransactionVoterNotifyAsync2_Vtbl { pub base__: ITransactionOutcomeEvents_Vtbl, pub VoteRequest: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXAConfig, IXAConfig_Vtbl, 0xc8a6e3a1_9a8c_11cf_a308_00a0c905416e); +windows_core::imp::define_interface!(IXAConfig, IXAConfig_Vtbl, 0xc8a6e3a1_9a8c_11cf_a308_00a0c905416e); windows_core::imp::interface_hierarchy!(IXAConfig, windows_core::IUnknown); impl IXAConfig { pub unsafe fn Initialize(&self, clsidhelperdll: windows_core::GUID) -> windows_core::Result<()> { @@ -1699,7 +1699,7 @@ pub struct IXAConfig_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID) -> windows_core::HRESULT, pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXAObtainRMInfo, IXAObtainRMInfo_Vtbl, 0xe793f6d2_f53d_11cf_a60d_00a0c905416e); +windows_core::imp::define_interface!(IXAObtainRMInfo, IXAObtainRMInfo_Vtbl, 0xe793f6d2_f53d_11cf_a60d_00a0c905416e); windows_core::imp::interface_hierarchy!(IXAObtainRMInfo, windows_core::IUnknown); impl IXAObtainRMInfo { pub unsafe fn ObtainRMInfo(&self, pirmhelper: P0) -> windows_core::Result<()> @@ -1714,7 +1714,7 @@ pub struct IXAObtainRMInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ObtainRMInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXATransLookup, IXATransLookup_Vtbl, 0xf3b1f131_eeda_11ce_aed4_00aa0051e2c4); +windows_core::imp::define_interface!(IXATransLookup, IXATransLookup_Vtbl, 0xf3b1f131_eeda_11ce_aed4_00aa0051e2c4); windows_core::imp::interface_hierarchy!(IXATransLookup, windows_core::IUnknown); impl IXATransLookup { pub unsafe fn Lookup(&self) -> windows_core::Result { @@ -1727,7 +1727,7 @@ pub struct IXATransLookup_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Lookup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IXATransLookup2, IXATransLookup2_Vtbl, 0xbf193c85_0d1a_4290_b88f_d2cb8873d1e7); +windows_core::imp::define_interface!(IXATransLookup2, IXATransLookup2_Vtbl, 0xbf193c85_0d1a_4290_b88f_d2cb8873d1e7); windows_core::imp::interface_hierarchy!(IXATransLookup2, windows_core::IUnknown); impl IXATransLookup2 { pub unsafe fn Lookup(&self, pxid: *const XID) -> windows_core::Result { 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 e74e347a3d..1f6e5e8036 100644 --- a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/mod.rs @@ -20,7 +20,7 @@ pub unsafe fn IsNetworkAlive(lpdwflags: *mut u32) -> windows_core::Result<()> { IsNetworkAlive(lpdwflags).ok() } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISensLogon, ISensLogon_Vtbl, 0xd597bab3_5b9f_11d1_8dd2_00aa004abd5e); +windows_core::imp::define_interface!(ISensLogon, ISensLogon_Vtbl, 0xd597bab3_5b9f_11d1_8dd2_00aa004abd5e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISensLogon, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -81,7 +81,7 @@ pub struct ISensLogon_Vtbl { pub StopScreenSaver: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISensLogon2, ISensLogon2_Vtbl, 0xd597bab4_5b9f_11d1_8dd2_00aa004abd5e); +windows_core::imp::define_interface!(ISensLogon2, ISensLogon2_Vtbl, 0xd597bab4_5b9f_11d1_8dd2_00aa004abd5e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISensLogon2, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -128,7 +128,7 @@ pub struct ISensLogon2_Vtbl { pub PostShell: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISensNetwork, ISensNetwork_Vtbl, 0xd597bab1_5b9f_11d1_8dd2_00aa004abd5e); +windows_core::imp::define_interface!(ISensNetwork, ISensNetwork_Vtbl, 0xd597bab1_5b9f_11d1_8dd2_00aa004abd5e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISensNetwork, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -177,7 +177,7 @@ pub struct ISensNetwork_Vtbl { pub DestinationReachableNoQOCInfo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISensOnNow, ISensOnNow_Vtbl, 0xd597bab2_5b9f_11d1_8dd2_00aa004abd5e); +windows_core::imp::define_interface!(ISensOnNow, ISensOnNow_Vtbl, 0xd597bab2_5b9f_11d1_8dd2_00aa004abd5e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISensOnNow, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 1ad730eeec..46a26d8d20 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/mod.rs @@ -266,7 +266,7 @@ where windows_targets::link!("userenv.dll" "system" fn UnregisterGPNotification(hevent : super::super::Foundation:: HANDLE) -> super::super::Foundation:: BOOL); UnregisterGPNotification(hevent.into_param().abi()).ok() } -windows_core::imp::com_interface!(IGPEInformation, IGPEInformation_Vtbl, 0x8fc0b735_a0e1_11d1_a7d3_0000f87571e3); +windows_core::imp::define_interface!(IGPEInformation, IGPEInformation_Vtbl, 0x8fc0b735_a0e1_11d1_a7d3_0000f87571e3); windows_core::imp::interface_hierarchy!(IGPEInformation, windows_core::IUnknown); impl IGPEInformation { pub unsafe fn GetName(&self, pszname: &mut [u16]) -> windows_core::Result<()> { @@ -319,7 +319,7 @@ pub struct IGPEInformation_Vtbl { pub PolicyChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL, *mut windows_core::GUID, *mut windows_core::GUID) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPM, IGPM_Vtbl, 0xf5fae809_3bd6_4da9_a65e_17665b41d763); +windows_core::imp::define_interface!(IGPM, IGPM_Vtbl, 0xf5fae809_3bd6_4da9_a65e_17665b41d763); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPM, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -462,7 +462,7 @@ pub struct IGPM_Vtbl { pub InitializeReporting: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPM2, IGPM2_Vtbl, 0x00238f8a_3d86_41ac_8f5e_06a6638a634a); +windows_core::imp::define_interface!(IGPM2, IGPM2_Vtbl, 0x00238f8a_3d86_41ac_8f5e_06a6638a634a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPM2, windows_core::IUnknown, super::Com::IDispatch, IGPM); #[cfg(feature = "Win32_System_Com")] @@ -579,7 +579,7 @@ pub struct IGPM2_Vtbl { pub InitializeReportingEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMAsyncCancel, IGPMAsyncCancel_Vtbl, 0xddc67754_be67_4541_8166_f48166868c9c); +windows_core::imp::define_interface!(IGPMAsyncCancel, IGPMAsyncCancel_Vtbl, 0xddc67754_be67_4541_8166_f48166868c9c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMAsyncCancel, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -595,7 +595,7 @@ pub struct IGPMAsyncCancel_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMAsyncProgress, IGPMAsyncProgress_Vtbl, 0x6aac29f8_5948_4324_bf70_423818942dbc); +windows_core::imp::define_interface!(IGPMAsyncProgress, IGPMAsyncProgress_Vtbl, 0x6aac29f8_5948_4324_bf70_423818942dbc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMAsyncProgress, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -618,7 +618,7 @@ pub struct IGPMAsyncProgress_Vtbl { Status: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMBackup, IGPMBackup_Vtbl, 0xd8a16a35_3b0d_416b_8d02_4df6f95a7119); +windows_core::imp::define_interface!(IGPMBackup, IGPMBackup_Vtbl, 0xd8a16a35_3b0d_416b_8d02_4df6f95a7119); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMBackup, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -690,7 +690,7 @@ pub struct IGPMBackup_Vtbl { GenerateReportToFile: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMBackupCollection, IGPMBackupCollection_Vtbl, 0xc786fc0f_26d8_4bab_a745_39ca7e800cac); +windows_core::imp::define_interface!(IGPMBackupCollection, IGPMBackupCollection_Vtbl, 0xc786fc0f_26d8_4bab_a745_39ca7e800cac); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMBackupCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -721,7 +721,7 @@ pub struct IGPMBackupCollection_Vtbl { _NewEnum: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMBackupDir, IGPMBackupDir_Vtbl, 0xb1568bed_0a93_4acc_810f_afe7081019b9); +windows_core::imp::define_interface!(IGPMBackupDir, IGPMBackupDir_Vtbl, 0xb1568bed_0a93_4acc_810f_afe7081019b9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMBackupDir, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -762,7 +762,7 @@ pub struct IGPMBackupDir_Vtbl { SearchBackups: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMBackupDirEx, IGPMBackupDirEx_Vtbl, 0xf8dc55ed_3ba0_4864_aad4_d365189ee1d5); +windows_core::imp::define_interface!(IGPMBackupDirEx, IGPMBackupDirEx_Vtbl, 0xf8dc55ed_3ba0_4864_aad4_d365189ee1d5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMBackupDirEx, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -804,7 +804,7 @@ pub struct IGPMBackupDirEx_Vtbl { SearchBackups: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMCSECollection, IGPMCSECollection_Vtbl, 0x2e52a97d_0a4a_4a6f_85db_201622455da0); +windows_core::imp::define_interface!(IGPMCSECollection, IGPMCSECollection_Vtbl, 0x2e52a97d_0a4a_4a6f_85db_201622455da0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMCSECollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -835,7 +835,7 @@ pub struct IGPMCSECollection_Vtbl { _NewEnum: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMClientSideExtension, IGPMClientSideExtension_Vtbl, 0x69da7488_b8db_415e_9266_901be4d49928); +windows_core::imp::define_interface!(IGPMClientSideExtension, IGPMClientSideExtension_Vtbl, 0x69da7488_b8db_415e_9266_901be4d49928); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMClientSideExtension, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -867,7 +867,7 @@ pub struct IGPMClientSideExtension_Vtbl { pub IsComputerEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMConstants, IGPMConstants_Vtbl, 0x50ef73e6_d35c_4c8d_be63_7ea5d2aac5c4); +windows_core::imp::define_interface!(IGPMConstants, IGPMConstants_Vtbl, 0x50ef73e6_d35c_4c8d_be63_7ea5d2aac5c4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMConstants, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1188,7 +1188,7 @@ pub struct IGPMConstants_Vtbl { pub RsopPlanningAssumeCompWQLFilterTrue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMConstants2, IGPMConstants2_Vtbl, 0x05ae21b0_ac09_4032_a26f_9e7da786dc19); +windows_core::imp::define_interface!(IGPMConstants2, IGPMConstants2_Vtbl, 0x05ae21b0_ac09_4032_a26f_9e7da786dc19); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMConstants2, windows_core::IUnknown, super::Com::IDispatch, IGPMConstants); #[cfg(feature = "Win32_System_Com")] @@ -1524,7 +1524,7 @@ pub struct IGPMConstants2_Vtbl { pub ReportComments: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GPMReportingOptions) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMDomain, IGPMDomain_Vtbl, 0x6b21cc14_5a00_4f44_a738_feec8a94c7e3); +windows_core::imp::define_interface!(IGPMDomain, IGPMDomain_Vtbl, 0x6b21cc14_5a00_4f44_a738_feec8a94c7e3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMDomain, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1639,7 +1639,7 @@ pub struct IGPMDomain_Vtbl { SearchWMIFilters: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMDomain2, IGPMDomain2_Vtbl, 0x7ca6bb8b_f1eb_490a_938d_3c4e51c768e6); +windows_core::imp::define_interface!(IGPMDomain2, IGPMDomain2_Vtbl, 0x7ca6bb8b_f1eb_490a_938d_3c4e51c768e6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMDomain2, windows_core::IUnknown, super::Com::IDispatch, IGPMDomain); #[cfg(feature = "Win32_System_Com")] @@ -1790,7 +1790,7 @@ pub struct IGPMDomain2_Vtbl { RestoreStarterGPO: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMDomain3, IGPMDomain3_Vtbl, 0x0077fdfe_88c7_4acf_a11d_d10a7c310a03); +windows_core::imp::define_interface!(IGPMDomain3, IGPMDomain3_Vtbl, 0x0077fdfe_88c7_4acf_a11d_d10a7c310a03); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMDomain3, windows_core::IUnknown, super::Com::IDispatch, IGPMDomain, IGPMDomain2); #[cfg(feature = "Win32_System_Com")] @@ -1942,7 +1942,7 @@ pub struct IGPMDomain3_Vtbl { pub SetInfrastructureFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMGPO, IGPMGPO_Vtbl, 0x58cc4352_1ca3_48e5_9864_1da4d6e0d60f); +windows_core::imp::define_interface!(IGPMGPO, IGPMGPO_Vtbl, 0x58cc4352_1ca3_48e5_9864_1da4d6e0d60f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMGPO, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2166,7 +2166,7 @@ pub struct IGPMGPO_Vtbl { pub MakeACLConsistent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMGPO2, IGPMGPO2_Vtbl, 0x8a66a210_b78b_4d99_88e2_c306a817c925); +windows_core::imp::define_interface!(IGPMGPO2, IGPMGPO2_Vtbl, 0x8a66a210_b78b_4d99_88e2_c306a817c925); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMGPO2, windows_core::IUnknown, super::Com::IDispatch, IGPMGPO); #[cfg(feature = "Win32_System_Com")] @@ -2340,7 +2340,7 @@ pub struct IGPMGPO2_Vtbl { pub SetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMGPO3, IGPMGPO3_Vtbl, 0x7cf123a1_f94a_4112_bfae_6aa1db9cb248); +windows_core::imp::define_interface!(IGPMGPO3, IGPMGPO3_Vtbl, 0x7cf123a1_f94a_4112_bfae_6aa1db9cb248); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMGPO3, windows_core::IUnknown, super::Com::IDispatch, IGPMGPO, IGPMGPO2); #[cfg(feature = "Win32_System_Com")] @@ -2528,7 +2528,7 @@ pub struct IGPMGPO3_Vtbl { pub SetInfrastructureFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMGPOCollection, IGPMGPOCollection_Vtbl, 0xf0f0d5cf_70ca_4c39_9e29_b642f8726c01); +windows_core::imp::define_interface!(IGPMGPOCollection, IGPMGPOCollection_Vtbl, 0xf0f0d5cf_70ca_4c39_9e29_b642f8726c01); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMGPOCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2559,7 +2559,7 @@ pub struct IGPMGPOCollection_Vtbl { _NewEnum: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMGPOLink, IGPMGPOLink_Vtbl, 0x434b99bd_5de7_478a_809c_c251721df70c); +windows_core::imp::define_interface!(IGPMGPOLink, IGPMGPOLink_Vtbl, 0x434b99bd_5de7_478a_809c_c251721df70c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMGPOLink, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2623,7 +2623,7 @@ pub struct IGPMGPOLink_Vtbl { pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMGPOLinksCollection, IGPMGPOLinksCollection_Vtbl, 0x189d7b68_16bd_4d0d_a2ec_2e6aa2288c7f); +windows_core::imp::define_interface!(IGPMGPOLinksCollection, IGPMGPOLinksCollection_Vtbl, 0x189d7b68_16bd_4d0d_a2ec_2e6aa2288c7f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMGPOLinksCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2654,7 +2654,7 @@ pub struct IGPMGPOLinksCollection_Vtbl { _NewEnum: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMMapEntry, IGPMMapEntry_Vtbl, 0x8e79ad06_2381_4444_be4c_ff693e6e6f2b); +windows_core::imp::define_interface!(IGPMMapEntry, IGPMMapEntry_Vtbl, 0x8e79ad06_2381_4444_be4c_ff693e6e6f2b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMMapEntry, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2686,7 +2686,7 @@ pub struct IGPMMapEntry_Vtbl { pub EntryType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut GPMEntryType) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMMapEntryCollection, IGPMMapEntryCollection_Vtbl, 0xbb0bf49b_e53f_443f_b807_8be22bfb6d42); +windows_core::imp::define_interface!(IGPMMapEntryCollection, IGPMMapEntryCollection_Vtbl, 0xbb0bf49b_e53f_443f_b807_8be22bfb6d42); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMMapEntryCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2717,7 +2717,7 @@ pub struct IGPMMapEntryCollection_Vtbl { _NewEnum: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMMigrationTable, IGPMMigrationTable_Vtbl, 0x48f823b1_efaf_470b_b6ed_40d14ee1a4ec); +windows_core::imp::define_interface!(IGPMMigrationTable, IGPMMigrationTable_Vtbl, 0x48f823b1_efaf_470b_b6ed_40d14ee1a4ec); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMMigrationTable, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2804,7 +2804,7 @@ pub struct IGPMMigrationTable_Vtbl { GetEntries: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMPermission, IGPMPermission_Vtbl, 0x35ebca40_e1a1_4a02_8905_d79416fb464a); +windows_core::imp::define_interface!(IGPMPermission, IGPMPermission_Vtbl, 0x35ebca40_e1a1_4a02_8905_d79416fb464a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMPermission, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2845,7 +2845,7 @@ pub struct IGPMPermission_Vtbl { Trustee: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMRSOP, IGPMRSOP_Vtbl, 0x49ed785a_3237_4ff2_b1f0_fdf5a8d5a1ee); +windows_core::imp::define_interface!(IGPMRSOP, IGPMRSOP_Vtbl, 0x49ed785a_3237_4ff2_b1f0_fdf5a8d5a1ee); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMRSOP, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3063,7 +3063,7 @@ pub struct IGPMRSOP_Vtbl { GenerateReportToFile: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMResult, IGPMResult_Vtbl, 0x86dff7e9_f76f_42ab_9570_cebc6be8a52d); +windows_core::imp::define_interface!(IGPMResult, IGPMResult_Vtbl, 0x86dff7e9_f76f_42ab_9570_cebc6be8a52d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMResult, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3093,7 +3093,7 @@ pub struct IGPMResult_Vtbl { pub OverallStatus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMSOM, IGPMSOM_Vtbl, 0xc0a7f09e_05a1_4f0c_8158_9e5c33684f6b); +windows_core::imp::define_interface!(IGPMSOM, IGPMSOM_Vtbl, 0xc0a7f09e_05a1_4f0c_8158_9e5c33684f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMSOM, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3182,7 +3182,7 @@ pub struct IGPMSOM_Vtbl { SetSecurityInfo: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMSOMCollection, IGPMSOMCollection_Vtbl, 0xadc1688e_00e4_4495_abba_bed200df0cab); +windows_core::imp::define_interface!(IGPMSOMCollection, IGPMSOMCollection_Vtbl, 0xadc1688e_00e4_4495_abba_bed200df0cab); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMSOMCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3213,7 +3213,7 @@ pub struct IGPMSOMCollection_Vtbl { _NewEnum: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMSearchCriteria, IGPMSearchCriteria_Vtbl, 0xd6f11c42_829b_48d4_83f5_3615b67dfc22); +windows_core::imp::define_interface!(IGPMSearchCriteria, IGPMSearchCriteria_Vtbl, 0xd6f11c42_829b_48d4_83f5_3615b67dfc22); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMSearchCriteria, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3232,7 +3232,7 @@ pub struct IGPMSearchCriteria_Vtbl { pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, GPMSearchProperty, GPMSearchOperation, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMSecurityInfo, IGPMSecurityInfo_Vtbl, 0xb6c31ed4_1c93_4d3e_ae84_eb6d61161b60); +windows_core::imp::define_interface!(IGPMSecurityInfo, IGPMSecurityInfo_Vtbl, 0xb6c31ed4_1c93_4d3e_ae84_eb6d61161b60); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMSecurityInfo, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3292,7 +3292,7 @@ pub struct IGPMSecurityInfo_Vtbl { pub RemoveTrustee: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMSitesContainer, IGPMSitesContainer_Vtbl, 0x4725a899_2782_4d27_a6bb_d499246ffd72); +windows_core::imp::define_interface!(IGPMSitesContainer, IGPMSitesContainer_Vtbl, 0x4725a899_2782_4d27_a6bb_d499246ffd72); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMSitesContainer, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3343,7 +3343,7 @@ pub struct IGPMSitesContainer_Vtbl { SearchSites: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMStarterGPO, IGPMStarterGPO_Vtbl, 0xdfc3f61b_8880_4490_9337_d29c7ba8c2f0); +windows_core::imp::define_interface!(IGPMStarterGPO, IGPMStarterGPO_Vtbl, 0xdfc3f61b_8880_4490_9337_d29c7ba8c2f0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMStarterGPO, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3505,7 +3505,7 @@ pub struct IGPMStarterGPO_Vtbl { SetSecurityInfo: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMStarterGPOBackup, IGPMStarterGPOBackup_Vtbl, 0x51d98eda_a87e_43dd_b80a_0b66ef1938d6); +windows_core::imp::define_interface!(IGPMStarterGPOBackup, IGPMStarterGPOBackup_Vtbl, 0x51d98eda_a87e_43dd_b80a_0b66ef1938d6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMStarterGPOBackup, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3582,7 +3582,7 @@ pub struct IGPMStarterGPOBackup_Vtbl { GenerateReportToFile: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMStarterGPOBackupCollection, IGPMStarterGPOBackupCollection_Vtbl, 0xc998031d_add0_4bb5_8dea_298505d8423b); +windows_core::imp::define_interface!(IGPMStarterGPOBackupCollection, IGPMStarterGPOBackupCollection_Vtbl, 0xc998031d_add0_4bb5_8dea_298505d8423b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMStarterGPOBackupCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3613,7 +3613,7 @@ pub struct IGPMStarterGPOBackupCollection_Vtbl { _NewEnum: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMStarterGPOCollection, IGPMStarterGPOCollection_Vtbl, 0x2e522729_2219_44ad_933a_64dfd650c423); +windows_core::imp::define_interface!(IGPMStarterGPOCollection, IGPMStarterGPOCollection_Vtbl, 0x2e522729_2219_44ad_933a_64dfd650c423); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMStarterGPOCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3644,7 +3644,7 @@ pub struct IGPMStarterGPOCollection_Vtbl { _NewEnum: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMStatusMessage, IGPMStatusMessage_Vtbl, 0x8496c22f_f3de_4a1f_8f58_603caaa93d7b); +windows_core::imp::define_interface!(IGPMStatusMessage, IGPMStatusMessage_Vtbl, 0x8496c22f_f3de_4a1f_8f58_603caaa93d7b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMStatusMessage, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3684,7 +3684,7 @@ pub struct IGPMStatusMessage_Vtbl { pub Message: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMStatusMsgCollection, IGPMStatusMsgCollection_Vtbl, 0x9b6e1af0_1a92_40f3_a59d_f36ac1f728b7); +windows_core::imp::define_interface!(IGPMStatusMsgCollection, IGPMStatusMsgCollection_Vtbl, 0x9b6e1af0_1a92_40f3_a59d_f36ac1f728b7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMStatusMsgCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3715,7 +3715,7 @@ pub struct IGPMStatusMsgCollection_Vtbl { _NewEnum: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMTrustee, IGPMTrustee_Vtbl, 0x3b466da8_c1a4_4b2a_999a_befcdd56cefb); +windows_core::imp::define_interface!(IGPMTrustee, IGPMTrustee_Vtbl, 0x3b466da8_c1a4_4b2a_999a_befcdd56cefb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMTrustee, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3752,7 +3752,7 @@ pub struct IGPMTrustee_Vtbl { pub TrusteeType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMWMIFilter, IGPMWMIFilter_Vtbl, 0xef2ff9b4_3c27_459a_b979_038305cec75d); +windows_core::imp::define_interface!(IGPMWMIFilter, IGPMWMIFilter_Vtbl, 0xef2ff9b4_3c27_459a_b979_038305cec75d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMWMIFilter, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3818,7 +3818,7 @@ pub struct IGPMWMIFilter_Vtbl { SetSecurityInfo: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IGPMWMIFilterCollection, IGPMWMIFilterCollection_Vtbl, 0x5782d582_1a36_4661_8a94_c3c32551945b); +windows_core::imp::define_interface!(IGPMWMIFilterCollection, IGPMWMIFilterCollection_Vtbl, 0x5782d582_1a36_4661_8a94_c3c32551945b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IGPMWMIFilterCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3848,7 +3848,7 @@ pub struct IGPMWMIFilterCollection_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] _NewEnum: usize, } -windows_core::imp::com_interface!(IGroupPolicyObject, IGroupPolicyObject_Vtbl, 0xea502723_a23d_11d1_a7d3_0000f87571e3); +windows_core::imp::define_interface!(IGroupPolicyObject, IGroupPolicyObject_Vtbl, 0xea502723_a23d_11d1_a7d3_0000f87571e3); windows_core::imp::interface_hierarchy!(IGroupPolicyObject, windows_core::IUnknown); impl IGroupPolicyObject { pub unsafe fn New(&self, pszdomainname: P0, pszdisplayname: P1, dwflags: u32) -> windows_core::Result<()> @@ -3953,7 +3953,7 @@ pub struct IGroupPolicyObject_Vtbl { #[cfg(not(feature = "Win32_UI_Controls"))] GetPropertySheetPages: usize, } -windows_core::imp::com_interface!(IRSOPInformation, IRSOPInformation_Vtbl, 0x9a5a81b5_d9c7_49ef_9d11_ddf50968c48d); +windows_core::imp::define_interface!(IRSOPInformation, IRSOPInformation_Vtbl, 0x9a5a81b5_d9c7_49ef_9d11_ddf50968c48d); windows_core::imp::interface_hierarchy!(IRSOPInformation, windows_core::IUnknown); impl IRSOPInformation { pub unsafe fn GetNamespace(&self, dwsection: u32, pszname: &mut [u16]) -> windows_core::Result<()> { 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 1fbeee7f44..8d10b8bb7a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs @@ -18,7 +18,7 @@ pub unsafe fn HttpFilterProc(pfc: *mut HTTP_FILTER_CONTEXT, notificationtype: u3 windows_targets::link!("rpcproxy.dll" "system" fn HttpFilterProc(pfc : *mut HTTP_FILTER_CONTEXT, notificationtype : u32, pvnotification : *mut core::ffi::c_void) -> u32); HttpFilterProc(pfc, notificationtype, pvnotification) } -windows_core::imp::com_interface!(AsyncIFtpAuthenticationProvider, AsyncIFtpAuthenticationProvider_Vtbl, 0xc24efb65_9f3e_4996_8fb1_ce166916bab5); +windows_core::imp::define_interface!(AsyncIFtpAuthenticationProvider, AsyncIFtpAuthenticationProvider_Vtbl, 0xc24efb65_9f3e_4996_8fb1_ce166916bab5); windows_core::imp::interface_hierarchy!(AsyncIFtpAuthenticationProvider, windows_core::IUnknown); impl AsyncIFtpAuthenticationProvider { pub unsafe fn Begin_AuthenticateUser(&self, pszsessionid: P0, pszsitename: P1, pszusername: P2, pszpassword: P3) -> windows_core::Result<()> @@ -40,7 +40,7 @@ pub struct AsyncIFtpAuthenticationProvider_Vtbl { pub Begin_AuthenticateUser: 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 Finish_AuthenticateUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIFtpAuthorizationProvider, AsyncIFtpAuthorizationProvider_Vtbl, 0x860dc339_07e5_4a5c_9c61_8820cea012bc); +windows_core::imp::define_interface!(AsyncIFtpAuthorizationProvider, AsyncIFtpAuthorizationProvider_Vtbl, 0x860dc339_07e5_4a5c_9c61_8820cea012bc); windows_core::imp::interface_hierarchy!(AsyncIFtpAuthorizationProvider, windows_core::IUnknown); impl AsyncIFtpAuthorizationProvider { pub unsafe fn Begin_GetUserAccessPermission(&self, pszsessionid: P0, pszsitename: P1, pszvirtualpath: P2, pszusername: P3) -> windows_core::Result<()> @@ -63,7 +63,7 @@ pub struct AsyncIFtpAuthorizationProvider_Vtbl { pub Begin_GetUserAccessPermission: 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 Finish_GetUserAccessPermission: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FTP_ACCESS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIFtpHomeDirectoryProvider, AsyncIFtpHomeDirectoryProvider_Vtbl, 0x73f81638_6295_42bd_a2be_4a657f7c479c); +windows_core::imp::define_interface!(AsyncIFtpHomeDirectoryProvider, AsyncIFtpHomeDirectoryProvider_Vtbl, 0x73f81638_6295_42bd_a2be_4a657f7c479c); windows_core::imp::interface_hierarchy!(AsyncIFtpHomeDirectoryProvider, windows_core::IUnknown); impl AsyncIFtpHomeDirectoryProvider { pub unsafe fn Begin_GetUserHomeDirectoryData(&self, pszsessionid: P0, pszsitename: P1, pszusername: P2) -> windows_core::Result<()> @@ -85,7 +85,7 @@ pub struct AsyncIFtpHomeDirectoryProvider_Vtbl { pub Begin_GetUserHomeDirectoryData: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub Finish_GetUserHomeDirectoryData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIFtpLogProvider, AsyncIFtpLogProvider_Vtbl, 0x00a0ae46_2498_48b2_95e6_df678ed7d49f); +windows_core::imp::define_interface!(AsyncIFtpLogProvider, AsyncIFtpLogProvider_Vtbl, 0x00a0ae46_2498_48b2_95e6_df678ed7d49f); windows_core::imp::interface_hierarchy!(AsyncIFtpLogProvider, windows_core::IUnknown); impl AsyncIFtpLogProvider { pub unsafe fn Begin_Log(&self, ploggingparameters: *const LOGGING_PARAMETERS) -> windows_core::Result<()> { @@ -101,7 +101,7 @@ pub struct AsyncIFtpLogProvider_Vtbl { pub Begin_Log: unsafe extern "system" fn(*mut core::ffi::c_void, *const LOGGING_PARAMETERS) -> windows_core::HRESULT, pub Finish_Log: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIFtpPostprocessProvider, AsyncIFtpPostprocessProvider_Vtbl, 0xa16b2542_9694_4eb1_a564_6c2e91fdc133); +windows_core::imp::define_interface!(AsyncIFtpPostprocessProvider, AsyncIFtpPostprocessProvider_Vtbl, 0xa16b2542_9694_4eb1_a564_6c2e91fdc133); windows_core::imp::interface_hierarchy!(AsyncIFtpPostprocessProvider, windows_core::IUnknown); impl AsyncIFtpPostprocessProvider { pub unsafe fn Begin_HandlePostprocess(&self, ppostprocessparameters: *const POST_PROCESS_PARAMETERS) -> windows_core::Result<()> { @@ -118,7 +118,7 @@ pub struct AsyncIFtpPostprocessProvider_Vtbl { pub Begin_HandlePostprocess: unsafe extern "system" fn(*mut core::ffi::c_void, *const POST_PROCESS_PARAMETERS) -> windows_core::HRESULT, pub Finish_HandlePostprocess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FTP_PROCESS_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIFtpPreprocessProvider, AsyncIFtpPreprocessProvider_Vtbl, 0x6ff5fd8f_fd8e_48b1_a3e0_bf7073db4db5); +windows_core::imp::define_interface!(AsyncIFtpPreprocessProvider, AsyncIFtpPreprocessProvider_Vtbl, 0x6ff5fd8f_fd8e_48b1_a3e0_bf7073db4db5); windows_core::imp::interface_hierarchy!(AsyncIFtpPreprocessProvider, windows_core::IUnknown); impl AsyncIFtpPreprocessProvider { pub unsafe fn Begin_HandlePreprocess(&self, ppreprocessparameters: *const PRE_PROCESS_PARAMETERS) -> windows_core::Result<()> { @@ -135,7 +135,7 @@ pub struct AsyncIFtpPreprocessProvider_Vtbl { pub Begin_HandlePreprocess: unsafe extern "system" fn(*mut core::ffi::c_void, *const PRE_PROCESS_PARAMETERS) -> windows_core::HRESULT, pub Finish_HandlePreprocess: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FTP_PROCESS_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIFtpRoleProvider, AsyncIFtpRoleProvider_Vtbl, 0x3e83bf99_70ec_41ca_84b6_aca7c7a62caf); +windows_core::imp::define_interface!(AsyncIFtpRoleProvider, AsyncIFtpRoleProvider_Vtbl, 0x3e83bf99_70ec_41ca_84b6_aca7c7a62caf); windows_core::imp::interface_hierarchy!(AsyncIFtpRoleProvider, windows_core::IUnknown); impl AsyncIFtpRoleProvider { pub unsafe fn Begin_IsUserInRole(&self, pszsessionid: P0, pszsitename: P1, pszusername: P2, pszrole: P3) -> windows_core::Result<()> @@ -158,7 +158,7 @@ pub struct AsyncIFtpRoleProvider_Vtbl { pub Begin_IsUserInRole: 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 Finish_IsUserInRole: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(AsyncIMSAdminBaseSinkW, AsyncIMSAdminBaseSinkW_Vtbl, 0xa9e69613_b80d_11d0_b9b9_00a0c922e750); +windows_core::imp::define_interface!(AsyncIMSAdminBaseSinkW, AsyncIMSAdminBaseSinkW_Vtbl, 0xa9e69613_b80d_11d0_b9b9_00a0c922e750); windows_core::imp::interface_hierarchy!(AsyncIMSAdminBaseSinkW, windows_core::IUnknown); impl AsyncIMSAdminBaseSinkW { pub unsafe fn Begin_SinkNotify(&self, pcochangelist: &[MD_CHANGE_OBJECT_W]) -> windows_core::Result<()> { @@ -182,7 +182,7 @@ pub struct AsyncIMSAdminBaseSinkW_Vtbl { pub Begin_ShutdownNotify: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Finish_ShutdownNotify: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IADMEXT, IADMEXT_Vtbl, 0x51dfe970_f6f2_11d0_b9bd_00a0c922e750); +windows_core::imp::define_interface!(IADMEXT, IADMEXT_Vtbl, 0x51dfe970_f6f2_11d0_b9bd_00a0c922e750); windows_core::imp::interface_hierarchy!(IADMEXT, windows_core::IUnknown); impl IADMEXT { pub unsafe fn Initialize(&self) -> windows_core::Result<()> { @@ -202,7 +202,7 @@ pub struct IADMEXT_Vtbl { pub EnumDcomCLSIDs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, u32) -> windows_core::HRESULT, pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFtpAuthenticationProvider, IFtpAuthenticationProvider_Vtbl, 0x4659f95c_d5a8_4707_b2fc_6fd5794246cf); +windows_core::imp::define_interface!(IFtpAuthenticationProvider, IFtpAuthenticationProvider_Vtbl, 0x4659f95c_d5a8_4707_b2fc_6fd5794246cf); windows_core::imp::interface_hierarchy!(IFtpAuthenticationProvider, windows_core::IUnknown); impl IFtpAuthenticationProvider { pub unsafe fn AuthenticateUser(&self, pszsessionid: P0, pszsitename: P1, pszusername: P2, pszpassword: P3, ppszcanonicalusername: *mut windows_core::PWSTR, pfauthenticated: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -220,7 +220,7 @@ pub struct IFtpAuthenticationProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AuthenticateUser: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut windows_core::PWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFtpAuthorizationProvider, IFtpAuthorizationProvider_Vtbl, 0xa50ae7a1_a35a_42b4_a4f3_f4f7057a05d1); +windows_core::imp::define_interface!(IFtpAuthorizationProvider, IFtpAuthorizationProvider_Vtbl, 0xa50ae7a1_a35a_42b4_a4f3_f4f7057a05d1); windows_core::imp::interface_hierarchy!(IFtpAuthorizationProvider, windows_core::IUnknown); impl IFtpAuthorizationProvider { pub unsafe fn GetUserAccessPermission(&self, pszsessionid: P0, pszsitename: P1, pszvirtualpath: P2, pszusername: P3) -> windows_core::Result @@ -239,7 +239,7 @@ pub struct IFtpAuthorizationProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetUserAccessPermission: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut FTP_ACCESS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFtpHomeDirectoryProvider, IFtpHomeDirectoryProvider_Vtbl, 0x0933b392_18dd_4097_8b9c_83325c35d9a6); +windows_core::imp::define_interface!(IFtpHomeDirectoryProvider, IFtpHomeDirectoryProvider_Vtbl, 0x0933b392_18dd_4097_8b9c_83325c35d9a6); windows_core::imp::interface_hierarchy!(IFtpHomeDirectoryProvider, windows_core::IUnknown); impl IFtpHomeDirectoryProvider { pub unsafe fn GetUserHomeDirectoryData(&self, pszsessionid: P0, pszsitename: P1, pszusername: P2) -> windows_core::Result @@ -257,7 +257,7 @@ pub struct IFtpHomeDirectoryProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetUserHomeDirectoryData: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFtpLogProvider, IFtpLogProvider_Vtbl, 0xa18a94cc_8299_4408_816c_7c3baca1a40e); +windows_core::imp::define_interface!(IFtpLogProvider, IFtpLogProvider_Vtbl, 0xa18a94cc_8299_4408_816c_7c3baca1a40e); windows_core::imp::interface_hierarchy!(IFtpLogProvider, windows_core::IUnknown); impl IFtpLogProvider { pub unsafe fn Log(&self, ploggingparameters: *const LOGGING_PARAMETERS) -> windows_core::Result<()> { @@ -269,7 +269,7 @@ pub struct IFtpLogProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Log: unsafe extern "system" fn(*mut core::ffi::c_void, *const LOGGING_PARAMETERS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFtpPostprocessProvider, IFtpPostprocessProvider_Vtbl, 0x4522cbc6_16cd_49ad_8653_9a2c579e4280); +windows_core::imp::define_interface!(IFtpPostprocessProvider, IFtpPostprocessProvider_Vtbl, 0x4522cbc6_16cd_49ad_8653_9a2c579e4280); windows_core::imp::interface_hierarchy!(IFtpPostprocessProvider, windows_core::IUnknown); impl IFtpPostprocessProvider { pub unsafe fn HandlePostprocess(&self, ppostprocessparameters: *const POST_PROCESS_PARAMETERS) -> windows_core::Result { @@ -282,7 +282,7 @@ pub struct IFtpPostprocessProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub HandlePostprocess: unsafe extern "system" fn(*mut core::ffi::c_void, *const POST_PROCESS_PARAMETERS, *mut FTP_PROCESS_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFtpPreprocessProvider, IFtpPreprocessProvider_Vtbl, 0xa3c19b60_5a28_471a_8f93_ab30411cee82); +windows_core::imp::define_interface!(IFtpPreprocessProvider, IFtpPreprocessProvider_Vtbl, 0xa3c19b60_5a28_471a_8f93_ab30411cee82); windows_core::imp::interface_hierarchy!(IFtpPreprocessProvider, windows_core::IUnknown); impl IFtpPreprocessProvider { pub unsafe fn HandlePreprocess(&self, ppreprocessparameters: *const PRE_PROCESS_PARAMETERS) -> windows_core::Result { @@ -295,7 +295,7 @@ pub struct IFtpPreprocessProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub HandlePreprocess: unsafe extern "system" fn(*mut core::ffi::c_void, *const PRE_PROCESS_PARAMETERS, *mut FTP_PROCESS_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFtpProviderConstruct, IFtpProviderConstruct_Vtbl, 0x4d1a3f7b_412d_447c_b199_64f967e9a2da); +windows_core::imp::define_interface!(IFtpProviderConstruct, IFtpProviderConstruct_Vtbl, 0x4d1a3f7b_412d_447c_b199_64f967e9a2da); windows_core::imp::interface_hierarchy!(IFtpProviderConstruct, windows_core::IUnknown); impl IFtpProviderConstruct { #[cfg(feature = "Win32_System_Com")] @@ -311,7 +311,7 @@ pub struct IFtpProviderConstruct_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Construct: usize, } -windows_core::imp::com_interface!(IFtpRoleProvider, IFtpRoleProvider_Vtbl, 0x909c850d_8ca0_4674_96b8_cc2941535725); +windows_core::imp::define_interface!(IFtpRoleProvider, IFtpRoleProvider_Vtbl, 0x909c850d_8ca0_4674_96b8_cc2941535725); windows_core::imp::interface_hierarchy!(IFtpRoleProvider, windows_core::IUnknown); impl IFtpRoleProvider { pub unsafe fn IsUserInRole(&self, pszsessionid: P0, pszsitename: P1, pszusername: P2, pszrole: P3) -> windows_core::Result @@ -330,7 +330,7 @@ pub struct IFtpRoleProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsUserInRole: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMSAdminBase2W, IMSAdminBase2W_Vtbl, 0x8298d101_f992_43b7_8eca_5052d885b995); +windows_core::imp::define_interface!(IMSAdminBase2W, IMSAdminBase2W_Vtbl, 0x8298d101_f992_43b7_8eca_5052d885b995); windows_core::imp::interface_hierarchy!(IMSAdminBase2W, windows_core::IUnknown, IMSAdminBaseW); impl IMSAdminBase2W { pub unsafe fn AddKey(&self, hmdhandle: u32, pszmdpath: P0) -> windows_core::Result<()> @@ -553,7 +553,7 @@ pub struct IMSAdminBase2W_Vtbl { pub RestoreHistory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u32, u32) -> windows_core::HRESULT, pub EnumHistory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u32, *mut u32, *mut super::super::Foundation::FILETIME, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMSAdminBase3W, IMSAdminBase3W_Vtbl, 0xf612954d_3b0b_4c56_9563_227b7be624b4); +windows_core::imp::define_interface!(IMSAdminBase3W, IMSAdminBase3W_Vtbl, 0xf612954d_3b0b_4c56_9563_227b7be624b4); windows_core::imp::interface_hierarchy!(IMSAdminBase3W, windows_core::IUnknown, IMSAdminBaseW, IMSAdminBase2W); impl IMSAdminBase3W { pub unsafe fn AddKey(&self, hmdhandle: u32, pszmdpath: P0) -> windows_core::Result<()> @@ -777,7 +777,7 @@ pub struct IMSAdminBase3W_Vtbl { pub base__: IMSAdminBase2W_Vtbl, pub GetChildPaths: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, u32, windows_core::PWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMSAdminBaseSinkW, IMSAdminBaseSinkW_Vtbl, 0xa9e69612_b80d_11d0_b9b9_00a0c922e750); +windows_core::imp::define_interface!(IMSAdminBaseSinkW, IMSAdminBaseSinkW_Vtbl, 0xa9e69612_b80d_11d0_b9b9_00a0c922e750); windows_core::imp::interface_hierarchy!(IMSAdminBaseSinkW, windows_core::IUnknown); impl IMSAdminBaseSinkW { pub unsafe fn SinkNotify(&self, pcochangelist: &[MD_CHANGE_OBJECT_W]) -> windows_core::Result<()> { @@ -793,7 +793,7 @@ pub struct IMSAdminBaseSinkW_Vtbl { pub SinkNotify: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const MD_CHANGE_OBJECT_W) -> windows_core::HRESULT, pub ShutdownNotify: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMSAdminBaseW, IMSAdminBaseW_Vtbl, 0x70b51430_b6ca_11d0_b9b9_00a0c922e750); +windows_core::imp::define_interface!(IMSAdminBaseW, IMSAdminBaseW_Vtbl, 0x70b51430_b6ca_11d0_b9b9_00a0c922e750); windows_core::imp::interface_hierarchy!(IMSAdminBaseW, windows_core::IUnknown); impl IMSAdminBaseW { pub unsafe fn AddKey(&self, hmdhandle: u32, pszmdpath: P0) -> windows_core::Result<()> @@ -1001,7 +1001,7 @@ pub struct IMSAdminBaseW_Vtbl { pub UnmarshalInterface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetServerGuid: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMSImpExpHelpW, IMSImpExpHelpW_Vtbl, 0x29ff67ff_8050_480f_9f30_cc41635f2f9d); +windows_core::imp::define_interface!(IMSImpExpHelpW, IMSImpExpHelpW_Vtbl, 0x29ff67ff_8050_480f_9f30_cc41635f2f9d); windows_core::imp::interface_hierarchy!(IMSImpExpHelpW, windows_core::IUnknown); impl IMSImpExpHelpW { pub unsafe fn EnumeratePathsInFile(&self, pszfilename: P0, pszkeytype: P1, pszbuffer: Option<&mut [u16]>, pdwmdrequiredbuffersize: *mut u32) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs index 520c54ed2a..8018b39120 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/mod.rs @@ -258,7 +258,7 @@ where MQSetQueueSecurity(lpwcsformatname.into_param().abi(), securityinformation, psecuritydescriptor.into_param().abi()).ok() } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQApplication, IMSMQApplication_Vtbl, 0xd7d6e085_dccd_11d0_aa4b_0060970debae); +windows_core::imp::define_interface!(IMSMQApplication, IMSMQApplication_Vtbl, 0xd7d6e085_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQApplication, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -278,7 +278,7 @@ pub struct IMSMQApplication_Vtbl { pub MachineIdOfMachineName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQApplication2, IMSMQApplication2_Vtbl, 0x12a30900_7300_11d2_b0e6_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQApplication2, IMSMQApplication2_Vtbl, 0x12a30900_7300_11d2_b0e6_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQApplication2, windows_core::IUnknown, super::Com::IDispatch, IMSMQApplication); #[cfg(feature = "Win32_System_Com")] @@ -338,7 +338,7 @@ pub struct IMSMQApplication2_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQApplication3, IMSMQApplication3_Vtbl, 0xeba96b1f_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQApplication3, IMSMQApplication3_Vtbl, 0xeba96b1f_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQApplication3, windows_core::IUnknown, super::Com::IDispatch, IMSMQApplication, IMSMQApplication2); #[cfg(feature = "Win32_System_Com")] @@ -437,7 +437,7 @@ pub struct IMSMQApplication3_Vtbl { pub Tidy: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQCollection, IMSMQCollection_Vtbl, 0x0188ac2f_ecb3_4173_9779_635ca2039c72); +windows_core::imp::define_interface!(IMSMQCollection, IMSMQCollection_Vtbl, 0x0188ac2f_ecb3_4173_9779_635ca2039c72); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -464,7 +464,7 @@ pub struct IMSMQCollection_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")] -windows_core::imp::com_interface!(IMSMQCoordinatedTransactionDispenser, IMSMQCoordinatedTransactionDispenser_Vtbl, 0xd7d6e081_dccd_11d0_aa4b_0060970debae); +windows_core::imp::define_interface!(IMSMQCoordinatedTransactionDispenser, IMSMQCoordinatedTransactionDispenser_Vtbl, 0xd7d6e081_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -485,7 +485,7 @@ pub struct IMSMQCoordinatedTransactionDispenser_Vtbl { BeginTransaction: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQCoordinatedTransactionDispenser2, IMSMQCoordinatedTransactionDispenser2_Vtbl, 0xeba96b10_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQCoordinatedTransactionDispenser2, IMSMQCoordinatedTransactionDispenser2_Vtbl, 0xeba96b10_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser2, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -515,7 +515,7 @@ pub struct IMSMQCoordinatedTransactionDispenser2_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQCoordinatedTransactionDispenser3, IMSMQCoordinatedTransactionDispenser3_Vtbl, 0xeba96b14_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQCoordinatedTransactionDispenser3, IMSMQCoordinatedTransactionDispenser3_Vtbl, 0xeba96b14_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQCoordinatedTransactionDispenser3, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -545,7 +545,7 @@ pub struct IMSMQCoordinatedTransactionDispenser3_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQDestination, IMSMQDestination_Vtbl, 0xeba96b16_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQDestination, IMSMQDestination_Vtbl, 0xeba96b16_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQDestination, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -655,7 +655,7 @@ pub struct IMSMQDestination_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQEvent, IMSMQEvent_Vtbl, 0xd7d6e077_dccd_11d0_aa4b_0060970debae); +windows_core::imp::define_interface!(IMSMQEvent, IMSMQEvent_Vtbl, 0xd7d6e077_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -666,7 +666,7 @@ pub struct IMSMQEvent_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQEvent2, IMSMQEvent2_Vtbl, 0xeba96b12_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQEvent2, IMSMQEvent2_Vtbl, 0xeba96b12_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQEvent2, windows_core::IUnknown, super::Com::IDispatch, IMSMQEvent); #[cfg(feature = "Win32_System_Com")] @@ -687,7 +687,7 @@ pub struct IMSMQEvent2_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQEvent3, IMSMQEvent3_Vtbl, 0xeba96b1c_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQEvent3, IMSMQEvent3_Vtbl, 0xeba96b1c_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQEvent3, windows_core::IUnknown, super::Com::IDispatch, IMSMQEvent, IMSMQEvent2); #[cfg(feature = "Win32_System_Com")] @@ -704,7 +704,7 @@ pub struct IMSMQEvent3_Vtbl { pub base__: IMSMQEvent2_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQManagement, IMSMQManagement_Vtbl, 0xbe5f0241_e489_4957_8cc4_a452fcf3e23e); +windows_core::imp::define_interface!(IMSMQManagement, IMSMQManagement_Vtbl, 0xbe5f0241_e489_4957_8cc4_a452fcf3e23e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQManagement, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -760,7 +760,7 @@ pub struct IMSMQManagement_Vtbl { pub BytesInQueue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQMessage, IMSMQMessage_Vtbl, 0xd7d6e074_dccd_11d0_aa4b_0060970debae); +windows_core::imp::define_interface!(IMSMQMessage, IMSMQMessage_Vtbl, 0xd7d6e074_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQMessage, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1041,7 +1041,7 @@ pub struct IMSMQMessage_Vtbl { pub AttachCurrentSecurityContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQMessage2, IMSMQMessage2_Vtbl, 0xd9933be0_a567_11d2_b0f3_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQMessage2, IMSMQMessage2_Vtbl, 0xd9933be0_a567_11d2_b0f3_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQMessage2, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1490,7 +1490,7 @@ pub struct IMSMQMessage2_Vtbl { pub ReceivedAuthenticationLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i16) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQMessage3, IMSMQMessage3_Vtbl, 0xeba96b1a_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQMessage3, IMSMQMessage3_Vtbl, 0xeba96b1a_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQMessage3, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2056,7 +2056,7 @@ pub struct IMSMQMessage3_Vtbl { pub SetSoapBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQMessage4, IMSMQMessage4_Vtbl, 0xeba96b23_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQMessage4, IMSMQMessage4_Vtbl, 0xeba96b23_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQMessage4, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2622,7 +2622,7 @@ pub struct IMSMQMessage4_Vtbl { pub SetSoapBody: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQOutgoingQueueManagement, IMSMQOutgoingQueueManagement_Vtbl, 0x64c478fb_f9b0_4695_8a7f_439ac94326d3); +windows_core::imp::define_interface!(IMSMQOutgoingQueueManagement, IMSMQOutgoingQueueManagement_Vtbl, 0x64c478fb_f9b0_4695_8a7f_439ac94326d3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQOutgoingQueueManagement, windows_core::IUnknown, super::Com::IDispatch, IMSMQManagement); #[cfg(feature = "Win32_System_Com")] @@ -2700,7 +2700,7 @@ pub struct IMSMQOutgoingQueueManagement_Vtbl { pub EodResend: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQPrivateDestination, IMSMQPrivateDestination_Vtbl, 0xeba96b17_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQPrivateDestination, IMSMQPrivateDestination_Vtbl, 0xeba96b17_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQPrivateDestination, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2724,7 +2724,7 @@ pub struct IMSMQPrivateDestination_Vtbl { pub SetHandle: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQPrivateEvent, IMSMQPrivateEvent_Vtbl, 0xd7ab3341_c9d3_11d1_bb47_0080c7c5a2c0); +windows_core::imp::define_interface!(IMSMQPrivateEvent, IMSMQPrivateEvent_Vtbl, 0xd7ab3341_c9d3_11d1_bb47_0080c7c5a2c0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQPrivateEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2763,7 +2763,7 @@ pub struct IMSMQPrivateEvent_Vtbl { FireArrivedErrorEvent: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQuery, IMSMQQuery_Vtbl, 0xd7d6e072_dccd_11d0_aa4b_0060970debae); +windows_core::imp::define_interface!(IMSMQQuery, IMSMQQuery_Vtbl, 0xd7d6e072_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQuery, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2784,7 +2784,7 @@ pub struct IMSMQQuery_Vtbl { LookupQueue: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQuery2, IMSMQQuery2_Vtbl, 0xeba96b0e_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQuery2, IMSMQQuery2_Vtbl, 0xeba96b0e_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQuery2, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2814,7 +2814,7 @@ pub struct IMSMQQuery2_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQuery3, IMSMQQuery3_Vtbl, 0xeba96b19_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQuery3, IMSMQQuery3_Vtbl, 0xeba96b19_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQuery3, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2853,7 +2853,7 @@ pub struct IMSMQQuery3_Vtbl { LookupQueue: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQuery4, IMSMQQuery4_Vtbl, 0xeba96b24_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQuery4, IMSMQQuery4_Vtbl, 0xeba96b24_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQuery4, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2892,7 +2892,7 @@ pub struct IMSMQQuery4_Vtbl { LookupQueue: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueue, IMSMQQueue_Vtbl, 0xd7d6e076_dccd_11d0_aa4b_0060970debae); +windows_core::imp::define_interface!(IMSMQQueue, IMSMQQueue_Vtbl, 0xd7d6e076_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueue, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2997,7 +2997,7 @@ pub struct IMSMQQueue_Vtbl { PeekCurrent: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueue2, IMSMQQueue2_Vtbl, 0xef0574e0_06d8_11d3_b100_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQueue2, IMSMQQueue2_Vtbl, 0xef0574e0_06d8_11d3_b100_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueue2, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3156,7 +3156,7 @@ pub struct IMSMQQueue2_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueue3, IMSMQQueue3_Vtbl, 0xeba96b1b_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQueue3, IMSMQQueue3_Vtbl, 0xeba96b1b_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueue3, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3437,7 +3437,7 @@ pub struct IMSMQQueue3_Vtbl { 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")] -windows_core::imp::com_interface!(IMSMQQueue4, IMSMQQueue4_Vtbl, 0xeba96b20_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQueue4, IMSMQQueue4_Vtbl, 0xeba96b20_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueue4, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3730,7 +3730,7 @@ pub struct IMSMQQueue4_Vtbl { ReceiveByLookupIdAllowPeek: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueueInfo, IMSMQQueueInfo_Vtbl, 0xd7d6e07b_dccd_11d0_aa4b_0060970debae); +windows_core::imp::define_interface!(IMSMQQueueInfo, IMSMQQueueInfo_Vtbl, 0xd7d6e07b_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueueInfo, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3894,7 +3894,7 @@ pub struct IMSMQQueueInfo_Vtbl { pub Update: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueueInfo2, IMSMQQueueInfo2_Vtbl, 0xfd174a80_89cf_11d2_b0f2_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQueueInfo2, IMSMQQueueInfo2_Vtbl, 0xfd174a80_89cf_11d2_b0f2_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueueInfo2, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4084,7 +4084,7 @@ pub struct IMSMQQueueInfo2_Vtbl { pub SetSecurity: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueueInfo3, IMSMQQueueInfo3_Vtbl, 0xeba96b1d_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQueueInfo3, IMSMQQueueInfo3_Vtbl, 0xeba96b1d_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueueInfo3, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4301,7 +4301,7 @@ pub struct IMSMQQueueInfo3_Vtbl { pub ADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueueInfo4, IMSMQQueueInfo4_Vtbl, 0xeba96b21_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQueueInfo4, IMSMQQueueInfo4_Vtbl, 0xeba96b21_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueueInfo4, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4518,7 +4518,7 @@ pub struct IMSMQQueueInfo4_Vtbl { pub ADsPath: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueueInfos, IMSMQQueueInfos_Vtbl, 0xd7d6e07d_dccd_11d0_aa4b_0060970debae); +windows_core::imp::define_interface!(IMSMQQueueInfos, IMSMQQueueInfos_Vtbl, 0xd7d6e07d_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueueInfos, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4543,7 +4543,7 @@ pub struct IMSMQQueueInfos_Vtbl { Next: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueueInfos2, IMSMQQueueInfos2_Vtbl, 0xeba96b0f_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQueueInfos2, IMSMQQueueInfos2_Vtbl, 0xeba96b0f_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueueInfos2, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4577,7 +4577,7 @@ pub struct IMSMQQueueInfos2_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueueInfos3, IMSMQQueueInfos3_Vtbl, 0xeba96b1e_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQueueInfos3, IMSMQQueueInfos3_Vtbl, 0xeba96b1e_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueueInfos3, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4611,7 +4611,7 @@ pub struct IMSMQQueueInfos3_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueueInfos4, IMSMQQueueInfos4_Vtbl, 0xeba96b22_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQQueueInfos4, IMSMQQueueInfos4_Vtbl, 0xeba96b22_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueueInfos4, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4645,7 +4645,7 @@ pub struct IMSMQQueueInfos4_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQQueueManagement, IMSMQQueueManagement_Vtbl, 0x7fbe7759_5760_444d_b8a5_5e7ab9a84cce); +windows_core::imp::define_interface!(IMSMQQueueManagement, IMSMQQueueManagement_Vtbl, 0x7fbe7759_5760_444d_b8a5_5e7ab9a84cce); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQQueueManagement, windows_core::IUnknown, super::Com::IDispatch, IMSMQManagement); #[cfg(feature = "Win32_System_Com")] @@ -4707,7 +4707,7 @@ pub struct IMSMQQueueManagement_Vtbl { pub EodGetReceiveInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQTransaction, IMSMQTransaction_Vtbl, 0xd7d6e07f_dccd_11d0_aa4b_0060970debae); +windows_core::imp::define_interface!(IMSMQTransaction, IMSMQTransaction_Vtbl, 0xd7d6e07f_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQTransaction, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4732,7 +4732,7 @@ pub struct IMSMQTransaction_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit, *const std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQTransaction2, IMSMQTransaction2_Vtbl, 0x2ce0c5b0_6e67_11d2_b0e6_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQTransaction2, IMSMQTransaction2_Vtbl, 0x2ce0c5b0_6e67_11d2_b0e6_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQTransaction2, windows_core::IUnknown, super::Com::IDispatch, IMSMQTransaction); #[cfg(feature = "Win32_System_Com")] @@ -4770,7 +4770,7 @@ pub struct IMSMQTransaction2_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQTransaction3, IMSMQTransaction3_Vtbl, 0xeba96b13_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQTransaction3, IMSMQTransaction3_Vtbl, 0xeba96b13_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQTransaction3, windows_core::IUnknown, super::Com::IDispatch, IMSMQTransaction, IMSMQTransaction2); #[cfg(feature = "Win32_System_Com")] @@ -4808,7 +4808,7 @@ pub struct IMSMQTransaction3_Vtbl { pub ITransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQTransactionDispenser, IMSMQTransactionDispenser_Vtbl, 0xd7d6e083_dccd_11d0_aa4b_0060970debae); +windows_core::imp::define_interface!(IMSMQTransactionDispenser, IMSMQTransactionDispenser_Vtbl, 0xd7d6e083_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQTransactionDispenser, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4829,7 +4829,7 @@ pub struct IMSMQTransactionDispenser_Vtbl { BeginTransaction: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQTransactionDispenser2, IMSMQTransactionDispenser2_Vtbl, 0xeba96b11_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQTransactionDispenser2, IMSMQTransactionDispenser2_Vtbl, 0xeba96b11_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQTransactionDispenser2, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4859,7 +4859,7 @@ pub struct IMSMQTransactionDispenser2_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMSMQTransactionDispenser3, IMSMQTransactionDispenser3_Vtbl, 0xeba96b15_2168_11d3_898c_00e02c074f6b); +windows_core::imp::define_interface!(IMSMQTransactionDispenser3, IMSMQTransactionDispenser3_Vtbl, 0xeba96b15_2168_11d3_898c_00e02c074f6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMSMQTransactionDispenser3, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4889,7 +4889,7 @@ pub struct IMSMQTransactionDispenser3_Vtbl { Properties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_DMSMQEventEvents, _DMSMQEventEvents_Vtbl, 0xd7d6e078_dccd_11d0_aa4b_0060970debae); +windows_core::imp::define_interface!(_DMSMQEventEvents, _DMSMQEventEvents_Vtbl, 0xd7d6e078_dccd_11d0_aa4b_0060970debae); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_DMSMQEventEvents, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 8da83ddfd9..f4110538bf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(AppEvents, AppEvents_Vtbl, 0xfc7a4252_78ac_4532_8c5a_563cfe138863); +windows_core::imp::define_interface!(AppEvents, AppEvents_Vtbl, 0xfc7a4252_78ac_4532_8c5a_563cfe138863); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(AppEvents, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -10,7 +10,7 @@ pub struct AppEvents_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Column, Column_Vtbl, 0xfd1c5f63_2b16_4d06_9ab3_f45350b940ab); +windows_core::imp::define_interface!(Column, Column_Vtbl, 0xfd1c5f63_2b16_4d06_9ab3_f45350b940ab); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Column, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -66,7 +66,7 @@ pub struct Column_Vtbl { pub IsSortColumn: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Columns, Columns_Vtbl, 0x383d4d97_fc44_478b_b139_6323dc48611c); +windows_core::imp::define_interface!(Columns, Columns_Vtbl, 0x383d4d97_fc44_478b_b139_6323dc48611c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Columns, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -97,7 +97,7 @@ pub struct Columns_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")] -windows_core::imp::com_interface!(ContextMenu, ContextMenu_Vtbl, 0xdab39ce0_25e6_4e07_8362_ba9c95706545); +windows_core::imp::define_interface!(ContextMenu, ContextMenu_Vtbl, 0xdab39ce0_25e6_4e07_8362_ba9c95706545); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ContextMenu, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -131,7 +131,7 @@ pub struct ContextMenu_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Document, Document_Vtbl, 0x225120d6_1e0f_40a3_93fe_1079e6a8017b); +windows_core::imp::define_interface!(Document, Document_Vtbl, 0x225120d6_1e0f_40a3_93fe_1079e6a8017b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Document, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -255,7 +255,7 @@ pub struct Document_Vtbl { Application: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Extension, Extension_Vtbl, 0xad4d6ca6_912f_409b_a26e_7fd234aef542); +windows_core::imp::define_interface!(Extension, Extension_Vtbl, 0xad4d6ca6_912f_409b_a26e_7fd234aef542); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Extension, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -310,7 +310,7 @@ pub struct Extension_Vtbl { pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Extensions, Extensions_Vtbl, 0x82dbea43_8ca4_44bc_a2ca_d18741059ec8); +windows_core::imp::define_interface!(Extensions, Extensions_Vtbl, 0x82dbea43_8ca4_44bc_a2ca_d18741059ec8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Extensions, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -341,7 +341,7 @@ pub struct Extensions_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Frame, Frame_Vtbl, 0xe5e2d970_5bb3_4306_8804_b0968a31c8e6); +windows_core::imp::define_interface!(Frame, Frame_Vtbl, 0xe5e2d970_5bb3_4306_8804_b0968a31c8e6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Frame, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -400,7 +400,7 @@ pub struct Frame_Vtbl { pub Right: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub SetRight: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IColumnData, IColumnData_Vtbl, 0x547c1354_024d_11d3_a707_00c04f8ef4cb); +windows_core::imp::define_interface!(IColumnData, IColumnData_Vtbl, 0x547c1354_024d_11d3_a707_00c04f8ef4cb); windows_core::imp::interface_hierarchy!(IColumnData, windows_core::IUnknown); impl IColumnData { pub unsafe fn SetColumnConfigData(&self, pcolid: *const SColumnSetID, pcolsetdata: *const MMC_COLUMN_SET_DATA) -> windows_core::Result<()> { @@ -426,7 +426,7 @@ pub struct IColumnData_Vtbl { pub SetColumnSortData: unsafe extern "system" fn(*mut core::ffi::c_void, *const SColumnSetID, *const MMC_SORT_SET_DATA) -> windows_core::HRESULT, pub GetColumnSortData: unsafe extern "system" fn(*mut core::ffi::c_void, *const SColumnSetID, *mut *mut MMC_SORT_SET_DATA) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComponent, IComponent_Vtbl, 0x43136eb2_d36c_11cf_adbc_00aa00a80033); +windows_core::imp::define_interface!(IComponent, IComponent_Vtbl, 0x43136eb2_d36c_11cf_adbc_00aa00a80033); windows_core::imp::interface_hierarchy!(IComponent, windows_core::IUnknown); impl IComponent { pub unsafe fn Initialize(&self, lpconsole: P0) -> windows_core::Result<()> @@ -487,7 +487,7 @@ pub struct IComponent_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CompareObjects: usize, } -windows_core::imp::com_interface!(IComponent2, IComponent2_Vtbl, 0x79a2d615_4a10_4ed4_8c65_8633f9335095); +windows_core::imp::define_interface!(IComponent2, IComponent2_Vtbl, 0x79a2d615_4a10_4ed4_8c65_8633f9335095); windows_core::imp::interface_hierarchy!(IComponent2, windows_core::IUnknown, IComponent); impl IComponent2 { pub unsafe fn Initialize(&self, lpconsole: P0) -> windows_core::Result<()> @@ -549,7 +549,7 @@ pub struct IComponent2_Vtbl { pub GetResultViewType2: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut RESULT_VIEW_TYPE_INFO) -> windows_core::HRESULT, pub RestoreResultView: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *const RESULT_VIEW_TYPE_INFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IComponentData, IComponentData_Vtbl, 0x955ab28a_5218_11d0_a985_00c04fd8d565); +windows_core::imp::define_interface!(IComponentData, IComponentData_Vtbl, 0x955ab28a_5218_11d0_a985_00c04fd8d565); windows_core::imp::interface_hierarchy!(IComponentData, windows_core::IUnknown); impl IComponentData { pub unsafe fn Initialize(&self, punknown: P0) -> windows_core::Result<()> @@ -611,7 +611,7 @@ pub struct IComponentData_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CompareObjects: usize, } -windows_core::imp::com_interface!(IComponentData2, IComponentData2_Vtbl, 0xcca0f2d2_82de_41b5_bf47_3b2076273d5c); +windows_core::imp::define_interface!(IComponentData2, IComponentData2_Vtbl, 0xcca0f2d2_82de_41b5_bf47_3b2076273d5c); windows_core::imp::interface_hierarchy!(IComponentData2, windows_core::IUnknown, IComponentData); impl IComponentData2 { pub unsafe fn Initialize(&self, punknown: P0) -> windows_core::Result<()> @@ -666,7 +666,7 @@ pub struct IComponentData2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] QueryDispatch: usize, } -windows_core::imp::com_interface!(IConsole, IConsole_Vtbl, 0x43136eb1_d36c_11cf_adbc_00aa00a80033); +windows_core::imp::define_interface!(IConsole, IConsole_Vtbl, 0x43136eb1_d36c_11cf_adbc_00aa00a80033); windows_core::imp::interface_hierarchy!(IConsole, windows_core::IUnknown); impl IConsole { pub unsafe fn SetHeader(&self, pheader: P0) -> windows_core::Result<()> @@ -742,7 +742,7 @@ pub struct IConsole_Vtbl { pub GetMainWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, pub NewWindow: unsafe extern "system" fn(*mut core::ffi::c_void, isize, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConsole2, IConsole2_Vtbl, 0x103d842a_aa63_11d1_a7e1_00c04fd8d565); +windows_core::imp::define_interface!(IConsole2, IConsole2_Vtbl, 0x103d842a_aa63_11d1_a7e1_00c04fd8d565); windows_core::imp::interface_hierarchy!(IConsole2, windows_core::IUnknown, IConsole); impl IConsole2 { pub unsafe fn SetHeader(&self, pheader: P0) -> windows_core::Result<()> @@ -822,7 +822,7 @@ pub struct IConsole2_Vtbl { pub IsTaskpadViewPreferred: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetStatusText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConsole3, IConsole3_Vtbl, 0x4f85efdb_d0e1_498c_8d4a_d010dfdd404f); +windows_core::imp::define_interface!(IConsole3, IConsole3_Vtbl, 0x4f85efdb_d0e1_498c_8d4a_d010dfdd404f); windows_core::imp::interface_hierarchy!(IConsole3, windows_core::IUnknown, IConsole, IConsole2); impl IConsole3 { pub unsafe fn SetHeader(&self, pheader: P0) -> windows_core::Result<()> @@ -903,7 +903,7 @@ pub struct IConsole3_Vtbl { pub base__: IConsole2_Vtbl, pub RenameScopeItem: unsafe extern "system" fn(*mut core::ffi::c_void, isize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConsoleNameSpace, IConsoleNameSpace_Vtbl, 0xbedeb620_f24d_11cf_8afc_00aa003ca9f6); +windows_core::imp::define_interface!(IConsoleNameSpace, IConsoleNameSpace_Vtbl, 0xbedeb620_f24d_11cf_8afc_00aa003ca9f6); windows_core::imp::interface_hierarchy!(IConsoleNameSpace, windows_core::IUnknown); impl IConsoleNameSpace { pub unsafe fn InsertItem(&self, item: *mut SCOPEDATAITEM) -> windows_core::Result<()> { @@ -939,7 +939,7 @@ pub struct IConsoleNameSpace_Vtbl { pub GetNextItem: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut isize, *mut isize) -> windows_core::HRESULT, pub GetParentItem: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *mut isize, *mut isize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConsoleNameSpace2, IConsoleNameSpace2_Vtbl, 0x255f18cc_65db_11d1_a7dc_00c04fd8d565); +windows_core::imp::define_interface!(IConsoleNameSpace2, IConsoleNameSpace2_Vtbl, 0x255f18cc_65db_11d1_a7dc_00c04fd8d565); windows_core::imp::interface_hierarchy!(IConsoleNameSpace2, windows_core::IUnknown, IConsoleNameSpace); impl IConsoleNameSpace2 { pub unsafe fn InsertItem(&self, item: *mut SCOPEDATAITEM) -> windows_core::Result<()> { @@ -976,7 +976,7 @@ pub struct IConsoleNameSpace2_Vtbl { pub Expand: unsafe extern "system" fn(*mut core::ffi::c_void, isize) -> windows_core::HRESULT, pub AddExtension: unsafe extern "system" fn(*mut core::ffi::c_void, isize, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConsolePower, IConsolePower_Vtbl, 0x1cfbdd0e_62ca_49ce_a3af_dbb2de61b068); +windows_core::imp::define_interface!(IConsolePower, IConsolePower_Vtbl, 0x1cfbdd0e_62ca_49ce_a3af_dbb2de61b068); windows_core::imp::interface_hierarchy!(IConsolePower, windows_core::IUnknown); impl IConsolePower { pub unsafe fn SetExecutionState(&self, dwadd: u32, dwremove: u32) -> windows_core::Result<()> { @@ -992,7 +992,7 @@ pub struct IConsolePower_Vtbl { pub SetExecutionState: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub ResetIdleTimer: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConsolePowerSink, IConsolePowerSink_Vtbl, 0x3333759f_fe4f_4975_b143_fec0a5dd6d65); +windows_core::imp::define_interface!(IConsolePowerSink, IConsolePowerSink_Vtbl, 0x3333759f_fe4f_4975_b143_fec0a5dd6d65); windows_core::imp::interface_hierarchy!(IConsolePowerSink, windows_core::IUnknown); impl IConsolePowerSink { pub unsafe fn OnPowerBroadcast(&self, nevent: u32, lparam: P0) -> windows_core::Result @@ -1008,7 +1008,7 @@ pub struct IConsolePowerSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnPowerBroadcast: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConsoleVerb, IConsoleVerb_Vtbl, 0xe49f7a60_74af_11d0_a286_00c04fd8fe93); +windows_core::imp::define_interface!(IConsoleVerb, IConsoleVerb_Vtbl, 0xe49f7a60_74af_11d0_a286_00c04fd8fe93); 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 { @@ -1037,7 +1037,7 @@ pub struct IConsoleVerb_Vtbl { pub SetDefaultVerb: unsafe extern "system" fn(*mut core::ffi::c_void, MMC_CONSOLE_VERB) -> windows_core::HRESULT, pub GetDefaultVerb: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MMC_CONSOLE_VERB) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContextMenuCallback, IContextMenuCallback_Vtbl, 0x43136eb7_d36c_11cf_adbc_00aa00a80033); +windows_core::imp::define_interface!(IContextMenuCallback, IContextMenuCallback_Vtbl, 0x43136eb7_d36c_11cf_adbc_00aa00a80033); windows_core::imp::interface_hierarchy!(IContextMenuCallback, windows_core::IUnknown); impl IContextMenuCallback { pub unsafe fn AddItem(&self, pitem: *const CONTEXTMENUITEM) -> windows_core::Result<()> { @@ -1049,7 +1049,7 @@ pub struct IContextMenuCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const CONTEXTMENUITEM) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContextMenuCallback2, IContextMenuCallback2_Vtbl, 0xe178bc0e_2ed0_4b5e_8097_42c9087e8b33); +windows_core::imp::define_interface!(IContextMenuCallback2, IContextMenuCallback2_Vtbl, 0xe178bc0e_2ed0_4b5e_8097_42c9087e8b33); windows_core::imp::interface_hierarchy!(IContextMenuCallback2, windows_core::IUnknown); impl IContextMenuCallback2 { pub unsafe fn AddItem(&self, pitem: *const CONTEXTMENUITEM2) -> windows_core::Result<()> { @@ -1061,7 +1061,7 @@ pub struct IContextMenuCallback2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, *const CONTEXTMENUITEM2) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContextMenuProvider, IContextMenuProvider_Vtbl, 0x43136eb6_d36c_11cf_adbc_00aa00a80033); +windows_core::imp::define_interface!(IContextMenuProvider, IContextMenuProvider_Vtbl, 0x43136eb6_d36c_11cf_adbc_00aa00a80033); windows_core::imp::interface_hierarchy!(IContextMenuProvider, windows_core::IUnknown, IContextMenuCallback); impl IContextMenuProvider { pub unsafe fn AddItem(&self, pitem: *const CONTEXTMENUITEM) -> windows_core::Result<()> { @@ -1107,7 +1107,7 @@ pub struct IContextMenuProvider_Vtbl { AddThirdPartyExtensionItems: usize, pub ShowContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, i32, i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IControlbar, IControlbar_Vtbl, 0x69fb811e_6c1c_11d0_a2cb_00c04fd909dd); +windows_core::imp::define_interface!(IControlbar, IControlbar_Vtbl, 0x69fb811e_6c1c_11d0_a2cb_00c04fd909dd); windows_core::imp::interface_hierarchy!(IControlbar, windows_core::IUnknown); impl IControlbar { pub unsafe fn Create(&self, ntype: MMC_CONTROL_TYPE, pextendcontrolbar: P0) -> windows_core::Result @@ -1137,7 +1137,7 @@ pub struct IControlbar_Vtbl { pub Attach: unsafe extern "system" fn(*mut core::ffi::c_void, MMC_CONTROL_TYPE, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Detach: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDisplayHelp, IDisplayHelp_Vtbl, 0xcc593830_b926_11d1_8063_0000f875a9ce); +windows_core::imp::define_interface!(IDisplayHelp, IDisplayHelp_Vtbl, 0xcc593830_b926_11d1_8063_0000f875a9ce); windows_core::imp::interface_hierarchy!(IDisplayHelp, windows_core::IUnknown); impl IDisplayHelp { pub unsafe fn ShowTopic(&self, pszhelptopic: P0) -> windows_core::Result<()> @@ -1152,7 +1152,7 @@ pub struct IDisplayHelp_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ShowTopic: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumTASK, IEnumTASK_Vtbl, 0x338698b1_5a02_11d1_9fec_00600832db4a); +windows_core::imp::define_interface!(IEnumTASK, IEnumTASK_Vtbl, 0x338698b1_5a02_11d1_9fec_00600832db4a); windows_core::imp::interface_hierarchy!(IEnumTASK, windows_core::IUnknown); impl IEnumTASK { pub unsafe fn Next(&self, rgelt: &mut [MMC_TASK], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -1177,7 +1177,7 @@ pub struct IEnumTASK_Vtbl { 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, } -windows_core::imp::com_interface!(IExtendContextMenu, IExtendContextMenu_Vtbl, 0x4f3b7a4f_cfac_11cf_b8e3_00c04fd8d5b0); +windows_core::imp::define_interface!(IExtendContextMenu, IExtendContextMenu_Vtbl, 0x4f3b7a4f_cfac_11cf_b8e3_00c04fd8d5b0); windows_core::imp::interface_hierarchy!(IExtendContextMenu, windows_core::IUnknown); impl IExtendContextMenu { #[cfg(feature = "Win32_System_Com")] @@ -1208,7 +1208,7 @@ pub struct IExtendContextMenu_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Command: usize, } -windows_core::imp::com_interface!(IExtendControlbar, IExtendControlbar_Vtbl, 0x49506520_6f40_11d0_a98b_00c04fd8d565); +windows_core::imp::define_interface!(IExtendControlbar, IExtendControlbar_Vtbl, 0x49506520_6f40_11d0_a98b_00c04fd8d565); windows_core::imp::interface_hierarchy!(IExtendControlbar, windows_core::IUnknown); impl IExtendControlbar { pub unsafe fn SetControlbar(&self, pcontrolbar: P0) -> windows_core::Result<()> @@ -1231,7 +1231,7 @@ pub struct IExtendControlbar_Vtbl { pub SetControlbar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ControlbarNotify: unsafe extern "system" fn(*mut core::ffi::c_void, MMC_NOTIFY_TYPE, super::super::Foundation::LPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExtendPropertySheet, IExtendPropertySheet_Vtbl, 0x85de64dc_ef21_11cf_a285_00c04fd8dbe6); +windows_core::imp::define_interface!(IExtendPropertySheet, IExtendPropertySheet_Vtbl, 0x85de64dc_ef21_11cf_a285_00c04fd8dbe6); windows_core::imp::interface_hierarchy!(IExtendPropertySheet, windows_core::IUnknown); impl IExtendPropertySheet { #[cfg(feature = "Win32_System_Com")] @@ -1262,7 +1262,7 @@ pub struct IExtendPropertySheet_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] QueryPagesFor: usize, } -windows_core::imp::com_interface!(IExtendPropertySheet2, IExtendPropertySheet2_Vtbl, 0xb7a87232_4a51_11d1_a7ea_00c04fd909dd); +windows_core::imp::define_interface!(IExtendPropertySheet2, IExtendPropertySheet2_Vtbl, 0xb7a87232_4a51_11d1_a7ea_00c04fd909dd); windows_core::imp::interface_hierarchy!(IExtendPropertySheet2, windows_core::IUnknown, IExtendPropertySheet); impl IExtendPropertySheet2 { #[cfg(feature = "Win32_System_Com")] @@ -1296,7 +1296,7 @@ pub struct IExtendPropertySheet2_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] GetWatermarks: usize, } -windows_core::imp::com_interface!(IExtendTaskPad, IExtendTaskPad_Vtbl, 0x8dee6511_554d_11d1_9fea_00600832db4a); +windows_core::imp::define_interface!(IExtendTaskPad, IExtendTaskPad_Vtbl, 0x8dee6511_554d_11d1_9fea_00600832db4a); windows_core::imp::interface_hierarchy!(IExtendTaskPad, windows_core::IUnknown); impl IExtendTaskPad { #[cfg(feature = "Win32_System_Com")] @@ -1360,7 +1360,7 @@ pub struct IExtendTaskPad_Vtbl { pub GetBackground: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut MMC_TASK_DISPLAY_OBJECT) -> windows_core::HRESULT, pub GetListPadInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut MMC_LISTPAD_INFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExtendView, IExtendView_Vtbl, 0x89995cee_d2ed_4c0e_ae5e_df7e76f3fa53); +windows_core::imp::define_interface!(IExtendView, IExtendView_Vtbl, 0x89995cee_d2ed_4c0e_ae5e_df7e76f3fa53); windows_core::imp::interface_hierarchy!(IExtendView, windows_core::IUnknown); impl IExtendView { #[cfg(feature = "Win32_System_Com")] @@ -1380,7 +1380,7 @@ pub struct IExtendView_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetViews: usize, } -windows_core::imp::com_interface!(IHeaderCtrl, IHeaderCtrl_Vtbl, 0x43136eb3_d36c_11cf_adbc_00aa00a80033); +windows_core::imp::define_interface!(IHeaderCtrl, IHeaderCtrl_Vtbl, 0x43136eb3_d36c_11cf_adbc_00aa00a80033); windows_core::imp::interface_hierarchy!(IHeaderCtrl, windows_core::IUnknown); impl IHeaderCtrl { pub unsafe fn InsertColumn(&self, ncol: i32, title: P0, nformat: i32, nwidth: i32) -> windows_core::Result<()> @@ -1420,7 +1420,7 @@ pub struct IHeaderCtrl_Vtbl { pub SetColumnWidth: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub GetColumnWidth: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHeaderCtrl2, IHeaderCtrl2_Vtbl, 0x9757abb8_1b32_11d1_a7ce_00c04fd8d565); +windows_core::imp::define_interface!(IHeaderCtrl2, IHeaderCtrl2_Vtbl, 0x9757abb8_1b32_11d1_a7ce_00c04fd8d565); windows_core::imp::interface_hierarchy!(IHeaderCtrl2, windows_core::IUnknown, IHeaderCtrl); impl IHeaderCtrl2 { pub unsafe fn InsertColumn(&self, ncol: i32, title: P0, nformat: i32, nwidth: i32) -> windows_core::Result<()> @@ -1466,7 +1466,7 @@ pub struct IHeaderCtrl2_Vtbl { pub SetColumnFilter: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *const MMC_FILTERDATA) -> windows_core::HRESULT, pub GetColumnFilter: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut MMC_FILTERDATA) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageList, IImageList_Vtbl, 0x43136eb8_d36c_11cf_adbc_00aa00a80033); +windows_core::imp::define_interface!(IImageList, IImageList_Vtbl, 0x43136eb8_d36c_11cf_adbc_00aa00a80033); windows_core::imp::interface_hierarchy!(IImageList, windows_core::IUnknown); impl IImageList { pub unsafe fn ImageListSetIcon(&self, picon: *const isize, nloc: i32) -> windows_core::Result<()> { @@ -1485,7 +1485,7 @@ pub struct IImageList_Vtbl { pub ImageListSetIcon: unsafe extern "system" fn(*mut core::ffi::c_void, *const isize, i32) -> windows_core::HRESULT, pub ImageListSetStrip: unsafe extern "system" fn(*mut core::ffi::c_void, *const isize, *const isize, i32, super::super::Foundation::COLORREF) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMMCVersionInfo, IMMCVersionInfo_Vtbl, 0xa8d2c5fe_cdcb_4b9d_bde5_a27343ff54bc); +windows_core::imp::define_interface!(IMMCVersionInfo, IMMCVersionInfo_Vtbl, 0xa8d2c5fe_cdcb_4b9d_bde5_a27343ff54bc); windows_core::imp::interface_hierarchy!(IMMCVersionInfo, windows_core::IUnknown); impl IMMCVersionInfo { pub unsafe fn GetMMCVersion(&self, pversionmajor: *mut i32, pversionminor: *mut i32) -> windows_core::Result<()> { @@ -1497,7 +1497,7 @@ pub struct IMMCVersionInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetMMCVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMenuButton, IMenuButton_Vtbl, 0x951ed750_d080_11d0_b197_000000000000); +windows_core::imp::define_interface!(IMenuButton, IMenuButton_Vtbl, 0x951ed750_d080_11d0_b197_000000000000); windows_core::imp::interface_hierarchy!(IMenuButton, windows_core::IUnknown); impl IMenuButton { pub unsafe fn AddButton(&self, idcommand: i32, lpbuttontext: P0, lptooltiptext: P1) -> windows_core::Result<()> @@ -1528,7 +1528,7 @@ pub struct IMenuButton_Vtbl { pub SetButton: unsafe extern "system" fn(*mut core::ffi::c_void, i32, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetButtonState: unsafe extern "system" fn(*mut core::ffi::c_void, i32, MMC_BUTTON_STATE, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMessageView, IMessageView_Vtbl, 0x80f94174_fccc_11d2_b991_00c04f8ecd78); +windows_core::imp::define_interface!(IMessageView, IMessageView_Vtbl, 0x80f94174_fccc_11d2_b991_00c04f8ecd78); windows_core::imp::interface_hierarchy!(IMessageView, windows_core::IUnknown); impl IMessageView { pub unsafe fn SetTitleText(&self, psztitletext: P0) -> windows_core::Result<()> @@ -1558,7 +1558,7 @@ pub struct IMessageView_Vtbl { pub SetIcon: unsafe extern "system" fn(*mut core::ffi::c_void, IconIdentifier) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INodeProperties, INodeProperties_Vtbl, 0x15bc4d24_a522_4406_aa55_0749537a6865); +windows_core::imp::define_interface!(INodeProperties, INodeProperties_Vtbl, 0x15bc4d24_a522_4406_aa55_0749537a6865); windows_core::imp::interface_hierarchy!(INodeProperties, windows_core::IUnknown); impl INodeProperties { #[cfg(feature = "Win32_System_Com")] @@ -1579,7 +1579,7 @@ pub struct INodeProperties_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetProperty: usize, } -windows_core::imp::com_interface!(IPropertySheetCallback, IPropertySheetCallback_Vtbl, 0x85de64dd_ef21_11cf_a285_00c04fd8dbe6); +windows_core::imp::define_interface!(IPropertySheetCallback, IPropertySheetCallback_Vtbl, 0x85de64dd_ef21_11cf_a285_00c04fd8dbe6); windows_core::imp::interface_hierarchy!(IPropertySheetCallback, windows_core::IUnknown); impl IPropertySheetCallback { #[cfg(feature = "Win32_UI_Controls")] @@ -1609,7 +1609,7 @@ pub struct IPropertySheetCallback_Vtbl { #[cfg(not(feature = "Win32_UI_Controls"))] RemovePage: usize, } -windows_core::imp::com_interface!(IPropertySheetProvider, IPropertySheetProvider_Vtbl, 0x85de64de_ef21_11cf_a285_00c04fd8dbe6); +windows_core::imp::define_interface!(IPropertySheetProvider, IPropertySheetProvider_Vtbl, 0x85de64de_ef21_11cf_a285_00c04fd8dbe6); windows_core::imp::interface_hierarchy!(IPropertySheetProvider, windows_core::IUnknown); impl IPropertySheetProvider { #[cfg(feature = "Win32_System_Com")] @@ -1659,7 +1659,7 @@ pub struct IPropertySheetProvider_Vtbl { pub AddExtensionPages: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, isize, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRequiredExtensions, IRequiredExtensions_Vtbl, 0x72782d7a_a4a0_11d1_af0f_00c04fb6dd2c); +windows_core::imp::define_interface!(IRequiredExtensions, IRequiredExtensions_Vtbl, 0x72782d7a_a4a0_11d1_af0f_00c04fb6dd2c); windows_core::imp::interface_hierarchy!(IRequiredExtensions, windows_core::IUnknown); impl IRequiredExtensions { pub unsafe fn EnableAllExtensions(&self) -> windows_core::Result<()> { @@ -1681,7 +1681,7 @@ pub struct IRequiredExtensions_Vtbl { pub GetFirstExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetNextExtension: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResultData, IResultData_Vtbl, 0x31da5fa0_e0eb_11cf_9f21_00aa003ca9f6); +windows_core::imp::define_interface!(IResultData, IResultData_Vtbl, 0x31da5fa0_e0eb_11cf_9f21_00aa003ca9f6); windows_core::imp::interface_hierarchy!(IResultData, windows_core::IUnknown); impl IResultData { pub unsafe fn InsertItem(&self, item: *mut RESULTDATAITEM) -> windows_core::Result<()> { @@ -1760,7 +1760,7 @@ pub struct IResultData_Vtbl { pub SetDescBarText: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResultData2, IResultData2_Vtbl, 0x0f36e0eb_a7f1_4a81_be5a_9247f7de4b1b); +windows_core::imp::define_interface!(IResultData2, IResultData2_Vtbl, 0x0f36e0eb_a7f1_4a81_be5a_9247f7de4b1b); windows_core::imp::interface_hierarchy!(IResultData2, windows_core::IUnknown, IResultData); impl IResultData2 { pub unsafe fn InsertItem(&self, item: *mut RESULTDATAITEM) -> windows_core::Result<()> { @@ -1828,7 +1828,7 @@ pub struct IResultData2_Vtbl { pub base__: IResultData_Vtbl, pub RenameResultItem: unsafe extern "system" fn(*mut core::ffi::c_void, isize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResultDataCompare, IResultDataCompare_Vtbl, 0xe8315a52_7a1a_11d0_a2d2_00c04fd909dd); +windows_core::imp::define_interface!(IResultDataCompare, IResultDataCompare_Vtbl, 0xe8315a52_7a1a_11d0_a2d2_00c04fd909dd); windows_core::imp::interface_hierarchy!(IResultDataCompare, windows_core::IUnknown); impl IResultDataCompare { pub unsafe fn Compare(&self, luserparam: P0, cookiea: isize, cookieb: isize, pnresult: *mut i32) -> windows_core::Result<()> @@ -1843,7 +1843,7 @@ pub struct IResultDataCompare_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::LPARAM, isize, isize, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResultDataCompareEx, IResultDataCompareEx_Vtbl, 0x96933476_0251_11d3_aeb0_00c04f8ecd78); +windows_core::imp::define_interface!(IResultDataCompareEx, IResultDataCompareEx_Vtbl, 0x96933476_0251_11d3_aeb0_00c04f8ecd78); windows_core::imp::interface_hierarchy!(IResultDataCompareEx, windows_core::IUnknown); impl IResultDataCompareEx { pub unsafe fn Compare(&self, prdc: *const RDCOMPARE) -> windows_core::Result { @@ -1856,7 +1856,7 @@ pub struct IResultDataCompareEx_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, *const RDCOMPARE, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResultOwnerData, IResultOwnerData_Vtbl, 0x9cb396d8_ea83_11d0_aef1_00c04fb6dd2c); +windows_core::imp::define_interface!(IResultOwnerData, IResultOwnerData_Vtbl, 0x9cb396d8_ea83_11d0_aef1_00c04fb6dd2c); windows_core::imp::interface_hierarchy!(IResultOwnerData, windows_core::IUnknown); impl IResultOwnerData { pub unsafe fn FindItem(&self, pfindinfo: *const RESULTFINDINFO) -> windows_core::Result { @@ -1880,7 +1880,7 @@ pub struct IResultOwnerData_Vtbl { pub CacheHint: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub SortItems: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, super::super::Foundation::LPARAM) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISnapinAbout, ISnapinAbout_Vtbl, 0x1245208c_a151_11d0_a7d7_00c04fd909dd); +windows_core::imp::define_interface!(ISnapinAbout, ISnapinAbout_Vtbl, 0x1245208c_a151_11d0_a7d7_00c04fd909dd); windows_core::imp::interface_hierarchy!(ISnapinAbout, windows_core::IUnknown); impl ISnapinAbout { pub unsafe fn GetSnapinDescription(&self) -> windows_core::Result { @@ -1920,7 +1920,7 @@ pub struct ISnapinAbout_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetStaticFolderImage: usize, } -windows_core::imp::com_interface!(ISnapinHelp, ISnapinHelp_Vtbl, 0xa6b15ace_df59_11d0_a7dd_00c04fd909dd); +windows_core::imp::define_interface!(ISnapinHelp, ISnapinHelp_Vtbl, 0xa6b15ace_df59_11d0_a7dd_00c04fd909dd); windows_core::imp::interface_hierarchy!(ISnapinHelp, windows_core::IUnknown); impl ISnapinHelp { pub unsafe fn GetHelpTopic(&self) -> windows_core::Result { @@ -1933,7 +1933,7 @@ pub struct ISnapinHelp_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetHelpTopic: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISnapinHelp2, ISnapinHelp2_Vtbl, 0x4861a010_20f9_11d2_a510_00c04fb6dd2c); +windows_core::imp::define_interface!(ISnapinHelp2, ISnapinHelp2_Vtbl, 0x4861a010_20f9_11d2_a510_00c04fb6dd2c); windows_core::imp::interface_hierarchy!(ISnapinHelp2, windows_core::IUnknown, ISnapinHelp); impl ISnapinHelp2 { pub unsafe fn GetHelpTopic(&self) -> windows_core::Result { @@ -1950,7 +1950,7 @@ pub struct ISnapinHelp2_Vtbl { pub base__: ISnapinHelp_Vtbl, pub GetLinkedTopics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISnapinProperties, ISnapinProperties_Vtbl, 0xf7889da9_4a02_4837_bf89_1a6f2a021010); +windows_core::imp::define_interface!(ISnapinProperties, ISnapinProperties_Vtbl, 0xf7889da9_4a02_4837_bf89_1a6f2a021010); windows_core::imp::interface_hierarchy!(ISnapinProperties, windows_core::IUnknown); impl ISnapinProperties { #[cfg(feature = "Win32_System_Com")] @@ -1980,7 +1980,7 @@ pub struct ISnapinProperties_Vtbl { pub QueryPropertyNames: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PropertiesChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const MMC_SNAPIN_PROPERTY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISnapinPropertiesCallback, ISnapinPropertiesCallback_Vtbl, 0xa50fa2e5_7e61_45eb_a8d4_9a07b3e851a8); +windows_core::imp::define_interface!(ISnapinPropertiesCallback, ISnapinPropertiesCallback_Vtbl, 0xa50fa2e5_7e61_45eb_a8d4_9a07b3e851a8); windows_core::imp::interface_hierarchy!(ISnapinPropertiesCallback, windows_core::IUnknown); impl ISnapinPropertiesCallback { pub unsafe fn AddPropertyName(&self, pszpropname: P0, dwflags: u32) -> windows_core::Result<()> @@ -1995,7 +1995,7 @@ pub struct ISnapinPropertiesCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AddPropertyName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStringTable, IStringTable_Vtbl, 0xde40b7a4_0f65_11d2_8e25_00c04f8ecd78); +windows_core::imp::define_interface!(IStringTable, IStringTable_Vtbl, 0xde40b7a4_0f65_11d2_8e25_00c04f8ecd78); windows_core::imp::interface_hierarchy!(IStringTable, windows_core::IUnknown); impl IStringTable { pub unsafe fn AddString(&self, pszadd: P0) -> windows_core::Result @@ -2045,7 +2045,7 @@ pub struct IStringTable_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Enumerate: usize, } -windows_core::imp::com_interface!(IToolbar, IToolbar_Vtbl, 0x43136eb9_d36c_11cf_adbc_00aa00a80033); +windows_core::imp::define_interface!(IToolbar, IToolbar_Vtbl, 0x43136eb9_d36c_11cf_adbc_00aa00a80033); windows_core::imp::interface_hierarchy!(IToolbar, windows_core::IUnknown); impl IToolbar { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -2089,7 +2089,7 @@ pub struct IToolbar_Vtbl { pub GetButtonState: unsafe extern "system" fn(*mut core::ffi::c_void, i32, MMC_BUTTON_STATE, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetButtonState: unsafe extern "system" fn(*mut core::ffi::c_void, i32, MMC_BUTTON_STATE, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IViewExtensionCallback, IViewExtensionCallback_Vtbl, 0x34dd928a_7599_41e5_9f5e_d6bc3062c2da); +windows_core::imp::define_interface!(IViewExtensionCallback, IViewExtensionCallback_Vtbl, 0x34dd928a_7599_41e5_9f5e_d6bc3062c2da); windows_core::imp::interface_hierarchy!(IViewExtensionCallback, windows_core::IUnknown); impl IViewExtensionCallback { pub unsafe fn AddView(&self, pextviewdata: *const MMC_EXT_VIEW_DATA) -> windows_core::Result<()> { @@ -2102,7 +2102,7 @@ pub struct IViewExtensionCallback_Vtbl { pub AddView: unsafe extern "system" fn(*mut core::ffi::c_void, *const MMC_EXT_VIEW_DATA) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(MenuItem, MenuItem_Vtbl, 0x0178fad1_b361_4b27_96ad_67c57ebf2e1d); +windows_core::imp::define_interface!(MenuItem, MenuItem_Vtbl, 0x0178fad1_b361_4b27_96ad_67c57ebf2e1d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(MenuItem, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2143,7 +2143,7 @@ pub struct MenuItem_Vtbl { pub Enabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Node, Node_Vtbl, 0xf81ed800_7839_4447_945d_8e15da59ca55); +windows_core::imp::define_interface!(Node, Node_Vtbl, 0xf81ed800_7839_4447_945d_8e15da59ca55); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Node, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2183,7 +2183,7 @@ pub struct Node_Vtbl { pub Nodetype: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Nodes, Nodes_Vtbl, 0x313b01df_b22f_4d42_b1b8_483cdcf51d35); +windows_core::imp::define_interface!(Nodes, Nodes_Vtbl, 0x313b01df_b22f_4d42_b1b8_483cdcf51d35); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Nodes, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2214,7 +2214,7 @@ pub struct Nodes_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Properties, Properties_Vtbl, 0x2886abc2_a425_42b2_91c6_e25c0e04581c); +windows_core::imp::define_interface!(Properties, Properties_Vtbl, 0x2886abc2_a425_42b2_91c6_e25c0e04581c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Properties, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2255,7 +2255,7 @@ pub struct Properties_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Property, Property_Vtbl, 0x4600c3a5_e301_41d8_b6d0_ef2e4212e0ca); +windows_core::imp::define_interface!(Property, Property_Vtbl, 0x4600c3a5_e301_41d8_b6d0_ef2e4212e0ca); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Property, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2284,7 +2284,7 @@ pub struct Property_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ScopeNamespace, ScopeNamespace_Vtbl, 0xebbb48dc_1a3b_4d86_b786_c21b28389012); +windows_core::imp::define_interface!(ScopeNamespace, ScopeNamespace_Vtbl, 0xebbb48dc_1a3b_4d86_b786_c21b28389012); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ScopeNamespace, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2352,7 +2352,7 @@ pub struct ScopeNamespace_Vtbl { Expand: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(SnapIn, SnapIn_Vtbl, 0x3be910f6_3459_49c6_a1bb_41e6be9df3ea); +windows_core::imp::define_interface!(SnapIn, SnapIn_Vtbl, 0x3be910f6_3459_49c6_a1bb_41e6be9df3ea); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(SnapIn, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2409,7 +2409,7 @@ pub struct SnapIn_Vtbl { pub EnableAllExtensions: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(SnapIns, SnapIns_Vtbl, 0x2ef3de1d_b12a_49d1_92c5_0b00798768f1); +windows_core::imp::define_interface!(SnapIns, SnapIns_Vtbl, 0x2ef3de1d_b12a_49d1_92c5_0b00798768f1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(SnapIns, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2465,7 +2465,7 @@ pub struct SnapIns_Vtbl { Remove: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(View, View_Vtbl, 0x6efc2da2_b38c_457e_9abb_ed2d189b8c38); +windows_core::imp::define_interface!(View, View_Vtbl, 0x6efc2da2_b38c_457e_9abb_ed2d189b8c38); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(View, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2798,7 +2798,7 @@ pub struct View_Vtbl { ControlObject: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Views, Views_Vtbl, 0xd6b8c29d_a1ff_4d72_aab0_e381e9b9338d); +windows_core::imp::define_interface!(Views, Views_Vtbl, 0xd6b8c29d_a1ff_4d72_aab0_e381e9b9338d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Views, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2840,7 +2840,7 @@ pub struct Views_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")] -windows_core::imp::com_interface!(_AppEvents, _AppEvents_Vtbl, 0xde46cbdd_53f5_4635_af54_4fe71e923d3f); +windows_core::imp::define_interface!(_AppEvents, _AppEvents_Vtbl, 0xde46cbdd_53f5_4635_af54_4fe71e923d3f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_AppEvents, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2982,7 +2982,7 @@ pub struct _AppEvents_Vtbl { OnListUpdated: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_Application, _Application_Vtbl, 0xa3afb9cc_b653_4741_86ab_f0470ec1384c); +windows_core::imp::define_interface!(_Application, _Application_Vtbl, 0xa3afb9cc_b653_4741_86ab_f0470ec1384c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_Application, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3062,7 +3062,7 @@ pub struct _Application_Vtbl { pub VersionMinor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_EventConnector, _EventConnector_Vtbl, 0xc0bccd30_de44_4528_8403_a05a6a1cc8ea); +windows_core::imp::define_interface!(_EventConnector, _EventConnector_Vtbl, 0xc0bccd30_de44_4528_8403_a05a6a1cc8ea); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_EventConnector, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 a002393d29..c57092da5a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -3144,7 +3144,7 @@ where VectorFromBstr(bstr.into_param().abi(), &mut result__).map(|| result__) } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAdviseSinkEx, IAdviseSinkEx_Vtbl, 0x3af24290_0c96_11ce_a0cf_00aa00600ab8); +windows_core::imp::define_interface!(IAdviseSinkEx, IAdviseSinkEx_Vtbl, 0x3af24290_0c96_11ce_a0cf_00aa00600ab8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAdviseSinkEx, windows_core::IUnknown, super::Com::IAdviseSink); #[cfg(feature = "Win32_System_Com")] @@ -3182,7 +3182,7 @@ pub struct IAdviseSinkEx_Vtbl { pub base__: super::Com::IAdviseSink_Vtbl, pub OnViewStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32), } -windows_core::imp::com_interface!(ICanHandleException, ICanHandleException_Vtbl, 0xc5598e60_b307_11d1_b27d_006008c3fbfb); +windows_core::imp::define_interface!(ICanHandleException, ICanHandleException_Vtbl, 0xc5598e60_b307_11d1_b27d_006008c3fbfb); windows_core::imp::interface_hierarchy!(ICanHandleException, windows_core::IUnknown); impl ICanHandleException { #[cfg(feature = "Win32_System_Com")] @@ -3199,7 +3199,7 @@ pub struct ICanHandleException_Vtbl { CanHandleException: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IClassFactory2, IClassFactory2_Vtbl, 0xb196b28f_bab4_101a_b69c_00aa00341d07); +windows_core::imp::define_interface!(IClassFactory2, IClassFactory2_Vtbl, 0xb196b28f_bab4_101a_b69c_00aa00341d07); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IClassFactory2, windows_core::IUnknown, super::Com::IClassFactory); #[cfg(feature = "Win32_System_Com")] @@ -3246,7 +3246,7 @@ pub struct IClassFactory2_Vtbl { 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, } -windows_core::imp::com_interface!(IContinue, IContinue_Vtbl, 0x0000012a_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IContinue, IContinue_Vtbl, 0x0000012a_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IContinue, windows_core::IUnknown); impl IContinue { pub unsafe fn FContinue(&self) -> windows_core::Result<()> { @@ -3258,7 +3258,7 @@ pub struct IContinue_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub FContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContinueCallback, IContinueCallback_Vtbl, 0xb722bcca_4e68_101b_a2bc_00aa00404770); +windows_core::imp::define_interface!(IContinueCallback, IContinueCallback_Vtbl, 0xb722bcca_4e68_101b_a2bc_00aa00404770); windows_core::imp::interface_hierarchy!(IContinueCallback, windows_core::IUnknown); impl IContinueCallback { pub unsafe fn FContinue(&self) -> windows_core::Result<()> { @@ -3277,7 +3277,7 @@ pub struct IContinueCallback_Vtbl { pub FContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub FContinuePrinting: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateErrorInfo, ICreateErrorInfo_Vtbl, 0x22f03340_547d_101b_8e65_08002b2bd119); +windows_core::imp::define_interface!(ICreateErrorInfo, ICreateErrorInfo_Vtbl, 0x22f03340_547d_101b_8e65_08002b2bd119); windows_core::imp::interface_hierarchy!(ICreateErrorInfo, windows_core::IUnknown); impl ICreateErrorInfo { pub unsafe fn SetGUID(&self, rguid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -3314,7 +3314,7 @@ pub struct ICreateErrorInfo_Vtbl { pub SetHelpFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetHelpContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateTypeInfo, ICreateTypeInfo_Vtbl, 0x00020405_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ICreateTypeInfo, ICreateTypeInfo_Vtbl, 0x00020405_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ICreateTypeInfo, windows_core::IUnknown); impl ICreateTypeInfo { pub unsafe fn SetGuid(&self, guid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -3463,7 +3463,7 @@ pub struct ICreateTypeInfo_Vtbl { SetTypeIdldesc: usize, pub LayOut: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateTypeInfo2, ICreateTypeInfo2_Vtbl, 0x0002040e_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ICreateTypeInfo2, ICreateTypeInfo2_Vtbl, 0x0002040e_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ICreateTypeInfo2, windows_core::IUnknown, ICreateTypeInfo); impl ICreateTypeInfo2 { pub unsafe fn SetGuid(&self, guid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -3638,7 +3638,7 @@ pub struct ICreateTypeInfo2_Vtbl { pub Invalidate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateTypeLib, ICreateTypeLib_Vtbl, 0x00020406_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ICreateTypeLib, ICreateTypeLib_Vtbl, 0x00020406_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ICreateTypeLib, windows_core::IUnknown); impl ICreateTypeLib { #[cfg(feature = "Win32_System_Com")] @@ -3703,7 +3703,7 @@ pub struct ICreateTypeLib_Vtbl { pub SetLibFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SaveAllChanges: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateTypeLib2, ICreateTypeLib2_Vtbl, 0x0002040f_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ICreateTypeLib2, ICreateTypeLib2_Vtbl, 0x0002040f_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ICreateTypeLib2, windows_core::IUnknown, ICreateTypeLib); impl ICreateTypeLib2 { #[cfg(feature = "Win32_System_Com")] @@ -3777,7 +3777,7 @@ pub struct ICreateTypeLib2_Vtbl { 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, } -windows_core::imp::com_interface!(IDispError, IDispError_Vtbl, 0xa6ef9861_c720_11d0_9337_00a0c90dcaa9); +windows_core::imp::define_interface!(IDispError, IDispError_Vtbl, 0xa6ef9861_c720_11d0_9337_00a0c90dcaa9); windows_core::imp::interface_hierarchy!(IDispError, windows_core::IUnknown); impl IDispError { pub unsafe fn QueryErrorInfo(&self, guiderrortype: windows_core::GUID) -> windows_core::Result { @@ -3815,7 +3815,7 @@ pub struct IDispError_Vtbl { pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDispatchEx, IDispatchEx_Vtbl, 0xa6ef9860_c720_11d0_9337_00a0c90dcaa9); +windows_core::imp::define_interface!(IDispatchEx, IDispatchEx_Vtbl, 0xa6ef9860_c720_11d0_9337_00a0c90dcaa9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDispatchEx, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3876,7 +3876,7 @@ pub struct IDispatchEx_Vtbl { 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, } -windows_core::imp::com_interface!(IDropSource, IDropSource_Vtbl, 0x00000121_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IDropSource, IDropSource_Vtbl, 0x00000121_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IDropSource, windows_core::IUnknown); impl IDropSource { #[cfg(feature = "Win32_System_SystemServices")] @@ -3899,7 +3899,7 @@ pub struct IDropSource_Vtbl { QueryContinueDrag: usize, pub GiveFeedback: unsafe extern "system" fn(*mut core::ffi::c_void, DROPEFFECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDropSourceNotify, IDropSourceNotify_Vtbl, 0x0000012b_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IDropSourceNotify, IDropSourceNotify_Vtbl, 0x0000012b_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IDropSourceNotify, windows_core::IUnknown); impl IDropSourceNotify { pub unsafe fn DragEnterTarget(&self, hwndtarget: P0) -> windows_core::Result<()> @@ -3918,7 +3918,7 @@ pub struct IDropSourceNotify_Vtbl { pub DragEnterTarget: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, pub DragLeaveTarget: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDropTarget, IDropTarget_Vtbl, 0x00000122_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IDropTarget, IDropTarget_Vtbl, 0x00000122_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IDropTarget, windows_core::IUnknown); impl IDropTarget { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_SystemServices"))] @@ -3960,7 +3960,7 @@ pub struct IDropTarget_Vtbl { #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_System_SystemServices")))] Drop: usize, } -windows_core::imp::com_interface!(IEnterpriseDropTarget, IEnterpriseDropTarget_Vtbl, 0x390e3878_fd55_4e18_819d_4682081c0cfd); +windows_core::imp::define_interface!(IEnterpriseDropTarget, IEnterpriseDropTarget_Vtbl, 0x390e3878_fd55_4e18_819d_4682081c0cfd); windows_core::imp::interface_hierarchy!(IEnterpriseDropTarget, windows_core::IUnknown); impl IEnterpriseDropTarget { pub unsafe fn SetDropSourceEnterpriseId(&self, identity: P0) -> windows_core::Result<()> @@ -3980,7 +3980,7 @@ pub struct IEnterpriseDropTarget_Vtbl { pub SetDropSourceEnterpriseId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub IsEvaluatingEdpPolicy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumOLEVERB, IEnumOLEVERB_Vtbl, 0x00000104_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumOLEVERB, IEnumOLEVERB_Vtbl, 0x00000104_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumOLEVERB, windows_core::IUnknown); impl IEnumOLEVERB { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -4009,7 +4009,7 @@ pub struct IEnumOLEVERB_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumOleDocumentViews, IEnumOleDocumentViews_Vtbl, 0xb722bcc8_4e68_101b_a2bc_00aa00404770); +windows_core::imp::define_interface!(IEnumOleDocumentViews, IEnumOleDocumentViews_Vtbl, 0xb722bcc8_4e68_101b_a2bc_00aa00404770); windows_core::imp::interface_hierarchy!(IEnumOleDocumentViews, windows_core::IUnknown); impl IEnumOleDocumentViews { pub unsafe fn Next(&self, cviews: u32, rgpview: *mut Option, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -4034,7 +4034,7 @@ pub struct IEnumOleDocumentViews_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumOleUndoUnits, IEnumOleUndoUnits_Vtbl, 0xb3e7c340_ef97_11ce_9bc9_00aa00608e01); +windows_core::imp::define_interface!(IEnumOleUndoUnits, IEnumOleUndoUnits_Vtbl, 0xb3e7c340_ef97_11ce_9bc9_00aa00608e01); windows_core::imp::interface_hierarchy!(IEnumOleUndoUnits, windows_core::IUnknown); impl IEnumOleUndoUnits { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::HRESULT { @@ -4059,7 +4059,7 @@ pub struct IEnumOleUndoUnits_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumVARIANT, IEnumVARIANT_Vtbl, 0x00020404_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumVARIANT, IEnumVARIANT_Vtbl, 0x00020404_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumVARIANT, windows_core::IUnknown); impl IEnumVARIANT { pub unsafe fn Next(&self, rgvar: &mut [windows_core::VARIANT], pceltfetched: *mut u32) -> windows_core::HRESULT { @@ -4084,7 +4084,7 @@ pub struct IEnumVARIANT_Vtbl { 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, } -windows_core::imp::com_interface!(IFont, IFont_Vtbl, 0xbef6e002_a874_101a_8bba_00aa00300cab); +windows_core::imp::define_interface!(IFont, IFont_Vtbl, 0xbef6e002_a874_101a_8bba_00aa00300cab); windows_core::imp::interface_hierarchy!(IFont, windows_core::IUnknown); impl IFont { pub unsafe fn Name(&self) -> windows_core::Result { @@ -4254,7 +4254,7 @@ pub struct IFont_Vtbl { SetHdc: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFontDisp, IFontDisp_Vtbl, 0xbef6e003_a874_101a_8bba_00aa00300cab); +windows_core::imp::define_interface!(IFontDisp, IFontDisp_Vtbl, 0xbef6e003_a874_101a_8bba_00aa00300cab); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFontDisp, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4265,7 +4265,7 @@ pub struct IFontDisp_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFontEventsDisp, IFontEventsDisp_Vtbl, 0x4ef6100a_af88_11d0_9846_00c04fc29993); +windows_core::imp::define_interface!(IFontEventsDisp, IFontEventsDisp_Vtbl, 0x4ef6100a_af88_11d0_9846_00c04fc29993); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFontEventsDisp, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4275,7 +4275,7 @@ impl IFontEventsDisp {} pub struct IFontEventsDisp_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(IGetOleObject, IGetOleObject_Vtbl, 0x8a701da0_4feb_101b_a82e_08002b2b2337); +windows_core::imp::define_interface!(IGetOleObject, IGetOleObject_Vtbl, 0x8a701da0_4feb_101b_a82e_08002b2b2337); windows_core::imp::interface_hierarchy!(IGetOleObject, windows_core::IUnknown); impl IGetOleObject { pub unsafe fn GetOleObject(&self, riid: *const windows_core::GUID, ppvobj: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -4287,7 +4287,7 @@ pub struct IGetOleObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetOleObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetVBAObject, IGetVBAObject_Vtbl, 0x91733a60_3f4c_101b_a3f6_00aa0034e4e9); +windows_core::imp::define_interface!(IGetVBAObject, IGetVBAObject_Vtbl, 0x91733a60_3f4c_101b_a3f6_00aa0034e4e9); windows_core::imp::interface_hierarchy!(IGetVBAObject, windows_core::IUnknown); impl IGetVBAObject { pub unsafe fn GetObject(&self, riid: *const windows_core::GUID, ppvobj: *mut *mut core::ffi::c_void, dwreserved: u32) -> windows_core::Result<()> { @@ -4299,7 +4299,7 @@ pub struct IGetVBAObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectIdentity, IObjectIdentity_Vtbl, 0xca04b7e6_0d21_11d1_8cc5_00c04fc2b085); +windows_core::imp::define_interface!(IObjectIdentity, IObjectIdentity_Vtbl, 0xca04b7e6_0d21_11d1_8cc5_00c04fc2b085); windows_core::imp::interface_hierarchy!(IObjectIdentity, windows_core::IUnknown); impl IObjectIdentity { pub unsafe fn IsEqualObject(&self, punk: P0) -> windows_core::Result<()> @@ -4314,7 +4314,7 @@ pub struct IObjectIdentity_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsEqualObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectWithSite, IObjectWithSite_Vtbl, 0xfc4801a3_2ba9_11cf_a229_00aa003d7352); +windows_core::imp::define_interface!(IObjectWithSite, IObjectWithSite_Vtbl, 0xfc4801a3_2ba9_11cf_a229_00aa003d7352); windows_core::imp::interface_hierarchy!(IObjectWithSite, windows_core::IUnknown); impl IObjectWithSite { pub unsafe fn SetSite(&self, punksite: P0) -> windows_core::Result<()> @@ -4337,7 +4337,7 @@ pub struct IObjectWithSite_Vtbl { pub SetSite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSite: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleAdviseHolder, IOleAdviseHolder_Vtbl, 0x00000111_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleAdviseHolder, IOleAdviseHolder_Vtbl, 0x00000111_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleAdviseHolder, windows_core::IUnknown); impl IOleAdviseHolder { #[cfg(feature = "Win32_System_Com")] @@ -4389,7 +4389,7 @@ pub struct IOleAdviseHolder_Vtbl { pub SendOnSave: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SendOnClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleCache, IOleCache_Vtbl, 0x0000011e_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleCache, IOleCache_Vtbl, 0x0000011e_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleCache, windows_core::IUnknown); impl IOleCache { #[cfg(feature = "Win32_System_Com")] @@ -4441,7 +4441,7 @@ pub struct IOleCache_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage")))] SetData: usize, } -windows_core::imp::com_interface!(IOleCache2, IOleCache2_Vtbl, 0x00000128_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleCache2, IOleCache2_Vtbl, 0x00000128_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleCache2, windows_core::IUnknown, IOleCache); impl IOleCache2 { #[cfg(feature = "Win32_System_Com")] @@ -4491,7 +4491,7 @@ pub struct IOleCache2_Vtbl { UpdateCache: usize, pub DiscardCache: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleCacheControl, IOleCacheControl_Vtbl, 0x00000129_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleCacheControl, IOleCacheControl_Vtbl, 0x00000129_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleCacheControl, windows_core::IUnknown); impl IOleCacheControl { #[cfg(feature = "Win32_System_Com")] @@ -4514,7 +4514,7 @@ pub struct IOleCacheControl_Vtbl { OnRun: usize, pub OnStop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleClientSite, IOleClientSite_Vtbl, 0x00000118_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleClientSite, IOleClientSite_Vtbl, 0x00000118_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleClientSite, windows_core::IUnknown); impl IOleClientSite { pub unsafe fn SaveObject(&self) -> windows_core::Result<()> { @@ -4555,7 +4555,7 @@ pub struct IOleClientSite_Vtbl { pub OnShowWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub RequestNewObjectLayout: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleCommandTarget, IOleCommandTarget_Vtbl, 0xb722bccb_4e68_101b_a2bc_00aa00404770); +windows_core::imp::define_interface!(IOleCommandTarget, IOleCommandTarget_Vtbl, 0xb722bccb_4e68_101b_a2bc_00aa00404770); windows_core::imp::interface_hierarchy!(IOleCommandTarget, windows_core::IUnknown); impl IOleCommandTarget { pub unsafe fn QueryStatus(&self, pguidcmdgroup: *const windows_core::GUID, ccmds: u32, prgcmds: *mut OLECMD, pcmdtext: *mut OLECMDTEXT) -> windows_core::Result<()> { @@ -4571,7 +4571,7 @@ pub struct IOleCommandTarget_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, } -windows_core::imp::com_interface!(IOleContainer, IOleContainer_Vtbl, 0x0000011b_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleContainer, IOleContainer_Vtbl, 0x0000011b_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleContainer, windows_core::IUnknown, IParseDisplayName); impl IOleContainer { #[cfg(feature = "Win32_System_Com")] @@ -4603,7 +4603,7 @@ pub struct IOleContainer_Vtbl { EnumObjects: usize, pub LockContainer: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleControl, IOleControl_Vtbl, 0xb196b288_bab4_101a_b69c_00aa00341d07); +windows_core::imp::define_interface!(IOleControl, IOleControl_Vtbl, 0xb196b288_bab4_101a_b69c_00aa00341d07); windows_core::imp::interface_hierarchy!(IOleControl, windows_core::IUnknown); impl IOleControl { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -4638,7 +4638,7 @@ pub struct IOleControl_Vtbl { pub OnAmbientPropertyChange: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub FreezeEvents: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleControlSite, IOleControlSite_Vtbl, 0xb196b289_bab4_101a_b69c_00aa00341d07); +windows_core::imp::define_interface!(IOleControlSite, IOleControlSite_Vtbl, 0xb196b289_bab4_101a_b69c_00aa00341d07); windows_core::imp::interface_hierarchy!(IOleControlSite, windows_core::IUnknown); impl IOleControlSite { pub unsafe fn OnControlInfoChanged(&self) -> windows_core::Result<()> { @@ -4689,7 +4689,7 @@ pub struct IOleControlSite_Vtbl { pub OnFocus: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub ShowPropertyFrame: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleDocument, IOleDocument_Vtbl, 0xb722bcc5_4e68_101b_a2bc_00aa00404770); +windows_core::imp::define_interface!(IOleDocument, IOleDocument_Vtbl, 0xb722bcc5_4e68_101b_a2bc_00aa00404770); windows_core::imp::interface_hierarchy!(IOleDocument, windows_core::IUnknown); impl IOleDocument { #[cfg(feature = "Win32_System_Com")] @@ -4719,7 +4719,7 @@ pub struct IOleDocument_Vtbl { pub GetDocMiscStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub EnumViews: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleDocumentSite, IOleDocumentSite_Vtbl, 0xb722bcc7_4e68_101b_a2bc_00aa00404770); +windows_core::imp::define_interface!(IOleDocumentSite, IOleDocumentSite_Vtbl, 0xb722bcc7_4e68_101b_a2bc_00aa00404770); windows_core::imp::interface_hierarchy!(IOleDocumentSite, windows_core::IUnknown); impl IOleDocumentSite { pub unsafe fn ActivateMe(&self, pviewtoactivate: P0) -> windows_core::Result<()> @@ -4734,7 +4734,7 @@ pub struct IOleDocumentSite_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ActivateMe: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleDocumentView, IOleDocumentView_Vtbl, 0xb722bcc6_4e68_101b_a2bc_00aa00404770); +windows_core::imp::define_interface!(IOleDocumentView, IOleDocumentView_Vtbl, 0xb722bcc6_4e68_101b_a2bc_00aa00404770); windows_core::imp::interface_hierarchy!(IOleDocumentView, windows_core::IUnknown); impl IOleDocumentView { pub unsafe fn SetInPlaceSite(&self, pipsite: P0) -> windows_core::Result<()> @@ -4824,7 +4824,7 @@ pub struct IOleDocumentView_Vtbl { ApplyViewState: usize, pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleInPlaceActiveObject, IOleInPlaceActiveObject_Vtbl, 0x00000117_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleInPlaceActiveObject, IOleInPlaceActiveObject_Vtbl, 0x00000117_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleInPlaceActiveObject, windows_core::IUnknown, IOleWindow); impl IOleInPlaceActiveObject { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -4879,7 +4879,7 @@ pub struct IOleInPlaceActiveObject_Vtbl { pub ResizeBorder: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub EnableModeless: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleInPlaceFrame, IOleInPlaceFrame_Vtbl, 0x00000116_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleInPlaceFrame, IOleInPlaceFrame_Vtbl, 0x00000116_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleInPlaceFrame, windows_core::IUnknown, IOleWindow, IOleInPlaceUIWindow); impl IOleInPlaceFrame { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -4970,7 +4970,7 @@ pub struct IOleInPlaceFrame_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] TranslateAccelerator: usize, } -windows_core::imp::com_interface!(IOleInPlaceObject, IOleInPlaceObject_Vtbl, 0x00000113_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleInPlaceObject, IOleInPlaceObject_Vtbl, 0x00000113_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleInPlaceObject, windows_core::IUnknown, IOleWindow); impl IOleInPlaceObject { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -5004,7 +5004,7 @@ pub struct IOleInPlaceObject_Vtbl { pub SetObjectRects: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, *const super::super::Foundation::RECT) -> windows_core::HRESULT, pub ReactivateAndUndo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleInPlaceObjectWindowless, IOleInPlaceObjectWindowless_Vtbl, 0x1c2056cc_5ef4_101b_8bc8_00aa003e3b29); +windows_core::imp::define_interface!(IOleInPlaceObjectWindowless, IOleInPlaceObjectWindowless_Vtbl, 0x1c2056cc_5ef4_101b_8bc8_00aa003e3b29); windows_core::imp::interface_hierarchy!(IOleInPlaceObjectWindowless, windows_core::IUnknown, IOleWindow, IOleInPlaceObject); impl IOleInPlaceObjectWindowless { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -5048,7 +5048,7 @@ pub struct IOleInPlaceObjectWindowless_Vtbl { pub OnWindowMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT) -> windows_core::HRESULT, pub GetDropTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleInPlaceSite, IOleInPlaceSite_Vtbl, 0x00000119_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleInPlaceSite, IOleInPlaceSite_Vtbl, 0x00000119_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleInPlaceSite, windows_core::IUnknown, IOleWindow); impl IOleInPlaceSite { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -5113,7 +5113,7 @@ pub struct IOleInPlaceSite_Vtbl { pub DeactivateAndUndo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnPosRectChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleInPlaceSiteEx, IOleInPlaceSiteEx_Vtbl, 0x9c2cad80_3424_11cf_b670_00aa004cd6d8); +windows_core::imp::define_interface!(IOleInPlaceSiteEx, IOleInPlaceSiteEx_Vtbl, 0x9c2cad80_3424_11cf_b670_00aa004cd6d8); windows_core::imp::interface_hierarchy!(IOleInPlaceSiteEx, windows_core::IUnknown, IOleWindow, IOleInPlaceSite); impl IOleInPlaceSiteEx { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -5180,7 +5180,7 @@ pub struct IOleInPlaceSiteEx_Vtbl { pub OnInPlaceDeactivateEx: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub RequestUIActivate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleInPlaceSiteWindowless, IOleInPlaceSiteWindowless_Vtbl, 0x922eada0_3424_11cf_b670_00aa004cd6d8); +windows_core::imp::define_interface!(IOleInPlaceSiteWindowless, IOleInPlaceSiteWindowless_Vtbl, 0x922eada0_3424_11cf_b670_00aa004cd6d8); windows_core::imp::interface_hierarchy!(IOleInPlaceSiteWindowless, windows_core::IUnknown, IOleWindow, IOleInPlaceSite, IOleInPlaceSiteEx); impl IOleInPlaceSiteWindowless { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -5326,7 +5326,7 @@ pub struct IOleInPlaceSiteWindowless_Vtbl { pub AdjustRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, pub OnDefWindowMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleInPlaceUIWindow, IOleInPlaceUIWindow_Vtbl, 0x00000115_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleInPlaceUIWindow, IOleInPlaceUIWindow_Vtbl, 0x00000115_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleInPlaceUIWindow, windows_core::IUnknown, IOleWindow); impl IOleInPlaceUIWindow { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -5365,7 +5365,7 @@ pub struct IOleInPlaceUIWindow_Vtbl { pub SetBorderSpace: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, pub SetActiveObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleItemContainer, IOleItemContainer_Vtbl, 0x0000011c_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleItemContainer, IOleItemContainer_Vtbl, 0x0000011c_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleItemContainer, windows_core::IUnknown, IParseDisplayName, IOleContainer); impl IOleItemContainer { #[cfg(feature = "Win32_System_Com")] @@ -5427,7 +5427,7 @@ pub struct IOleItemContainer_Vtbl { GetObjectStorage: usize, pub IsRunning: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleLink, IOleLink_Vtbl, 0x0000011d_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleLink, IOleLink_Vtbl, 0x0000011d_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleLink, windows_core::IUnknown); impl IOleLink { pub unsafe fn SetUpdateOptions(&self, dwupdateopt: u32) -> windows_core::Result<()> { @@ -5511,7 +5511,7 @@ pub struct IOleLink_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Update: usize, } -windows_core::imp::com_interface!(IOleObject, IOleObject_Vtbl, 0x00000112_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleObject, IOleObject_Vtbl, 0x00000112_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleObject, windows_core::IUnknown); impl IOleObject { pub unsafe fn SetClientSite(&self, pclientsite: P0) -> windows_core::Result<()> @@ -5678,7 +5678,7 @@ pub struct IOleObject_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] SetColorScheme: usize, } -windows_core::imp::com_interface!(IOleParentUndoUnit, IOleParentUndoUnit_Vtbl, 0xa1faf330_ef97_11ce_9bc9_00aa00608e01); +windows_core::imp::define_interface!(IOleParentUndoUnit, IOleParentUndoUnit_Vtbl, 0xa1faf330_ef97_11ce_9bc9_00aa00608e01); windows_core::imp::interface_hierarchy!(IOleParentUndoUnit, windows_core::IUnknown, IOleUndoUnit); impl IOleParentUndoUnit { pub unsafe fn Do(&self, pundomanager: P0) -> windows_core::Result<()> @@ -5736,7 +5736,7 @@ pub struct IOleParentUndoUnit_Vtbl { pub FindUnit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetParentState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleUILinkContainerA, IOleUILinkContainerA_Vtbl, 0); +windows_core::imp::define_interface!(IOleUILinkContainerA, IOleUILinkContainerA_Vtbl, 0); windows_core::imp::interface_hierarchy!(IOleUILinkContainerA, windows_core::IUnknown); impl IOleUILinkContainerA { pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 { @@ -5785,7 +5785,7 @@ pub struct IOleUILinkContainerA_Vtbl { pub UpdateLink: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CancelLink: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleUILinkContainerW, IOleUILinkContainerW_Vtbl, 0); +windows_core::imp::define_interface!(IOleUILinkContainerW, IOleUILinkContainerW_Vtbl, 0); windows_core::imp::interface_hierarchy!(IOleUILinkContainerW, windows_core::IUnknown); impl IOleUILinkContainerW { pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 { @@ -5834,7 +5834,7 @@ pub struct IOleUILinkContainerW_Vtbl { pub UpdateLink: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CancelLink: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleUILinkInfoA, IOleUILinkInfoA_Vtbl, 0); +windows_core::imp::define_interface!(IOleUILinkInfoA, IOleUILinkInfoA_Vtbl, 0); windows_core::imp::interface_hierarchy!(IOleUILinkInfoA, windows_core::IUnknown, IOleUILinkContainerA); impl IOleUILinkInfoA { pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 { @@ -5880,7 +5880,7 @@ pub struct IOleUILinkInfoA_Vtbl { pub base__: IOleUILinkContainerA_Vtbl, pub GetLastUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleUILinkInfoW, IOleUILinkInfoW_Vtbl, 0); +windows_core::imp::define_interface!(IOleUILinkInfoW, IOleUILinkInfoW_Vtbl, 0); windows_core::imp::interface_hierarchy!(IOleUILinkInfoW, windows_core::IUnknown, IOleUILinkContainerW); impl IOleUILinkInfoW { pub unsafe fn GetNextLink(&self, dwlink: u32) -> u32 { @@ -5926,7 +5926,7 @@ pub struct IOleUILinkInfoW_Vtbl { pub base__: IOleUILinkContainerW_Vtbl, pub GetLastUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleUIObjInfoA, IOleUIObjInfoA_Vtbl, 0); +windows_core::imp::define_interface!(IOleUIObjInfoA, IOleUIObjInfoA_Vtbl, 0); windows_core::imp::interface_hierarchy!(IOleUIObjInfoA, windows_core::IUnknown); impl IOleUIObjInfoA { pub unsafe fn GetObjectInfo(&self, dwobject: u32, lpdwobjsize: *mut u32, lplpszlabel: Option<*mut windows_core::PSTR>, lplpsztype: Option<*mut windows_core::PSTR>, lplpszshorttype: Option<*mut windows_core::PSTR>, lplpszlocation: Option<*mut windows_core::PSTR>) -> windows_core::Result<()> { @@ -5958,7 +5958,7 @@ pub struct IOleUIObjInfoA_Vtbl { pub GetViewInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Foundation::HGLOBAL, *const u32, *const i32) -> windows_core::HRESULT, pub SetViewInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HGLOBAL, u32, i32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleUIObjInfoW, IOleUIObjInfoW_Vtbl, 0); +windows_core::imp::define_interface!(IOleUIObjInfoW, IOleUIObjInfoW_Vtbl, 0); windows_core::imp::interface_hierarchy!(IOleUIObjInfoW, windows_core::IUnknown); impl IOleUIObjInfoW { pub unsafe fn GetObjectInfo(&self, dwobject: u32, lpdwobjsize: *mut u32, lplpszlabel: Option<*mut windows_core::PWSTR>, lplpsztype: Option<*mut windows_core::PWSTR>, lplpszshorttype: Option<*mut windows_core::PWSTR>, lplpszlocation: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> { @@ -5990,7 +5990,7 @@ pub struct IOleUIObjInfoW_Vtbl { pub GetViewInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const super::super::Foundation::HGLOBAL, *const u32, *const i32) -> windows_core::HRESULT, pub SetViewInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HGLOBAL, u32, i32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOleUndoManager, IOleUndoManager_Vtbl, 0xd001f200_ef97_11ce_9bc9_00aa00608e01); +windows_core::imp::define_interface!(IOleUndoManager, IOleUndoManager_Vtbl, 0xd001f200_ef97_11ce_9bc9_00aa00608e01); windows_core::imp::interface_hierarchy!(IOleUndoManager, windows_core::IUnknown); impl IOleUndoManager { pub unsafe fn Open(&self, ppuu: P0) -> windows_core::Result<()> @@ -6073,7 +6073,7 @@ pub struct IOleUndoManager_Vtbl { pub GetLastRedoDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IOleUndoUnit, IOleUndoUnit_Vtbl, 0x894ad3b0_ef97_11ce_9bc9_00aa00608e01); +windows_core::imp::define_interface!(IOleUndoUnit, IOleUndoUnit_Vtbl, 0x894ad3b0_ef97_11ce_9bc9_00aa00608e01); windows_core::imp::interface_hierarchy!(IOleUndoUnit, windows_core::IUnknown); impl IOleUndoUnit { pub unsafe fn Do(&self, pundomanager: P0) -> windows_core::Result<()> @@ -6101,7 +6101,7 @@ pub struct IOleUndoUnit_Vtbl { 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, } -windows_core::imp::com_interface!(IOleWindow, IOleWindow_Vtbl, 0x00000114_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IOleWindow, IOleWindow_Vtbl, 0x00000114_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IOleWindow, windows_core::IUnknown); impl IOleWindow { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -6121,7 +6121,7 @@ pub struct IOleWindow_Vtbl { pub GetWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, pub ContextSensitiveHelp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IParseDisplayName, IParseDisplayName_Vtbl, 0x0000011a_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IParseDisplayName, IParseDisplayName_Vtbl, 0x0000011a_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IParseDisplayName, windows_core::IUnknown); impl IParseDisplayName { #[cfg(feature = "Win32_System_Com")] @@ -6141,7 +6141,7 @@ pub struct IParseDisplayName_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ParseDisplayName: usize, } -windows_core::imp::com_interface!(IPerPropertyBrowsing, IPerPropertyBrowsing_Vtbl, 0x376bd3aa_3845_101b_84ed_08002b2ec713); +windows_core::imp::define_interface!(IPerPropertyBrowsing, IPerPropertyBrowsing_Vtbl, 0x376bd3aa_3845_101b_84ed_08002b2ec713); windows_core::imp::interface_hierarchy!(IPerPropertyBrowsing, windows_core::IUnknown); impl IPerPropertyBrowsing { pub unsafe fn GetDisplayString(&self, dispid: i32) -> windows_core::Result { @@ -6169,7 +6169,7 @@ pub struct IPerPropertyBrowsing_Vtbl { pub GetPredefinedValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPersistPropertyBag, IPersistPropertyBag_Vtbl, 0x37d84f60_42cb_11ce_8135_00aa004bb851); +windows_core::imp::define_interface!(IPersistPropertyBag, IPersistPropertyBag_Vtbl, 0x37d84f60_42cb_11ce_8135_00aa004bb851); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPersistPropertyBag, windows_core::IUnknown, super::Com::IPersist); #[cfg(feature = "Win32_System_Com")] @@ -6215,7 +6215,7 @@ pub struct IPersistPropertyBag_Vtbl { Save: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPersistPropertyBag2, IPersistPropertyBag2_Vtbl, 0x22f55881_280b_11d0_a8a9_00a0c90c2004); +windows_core::imp::define_interface!(IPersistPropertyBag2, IPersistPropertyBag2_Vtbl, 0x22f55881_280b_11d0_a8a9_00a0c90c2004); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPersistPropertyBag2, windows_core::IUnknown, super::Com::IPersist); #[cfg(feature = "Win32_System_Com")] @@ -6264,7 +6264,7 @@ pub struct IPersistPropertyBag2_Vtbl { Save: usize, pub IsDirty: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPicture, IPicture_Vtbl, 0x7bf80980_bf32_101a_8bbb_00aa00300cab); +windows_core::imp::define_interface!(IPicture, IPicture_Vtbl, 0x7bf80980_bf32_101a_8bbb_00aa00300cab); windows_core::imp::interface_hierarchy!(IPicture, windows_core::IUnknown); impl IPicture { pub unsafe fn Handle(&self) -> windows_core::Result { @@ -6369,7 +6369,7 @@ pub struct IPicture_Vtbl { SaveAsFile: usize, pub Attributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPicture2, IPicture2_Vtbl, 0xf5185dd8_2012_4b0b_aad9_f052c6bd482b); +windows_core::imp::define_interface!(IPicture2, IPicture2_Vtbl, 0xf5185dd8_2012_4b0b_aad9_f052c6bd482b); windows_core::imp::interface_hierarchy!(IPicture2, windows_core::IUnknown); impl IPicture2 { pub unsafe fn Handle(&self) -> windows_core::Result { @@ -6472,7 +6472,7 @@ pub struct IPicture2_Vtbl { pub Attributes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPictureDisp, IPictureDisp_Vtbl, 0x7bf80981_bf32_101a_8bbb_00aa00300cab); +windows_core::imp::define_interface!(IPictureDisp, IPictureDisp_Vtbl, 0x7bf80981_bf32_101a_8bbb_00aa00300cab); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPictureDisp, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6482,7 +6482,7 @@ impl IPictureDisp {} pub struct IPictureDisp_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(IPointerInactive, IPointerInactive_Vtbl, 0x55980ba0_35aa_11cf_b671_00aa004cd6d8); +windows_core::imp::define_interface!(IPointerInactive, IPointerInactive_Vtbl, 0x55980ba0_35aa_11cf_b671_00aa004cd6d8); windows_core::imp::interface_hierarchy!(IPointerInactive, windows_core::IUnknown); impl IPointerInactive { pub unsafe fn GetActivationPolicy(&self) -> windows_core::Result { @@ -6506,7 +6506,7 @@ pub struct IPointerInactive_Vtbl { pub OnInactiveMouseMove: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, i32, i32, u32) -> windows_core::HRESULT, pub OnInactiveSetCursor: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, i32, i32, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrint, IPrint_Vtbl, 0xb722bcc9_4e68_101b_a2bc_00aa00404770); +windows_core::imp::define_interface!(IPrint, IPrint_Vtbl, 0xb722bcc9_4e68_101b_a2bc_00aa00404770); windows_core::imp::interface_hierarchy!(IPrint, windows_core::IUnknown); impl IPrint { pub unsafe fn SetInitialPageNum(&self, nfirstpage: i32) -> windows_core::Result<()> { @@ -6533,7 +6533,7 @@ pub struct IPrint_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com_StructuredStorage")))] Print: usize, } -windows_core::imp::com_interface!(IPropertyNotifySink, IPropertyNotifySink_Vtbl, 0x9bfbbc02_eff1_101a_84ed_00aa00341d07); +windows_core::imp::define_interface!(IPropertyNotifySink, IPropertyNotifySink_Vtbl, 0x9bfbbc02_eff1_101a_84ed_00aa00341d07); windows_core::imp::interface_hierarchy!(IPropertyNotifySink, windows_core::IUnknown); impl IPropertyNotifySink { pub unsafe fn OnChanged(&self, dispid: i32) -> windows_core::Result<()> { @@ -6549,7 +6549,7 @@ pub struct IPropertyNotifySink_Vtbl { pub OnChanged: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub OnRequestEdit: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyPage, IPropertyPage_Vtbl, 0xb196b28d_bab4_101a_b69c_00aa00341d07); +windows_core::imp::define_interface!(IPropertyPage, IPropertyPage_Vtbl, 0xb196b28d_bab4_101a_b69c_00aa00341d07); windows_core::imp::interface_hierarchy!(IPropertyPage, windows_core::IUnknown); impl IPropertyPage { pub unsafe fn SetPageSite(&self, ppagesite: P0) -> windows_core::Result<()> @@ -6615,7 +6615,7 @@ pub struct IPropertyPage_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] TranslateAccelerator: usize, } -windows_core::imp::com_interface!(IPropertyPage2, IPropertyPage2_Vtbl, 0x01e44665_24ac_101b_84ed_08002b2ec713); +windows_core::imp::define_interface!(IPropertyPage2, IPropertyPage2_Vtbl, 0x01e44665_24ac_101b_84ed_08002b2ec713); windows_core::imp::interface_hierarchy!(IPropertyPage2, windows_core::IUnknown, IPropertyPage); impl IPropertyPage2 { pub unsafe fn SetPageSite(&self, ppagesite: P0) -> windows_core::Result<()> @@ -6671,7 +6671,7 @@ pub struct IPropertyPage2_Vtbl { pub base__: IPropertyPage_Vtbl, pub EditProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyPageSite, IPropertyPageSite_Vtbl, 0xb196b28c_bab4_101a_b69c_00aa00341d07); +windows_core::imp::define_interface!(IPropertyPageSite, IPropertyPageSite_Vtbl, 0xb196b28c_bab4_101a_b69c_00aa00341d07); windows_core::imp::interface_hierarchy!(IPropertyPageSite, windows_core::IUnknown); impl IPropertyPageSite { pub unsafe fn OnStatusChange(&self, dwflags: PROPPAGESTATUS) -> windows_core::Result<()> { @@ -6701,7 +6701,7 @@ pub struct IPropertyPageSite_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] TranslateAccelerator: usize, } -windows_core::imp::com_interface!(IProtectFocus, IProtectFocus_Vtbl, 0xd81f90a3_8156_44f7_ad28_5abb87003274); +windows_core::imp::define_interface!(IProtectFocus, IProtectFocus_Vtbl, 0xd81f90a3_8156_44f7_ad28_5abb87003274); windows_core::imp::interface_hierarchy!(IProtectFocus, windows_core::IUnknown); impl IProtectFocus { pub unsafe fn AllowFocusChange(&self) -> windows_core::Result { @@ -6714,7 +6714,7 @@ pub struct IProtectFocus_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AllowFocusChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProtectedModeMenuServices, IProtectedModeMenuServices_Vtbl, 0x73c105ee_9dff_4a07_b83c_7eff290c266e); +windows_core::imp::define_interface!(IProtectedModeMenuServices, IProtectedModeMenuServices_Vtbl, 0x73c105ee_9dff_4a07_b83c_7eff290c266e); windows_core::imp::interface_hierarchy!(IProtectedModeMenuServices, windows_core::IUnknown); impl IProtectedModeMenuServices { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -6756,7 +6756,7 @@ pub struct IProtectedModeMenuServices_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] LoadMenuID: usize, } -windows_core::imp::com_interface!(IProvideClassInfo, IProvideClassInfo_Vtbl, 0xb196b283_bab4_101a_b69c_00aa00341d07); +windows_core::imp::define_interface!(IProvideClassInfo, IProvideClassInfo_Vtbl, 0xb196b283_bab4_101a_b69c_00aa00341d07); windows_core::imp::interface_hierarchy!(IProvideClassInfo, windows_core::IUnknown); impl IProvideClassInfo { #[cfg(feature = "Win32_System_Com")] @@ -6773,7 +6773,7 @@ pub struct IProvideClassInfo_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetClassInfo: usize, } -windows_core::imp::com_interface!(IProvideClassInfo2, IProvideClassInfo2_Vtbl, 0xa6bc3ac0_dbaa_11ce_9de3_00aa004bb851); +windows_core::imp::define_interface!(IProvideClassInfo2, IProvideClassInfo2_Vtbl, 0xa6bc3ac0_dbaa_11ce_9de3_00aa004bb851); windows_core::imp::interface_hierarchy!(IProvideClassInfo2, windows_core::IUnknown, IProvideClassInfo); impl IProvideClassInfo2 { #[cfg(feature = "Win32_System_Com")] @@ -6791,7 +6791,7 @@ pub struct IProvideClassInfo2_Vtbl { pub base__: IProvideClassInfo_Vtbl, pub GetGUID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProvideMultipleClassInfo, IProvideMultipleClassInfo_Vtbl, 0xa7aba9c1_8983_11cf_8f20_00805f2cd064); +windows_core::imp::define_interface!(IProvideMultipleClassInfo, IProvideMultipleClassInfo_Vtbl, 0xa7aba9c1_8983_11cf_8f20_00805f2cd064); windows_core::imp::interface_hierarchy!(IProvideMultipleClassInfo, windows_core::IUnknown, IProvideClassInfo, IProvideClassInfo2); impl IProvideMultipleClassInfo { #[cfg(feature = "Win32_System_Com")] @@ -6821,7 +6821,7 @@ pub struct IProvideMultipleClassInfo_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetInfoOfIndex: usize, } -windows_core::imp::com_interface!(IProvideRuntimeContext, IProvideRuntimeContext_Vtbl, 0x10e2414a_ec59_49d2_bc51_5add2c36febc); +windows_core::imp::define_interface!(IProvideRuntimeContext, IProvideRuntimeContext_Vtbl, 0x10e2414a_ec59_49d2_bc51_5add2c36febc); windows_core::imp::interface_hierarchy!(IProvideRuntimeContext, windows_core::IUnknown); impl IProvideRuntimeContext { pub unsafe fn GetCurrentSourceContext(&self, pdwcontext: *mut usize, pfexecutingglobalcode: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> { @@ -6833,7 +6833,7 @@ pub struct IProvideRuntimeContext_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetCurrentSourceContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQuickActivate, IQuickActivate_Vtbl, 0xcf51ed10_62fe_11cf_bf86_00a0c9034836); +windows_core::imp::define_interface!(IQuickActivate, IQuickActivate_Vtbl, 0xcf51ed10_62fe_11cf_bf86_00a0c9034836); windows_core::imp::interface_hierarchy!(IQuickActivate, windows_core::IUnknown); impl IQuickActivate { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] @@ -6858,7 +6858,7 @@ pub struct IQuickActivate_Vtbl { pub SetContentExtent: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::SIZE) -> windows_core::HRESULT, pub GetContentExtent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SIZE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRecordInfo, IRecordInfo_Vtbl, 0x0000002f_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IRecordInfo, IRecordInfo_Vtbl, 0x0000002f_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IRecordInfo, windows_core::IUnknown); impl IRecordInfo { pub unsafe fn RecordInit(&self, pvnew: *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -6954,7 +6954,7 @@ pub struct IRecordInfo_Vtbl { 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, pub RecordDestroy: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISimpleFrameSite, ISimpleFrameSite_Vtbl, 0x742b0e01_14e6_101b_914e_00aa00300cab); +windows_core::imp::define_interface!(ISimpleFrameSite, ISimpleFrameSite_Vtbl, 0x742b0e01_14e6_101b_914e_00aa00300cab); windows_core::imp::interface_hierarchy!(ISimpleFrameSite, windows_core::IUnknown); impl ISimpleFrameSite { pub unsafe fn PreMessageFilter(&self, hwnd: P0, msg: u32, wp: P1, lp: P2, plresult: *mut super::super::Foundation::LRESULT, pdwcookie: *mut u32) -> windows_core::Result<()> @@ -6980,7 +6980,7 @@ pub struct ISimpleFrameSite_Vtbl { pub PreMessageFilter: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT, *mut u32) -> windows_core::HRESULT, pub PostMessageFilter: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpecifyPropertyPages, ISpecifyPropertyPages_Vtbl, 0xb196b28b_bab4_101a_b69c_00aa00341d07); +windows_core::imp::define_interface!(ISpecifyPropertyPages, ISpecifyPropertyPages_Vtbl, 0xb196b28b_bab4_101a_b69c_00aa00341d07); windows_core::imp::interface_hierarchy!(ISpecifyPropertyPages, windows_core::IUnknown); impl ISpecifyPropertyPages { pub unsafe fn GetPages(&self) -> windows_core::Result { @@ -6993,7 +6993,7 @@ pub struct ISpecifyPropertyPages_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetPages: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CAUUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITypeChangeEvents, ITypeChangeEvents_Vtbl, 0x00020410_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ITypeChangeEvents, ITypeChangeEvents_Vtbl, 0x00020410_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ITypeChangeEvents, windows_core::IUnknown); impl ITypeChangeEvents { #[cfg(feature = "Win32_System_Com")] @@ -7026,7 +7026,7 @@ pub struct ITypeChangeEvents_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AfterTypeChange: usize, } -windows_core::imp::com_interface!(ITypeFactory, ITypeFactory_Vtbl, 0x0000002e_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ITypeFactory, ITypeFactory_Vtbl, 0x0000002e_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ITypeFactory, windows_core::IUnknown); impl ITypeFactory { #[cfg(feature = "Win32_System_Com")] @@ -7046,7 +7046,7 @@ pub struct ITypeFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateFromTypeInfo: usize, } -windows_core::imp::com_interface!(ITypeMarshal, ITypeMarshal_Vtbl, 0x0000002d_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ITypeMarshal, ITypeMarshal_Vtbl, 0x0000002d_0000_0000_c000_000000000046); 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 { @@ -7071,7 +7071,7 @@ pub struct ITypeMarshal_Vtbl { pub Unmarshal: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, *const u8, *mut u32) -> windows_core::HRESULT, pub Free: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVBFormat, IVBFormat_Vtbl, 0x9849fd60_3768_101b_8d72_ae6164ffe3cf); +windows_core::imp::define_interface!(IVBFormat, IVBFormat_Vtbl, 0x9849fd60_3768_101b_8d72_ae6164ffe3cf); windows_core::imp::interface_hierarchy!(IVBFormat, windows_core::IUnknown); impl IVBFormat { pub unsafe fn Format(&self, vdata: *mut windows_core::VARIANT, bstrformat: P0, lpbuffer: *mut core::ffi::c_void, cb: u16, lcid: i32, sfirstdayofweek: i16, sfirstweekofyear: u16, rcb: *mut u16) -> windows_core::Result<()> @@ -7086,7 +7086,7 @@ 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, } -windows_core::imp::com_interface!(IVBGetControl, IVBGetControl_Vtbl, 0x40a050a0_3c31_101b_a82e_08002b2b2337); +windows_core::imp::define_interface!(IVBGetControl, IVBGetControl_Vtbl, 0x40a050a0_3c31_101b_a82e_08002b2b2337); windows_core::imp::interface_hierarchy!(IVBGetControl, windows_core::IUnknown); impl IVBGetControl { #[cfg(feature = "Win32_System_Com")] @@ -7103,7 +7103,7 @@ pub struct IVBGetControl_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] EnumControls: usize, } -windows_core::imp::com_interface!(IVariantChangeType, IVariantChangeType_Vtbl, 0xa6ef9862_c720_11d0_9337_00a0c90dcaa9); +windows_core::imp::define_interface!(IVariantChangeType, IVariantChangeType_Vtbl, 0xa6ef9862_c720_11d0_9337_00a0c90dcaa9); windows_core::imp::interface_hierarchy!(IVariantChangeType, windows_core::IUnknown); impl IVariantChangeType { #[cfg(feature = "Win32_System_Variant")] @@ -7119,7 +7119,7 @@ pub struct IVariantChangeType_Vtbl { #[cfg(not(feature = "Win32_System_Variant"))] ChangeType: usize, } -windows_core::imp::com_interface!(IViewObject, IViewObject_Vtbl, 0x0000010d_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IViewObject, IViewObject_Vtbl, 0x0000010d_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IViewObject, windows_core::IUnknown); impl IViewObject { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] @@ -7181,7 +7181,7 @@ pub struct IViewObject_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetAdvise: usize, } -windows_core::imp::com_interface!(IViewObject2, IViewObject2_Vtbl, 0x00000127_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IViewObject2, IViewObject2_Vtbl, 0x00000127_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IViewObject2, windows_core::IUnknown, IViewObject); impl IViewObject2 { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] @@ -7231,7 +7231,7 @@ pub struct IViewObject2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetExtent: usize, } -windows_core::imp::com_interface!(IViewObjectEx, IViewObjectEx_Vtbl, 0x3af24292_0c96_11ce_a0cf_00aa00600ab8); +windows_core::imp::define_interface!(IViewObjectEx, IViewObjectEx_Vtbl, 0x3af24292_0c96_11ce_a0cf_00aa00600ab8); windows_core::imp::interface_hierarchy!(IViewObjectEx, windows_core::IUnknown, IViewObject, IViewObject2); impl IViewObjectEx { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] @@ -7309,7 +7309,7 @@ pub struct IViewObjectEx_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com")))] GetNaturalExtent: usize, } -windows_core::imp::com_interface!(IZoomEvents, IZoomEvents_Vtbl, 0x41b68150_904c_4e17_a0ba_a438182e359d); +windows_core::imp::define_interface!(IZoomEvents, IZoomEvents_Vtbl, 0x41b68150_904c_4e17_a0ba_a438182e359d); windows_core::imp::interface_hierarchy!(IZoomEvents, windows_core::IUnknown); impl IZoomEvents { pub unsafe fn OnZoomPercentChanged(&self, ulzoompercent: u32) -> windows_core::Result<()> { 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 930a1bfad7..8aef24d1a5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IWPCGamesSettings, IWPCGamesSettings_Vtbl, 0x95e87780_e158_489e_b452_bbb850790715); +windows_core::imp::define_interface!(IWPCGamesSettings, IWPCGamesSettings_Vtbl, 0x95e87780_e158_489e_b452_bbb850790715); windows_core::imp::interface_hierarchy!(IWPCGamesSettings, windows_core::IUnknown, IWPCSettings); impl IWPCGamesSettings { pub unsafe fn IsLoggingRequired(&self) -> windows_core::Result { @@ -23,7 +23,7 @@ pub struct IWPCGamesSettings_Vtbl { pub base__: IWPCSettings_Vtbl, pub IsBlocked: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWPCProviderConfig, IWPCProviderConfig_Vtbl, 0xbef54196_2d02_4a26_b6e5_d65af295d0f1); +windows_core::imp::define_interface!(IWPCProviderConfig, IWPCProviderConfig_Vtbl, 0xbef54196_2d02_4a26_b6e5_d65af295d0f1); windows_core::imp::interface_hierarchy!(IWPCProviderConfig, windows_core::IUnknown); impl IWPCProviderConfig { pub unsafe fn GetUserSummary(&self, bstrsid: P0) -> windows_core::Result @@ -55,7 +55,7 @@ pub struct IWPCProviderConfig_Vtbl { 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, } -windows_core::imp::com_interface!(IWPCProviderState, IWPCProviderState_Vtbl, 0x50b6a267_c4bd_450b_adb5_759073837c9e); +windows_core::imp::define_interface!(IWPCProviderState, IWPCProviderState_Vtbl, 0x50b6a267_c4bd_450b_adb5_759073837c9e); windows_core::imp::interface_hierarchy!(IWPCProviderState, windows_core::IUnknown); impl IWPCProviderState { pub unsafe fn Enable(&self) -> windows_core::Result<()> { @@ -71,7 +71,7 @@ pub struct IWPCProviderState_Vtbl { pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Disable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWPCProviderSupport, IWPCProviderSupport_Vtbl, 0x41eba572_23ed_4779_bec1_8df96206c44c); +windows_core::imp::define_interface!(IWPCProviderSupport, IWPCProviderSupport_Vtbl, 0x41eba572_23ed_4779_bec1_8df96206c44c); windows_core::imp::interface_hierarchy!(IWPCProviderSupport, windows_core::IUnknown); impl IWPCProviderSupport { pub unsafe fn GetCurrent(&self) -> windows_core::Result { @@ -84,7 +84,7 @@ pub struct IWPCProviderSupport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetCurrent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWPCSettings, IWPCSettings_Vtbl, 0x8fdf6ca1_0189_47e4_b670_1a8a4636e340); +windows_core::imp::define_interface!(IWPCSettings, IWPCSettings_Vtbl, 0x8fdf6ca1_0189_47e4_b670_1a8a4636e340); windows_core::imp::interface_hierarchy!(IWPCSettings, windows_core::IUnknown); impl IWPCSettings { pub unsafe fn IsLoggingRequired(&self) -> windows_core::Result { @@ -107,7 +107,7 @@ pub struct IWPCSettings_Vtbl { pub GetLastSettingsChangeTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SYSTEMTIME) -> windows_core::HRESULT, pub GetRestrictions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WPCFLAG_RESTRICTION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWPCWebSettings, IWPCWebSettings_Vtbl, 0xffccbdb8_0992_4c30_b0f1_1cbb09c240aa); +windows_core::imp::define_interface!(IWPCWebSettings, IWPCWebSettings_Vtbl, 0xffccbdb8_0992_4c30_b0f1_1cbb09c240aa); windows_core::imp::interface_hierarchy!(IWPCWebSettings, windows_core::IUnknown, IWPCSettings); impl IWPCWebSettings { pub unsafe fn IsLoggingRequired(&self) -> windows_core::Result { @@ -141,7 +141,7 @@ pub struct IWPCWebSettings_Vtbl { pub GetSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WPCFLAG_WEB_SETTING) -> windows_core::HRESULT, pub RequestURLOverride: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, u32, *const windows_core::PCWSTR, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsParentalControls, IWindowsParentalControls_Vtbl, 0x28b4d88b_e072_49e6_804d_26edbe21a7b9); +windows_core::imp::define_interface!(IWindowsParentalControls, IWindowsParentalControls_Vtbl, 0x28b4d88b_e072_49e6_804d_26edbe21a7b9); windows_core::imp::interface_hierarchy!(IWindowsParentalControls, windows_core::IUnknown, IWindowsParentalControlsCore); impl IWindowsParentalControls { pub unsafe fn GetVisibility(&self) -> windows_core::Result { @@ -178,7 +178,7 @@ pub struct IWindowsParentalControls_Vtbl { pub base__: IWindowsParentalControlsCore_Vtbl, pub GetGamesSettings: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsParentalControlsCore, IWindowsParentalControlsCore_Vtbl, 0x4ff40a0f_3f3b_4d7c_a41b_4f39d7b44d05); +windows_core::imp::define_interface!(IWindowsParentalControlsCore, IWindowsParentalControlsCore_Vtbl, 0x4ff40a0f_3f3b_4d7c_a41b_4f39d7b44d05); windows_core::imp::interface_hierarchy!(IWindowsParentalControlsCore, windows_core::IUnknown); impl IWindowsParentalControlsCore { pub unsafe fn GetVisibility(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs index c12d7e2714..28ba351602 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs @@ -1006,7 +1006,7 @@ where UpdatePerfNameFilesW(sznewctrfilepath.into_param().abi(), sznewhlpfilepath.into_param().abi(), szlanguageid.into_param().abi(), dwflags) } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DICounterItem, DICounterItem_Vtbl, 0xc08c4ff2_0e2e_11cf_942c_008029004347); +windows_core::imp::define_interface!(DICounterItem, DICounterItem_Vtbl, 0xc08c4ff2_0e2e_11cf_942c_008029004347); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DICounterItem, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1017,7 +1017,7 @@ pub struct DICounterItem_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DILogFileItem, DILogFileItem_Vtbl, 0x8d093ffc_f777_4917_82d1_833fbc54c58f); +windows_core::imp::define_interface!(DILogFileItem, DILogFileItem_Vtbl, 0x8d093ffc_f777_4917_82d1_833fbc54c58f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DILogFileItem, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1028,7 +1028,7 @@ pub struct DILogFileItem_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DISystemMonitor, DISystemMonitor_Vtbl, 0x13d73d81_c32e_11cf_9398_00aa00a3ddea); +windows_core::imp::define_interface!(DISystemMonitor, DISystemMonitor_Vtbl, 0x13d73d81_c32e_11cf_9398_00aa00a3ddea); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DISystemMonitor, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1039,7 +1039,7 @@ pub struct DISystemMonitor_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DISystemMonitorEvents, DISystemMonitorEvents_Vtbl, 0x84979930_4ab3_11cf_943a_008029004347); +windows_core::imp::define_interface!(DISystemMonitorEvents, DISystemMonitorEvents_Vtbl, 0x84979930_4ab3_11cf_943a_008029004347); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DISystemMonitorEvents, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1050,7 +1050,7 @@ pub struct DISystemMonitorEvents_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DISystemMonitorInternal, DISystemMonitorInternal_Vtbl, 0x194eb242_c32c_11cf_9398_00aa00a3ddea); +windows_core::imp::define_interface!(DISystemMonitorInternal, DISystemMonitorInternal_Vtbl, 0x194eb242_c32c_11cf_9398_00aa00a3ddea); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DISystemMonitorInternal, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1061,7 +1061,7 @@ pub struct DISystemMonitorInternal_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAlertDataCollector, IAlertDataCollector_Vtbl, 0x03837516_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IAlertDataCollector, IAlertDataCollector_Vtbl, 0x03837516_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAlertDataCollector, windows_core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] @@ -1294,7 +1294,7 @@ pub struct IAlertDataCollector_Vtbl { pub SetTriggerDataCollectorSet: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IApiTracingDataCollector, IApiTracingDataCollector_Vtbl, 0x0383751a_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IApiTracingDataCollector, IApiTracingDataCollector_Vtbl, 0x0383751a_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IApiTracingDataCollector, windows_core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] @@ -1528,7 +1528,7 @@ pub struct IApiTracingDataCollector_Vtbl { SetExcludeApis: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IConfigurationDataCollector, IConfigurationDataCollector_Vtbl, 0x03837514_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IConfigurationDataCollector, IConfigurationDataCollector_Vtbl, 0x03837514_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IConfigurationDataCollector, windows_core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] @@ -1773,7 +1773,7 @@ pub struct IConfigurationDataCollector_Vtbl { 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, } -windows_core::imp::com_interface!(ICounterItem, ICounterItem_Vtbl, 0x771a9520_ee28_11ce_941e_008029004347); +windows_core::imp::define_interface!(ICounterItem, ICounterItem_Vtbl, 0x771a9520_ee28_11ce_941e_008029004347); windows_core::imp::interface_hierarchy!(ICounterItem, windows_core::IUnknown); impl ICounterItem { pub unsafe fn Value(&self) -> windows_core::Result { @@ -1835,7 +1835,7 @@ pub struct ICounterItem_Vtbl { 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, } -windows_core::imp::com_interface!(ICounterItem2, ICounterItem2_Vtbl, 0xeefcd4e1_ea1c_4435_b7f4_e341ba03b4f9); +windows_core::imp::define_interface!(ICounterItem2, ICounterItem2_Vtbl, 0xeefcd4e1_ea1c_4435_b7f4_e341ba03b4f9); windows_core::imp::interface_hierarchy!(ICounterItem2, windows_core::IUnknown, ICounterItem); impl ICounterItem2 { pub unsafe fn Value(&self) -> windows_core::Result { @@ -1915,7 +1915,7 @@ pub struct ICounterItem2_Vtbl { pub GetDataAt: unsafe extern "system" fn(*mut core::ffi::c_void, i32, SysmonDataType, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICounters, ICounters_Vtbl, 0x79167962_28fc_11cf_942f_008029004347); +windows_core::imp::define_interface!(ICounters, ICounters_Vtbl, 0x79167962_28fc_11cf_942f_008029004347); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICounters, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1968,7 +1968,7 @@ pub struct ICounters_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDataCollector, IDataCollector_Vtbl, 0x038374ff_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IDataCollector, IDataCollector_Vtbl, 0x038374ff_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDataCollector, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2137,7 +2137,7 @@ pub struct IDataCollector_Vtbl { pub CreateOutputLocation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDataCollectorCollection, IDataCollectorCollection_Vtbl, 0x03837502_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IDataCollectorCollection, IDataCollectorCollection_Vtbl, 0x03837502_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDataCollectorCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2224,7 +2224,7 @@ pub struct IDataCollectorCollection_Vtbl { CreateDataCollector: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDataCollectorSet, IDataCollectorSet_Vtbl, 0x03837520_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IDataCollectorSet, IDataCollectorSet_Vtbl, 0x03837520_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDataCollectorSet, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2608,7 +2608,7 @@ pub struct IDataCollectorSet_Vtbl { pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDataCollectorSetCollection, IDataCollectorSetCollection_Vtbl, 0x03837524_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IDataCollectorSetCollection, IDataCollectorSetCollection_Vtbl, 0x03837524_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDataCollectorSetCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2683,7 +2683,7 @@ pub struct IDataCollectorSetCollection_Vtbl { pub GetDataCollectorSets: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDataManager, IDataManager_Vtbl, 0x03837541_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IDataManager, IDataManager_Vtbl, 0x03837541_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDataManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2844,7 +2844,7 @@ pub struct IDataManager_Vtbl { pub Extract: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFolderAction, IFolderAction_Vtbl, 0x03837543_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IFolderAction, IFolderAction_Vtbl, 0x03837543_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFolderAction, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2895,7 +2895,7 @@ pub struct IFolderAction_Vtbl { pub SetSendCabTo: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFolderActionCollection, IFolderActionCollection_Vtbl, 0x03837544_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IFolderActionCollection, IFolderActionCollection_Vtbl, 0x03837544_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFolderActionCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2970,7 +2970,7 @@ pub struct IFolderActionCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateFolderAction: usize, } -windows_core::imp::com_interface!(ILogFileItem, ILogFileItem_Vtbl, 0xd6b518dd_05c7_418a_89e6_4f9ce8c6841e); +windows_core::imp::define_interface!(ILogFileItem, ILogFileItem_Vtbl, 0xd6b518dd_05c7_418a_89e6_4f9ce8c6841e); windows_core::imp::interface_hierarchy!(ILogFileItem, windows_core::IUnknown); impl ILogFileItem { pub unsafe fn Path(&self) -> windows_core::Result { @@ -2984,7 +2984,7 @@ pub struct ILogFileItem_Vtbl { pub Path: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ILogFiles, ILogFiles_Vtbl, 0x6a2a97e6_6851_41ea_87ad_2a8225335865); +windows_core::imp::define_interface!(ILogFiles, ILogFiles_Vtbl, 0x6a2a97e6_6851_41ea_87ad_2a8225335865); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ILogFiles, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3037,7 +3037,7 @@ pub struct ILogFiles_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPerformanceCounterDataCollector, IPerformanceCounterDataCollector_Vtbl, 0x03837506_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IPerformanceCounterDataCollector, IPerformanceCounterDataCollector_Vtbl, 0x03837506_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPerformanceCounterDataCollector, windows_core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] @@ -3228,7 +3228,7 @@ pub struct IPerformanceCounterDataCollector_Vtbl { pub SetSegmentMaxRecords: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISchedule, ISchedule_Vtbl, 0x0383753a_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(ISchedule, ISchedule_Vtbl, 0x0383753a_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISchedule, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3285,7 +3285,7 @@ pub struct ISchedule_Vtbl { pub SetDays: unsafe extern "system" fn(*mut core::ffi::c_void, WeekDays) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IScheduleCollection, IScheduleCollection_Vtbl, 0x0383753d_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IScheduleCollection, IScheduleCollection_Vtbl, 0x0383753d_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IScheduleCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3360,7 +3360,7 @@ pub struct IScheduleCollection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateSchedule: usize, } -windows_core::imp::com_interface!(ISystemMonitor, ISystemMonitor_Vtbl, 0x194eb241_c32c_11cf_9398_00aa00a3ddea); +windows_core::imp::define_interface!(ISystemMonitor, ISystemMonitor_Vtbl, 0x194eb241_c32c_11cf_9398_00aa00a3ddea); windows_core::imp::interface_hierarchy!(ISystemMonitor, windows_core::IUnknown); impl ISystemMonitor { pub unsafe fn Appearance(&self) -> windows_core::Result { @@ -3778,7 +3778,7 @@ pub struct ISystemMonitor_Vtbl { 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, } -windows_core::imp::com_interface!(ISystemMonitor2, ISystemMonitor2_Vtbl, 0x08e3206a_5fd2_4fde_a8a5_8cb3b63d2677); +windows_core::imp::define_interface!(ISystemMonitor2, ISystemMonitor2_Vtbl, 0x08e3206a_5fd2_4fde_a8a5_8cb3b63d2677); windows_core::imp::interface_hierarchy!(ISystemMonitor2, windows_core::IUnknown, ISystemMonitor); impl ISystemMonitor2 { pub unsafe fn Appearance(&self) -> windows_core::Result { @@ -4222,7 +4222,7 @@ pub struct ISystemMonitor2_Vtbl { 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, } -windows_core::imp::com_interface!(ISystemMonitorEvents, ISystemMonitorEvents_Vtbl, 0xee660ea0_4abd_11cf_943a_008029004347); +windows_core::imp::define_interface!(ISystemMonitorEvents, ISystemMonitorEvents_Vtbl, 0xee660ea0_4abd_11cf_943a_008029004347); windows_core::imp::interface_hierarchy!(ISystemMonitorEvents, windows_core::IUnknown); impl ISystemMonitorEvents { pub unsafe fn OnCounterSelected(&self, index: i32) { @@ -4251,7 +4251,7 @@ pub struct ISystemMonitorEvents_Vtbl { pub OnDblClick: unsafe extern "system" fn(*mut core::ffi::c_void, i32), } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITraceDataCollector, ITraceDataCollector_Vtbl, 0x0383750b_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(ITraceDataCollector, ITraceDataCollector_Vtbl, 0x0383750b_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITraceDataCollector, windows_core::IUnknown, super::Com::IDispatch, IDataCollector); #[cfg(feature = "Win32_System_Com")] @@ -4580,7 +4580,7 @@ pub struct ITraceDataCollector_Vtbl { TraceDataProviders: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITraceDataProvider, ITraceDataProvider_Vtbl, 0x03837512_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(ITraceDataProvider, ITraceDataProvider_Vtbl, 0x03837512_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITraceDataProvider, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4727,7 +4727,7 @@ pub struct ITraceDataProvider_Vtbl { GetRegisteredProcesses: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITraceDataProviderCollection, ITraceDataProviderCollection_Vtbl, 0x03837510_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(ITraceDataProviderCollection, ITraceDataProviderCollection_Vtbl, 0x03837510_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITraceDataProviderCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4817,7 +4817,7 @@ pub struct ITraceDataProviderCollection_Vtbl { pub GetTraceDataProvidersByProcess: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IValueMap, IValueMap_Vtbl, 0x03837534_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IValueMap, IValueMap_Vtbl, 0x03837534_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IValueMap, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4922,7 +4922,7 @@ pub struct IValueMap_Vtbl { CreateValueMapItem: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IValueMapItem, IValueMapItem_Vtbl, 0x03837533_098b_11d8_9414_505054503030); +windows_core::imp::define_interface!(IValueMapItem, IValueMapItem_Vtbl, 0x03837533_098b_11d8_9414_505054503030); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IValueMapItem, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4990,7 +4990,7 @@ pub struct IValueMapItem_Vtbl { 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, } -windows_core::imp::com_interface!(_ICounterItemUnion, _ICounterItemUnion_Vtbl, 0xde1a6b74_9182_4c41_8e2c_24c2cd30ee83); +windows_core::imp::define_interface!(_ICounterItemUnion, _ICounterItemUnion_Vtbl, 0xde1a6b74_9182_4c41_8e2c_24c2cd30ee83); windows_core::imp::interface_hierarchy!(_ICounterItemUnion, windows_core::IUnknown); impl _ICounterItemUnion { pub unsafe fn Value(&self) -> windows_core::Result { @@ -5081,7 +5081,7 @@ pub struct _ICounterItemUnion_Vtbl { 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, } -windows_core::imp::com_interface!(_ISystemMonitorUnion, _ISystemMonitorUnion_Vtbl, 0xc8a77338_265f_4de5_aa25_c7da1ce5a8f4); +windows_core::imp::define_interface!(_ISystemMonitorUnion, _ISystemMonitorUnion_Vtbl, 0xc8a77338_265f_4de5_aa25_c7da1ce5a8f4); windows_core::imp::interface_hierarchy!(_ISystemMonitorUnion, windows_core::IUnknown); impl _ISystemMonitorUnion { pub unsafe fn Appearance(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs index 46a0ec5f00..64c014c369 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(INetworkTransportSettings, INetworkTransportSettings_Vtbl, 0x5e7abb2c_f2c1_4a61_bd35_deb7a08ab0f1); +windows_core::imp::define_interface!(INetworkTransportSettings, INetworkTransportSettings_Vtbl, 0x5e7abb2c_f2c1_4a61_bd35_deb7a08ab0f1); windows_core::imp::interface_hierarchy!(INetworkTransportSettings, windows_core::IUnknown); impl INetworkTransportSettings { #[cfg(feature = "Win32_Networking_WinSock")] @@ -22,7 +22,7 @@ pub struct INetworkTransportSettings_Vtbl { #[cfg(not(feature = "Win32_Networking_WinSock"))] QuerySetting: usize, } -windows_core::imp::com_interface!(INotificationTransportSync, INotificationTransportSync_Vtbl, 0x79eb1402_0ab8_49c0_9e14_a1ae4ba93058); +windows_core::imp::define_interface!(INotificationTransportSync, INotificationTransportSync_Vtbl, 0x79eb1402_0ab8_49c0_9e14_a1ae4ba93058); windows_core::imp::interface_hierarchy!(INotificationTransportSync, windows_core::IUnknown); impl INotificationTransportSync { pub unsafe fn CompleteDelivery(&self) -> windows_core::Result<()> { @@ -38,7 +38,7 @@ pub struct INotificationTransportSync_Vtbl { pub CompleteDelivery: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Flush: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRTCBuddy, IRTCBuddy_Vtbl, 0xfcb136c8_7b90_4e0c_befe_56edf0ba6f1c); +windows_core::imp::define_interface!(IRTCBuddy, IRTCBuddy_Vtbl, 0xfcb136c8_7b90_4e0c_befe_56edf0ba6f1c); windows_core::imp::interface_hierarchy!(IRTCBuddy, windows_core::IUnknown, IRTCPresenceContact); impl IRTCBuddy { pub unsafe fn PresentityURI(&self) -> windows_core::Result { @@ -96,7 +96,7 @@ pub struct IRTCBuddy_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, } -windows_core::imp::com_interface!(IRTCBuddy2, IRTCBuddy2_Vtbl, 0x102f9588_23e7_40e3_954d_cd7a1d5c0361); +windows_core::imp::define_interface!(IRTCBuddy2, IRTCBuddy2_Vtbl, 0x102f9588_23e7_40e3_954d_cd7a1d5c0361); windows_core::imp::interface_hierarchy!(IRTCBuddy2, windows_core::IUnknown, IRTCPresenceContact, IRTCBuddy); impl IRTCBuddy2 { pub unsafe fn PresentityURI(&self) -> windows_core::Result { @@ -200,7 +200,7 @@ pub struct IRTCBuddy2_Vtbl { pub SubscriptionType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_BUDDY_SUBSCRIPTION_TYPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCBuddyEvent, IRTCBuddyEvent_Vtbl, 0xf36d755d_17e6_404e_954f_0fc07574c78d); +windows_core::imp::define_interface!(IRTCBuddyEvent, IRTCBuddyEvent_Vtbl, 0xf36d755d_17e6_404e_954f_0fc07574c78d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCBuddyEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -217,7 +217,7 @@ pub struct IRTCBuddyEvent_Vtbl { pub Buddy: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCBuddyEvent2, IRTCBuddyEvent2_Vtbl, 0x484a7f1e_73f0_4990_bfc2_60bc3978a720); +windows_core::imp::define_interface!(IRTCBuddyEvent2, IRTCBuddyEvent2_Vtbl, 0x484a7f1e_73f0_4990_bfc2_60bc3978a720); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCBuddyEvent2, windows_core::IUnknown, super::Com::IDispatch, IRTCBuddyEvent); #[cfg(feature = "Win32_System_Com")] @@ -247,7 +247,7 @@ pub struct IRTCBuddyEvent2_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, } -windows_core::imp::com_interface!(IRTCBuddyGroup, IRTCBuddyGroup_Vtbl, 0x60361e68_9164_4389_a4c6_d0b3925bda5e); +windows_core::imp::define_interface!(IRTCBuddyGroup, IRTCBuddyGroup_Vtbl, 0x60361e68_9164_4389_a4c6_d0b3925bda5e); windows_core::imp::interface_hierarchy!(IRTCBuddyGroup, windows_core::IUnknown); impl IRTCBuddyGroup { pub unsafe fn Name(&self) -> windows_core::Result { @@ -313,7 +313,7 @@ pub struct IRTCBuddyGroup_Vtbl { 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")] -windows_core::imp::com_interface!(IRTCBuddyGroupEvent, IRTCBuddyGroupEvent_Vtbl, 0x3a79e1d1_b736_4414_96f8_bbc7f08863e4); +windows_core::imp::define_interface!(IRTCBuddyGroupEvent, IRTCBuddyGroupEvent_Vtbl, 0x3a79e1d1_b736_4414_96f8_bbc7f08863e4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCBuddyGroupEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -344,7 +344,7 @@ pub struct IRTCBuddyGroupEvent_Vtbl { pub Buddy: 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, } -windows_core::imp::com_interface!(IRTCClient, IRTCClient_Vtbl, 0x07829e45_9a34_408e_a011_bddf13487cd1); +windows_core::imp::define_interface!(IRTCClient, IRTCClient_Vtbl, 0x07829e45_9a34_408e_a011_bddf13487cd1); windows_core::imp::interface_hierarchy!(IRTCClient, windows_core::IUnknown); impl IRTCClient { pub unsafe fn Initialize(&self) -> windows_core::Result<()> { @@ -577,7 +577,7 @@ pub struct IRTCClient_Vtbl { pub InvokeTuningWizard: unsafe extern "system" fn(*mut core::ffi::c_void, isize) -> windows_core::HRESULT, pub IsTuned: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRTCClient2, IRTCClient2_Vtbl, 0x0c91d71d_1064_42da_bfa5_572beb8eea84); +windows_core::imp::define_interface!(IRTCClient2, IRTCClient2_Vtbl, 0x0c91d71d_1064_42da_bfa5_572beb8eea84); windows_core::imp::interface_hierarchy!(IRTCClient2, windows_core::IUnknown, IRTCClient); impl IRTCClient2 { pub unsafe fn Initialize(&self) -> windows_core::Result<()> { @@ -841,7 +841,7 @@ pub struct IRTCClient2_Vtbl { pub get_AllowedPorts: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut RTC_LISTEN_MODE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCClientEvent, IRTCClientEvent_Vtbl, 0x2b493b7a_3cba_4170_9c8b_76a9dacdd644); +windows_core::imp::define_interface!(IRTCClientEvent, IRTCClientEvent_Vtbl, 0x2b493b7a_3cba_4170_9c8b_76a9dacdd644); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCClientEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -862,7 +862,7 @@ pub struct IRTCClientEvent_Vtbl { pub EventType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_CLIENT_EVENT_TYPE) -> windows_core::HRESULT, pub Client: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRTCClientPortManagement, IRTCClientPortManagement_Vtbl, 0xd5df3f03_4bde_4417_aefe_71177bdaea66); +windows_core::imp::define_interface!(IRTCClientPortManagement, IRTCClientPortManagement_Vtbl, 0xd5df3f03_4bde_4417_aefe_71177bdaea66); windows_core::imp::interface_hierarchy!(IRTCClientPortManagement, windows_core::IUnknown); impl IRTCClientPortManagement { pub unsafe fn StartListenAddressAndPort(&self, bstrinternallocaladdress: P0, linternallocalport: i32) -> windows_core::Result<()> @@ -888,7 +888,7 @@ pub struct IRTCClientPortManagement_Vtbl { pub StopListenAddressAndPort: unsafe extern "system" fn(*mut core::ffi::c_void, std::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::com_interface!(IRTCClientPresence, IRTCClientPresence_Vtbl, 0x11c3cbcc_0744_42d1_968a_51aa1bb274c6); +windows_core::imp::define_interface!(IRTCClientPresence, IRTCClientPresence_Vtbl, 0x11c3cbcc_0744_42d1_968a_51aa1bb274c6); windows_core::imp::interface_hierarchy!(IRTCClientPresence, windows_core::IUnknown); impl IRTCClientPresence { pub unsafe fn EnablePresence(&self, fusestorage: P0, varstorage: P1) -> windows_core::Result<()> @@ -1026,7 +1026,7 @@ pub struct IRTCClientPresence_Vtbl { pub PrivacyMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PRIVACY_MODE) -> windows_core::HRESULT, pub SetPrivacyMode: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_PRIVACY_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRTCClientPresence2, IRTCClientPresence2_Vtbl, 0xad1809e8_62f7_4783_909a_29c9d2cb1d34); +windows_core::imp::define_interface!(IRTCClientPresence2, IRTCClientPresence2_Vtbl, 0xad1809e8_62f7_4783_909a_29c9d2cb1d34); windows_core::imp::interface_hierarchy!(IRTCClientPresence2, windows_core::IUnknown, IRTCClientPresence); impl IRTCClientPresence2 { pub unsafe fn EnablePresence(&self, fusestorage: P0, varstorage: P1) -> windows_core::Result<()> @@ -1251,7 +1251,7 @@ pub struct IRTCClientPresence2_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCClientProvisioning, IRTCClientProvisioning_Vtbl, 0xb9f5cf06_65b9_4a80_a0e6_73cae3ef3822); +windows_core::imp::define_interface!(IRTCClientProvisioning, IRTCClientProvisioning_Vtbl, 0xb9f5cf06_65b9_4a80_a0e6_73cae3ef3822); windows_core::imp::interface_hierarchy!(IRTCClientProvisioning, windows_core::IUnknown); impl IRTCClientProvisioning { pub unsafe fn CreateProfile(&self, bstrprofilexml: P0) -> windows_core::Result @@ -1310,7 +1310,7 @@ pub struct IRTCClientProvisioning_Vtbl { 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 SessionCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRTCClientProvisioning2, IRTCClientProvisioning2_Vtbl, 0xa70909b5_f40e_4587_bb75_e6bc0845023e); +windows_core::imp::define_interface!(IRTCClientProvisioning2, IRTCClientProvisioning2_Vtbl, 0xa70909b5_f40e_4587_bb75_e6bc0845023e); windows_core::imp::interface_hierarchy!(IRTCClientProvisioning2, windows_core::IUnknown, IRTCClientProvisioning); impl IRTCClientProvisioning2 { pub unsafe fn CreateProfile(&self, bstrprofilexml: P0) -> windows_core::Result @@ -1367,7 +1367,7 @@ pub struct IRTCClientProvisioning2_Vtbl { pub EnableProfileEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCCollection, IRTCCollection_Vtbl, 0xec7c8096_b918_4044_94f1_e4fba0361d5c); +windows_core::imp::define_interface!(IRTCCollection, IRTCCollection_Vtbl, 0xec7c8096_b918_4044_94f1_e4fba0361d5c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1394,7 +1394,7 @@ pub struct IRTCCollection_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")] -windows_core::imp::com_interface!(IRTCDispatchEventNotification, IRTCDispatchEventNotification_Vtbl, 0x176ddfbe_fec0_4d55_bc87_84cff1ef7f91); +windows_core::imp::define_interface!(IRTCDispatchEventNotification, IRTCDispatchEventNotification_Vtbl, 0x176ddfbe_fec0_4d55_bc87_84cff1ef7f91); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCDispatchEventNotification, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1404,7 +1404,7 @@ impl IRTCDispatchEventNotification {} pub struct IRTCDispatchEventNotification_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(IRTCEnumBuddies, IRTCEnumBuddies_Vtbl, 0xf7296917_5569_4b3b_b3af_98d1144b2b87); +windows_core::imp::define_interface!(IRTCEnumBuddies, IRTCEnumBuddies_Vtbl, 0xf7296917_5569_4b3b_b3af_98d1144b2b87); windows_core::imp::interface_hierarchy!(IRTCEnumBuddies, windows_core::IUnknown); impl IRTCEnumBuddies { pub unsafe fn Next(&self, ppelements: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1429,7 +1429,7 @@ pub struct IRTCEnumBuddies_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCEnumGroups, IRTCEnumGroups_Vtbl, 0x742378d6_a141_4415_8f27_35d99076cf5d); +windows_core::imp::define_interface!(IRTCEnumGroups, IRTCEnumGroups_Vtbl, 0x742378d6_a141_4415_8f27_35d99076cf5d); windows_core::imp::interface_hierarchy!(IRTCEnumGroups, windows_core::IUnknown); impl IRTCEnumGroups { pub unsafe fn Next(&self, ppelements: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1454,7 +1454,7 @@ pub struct IRTCEnumGroups_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCEnumParticipants, IRTCEnumParticipants_Vtbl, 0xfcd56f29_4a4f_41b2_ba5c_f5bccc060bf6); +windows_core::imp::define_interface!(IRTCEnumParticipants, IRTCEnumParticipants_Vtbl, 0xfcd56f29_4a4f_41b2_ba5c_f5bccc060bf6); windows_core::imp::interface_hierarchy!(IRTCEnumParticipants, windows_core::IUnknown); impl IRTCEnumParticipants { pub unsafe fn Next(&self, ppelements: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1479,7 +1479,7 @@ pub struct IRTCEnumParticipants_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCEnumPresenceDevices, IRTCEnumPresenceDevices_Vtbl, 0x708c2ab7_8bf8_42f8_8c7d_635197ad5539); +windows_core::imp::define_interface!(IRTCEnumPresenceDevices, IRTCEnumPresenceDevices_Vtbl, 0x708c2ab7_8bf8_42f8_8c7d_635197ad5539); windows_core::imp::interface_hierarchy!(IRTCEnumPresenceDevices, windows_core::IUnknown); impl IRTCEnumPresenceDevices { pub unsafe fn Next(&self, ppelements: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1504,7 +1504,7 @@ pub struct IRTCEnumPresenceDevices_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCEnumProfiles, IRTCEnumProfiles_Vtbl, 0x29b7c41c_ed82_4bca_84ad_39d5101b58e3); +windows_core::imp::define_interface!(IRTCEnumProfiles, IRTCEnumProfiles_Vtbl, 0x29b7c41c_ed82_4bca_84ad_39d5101b58e3); windows_core::imp::interface_hierarchy!(IRTCEnumProfiles, windows_core::IUnknown); impl IRTCEnumProfiles { pub unsafe fn Next(&self, ppelements: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1529,7 +1529,7 @@ pub struct IRTCEnumProfiles_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCEnumUserSearchResults, IRTCEnumUserSearchResults_Vtbl, 0x83d4d877_aa5d_4a5b_8d0e_002a8067e0e8); +windows_core::imp::define_interface!(IRTCEnumUserSearchResults, IRTCEnumUserSearchResults_Vtbl, 0x83d4d877_aa5d_4a5b_8d0e_002a8067e0e8); windows_core::imp::interface_hierarchy!(IRTCEnumUserSearchResults, windows_core::IUnknown); impl IRTCEnumUserSearchResults { pub unsafe fn Next(&self, ppelements: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1554,7 +1554,7 @@ pub struct IRTCEnumUserSearchResults_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCEnumWatchers, IRTCEnumWatchers_Vtbl, 0xa87d55d7_db74_4ed1_9ca4_77a0e41b413e); +windows_core::imp::define_interface!(IRTCEnumWatchers, IRTCEnumWatchers_Vtbl, 0xa87d55d7_db74_4ed1_9ca4_77a0e41b413e); windows_core::imp::interface_hierarchy!(IRTCEnumWatchers, windows_core::IUnknown); impl IRTCEnumWatchers { pub unsafe fn Next(&self, ppelements: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -1579,7 +1579,7 @@ pub struct IRTCEnumWatchers_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCEventNotification, IRTCEventNotification_Vtbl, 0x13fa24c7_5748_4b21_91f5_7397609ce747); +windows_core::imp::define_interface!(IRTCEventNotification, IRTCEventNotification_Vtbl, 0x13fa24c7_5748_4b21_91f5_7397609ce747); windows_core::imp::interface_hierarchy!(IRTCEventNotification, windows_core::IUnknown); impl IRTCEventNotification { #[cfg(feature = "Win32_System_Com")] @@ -1599,7 +1599,7 @@ pub struct IRTCEventNotification_Vtbl { Event: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCInfoEvent, IRTCInfoEvent_Vtbl, 0x4e1d68ae_1912_4f49_b2c3_594fadfd425f); +windows_core::imp::define_interface!(IRTCInfoEvent, IRTCInfoEvent_Vtbl, 0x4e1d68ae_1912_4f49_b2c3_594fadfd425f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCInfoEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1631,7 +1631,7 @@ pub struct IRTCInfoEvent_Vtbl { pub InfoHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCIntensityEvent, IRTCIntensityEvent_Vtbl, 0x4c23bf51_390c_4992_a41d_41eec05b2a4b); +windows_core::imp::define_interface!(IRTCIntensityEvent, IRTCIntensityEvent_Vtbl, 0x4c23bf51_390c_4992_a41d_41eec05b2a4b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCIntensityEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1663,7 +1663,7 @@ pub struct IRTCIntensityEvent_Vtbl { pub Direction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_AUDIO_DEVICE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCMediaEvent, IRTCMediaEvent_Vtbl, 0x099944fb_bcda_453e_8c41_e13da2adf7f3); +windows_core::imp::define_interface!(IRTCMediaEvent, IRTCMediaEvent_Vtbl, 0x099944fb_bcda_453e_8c41_e13da2adf7f3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCMediaEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1690,7 +1690,7 @@ pub struct IRTCMediaEvent_Vtbl { pub EventReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_MEDIA_EVENT_REASON) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCMediaRequestEvent, IRTCMediaRequestEvent_Vtbl, 0x52572d15_148c_4d97_a36c_2da55c289d63); +windows_core::imp::define_interface!(IRTCMediaRequestEvent, IRTCMediaRequestEvent_Vtbl, 0x52572d15_148c_4d97_a36c_2da55c289d63); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCMediaRequestEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1735,7 +1735,7 @@ pub struct IRTCMediaRequestEvent_Vtbl { pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_REINVITE_STATE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCMessagingEvent, IRTCMessagingEvent_Vtbl, 0xd3609541_1b29_4de5_a4ad_5aebaf319512); +windows_core::imp::define_interface!(IRTCMessagingEvent, IRTCMessagingEvent_Vtbl, 0xd3609541_1b29_4de5_a4ad_5aebaf319512); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCMessagingEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1776,7 +1776,7 @@ pub struct IRTCMessagingEvent_Vtbl { pub MessageHeader: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IRTCParticipant, IRTCParticipant_Vtbl, 0xae86add5_26b1_4414_af1d_b94cd938d739); +windows_core::imp::define_interface!(IRTCParticipant, IRTCParticipant_Vtbl, 0xae86add5_26b1_4414_af1d_b94cd938d739); windows_core::imp::interface_hierarchy!(IRTCParticipant, windows_core::IUnknown); impl IRTCParticipant { pub unsafe fn UserURI(&self) -> windows_core::Result { @@ -1810,7 +1810,7 @@ pub struct IRTCParticipant_Vtbl { pub Session: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCParticipantStateChangeEvent, IRTCParticipantStateChangeEvent_Vtbl, 0x09bcb597_f0fa_48f9_b420_468cea7fde04); +windows_core::imp::define_interface!(IRTCParticipantStateChangeEvent, IRTCParticipantStateChangeEvent_Vtbl, 0x09bcb597_f0fa_48f9_b420_468cea7fde04); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCParticipantStateChangeEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1836,7 +1836,7 @@ pub struct IRTCParticipantStateChangeEvent_Vtbl { pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PARTICIPANT_STATE) -> windows_core::HRESULT, pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRTCPortManager, IRTCPortManager_Vtbl, 0xda77c14b_6208_43ca_8ddf_5b60a0a69fac); +windows_core::imp::define_interface!(IRTCPortManager, IRTCPortManager_Vtbl, 0xda77c14b_6208_43ca_8ddf_5b60a0a69fac); windows_core::imp::interface_hierarchy!(IRTCPortManager, windows_core::IUnknown); impl IRTCPortManager { pub unsafe fn GetMapping(&self, bstrremoteaddress: P0, enporttype: RTC_PORT_TYPE, pbstrinternallocaladdress: *mut windows_core::BSTR, plinternallocalport: *mut i32, pbstrexternallocaladdress: *mut windows_core::BSTR, plexternallocalport: *mut i32) -> windows_core::Result<()> @@ -1868,7 +1868,7 @@ pub struct IRTCPortManager_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCPresenceContact, IRTCPresenceContact_Vtbl, 0x8b22f92c_cd90_42db_a733_212205c3e3df); +windows_core::imp::define_interface!(IRTCPresenceContact, IRTCPresenceContact_Vtbl, 0x8b22f92c_cd90_42db_a733_212205c3e3df); windows_core::imp::interface_hierarchy!(IRTCPresenceContact, windows_core::IUnknown); impl IRTCPresenceContact { pub unsafe fn PresentityURI(&self) -> windows_core::Result { @@ -1925,7 +1925,7 @@ pub struct IRTCPresenceContact_Vtbl { pub SetPersistent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCPresenceDataEvent, IRTCPresenceDataEvent_Vtbl, 0x38f0e78c_8b87_4c04_a82d_aedd83c909bb); +windows_core::imp::define_interface!(IRTCPresenceDataEvent, IRTCPresenceDataEvent_Vtbl, 0x38f0e78c_8b87_4c04_a82d_aedd83c909bb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCPresenceDataEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1950,7 +1950,7 @@ pub struct IRTCPresenceDataEvent_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCPresenceDevice, IRTCPresenceDevice_Vtbl, 0xbc6a90dd_ad9a_48da_9b0c_2515e38521ad); +windows_core::imp::define_interface!(IRTCPresenceDevice, IRTCPresenceDevice_Vtbl, 0xbc6a90dd_ad9a_48da_9b0c_2515e38521ad); windows_core::imp::interface_hierarchy!(IRTCPresenceDevice, windows_core::IUnknown); impl IRTCPresenceDevice { pub unsafe fn Status(&self) -> windows_core::Result { @@ -1978,7 +1978,7 @@ pub struct IRTCPresenceDevice_Vtbl { pub GetPresenceData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCPresencePropertyEvent, IRTCPresencePropertyEvent_Vtbl, 0xf777f570_a820_49d5_86bd_e099493f1518); +windows_core::imp::define_interface!(IRTCPresencePropertyEvent, IRTCPresencePropertyEvent_Vtbl, 0xf777f570_a820_49d5_86bd_e099493f1518); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCPresencePropertyEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2010,7 +2010,7 @@ pub struct IRTCPresencePropertyEvent_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCPresenceStatusEvent, IRTCPresenceStatusEvent_Vtbl, 0x78673f32_4a0f_462c_89aa_ee7706707678); +windows_core::imp::define_interface!(IRTCPresenceStatusEvent, IRTCPresenceStatusEvent_Vtbl, 0x78673f32_4a0f_462c_89aa_ee7706707678); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCPresenceStatusEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2035,7 +2035,7 @@ pub struct IRTCPresenceStatusEvent_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCProfile, IRTCProfile_Vtbl, 0xd07eca9e_4062_4dd4_9e7d_722a49ba7303); +windows_core::imp::define_interface!(IRTCProfile, IRTCProfile_Vtbl, 0xd07eca9e_4062_4dd4_9e7d_722a49ba7303); windows_core::imp::interface_hierarchy!(IRTCProfile, windows_core::IUnknown); impl IRTCProfile { pub unsafe fn Key(&self) -> windows_core::Result { @@ -2137,7 +2137,7 @@ pub struct IRTCProfile_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCProfile2, IRTCProfile2_Vtbl, 0x4b81f84e_bdc7_4184_9154_3cb2dd7917fb); +windows_core::imp::define_interface!(IRTCProfile2, IRTCProfile2_Vtbl, 0x4b81f84e_bdc7_4184_9154_3cb2dd7917fb); windows_core::imp::interface_hierarchy!(IRTCProfile2, windows_core::IUnknown, IRTCProfile); impl IRTCProfile2 { pub unsafe fn Key(&self) -> windows_core::Result { @@ -2243,7 +2243,7 @@ pub struct IRTCProfile2_Vtbl { pub SetAllowedAuth: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCProfileEvent, IRTCProfileEvent_Vtbl, 0xd6d5ab3b_770e_43e8_800a_79b062395fca); +windows_core::imp::define_interface!(IRTCProfileEvent, IRTCProfileEvent_Vtbl, 0xd6d5ab3b_770e_43e8_800a_79b062395fca); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCProfileEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2270,7 +2270,7 @@ pub struct IRTCProfileEvent_Vtbl { pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCProfileEvent2, IRTCProfileEvent2_Vtbl, 0x62e56edc_03fa_4121_94fb_23493fd0ae64); +windows_core::imp::define_interface!(IRTCProfileEvent2, IRTCProfileEvent2_Vtbl, 0x62e56edc_03fa_4121_94fb_23493fd0ae64); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCProfileEvent2, windows_core::IUnknown, super::Com::IDispatch, IRTCProfileEvent); #[cfg(feature = "Win32_System_Com")] @@ -2299,7 +2299,7 @@ pub struct IRTCProfileEvent2_Vtbl { pub EventType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_PROFILE_EVENT_TYPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCReInviteEvent, IRTCReInviteEvent_Vtbl, 0x11558d84_204c_43e7_99b0_2034e9417f7d); +windows_core::imp::define_interface!(IRTCReInviteEvent, IRTCReInviteEvent_Vtbl, 0x11558d84_204c_43e7_99b0_2034e9417f7d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCReInviteEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2337,7 +2337,7 @@ pub struct IRTCReInviteEvent_Vtbl { pub GetRemoteSessionDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCRegistrationStateChangeEvent, IRTCRegistrationStateChangeEvent_Vtbl, 0x62d0991b_50ab_4f02_b948_ca94f26f8f95); +windows_core::imp::define_interface!(IRTCRegistrationStateChangeEvent, IRTCRegistrationStateChangeEvent_Vtbl, 0x62d0991b_50ab_4f02_b948_ca94f26f8f95); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCRegistrationStateChangeEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2369,7 +2369,7 @@ pub struct IRTCRegistrationStateChangeEvent_Vtbl { pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCRoamingEvent, IRTCRoamingEvent_Vtbl, 0x79960a6b_0cb1_4dc8_a805_7318e99902e8); +windows_core::imp::define_interface!(IRTCRoamingEvent, IRTCRoamingEvent_Vtbl, 0x79960a6b_0cb1_4dc8_a805_7318e99902e8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCRoamingEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2400,7 +2400,7 @@ pub struct IRTCRoamingEvent_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, } -windows_core::imp::com_interface!(IRTCSession, IRTCSession_Vtbl, 0x387c8086_99be_42fb_9973_7c0fc0ca9fa8); +windows_core::imp::define_interface!(IRTCSession, IRTCSession_Vtbl, 0x387c8086_99be_42fb_9973_7c0fc0ca9fa8); windows_core::imp::interface_hierarchy!(IRTCSession, windows_core::IUnknown); impl IRTCSession { pub unsafe fn Client(&self) -> windows_core::Result { @@ -2520,7 +2520,7 @@ pub struct IRTCSession_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCSession2, IRTCSession2_Vtbl, 0x17d7cdfc_b007_484c_99d2_86a8a820991d); +windows_core::imp::define_interface!(IRTCSession2, IRTCSession2_Vtbl, 0x17d7cdfc_b007_484c_99d2_86a8a820991d); windows_core::imp::interface_hierarchy!(IRTCSession2, windows_core::IUnknown, IRTCSession); impl IRTCSession2 { pub unsafe fn Client(&self) -> windows_core::Result { @@ -2655,7 +2655,7 @@ pub struct IRTCSession2_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCSessionCallControl, IRTCSessionCallControl_Vtbl, 0xe9a50d94_190b_4f82_9530_3b8ebf60758a); +windows_core::imp::define_interface!(IRTCSessionCallControl, IRTCSessionCallControl_Vtbl, 0xe9a50d94_190b_4f82_9530_3b8ebf60758a); windows_core::imp::interface_hierarchy!(IRTCSessionCallControl, windows_core::IUnknown); impl IRTCSessionCallControl { pub unsafe fn Hold(&self, lcookie: isize) -> windows_core::Result<()> { @@ -2715,7 +2715,7 @@ pub struct IRTCSessionCallControl_Vtbl { pub ReferCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IRTCSessionDescriptionManager, IRTCSessionDescriptionManager_Vtbl, 0xba7f518e_d336_4070_93a6_865395c843f9); +windows_core::imp::define_interface!(IRTCSessionDescriptionManager, IRTCSessionDescriptionManager_Vtbl, 0xba7f518e_d336_4070_93a6_865395c843f9); windows_core::imp::interface_hierarchy!(IRTCSessionDescriptionManager, windows_core::IUnknown); impl IRTCSessionDescriptionManager { pub unsafe fn EvaluateSessionDescription(&self, bstrcontenttype: P0, bstrsessiondescription: P1, pfapplicationsession: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::Result<()> @@ -2732,7 +2732,7 @@ pub struct IRTCSessionDescriptionManager_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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCSessionOperationCompleteEvent, IRTCSessionOperationCompleteEvent_Vtbl, 0xa6bff4c0_f7c8_4d3c_9a41_3550f78a95b0); +windows_core::imp::define_interface!(IRTCSessionOperationCompleteEvent, IRTCSessionOperationCompleteEvent_Vtbl, 0xa6bff4c0_f7c8_4d3c_9a41_3550f78a95b0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCSessionOperationCompleteEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2764,7 +2764,7 @@ pub struct IRTCSessionOperationCompleteEvent_Vtbl { pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCSessionOperationCompleteEvent2, IRTCSessionOperationCompleteEvent2_Vtbl, 0xf6fc2a9b_d5bc_4241_b436_1b8460c13832); +windows_core::imp::define_interface!(IRTCSessionOperationCompleteEvent2, IRTCSessionOperationCompleteEvent2_Vtbl, 0xf6fc2a9b_d5bc_4241_b436_1b8460c13832); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCSessionOperationCompleteEvent2, windows_core::IUnknown, super::Com::IDispatch, IRTCSessionOperationCompleteEvent); #[cfg(feature = "Win32_System_Com")] @@ -2800,7 +2800,7 @@ pub struct IRTCSessionOperationCompleteEvent2_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, } -windows_core::imp::com_interface!(IRTCSessionPortManagement, IRTCSessionPortManagement_Vtbl, 0xa072f1d6_0286_4e1f_85f2_17a2948456ec); +windows_core::imp::define_interface!(IRTCSessionPortManagement, IRTCSessionPortManagement_Vtbl, 0xa072f1d6_0286_4e1f_85f2_17a2948456ec); windows_core::imp::interface_hierarchy!(IRTCSessionPortManagement, windows_core::IUnknown); impl IRTCSessionPortManagement { pub unsafe fn SetPortManager(&self, pportmanager: P0) -> windows_core::Result<()> @@ -2816,7 +2816,7 @@ pub struct IRTCSessionPortManagement_Vtbl { pub SetPortManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCSessionReferStatusEvent, IRTCSessionReferStatusEvent_Vtbl, 0x3d8fc2cd_5d76_44ab_bb68_2a80353b34a2); +windows_core::imp::define_interface!(IRTCSessionReferStatusEvent, IRTCSessionReferStatusEvent_Vtbl, 0x3d8fc2cd_5d76_44ab_bb68_2a80353b34a2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCSessionReferStatusEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2848,7 +2848,7 @@ pub struct IRTCSessionReferStatusEvent_Vtbl { pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCSessionReferredEvent, IRTCSessionReferredEvent_Vtbl, 0x176a6828_4fcc_4f28_a862_04597a6cf1c4); +windows_core::imp::define_interface!(IRTCSessionReferredEvent, IRTCSessionReferredEvent_Vtbl, 0x176a6828_4fcc_4f28_a862_04597a6cf1c4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCSessionReferredEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2892,7 +2892,7 @@ pub struct IRTCSessionReferredEvent_Vtbl { pub SetReferredSessionState: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_SESSION_STATE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCSessionStateChangeEvent, IRTCSessionStateChangeEvent_Vtbl, 0xb5bad703_5952_48b3_9321_7f4500521506); +windows_core::imp::define_interface!(IRTCSessionStateChangeEvent, IRTCSessionStateChangeEvent_Vtbl, 0xb5bad703_5952_48b3_9321_7f4500521506); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCSessionStateChangeEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2924,7 +2924,7 @@ pub struct IRTCSessionStateChangeEvent_Vtbl { pub StatusText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCSessionStateChangeEvent2, IRTCSessionStateChangeEvent2_Vtbl, 0x4f933171_6f95_4880_80d9_2ec8d495d261); +windows_core::imp::define_interface!(IRTCSessionStateChangeEvent2, IRTCSessionStateChangeEvent2_Vtbl, 0x4f933171_6f95_4880_80d9_2ec8d495d261); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCSessionStateChangeEvent2, windows_core::IUnknown, super::Com::IDispatch, IRTCSessionStateChangeEvent); #[cfg(feature = "Win32_System_Com")] @@ -2970,7 +2970,7 @@ pub struct IRTCSessionStateChangeEvent2_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCUserSearch, IRTCUserSearch_Vtbl, 0xb619882b_860c_4db4_be1b_693b6505bbe5); +windows_core::imp::define_interface!(IRTCUserSearch, IRTCUserSearch_Vtbl, 0xb619882b_860c_4db4_be1b_693b6505bbe5); windows_core::imp::interface_hierarchy!(IRTCUserSearch, windows_core::IUnknown); impl IRTCUserSearch { pub unsafe fn CreateQuery(&self) -> windows_core::Result { @@ -2991,7 +2991,7 @@ pub struct IRTCUserSearch_Vtbl { pub CreateQuery: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ExecuteSearch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, isize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRTCUserSearchQuery, IRTCUserSearchQuery_Vtbl, 0x288300f5_d23a_4365_9a73_9985c98c2881); +windows_core::imp::define_interface!(IRTCUserSearchQuery, IRTCUserSearchQuery_Vtbl, 0x288300f5_d23a_4365_9a73_9985c98c2881); windows_core::imp::interface_hierarchy!(IRTCUserSearchQuery, windows_core::IUnknown); impl IRTCUserSearchQuery { pub unsafe fn put_SearchTerm(&self, bstrname: P0, bstrvalue: P1) -> windows_core::Result<()> @@ -3041,7 +3041,7 @@ pub struct IRTCUserSearchQuery_Vtbl { 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, } -windows_core::imp::com_interface!(IRTCUserSearchResult, IRTCUserSearchResult_Vtbl, 0x851278b2_9592_480f_8db5_2de86b26b54d); +windows_core::imp::define_interface!(IRTCUserSearchResult, IRTCUserSearchResult_Vtbl, 0x851278b2_9592_480f_8db5_2de86b26b54d); 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 { @@ -3055,7 +3055,7 @@ pub struct IRTCUserSearchResult_Vtbl { pub get_Value: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_USER_SEARCH_COLUMN, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCUserSearchResultsEvent, IRTCUserSearchResultsEvent_Vtbl, 0xd8c8c3cd_7fac_4088_81c5_c24cbc0938e3); +windows_core::imp::define_interface!(IRTCUserSearchResultsEvent, IRTCUserSearchResultsEvent_Vtbl, 0xd8c8c3cd_7fac_4088_81c5_c24cbc0938e3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCUserSearchResultsEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3105,7 +3105,7 @@ pub struct IRTCUserSearchResultsEvent_Vtbl { pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub MoreAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRTCWatcher, IRTCWatcher_Vtbl, 0xc7cedad8_346b_4d1b_ac02_a2088df9be4f); +windows_core::imp::define_interface!(IRTCWatcher, IRTCWatcher_Vtbl, 0xc7cedad8_346b_4d1b_ac02_a2088df9be4f); windows_core::imp::interface_hierarchy!(IRTCWatcher, windows_core::IUnknown, IRTCPresenceContact); impl IRTCWatcher { pub unsafe fn PresentityURI(&self) -> windows_core::Result { @@ -3162,7 +3162,7 @@ pub struct IRTCWatcher_Vtbl { pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_WATCHER_STATE) -> windows_core::HRESULT, pub SetState: unsafe extern "system" fn(*mut core::ffi::c_void, RTC_WATCHER_STATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRTCWatcher2, IRTCWatcher2_Vtbl, 0xd4d9967f_d011_4b1d_91e3_aba78f96393d); +windows_core::imp::define_interface!(IRTCWatcher2, IRTCWatcher2_Vtbl, 0xd4d9967f_d011_4b1d_91e3_aba78f96393d); windows_core::imp::interface_hierarchy!(IRTCWatcher2, windows_core::IUnknown, IRTCPresenceContact, IRTCWatcher); impl IRTCWatcher2 { pub unsafe fn PresentityURI(&self) -> windows_core::Result { @@ -3228,7 +3228,7 @@ pub struct IRTCWatcher2_Vtbl { pub Scope: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_ACE_SCOPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCWatcherEvent, IRTCWatcherEvent_Vtbl, 0xf30d7261_587a_424f_822c_312788f43548); +windows_core::imp::define_interface!(IRTCWatcherEvent, IRTCWatcherEvent_Vtbl, 0xf30d7261_587a_424f_822c_312788f43548); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCWatcherEvent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3245,7 +3245,7 @@ pub struct IRTCWatcherEvent_Vtbl { pub Watcher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRTCWatcherEvent2, IRTCWatcherEvent2_Vtbl, 0xe52891e8_188c_49af_b005_98ed13f83f9c); +windows_core::imp::define_interface!(IRTCWatcherEvent2, IRTCWatcherEvent2_Vtbl, 0xe52891e8_188c_49af_b005_98ed13f83f9c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRTCWatcherEvent2, windows_core::IUnknown, super::Com::IDispatch, IRTCWatcherEvent); #[cfg(feature = "Win32_System_Com")] @@ -3270,7 +3270,7 @@ pub struct IRTCWatcherEvent2_Vtbl { pub EventType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RTC_WATCHER_EVENT_TYPE) -> windows_core::HRESULT, pub StatusCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransportSettingsInternal, ITransportSettingsInternal_Vtbl, 0x5123e076_29e3_4bfd_84fe_0192d411e3e8); +windows_core::imp::define_interface!(ITransportSettingsInternal, ITransportSettingsInternal_Vtbl, 0x5123e076_29e3_4bfd_84fe_0192d411e3e8); windows_core::imp::interface_hierarchy!(ITransportSettingsInternal, windows_core::IUnknown); impl ITransportSettingsInternal { #[cfg(feature = "Win32_Networking_WinSock")] 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 7b0eb40ea6..aa6515bf33 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DRendezvousSessionEvents, DRendezvousSessionEvents_Vtbl, 0x3fa19cf8_64c4_4f53_ae60_635b3806eca6); +windows_core::imp::define_interface!(DRendezvousSessionEvents, DRendezvousSessionEvents_Vtbl, 0x3fa19cf8_64c4_4f53_ae60_635b3806eca6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DRendezvousSessionEvents, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -9,7 +9,7 @@ impl DRendezvousSessionEvents {} pub struct DRendezvousSessionEvents_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(IRendezvousApplication, IRendezvousApplication_Vtbl, 0x4f4d070b_a275_49fb_b10d_8ec26387b50d); +windows_core::imp::define_interface!(IRendezvousApplication, IRendezvousApplication_Vtbl, 0x4f4d070b_a275_49fb_b10d_8ec26387b50d); windows_core::imp::interface_hierarchy!(IRendezvousApplication, windows_core::IUnknown); impl IRendezvousApplication { pub unsafe fn SetRendezvousSession(&self, prendezvoussession: P0) -> windows_core::Result<()> @@ -24,7 +24,7 @@ pub struct IRendezvousApplication_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetRendezvousSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRendezvousSession, IRendezvousSession_Vtbl, 0x9ba4b1dd_8b0c_48b7_9e7c_2f25857c8df5); +windows_core::imp::define_interface!(IRendezvousSession, IRendezvousSession_Vtbl, 0x9ba4b1dd_8b0c_48b7_9e7c_2f25857c8df5); windows_core::imp::interface_hierarchy!(IRendezvousSession, windows_core::IUnknown); impl IRendezvousSession { pub unsafe fn State(&self) -> windows_core::Result { 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 077ec499a6..7b02fafac0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -526,7 +526,7 @@ where WTSWaitSystemEvent(hserver.into_param().abi(), eventmask, peventflags).ok() } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IADsTSUserEx, IADsTSUserEx_Vtbl, 0xc4930e79_2989_4462_8a60_2fcf2f2955ef); +windows_core::imp::define_interface!(IADsTSUserEx, IADsTSUserEx_Vtbl, 0xc4930e79_2989_4462_8a60_2fcf2f2955ef); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IADsTSUserEx, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -687,7 +687,7 @@ pub struct IADsTSUserEx_Vtbl { 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, } -windows_core::imp::com_interface!(IAudioDeviceEndpoint, IAudioDeviceEndpoint_Vtbl, 0xd4952f5a_a0b2_4cc4_8b82_9358488dd8ac); +windows_core::imp::define_interface!(IAudioDeviceEndpoint, IAudioDeviceEndpoint_Vtbl, 0xd4952f5a_a0b2_4cc4_8b82_9358488dd8ac); windows_core::imp::interface_hierarchy!(IAudioDeviceEndpoint, windows_core::IUnknown); impl IAudioDeviceEndpoint { pub unsafe fn SetBuffer(&self, maxperiod: i64, u32latencycoefficient: u32) -> windows_core::Result<()> { @@ -713,7 +713,7 @@ pub struct IAudioDeviceEndpoint_Vtbl { pub GetEventDrivenCapable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub WriteExclusiveModeParametersToSharedMemory: unsafe extern "system" fn(*mut core::ffi::c_void, usize, i64, i64, u32, *mut u32, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEndpoint, IAudioEndpoint_Vtbl, 0x30a99515_1527_4451_af9f_00c5f0234daf); +windows_core::imp::define_interface!(IAudioEndpoint, IAudioEndpoint_Vtbl, 0x30a99515_1527_4451_af9f_00c5f0234daf); windows_core::imp::interface_hierarchy!(IAudioEndpoint, windows_core::IUnknown); impl IAudioEndpoint { #[cfg(feature = "Win32_Media_Audio")] @@ -751,7 +751,7 @@ pub struct IAudioEndpoint_Vtbl { pub SetStreamFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioEndpointControl, IAudioEndpointControl_Vtbl, 0xc684b72a_6df4_4774_bdf9_76b77509b653); +windows_core::imp::define_interface!(IAudioEndpointControl, IAudioEndpointControl_Vtbl, 0xc684b72a_6df4_4774_bdf9_76b77509b653); windows_core::imp::interface_hierarchy!(IAudioEndpointControl, windows_core::IUnknown); impl IAudioEndpointControl { pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -771,7 +771,7 @@ pub struct IAudioEndpointControl_Vtbl { pub Reset: 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, } -windows_core::imp::com_interface!(IAudioEndpointRT, IAudioEndpointRT_Vtbl, 0xdfd2005f_a6e5_4d39_a265_939ada9fbb4d); +windows_core::imp::define_interface!(IAudioEndpointRT, IAudioEndpointRT_Vtbl, 0xdfd2005f_a6e5_4d39_a265_939ada9fbb4d); windows_core::imp::interface_hierarchy!(IAudioEndpointRT, windows_core::IUnknown); impl IAudioEndpointRT { pub unsafe fn GetCurrentPadding(&self, ppadding: *mut i64, paecurrentposition: *mut AE_CURRENT_POSITION) { @@ -795,7 +795,7 @@ pub struct IAudioEndpointRT_Vtbl { pub SetPinInactive: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPinActive: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioInputEndpointRT, IAudioInputEndpointRT_Vtbl, 0x8026ab61_92b2_43c1_a1df_5c37ebd08d82); +windows_core::imp::define_interface!(IAudioInputEndpointRT, IAudioInputEndpointRT_Vtbl, 0x8026ab61_92b2_43c1_a1df_5c37ebd08d82); windows_core::imp::interface_hierarchy!(IAudioInputEndpointRT, windows_core::IUnknown); impl IAudioInputEndpointRT { #[cfg(feature = "Win32_Media_Audio_Apo")] @@ -819,7 +819,7 @@ pub struct IAudioInputEndpointRT_Vtbl { pub ReleaseInputDataPointer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize), pub PulseEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IAudioOutputEndpointRT, IAudioOutputEndpointRT_Vtbl, 0x8fa906e4_c31c_4e31_932e_19a66385e9aa); +windows_core::imp::define_interface!(IAudioOutputEndpointRT, IAudioOutputEndpointRT_Vtbl, 0x8fa906e4_c31c_4e31_932e_19a66385e9aa); windows_core::imp::interface_hierarchy!(IAudioOutputEndpointRT, windows_core::IUnknown); impl IAudioOutputEndpointRT { pub unsafe fn GetOutputDataPointer(&self, u32framecount: u32, paetimestamp: *const AE_CURRENT_POSITION) -> usize { @@ -844,7 +844,7 @@ pub struct IAudioOutputEndpointRT_Vtbl { pub PulseEndpoint: unsafe extern "system" fn(*mut core::ffi::c_void), } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRemoteDesktopClient, IRemoteDesktopClient_Vtbl, 0x57d25668_625a_4905_be4e_304caa13f89c); +windows_core::imp::define_interface!(IRemoteDesktopClient, IRemoteDesktopClient_Vtbl, 0x57d25668_625a_4905_be4e_304caa13f89c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRemoteDesktopClient, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -930,7 +930,7 @@ pub struct IRemoteDesktopClient_Vtbl { detachEvent: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRemoteDesktopClientActions, IRemoteDesktopClientActions_Vtbl, 0x7d54bc4e_1028_45d4_8b0a_b9b6bffba176); +windows_core::imp::define_interface!(IRemoteDesktopClientActions, IRemoteDesktopClientActions_Vtbl, 0x7d54bc4e_1028_45d4_8b0a_b9b6bffba176); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRemoteDesktopClientActions, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -959,7 +959,7 @@ pub struct IRemoteDesktopClientActions_Vtbl { pub GetSnapshot: unsafe extern "system" fn(*mut core::ffi::c_void, SnapshotEncodingType, SnapshotFormatType, u32, u32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRemoteDesktopClientSettings, IRemoteDesktopClientSettings_Vtbl, 0x48a0f2a7_2713_431f_bbac_6f4558e7d64d); +windows_core::imp::define_interface!(IRemoteDesktopClientSettings, IRemoteDesktopClientSettings_Vtbl, 0x48a0f2a7_2713_431f_bbac_6f4558e7d64d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRemoteDesktopClientSettings, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -999,7 +999,7 @@ pub struct IRemoteDesktopClientSettings_Vtbl { pub SetRdpProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRemoteDesktopClientTouchPointer, IRemoteDesktopClientTouchPointer_Vtbl, 0x260ec22d_8cbc_44b5_9e88_2a37f6c93ae9); +windows_core::imp::define_interface!(IRemoteDesktopClientTouchPointer, IRemoteDesktopClientTouchPointer_Vtbl, 0x260ec22d_8cbc_44b5_9e88_2a37f6c93ae9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRemoteDesktopClientTouchPointer, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1043,7 +1043,7 @@ pub struct IRemoteDesktopClientTouchPointer_Vtbl { pub SetPointerSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub PointerSpeed: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteSystemAdditionalInfoProvider, IRemoteSystemAdditionalInfoProvider_Vtbl, 0xeeaa3d5f_ec63_4d27_af38_e86b1d7292cb); +windows_core::imp::define_interface!(IRemoteSystemAdditionalInfoProvider, IRemoteSystemAdditionalInfoProvider_Vtbl, 0xeeaa3d5f_ec63_4d27_af38_e86b1d7292cb); windows_core::imp::interface_hierarchy!(IRemoteSystemAdditionalInfoProvider, windows_core::IUnknown); impl IRemoteSystemAdditionalInfoProvider { pub unsafe fn GetAdditionalInfo(&self, deduplicationid: *mut windows_core::HSTRING) -> windows_core::Result @@ -1059,7 +1059,7 @@ 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, } -windows_core::imp::com_interface!(ITSGAccountingEngine, ITSGAccountingEngine_Vtbl, 0x4ce2a0c9_e874_4f1a_86f4_06bbb9115338); +windows_core::imp::define_interface!(ITSGAccountingEngine, ITSGAccountingEngine_Vtbl, 0x4ce2a0c9_e874_4f1a_86f4_06bbb9115338); windows_core::imp::interface_hierarchy!(ITSGAccountingEngine, windows_core::IUnknown); impl ITSGAccountingEngine { pub unsafe fn DoAccounting(&self, accountingdatatype: AAAccountingDataType, accountingdata: AAAccountingData) -> windows_core::Result<()> { @@ -1071,7 +1071,7 @@ pub struct ITSGAccountingEngine_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DoAccounting: unsafe extern "system" fn(*mut core::ffi::c_void, AAAccountingDataType, AAAccountingData) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITSGAuthenticateUserSink, ITSGAuthenticateUserSink_Vtbl, 0x2c3e2e73_a782_47f9_8dfb_77ee1ed27a03); +windows_core::imp::define_interface!(ITSGAuthenticateUserSink, ITSGAuthenticateUserSink_Vtbl, 0x2c3e2e73_a782_47f9_8dfb_77ee1ed27a03); windows_core::imp::interface_hierarchy!(ITSGAuthenticateUserSink, windows_core::IUnknown); impl ITSGAuthenticateUserSink { pub unsafe fn OnUserAuthenticated(&self, username: P0, userdomain: P1, context: usize, usertoken: P2) -> windows_core::Result<()> @@ -1100,7 +1100,7 @@ pub struct ITSGAuthenticateUserSink_Vtbl { 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, } -windows_core::imp::com_interface!(ITSGAuthenticationEngine, ITSGAuthenticationEngine_Vtbl, 0x9ee3e5bf_04ab_4691_998c_d7f622321a56); +windows_core::imp::define_interface!(ITSGAuthenticationEngine, ITSGAuthenticationEngine_Vtbl, 0x9ee3e5bf_04ab_4691_998c_d7f622321a56); windows_core::imp::interface_hierarchy!(ITSGAuthenticationEngine, windows_core::IUnknown); impl ITSGAuthenticationEngine { pub unsafe fn AuthenticateUser(&self, mainsessionid: windows_core::GUID, cookiedata: *const u8, numcookiebytes: u32, context: usize, psink: P0) -> windows_core::Result<()> @@ -1119,7 +1119,7 @@ pub struct ITSGAuthenticationEngine_Vtbl { pub AuthenticateUser: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *const u8, u32, usize, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CancelAuthentication: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITSGAuthorizeConnectionSink, ITSGAuthorizeConnectionSink_Vtbl, 0xc27ece33_7781_4318_98ef_1cf2da7b7005); +windows_core::imp::define_interface!(ITSGAuthorizeConnectionSink, ITSGAuthorizeConnectionSink_Vtbl, 0xc27ece33_7781_4318_98ef_1cf2da7b7005); windows_core::imp::interface_hierarchy!(ITSGAuthorizeConnectionSink, windows_core::IUnknown); impl ITSGAuthorizeConnectionSink { pub unsafe fn OnConnectionAuthorized(&self, hrin: windows_core::HRESULT, mainsessionid: windows_core::GUID, pbsohresponse: &[u8], idletimeout: u32, sessiontimeout: u32, sessiontimeoutaction: SESSION_TIMEOUT_ACTION_TYPE, trustclass: AATrustClassID, policyattributes: *const u32) -> windows_core::Result<()> { @@ -1131,7 +1131,7 @@ pub struct ITSGAuthorizeConnectionSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnConnectionAuthorized: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, windows_core::GUID, u32, *const u8, u32, u32, SESSION_TIMEOUT_ACTION_TYPE, AATrustClassID, *const u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITSGAuthorizeResourceSink, ITSGAuthorizeResourceSink_Vtbl, 0xfeddfcd4_fa12_4435_ae55_7ad1a9779af7); +windows_core::imp::define_interface!(ITSGAuthorizeResourceSink, ITSGAuthorizeResourceSink_Vtbl, 0xfeddfcd4_fa12_4435_ae55_7ad1a9779af7); windows_core::imp::interface_hierarchy!(ITSGAuthorizeResourceSink, windows_core::IUnknown); impl ITSGAuthorizeResourceSink { pub unsafe fn OnChannelAuthorized(&self, hrin: windows_core::HRESULT, mainsessionid: windows_core::GUID, subsessionid: i32, allowedresourcenames: &[windows_core::BSTR], failedresourcenames: &[windows_core::BSTR]) -> windows_core::Result<()> { @@ -1143,7 +1143,7 @@ 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, } -windows_core::imp::com_interface!(ITSGPolicyEngine, ITSGPolicyEngine_Vtbl, 0x8bc24f08_6223_42f4_a5b4_8e37cd135bbd); +windows_core::imp::define_interface!(ITSGPolicyEngine, ITSGPolicyEngine_Vtbl, 0x8bc24f08_6223_42f4_a5b4_8e37cd135bbd); windows_core::imp::interface_hierarchy!(ITSGPolicyEngine, windows_core::IUnknown); impl ITSGPolicyEngine { pub unsafe fn AuthorizeConnection(&self, mainsessionid: windows_core::GUID, username: P0, authtype: AAAuthSchemes, clientmachineip: P1, clientmachinename: P2, sohdata: &[u8], cookiedata: &[u8], usertoken: P3, psink: P4) -> windows_core::Result<()> @@ -1180,7 +1180,7 @@ pub struct ITSGPolicyEngine_Vtbl { 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, } -windows_core::imp::com_interface!(ITsSbBaseNotifySink, ITsSbBaseNotifySink_Vtbl, 0x808a6537_1282_4989_9e09_f43938b71722); +windows_core::imp::define_interface!(ITsSbBaseNotifySink, ITsSbBaseNotifySink_Vtbl, 0x808a6537_1282_4989_9e09_f43938b71722); windows_core::imp::interface_hierarchy!(ITsSbBaseNotifySink, windows_core::IUnknown); impl ITsSbBaseNotifySink { pub unsafe fn OnError(&self, hrerror: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1196,7 +1196,7 @@ pub struct ITsSbBaseNotifySink_Vtbl { pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, pub OnReportStatus: unsafe extern "system" fn(*mut core::ffi::c_void, CLIENT_MESSAGE_TYPE, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbClientConnection, ITsSbClientConnection_Vtbl, 0x18857499_ad61_4b1b_b7df_cbcd41fb8338); +windows_core::imp::define_interface!(ITsSbClientConnection, ITsSbClientConnection_Vtbl, 0x18857499_ad61_4b1b_b7df_cbcd41fb8338); windows_core::imp::interface_hierarchy!(ITsSbClientConnection, windows_core::IUnknown); impl ITsSbClientConnection { pub unsafe fn UserName(&self) -> windows_core::Result { @@ -1289,7 +1289,7 @@ pub struct ITsSbClientConnection_Vtbl { pub GetDisconnectedSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -windows_core::imp::com_interface!(ITsSbClientConnectionPropertySet, ITsSbClientConnectionPropertySet_Vtbl, 0xe51995b0_46d6_11dd_aa21_cedc55d89593); +windows_core::imp::define_interface!(ITsSbClientConnectionPropertySet, ITsSbClientConnectionPropertySet_Vtbl, 0xe51995b0_46d6_11dd_aa21_cedc55d89593); #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::interface_hierarchy!(ITsSbClientConnectionPropertySet, windows_core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1315,7 +1315,7 @@ impl ITsSbClientConnectionPropertySet { pub struct ITsSbClientConnectionPropertySet_Vtbl { pub base__: ITsSbPropertySet_Vtbl, } -windows_core::imp::com_interface!(ITsSbEnvironment, ITsSbEnvironment_Vtbl, 0x8c87f7f7_bf51_4a5c_87bf_8e94fb6e2256); +windows_core::imp::define_interface!(ITsSbEnvironment, ITsSbEnvironment_Vtbl, 0x8c87f7f7_bf51_4a5c_87bf_8e94fb6e2256); windows_core::imp::interface_hierarchy!(ITsSbEnvironment, windows_core::IUnknown); impl ITsSbEnvironment { pub unsafe fn Name(&self) -> windows_core::Result { @@ -1354,7 +1354,7 @@ pub struct ITsSbEnvironment_Vtbl { SetEnvironmentPropertySet: usize, } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -windows_core::imp::com_interface!(ITsSbEnvironmentPropertySet, ITsSbEnvironmentPropertySet_Vtbl, 0xd0d1bf7e_7acf_11dd_a243_e51156d89593); +windows_core::imp::define_interface!(ITsSbEnvironmentPropertySet, ITsSbEnvironmentPropertySet_Vtbl, 0xd0d1bf7e_7acf_11dd_a243_e51156d89593); #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::interface_hierarchy!(ITsSbEnvironmentPropertySet, windows_core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1380,7 +1380,7 @@ impl ITsSbEnvironmentPropertySet { pub struct ITsSbEnvironmentPropertySet_Vtbl { pub base__: ITsSbPropertySet_Vtbl, } -windows_core::imp::com_interface!(ITsSbFilterPluginStore, ITsSbFilterPluginStore_Vtbl, 0x85b44b0f_ed78_413f_9702_fa6d3b5ee755); +windows_core::imp::define_interface!(ITsSbFilterPluginStore, ITsSbFilterPluginStore_Vtbl, 0x85b44b0f_ed78_413f_9702_fa6d3b5ee755); windows_core::imp::interface_hierarchy!(ITsSbFilterPluginStore, windows_core::IUnknown); impl ITsSbFilterPluginStore { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1415,7 +1415,7 @@ pub struct ITsSbFilterPluginStore_Vtbl { EnumerateProperties: usize, pub DeleteProperties: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbGenericNotifySink, ITsSbGenericNotifySink_Vtbl, 0x4c4c8c4f_300b_46ad_9164_8468a7e7568c); +windows_core::imp::define_interface!(ITsSbGenericNotifySink, ITsSbGenericNotifySink_Vtbl, 0x4c4c8c4f_300b_46ad_9164_8468a7e7568c); windows_core::imp::interface_hierarchy!(ITsSbGenericNotifySink, windows_core::IUnknown); impl ITsSbGenericNotifySink { pub unsafe fn OnCompleted(&self, status: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1432,7 +1432,7 @@ pub struct ITsSbGenericNotifySink_Vtbl { pub OnCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, pub GetWaitTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbGlobalStore, ITsSbGlobalStore_Vtbl, 0x9ab60f7b_bd72_4d9f_8a3a_a0ea5574e635); +windows_core::imp::define_interface!(ITsSbGlobalStore, ITsSbGlobalStore_Vtbl, 0x9ab60f7b_bd72_4d9f_8a3a_a0ea5574e635); windows_core::imp::interface_hierarchy!(ITsSbGlobalStore, windows_core::IUnknown); impl ITsSbGlobalStore { pub unsafe fn QueryTarget(&self, providername: P0, targetname: P1, farmname: P2) -> windows_core::Result @@ -1506,7 +1506,7 @@ pub struct ITsSbGlobalStore_Vtbl { 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, } -windows_core::imp::com_interface!(ITsSbLoadBalanceResult, ITsSbLoadBalanceResult_Vtbl, 0x24fdb7ac_fea6_11dc_9672_9a8956d89593); +windows_core::imp::define_interface!(ITsSbLoadBalanceResult, ITsSbLoadBalanceResult_Vtbl, 0x24fdb7ac_fea6_11dc_9672_9a8956d89593); windows_core::imp::interface_hierarchy!(ITsSbLoadBalanceResult, windows_core::IUnknown); impl ITsSbLoadBalanceResult { pub unsafe fn TargetName(&self) -> windows_core::Result { @@ -1519,7 +1519,7 @@ 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, } -windows_core::imp::com_interface!(ITsSbLoadBalancing, ITsSbLoadBalancing_Vtbl, 0x24329274_9eb7_11dc_ae98_f2b456d89593); +windows_core::imp::define_interface!(ITsSbLoadBalancing, ITsSbLoadBalancing_Vtbl, 0x24329274_9eb7_11dc_ae98_f2b456d89593); windows_core::imp::interface_hierarchy!(ITsSbLoadBalancing, windows_core::IUnknown, ITsSbPlugin); impl ITsSbLoadBalancing { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1547,7 +1547,7 @@ pub struct ITsSbLoadBalancing_Vtbl { pub base__: ITsSbPlugin_Vtbl, pub GetMostSuitableTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbLoadBalancingNotifySink, ITsSbLoadBalancingNotifySink_Vtbl, 0x5f8a8297_3244_4e6a_958a_27c822c1e141); +windows_core::imp::define_interface!(ITsSbLoadBalancingNotifySink, ITsSbLoadBalancingNotifySink_Vtbl, 0x5f8a8297_3244_4e6a_958a_27c822c1e141); windows_core::imp::interface_hierarchy!(ITsSbLoadBalancingNotifySink, windows_core::IUnknown, ITsSbBaseNotifySink); impl ITsSbLoadBalancingNotifySink { pub unsafe fn OnError(&self, hrerror: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1569,7 +1569,7 @@ pub struct ITsSbLoadBalancingNotifySink_Vtbl { pub base__: ITsSbBaseNotifySink_Vtbl, pub OnGetMostSuitableTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbOrchestration, ITsSbOrchestration_Vtbl, 0x64fc1172_9eb7_11dc_8b00_3aba56d89593); +windows_core::imp::define_interface!(ITsSbOrchestration, ITsSbOrchestration_Vtbl, 0x64fc1172_9eb7_11dc_8b00_3aba56d89593); windows_core::imp::interface_hierarchy!(ITsSbOrchestration, windows_core::IUnknown, ITsSbPlugin); impl ITsSbOrchestration { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1597,7 +1597,7 @@ pub struct ITsSbOrchestration_Vtbl { pub base__: ITsSbPlugin_Vtbl, pub PrepareTargetForConnect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbOrchestrationNotifySink, ITsSbOrchestrationNotifySink_Vtbl, 0x36c37d61_926b_442f_bca5_118c6d50dcf2); +windows_core::imp::define_interface!(ITsSbOrchestrationNotifySink, ITsSbOrchestrationNotifySink_Vtbl, 0x36c37d61_926b_442f_bca5_118c6d50dcf2); windows_core::imp::interface_hierarchy!(ITsSbOrchestrationNotifySink, windows_core::IUnknown, ITsSbBaseNotifySink); impl ITsSbOrchestrationNotifySink { pub unsafe fn OnError(&self, hrerror: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1618,7 +1618,7 @@ pub struct ITsSbOrchestrationNotifySink_Vtbl { pub base__: ITsSbBaseNotifySink_Vtbl, pub OnReadyToConnect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbPlacement, ITsSbPlacement_Vtbl, 0xdaadee5f_6d32_480e_9e36_ddab2329f06d); +windows_core::imp::define_interface!(ITsSbPlacement, ITsSbPlacement_Vtbl, 0xdaadee5f_6d32_480e_9e36_ddab2329f06d); windows_core::imp::interface_hierarchy!(ITsSbPlacement, windows_core::IUnknown, ITsSbPlugin); impl ITsSbPlacement { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1646,7 +1646,7 @@ pub struct ITsSbPlacement_Vtbl { pub base__: ITsSbPlugin_Vtbl, pub QueryEnvironmentForTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbPlacementNotifySink, ITsSbPlacementNotifySink_Vtbl, 0x68a0c487_2b4f_46c2_94a1_6ce685183634); +windows_core::imp::define_interface!(ITsSbPlacementNotifySink, ITsSbPlacementNotifySink_Vtbl, 0x68a0c487_2b4f_46c2_94a1_6ce685183634); windows_core::imp::interface_hierarchy!(ITsSbPlacementNotifySink, windows_core::IUnknown, ITsSbBaseNotifySink); impl ITsSbPlacementNotifySink { pub unsafe fn OnError(&self, hrerror: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1667,7 +1667,7 @@ pub struct ITsSbPlacementNotifySink_Vtbl { pub base__: ITsSbBaseNotifySink_Vtbl, pub OnQueryEnvironmentCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbPlugin, ITsSbPlugin_Vtbl, 0x48cd7406_caab_465f_a5d6_baa863b9ea4f); +windows_core::imp::define_interface!(ITsSbPlugin, ITsSbPlugin_Vtbl, 0x48cd7406_caab_465f_a5d6_baa863b9ea4f); windows_core::imp::interface_hierarchy!(ITsSbPlugin, windows_core::IUnknown); impl ITsSbPlugin { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1692,7 +1692,7 @@ pub struct ITsSbPlugin_Vtbl { Initialize: usize, pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbPluginNotifySink, ITsSbPluginNotifySink_Vtbl, 0x44dfe30b_c3be_40f5_bf82_7a95bb795adf); +windows_core::imp::define_interface!(ITsSbPluginNotifySink, ITsSbPluginNotifySink_Vtbl, 0x44dfe30b_c3be_40f5_bf82_7a95bb795adf); windows_core::imp::interface_hierarchy!(ITsSbPluginNotifySink, windows_core::IUnknown, ITsSbBaseNotifySink); impl ITsSbPluginNotifySink { pub unsafe fn OnError(&self, hrerror: windows_core::HRESULT) -> windows_core::Result<()> { @@ -1715,7 +1715,7 @@ pub struct ITsSbPluginNotifySink_Vtbl { pub OnTerminated: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -windows_core::imp::com_interface!(ITsSbPluginPropertySet, ITsSbPluginPropertySet_Vtbl, 0x95006e34_7eff_4b6c_bb40_49a4fda7cea6); +windows_core::imp::define_interface!(ITsSbPluginPropertySet, ITsSbPluginPropertySet_Vtbl, 0x95006e34_7eff_4b6c_bb40_49a4fda7cea6); #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::interface_hierarchy!(ITsSbPluginPropertySet, windows_core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1742,7 +1742,7 @@ pub struct ITsSbPluginPropertySet_Vtbl { pub base__: ITsSbPropertySet_Vtbl, } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -windows_core::imp::com_interface!(ITsSbPropertySet, ITsSbPropertySet_Vtbl, 0x5c025171_bb1e_4baf_a212_6d5e9774b33b); +windows_core::imp::define_interface!(ITsSbPropertySet, ITsSbPropertySet_Vtbl, 0x5c025171_bb1e_4baf_a212_6d5e9774b33b); #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::interface_hierarchy!(ITsSbPropertySet, windows_core::IUnknown, super::Com::StructuredStorage::IPropertyBag); #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1768,7 +1768,7 @@ impl ITsSbPropertySet { pub struct ITsSbPropertySet_Vtbl { pub base__: super::Com::StructuredStorage::IPropertyBag_Vtbl, } -windows_core::imp::com_interface!(ITsSbProvider, ITsSbProvider_Vtbl, 0x87a4098f_6d7b_44dd_bc17_8ce44e370d52); +windows_core::imp::define_interface!(ITsSbProvider, ITsSbProvider_Vtbl, 0x87a4098f_6d7b_44dd_bc17_8ce44e370d52); windows_core::imp::interface_hierarchy!(ITsSbProvider, windows_core::IUnknown); impl ITsSbProvider { pub unsafe fn CreateTargetObject(&self, targetname: P0, environmentname: P1) -> windows_core::Result @@ -1868,7 +1868,7 @@ pub struct ITsSbProvider_Vtbl { #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] CreateEnvironmentPropertySetObject: usize, } -windows_core::imp::com_interface!(ITsSbProvisioning, ITsSbProvisioning_Vtbl, 0x2f6f0dbb_9e4f_462b_9c3f_fccc3dcb6232); +windows_core::imp::define_interface!(ITsSbProvisioning, ITsSbProvisioning_Vtbl, 0x2f6f0dbb_9e4f_462b_9c3f_fccc3dcb6232); windows_core::imp::interface_hierarchy!(ITsSbProvisioning, windows_core::IUnknown, ITsSbPlugin); impl ITsSbProvisioning { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -1922,7 +1922,7 @@ pub struct ITsSbProvisioning_Vtbl { 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, } -windows_core::imp::com_interface!(ITsSbProvisioningPluginNotifySink, ITsSbProvisioningPluginNotifySink_Vtbl, 0xaca87a8e_818b_4581_a032_49c3dfb9c701); +windows_core::imp::define_interface!(ITsSbProvisioningPluginNotifySink, ITsSbProvisioningPluginNotifySink_Vtbl, 0xaca87a8e_818b_4581_a032_49c3dfb9c701); windows_core::imp::interface_hierarchy!(ITsSbProvisioningPluginNotifySink, windows_core::IUnknown); impl ITsSbProvisioningPluginNotifySink { pub unsafe fn OnJobCreated(&self, pvmnotifyinfo: *const VM_NOTIFY_INFO) -> windows_core::Result<()> { @@ -1964,7 +1964,7 @@ pub struct ITsSbProvisioningPluginNotifySink_Vtbl { 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, } -windows_core::imp::com_interface!(ITsSbResourceNotification, ITsSbResourceNotification_Vtbl, 0x65d3e85a_c39b_11dc_b92d_3cd255d89593); +windows_core::imp::define_interface!(ITsSbResourceNotification, ITsSbResourceNotification_Vtbl, 0x65d3e85a_c39b_11dc_b92d_3cd255d89593); windows_core::imp::interface_hierarchy!(ITsSbResourceNotification, windows_core::IUnknown); impl ITsSbResourceNotification { pub unsafe fn NotifySessionChange(&self, changetype: TSSESSION_STATE, psession: P0) -> windows_core::Result<()> @@ -1993,7 +1993,7 @@ pub struct ITsSbResourceNotification_Vtbl { pub NotifyTargetChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyClientConnectionStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, CONNECTION_CHANGE_NOTIFICATION, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbResourceNotificationEx, ITsSbResourceNotificationEx_Vtbl, 0xa8a47fde_ca91_44d2_b897_3aa28a43b2b7); +windows_core::imp::define_interface!(ITsSbResourceNotificationEx, ITsSbResourceNotificationEx_Vtbl, 0xa8a47fde_ca91_44d2_b897_3aa28a43b2b7); windows_core::imp::interface_hierarchy!(ITsSbResourceNotificationEx, windows_core::IUnknown); impl ITsSbResourceNotificationEx { pub unsafe fn NotifySessionChangeEx(&self, targetname: P0, username: P1, domain: P2, sessionid: u32, sessionstate: TSSESSION_STATE) -> windows_core::Result<()> @@ -2028,7 +2028,7 @@ pub struct ITsSbResourceNotificationEx_Vtbl { 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, } -windows_core::imp::com_interface!(ITsSbResourcePlugin, ITsSbResourcePlugin_Vtbl, 0xea8db42c_98ed_4535_a88b_2a164f35490f); +windows_core::imp::define_interface!(ITsSbResourcePlugin, ITsSbResourcePlugin_Vtbl, 0xea8db42c_98ed_4535_a88b_2a164f35490f); windows_core::imp::interface_hierarchy!(ITsSbResourcePlugin, windows_core::IUnknown, ITsSbPlugin); impl ITsSbResourcePlugin { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -2048,7 +2048,7 @@ impl ITsSbResourcePlugin { pub struct ITsSbResourcePlugin_Vtbl { pub base__: ITsSbPlugin_Vtbl, } -windows_core::imp::com_interface!(ITsSbResourcePluginStore, ITsSbResourcePluginStore_Vtbl, 0x5c38f65f_bcf1_4036_a6bf_9e3cccae0b63); +windows_core::imp::define_interface!(ITsSbResourcePluginStore, ITsSbResourcePluginStore_Vtbl, 0x5c38f65f_bcf1_4036_a6bf_9e3cccae0b63); windows_core::imp::interface_hierarchy!(ITsSbResourcePluginStore, windows_core::IUnknown); impl ITsSbResourcePluginStore { pub unsafe fn QueryTarget(&self, targetname: P0, farmname: P1) -> windows_core::Result @@ -2276,7 +2276,7 @@ pub struct ITsSbResourcePluginStore_Vtbl { 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, } -windows_core::imp::com_interface!(ITsSbServiceNotification, ITsSbServiceNotification_Vtbl, 0x86cb68ae_86e0_4f57_8a64_bb7406bc5550); +windows_core::imp::define_interface!(ITsSbServiceNotification, ITsSbServiceNotification_Vtbl, 0x86cb68ae_86e0_4f57_8a64_bb7406bc5550); windows_core::imp::interface_hierarchy!(ITsSbServiceNotification, windows_core::IUnknown); impl ITsSbServiceNotification { pub unsafe fn NotifyServiceFailure(&self) -> windows_core::Result<()> { @@ -2292,7 +2292,7 @@ pub struct ITsSbServiceNotification_Vtbl { pub NotifyServiceFailure: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyServiceSuccess: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbSession, ITsSbSession_Vtbl, 0xd453aac7_b1d8_4c5e_ba34_9afb4c8c5510); +windows_core::imp::define_interface!(ITsSbSession, ITsSbSession_Vtbl, 0xd453aac7_b1d8_4c5e_ba34_9afb4c8c5510); windows_core::imp::interface_hierarchy!(ITsSbSession, windows_core::IUnknown); impl ITsSbSession { pub unsafe fn SessionId(&self) -> windows_core::Result { @@ -2384,7 +2384,7 @@ pub struct ITsSbSession_Vtbl { pub ProtocolType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetProtocolType: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbTarget, ITsSbTarget_Vtbl, 0x16616ecc_272d_411d_b324_126893033856); +windows_core::imp::define_interface!(ITsSbTarget, ITsSbTarget_Vtbl, 0x16616ecc_272d_411d_b324_126893033856); windows_core::imp::interface_hierarchy!(ITsSbTarget, windows_core::IUnknown); impl ITsSbTarget { pub unsafe fn TargetName(&self) -> windows_core::Result { @@ -2505,7 +2505,7 @@ pub struct ITsSbTarget_Vtbl { pub TargetLoad: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com_StructuredStorage")] -windows_core::imp::com_interface!(ITsSbTargetPropertySet, ITsSbTargetPropertySet_Vtbl, 0xf7bda5d6_994c_4e11_a079_2763b61830ac); +windows_core::imp::define_interface!(ITsSbTargetPropertySet, ITsSbTargetPropertySet_Vtbl, 0xf7bda5d6_994c_4e11_a079_2763b61830ac); #[cfg(feature = "Win32_System_Com_StructuredStorage")] windows_core::imp::interface_hierarchy!(ITsSbTargetPropertySet, windows_core::IUnknown, super::Com::StructuredStorage::IPropertyBag, ITsSbPropertySet); #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -2531,7 +2531,7 @@ impl ITsSbTargetPropertySet { pub struct ITsSbTargetPropertySet_Vtbl { pub base__: ITsSbPropertySet_Vtbl, } -windows_core::imp::com_interface!(ITsSbTaskInfo, ITsSbTaskInfo_Vtbl, 0x523d1083_89be_48dd_99ea_04e82ffa7265); +windows_core::imp::define_interface!(ITsSbTaskInfo, ITsSbTaskInfo_Vtbl, 0x523d1083_89be_48dd_99ea_04e82ffa7265); windows_core::imp::interface_hierarchy!(ITsSbTaskInfo, windows_core::IUnknown); impl ITsSbTaskInfo { pub unsafe fn TargetId(&self) -> windows_core::Result { @@ -2588,7 +2588,7 @@ pub struct ITsSbTaskInfo_Vtbl { pub Plugin: 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 RDV_TASK_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITsSbTaskPlugin, ITsSbTaskPlugin_Vtbl, 0xfa22ef0f_8705_41be_93bc_44bdbcf1c9c4); +windows_core::imp::define_interface!(ITsSbTaskPlugin, ITsSbTaskPlugin_Vtbl, 0xfa22ef0f_8705_41be_93bc_44bdbcf1c9c4); windows_core::imp::interface_hierarchy!(ITsSbTaskPlugin, windows_core::IUnknown, ITsSbPlugin); impl ITsSbTaskPlugin { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -2622,7 +2622,7 @@ pub struct ITsSbTaskPlugin_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, } -windows_core::imp::com_interface!(ITsSbTaskPluginNotifySink, ITsSbTaskPluginNotifySink_Vtbl, 0x6aaf899e_c2ec_45ee_aa37_45e60895261a); +windows_core::imp::define_interface!(ITsSbTaskPluginNotifySink, ITsSbTaskPluginNotifySink_Vtbl, 0x6aaf899e_c2ec_45ee_aa37_45e60895261a); windows_core::imp::interface_hierarchy!(ITsSbTaskPluginNotifySink, windows_core::IUnknown, ITsSbBaseNotifySink); impl ITsSbTaskPluginNotifySink { pub unsafe fn OnError(&self, hrerror: windows_core::HRESULT) -> windows_core::Result<()> { @@ -2673,7 +2673,7 @@ pub struct ITsSbTaskPluginNotifySink_Vtbl { 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, } -windows_core::imp::com_interface!(IWRdsEnhancedFastReconnectArbitrator, IWRdsEnhancedFastReconnectArbitrator_Vtbl, 0x5718ae9b_47f2_499f_b634_d8175bd51131); +windows_core::imp::define_interface!(IWRdsEnhancedFastReconnectArbitrator, IWRdsEnhancedFastReconnectArbitrator_Vtbl, 0x5718ae9b_47f2_499f_b634_d8175bd51131); windows_core::imp::interface_hierarchy!(IWRdsEnhancedFastReconnectArbitrator, windows_core::IUnknown); impl IWRdsEnhancedFastReconnectArbitrator { pub unsafe fn GetSessionForEnhancedFastReconnect(&self, psessionidarray: *const i32, dwsessioncount: u32) -> windows_core::Result { @@ -2686,7 +2686,7 @@ pub struct IWRdsEnhancedFastReconnectArbitrator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSessionForEnhancedFastReconnect: unsafe extern "system" fn(*mut core::ffi::c_void, *const i32, u32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsGraphicsChannel, IWRdsGraphicsChannel_Vtbl, 0x684b7a0b_edff_43ad_d5a2_4a8d5388f401); +windows_core::imp::define_interface!(IWRdsGraphicsChannel, IWRdsGraphicsChannel_Vtbl, 0x684b7a0b_edff_43ad_d5a2_4a8d5388f401); windows_core::imp::interface_hierarchy!(IWRdsGraphicsChannel, windows_core::IUnknown); impl IWRdsGraphicsChannel { pub unsafe fn Write(&self, cbsize: u32, pbuffer: *const u8, pcontext: P0) -> windows_core::Result<()> @@ -2713,7 +2713,7 @@ pub struct IWRdsGraphicsChannel_Vtbl { pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Open: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsGraphicsChannelEvents, IWRdsGraphicsChannelEvents_Vtbl, 0x67f2368c_d674_4fae_66a5_d20628a640d2); +windows_core::imp::define_interface!(IWRdsGraphicsChannelEvents, IWRdsGraphicsChannelEvents_Vtbl, 0x67f2368c_d674_4fae_66a5_d20628a640d2); windows_core::imp::interface_hierarchy!(IWRdsGraphicsChannelEvents, windows_core::IUnknown); impl IWRdsGraphicsChannelEvents { pub unsafe fn OnDataReceived(&self, cbsize: u32, pbuffer: *const u8) -> windows_core::Result<()> { @@ -2748,7 +2748,7 @@ pub struct IWRdsGraphicsChannelEvents_Vtbl { pub OnDataSent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *const u8, u32) -> windows_core::HRESULT, pub OnMetricsUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsGraphicsChannelManager, IWRdsGraphicsChannelManager_Vtbl, 0x0fd57159_e83e_476a_a8b9_4a7976e71e18); +windows_core::imp::define_interface!(IWRdsGraphicsChannelManager, IWRdsGraphicsChannelManager_Vtbl, 0x0fd57159_e83e_476a_a8b9_4a7976e71e18); windows_core::imp::interface_hierarchy!(IWRdsGraphicsChannelManager, windows_core::IUnknown); impl IWRdsGraphicsChannelManager { pub unsafe fn CreateChannel(&self, pszchannelname: *const u8, channeltype: WRdsGraphicsChannelType) -> windows_core::Result { @@ -2761,7 +2761,7 @@ pub struct IWRdsGraphicsChannelManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateChannel: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, WRdsGraphicsChannelType, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsProtocolConnection, IWRdsProtocolConnection_Vtbl, 0x324ed94f_fdaf_4ff6_81a8_42abe755830b); +windows_core::imp::define_interface!(IWRdsProtocolConnection, IWRdsProtocolConnection_Vtbl, 0x324ed94f_fdaf_4ff6_81a8_42abe755830b); windows_core::imp::interface_hierarchy!(IWRdsProtocolConnection, windows_core::IUnknown); impl IWRdsProtocolConnection { pub unsafe fn GetLogonErrorRedirector(&self) -> windows_core::Result { @@ -2892,7 +2892,7 @@ pub struct IWRdsProtocolConnection_Vtbl { pub GetShadowConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NotifyCommandProcessCreated: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsProtocolConnectionCallback, IWRdsProtocolConnectionCallback_Vtbl, 0xf1d70332_d070_4ef1_a088_78313536c2d6); +windows_core::imp::define_interface!(IWRdsProtocolConnectionCallback, IWRdsProtocolConnectionCallback_Vtbl, 0xf1d70332_d070_4ef1_a088_78313536c2d6); windows_core::imp::interface_hierarchy!(IWRdsProtocolConnectionCallback, windows_core::IUnknown); impl IWRdsProtocolConnectionCallback { pub unsafe fn OnReady(&self) -> windows_core::Result<()> { @@ -2921,7 +2921,7 @@ pub struct IWRdsProtocolConnectionCallback_Vtbl { pub RedrawWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *const WTS_SMALL_RECT) -> windows_core::HRESULT, pub GetConnectionId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsProtocolConnectionSettings, IWRdsProtocolConnectionSettings_Vtbl, 0x83fcf5d3_f6f4_ea94_9cd2_32f280e1e510); +windows_core::imp::define_interface!(IWRdsProtocolConnectionSettings, IWRdsProtocolConnectionSettings_Vtbl, 0x83fcf5d3_f6f4_ea94_9cd2_32f280e1e510); windows_core::imp::interface_hierarchy!(IWRdsProtocolConnectionSettings, windows_core::IUnknown); impl IWRdsProtocolConnectionSettings { pub unsafe fn SetConnectionSetting(&self, propertyid: windows_core::GUID, ppropertyentriesin: *const WTS_PROPERTY_VALUE) -> windows_core::Result<()> { @@ -2937,7 +2937,7 @@ pub struct IWRdsProtocolConnectionSettings_Vtbl { pub SetConnectionSetting: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *const WTS_PROPERTY_VALUE) -> windows_core::HRESULT, pub GetConnectionSetting: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut WTS_PROPERTY_VALUE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsProtocolLicenseConnection, IWRdsProtocolLicenseConnection_Vtbl, 0x1d6a145f_d095_4424_957a_407fae822d84); +windows_core::imp::define_interface!(IWRdsProtocolLicenseConnection, IWRdsProtocolLicenseConnection_Vtbl, 0x1d6a145f_d095_4424_957a_407fae822d84); windows_core::imp::interface_hierarchy!(IWRdsProtocolLicenseConnection, windows_core::IUnknown); impl IWRdsProtocolLicenseConnection { pub unsafe fn RequestLicensingCapabilities(&self, pplicensecapabilities: *mut WTS_LICENSE_CAPABILITIES, pcblicensecapabilities: *mut u32) -> windows_core::Result<()> { @@ -2961,7 +2961,7 @@ pub struct IWRdsProtocolLicenseConnection_Vtbl { pub RequestClientLicense: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub ProtocolComplete: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsProtocolListener, IWRdsProtocolListener_Vtbl, 0xfcbc131b_c686_451d_a773_e279e230f540); +windows_core::imp::define_interface!(IWRdsProtocolListener, IWRdsProtocolListener_Vtbl, 0xfcbc131b_c686_451d_a773_e279e230f540); windows_core::imp::interface_hierarchy!(IWRdsProtocolListener, windows_core::IUnknown); impl IWRdsProtocolListener { pub unsafe fn GetSettings(&self, wrdslistenersettinglevel: WRDS_LISTENER_SETTING_LEVEL) -> windows_core::Result { @@ -2985,7 +2985,7 @@ pub struct IWRdsProtocolListener_Vtbl { pub StartListen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub StopListen: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsProtocolListenerCallback, IWRdsProtocolListenerCallback_Vtbl, 0x3ab27e5b_4449_4dc1_b74a_91621d4fe984); +windows_core::imp::define_interface!(IWRdsProtocolListenerCallback, IWRdsProtocolListenerCallback_Vtbl, 0x3ab27e5b_4449_4dc1_b74a_91621d4fe984); windows_core::imp::interface_hierarchy!(IWRdsProtocolListenerCallback, windows_core::IUnknown); impl IWRdsProtocolListenerCallback { pub unsafe fn OnConnected(&self, pconnection: P0, pwrdsconnectionsettings: *const WRDS_CONNECTION_SETTINGS) -> windows_core::Result @@ -3001,7 +3001,7 @@ pub struct IWRdsProtocolListenerCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const WRDS_CONNECTION_SETTINGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsProtocolLogonErrorRedirector, IWRdsProtocolLogonErrorRedirector_Vtbl, 0x519fe83b_142a_4120_a3d5_a405d315281a); +windows_core::imp::define_interface!(IWRdsProtocolLogonErrorRedirector, IWRdsProtocolLogonErrorRedirector_Vtbl, 0x519fe83b_142a_4120_a3d5_a405d315281a); windows_core::imp::interface_hierarchy!(IWRdsProtocolLogonErrorRedirector, windows_core::IUnknown); impl IWRdsProtocolLogonErrorRedirector { pub unsafe fn OnBeginPainting(&self) -> windows_core::Result<()> { @@ -3039,7 +3039,7 @@ pub struct IWRdsProtocolLogonErrorRedirector_Vtbl { pub RedirectMessage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, u32, *mut WTS_LOGON_ERROR_REDIRECTOR_RESPONSE) -> windows_core::HRESULT, pub RedirectLogonError: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, windows_core::PCWSTR, windows_core::PCWSTR, u32, *mut WTS_LOGON_ERROR_REDIRECTOR_RESPONSE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsProtocolManager, IWRdsProtocolManager_Vtbl, 0xdc796967_3abb_40cd_a446_105276b58950); +windows_core::imp::define_interface!(IWRdsProtocolManager, IWRdsProtocolManager_Vtbl, 0xdc796967_3abb_40cd_a446_105276b58950); windows_core::imp::interface_hierarchy!(IWRdsProtocolManager, windows_core::IUnknown); impl IWRdsProtocolManager { pub unsafe fn Initialize(&self, piwrdssettings: P0, pwrdssettings: *const WRDS_SETTINGS) -> windows_core::Result<()> @@ -3086,7 +3086,7 @@ pub struct IWRdsProtocolManager_Vtbl { pub NotifySettingsChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const WRDS_SETTINGS) -> windows_core::HRESULT, pub Uninitialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsProtocolSettings, IWRdsProtocolSettings_Vtbl, 0x654a5a6a_2550_47eb_b6f7_ebd637475265); +windows_core::imp::define_interface!(IWRdsProtocolSettings, IWRdsProtocolSettings_Vtbl, 0x654a5a6a_2550_47eb_b6f7_ebd637475265); windows_core::imp::interface_hierarchy!(IWRdsProtocolSettings, windows_core::IUnknown); impl IWRdsProtocolSettings { pub unsafe fn GetSettings(&self, wrdssettingtype: WRDS_SETTING_TYPE, wrdssettinglevel: WRDS_SETTING_LEVEL, pwrdssettings: *mut WRDS_SETTINGS) -> windows_core::Result<()> { @@ -3102,7 +3102,7 @@ pub struct IWRdsProtocolSettings_Vtbl { pub GetSettings: unsafe extern "system" fn(*mut core::ffi::c_void, WRDS_SETTING_TYPE, WRDS_SETTING_LEVEL, *mut WRDS_SETTINGS) -> windows_core::HRESULT, pub MergeSettings: unsafe extern "system" fn(*mut core::ffi::c_void, *const WRDS_SETTINGS, WRDS_CONNECTION_SETTING_LEVEL, *mut WRDS_CONNECTION_SETTINGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsProtocolShadowCallback, IWRdsProtocolShadowCallback_Vtbl, 0xe0667ce0_0372_40d6_adb2_a0f3322674d6); +windows_core::imp::define_interface!(IWRdsProtocolShadowCallback, IWRdsProtocolShadowCallback_Vtbl, 0xe0667ce0_0372_40d6_adb2_a0f3322674d6); windows_core::imp::interface_hierarchy!(IWRdsProtocolShadowCallback, windows_core::IUnknown); impl IWRdsProtocolShadowCallback { pub unsafe fn StopShadow(&self) -> windows_core::Result<()> { @@ -3122,7 +3122,7 @@ pub struct IWRdsProtocolShadowCallback_Vtbl { pub StopShadow: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub InvokeTargetShadow: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsProtocolShadowConnection, IWRdsProtocolShadowConnection_Vtbl, 0x9ae85ce6_cade_4548_8feb_99016597f60a); +windows_core::imp::define_interface!(IWRdsProtocolShadowConnection, IWRdsProtocolShadowConnection_Vtbl, 0x9ae85ce6_cade_4548_8feb_99016597f60a); windows_core::imp::interface_hierarchy!(IWRdsProtocolShadowConnection, windows_core::IUnknown); impl IWRdsProtocolShadowConnection { pub unsafe fn Start(&self, ptargetservername: P0, targetsessionid: u32, hotkeyvk: u8, hotkeymodifiers: u16, pshadowcallback: P1) -> windows_core::Result<()> @@ -3149,7 +3149,7 @@ pub struct IWRdsProtocolShadowConnection_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DoTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsWddmIddProps, IWRdsWddmIddProps_Vtbl, 0x1382df4d_a289_43d1_a184_144726f9af90); +windows_core::imp::define_interface!(IWRdsWddmIddProps, IWRdsWddmIddProps_Vtbl, 0x1382df4d_a289_43d1_a184_144726f9af90); windows_core::imp::interface_hierarchy!(IWRdsWddmIddProps, windows_core::IUnknown); impl IWRdsWddmIddProps { pub unsafe fn GetHardwareId(&self, pdisplaydriverhardwareid: &[u16]) -> windows_core::Result<()> { @@ -3179,7 +3179,7 @@ pub struct IWRdsWddmIddProps_Vtbl { pub OnDriverUnload: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub EnableWddmIdd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWRdsWddmIddProps1, IWRdsWddmIddProps1_Vtbl, 0x60f71b1a_3682_4bc7_997e_4e4f02a08148); +windows_core::imp::define_interface!(IWRdsWddmIddProps1, IWRdsWddmIddProps1_Vtbl, 0x60f71b1a_3682_4bc7_997e_4e4f02a08148); windows_core::imp::interface_hierarchy!(IWRdsWddmIddProps1, windows_core::IUnknown); impl IWRdsWddmIddProps1 { pub unsafe fn GetHardwareId(&self, pdisplaydriverhardwareid: &[u16]) -> windows_core::Result<()> { @@ -3202,7 +3202,7 @@ pub struct IWRdsWddmIddProps1_Vtbl { pub OnDriverLoad: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR) -> windows_core::HRESULT, pub OnDriverUnload: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSBitmapRenderService, IWTSBitmapRenderService_Vtbl, 0xea326091_05fe_40c1_b49c_3d2ef4626a0e); +windows_core::imp::define_interface!(IWTSBitmapRenderService, IWTSBitmapRenderService_Vtbl, 0xea326091_05fe_40c1_b49c_3d2ef4626a0e); windows_core::imp::interface_hierarchy!(IWTSBitmapRenderService, windows_core::IUnknown); impl IWTSBitmapRenderService { pub unsafe fn GetMappedRenderer(&self, mappingid: u64, pmappedrenderercallback: P0) -> windows_core::Result @@ -3218,7 +3218,7 @@ pub struct IWTSBitmapRenderService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetMappedRenderer: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSBitmapRenderer, IWTSBitmapRenderer_Vtbl, 0x5b7acc97_f3c9_46f7_8c5b_fa685d3441b1); +windows_core::imp::define_interface!(IWTSBitmapRenderer, IWTSBitmapRenderer_Vtbl, 0x5b7acc97_f3c9_46f7_8c5b_fa685d3441b1); windows_core::imp::interface_hierarchy!(IWTSBitmapRenderer, windows_core::IUnknown); impl IWTSBitmapRenderer { pub unsafe fn Render(&self, imageformat: windows_core::GUID, dwwidth: u32, dwheight: u32, cbstride: i32, pimagebuffer: &[u8]) -> windows_core::Result<()> { @@ -3239,7 +3239,7 @@ pub struct IWTSBitmapRenderer_Vtbl { pub GetRendererStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BITMAP_RENDERER_STATISTICS) -> windows_core::HRESULT, pub RemoveMapping: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSBitmapRendererCallback, IWTSBitmapRendererCallback_Vtbl, 0xd782928e_fe4e_4e77_ae90_9cd0b3e3b353); +windows_core::imp::define_interface!(IWTSBitmapRendererCallback, IWTSBitmapRendererCallback_Vtbl, 0xd782928e_fe4e_4e77_ae90_9cd0b3e3b353); windows_core::imp::interface_hierarchy!(IWTSBitmapRendererCallback, windows_core::IUnknown); impl IWTSBitmapRendererCallback { pub unsafe fn OnTargetSizeChanged(&self, rcnewsize: super::super::Foundation::RECT) -> windows_core::Result<()> { @@ -3251,7 +3251,7 @@ pub struct IWTSBitmapRendererCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnTargetSizeChanged: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSListener, IWTSListener_Vtbl, 0xa1230206_9a39_4d58_8674_cdb4dff4e73b); +windows_core::imp::define_interface!(IWTSListener, IWTSListener_Vtbl, 0xa1230206_9a39_4d58_8674_cdb4dff4e73b); windows_core::imp::interface_hierarchy!(IWTSListener, windows_core::IUnknown); impl IWTSListener { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -3268,7 +3268,7 @@ pub struct IWTSListener_Vtbl { #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] GetConfiguration: usize, } -windows_core::imp::com_interface!(IWTSListenerCallback, IWTSListenerCallback_Vtbl, 0xa1230203_d6a7_11d8_b9fd_000bdbd1f198); +windows_core::imp::define_interface!(IWTSListenerCallback, IWTSListenerCallback_Vtbl, 0xa1230203_d6a7_11d8_b9fd_000bdbd1f198); windows_core::imp::interface_hierarchy!(IWTSListenerCallback, windows_core::IUnknown); impl IWTSListenerCallback { pub unsafe fn OnNewChannelConnection(&self, pchannel: P0, data: P1, pbaccept: *mut super::super::Foundation::BOOL, ppcallback: *mut Option) -> windows_core::Result<()> @@ -3284,7 +3284,7 @@ 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, } -windows_core::imp::com_interface!(IWTSPlugin, IWTSPlugin_Vtbl, 0xa1230201_1439_4e62_a414_190d0ac3d40e); +windows_core::imp::define_interface!(IWTSPlugin, IWTSPlugin_Vtbl, 0xa1230201_1439_4e62_a414_190d0ac3d40e); windows_core::imp::interface_hierarchy!(IWTSPlugin, windows_core::IUnknown); impl IWTSPlugin { pub unsafe fn Initialize(&self, pchannelmgr: P0) -> windows_core::Result<()> @@ -3311,7 +3311,7 @@ pub struct IWTSPlugin_Vtbl { pub Disconnected: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Terminated: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSPluginServiceProvider, IWTSPluginServiceProvider_Vtbl, 0xd3e07363_087c_476c_86a7_dbb15f46ddb4); +windows_core::imp::define_interface!(IWTSPluginServiceProvider, IWTSPluginServiceProvider_Vtbl, 0xd3e07363_087c_476c_86a7_dbb15f46ddb4); windows_core::imp::interface_hierarchy!(IWTSPluginServiceProvider, windows_core::IUnknown); impl IWTSPluginServiceProvider { pub unsafe fn GetService(&self, serviceid: windows_core::GUID) -> windows_core::Result { @@ -3324,7 +3324,7 @@ pub struct IWTSPluginServiceProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSProtocolConnection, IWTSProtocolConnection_Vtbl, 0x23083765_9095_4648_98bf_ef81c914032d); +windows_core::imp::define_interface!(IWTSProtocolConnection, IWTSProtocolConnection_Vtbl, 0x23083765_9095_4648_98bf_ef81c914032d); windows_core::imp::interface_hierarchy!(IWTSProtocolConnection, windows_core::IUnknown); impl IWTSProtocolConnection { pub unsafe fn GetLogonErrorRedirector(&self) -> windows_core::Result { @@ -3447,7 +3447,7 @@ pub struct IWTSProtocolConnection_Vtbl { pub QueryProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, u32, u32, *const WTS_PROPERTY_VALUE, *mut WTS_PROPERTY_VALUE) -> windows_core::HRESULT, pub GetShadowConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSProtocolConnectionCallback, IWTSProtocolConnectionCallback_Vtbl, 0x23083765_75eb_41fe_b4fb_e086242afa0f); +windows_core::imp::define_interface!(IWTSProtocolConnectionCallback, IWTSProtocolConnectionCallback_Vtbl, 0x23083765_75eb_41fe_b4fb_e086242afa0f); windows_core::imp::interface_hierarchy!(IWTSProtocolConnectionCallback, windows_core::IUnknown); impl IWTSProtocolConnectionCallback { pub unsafe fn OnReady(&self) -> windows_core::Result<()> { @@ -3475,7 +3475,7 @@ pub struct IWTSProtocolConnectionCallback_Vtbl { pub RedrawWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *const WTS_SMALL_RECT) -> windows_core::HRESULT, pub DisplayIOCtl: unsafe extern "system" fn(*mut core::ffi::c_void, *const WTS_DISPLAY_IOCTL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSProtocolLicenseConnection, IWTSProtocolLicenseConnection_Vtbl, 0x23083765_178c_4079_8e4a_fea6496a4d70); +windows_core::imp::define_interface!(IWTSProtocolLicenseConnection, IWTSProtocolLicenseConnection_Vtbl, 0x23083765_178c_4079_8e4a_fea6496a4d70); windows_core::imp::interface_hierarchy!(IWTSProtocolLicenseConnection, windows_core::IUnknown); impl IWTSProtocolLicenseConnection { pub unsafe fn RequestLicensingCapabilities(&self, pplicensecapabilities: *mut WTS_LICENSE_CAPABILITIES, pcblicensecapabilities: *mut u32) -> windows_core::Result<()> { @@ -3499,7 +3499,7 @@ pub struct IWTSProtocolLicenseConnection_Vtbl { pub RequestClientLicense: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub ProtocolComplete: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSProtocolListener, IWTSProtocolListener_Vtbl, 0x23083765_45f0_4394_8f69_32b2bc0ef4ca); +windows_core::imp::define_interface!(IWTSProtocolListener, IWTSProtocolListener_Vtbl, 0x23083765_45f0_4394_8f69_32b2bc0ef4ca); windows_core::imp::interface_hierarchy!(IWTSProtocolListener, windows_core::IUnknown); impl IWTSProtocolListener { pub unsafe fn StartListen(&self, pcallback: P0) -> windows_core::Result<()> @@ -3518,7 +3518,7 @@ pub struct IWTSProtocolListener_Vtbl { pub StartListen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub StopListen: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSProtocolListenerCallback, IWTSProtocolListenerCallback_Vtbl, 0x23083765_1a2d_4de2_97de_4a35f260f0b3); +windows_core::imp::define_interface!(IWTSProtocolListenerCallback, IWTSProtocolListenerCallback_Vtbl, 0x23083765_1a2d_4de2_97de_4a35f260f0b3); windows_core::imp::interface_hierarchy!(IWTSProtocolListenerCallback, windows_core::IUnknown); impl IWTSProtocolListenerCallback { pub unsafe fn OnConnected(&self, pconnection: P0) -> windows_core::Result @@ -3534,7 +3534,7 @@ pub struct IWTSProtocolListenerCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSProtocolLogonErrorRedirector, IWTSProtocolLogonErrorRedirector_Vtbl, 0xfd9b61a7_2916_4627_8dee_4328711ad6cb); +windows_core::imp::define_interface!(IWTSProtocolLogonErrorRedirector, IWTSProtocolLogonErrorRedirector_Vtbl, 0xfd9b61a7_2916_4627_8dee_4328711ad6cb); windows_core::imp::interface_hierarchy!(IWTSProtocolLogonErrorRedirector, windows_core::IUnknown); impl IWTSProtocolLogonErrorRedirector { pub unsafe fn OnBeginPainting(&self) -> windows_core::Result<()> { @@ -3572,7 +3572,7 @@ pub struct IWTSProtocolLogonErrorRedirector_Vtbl { pub RedirectMessage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, u32, *mut WTS_LOGON_ERROR_REDIRECTOR_RESPONSE) -> windows_core::HRESULT, pub RedirectLogonError: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, windows_core::PCWSTR, windows_core::PCWSTR, u32, *mut WTS_LOGON_ERROR_REDIRECTOR_RESPONSE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSProtocolManager, IWTSProtocolManager_Vtbl, 0xf9eaf6cc_ed79_4f01_821d_1f881b9f66cc); +windows_core::imp::define_interface!(IWTSProtocolManager, IWTSProtocolManager_Vtbl, 0xf9eaf6cc_ed79_4f01_821d_1f881b9f66cc); windows_core::imp::interface_hierarchy!(IWTSProtocolManager, windows_core::IUnknown); impl IWTSProtocolManager { pub unsafe fn CreateListener(&self, wszlistenername: P0) -> windows_core::Result @@ -3604,7 +3604,7 @@ pub struct IWTSProtocolManager_Vtbl { pub NotifySessionOfServiceStop: unsafe extern "system" fn(*mut core::ffi::c_void, *const WTS_SESSION_ID) -> windows_core::HRESULT, pub NotifySessionStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const WTS_SESSION_ID, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSProtocolShadowCallback, IWTSProtocolShadowCallback_Vtbl, 0x503a2504_aae5_4ab1_93e0_6d1c4bc6f71a); +windows_core::imp::define_interface!(IWTSProtocolShadowCallback, IWTSProtocolShadowCallback_Vtbl, 0x503a2504_aae5_4ab1_93e0_6d1c4bc6f71a); windows_core::imp::interface_hierarchy!(IWTSProtocolShadowCallback, windows_core::IUnknown); impl IWTSProtocolShadowCallback { pub unsafe fn StopShadow(&self) -> windows_core::Result<()> { @@ -3624,7 +3624,7 @@ pub struct IWTSProtocolShadowCallback_Vtbl { pub StopShadow: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub InvokeTargetShadow: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSProtocolShadowConnection, IWTSProtocolShadowConnection_Vtbl, 0xee3b0c14_37fb_456b_bab3_6d6cd51e13bf); +windows_core::imp::define_interface!(IWTSProtocolShadowConnection, IWTSProtocolShadowConnection_Vtbl, 0xee3b0c14_37fb_456b_bab3_6d6cd51e13bf); windows_core::imp::interface_hierarchy!(IWTSProtocolShadowConnection, windows_core::IUnknown); impl IWTSProtocolShadowConnection { pub unsafe fn Start(&self, ptargetservername: P0, targetsessionid: u32, hotkeyvk: u8, hotkeymodifiers: u16, pshadowcallback: P1) -> windows_core::Result<()> @@ -3651,7 +3651,7 @@ pub struct IWTSProtocolShadowConnection_Vtbl { pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DoTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *const u8, u32, *const u8, u32, *const u8, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSSBPlugin, IWTSSBPlugin_Vtbl, 0xdc44be78_b18d_4399_b210_641bf67a002c); +windows_core::imp::define_interface!(IWTSSBPlugin, IWTSSBPlugin_Vtbl, 0xdc44be78_b18d_4399_b210_641bf67a002c); windows_core::imp::interface_hierarchy!(IWTSSBPlugin, windows_core::IUnknown); impl IWTSSBPlugin { pub unsafe fn Initialize(&self) -> windows_core::Result { @@ -3695,7 +3695,7 @@ pub struct IWTSSBPlugin_Vtbl { pub Terminated: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub WTSSBX_GetUserExternalSession: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *const WTSSBX_IP_ADDRESS, *mut u32, *mut WTSSBX_MACHINE_CONNECT_INFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSVirtualChannel, IWTSVirtualChannel_Vtbl, 0xa1230207_d6a7_11d8_b9fd_000bdbd1f198); +windows_core::imp::define_interface!(IWTSVirtualChannel, IWTSVirtualChannel_Vtbl, 0xa1230207_d6a7_11d8_b9fd_000bdbd1f198); windows_core::imp::interface_hierarchy!(IWTSVirtualChannel, windows_core::IUnknown); impl IWTSVirtualChannel { pub unsafe fn Write(&self, pbuffer: &[u8], preserved: P0) -> windows_core::Result<()> @@ -3714,7 +3714,7 @@ pub struct IWTSVirtualChannel_Vtbl { pub Write: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSVirtualChannelCallback, IWTSVirtualChannelCallback_Vtbl, 0xa1230204_d6a7_11d8_b9fd_000bdbd1f198); +windows_core::imp::define_interface!(IWTSVirtualChannelCallback, IWTSVirtualChannelCallback_Vtbl, 0xa1230204_d6a7_11d8_b9fd_000bdbd1f198); windows_core::imp::interface_hierarchy!(IWTSVirtualChannelCallback, windows_core::IUnknown); impl IWTSVirtualChannelCallback { pub unsafe fn OnDataReceived(&self, pbuffer: &[u8]) -> windows_core::Result<()> { @@ -3730,7 +3730,7 @@ pub struct IWTSVirtualChannelCallback_Vtbl { pub OnDataReceived: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u8) -> windows_core::HRESULT, pub OnClose: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWTSVirtualChannelManager, IWTSVirtualChannelManager_Vtbl, 0xa1230205_d6a7_11d8_b9fd_000bdbd1f198); +windows_core::imp::define_interface!(IWTSVirtualChannelManager, IWTSVirtualChannelManager_Vtbl, 0xa1230205_d6a7_11d8_b9fd_000bdbd1f198); windows_core::imp::interface_hierarchy!(IWTSVirtualChannelManager, windows_core::IUnknown); impl IWTSVirtualChannelManager { pub unsafe fn CreateListener(&self, pszchannelname: P0, uflags: u32, plistenercallback: P1) -> windows_core::Result @@ -3747,7 +3747,7 @@ pub struct IWTSVirtualChannelManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateListener: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWorkspace, IWorkspace_Vtbl, 0xb922bbb8_4c55_4fea_8496_beb0b44285e5); +windows_core::imp::define_interface!(IWorkspace, IWorkspace_Vtbl, 0xb922bbb8_4c55_4fea_8496_beb0b44285e5); windows_core::imp::interface_hierarchy!(IWorkspace, windows_core::IUnknown); impl IWorkspace { #[cfg(feature = "Win32_System_Com")] @@ -3780,7 +3780,7 @@ pub struct IWorkspace_Vtbl { StartRemoteApplication: usize, pub GetProcessId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWorkspace2, IWorkspace2_Vtbl, 0x96d8d7cf_783e_4286_834c_ebc0e95f783c); +windows_core::imp::define_interface!(IWorkspace2, IWorkspace2_Vtbl, 0x96d8d7cf_783e_4286_834c_ebc0e95f783c); windows_core::imp::interface_hierarchy!(IWorkspace2, windows_core::IUnknown, IWorkspace); impl IWorkspace2 { #[cfg(feature = "Win32_System_Com")] @@ -3819,7 +3819,7 @@ pub struct IWorkspace2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] StartRemoteApplicationEx: usize, } -windows_core::imp::com_interface!(IWorkspace3, IWorkspace3_Vtbl, 0x1becbe4a_d654_423b_afeb_be8d532c13c6); +windows_core::imp::define_interface!(IWorkspace3, IWorkspace3_Vtbl, 0x1becbe4a_d654_423b_afeb_be8d532c13c6); windows_core::imp::interface_hierarchy!(IWorkspace3, windows_core::IUnknown, IWorkspace, IWorkspace2); impl IWorkspace3 { #[cfg(feature = "Win32_System_Com")] @@ -3871,7 +3871,7 @@ pub struct IWorkspace3_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, } -windows_core::imp::com_interface!(IWorkspaceClientExt, IWorkspaceClientExt_Vtbl, 0x12b952f4_41ca_4f21_a829_a6d07d9a16e5); +windows_core::imp::define_interface!(IWorkspaceClientExt, IWorkspaceClientExt_Vtbl, 0x12b952f4_41ca_4f21_a829_a6d07d9a16e5); windows_core::imp::interface_hierarchy!(IWorkspaceClientExt, windows_core::IUnknown); impl IWorkspaceClientExt { pub unsafe fn GetResourceId(&self) -> windows_core::Result { @@ -3893,7 +3893,7 @@ pub struct IWorkspaceClientExt_Vtbl { pub GetResourceDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub IssueDisconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWorkspaceRegistration, IWorkspaceRegistration_Vtbl, 0xb922bbb8_4c55_4fea_8496_beb0b44285e6); +windows_core::imp::define_interface!(IWorkspaceRegistration, IWorkspaceRegistration_Vtbl, 0xb922bbb8_4c55_4fea_8496_beb0b44285e6); windows_core::imp::interface_hierarchy!(IWorkspaceRegistration, windows_core::IUnknown); impl IWorkspaceRegistration { pub unsafe fn AddResource(&self, punk: P0) -> windows_core::Result @@ -3913,7 +3913,7 @@ pub struct IWorkspaceRegistration_Vtbl { pub AddResource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub RemoveResource: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWorkspaceRegistration2, IWorkspaceRegistration2_Vtbl, 0xcf59f654_39bb_44d8_94d0_4635728957e9); +windows_core::imp::define_interface!(IWorkspaceRegistration2, IWorkspaceRegistration2_Vtbl, 0xcf59f654_39bb_44d8_94d0_4635728957e9); windows_core::imp::interface_hierarchy!(IWorkspaceRegistration2, windows_core::IUnknown, IWorkspaceRegistration); impl IWorkspaceRegistration2 { pub unsafe fn AddResource(&self, punk: P0) -> windows_core::Result @@ -3943,7 +3943,7 @@ pub struct IWorkspaceRegistration2_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 RemoveResourceEx: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWorkspaceReportMessage, IWorkspaceReportMessage_Vtbl, 0xa7c06739_500f_4e8c_99a8_2bd6955899eb); +windows_core::imp::define_interface!(IWorkspaceReportMessage, IWorkspaceReportMessage_Vtbl, 0xa7c06739_500f_4e8c_99a8_2bd6955899eb); windows_core::imp::interface_hierarchy!(IWorkspaceReportMessage, windows_core::IUnknown); impl IWorkspaceReportMessage { pub unsafe fn RegisterErrorLogMessage(&self, bstrmessage: P0) -> windows_core::Result<()> @@ -3976,7 +3976,7 @@ pub struct IWorkspaceReportMessage_Vtbl { pub RegisterErrorEvent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, u32, std::mem::MaybeUninit, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWorkspaceResTypeRegistry, IWorkspaceResTypeRegistry_Vtbl, 0x1d428c79_6e2e_4351_a361_c0401a03a0ba); +windows_core::imp::define_interface!(IWorkspaceResTypeRegistry, IWorkspaceResTypeRegistry_Vtbl, 0x1d428c79_6e2e_4351_a361_c0401a03a0ba); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWorkspaceResTypeRegistry, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4035,7 +4035,7 @@ pub struct IWorkspaceResTypeRegistry_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWorkspaceScriptable, IWorkspaceScriptable_Vtbl, 0xefea49a2_dda5_429d_8f42_b23b92c4c347); +windows_core::imp::define_interface!(IWorkspaceScriptable, IWorkspaceScriptable_Vtbl, 0xefea49a2_dda5_429d_8f42_b23b92c4c347); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWorkspaceScriptable, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4100,7 +4100,7 @@ pub struct IWorkspaceScriptable_Vtbl { pub DisconnectWorkspaceByFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWorkspaceScriptable2, IWorkspaceScriptable2_Vtbl, 0xefea49a2_dda5_429d_8f42_b33ba2c4c348); +windows_core::imp::define_interface!(IWorkspaceScriptable2, IWorkspaceScriptable2_Vtbl, 0xefea49a2_dda5_429d_8f42_b33ba2c4c348); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWorkspaceScriptable2, windows_core::IUnknown, super::Com::IDispatch, IWorkspaceScriptable); #[cfg(feature = "Win32_System_Com")] @@ -4179,7 +4179,7 @@ pub struct IWorkspaceScriptable2_Vtbl { pub ResourceDismissed: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWorkspaceScriptable3, IWorkspaceScriptable3_Vtbl, 0x531e6512_2cbf_4bd2_80a5_d90a71636a9a); +windows_core::imp::define_interface!(IWorkspaceScriptable3, IWorkspaceScriptable3_Vtbl, 0x531e6512_2cbf_4bd2_80a5_d90a71636a9a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWorkspaceScriptable3, windows_core::IUnknown, super::Com::IDispatch, IWorkspaceScriptable, IWorkspaceScriptable2); #[cfg(feature = "Win32_System_Com")] @@ -4269,7 +4269,7 @@ 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, } -windows_core::imp::com_interface!(ItsPubPlugin, ItsPubPlugin_Vtbl, 0x70c04b05_f347_412b_822f_36c99c54ca45); +windows_core::imp::define_interface!(ItsPubPlugin, ItsPubPlugin_Vtbl, 0x70c04b05_f347_412b_822f_36c99c54ca45); windows_core::imp::interface_hierarchy!(ItsPubPlugin, windows_core::IUnknown); impl ItsPubPlugin { pub unsafe fn GetResourceList(&self, userid: P0, pceapplistsize: *mut i32, resourcelist: *mut *mut pluginResource) -> windows_core::Result<()> @@ -4314,7 +4314,7 @@ pub struct ItsPubPlugin_Vtbl { pub pluginVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(ItsPubPlugin2, ItsPubPlugin2_Vtbl, 0xfa4ce418_aad7_4ec6_bad1_0a321ba465d5); +windows_core::imp::define_interface!(ItsPubPlugin2, ItsPubPlugin2_Vtbl, 0xfa4ce418_aad7_4ec6_bad1_0a321ba465d5); windows_core::imp::interface_hierarchy!(ItsPubPlugin2, windows_core::IUnknown, ItsPubPlugin); impl ItsPubPlugin2 { pub unsafe fn GetResourceList(&self, userid: P0, pceapplistsize: *mut i32, resourcelist: *mut *mut pluginResource) -> windows_core::Result<()> @@ -4385,7 +4385,7 @@ pub struct ItsPubPlugin2_Vtbl { pub DeletePersonalDesktopAssignment: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_ITSWkspEvents, _ITSWkspEvents_Vtbl, 0xb922bbb8_4c55_4fea_8496_beb0b44285e9); +windows_core::imp::define_interface!(_ITSWkspEvents, _ITSWkspEvents_Vtbl, 0xb922bbb8_4c55_4fea_8496_beb0b44285e9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_ITSWkspEvents, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 c87fdccedd..fad0e92b9f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -283,7 +283,7 @@ where result__ } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSMan, IWSMan_Vtbl, 0x190d8637_5cd3_496d_ad24_69636bb5a3b5); +windows_core::imp::define_interface!(IWSMan, IWSMan_Vtbl, 0x190d8637_5cd3_496d_ad24_69636bb5a3b5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSMan, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -327,7 +327,7 @@ pub struct IWSMan_Vtbl { pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSManConnectionOptions, IWSManConnectionOptions_Vtbl, 0xf704e861_9e52_464f_b786_da5eb2320fdd); +windows_core::imp::define_interface!(IWSManConnectionOptions, IWSManConnectionOptions_Vtbl, 0xf704e861_9e52_464f_b786_da5eb2320fdd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSManConnectionOptions, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -358,7 +358,7 @@ pub struct IWSManConnectionOptions_Vtbl { pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSManConnectionOptionsEx, IWSManConnectionOptionsEx_Vtbl, 0xef43edf7_2a48_4d93_9526_8bd6ab6d4a6b); +windows_core::imp::define_interface!(IWSManConnectionOptionsEx, IWSManConnectionOptionsEx_Vtbl, 0xef43edf7_2a48_4d93_9526_8bd6ab6d4a6b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSManConnectionOptionsEx, windows_core::IUnknown, super::Com::IDispatch, IWSManConnectionOptions); #[cfg(feature = "Win32_System_Com")] @@ -398,7 +398,7 @@ pub struct IWSManConnectionOptionsEx_Vtbl { pub SetCertificateThumbprint: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSManConnectionOptionsEx2, IWSManConnectionOptionsEx2_Vtbl, 0xf500c9ec_24ee_48ab_b38d_fc9a164c658e); +windows_core::imp::define_interface!(IWSManConnectionOptionsEx2, IWSManConnectionOptionsEx2_Vtbl, 0xf500c9ec_24ee_48ab_b38d_fc9a164c658e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSManConnectionOptionsEx2, windows_core::IUnknown, super::Com::IDispatch, IWSManConnectionOptions, IWSManConnectionOptionsEx); #[cfg(feature = "Win32_System_Com")] @@ -479,7 +479,7 @@ pub struct IWSManConnectionOptionsEx2_Vtbl { pub ProxyAuthenticationUseDigest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSManEnumerator, IWSManEnumerator_Vtbl, 0xf3457ca9_abb9_4fa5_b850_90e8ca300e7f); +windows_core::imp::define_interface!(IWSManEnumerator, IWSManEnumerator_Vtbl, 0xf3457ca9_abb9_4fa5_b850_90e8ca300e7f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSManEnumerator, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -506,7 +506,7 @@ pub struct IWSManEnumerator_Vtbl { pub Error: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSManEx, IWSManEx_Vtbl, 0x2d53bdaa_798e_49e6_a1aa_74d01256f411); +windows_core::imp::define_interface!(IWSManEx, IWSManEx_Vtbl, 0x2d53bdaa_798e_49e6_a1aa_74d01256f411); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSManEx, windows_core::IUnknown, super::Com::IDispatch, IWSMan); #[cfg(feature = "Win32_System_Com")] @@ -647,7 +647,7 @@ pub struct IWSManEx_Vtbl { pub EnumerationFlagReturnObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSManEx2, IWSManEx2_Vtbl, 0x1d1b5ae0_42d9_4021_8261_3987619512e9); +windows_core::imp::define_interface!(IWSManEx2, IWSManEx2_Vtbl, 0x1d1b5ae0_42d9_4021_8261_3987619512e9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSManEx2, windows_core::IUnknown, super::Com::IDispatch, IWSMan, IWSManEx); #[cfg(feature = "Win32_System_Com")] @@ -770,7 +770,7 @@ pub struct IWSManEx2_Vtbl { pub SessionFlagUseClientCertificate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSManEx3, IWSManEx3_Vtbl, 0x6400e966_011d_4eac_8474_049e0848afad); +windows_core::imp::define_interface!(IWSManEx3, IWSManEx3_Vtbl, 0x6400e966_011d_4eac_8474_049e0848afad); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSManEx3, windows_core::IUnknown, super::Com::IDispatch, IWSMan, IWSManEx, IWSManEx2); #[cfg(feature = "Win32_System_Com")] @@ -927,7 +927,7 @@ pub struct IWSManEx3_Vtbl { pub SessionFlagUseSsl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSManInternal, IWSManInternal_Vtbl, 0x04ae2b1d_9954_4d99_94a9_a961e72c3a13); +windows_core::imp::define_interface!(IWSManInternal, IWSManInternal_Vtbl, 0x04ae2b1d_9954_4d99_94a9_a961e72c3a13); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSManInternal, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -952,7 +952,7 @@ pub struct IWSManInternal_Vtbl { ConfigSDDL: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSManResourceLocator, IWSManResourceLocator_Vtbl, 0xa7a1ba28_de41_466a_ad0a_c4059ead7428); +windows_core::imp::define_interface!(IWSManResourceLocator, IWSManResourceLocator_Vtbl, 0xa7a1ba28_de41_466a_ad0a_c4059ead7428); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSManResourceLocator, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1041,7 +1041,7 @@ pub struct IWSManResourceLocator_Vtbl { 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, } -windows_core::imp::com_interface!(IWSManResourceLocatorInternal, IWSManResourceLocatorInternal_Vtbl, 0xeffaead7_7ec8_4716_b9be_f2e7e9fb4adb); +windows_core::imp::define_interface!(IWSManResourceLocatorInternal, IWSManResourceLocatorInternal_Vtbl, 0xeffaead7_7ec8_4716_b9be_f2e7e9fb4adb); windows_core::imp::interface_hierarchy!(IWSManResourceLocatorInternal, windows_core::IUnknown); impl IWSManResourceLocatorInternal {} #[repr(C)] @@ -1049,7 +1049,7 @@ pub struct IWSManResourceLocatorInternal_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSManSession, IWSManSession_Vtbl, 0xfc84fc58_1286_40c4_9da0_c8ef6ec241e0); +windows_core::imp::define_interface!(IWSManSession, IWSManSession_Vtbl, 0xfc84fc58_1286_40c4_9da0_c8ef6ec241e0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSManSession, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 117d22b449..b9f3d3f689 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs @@ -1627,7 +1627,7 @@ pub unsafe fn dbprtypeW(param0: i32) -> windows_core::PWSTR { windows_targets::link!("odbcbcp.dll" "system" fn dbprtypeW(param0 : i32) -> windows_core::PWSTR); dbprtypeW(param0) } -windows_core::imp::com_interface!(DataSource, DataSource_Vtbl, 0x7c0ffab3_cd84_11d0_949a_00a0c91110ed); +windows_core::imp::define_interface!(DataSource, DataSource_Vtbl, 0x7c0ffab3_cd84_11d0_949a_00a0c91110ed); 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 { @@ -1664,7 +1664,7 @@ pub struct DataSource_Vtbl { pub addDataSourceListener: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub removeDataSourceListener: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(DataSourceListener, DataSourceListener_Vtbl, 0x7c0ffab2_cd84_11d0_949a_00a0c91110ed); +windows_core::imp::define_interface!(DataSourceListener, DataSourceListener_Vtbl, 0x7c0ffab2_cd84_11d0_949a_00a0c91110ed); windows_core::imp::interface_hierarchy!(DataSourceListener, windows_core::IUnknown); impl DataSourceListener { pub unsafe fn dataMemberChanged(&self, bstrdm: *const u16) -> windows_core::Result<()> { @@ -1685,7 +1685,7 @@ pub struct DataSourceListener_Vtbl { pub dataMemberRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DataSourceObject, DataSourceObject_Vtbl, 0x0ae9a4e4_18d4_11d1_b3b3_00aa00c1a924); +windows_core::imp::define_interface!(DataSourceObject, DataSourceObject_Vtbl, 0x0ae9a4e4_18d4_11d1_b3b3_00aa00c1a924); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DataSourceObject, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1695,7 +1695,7 @@ impl DataSourceObject {} pub struct DataSourceObject_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(IAccessor, IAccessor_Vtbl, 0x0c733a8c_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IAccessor, IAccessor_Vtbl, 0x0c733a8c_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IAccessor, windows_core::IUnknown); impl IAccessor { pub unsafe fn AddRefAccessor(&self, haccessor: P0, pcrefcount: Option<*mut u32>) -> windows_core::Result<()> @@ -1736,7 +1736,7 @@ pub struct IAccessor_Vtbl { GetBindings: usize, pub ReleaseAccessor: unsafe extern "system" fn(*mut core::ffi::c_void, HACCESSOR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAlterIndex, IAlterIndex_Vtbl, 0x0c733aa6_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IAlterIndex, IAlterIndex_Vtbl, 0x0c733aa6_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IAlterIndex, windows_core::IUnknown); impl IAlterIndex { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -1752,7 +1752,7 @@ pub struct IAlterIndex_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] AlterIndex: usize, } -windows_core::imp::com_interface!(IAlterTable, IAlterTable_Vtbl, 0x0c733aa5_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IAlterTable, IAlterTable_Vtbl, 0x0c733aa5_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IAlterTable, windows_core::IUnknown); impl IAlterTable { #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] @@ -1776,7 +1776,7 @@ pub struct IAlterTable_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] AlterTable: usize, } -windows_core::imp::com_interface!(IBindResource, IBindResource_Vtbl, 0x0c733ab1_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IBindResource, IBindResource_Vtbl, 0x0c733ab1_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IBindResource, windows_core::IUnknown); impl IBindResource { #[cfg(feature = "Win32_System_Com")] @@ -1797,7 +1797,7 @@ pub struct IBindResource_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Bind: usize, } -windows_core::imp::com_interface!(IChapteredRowset, IChapteredRowset_Vtbl, 0x0c733a93_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IChapteredRowset, IChapteredRowset_Vtbl, 0x0c733a93_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IChapteredRowset, windows_core::IUnknown); impl IChapteredRowset { pub unsafe fn AddRefChapter(&self, hchapter: usize, pcrefcount: Option<*mut u32>) -> windows_core::Result<()> { @@ -1813,7 +1813,7 @@ pub struct IChapteredRowset_Vtbl { pub AddRefChapter: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut u32) -> windows_core::HRESULT, pub ReleaseChapter: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IColumnMapper, IColumnMapper_Vtbl, 0x0b63e37a_9ccc_11d0_bcdb_00805fccce04); +windows_core::imp::define_interface!(IColumnMapper, IColumnMapper_Vtbl, 0x0b63e37a_9ccc_11d0_bcdb_00805fccce04); windows_core::imp::interface_hierarchy!(IColumnMapper, windows_core::IUnknown); impl IColumnMapper { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -1852,7 +1852,7 @@ pub struct IColumnMapper_Vtbl { EnumPropInfo: usize, pub IsMapUpToDate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IColumnMapperCreator, IColumnMapperCreator_Vtbl, 0x0b63e37b_9ccc_11d0_bcdb_00805fccce04); +windows_core::imp::define_interface!(IColumnMapperCreator, IColumnMapperCreator_Vtbl, 0x0b63e37b_9ccc_11d0_bcdb_00805fccce04); windows_core::imp::interface_hierarchy!(IColumnMapperCreator, windows_core::IUnknown); impl IColumnMapperCreator { pub unsafe fn GetColumnMapper(&self, wcsmachinename: P0, wcscatalogname: P1) -> windows_core::Result @@ -1869,7 +1869,7 @@ pub struct IColumnMapperCreator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetColumnMapper: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IColumnsInfo, IColumnsInfo_Vtbl, 0x0c733a11_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IColumnsInfo, IColumnsInfo_Vtbl, 0x0c733a11_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IColumnsInfo, windows_core::IUnknown); impl IColumnsInfo { #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] @@ -1893,7 +1893,7 @@ pub struct IColumnsInfo_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] MapColumnIDs: usize, } -windows_core::imp::com_interface!(IColumnsInfo2, IColumnsInfo2_Vtbl, 0x0c733ab8_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IColumnsInfo2, IColumnsInfo2_Vtbl, 0x0c733ab8_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IColumnsInfo2, windows_core::IUnknown, IColumnsInfo); impl IColumnsInfo2 { #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] @@ -1917,7 +1917,7 @@ pub struct IColumnsInfo2_Vtbl { #[cfg(not(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com")))] GetRestrictedColumnInfo: usize, } -windows_core::imp::com_interface!(IColumnsRowset, IColumnsRowset_Vtbl, 0x0c733a10_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IColumnsRowset, IColumnsRowset_Vtbl, 0x0c733a10_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IColumnsRowset, windows_core::IUnknown); impl IColumnsRowset { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -1944,7 +1944,7 @@ pub struct IColumnsRowset_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] GetColumnsRowset: usize, } -windows_core::imp::com_interface!(ICommand, ICommand_Vtbl, 0x0c733a63_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ICommand, ICommand_Vtbl, 0x0c733a63_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ICommand, windows_core::IUnknown); impl ICommand { pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -1968,7 +1968,7 @@ pub struct ICommand_Vtbl { pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut DBPARAMS, *mut isize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDBSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommandCost, ICommandCost_Vtbl, 0x0c733a4e_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ICommandCost, ICommandCost_Vtbl, 0x0c733a4e_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ICommandCost, windows_core::IUnknown); impl ICommandCost { pub unsafe fn GetAccumulatedCost(&self, pwszrowsetname: P0, pccostlimits: *mut u32, prgcostlimits: *mut *mut DBCOST) -> windows_core::Result<()> @@ -2018,7 +2018,7 @@ pub struct ICommandCost_Vtbl { pub SetCostGoals: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const DBCOST) -> windows_core::HRESULT, pub SetCostLimits: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const DBCOST, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommandPersist, ICommandPersist_Vtbl, 0x0c733aa7_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ICommandPersist, ICommandPersist_Vtbl, 0x0c733aa7_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ICommandPersist, windows_core::IUnknown); impl ICommandPersist { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -2059,7 +2059,7 @@ pub struct ICommandPersist_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] SaveCommand: usize, } -windows_core::imp::com_interface!(ICommandPrepare, ICommandPrepare_Vtbl, 0x0c733a26_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ICommandPrepare, ICommandPrepare_Vtbl, 0x0c733a26_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ICommandPrepare, windows_core::IUnknown); impl ICommandPrepare { pub unsafe fn Prepare(&self, cexpectedruns: u32) -> windows_core::Result<()> { @@ -2075,7 +2075,7 @@ pub struct ICommandPrepare_Vtbl { pub Prepare: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Unprepare: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommandProperties, ICommandProperties_Vtbl, 0x0c733a79_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ICommandProperties, ICommandProperties_Vtbl, 0x0c733a79_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ICommandProperties, windows_core::IUnknown); impl ICommandProperties { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -2099,7 +2099,7 @@ pub struct ICommandProperties_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] SetProperties: usize, } -windows_core::imp::com_interface!(ICommandStream, ICommandStream_Vtbl, 0x0c733abf_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ICommandStream, ICommandStream_Vtbl, 0x0c733abf_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ICommandStream, windows_core::IUnknown); impl ICommandStream { pub unsafe fn GetCommandStream(&self, piid: Option<*mut windows_core::GUID>, pguiddialect: Option<*mut windows_core::GUID>, ppcommandstream: *mut Option) -> windows_core::Result<()> { @@ -2118,7 +2118,7 @@ pub struct ICommandStream_Vtbl { pub GetCommandStream: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, *mut windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetCommandStream: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommandText, ICommandText_Vtbl, 0x0c733a27_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ICommandText, ICommandText_Vtbl, 0x0c733a27_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ICommandText, windows_core::IUnknown, ICommand); impl ICommandText { pub unsafe fn Cancel(&self) -> windows_core::Result<()> { @@ -2150,7 +2150,7 @@ pub struct ICommandText_Vtbl { pub GetCommandText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub SetCommandText: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommandValidate, ICommandValidate_Vtbl, 0x0c733a18_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ICommandValidate, ICommandValidate_Vtbl, 0x0c733a18_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ICommandValidate, windows_core::IUnknown); impl ICommandValidate { pub unsafe fn ValidateCompletely(&self) -> windows_core::Result<()> { @@ -2166,7 +2166,7 @@ pub struct ICommandValidate_Vtbl { pub ValidateCompletely: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ValidateSyntax: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommandWithParameters, ICommandWithParameters_Vtbl, 0x0c733a64_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ICommandWithParameters, ICommandWithParameters_Vtbl, 0x0c733a64_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ICommandWithParameters, windows_core::IUnknown); impl ICommandWithParameters { #[cfg(feature = "Win32_System_Com")] @@ -2191,7 +2191,7 @@ pub struct ICommandWithParameters_Vtbl { pub SetParameterInfo: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *const usize, *const DBPARAMBINDINFO) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICondition, ICondition_Vtbl, 0x0fc988d4_c935_4b97_a973_46282ea175c8); +windows_core::imp::define_interface!(ICondition, ICondition_Vtbl, 0x0fc988d4_c935_4b97_a973_46282ea175c8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICondition, windows_core::IUnknown, super::Com::IPersist, super::Com::IPersistStream); #[cfg(feature = "Win32_System_Com")] @@ -2280,7 +2280,7 @@ pub struct ICondition_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICondition2, ICondition2_Vtbl, 0x0db8851d_2e5b_47eb_9208_d28c325a01d7); +windows_core::imp::define_interface!(ICondition2, ICondition2_Vtbl, 0x0db8851d_2e5b_47eb_9208_d28c325a01d7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICondition2, windows_core::IUnknown, super::Com::IPersist, super::Com::IPersistStream, ICondition); #[cfg(feature = "Win32_System_Com")] @@ -2365,7 +2365,7 @@ pub struct ICondition2_Vtbl { #[cfg(not(all(feature = "Win32_System_Search_Common", feature = "Win32_UI_Shell_PropertiesSystem")))] GetLeafConditionInfo: usize, } -windows_core::imp::com_interface!(IConditionFactory, IConditionFactory_Vtbl, 0xa5efe073_b16f_474f_9f3e_9f8b497a3e08); +windows_core::imp::define_interface!(IConditionFactory, IConditionFactory_Vtbl, 0xa5efe073_b16f_474f_9f3e_9f8b497a3e08); windows_core::imp::interface_hierarchy!(IConditionFactory, windows_core::IUnknown); impl IConditionFactory { #[cfg(feature = "Win32_System_Com")] @@ -2428,7 +2428,7 @@ pub struct IConditionFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Resolve: usize, } -windows_core::imp::com_interface!(IConditionFactory2, IConditionFactory2_Vtbl, 0x71d222e1_432f_429e_8c13_b6dafde5077a); +windows_core::imp::define_interface!(IConditionFactory2, IConditionFactory2_Vtbl, 0x71d222e1_432f_429e_8c13_b6dafde5077a); windows_core::imp::interface_hierarchy!(IConditionFactory2, windows_core::IUnknown, IConditionFactory); impl IConditionFactory2 { #[cfg(feature = "Win32_System_Com")] @@ -2591,7 +2591,7 @@ pub struct IConditionFactory2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ResolveCondition: usize, } -windows_core::imp::com_interface!(IConditionGenerator, IConditionGenerator_Vtbl, 0x92d2cc58_4386_45a3_b98c_7e0ce64a4117); +windows_core::imp::define_interface!(IConditionGenerator, IConditionGenerator_Vtbl, 0x92d2cc58_4386_45a3_b98c_7e0ce64a4117); windows_core::imp::interface_hierarchy!(IConditionGenerator, windows_core::IUnknown); impl IConditionGenerator { pub unsafe fn Initialize(&self, pschemaprovider: P0) -> windows_core::Result<()> @@ -2643,7 +2643,7 @@ pub struct IConditionGenerator_Vtbl { 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, } -windows_core::imp::com_interface!(IConvertType, IConvertType_Vtbl, 0x0c733a88_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IConvertType, IConvertType_Vtbl, 0x0c733a88_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IConvertType, windows_core::IUnknown); impl IConvertType { pub unsafe fn CanConvert(&self, wfromtype: u16, wtotype: u16, dwconvertflags: u32) -> windows_core::Result<()> { @@ -2655,7 +2655,7 @@ pub struct IConvertType_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CanConvert: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreateRow, ICreateRow_Vtbl, 0x0c733ab2_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ICreateRow, ICreateRow_Vtbl, 0x0c733ab2_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ICreateRow, windows_core::IUnknown); impl ICreateRow { #[cfg(feature = "Win32_System_Com")] @@ -2676,7 +2676,7 @@ pub struct ICreateRow_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateRow: usize, } -windows_core::imp::com_interface!(IDBAsynchNotify, IDBAsynchNotify_Vtbl, 0x0c733a96_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDBAsynchNotify, IDBAsynchNotify_Vtbl, 0x0c733a96_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDBAsynchNotify, windows_core::IUnknown); impl IDBAsynchNotify { pub unsafe fn OnLowResource(&self, dwreserved: usize) -> windows_core::Result<()> { @@ -2702,7 +2702,7 @@ pub struct IDBAsynchNotify_Vtbl { pub OnProgress: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, usize, usize, u32, windows_core::PCWSTR) -> windows_core::HRESULT, pub OnStop: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, windows_core::HRESULT, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDBAsynchStatus, IDBAsynchStatus_Vtbl, 0x0c733a95_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDBAsynchStatus, IDBAsynchStatus_Vtbl, 0x0c733a95_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDBAsynchStatus, windows_core::IUnknown); impl IDBAsynchStatus { pub unsafe fn Abort(&self, hchapter: usize, eoperation: u32) -> windows_core::Result<()> { @@ -2718,7 +2718,7 @@ pub struct IDBAsynchStatus_Vtbl { pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32) -> windows_core::HRESULT, pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *mut usize, *mut usize, *mut u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDBBinderProperties, IDBBinderProperties_Vtbl, 0x0c733ab3_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDBBinderProperties, IDBBinderProperties_Vtbl, 0x0c733ab3_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDBBinderProperties, windows_core::IUnknown, IDBProperties); impl IDBBinderProperties { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -2742,7 +2742,7 @@ pub struct IDBBinderProperties_Vtbl { pub base__: IDBProperties_Vtbl, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDBCreateCommand, IDBCreateCommand_Vtbl, 0x0c733a1d_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDBCreateCommand, IDBCreateCommand_Vtbl, 0x0c733a1d_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDBCreateCommand, windows_core::IUnknown); impl IDBCreateCommand { pub unsafe fn CreateCommand(&self, punkouter: P0, riid: *const windows_core::GUID) -> windows_core::Result @@ -2758,7 +2758,7 @@ pub struct IDBCreateCommand_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDBCreateSession, IDBCreateSession_Vtbl, 0x0c733a5d_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDBCreateSession, IDBCreateSession_Vtbl, 0x0c733a5d_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDBCreateSession, windows_core::IUnknown); impl IDBCreateSession { pub unsafe fn CreateSession(&self, punkouter: P0, riid: *const windows_core::GUID) -> windows_core::Result @@ -2774,7 +2774,7 @@ pub struct IDBCreateSession_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDBDataSourceAdmin, IDBDataSourceAdmin_Vtbl, 0x0c733a7a_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDBDataSourceAdmin, IDBDataSourceAdmin_Vtbl, 0x0c733a7a_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDBDataSourceAdmin, windows_core::IUnknown); impl IDBDataSourceAdmin { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -2813,7 +2813,7 @@ pub struct IDBDataSourceAdmin_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] ModifyDataSource: usize, } -windows_core::imp::com_interface!(IDBInfo, IDBInfo_Vtbl, 0x0c733a89_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDBInfo, IDBInfo_Vtbl, 0x0c733a89_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDBInfo, windows_core::IUnknown); impl IDBInfo { pub unsafe fn GetKeywords(&self) -> windows_core::Result { @@ -2830,7 +2830,7 @@ pub struct IDBInfo_Vtbl { pub GetKeywords: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetLiteralInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u32, *mut u32, *mut *mut DBLITERALINFO, *mut *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDBInitialize, IDBInitialize_Vtbl, 0x0c733a8b_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDBInitialize, IDBInitialize_Vtbl, 0x0c733a8b_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDBInitialize, windows_core::IUnknown); impl IDBInitialize { pub unsafe fn Initialize(&self) -> windows_core::Result<()> { @@ -2846,7 +2846,7 @@ pub struct IDBInitialize_Vtbl { pub Initialize: 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, } -windows_core::imp::com_interface!(IDBPromptInitialize, IDBPromptInitialize_Vtbl, 0x2206ccb0_19c1_11d1_89e0_00c04fd7a829); +windows_core::imp::define_interface!(IDBPromptInitialize, IDBPromptInitialize_Vtbl, 0x2206ccb0_19c1_11d1_89e0_00c04fd7a829); windows_core::imp::interface_hierarchy!(IDBPromptInitialize, windows_core::IUnknown); impl IDBPromptInitialize { pub unsafe fn PromptDataSource(&self, punkouter: P0, hwndparent: P1, dwpromptoptions: u32, rgsourcetypefilter: Option<&[u32]>, pwszszzproviderfilter: P2, riid: *const windows_core::GUID, ppdatasource: *mut Option) -> windows_core::Result<()> @@ -2873,7 +2873,7 @@ pub struct IDBPromptInitialize_Vtbl { pub PromptDataSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, *const u32, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PromptFileName: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, windows_core::PCWSTR, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDBProperties, IDBProperties_Vtbl, 0x0c733a8a_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDBProperties, IDBProperties_Vtbl, 0x0c733a8a_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDBProperties, windows_core::IUnknown); impl IDBProperties { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -2905,7 +2905,7 @@ pub struct IDBProperties_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] SetProperties: usize, } -windows_core::imp::com_interface!(IDBSchemaCommand, IDBSchemaCommand_Vtbl, 0x0c733a50_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDBSchemaCommand, IDBSchemaCommand_Vtbl, 0x0c733a50_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDBSchemaCommand, windows_core::IUnknown); impl IDBSchemaCommand { pub unsafe fn GetCommand(&self, punkouter: P0, rguidschema: *const windows_core::GUID) -> windows_core::Result @@ -2925,7 +2925,7 @@ pub struct IDBSchemaCommand_Vtbl { pub GetCommand: 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 GetSchemas: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDBSchemaRowset, IDBSchemaRowset_Vtbl, 0x0c733a7b_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDBSchemaRowset, IDBSchemaRowset_Vtbl, 0x0c733a7b_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDBSchemaRowset, windows_core::IUnknown); impl IDBSchemaRowset { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -2948,7 +2948,7 @@ pub struct IDBSchemaRowset_Vtbl { 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, } -windows_core::imp::com_interface!(IDCInfo, IDCInfo_Vtbl, 0x0c733a9c_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDCInfo, IDCInfo_Vtbl, 0x0c733a9c_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDCInfo, windows_core::IUnknown); impl IDCInfo { pub unsafe fn GetInfo(&self, cinfo: u32, rgeinfotype: *const u32, prginfo: *mut *mut DCINFO) -> windows_core::Result<()> { @@ -2964,7 +2964,7 @@ pub struct IDCInfo_Vtbl { pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u32, *mut *mut DCINFO) -> windows_core::HRESULT, pub SetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const DCINFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataConvert, IDataConvert_Vtbl, 0x0c733a8d_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IDataConvert, IDataConvert_Vtbl, 0x0c733a8d_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IDataConvert, windows_core::IUnknown); impl IDataConvert { pub unsafe fn DataConvert(&self, wsrctype: u16, wdsttype: u16, cbsrclength: usize, pcbdstlength: Option<*mut usize>, psrc: *const core::ffi::c_void, pdst: *mut core::ffi::c_void, cbdstmaxlength: usize, dbssrcstatus: u32, pdbsstatus: Option<*mut u32>, bprecision: u8, bscale: u8, dwflags: u32) -> windows_core::Result<()> { @@ -2984,7 +2984,7 @@ pub struct IDataConvert_Vtbl { pub CanConvert: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16) -> windows_core::HRESULT, pub GetConversionSize: unsafe extern "system" fn(*mut core::ffi::c_void, u16, u16, *const usize, *mut usize, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataInitialize, IDataInitialize_Vtbl, 0x2206ccb1_19c1_11d1_89e0_00c04fd7a829); +windows_core::imp::define_interface!(IDataInitialize, IDataInitialize_Vtbl, 0x2206ccb1_19c1_11d1_89e0_00c04fd7a829); windows_core::imp::interface_hierarchy!(IDataInitialize, windows_core::IUnknown); impl IDataInitialize { pub unsafe fn GetDataSource(&self, punkouter: P0, dwclsctx: u32, pwszinitializationstring: P1, riid: *const windows_core::GUID, ppdatasource: *mut Option) -> windows_core::Result<()> @@ -3046,7 +3046,7 @@ pub struct IDataInitialize_Vtbl { pub WriteStringToStorage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDataSourceLocator, IDataSourceLocator_Vtbl, 0x2206ccb2_19c1_11d1_89e0_00c04fd7a829); +windows_core::imp::define_interface!(IDataSourceLocator, IDataSourceLocator_Vtbl, 0x2206ccb2_19c1_11d1_89e0_00c04fd7a829); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDataSourceLocator, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3086,7 +3086,7 @@ pub struct IDataSourceLocator_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] PromptEdit: usize, } -windows_core::imp::com_interface!(IEntity, IEntity_Vtbl, 0x24264891_e80b_4fd3_b7ce_4ff2fae8931f); +windows_core::imp::define_interface!(IEntity, IEntity_Vtbl, 0x24264891_e80b_4fd3_b7ce_4ff2fae8931f); windows_core::imp::interface_hierarchy!(IEntity, windows_core::IUnknown); impl IEntity { pub unsafe fn Name(&self, ppszname: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> { @@ -3147,7 +3147,7 @@ pub struct IEntity_Vtbl { pub GetNamedEntity: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DefaultPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumItemProperties, IEnumItemProperties_Vtbl, 0xf72c8d96_6dbd_11d1_a1e8_00c04fc2fbe1); +windows_core::imp::define_interface!(IEnumItemProperties, IEnumItemProperties_Vtbl, 0xf72c8d96_6dbd_11d1_a1e8_00c04fc2fbe1); windows_core::imp::interface_hierarchy!(IEnumItemProperties, windows_core::IUnknown); impl IEnumItemProperties { pub unsafe fn Next(&self, rgelt: &mut [ITEMPROP], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -3177,7 +3177,7 @@ pub struct IEnumItemProperties_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IEnumSearchRoots, IEnumSearchRoots_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef52); +windows_core::imp::define_interface!(IEnumSearchRoots, IEnumSearchRoots_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef52); windows_core::imp::interface_hierarchy!(IEnumSearchRoots, windows_core::IUnknown); impl IEnumSearchRoots { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -3202,7 +3202,7 @@ pub struct IEnumSearchRoots_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSearchScopeRules, IEnumSearchScopeRules_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef54); +windows_core::imp::define_interface!(IEnumSearchScopeRules, IEnumSearchScopeRules_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef54); windows_core::imp::interface_hierarchy!(IEnumSearchScopeRules, windows_core::IUnknown); impl IEnumSearchScopeRules { pub unsafe fn Next(&self, pprgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -3227,7 +3227,7 @@ pub struct IEnumSearchScopeRules_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSubscription, IEnumSubscription_Vtbl, 0xf72c8d97_6dbd_11d1_a1e8_00c04fc2fbe1); +windows_core::imp::define_interface!(IEnumSubscription, IEnumSubscription_Vtbl, 0xf72c8d97_6dbd_11d1_a1e8_00c04fc2fbe1); windows_core::imp::interface_hierarchy!(IEnumSubscription, windows_core::IUnknown); impl IEnumSubscription { pub unsafe fn Next(&self, rgelt: &mut [windows_core::GUID], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -3257,7 +3257,7 @@ pub struct IEnumSubscription_Vtbl { pub Clone: 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, } -windows_core::imp::com_interface!(IErrorLookup, IErrorLookup_Vtbl, 0x0c733a66_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IErrorLookup, IErrorLookup_Vtbl, 0x0c733a66_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IErrorLookup, windows_core::IUnknown); impl IErrorLookup { #[cfg(feature = "Win32_System_Com")] @@ -3281,7 +3281,7 @@ pub struct IErrorLookup_Vtbl { 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 ReleaseErrors: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IErrorRecords, IErrorRecords_Vtbl, 0x0c733a67_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IErrorRecords, IErrorRecords_Vtbl, 0x0c733a67_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IErrorRecords, windows_core::IUnknown); impl IErrorRecords { #[cfg(feature = "Win32_System_Com")] @@ -3332,7 +3332,7 @@ pub struct IErrorRecords_Vtbl { GetErrorParameters: usize, pub GetRecordCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetDataSource, IGetDataSource_Vtbl, 0x0c733a75_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IGetDataSource, IGetDataSource_Vtbl, 0x0c733a75_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IGetDataSource, windows_core::IUnknown); impl IGetDataSource { pub unsafe fn GetDataSource(&self, riid: *const windows_core::GUID) -> windows_core::Result { @@ -3345,7 +3345,7 @@ pub struct IGetDataSource_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDataSource: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetRow, IGetRow_Vtbl, 0x0c733aaf_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IGetRow, IGetRow_Vtbl, 0x0c733aaf_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IGetRow, windows_core::IUnknown); impl IGetRow { pub unsafe fn GetRowFromHROW(&self, punkouter: P0, hrow: usize, riid: *const windows_core::GUID) -> windows_core::Result @@ -3366,7 +3366,7 @@ pub struct IGetRow_Vtbl { pub GetRowFromHROW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetURLFromHROW: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetSession, IGetSession_Vtbl, 0x0c733aba_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IGetSession, IGetSession_Vtbl, 0x0c733aba_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IGetSession, windows_core::IUnknown); impl IGetSession { pub unsafe fn GetSession(&self, riid: *const windows_core::GUID) -> windows_core::Result { @@ -3379,7 +3379,7 @@ pub struct IGetSession_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSession: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetSourceRow, IGetSourceRow_Vtbl, 0x0c733abb_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IGetSourceRow, IGetSourceRow_Vtbl, 0x0c733abb_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IGetSourceRow, windows_core::IUnknown); impl IGetSourceRow { pub unsafe fn GetSourceRow(&self, riid: *const windows_core::GUID) -> windows_core::Result { @@ -3392,7 +3392,7 @@ pub struct IGetSourceRow_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSourceRow: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIndexDefinition, IIndexDefinition_Vtbl, 0x0c733a68_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IIndexDefinition, IIndexDefinition_Vtbl, 0x0c733a68_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IIndexDefinition, windows_core::IUnknown); impl IIndexDefinition { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -3416,7 +3416,7 @@ pub struct IIndexDefinition_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] DropIndex: usize, } -windows_core::imp::com_interface!(IInterval, IInterval_Vtbl, 0x6bf0a714_3c18_430b_8b5d_83b1c234d3db); +windows_core::imp::define_interface!(IInterval, IInterval_Vtbl, 0x6bf0a714_3c18_430b_8b5d_83b1c234d3db); windows_core::imp::interface_hierarchy!(IInterval, windows_core::IUnknown); impl IInterval { pub unsafe fn GetLimits(&self, pilklower: *mut INTERVAL_LIMIT_KIND, ppropvarlower: *mut windows_core::PROPVARIANT, pilkupper: *mut INTERVAL_LIMIT_KIND, ppropvarupper: *mut windows_core::PROPVARIANT) -> windows_core::Result<()> { @@ -3428,7 +3428,7 @@ 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, } -windows_core::imp::com_interface!(ILoadFilter, ILoadFilter_Vtbl, 0xc7310722_ac80_11d1_8df3_00c04fb6ef4f); +windows_core::imp::define_interface!(ILoadFilter, ILoadFilter_Vtbl, 0xc7310722_ac80_11d1_8df3_00c04fb6ef4f); windows_core::imp::interface_hierarchy!(ILoadFilter, windows_core::IUnknown); impl ILoadFilter { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -3476,7 +3476,7 @@ pub struct ILoadFilter_Vtbl { #[cfg(not(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com")))] LoadIFilterFromStream: usize, } -windows_core::imp::com_interface!(ILoadFilterWithPrivateComActivation, ILoadFilterWithPrivateComActivation_Vtbl, 0x40bdbd34_780b_48d3_9bb6_12ebd4ad2e75); +windows_core::imp::define_interface!(ILoadFilterWithPrivateComActivation, ILoadFilterWithPrivateComActivation_Vtbl, 0x40bdbd34_780b_48d3_9bb6_12ebd4ad2e75); windows_core::imp::interface_hierarchy!(ILoadFilterWithPrivateComActivation, windows_core::IUnknown, ILoadFilter); impl ILoadFilterWithPrivateComActivation { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -3523,7 +3523,7 @@ pub struct ILoadFilterWithPrivateComActivation_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] LoadIFilterWithPrivateComActivation: usize, } -windows_core::imp::com_interface!(IMDDataset, IMDDataset_Vtbl, 0xa07cccd1_8148_11d0_87bb_00c04fc33942); +windows_core::imp::define_interface!(IMDDataset, IMDDataset_Vtbl, 0xa07cccd1_8148_11d0_87bb_00c04fc33942); windows_core::imp::interface_hierarchy!(IMDDataset, windows_core::IUnknown); impl IMDDataset { pub unsafe fn FreeAxisInfo(&self, rgaxisinfo: &[MDAXISINFO]) -> windows_core::Result<()> { @@ -3562,7 +3562,7 @@ pub struct IMDDataset_Vtbl { pub GetCellData: unsafe extern "system" fn(*mut core::ffi::c_void, HACCESSOR, usize, usize, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSpecification: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDFind, IMDFind_Vtbl, 0xa07cccd2_8148_11d0_87bb_00c04fc33942); +windows_core::imp::define_interface!(IMDFind, IMDFind_Vtbl, 0xa07cccd2_8148_11d0_87bb_00c04fc33942); 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 { @@ -3580,7 +3580,7 @@ pub struct IMDFind_Vtbl { pub FindCell: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const windows_core::PCWSTR, *mut usize) -> windows_core::HRESULT, pub FindTuple: unsafe extern "system" fn(*mut core::ffi::c_void, u32, usize, usize, *const windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMDRangeRowset, IMDRangeRowset_Vtbl, 0x0c733aa0_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IMDRangeRowset, IMDRangeRowset_Vtbl, 0x0c733aa0_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IMDRangeRowset, windows_core::IUnknown); impl IMDRangeRowset { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -3599,7 +3599,7 @@ pub struct IMDRangeRowset_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] GetRangeRowset: usize, } -windows_core::imp::com_interface!(IMetaData, IMetaData_Vtbl, 0x780102b0_c43b_4876_bc7b_5e9ba5c88794); +windows_core::imp::define_interface!(IMetaData, IMetaData_Vtbl, 0x780102b0_c43b_4876_bc7b_5e9ba5c88794); windows_core::imp::interface_hierarchy!(IMetaData, windows_core::IUnknown); impl IMetaData { pub unsafe fn GetData(&self, ppszkey: Option<*mut windows_core::PWSTR>, ppszvalue: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> { @@ -3611,7 +3611,7 @@ pub struct IMetaData_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMultipleResults, IMultipleResults_Vtbl, 0x0c733a90_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IMultipleResults, IMultipleResults_Vtbl, 0x0c733a90_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IMultipleResults, windows_core::IUnknown); impl IMultipleResults { pub unsafe fn GetResult(&self, punkouter: P0, lresultflag: isize, riid: *const windows_core::GUID, pcrowsaffected: Option<*mut isize>, pprowset: Option<*mut Option>) -> windows_core::Result<()> @@ -3626,7 +3626,7 @@ pub struct IMultipleResults_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, isize, *const windows_core::GUID, *mut isize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INamedEntity, INamedEntity_Vtbl, 0xabdbd0b1_7d54_49fb_ab5c_bff4130004cd); +windows_core::imp::define_interface!(INamedEntity, INamedEntity_Vtbl, 0xabdbd0b1_7d54_49fb_ab5c_bff4130004cd); windows_core::imp::interface_hierarchy!(INamedEntity, windows_core::IUnknown); impl INamedEntity { pub unsafe fn GetValue(&self) -> windows_core::Result { @@ -3643,7 +3643,7 @@ pub struct INamedEntity_Vtbl { pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub DefaultPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INamedEntityCollector, INamedEntityCollector_Vtbl, 0xaf2440f6_8afc_47d0_9a7f_396a0acfb43d); +windows_core::imp::define_interface!(INamedEntityCollector, INamedEntityCollector_Vtbl, 0xaf2440f6_8afc_47d0_9a7f_396a0acfb43d); windows_core::imp::interface_hierarchy!(INamedEntityCollector, windows_core::IUnknown); impl INamedEntityCollector { pub unsafe fn Add(&self, beginspan: u32, endspan: u32, beginactual: u32, endactual: u32, ptype: P0, pszvalue: P1, certainty: NAMED_ENTITY_CERTAINTY) -> windows_core::Result<()> @@ -3659,7 +3659,7 @@ pub struct INamedEntityCollector_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Add: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32, *mut core::ffi::c_void, windows_core::PCWSTR, NAMED_ENTITY_CERTAINTY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectAccessControl, IObjectAccessControl_Vtbl, 0x0c733aa3_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IObjectAccessControl, IObjectAccessControl_Vtbl, 0x0c733aa3_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IObjectAccessControl, windows_core::IUnknown); impl IObjectAccessControl { #[cfg(all(feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer"))] @@ -3709,7 +3709,7 @@ pub struct IObjectAccessControl_Vtbl { #[cfg(not(all(feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer")))] SetObjectOwner: usize, } -windows_core::imp::com_interface!(IOpLockStatus, IOpLockStatus_Vtbl, 0xc731065d_ac80_11d1_8df3_00c04fb6ef4f); +windows_core::imp::define_interface!(IOpLockStatus, IOpLockStatus_Vtbl, 0xc731065d_ac80_11d1_8df3_00c04fb6ef4f); windows_core::imp::interface_hierarchy!(IOpLockStatus, windows_core::IUnknown); impl IOpLockStatus { pub unsafe fn IsOplockValid(&self) -> windows_core::Result { @@ -3732,7 +3732,7 @@ pub struct IOpLockStatus_Vtbl { pub IsOplockBroken: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetOplockEventHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpenRowset, IOpenRowset_Vtbl, 0x0c733a69_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IOpenRowset, IOpenRowset_Vtbl, 0x0c733a69_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IOpenRowset, windows_core::IUnknown); impl IOpenRowset { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -3751,7 +3751,7 @@ pub struct IOpenRowset_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] OpenRowset: usize, } -windows_core::imp::com_interface!(IParentRowset, IParentRowset_Vtbl, 0x0c733aaa_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IParentRowset, IParentRowset_Vtbl, 0x0c733aaa_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IParentRowset, windows_core::IUnknown); impl IParentRowset { pub unsafe fn GetChildRowset(&self, punkouter: P0, iordinal: usize, riid: *const windows_core::GUID) -> windows_core::Result @@ -3767,7 +3767,7 @@ pub struct IParentRowset_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetChildRowset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProtocolHandlerSite, IProtocolHandlerSite_Vtbl, 0x0b63e385_9ccc_11d0_bcdb_00805fccce04); +windows_core::imp::define_interface!(IProtocolHandlerSite, IProtocolHandlerSite_Vtbl, 0x0b63e385_9ccc_11d0_bcdb_00805fccce04); windows_core::imp::interface_hierarchy!(IProtocolHandlerSite, windows_core::IUnknown); impl IProtocolHandlerSite { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -3788,7 +3788,7 @@ pub struct IProtocolHandlerSite_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] GetFilter: usize, } -windows_core::imp::com_interface!(IProvideMoniker, IProvideMoniker_Vtbl, 0x0c733a4d_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IProvideMoniker, IProvideMoniker_Vtbl, 0x0c733a4d_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IProvideMoniker, windows_core::IUnknown); impl IProvideMoniker { #[cfg(feature = "Win32_System_Com")] @@ -3805,7 +3805,7 @@ pub struct IProvideMoniker_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetMoniker: usize, } -windows_core::imp::com_interface!(IQueryParser, IQueryParser_Vtbl, 0x2ebdee67_3505_43f8_9946_ea44abc8e5b0); +windows_core::imp::define_interface!(IQueryParser, IQueryParser_Vtbl, 0x2ebdee67_3505_43f8_9946_ea44abc8e5b0); windows_core::imp::interface_hierarchy!(IQueryParser, windows_core::IUnknown); impl IQueryParser { #[cfg(feature = "Win32_System_Com")] @@ -3881,7 +3881,7 @@ pub struct IQueryParser_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] RestatePropertyValueToString: usize, } -windows_core::imp::com_interface!(IQueryParserManager, IQueryParserManager_Vtbl, 0xa879e3c4_af77_44fb_8f37_ebd1487cf920); +windows_core::imp::define_interface!(IQueryParserManager, IQueryParserManager_Vtbl, 0xa879e3c4_af77_44fb_8f37_ebd1487cf920); windows_core::imp::interface_hierarchy!(IQueryParserManager, windows_core::IUnknown); impl IQueryParserManager { pub unsafe fn CreateLoadedParser(&self, pszcatalog: P0, langidforkeywords: u16) -> windows_core::Result @@ -3911,7 +3911,7 @@ pub struct IQueryParserManager_Vtbl { 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, } -windows_core::imp::com_interface!(IQuerySolution, IQuerySolution_Vtbl, 0xd6ebc66b_8921_4193_afdd_a1789fb7ff57); +windows_core::imp::define_interface!(IQuerySolution, IQuerySolution_Vtbl, 0xd6ebc66b_8921_4193_afdd_a1789fb7ff57); windows_core::imp::interface_hierarchy!(IQuerySolution, windows_core::IUnknown, IConditionFactory); impl IQuerySolution { #[cfg(feature = "Win32_System_Com")] @@ -3978,7 +3978,7 @@ pub struct IQuerySolution_Vtbl { pub GetErrors: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLexicalData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut *mut core::ffi::c_void, *mut u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReadData, IReadData_Vtbl, 0x0c733a6a_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IReadData, IReadData_Vtbl, 0x0c733a6a_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IReadData, windows_core::IUnknown); impl IReadData { pub unsafe fn ReadData(&self, hchapter: usize, pbookmark: &[u8], lrowsoffset: isize, haccessor: P0, crows: isize, pcrowsobtained: *mut usize, ppfixeddata: *mut *mut u8, pcbvariabletotal: *mut usize, ppvariabledata: *mut *mut u8) -> windows_core::Result<()> @@ -3997,7 +3997,7 @@ pub struct IReadData_Vtbl { pub ReadData: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const u8, isize, HACCESSOR, isize, *mut usize, *mut *mut u8, *mut usize, *mut *mut u8) -> windows_core::HRESULT, pub ReleaseChapter: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRegisterProvider, IRegisterProvider_Vtbl, 0x0c733ab9_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRegisterProvider, IRegisterProvider_Vtbl, 0x0c733ab9_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRegisterProvider, windows_core::IUnknown); impl IRegisterProvider { pub unsafe fn GetURLMapping(&self, pwszurl: P0, dwreserved: usize) -> windows_core::Result @@ -4027,7 +4027,7 @@ pub struct IRegisterProvider_Vtbl { pub SetURLMapping: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, usize, *const windows_core::GUID) -> windows_core::HRESULT, pub UnregisterProvider: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, usize, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRelationship, IRelationship_Vtbl, 0x2769280b_5108_498c_9c7f_a51239b63147); +windows_core::imp::define_interface!(IRelationship, IRelationship_Vtbl, 0x2769280b_5108_498c_9c7f_a51239b63147); windows_core::imp::interface_hierarchy!(IRelationship, windows_core::IUnknown); impl IRelationship { pub unsafe fn Name(&self, ppszname: Option<*mut windows_core::PWSTR>) -> windows_core::Result<()> { @@ -4061,7 +4061,7 @@ pub struct IRelationship_Vtbl { pub MetaData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DefaultPhrase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRichChunk, IRichChunk_Vtbl, 0x4fdef69c_dbc9_454e_9910_b34f3c64b510); +windows_core::imp::define_interface!(IRichChunk, IRichChunk_Vtbl, 0x4fdef69c_dbc9_454e_9910_b34f3c64b510); windows_core::imp::interface_hierarchy!(IRichChunk, windows_core::IUnknown); impl IRichChunk { pub unsafe fn GetData(&self, pfirstpos: Option<*mut u32>, plength: Option<*mut u32>, ppsz: Option<*mut windows_core::PWSTR>, pvalue: Option<*mut windows_core::PROPVARIANT>) -> windows_core::Result<()> { @@ -4073,7 +4073,7 @@ 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, } -windows_core::imp::com_interface!(IRow, IRow_Vtbl, 0x0c733ab4_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRow, IRow_Vtbl, 0x0c733ab4_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRow, windows_core::IUnknown); impl IRow { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -4104,7 +4104,7 @@ pub struct IRow_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] Open: usize, } -windows_core::imp::com_interface!(IRowChange, IRowChange_Vtbl, 0x0c733ab5_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowChange, IRowChange_Vtbl, 0x0c733ab5_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowChange, windows_core::IUnknown); impl IRowChange { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -4120,7 +4120,7 @@ pub struct IRowChange_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] SetColumns: usize, } -windows_core::imp::com_interface!(IRowPosition, IRowPosition_Vtbl, 0x0c733a94_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowPosition, IRowPosition_Vtbl, 0x0c733a94_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowPosition, windows_core::IUnknown); impl IRowPosition { pub unsafe fn ClearRowPosition(&self) -> windows_core::Result<()> { @@ -4152,7 +4152,7 @@ pub struct IRowPosition_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRowPosition: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowPositionChange, IRowPositionChange_Vtbl, 0x0997a571_126e_11d0_9f8a_00a0c9a0631e); +windows_core::imp::define_interface!(IRowPositionChange, IRowPositionChange_Vtbl, 0x0997a571_126e_11d0_9f8a_00a0c9a0631e); windows_core::imp::interface_hierarchy!(IRowPositionChange, windows_core::IUnknown); impl IRowPositionChange { pub unsafe fn OnRowPositionChange(&self, ereason: u32, ephase: u32, fcantdeny: P0) -> windows_core::Result<()> @@ -4167,7 +4167,7 @@ pub struct IRowPositionChange_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnRowPositionChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowSchemaChange, IRowSchemaChange_Vtbl, 0x0c733aae_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowSchemaChange, IRowSchemaChange_Vtbl, 0x0c733aae_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowSchemaChange, windows_core::IUnknown, IRowChange); impl IRowSchemaChange { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -4195,7 +4195,7 @@ pub struct IRowSchemaChange_Vtbl { #[cfg(not(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com")))] AddColumns: usize, } -windows_core::imp::com_interface!(IRowset, IRowset_Vtbl, 0x0c733a7c_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowset, IRowset_Vtbl, 0x0c733a7c_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowset, windows_core::IUnknown); impl IRowset { pub unsafe fn AddRefRows(&self, crows: usize, rghrows: *const usize, rgrefcounts: *mut u32, rgrowstatus: *mut u32) -> windows_core::Result<()> { @@ -4226,7 +4226,7 @@ pub struct IRowset_Vtbl { pub ReleaseRows: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *const usize, *const u32, *mut u32, *mut u32) -> windows_core::HRESULT, pub RestartPosition: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetAsynch, IRowsetAsynch_Vtbl, 0x0c733a0f_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetAsynch, IRowsetAsynch_Vtbl, 0x0c733a0f_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetAsynch, windows_core::IUnknown); impl IRowsetAsynch { pub unsafe fn RatioFinished(&self, puldenominator: *mut usize, pulnumerator: *mut usize, pcrows: *mut usize, pfnewrows: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -4242,7 +4242,7 @@ pub struct IRowsetAsynch_Vtbl { pub RatioFinished: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize, *mut usize, *mut usize, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetBookmark, IRowsetBookmark_Vtbl, 0x0c733ac2_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetBookmark, IRowsetBookmark_Vtbl, 0x0c733ac2_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetBookmark, windows_core::IUnknown); impl IRowsetBookmark { pub unsafe fn PositionOnBookmark(&self, hchapter: usize, pbookmark: &[u8]) -> windows_core::Result<()> { @@ -4254,7 +4254,7 @@ pub struct IRowsetBookmark_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub PositionOnBookmark: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetChange, IRowsetChange_Vtbl, 0x0c733a05_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetChange, IRowsetChange_Vtbl, 0x0c733a05_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetChange, windows_core::IUnknown); impl IRowsetChange { pub unsafe fn DeleteRows(&self, hreserved: usize, crows: usize, rghrows: *const usize, rgrowstatus: *mut u32) -> windows_core::Result<()> { @@ -4281,7 +4281,7 @@ pub struct IRowsetChange_Vtbl { pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, usize, HACCESSOR, *const core::ffi::c_void) -> windows_core::HRESULT, pub InsertRow: unsafe extern "system" fn(*mut core::ffi::c_void, usize, HACCESSOR, *const core::ffi::c_void, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetChangeExtInfo, IRowsetChangeExtInfo_Vtbl, 0x0c733a8f_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetChangeExtInfo, IRowsetChangeExtInfo_Vtbl, 0x0c733a8f_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetChangeExtInfo, windows_core::IUnknown); impl IRowsetChangeExtInfo { pub unsafe fn GetOriginalRow(&self, hreserved: usize, hrow: usize, phroworiginal: *mut usize) -> windows_core::Result<()> { @@ -4297,7 +4297,7 @@ pub struct IRowsetChangeExtInfo_Vtbl { pub GetOriginalRow: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *mut usize) -> windows_core::HRESULT, pub GetPendingColumns: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, u32, *const u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetChapterMember, IRowsetChapterMember_Vtbl, 0x0c733aa8_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetChapterMember, IRowsetChapterMember_Vtbl, 0x0c733aa8_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetChapterMember, windows_core::IUnknown); impl IRowsetChapterMember { pub unsafe fn IsRowInChapter(&self, hchapter: usize, hrow: usize) -> windows_core::Result<()> { @@ -4309,7 +4309,7 @@ pub struct IRowsetChapterMember_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsRowInChapter: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetCopyRows, IRowsetCopyRows_Vtbl, 0x0c733a6b_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetCopyRows, IRowsetCopyRows_Vtbl, 0x0c733a6b_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetCopyRows, windows_core::IUnknown); impl IRowsetCopyRows { pub unsafe fn CloseSource(&self, hsourceid: u16) -> windows_core::Result<()> { @@ -4338,7 +4338,7 @@ pub struct IRowsetCopyRows_Vtbl { pub CopyRows: unsafe extern "system" fn(*mut core::ffi::c_void, u16, usize, isize, u32, *mut usize) -> windows_core::HRESULT, pub DefineSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, *const isize, *const isize, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetCurrentIndex, IRowsetCurrentIndex_Vtbl, 0x0c733abd_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetCurrentIndex, IRowsetCurrentIndex_Vtbl, 0x0c733abd_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetCurrentIndex, windows_core::IUnknown, IRowsetIndex); impl IRowsetCurrentIndex { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -4379,7 +4379,7 @@ pub struct IRowsetCurrentIndex_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] SetIndex: usize, } -windows_core::imp::com_interface!(IRowsetEvents, IRowsetEvents_Vtbl, 0x1551aea5_5d66_4b11_86f5_d5634cb211b9); +windows_core::imp::define_interface!(IRowsetEvents, IRowsetEvents_Vtbl, 0x1551aea5_5d66_4b11_86f5_d5634cb211b9); windows_core::imp::interface_hierarchy!(IRowsetEvents, windows_core::IUnknown); impl IRowsetEvents { pub unsafe fn OnNewItem(&self, itemid: *const windows_core::PROPVARIANT, newitemstate: ROWSETEVENT_ITEMSTATE) -> windows_core::Result<()> { @@ -4403,7 +4403,7 @@ pub struct IRowsetEvents_Vtbl { 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, } -windows_core::imp::com_interface!(IRowsetExactScroll, IRowsetExactScroll_Vtbl, 0x0c733a7f_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetExactScroll, IRowsetExactScroll_Vtbl, 0x0c733a7f_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetExactScroll, windows_core::IUnknown, IRowset, IRowsetLocate, IRowsetScroll); impl IRowsetExactScroll { pub unsafe fn AddRefRows(&self, crows: usize, rghrows: *const usize, rgrefcounts: *mut u32, rgrowstatus: *mut u32) -> windows_core::Result<()> { @@ -4452,7 +4452,7 @@ pub struct IRowsetExactScroll_Vtbl { pub base__: IRowsetScroll_Vtbl, pub GetExactPosition: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const u8, *mut usize, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetFastLoad, IRowsetFastLoad_Vtbl, 0x5cf4ca13_ef21_11d0_97e7_00c04fc2ad98); +windows_core::imp::define_interface!(IRowsetFastLoad, IRowsetFastLoad_Vtbl, 0x5cf4ca13_ef21_11d0_97e7_00c04fc2ad98); windows_core::imp::interface_hierarchy!(IRowsetFastLoad, windows_core::IUnknown); impl IRowsetFastLoad { pub unsafe fn InsertRow(&self, haccessor: P0, pdata: *mut core::ffi::c_void) -> windows_core::Result<()> @@ -4474,7 +4474,7 @@ pub struct IRowsetFastLoad_Vtbl { pub InsertRow: unsafe extern "system" fn(*mut core::ffi::c_void, HACCESSOR, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetFind, IRowsetFind_Vtbl, 0x0c733a9d_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetFind, IRowsetFind_Vtbl, 0x0c733a9d_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetFind, windows_core::IUnknown); impl IRowsetFind { pub unsafe fn FindNextRow(&self, hchapter: usize, haccessor: P0, pfindvalue: *const core::ffi::c_void, compareop: u32, pbookmark: &[u8], lrowsoffset: isize, crows: isize, pcrowsobtained: *mut usize, prghrows: *mut *mut usize) -> windows_core::Result<()> @@ -4489,7 +4489,7 @@ pub struct IRowsetFind_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub FindNextRow: unsafe extern "system" fn(*mut core::ffi::c_void, usize, HACCESSOR, *const core::ffi::c_void, u32, usize, *const u8, isize, isize, *mut usize, *mut *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetIdentity, IRowsetIdentity_Vtbl, 0x0c733a09_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetIdentity, IRowsetIdentity_Vtbl, 0x0c733a09_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetIdentity, windows_core::IUnknown); impl IRowsetIdentity { pub unsafe fn IsSameRow(&self, hthisrow: usize, hthatrow: usize) -> windows_core::Result<()> { @@ -4501,7 +4501,7 @@ pub struct IRowsetIdentity_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsSameRow: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetIndex, IRowsetIndex_Vtbl, 0x0c733a82_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetIndex, IRowsetIndex_Vtbl, 0x0c733a82_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetIndex, windows_core::IUnknown); impl IRowsetIndex { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -4531,7 +4531,7 @@ pub struct IRowsetIndex_Vtbl { pub Seek: unsafe extern "system" fn(*mut core::ffi::c_void, HACCESSOR, usize, *const core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetRange: unsafe extern "system" fn(*mut core::ffi::c_void, HACCESSOR, usize, *const core::ffi::c_void, usize, *const core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetInfo, IRowsetInfo_Vtbl, 0x0c733a55_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetInfo, IRowsetInfo_Vtbl, 0x0c733a55_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetInfo, windows_core::IUnknown); impl IRowsetInfo { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -4557,7 +4557,7 @@ pub struct IRowsetInfo_Vtbl { pub GetReferencedRowset: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSpecification: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetKeys, IRowsetKeys_Vtbl, 0x0c733a12_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetKeys, IRowsetKeys_Vtbl, 0x0c733a12_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetKeys, windows_core::IUnknown); impl IRowsetKeys { pub unsafe fn ListKeys(&self, pccolumns: *mut usize, prgcolumns: *mut *mut usize) -> windows_core::Result<()> { @@ -4569,7 +4569,7 @@ pub struct IRowsetKeys_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ListKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize, *mut *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetLocate, IRowsetLocate_Vtbl, 0x0c733a7d_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetLocate, IRowsetLocate_Vtbl, 0x0c733a7d_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetLocate, windows_core::IUnknown, IRowset); impl IRowsetLocate { pub unsafe fn AddRefRows(&self, crows: usize, rghrows: *const usize, rgrefcounts: *mut u32, rgrowstatus: *mut u32) -> windows_core::Result<()> { @@ -4612,7 +4612,7 @@ pub struct IRowsetLocate_Vtbl { pub GetRowsByBookmark: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const usize, *const *const u8, *mut usize, *mut u32) -> windows_core::HRESULT, pub Hash: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const usize, *const *const u8, *mut usize, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetNewRowAfter, IRowsetNewRowAfter_Vtbl, 0x0c733a71_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetNewRowAfter, IRowsetNewRowAfter_Vtbl, 0x0c733a71_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetNewRowAfter, windows_core::IUnknown); impl IRowsetNewRowAfter { pub unsafe fn SetNewDataAfter(&self, hchapter: usize, pbmprevious: &[u8], haccessor: P0, pdata: *const u8) -> windows_core::Result @@ -4628,7 +4628,7 @@ pub struct IRowsetNewRowAfter_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetNewDataAfter: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *const u8, HACCESSOR, *const u8, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetNextRowset, IRowsetNextRowset_Vtbl, 0x0c733a72_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetNextRowset, IRowsetNextRowset_Vtbl, 0x0c733a72_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetNextRowset, windows_core::IUnknown); impl IRowsetNextRowset { pub unsafe fn GetNextRowset(&self, punkouter: P0, riid: *const windows_core::GUID) -> windows_core::Result @@ -4644,7 +4644,7 @@ pub struct IRowsetNextRowset_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetNextRowset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetNotify, IRowsetNotify_Vtbl, 0x0c733a83_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetNotify, IRowsetNotify_Vtbl, 0x0c733a83_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetNotify, windows_core::IUnknown); impl IRowsetNotify { pub unsafe fn OnFieldChange(&self, prowset: P0, hrow: usize, rgcolumns: &[usize], ereason: u32, ephase: u32, fcantdeny: P1) -> windows_core::Result<()> @@ -4676,7 +4676,7 @@ pub struct IRowsetNotify_Vtbl { pub OnRowChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, *const usize, u32, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub OnRowsetChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetPrioritization, IRowsetPrioritization_Vtbl, 0x42811652_079d_481b_87a2_09a69ecc5f44); +windows_core::imp::define_interface!(IRowsetPrioritization, IRowsetPrioritization_Vtbl, 0x42811652_079d_481b_87a2_09a69ecc5f44); windows_core::imp::interface_hierarchy!(IRowsetPrioritization, windows_core::IUnknown); impl IRowsetPrioritization { pub unsafe fn SetScopePriority(&self, priority: PRIORITY_LEVEL, scopestatisticseventfrequency: u32) -> windows_core::Result<()> { @@ -4696,7 +4696,7 @@ pub struct IRowsetPrioritization_Vtbl { pub GetScopePriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PRIORITY_LEVEL, *mut u32) -> windows_core::HRESULT, pub GetScopeStatistics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetQueryStatus, IRowsetQueryStatus_Vtbl, 0xa7ac77ed_f8d7_11ce_a798_0020f8008024); +windows_core::imp::define_interface!(IRowsetQueryStatus, IRowsetQueryStatus_Vtbl, 0xa7ac77ed_f8d7_11ce_a798_0020f8008024); windows_core::imp::interface_hierarchy!(IRowsetQueryStatus, windows_core::IUnknown); impl IRowsetQueryStatus { pub unsafe fn GetStatus(&self, pdwstatus: *mut u32) -> windows_core::Result<()> { @@ -4712,7 +4712,7 @@ pub struct IRowsetQueryStatus_Vtbl { pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetStatusEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut u32, *mut usize, *mut usize, usize, *const u8, *mut usize, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetRefresh, IRowsetRefresh_Vtbl, 0x0c733aa9_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetRefresh, IRowsetRefresh_Vtbl, 0x0c733aa9_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetRefresh, windows_core::IUnknown); impl IRowsetRefresh { pub unsafe fn RefreshVisibleData(&self, hchapter: usize, crows: usize, rghrows: *const usize, foverwrite: P0, pcrowsrefreshed: *mut usize, prghrowsrefreshed: *mut *mut usize, prgrowstatus: *mut *mut u32) -> windows_core::Result<()> @@ -4734,7 +4734,7 @@ pub struct IRowsetRefresh_Vtbl { pub RefreshVisibleData: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const usize, super::super::Foundation::BOOL, *mut usize, *mut *mut usize, *mut *mut u32) -> windows_core::HRESULT, pub GetLastVisibleData: unsafe extern "system" fn(*mut core::ffi::c_void, usize, HACCESSOR, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetResynch, IRowsetResynch_Vtbl, 0x0c733a84_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetResynch, IRowsetResynch_Vtbl, 0x0c733a84_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetResynch, windows_core::IUnknown); impl IRowsetResynch { pub unsafe fn GetVisibleData(&self, hrow: usize, haccessor: P0, pdata: *mut core::ffi::c_void) -> windows_core::Result<()> @@ -4753,7 +4753,7 @@ pub struct IRowsetResynch_Vtbl { pub GetVisibleData: unsafe extern "system" fn(*mut core::ffi::c_void, usize, HACCESSOR, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ResynchRows: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *const usize, *mut usize, *mut *mut usize, *mut *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetScroll, IRowsetScroll_Vtbl, 0x0c733a7e_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetScroll, IRowsetScroll_Vtbl, 0x0c733a7e_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetScroll, windows_core::IUnknown, IRowset, IRowsetLocate); impl IRowsetScroll { pub unsafe fn AddRefRows(&self, crows: usize, rghrows: *const usize, rgrefcounts: *mut u32, rgrowstatus: *mut u32) -> windows_core::Result<()> { @@ -4800,7 +4800,7 @@ pub struct IRowsetScroll_Vtbl { pub GetApproximatePosition: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const u8, *mut usize, *mut usize) -> windows_core::HRESULT, pub GetRowsAtRatio: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, usize, usize, isize, *mut usize, *mut *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetUpdate, IRowsetUpdate_Vtbl, 0x0c733a6d_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetUpdate, IRowsetUpdate_Vtbl, 0x0c733a6d_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetUpdate, windows_core::IUnknown, IRowsetChange); impl IRowsetUpdate { pub unsafe fn DeleteRows(&self, hreserved: usize, crows: usize, rghrows: *const usize, rgrowstatus: *mut u32) -> windows_core::Result<()> { @@ -4847,7 +4847,7 @@ pub struct IRowsetUpdate_Vtbl { pub Undo: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const usize, *mut usize, *mut *mut usize, *mut *mut u32) -> windows_core::HRESULT, pub Update: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, *const usize, *mut usize, *mut *mut usize, *mut *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetView, IRowsetView_Vtbl, 0x0c733a99_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetView, IRowsetView_Vtbl, 0x0c733a99_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetView, windows_core::IUnknown); impl IRowsetView { pub unsafe fn CreateView(&self, punkouter: P0, riid: *const windows_core::GUID) -> windows_core::Result @@ -4867,7 +4867,7 @@ pub struct IRowsetView_Vtbl { pub CreateView: 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 GetView: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *const windows_core::GUID, *mut usize, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetWatchAll, IRowsetWatchAll_Vtbl, 0x0c733a73_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetWatchAll, IRowsetWatchAll_Vtbl, 0x0c733a73_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetWatchAll, windows_core::IUnknown); impl IRowsetWatchAll { pub unsafe fn Acknowledge(&self) -> windows_core::Result<()> { @@ -4887,7 +4887,7 @@ pub struct IRowsetWatchAll_Vtbl { pub Start: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub StopWatching: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetWatchNotify, IRowsetWatchNotify_Vtbl, 0x0c733a44_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetWatchNotify, IRowsetWatchNotify_Vtbl, 0x0c733a44_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetWatchNotify, windows_core::IUnknown); impl IRowsetWatchNotify { pub unsafe fn OnChange(&self, prowset: P0, echangereason: u32) -> windows_core::Result<()> @@ -4902,7 +4902,7 @@ pub struct IRowsetWatchNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetWatchRegion, IRowsetWatchRegion_Vtbl, 0x0c733a45_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetWatchRegion, IRowsetWatchRegion_Vtbl, 0x0c733a45_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetWatchRegion, windows_core::IUnknown, IRowsetWatchAll); impl IRowsetWatchRegion { pub unsafe fn Acknowledge(&self) -> windows_core::Result<()> { @@ -4944,7 +4944,7 @@ pub struct IRowsetWatchRegion_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize, *mut *mut DBROWWATCHCHANGE) -> windows_core::HRESULT, pub ShrinkWatchRegion: unsafe extern "system" fn(*mut core::ffi::c_void, usize, usize, usize, *const u8, isize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRowsetWithParameters, IRowsetWithParameters_Vtbl, 0x0c733a6e_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IRowsetWithParameters, IRowsetWithParameters_Vtbl, 0x0c733a6e_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IRowsetWithParameters, windows_core::IUnknown); impl IRowsetWithParameters { #[cfg(feature = "Win32_System_Com")] @@ -4964,7 +4964,7 @@ pub struct IRowsetWithParameters_Vtbl { GetParameterInfo: usize, pub Requery: unsafe extern "system" fn(*mut core::ffi::c_void, *const DBPARAMS, *mut u32, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISQLErrorInfo, ISQLErrorInfo_Vtbl, 0x0c733a74_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ISQLErrorInfo, ISQLErrorInfo_Vtbl, 0x0c733a74_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ISQLErrorInfo, windows_core::IUnknown); impl ISQLErrorInfo { pub unsafe fn GetSQLInfo(&self, pbstrsqlstate: *mut windows_core::BSTR, plnativeerror: *mut i32) -> windows_core::Result<()> { @@ -4976,7 +4976,7 @@ 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, } -windows_core::imp::com_interface!(ISQLGetDiagField, ISQLGetDiagField_Vtbl, 0x228972f1_b5ff_11d0_8a80_00c04fd611cd); +windows_core::imp::define_interface!(ISQLGetDiagField, ISQLGetDiagField_Vtbl, 0x228972f1_b5ff_11d0_8a80_00c04fd611cd); windows_core::imp::interface_hierarchy!(ISQLGetDiagField, windows_core::IUnknown); impl ISQLGetDiagField { pub unsafe fn GetDiagField(&self, pdiaginfo: Option<*mut KAGGETDIAG>) -> windows_core::Result<()> { @@ -4988,7 +4988,7 @@ pub struct ISQLGetDiagField_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetDiagField: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KAGGETDIAG) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISQLRequestDiagFields, ISQLRequestDiagFields_Vtbl, 0x228972f0_b5ff_11d0_8a80_00c04fd611cd); +windows_core::imp::define_interface!(ISQLRequestDiagFields, ISQLRequestDiagFields_Vtbl, 0x228972f0_b5ff_11d0_8a80_00c04fd611cd); windows_core::imp::interface_hierarchy!(ISQLRequestDiagFields, windows_core::IUnknown); impl ISQLRequestDiagFields { #[cfg(feature = "Win32_System_Variant")] @@ -5004,7 +5004,7 @@ pub struct ISQLRequestDiagFields_Vtbl { #[cfg(not(feature = "Win32_System_Variant"))] RequestDiagFields: usize, } -windows_core::imp::com_interface!(ISQLServerErrorInfo, ISQLServerErrorInfo_Vtbl, 0x5cf4ca12_ef21_11d0_97e7_00c04fc2ad98); +windows_core::imp::define_interface!(ISQLServerErrorInfo, ISQLServerErrorInfo_Vtbl, 0x5cf4ca12_ef21_11d0_97e7_00c04fc2ad98); windows_core::imp::interface_hierarchy!(ISQLServerErrorInfo, windows_core::IUnknown); impl ISQLServerErrorInfo { pub unsafe fn GetErrorInfo(&self, pperrorinfo: *mut *mut SSERRORINFO, ppstringsbuffer: *mut *mut u16) -> windows_core::Result<()> { @@ -5016,7 +5016,7 @@ pub struct ISQLServerErrorInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut SSERRORINFO, *mut *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISchemaLocalizerSupport, ISchemaLocalizerSupport_Vtbl, 0xca3fdca2_bfbe_4eed_90d7_0caef0a1bda1); +windows_core::imp::define_interface!(ISchemaLocalizerSupport, ISchemaLocalizerSupport_Vtbl, 0xca3fdca2_bfbe_4eed_90d7_0caef0a1bda1); windows_core::imp::interface_hierarchy!(ISchemaLocalizerSupport, windows_core::IUnknown); impl ISchemaLocalizerSupport { pub unsafe fn Localize(&self, pszglobalstring: P0) -> windows_core::Result @@ -5032,7 +5032,7 @@ pub struct ISchemaLocalizerSupport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Localize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISchemaLock, ISchemaLock_Vtbl, 0x4c2389fb_2511_11d4_b258_00c04f7971ce); +windows_core::imp::define_interface!(ISchemaLock, ISchemaLock_Vtbl, 0x4c2389fb_2511_11d4_b258_00c04f7971ce); windows_core::imp::interface_hierarchy!(ISchemaLock, windows_core::IUnknown); impl ISchemaLock { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -5055,7 +5055,7 @@ pub struct ISchemaLock_Vtbl { GetSchemaLock: usize, pub ReleaseSchemaLock: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISchemaProvider, ISchemaProvider_Vtbl, 0x8cf89bcb_394c_49b2_ae28_a59dd4ed7f68); +windows_core::imp::define_interface!(ISchemaProvider, ISchemaProvider_Vtbl, 0x8cf89bcb_394c_49b2_ae28_a59dd4ed7f68); windows_core::imp::interface_hierarchy!(ISchemaProvider, windows_core::IUnknown); impl ISchemaProvider { pub unsafe fn Entities(&self) -> windows_core::Result @@ -5115,7 +5115,7 @@ pub struct ISchemaProvider_Vtbl { pub SaveBinary: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub LookupAuthoredNamedEntity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, u32, *mut u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScopedOperations, IScopedOperations_Vtbl, 0x0c733ab0_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IScopedOperations, IScopedOperations_Vtbl, 0x0c733ab0_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IScopedOperations, windows_core::IUnknown, IBindResource); impl IScopedOperations { #[cfg(feature = "Win32_System_Com")] @@ -5169,7 +5169,7 @@ pub struct IScopedOperations_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] OpenRowset: usize, } -windows_core::imp::com_interface!(ISearchCatalogManager, ISearchCatalogManager_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef50); +windows_core::imp::define_interface!(ISearchCatalogManager, ISearchCatalogManager_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef50); windows_core::imp::interface_hierarchy!(ISearchCatalogManager, windows_core::IUnknown); impl ISearchCatalogManager { pub unsafe fn Name(&self) -> windows_core::Result { @@ -5329,7 +5329,7 @@ pub struct ISearchCatalogManager_Vtbl { pub DiacriticSensitivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetCrawlScopeManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchCatalogManager2, ISearchCatalogManager2_Vtbl, 0x7ac3286d_4d1d_4817_84fc_c1c85e3af0d9); +windows_core::imp::define_interface!(ISearchCatalogManager2, ISearchCatalogManager2_Vtbl, 0x7ac3286d_4d1d_4817_84fc_c1c85e3af0d9); windows_core::imp::interface_hierarchy!(ISearchCatalogManager2, windows_core::IUnknown, ISearchCatalogManager); impl ISearchCatalogManager2 { pub unsafe fn Name(&self) -> windows_core::Result { @@ -5467,7 +5467,7 @@ pub struct ISearchCatalogManager2_Vtbl { pub base__: ISearchCatalogManager_Vtbl, pub PrioritizeMatchingURLs: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, PRIORITIZE_FLAGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchCrawlScopeManager, ISearchCrawlScopeManager_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef55); +windows_core::imp::define_interface!(ISearchCrawlScopeManager, ISearchCrawlScopeManager_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef55); windows_core::imp::interface_hierarchy!(ISearchCrawlScopeManager, windows_core::IUnknown); impl ISearchCrawlScopeManager { pub unsafe fn AddDefaultScopeRule(&self, pszurl: P0, finclude: P1, ffollowflags: u32) -> windows_core::Result<()> @@ -5587,7 +5587,7 @@ pub struct ISearchCrawlScopeManager_Vtbl { pub GetParentScopeVersionId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut i32) -> windows_core::HRESULT, pub RemoveDefaultScopeRule: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchCrawlScopeManager2, ISearchCrawlScopeManager2_Vtbl, 0x6292f7ad_4e19_4717_a534_8fc22bcd5ccd); +windows_core::imp::define_interface!(ISearchCrawlScopeManager2, ISearchCrawlScopeManager2_Vtbl, 0x6292f7ad_4e19_4717_a534_8fc22bcd5ccd); windows_core::imp::interface_hierarchy!(ISearchCrawlScopeManager2, windows_core::IUnknown, ISearchCrawlScopeManager); impl ISearchCrawlScopeManager2 { pub unsafe fn AddDefaultScopeRule(&self, pszurl: P0, finclude: P1, ffollowflags: u32) -> windows_core::Result<()> @@ -5695,7 +5695,7 @@ pub struct ISearchCrawlScopeManager2_Vtbl { pub base__: ISearchCrawlScopeManager_Vtbl, pub GetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut i32, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchItemsChangedSink, ISearchItemsChangedSink_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef58); +windows_core::imp::define_interface!(ISearchItemsChangedSink, ISearchItemsChangedSink_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef58); windows_core::imp::interface_hierarchy!(ISearchItemsChangedSink, windows_core::IUnknown); impl ISearchItemsChangedSink { pub unsafe fn StartedMonitoringScope(&self, pszurl: P0) -> windows_core::Result<()> @@ -5725,7 +5725,7 @@ pub struct ISearchItemsChangedSink_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OnItemsChanged: usize, } -windows_core::imp::com_interface!(ISearchLanguageSupport, ISearchLanguageSupport_Vtbl, 0x24c3cbaa_ebc1_491a_9ef1_9f6d8deb1b8f); +windows_core::imp::define_interface!(ISearchLanguageSupport, ISearchLanguageSupport_Vtbl, 0x24c3cbaa_ebc1_491a_9ef1_9f6d8deb1b8f); windows_core::imp::interface_hierarchy!(ISearchLanguageSupport, windows_core::IUnknown); impl ISearchLanguageSupport { pub unsafe fn SetDiacriticSensitivity(&self, fdiacriticsensitive: P0) -> windows_core::Result<()> @@ -5766,7 +5766,7 @@ pub struct ISearchLanguageSupport_Vtbl { pub LoadStemmer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub IsPrefixNormalized: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchManager, ISearchManager_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef69); +windows_core::imp::define_interface!(ISearchManager, ISearchManager_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef69); windows_core::imp::interface_hierarchy!(ISearchManager, windows_core::IUnknown); impl ISearchManager { pub unsafe fn GetIndexerVersionStr(&self) -> windows_core::Result { @@ -5852,7 +5852,7 @@ pub struct ISearchManager_Vtbl { pub LocalBypass: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub PortNumber: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchManager2, ISearchManager2_Vtbl, 0xdbab3f73_db19_4a79_bfc0_a61a93886ddf); +windows_core::imp::define_interface!(ISearchManager2, ISearchManager2_Vtbl, 0xdbab3f73_db19_4a79_bfc0_a61a93886ddf); windows_core::imp::interface_hierarchy!(ISearchManager2, windows_core::IUnknown, ISearchManager); impl ISearchManager2 { pub unsafe fn GetIndexerVersionStr(&self) -> windows_core::Result { @@ -5940,7 +5940,7 @@ pub struct ISearchManager2_Vtbl { pub CreateCatalog: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeleteCatalog: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchNotifyInlineSite, ISearchNotifyInlineSite_Vtbl, 0xb5702e61_e75c_4b64_82a1_6cb4f832fccf); +windows_core::imp::define_interface!(ISearchNotifyInlineSite, ISearchNotifyInlineSite_Vtbl, 0xb5702e61_e75c_4b64_82a1_6cb4f832fccf); windows_core::imp::interface_hierarchy!(ISearchNotifyInlineSite, windows_core::IUnknown); impl ISearchNotifyInlineSite { pub unsafe fn OnItemIndexedStatusChange(&self, sipstatus: SEARCH_INDEXING_PHASE, rgitemstatusentries: &[SEARCH_ITEM_INDEXING_STATUS]) -> windows_core::Result<()> { @@ -5956,7 +5956,7 @@ pub struct ISearchNotifyInlineSite_Vtbl { pub OnItemIndexedStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, SEARCH_INDEXING_PHASE, u32, *const SEARCH_ITEM_INDEXING_STATUS) -> windows_core::HRESULT, pub OnCatalogStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchPersistentItemsChangedSink, ISearchPersistentItemsChangedSink_Vtbl, 0xa2ffdf9b_4758_4f84_b729_df81a1a0612f); +windows_core::imp::define_interface!(ISearchPersistentItemsChangedSink, ISearchPersistentItemsChangedSink_Vtbl, 0xa2ffdf9b_4758_4f84_b729_df81a1a0612f); windows_core::imp::interface_hierarchy!(ISearchPersistentItemsChangedSink, windows_core::IUnknown); impl ISearchPersistentItemsChangedSink { pub unsafe fn StartedMonitoringScope(&self, pszurl: P0) -> windows_core::Result<()> @@ -5982,7 +5982,7 @@ pub struct ISearchPersistentItemsChangedSink_Vtbl { pub StoppedMonitoringScope: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub OnItemsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const SEARCH_ITEM_PERSISTENT_CHANGE, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchProtocol, ISearchProtocol_Vtbl, 0xc73106ba_ac80_11d1_8df3_00c04fb6ef4f); +windows_core::imp::define_interface!(ISearchProtocol, ISearchProtocol_Vtbl, 0xc73106ba_ac80_11d1_8df3_00c04fb6ef4f); windows_core::imp::interface_hierarchy!(ISearchProtocol, windows_core::IUnknown); impl ISearchProtocol { pub unsafe fn Init(&self, ptimeoutinfo: *const TIMEOUT_INFO, pprotocolhandlersite: P0, pproxyinfo: *const PROXY_INFO) -> windows_core::Result<()> @@ -6016,7 +6016,7 @@ pub struct ISearchProtocol_Vtbl { pub CloseAccessor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShutDown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchProtocol2, ISearchProtocol2_Vtbl, 0x7789f0b2_b5b2_4722_8b65_5dbd150697a9); +windows_core::imp::define_interface!(ISearchProtocol2, ISearchProtocol2_Vtbl, 0x7789f0b2_b5b2_4722_8b65_5dbd150697a9); windows_core::imp::interface_hierarchy!(ISearchProtocol2, windows_core::IUnknown, ISearchProtocol); impl ISearchProtocol2 { pub unsafe fn Init(&self, ptimeoutinfo: *const TIMEOUT_INFO, pprotocolhandlersite: P0, pproxyinfo: *const PROXY_INFO) -> windows_core::Result<()> @@ -6058,7 +6058,7 @@ pub struct ISearchProtocol2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateAccessorEx: usize, } -windows_core::imp::com_interface!(ISearchProtocolThreadContext, ISearchProtocolThreadContext_Vtbl, 0xc73106e1_ac80_11d1_8df3_00c04fb6ef4f); +windows_core::imp::define_interface!(ISearchProtocolThreadContext, ISearchProtocolThreadContext_Vtbl, 0xc73106e1_ac80_11d1_8df3_00c04fb6ef4f); windows_core::imp::interface_hierarchy!(ISearchProtocolThreadContext, windows_core::IUnknown); impl ISearchProtocolThreadContext { pub unsafe fn ThreadInit(&self) -> windows_core::Result<()> { @@ -6078,7 +6078,7 @@ pub struct ISearchProtocolThreadContext_Vtbl { pub ThreadShutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ThreadIdle: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchQueryHelper, ISearchQueryHelper_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef63); +windows_core::imp::define_interface!(ISearchQueryHelper, ISearchQueryHelper_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef63); windows_core::imp::interface_hierarchy!(ISearchQueryHelper, windows_core::IUnknown); impl ISearchQueryHelper { pub unsafe fn ConnectionString(&self) -> windows_core::Result { @@ -6200,7 +6200,7 @@ pub struct ISearchQueryHelper_Vtbl { pub SetQueryMaxResults: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, pub QueryMaxResults: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchQueryHits, ISearchQueryHits_Vtbl, 0xed8ce7e0_106c_11ce_84e2_00aa004b9986); +windows_core::imp::define_interface!(ISearchQueryHits, ISearchQueryHits_Vtbl, 0xed8ce7e0_106c_11ce_84e2_00aa004b9986); windows_core::imp::interface_hierarchy!(ISearchQueryHits, windows_core::IUnknown); impl ISearchQueryHits { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -6235,7 +6235,7 @@ pub struct ISearchQueryHits_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] NextHitOffset: usize, } -windows_core::imp::com_interface!(ISearchRoot, ISearchRoot_Vtbl, 0x04c18ccf_1f57_4cbd_88cc_3900f5195ce3); +windows_core::imp::define_interface!(ISearchRoot, ISearchRoot_Vtbl, 0x04c18ccf_1f57_4cbd_88cc_3900f5195ce3); windows_core::imp::interface_hierarchy!(ISearchRoot, windows_core::IUnknown); impl ISearchRoot { pub unsafe fn SetSchedule(&self, psztaskarg: P0) -> windows_core::Result<()> @@ -6366,7 +6366,7 @@ pub struct ISearchRoot_Vtbl { pub SetPassword: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub Password: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchScopeRule, ISearchScopeRule_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef53); +windows_core::imp::define_interface!(ISearchScopeRule, ISearchScopeRule_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef53); windows_core::imp::interface_hierarchy!(ISearchScopeRule, windows_core::IUnknown); impl ISearchScopeRule { pub unsafe fn PatternOrURL(&self) -> windows_core::Result { @@ -6394,7 +6394,7 @@ pub struct ISearchScopeRule_Vtbl { pub IsDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub FollowFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchViewChangedSink, ISearchViewChangedSink_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef65); +windows_core::imp::define_interface!(ISearchViewChangedSink, ISearchViewChangedSink_Vtbl, 0xab310581_ac80_11d1_8df3_00c04fb6ef65); windows_core::imp::interface_hierarchy!(ISearchViewChangedSink, windows_core::IUnknown); impl ISearchViewChangedSink { #[cfg(feature = "Win32_System_Com")] @@ -6410,7 +6410,7 @@ pub struct ISearchViewChangedSink_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OnChange: usize, } -windows_core::imp::com_interface!(ISecurityInfo, ISecurityInfo_Vtbl, 0x0c733aa4_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ISecurityInfo, ISecurityInfo_Vtbl, 0x0c733aa4_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ISecurityInfo, windows_core::IUnknown); impl ISecurityInfo { #[cfg(feature = "Win32_Security_Authorization")] @@ -6436,7 +6436,7 @@ pub struct ISecurityInfo_Vtbl { pub GetObjectTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::GUID) -> windows_core::HRESULT, pub GetPermissions: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::GUID, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IService, IService_Vtbl, 0x06210e88_01f5_11d1_b512_0080c781c384); +windows_core::imp::define_interface!(IService, IService_Vtbl, 0x06210e88_01f5_11d1_b512_0080c781c384); windows_core::imp::interface_hierarchy!(IService, windows_core::IUnknown); impl IService { pub unsafe fn InvokeService(&self, punkinner: P0) -> windows_core::Result<()> @@ -6451,7 +6451,7 @@ pub struct IService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub InvokeService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISessionProperties, ISessionProperties_Vtbl, 0x0c733a85_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ISessionProperties, ISessionProperties_Vtbl, 0x0c733a85_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ISessionProperties, windows_core::IUnknown); impl ISessionProperties { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -6475,7 +6475,7 @@ pub struct ISessionProperties_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] SetProperties: usize, } -windows_core::imp::com_interface!(ISimpleCommandCreator, ISimpleCommandCreator_Vtbl, 0x5e341ab7_02d0_11d1_900c_00a0c9063796); +windows_core::imp::define_interface!(ISimpleCommandCreator, ISimpleCommandCreator_Vtbl, 0x5e341ab7_02d0_11d1_900c_00a0c9063796); windows_core::imp::interface_hierarchy!(ISimpleCommandCreator, windows_core::IUnknown); impl ISimpleCommandCreator { pub unsafe fn CreateICommand(&self, ppiunknown: *mut Option, pouterunk: P0) -> windows_core::Result<()> @@ -6505,7 +6505,7 @@ pub struct ISimpleCommandCreator_Vtbl { pub VerifyCatalog: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetDefaultCatalog: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISourcesRowset, ISourcesRowset_Vtbl, 0x0c733a1e_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ISourcesRowset, ISourcesRowset_Vtbl, 0x0c733a1e_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ISourcesRowset, windows_core::IUnknown); impl ISourcesRowset { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -6524,7 +6524,7 @@ pub struct ISourcesRowset_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] GetSourcesRowset: usize, } -windows_core::imp::com_interface!(IStemmer, IStemmer_Vtbl, 0xefbaf140_7f42_11ce_be57_00aa0051fe20); +windows_core::imp::define_interface!(IStemmer, IStemmer_Vtbl, 0xefbaf140_7f42_11ce_be57_00aa0051fe20); windows_core::imp::interface_hierarchy!(IStemmer, windows_core::IUnknown); impl IStemmer { pub unsafe fn Init(&self, ulmaxtokensize: u32, pflicense: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -6548,7 +6548,7 @@ pub struct IStemmer_Vtbl { pub GenerateWordForms: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLicenseToUse: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISubscriptionItem, ISubscriptionItem_Vtbl, 0xa97559f8_6c4a_11d1_a1e8_00c04fc2fbe1); +windows_core::imp::define_interface!(ISubscriptionItem, ISubscriptionItem_Vtbl, 0xa97559f8_6c4a_11d1_a1e8_00c04fc2fbe1); windows_core::imp::interface_hierarchy!(ISubscriptionItem, windows_core::IUnknown); impl ISubscriptionItem { pub unsafe fn GetCookie(&self) -> windows_core::Result { @@ -6586,7 +6586,7 @@ pub struct ISubscriptionItem_Vtbl { 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, } -windows_core::imp::com_interface!(ISubscriptionMgr, ISubscriptionMgr_Vtbl, 0x085fb2c0_0df8_11d1_8f4b_00a0c905413f); +windows_core::imp::define_interface!(ISubscriptionMgr, ISubscriptionMgr_Vtbl, 0x085fb2c0_0df8_11d1_8f4b_00a0c905413f); windows_core::imp::interface_hierarchy!(ISubscriptionMgr, windows_core::IUnknown); impl ISubscriptionMgr { pub unsafe fn DeleteSubscription(&self, pwszurl: P0, hwnd: P1) -> windows_core::Result<()> @@ -6649,7 +6649,7 @@ pub struct ISubscriptionMgr_Vtbl { pub ShowSubscriptionProperties: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::Foundation::HWND) -> windows_core::HRESULT, pub CreateSubscription: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, windows_core::PCWSTR, u32, SUBSCRIPTIONTYPE, *mut SUBSCRIPTIONINFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISubscriptionMgr2, ISubscriptionMgr2_Vtbl, 0x614bc270_aedf_11d1_a1f9_00c04fc2fbe1); +windows_core::imp::define_interface!(ISubscriptionMgr2, ISubscriptionMgr2_Vtbl, 0x614bc270_aedf_11d1_a1f9_00c04fc2fbe1); windows_core::imp::interface_hierarchy!(ISubscriptionMgr2, windows_core::IUnknown, ISubscriptionMgr); impl ISubscriptionMgr2 { pub unsafe fn DeleteSubscription(&self, pwszurl: P0, hwnd: P1) -> windows_core::Result<()> @@ -6738,7 +6738,7 @@ pub struct ISubscriptionMgr2_Vtbl { pub AbortItems: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, pub AbortAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITableCreation, ITableCreation_Vtbl, 0x0c733abc_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ITableCreation, ITableCreation_Vtbl, 0x0c733abc_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ITableCreation, windows_core::IUnknown, ITableDefinition); impl ITableCreation { #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] @@ -6796,7 +6796,7 @@ pub struct ITableCreation_Vtbl { #[cfg(not(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com")))] GetTableDefinition: usize, } -windows_core::imp::com_interface!(ITableDefinition, ITableDefinition_Vtbl, 0x0c733a86_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ITableDefinition, ITableDefinition_Vtbl, 0x0c733a86_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ITableDefinition, windows_core::IUnknown); impl ITableDefinition { #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] @@ -6851,7 +6851,7 @@ pub struct ITableDefinition_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] DropColumn: usize, } -windows_core::imp::com_interface!(ITableDefinitionWithConstraints, ITableDefinitionWithConstraints_Vtbl, 0x0c733aab_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ITableDefinitionWithConstraints, ITableDefinitionWithConstraints_Vtbl, 0x0c733aab_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ITableDefinitionWithConstraints, windows_core::IUnknown, ITableDefinition, ITableCreation); impl ITableDefinitionWithConstraints { #[cfg(all(feature = "Win32_Storage_IndexServer", feature = "Win32_System_Com"))] @@ -6932,7 +6932,7 @@ pub struct ITableDefinitionWithConstraints_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] DropConstraint: usize, } -windows_core::imp::com_interface!(ITableRename, ITableRename_Vtbl, 0x0c733a77_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ITableRename, ITableRename_Vtbl, 0x0c733a77_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ITableRename, windows_core::IUnknown); impl ITableRename { #[cfg(feature = "Win32_Storage_IndexServer")] @@ -6956,7 +6956,7 @@ pub struct ITableRename_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] RenameTable: usize, } -windows_core::imp::com_interface!(ITokenCollection, ITokenCollection_Vtbl, 0x22d8b4f2_f577_4adb_a335_c2ae88416fab); +windows_core::imp::define_interface!(ITokenCollection, ITokenCollection_Vtbl, 0x22d8b4f2_f577_4adb_a335_c2ae88416fab); windows_core::imp::interface_hierarchy!(ITokenCollection, windows_core::IUnknown); impl ITokenCollection { pub unsafe fn NumberOfTokens(&self, pcount: *const u32) -> windows_core::Result<()> { @@ -6972,7 +6972,7 @@ pub struct ITokenCollection_Vtbl { pub NumberOfTokens: unsafe extern "system" fn(*mut core::ffi::c_void, *const u32) -> windows_core::HRESULT, pub GetToken: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, *mut u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransactionJoin, ITransactionJoin_Vtbl, 0x0c733a5e_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ITransactionJoin, ITransactionJoin_Vtbl, 0x0c733a5e_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ITransactionJoin, windows_core::IUnknown); impl ITransactionJoin { #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] @@ -7002,7 +7002,7 @@ pub struct ITransactionJoin_Vtbl { JoinTransaction: usize, } #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] -windows_core::imp::com_interface!(ITransactionLocal, ITransactionLocal_Vtbl, 0x0c733a5f_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ITransactionLocal, ITransactionLocal_Vtbl, 0x0c733a5f_2a1c_11ce_ade5_00aa0044773d); #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] windows_core::imp::interface_hierarchy!(ITransactionLocal, windows_core::IUnknown, super::DistributedTransactionCoordinator::ITransaction); #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] @@ -7052,7 +7052,7 @@ pub struct ITransactionLocal_Vtbl { #[cfg(not(feature = "Win32_System_DistributedTransactionCoordinator"))] StartTransaction: usize, } -windows_core::imp::com_interface!(ITransactionObject, ITransactionObject_Vtbl, 0x0c733a60_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ITransactionObject, ITransactionObject_Vtbl, 0x0c733a60_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ITransactionObject, windows_core::IUnknown); impl ITransactionObject { #[cfg(feature = "Win32_System_DistributedTransactionCoordinator")] @@ -7069,7 +7069,7 @@ pub struct ITransactionObject_Vtbl { #[cfg(not(feature = "Win32_System_DistributedTransactionCoordinator"))] GetTransactionObject: usize, } -windows_core::imp::com_interface!(ITrusteeAdmin, ITrusteeAdmin_Vtbl, 0x0c733aa1_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ITrusteeAdmin, ITrusteeAdmin_Vtbl, 0x0c733aa1_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ITrusteeAdmin, windows_core::IUnknown); impl ITrusteeAdmin { #[cfg(feature = "Win32_Security_Authorization")] @@ -7117,7 +7117,7 @@ pub struct ITrusteeAdmin_Vtbl { #[cfg(not(all(feature = "Win32_Security_Authorization", feature = "Win32_Storage_IndexServer")))] GetTrusteeProperties: usize, } -windows_core::imp::com_interface!(ITrusteeGroupAdmin, ITrusteeGroupAdmin_Vtbl, 0x0c733aa2_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(ITrusteeGroupAdmin, ITrusteeGroupAdmin_Vtbl, 0x0c733aa2_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(ITrusteeGroupAdmin, windows_core::IUnknown); impl ITrusteeGroupAdmin { #[cfg(feature = "Win32_Security_Authorization")] @@ -7166,7 +7166,7 @@ pub struct ITrusteeGroupAdmin_Vtbl { #[cfg(not(feature = "Win32_Security_Authorization"))] GetMemberships: usize, } -windows_core::imp::interface!(IUMS, IUMS_Vtbl); +windows_core::imp::define_interface!(IUMS, IUMS_Vtbl); impl IUMS { pub unsafe fn SqlUmsSuspend(&self, ticks: u32) { (windows_core::Interface::vtable(self).SqlUmsSuspend)(windows_core::Interface::as_raw(self), ticks) @@ -7192,7 +7192,7 @@ pub struct IUMS_Vtbl { pub SqlUmsSwitchNonPremptive: unsafe extern "system" fn(*mut core::ffi::c_void), pub SqlUmsFIsPremptive: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IUMSInitialize, IUMSInitialize_Vtbl, 0x5cf4ca14_ef21_11d0_97e7_00c04fc2ad98); +windows_core::imp::define_interface!(IUMSInitialize, IUMSInitialize_Vtbl, 0x5cf4ca14_ef21_11d0_97e7_00c04fc2ad98); windows_core::imp::interface_hierarchy!(IUMSInitialize, windows_core::IUnknown); impl IUMSInitialize { pub unsafe fn Initialize(&self, pums: *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -7204,7 +7204,7 @@ pub struct IUMSInitialize_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, } -windows_core::imp::com_interface!(IUrlAccessor, IUrlAccessor_Vtbl, 0x0b63e318_9ccc_11d0_bcdb_00805fccce04); +windows_core::imp::define_interface!(IUrlAccessor, IUrlAccessor_Vtbl, 0x0b63e318_9ccc_11d0_bcdb_00805fccce04); windows_core::imp::interface_hierarchy!(IUrlAccessor, windows_core::IUnknown); impl IUrlAccessor { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -7282,7 +7282,7 @@ pub struct IUrlAccessor_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] BindToFilter: usize, } -windows_core::imp::com_interface!(IUrlAccessor2, IUrlAccessor2_Vtbl, 0xc7310734_ac80_11d1_8df3_00c04fb6ef4f); +windows_core::imp::define_interface!(IUrlAccessor2, IUrlAccessor2_Vtbl, 0xc7310734_ac80_11d1_8df3_00c04fb6ef4f); windows_core::imp::interface_hierarchy!(IUrlAccessor2, windows_core::IUnknown, IUrlAccessor); impl IUrlAccessor2 { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -7350,7 +7350,7 @@ pub struct IUrlAccessor2_Vtbl { pub IsDocument: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUrlAccessor3, IUrlAccessor3_Vtbl, 0x6fbc7005_0455_4874_b8ff_7439450241a3); +windows_core::imp::define_interface!(IUrlAccessor3, IUrlAccessor3_Vtbl, 0x6fbc7005_0455_4874_b8ff_7439450241a3); windows_core::imp::interface_hierarchy!(IUrlAccessor3, windows_core::IUnknown, IUrlAccessor, IUrlAccessor2); impl IUrlAccessor3 { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -7426,7 +7426,7 @@ pub struct IUrlAccessor3_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetImpersonationSidBlobs: usize, } -windows_core::imp::com_interface!(IUrlAccessor4, IUrlAccessor4_Vtbl, 0x5cc51041_c8d2_41d7_bca3_9e9e286297dc); +windows_core::imp::define_interface!(IUrlAccessor4, IUrlAccessor4_Vtbl, 0x5cc51041_c8d2_41d7_bca3_9e9e286297dc); windows_core::imp::interface_hierarchy!(IUrlAccessor4, windows_core::IUnknown, IUrlAccessor, IUrlAccessor2, IUrlAccessor3); impl IUrlAccessor4 { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -7512,7 +7512,7 @@ pub struct IUrlAccessor4_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] ShouldIndexProperty: usize, } -windows_core::imp::com_interface!(IViewChapter, IViewChapter_Vtbl, 0x0c733a98_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IViewChapter, IViewChapter_Vtbl, 0x0c733a98_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IViewChapter, windows_core::IUnknown); impl IViewChapter { pub unsafe fn GetSpecification(&self, riid: *const windows_core::GUID) -> windows_core::Result { @@ -7529,7 +7529,7 @@ pub struct IViewChapter_Vtbl { pub GetSpecification: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OpenViewChapter: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *mut usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IViewFilter, IViewFilter_Vtbl, 0x0c733a9b_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IViewFilter, IViewFilter_Vtbl, 0x0c733a9b_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IViewFilter, windows_core::IUnknown); impl IViewFilter { pub unsafe fn GetFilter(&self, haccessor: P0, pcrows: *mut usize, pcompareops: *mut *mut u32, pcriteriadata: *mut core::ffi::c_void) -> windows_core::Result<()> @@ -7559,7 +7559,7 @@ pub struct IViewFilter_Vtbl { GetFilterBindings: usize, pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, HACCESSOR, usize, *const u32, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IViewRowset, IViewRowset_Vtbl, 0x0c733a97_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IViewRowset, IViewRowset_Vtbl, 0x0c733a97_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IViewRowset, windows_core::IUnknown); impl IViewRowset { pub unsafe fn GetSpecification(&self, riid: *const windows_core::GUID) -> windows_core::Result { @@ -7580,7 +7580,7 @@ pub struct IViewRowset_Vtbl { pub GetSpecification: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OpenViewRowset: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IViewSort, IViewSort_Vtbl, 0x0c733a9a_2a1c_11ce_ade5_00aa0044773d); +windows_core::imp::define_interface!(IViewSort, IViewSort_Vtbl, 0x0c733a9a_2a1c_11ce_ade5_00aa0044773d); windows_core::imp::interface_hierarchy!(IViewSort, windows_core::IUnknown); impl IViewSort { pub unsafe fn GetSortOrder(&self, pcvalues: *mut usize, prgcolumns: *mut *mut usize, prgorders: *mut *mut u32) -> windows_core::Result<()> { @@ -7596,7 +7596,7 @@ pub struct IViewSort_Vtbl { pub GetSortOrder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut usize, *mut *mut usize, *mut *mut u32) -> windows_core::HRESULT, pub SetSortOrder: unsafe extern "system" fn(*mut core::ffi::c_void, usize, *const usize, *const u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWordBreaker, IWordBreaker_Vtbl, 0xd53552c8_77e3_101a_b552_08002b33b0e6); +windows_core::imp::define_interface!(IWordBreaker, IWordBreaker_Vtbl, 0xd53552c8_77e3_101a_b552_08002b33b0e6); windows_core::imp::interface_hierarchy!(IWordBreaker, windows_core::IUnknown); impl IWordBreaker { pub unsafe fn Init(&self, fquery: P0, ulmaxtokensize: u32, pflicense: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> @@ -7636,7 +7636,7 @@ pub struct IWordBreaker_Vtbl { pub ComposePhrase: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32, u32, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, pub GetLicenseToUse: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWordFormSink, IWordFormSink_Vtbl, 0xfe77c330_7f42_11ce_be57_00aa0051fe20); +windows_core::imp::define_interface!(IWordFormSink, IWordFormSink_Vtbl, 0xfe77c330_7f42_11ce_be57_00aa0051fe20); windows_core::imp::interface_hierarchy!(IWordFormSink, windows_core::IUnknown); impl IWordFormSink { pub unsafe fn PutAltWord(&self, pwcinbuf: P0, cwc: u32) -> windows_core::Result<()> @@ -7658,7 +7658,7 @@ pub struct IWordFormSink_Vtbl { pub PutAltWord: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub PutWord: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWordSink, IWordSink_Vtbl, 0xcc907054_c058_101a_b554_08002b33b0e6); +windows_core::imp::define_interface!(IWordSink, IWordSink_Vtbl, 0xcc907054_c058_101a_b554_08002b33b0e6); windows_core::imp::interface_hierarchy!(IWordSink, windows_core::IUnknown); impl IWordSink { pub unsafe fn PutWord(&self, cwc: u32, pwcinbuf: P0, cwcsrclen: u32, cwcsrcpos: u32) -> windows_core::Result<()> @@ -7696,7 +7696,7 @@ pub struct IWordSink_Vtbl { #[cfg(not(feature = "Win32_Storage_IndexServer"))] PutBreak: usize, } -windows_core::imp::com_interface!(OLEDBSimpleProvider, OLEDBSimpleProvider_Vtbl, 0xe0e270c0_c0be_11d0_8fe4_00a0c90a6341); +windows_core::imp::define_interface!(OLEDBSimpleProvider, OLEDBSimpleProvider_Vtbl, 0xe0e270c0_c0be_11d0_8fe4_00a0c90a6341); windows_core::imp::interface_hierarchy!(OLEDBSimpleProvider, windows_core::IUnknown); impl OLEDBSimpleProvider { pub unsafe fn getRowCount(&self) -> windows_core::Result { @@ -7782,7 +7782,7 @@ pub struct OLEDBSimpleProvider_Vtbl { pub getEstimatedRows: unsafe extern "system" fn(*mut core::ffi::c_void, *mut isize) -> windows_core::HRESULT, pub stopTransfer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(OLEDBSimpleProviderListener, OLEDBSimpleProviderListener_Vtbl, 0xe0e270c1_c0be_11d0_8fe4_00a0c90a6341); +windows_core::imp::define_interface!(OLEDBSimpleProviderListener, OLEDBSimpleProviderListener_Vtbl, 0xe0e270c1_c0be_11d0_8fe4_00a0c90a6341); windows_core::imp::interface_hierarchy!(OLEDBSimpleProviderListener, windows_core::IUnknown); impl OLEDBSimpleProviderListener { pub unsafe fn aboutToChangeCell(&self, irow: isize, icolumn: isize) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs index 51743dc9d9..7308bc81d7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/mod.rs @@ -34,7 +34,7 @@ where WscUnRegisterChanges(hregistrationhandle.into_param().abi()).ok() } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSCDefaultProduct, IWSCDefaultProduct_Vtbl, 0x0476d69c_f21a_11e5_9ce9_5e5517507c66); +windows_core::imp::define_interface!(IWSCDefaultProduct, IWSCDefaultProduct_Vtbl, 0x0476d69c_f21a_11e5_9ce9_5e5517507c66); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSCDefaultProduct, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -53,7 +53,7 @@ pub struct IWSCDefaultProduct_Vtbl { pub SetDefaultProduct: unsafe extern "system" fn(*mut core::ffi::c_void, SECURITY_PRODUCT_TYPE, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWSCProductList, IWSCProductList_Vtbl, 0x722a338c_6e8e_4e72_ac27_1417fb0c81c2); +windows_core::imp::define_interface!(IWSCProductList, IWSCProductList_Vtbl, 0x722a338c_6e8e_4e72_ac27_1417fb0c81c2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWSCProductList, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -83,7 +83,7 @@ pub struct IWSCProductList_Vtbl { get_Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWscProduct, IWscProduct_Vtbl, 0x8c38232e_3a45_4a27_92b0_1a16a975f669); +windows_core::imp::define_interface!(IWscProduct, IWscProduct_Vtbl, 0x8c38232e_3a45_4a27_92b0_1a16a975f669); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWscProduct, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -130,7 +130,7 @@ pub struct IWscProduct_Vtbl { pub ProductIsDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWscProduct2, IWscProduct2_Vtbl, 0xf896ca54_fe09_4403_86d4_23cb488d81d8); +windows_core::imp::define_interface!(IWscProduct2, IWscProduct2_Vtbl, 0xf896ca54_fe09_4403_86d4_23cb488d81d8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWscProduct2, windows_core::IUnknown, super::Com::IDispatch, IWscProduct); #[cfg(feature = "Win32_System_Com")] @@ -200,7 +200,7 @@ pub struct IWscProduct2_Vtbl { pub FirewallPublicProfileSubstatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WSC_SECURITY_PRODUCT_SUBSTATUS) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWscProduct3, IWscProduct3_Vtbl, 0x55536524_d1d1_4726_8c7c_04996a1904e7); +windows_core::imp::define_interface!(IWscProduct3, IWscProduct3_Vtbl, 0x55536524_d1d1_4726_8c7c_04996a1904e7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWscProduct3, windows_core::IUnknown, super::Com::IDispatch, IWscProduct, IWscProduct2); #[cfg(feature = "Win32_System_Com")] 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 5c2710a570..71fbc6a50a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IWsbApplicationAsync, IWsbApplicationAsync_Vtbl, 0x0843f6f7_895c_44a6_b0c2_05a5022aa3a1); +windows_core::imp::define_interface!(IWsbApplicationAsync, IWsbApplicationAsync_Vtbl, 0x0843f6f7_895c_44a6_b0c2_05a5022aa3a1); windows_core::imp::interface_hierarchy!(IWsbApplicationAsync, windows_core::IUnknown); impl IWsbApplicationAsync { pub unsafe fn QueryStatus(&self) -> windows_core::Result { @@ -15,7 +15,7 @@ pub struct IWsbApplicationAsync_Vtbl { pub QueryStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, pub Abort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWsbApplicationBackupSupport, IWsbApplicationBackupSupport_Vtbl, 0x1eff3510_4a27_46ad_b9e0_08332f0f4f6d); +windows_core::imp::define_interface!(IWsbApplicationBackupSupport, IWsbApplicationBackupSupport_Vtbl, 0x1eff3510_4a27_46ad_b9e0_08332f0f4f6d); windows_core::imp::interface_hierarchy!(IWsbApplicationBackupSupport, windows_core::IUnknown); impl IWsbApplicationBackupSupport { pub unsafe fn CheckConsistency(&self, wszwritermetadata: P0, wszcomponentname: P1, wszcomponentlogicalpath: P2, cvolumes: u32, rgwszsourcevolumepath: *const windows_core::PCWSTR, rgwszsnapshotvolumepath: *const windows_core::PCWSTR) -> windows_core::Result @@ -33,7 +33,7 @@ pub struct IWsbApplicationBackupSupport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CheckConsistency: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, u32, *const windows_core::PCWSTR, *const windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWsbApplicationRestoreSupport, IWsbApplicationRestoreSupport_Vtbl, 0x8d3bdb38_4ee8_4718_85f9_c7dbc4ab77aa); +windows_core::imp::define_interface!(IWsbApplicationRestoreSupport, IWsbApplicationRestoreSupport_Vtbl, 0x8d3bdb38_4ee8_4718_85f9_c7dbc4ab77aa); windows_core::imp::interface_hierarchy!(IWsbApplicationRestoreSupport, windows_core::IUnknown); impl IWsbApplicationRestoreSupport { pub unsafe fn PreRestore(&self, wszwritermetadata: P0, wszcomponentname: P1, wszcomponentlogicalpath: P2, bnorollforward: P3) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs index 4bd9954358..74456f0dc5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IItemEnumerator, IItemEnumerator_Vtbl, 0x9f7d7bb7_20b3_11da_81a5_0030f1642e3c); +windows_core::imp::define_interface!(IItemEnumerator, IItemEnumerator_Vtbl, 0x9f7d7bb7_20b3_11da_81a5_0030f1642e3c); windows_core::imp::interface_hierarchy!(IItemEnumerator, windows_core::IUnknown); impl IItemEnumerator { pub unsafe fn Current(&self) -> windows_core::Result { @@ -20,7 +20,7 @@ pub struct IItemEnumerator_Vtbl { 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, } -windows_core::imp::com_interface!(ISettingsContext, ISettingsContext_Vtbl, 0x9f7d7bbd_20b3_11da_81a5_0030f1642e3c); +windows_core::imp::define_interface!(ISettingsContext, ISettingsContext_Vtbl, 0x9f7d7bbd_20b3_11da_81a5_0030f1642e3c); windows_core::imp::interface_hierarchy!(ISettingsContext, windows_core::IUnknown); impl ISettingsContext { #[cfg(feature = "Win32_System_Com")] @@ -82,7 +82,7 @@ pub struct ISettingsContext_Vtbl { pub GetStoredSettings: 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 RevertSetting: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISettingsEngine, ISettingsEngine_Vtbl, 0x9f7d7bb9_20b3_11da_81a5_0030f1642e3c); +windows_core::imp::define_interface!(ISettingsEngine, ISettingsEngine_Vtbl, 0x9f7d7bb9_20b3_11da_81a5_0030f1642e3c); 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 { @@ -190,7 +190,7 @@ pub struct ISettingsEngine_Vtbl { pub ApplySettingsContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut windows_core::PWSTR, *mut usize) -> windows_core::HRESULT, pub GetSettingsContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISettingsIdentity, ISettingsIdentity_Vtbl, 0x9f7d7bb6_20b3_11da_81a5_0030f1642e3c); +windows_core::imp::define_interface!(ISettingsIdentity, ISettingsIdentity_Vtbl, 0x9f7d7bb6_20b3_11da_81a5_0030f1642e3c); windows_core::imp::interface_hierarchy!(ISettingsIdentity, windows_core::IUnknown); impl ISettingsIdentity { pub unsafe fn GetAttribute(&self, reserved: *const core::ffi::c_void, name: P0) -> windows_core::Result @@ -223,7 +223,7 @@ pub struct ISettingsIdentity_Vtbl { 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, } -windows_core::imp::com_interface!(ISettingsItem, ISettingsItem_Vtbl, 0x9f7d7bbb_20b3_11da_81a5_0030f1642e3c); +windows_core::imp::define_interface!(ISettingsItem, ISettingsItem_Vtbl, 0x9f7d7bbb_20b3_11da_81a5_0030f1642e3c); windows_core::imp::interface_hierarchy!(ISettingsItem, windows_core::IUnknown); impl ISettingsItem { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -355,7 +355,7 @@ pub struct ISettingsItem_Vtbl { 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, } -windows_core::imp::com_interface!(ISettingsNamespace, ISettingsNamespace_Vtbl, 0x9f7d7bba_20b3_11da_81a5_0030f1642e3c); +windows_core::imp::define_interface!(ISettingsNamespace, ISettingsNamespace_Vtbl, 0x9f7d7bba_20b3_11da_81a5_0030f1642e3c); windows_core::imp::interface_hierarchy!(ISettingsNamespace, windows_core::IUnknown); impl ISettingsNamespace { pub unsafe fn GetIdentity(&self) -> windows_core::Result { @@ -412,7 +412,7 @@ pub struct ISettingsNamespace_Vtbl { 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, } -windows_core::imp::com_interface!(ISettingsResult, ISettingsResult_Vtbl, 0x9f7d7bbc_20b3_11da_81a5_0030f1642e3c); +windows_core::imp::define_interface!(ISettingsResult, ISettingsResult_Vtbl, 0x9f7d7bbc_20b3_11da_81a5_0030f1642e3c); windows_core::imp::interface_hierarchy!(ISettingsResult, windows_core::IUnknown); impl ISettingsResult { pub unsafe fn GetDescription(&self) -> windows_core::Result { @@ -450,7 +450,7 @@ pub struct ISettingsResult_Vtbl { 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, } -windows_core::imp::com_interface!(ITargetInfo, ITargetInfo_Vtbl, 0x9f7d7bb8_20b3_11da_81a5_0030f1642e3c); +windows_core::imp::define_interface!(ITargetInfo, ITargetInfo_Vtbl, 0x9f7d7bb8_20b3_11da_81a5_0030f1642e3c); windows_core::imp::interface_hierarchy!(ITargetInfo, windows_core::IUnknown); impl ITargetInfo { pub unsafe fn GetTargetMode(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs b/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs index cd5ce133ca..730d739eeb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISideShowBulkCapabilities, ISideShowBulkCapabilities_Vtbl, 0x3a2b7fbc_3ad5_48bd_bbf1_0e6cfbd10807); +windows_core::imp::define_interface!(ISideShowBulkCapabilities, ISideShowBulkCapabilities_Vtbl, 0x3a2b7fbc_3ad5_48bd_bbf1_0e6cfbd10807); windows_core::imp::interface_hierarchy!(ISideShowBulkCapabilities, windows_core::IUnknown, ISideShowCapabilities); impl ISideShowBulkCapabilities { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -17,7 +17,7 @@ pub struct ISideShowBulkCapabilities_Vtbl { pub base__: ISideShowCapabilities_Vtbl, pub GetCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISideShowCapabilities, ISideShowCapabilities_Vtbl, 0x535e1379_c09e_4a54_a511_597bab3a72b8); +windows_core::imp::define_interface!(ISideShowCapabilities, ISideShowCapabilities_Vtbl, 0x535e1379_c09e_4a54_a511_597bab3a72b8); windows_core::imp::interface_hierarchy!(ISideShowCapabilities, windows_core::IUnknown); impl ISideShowCapabilities { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -33,7 +33,7 @@ pub struct ISideShowCapabilities_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetCapability: usize, } -windows_core::imp::com_interface!(ISideShowCapabilitiesCollection, ISideShowCapabilitiesCollection_Vtbl, 0x50305597_5e0d_4ff7_b3af_33d0d9bd52dd); +windows_core::imp::define_interface!(ISideShowCapabilitiesCollection, ISideShowCapabilitiesCollection_Vtbl, 0x50305597_5e0d_4ff7_b3af_33d0d9bd52dd); windows_core::imp::interface_hierarchy!(ISideShowCapabilitiesCollection, windows_core::IUnknown); impl ISideShowCapabilitiesCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -51,7 +51,7 @@ pub struct ISideShowCapabilitiesCollection_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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISideShowContent, ISideShowContent_Vtbl, 0xc18552ed_74ff_4fec_be07_4cfed29d4887); +windows_core::imp::define_interface!(ISideShowContent, ISideShowContent_Vtbl, 0xc18552ed_74ff_4fec_be07_4cfed29d4887); windows_core::imp::interface_hierarchy!(ISideShowContent, windows_core::IUnknown); impl ISideShowContent { pub unsafe fn GetContent(&self, in_picapabilities: P0, out_pdwsize: *mut u32, out_ppbdata: *mut *mut u8) -> windows_core::Result<()> @@ -76,7 +76,7 @@ pub struct ISideShowContent_Vtbl { pub ContentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub DifferentiateContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISideShowContentManager, ISideShowContentManager_Vtbl, 0xa5d5b66b_eef9_41db_8d7e_e17c33ab10b0); +windows_core::imp::define_interface!(ISideShowContentManager, ISideShowContentManager_Vtbl, 0xa5d5b66b_eef9_41db_8d7e_e17c33ab10b0); windows_core::imp::interface_hierarchy!(ISideShowContentManager, windows_core::IUnknown); impl ISideShowContentManager { pub unsafe fn Add(&self, in_picontent: P0) -> windows_core::Result<()> @@ -111,7 +111,7 @@ pub struct ISideShowContentManager_Vtbl { pub SetEventSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDeviceCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISideShowEvents, ISideShowEvents_Vtbl, 0x61feca4c_deb4_4a7e_8d75_51f1132d615b); +windows_core::imp::define_interface!(ISideShowEvents, ISideShowEvents_Vtbl, 0x61feca4c_deb4_4a7e_8d75_51f1132d615b); windows_core::imp::interface_hierarchy!(ISideShowEvents, windows_core::IUnknown); impl ISideShowEvents { pub unsafe fn ContentMissing(&self, in_contentid: u32) -> windows_core::Result { @@ -145,7 +145,7 @@ pub struct ISideShowEvents_Vtbl { pub DeviceAdded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DeviceRemoved: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISideShowKeyCollection, ISideShowKeyCollection_Vtbl, 0x045473bc_a37b_4957_b144_68105411ed8e); +windows_core::imp::define_interface!(ISideShowKeyCollection, ISideShowKeyCollection_Vtbl, 0x045473bc_a37b_4957_b144_68105411ed8e); windows_core::imp::interface_hierarchy!(ISideShowKeyCollection, windows_core::IUnknown); impl ISideShowKeyCollection { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -181,7 +181,7 @@ pub struct ISideShowKeyCollection_Vtbl { 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, } -windows_core::imp::com_interface!(ISideShowNotification, ISideShowNotification_Vtbl, 0x03c93300_8ab2_41c5_9b79_46127a30e148); +windows_core::imp::define_interface!(ISideShowNotification, ISideShowNotification_Vtbl, 0x03c93300_8ab2_41c5_9b79_46127a30e148); windows_core::imp::interface_hierarchy!(ISideShowNotification, windows_core::IUnknown); impl ISideShowNotification { pub unsafe fn NotificationId(&self) -> windows_core::Result { @@ -251,7 +251,7 @@ pub struct ISideShowNotification_Vtbl { pub ExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SYSTEMTIME) -> windows_core::HRESULT, pub SetExpirationTime: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::SYSTEMTIME) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISideShowNotificationManager, ISideShowNotificationManager_Vtbl, 0x63cea909_f2b9_4302_b5e1_c68e6d9ab833); +windows_core::imp::define_interface!(ISideShowNotificationManager, ISideShowNotificationManager_Vtbl, 0x63cea909_f2b9_4302_b5e1_c68e6d9ab833); windows_core::imp::interface_hierarchy!(ISideShowNotificationManager, windows_core::IUnknown); impl ISideShowNotificationManager { pub unsafe fn Show(&self, in_pinotification: P0) -> windows_core::Result<()> @@ -274,7 +274,7 @@ pub struct ISideShowNotificationManager_Vtbl { pub Revoke: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub RevokeAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISideShowPropVariantCollection, ISideShowPropVariantCollection_Vtbl, 0x2ea7a549_7bff_4aae_bab0_22d43111de49); +windows_core::imp::define_interface!(ISideShowPropVariantCollection, ISideShowPropVariantCollection_Vtbl, 0x2ea7a549_7bff_4aae_bab0_22d43111de49); windows_core::imp::interface_hierarchy!(ISideShowPropVariantCollection, windows_core::IUnknown); impl ISideShowPropVariantCollection { pub unsafe fn Add(&self, pvalue: *const windows_core::PROPVARIANT) -> windows_core::Result<()> { @@ -302,7 +302,7 @@ pub struct ISideShowPropVariantCollection_Vtbl { 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, } -windows_core::imp::com_interface!(ISideShowSession, ISideShowSession_Vtbl, 0xe22331ee_9e7d_4922_9fc2_ab7aa41ce491); +windows_core::imp::define_interface!(ISideShowSession, ISideShowSession_Vtbl, 0xe22331ee_9e7d_4922_9fc2_ab7aa41ce491); 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 { 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 4058b82280..e3bb418a9c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAction, IAction_Vtbl, 0xbae54997_48b1_4cbe_9965_d6be263ebea4); +windows_core::imp::define_interface!(IAction, IAction_Vtbl, 0xbae54997_48b1_4cbe_9965_d6be263ebea4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAction, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -26,7 +26,7 @@ pub struct IAction_Vtbl { pub Type: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_ACTION_TYPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IActionCollection, IActionCollection_Vtbl, 0x02820e19_7b98_4ed2_b2e8_fdccceff619b); +windows_core::imp::define_interface!(IActionCollection, IActionCollection_Vtbl, 0x02820e19_7b98_4ed2_b2e8_fdccceff619b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IActionCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -98,7 +98,7 @@ pub struct IActionCollection_Vtbl { pub SetContext: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IBootTrigger, IBootTrigger_Vtbl, 0x2a9c35da_d357_41f4_bbc1_207ac1b1f3cb); +windows_core::imp::define_interface!(IBootTrigger, IBootTrigger_Vtbl, 0x2a9c35da_d357_41f4_bbc1_207ac1b1f3cb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IBootTrigger, windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] @@ -181,7 +181,7 @@ pub struct IBootTrigger_Vtbl { pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IComHandlerAction, IComHandlerAction_Vtbl, 0x6d2fd252_75c5_4f66_90ba_2a7d8cc3039f); +windows_core::imp::define_interface!(IComHandlerAction, IComHandlerAction_Vtbl, 0x6d2fd252_75c5_4f66_90ba_2a7d8cc3039f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IComHandlerAction, windows_core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] @@ -227,7 +227,7 @@ pub struct IComHandlerAction_Vtbl { pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDailyTrigger, IDailyTrigger_Vtbl, 0x126c5cd8_b288_41d5_8dbf_e491446adc5c); +windows_core::imp::define_interface!(IDailyTrigger, IDailyTrigger_Vtbl, 0x126c5cd8_b288_41d5_8dbf_e491446adc5c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDailyTrigger, windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] @@ -318,7 +318,7 @@ pub struct IDailyTrigger_Vtbl { pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IEmailAction, IEmailAction_Vtbl, 0x10f62c64_7e16_4314_a0c2_0c3683f99d40); +windows_core::imp::define_interface!(IEmailAction, IEmailAction_Vtbl, 0x10f62c64_7e16_4314_a0c2_0c3683f99d40); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IEmailAction, windows_core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] @@ -465,7 +465,7 @@ pub struct IEmailAction_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetAttachments: usize, } -windows_core::imp::com_interface!(IEnumWorkItems, IEnumWorkItems_Vtbl, 0x148bd528_a2ab_11ce_b11f_00aa00530503); +windows_core::imp::define_interface!(IEnumWorkItems, IEnumWorkItems_Vtbl, 0x148bd528_a2ab_11ce_b11f_00aa00530503); windows_core::imp::interface_hierarchy!(IEnumWorkItems, windows_core::IUnknown); impl IEnumWorkItems { pub unsafe fn Next(&self, celt: u32, rgpwsznames: *mut *mut windows_core::PWSTR, pceltfetched: *mut u32) -> windows_core::HRESULT { @@ -491,7 +491,7 @@ pub struct IEnumWorkItems_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IEventTrigger, IEventTrigger_Vtbl, 0xd45b0167_9653_4eef_b94f_0732ca7af251); +windows_core::imp::define_interface!(IEventTrigger, IEventTrigger_Vtbl, 0xd45b0167_9653_4eef_b94f_0732ca7af251); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IEventTrigger, windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] @@ -605,7 +605,7 @@ pub struct IEventTrigger_Vtbl { SetValueQueries: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IExecAction, IExecAction_Vtbl, 0x4c3d624d_fd6b_49a3_b9b7_09cb3cd3f047); +windows_core::imp::define_interface!(IExecAction, IExecAction_Vtbl, 0x4c3d624d_fd6b_49a3_b9b7_09cb3cd3f047); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IExecAction, windows_core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] @@ -662,7 +662,7 @@ pub struct IExecAction_Vtbl { pub SetWorkingDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IExecAction2, IExecAction2_Vtbl, 0xf2a82542_bda5_4e6b_9143_e2bf4f8987b6); +windows_core::imp::define_interface!(IExecAction2, IExecAction2_Vtbl, 0xf2a82542_bda5_4e6b_9143_e2bf4f8987b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IExecAction2, windows_core::IUnknown, super::Com::IDispatch, IAction, IExecAction); #[cfg(feature = "Win32_System_Com")] @@ -724,7 +724,7 @@ pub struct IExecAction2_Vtbl { pub SetHideAppWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IIdleSettings, IIdleSettings_Vtbl, 0x84594461_0053_4342_a8fd_088fabf11f32); +windows_core::imp::define_interface!(IIdleSettings, IIdleSettings_Vtbl, 0x84594461_0053_4342_a8fd_088fabf11f32); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IIdleSettings, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -780,7 +780,7 @@ pub struct IIdleSettings_Vtbl { pub SetRestartOnIdle: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IIdleTrigger, IIdleTrigger_Vtbl, 0xd537d2b0_9fb3_4d34_9739_1ff5ce7b1ef3); +windows_core::imp::define_interface!(IIdleTrigger, IIdleTrigger_Vtbl, 0xd537d2b0_9fb3_4d34_9739_1ff5ce7b1ef3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IIdleTrigger, windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] @@ -852,7 +852,7 @@ pub struct IIdleTrigger_Vtbl { pub base__: ITrigger_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ILogonTrigger, ILogonTrigger_Vtbl, 0x72dade38_fae4_4b3e_baf4_5d009af02b1c); +windows_core::imp::define_interface!(ILogonTrigger, ILogonTrigger_Vtbl, 0x72dade38_fae4_4b3e_baf4_5d009af02b1c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ILogonTrigger, windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] @@ -946,7 +946,7 @@ pub struct ILogonTrigger_Vtbl { pub SetUserId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMaintenanceSettings, IMaintenanceSettings_Vtbl, 0xa6024fa8_9652_4adb_a6bf_5cfcd877a7ba); +windows_core::imp::define_interface!(IMaintenanceSettings, IMaintenanceSettings_Vtbl, 0xa6024fa8_9652_4adb_a6bf_5cfcd877a7ba); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMaintenanceSettings, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -991,7 +991,7 @@ pub struct IMaintenanceSettings_Vtbl { pub Exclusive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMonthlyDOWTrigger, IMonthlyDOWTrigger_Vtbl, 0x77d025a3_90fa_43aa_b52e_cda5499b946a); +windows_core::imp::define_interface!(IMonthlyDOWTrigger, IMonthlyDOWTrigger_Vtbl, 0x77d025a3_90fa_43aa_b52e_cda5499b946a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMonthlyDOWTrigger, windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] @@ -1109,7 +1109,7 @@ pub struct IMonthlyDOWTrigger_Vtbl { pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMonthlyTrigger, IMonthlyTrigger_Vtbl, 0x97c45ef1_6b02_4a1a_9c0e_1ebfba1500ac); +windows_core::imp::define_interface!(IMonthlyTrigger, IMonthlyTrigger_Vtbl, 0x97c45ef1_6b02_4a1a_9c0e_1ebfba1500ac); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMonthlyTrigger, windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] @@ -1219,7 +1219,7 @@ pub struct IMonthlyTrigger_Vtbl { pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INetworkSettings, INetworkSettings_Vtbl, 0x9f7dea84_c30b_4245_80b6_00e9f646f1b4); +windows_core::imp::define_interface!(INetworkSettings, INetworkSettings_Vtbl, 0x9f7dea84_c30b_4245_80b6_00e9f646f1b4); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INetworkSettings, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1253,7 +1253,7 @@ pub struct INetworkSettings_Vtbl { pub SetId: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrincipal, IPrincipal_Vtbl, 0xd98d51e5_c9b4_496a_a9c1_18980261cf0f); +windows_core::imp::define_interface!(IPrincipal, IPrincipal_Vtbl, 0xd98d51e5_c9b4_496a_a9c1_18980261cf0f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrincipal, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1325,7 +1325,7 @@ pub struct IPrincipal_Vtbl { pub SetRunLevel: unsafe extern "system" fn(*mut core::ffi::c_void, TASK_RUNLEVEL_TYPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPrincipal2, IPrincipal2_Vtbl, 0x248919ae_e345_4a6d_8aeb_e0d3165c904e); +windows_core::imp::define_interface!(IPrincipal2, IPrincipal2_Vtbl, 0x248919ae_e345_4a6d_8aeb_e0d3165c904e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPrincipal2, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1359,7 +1359,7 @@ pub struct IPrincipal2_Vtbl { 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, } -windows_core::imp::com_interface!(IProvideTaskPage, IProvideTaskPage_Vtbl, 0x4086658a_cbbb_11cf_b604_00c04fd8d565); +windows_core::imp::define_interface!(IProvideTaskPage, IProvideTaskPage_Vtbl, 0x4086658a_cbbb_11cf_b604_00c04fd8d565); windows_core::imp::interface_hierarchy!(IProvideTaskPage, windows_core::IUnknown); impl IProvideTaskPage { #[cfg(feature = "Win32_UI_Controls")] @@ -1380,7 +1380,7 @@ pub struct IProvideTaskPage_Vtbl { GetPage: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRegisteredTask, IRegisteredTask_Vtbl, 0x9c86f320_dee3_4dd1_b972_a303f26b061e); +windows_core::imp::define_interface!(IRegisteredTask, IRegisteredTask_Vtbl, 0x9c86f320_dee3_4dd1_b972_a303f26b061e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRegisteredTask, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1507,7 +1507,7 @@ pub struct IRegisteredTask_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRegisteredTaskCollection, IRegisteredTaskCollection_Vtbl, 0x86627eb4_42a7_41e4_a4d9_ac33a72f2d52); +windows_core::imp::define_interface!(IRegisteredTaskCollection, IRegisteredTaskCollection_Vtbl, 0x86627eb4_42a7_41e4_a4d9_ac33a72f2d52); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRegisteredTaskCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1541,7 +1541,7 @@ pub struct IRegisteredTaskCollection_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")] -windows_core::imp::com_interface!(IRegistrationInfo, IRegistrationInfo_Vtbl, 0x416d8b73_cb41_4ea1_805c_9be9a5ac4a74); +windows_core::imp::define_interface!(IRegistrationInfo, IRegistrationInfo_Vtbl, 0x416d8b73_cb41_4ea1_805c_9be9a5ac4a74); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRegistrationInfo, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1652,7 +1652,7 @@ pub struct IRegistrationInfo_Vtbl { pub SetSource: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRegistrationTrigger, IRegistrationTrigger_Vtbl, 0x4c8fec3a_c218_4e0c_b23d_629024db91a2); +windows_core::imp::define_interface!(IRegistrationTrigger, IRegistrationTrigger_Vtbl, 0x4c8fec3a_c218_4e0c_b23d_629024db91a2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRegistrationTrigger, windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] @@ -1735,7 +1735,7 @@ pub struct IRegistrationTrigger_Vtbl { pub SetDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRepetitionPattern, IRepetitionPattern_Vtbl, 0x7fb9acf1_26be_400e_85b5_294b9c75dfd6); +windows_core::imp::define_interface!(IRepetitionPattern, IRepetitionPattern_Vtbl, 0x7fb9acf1_26be_400e_85b5_294b9c75dfd6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRepetitionPattern, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1780,7 +1780,7 @@ pub struct IRepetitionPattern_Vtbl { pub SetStopAtDurationEnd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRunningTask, IRunningTask_Vtbl, 0x653758fb_7b9a_4f1e_a471_beeb8e9b834e); +windows_core::imp::define_interface!(IRunningTask, IRunningTask_Vtbl, 0x653758fb_7b9a_4f1e_a471_beeb8e9b834e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRunningTask, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1830,7 +1830,7 @@ pub struct IRunningTask_Vtbl { pub EnginePID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRunningTaskCollection, IRunningTaskCollection_Vtbl, 0x6a67614b_6828_4fec_aa54_6d52e8f1f2db); +windows_core::imp::define_interface!(IRunningTaskCollection, IRunningTaskCollection_Vtbl, 0x6a67614b_6828_4fec_aa54_6d52e8f1f2db); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRunningTaskCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1863,7 +1863,7 @@ pub struct IRunningTaskCollection_Vtbl { get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScheduledWorkItem, IScheduledWorkItem_Vtbl, 0xa6b952f0_a4b1_11d0_997d_00aa006887ec); +windows_core::imp::define_interface!(IScheduledWorkItem, IScheduledWorkItem_Vtbl, 0xa6b952f0_a4b1_11d0_997d_00aa006887ec); windows_core::imp::interface_hierarchy!(IScheduledWorkItem, windows_core::IUnknown); impl IScheduledWorkItem { pub unsafe fn CreateTrigger(&self, pinewtrigger: *mut u16, pptrigger: *mut Option) -> windows_core::Result<()> { @@ -2013,7 +2013,7 @@ pub struct IScheduledWorkItem_Vtbl { pub GetAccountInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISessionStateChangeTrigger, ISessionStateChangeTrigger_Vtbl, 0x754da71b_4385_4475_9dd9_598294fa3641); +windows_core::imp::define_interface!(ISessionStateChangeTrigger, ISessionStateChangeTrigger_Vtbl, 0x754da71b_4385_4475_9dd9_598294fa3641); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISessionStateChangeTrigger, windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] @@ -2115,7 +2115,7 @@ pub struct ISessionStateChangeTrigger_Vtbl { pub SetStateChange: unsafe extern "system" fn(*mut core::ffi::c_void, TASK_SESSION_STATE_CHANGE_TYPE) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShowMessageAction, IShowMessageAction_Vtbl, 0x505e9e68_af89_46b8_a30f_56162a83d537); +windows_core::imp::define_interface!(IShowMessageAction, IShowMessageAction_Vtbl, 0x505e9e68_af89_46b8_a30f_56162a83d537); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShowMessageAction, windows_core::IUnknown, super::Com::IDispatch, IAction); #[cfg(feature = "Win32_System_Com")] @@ -2160,7 +2160,7 @@ pub struct IShowMessageAction_Vtbl { 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, } -windows_core::imp::com_interface!(ITask, ITask_Vtbl, 0x148bd524_a2ab_11ce_b11f_00aa00530503); +windows_core::imp::define_interface!(ITask, ITask_Vtbl, 0x148bd524_a2ab_11ce_b11f_00aa00530503); windows_core::imp::interface_hierarchy!(ITask, windows_core::IUnknown, IScheduledWorkItem); impl ITask { pub unsafe fn CreateTrigger(&self, pinewtrigger: *mut u16, pptrigger: *mut Option) -> windows_core::Result<()> { @@ -2344,7 +2344,7 @@ pub struct ITask_Vtbl { pub GetMaxRunTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITaskDefinition, ITaskDefinition_Vtbl, 0xf5bc8fc5_536d_4f77_b852_fbc1356fdeb6); +windows_core::imp::define_interface!(ITaskDefinition, ITaskDefinition_Vtbl, 0xf5bc8fc5_536d_4f77_b852_fbc1356fdeb6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITaskDefinition, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2478,7 +2478,7 @@ pub struct ITaskDefinition_Vtbl { pub SetXmlText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITaskFolder, ITaskFolder_Vtbl, 0x8cfac062_a080_4c15_9a88_aa7c2af80dfc); +windows_core::imp::define_interface!(ITaskFolder, ITaskFolder_Vtbl, 0x8cfac062_a080_4c15_9a88_aa7c2af80dfc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITaskFolder, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2613,7 +2613,7 @@ pub struct ITaskFolder_Vtbl { pub SetSecurityDescriptor: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITaskFolderCollection, ITaskFolderCollection_Vtbl, 0x79184a66_8664_423f_97f1_637356a5d812); +windows_core::imp::define_interface!(ITaskFolderCollection, ITaskFolderCollection_Vtbl, 0x79184a66_8664_423f_97f1_637356a5d812); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITaskFolderCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2646,7 +2646,7 @@ pub struct ITaskFolderCollection_Vtbl { get_Item: usize, pub _NewEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITaskHandler, ITaskHandler_Vtbl, 0x839d7762_5121_4009_9234_4f0d19394f04); +windows_core::imp::define_interface!(ITaskHandler, ITaskHandler_Vtbl, 0x839d7762_5121_4009_9234_4f0d19394f04); windows_core::imp::interface_hierarchy!(ITaskHandler, windows_core::IUnknown); impl ITaskHandler { pub unsafe fn Start(&self, phandlerservices: P0, data: P1) -> windows_core::Result<()> @@ -2675,7 +2675,7 @@ pub struct ITaskHandler_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, } -windows_core::imp::com_interface!(ITaskHandlerStatus, ITaskHandlerStatus_Vtbl, 0xeaec7a8f_27a0_4ddc_8675_14726a01a38a); +windows_core::imp::define_interface!(ITaskHandlerStatus, ITaskHandlerStatus_Vtbl, 0xeaec7a8f_27a0_4ddc_8675_14726a01a38a); windows_core::imp::interface_hierarchy!(ITaskHandlerStatus, windows_core::IUnknown); impl ITaskHandlerStatus { pub unsafe fn UpdateStatus(&self, percentcomplete: i16, statusmessage: P0) -> windows_core::Result<()> @@ -2695,7 +2695,7 @@ pub struct ITaskHandlerStatus_Vtbl { pub TaskCompleted: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITaskNamedValueCollection, ITaskNamedValueCollection_Vtbl, 0xb4ef826b_63c3_46e4_a504_ef69e4f7ea4d); +windows_core::imp::define_interface!(ITaskNamedValueCollection, ITaskNamedValueCollection_Vtbl, 0xb4ef826b_63c3_46e4_a504_ef69e4f7ea4d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITaskNamedValueCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2746,7 +2746,7 @@ pub struct ITaskNamedValueCollection_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITaskNamedValuePair, ITaskNamedValuePair_Vtbl, 0x39038068_2b46_4afd_8662_7bb6f868d221); +windows_core::imp::define_interface!(ITaskNamedValuePair, ITaskNamedValuePair_Vtbl, 0x39038068_2b46_4afd_8662_7bb6f868d221); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITaskNamedValuePair, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2779,7 +2779,7 @@ pub struct ITaskNamedValuePair_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, } -windows_core::imp::com_interface!(ITaskScheduler, ITaskScheduler_Vtbl, 0x148bd527_a2ab_11ce_b11f_00aa00530503); +windows_core::imp::define_interface!(ITaskScheduler, ITaskScheduler_Vtbl, 0x148bd527_a2ab_11ce_b11f_00aa00530503); windows_core::imp::interface_hierarchy!(ITaskScheduler, windows_core::IUnknown); impl ITaskScheduler { pub unsafe fn SetTargetComputer(&self, pwszcomputer: P0) -> windows_core::Result<()> @@ -2843,7 +2843,7 @@ pub struct ITaskScheduler_Vtbl { pub IsOfType: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITaskService, ITaskService_Vtbl, 0x2faba4c7_4da9_4013_9697_20cc3fd40f85); +windows_core::imp::define_interface!(ITaskService, ITaskService_Vtbl, 0x2faba4c7_4da9_4013_9697_20cc3fd40f85); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITaskService, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2920,7 +2920,7 @@ pub struct ITaskService_Vtbl { pub HighestVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITaskSettings, ITaskSettings_Vtbl, 0x8fd4711d_2d02_4c8c_87e3_eff699de127e); +windows_core::imp::define_interface!(ITaskSettings, ITaskSettings_Vtbl, 0x8fd4711d_2d02_4c8c_87e3_eff699de127e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITaskSettings, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3158,7 +3158,7 @@ pub struct ITaskSettings_Vtbl { SetNetworkSettings: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITaskSettings2, ITaskSettings2_Vtbl, 0x2c05c3f0_6eed_4c05_a15f_ed7d7a98a369); +windows_core::imp::define_interface!(ITaskSettings2, ITaskSettings2_Vtbl, 0x2c05c3f0_6eed_4c05_a15f_ed7d7a98a369); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITaskSettings2, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3192,7 +3192,7 @@ pub struct ITaskSettings2_Vtbl { pub SetUseUnifiedSchedulingEngine: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITaskSettings3, ITaskSettings3_Vtbl, 0x0ad9d0d7_0c7f_4ebb_9a5f_d1c648dca528); +windows_core::imp::define_interface!(ITaskSettings3, ITaskSettings3_Vtbl, 0x0ad9d0d7_0c7f_4ebb_9a5f_d1c648dca528); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITaskSettings3, windows_core::IUnknown, super::Com::IDispatch, ITaskSettings); #[cfg(feature = "Win32_System_Com")] @@ -3439,7 +3439,7 @@ pub struct ITaskSettings3_Vtbl { pub Volatile: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetVolatile: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITaskTrigger, ITaskTrigger_Vtbl, 0x148bd52b_a2ab_11ce_b11f_00aa00530503); +windows_core::imp::define_interface!(ITaskTrigger, ITaskTrigger_Vtbl, 0x148bd52b_a2ab_11ce_b11f_00aa00530503); windows_core::imp::interface_hierarchy!(ITaskTrigger, windows_core::IUnknown); impl ITaskTrigger { pub unsafe fn SetTrigger(&self, ptrigger: *const TASK_TRIGGER) -> windows_core::Result<()> { @@ -3460,7 +3460,7 @@ pub struct ITaskTrigger_Vtbl { pub GetTrigger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TASK_TRIGGER) -> windows_core::HRESULT, pub GetTriggerString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITaskVariables, ITaskVariables_Vtbl, 0x3e4c9351_d966_4b8b_bb87_ceba68bb0107); +windows_core::imp::define_interface!(ITaskVariables, ITaskVariables_Vtbl, 0x3e4c9351_d966_4b8b_bb87_ceba68bb0107); windows_core::imp::interface_hierarchy!(ITaskVariables, windows_core::IUnknown); impl ITaskVariables { pub unsafe fn GetInput(&self) -> windows_core::Result { @@ -3486,7 +3486,7 @@ pub struct ITaskVariables_Vtbl { pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITimeTrigger, ITimeTrigger_Vtbl, 0xb45747e0_eba7_4276_9f29_85c5bb300006); +windows_core::imp::define_interface!(ITimeTrigger, ITimeTrigger_Vtbl, 0xb45747e0_eba7_4276_9f29_85c5bb300006); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITimeTrigger, windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] @@ -3569,7 +3569,7 @@ pub struct ITimeTrigger_Vtbl { pub SetRandomDelay: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITrigger, ITrigger_Vtbl, 0x09941815_ea89_4b5b_89e0_2a773801fac3); +windows_core::imp::define_interface!(ITrigger, ITrigger_Vtbl, 0x09941815_ea89_4b5b_89e0_2a773801fac3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITrigger, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3660,7 +3660,7 @@ pub struct ITrigger_Vtbl { pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITriggerCollection, ITriggerCollection_Vtbl, 0x85df5081_1b24_4f32_878a_d9d14df4cb77); +windows_core::imp::define_interface!(ITriggerCollection, ITriggerCollection_Vtbl, 0x85df5081_1b24_4f32_878a_d9d14df4cb77); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITriggerCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3710,7 +3710,7 @@ pub struct ITriggerCollection_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWeeklyTrigger, IWeeklyTrigger_Vtbl, 0x5038fc98_82ff_436d_8728_a512a57c9dc1); +windows_core::imp::define_interface!(IWeeklyTrigger, IWeeklyTrigger_Vtbl, 0x5038fc98_82ff_436d_8728_a512a57c9dc1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWeeklyTrigger, windows_core::IUnknown, super::Com::IDispatch, ITrigger); #[cfg(feature = "Win32_System_Com")] diff --git a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs index f23061487e..05ab8036f0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs @@ -2439,7 +2439,7 @@ where windows_targets::link!("kernel32.dll" "system" fn Wow64SuspendThread(hthread : super::super::Foundation:: HANDLE) -> u32); Wow64SuspendThread(hthread.into_param().abi()) } -windows_core::imp::com_interface!(IRtwqAsyncCallback, IRtwqAsyncCallback_Vtbl, 0xa27003cf_2354_4f2a_8d6a_ab7cff15437e); +windows_core::imp::define_interface!(IRtwqAsyncCallback, IRtwqAsyncCallback_Vtbl, 0xa27003cf_2354_4f2a_8d6a_ab7cff15437e); windows_core::imp::interface_hierarchy!(IRtwqAsyncCallback, windows_core::IUnknown); impl IRtwqAsyncCallback { pub unsafe fn GetParameters(&self, pdwflags: *mut u32, pdwqueue: *mut u32) -> windows_core::Result<()> { @@ -2458,7 +2458,7 @@ pub struct IRtwqAsyncCallback_Vtbl { pub GetParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRtwqAsyncResult, IRtwqAsyncResult_Vtbl, 0xac6b7889_0740_4d51_8619_905994a55cc6); +windows_core::imp::define_interface!(IRtwqAsyncResult, IRtwqAsyncResult_Vtbl, 0xac6b7889_0740_4d51_8619_905994a55cc6); windows_core::imp::interface_hierarchy!(IRtwqAsyncResult, windows_core::IUnknown); impl IRtwqAsyncResult { pub unsafe fn GetState(&self) -> windows_core::Result { @@ -2488,7 +2488,7 @@ pub struct IRtwqAsyncResult_Vtbl { pub GetObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetStateNoAddRef: unsafe extern "system" fn(*mut core::ffi::c_void) -> Option, } -windows_core::imp::com_interface!(IRtwqPlatformEvents, IRtwqPlatformEvents_Vtbl, 0x63d9255a_7ff1_4b61_8faf_ed6460dacf2b); +windows_core::imp::define_interface!(IRtwqPlatformEvents, IRtwqPlatformEvents_Vtbl, 0x63d9255a_7ff1_4b61_8faf_ed6460dacf2b); windows_core::imp::interface_hierarchy!(IRtwqPlatformEvents, windows_core::IUnknown); impl IRtwqPlatformEvents { pub unsafe fn InitializationComplete(&self) -> windows_core::Result<()> { @@ -2508,7 +2508,7 @@ pub struct IRtwqPlatformEvents_Vtbl { pub ShutdownStart: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ShutdownComplete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(RTWQASYNCRESULT, RTWQASYNCRESULT_Vtbl, 0); +windows_core::imp::define_interface!(RTWQASYNCRESULT, RTWQASYNCRESULT_Vtbl, 0); windows_core::imp::interface_hierarchy!(RTWQASYNCRESULT, windows_core::IUnknown, IRtwqAsyncResult); impl RTWQASYNCRESULT { pub unsafe fn GetState(&self) -> windows_core::Result { 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 eb5dceccf8..b6acdeec78 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICatalog, ICatalog_Vtbl, 0x6eb22870_8a19_11d0_81b6_00a0c9231c29); +windows_core::imp::define_interface!(ICatalog, ICatalog_Vtbl, 0x6eb22870_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICatalog, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -43,7 +43,7 @@ pub struct ICatalog_Vtbl { pub MinorVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IComponentUtil, IComponentUtil_Vtbl, 0x6eb22873_8a19_11d0_81b6_00a0c9231c29); +windows_core::imp::define_interface!(IComponentUtil, IComponentUtil_Vtbl, 0x6eb22873_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IComponentUtil, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -90,7 +90,7 @@ pub struct IComponentUtil_Vtbl { GetCLSIDs: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPackageUtil, IPackageUtil_Vtbl, 0x6eb22874_8a19_11d0_81b6_00a0c9231c29); +windows_core::imp::define_interface!(IPackageUtil, IPackageUtil_Vtbl, 0x6eb22874_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPackageUtil, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -125,7 +125,7 @@ pub struct IPackageUtil_Vtbl { pub ShutdownPackage: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRemoteComponentUtil, IRemoteComponentUtil_Vtbl, 0x6eb22875_8a19_11d0_81b6_00a0c9231c29); +windows_core::imp::define_interface!(IRemoteComponentUtil, IRemoteComponentUtil_Vtbl, 0x6eb22875_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRemoteComponentUtil, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -155,7 +155,7 @@ pub struct IRemoteComponentUtil_Vtbl { pub InstallRemoteComponentByName: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IRoleAssociationUtil, IRoleAssociationUtil_Vtbl, 0x6eb22876_8a19_11d0_81b6_00a0c9231c29); +windows_core::imp::define_interface!(IRoleAssociationUtil, IRoleAssociationUtil_Vtbl, 0x6eb22876_8a19_11d0_81b6_00a0c9231c29); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IRoleAssociationUtil, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 22d739ff9b..32a81b986b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/mod.rs @@ -1,5 +1,5 @@ #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAutomaticUpdates, IAutomaticUpdates_Vtbl, 0x673425bf_c082_4c7c_bdfd_569464b8e0ce); +windows_core::imp::define_interface!(IAutomaticUpdates, IAutomaticUpdates_Vtbl, 0x673425bf_c082_4c7c_bdfd_569464b8e0ce); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAutomaticUpdates, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -45,7 +45,7 @@ pub struct IAutomaticUpdates_Vtbl { pub EnableService: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAutomaticUpdates2, IAutomaticUpdates2_Vtbl, 0x4a2f5c31_cfd9_410e_b7fb_29a653973a0f); +windows_core::imp::define_interface!(IAutomaticUpdates2, IAutomaticUpdates2_Vtbl, 0x4a2f5c31_cfd9_410e_b7fb_29a653973a0f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAutomaticUpdates2, windows_core::IUnknown, super::Com::IDispatch, IAutomaticUpdates); #[cfg(feature = "Win32_System_Com")] @@ -90,7 +90,7 @@ pub struct IAutomaticUpdates2_Vtbl { Results: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAutomaticUpdatesResults, IAutomaticUpdatesResults_Vtbl, 0xe7a4d634_7942_4dd9_a111_82228ba33901); +windows_core::imp::define_interface!(IAutomaticUpdatesResults, IAutomaticUpdatesResults_Vtbl, 0xe7a4d634_7942_4dd9_a111_82228ba33901); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAutomaticUpdatesResults, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -112,7 +112,7 @@ pub struct IAutomaticUpdatesResults_Vtbl { pub LastInstallationSuccessDate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAutomaticUpdatesSettings, IAutomaticUpdatesSettings_Vtbl, 0x2ee48f22_af3c_405f_8970_f71be12ee9a2); +windows_core::imp::define_interface!(IAutomaticUpdatesSettings, IAutomaticUpdatesSettings_Vtbl, 0x2ee48f22_af3c_405f_8970_f71be12ee9a2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAutomaticUpdatesSettings, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -169,7 +169,7 @@ pub struct IAutomaticUpdatesSettings_Vtbl { pub Save: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAutomaticUpdatesSettings2, IAutomaticUpdatesSettings2_Vtbl, 0x6abc136a_c3ca_4384_8171_cb2b1e59b8dc); +windows_core::imp::define_interface!(IAutomaticUpdatesSettings2, IAutomaticUpdatesSettings2_Vtbl, 0x6abc136a_c3ca_4384_8171_cb2b1e59b8dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAutomaticUpdatesSettings2, windows_core::IUnknown, super::Com::IDispatch, IAutomaticUpdatesSettings); #[cfg(feature = "Win32_System_Com")] @@ -233,7 +233,7 @@ pub struct IAutomaticUpdatesSettings2_Vtbl { pub CheckPermission: unsafe extern "system" fn(*mut core::ffi::c_void, AutomaticUpdatesUserType, AutomaticUpdatesPermissionType, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAutomaticUpdatesSettings3, IAutomaticUpdatesSettings3_Vtbl, 0xb587f5c3_f57e_485f_bbf5_0d181c5cd0dc); +windows_core::imp::define_interface!(IAutomaticUpdatesSettings3, IAutomaticUpdatesSettings3_Vtbl, 0xb587f5c3_f57e_485f_bbf5_0d181c5cd0dc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAutomaticUpdatesSettings3, windows_core::IUnknown, super::Com::IDispatch, IAutomaticUpdatesSettings, IAutomaticUpdatesSettings2); #[cfg(feature = "Win32_System_Com")] @@ -318,7 +318,7 @@ pub struct IAutomaticUpdatesSettings3_Vtbl { pub SetFeaturedUpdatesEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICategory, ICategory_Vtbl, 0x81ddc1b8_9d35_47a6_b471_5b80f519223b); +windows_core::imp::define_interface!(ICategory, ICategory_Vtbl, 0x81ddc1b8_9d35_47a6_b471_5b80f519223b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICategory, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -391,7 +391,7 @@ pub struct ICategory_Vtbl { Updates: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ICategoryCollection, ICategoryCollection_Vtbl, 0x3a56bfb8_576c_43f7_9335_fe4838fd7e37); +windows_core::imp::define_interface!(ICategoryCollection, ICategoryCollection_Vtbl, 0x3a56bfb8_576c_43f7_9335_fe4838fd7e37); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ICategoryCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -421,7 +421,7 @@ pub struct ICategoryCollection_Vtbl { 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, } -windows_core::imp::com_interface!(IDownloadCompletedCallback, IDownloadCompletedCallback_Vtbl, 0x77254866_9f5b_4c8e_b9e2_c77a8530d64b); +windows_core::imp::define_interface!(IDownloadCompletedCallback, IDownloadCompletedCallback_Vtbl, 0x77254866_9f5b_4c8e_b9e2_c77a8530d64b); windows_core::imp::interface_hierarchy!(IDownloadCompletedCallback, windows_core::IUnknown); impl IDownloadCompletedCallback { #[cfg(feature = "Win32_System_Com")] @@ -442,7 +442,7 @@ pub struct IDownloadCompletedCallback_Vtbl { Invoke: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDownloadCompletedCallbackArgs, IDownloadCompletedCallbackArgs_Vtbl, 0xfa565b23_498c_47a0_979d_e7d5b1813360); +windows_core::imp::define_interface!(IDownloadCompletedCallbackArgs, IDownloadCompletedCallbackArgs_Vtbl, 0xfa565b23_498c_47a0_979d_e7d5b1813360); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDownloadCompletedCallbackArgs, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -453,7 +453,7 @@ pub struct IDownloadCompletedCallbackArgs_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDownloadJob, IDownloadJob_Vtbl, 0xc574de85_7358_43f6_aae8_8697e62d8ba7); +windows_core::imp::define_interface!(IDownloadJob, IDownloadJob_Vtbl, 0xc574de85_7358_43f6_aae8_8697e62d8ba7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDownloadJob, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -501,7 +501,7 @@ pub struct IDownloadJob_Vtbl { pub RequestAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDownloadProgress, IDownloadProgress_Vtbl, 0xd31a5bac_f719_4178_9dbb_5e2cb47fd18a); +windows_core::imp::define_interface!(IDownloadProgress, IDownloadProgress_Vtbl, 0xd31a5bac_f719_4178_9dbb_5e2cb47fd18a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDownloadProgress, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -561,7 +561,7 @@ pub struct IDownloadProgress_Vtbl { pub CurrentUpdateDownloadPhase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DownloadPhase) -> windows_core::HRESULT, pub CurrentUpdatePercentComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDownloadProgressChangedCallback, IDownloadProgressChangedCallback_Vtbl, 0x8c3f1cdd_6173_4591_aebd_a56a53ca77c1); +windows_core::imp::define_interface!(IDownloadProgressChangedCallback, IDownloadProgressChangedCallback_Vtbl, 0x8c3f1cdd_6173_4591_aebd_a56a53ca77c1); windows_core::imp::interface_hierarchy!(IDownloadProgressChangedCallback, windows_core::IUnknown); impl IDownloadProgressChangedCallback { #[cfg(feature = "Win32_System_Com")] @@ -582,7 +582,7 @@ pub struct IDownloadProgressChangedCallback_Vtbl { Invoke: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDownloadProgressChangedCallbackArgs, IDownloadProgressChangedCallbackArgs_Vtbl, 0x324ff2c6_4981_4b04_9412_57481745ab24); +windows_core::imp::define_interface!(IDownloadProgressChangedCallbackArgs, IDownloadProgressChangedCallbackArgs_Vtbl, 0x324ff2c6_4981_4b04_9412_57481745ab24); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDownloadProgressChangedCallbackArgs, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -603,7 +603,7 @@ pub struct IDownloadProgressChangedCallbackArgs_Vtbl { Progress: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDownloadResult, IDownloadResult_Vtbl, 0xdaa4fdd0_4727_4dbe_a1e7_745dca317144); +windows_core::imp::define_interface!(IDownloadResult, IDownloadResult_Vtbl, 0xdaa4fdd0_4727_4dbe_a1e7_745dca317144); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDownloadResult, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -634,7 +634,7 @@ pub struct IDownloadResult_Vtbl { GetUpdateResult: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IImageInformation, IImageInformation_Vtbl, 0x7c907864_346c_4aeb_8f3f_57da289f969f); +windows_core::imp::define_interface!(IImageInformation, IImageInformation_Vtbl, 0x7c907864_346c_4aeb_8f3f_57da289f969f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IImageInformation, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -666,7 +666,7 @@ pub struct IImageInformation_Vtbl { pub Width: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInstallationAgent, IInstallationAgent_Vtbl, 0x925cbc18_a2ea_4648_bf1c_ec8badcfe20a); +windows_core::imp::define_interface!(IInstallationAgent, IInstallationAgent_Vtbl, 0x925cbc18_a2ea_4648_bf1c_ec8badcfe20a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInstallationAgent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -690,7 +690,7 @@ pub struct IInstallationAgent_Vtbl { RecordInstallationResult: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInstallationBehavior, IInstallationBehavior_Vtbl, 0xd9a59339_e245_4dbd_9686_4d5763e39624); +windows_core::imp::define_interface!(IInstallationBehavior, IInstallationBehavior_Vtbl, 0xd9a59339_e245_4dbd_9686_4d5763e39624); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInstallationBehavior, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -721,7 +721,7 @@ pub struct IInstallationBehavior_Vtbl { pub RebootBehavior: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InstallationRebootBehavior) -> windows_core::HRESULT, pub RequiresNetworkConnectivity: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInstallationCompletedCallback, IInstallationCompletedCallback_Vtbl, 0x45f4f6f3_d602_4f98_9a8a_3efa152ad2d3); +windows_core::imp::define_interface!(IInstallationCompletedCallback, IInstallationCompletedCallback_Vtbl, 0x45f4f6f3_d602_4f98_9a8a_3efa152ad2d3); windows_core::imp::interface_hierarchy!(IInstallationCompletedCallback, windows_core::IUnknown); impl IInstallationCompletedCallback { #[cfg(feature = "Win32_System_Com")] @@ -742,7 +742,7 @@ pub struct IInstallationCompletedCallback_Vtbl { Invoke: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInstallationCompletedCallbackArgs, IInstallationCompletedCallbackArgs_Vtbl, 0x250e2106_8efb_4705_9653_ef13c581b6a1); +windows_core::imp::define_interface!(IInstallationCompletedCallbackArgs, IInstallationCompletedCallbackArgs_Vtbl, 0x250e2106_8efb_4705_9653_ef13c581b6a1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInstallationCompletedCallbackArgs, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -753,7 +753,7 @@ pub struct IInstallationCompletedCallbackArgs_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInstallationJob, IInstallationJob_Vtbl, 0x5c209f0b_bad5_432a_9556_4699bed2638a); +windows_core::imp::define_interface!(IInstallationJob, IInstallationJob_Vtbl, 0x5c209f0b_bad5_432a_9556_4699bed2638a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInstallationJob, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -801,7 +801,7 @@ pub struct IInstallationJob_Vtbl { pub RequestAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInstallationProgress, IInstallationProgress_Vtbl, 0x345c8244_43a3_4e32_a368_65f073b76f36); +windows_core::imp::define_interface!(IInstallationProgress, IInstallationProgress_Vtbl, 0x345c8244_43a3_4e32_a368_65f073b76f36); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInstallationProgress, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -836,7 +836,7 @@ pub struct IInstallationProgress_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetUpdateResult: usize, } -windows_core::imp::com_interface!(IInstallationProgressChangedCallback, IInstallationProgressChangedCallback_Vtbl, 0xe01402d5_f8da_43ba_a012_38894bd048f1); +windows_core::imp::define_interface!(IInstallationProgressChangedCallback, IInstallationProgressChangedCallback_Vtbl, 0xe01402d5_f8da_43ba_a012_38894bd048f1); windows_core::imp::interface_hierarchy!(IInstallationProgressChangedCallback, windows_core::IUnknown); impl IInstallationProgressChangedCallback { #[cfg(feature = "Win32_System_Com")] @@ -857,7 +857,7 @@ pub struct IInstallationProgressChangedCallback_Vtbl { Invoke: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInstallationProgressChangedCallbackArgs, IInstallationProgressChangedCallbackArgs_Vtbl, 0xe4f14e1e_689d_4218_a0b9_bc189c484a01); +windows_core::imp::define_interface!(IInstallationProgressChangedCallbackArgs, IInstallationProgressChangedCallbackArgs_Vtbl, 0xe4f14e1e_689d_4218_a0b9_bc189c484a01); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInstallationProgressChangedCallbackArgs, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -878,7 +878,7 @@ pub struct IInstallationProgressChangedCallbackArgs_Vtbl { Progress: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInstallationResult, IInstallationResult_Vtbl, 0xa43c56d6_7451_48d4_af96_b6cd2d0d9b7a); +windows_core::imp::define_interface!(IInstallationResult, IInstallationResult_Vtbl, 0xa43c56d6_7451_48d4_af96_b6cd2d0d9b7a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInstallationResult, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -914,7 +914,7 @@ pub struct IInstallationResult_Vtbl { GetUpdateResult: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInvalidProductLicenseException, IInvalidProductLicenseException_Vtbl, 0xa37d00f5_7bb0_4953_b414_f9e98326f2e8); +windows_core::imp::define_interface!(IInvalidProductLicenseException, IInvalidProductLicenseException_Vtbl, 0xa37d00f5_7bb0_4953_b414_f9e98326f2e8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInvalidProductLicenseException, windows_core::IUnknown, super::Com::IDispatch, IUpdateException); #[cfg(feature = "Win32_System_Com")] @@ -942,7 +942,7 @@ 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, } -windows_core::imp::com_interface!(ISearchCompletedCallback, ISearchCompletedCallback_Vtbl, 0x88aee058_d4b0_4725_a2f1_814a67ae964c); +windows_core::imp::define_interface!(ISearchCompletedCallback, ISearchCompletedCallback_Vtbl, 0x88aee058_d4b0_4725_a2f1_814a67ae964c); windows_core::imp::interface_hierarchy!(ISearchCompletedCallback, windows_core::IUnknown); impl ISearchCompletedCallback { #[cfg(feature = "Win32_System_Com")] @@ -963,7 +963,7 @@ pub struct ISearchCompletedCallback_Vtbl { Invoke: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISearchCompletedCallbackArgs, ISearchCompletedCallbackArgs_Vtbl, 0xa700a634_2850_4c47_938a_9e4b6e5af9a6); +windows_core::imp::define_interface!(ISearchCompletedCallbackArgs, ISearchCompletedCallbackArgs_Vtbl, 0xa700a634_2850_4c47_938a_9e4b6e5af9a6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISearchCompletedCallbackArgs, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -974,7 +974,7 @@ pub struct ISearchCompletedCallbackArgs_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISearchJob, ISearchJob_Vtbl, 0x7366ea16_7a1a_4ea2_b042_973d3e9cd99b); +windows_core::imp::define_interface!(ISearchJob, ISearchJob_Vtbl, 0x7366ea16_7a1a_4ea2_b042_973d3e9cd99b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISearchJob, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1004,7 +1004,7 @@ pub struct ISearchJob_Vtbl { pub RequestAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISearchResult, ISearchResult_Vtbl, 0xd40cff62_e08c_4498_941a_01e25f0fd33c); +windows_core::imp::define_interface!(ISearchResult, ISearchResult_Vtbl, 0xd40cff62_e08c_4498_941a_01e25f0fd33c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISearchResult, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1048,7 +1048,7 @@ pub struct ISearchResult_Vtbl { Warnings: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IStringCollection, IStringCollection_Vtbl, 0xeff90582_2ddc_480f_a06d_60f3fbc362c3); +windows_core::imp::define_interface!(IStringCollection, IStringCollection_Vtbl, 0xeff90582_2ddc_480f_a06d_60f3fbc362c3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IStringCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1119,7 +1119,7 @@ pub struct IStringCollection_Vtbl { pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISystemInformation, ISystemInformation_Vtbl, 0xade87bf7_7b56_4275_8fab_b9b0e591844b); +windows_core::imp::define_interface!(ISystemInformation, ISystemInformation_Vtbl, 0xade87bf7_7b56_4275_8fab_b9b0e591844b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISystemInformation, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1141,7 +1141,7 @@ pub struct ISystemInformation_Vtbl { 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")] -windows_core::imp::com_interface!(IUpdate, IUpdate_Vtbl, 0x6a92b07a_d821_4682_b423_5c805022cc4d); +windows_core::imp::define_interface!(IUpdate, IUpdate_Vtbl, 0x6a92b07a_d821_4682_b423_5c805022cc4d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdate, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1434,7 +1434,7 @@ pub struct IUpdate_Vtbl { DownloadContents: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdate2, IUpdate2_Vtbl, 0x144fe9b0_d23d_4a8b_8634_fb4457533b7a); +windows_core::imp::define_interface!(IUpdate2, IUpdate2_Vtbl, 0x144fe9b0_d23d_4a8b_8634_fb4457533b7a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdate2, windows_core::IUnknown, super::Com::IDispatch, IUpdate); #[cfg(feature = "Win32_System_Com")] @@ -1673,7 +1673,7 @@ pub struct IUpdate2_Vtbl { CopyToCache: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdate3, IUpdate3_Vtbl, 0x112eda6b_95b3_476f_9d90_aee82c6b8181); +windows_core::imp::define_interface!(IUpdate3, IUpdate3_Vtbl, 0x112eda6b_95b3_476f_9d90_aee82c6b8181); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdate3, windows_core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2); #[cfg(feature = "Win32_System_Com")] @@ -1907,7 +1907,7 @@ pub struct IUpdate3_Vtbl { pub BrowseOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdate4, IUpdate4_Vtbl, 0x27e94b0d_5139_49a2_9a61_93522dc54652); +windows_core::imp::define_interface!(IUpdate4, IUpdate4_Vtbl, 0x27e94b0d_5139_49a2_9a61_93522dc54652); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdate4, windows_core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2, IUpdate3); #[cfg(feature = "Win32_System_Com")] @@ -2145,7 +2145,7 @@ pub struct IUpdate4_Vtbl { pub PerUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdate5, IUpdate5_Vtbl, 0xc1c2f21a_d2f4_4902_b5c6_8a081c19a890); +windows_core::imp::define_interface!(IUpdate5, IUpdate5_Vtbl, 0xc1c2f21a_d2f4_4902_b5c6_8a081c19a890); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdate5, windows_core::IUnknown, super::Com::IDispatch, IUpdate, IUpdate2, IUpdate3, IUpdate4); #[cfg(feature = "Win32_System_Com")] @@ -2392,7 +2392,7 @@ pub struct IUpdate5_Vtbl { pub AutoDownload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AutoDownloadMode) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateCollection, IUpdateCollection_Vtbl, 0x07f7438c_7709_4ca5_b518_91279288134e); +windows_core::imp::define_interface!(IUpdateCollection, IUpdateCollection_Vtbl, 0x07f7438c_7709_4ca5_b518_91279288134e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2479,7 +2479,7 @@ pub struct IUpdateCollection_Vtbl { pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateDownloadContent, IUpdateDownloadContent_Vtbl, 0x54a2cb2d_9a0c_48b6_8a50_9abb69ee2d02); +windows_core::imp::define_interface!(IUpdateDownloadContent, IUpdateDownloadContent_Vtbl, 0x54a2cb2d_9a0c_48b6_8a50_9abb69ee2d02); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateDownloadContent, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2496,7 +2496,7 @@ pub struct IUpdateDownloadContent_Vtbl { pub DownloadUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateDownloadContent2, IUpdateDownloadContent2_Vtbl, 0xc97ad11b_f257_420b_9d9f_377f733f6f68); +windows_core::imp::define_interface!(IUpdateDownloadContent2, IUpdateDownloadContent2_Vtbl, 0xc97ad11b_f257_420b_9d9f_377f733f6f68); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateDownloadContent2, windows_core::IUnknown, super::Com::IDispatch, IUpdateDownloadContent); #[cfg(feature = "Win32_System_Com")] @@ -2517,7 +2517,7 @@ pub struct IUpdateDownloadContent2_Vtbl { pub IsDeltaCompressedContent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateDownloadContentCollection, IUpdateDownloadContentCollection_Vtbl, 0xbc5513c8_b3b8_4bf7_a4d4_361c0d8c88ba); +windows_core::imp::define_interface!(IUpdateDownloadContentCollection, IUpdateDownloadContentCollection_Vtbl, 0xbc5513c8_b3b8_4bf7_a4d4_361c0d8c88ba); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateDownloadContentCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2548,7 +2548,7 @@ pub struct IUpdateDownloadContentCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateDownloadResult, IUpdateDownloadResult_Vtbl, 0xbf99af76_b575_42ad_8aa4_33cbb5477af1); +windows_core::imp::define_interface!(IUpdateDownloadResult, IUpdateDownloadResult_Vtbl, 0xbf99af76_b575_42ad_8aa4_33cbb5477af1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateDownloadResult, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2570,7 +2570,7 @@ pub struct IUpdateDownloadResult_Vtbl { pub ResultCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OperationResultCode) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateDownloader, IUpdateDownloader_Vtbl, 0x68f1c6f9_7ecc_4666_a464_247fe12496c3); +windows_core::imp::define_interface!(IUpdateDownloader, IUpdateDownloader_Vtbl, 0x68f1c6f9_7ecc_4666_a464_247fe12496c3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateDownloader, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2670,7 +2670,7 @@ pub struct IUpdateDownloader_Vtbl { EndDownload: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateException, IUpdateException_Vtbl, 0xa376dd5e_09d4_427f_af7c_fed5b6e1c1d6); +windows_core::imp::define_interface!(IUpdateException, IUpdateException_Vtbl, 0xa376dd5e_09d4_427f_af7c_fed5b6e1c1d6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateException, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2697,7 +2697,7 @@ pub struct IUpdateException_Vtbl { pub Context: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UpdateExceptionContext) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateExceptionCollection, IUpdateExceptionCollection_Vtbl, 0x503626a3_8e14_4729_9355_0fe664bd2321); +windows_core::imp::define_interface!(IUpdateExceptionCollection, IUpdateExceptionCollection_Vtbl, 0x503626a3_8e14_4729_9355_0fe664bd2321); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateExceptionCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2728,7 +2728,7 @@ pub struct IUpdateExceptionCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateHistoryEntry, IUpdateHistoryEntry_Vtbl, 0xbe56a644_af0e_4e0e_a311_c1d8e695cbff); +windows_core::imp::define_interface!(IUpdateHistoryEntry, IUpdateHistoryEntry_Vtbl, 0xbe56a644_af0e_4e0e_a311_c1d8e695cbff); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateHistoryEntry, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2818,7 +2818,7 @@ pub struct IUpdateHistoryEntry_Vtbl { pub SupportUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateHistoryEntry2, IUpdateHistoryEntry2_Vtbl, 0xc2bfb780_4539_4132_ab8c_0a8772013ab6); +windows_core::imp::define_interface!(IUpdateHistoryEntry2, IUpdateHistoryEntry2_Vtbl, 0xc2bfb780_4539_4132_ab8c_0a8772013ab6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateHistoryEntry2, windows_core::IUnknown, super::Com::IDispatch, IUpdateHistoryEntry); #[cfg(feature = "Win32_System_Com")] @@ -2897,7 +2897,7 @@ pub struct IUpdateHistoryEntry2_Vtbl { Categories: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateHistoryEntryCollection, IUpdateHistoryEntryCollection_Vtbl, 0xa7f04f3c_a290_435b_aadf_a116c3357a5c); +windows_core::imp::define_interface!(IUpdateHistoryEntryCollection, IUpdateHistoryEntryCollection_Vtbl, 0xa7f04f3c_a290_435b_aadf_a116c3357a5c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateHistoryEntryCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2928,7 +2928,7 @@ pub struct IUpdateHistoryEntryCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateIdentity, IUpdateIdentity_Vtbl, 0x46297823_9940_4c09_aed9_cd3ea6d05968); +windows_core::imp::define_interface!(IUpdateIdentity, IUpdateIdentity_Vtbl, 0x46297823_9940_4c09_aed9_cd3ea6d05968); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateIdentity, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2950,7 +2950,7 @@ pub struct IUpdateIdentity_Vtbl { pub UpdateID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateInstallationResult, IUpdateInstallationResult_Vtbl, 0xd940f0f8_3cbb_4fd0_993f_471e7f2328ad); +windows_core::imp::define_interface!(IUpdateInstallationResult, IUpdateInstallationResult_Vtbl, 0xd940f0f8_3cbb_4fd0_993f_471e7f2328ad); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateInstallationResult, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2977,7 +2977,7 @@ pub struct IUpdateInstallationResult_Vtbl { pub ResultCode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut OperationResultCode) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateInstaller, IUpdateInstaller_Vtbl, 0x7b929c68_ccdc_4226_96b1_8724600b54c2); +windows_core::imp::define_interface!(IUpdateInstaller, IUpdateInstaller_Vtbl, 0x7b929c68_ccdc_4226_96b1_8724600b54c2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateInstaller, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3161,7 +3161,7 @@ pub struct IUpdateInstaller_Vtbl { pub RebootRequiredBeforeInstallation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateInstaller2, IUpdateInstaller2_Vtbl, 0x3442d4fe_224d_4cee_98cf_30e0c4d229e6); +windows_core::imp::define_interface!(IUpdateInstaller2, IUpdateInstaller2_Vtbl, 0x3442d4fe_224d_4cee_98cf_30e0c4d229e6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateInstaller2, windows_core::IUnknown, super::Com::IDispatch, IUpdateInstaller); #[cfg(feature = "Win32_System_Com")] @@ -3309,7 +3309,7 @@ pub struct IUpdateInstaller2_Vtbl { pub SetForceQuiet: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateInstaller3, IUpdateInstaller3_Vtbl, 0x16d11c35_099a_48d0_8338_5fae64047f8e); +windows_core::imp::define_interface!(IUpdateInstaller3, IUpdateInstaller3_Vtbl, 0x16d11c35_099a_48d0_8338_5fae64047f8e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateInstaller3, windows_core::IUnknown, super::Com::IDispatch, IUpdateInstaller, IUpdateInstaller2); #[cfg(feature = "Win32_System_Com")] @@ -3467,7 +3467,7 @@ pub struct IUpdateInstaller3_Vtbl { pub SetAttemptCloseAppsIfNecessary: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateInstaller4, IUpdateInstaller4_Vtbl, 0xef8208ea_2304_492d_9109_23813b0958e1); +windows_core::imp::define_interface!(IUpdateInstaller4, IUpdateInstaller4_Vtbl, 0xef8208ea_2304_492d_9109_23813b0958e1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateInstaller4, windows_core::IUnknown, super::Com::IDispatch, IUpdateInstaller, IUpdateInstaller2, IUpdateInstaller3); #[cfg(feature = "Win32_System_Com")] @@ -3626,7 +3626,7 @@ pub struct IUpdateInstaller4_Vtbl { pub base__: IUpdateInstaller3_Vtbl, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUpdateLockdown, IUpdateLockdown_Vtbl, 0xa976c28d_75a1_42aa_94ae_8af8b872089a); +windows_core::imp::define_interface!(IUpdateLockdown, IUpdateLockdown_Vtbl, 0xa976c28d_75a1_42aa_94ae_8af8b872089a); windows_core::imp::interface_hierarchy!(IUpdateLockdown, windows_core::IUnknown); impl IUpdateLockdown { pub unsafe fn LockDown(&self, flags: i32) -> windows_core::Result<()> { @@ -3639,7 +3639,7 @@ pub struct IUpdateLockdown_Vtbl { pub LockDown: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateSearcher, IUpdateSearcher_Vtbl, 0x8f45abf1_f9ae_4b95_a933_f0f66e5056ea); +windows_core::imp::define_interface!(IUpdateSearcher, IUpdateSearcher_Vtbl, 0x8f45abf1_f9ae_4b95_a933_f0f66e5056ea); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateSearcher, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3780,7 +3780,7 @@ pub struct IUpdateSearcher_Vtbl { pub SetServiceID: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateSearcher2, IUpdateSearcher2_Vtbl, 0x4cbdcb2d_1589_4beb_bd1c_3e582ff0add0); +windows_core::imp::define_interface!(IUpdateSearcher2, IUpdateSearcher2_Vtbl, 0x4cbdcb2d_1589_4beb_bd1c_3e582ff0add0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateSearcher2, windows_core::IUnknown, super::Com::IDispatch, IUpdateSearcher); #[cfg(feature = "Win32_System_Com")] @@ -3903,7 +3903,7 @@ pub struct IUpdateSearcher2_Vtbl { pub SetIgnoreDownloadPriority: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateSearcher3, IUpdateSearcher3_Vtbl, 0x04c6895d_eaf2_4034_97f3_311de9be413a); +windows_core::imp::define_interface!(IUpdateSearcher3, IUpdateSearcher3_Vtbl, 0x04c6895d_eaf2_4034_97f3_311de9be413a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateSearcher3, windows_core::IUnknown, super::Com::IDispatch, IUpdateSearcher, IUpdateSearcher2); #[cfg(feature = "Win32_System_Com")] @@ -4033,7 +4033,7 @@ pub struct IUpdateSearcher3_Vtbl { pub SetSearchScope: unsafe extern "system" fn(*mut core::ffi::c_void, SearchScope) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateService, IUpdateService_Vtbl, 0x76b3b17e_aed6_4da5_85f0_83587f81abe3); +windows_core::imp::define_interface!(IUpdateService, IUpdateService_Vtbl, 0x76b3b17e_aed6_4da5_85f0_83587f81abe3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateService, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4114,7 +4114,7 @@ pub struct IUpdateService_Vtbl { pub SetupPrefix: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateService2, IUpdateService2_Vtbl, 0x1518b460_6518_4172_940f_c75883b24ceb); +windows_core::imp::define_interface!(IUpdateService2, IUpdateService2_Vtbl, 0x1518b460_6518_4172_940f_c75883b24ceb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateService2, windows_core::IUnknown, super::Com::IDispatch, IUpdateService); #[cfg(feature = "Win32_System_Com")] @@ -4184,7 +4184,7 @@ pub struct IUpdateService2_Vtbl { pub IsDefaultAUService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateServiceCollection, IUpdateServiceCollection_Vtbl, 0x9b0353aa_0e52_44ff_b8b0_1f7fa0437f88); +windows_core::imp::define_interface!(IUpdateServiceCollection, IUpdateServiceCollection_Vtbl, 0x9b0353aa_0e52_44ff_b8b0_1f7fa0437f88); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateServiceCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4215,7 +4215,7 @@ pub struct IUpdateServiceCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateServiceManager, IUpdateServiceManager_Vtbl, 0x23857e3c_02ba_44a3_9423_b1c900805f37); +windows_core::imp::define_interface!(IUpdateServiceManager, IUpdateServiceManager_Vtbl, 0x23857e3c_02ba_44a3_9423_b1c900805f37); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateServiceManager, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4291,7 +4291,7 @@ pub struct IUpdateServiceManager_Vtbl { pub SetOption: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateServiceManager2, IUpdateServiceManager2_Vtbl, 0x0bb8531d_7e8d_424f_986c_a0b8f60a3e7b); +windows_core::imp::define_interface!(IUpdateServiceManager2, IUpdateServiceManager2_Vtbl, 0x0bb8531d_7e8d_424f_986c_a0b8f60a3e7b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateServiceManager2, windows_core::IUnknown, super::Com::IDispatch, IUpdateServiceManager); #[cfg(feature = "Win32_System_Com")] @@ -4388,7 +4388,7 @@ pub struct IUpdateServiceManager2_Vtbl { AddService2: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateServiceRegistration, IUpdateServiceRegistration_Vtbl, 0xdde02280_12b3_4e0b_937b_6747f6acb286); +windows_core::imp::define_interface!(IUpdateServiceRegistration, IUpdateServiceRegistration_Vtbl, 0xdde02280_12b3_4e0b_937b_6747f6acb286); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateServiceRegistration, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4424,7 +4424,7 @@ pub struct IUpdateServiceRegistration_Vtbl { Service: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateSession, IUpdateSession_Vtbl, 0x816858a4_260d_4260_933a_2585f1abc76b); +windows_core::imp::define_interface!(IUpdateSession, IUpdateSession_Vtbl, 0x816858a4_260d_4260_933a_2585f1abc76b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateSession, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4500,7 +4500,7 @@ pub struct IUpdateSession_Vtbl { CreateUpdateInstaller: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateSession2, IUpdateSession2_Vtbl, 0x91caf7b0_eb23_49ed_9937_c52d817f46f7); +windows_core::imp::define_interface!(IUpdateSession2, IUpdateSession2_Vtbl, 0x91caf7b0_eb23_49ed_9937_c52d817f46f7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateSession2, windows_core::IUnknown, super::Com::IDispatch, IUpdateSession); #[cfg(feature = "Win32_System_Com")] @@ -4562,7 +4562,7 @@ pub struct IUpdateSession2_Vtbl { pub SetUserLocale: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IUpdateSession3, IUpdateSession3_Vtbl, 0x918efd1e_b5d8_4c90_8540_aeb9bdc56f9d); +windows_core::imp::define_interface!(IUpdateSession3, IUpdateSession3_Vtbl, 0x918efd1e_b5d8_4c90_8540_aeb9bdc56f9d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IUpdateSession3, windows_core::IUnknown, super::Com::IDispatch, IUpdateSession, IUpdateSession2); #[cfg(feature = "Win32_System_Com")] @@ -4643,7 +4643,7 @@ pub struct IUpdateSession3_Vtbl { QueryHistory: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWebProxy, IWebProxy_Vtbl, 0x174c81fe_aecd_4dae_b8a0_2c6318dd86a8); +windows_core::imp::define_interface!(IWebProxy, IWebProxy_Vtbl, 0x174c81fe_aecd_4dae_b8a0_2c6318dd86a8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWebProxy, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4751,7 +4751,7 @@ pub struct IWebProxy_Vtbl { pub SetAutoDetect: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsDriverUpdate, IWindowsDriverUpdate_Vtbl, 0xb383cd1a_5ce9_4504_9f63_764b1236f191); +windows_core::imp::define_interface!(IWindowsDriverUpdate, IWindowsDriverUpdate_Vtbl, 0xb383cd1a_5ce9_4504_9f63_764b1236f191); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate, windows_core::IUnknown, super::Com::IDispatch, IUpdate); #[cfg(feature = "Win32_System_Com")] @@ -5000,7 +5000,7 @@ pub struct IWindowsDriverUpdate_Vtbl { pub DeviceStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsDriverUpdate2, IWindowsDriverUpdate2_Vtbl, 0x615c4269_7a48_43bd_96b7_bf6ca27d6c3e); +windows_core::imp::define_interface!(IWindowsDriverUpdate2, IWindowsDriverUpdate2_Vtbl, 0x615c4269_7a48_43bd_96b7_bf6ca27d6c3e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate2, windows_core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate); #[cfg(feature = "Win32_System_Com")] @@ -5271,7 +5271,7 @@ pub struct IWindowsDriverUpdate2_Vtbl { CopyToCache: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsDriverUpdate3, IWindowsDriverUpdate3_Vtbl, 0x49ebd502_4a96_41bd_9e3e_4c5057f4250c); +windows_core::imp::define_interface!(IWindowsDriverUpdate3, IWindowsDriverUpdate3_Vtbl, 0x49ebd502_4a96_41bd_9e3e_4c5057f4250c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate3, windows_core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2); #[cfg(feature = "Win32_System_Com")] @@ -5537,7 +5537,7 @@ pub struct IWindowsDriverUpdate3_Vtbl { pub BrowseOnly: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsDriverUpdate4, IWindowsDriverUpdate4_Vtbl, 0x004c6a2b_0c19_4c69_9f5c_a269b2560db9); +windows_core::imp::define_interface!(IWindowsDriverUpdate4, IWindowsDriverUpdate4_Vtbl, 0x004c6a2b_0c19_4c69_9f5c_a269b2560db9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate4, windows_core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2, IWindowsDriverUpdate3); #[cfg(feature = "Win32_System_Com")] @@ -5816,7 +5816,7 @@ pub struct IWindowsDriverUpdate4_Vtbl { pub PerUser: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsDriverUpdate5, IWindowsDriverUpdate5_Vtbl, 0x70cf5c82_8642_42bb_9dbc_0cfd263c6c4f); +windows_core::imp::define_interface!(IWindowsDriverUpdate5, IWindowsDriverUpdate5_Vtbl, 0x70cf5c82_8642_42bb_9dbc_0cfd263c6c4f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsDriverUpdate5, windows_core::IUnknown, super::Com::IDispatch, IUpdate, IWindowsDriverUpdate, IWindowsDriverUpdate2, IWindowsDriverUpdate3, IWindowsDriverUpdate4); #[cfg(feature = "Win32_System_Com")] @@ -6100,7 +6100,7 @@ pub struct IWindowsDriverUpdate5_Vtbl { pub AutoDownload: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AutoDownloadMode) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsDriverUpdateEntry, IWindowsDriverUpdateEntry_Vtbl, 0xed8bfe40_a60b_42ea_9652_817dfcfa23ec); +windows_core::imp::define_interface!(IWindowsDriverUpdateEntry, IWindowsDriverUpdateEntry_Vtbl, 0xed8bfe40_a60b_42ea_9652_817dfcfa23ec); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsDriverUpdateEntry, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6152,7 +6152,7 @@ pub struct IWindowsDriverUpdateEntry_Vtbl { pub DeviceStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsDriverUpdateEntryCollection, IWindowsDriverUpdateEntryCollection_Vtbl, 0x0d521700_a372_4bef_828b_3d00c10adebd); +windows_core::imp::define_interface!(IWindowsDriverUpdateEntryCollection, IWindowsDriverUpdateEntryCollection_Vtbl, 0x0d521700_a372_4bef_828b_3d00c10adebd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsDriverUpdateEntryCollection, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6183,7 +6183,7 @@ pub struct IWindowsDriverUpdateEntryCollection_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWindowsUpdateAgentInfo, IWindowsUpdateAgentInfo_Vtbl, 0x85713fa1_7796_4fa2_be3b_e2d6124dd373); +windows_core::imp::define_interface!(IWindowsUpdateAgentInfo, IWindowsUpdateAgentInfo_Vtbl, 0x85713fa1_7796_4fa2_be3b_e2d6124dd373); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWindowsUpdateAgentInfo, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 8630619943..6cdaec8c36 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IWaaSAssessor, IWaaSAssessor_Vtbl, 0x2347bbef_1a3b_45a4_902d_3e09c269b45e); +windows_core::imp::define_interface!(IWaaSAssessor, IWaaSAssessor_Vtbl, 0x2347bbef_1a3b_45a4_902d_3e09c269b45e); windows_core::imp::interface_hierarchy!(IWaaSAssessor, windows_core::IUnknown); impl IWaaSAssessor { pub unsafe fn GetOSUpdateAssessment(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs index 49be8ef193..cc7b9a1c7c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IWindowsDevicesAllJoynBusAttachmentFactoryInterop, IWindowsDevicesAllJoynBusAttachmentFactoryInterop_Vtbl, 0x4b8f7505_b239_4e7b_88af_f6682575d861); +windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusAttachmentFactoryInterop, IWindowsDevicesAllJoynBusAttachmentFactoryInterop_Vtbl, 0x4b8f7505_b239_4e7b_88af_f6682575d861); windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusAttachmentFactoryInterop, windows_core::IUnknown, windows_core::IInspectable); impl IWindowsDevicesAllJoynBusAttachmentFactoryInterop { pub unsafe fn CreateFromWin32Handle(&self, win32handle: u64, enableaboutdata: u8) -> windows_core::Result @@ -14,7 +14,7 @@ pub struct IWindowsDevicesAllJoynBusAttachmentFactoryInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFromWin32Handle: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u8, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsDevicesAllJoynBusAttachmentInterop, IWindowsDevicesAllJoynBusAttachmentInterop_Vtbl, 0xfd89c65b_b50e_4a19_9d0c_b42b783281cd); +windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusAttachmentInterop, IWindowsDevicesAllJoynBusAttachmentInterop_Vtbl, 0xfd89c65b_b50e_4a19_9d0c_b42b783281cd); windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusAttachmentInterop, windows_core::IUnknown, windows_core::IInspectable); impl IWindowsDevicesAllJoynBusAttachmentInterop { pub unsafe fn Win32Handle(&self) -> windows_core::Result { @@ -27,7 +27,7 @@ pub struct IWindowsDevicesAllJoynBusAttachmentInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub Win32Handle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsDevicesAllJoynBusObjectFactoryInterop, IWindowsDevicesAllJoynBusObjectFactoryInterop_Vtbl, 0x6174e506_8b95_4e36_95c0_b88fed34938c); +windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusObjectFactoryInterop, IWindowsDevicesAllJoynBusObjectFactoryInterop_Vtbl, 0x6174e506_8b95_4e36_95c0_b88fed34938c); windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusObjectFactoryInterop, windows_core::IUnknown, windows_core::IInspectable); impl IWindowsDevicesAllJoynBusObjectFactoryInterop { pub unsafe fn CreateFromWin32Handle(&self, win32handle: u64) -> windows_core::Result @@ -43,7 +43,7 @@ pub struct IWindowsDevicesAllJoynBusObjectFactoryInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateFromWin32Handle: unsafe extern "system" fn(*mut core::ffi::c_void, u64, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowsDevicesAllJoynBusObjectInterop, IWindowsDevicesAllJoynBusObjectInterop_Vtbl, 0xd78aa3d5_5054_428f_99f2_ec3a5de3c3bc); +windows_core::imp::define_interface!(IWindowsDevicesAllJoynBusObjectInterop, IWindowsDevicesAllJoynBusObjectInterop_Vtbl, 0xd78aa3d5_5054_428f_99f2_ec3a5de3c3bc); windows_core::imp::interface_hierarchy!(IWindowsDevicesAllJoynBusObjectInterop, windows_core::IUnknown, windows_core::IInspectable); impl IWindowsDevicesAllJoynBusObjectInterop { pub unsafe fn AddPropertyGetHandler(&self, context: *const core::ffi::c_void, interfacename: &windows_core::HSTRING, callback: isize) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs index 9dfbc3cecf..94f68f7eb5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICompositionCapabilitiesInteropFactory, ICompositionCapabilitiesInteropFactory_Vtbl, 0x2c9db356_e70d_4642_8298_bc4aa5b4865c); +windows_core::imp::define_interface!(ICompositionCapabilitiesInteropFactory, ICompositionCapabilitiesInteropFactory_Vtbl, 0x2c9db356_e70d_4642_8298_bc4aa5b4865c); windows_core::imp::interface_hierarchy!(ICompositionCapabilitiesInteropFactory, windows_core::IUnknown, windows_core::IInspectable); impl ICompositionCapabilitiesInteropFactory { #[cfg(feature = "UI_Composition")] @@ -18,7 +18,7 @@ pub struct ICompositionCapabilitiesInteropFactory_Vtbl { #[cfg(not(feature = "UI_Composition"))] GetForWindow: usize, } -windows_core::imp::com_interface!(ICompositionDrawingSurfaceInterop, ICompositionDrawingSurfaceInterop_Vtbl, 0xfd04e6e3_fe0c_4c3c_ab19_a07601a576ee); +windows_core::imp::define_interface!(ICompositionDrawingSurfaceInterop, ICompositionDrawingSurfaceInterop_Vtbl, 0xfd04e6e3_fe0c_4c3c_ab19_a07601a576ee); windows_core::imp::interface_hierarchy!(ICompositionDrawingSurfaceInterop, windows_core::IUnknown); impl ICompositionDrawingSurfaceInterop { pub unsafe fn BeginDraw(&self, updaterect: Option<*const super::super::super::Foundation::RECT>, updateoffset: *mut super::super::super::Foundation::POINT) -> windows_core::Result @@ -54,7 +54,7 @@ pub struct ICompositionDrawingSurfaceInterop_Vtbl { pub ResumeDraw: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SuspendDraw: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionDrawingSurfaceInterop2, ICompositionDrawingSurfaceInterop2_Vtbl, 0x41e64aae_98c0_4239_8e95_a330dd6aa18b); +windows_core::imp::define_interface!(ICompositionDrawingSurfaceInterop2, ICompositionDrawingSurfaceInterop2_Vtbl, 0x41e64aae_98c0_4239_8e95_a330dd6aa18b); windows_core::imp::interface_hierarchy!(ICompositionDrawingSurfaceInterop2, windows_core::IUnknown, ICompositionDrawingSurfaceInterop); impl ICompositionDrawingSurfaceInterop2 { pub unsafe fn BeginDraw(&self, updaterect: Option<*const super::super::super::Foundation::RECT>, updateoffset: *mut super::super::super::Foundation::POINT) -> windows_core::Result @@ -91,7 +91,7 @@ pub struct ICompositionDrawingSurfaceInterop2_Vtbl { pub base__: ICompositionDrawingSurfaceInterop_Vtbl, pub CopySurface: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32, *const super::super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionGraphicsDeviceInterop, ICompositionGraphicsDeviceInterop_Vtbl, 0xa116ff71_f8bf_4c8a_9c98_70779a32a9c8); +windows_core::imp::define_interface!(ICompositionGraphicsDeviceInterop, ICompositionGraphicsDeviceInterop_Vtbl, 0xa116ff71_f8bf_4c8a_9c98_70779a32a9c8); windows_core::imp::interface_hierarchy!(ICompositionGraphicsDeviceInterop, windows_core::IUnknown); impl ICompositionGraphicsDeviceInterop { pub unsafe fn GetRenderingDevice(&self) -> windows_core::Result { @@ -111,7 +111,7 @@ pub struct ICompositionGraphicsDeviceInterop_Vtbl { pub GetRenderingDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRenderingDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositionTextureInterop, ICompositionTextureInterop_Vtbl, 0xd528a265_f0a5_422f_a39d_ef62d7cd1cc4); +windows_core::imp::define_interface!(ICompositionTextureInterop, ICompositionTextureInterop_Vtbl, 0xd528a265_f0a5_422f_a39d_ef62d7cd1cc4); windows_core::imp::interface_hierarchy!(ICompositionTextureInterop, windows_core::IUnknown); impl ICompositionTextureInterop { pub unsafe fn GetAvailableFence(&self, fencevalue: *mut u64, iid: *const windows_core::GUID, availablefence: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -123,7 +123,7 @@ pub struct ICompositionTextureInterop_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetAvailableFence: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositorDesktopInterop, ICompositorDesktopInterop_Vtbl, 0x29e691fa_4567_4dca_b319_d0f207eb6807); +windows_core::imp::define_interface!(ICompositorDesktopInterop, ICompositorDesktopInterop_Vtbl, 0x29e691fa_4567_4dca_b319_d0f207eb6807); windows_core::imp::interface_hierarchy!(ICompositorDesktopInterop, windows_core::IUnknown); impl ICompositorDesktopInterop { #[cfg(feature = "UI_Composition_Desktop")] @@ -148,7 +148,7 @@ pub struct ICompositorDesktopInterop_Vtbl { CreateDesktopWindowTarget: usize, pub EnsureOnThread: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICompositorInterop, ICompositorInterop_Vtbl, 0x25297d5c_3ad4_4c9c_b5cf_e36a38512330); +windows_core::imp::define_interface!(ICompositorInterop, ICompositorInterop_Vtbl, 0x25297d5c_3ad4_4c9c_b5cf_e36a38512330); windows_core::imp::interface_hierarchy!(ICompositorInterop, windows_core::IUnknown); impl ICompositorInterop { #[cfg(feature = "UI_Composition")] @@ -192,7 +192,7 @@ pub struct ICompositorInterop_Vtbl { #[cfg(not(feature = "UI_Composition"))] CreateGraphicsDevice: usize, } -windows_core::imp::com_interface!(ICompositorInterop2, ICompositorInterop2_Vtbl, 0xd3eef34c_0667_4afc_8d13_867607b0fe91); +windows_core::imp::define_interface!(ICompositorInterop2, ICompositorInterop2_Vtbl, 0xd3eef34c_0667_4afc_8d13_867607b0fe91); windows_core::imp::interface_hierarchy!(ICompositorInterop2, windows_core::IUnknown); impl ICompositorInterop2 { pub unsafe fn CheckCompositionTextureSupport(&self, renderingdevice: P0) -> windows_core::Result @@ -220,7 +220,7 @@ pub struct ICompositorInterop2_Vtbl { #[cfg(not(feature = "UI_Composition"))] CreateCompositionTexture: usize, } -windows_core::imp::com_interface!(IDesktopWindowTargetInterop, IDesktopWindowTargetInterop_Vtbl, 0x35dbf59e_e3f9_45b0_81e7_fe75f4145dc9); +windows_core::imp::define_interface!(IDesktopWindowTargetInterop, IDesktopWindowTargetInterop_Vtbl, 0x35dbf59e_e3f9_45b0_81e7_fe75f4145dc9); windows_core::imp::interface_hierarchy!(IDesktopWindowTargetInterop, windows_core::IUnknown); impl IDesktopWindowTargetInterop { pub unsafe fn Hwnd(&self) -> windows_core::Result { @@ -233,7 +233,7 @@ pub struct IDesktopWindowTargetInterop_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Hwnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisualInteractionSourceInterop, IVisualInteractionSourceInterop_Vtbl, 0x11f62cd1_2f9d_42d3_b05f_d6790d9e9f8e); +windows_core::imp::define_interface!(IVisualInteractionSourceInterop, IVisualInteractionSourceInterop_Vtbl, 0x11f62cd1_2f9d_42d3_b05f_d6790d9e9f8e); windows_core::imp::interface_hierarchy!(IVisualInteractionSourceInterop, windows_core::IUnknown); impl IVisualInteractionSourceInterop { #[cfg(all(feature = "Win32_UI_Input_Pointer", feature = "Win32_UI_WindowsAndMessaging"))] 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 ca7ab58c74..3c717d1496 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ICoreFrameworkInputViewInterop, ICoreFrameworkInputViewInterop_Vtbl, 0x0e3da342_b11c_484b_9c1c_be0d61c2f6c5); +windows_core::imp::define_interface!(ICoreFrameworkInputViewInterop, ICoreFrameworkInputViewInterop_Vtbl, 0x0e3da342_b11c_484b_9c1c_be0d61c2f6c5); windows_core::imp::interface_hierarchy!(ICoreFrameworkInputViewInterop, windows_core::IUnknown, windows_core::IInspectable); impl ICoreFrameworkInputViewInterop { pub unsafe fn GetForWindow(&self, appwindow: P0) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/mod.rs index 67af459bed..223537f075 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 @@ -18,7 +18,7 @@ where let mut result__ = std::mem::zeroed(); CreateDirect3D11SurfaceFromDXGISurface(dgxisurface.into_param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } -windows_core::imp::com_interface!(IDirect3DDxgiInterfaceAccess, IDirect3DDxgiInterfaceAccess_Vtbl, 0xa9b3d012_3df2_4ee3_b8d1_8695f457d3c1); +windows_core::imp::define_interface!(IDirect3DDxgiInterfaceAccess, IDirect3DDxgiInterfaceAccess_Vtbl, 0xa9b3d012_3df2_4ee3_b8d1_8695f457d3c1); windows_core::imp::interface_hierarchy!(IDirect3DDxgiInterfaceAccess, windows_core::IUnknown); impl IDirect3DDxgiInterfaceAccess { pub unsafe fn GetInterface(&self) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs index 7767f946ea..c5f833a460 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDisplayDeviceInterop, IDisplayDeviceInterop_Vtbl, 0x64338358_366a_471b_bd56_dd8ef48e439b); +windows_core::imp::define_interface!(IDisplayDeviceInterop, IDisplayDeviceInterop_Vtbl, 0x64338358_366a_471b_bd56_dd8ef48e439b); windows_core::imp::interface_hierarchy!(IDisplayDeviceInterop, windows_core::IUnknown); impl IDisplayDeviceInterop { #[cfg(feature = "Win32_Security")] @@ -26,7 +26,7 @@ pub struct IDisplayDeviceInterop_Vtbl { 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, } -windows_core::imp::com_interface!(IDisplayPathInterop, IDisplayPathInterop_Vtbl, 0xa6ba4205_e59e_4e71_b25b_4e436d21ee3d); +windows_core::imp::define_interface!(IDisplayPathInterop, IDisplayPathInterop_Vtbl, 0xa6ba4205_e59e_4e71_b25b_4e436d21ee3d); windows_core::imp::interface_hierarchy!(IDisplayPathInterop, windows_core::IUnknown); impl IDisplayPathInterop { pub unsafe fn CreateSourcePresentationHandle(&self) -> windows_core::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 b0556ec806..930e6a8213 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGraphicsCaptureItemInterop, IGraphicsCaptureItemInterop_Vtbl, 0x3628e81b_3cac_4c60_b7f4_23ce0e0c3356); +windows_core::imp::define_interface!(IGraphicsCaptureItemInterop, IGraphicsCaptureItemInterop_Vtbl, 0x3628e81b_3cac_4c60_b7f4_23ce0e0c3356); windows_core::imp::interface_hierarchy!(IGraphicsCaptureItemInterop, windows_core::IUnknown); impl IGraphicsCaptureItemInterop { pub unsafe fn CreateForWindow(&self, window: P0) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs index f2fb37b0cd..094079b407 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IGeometrySource2DInterop, IGeometrySource2DInterop_Vtbl, 0x0657af73_53fd_47cf_84ff_c8492d2a80a3); +windows_core::imp::define_interface!(IGeometrySource2DInterop, IGeometrySource2DInterop_Vtbl, 0x0657af73_53fd_47cf_84ff_c8492d2a80a3); windows_core::imp::interface_hierarchy!(IGeometrySource2DInterop, windows_core::IUnknown); impl IGeometrySource2DInterop { #[cfg(feature = "Win32_Graphics_Direct2D")] @@ -27,7 +27,7 @@ pub struct IGeometrySource2DInterop_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D"))] TryGetGeometryUsingFactory: usize, } -windows_core::imp::com_interface!(IGraphicsEffectD2D1Interop, IGraphicsEffectD2D1Interop_Vtbl, 0x2fc57384_a068_44d7_a331_30982fcf7177); +windows_core::imp::define_interface!(IGraphicsEffectD2D1Interop, IGraphicsEffectD2D1Interop_Vtbl, 0x2fc57384_a068_44d7_a331_30982fcf7177); windows_core::imp::interface_hierarchy!(IGraphicsEffectD2D1Interop, windows_core::IUnknown); impl IGraphicsEffectD2D1Interop { pub unsafe fn GetEffectId(&self) -> windows_core::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 2992ab2486..51b70d20c6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ISoftwareBitmapNative, ISoftwareBitmapNative_Vtbl, 0x94bc8415_04ea_4b2e_af13_4de95aa898eb); +windows_core::imp::define_interface!(ISoftwareBitmapNative, ISoftwareBitmapNative_Vtbl, 0x94bc8415_04ea_4b2e_af13_4de95aa898eb); windows_core::imp::interface_hierarchy!(ISoftwareBitmapNative, windows_core::IUnknown, windows_core::IInspectable); impl ISoftwareBitmapNative { pub unsafe fn GetData(&self) -> windows_core::Result @@ -14,7 +14,7 @@ pub struct ISoftwareBitmapNative_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISoftwareBitmapNativeFactory, ISoftwareBitmapNativeFactory_Vtbl, 0xc3c181ec_2914_4791_af02_02d224a10b43); +windows_core::imp::define_interface!(ISoftwareBitmapNativeFactory, ISoftwareBitmapNativeFactory_Vtbl, 0xc3c181ec_2914_4791_af02_02d224a10b43); windows_core::imp::interface_hierarchy!(ISoftwareBitmapNativeFactory, windows_core::IUnknown, windows_core::IInspectable); impl ISoftwareBitmapNativeFactory { #[cfg(feature = "Win32_Graphics_Imaging")] 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 293a25f4cb..7eaabc72c8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IHolographicCameraInterop, IHolographicCameraInterop_Vtbl, 0x7cc1f9c5_6d02_41fa_9500_e1809eb48eec); +windows_core::imp::define_interface!(IHolographicCameraInterop, IHolographicCameraInterop_Vtbl, 0x7cc1f9c5_6d02_41fa_9500_e1809eb48eec); windows_core::imp::interface_hierarchy!(IHolographicCameraInterop, windows_core::IUnknown, windows_core::IInspectable); impl IHolographicCameraInterop { #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -66,7 +66,7 @@ pub struct IHolographicCameraInterop_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] UnacquireDirect3D12BufferResource: usize, } -windows_core::imp::com_interface!(IHolographicCameraRenderingParametersInterop, IHolographicCameraRenderingParametersInterop_Vtbl, 0xf75b68d6_d1fd_4707_aafd_fa6f4c0e3bf4); +windows_core::imp::define_interface!(IHolographicCameraRenderingParametersInterop, IHolographicCameraRenderingParametersInterop_Vtbl, 0xf75b68d6_d1fd_4707_aafd_fa6f4c0e3bf4); windows_core::imp::interface_hierarchy!(IHolographicCameraRenderingParametersInterop, windows_core::IUnknown, windows_core::IInspectable); impl IHolographicCameraRenderingParametersInterop { #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -100,7 +100,7 @@ pub struct IHolographicCameraRenderingParametersInterop_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] CommitDirect3D12ResourceWithDepthData: usize, } -windows_core::imp::com_interface!(IHolographicQuadLayerInterop, IHolographicQuadLayerInterop_Vtbl, 0xcfa688f0_639e_4a47_83d7_6b7f5ebf7fed); +windows_core::imp::define_interface!(IHolographicQuadLayerInterop, IHolographicQuadLayerInterop_Vtbl, 0xcfa688f0_639e_4a47_83d7_6b7f5ebf7fed); windows_core::imp::interface_hierarchy!(IHolographicQuadLayerInterop, windows_core::IUnknown, windows_core::IInspectable); impl IHolographicQuadLayerInterop { #[cfg(all(feature = "Win32_Graphics_Direct3D12", feature = "Win32_Graphics_Dxgi_Common"))] @@ -168,7 +168,7 @@ pub struct IHolographicQuadLayerInterop_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] UnacquireDirect3D12BufferResource: usize, } -windows_core::imp::com_interface!(IHolographicQuadLayerUpdateParametersInterop, IHolographicQuadLayerUpdateParametersInterop_Vtbl, 0xe5f549cd_c909_444f_8809_7cc18a9c8920); +windows_core::imp::define_interface!(IHolographicQuadLayerUpdateParametersInterop, IHolographicQuadLayerUpdateParametersInterop_Vtbl, 0xe5f549cd_c909_444f_8809_7cc18a9c8920); windows_core::imp::interface_hierarchy!(IHolographicQuadLayerUpdateParametersInterop, windows_core::IUnknown, windows_core::IInspectable); impl IHolographicQuadLayerUpdateParametersInterop { #[cfg(feature = "Win32_Graphics_Direct3D12")] diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs index 688859c004..76a2a672dd 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IIsolatedEnvironmentInterop, IIsolatedEnvironmentInterop_Vtbl, 0x85713c2e_8e62_46c5_8de2_c647e1d54636); +windows_core::imp::define_interface!(IIsolatedEnvironmentInterop, IIsolatedEnvironmentInterop_Vtbl, 0x85713c2e_8e62_46c5_8de2_c647e1d54636); windows_core::imp::interface_hierarchy!(IIsolatedEnvironmentInterop, windows_core::IUnknown); impl IIsolatedEnvironmentInterop { pub unsafe fn GetHostHwndInterop(&self, containerhwnd: P0) -> windows_core::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 3eee5b8687..47c96535df 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(ILearningModelDeviceFactoryNative, ILearningModelDeviceFactoryNative_Vtbl, 0x1e9b31a1_662e_4ae0_af67_f63bb337e634); +windows_core::imp::define_interface!(ILearningModelDeviceFactoryNative, ILearningModelDeviceFactoryNative_Vtbl, 0x1e9b31a1_662e_4ae0_af67_f63bb337e634); windows_core::imp::interface_hierarchy!(ILearningModelDeviceFactoryNative, windows_core::IUnknown); impl ILearningModelDeviceFactoryNative { #[cfg(feature = "Win32_Graphics_Direct3D12")] @@ -18,7 +18,7 @@ pub struct ILearningModelDeviceFactoryNative_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] CreateFromD3D12CommandQueue: usize, } -windows_core::imp::com_interface!(ILearningModelOperatorProviderNative, ILearningModelOperatorProviderNative_Vtbl, 0x1adaa23a_eb67_41f3_aad8_5d984e9bacd4); +windows_core::imp::define_interface!(ILearningModelOperatorProviderNative, ILearningModelOperatorProviderNative_Vtbl, 0x1adaa23a_eb67_41f3_aad8_5d984e9bacd4); windows_core::imp::interface_hierarchy!(ILearningModelOperatorProviderNative, windows_core::IUnknown); impl ILearningModelOperatorProviderNative { #[cfg(feature = "Win32_AI_MachineLearning_WinML")] @@ -35,7 +35,7 @@ pub struct ILearningModelOperatorProviderNative_Vtbl { #[cfg(not(feature = "Win32_AI_MachineLearning_WinML"))] GetRegistry: usize, } -windows_core::imp::com_interface!(ILearningModelSessionOptionsNative, ILearningModelSessionOptionsNative_Vtbl, 0xc71e953f_37b4_4564_8658_d8396866db0d); +windows_core::imp::define_interface!(ILearningModelSessionOptionsNative, ILearningModelSessionOptionsNative_Vtbl, 0xc71e953f_37b4_4564_8658_d8396866db0d); windows_core::imp::interface_hierarchy!(ILearningModelSessionOptionsNative, windows_core::IUnknown); impl ILearningModelSessionOptionsNative { pub unsafe fn SetIntraOpNumThreadsOverride(&self, intraopnumthreads: u32) -> windows_core::Result<()> { @@ -47,7 +47,7 @@ pub struct ILearningModelSessionOptionsNative_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetIntraOpNumThreadsOverride: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILearningModelSessionOptionsNative1, ILearningModelSessionOptionsNative1_Vtbl, 0x5da37a26_0526_414b_91e4_2a0fa3ddba40); +windows_core::imp::define_interface!(ILearningModelSessionOptionsNative1, ILearningModelSessionOptionsNative1_Vtbl, 0x5da37a26_0526_414b_91e4_2a0fa3ddba40); windows_core::imp::interface_hierarchy!(ILearningModelSessionOptionsNative1, windows_core::IUnknown); impl ILearningModelSessionOptionsNative1 { pub unsafe fn SetIntraOpThreadSpinning(&self, allowspinning: u8) -> windows_core::Result<()> { @@ -59,7 +59,7 @@ pub struct ILearningModelSessionOptionsNative1_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetIntraOpThreadSpinning: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITensorNative, ITensorNative_Vtbl, 0x52f547ef_5b03_49b5_82d6_565f1ee0dd49); +windows_core::imp::define_interface!(ITensorNative, ITensorNative_Vtbl, 0x52f547ef_5b03_49b5_82d6_565f1ee0dd49); windows_core::imp::interface_hierarchy!(ITensorNative, windows_core::IUnknown); impl ITensorNative { pub unsafe fn GetBuffer(&self, value: *mut *mut u8, capacity: *mut u32) -> windows_core::Result<()> { @@ -80,7 +80,7 @@ pub struct ITensorNative_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct3D12"))] GetD3D12Resource: usize, } -windows_core::imp::com_interface!(ITensorStaticsNative, ITensorStaticsNative_Vtbl, 0x39d055a4_66f6_4ebc_95d9_7a29ebe7690a); +windows_core::imp::define_interface!(ITensorStaticsNative, ITensorStaticsNative_Vtbl, 0x39d055a4_66f6_4ebc_95d9_7a29ebe7690a); windows_core::imp::interface_hierarchy!(ITensorStaticsNative, windows_core::IUnknown); impl ITensorStaticsNative { #[cfg(feature = "Win32_Graphics_Direct3D12")] 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 7d3a4d1622..6e9065e890 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAudioFrameNative, IAudioFrameNative_Vtbl, 0x20be1e2e_930f_4746_9335_3c332f255093); +windows_core::imp::define_interface!(IAudioFrameNative, IAudioFrameNative_Vtbl, 0x20be1e2e_930f_4746_9335_3c332f255093); windows_core::imp::interface_hierarchy!(IAudioFrameNative, windows_core::IUnknown, windows_core::IInspectable); impl IAudioFrameNative { pub unsafe fn GetData(&self) -> windows_core::Result @@ -14,7 +14,7 @@ pub struct IAudioFrameNative_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioFrameNativeFactory, IAudioFrameNativeFactory_Vtbl, 0x7bd67cf8_bf7d_43e6_af8d_b170ee0c0110); +windows_core::imp::define_interface!(IAudioFrameNativeFactory, IAudioFrameNativeFactory_Vtbl, 0x7bd67cf8_bf7d_43e6_af8d_b170ee0c0110); windows_core::imp::interface_hierarchy!(IAudioFrameNativeFactory, windows_core::IUnknown, windows_core::IInspectable); impl IAudioFrameNativeFactory { #[cfg(feature = "Win32_Media_MediaFoundation")] @@ -36,7 +36,7 @@ pub struct IAudioFrameNativeFactory_Vtbl { #[cfg(not(feature = "Win32_Media_MediaFoundation"))] CreateFromMFSample: usize, } -windows_core::imp::com_interface!(IVideoFrameNative, IVideoFrameNative_Vtbl, 0x26ba702b_314a_4620_aaf6_7a51aa58fa18); +windows_core::imp::define_interface!(IVideoFrameNative, IVideoFrameNative_Vtbl, 0x26ba702b_314a_4620_aaf6_7a51aa58fa18); windows_core::imp::interface_hierarchy!(IVideoFrameNative, windows_core::IUnknown, windows_core::IInspectable); impl IVideoFrameNative { pub unsafe fn GetData(&self) -> windows_core::Result @@ -60,7 +60,7 @@ pub struct IVideoFrameNative_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDevice: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVideoFrameNativeFactory, IVideoFrameNativeFactory_Vtbl, 0x69e3693e_8e1e_4e63_ac4c_7fdc21d9731d); +windows_core::imp::define_interface!(IVideoFrameNativeFactory, IVideoFrameNativeFactory_Vtbl, 0x69e3693e_8e1e_4e63_ac4c_7fdc21d9731d); windows_core::imp::interface_hierarchy!(IVideoFrameNativeFactory, windows_core::IUnknown, windows_core::IInspectable); impl IVideoFrameNativeFactory { #[cfg(feature = "Win32_Media_MediaFoundation")] 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 aa72de8c0c..f2f0b6531c 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 @@ -87,7 +87,7 @@ pub unsafe fn RoResolveNamespace(name: &windows_core::HSTRING, windowsmetadatadi ) .ok() } -windows_core::imp::com_interface!(ICeeGen, ICeeGen_Vtbl, 0x7ed1bdff_8e36_11d2_9c56_00a0c9b7cc45); +windows_core::imp::define_interface!(ICeeGen, ICeeGen_Vtbl, 0x7ed1bdff_8e36_11d2_9c56_00a0c9b7cc45); windows_core::imp::interface_hierarchy!(ICeeGen, windows_core::IUnknown); impl ICeeGen { pub unsafe fn EmitString(&self, lpstring: P0, rva: *mut u32) -> windows_core::Result<()> @@ -162,7 +162,7 @@ pub struct ICeeGen_Vtbl { pub GenerateCeeMemoryImage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ComputePointer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHostFilter, IHostFilter_Vtbl, 0xd0e80dd3_12d4_11d3_b39d_00c04ff81795); +windows_core::imp::define_interface!(IHostFilter, IHostFilter_Vtbl, 0xd0e80dd3_12d4_11d3_b39d_00c04ff81795); windows_core::imp::interface_hierarchy!(IHostFilter, windows_core::IUnknown); impl IHostFilter { pub unsafe fn MarkToken(&self, tk: u32) -> windows_core::Result<()> { @@ -174,7 +174,7 @@ pub struct IHostFilter_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub MarkToken: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMapToken, IMapToken_Vtbl, 0x06a3ea8b_0225_11d1_bf72_00c04fc31e12); +windows_core::imp::define_interface!(IMapToken, IMapToken_Vtbl, 0x06a3ea8b_0225_11d1_bf72_00c04fc31e12); windows_core::imp::interface_hierarchy!(IMapToken, windows_core::IUnknown); impl IMapToken { pub unsafe fn Map(&self, tkimp: u32, tkemit: u32) -> windows_core::Result<()> { @@ -186,7 +186,7 @@ pub struct IMapToken_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Map: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataAssemblyEmit, IMetaDataAssemblyEmit_Vtbl, 0x211ef15b_5317_4438_b196_dec87b887693); +windows_core::imp::define_interface!(IMetaDataAssemblyEmit, IMetaDataAssemblyEmit_Vtbl, 0x211ef15b_5317_4438_b196_dec87b887693); windows_core::imp::interface_hierarchy!(IMetaDataAssemblyEmit, windows_core::IUnknown); impl IMetaDataAssemblyEmit { pub unsafe fn DefineAssembly(&self, pbpublickey: *const core::ffi::c_void, cbpublickey: u32, ulhashalgid: u32, szname: P0, pmetadata: *const ASSEMBLYMETADATA, dwassemblyflags: u32, pma: *mut u32) -> windows_core::Result<()> @@ -255,7 +255,7 @@ pub struct IMetaDataAssemblyEmit_Vtbl { pub SetExportedTypeProps: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32) -> windows_core::HRESULT, pub SetManifestResourceProps: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataAssemblyImport, IMetaDataAssemblyImport_Vtbl, 0xee62470b_e94b_424e_9b7c_2f00c9249f93); +windows_core::imp::define_interface!(IMetaDataAssemblyImport, IMetaDataAssemblyImport_Vtbl, 0xee62470b_e94b_424e_9b7c_2f00c9249f93); windows_core::imp::interface_hierarchy!(IMetaDataAssemblyImport, windows_core::IUnknown); impl IMetaDataAssemblyImport { pub unsafe fn GetAssemblyProps(&self, mda: u32, ppbpublickey: *const *const core::ffi::c_void, pcbpublickey: *mut u32, pulhashalgid: *mut u32, szname: Option<&mut [u16]>, pchname: *mut u32, pmetadata: *mut ASSEMBLYMETADATA, pdwassemblyflags: *mut u32) -> windows_core::Result<()> { @@ -330,7 +330,7 @@ pub struct IMetaDataAssemblyImport_Vtbl { pub CloseEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void), pub FindAssembliesByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataDispenser, IMetaDataDispenser_Vtbl, 0x809c652e_7396_11d2_9771_00a0c9b4d50c); +windows_core::imp::define_interface!(IMetaDataDispenser, IMetaDataDispenser_Vtbl, 0x809c652e_7396_11d2_9771_00a0c9b4d50c); 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 { @@ -356,7 +356,7 @@ pub struct IMetaDataDispenser_Vtbl { pub OpenScope: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OpenScopeOnMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataDispenserEx, IMetaDataDispenserEx_Vtbl, 0x31bcfce2_dafb_11d2_9f81_00c04f79a0a3); +windows_core::imp::define_interface!(IMetaDataDispenserEx, IMetaDataDispenserEx_Vtbl, 0x31bcfce2_dafb_11d2_9f81_00c04f79a0a3); windows_core::imp::interface_hierarchy!(IMetaDataDispenserEx, windows_core::IUnknown, IMetaDataDispenser); impl IMetaDataDispenserEx { pub unsafe fn DefineScope(&self, rclsid: *const windows_core::GUID, dwcreateflags: u32, riid: *const windows_core::GUID) -> windows_core::Result { @@ -425,7 +425,7 @@ pub struct IMetaDataDispenserEx_Vtbl { pub FindAssembly: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, u32, *mut u32) -> windows_core::HRESULT, pub FindAssemblyModule: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataEmit, IMetaDataEmit_Vtbl, 0xba3fee4c_ecb9_4e41_83b7_183fa41cd859); +windows_core::imp::define_interface!(IMetaDataEmit, IMetaDataEmit_Vtbl, 0xba3fee4c_ecb9_4e41_83b7_183fa41cd859); windows_core::imp::interface_hierarchy!(IMetaDataEmit, windows_core::IUnknown); impl IMetaDataEmit { pub unsafe fn SetModuleProps(&self, szname: P0) -> windows_core::Result<()> @@ -711,7 +711,7 @@ pub struct IMetaDataEmit_Vtbl { pub Merge: 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 MergeEnd: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataEmit2, IMetaDataEmit2_Vtbl, 0xf5dd9950_f693_42e6_830e_7b833e8146a9); +windows_core::imp::define_interface!(IMetaDataEmit2, IMetaDataEmit2_Vtbl, 0xf5dd9950_f693_42e6_830e_7b833e8146a9); windows_core::imp::interface_hierarchy!(IMetaDataEmit2, windows_core::IUnknown, IMetaDataEmit); impl IMetaDataEmit2 { pub unsafe fn SetModuleProps(&self, szname: P0) -> windows_core::Result<()> @@ -993,7 +993,7 @@ pub struct IMetaDataEmit2_Vtbl { pub SetGenericParamProps: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCWSTR, u32, *mut u32) -> windows_core::HRESULT, pub ResetENCLog: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataError, IMetaDataError_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b09c19); +windows_core::imp::define_interface!(IMetaDataError, IMetaDataError_Vtbl, 0xb81ff171_20f3_11d2_8dcc_00a0c9b09c19); windows_core::imp::interface_hierarchy!(IMetaDataError, windows_core::IUnknown); impl IMetaDataError { pub unsafe fn OnError(&self, hrerror: windows_core::HRESULT, token: u32) -> windows_core::Result<()> { @@ -1005,7 +1005,7 @@ pub struct IMetaDataError_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataFilter, IMetaDataFilter_Vtbl, 0xd0e80dd1_12d4_11d3_b39d_00c04ff81795); +windows_core::imp::define_interface!(IMetaDataFilter, IMetaDataFilter_Vtbl, 0xd0e80dd1_12d4_11d3_b39d_00c04ff81795); windows_core::imp::interface_hierarchy!(IMetaDataFilter, windows_core::IUnknown); impl IMetaDataFilter { pub unsafe fn UnmarkAll(&self) -> windows_core::Result<()> { @@ -1025,7 +1025,7 @@ pub struct IMetaDataFilter_Vtbl { pub MarkToken: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub IsTokenMarked: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataImport, IMetaDataImport_Vtbl, 0x7dac8207_d3ae_4c75_9b67_92801a497d44); +windows_core::imp::define_interface!(IMetaDataImport, IMetaDataImport_Vtbl, 0x7dac8207_d3ae_4c75_9b67_92801a497d44); windows_core::imp::interface_hierarchy!(IMetaDataImport, windows_core::IUnknown); impl IMetaDataImport { pub unsafe fn CloseEnum(&self, henum: *mut core::ffi::c_void) { @@ -1317,7 +1317,7 @@ pub struct IMetaDataImport_Vtbl { pub GetNativeCallConvFromSig: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub IsGlobal: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataImport2, IMetaDataImport2_Vtbl, 0xfce5efa0_8bba_4f8e_a036_8f2022b08466); +windows_core::imp::define_interface!(IMetaDataImport2, IMetaDataImport2_Vtbl, 0xfce5efa0_8bba_4f8e_a036_8f2022b08466); windows_core::imp::interface_hierarchy!(IMetaDataImport2, windows_core::IUnknown, IMetaDataImport); impl IMetaDataImport2 { pub unsafe fn CloseEnum(&self, henum: *mut core::ffi::c_void) { @@ -1579,7 +1579,7 @@ pub struct IMetaDataImport2_Vtbl { pub GetVersionString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, pub EnumMethodSpecs: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void, u32, *mut u32, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataInfo, IMetaDataInfo_Vtbl, 0x7998ea64_7f95_48b8_86fc_17caf48bf5cb); +windows_core::imp::define_interface!(IMetaDataInfo, IMetaDataInfo_Vtbl, 0x7998ea64_7f95_48b8_86fc_17caf48bf5cb); windows_core::imp::interface_hierarchy!(IMetaDataInfo, windows_core::IUnknown); impl IMetaDataInfo { pub unsafe fn GetFileMapping(&self, ppvdata: *const *const core::ffi::c_void, pcbdata: *mut u64, pdwmappingtype: *mut u32) -> windows_core::Result<()> { @@ -1591,7 +1591,7 @@ pub struct IMetaDataInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetFileMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const core::ffi::c_void, *mut u64, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataTables, IMetaDataTables_Vtbl, 0xd8f579ab_402d_4b8e_82d9_5d63b1065c68); +windows_core::imp::define_interface!(IMetaDataTables, IMetaDataTables_Vtbl, 0xd8f579ab_402d_4b8e_82d9_5d63b1065c68); windows_core::imp::interface_hierarchy!(IMetaDataTables, windows_core::IUnknown); impl IMetaDataTables { pub unsafe fn GetStringHeapSize(&self, pcbstrings: *mut u32) -> windows_core::Result<()> { @@ -1675,7 +1675,7 @@ pub struct IMetaDataTables_Vtbl { pub GetNextGuid: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, pub GetNextUserString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataTables2, IMetaDataTables2_Vtbl, 0xbadb5f70_58da_43a9_a1c6_d74819f19b15); +windows_core::imp::define_interface!(IMetaDataTables2, IMetaDataTables2_Vtbl, 0xbadb5f70_58da_43a9_a1c6_d74819f19b15); windows_core::imp::interface_hierarchy!(IMetaDataTables2, windows_core::IUnknown, IMetaDataTables); impl IMetaDataTables2 { pub unsafe fn GetStringHeapSize(&self, pcbstrings: *mut u32) -> windows_core::Result<()> { @@ -1748,7 +1748,7 @@ pub struct IMetaDataTables2_Vtbl { pub GetMetaDataStorage: unsafe extern "system" fn(*mut core::ffi::c_void, *const *const core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetMetaDataStreamInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *const i8, *const *const core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataValidate, IMetaDataValidate_Vtbl, 0x4709c9c6_81ff_11d3_9fc7_00c04f79a0a3); +windows_core::imp::define_interface!(IMetaDataValidate, IMetaDataValidate_Vtbl, 0x4709c9c6_81ff_11d3_9fc7_00c04f79a0a3); windows_core::imp::interface_hierarchy!(IMetaDataValidate, windows_core::IUnknown); impl IMetaDataValidate { pub unsafe fn ValidatorInit(&self, dwmoduletype: u32, punk: P0) -> windows_core::Result<()> @@ -1767,7 +1767,7 @@ pub struct IMetaDataValidate_Vtbl { pub ValidatorInit: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ValidateMetaData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMetaDataWinMDImport, IMetaDataWinMDImport_Vtbl, 0x969ea0c5_964e_411b_a807_b0f3c2dfcbd4); +windows_core::imp::define_interface!(IMetaDataWinMDImport, IMetaDataWinMDImport_Vtbl, 0x969ea0c5_964e_411b_a807_b0f3c2dfcbd4); windows_core::imp::interface_hierarchy!(IMetaDataWinMDImport, windows_core::IUnknown); impl IMetaDataWinMDImport { pub unsafe fn GetUntransformedTypeRefProps(&self, tr: u32, ptkresolutionscope: *mut u32, szname: Option<&mut [u16]>, pchname: *mut u32) -> windows_core::Result<()> { @@ -1779,7 +1779,7 @@ pub struct IMetaDataWinMDImport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetUntransformedTypeRefProps: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32, windows_core::PWSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::interface!(IRoMetaDataLocator, IRoMetaDataLocator_Vtbl); +windows_core::imp::define_interface!(IRoMetaDataLocator, IRoMetaDataLocator_Vtbl); impl IRoMetaDataLocator { pub unsafe fn Locate(&self, nameelement: P0, metadatadestination: P1) -> windows_core::Result<()> where @@ -1793,7 +1793,7 @@ impl IRoMetaDataLocator { pub struct IRoMetaDataLocator_Vtbl { pub Locate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::interface!(IRoSimpleMetaDataBuilder, IRoSimpleMetaDataBuilder_Vtbl); +windows_core::imp::define_interface!(IRoSimpleMetaDataBuilder, IRoSimpleMetaDataBuilder_Vtbl); impl IRoSimpleMetaDataBuilder { pub unsafe fn SetWinRtInterface(&self, iid: windows_core::GUID) -> windows_core::Result<()> { (windows_core::Interface::vtable(self).SetWinRtInterface)(windows_core::Interface::as_raw(self), core::mem::transmute(iid)).ok() 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 d12b35173c..06db7f5ffd 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 @@ -8,7 +8,7 @@ where let mut result__ = std::mem::zeroed(); PdfCreateRenderer(pdevice.into_param().abi(), &mut result__).and_then(|| windows_core::Type::from_abi(result__)) } -windows_core::imp::com_interface!(IPdfRendererNative, IPdfRendererNative_Vtbl, 0x7d9dcd91_d277_4947_8527_07a0daeda94a); +windows_core::imp::define_interface!(IPdfRendererNative, IPdfRendererNative_Vtbl, 0x7d9dcd91_d277_4947_8527_07a0daeda94a); windows_core::imp::interface_hierarchy!(IPdfRendererNative, windows_core::IUnknown); impl IPdfRendererNative { #[cfg(all(feature = "Win32_Graphics_Direct2D_Common", feature = "Win32_Graphics_Dxgi"))] 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 90a315c069..3c41b4c33d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IPrintManagerInterop, IPrintManagerInterop_Vtbl, 0xc5435a42_8d43_4e7b_a68a_ef311e392087); +windows_core::imp::define_interface!(IPrintManagerInterop, IPrintManagerInterop_Vtbl, 0xc5435a42_8d43_4e7b_a68a_ef311e392087); windows_core::imp::interface_hierarchy!(IPrintManagerInterop, windows_core::IUnknown, windows_core::IInspectable); impl IPrintManagerInterop { pub unsafe fn GetForWindow(&self, appwindow: P0) -> windows_core::Result @@ -24,7 +24,7 @@ pub struct IPrintManagerInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowPrintUIForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowConfigurationNative, IPrintWorkflowConfigurationNative_Vtbl, 0xc056be0a_9ee2_450a_9823_964f0006f2bb); +windows_core::imp::define_interface!(IPrintWorkflowConfigurationNative, IPrintWorkflowConfigurationNative_Vtbl, 0xc056be0a_9ee2_450a_9823_964f0006f2bb); windows_core::imp::interface_hierarchy!(IPrintWorkflowConfigurationNative, windows_core::IUnknown); impl IPrintWorkflowConfigurationNative { #[cfg(all(feature = "Win32_Graphics_Printing", feature = "Win32_System_Com"))] @@ -59,7 +59,7 @@ pub struct IPrintWorkflowConfigurationNative_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Printing", feature = "Win32_System_Com")))] UserProperties: usize, } -windows_core::imp::com_interface!(IPrintWorkflowObjectModelSourceFileContentNative, IPrintWorkflowObjectModelSourceFileContentNative_Vtbl, 0x68c9e477_993e_4052_8ac6_454eff58db9d); +windows_core::imp::define_interface!(IPrintWorkflowObjectModelSourceFileContentNative, IPrintWorkflowObjectModelSourceFileContentNative_Vtbl, 0x68c9e477_993e_4052_8ac6_454eff58db9d); windows_core::imp::interface_hierarchy!(IPrintWorkflowObjectModelSourceFileContentNative, windows_core::IUnknown); impl IPrintWorkflowObjectModelSourceFileContentNative { pub unsafe fn StartXpsOMGeneration(&self, receiver: P0) -> windows_core::Result<()> @@ -83,7 +83,7 @@ pub struct IPrintWorkflowObjectModelSourceFileContentNative_Vtbl { #[cfg(not(feature = "Win32_Storage_Xps"))] ObjectFactory: usize, } -windows_core::imp::com_interface!(IPrintWorkflowXpsObjectModelTargetPackageNative, IPrintWorkflowXpsObjectModelTargetPackageNative_Vtbl, 0x7d96bc74_9b54_4ca1_ad3a_979c3d44ddac); +windows_core::imp::define_interface!(IPrintWorkflowXpsObjectModelTargetPackageNative, IPrintWorkflowXpsObjectModelTargetPackageNative_Vtbl, 0x7d96bc74_9b54_4ca1_ad3a_979c3d44ddac); windows_core::imp::interface_hierarchy!(IPrintWorkflowXpsObjectModelTargetPackageNative, windows_core::IUnknown); impl IPrintWorkflowXpsObjectModelTargetPackageNative { #[cfg(feature = "Win32_Storage_Xps")] @@ -100,7 +100,7 @@ pub struct IPrintWorkflowXpsObjectModelTargetPackageNative_Vtbl { #[cfg(not(feature = "Win32_Storage_Xps"))] DocumentPackageTarget: usize, } -windows_core::imp::com_interface!(IPrintWorkflowXpsReceiver, IPrintWorkflowXpsReceiver_Vtbl, 0x04097374_77b8_47f6_8167_aae29d4cf84b); +windows_core::imp::define_interface!(IPrintWorkflowXpsReceiver, IPrintWorkflowXpsReceiver_Vtbl, 0x04097374_77b8_47f6_8167_aae29d4cf84b); windows_core::imp::interface_hierarchy!(IPrintWorkflowXpsReceiver, windows_core::IUnknown); impl IPrintWorkflowXpsReceiver { #[cfg(feature = "Win32_System_Com")] @@ -154,7 +154,7 @@ pub struct IPrintWorkflowXpsReceiver_Vtbl { AddPage: usize, pub Close: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintWorkflowXpsReceiver2, IPrintWorkflowXpsReceiver2_Vtbl, 0x023bcc0c_dfab_4a61_b074_490c6995580d); +windows_core::imp::define_interface!(IPrintWorkflowXpsReceiver2, IPrintWorkflowXpsReceiver2_Vtbl, 0x023bcc0c_dfab_4a61_b074_490c6995580d); windows_core::imp::interface_hierarchy!(IPrintWorkflowXpsReceiver2, windows_core::IUnknown, IPrintWorkflowXpsReceiver); impl IPrintWorkflowXpsReceiver2 { #[cfg(feature = "Win32_System_Com")] @@ -198,7 +198,7 @@ pub struct IPrintWorkflowXpsReceiver2_Vtbl { pub base__: IPrintWorkflowXpsReceiver_Vtbl, pub Failed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrinting3DManagerInterop, IPrinting3DManagerInterop_Vtbl, 0x9ca31010_1484_4587_b26b_dddf9f9caecd); +windows_core::imp::define_interface!(IPrinting3DManagerInterop, IPrinting3DManagerInterop_Vtbl, 0x9ca31010_1484_4587_b26b_dddf9f9caecd); windows_core::imp::interface_hierarchy!(IPrinting3DManagerInterop, windows_core::IUnknown, windows_core::IInspectable); impl IPrinting3DManagerInterop { pub unsafe fn GetForWindow(&self, appwindow: P0) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs index e5313c6fb0..ac769641b3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IDDEInitializer, IDDEInitializer_Vtbl, 0x30dc931f_33fc_4ffd_a168_942258cf3ca4); +windows_core::imp::define_interface!(IDDEInitializer, IDDEInitializer_Vtbl, 0x30dc931f_33fc_4ffd_a168_942258cf3ca4); windows_core::imp::interface_hierarchy!(IDDEInitializer, windows_core::IUnknown); impl IDDEInitializer { #[cfg(feature = "Win32_UI_Shell")] 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 d5f8b32c53..e8b4786535 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IOplockBreakingHandler, IOplockBreakingHandler_Vtbl, 0x826abe3d_3acd_47d3_84f2_88aaedcf6304); +windows_core::imp::define_interface!(IOplockBreakingHandler, IOplockBreakingHandler_Vtbl, 0x826abe3d_3acd_47d3_84f2_88aaedcf6304); windows_core::imp::interface_hierarchy!(IOplockBreakingHandler, windows_core::IUnknown); impl IOplockBreakingHandler { pub unsafe fn OplockBreaking(&self) -> windows_core::Result<()> { @@ -10,7 +10,7 @@ pub struct IOplockBreakingHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OplockBreaking: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRandomAccessStreamFileAccessMode, IRandomAccessStreamFileAccessMode_Vtbl, 0x332e5848_2e15_458e_85c4_c911c0c3d6f4); +windows_core::imp::define_interface!(IRandomAccessStreamFileAccessMode, IRandomAccessStreamFileAccessMode_Vtbl, 0x332e5848_2e15_458e_85c4_c911c0c3d6f4); windows_core::imp::interface_hierarchy!(IRandomAccessStreamFileAccessMode, windows_core::IUnknown); impl IRandomAccessStreamFileAccessMode { pub unsafe fn GetMode(&self) -> windows_core::Result { @@ -23,7 +23,7 @@ pub struct IRandomAccessStreamFileAccessMode_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageFolderHandleAccess, IStorageFolderHandleAccess_Vtbl, 0xdf19938f_5462_48a0_be65_d2a3271a08d6); +windows_core::imp::define_interface!(IStorageFolderHandleAccess, IStorageFolderHandleAccess_Vtbl, 0xdf19938f_5462_48a0_be65_d2a3271a08d6); windows_core::imp::interface_hierarchy!(IStorageFolderHandleAccess, windows_core::IUnknown); impl IStorageFolderHandleAccess { pub unsafe fn Create(&self, filename: P0, creationoptions: HANDLE_CREATION_OPTIONS, accessoptions: HANDLE_ACCESS_OPTIONS, sharingoptions: HANDLE_SHARING_OPTIONS, options: HANDLE_OPTIONS, oplockbreakinghandler: P1) -> windows_core::Result @@ -40,7 +40,7 @@ pub struct IStorageFolderHandleAccess_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, HANDLE_CREATION_OPTIONS, HANDLE_ACCESS_OPTIONS, HANDLE_SHARING_OPTIONS, HANDLE_OPTIONS, *mut core::ffi::c_void, *mut super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageItemHandleAccess, IStorageItemHandleAccess_Vtbl, 0x5ca296b2_2c25_4d22_b785_b885c8201e6a); +windows_core::imp::define_interface!(IStorageItemHandleAccess, IStorageItemHandleAccess_Vtbl, 0x5ca296b2_2c25_4d22_b785_b885c8201e6a); windows_core::imp::interface_hierarchy!(IStorageItemHandleAccess, windows_core::IUnknown); impl IStorageItemHandleAccess { pub unsafe fn Create(&self, accessoptions: HANDLE_ACCESS_OPTIONS, sharingoptions: HANDLE_SHARING_OPTIONS, options: HANDLE_OPTIONS, oplockbreakinghandler: P0) -> windows_core::Result @@ -56,7 +56,7 @@ pub struct IStorageItemHandleAccess_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Create: unsafe extern "system" fn(*mut core::ffi::c_void, HANDLE_ACCESS_OPTIONS, HANDLE_SHARING_OPTIONS, HANDLE_OPTIONS, *mut core::ffi::c_void, *mut super::super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUnbufferedFileHandleOplockCallback, IUnbufferedFileHandleOplockCallback_Vtbl, 0xd1019a0e_6243_4329_8497_2e75894d7710); +windows_core::imp::define_interface!(IUnbufferedFileHandleOplockCallback, IUnbufferedFileHandleOplockCallback_Vtbl, 0xd1019a0e_6243_4329_8497_2e75894d7710); windows_core::imp::interface_hierarchy!(IUnbufferedFileHandleOplockCallback, windows_core::IUnknown); impl IUnbufferedFileHandleOplockCallback { pub unsafe fn OnBrokenCallback(&self) -> windows_core::Result<()> { @@ -68,7 +68,7 @@ pub struct IUnbufferedFileHandleOplockCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnBrokenCallback: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUnbufferedFileHandleProvider, IUnbufferedFileHandleProvider_Vtbl, 0xa65c9109_42ab_4b94_a7b1_dd2e4e68515e); +windows_core::imp::define_interface!(IUnbufferedFileHandleProvider, IUnbufferedFileHandleProvider_Vtbl, 0xa65c9109_42ab_4b94_a7b1_dd2e4e68515e); windows_core::imp::interface_hierarchy!(IUnbufferedFileHandleProvider, windows_core::IUnknown); impl IUnbufferedFileHandleProvider { pub unsafe fn OpenUnbufferedFileHandle(&self, oplockbreakcallback: P0) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs index c2b1172e3b..979ee985d2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/mod.rs @@ -449,7 +449,7 @@ pub unsafe fn WindowsTrimStringStart(string: &windows_core::HSTRING, trimstring: let mut result__ = std::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::com_interface!(IAccountsSettingsPaneInterop, IAccountsSettingsPaneInterop_Vtbl, 0xd3ee12ad_3865_4362_9746_b75a682df0e6); +windows_core::imp::define_interface!(IAccountsSettingsPaneInterop, IAccountsSettingsPaneInterop_Vtbl, 0xd3ee12ad_3865_4362_9746_b75a682df0e6); windows_core::imp::interface_hierarchy!(IAccountsSettingsPaneInterop, windows_core::IUnknown, windows_core::IInspectable); impl IAccountsSettingsPaneInterop { pub unsafe fn GetForWindow(&self, appwindow: P0) -> windows_core::Result @@ -484,7 +484,7 @@ pub struct IAccountsSettingsPaneInterop_Vtbl { pub ShowManageAccountsForWindowAsync: 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, pub ShowAddAccountForWindowAsync: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActivationFactory, IActivationFactory_Vtbl, 0x00000035_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IActivationFactory, IActivationFactory_Vtbl, 0x00000035_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IActivationFactory, windows_core::IUnknown, windows_core::IInspectable); impl IActivationFactory { pub unsafe fn ActivateInstance(&self) -> windows_core::Result { @@ -497,7 +497,7 @@ pub struct IActivationFactory_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub ActivateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAgileReference, IAgileReference_Vtbl, 0xc03f6a43_65a4_9818_987e_e0b810d2a6f2); +windows_core::imp::define_interface!(IAgileReference, IAgileReference_Vtbl, 0xc03f6a43_65a4_9818_987e_e0b810d2a6f2); windows_core::imp::interface_hierarchy!(IAgileReference, windows_core::IUnknown); impl IAgileReference { pub unsafe fn Resolve(&self) -> windows_core::Result @@ -513,7 +513,7 @@ pub struct IAgileReference_Vtbl { pub base__: windows_core::IUnknown_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::com_interface!(IApartmentShutdown, IApartmentShutdown_Vtbl, 0xa2f05a09_27a2_42b5_bc0e_ac163ef49d9b); +windows_core::imp::define_interface!(IApartmentShutdown, IApartmentShutdown_Vtbl, 0xa2f05a09_27a2_42b5_bc0e_ac163ef49d9b); windows_core::imp::interface_hierarchy!(IApartmentShutdown, windows_core::IUnknown); impl IApartmentShutdown { pub unsafe fn OnUninitialize(&self, ui64apartmentidentifier: u64) { @@ -525,7 +525,7 @@ pub struct IApartmentShutdown_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnUninitialize: unsafe extern "system" fn(*mut core::ffi::c_void, u64), } -windows_core::imp::com_interface!(IAppServiceConnectionExtendedExecution, IAppServiceConnectionExtendedExecution_Vtbl, 0x65219584_f9cb_4ae3_81f9_a28a6ca450d9); +windows_core::imp::define_interface!(IAppServiceConnectionExtendedExecution, IAppServiceConnectionExtendedExecution_Vtbl, 0x65219584_f9cb_4ae3_81f9_a28a6ca450d9); windows_core::imp::interface_hierarchy!(IAppServiceConnectionExtendedExecution, windows_core::IUnknown); impl IAppServiceConnectionExtendedExecution { pub unsafe fn OpenForExtendedExecutionAsync(&self) -> windows_core::Result @@ -541,7 +541,7 @@ pub struct IAppServiceConnectionExtendedExecution_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OpenForExtendedExecutionAsync: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBufferByteAccess, IBufferByteAccess_Vtbl, 0x905a0fef_bc53_11df_8c49_001e4fc686da); +windows_core::imp::define_interface!(IBufferByteAccess, IBufferByteAccess_Vtbl, 0x905a0fef_bc53_11df_8c49_001e4fc686da); windows_core::imp::interface_hierarchy!(IBufferByteAccess, windows_core::IUnknown); impl IBufferByteAccess { pub unsafe fn Buffer(&self) -> windows_core::Result<*mut u8> { @@ -554,7 +554,7 @@ pub struct IBufferByteAccess_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Buffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICastingController, ICastingController_Vtbl, 0xf0a56423_a664_4fbd_8b43_409a45e8d9a1); +windows_core::imp::define_interface!(ICastingController, ICastingController_Vtbl, 0xf0a56423_a664_4fbd_8b43_409a45e8d9a1); windows_core::imp::interface_hierarchy!(ICastingController, windows_core::IUnknown); impl ICastingController { pub unsafe fn Initialize(&self, castingengine: P0, castingsource: P1) -> windows_core::Result<()> @@ -590,7 +590,7 @@ pub struct ICastingController_Vtbl { pub Advise: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(ICastingEventHandler, ICastingEventHandler_Vtbl, 0xc79a6cb7_bebd_47a6_a2ad_4d45ad79c7bc); +windows_core::imp::define_interface!(ICastingEventHandler, ICastingEventHandler_Vtbl, 0xc79a6cb7_bebd_47a6_a2ad_4d45ad79c7bc); windows_core::imp::interface_hierarchy!(ICastingEventHandler, windows_core::IUnknown); impl ICastingEventHandler { pub unsafe fn OnStateChanged(&self, newstate: CASTING_CONNECTION_STATE) -> windows_core::Result<()> { @@ -609,7 +609,7 @@ pub struct ICastingEventHandler_Vtbl { pub OnStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, CASTING_CONNECTION_STATE) -> windows_core::HRESULT, pub OnError: unsafe extern "system" fn(*mut core::ffi::c_void, CASTING_CONNECTION_ERROR_STATUS, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICastingSourceInfo, ICastingSourceInfo_Vtbl, 0x45101ab7_7c3a_4bce_9500_12c09024b298); +windows_core::imp::define_interface!(ICastingSourceInfo, ICastingSourceInfo_Vtbl, 0x45101ab7_7c3a_4bce_9500_12c09024b298); windows_core::imp::interface_hierarchy!(ICastingSourceInfo, windows_core::IUnknown); impl ICastingSourceInfo { pub unsafe fn GetController(&self) -> windows_core::Result { @@ -631,7 +631,7 @@ pub struct ICastingSourceInfo_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetProperties: usize, } -windows_core::imp::com_interface!(ICoreInputInterop, ICoreInputInterop_Vtbl, 0x40bfe3e3_b75a_4479_ac96_475365749bb8); +windows_core::imp::define_interface!(ICoreInputInterop, ICoreInputInterop_Vtbl, 0x40bfe3e3_b75a_4479_ac96_475365749bb8); windows_core::imp::interface_hierarchy!(ICoreInputInterop, windows_core::IUnknown); impl ICoreInputInterop { pub unsafe fn SetInputSource(&self, value: P0) -> windows_core::Result<()> @@ -650,7 +650,7 @@ pub struct ICoreInputInterop_Vtbl { pub SetInputSource: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetMessageHandled: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreInputInterop2, ICoreInputInterop2_Vtbl, 0xb8a2acd7_a0f0_40ee_8ee7_c82f59cc5cd4); +windows_core::imp::define_interface!(ICoreInputInterop2, ICoreInputInterop2_Vtbl, 0xb8a2acd7_a0f0_40ee_8ee7_c82f59cc5cd4); windows_core::imp::interface_hierarchy!(ICoreInputInterop2, windows_core::IUnknown, windows_core::IInspectable); impl ICoreInputInterop2 { pub unsafe fn WindowHandle(&self) -> windows_core::Result { @@ -670,7 +670,7 @@ pub struct ICoreInputInterop2_Vtbl { pub WindowHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, pub ChangeHostingContext: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindowAdapterInterop, ICoreWindowAdapterInterop_Vtbl, 0x7a5b6fd1_cd73_4b6c_9cf4_2e869eaf470a); +windows_core::imp::define_interface!(ICoreWindowAdapterInterop, ICoreWindowAdapterInterop_Vtbl, 0x7a5b6fd1_cd73_4b6c_9cf4_2e869eaf470a); windows_core::imp::interface_hierarchy!(ICoreWindowAdapterInterop, windows_core::IUnknown, windows_core::IInspectable); impl ICoreWindowAdapterInterop { pub unsafe fn AppActivationClientAdapter(&self) -> windows_core::Result { @@ -720,7 +720,7 @@ pub struct ICoreWindowAdapterInterop_Vtbl { pub TitleBarClientAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetWindowClientAdapter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindowComponentInterop, ICoreWindowComponentInterop_Vtbl, 0x0576ab31_a310_4c40_ba31_fd37e0298dfa); +windows_core::imp::define_interface!(ICoreWindowComponentInterop, ICoreWindowComponentInterop_Vtbl, 0x0576ab31_a310_4c40_ba31_fd37e0298dfa); windows_core::imp::interface_hierarchy!(ICoreWindowComponentInterop, windows_core::IUnknown); impl ICoreWindowComponentInterop { pub unsafe fn ConfigureComponentInput(&self, hostviewinstanceid: u32, hwndhost: P0, inputsourcevisual: P1) -> windows_core::Result<()> @@ -741,7 +741,7 @@ pub struct ICoreWindowComponentInterop_Vtbl { pub ConfigureComponentInput: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HWND, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetViewInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreWindowInterop, ICoreWindowInterop_Vtbl, 0x45d64a29_a63e_4cb6_b498_5781d298cb4f); +windows_core::imp::define_interface!(ICoreWindowInterop, ICoreWindowInterop_Vtbl, 0x45d64a29_a63e_4cb6_b498_5781d298cb4f); windows_core::imp::interface_hierarchy!(ICoreWindowInterop, windows_core::IUnknown); impl ICoreWindowInterop { pub unsafe fn WindowHandle(&self) -> windows_core::Result { @@ -758,7 +758,7 @@ pub struct ICoreWindowInterop_Vtbl { pub WindowHandle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, pub SetMessageHandled: unsafe extern "system" fn(*mut core::ffi::c_void, u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICorrelationVectorInformation, ICorrelationVectorInformation_Vtbl, 0x83c78b3c_d88b_4950_aa6e_22b8d22aabd3); +windows_core::imp::define_interface!(ICorrelationVectorInformation, ICorrelationVectorInformation_Vtbl, 0x83c78b3c_d88b_4950_aa6e_22b8d22aabd3); windows_core::imp::interface_hierarchy!(ICorrelationVectorInformation, windows_core::IUnknown, windows_core::IInspectable); impl ICorrelationVectorInformation { pub unsafe fn LastCorrelationVectorForThread(&self) -> windows_core::Result { @@ -780,7 +780,7 @@ pub struct ICorrelationVectorInformation_Vtbl { 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, } -windows_core::imp::com_interface!(ICorrelationVectorSource, ICorrelationVectorSource_Vtbl, 0x152b8a3b_b9b9_4685_b56e_974847bc7545); +windows_core::imp::define_interface!(ICorrelationVectorSource, ICorrelationVectorSource_Vtbl, 0x152b8a3b_b9b9_4685_b56e_974847bc7545); windows_core::imp::interface_hierarchy!(ICorrelationVectorSource, windows_core::IUnknown); impl ICorrelationVectorSource { pub unsafe fn CorrelationVector(&self) -> windows_core::Result { @@ -793,7 +793,7 @@ 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, } -windows_core::imp::com_interface!(IDragDropManagerInterop, IDragDropManagerInterop_Vtbl, 0x5ad8cba7_4c01_4dac_9074_827894292d63); +windows_core::imp::define_interface!(IDragDropManagerInterop, IDragDropManagerInterop_Vtbl, 0x5ad8cba7_4c01_4dac_9074_827894292d63); windows_core::imp::interface_hierarchy!(IDragDropManagerInterop, windows_core::IUnknown, windows_core::IInspectable); impl IDragDropManagerInterop { pub unsafe fn GetForWindow(&self, hwnd: P0) -> windows_core::Result @@ -810,7 +810,7 @@ pub struct IDragDropManagerInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHolographicSpaceInterop, IHolographicSpaceInterop_Vtbl, 0x5c4ee536_6a98_4b86_a170_587013d6fd4b); +windows_core::imp::define_interface!(IHolographicSpaceInterop, IHolographicSpaceInterop_Vtbl, 0x5c4ee536_6a98_4b86_a170_587013d6fd4b); windows_core::imp::interface_hierarchy!(IHolographicSpaceInterop, windows_core::IUnknown, windows_core::IInspectable); impl IHolographicSpaceInterop { pub unsafe fn CreateForWindow(&self, window: P0) -> windows_core::Result @@ -827,7 +827,7 @@ pub struct IHolographicSpaceInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputPaneInterop, IInputPaneInterop_Vtbl, 0x75cf2c57_9195_4931_8332_f0b409e916af); +windows_core::imp::define_interface!(IInputPaneInterop, IInputPaneInterop_Vtbl, 0x75cf2c57_9195_4931_8332_f0b409e916af); windows_core::imp::interface_hierarchy!(IInputPaneInterop, windows_core::IUnknown, windows_core::IInspectable); impl IInputPaneInterop { pub unsafe fn GetForWindow(&self, appwindow: P0) -> windows_core::Result @@ -844,7 +844,7 @@ pub struct IInputPaneInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILanguageExceptionErrorInfo, ILanguageExceptionErrorInfo_Vtbl, 0x04a2dbf3_df83_116c_0946_0812abf6e07d); +windows_core::imp::define_interface!(ILanguageExceptionErrorInfo, ILanguageExceptionErrorInfo_Vtbl, 0x04a2dbf3_df83_116c_0946_0812abf6e07d); windows_core::imp::interface_hierarchy!(ILanguageExceptionErrorInfo, windows_core::IUnknown); impl ILanguageExceptionErrorInfo { pub unsafe fn GetLanguageException(&self) -> windows_core::Result { @@ -857,7 +857,7 @@ pub struct ILanguageExceptionErrorInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetLanguageException: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILanguageExceptionErrorInfo2, ILanguageExceptionErrorInfo2_Vtbl, 0x5746e5c4_5b97_424c_b620_2822915734dd); +windows_core::imp::define_interface!(ILanguageExceptionErrorInfo2, ILanguageExceptionErrorInfo2_Vtbl, 0x5746e5c4_5b97_424c_b620_2822915734dd); windows_core::imp::interface_hierarchy!(ILanguageExceptionErrorInfo2, windows_core::IUnknown, ILanguageExceptionErrorInfo); impl ILanguageExceptionErrorInfo2 { pub unsafe fn GetLanguageException(&self) -> windows_core::Result { @@ -886,7 +886,7 @@ pub struct ILanguageExceptionErrorInfo2_Vtbl { pub CapturePropagationContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPropagationContextHead: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILanguageExceptionStackBackTrace, ILanguageExceptionStackBackTrace_Vtbl, 0xcbe53fb5_f967_4258_8d34_42f5e25833de); +windows_core::imp::define_interface!(ILanguageExceptionStackBackTrace, ILanguageExceptionStackBackTrace_Vtbl, 0xcbe53fb5_f967_4258_8d34_42f5e25833de); windows_core::imp::interface_hierarchy!(ILanguageExceptionStackBackTrace, windows_core::IUnknown); impl ILanguageExceptionStackBackTrace { pub unsafe fn GetStackBackTrace(&self, maxframestocapture: u32, stackbacktrace: *mut usize, framescaptured: *mut u32) -> windows_core::Result<()> { @@ -898,7 +898,7 @@ pub struct ILanguageExceptionStackBackTrace_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetStackBackTrace: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut usize, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILanguageExceptionTransform, ILanguageExceptionTransform_Vtbl, 0xfeb5a271_a6cd_45ce_880a_696706badc65); +windows_core::imp::define_interface!(ILanguageExceptionTransform, ILanguageExceptionTransform_Vtbl, 0xfeb5a271_a6cd_45ce_880a_696706badc65); windows_core::imp::interface_hierarchy!(ILanguageExceptionTransform, windows_core::IUnknown); impl ILanguageExceptionTransform { pub unsafe fn GetTransformedRestrictedErrorInfo(&self) -> windows_core::Result { @@ -911,7 +911,7 @@ pub struct ILanguageExceptionTransform_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetTransformedRestrictedErrorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMemoryBufferByteAccess, IMemoryBufferByteAccess_Vtbl, 0x5b0d3235_4dba_4d44_865e_8f1d0e4fd04d); +windows_core::imp::define_interface!(IMemoryBufferByteAccess, IMemoryBufferByteAccess_Vtbl, 0x5b0d3235_4dba_4d44_865e_8f1d0e4fd04d); windows_core::imp::interface_hierarchy!(IMemoryBufferByteAccess, windows_core::IUnknown); impl IMemoryBufferByteAccess { pub unsafe fn GetBuffer(&self, value: *mut *mut u8, capacity: *mut u32) -> windows_core::Result<()> { @@ -923,7 +923,7 @@ pub struct IMemoryBufferByteAccess_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMessageDispatcher, IMessageDispatcher_Vtbl, 0xf5f84c8f_cfd0_4cd6_b66b_c5d26ff1689d); +windows_core::imp::define_interface!(IMessageDispatcher, IMessageDispatcher_Vtbl, 0xf5f84c8f_cfd0_4cd6_b66b_c5d26ff1689d); windows_core::imp::interface_hierarchy!(IMessageDispatcher, windows_core::IUnknown, windows_core::IInspectable); impl IMessageDispatcher { pub unsafe fn PumpMessages(&self) -> windows_core::Result<()> { @@ -935,7 +935,7 @@ pub struct IMessageDispatcher_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub PumpMessages: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPlayToManagerInterop, IPlayToManagerInterop_Vtbl, 0x24394699_1f2c_4eb3_8cd7_0ec1da42a540); +windows_core::imp::define_interface!(IPlayToManagerInterop, IPlayToManagerInterop_Vtbl, 0x24394699_1f2c_4eb3_8cd7_0ec1da42a540); windows_core::imp::interface_hierarchy!(IPlayToManagerInterop, windows_core::IUnknown, windows_core::IInspectable); impl IPlayToManagerInterop { pub unsafe fn GetForWindow(&self, appwindow: P0) -> windows_core::Result @@ -959,7 +959,7 @@ pub struct IPlayToManagerInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowPlayToUIForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRestrictedErrorInfo, IRestrictedErrorInfo_Vtbl, 0x82ba7092_4c88_427d_a7bc_16dd93feb67e); +windows_core::imp::define_interface!(IRestrictedErrorInfo, IRestrictedErrorInfo_Vtbl, 0x82ba7092_4c88_427d_a7bc_16dd93feb67e); windows_core::imp::interface_hierarchy!(IRestrictedErrorInfo, windows_core::IUnknown); impl IRestrictedErrorInfo { pub unsafe fn GetErrorDetails(&self, description: *mut windows_core::BSTR, error: *mut windows_core::HRESULT, restricteddescription: *mut windows_core::BSTR, capabilitysid: *mut windows_core::BSTR) -> windows_core::Result<()> { @@ -978,7 +978,7 @@ pub struct IRestrictedErrorInfo_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, } -windows_core::imp::com_interface!(IShareWindowCommandEventArgsInterop, IShareWindowCommandEventArgsInterop_Vtbl, 0x6571a721_643d_43d4_aca4_6b6f5f30f1ad); +windows_core::imp::define_interface!(IShareWindowCommandEventArgsInterop, IShareWindowCommandEventArgsInterop_Vtbl, 0x6571a721_643d_43d4_aca4_6b6f5f30f1ad); windows_core::imp::interface_hierarchy!(IShareWindowCommandEventArgsInterop, windows_core::IUnknown); impl IShareWindowCommandEventArgsInterop { pub unsafe fn GetWindow(&self) -> windows_core::Result { @@ -991,7 +991,7 @@ pub struct IShareWindowCommandEventArgsInterop_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShareWindowCommandSourceInterop, IShareWindowCommandSourceInterop_Vtbl, 0x461a191f_8424_43a6_a0fa_3451a22f56ab); +windows_core::imp::define_interface!(IShareWindowCommandSourceInterop, IShareWindowCommandSourceInterop_Vtbl, 0x461a191f_8424_43a6_a0fa_3451a22f56ab); windows_core::imp::interface_hierarchy!(IShareWindowCommandSourceInterop, windows_core::IUnknown); impl IShareWindowCommandSourceInterop { pub unsafe fn GetForWindow(&self, appwindow: P0) -> windows_core::Result @@ -1008,7 +1008,7 @@ pub struct IShareWindowCommandSourceInterop_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpatialInteractionManagerInterop, ISpatialInteractionManagerInterop_Vtbl, 0x5c4ee536_6a98_4b86_a170_587013d6fd4b); +windows_core::imp::define_interface!(ISpatialInteractionManagerInterop, ISpatialInteractionManagerInterop_Vtbl, 0x5c4ee536_6a98_4b86_a170_587013d6fd4b); windows_core::imp::interface_hierarchy!(ISpatialInteractionManagerInterop, windows_core::IUnknown, windows_core::IInspectable); impl ISpatialInteractionManagerInterop { pub unsafe fn GetForWindow(&self, window: P0) -> windows_core::Result @@ -1025,7 +1025,7 @@ pub struct ISpatialInteractionManagerInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISystemMediaTransportControlsInterop, ISystemMediaTransportControlsInterop_Vtbl, 0xddb0472d_c911_4a1f_86d9_dc3d71a95f5a); +windows_core::imp::define_interface!(ISystemMediaTransportControlsInterop, ISystemMediaTransportControlsInterop_Vtbl, 0xddb0472d_c911_4a1f_86d9_dc3d71a95f5a); windows_core::imp::interface_hierarchy!(ISystemMediaTransportControlsInterop, windows_core::IUnknown, windows_core::IInspectable); impl ISystemMediaTransportControlsInterop { pub unsafe fn GetForWindow(&self, appwindow: P0) -> windows_core::Result @@ -1042,7 +1042,7 @@ pub struct ISystemMediaTransportControlsInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIViewSettingsInterop, IUIViewSettingsInterop_Vtbl, 0x3694dbf9_8f68_44be_8ff5_195c98ede8a6); +windows_core::imp::define_interface!(IUIViewSettingsInterop, IUIViewSettingsInterop_Vtbl, 0x3694dbf9_8f68_44be_8ff5_195c98ede8a6); windows_core::imp::interface_hierarchy!(IUIViewSettingsInterop, windows_core::IUnknown, windows_core::IInspectable); impl IUIViewSettingsInterop { pub unsafe fn GetForWindow(&self, hwnd: P0) -> windows_core::Result @@ -1059,7 +1059,7 @@ pub struct IUIViewSettingsInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserActivityInterop, IUserActivityInterop_Vtbl, 0x1ade314d_0e0a_40d9_824c_9a088a50059f); +windows_core::imp::define_interface!(IUserActivityInterop, IUserActivityInterop_Vtbl, 0x1ade314d_0e0a_40d9_824c_9a088a50059f); windows_core::imp::interface_hierarchy!(IUserActivityInterop, windows_core::IUnknown, windows_core::IInspectable); impl IUserActivityInterop { pub unsafe fn CreateSessionForWindow(&self, window: P0) -> windows_core::Result @@ -1076,7 +1076,7 @@ pub struct IUserActivityInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateSessionForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserActivityRequestManagerInterop, IUserActivityRequestManagerInterop_Vtbl, 0xdd69f876_9699_4715_9095_e37ea30dfa1b); +windows_core::imp::define_interface!(IUserActivityRequestManagerInterop, IUserActivityRequestManagerInterop_Vtbl, 0xdd69f876_9699_4715_9095_e37ea30dfa1b); windows_core::imp::interface_hierarchy!(IUserActivityRequestManagerInterop, windows_core::IUnknown, windows_core::IInspectable); impl IUserActivityRequestManagerInterop { pub unsafe fn GetForWindow(&self, window: P0) -> windows_core::Result @@ -1093,7 +1093,7 @@ pub struct IUserActivityRequestManagerInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserActivitySourceHostInterop, IUserActivitySourceHostInterop_Vtbl, 0xc15df8bc_8844_487a_b85b_7578e0f61419); +windows_core::imp::define_interface!(IUserActivitySourceHostInterop, IUserActivitySourceHostInterop_Vtbl, 0xc15df8bc_8844_487a_b85b_7578e0f61419); windows_core::imp::interface_hierarchy!(IUserActivitySourceHostInterop, windows_core::IUnknown, windows_core::IInspectable); impl IUserActivitySourceHostInterop { pub unsafe fn SetActivitySourceHost(&self, activitysourcehost: &windows_core::HSTRING) -> windows_core::Result<()> { @@ -1105,7 +1105,7 @@ 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, } -windows_core::imp::com_interface!(IUserConsentVerifierInterop, IUserConsentVerifierInterop_Vtbl, 0x39e050c3_4e74_441a_8dc0_b81104df949c); +windows_core::imp::define_interface!(IUserConsentVerifierInterop, IUserConsentVerifierInterop_Vtbl, 0x39e050c3_4e74_441a_8dc0_b81104df949c); windows_core::imp::interface_hierarchy!(IUserConsentVerifierInterop, windows_core::IUnknown, windows_core::IInspectable); impl IUserConsentVerifierInterop { pub unsafe fn RequestVerificationForWindowAsync(&self, appwindow: P0, message: &windows_core::HSTRING) -> windows_core::Result @@ -1122,7 +1122,7 @@ 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, } -windows_core::imp::com_interface!(IWeakReference, IWeakReference_Vtbl, 0x00000037_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IWeakReference, IWeakReference_Vtbl, 0x00000037_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IWeakReference, windows_core::IUnknown); impl IWeakReference { pub unsafe fn Resolve(&self) -> windows_core::Result @@ -1138,7 +1138,7 @@ pub struct IWeakReference_Vtbl { pub base__: windows_core::IUnknown_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::com_interface!(IWeakReferenceSource, IWeakReferenceSource_Vtbl, 0x00000038_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IWeakReferenceSource, IWeakReferenceSource_Vtbl, 0x00000038_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IWeakReferenceSource, windows_core::IUnknown); impl IWeakReferenceSource { pub unsafe fn GetWeakReference(&self) -> windows_core::Result { @@ -1151,7 +1151,7 @@ pub struct IWeakReferenceSource_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetWeakReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebAuthenticationCoreManagerInterop, IWebAuthenticationCoreManagerInterop_Vtbl, 0xf4b8e804_811e_4436_b69c_44cb67b72084); +windows_core::imp::define_interface!(IWebAuthenticationCoreManagerInterop, IWebAuthenticationCoreManagerInterop_Vtbl, 0xf4b8e804_811e_4436_b69c_44cb67b72084); windows_core::imp::interface_hierarchy!(IWebAuthenticationCoreManagerInterop, windows_core::IUnknown, windows_core::IInspectable); impl IWebAuthenticationCoreManagerInterop { pub unsafe fn RequestTokenForWindowAsync(&self, appwindow: P0, request: P1) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs index 5e7ee9769f..718a8b7538 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/mod.rs @@ -1666,7 +1666,7 @@ pub unsafe fn uaw_wcsrchr(string: *const u16, character: u16) -> *mut u16 { windows_targets::link!("kernel32.dll" "system" fn uaw_wcsrchr(string : *const u16, character : u16) -> *mut u16); uaw_wcsrchr(string, character) } -windows_core::imp::com_interface!(ICameraUIControl, ICameraUIControl_Vtbl, 0xb8733adf_3d68_4b8f_bb08_e28a0bed0376); +windows_core::imp::define_interface!(ICameraUIControl, ICameraUIControl_Vtbl, 0xb8733adf_3d68_4b8f_bb08_e28a0bed0376); windows_core::imp::interface_hierarchy!(ICameraUIControl, windows_core::IUnknown); impl ICameraUIControl { pub unsafe fn Show(&self, pwindow: P0, mode: CameraUIControlMode, selectionmode: CameraUIControlLinearSelectionMode, capturemode: CameraUIControlCaptureMode, photoformat: CameraUIControlPhotoFormat, videoformat: CameraUIControlVideoFormat, bhasclosebutton: P1, peventcallback: P2) -> windows_core::Result<()> @@ -1721,7 +1721,7 @@ pub struct ICameraUIControl_Vtbl { GetSelectedItems: usize, pub RemoveCapturedItem: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICameraUIControlEventCallback, ICameraUIControlEventCallback_Vtbl, 0x1bfa0c2c_fbcd_4776_bda4_88bf974e74f4); +windows_core::imp::define_interface!(ICameraUIControlEventCallback, ICameraUIControlEventCallback_Vtbl, 0x1bfa0c2c_fbcd_4776_bda4_88bf974e74f4); windows_core::imp::interface_hierarchy!(ICameraUIControlEventCallback, windows_core::IUnknown); impl ICameraUIControlEventCallback { pub unsafe fn OnStartupComplete(&self) { @@ -1755,7 +1755,7 @@ pub struct ICameraUIControlEventCallback_Vtbl { pub OnItemDeleted: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR), pub OnClosed: unsafe extern "system" fn(*mut core::ffi::c_void), } -windows_core::imp::com_interface!(IClipServiceNotificationHelper, IClipServiceNotificationHelper_Vtbl, 0xc39948f0_6142_44fd_98ca_e1681a8d68b5); +windows_core::imp::define_interface!(IClipServiceNotificationHelper, IClipServiceNotificationHelper_Vtbl, 0xc39948f0_6142_44fd_98ca_e1681a8d68b5); windows_core::imp::interface_hierarchy!(IClipServiceNotificationHelper, windows_core::IUnknown); impl IClipServiceNotificationHelper { pub unsafe fn ShowToast(&self, titletext: P0, bodytext: P1, packagename: P2, appid: P3, launchcommand: P4) -> windows_core::Result<()> @@ -1774,7 +1774,7 @@ 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, } -windows_core::imp::com_interface!(IContainerActivationHelper, IContainerActivationHelper_Vtbl, 0xb524f93f_80d5_4ec7_ae9e_d66e93ade1fa); +windows_core::imp::define_interface!(IContainerActivationHelper, IContainerActivationHelper_Vtbl, 0xb524f93f_80d5_4ec7_ae9e_d66e93ade1fa); windows_core::imp::interface_hierarchy!(IContainerActivationHelper, windows_core::IUnknown); impl IContainerActivationHelper { pub unsafe fn CanActivateClientVM(&self) -> windows_core::Result { @@ -1787,7 +1787,7 @@ pub struct IContainerActivationHelper_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CanActivateClientVM: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDefaultBrowserSyncSettings, IDefaultBrowserSyncSettings_Vtbl, 0x7a27faad_5ae6_4255_9030_c530936292e3); +windows_core::imp::define_interface!(IDefaultBrowserSyncSettings, IDefaultBrowserSyncSettings_Vtbl, 0x7a27faad_5ae6_4255_9030_c530936292e3); windows_core::imp::interface_hierarchy!(IDefaultBrowserSyncSettings, windows_core::IUnknown); impl IDefaultBrowserSyncSettings { pub unsafe fn IsEnabled(&self) -> super::super::Foundation::BOOL { @@ -1799,7 +1799,7 @@ pub struct IDefaultBrowserSyncSettings_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IDeleteBrowsingHistory, IDeleteBrowsingHistory_Vtbl, 0xcf38ed4b_2be7_4461_8b5e_9a466dc82ae3); +windows_core::imp::define_interface!(IDeleteBrowsingHistory, IDeleteBrowsingHistory_Vtbl, 0xcf38ed4b_2be7_4461_8b5e_9a466dc82ae3); windows_core::imp::interface_hierarchy!(IDeleteBrowsingHistory, windows_core::IUnknown); impl IDeleteBrowsingHistory { pub unsafe fn DeleteBrowsingHistory(&self, dwflags: u32) -> windows_core::Result<()> { @@ -1811,7 +1811,7 @@ pub struct IDeleteBrowsingHistory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DeleteBrowsingHistory: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEditionUpgradeBroker, IEditionUpgradeBroker_Vtbl, 0xff19cbcf_9455_4937_b872_6b7929a460af); +windows_core::imp::define_interface!(IEditionUpgradeBroker, IEditionUpgradeBroker_Vtbl, 0xff19cbcf_9455_4937_b872_6b7929a460af); windows_core::imp::interface_hierarchy!(IEditionUpgradeBroker, windows_core::IUnknown); impl IEditionUpgradeBroker { #[cfg(feature = "Win32_System_Ole")] @@ -1845,7 +1845,7 @@ pub struct IEditionUpgradeBroker_Vtbl { 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, } -windows_core::imp::com_interface!(IEditionUpgradeHelper, IEditionUpgradeHelper_Vtbl, 0xd3e9e342_5deb_43b6_849e_6913b85d503a); +windows_core::imp::define_interface!(IEditionUpgradeHelper, IEditionUpgradeHelper_Vtbl, 0xd3e9e342_5deb_43b6_849e_6913b85d503a); windows_core::imp::interface_hierarchy!(IEditionUpgradeHelper, windows_core::IUnknown); impl IEditionUpgradeHelper { pub unsafe fn CanUpgrade(&self) -> windows_core::Result { @@ -1879,7 +1879,7 @@ pub struct IEditionUpgradeHelper_Vtbl { pub GetOsProductContentId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetGenuineLocalStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFClipNotificationHelper, IFClipNotificationHelper_Vtbl, 0x3d5e3d21_bd41_4c2a_a669_b17ce87fb50b); +windows_core::imp::define_interface!(IFClipNotificationHelper, IFClipNotificationHelper_Vtbl, 0x3d5e3d21_bd41_4c2a_a669_b17ce87fb50b); windows_core::imp::interface_hierarchy!(IFClipNotificationHelper, windows_core::IUnknown); impl IFClipNotificationHelper { pub unsafe fn ShowSystemDialog(&self, titletext: P0, bodytext: P1) -> windows_core::Result<()> @@ -1895,7 +1895,7 @@ 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, } -windows_core::imp::com_interface!(IWindowsLockModeHelper, IWindowsLockModeHelper_Vtbl, 0xf342d19e_cc22_4648_bb5d_03ccf75b47c5); +windows_core::imp::define_interface!(IWindowsLockModeHelper, IWindowsLockModeHelper_Vtbl, 0xf342d19e_cc22_4648_bb5d_03ccf75b47c5); windows_core::imp::interface_hierarchy!(IWindowsLockModeHelper, windows_core::IUnknown); impl IWindowsLockModeHelper { pub unsafe fn GetSMode(&self) -> windows_core::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 81f3e9490c..32aa1b2334 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IAsynchronousDataRetriever, IAsynchronousDataRetriever_Vtbl, 0x9fc7e470_61ea_4a88_9be4_df56a27cfef2); +windows_core::imp::define_interface!(IAsynchronousDataRetriever, IAsynchronousDataRetriever_Vtbl, 0x9fc7e470_61ea_4a88_9be4_df56a27cfef2); windows_core::imp::interface_hierarchy!(IAsynchronousDataRetriever, windows_core::IUnknown); impl IAsynchronousDataRetriever { pub unsafe fn GetIdParameters(&self, pidparameters: *mut ID_PARAMETERS) -> windows_core::Result<()> { @@ -31,7 +31,7 @@ pub struct IAsynchronousDataRetriever_Vtbl { pub RevokeCallback: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LoadChangeData: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChangeConflict, IChangeConflict_Vtbl, 0x014ebf97_9f20_4f7a_bdd4_25979c77c002); +windows_core::imp::define_interface!(IChangeConflict, IChangeConflict_Vtbl, 0x014ebf97_9f20_4f7a_bdd4_25979c77c002); windows_core::imp::interface_hierarchy!(IChangeConflict, windows_core::IUnknown); impl IChangeConflict { pub unsafe fn GetDestinationProviderConflictingChange(&self) -> windows_core::Result { @@ -81,7 +81,7 @@ pub struct IChangeConflict_Vtbl { pub GetResolveActionForChangeUnit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut SYNC_RESOLVE_ACTION) -> windows_core::HRESULT, pub SetResolveActionForChangeUnit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, SYNC_RESOLVE_ACTION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChangeUnitException, IChangeUnitException_Vtbl, 0x0cd7ee7c_fec0_4021_99ee_f0e5348f2a5f); +windows_core::imp::define_interface!(IChangeUnitException, IChangeUnitException_Vtbl, 0x0cd7ee7c_fec0_4021_99ee_f0e5348f2a5f); windows_core::imp::interface_hierarchy!(IChangeUnitException, windows_core::IUnknown); impl IChangeUnitException { pub unsafe fn GetItemId(&self, pbitemid: *mut u8, pcbidsize: *mut u32) -> windows_core::Result<()> { @@ -101,7 +101,7 @@ pub struct IChangeUnitException_Vtbl { pub GetChangeUnitId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, pub GetClockVector: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IChangeUnitListFilterInfo, IChangeUnitListFilterInfo_Vtbl, 0xf2837671_0bdf_43fa_b502_232375fb50c2); +windows_core::imp::define_interface!(IChangeUnitListFilterInfo, IChangeUnitListFilterInfo_Vtbl, 0xf2837671_0bdf_43fa_b502_232375fb50c2); windows_core::imp::interface_hierarchy!(IChangeUnitListFilterInfo, windows_core::IUnknown, ISyncFilterInfo); impl IChangeUnitListFilterInfo { pub unsafe fn Serialize(&self, pbbuffer: *mut u8, pcbbuffer: *mut u32) -> windows_core::Result<()> { @@ -124,7 +124,7 @@ pub struct IChangeUnitListFilterInfo_Vtbl { pub GetChangeUnitIdCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetChangeUnitId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClockVector, IClockVector_Vtbl, 0x14b2274a_8698_4cc6_9333_f89bd1d47bc4); +windows_core::imp::define_interface!(IClockVector, IClockVector_Vtbl, 0x14b2274a_8698_4cc6_9333_f89bd1d47bc4); windows_core::imp::interface_hierarchy!(IClockVector, windows_core::IUnknown); impl IClockVector { pub unsafe fn GetClockVectorElements(&self, riid: *const windows_core::GUID, ppienumclockvector: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -140,7 +140,7 @@ pub struct IClockVector_Vtbl { pub GetClockVectorElements: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetClockVectorElementCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IClockVectorElement, IClockVectorElement_Vtbl, 0xe71c4250_adf8_4a07_8fae_5669596909c1); +windows_core::imp::define_interface!(IClockVectorElement, IClockVectorElement_Vtbl, 0xe71c4250_adf8_4a07_8fae_5669596909c1); windows_core::imp::interface_hierarchy!(IClockVectorElement, windows_core::IUnknown); impl IClockVectorElement { pub unsafe fn GetReplicaKey(&self, pdwreplicakey: *mut u32) -> windows_core::Result<()> { @@ -156,7 +156,7 @@ pub struct IClockVectorElement_Vtbl { pub GetReplicaKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetTickCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICombinedFilterInfo, ICombinedFilterInfo_Vtbl, 0x11f9de71_2818_4779_b2ac_42d450565f45); +windows_core::imp::define_interface!(ICombinedFilterInfo, ICombinedFilterInfo_Vtbl, 0x11f9de71_2818_4779_b2ac_42d450565f45); windows_core::imp::interface_hierarchy!(ICombinedFilterInfo, windows_core::IUnknown, ISyncFilterInfo); impl ICombinedFilterInfo { pub unsafe fn Serialize(&self, pbbuffer: *mut u8, pcbbuffer: *mut u32) -> windows_core::Result<()> { @@ -180,7 +180,7 @@ pub struct ICombinedFilterInfo_Vtbl { pub GetFilterInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFilterCombinationType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FILTER_COMBINATION_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConstraintConflict, IConstraintConflict_Vtbl, 0x00d2302e_1cf8_4835_b85f_b7ca4f799e0a); +windows_core::imp::define_interface!(IConstraintConflict, IConstraintConflict_Vtbl, 0x00d2302e_1cf8_4835_b85f_b7ca4f799e0a); windows_core::imp::interface_hierarchy!(IConstraintConflict, windows_core::IUnknown); impl IConstraintConflict { pub unsafe fn GetDestinationProviderConflictingChange(&self) -> windows_core::Result { @@ -248,7 +248,7 @@ pub struct IConstraintConflict_Vtbl { pub GetConstraintConflictReason: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CONSTRAINT_CONFLICT_REASON) -> windows_core::HRESULT, pub IsTemporary: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConstructReplicaKeyMap, IConstructReplicaKeyMap_Vtbl, 0xded10970_ec85_4115_b52c_4405845642a5); +windows_core::imp::define_interface!(IConstructReplicaKeyMap, IConstructReplicaKeyMap_Vtbl, 0xded10970_ec85_4115_b52c_4405845642a5); windows_core::imp::interface_hierarchy!(IConstructReplicaKeyMap, windows_core::IUnknown); impl IConstructReplicaKeyMap { pub unsafe fn FindOrAddReplica(&self, pbreplicaid: *const u8, pdwreplicakey: *mut u32) -> windows_core::Result<()> { @@ -260,7 +260,7 @@ pub struct IConstructReplicaKeyMap_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub FindOrAddReplica: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreFragment, ICoreFragment_Vtbl, 0x613b2ab5_b304_47d9_9c31_ce6c54401a15); +windows_core::imp::define_interface!(ICoreFragment, ICoreFragment_Vtbl, 0x613b2ab5_b304_47d9_9c31_ce6c54401a15); windows_core::imp::interface_hierarchy!(ICoreFragment, windows_core::IUnknown); impl ICoreFragment { pub unsafe fn NextColumn(&self, pchangeunitid: *mut u8, pchangeunitidsize: *mut u32) -> windows_core::Result<()> { @@ -288,7 +288,7 @@ pub struct ICoreFragment_Vtbl { pub GetColumnCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetRangeCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoreFragmentInspector, ICoreFragmentInspector_Vtbl, 0xf7fcc5fd_ae26_4679_ba16_96aac583c134); +windows_core::imp::define_interface!(ICoreFragmentInspector, ICoreFragmentInspector_Vtbl, 0xf7fcc5fd_ae26_4679_ba16_96aac583c134); windows_core::imp::interface_hierarchy!(ICoreFragmentInspector, windows_core::IUnknown); impl ICoreFragmentInspector { pub unsafe fn NextCoreFragments(&self, requestedcount: u32, ppicorefragments: *mut Option, pfetchedcount: *mut u32) -> windows_core::Result<()> { @@ -304,7 +304,7 @@ pub struct ICoreFragmentInspector_Vtbl { pub NextCoreFragments: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICustomFilterInfo, ICustomFilterInfo_Vtbl, 0x1d335dff_6f88_4e4d_91a8_a3f351cfd473); +windows_core::imp::define_interface!(ICustomFilterInfo, ICustomFilterInfo_Vtbl, 0x1d335dff_6f88_4e4d_91a8_a3f351cfd473); windows_core::imp::interface_hierarchy!(ICustomFilterInfo, windows_core::IUnknown, ISyncFilterInfo); impl ICustomFilterInfo { pub unsafe fn Serialize(&self, pbbuffer: *mut u8, pcbbuffer: *mut u32) -> windows_core::Result<()> { @@ -320,7 +320,7 @@ pub struct ICustomFilterInfo_Vtbl { pub base__: ISyncFilterInfo_Vtbl, pub GetSyncFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataRetrieverCallback, IDataRetrieverCallback_Vtbl, 0x71b4863b_f969_4676_bbc3_3d9fdc3fb2c7); +windows_core::imp::define_interface!(IDataRetrieverCallback, IDataRetrieverCallback_Vtbl, 0x71b4863b_f969_4676_bbc3_3d9fdc3fb2c7); windows_core::imp::interface_hierarchy!(IDataRetrieverCallback, windows_core::IUnknown); impl IDataRetrieverCallback { pub unsafe fn LoadChangeDataComplete(&self, punkdata: P0) -> windows_core::Result<()> @@ -339,7 +339,7 @@ pub struct IDataRetrieverCallback_Vtbl { pub LoadChangeDataComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LoadChangeDataError: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumChangeUnitExceptions, IEnumChangeUnitExceptions_Vtbl, 0x3074e802_9319_4420_be21_1022e2e21da8); +windows_core::imp::define_interface!(IEnumChangeUnitExceptions, IEnumChangeUnitExceptions_Vtbl, 0x3074e802_9319_4420_be21_1022e2e21da8); windows_core::imp::interface_hierarchy!(IEnumChangeUnitExceptions, windows_core::IUnknown); impl IEnumChangeUnitExceptions { pub unsafe fn Next(&self, cexceptions: u32, ppchangeunitexception: *mut Option, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -364,7 +364,7 @@ pub struct IEnumChangeUnitExceptions_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumClockVector, IEnumClockVector_Vtbl, 0x525844db_2837_4799_9e80_81a66e02220c); +windows_core::imp::define_interface!(IEnumClockVector, IEnumClockVector_Vtbl, 0x525844db_2837_4799_9e80_81a66e02220c); windows_core::imp::interface_hierarchy!(IEnumClockVector, windows_core::IUnknown); impl IEnumClockVector { pub unsafe fn Next(&self, cclockvectorelements: u32, ppiclockvectorelements: *mut Option, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -389,7 +389,7 @@ pub struct IEnumClockVector_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumFeedClockVector, IEnumFeedClockVector_Vtbl, 0x550f763d_146a_48f6_abeb_6c88c7f70514); +windows_core::imp::define_interface!(IEnumFeedClockVector, IEnumFeedClockVector_Vtbl, 0x550f763d_146a_48f6_abeb_6c88c7f70514); windows_core::imp::interface_hierarchy!(IEnumFeedClockVector, windows_core::IUnknown); impl IEnumFeedClockVector { pub unsafe fn Next(&self, cclockvectorelements: u32, ppiclockvectorelements: *mut Option, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -414,7 +414,7 @@ pub struct IEnumFeedClockVector_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumItemIds, IEnumItemIds_Vtbl, 0x43aa3f61_4b2e_4b60_83df_b110d3e148f1); +windows_core::imp::define_interface!(IEnumItemIds, IEnumItemIds_Vtbl, 0x43aa3f61_4b2e_4b60_83df_b110d3e148f1); windows_core::imp::interface_hierarchy!(IEnumItemIds, windows_core::IUnknown); impl IEnumItemIds { pub unsafe fn Next(&self, pbitemid: *mut u8, pcbitemidsize: *mut u32) -> windows_core::Result<()> { @@ -426,7 +426,7 @@ pub struct IEnumItemIds_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumRangeExceptions, IEnumRangeExceptions_Vtbl, 0x0944439f_ddb1_4176_b703_046ff22a2386); +windows_core::imp::define_interface!(IEnumRangeExceptions, IEnumRangeExceptions_Vtbl, 0x0944439f_ddb1_4176_b703_046ff22a2386); windows_core::imp::interface_hierarchy!(IEnumRangeExceptions, windows_core::IUnknown); impl IEnumRangeExceptions { pub unsafe fn Next(&self, cexceptions: u32, pprangeexception: *mut Option, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -451,7 +451,7 @@ pub struct IEnumRangeExceptions_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSingleItemExceptions, IEnumSingleItemExceptions_Vtbl, 0xe563381c_1b4d_4c66_9796_c86faccdcd40); +windows_core::imp::define_interface!(IEnumSingleItemExceptions, IEnumSingleItemExceptions_Vtbl, 0xe563381c_1b4d_4c66_9796_c86faccdcd40); windows_core::imp::interface_hierarchy!(IEnumSingleItemExceptions, windows_core::IUnknown); impl IEnumSingleItemExceptions { pub unsafe fn Next(&self, cexceptions: u32, ppsingleitemexception: *mut Option, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -476,7 +476,7 @@ pub struct IEnumSingleItemExceptions_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSyncChangeUnits, IEnumSyncChangeUnits_Vtbl, 0x346b35f1_8703_4c6d_ab1a_4dbca2cff97f); +windows_core::imp::define_interface!(IEnumSyncChangeUnits, IEnumSyncChangeUnits_Vtbl, 0x346b35f1_8703_4c6d_ab1a_4dbca2cff97f); windows_core::imp::interface_hierarchy!(IEnumSyncChangeUnits, windows_core::IUnknown); impl IEnumSyncChangeUnits { pub unsafe fn Next(&self, cchanges: u32, ppchangeunit: *mut Option, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -501,7 +501,7 @@ pub struct IEnumSyncChangeUnits_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSyncChanges, IEnumSyncChanges_Vtbl, 0x5f86be4a_5e78_4e32_ac1c_c24fd223ef85); +windows_core::imp::define_interface!(IEnumSyncChanges, IEnumSyncChanges_Vtbl, 0x5f86be4a_5e78_4e32_ac1c_c24fd223ef85); windows_core::imp::interface_hierarchy!(IEnumSyncChanges, windows_core::IUnknown); impl IEnumSyncChanges { pub unsafe fn Next(&self, cchanges: u32, ppchange: *mut Option, pcfetched: *mut u32) -> windows_core::Result<()> { @@ -526,7 +526,7 @@ pub struct IEnumSyncChanges_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSyncProviderConfigUIInfos, IEnumSyncProviderConfigUIInfos_Vtbl, 0xf6be2602_17c6_4658_a2d7_68ed3330f641); +windows_core::imp::define_interface!(IEnumSyncProviderConfigUIInfos, IEnumSyncProviderConfigUIInfos_Vtbl, 0xf6be2602_17c6_4658_a2d7_68ed3330f641); windows_core::imp::interface_hierarchy!(IEnumSyncProviderConfigUIInfos, windows_core::IUnknown); impl IEnumSyncProviderConfigUIInfos { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -555,7 +555,7 @@ pub struct IEnumSyncProviderConfigUIInfos_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSyncProviderInfos, IEnumSyncProviderInfos_Vtbl, 0xa04ba850_5eb1_460d_a973_393fcb608a11); +windows_core::imp::define_interface!(IEnumSyncProviderInfos, IEnumSyncProviderInfos_Vtbl, 0xa04ba850_5eb1_460d_a973_393fcb608a11); windows_core::imp::interface_hierarchy!(IEnumSyncProviderInfos, windows_core::IUnknown); impl IEnumSyncProviderInfos { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -584,7 +584,7 @@ pub struct IEnumSyncProviderInfos_Vtbl { 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, } -windows_core::imp::com_interface!(IFeedClockVector, IFeedClockVector_Vtbl, 0x8d1d98d1_9fb8_4ec9_a553_54dd924e0f67); +windows_core::imp::define_interface!(IFeedClockVector, IFeedClockVector_Vtbl, 0x8d1d98d1_9fb8_4ec9_a553_54dd924e0f67); windows_core::imp::interface_hierarchy!(IFeedClockVector, windows_core::IUnknown, IClockVector); impl IFeedClockVector { pub unsafe fn GetClockVectorElements(&self, riid: *const windows_core::GUID, ppienumclockvector: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -606,7 +606,7 @@ pub struct IFeedClockVector_Vtbl { pub GetUpdateCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub IsNoConflictsSpecified: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFeedClockVectorElement, IFeedClockVectorElement_Vtbl, 0xa40b46d2_e97b_4156_b6da_991f501b0f05); +windows_core::imp::define_interface!(IFeedClockVectorElement, IFeedClockVectorElement_Vtbl, 0xa40b46d2_e97b_4156_b6da_991f501b0f05); windows_core::imp::interface_hierarchy!(IFeedClockVectorElement, windows_core::IUnknown, IClockVectorElement); impl IFeedClockVectorElement { pub unsafe fn GetReplicaKey(&self, pdwreplicakey: *mut u32) -> windows_core::Result<()> { @@ -628,7 +628,7 @@ pub struct IFeedClockVectorElement_Vtbl { pub GetSyncTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SYNC_TIME) -> windows_core::HRESULT, pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFilterKeyMap, IFilterKeyMap_Vtbl, 0xca169652_07c6_4708_a3da_6e4eba8d2297); +windows_core::imp::define_interface!(IFilterKeyMap, IFilterKeyMap_Vtbl, 0xca169652_07c6_4708_a3da_6e4eba8d2297); windows_core::imp::interface_hierarchy!(IFilterKeyMap, windows_core::IUnknown); impl IFilterKeyMap { pub unsafe fn GetCount(&self, pdwcount: *mut u32) -> windows_core::Result<()> { @@ -656,7 +656,7 @@ pub struct IFilterKeyMap_Vtbl { pub GetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFilterRequestCallback, IFilterRequestCallback_Vtbl, 0x82df8873_6360_463a_a8a1_ede5e1a1594d); +windows_core::imp::define_interface!(IFilterRequestCallback, IFilterRequestCallback_Vtbl, 0x82df8873_6360_463a_a8a1_ede5e1a1594d); windows_core::imp::interface_hierarchy!(IFilterRequestCallback, windows_core::IUnknown); impl IFilterRequestCallback { pub unsafe fn RequestFilter(&self, pfilter: P0, filteringtype: FILTERING_TYPE) -> windows_core::Result<()> @@ -671,7 +671,7 @@ pub struct IFilterRequestCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RequestFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, FILTERING_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFilterTrackingProvider, IFilterTrackingProvider_Vtbl, 0x743383c0_fc4e_45ba_ad81_d9d84c7a24f8); +windows_core::imp::define_interface!(IFilterTrackingProvider, IFilterTrackingProvider_Vtbl, 0x743383c0_fc4e_45ba_ad81_d9d84c7a24f8); windows_core::imp::interface_hierarchy!(IFilterTrackingProvider, windows_core::IUnknown); impl IFilterTrackingProvider { pub unsafe fn SpecifyTrackedFilters(&self, pcallback: P0) -> windows_core::Result<()> @@ -693,7 +693,7 @@ pub struct IFilterTrackingProvider_Vtbl { pub SpecifyTrackedFilters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddTrackedFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFilterTrackingRequestCallback, IFilterTrackingRequestCallback_Vtbl, 0x713ca7bb_c858_4674_b4b6_1122436587a9); +windows_core::imp::define_interface!(IFilterTrackingRequestCallback, IFilterTrackingRequestCallback_Vtbl, 0x713ca7bb_c858_4674_b4b6_1122436587a9); windows_core::imp::interface_hierarchy!(IFilterTrackingRequestCallback, windows_core::IUnknown); impl IFilterTrackingRequestCallback { pub unsafe fn RequestTrackedFilter(&self, pfilter: P0) -> windows_core::Result<()> @@ -708,7 +708,7 @@ pub struct IFilterTrackingRequestCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RequestTrackedFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFilterTrackingSyncChangeBuilder, IFilterTrackingSyncChangeBuilder_Vtbl, 0x295024a0_70da_4c58_883c_ce2afb308d0b); +windows_core::imp::define_interface!(IFilterTrackingSyncChangeBuilder, IFilterTrackingSyncChangeBuilder_Vtbl, 0x295024a0_70da_4c58_883c_ce2afb308d0b); windows_core::imp::interface_hierarchy!(IFilterTrackingSyncChangeBuilder, windows_core::IUnknown); impl IFilterTrackingSyncChangeBuilder { pub unsafe fn AddFilterChange(&self, dwfilterkey: u32, pfilterchange: *const SYNC_FILTER_CHANGE) -> windows_core::Result<()> { @@ -724,7 +724,7 @@ pub struct IFilterTrackingSyncChangeBuilder_Vtbl { pub AddFilterChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const SYNC_FILTER_CHANGE) -> windows_core::HRESULT, pub SetAllChangeUnitsPresentFlag: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IForgottenKnowledge, IForgottenKnowledge_Vtbl, 0x456e0f96_6036_452b_9f9d_bcc4b4a85db2); +windows_core::imp::define_interface!(IForgottenKnowledge, IForgottenKnowledge_Vtbl, 0x456e0f96_6036_452b_9f9d_bcc4b4a85db2); windows_core::imp::interface_hierarchy!(IForgottenKnowledge, windows_core::IUnknown, ISyncKnowledge); impl IForgottenKnowledge { pub unsafe fn GetOwnerReplicaId(&self, pbreplicaid: *mut u8, pcbidsize: *mut u32) -> windows_core::Result<()> { @@ -832,7 +832,7 @@ pub struct IForgottenKnowledge_Vtbl { pub base__: ISyncKnowledge_Vtbl, pub ForgetToVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const SYNC_VERSION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnowledgeSyncProvider, IKnowledgeSyncProvider_Vtbl, 0x43434a49_8da4_47f2_8172_ad7b8b024978); +windows_core::imp::define_interface!(IKnowledgeSyncProvider, IKnowledgeSyncProvider_Vtbl, 0x43434a49_8da4_47f2_8172_ad7b8b024978); windows_core::imp::interface_hierarchy!(IKnowledgeSyncProvider, windows_core::IUnknown, ISyncProvider); impl IKnowledgeSyncProvider { pub unsafe fn GetIdParameters(&self, pidparameters: *mut ID_PARAMETERS) -> windows_core::Result<()> { @@ -893,7 +893,7 @@ pub struct IKnowledgeSyncProvider_Vtbl { pub ProcessFullEnumerationChangeBatch: unsafe extern "system" fn(*mut core::ffi::c_void, CONFLICT_RESOLUTION_POLICY, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut SYNC_SESSION_STATISTICS) -> windows_core::HRESULT, pub EndSession: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILoadChangeContext, ILoadChangeContext_Vtbl, 0x44a4aaca_ec39_46d5_b5c9_d633c0ee67e2); +windows_core::imp::define_interface!(ILoadChangeContext, ILoadChangeContext_Vtbl, 0x44a4aaca_ec39_46d5_b5c9_d633c0ee67e2); windows_core::imp::interface_hierarchy!(ILoadChangeContext, windows_core::IUnknown); impl ILoadChangeContext { pub unsafe fn GetSyncChange(&self) -> windows_core::Result { @@ -921,7 +921,7 @@ pub struct ILoadChangeContext_Vtbl { pub SetRecoverableErrorOnChange: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetRecoverableErrorOnChangeUnit: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProviderConverter, IProviderConverter_Vtbl, 0x809b7276_98cf_4957_93a5_0ebdd3dddffd); +windows_core::imp::define_interface!(IProviderConverter, IProviderConverter_Vtbl, 0x809b7276_98cf_4957_93a5_0ebdd3dddffd); windows_core::imp::interface_hierarchy!(IProviderConverter, windows_core::IUnknown); impl IProviderConverter { pub unsafe fn Initialize(&self, pisyncprovider: P0) -> windows_core::Result<()> @@ -936,7 +936,7 @@ pub struct IProviderConverter_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, } -windows_core::imp::com_interface!(IRangeException, IRangeException_Vtbl, 0x75ae8777_6848_49f7_956c_a3a92f5096e8); +windows_core::imp::define_interface!(IRangeException, IRangeException_Vtbl, 0x75ae8777_6848_49f7_956c_a3a92f5096e8); windows_core::imp::interface_hierarchy!(IRangeException, windows_core::IUnknown); impl IRangeException { pub unsafe fn GetClosedRangeStart(&self, pbclosedrangestart: *mut u8, pcbidsize: *mut u32) -> windows_core::Result<()> { @@ -956,7 +956,7 @@ pub struct IRangeException_Vtbl { pub GetClosedRangeEnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, pub GetClockVector: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRecoverableError, IRecoverableError_Vtbl, 0x0f5625e8_0a7b_45ee_9637_1ce13645909e); +windows_core::imp::define_interface!(IRecoverableError, IRecoverableError_Vtbl, 0x0f5625e8_0a7b_45ee_9637_1ce13645909e); windows_core::imp::interface_hierarchy!(IRecoverableError, windows_core::IUnknown); impl IRecoverableError { pub unsafe fn GetStage(&self, pstage: *mut SYNC_PROGRESS_STAGE) -> windows_core::Result<()> { @@ -988,7 +988,7 @@ pub struct IRecoverableError_Vtbl { pub GetRecoverableErrorDataForChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRecoverableErrorDataForChangeUnit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut windows_core::HRESULT, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRecoverableErrorData, IRecoverableErrorData_Vtbl, 0xb37c4a0a_4b7d_4c2d_9711_3b00d119b1c8); +windows_core::imp::define_interface!(IRecoverableErrorData, IRecoverableErrorData_Vtbl, 0xb37c4a0a_4b7d_4c2d_9711_3b00d119b1c8); windows_core::imp::interface_hierarchy!(IRecoverableErrorData, windows_core::IUnknown); impl IRecoverableErrorData { pub unsafe fn Initialize(&self, pcszitemdisplayname: P0, pcszerrordescription: P1) -> windows_core::Result<()> @@ -1018,7 +1018,7 @@ pub struct IRecoverableErrorData_Vtbl { pub GetItemDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, pub GetErrorDescription: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRegisteredSyncProvider, IRegisteredSyncProvider_Vtbl, 0x913bcf76_47c1_40b5_a896_5e8a9c414c14); +windows_core::imp::define_interface!(IRegisteredSyncProvider, IRegisteredSyncProvider_Vtbl, 0x913bcf76_47c1_40b5_a896_5e8a9c414c14); windows_core::imp::interface_hierarchy!(IRegisteredSyncProvider, windows_core::IUnknown); impl IRegisteredSyncProvider { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -1046,7 +1046,7 @@ pub struct IRegisteredSyncProvider_Vtbl { pub GetInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReplicaKeyMap, IReplicaKeyMap_Vtbl, 0x2209f4fc_fd10_4ff0_84a8_f0a1982e440e); +windows_core::imp::define_interface!(IReplicaKeyMap, IReplicaKeyMap_Vtbl, 0x2209f4fc_fd10_4ff0_84a8_f0a1982e440e); windows_core::imp::interface_hierarchy!(IReplicaKeyMap, windows_core::IUnknown); impl IReplicaKeyMap { pub unsafe fn LookupReplicaKey(&self, pbreplicaid: *const u8, pdwreplicakey: *mut u32) -> windows_core::Result<()> { @@ -1066,7 +1066,7 @@ pub struct IReplicaKeyMap_Vtbl { pub LookupReplicaId: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u8, *mut u32) -> windows_core::HRESULT, pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRequestFilteredSync, IRequestFilteredSync_Vtbl, 0x2e020184_6d18_46a7_a32a_da4aeb06696c); +windows_core::imp::define_interface!(IRequestFilteredSync, IRequestFilteredSync_Vtbl, 0x2e020184_6d18_46a7_a32a_da4aeb06696c); windows_core::imp::interface_hierarchy!(IRequestFilteredSync, windows_core::IUnknown); impl IRequestFilteredSync { pub unsafe fn SpecifyFilter(&self, pcallback: P0) -> windows_core::Result<()> @@ -1081,7 +1081,7 @@ pub struct IRequestFilteredSync_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SpecifyFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISingleItemException, ISingleItemException_Vtbl, 0x892fb9b0_7c55_4a18_9316_fdf449569b64); +windows_core::imp::define_interface!(ISingleItemException, ISingleItemException_Vtbl, 0x892fb9b0_7c55_4a18_9316_fdf449569b64); windows_core::imp::interface_hierarchy!(ISingleItemException, windows_core::IUnknown); impl ISingleItemException { pub unsafe fn GetItemId(&self, pbitemid: *mut u8, pcbidsize: *mut u32) -> windows_core::Result<()> { @@ -1097,7 +1097,7 @@ pub struct ISingleItemException_Vtbl { pub GetItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, pub GetClockVector: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISupportFilteredSync, ISupportFilteredSync_Vtbl, 0x3d128ded_d555_4e0d_bf4b_fb213a8a9302); +windows_core::imp::define_interface!(ISupportFilteredSync, ISupportFilteredSync_Vtbl, 0x3d128ded_d555_4e0d_bf4b_fb213a8a9302); windows_core::imp::interface_hierarchy!(ISupportFilteredSync, windows_core::IUnknown); impl ISupportFilteredSync { pub unsafe fn AddFilter(&self, pfilter: P0, filteringtype: FILTERING_TYPE) -> windows_core::Result<()> @@ -1112,7 +1112,7 @@ pub struct ISupportFilteredSync_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AddFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, FILTERING_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISupportLastWriteTime, ISupportLastWriteTime_Vtbl, 0xeadf816f_d0bd_43ca_8f40_5acdc6c06f7a); +windows_core::imp::define_interface!(ISupportLastWriteTime, ISupportLastWriteTime_Vtbl, 0xeadf816f_d0bd_43ca_8f40_5acdc6c06f7a); windows_core::imp::interface_hierarchy!(ISupportLastWriteTime, windows_core::IUnknown); impl ISupportLastWriteTime { pub unsafe fn GetItemChangeTime(&self, pbitemid: *const u8, pulltimestamp: *mut u64) -> windows_core::Result<()> { @@ -1128,7 +1128,7 @@ pub struct ISupportLastWriteTime_Vtbl { pub GetItemChangeTime: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *mut u64) -> windows_core::HRESULT, pub GetChangeUnitChangeTime: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const u8, *mut u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncCallback, ISyncCallback_Vtbl, 0x0599797f_5ed9_485c_ae36_0c5d1bf2e7a5); +windows_core::imp::define_interface!(ISyncCallback, ISyncCallback_Vtbl, 0x0599797f_5ed9_485c_ae36_0c5d1bf2e7a5); windows_core::imp::interface_hierarchy!(ISyncCallback, windows_core::IUnknown); impl ISyncCallback { pub unsafe fn OnProgress(&self, provider: SYNC_PROVIDER_ROLE, syncstage: SYNC_PROGRESS_STAGE, dwcompletedwork: u32, dwtotalwork: u32) -> windows_core::Result<()> { @@ -1165,7 +1165,7 @@ pub struct ISyncCallback_Vtbl { pub OnFullEnumerationNeeded: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SYNC_FULL_ENUMERATION_ACTION) -> windows_core::HRESULT, pub OnRecoverableError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncCallback2, ISyncCallback2_Vtbl, 0x47ce84af_7442_4ead_8630_12015e030ad7); +windows_core::imp::define_interface!(ISyncCallback2, ISyncCallback2_Vtbl, 0x47ce84af_7442_4ead_8630_12015e030ad7); windows_core::imp::interface_hierarchy!(ISyncCallback2, windows_core::IUnknown, ISyncCallback); impl ISyncCallback2 { pub unsafe fn OnProgress(&self, provider: SYNC_PROVIDER_ROLE, syncstage: SYNC_PROGRESS_STAGE, dwcompletedwork: u32, dwtotalwork: u32) -> windows_core::Result<()> { @@ -1205,7 +1205,7 @@ pub struct ISyncCallback2_Vtbl { pub OnChangeApplied: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub OnChangeFailed: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChange, ISyncChange_Vtbl, 0xa1952beb_0f6b_4711_b136_01da85b968a6); +windows_core::imp::define_interface!(ISyncChange, ISyncChange_Vtbl, 0xa1952beb_0f6b_4711_b136_01da85b968a6); windows_core::imp::interface_hierarchy!(ISyncChange, windows_core::IUnknown); impl ISyncChange { pub unsafe fn GetOwnerReplicaId(&self, pbreplicaid: *mut u8, pcbidsize: *mut u32) -> windows_core::Result<()> { @@ -1256,7 +1256,7 @@ pub struct ISyncChange_Vtbl { pub GetLearnedKnowledge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetWorkEstimate: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChangeBatch, ISyncChangeBatch_Vtbl, 0x70c64dee_380f_4c2e_8f70_31c55bd5f9b3); +windows_core::imp::define_interface!(ISyncChangeBatch, ISyncChangeBatch_Vtbl, 0x70c64dee_380f_4c2e_8f70_31c55bd5f9b3); windows_core::imp::interface_hierarchy!(ISyncChangeBatch, windows_core::IUnknown, ISyncChangeBatchBase); impl ISyncChangeBatch { pub unsafe fn GetChangeEnumerator(&self) -> windows_core::Result { @@ -1334,7 +1334,7 @@ pub struct ISyncChangeBatch_Vtbl { pub EndUnorderedGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub AddLoggedConflict: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const u8, *const SYNC_VERSION, *const SYNC_VERSION, u32, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChangeBatch2, ISyncChangeBatch2_Vtbl, 0x225f4a33_f5ee_4cc7_b039_67a262b4b2ac); +windows_core::imp::define_interface!(ISyncChangeBatch2, ISyncChangeBatch2_Vtbl, 0x225f4a33_f5ee_4cc7_b039_67a262b4b2ac); windows_core::imp::interface_hierarchy!(ISyncChangeBatch2, windows_core::IUnknown, ISyncChangeBatchBase, ISyncChangeBatch); impl ISyncChangeBatch2 { pub unsafe fn GetChangeEnumerator(&self) -> windows_core::Result { @@ -1422,7 +1422,7 @@ pub struct ISyncChangeBatch2_Vtbl { pub AddMergeTombstoneMetadataToGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const u8, *const u8, *const SYNC_VERSION, *const SYNC_VERSION, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddMergeTombstoneLoggedConflict: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const u8, *const u8, *const SYNC_VERSION, *const SYNC_VERSION, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChangeBatchAdvanced, ISyncChangeBatchAdvanced_Vtbl, 0x0f1a4995_cbc8_421d_b550_5d0bebf3e9a5); +windows_core::imp::define_interface!(ISyncChangeBatchAdvanced, ISyncChangeBatchAdvanced_Vtbl, 0x0f1a4995_cbc8_421d_b550_5d0bebf3e9a5); windows_core::imp::interface_hierarchy!(ISyncChangeBatchAdvanced, windows_core::IUnknown); impl ISyncChangeBatchAdvanced { pub unsafe fn GetFilterInfo(&self) -> windows_core::Result { @@ -1448,7 +1448,7 @@ pub struct ISyncChangeBatchAdvanced_Vtbl { pub GetUpperBoundItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, pub GetBatchLevelKnowledgeShouldBeApplied: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChangeBatchBase, ISyncChangeBatchBase_Vtbl, 0x52f6e694_6a71_4494_a184_a8311bf5d227); +windows_core::imp::define_interface!(ISyncChangeBatchBase, ISyncChangeBatchBase_Vtbl, 0x52f6e694_6a71_4494_a184_a8311bf5d227); windows_core::imp::interface_hierarchy!(ISyncChangeBatchBase, windows_core::IUnknown); impl ISyncChangeBatchBase { pub unsafe fn GetChangeEnumerator(&self) -> windows_core::Result { @@ -1520,7 +1520,7 @@ pub struct ISyncChangeBatchBase_Vtbl { pub SetRemainingWorkEstimateForSession: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChangeBatchBase2, ISyncChangeBatchBase2_Vtbl, 0x6fdb596a_d755_4584_bd0c_c0c23a548fbf); +windows_core::imp::define_interface!(ISyncChangeBatchBase2, ISyncChangeBatchBase2_Vtbl, 0x6fdb596a_d755_4584_bd0c_c0c23a548fbf); windows_core::imp::interface_hierarchy!(ISyncChangeBatchBase2, windows_core::IUnknown, ISyncChangeBatchBase); impl ISyncChangeBatchBase2 { pub unsafe fn GetChangeEnumerator(&self) -> windows_core::Result { @@ -1582,7 +1582,7 @@ pub struct ISyncChangeBatchBase2_Vtbl { pub base__: ISyncChangeBatchBase_Vtbl, pub SerializeWithOptions: unsafe extern "system" fn(*mut core::ffi::c_void, SYNC_SERIALIZATION_VERSION, u32, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChangeBatchWithFilterKeyMap, ISyncChangeBatchWithFilterKeyMap_Vtbl, 0xde247002_566d_459a_a6ed_a5aab3459fb7); +windows_core::imp::define_interface!(ISyncChangeBatchWithFilterKeyMap, ISyncChangeBatchWithFilterKeyMap_Vtbl, 0xde247002_566d_459a_a6ed_a5aab3459fb7); windows_core::imp::interface_hierarchy!(ISyncChangeBatchWithFilterKeyMap, windows_core::IUnknown); impl ISyncChangeBatchWithFilterKeyMap { pub unsafe fn GetFilterKeyMap(&self) -> windows_core::Result { @@ -1654,7 +1654,7 @@ pub struct ISyncChangeBatchWithFilterKeyMap_Vtbl { pub GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete: 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 GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChangeBatchWithPrerequisite, ISyncChangeBatchWithPrerequisite_Vtbl, 0x097f13be_5b92_4048_b3f2_7b42a2515e07); +windows_core::imp::define_interface!(ISyncChangeBatchWithPrerequisite, ISyncChangeBatchWithPrerequisite_Vtbl, 0x097f13be_5b92_4048_b3f2_7b42a2515e07); windows_core::imp::interface_hierarchy!(ISyncChangeBatchWithPrerequisite, windows_core::IUnknown, ISyncChangeBatchBase); impl ISyncChangeBatchWithPrerequisite { pub unsafe fn GetChangeEnumerator(&self) -> windows_core::Result { @@ -1732,7 +1732,7 @@ pub struct ISyncChangeBatchWithPrerequisite_Vtbl { pub GetLearnedKnowledgeWithPrerequisite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLearnedForgottenKnowledge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChangeBuilder, ISyncChangeBuilder_Vtbl, 0x56f14771_8677_484f_a170_e386e418a676); +windows_core::imp::define_interface!(ISyncChangeBuilder, ISyncChangeBuilder_Vtbl, 0x56f14771_8677_484f_a170_e386e418a676); windows_core::imp::interface_hierarchy!(ISyncChangeBuilder, windows_core::IUnknown); impl ISyncChangeBuilder { pub unsafe fn AddChangeUnitMetadata(&self, pbchangeunitid: *const u8, pchangeunitversion: *const SYNC_VERSION) -> windows_core::Result<()> { @@ -1744,7 +1744,7 @@ pub struct ISyncChangeBuilder_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AddChangeUnitMetadata: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const SYNC_VERSION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChangeUnit, ISyncChangeUnit_Vtbl, 0x60edd8ca_7341_4bb7_95ce_fab6394b51cb); +windows_core::imp::define_interface!(ISyncChangeUnit, ISyncChangeUnit_Vtbl, 0x60edd8ca_7341_4bb7_95ce_fab6394b51cb); windows_core::imp::interface_hierarchy!(ISyncChangeUnit, windows_core::IUnknown); impl ISyncChangeUnit { pub unsafe fn GetItemChange(&self) -> windows_core::Result { @@ -1765,7 +1765,7 @@ pub struct ISyncChangeUnit_Vtbl { pub GetChangeUnitId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, pub GetChangeUnitVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *mut SYNC_VERSION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChangeWithFilterKeyMap, ISyncChangeWithFilterKeyMap_Vtbl, 0xbfe1ef00_e87d_42fd_a4e9_242d70414aef); +windows_core::imp::define_interface!(ISyncChangeWithFilterKeyMap, ISyncChangeWithFilterKeyMap_Vtbl, 0xbfe1ef00_e87d_42fd_a4e9_242d70414aef); windows_core::imp::interface_hierarchy!(ISyncChangeWithFilterKeyMap, windows_core::IUnknown); impl ISyncChangeWithFilterKeyMap { pub unsafe fn GetFilterCount(&self, pdwfiltercount: *mut u32) -> windows_core::Result<()> { @@ -1835,7 +1835,7 @@ pub struct ISyncChangeWithFilterKeyMap_Vtbl { pub GetFilteredReplicaLearnedForgottenKnowledgeAfterRecoveryComplete: 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 GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncChangeWithPrerequisite, ISyncChangeWithPrerequisite_Vtbl, 0x9e38382f_1589_48c3_92e4_05ecdcb4f3f7); +windows_core::imp::define_interface!(ISyncChangeWithPrerequisite, ISyncChangeWithPrerequisite_Vtbl, 0x9e38382f_1589_48c3_92e4_05ecdcb4f3f7); windows_core::imp::interface_hierarchy!(ISyncChangeWithPrerequisite, windows_core::IUnknown); impl ISyncChangeWithPrerequisite { pub unsafe fn GetPrerequisiteKnowledge(&self) -> windows_core::Result { @@ -1856,7 +1856,7 @@ pub struct ISyncChangeWithPrerequisite_Vtbl { pub GetPrerequisiteKnowledge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLearnedKnowledgeWithPrerequisite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncConstraintCallback, ISyncConstraintCallback_Vtbl, 0x8af3843e_75b3_438c_bb51_6f020d70d3cb); +windows_core::imp::define_interface!(ISyncConstraintCallback, ISyncConstraintCallback_Vtbl, 0x8af3843e_75b3_438c_bb51_6f020d70d3cb); windows_core::imp::interface_hierarchy!(ISyncConstraintCallback, windows_core::IUnknown); impl ISyncConstraintCallback { pub unsafe fn OnConstraintConflict(&self, pconflict: P0) -> windows_core::Result<()> @@ -1871,7 +1871,7 @@ pub struct ISyncConstraintCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnConstraintConflict: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncDataConverter, ISyncDataConverter_Vtbl, 0x435d4861_68d5_44aa_a0f9_72a0b00ef9cf); +windows_core::imp::define_interface!(ISyncDataConverter, ISyncDataConverter_Vtbl, 0x435d4861_68d5_44aa_a0f9_72a0b00ef9cf); windows_core::imp::interface_hierarchy!(ISyncDataConverter, windows_core::IUnknown); impl ISyncDataConverter { pub unsafe fn ConvertDataRetrieverFromProviderFormat(&self, punkdataretrieverin: P0, penumsyncchanges: P1) -> windows_core::Result @@ -1915,7 +1915,7 @@ pub struct ISyncDataConverter_Vtbl { pub ConvertDataFromProviderFormat: 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 ConvertDataToProviderFormat: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncFilter, ISyncFilter_Vtbl, 0x087a3f15_0fcb_44c1_9639_53c14e2b5506); +windows_core::imp::define_interface!(ISyncFilter, ISyncFilter_Vtbl, 0x087a3f15_0fcb_44c1_9639_53c14e2b5506); windows_core::imp::interface_hierarchy!(ISyncFilter, windows_core::IUnknown); impl ISyncFilter { pub unsafe fn IsIdentical(&self, psyncfilter: P0) -> windows_core::Result<()> @@ -1934,7 +1934,7 @@ pub struct ISyncFilter_Vtbl { pub IsIdentical: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncFilterDeserializer, ISyncFilterDeserializer_Vtbl, 0xb45b7a72_e5c7_46be_9c82_77b8b15dab8a); +windows_core::imp::define_interface!(ISyncFilterDeserializer, ISyncFilterDeserializer_Vtbl, 0xb45b7a72_e5c7_46be_9c82_77b8b15dab8a); windows_core::imp::interface_hierarchy!(ISyncFilterDeserializer, windows_core::IUnknown); impl ISyncFilterDeserializer { pub unsafe fn DeserializeSyncFilter(&self, pbsyncfilter: *const u8, dwcbsyncfilter: u32) -> windows_core::Result { @@ -1947,7 +1947,7 @@ pub struct ISyncFilterDeserializer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DeserializeSyncFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncFilterInfo, ISyncFilterInfo_Vtbl, 0x794eaaf8_3f2e_47e6_9728_17e6fcf94cb7); +windows_core::imp::define_interface!(ISyncFilterInfo, ISyncFilterInfo_Vtbl, 0x794eaaf8_3f2e_47e6_9728_17e6fcf94cb7); windows_core::imp::interface_hierarchy!(ISyncFilterInfo, windows_core::IUnknown); impl ISyncFilterInfo { pub unsafe fn Serialize(&self, pbbuffer: *mut u8, pcbbuffer: *mut u32) -> windows_core::Result<()> { @@ -1959,7 +1959,7 @@ pub struct ISyncFilterInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Serialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncFilterInfo2, ISyncFilterInfo2_Vtbl, 0x19b394ba_e3d0_468c_934d_321968b2ab34); +windows_core::imp::define_interface!(ISyncFilterInfo2, ISyncFilterInfo2_Vtbl, 0x19b394ba_e3d0_468c_934d_321968b2ab34); windows_core::imp::interface_hierarchy!(ISyncFilterInfo2, windows_core::IUnknown, ISyncFilterInfo); impl ISyncFilterInfo2 { pub unsafe fn Serialize(&self, pbbuffer: *mut u8, pcbbuffer: *mut u32) -> windows_core::Result<()> { @@ -1974,7 +1974,7 @@ pub struct ISyncFilterInfo2_Vtbl { pub base__: ISyncFilterInfo_Vtbl, pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncFullEnumerationChange, ISyncFullEnumerationChange_Vtbl, 0x9785e0bd_bdff_40c4_98c5_b34b2f1991b3); +windows_core::imp::define_interface!(ISyncFullEnumerationChange, ISyncFullEnumerationChange_Vtbl, 0x9785e0bd_bdff_40c4_98c5_b34b2f1991b3); windows_core::imp::interface_hierarchy!(ISyncFullEnumerationChange, windows_core::IUnknown); impl ISyncFullEnumerationChange { pub unsafe fn GetLearnedKnowledgeAfterRecoveryComplete(&self) -> windows_core::Result { @@ -1992,7 +1992,7 @@ pub struct ISyncFullEnumerationChange_Vtbl { pub GetLearnedKnowledgeAfterRecoveryComplete: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetLearnedForgottenKnowledge: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncFullEnumerationChangeBatch, ISyncFullEnumerationChangeBatch_Vtbl, 0xef64197d_4f44_4ea2_b355_4524713e3bed); +windows_core::imp::define_interface!(ISyncFullEnumerationChangeBatch, ISyncFullEnumerationChangeBatch_Vtbl, 0xef64197d_4f44_4ea2_b355_4524713e3bed); windows_core::imp::interface_hierarchy!(ISyncFullEnumerationChangeBatch, windows_core::IUnknown, ISyncChangeBatchBase); impl ISyncFullEnumerationChangeBatch { pub unsafe fn GetChangeEnumerator(&self) -> windows_core::Result { @@ -2063,7 +2063,7 @@ pub struct ISyncFullEnumerationChangeBatch_Vtbl { pub GetClosedLowerBoundItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, pub GetClosedUpperBoundItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncFullEnumerationChangeBatch2, ISyncFullEnumerationChangeBatch2_Vtbl, 0xe06449f4_a205_4b65_9724_01b22101eec1); +windows_core::imp::define_interface!(ISyncFullEnumerationChangeBatch2, ISyncFullEnumerationChangeBatch2_Vtbl, 0xe06449f4_a205_4b65_9724_01b22101eec1); windows_core::imp::interface_hierarchy!(ISyncFullEnumerationChangeBatch2, windows_core::IUnknown, ISyncChangeBatchBase, ISyncFullEnumerationChangeBatch); impl ISyncFullEnumerationChangeBatch2 { pub unsafe fn GetChangeEnumerator(&self) -> windows_core::Result { @@ -2136,7 +2136,7 @@ pub struct ISyncFullEnumerationChangeBatch2_Vtbl { pub base__: ISyncFullEnumerationChangeBatch_Vtbl, pub AddMergeTombstoneMetadataToGroup: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const u8, *const u8, *const SYNC_VERSION, *const SYNC_VERSION, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncKnowledge, ISyncKnowledge_Vtbl, 0x615bbb53_c945_4203_bf4b_2cb65919a0aa); +windows_core::imp::define_interface!(ISyncKnowledge, ISyncKnowledge_Vtbl, 0x615bbb53_c945_4203_bf4b_2cb65919a0aa); windows_core::imp::interface_hierarchy!(ISyncKnowledge, windows_core::IUnknown); impl ISyncKnowledge { pub unsafe fn GetOwnerReplicaId(&self, pbreplicaid: *mut u8, pcbidsize: *mut u32) -> windows_core::Result<()> { @@ -2261,7 +2261,7 @@ pub struct ISyncKnowledge_Vtbl { pub FindClockVectorForChangeUnit: unsafe extern "system" fn(*mut core::ffi::c_void, *const u8, *const u8, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVersion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncKnowledge2, ISyncKnowledge2_Vtbl, 0xed0addc0_3b4b_46a1_9a45_45661d2114c8); +windows_core::imp::define_interface!(ISyncKnowledge2, ISyncKnowledge2_Vtbl, 0xed0addc0_3b4b_46a1_9a45_45661d2114c8); windows_core::imp::interface_hierarchy!(ISyncKnowledge2, windows_core::IUnknown, ISyncKnowledge); impl ISyncKnowledge2 { pub unsafe fn GetOwnerReplicaId(&self, pbreplicaid: *mut u8, pcbidsize: *mut u32) -> windows_core::Result<()> { @@ -2444,7 +2444,7 @@ pub struct ISyncKnowledge2_Vtbl { pub GetKnowledgeCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CompareToKnowledgeCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut KNOWLEDGE_COOKIE_COMPARISON_RESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMergeTombstoneChange, ISyncMergeTombstoneChange_Vtbl, 0x6ec62597_0903_484c_ad61_36d6e938f47b); +windows_core::imp::define_interface!(ISyncMergeTombstoneChange, ISyncMergeTombstoneChange_Vtbl, 0x6ec62597_0903_484c_ad61_36d6e938f47b); windows_core::imp::interface_hierarchy!(ISyncMergeTombstoneChange, windows_core::IUnknown); impl ISyncMergeTombstoneChange { pub unsafe fn GetWinnerItemId(&self, pbwinneritemid: *mut u8, pcbidsize: *mut u32) -> windows_core::Result<()> { @@ -2456,7 +2456,7 @@ pub struct ISyncMergeTombstoneChange_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetWinnerItemId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncProvider, ISyncProvider_Vtbl, 0x8f657056_2bce_4a17_8c68_c7bb7898b56f); +windows_core::imp::define_interface!(ISyncProvider, ISyncProvider_Vtbl, 0x8f657056_2bce_4a17_8c68_c7bb7898b56f); windows_core::imp::interface_hierarchy!(ISyncProvider, windows_core::IUnknown); impl ISyncProvider { pub unsafe fn GetIdParameters(&self, pidparameters: *mut ID_PARAMETERS) -> windows_core::Result<()> { @@ -2468,7 +2468,7 @@ pub struct ISyncProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetIdParameters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ID_PARAMETERS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncProviderConfigUI, ISyncProviderConfigUI_Vtbl, 0x7b0705f6_cbcd_4071_ab05_3bdc364d4a0c); +windows_core::imp::define_interface!(ISyncProviderConfigUI, ISyncProviderConfigUI_Vtbl, 0x7b0705f6_cbcd_4071_ab05_3bdc364d4a0c); windows_core::imp::interface_hierarchy!(ISyncProviderConfigUI, windows_core::IUnknown); impl ISyncProviderConfigUI { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -2523,7 +2523,7 @@ pub struct ISyncProviderConfigUI_Vtbl { ModifySyncProvider: usize, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -windows_core::imp::com_interface!(ISyncProviderConfigUIInfo, ISyncProviderConfigUIInfo_Vtbl, 0x214141ae_33d7_4d8d_8e37_f227e880ce50); +windows_core::imp::define_interface!(ISyncProviderConfigUIInfo, ISyncProviderConfigUIInfo_Vtbl, 0x214141ae_33d7_4d8d_8e37_f227e880ce50); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] windows_core::imp::interface_hierarchy!(ISyncProviderConfigUIInfo, windows_core::IUnknown, super::super::UI::Shell::PropertiesSystem::IPropertyStore); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -2562,7 +2562,7 @@ pub struct ISyncProviderConfigUIInfo_Vtbl { pub GetSyncProviderConfigUI: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] -windows_core::imp::com_interface!(ISyncProviderInfo, ISyncProviderInfo_Vtbl, 0x1ee135de_88a4_4504_b0d0_f7920d7e5ba6); +windows_core::imp::define_interface!(ISyncProviderInfo, ISyncProviderInfo_Vtbl, 0x1ee135de_88a4_4504_b0d0_f7920d7e5ba6); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] windows_core::imp::interface_hierarchy!(ISyncProviderInfo, windows_core::IUnknown, super::super::UI::Shell::PropertiesSystem::IPropertyStore); #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -2600,7 +2600,7 @@ pub struct ISyncProviderInfo_Vtbl { pub base__: super::super::UI::Shell::PropertiesSystem::IPropertyStore_Vtbl, pub GetSyncProvider: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncProviderRegistration, ISyncProviderRegistration_Vtbl, 0xcb45953b_7624_47bc_a472_eb8cac6b222e); +windows_core::imp::define_interface!(ISyncProviderRegistration, ISyncProviderRegistration_Vtbl, 0xcb45953b_7624_47bc_a472_eb8cac6b222e); windows_core::imp::interface_hierarchy!(ISyncProviderRegistration, windows_core::IUnknown); impl ISyncProviderRegistration { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -2709,7 +2709,7 @@ pub struct ISyncProviderRegistration_Vtbl { pub RevokeEvent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub GetChange: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncRegistrationChange, ISyncRegistrationChange_Vtbl, 0xeea0d9ae_6b29_43b4_9e70_e3ae33bb2c3b); +windows_core::imp::define_interface!(ISyncRegistrationChange, ISyncRegistrationChange_Vtbl, 0xeea0d9ae_6b29_43b4_9e70_e3ae33bb2c3b); windows_core::imp::interface_hierarchy!(ISyncRegistrationChange, windows_core::IUnknown); impl ISyncRegistrationChange { pub unsafe fn GetEvent(&self) -> windows_core::Result { @@ -2727,7 +2727,7 @@ pub struct ISyncRegistrationChange_Vtbl { pub GetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SYNC_REGISTRATION_EVENT) -> windows_core::HRESULT, pub GetInstanceId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncSessionExtendedErrorInfo, ISyncSessionExtendedErrorInfo_Vtbl, 0x326c6810_790a_409b_b741_6999388761eb); +windows_core::imp::define_interface!(ISyncSessionExtendedErrorInfo, ISyncSessionExtendedErrorInfo_Vtbl, 0x326c6810_790a_409b_b741_6999388761eb); windows_core::imp::interface_hierarchy!(ISyncSessionExtendedErrorInfo, windows_core::IUnknown); impl ISyncSessionExtendedErrorInfo { pub unsafe fn GetSyncProviderWithError(&self) -> windows_core::Result { @@ -2740,7 +2740,7 @@ pub struct ISyncSessionExtendedErrorInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSyncProviderWithError: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncSessionState, ISyncSessionState_Vtbl, 0xb8a940fe_9f01_483b_9434_c37d361225d9); +windows_core::imp::define_interface!(ISyncSessionState, ISyncSessionState_Vtbl, 0xb8a940fe_9f01_483b_9434_c37d361225d9); windows_core::imp::interface_hierarchy!(ISyncSessionState, windows_core::IUnknown); impl ISyncSessionState { pub unsafe fn IsCanceled(&self, pfiscanceled: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -2776,7 +2776,7 @@ pub struct ISyncSessionState_Vtbl { pub SetForgottenKnowledgeRecoveryRange: unsafe extern "system" fn(*mut core::ffi::c_void, *const SYNC_RANGE) -> windows_core::HRESULT, pub OnProgress: unsafe extern "system" fn(*mut core::ffi::c_void, SYNC_PROVIDER_ROLE, SYNC_PROGRESS_STAGE, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncSessionState2, ISyncSessionState2_Vtbl, 0x9e37cfa3_9e38_4c61_9ca3_ffe810b45ca2); +windows_core::imp::define_interface!(ISyncSessionState2, ISyncSessionState2_Vtbl, 0x9e37cfa3_9e38_4c61_9ca3_ffe810b45ca2); windows_core::imp::interface_hierarchy!(ISyncSessionState2, windows_core::IUnknown, ISyncSessionState); impl ISyncSessionState2 { pub unsafe fn IsCanceled(&self, pfiscanceled: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -2816,7 +2816,7 @@ pub struct ISyncSessionState2_Vtbl { pub SetProviderWithError: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetSessionErrorStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISynchronousDataRetriever, ISynchronousDataRetriever_Vtbl, 0x9b22f2a9_a4cd_4648_9d8e_3a510d4da04b); +windows_core::imp::define_interface!(ISynchronousDataRetriever, ISynchronousDataRetriever_Vtbl, 0x9b22f2a9_a4cd_4648_9d8e_3a510d4da04b); windows_core::imp::interface_hierarchy!(ISynchronousDataRetriever, windows_core::IUnknown); impl ISynchronousDataRetriever { pub unsafe fn GetIdParameters(&self, pidparameters: *mut ID_PARAMETERS) -> windows_core::Result<()> { diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs index 7d9932d4f6..0cedfabbc3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs @@ -3,7 +3,7 @@ pub unsafe fn MI_Application_InitializeV1(flags: u32, applicationid: Option<*con windows_targets::link!("mi.dll" "cdecl" fn MI_Application_InitializeV1(flags : u32, applicationid : *const u16, extendederror : *mut *mut MI_Instance, application : *mut MI_Application) -> MI_Result); MI_Application_InitializeV1(flags, core::mem::transmute(applicationid.unwrap_or(std::ptr::null())), core::mem::transmute(extendederror.unwrap_or(std::ptr::null_mut())), application) } -windows_core::imp::com_interface!(IEnumWbemClassObject, IEnumWbemClassObject_Vtbl, 0x027947e1_d731_11ce_a357_000000000001); +windows_core::imp::define_interface!(IEnumWbemClassObject, IEnumWbemClassObject_Vtbl, 0x027947e1_d731_11ce_a357_000000000001); windows_core::imp::interface_hierarchy!(IEnumWbemClassObject, windows_core::IUnknown); impl IEnumWbemClassObject { pub unsafe fn Reset(&self) -> windows_core::Result<()> { @@ -35,7 +35,7 @@ pub struct IEnumWbemClassObject_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMofCompiler, IMofCompiler_Vtbl, 0x6daf974e_2e37_11d2_aec9_00c04fb68820); +windows_core::imp::define_interface!(IMofCompiler, IMofCompiler_Vtbl, 0x6daf974e_2e37_11d2_aec9_00c04fb68820); windows_core::imp::interface_hierarchy!(IMofCompiler, windows_core::IUnknown); impl IMofCompiler { pub unsafe fn CompileFile(&self, filename: P0, serverandnamespace: P1, user: P2, authority: P3, password: P4, loptionflags: i32, lclassflags: i32, linstanceflags: i32, pinfo: *mut WBEM_COMPILE_STATUS_INFO) -> windows_core::Result<()> @@ -74,7 +74,7 @@ pub struct IMofCompiler_Vtbl { pub CreateBMOF: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, i32, i32, i32, *mut WBEM_COMPILE_STATUS_INFO) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemDateTime, ISWbemDateTime_Vtbl, 0x5e97458a_cf77_11d3_b38f_00105a1f473a); +windows_core::imp::define_interface!(ISWbemDateTime, ISWbemDateTime_Vtbl, 0x5e97458a_cf77_11d3_b38f_00105a1f473a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemDateTime, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -309,7 +309,7 @@ pub struct ISWbemDateTime_Vtbl { pub SetFileTime: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemEventSource, ISWbemEventSource_Vtbl, 0x27d54d92_0ebe_11d2_8b22_00600806d9b6); +windows_core::imp::define_interface!(ISWbemEventSource, ISWbemEventSource_Vtbl, 0x27d54d92_0ebe_11d2_8b22_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemEventSource, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -339,7 +339,7 @@ pub struct ISWbemEventSource_Vtbl { Security_: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemLastError, ISWbemLastError_Vtbl, 0xd962db84_d4bb_11d1_8b09_00600806d9b6); +windows_core::imp::define_interface!(ISWbemLastError, ISWbemLastError_Vtbl, 0xd962db84_d4bb_11d1_8b09_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemLastError, windows_core::IUnknown, super::Com::IDispatch, ISWbemObject); #[cfg(feature = "Win32_System_Com")] @@ -555,7 +555,7 @@ pub struct ISWbemLastError_Vtbl { pub base__: ISWbemObject_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemLocator, ISWbemLocator_Vtbl, 0x76a6415b_cb41_11d1_8b02_00600806d9b6); +windows_core::imp::define_interface!(ISWbemLocator, ISWbemLocator_Vtbl, 0x76a6415b_cb41_11d1_8b02_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemLocator, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -594,7 +594,7 @@ pub struct ISWbemLocator_Vtbl { Security_: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemMethod, ISWbemMethod_Vtbl, 0x422e8e90_d955_11d1_8b09_00600806d9b6); +windows_core::imp::define_interface!(ISWbemMethod, ISWbemMethod_Vtbl, 0x422e8e90_d955_11d1_8b09_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemMethod, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -643,7 +643,7 @@ pub struct ISWbemMethod_Vtbl { Qualifiers_: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemMethodSet, ISWbemMethodSet_Vtbl, 0xc93ba292_d955_11d1_8b09_00600806d9b6); +windows_core::imp::define_interface!(ISWbemMethodSet, ISWbemMethodSet_Vtbl, 0xc93ba292_d955_11d1_8b09_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemMethodSet, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -677,7 +677,7 @@ pub struct ISWbemMethodSet_Vtbl { pub Count: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemNamedValue, ISWbemNamedValue_Vtbl, 0x76a64164_cb41_11d1_8b02_00600806d9b6); +windows_core::imp::define_interface!(ISWbemNamedValue, ISWbemNamedValue_Vtbl, 0x76a64164_cb41_11d1_8b02_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemNamedValue, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -703,7 +703,7 @@ pub struct ISWbemNamedValue_Vtbl { pub Name: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemNamedValueSet, ISWbemNamedValueSet_Vtbl, 0xcf2376ea_ce8c_11d1_8b05_00600806d9b6); +windows_core::imp::define_interface!(ISWbemNamedValueSet, ISWbemNamedValueSet_Vtbl, 0xcf2376ea_ce8c_11d1_8b05_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemNamedValueSet, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -769,7 +769,7 @@ pub struct ISWbemNamedValueSet_Vtbl { pub DeleteAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemObject, ISWbemObject_Vtbl, 0x76a6415a_cb41_11d1_8b02_00600806d9b6); +windows_core::imp::define_interface!(ISWbemObject, ISWbemObject_Vtbl, 0x76a6415a_cb41_11d1_8b02_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemObject, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1079,7 +1079,7 @@ pub struct ISWbemObject_Vtbl { Security_: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemObjectEx, ISWbemObjectEx_Vtbl, 0x269ad56a_8a67_4129_bc8c_0506dcfe9880); +windows_core::imp::define_interface!(ISWbemObjectEx, ISWbemObjectEx_Vtbl, 0x269ad56a_8a67_4129_bc8c_0506dcfe9880); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemObjectEx, windows_core::IUnknown, super::Com::IDispatch, ISWbemObject); #[cfg(feature = "Win32_System_Com")] @@ -1339,7 +1339,7 @@ pub struct ISWbemObjectEx_Vtbl { SetFromText_: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemObjectPath, ISWbemObjectPath_Vtbl, 0x5791bc27_ce9c_11d1_97bf_0000f81e849c); +windows_core::imp::define_interface!(ISWbemObjectPath, ISWbemObjectPath_Vtbl, 0x5791bc27_ce9c_11d1_97bf_0000f81e849c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemObjectPath, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1488,7 +1488,7 @@ pub struct ISWbemObjectPath_Vtbl { pub SetAuthority: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemObjectSet, ISWbemObjectSet_Vtbl, 0x76a6415f_cb41_11d1_8b02_00600806d9b6); +windows_core::imp::define_interface!(ISWbemObjectSet, ISWbemObjectSet_Vtbl, 0x76a6415f_cb41_11d1_8b02_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemObjectSet, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1540,7 +1540,7 @@ pub struct ISWbemObjectSet_Vtbl { ItemIndex: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemPrivilege, ISWbemPrivilege_Vtbl, 0x26ee67bd_5804_11d2_8b4a_00600806d9b6); +windows_core::imp::define_interface!(ISWbemPrivilege, ISWbemPrivilege_Vtbl, 0x26ee67bd_5804_11d2_8b4a_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemPrivilege, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1579,7 +1579,7 @@ pub struct ISWbemPrivilege_Vtbl { pub Identifier: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WbemPrivilegeEnum) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemPrivilegeSet, ISWbemPrivilegeSet_Vtbl, 0x26ee67bf_5804_11d2_8b4a_00600806d9b6); +windows_core::imp::define_interface!(ISWbemPrivilegeSet, ISWbemPrivilegeSet_Vtbl, 0x26ee67bf_5804_11d2_8b4a_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemPrivilegeSet, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1643,7 +1643,7 @@ pub struct ISWbemPrivilegeSet_Vtbl { AddAsString: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemProperty, ISWbemProperty_Vtbl, 0x1a388f98_d4ba_11d1_8b09_00600806d9b6); +windows_core::imp::define_interface!(ISWbemProperty, ISWbemProperty_Vtbl, 0x1a388f98_d4ba_11d1_8b09_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemProperty, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1698,7 +1698,7 @@ pub struct ISWbemProperty_Vtbl { pub IsArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemPropertySet, ISWbemPropertySet_Vtbl, 0xdea0a7b2_d4ba_11d1_8b09_00600806d9b6); +windows_core::imp::define_interface!(ISWbemPropertySet, ISWbemPropertySet_Vtbl, 0xdea0a7b2_d4ba_11d1_8b09_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemPropertySet, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1752,7 +1752,7 @@ pub struct ISWbemPropertySet_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemQualifier, ISWbemQualifier_Vtbl, 0x79b05932_d3b7_11d1_8b06_00600806d9b6); +windows_core::imp::define_interface!(ISWbemQualifier, ISWbemQualifier_Vtbl, 0x79b05932_d3b7_11d1_8b06_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemQualifier, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1824,7 +1824,7 @@ pub struct ISWbemQualifier_Vtbl { pub IsAmended: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemQualifierSet, ISWbemQualifierSet_Vtbl, 0x9b16ed16_d3df_11d1_8b08_00600806d9b6); +windows_core::imp::define_interface!(ISWbemQualifierSet, ISWbemQualifierSet_Vtbl, 0x9b16ed16_d3df_11d1_8b08_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemQualifierSet, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1880,7 +1880,7 @@ pub struct ISWbemQualifierSet_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemRefreshableItem, ISWbemRefreshableItem_Vtbl, 0x5ad4bf92_daab_11d3_b38f_00105a1f473a); +windows_core::imp::define_interface!(ISWbemRefreshableItem, ISWbemRefreshableItem_Vtbl, 0x5ad4bf92_daab_11d3_b38f_00105a1f473a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemRefreshableItem, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1933,7 +1933,7 @@ pub struct ISWbemRefreshableItem_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemRefresher, ISWbemRefresher_Vtbl, 0x14d8250e_d9c2_11d3_b38f_00105a1f473a); +windows_core::imp::define_interface!(ISWbemRefresher, ISWbemRefresher_Vtbl, 0x14d8250e_d9c2_11d3_b38f_00105a1f473a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemRefresher, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2016,7 +2016,7 @@ pub struct ISWbemRefresher_Vtbl { pub DeleteAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemSecurity, ISWbemSecurity_Vtbl, 0xb54d66e6_2287_11d2_8b33_00600806d9b6); +windows_core::imp::define_interface!(ISWbemSecurity, ISWbemSecurity_Vtbl, 0xb54d66e6_2287_11d2_8b33_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemSecurity, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2055,7 +2055,7 @@ pub struct ISWbemSecurity_Vtbl { Privileges: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemServices, ISWbemServices_Vtbl, 0x76a6415c_cb41_11d1_8b02_00600806d9b6); +windows_core::imp::define_interface!(ISWbemServices, ISWbemServices_Vtbl, 0x76a6415c_cb41_11d1_8b02_00600806d9b6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemServices, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2352,7 +2352,7 @@ pub struct ISWbemServices_Vtbl { Security_: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemServicesEx, ISWbemServicesEx_Vtbl, 0xd2f68443_85dc_427e_91d8_366554cc754c); +windows_core::imp::define_interface!(ISWbemServicesEx, ISWbemServicesEx_Vtbl, 0xd2f68443_85dc_427e_91d8_366554cc754c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemServicesEx, windows_core::IUnknown, super::Com::IDispatch, ISWbemServices); #[cfg(feature = "Win32_System_Com")] @@ -2600,7 +2600,7 @@ pub struct ISWbemServicesEx_Vtbl { PutAsync: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemSink, ISWbemSink_Vtbl, 0x75718c9f_f029_11d1_a1ac_00c04fb6c223); +windows_core::imp::define_interface!(ISWbemSink, ISWbemSink_Vtbl, 0x75718c9f_f029_11d1_a1ac_00c04fb6c223); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemSink, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2616,7 +2616,7 @@ pub struct ISWbemSink_Vtbl { pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISWbemSinkEvents, ISWbemSinkEvents_Vtbl, 0x75718ca0_f029_11d1_a1ac_00c04fb6c223); +windows_core::imp::define_interface!(ISWbemSinkEvents, ISWbemSinkEvents_Vtbl, 0x75718ca0_f029_11d1_a1ac_00c04fb6c223); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISWbemSinkEvents, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2626,7 +2626,7 @@ impl ISWbemSinkEvents {} pub struct ISWbemSinkEvents_Vtbl { pub base__: super::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(IUnsecuredApartment, IUnsecuredApartment_Vtbl, 0x1cfaba8c_1523_11d1_ad79_00c04fd8fdff); +windows_core::imp::define_interface!(IUnsecuredApartment, IUnsecuredApartment_Vtbl, 0x1cfaba8c_1523_11d1_ad79_00c04fd8fdff); windows_core::imp::interface_hierarchy!(IUnsecuredApartment, windows_core::IUnknown); impl IUnsecuredApartment { pub unsafe fn CreateObjectStub(&self, pobject: P0) -> windows_core::Result @@ -2643,7 +2643,7 @@ pub struct IUnsecuredApartment_Vtbl { pub CreateObjectStub: 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 = "Win32_System_Com")] -windows_core::imp::com_interface!(IWMIExtension, IWMIExtension_Vtbl, 0xadc1f06e_5c7e_11d2_8b74_00104b2afb41); +windows_core::imp::define_interface!(IWMIExtension, IWMIExtension_Vtbl, 0xadc1f06e_5c7e_11d2_8b74_00104b2afb41); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWMIExtension, windows_core::IUnknown, super::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2677,7 +2677,7 @@ pub struct IWMIExtension_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetWMIServices: usize, } -windows_core::imp::com_interface!(IWbemAddressResolution, IWbemAddressResolution_Vtbl, 0xf7ce2e12_8c90_11d1_9e7b_00c04fc324a8); +windows_core::imp::define_interface!(IWbemAddressResolution, IWbemAddressResolution_Vtbl, 0xf7ce2e12_8c90_11d1_9e7b_00c04fc324a8); windows_core::imp::interface_hierarchy!(IWbemAddressResolution, windows_core::IUnknown); impl IWbemAddressResolution { pub unsafe fn Resolve(&self, wsznamespacepath: P0, wszaddresstype: windows_core::PWSTR, pdwaddresslength: *mut u32, pabbinaryaddress: *mut *mut u8) -> windows_core::Result<()> @@ -2692,7 +2692,7 @@ pub struct IWbemAddressResolution_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PWSTR, *mut u32, *mut *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemBackupRestore, IWbemBackupRestore_Vtbl, 0xc49e32c7_bc8b_11d2_85d4_00105a1f8304); +windows_core::imp::define_interface!(IWbemBackupRestore, IWbemBackupRestore_Vtbl, 0xc49e32c7_bc8b_11d2_85d4_00105a1f8304); windows_core::imp::interface_hierarchy!(IWbemBackupRestore, windows_core::IUnknown); impl IWbemBackupRestore { pub unsafe fn Backup(&self, strbackuptofile: P0, lflags: i32) -> windows_core::Result<()> @@ -2714,7 +2714,7 @@ pub struct IWbemBackupRestore_Vtbl { pub Backup: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, pub Restore: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemBackupRestoreEx, IWbemBackupRestoreEx_Vtbl, 0xa359dec5_e813_4834_8a2a_ba7f1d777d76); +windows_core::imp::define_interface!(IWbemBackupRestoreEx, IWbemBackupRestoreEx_Vtbl, 0xa359dec5_e813_4834_8a2a_ba7f1d777d76); windows_core::imp::interface_hierarchy!(IWbemBackupRestoreEx, windows_core::IUnknown, IWbemBackupRestore); impl IWbemBackupRestoreEx { pub unsafe fn Backup(&self, strbackuptofile: P0, lflags: i32) -> windows_core::Result<()> @@ -2742,7 +2742,7 @@ pub struct IWbemBackupRestoreEx_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, } -windows_core::imp::com_interface!(IWbemCallResult, IWbemCallResult_Vtbl, 0x44aca675_e8fc_11d0_a07c_00c04fb68820); +windows_core::imp::define_interface!(IWbemCallResult, IWbemCallResult_Vtbl, 0x44aca675_e8fc_11d0_a07c_00c04fb68820); windows_core::imp::interface_hierarchy!(IWbemCallResult, windows_core::IUnknown); impl IWbemCallResult { pub unsafe fn GetResultObject(&self, ltimeout: i32) -> windows_core::Result { @@ -2770,7 +2770,7 @@ pub struct IWbemCallResult_Vtbl { 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, } -windows_core::imp::com_interface!(IWbemClassObject, IWbemClassObject_Vtbl, 0xdc12a681_737f_11cf_884d_00aa004b2e24); +windows_core::imp::define_interface!(IWbemClassObject, IWbemClassObject_Vtbl, 0xdc12a681_737f_11cf_884d_00aa004b2e24); windows_core::imp::interface_hierarchy!(IWbemClassObject, windows_core::IUnknown); impl IWbemClassObject { pub unsafe fn GetQualifierSet(&self) -> windows_core::Result { @@ -2929,7 +2929,7 @@ pub struct IWbemClassObject_Vtbl { 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, } -windows_core::imp::com_interface!(IWbemClientConnectionTransport, IWbemClientConnectionTransport_Vtbl, 0xa889c72a_fcc1_4a9e_af61_ed071333fb5b); +windows_core::imp::define_interface!(IWbemClientConnectionTransport, IWbemClientConnectionTransport_Vtbl, 0xa889c72a_fcc1_4a9e_af61_ed071333fb5b); windows_core::imp::interface_hierarchy!(IWbemClientConnectionTransport, windows_core::IUnknown); impl IWbemClientConnectionTransport { pub unsafe fn Open(&self, straddresstype: P0, abbinaryaddress: &[u8], strobject: P1, struser: P2, strpassword: P3, strlocale: P4, lflags: i32, pctx: P5, pcallres: *mut Option) -> windows_core::Result @@ -2971,7 +2971,7 @@ pub struct IWbemClientConnectionTransport_Vtbl { 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 Cancel: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemClientTransport, IWbemClientTransport_Vtbl, 0xf7ce2e11_8c90_11d1_9e7b_00c04fc324a8); +windows_core::imp::define_interface!(IWbemClientTransport, IWbemClientTransport_Vtbl, 0xf7ce2e11_8c90_11d1_9e7b_00c04fc324a8); windows_core::imp::interface_hierarchy!(IWbemClientTransport, windows_core::IUnknown); impl IWbemClientTransport { pub unsafe fn ConnectServer(&self, straddresstype: P0, abbinaryaddress: &[u8], strnetworkresource: P1, struser: P2, strpassword: P3, strlocale: P4, lsecurityflags: i32, strauthority: P5, pctx: P6) -> windows_core::Result @@ -2993,7 +2993,7 @@ 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, } -windows_core::imp::com_interface!(IWbemConfigureRefresher, IWbemConfigureRefresher_Vtbl, 0x49353c92_516b_11d1_aea6_00c04fb68820); +windows_core::imp::define_interface!(IWbemConfigureRefresher, IWbemConfigureRefresher_Vtbl, 0x49353c92_516b_11d1_aea6_00c04fb68820); windows_core::imp::interface_hierarchy!(IWbemConfigureRefresher, windows_core::IUnknown); impl IWbemConfigureRefresher { pub unsafe fn AddObjectByPath(&self, pnamespace: P0, wszpath: P1, lflags: i32, pcontext: P2, pprefreshable: *mut Option, plid: *mut i32) -> windows_core::Result<()> @@ -3039,7 +3039,7 @@ pub struct IWbemConfigureRefresher_Vtbl { pub Remove: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub AddEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemConnectorLogin, IWbemConnectorLogin_Vtbl, 0xd8ec9cb1_b135_4f10_8b1b_c7188bb0d186); +windows_core::imp::define_interface!(IWbemConnectorLogin, IWbemConnectorLogin_Vtbl, 0xd8ec9cb1_b135_4f10_8b1b_c7188bb0d186); windows_core::imp::interface_hierarchy!(IWbemConnectorLogin, windows_core::IUnknown); impl IWbemConnectorLogin { pub unsafe fn ConnectorLogin(&self, wsznetworkresource: P0, wszpreferredlocale: P1, lflags: i32, pctx: P2) -> windows_core::Result @@ -3058,7 +3058,7 @@ pub struct IWbemConnectorLogin_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ConnectorLogin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, i32, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemConstructClassObject, IWbemConstructClassObject_Vtbl, 0x9ef76194_70d5_11d1_ad90_00c04fd8fdff); +windows_core::imp::define_interface!(IWbemConstructClassObject, IWbemConstructClassObject_Vtbl, 0x9ef76194_70d5_11d1_ad90_00c04fd8fdff); windows_core::imp::interface_hierarchy!(IWbemConstructClassObject, windows_core::IUnknown); impl IWbemConstructClassObject { pub unsafe fn SetInheritanceChain(&self, lnumantecedents: i32, awszantecedents: *const windows_core::PCWSTR) -> windows_core::Result<()> { @@ -3092,7 +3092,7 @@ pub struct IWbemConstructClassObject_Vtbl { pub SetMethodOrigin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, pub SetServerNamespace: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemContext, IWbemContext_Vtbl, 0x44aca674_e8fc_11d0_a07c_00c04fb68820); +windows_core::imp::define_interface!(IWbemContext, IWbemContext_Vtbl, 0x44aca674_e8fc_11d0_a07c_00c04fb68820); windows_core::imp::interface_hierarchy!(IWbemContext, windows_core::IUnknown); impl IWbemContext { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -3152,7 +3152,7 @@ pub struct IWbemContext_Vtbl { 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, } -windows_core::imp::com_interface!(IWbemDecoupledBasicEventProvider, IWbemDecoupledBasicEventProvider_Vtbl, 0x86336d20_ca11_4786_9ef1_bc8a946b42fc); +windows_core::imp::define_interface!(IWbemDecoupledBasicEventProvider, IWbemDecoupledBasicEventProvider_Vtbl, 0x86336d20_ca11_4786_9ef1_bc8a946b42fc); windows_core::imp::interface_hierarchy!(IWbemDecoupledBasicEventProvider, windows_core::IUnknown, IWbemDecoupledRegistrar); impl IWbemDecoupledBasicEventProvider { pub unsafe fn Register(&self, a_flags: i32, a_context: P0, a_user: P1, a_locale: P2, a_scope: P3, a_registration: P4, piunknown: P5) -> windows_core::Result<()> @@ -3190,7 +3190,7 @@ pub struct IWbemDecoupledBasicEventProvider_Vtbl { pub GetSink: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetService: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemDecoupledRegistrar, IWbemDecoupledRegistrar_Vtbl, 0x1005cbcf_e64f_4646_bcd3_3a089d8a84b4); +windows_core::imp::define_interface!(IWbemDecoupledRegistrar, IWbemDecoupledRegistrar_Vtbl, 0x1005cbcf_e64f_4646_bcd3_3a089d8a84b4); windows_core::imp::interface_hierarchy!(IWbemDecoupledRegistrar, windows_core::IUnknown); impl IWbemDecoupledRegistrar { pub unsafe fn Register(&self, a_flags: i32, a_context: P0, a_user: P1, a_locale: P2, a_scope: P3, a_registration: P4, piunknown: P5) -> windows_core::Result<()> @@ -3214,7 +3214,7 @@ pub struct IWbemDecoupledRegistrar_Vtbl { pub Register: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnRegister: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemEventConsumerProvider, IWbemEventConsumerProvider_Vtbl, 0xe246107a_b06e_11d0_ad61_00c04fd8fdff); +windows_core::imp::define_interface!(IWbemEventConsumerProvider, IWbemEventConsumerProvider_Vtbl, 0xe246107a_b06e_11d0_ad61_00c04fd8fdff); windows_core::imp::interface_hierarchy!(IWbemEventConsumerProvider, windows_core::IUnknown); impl IWbemEventConsumerProvider { pub unsafe fn FindConsumer(&self, plogicalconsumer: P0) -> windows_core::Result @@ -3230,7 +3230,7 @@ pub struct IWbemEventConsumerProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub FindConsumer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemEventProvider, IWbemEventProvider_Vtbl, 0xe245105b_b06e_11d0_ad61_00c04fd8fdff); +windows_core::imp::define_interface!(IWbemEventProvider, IWbemEventProvider_Vtbl, 0xe245105b_b06e_11d0_ad61_00c04fd8fdff); windows_core::imp::interface_hierarchy!(IWbemEventProvider, windows_core::IUnknown); impl IWbemEventProvider { pub unsafe fn ProvideEvents(&self, psink: P0, lflags: i32) -> windows_core::Result<()> @@ -3245,7 +3245,7 @@ pub struct IWbemEventProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ProvideEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemEventProviderQuerySink, IWbemEventProviderQuerySink_Vtbl, 0x580acaf8_fa1c_11d0_ad72_00c04fd8fdff); +windows_core::imp::define_interface!(IWbemEventProviderQuerySink, IWbemEventProviderQuerySink_Vtbl, 0x580acaf8_fa1c_11d0_ad72_00c04fd8fdff); windows_core::imp::interface_hierarchy!(IWbemEventProviderQuerySink, windows_core::IUnknown); impl IWbemEventProviderQuerySink { pub unsafe fn NewQuery(&self, dwid: u32, wszquerylanguage: *const u16, wszquery: *const u16) -> windows_core::Result<()> { @@ -3261,7 +3261,7 @@ pub struct IWbemEventProviderQuerySink_Vtbl { pub NewQuery: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u16, *const u16) -> windows_core::HRESULT, pub CancelQuery: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemEventProviderSecurity, IWbemEventProviderSecurity_Vtbl, 0x631f7d96_d993_11d2_b339_00105a1f4aaf); +windows_core::imp::define_interface!(IWbemEventProviderSecurity, IWbemEventProviderSecurity_Vtbl, 0x631f7d96_d993_11d2_b339_00105a1f4aaf); windows_core::imp::interface_hierarchy!(IWbemEventProviderSecurity, windows_core::IUnknown); impl IWbemEventProviderSecurity { pub unsafe fn AccessCheck(&self, wszquerylanguage: *const u16, wszquery: *const u16, psid: &[u8]) -> windows_core::Result<()> { @@ -3273,7 +3273,7 @@ pub struct IWbemEventProviderSecurity_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AccessCheck: unsafe extern "system" fn(*mut core::ffi::c_void, *const u16, *const u16, i32, *const u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemEventSink, IWbemEventSink_Vtbl, 0x3ae0080a_7e3a_4366_bf89_0feedc931659); +windows_core::imp::define_interface!(IWbemEventSink, IWbemEventSink_Vtbl, 0x3ae0080a_7e3a_4366_bf89_0feedc931659); windows_core::imp::interface_hierarchy!(IWbemEventSink, windows_core::IUnknown, IWbemObjectSink); impl IWbemEventSink { pub unsafe fn Indicate(&self, apobjarray: &[Option]) -> windows_core::Result<()> { @@ -3311,7 +3311,7 @@ pub struct IWbemEventSink_Vtbl { pub GetRestrictedSink: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *const windows_core::PCWSTR, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetBatchingParameters: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemHiPerfEnum, IWbemHiPerfEnum_Vtbl, 0x2705c288_79ae_11d2_b348_00105a1f8177); +windows_core::imp::define_interface!(IWbemHiPerfEnum, IWbemHiPerfEnum_Vtbl, 0x2705c288_79ae_11d2_b348_00105a1f8177); windows_core::imp::interface_hierarchy!(IWbemHiPerfEnum, windows_core::IUnknown); impl IWbemHiPerfEnum { pub unsafe fn AddObjects(&self, lflags: i32, unumobjects: u32, apids: *const i32, apobj: *const Option) -> windows_core::Result<()> { @@ -3335,7 +3335,7 @@ pub struct IWbemHiPerfEnum_Vtbl { pub GetObjects: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemHiPerfProvider, IWbemHiPerfProvider_Vtbl, 0x49353c93_516b_11d1_aea6_00c04fb68820); +windows_core::imp::define_interface!(IWbemHiPerfProvider, IWbemHiPerfProvider_Vtbl, 0x49353c93_516b_11d1_aea6_00c04fb68820); windows_core::imp::interface_hierarchy!(IWbemHiPerfProvider, windows_core::IUnknown); impl IWbemHiPerfProvider { pub unsafe fn QueryInstances(&self, pnamespace: P0, wszclass: P1, lflags: i32, pctx: P2, psink: P3) -> windows_core::Result<()> @@ -3398,7 +3398,7 @@ pub struct IWbemHiPerfProvider_Vtbl { pub CreateRefreshableEnum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, i32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub GetObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemLevel1Login, IWbemLevel1Login_Vtbl, 0xf309ad18_d86a_11d0_a075_00c04fb68820); +windows_core::imp::define_interface!(IWbemLevel1Login, IWbemLevel1Login_Vtbl, 0xf309ad18_d86a_11d0_a075_00c04fb68820); windows_core::imp::interface_hierarchy!(IWbemLevel1Login, windows_core::IUnknown); impl IWbemLevel1Login { pub unsafe fn EstablishPosition(&self, wszlocalelist: P0, dwnumlocales: u32) -> windows_core::Result @@ -3442,7 +3442,7 @@ pub struct IWbemLevel1Login_Vtbl { pub WBEMLogin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const u8, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub NTLMLogin: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, i32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemLocator, IWbemLocator_Vtbl, 0xdc12a687_737f_11cf_884d_00aa004b2e24); +windows_core::imp::define_interface!(IWbemLocator, IWbemLocator_Vtbl, 0xdc12a687_737f_11cf_884d_00aa004b2e24); windows_core::imp::interface_hierarchy!(IWbemLocator, windows_core::IUnknown); impl IWbemLocator { pub unsafe fn ConnectServer(&self, strnetworkresource: P0, struser: P1, strpassword: P2, strlocale: P3, lsecurityflags: i32, strauthority: P4, pctx: P5) -> windows_core::Result @@ -3463,7 +3463,7 @@ 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, } -windows_core::imp::com_interface!(IWbemObjectAccess, IWbemObjectAccess_Vtbl, 0x49353c9a_516b_11d1_aea6_00c04fb68820); +windows_core::imp::define_interface!(IWbemObjectAccess, IWbemObjectAccess_Vtbl, 0x49353c9a_516b_11d1_aea6_00c04fb68820); windows_core::imp::interface_hierarchy!(IWbemObjectAccess, windows_core::IUnknown, IWbemClassObject); impl IWbemObjectAccess { pub unsafe fn GetQualifierSet(&self) -> windows_core::Result { @@ -3640,7 +3640,7 @@ pub struct IWbemObjectAccess_Vtbl { 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, } -windows_core::imp::com_interface!(IWbemObjectSink, IWbemObjectSink_Vtbl, 0x7c857801_7381_11cf_884d_00aa004b2e24); +windows_core::imp::define_interface!(IWbemObjectSink, IWbemObjectSink_Vtbl, 0x7c857801_7381_11cf_884d_00aa004b2e24); windows_core::imp::interface_hierarchy!(IWbemObjectSink, windows_core::IUnknown); impl IWbemObjectSink { pub unsafe fn Indicate(&self, apobjarray: &[Option]) -> windows_core::Result<()> { @@ -3660,7 +3660,7 @@ pub struct IWbemObjectSink_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, } -windows_core::imp::com_interface!(IWbemObjectSinkEx, IWbemObjectSinkEx_Vtbl, 0xe7d35cfa_348b_485e_b524_252725d697ca); +windows_core::imp::define_interface!(IWbemObjectSinkEx, IWbemObjectSinkEx_Vtbl, 0xe7d35cfa_348b_485e_b524_252725d697ca); windows_core::imp::interface_hierarchy!(IWbemObjectSinkEx, windows_core::IUnknown, IWbemObjectSink); impl IWbemObjectSinkEx { pub unsafe fn Indicate(&self, apobjarray: &[Option]) -> windows_core::Result<()> { @@ -3717,7 +3717,7 @@ pub struct IWbemObjectSinkEx_Vtbl { 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, } -windows_core::imp::com_interface!(IWbemObjectTextSrc, IWbemObjectTextSrc_Vtbl, 0xbfbf883a_cad7_11d3_a11b_00105a1f515a); +windows_core::imp::define_interface!(IWbemObjectTextSrc, IWbemObjectTextSrc_Vtbl, 0xbfbf883a_cad7_11d3_a11b_00105a1f515a); windows_core::imp::interface_hierarchy!(IWbemObjectTextSrc, windows_core::IUnknown); impl IWbemObjectTextSrc { pub unsafe fn GetText(&self, lflags: i32, pobj: P0, uobjtextformat: u32, pctx: P1) -> windows_core::Result @@ -3743,7 +3743,7 @@ pub struct IWbemObjectTextSrc_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, } -windows_core::imp::com_interface!(IWbemPath, IWbemPath_Vtbl, 0x3bc15af2_736c_477e_9e51_238af8667dcc); +windows_core::imp::define_interface!(IWbemPath, IWbemPath_Vtbl, 0x3bc15af2_736c_477e_9e51_238af8667dcc); windows_core::imp::interface_hierarchy!(IWbemPath, windows_core::IUnknown); impl IWbemPath { pub unsafe fn SetText(&self, umode: u32, pszpath: P0) -> windows_core::Result<()> @@ -3894,7 +3894,7 @@ pub struct IWbemPath_Vtbl { pub IsLocal: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> super::super::Foundation::BOOL, pub IsSameClassName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> super::super::Foundation::BOOL, } -windows_core::imp::com_interface!(IWbemPathKeyList, IWbemPathKeyList_Vtbl, 0x9ae62877_7544_4bb0_aa26_a13824659ed6); +windows_core::imp::define_interface!(IWbemPathKeyList, IWbemPathKeyList_Vtbl, 0x9ae62877_7544_4bb0_aa26_a13824659ed6); windows_core::imp::interface_hierarchy!(IWbemPathKeyList, windows_core::IUnknown); impl IWbemPathKeyList { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -3953,7 +3953,7 @@ pub struct IWbemPathKeyList_Vtbl { pub GetInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u64) -> windows_core::HRESULT, pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut u32, windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemPropertyProvider, IWbemPropertyProvider_Vtbl, 0xce61e841_65bc_11d0_b6bd_00aa003240c7); +windows_core::imp::define_interface!(IWbemPropertyProvider, IWbemPropertyProvider_Vtbl, 0xce61e841_65bc_11d0_b6bd_00aa003240c7); windows_core::imp::interface_hierarchy!(IWbemPropertyProvider, windows_core::IUnknown); impl IWbemPropertyProvider { pub unsafe fn GetProperty(&self, lflags: i32, strlocale: P0, strclassmapping: P1, strinstmapping: P2, strpropmapping: P3) -> windows_core::Result @@ -3982,7 +3982,7 @@ pub struct IWbemPropertyProvider_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, } -windows_core::imp::com_interface!(IWbemProviderIdentity, IWbemProviderIdentity_Vtbl, 0x631f7d97_d993_11d2_b339_00105a1f4aaf); +windows_core::imp::define_interface!(IWbemProviderIdentity, IWbemProviderIdentity_Vtbl, 0x631f7d97_d993_11d2_b339_00105a1f4aaf); windows_core::imp::interface_hierarchy!(IWbemProviderIdentity, windows_core::IUnknown); impl IWbemProviderIdentity { pub unsafe fn SetRegistrationObject(&self, lflags: i32, pprovreg: P0) -> windows_core::Result<()> @@ -3997,7 +3997,7 @@ pub struct IWbemProviderIdentity_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetRegistrationObject: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemProviderInit, IWbemProviderInit_Vtbl, 0x1be41572_91dd_11d1_aeb2_00c04fb68820); +windows_core::imp::define_interface!(IWbemProviderInit, IWbemProviderInit_Vtbl, 0x1be41572_91dd_11d1_aeb2_00c04fb68820); windows_core::imp::interface_hierarchy!(IWbemProviderInit, windows_core::IUnknown); impl IWbemProviderInit { pub unsafe fn Initialize(&self, wszuser: P0, lflags: i32, wsznamespace: P1, wszlocale: P2, pnamespace: P3, pctx: P4, pinitsink: P5) -> windows_core::Result<()> @@ -4017,7 +4017,7 @@ pub struct IWbemProviderInit_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemProviderInitSink, IWbemProviderInitSink_Vtbl, 0x1be41571_91dd_11d1_aeb2_00c04fb68820); +windows_core::imp::define_interface!(IWbemProviderInitSink, IWbemProviderInitSink_Vtbl, 0x1be41571_91dd_11d1_aeb2_00c04fb68820); windows_core::imp::interface_hierarchy!(IWbemProviderInitSink, windows_core::IUnknown); impl IWbemProviderInitSink { pub unsafe fn SetStatus(&self, lstatus: i32, lflags: i32) -> windows_core::Result<()> { @@ -4029,7 +4029,7 @@ pub struct IWbemProviderInitSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemQualifierSet, IWbemQualifierSet_Vtbl, 0xdc12a680_737f_11cf_884d_00aa004b2e24); +windows_core::imp::define_interface!(IWbemQualifierSet, IWbemQualifierSet_Vtbl, 0xdc12a680_737f_11cf_884d_00aa004b2e24); windows_core::imp::interface_hierarchy!(IWbemQualifierSet, windows_core::IUnknown); impl IWbemQualifierSet { pub unsafe fn Get(&self, wszname: P0, lflags: i32, pval: *mut windows_core::VARIANT, plflavor: *mut i32) -> windows_core::Result<()> @@ -4079,7 +4079,7 @@ pub struct IWbemQualifierSet_Vtbl { 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 EndEnumeration: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemQuery, IWbemQuery_Vtbl, 0x81166f58_dd98_11d3_a120_00105a1f515a); +windows_core::imp::define_interface!(IWbemQuery, IWbemQuery_Vtbl, 0x81166f58_dd98_11d3_a120_00105a1f515a); windows_core::imp::interface_hierarchy!(IWbemQuery, windows_core::IUnknown); impl IWbemQuery { pub unsafe fn Empty(&self) -> windows_core::Result<()> { @@ -4119,7 +4119,7 @@ pub struct IWbemQuery_Vtbl { pub FreeMemory: unsafe extern "system" fn(*mut core::ffi::c_void, *const core::ffi::c_void) -> windows_core::HRESULT, pub GetQueryInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemRefresher, IWbemRefresher_Vtbl, 0x49353c99_516b_11d1_aea6_00c04fb68820); +windows_core::imp::define_interface!(IWbemRefresher, IWbemRefresher_Vtbl, 0x49353c99_516b_11d1_aea6_00c04fb68820); windows_core::imp::interface_hierarchy!(IWbemRefresher, windows_core::IUnknown); impl IWbemRefresher { pub unsafe fn Refresh(&self, lflags: i32) -> windows_core::Result<()> { @@ -4131,7 +4131,7 @@ pub struct IWbemRefresher_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemServices, IWbemServices_Vtbl, 0x9556dc99_828c_11cf_a37e_00aa003240c7); +windows_core::imp::define_interface!(IWbemServices, IWbemServices_Vtbl, 0x9556dc99_828c_11cf_a37e_00aa003240c7); windows_core::imp::interface_hierarchy!(IWbemServices, windows_core::IUnknown); impl IWbemServices { pub unsafe fn OpenNamespace(&self, strnamespace: P0, lflags: WBEM_GENERIC_FLAG_TYPE, pctx: P1, ppworkingnamespace: Option<*mut Option>, ppresult: Option<*mut Option>) -> windows_core::Result<()> @@ -4341,7 +4341,7 @@ pub struct IWbemServices_Vtbl { 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, } -windows_core::imp::com_interface!(IWbemShutdown, IWbemShutdown_Vtbl, 0xb7b31df9_d515_11d3_a11c_00105a1f515a); +windows_core::imp::define_interface!(IWbemShutdown, IWbemShutdown_Vtbl, 0xb7b31df9_d515_11d3_a11c_00105a1f515a); windows_core::imp::interface_hierarchy!(IWbemShutdown, windows_core::IUnknown); impl IWbemShutdown { pub unsafe fn Shutdown(&self, ureason: i32, umaxmilliseconds: u32, pctx: P0) -> windows_core::Result<()> @@ -4356,7 +4356,7 @@ pub struct IWbemShutdown_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void, i32, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemStatusCodeText, IWbemStatusCodeText_Vtbl, 0xeb87e1bc_3233_11d2_aec9_00c04fb68820); +windows_core::imp::define_interface!(IWbemStatusCodeText, IWbemStatusCodeText_Vtbl, 0xeb87e1bc_3233_11d2_aec9_00c04fb68820); 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 { @@ -4374,7 +4374,7 @@ pub struct IWbemStatusCodeText_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, } -windows_core::imp::com_interface!(IWbemTransport, IWbemTransport_Vtbl, 0x553fe584_2156_11d0_b6ae_00aa003240c7); +windows_core::imp::define_interface!(IWbemTransport, IWbemTransport_Vtbl, 0x553fe584_2156_11d0_b6ae_00aa003240c7); windows_core::imp::interface_hierarchy!(IWbemTransport, windows_core::IUnknown); impl IWbemTransport { pub unsafe fn Initialize(&self) -> windows_core::Result<()> { @@ -4386,7 +4386,7 @@ pub struct IWbemTransport_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemUnboundObjectSink, IWbemUnboundObjectSink_Vtbl, 0xe246107b_b06e_11d0_ad61_00c04fd8fdff); +windows_core::imp::define_interface!(IWbemUnboundObjectSink, IWbemUnboundObjectSink_Vtbl, 0xe246107b_b06e_11d0_ad61_00c04fd8fdff); windows_core::imp::interface_hierarchy!(IWbemUnboundObjectSink, windows_core::IUnknown); impl IWbemUnboundObjectSink { pub unsafe fn IndicateToConsumer(&self, plogicalconsumer: P0, apobjects: &[Option]) -> windows_core::Result<()> @@ -4401,7 +4401,7 @@ pub struct IWbemUnboundObjectSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IndicateToConsumer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, *const *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWbemUnsecuredApartment, IWbemUnsecuredApartment_Vtbl, 0x31739d04_3471_4cf4_9a7c_57a44ae71956); +windows_core::imp::define_interface!(IWbemUnsecuredApartment, IWbemUnsecuredApartment_Vtbl, 0x31739d04_3471_4cf4_9a7c_57a44ae71956); windows_core::imp::interface_hierarchy!(IWbemUnsecuredApartment, windows_core::IUnknown, IUnsecuredApartment); impl IWbemUnsecuredApartment { pub unsafe fn CreateObjectStub(&self, pobject: P0) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs index 1978c4889c..83c1194b8d 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/mod.rs @@ -982,7 +982,7 @@ where windows_targets::link!("uiautomationcore.dll" "system" fn WindowPattern_WaitForInputIdle(hobj : HUIAPATTERNOBJECT, milliseconds : i32, presult : *mut super::super::Foundation:: BOOL) -> windows_core::HRESULT); WindowPattern_WaitForInputIdle(hobj.into_param().abi(), milliseconds, presult).ok() } -windows_core::imp::com_interface!(IAccIdentity, IAccIdentity_Vtbl, 0x7852b78d_1cfd_41c1_a615_9c0c85960b5f); +windows_core::imp::define_interface!(IAccIdentity, IAccIdentity_Vtbl, 0x7852b78d_1cfd_41c1_a615_9c0c85960b5f); windows_core::imp::interface_hierarchy!(IAccIdentity, windows_core::IUnknown); impl IAccIdentity { pub unsafe fn GetIdentityString(&self, dwidchild: u32, ppidstring: *mut *mut u8, pdwidstringlen: *mut u32) -> windows_core::Result<()> { @@ -994,7 +994,7 @@ pub struct IAccIdentity_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetIdentityString: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut u8, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccPropServer, IAccPropServer_Vtbl, 0x76c0dbbb_15e0_4e7b_b61b_20eeea2001e0); +windows_core::imp::define_interface!(IAccPropServer, IAccPropServer_Vtbl, 0x76c0dbbb_15e0_4e7b_b61b_20eeea2001e0); windows_core::imp::interface_hierarchy!(IAccPropServer, windows_core::IUnknown); impl IAccPropServer { pub unsafe fn GetPropValue(&self, pidstring: &[u8], idprop: windows_core::GUID, pvarvalue: *mut windows_core::VARIANT, pfhasprop: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -1006,7 +1006,7 @@ 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, } -windows_core::imp::com_interface!(IAccPropServices, IAccPropServices_Vtbl, 0x6e26e776_04f0_495d_80e4_3330352e3169); +windows_core::imp::define_interface!(IAccPropServices, IAccPropServices_Vtbl, 0x6e26e776_04f0_495d_80e4_3330352e3169); windows_core::imp::interface_hierarchy!(IAccPropServices, windows_core::IUnknown); impl IAccPropServices { pub unsafe fn SetPropValue(&self, pidstring: &[u8], idprop: windows_core::GUID, var: P0) -> windows_core::Result<()> @@ -1141,7 +1141,7 @@ pub struct IAccPropServices_Vtbl { DecomposeHmenuIdentityString: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAccessible, IAccessible_Vtbl, 0x618736e0_3c3d_11cf_810c_00aa00389b71); +windows_core::imp::define_interface!(IAccessible, IAccessible_Vtbl, 0x618736e0_3c3d_11cf_810c_00aa00389b71); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAccessible, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1310,7 +1310,7 @@ pub struct IAccessible_Vtbl { 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, } -windows_core::imp::com_interface!(IAccessibleEx, IAccessibleEx_Vtbl, 0xf8b80ada_2c44_48d0_89be_5ff23c9cd875); +windows_core::imp::define_interface!(IAccessibleEx, IAccessibleEx_Vtbl, 0xf8b80ada_2c44_48d0_89be_5ff23c9cd875); windows_core::imp::interface_hierarchy!(IAccessibleEx, windows_core::IUnknown); impl IAccessibleEx { pub unsafe fn GetObjectForChild(&self, idchild: i32) -> windows_core::Result { @@ -1348,7 +1348,7 @@ pub struct IAccessibleEx_Vtbl { GetRuntimeId: usize, pub ConvertReturnedElement: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccessibleHandler, IAccessibleHandler_Vtbl, 0x03022430_abc4_11d0_bde2_00aa001a1953); +windows_core::imp::define_interface!(IAccessibleHandler, IAccessibleHandler_Vtbl, 0x03022430_abc4_11d0_bde2_00aa001a1953); windows_core::imp::interface_hierarchy!(IAccessibleHandler, windows_core::IUnknown); impl IAccessibleHandler { #[cfg(feature = "Win32_System_Com")] @@ -1365,7 +1365,7 @@ pub struct IAccessibleHandler_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AccessibleObjectFromID: usize, } -windows_core::imp::com_interface!(IAccessibleHostingElementProviders, IAccessibleHostingElementProviders_Vtbl, 0x33ac331b_943e_4020_b295_db37784974a3); +windows_core::imp::define_interface!(IAccessibleHostingElementProviders, IAccessibleHostingElementProviders_Vtbl, 0x33ac331b_943e_4020_b295_db37784974a3); windows_core::imp::interface_hierarchy!(IAccessibleHostingElementProviders, windows_core::IUnknown); impl IAccessibleHostingElementProviders { #[cfg(feature = "Win32_System_Com")] @@ -1390,7 +1390,7 @@ pub struct IAccessibleHostingElementProviders_Vtbl { GetEmbeddedFragmentRoots: usize, pub GetObjectIdForProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccessibleWindowlessSite, IAccessibleWindowlessSite_Vtbl, 0xbf3abd9c_76da_4389_9eb6_1427d25abab7); +windows_core::imp::define_interface!(IAccessibleWindowlessSite, IAccessibleWindowlessSite_Vtbl, 0xbf3abd9c_76da_4389_9eb6_1427d25abab7); windows_core::imp::interface_hierarchy!(IAccessibleWindowlessSite, windows_core::IUnknown); impl IAccessibleWindowlessSite { pub unsafe fn AcquireObjectIdRange(&self, rangesize: i32, prangeowner: P0) -> windows_core::Result @@ -1434,7 +1434,7 @@ pub struct IAccessibleWindowlessSite_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetParentAccessible: usize, } -windows_core::imp::com_interface!(IAnnotationProvider, IAnnotationProvider_Vtbl, 0xf95c7e80_bd63_4601_9782_445ebff011fc); +windows_core::imp::define_interface!(IAnnotationProvider, IAnnotationProvider_Vtbl, 0xf95c7e80_bd63_4601_9782_445ebff011fc); windows_core::imp::interface_hierarchy!(IAnnotationProvider, windows_core::IUnknown); impl IAnnotationProvider { pub unsafe fn AnnotationTypeId(&self) -> windows_core::Result { @@ -1467,7 +1467,7 @@ pub struct IAnnotationProvider_Vtbl { pub DateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(ICustomNavigationProvider, ICustomNavigationProvider_Vtbl, 0x2062a28a_8c07_4b94_8e12_7037c622aeb8); +windows_core::imp::define_interface!(ICustomNavigationProvider, ICustomNavigationProvider_Vtbl, 0x2062a28a_8c07_4b94_8e12_7037c622aeb8); windows_core::imp::interface_hierarchy!(ICustomNavigationProvider, windows_core::IUnknown); impl ICustomNavigationProvider { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> windows_core::Result { @@ -1480,7 +1480,7 @@ pub struct ICustomNavigationProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Navigate: unsafe extern "system" fn(*mut core::ffi::c_void, NavigateDirection, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDockProvider, IDockProvider_Vtbl, 0x159bc72c_4ad3_485e_9637_d7052edf0146); +windows_core::imp::define_interface!(IDockProvider, IDockProvider_Vtbl, 0x159bc72c_4ad3_485e_9637_d7052edf0146); windows_core::imp::interface_hierarchy!(IDockProvider, windows_core::IUnknown); impl IDockProvider { pub unsafe fn SetDockPosition(&self, dockposition: DockPosition) -> windows_core::Result<()> { @@ -1497,7 +1497,7 @@ pub struct IDockProvider_Vtbl { pub SetDockPosition: unsafe extern "system" fn(*mut core::ffi::c_void, DockPosition) -> windows_core::HRESULT, pub DockPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DockPosition) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDragProvider, IDragProvider_Vtbl, 0x6aa7bbbb_7ff9_497d_904f_d20b897929d8); +windows_core::imp::define_interface!(IDragProvider, IDragProvider_Vtbl, 0x6aa7bbbb_7ff9_497d_904f_d20b897929d8); windows_core::imp::interface_hierarchy!(IDragProvider, windows_core::IUnknown); impl IDragProvider { pub unsafe fn IsGrabbed(&self) -> windows_core::Result { @@ -1533,7 +1533,7 @@ pub struct IDragProvider_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetGrabbedItems: usize, } -windows_core::imp::com_interface!(IDropTargetProvider, IDropTargetProvider_Vtbl, 0xbae82bfd_358a_481c_85a0_d8b4d90a5d61); +windows_core::imp::define_interface!(IDropTargetProvider, IDropTargetProvider_Vtbl, 0xbae82bfd_358a_481c_85a0_d8b4d90a5d61); windows_core::imp::interface_hierarchy!(IDropTargetProvider, windows_core::IUnknown); impl IDropTargetProvider { pub unsafe fn DropTargetEffect(&self) -> windows_core::Result { @@ -1555,7 +1555,7 @@ pub struct IDropTargetProvider_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] DropTargetEffects: usize, } -windows_core::imp::com_interface!(IExpandCollapseProvider, IExpandCollapseProvider_Vtbl, 0xd847d3a5_cab0_4a98_8c32_ecb45c59ad24); +windows_core::imp::define_interface!(IExpandCollapseProvider, IExpandCollapseProvider_Vtbl, 0xd847d3a5_cab0_4a98_8c32_ecb45c59ad24); windows_core::imp::interface_hierarchy!(IExpandCollapseProvider, windows_core::IUnknown); impl IExpandCollapseProvider { pub unsafe fn Expand(&self) -> windows_core::Result<()> { @@ -1576,7 +1576,7 @@ pub struct IExpandCollapseProvider_Vtbl { pub Collapse: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ExpandCollapseState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ExpandCollapseState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGridItemProvider, IGridItemProvider_Vtbl, 0xd02541f1_fb81_4d64_ae32_f520f8a6dbd1); +windows_core::imp::define_interface!(IGridItemProvider, IGridItemProvider_Vtbl, 0xd02541f1_fb81_4d64_ae32_f520f8a6dbd1); windows_core::imp::interface_hierarchy!(IGridItemProvider, windows_core::IUnknown); impl IGridItemProvider { pub unsafe fn Row(&self) -> windows_core::Result { @@ -1609,7 +1609,7 @@ pub struct IGridItemProvider_Vtbl { pub ColumnSpan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ContainingGrid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGridProvider, IGridProvider_Vtbl, 0xb17d6187_0907_464b_a168_0ef17a1572b1); +windows_core::imp::define_interface!(IGridProvider, IGridProvider_Vtbl, 0xb17d6187_0907_464b_a168_0ef17a1572b1); windows_core::imp::interface_hierarchy!(IGridProvider, windows_core::IUnknown); impl IGridProvider { pub unsafe fn GetItem(&self, row: i32, column: i32) -> windows_core::Result { @@ -1632,7 +1632,7 @@ pub struct IGridProvider_Vtbl { pub RowCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub ColumnCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInvokeProvider, IInvokeProvider_Vtbl, 0x54fcb24b_e18e_47a2_b4d3_eccbe77599a2); +windows_core::imp::define_interface!(IInvokeProvider, IInvokeProvider_Vtbl, 0x54fcb24b_e18e_47a2_b4d3_eccbe77599a2); windows_core::imp::interface_hierarchy!(IInvokeProvider, windows_core::IUnknown); impl IInvokeProvider { pub unsafe fn Invoke(&self) -> windows_core::Result<()> { @@ -1644,7 +1644,7 @@ pub struct IInvokeProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IItemContainerProvider, IItemContainerProvider_Vtbl, 0xe747770b_39ce_4382_ab30_d8fb3f336f24); +windows_core::imp::define_interface!(IItemContainerProvider, IItemContainerProvider_Vtbl, 0xe747770b_39ce_4382_ab30_d8fb3f336f24); windows_core::imp::interface_hierarchy!(IItemContainerProvider, windows_core::IUnknown); impl IItemContainerProvider { pub unsafe fn FindItemByProperty(&self, pstartafter: P0, propertyid: UIA_PROPERTY_ID, value: P1) -> windows_core::Result @@ -1661,7 +1661,7 @@ 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, } -windows_core::imp::com_interface!(ILegacyIAccessibleProvider, ILegacyIAccessibleProvider_Vtbl, 0xe44c3566_915d_4070_99c6_047bff5a08f5); +windows_core::imp::define_interface!(ILegacyIAccessibleProvider, ILegacyIAccessibleProvider_Vtbl, 0xe44c3566_915d_4070_99c6_047bff5a08f5); windows_core::imp::interface_hierarchy!(ILegacyIAccessibleProvider, windows_core::IUnknown); impl ILegacyIAccessibleProvider { pub unsafe fn Select(&self, flagsselect: i32) -> windows_core::Result<()> { @@ -1747,7 +1747,7 @@ pub struct ILegacyIAccessibleProvider_Vtbl { GetSelection: usize, pub DefaultAction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMultipleViewProvider, IMultipleViewProvider_Vtbl, 0x6278cab1_b556_4a1a_b4e0_418acc523201); +windows_core::imp::define_interface!(IMultipleViewProvider, IMultipleViewProvider_Vtbl, 0x6278cab1_b556_4a1a_b4e0_418acc523201); windows_core::imp::interface_hierarchy!(IMultipleViewProvider, windows_core::IUnknown); impl IMultipleViewProvider { pub unsafe fn GetViewName(&self, viewid: i32) -> windows_core::Result { @@ -1778,7 +1778,7 @@ pub struct IMultipleViewProvider_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetSupportedViews: usize, } -windows_core::imp::com_interface!(IObjectModelProvider, IObjectModelProvider_Vtbl, 0x3ad86ebd_f5ef_483d_bb18_b1042a475d64); +windows_core::imp::define_interface!(IObjectModelProvider, IObjectModelProvider_Vtbl, 0x3ad86ebd_f5ef_483d_bb18_b1042a475d64); windows_core::imp::interface_hierarchy!(IObjectModelProvider, windows_core::IUnknown); impl IObjectModelProvider { pub unsafe fn GetUnderlyingObjectModel(&self) -> windows_core::Result { @@ -1791,7 +1791,7 @@ pub struct IObjectModelProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetUnderlyingObjectModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProxyProviderWinEventHandler, IProxyProviderWinEventHandler_Vtbl, 0x89592ad4_f4e0_43d5_a3b6_bad7e111b435); +windows_core::imp::define_interface!(IProxyProviderWinEventHandler, IProxyProviderWinEventHandler_Vtbl, 0x89592ad4_f4e0_43d5_a3b6_bad7e111b435); windows_core::imp::interface_hierarchy!(IProxyProviderWinEventHandler, windows_core::IUnknown); impl IProxyProviderWinEventHandler { pub unsafe fn RespondToWinEvent(&self, idwinevent: u32, hwnd: P0, idobject: i32, idchild: i32, psink: P1) -> windows_core::Result<()> @@ -1807,7 +1807,7 @@ pub struct IProxyProviderWinEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RespondToWinEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::HWND, i32, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProxyProviderWinEventSink, IProxyProviderWinEventSink_Vtbl, 0x4fd82b78_a43e_46ac_9803_0a6969c7c183); +windows_core::imp::define_interface!(IProxyProviderWinEventSink, IProxyProviderWinEventSink_Vtbl, 0x4fd82b78_a43e_46ac_9803_0a6969c7c183); windows_core::imp::interface_hierarchy!(IProxyProviderWinEventSink, windows_core::IUnknown); impl IProxyProviderWinEventSink { pub unsafe fn AddAutomationPropertyChangedEvent(&self, pprovider: P0, id: UIA_PROPERTY_ID, newvalue: P1) -> windows_core::Result<()> @@ -1841,7 +1841,7 @@ pub struct IProxyProviderWinEventSink_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AddStructureChangedEvent: usize, } -windows_core::imp::com_interface!(IRangeValueProvider, IRangeValueProvider_Vtbl, 0x36dc7aef_33e6_4691_afe1_2be7274b3d33); +windows_core::imp::define_interface!(IRangeValueProvider, IRangeValueProvider_Vtbl, 0x36dc7aef_33e6_4691_afe1_2be7274b3d33); windows_core::imp::interface_hierarchy!(IRangeValueProvider, windows_core::IUnknown); impl IRangeValueProvider { pub unsafe fn SetValue(&self, val: f64) -> windows_core::Result<()> { @@ -1883,7 +1883,7 @@ pub struct IRangeValueProvider_Vtbl { pub LargeChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SmallChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRawElementProviderAdviseEvents, IRawElementProviderAdviseEvents_Vtbl, 0xa407b27b_0f6d_4427_9292_473c7bf93258); +windows_core::imp::define_interface!(IRawElementProviderAdviseEvents, IRawElementProviderAdviseEvents_Vtbl, 0xa407b27b_0f6d_4427_9292_473c7bf93258); windows_core::imp::interface_hierarchy!(IRawElementProviderAdviseEvents, windows_core::IUnknown); impl IRawElementProviderAdviseEvents { #[cfg(feature = "Win32_System_Com")] @@ -1907,7 +1907,7 @@ pub struct IRawElementProviderAdviseEvents_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AdviseEventRemoved: usize, } -windows_core::imp::com_interface!(IRawElementProviderFragment, IRawElementProviderFragment_Vtbl, 0xf7063da8_8359_439c_9297_bbc5299a7d87); +windows_core::imp::define_interface!(IRawElementProviderFragment, IRawElementProviderFragment_Vtbl, 0xf7063da8_8359_439c_9297_bbc5299a7d87); windows_core::imp::interface_hierarchy!(IRawElementProviderFragment, windows_core::IUnknown); impl IRawElementProviderFragment { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> windows_core::Result { @@ -1952,7 +1952,7 @@ pub struct IRawElementProviderFragment_Vtbl { pub SetFocus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub FragmentRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRawElementProviderFragmentRoot, IRawElementProviderFragmentRoot_Vtbl, 0x620ce2a5_ab8f_40a9_86cb_de3c75599b58); +windows_core::imp::define_interface!(IRawElementProviderFragmentRoot, IRawElementProviderFragmentRoot_Vtbl, 0x620ce2a5_ab8f_40a9_86cb_de3c75599b58); windows_core::imp::interface_hierarchy!(IRawElementProviderFragmentRoot, windows_core::IUnknown); impl IRawElementProviderFragmentRoot { pub unsafe fn ElementProviderFromPoint(&self, x: f64, y: f64) -> windows_core::Result { @@ -1970,7 +1970,7 @@ pub struct IRawElementProviderFragmentRoot_Vtbl { pub ElementProviderFromPoint: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRawElementProviderHostingAccessibles, IRawElementProviderHostingAccessibles_Vtbl, 0x24be0b07_d37d_487a_98cf_a13ed465e9b3); +windows_core::imp::define_interface!(IRawElementProviderHostingAccessibles, IRawElementProviderHostingAccessibles_Vtbl, 0x24be0b07_d37d_487a_98cf_a13ed465e9b3); windows_core::imp::interface_hierarchy!(IRawElementProviderHostingAccessibles, windows_core::IUnknown); impl IRawElementProviderHostingAccessibles { #[cfg(feature = "Win32_System_Com")] @@ -1987,7 +1987,7 @@ pub struct IRawElementProviderHostingAccessibles_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetEmbeddedAccessibles: usize, } -windows_core::imp::com_interface!(IRawElementProviderHwndOverride, IRawElementProviderHwndOverride_Vtbl, 0x1d5df27c_8947_4425_b8d9_79787bb460b8); +windows_core::imp::define_interface!(IRawElementProviderHwndOverride, IRawElementProviderHwndOverride_Vtbl, 0x1d5df27c_8947_4425_b8d9_79787bb460b8); windows_core::imp::interface_hierarchy!(IRawElementProviderHwndOverride, windows_core::IUnknown); impl IRawElementProviderHwndOverride { pub unsafe fn GetOverrideProviderForHwnd(&self, hwnd: P0) -> windows_core::Result @@ -2003,7 +2003,7 @@ pub struct IRawElementProviderHwndOverride_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetOverrideProviderForHwnd: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRawElementProviderSimple, IRawElementProviderSimple_Vtbl, 0xd6dd68d1_86fd_4332_8666_9abedea2d24c); +windows_core::imp::define_interface!(IRawElementProviderSimple, IRawElementProviderSimple_Vtbl, 0xd6dd68d1_86fd_4332_8666_9abedea2d24c); windows_core::imp::interface_hierarchy!(IRawElementProviderSimple, windows_core::IUnknown); impl IRawElementProviderSimple { pub unsafe fn ProviderOptions(&self) -> windows_core::Result { @@ -2031,7 +2031,7 @@ pub struct IRawElementProviderSimple_Vtbl { pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, UIA_PROPERTY_ID, *mut std::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::com_interface!(IRawElementProviderSimple2, IRawElementProviderSimple2_Vtbl, 0xa0a839a9_8da1_4a82_806a_8e0d44e79f56); +windows_core::imp::define_interface!(IRawElementProviderSimple2, IRawElementProviderSimple2_Vtbl, 0xa0a839a9_8da1_4a82_806a_8e0d44e79f56); windows_core::imp::interface_hierarchy!(IRawElementProviderSimple2, windows_core::IUnknown, IRawElementProviderSimple); impl IRawElementProviderSimple2 { pub unsafe fn ProviderOptions(&self) -> windows_core::Result { @@ -2059,7 +2059,7 @@ pub struct IRawElementProviderSimple2_Vtbl { pub base__: IRawElementProviderSimple_Vtbl, pub ShowContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRawElementProviderSimple3, IRawElementProviderSimple3_Vtbl, 0xfcf5d820_d7ec_4613_bdf6_42a84ce7daaf); +windows_core::imp::define_interface!(IRawElementProviderSimple3, IRawElementProviderSimple3_Vtbl, 0xfcf5d820_d7ec_4613_bdf6_42a84ce7daaf); windows_core::imp::interface_hierarchy!(IRawElementProviderSimple3, windows_core::IUnknown, IRawElementProviderSimple, IRawElementProviderSimple2); impl IRawElementProviderSimple3 { pub unsafe fn ProviderOptions(&self) -> windows_core::Result { @@ -2091,7 +2091,7 @@ 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, } -windows_core::imp::com_interface!(IRawElementProviderWindowlessSite, IRawElementProviderWindowlessSite_Vtbl, 0x0a2a93cc_bfad_42ac_9b2e_0991fb0d3ea0); +windows_core::imp::define_interface!(IRawElementProviderWindowlessSite, IRawElementProviderWindowlessSite_Vtbl, 0x0a2a93cc_bfad_42ac_9b2e_0991fb0d3ea0); windows_core::imp::interface_hierarchy!(IRawElementProviderWindowlessSite, windows_core::IUnknown); impl IRawElementProviderWindowlessSite { pub unsafe fn GetAdjacentFragment(&self, direction: NavigateDirection) -> windows_core::Result { @@ -2113,7 +2113,7 @@ pub struct IRawElementProviderWindowlessSite_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetRuntimeIdPrefix: usize, } -windows_core::imp::com_interface!(IRichEditUiaInformation, IRichEditUiaInformation_Vtbl, 0); +windows_core::imp::define_interface!(IRichEditUiaInformation, IRichEditUiaInformation_Vtbl, 0); windows_core::imp::interface_hierarchy!(IRichEditUiaInformation, windows_core::IUnknown); impl IRichEditUiaInformation { pub unsafe fn GetBoundaryRectangle(&self, puiarect: *mut UiaRect) -> windows_core::Result<()> { @@ -2129,7 +2129,7 @@ pub struct IRichEditUiaInformation_Vtbl { pub GetBoundaryRectangle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UiaRect) -> windows_core::HRESULT, pub IsVisible: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRicheditWindowlessAccessibility, IRicheditWindowlessAccessibility_Vtbl, 0); +windows_core::imp::define_interface!(IRicheditWindowlessAccessibility, IRicheditWindowlessAccessibility_Vtbl, 0); windows_core::imp::interface_hierarchy!(IRicheditWindowlessAccessibility, windows_core::IUnknown); impl IRicheditWindowlessAccessibility { pub unsafe fn CreateProvider(&self, psite: P0) -> windows_core::Result @@ -2145,7 +2145,7 @@ pub struct IRicheditWindowlessAccessibility_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScrollItemProvider, IScrollItemProvider_Vtbl, 0x2360c714_4bf1_4b26_ba65_9b21316127eb); +windows_core::imp::define_interface!(IScrollItemProvider, IScrollItemProvider_Vtbl, 0x2360c714_4bf1_4b26_ba65_9b21316127eb); windows_core::imp::interface_hierarchy!(IScrollItemProvider, windows_core::IUnknown); impl IScrollItemProvider { pub unsafe fn ScrollIntoView(&self) -> windows_core::Result<()> { @@ -2157,7 +2157,7 @@ pub struct IScrollItemProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ScrollIntoView: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScrollProvider, IScrollProvider_Vtbl, 0xb38b8077_1fc3_42a5_8cae_d40c2215055a); +windows_core::imp::define_interface!(IScrollProvider, IScrollProvider_Vtbl, 0xb38b8077_1fc3_42a5_8cae_d40c2215055a); windows_core::imp::interface_hierarchy!(IScrollProvider, windows_core::IUnknown); impl IScrollProvider { pub unsafe fn Scroll(&self, horizontalamount: ScrollAmount, verticalamount: ScrollAmount) -> windows_core::Result<()> { @@ -2203,7 +2203,7 @@ pub struct IScrollProvider_Vtbl { pub HorizontallyScrollable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub VerticallyScrollable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISelectionItemProvider, ISelectionItemProvider_Vtbl, 0x2acad808_b2d4_452d_a407_91ff1ad167b2); +windows_core::imp::define_interface!(ISelectionItemProvider, ISelectionItemProvider_Vtbl, 0x2acad808_b2d4_452d_a407_91ff1ad167b2); windows_core::imp::interface_hierarchy!(ISelectionItemProvider, windows_core::IUnknown); impl ISelectionItemProvider { pub unsafe fn Select(&self) -> windows_core::Result<()> { @@ -2233,7 +2233,7 @@ pub struct ISelectionItemProvider_Vtbl { pub IsSelected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SelectionContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISelectionProvider, ISelectionProvider_Vtbl, 0xfb8b03af_3bdf_48d4_bd36_1a65793be168); +windows_core::imp::define_interface!(ISelectionProvider, ISelectionProvider_Vtbl, 0xfb8b03af_3bdf_48d4_bd36_1a65793be168); windows_core::imp::interface_hierarchy!(ISelectionProvider, windows_core::IUnknown); impl ISelectionProvider { #[cfg(feature = "Win32_System_Com")] @@ -2260,7 +2260,7 @@ pub struct ISelectionProvider_Vtbl { pub CanSelectMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub IsSelectionRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISelectionProvider2, ISelectionProvider2_Vtbl, 0x14f68475_ee1c_44f6_a869_d239381f0fe7); +windows_core::imp::define_interface!(ISelectionProvider2, ISelectionProvider2_Vtbl, 0x14f68475_ee1c_44f6_a869_d239381f0fe7); windows_core::imp::interface_hierarchy!(ISelectionProvider2, windows_core::IUnknown, ISelectionProvider); impl ISelectionProvider2 { #[cfg(feature = "Win32_System_Com")] @@ -2301,7 +2301,7 @@ pub struct ISelectionProvider2_Vtbl { pub CurrentSelectedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpreadsheetItemProvider, ISpreadsheetItemProvider_Vtbl, 0xeaed4660_7b3d_4879_a2e6_365ce603f3d0); +windows_core::imp::define_interface!(ISpreadsheetItemProvider, ISpreadsheetItemProvider_Vtbl, 0xeaed4660_7b3d_4879_a2e6_365ce603f3d0); windows_core::imp::interface_hierarchy!(ISpreadsheetItemProvider, windows_core::IUnknown); impl ISpreadsheetItemProvider { pub unsafe fn Formula(&self) -> windows_core::Result { @@ -2332,7 +2332,7 @@ pub struct ISpreadsheetItemProvider_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetAnnotationTypes: usize, } -windows_core::imp::com_interface!(ISpreadsheetProvider, ISpreadsheetProvider_Vtbl, 0x6f6b5d35_5525_4f80_b758_85473832ffc7); +windows_core::imp::define_interface!(ISpreadsheetProvider, ISpreadsheetProvider_Vtbl, 0x6f6b5d35_5525_4f80_b758_85473832ffc7); windows_core::imp::interface_hierarchy!(ISpreadsheetProvider, windows_core::IUnknown); impl ISpreadsheetProvider { pub unsafe fn GetItemByName(&self, name: P0) -> windows_core::Result @@ -2348,7 +2348,7 @@ pub struct ISpreadsheetProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetItemByName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStylesProvider, IStylesProvider_Vtbl, 0x19b6b649_f5d7_4a6d_bdcb_129252be588a); +windows_core::imp::define_interface!(IStylesProvider, IStylesProvider_Vtbl, 0x19b6b649_f5d7_4a6d_bdcb_129252be588a); windows_core::imp::interface_hierarchy!(IStylesProvider, windows_core::IUnknown); impl IStylesProvider { pub unsafe fn StyleId(&self) -> windows_core::Result { @@ -2391,7 +2391,7 @@ pub struct IStylesProvider_Vtbl { 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, } -windows_core::imp::com_interface!(ISynchronizedInputProvider, ISynchronizedInputProvider_Vtbl, 0x29db1a06_02ce_4cf7_9b42_565d4fab20ee); +windows_core::imp::define_interface!(ISynchronizedInputProvider, ISynchronizedInputProvider_Vtbl, 0x29db1a06_02ce_4cf7_9b42_565d4fab20ee); windows_core::imp::interface_hierarchy!(ISynchronizedInputProvider, windows_core::IUnknown); impl ISynchronizedInputProvider { pub unsafe fn StartListening(&self, inputtype: SynchronizedInputType) -> windows_core::Result<()> { @@ -2407,7 +2407,7 @@ pub struct ISynchronizedInputProvider_Vtbl { pub StartListening: unsafe extern "system" fn(*mut core::ffi::c_void, SynchronizedInputType) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITableItemProvider, ITableItemProvider_Vtbl, 0xb9734fa6_771f_4d78_9c90_2517999349cd); +windows_core::imp::define_interface!(ITableItemProvider, ITableItemProvider_Vtbl, 0xb9734fa6_771f_4d78_9c90_2517999349cd); windows_core::imp::interface_hierarchy!(ITableItemProvider, windows_core::IUnknown); impl ITableItemProvider { #[cfg(feature = "Win32_System_Com")] @@ -2433,7 +2433,7 @@ pub struct ITableItemProvider_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetColumnHeaderItems: usize, } -windows_core::imp::com_interface!(ITableProvider, ITableProvider_Vtbl, 0x9c860395_97b3_490a_b52a_858cc22af166); +windows_core::imp::define_interface!(ITableProvider, ITableProvider_Vtbl, 0x9c860395_97b3_490a_b52a_858cc22af166); windows_core::imp::interface_hierarchy!(ITableProvider, windows_core::IUnknown); impl ITableProvider { #[cfg(feature = "Win32_System_Com")] @@ -2464,7 +2464,7 @@ pub struct ITableProvider_Vtbl { GetColumnHeaders: usize, pub RowOrColumnMajor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RowOrColumnMajor) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextChildProvider, ITextChildProvider_Vtbl, 0x4c2de2b9_c88f_4f88_a111_f1d336b7d1a9); +windows_core::imp::define_interface!(ITextChildProvider, ITextChildProvider_Vtbl, 0x4c2de2b9_c88f_4f88_a111_f1d336b7d1a9); windows_core::imp::interface_hierarchy!(ITextChildProvider, windows_core::IUnknown); impl ITextChildProvider { pub unsafe fn TextContainer(&self) -> windows_core::Result { @@ -2482,7 +2482,7 @@ pub struct ITextChildProvider_Vtbl { pub TextContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TextRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextEditProvider, ITextEditProvider_Vtbl, 0xea3605b4_3a05_400e_b5f9_4e91b40f6176); +windows_core::imp::define_interface!(ITextEditProvider, ITextEditProvider_Vtbl, 0xea3605b4_3a05_400e_b5f9_4e91b40f6176); windows_core::imp::interface_hierarchy!(ITextEditProvider, windows_core::IUnknown, ITextProvider); impl ITextEditProvider { #[cfg(feature = "Win32_System_Com")] @@ -2529,7 +2529,7 @@ pub struct ITextEditProvider_Vtbl { pub GetActiveComposition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetConversionTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextProvider, ITextProvider_Vtbl, 0x3589c92c_63f3_4367_99bb_ada653b77cf2); +windows_core::imp::define_interface!(ITextProvider, ITextProvider_Vtbl, 0x3589c92c_63f3_4367_99bb_ada653b77cf2); windows_core::imp::interface_hierarchy!(ITextProvider, windows_core::IUnknown); impl ITextProvider { #[cfg(feature = "Win32_System_Com")] @@ -2578,7 +2578,7 @@ pub struct ITextProvider_Vtbl { pub DocumentRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SupportedTextSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SupportedTextSelection) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextProvider2, ITextProvider2_Vtbl, 0x0dc5e6ed_3e16_4bf1_8f9a_a979878bc195); +windows_core::imp::define_interface!(ITextProvider2, ITextProvider2_Vtbl, 0x0dc5e6ed_3e16_4bf1_8f9a_a979878bc195); windows_core::imp::interface_hierarchy!(ITextProvider2, windows_core::IUnknown, ITextProvider); impl ITextProvider2 { #[cfg(feature = "Win32_System_Com")] @@ -2628,7 +2628,7 @@ pub struct ITextProvider2_Vtbl { pub RangeFromAnnotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCaretRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextRangeProvider, ITextRangeProvider_Vtbl, 0x5347ad7b_c355_46f8_aff5_909033582f63); +windows_core::imp::define_interface!(ITextRangeProvider, ITextRangeProvider_Vtbl, 0x5347ad7b_c355_46f8_aff5_909033582f63); windows_core::imp::interface_hierarchy!(ITextRangeProvider, windows_core::IUnknown); impl ITextRangeProvider { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -2749,7 +2749,7 @@ pub struct ITextRangeProvider_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetChildren: usize, } -windows_core::imp::com_interface!(ITextRangeProvider2, ITextRangeProvider2_Vtbl, 0x9bbce42c_1921_4f18_89ca_dba1910a0386); +windows_core::imp::define_interface!(ITextRangeProvider2, ITextRangeProvider2_Vtbl, 0x9bbce42c_1921_4f18_89ca_dba1910a0386); windows_core::imp::interface_hierarchy!(ITextRangeProvider2, windows_core::IUnknown, ITextRangeProvider); impl ITextRangeProvider2 { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -2850,7 +2850,7 @@ pub struct ITextRangeProvider2_Vtbl { pub base__: ITextRangeProvider_Vtbl, pub ShowContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IToggleProvider, IToggleProvider_Vtbl, 0x56d00bd0_c4f4_433c_a836_1a52a57e0892); +windows_core::imp::define_interface!(IToggleProvider, IToggleProvider_Vtbl, 0x56d00bd0_c4f4_433c_a836_1a52a57e0892); windows_core::imp::interface_hierarchy!(IToggleProvider, windows_core::IUnknown); impl IToggleProvider { pub unsafe fn Toggle(&self) -> windows_core::Result<()> { @@ -2867,7 +2867,7 @@ pub struct IToggleProvider_Vtbl { pub Toggle: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ToggleState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ToggleState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransformProvider, ITransformProvider_Vtbl, 0x6829ddc4_4f91_4ffa_b86f_bd3e2987cb4c); +windows_core::imp::define_interface!(ITransformProvider, ITransformProvider_Vtbl, 0x6829ddc4_4f91_4ffa_b86f_bd3e2987cb4c); windows_core::imp::interface_hierarchy!(ITransformProvider, windows_core::IUnknown); impl ITransformProvider { pub unsafe fn Move(&self, x: f64, y: f64) -> windows_core::Result<()> { @@ -2902,7 +2902,7 @@ pub struct ITransformProvider_Vtbl { pub CanResize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CanRotate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransformProvider2, ITransformProvider2_Vtbl, 0x4758742f_7ac2_460c_bc48_09fc09308a93); +windows_core::imp::define_interface!(ITransformProvider2, ITransformProvider2_Vtbl, 0x4758742f_7ac2_460c_bc48_09fc09308a93); windows_core::imp::interface_hierarchy!(ITransformProvider2, windows_core::IUnknown, ITransformProvider); impl ITransformProvider2 { pub unsafe fn Move(&self, x: f64, y: f64) -> windows_core::Result<()> { @@ -2959,7 +2959,7 @@ pub struct ITransformProvider2_Vtbl { pub ZoomMaximum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub ZoomByUnit: unsafe extern "system" fn(*mut core::ffi::c_void, ZoomUnit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomation, IUIAutomation_Vtbl, 0x30cbe57d_d9d0_452a_ab13_7ac5ac4825ee); +windows_core::imp::define_interface!(IUIAutomation, IUIAutomation_Vtbl, 0x30cbe57d_d9d0_452a_ab13_7ac5ac4825ee); windows_core::imp::interface_hierarchy!(IUIAutomation, windows_core::IUnknown); impl IUIAutomation { pub unsafe fn CompareElements(&self, el1: P0, el2: P1) -> windows_core::Result @@ -3375,7 +3375,7 @@ pub struct IUIAutomation_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ElementFromIAccessibleBuildCache: usize, } -windows_core::imp::com_interface!(IUIAutomation2, IUIAutomation2_Vtbl, 0x34723aff_0c9d_49d0_9896_7ab52df8cd8a); +windows_core::imp::define_interface!(IUIAutomation2, IUIAutomation2_Vtbl, 0x34723aff_0c9d_49d0_9896_7ab52df8cd8a); windows_core::imp::interface_hierarchy!(IUIAutomation2, windows_core::IUnknown, IUIAutomation); impl IUIAutomation2 { pub unsafe fn CompareElements(&self, el1: P0, el2: P1) -> windows_core::Result @@ -3733,7 +3733,7 @@ pub struct IUIAutomation2_Vtbl { pub TransactionTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetTransactionTimeout: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomation3, IUIAutomation3_Vtbl, 0x73d768da_9b51_4b89_936e_c209290973e7); +windows_core::imp::define_interface!(IUIAutomation3, IUIAutomation3_Vtbl, 0x73d768da_9b51_4b89_936e_c209290973e7); windows_core::imp::interface_hierarchy!(IUIAutomation3, windows_core::IUnknown, IUIAutomation, IUIAutomation2); impl IUIAutomation3 { pub unsafe fn CompareElements(&self, el1: P0, el2: P1) -> windows_core::Result @@ -4102,7 +4102,7 @@ pub struct IUIAutomation3_Vtbl { pub AddTextEditTextChangedEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, TreeScope, TextEditChangeType, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveTextEditTextChangedEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomation4, IUIAutomation4_Vtbl, 0x1189c02a_05f8_4319_8e21_e817e3db2860); +windows_core::imp::define_interface!(IUIAutomation4, IUIAutomation4_Vtbl, 0x1189c02a_05f8_4319_8e21_e817e3db2860); windows_core::imp::interface_hierarchy!(IUIAutomation4, windows_core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3); impl IUIAutomation4 { pub unsafe fn CompareElements(&self, el1: P0, el2: P1) -> windows_core::Result @@ -4486,7 +4486,7 @@ pub struct IUIAutomation4_Vtbl { pub AddChangesEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, TreeScope, *const i32, i32, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveChangesEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomation5, IUIAutomation5_Vtbl, 0x25f700c8_d816_4057_a9dc_3cbdee77e256); +windows_core::imp::define_interface!(IUIAutomation5, IUIAutomation5_Vtbl, 0x25f700c8_d816_4057_a9dc_3cbdee77e256); windows_core::imp::interface_hierarchy!(IUIAutomation5, windows_core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3, IUIAutomation4); impl IUIAutomation5 { pub unsafe fn CompareElements(&self, el1: P0, el2: P1) -> windows_core::Result @@ -4885,7 +4885,7 @@ pub struct IUIAutomation5_Vtbl { pub AddNotificationEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, TreeScope, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveNotificationEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomation6, IUIAutomation6_Vtbl, 0xaae072da_29e3_413d_87a7_192dbf81ed10); +windows_core::imp::define_interface!(IUIAutomation6, IUIAutomation6_Vtbl, 0xaae072da_29e3_413d_87a7_192dbf81ed10); windows_core::imp::interface_hierarchy!(IUIAutomation6, windows_core::IUnknown, IUIAutomation, IUIAutomation2, IUIAutomation3, IUIAutomation4, IUIAutomation5); impl IUIAutomation6 { pub unsafe fn CompareElements(&self, el1: P0, el2: P1) -> windows_core::Result @@ -5338,7 +5338,7 @@ pub struct IUIAutomation6_Vtbl { pub AddActiveTextPositionChangedEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, TreeScope, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveActiveTextPositionChangedEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationActiveTextPositionChangedEventHandler, IUIAutomationActiveTextPositionChangedEventHandler_Vtbl, 0xf97933b0_8dae_4496_8997_5ba015fe0d82); +windows_core::imp::define_interface!(IUIAutomationActiveTextPositionChangedEventHandler, IUIAutomationActiveTextPositionChangedEventHandler_Vtbl, 0xf97933b0_8dae_4496_8997_5ba015fe0d82); windows_core::imp::interface_hierarchy!(IUIAutomationActiveTextPositionChangedEventHandler, windows_core::IUnknown); impl IUIAutomationActiveTextPositionChangedEventHandler { pub unsafe fn HandleActiveTextPositionChangedEvent(&self, sender: P0, range: P1) -> windows_core::Result<()> @@ -5354,7 +5354,7 @@ pub struct IUIAutomationActiveTextPositionChangedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub HandleActiveTextPositionChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationAndCondition, IUIAutomationAndCondition_Vtbl, 0xa7d0af36_b912_45fe_9855_091ddc174aec); +windows_core::imp::define_interface!(IUIAutomationAndCondition, IUIAutomationAndCondition_Vtbl, 0xa7d0af36_b912_45fe_9855_091ddc174aec); windows_core::imp::interface_hierarchy!(IUIAutomationAndCondition, windows_core::IUnknown, IUIAutomationCondition); impl IUIAutomationAndCondition { pub unsafe fn ChildCount(&self) -> windows_core::Result { @@ -5380,7 +5380,7 @@ pub struct IUIAutomationAndCondition_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetChildren: usize, } -windows_core::imp::com_interface!(IUIAutomationAnnotationPattern, IUIAutomationAnnotationPattern_Vtbl, 0x9a175b21_339e_41b1_8e8b_623f6b681098); +windows_core::imp::define_interface!(IUIAutomationAnnotationPattern, IUIAutomationAnnotationPattern_Vtbl, 0x9a175b21_339e_41b1_8e8b_623f6b681098); windows_core::imp::interface_hierarchy!(IUIAutomationAnnotationPattern, windows_core::IUnknown); impl IUIAutomationAnnotationPattern { pub unsafe fn CurrentAnnotationTypeId(&self) -> windows_core::Result { @@ -5438,7 +5438,7 @@ pub struct IUIAutomationAnnotationPattern_Vtbl { pub CachedDateTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IUIAutomationBoolCondition, IUIAutomationBoolCondition_Vtbl, 0x1b4e1f2e_75eb_4d0b_8952_5a69988e2307); +windows_core::imp::define_interface!(IUIAutomationBoolCondition, IUIAutomationBoolCondition_Vtbl, 0x1b4e1f2e_75eb_4d0b_8952_5a69988e2307); windows_core::imp::interface_hierarchy!(IUIAutomationBoolCondition, windows_core::IUnknown, IUIAutomationCondition); impl IUIAutomationBoolCondition { pub unsafe fn BooleanValue(&self) -> windows_core::Result { @@ -5451,7 +5451,7 @@ pub struct IUIAutomationBoolCondition_Vtbl { pub base__: IUIAutomationCondition_Vtbl, pub BooleanValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationCacheRequest, IUIAutomationCacheRequest_Vtbl, 0xb32a92b5_bc25_4078_9c08_d7ee95c48e03); +windows_core::imp::define_interface!(IUIAutomationCacheRequest, IUIAutomationCacheRequest_Vtbl, 0xb32a92b5_bc25_4078_9c08_d7ee95c48e03); windows_core::imp::interface_hierarchy!(IUIAutomationCacheRequest, windows_core::IUnknown); impl IUIAutomationCacheRequest { pub unsafe fn AddProperty(&self, propertyid: UIA_PROPERTY_ID) -> windows_core::Result<()> { @@ -5502,7 +5502,7 @@ pub struct IUIAutomationCacheRequest_Vtbl { pub AutomationElementMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AutomationElementMode) -> windows_core::HRESULT, pub SetAutomationElementMode: unsafe extern "system" fn(*mut core::ffi::c_void, AutomationElementMode) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationChangesEventHandler, IUIAutomationChangesEventHandler_Vtbl, 0x58edca55_2c3e_4980_b1b9_56c17f27a2a0); +windows_core::imp::define_interface!(IUIAutomationChangesEventHandler, IUIAutomationChangesEventHandler_Vtbl, 0x58edca55_2c3e_4980_b1b9_56c17f27a2a0); windows_core::imp::interface_hierarchy!(IUIAutomationChangesEventHandler, windows_core::IUnknown); impl IUIAutomationChangesEventHandler { pub unsafe fn HandleChangesEvent(&self, sender: P0, uiachanges: &[UiaChangeInfo]) -> windows_core::Result<()> @@ -5517,14 +5517,14 @@ pub struct IUIAutomationChangesEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub HandleChangesEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const UiaChangeInfo, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationCondition, IUIAutomationCondition_Vtbl, 0x352ffba8_0973_437c_a61f_f64cafd81df9); +windows_core::imp::define_interface!(IUIAutomationCondition, IUIAutomationCondition_Vtbl, 0x352ffba8_0973_437c_a61f_f64cafd81df9); windows_core::imp::interface_hierarchy!(IUIAutomationCondition, windows_core::IUnknown); impl IUIAutomationCondition {} #[repr(C)] pub struct IUIAutomationCondition_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } -windows_core::imp::com_interface!(IUIAutomationCustomNavigationPattern, IUIAutomationCustomNavigationPattern_Vtbl, 0x01ea217a_1766_47ed_a6cc_acf492854b1f); +windows_core::imp::define_interface!(IUIAutomationCustomNavigationPattern, IUIAutomationCustomNavigationPattern_Vtbl, 0x01ea217a_1766_47ed_a6cc_acf492854b1f); windows_core::imp::interface_hierarchy!(IUIAutomationCustomNavigationPattern, windows_core::IUnknown); impl IUIAutomationCustomNavigationPattern { pub unsafe fn Navigate(&self, direction: NavigateDirection) -> windows_core::Result { @@ -5537,7 +5537,7 @@ pub struct IUIAutomationCustomNavigationPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Navigate: unsafe extern "system" fn(*mut core::ffi::c_void, NavigateDirection, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationDockPattern, IUIAutomationDockPattern_Vtbl, 0xfde5ef97_1464_48f6_90bf_43d0948e86ec); +windows_core::imp::define_interface!(IUIAutomationDockPattern, IUIAutomationDockPattern_Vtbl, 0xfde5ef97_1464_48f6_90bf_43d0948e86ec); windows_core::imp::interface_hierarchy!(IUIAutomationDockPattern, windows_core::IUnknown); impl IUIAutomationDockPattern { pub unsafe fn SetDockPosition(&self, dockpos: DockPosition) -> windows_core::Result<()> { @@ -5559,7 +5559,7 @@ pub struct IUIAutomationDockPattern_Vtbl { pub CurrentDockPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DockPosition) -> windows_core::HRESULT, pub CachedDockPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DockPosition) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationDragPattern, IUIAutomationDragPattern_Vtbl, 0x1dc7b570_1f54_4bad_bcda_d36a722fb7bd); +windows_core::imp::define_interface!(IUIAutomationDragPattern, IUIAutomationDragPattern_Vtbl, 0x1dc7b570_1f54_4bad_bcda_d36a722fb7bd); windows_core::imp::interface_hierarchy!(IUIAutomationDragPattern, windows_core::IUnknown); impl IUIAutomationDragPattern { pub unsafe fn CurrentIsGrabbed(&self) -> windows_core::Result { @@ -5615,7 +5615,7 @@ pub struct IUIAutomationDragPattern_Vtbl { pub GetCurrentGrabbedItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCachedGrabbedItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationDropTargetPattern, IUIAutomationDropTargetPattern_Vtbl, 0x69a095f7_eee4_430e_a46b_fb73b1ae39a5); +windows_core::imp::define_interface!(IUIAutomationDropTargetPattern, IUIAutomationDropTargetPattern_Vtbl, 0x69a095f7_eee4_430e_a46b_fb73b1ae39a5); windows_core::imp::interface_hierarchy!(IUIAutomationDropTargetPattern, windows_core::IUnknown); impl IUIAutomationDropTargetPattern { pub unsafe fn CurrentDropTargetEffect(&self) -> windows_core::Result { @@ -5651,7 +5651,7 @@ pub struct IUIAutomationDropTargetPattern_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CachedDropTargetEffects: usize, } -windows_core::imp::com_interface!(IUIAutomationElement, IUIAutomationElement_Vtbl, 0xd22108aa_8ac5_49a5_837b_37bbb3d7591e); +windows_core::imp::define_interface!(IUIAutomationElement, IUIAutomationElement_Vtbl, 0xd22108aa_8ac5_49a5_837b_37bbb3d7591e); windows_core::imp::interface_hierarchy!(IUIAutomationElement, windows_core::IUnknown); impl IUIAutomationElement { pub unsafe fn SetFocus(&self) -> windows_core::Result<()> { @@ -6101,7 +6101,7 @@ pub struct IUIAutomationElement_Vtbl { pub CachedProviderDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IUIAutomationElement2, IUIAutomationElement2_Vtbl, 0x6749c683_f70d_4487_a698_5f79d55290d6); +windows_core::imp::define_interface!(IUIAutomationElement2, IUIAutomationElement2_Vtbl, 0x6749c683_f70d_4487_a698_5f79d55290d6); windows_core::imp::interface_hierarchy!(IUIAutomationElement2, windows_core::IUnknown, IUIAutomationElement); impl IUIAutomationElement2 { pub unsafe fn SetFocus(&self) -> windows_core::Result<()> { @@ -6496,7 +6496,7 @@ pub struct IUIAutomationElement2_Vtbl { pub CurrentFlowsFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CachedFlowsFrom: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationElement3, IUIAutomationElement3_Vtbl, 0x8471df34_aee0_4a01_a7de_7db9af12c296); +windows_core::imp::define_interface!(IUIAutomationElement3, IUIAutomationElement3_Vtbl, 0x8471df34_aee0_4a01_a7de_7db9af12c296); windows_core::imp::interface_hierarchy!(IUIAutomationElement3, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2); impl IUIAutomationElement3 { pub unsafe fn SetFocus(&self) -> windows_core::Result<()> { @@ -6899,7 +6899,7 @@ pub struct IUIAutomationElement3_Vtbl { pub CurrentIsPeripheral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedIsPeripheral: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationElement4, IUIAutomationElement4_Vtbl, 0x3b6e233c_52fb_4063_a4c9_77c075c2a06b); +windows_core::imp::define_interface!(IUIAutomationElement4, IUIAutomationElement4_Vtbl, 0x3b6e233c_52fb_4063_a4c9_77c075c2a06b); windows_core::imp::interface_hierarchy!(IUIAutomationElement4, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3); impl IUIAutomationElement4 { pub unsafe fn SetFocus(&self) -> windows_core::Result<()> { @@ -7357,7 +7357,7 @@ pub struct IUIAutomationElement4_Vtbl { CachedAnnotationTypes: usize, pub CachedAnnotationObjects: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationElement5, IUIAutomationElement5_Vtbl, 0x98141c1d_0d0e_4175_bbe2_6bff455842a7); +windows_core::imp::define_interface!(IUIAutomationElement5, IUIAutomationElement5_Vtbl, 0x98141c1d_0d0e_4175_bbe2_6bff455842a7); windows_core::imp::interface_hierarchy!(IUIAutomationElement5, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4); impl IUIAutomationElement5 { pub unsafe fn SetFocus(&self) -> windows_core::Result<()> { @@ -7819,7 +7819,7 @@ pub struct IUIAutomationElement5_Vtbl { 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, } -windows_core::imp::com_interface!(IUIAutomationElement6, IUIAutomationElement6_Vtbl, 0x4780d450_8bca_4977_afa5_a4a517f555e3); +windows_core::imp::define_interface!(IUIAutomationElement6, IUIAutomationElement6_Vtbl, 0x4780d450_8bca_4977_afa5_a4a517f555e3); windows_core::imp::interface_hierarchy!(IUIAutomationElement6, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5); impl IUIAutomationElement6 { pub unsafe fn SetFocus(&self) -> windows_core::Result<()> { @@ -8287,7 +8287,7 @@ pub struct IUIAutomationElement6_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, } -windows_core::imp::com_interface!(IUIAutomationElement7, IUIAutomationElement7_Vtbl, 0x204e8572_cfc3_4c11_b0c8_7da7420750b7); +windows_core::imp::define_interface!(IUIAutomationElement7, IUIAutomationElement7_Vtbl, 0x204e8572_cfc3_4c11_b0c8_7da7420750b7); windows_core::imp::interface_hierarchy!(IUIAutomationElement7, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6); impl IUIAutomationElement7 { pub unsafe fn SetFocus(&self) -> windows_core::Result<()> { @@ -8796,7 +8796,7 @@ pub struct IUIAutomationElement7_Vtbl { 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, } -windows_core::imp::com_interface!(IUIAutomationElement8, IUIAutomationElement8_Vtbl, 0x8c60217d_5411_4cde_bcc0_1ceda223830c); +windows_core::imp::define_interface!(IUIAutomationElement8, IUIAutomationElement8_Vtbl, 0x8c60217d_5411_4cde_bcc0_1ceda223830c); windows_core::imp::interface_hierarchy!(IUIAutomationElement8, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6, IUIAutomationElement7); impl IUIAutomationElement8 { pub unsafe fn SetFocus(&self) -> windows_core::Result<()> { @@ -9310,7 +9310,7 @@ pub struct IUIAutomationElement8_Vtbl { pub CurrentHeadingLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_HEADINGLEVEL_ID) -> windows_core::HRESULT, pub CachedHeadingLevel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UIA_HEADINGLEVEL_ID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationElement9, IUIAutomationElement9_Vtbl, 0x39325fac_039d_440e_a3a3_5eb81a5cecc3); +windows_core::imp::define_interface!(IUIAutomationElement9, IUIAutomationElement9_Vtbl, 0x39325fac_039d_440e_a3a3_5eb81a5cecc3); windows_core::imp::interface_hierarchy!(IUIAutomationElement9, windows_core::IUnknown, IUIAutomationElement, IUIAutomationElement2, IUIAutomationElement3, IUIAutomationElement4, IUIAutomationElement5, IUIAutomationElement6, IUIAutomationElement7, IUIAutomationElement8); impl IUIAutomationElement9 { pub unsafe fn SetFocus(&self) -> windows_core::Result<()> { @@ -9832,7 +9832,7 @@ pub struct IUIAutomationElement9_Vtbl { pub CurrentIsDialog: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedIsDialog: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationElementArray, IUIAutomationElementArray_Vtbl, 0x14314595_b4bc_4055_95f2_58f2e42c9855); +windows_core::imp::define_interface!(IUIAutomationElementArray, IUIAutomationElementArray_Vtbl, 0x14314595_b4bc_4055_95f2_58f2e42c9855); windows_core::imp::interface_hierarchy!(IUIAutomationElementArray, windows_core::IUnknown); impl IUIAutomationElementArray { pub unsafe fn Length(&self) -> windows_core::Result { @@ -9850,7 +9850,7 @@ pub struct IUIAutomationElementArray_Vtbl { pub Length: 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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationEventHandler, IUIAutomationEventHandler_Vtbl, 0x146c3c17_f12e_4e22_8c27_f894b9b79c69); +windows_core::imp::define_interface!(IUIAutomationEventHandler, IUIAutomationEventHandler_Vtbl, 0x146c3c17_f12e_4e22_8c27_f894b9b79c69); windows_core::imp::interface_hierarchy!(IUIAutomationEventHandler, windows_core::IUnknown); impl IUIAutomationEventHandler { pub unsafe fn HandleAutomationEvent(&self, sender: P0, eventid: UIA_EVENT_ID) -> windows_core::Result<()> @@ -9865,7 +9865,7 @@ pub struct IUIAutomationEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub HandleAutomationEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UIA_EVENT_ID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationEventHandlerGroup, IUIAutomationEventHandlerGroup_Vtbl, 0xc9ee12f2_c13b_4408_997c_639914377f4e); +windows_core::imp::define_interface!(IUIAutomationEventHandlerGroup, IUIAutomationEventHandlerGroup_Vtbl, 0xc9ee12f2_c13b_4408_997c_639914377f4e); windows_core::imp::interface_hierarchy!(IUIAutomationEventHandlerGroup, windows_core::IUnknown); impl IUIAutomationEventHandlerGroup { pub unsafe fn AddActiveTextPositionChangedEventHandler(&self, scope: TreeScope, cacherequest: P0, handler: P1) -> windows_core::Result<()> @@ -9929,7 +9929,7 @@ pub struct IUIAutomationEventHandlerGroup_Vtbl { pub AddStructureChangedEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, TreeScope, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub AddTextEditTextChangedEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, TreeScope, TextEditChangeType, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationExpandCollapsePattern, IUIAutomationExpandCollapsePattern_Vtbl, 0x619be086_1f4e_4ee4_bafa_210128738730); +windows_core::imp::define_interface!(IUIAutomationExpandCollapsePattern, IUIAutomationExpandCollapsePattern_Vtbl, 0x619be086_1f4e_4ee4_bafa_210128738730); windows_core::imp::interface_hierarchy!(IUIAutomationExpandCollapsePattern, windows_core::IUnknown); impl IUIAutomationExpandCollapsePattern { pub unsafe fn Expand(&self) -> windows_core::Result<()> { @@ -9955,7 +9955,7 @@ pub struct IUIAutomationExpandCollapsePattern_Vtbl { pub CurrentExpandCollapseState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ExpandCollapseState) -> windows_core::HRESULT, pub CachedExpandCollapseState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ExpandCollapseState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationFocusChangedEventHandler, IUIAutomationFocusChangedEventHandler_Vtbl, 0xc270f6b5_5c69_4290_9745_7a7f97169468); +windows_core::imp::define_interface!(IUIAutomationFocusChangedEventHandler, IUIAutomationFocusChangedEventHandler_Vtbl, 0xc270f6b5_5c69_4290_9745_7a7f97169468); windows_core::imp::interface_hierarchy!(IUIAutomationFocusChangedEventHandler, windows_core::IUnknown); impl IUIAutomationFocusChangedEventHandler { pub unsafe fn HandleFocusChangedEvent(&self, sender: P0) -> windows_core::Result<()> @@ -9970,7 +9970,7 @@ pub struct IUIAutomationFocusChangedEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub HandleFocusChangedEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationGridItemPattern, IUIAutomationGridItemPattern_Vtbl, 0x78f8ef57_66c3_4e09_bd7c_e79b2004894d); +windows_core::imp::define_interface!(IUIAutomationGridItemPattern, IUIAutomationGridItemPattern_Vtbl, 0x78f8ef57_66c3_4e09_bd7c_e79b2004894d); windows_core::imp::interface_hierarchy!(IUIAutomationGridItemPattern, windows_core::IUnknown); impl IUIAutomationGridItemPattern { pub unsafe fn CurrentContainingGrid(&self) -> windows_core::Result { @@ -10028,7 +10028,7 @@ pub struct IUIAutomationGridItemPattern_Vtbl { pub CachedRowSpan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CachedColumnSpan: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationGridPattern, IUIAutomationGridPattern_Vtbl, 0x414c3cdc_856b_4f5b_8538_3131c6302550); +windows_core::imp::define_interface!(IUIAutomationGridPattern, IUIAutomationGridPattern_Vtbl, 0x414c3cdc_856b_4f5b_8538_3131c6302550); windows_core::imp::interface_hierarchy!(IUIAutomationGridPattern, windows_core::IUnknown); impl IUIAutomationGridPattern { pub unsafe fn GetItem(&self, row: i32, column: i32) -> windows_core::Result { @@ -10061,7 +10061,7 @@ pub struct IUIAutomationGridPattern_Vtbl { pub CachedRowCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, pub CachedColumnCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationInvokePattern, IUIAutomationInvokePattern_Vtbl, 0xfb377fbe_8ea6_46d5_9c73_6499642d3059); +windows_core::imp::define_interface!(IUIAutomationInvokePattern, IUIAutomationInvokePattern_Vtbl, 0xfb377fbe_8ea6_46d5_9c73_6499642d3059); windows_core::imp::interface_hierarchy!(IUIAutomationInvokePattern, windows_core::IUnknown); impl IUIAutomationInvokePattern { pub unsafe fn Invoke(&self) -> windows_core::Result<()> { @@ -10073,7 +10073,7 @@ pub struct IUIAutomationInvokePattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationItemContainerPattern, IUIAutomationItemContainerPattern_Vtbl, 0xc690fdb2_27a8_423c_812d_429773c9084e); +windows_core::imp::define_interface!(IUIAutomationItemContainerPattern, IUIAutomationItemContainerPattern_Vtbl, 0xc690fdb2_27a8_423c_812d_429773c9084e); windows_core::imp::interface_hierarchy!(IUIAutomationItemContainerPattern, windows_core::IUnknown); impl IUIAutomationItemContainerPattern { pub unsafe fn FindItemByProperty(&self, pstartafter: P0, propertyid: UIA_PROPERTY_ID, value: P1) -> windows_core::Result @@ -10090,7 +10090,7 @@ 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, } -windows_core::imp::com_interface!(IUIAutomationLegacyIAccessiblePattern, IUIAutomationLegacyIAccessiblePattern_Vtbl, 0x828055ad_355b_4435_86d5_3b51c14a9b1b); +windows_core::imp::define_interface!(IUIAutomationLegacyIAccessiblePattern, IUIAutomationLegacyIAccessiblePattern_Vtbl, 0x828055ad_355b_4435_86d5_3b51c14a9b1b); windows_core::imp::interface_hierarchy!(IUIAutomationLegacyIAccessiblePattern, windows_core::IUnknown); impl IUIAutomationLegacyIAccessiblePattern { pub unsafe fn Select(&self, flagsselect: i32) -> windows_core::Result<()> { @@ -10222,7 +10222,7 @@ pub struct IUIAutomationLegacyIAccessiblePattern_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetIAccessible: usize, } -windows_core::imp::com_interface!(IUIAutomationMultipleViewPattern, IUIAutomationMultipleViewPattern_Vtbl, 0x8d253c91_1dc5_4bb5_b18f_ade16fa495e8); +windows_core::imp::define_interface!(IUIAutomationMultipleViewPattern, IUIAutomationMultipleViewPattern_Vtbl, 0x8d253c91_1dc5_4bb5_b18f_ade16fa495e8); windows_core::imp::interface_hierarchy!(IUIAutomationMultipleViewPattern, windows_core::IUnknown); impl IUIAutomationMultipleViewPattern { pub unsafe fn GetViewName(&self, view: i32) -> windows_core::Result { @@ -10267,7 +10267,7 @@ pub struct IUIAutomationMultipleViewPattern_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetCachedSupportedViews: usize, } -windows_core::imp::com_interface!(IUIAutomationNotCondition, IUIAutomationNotCondition_Vtbl, 0xf528b657_847b_498c_8896_d52b565407a1); +windows_core::imp::define_interface!(IUIAutomationNotCondition, IUIAutomationNotCondition_Vtbl, 0xf528b657_847b_498c_8896_d52b565407a1); windows_core::imp::interface_hierarchy!(IUIAutomationNotCondition, windows_core::IUnknown, IUIAutomationCondition); impl IUIAutomationNotCondition { pub unsafe fn GetChild(&self) -> windows_core::Result { @@ -10280,7 +10280,7 @@ pub struct IUIAutomationNotCondition_Vtbl { pub base__: IUIAutomationCondition_Vtbl, pub GetChild: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationNotificationEventHandler, IUIAutomationNotificationEventHandler_Vtbl, 0xc7cb2637_e6c2_4d0c_85de_4948c02175c7); +windows_core::imp::define_interface!(IUIAutomationNotificationEventHandler, IUIAutomationNotificationEventHandler_Vtbl, 0xc7cb2637_e6c2_4d0c_85de_4948c02175c7); windows_core::imp::interface_hierarchy!(IUIAutomationNotificationEventHandler, windows_core::IUnknown); impl IUIAutomationNotificationEventHandler { pub unsafe fn HandleNotificationEvent(&self, sender: P0, notificationkind: NotificationKind, notificationprocessing: NotificationProcessing, displaystring: P1, activityid: P2) -> windows_core::Result<()> @@ -10297,7 +10297,7 @@ 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, } -windows_core::imp::com_interface!(IUIAutomationObjectModelPattern, IUIAutomationObjectModelPattern_Vtbl, 0x71c284b3_c14d_4d14_981e_19751b0d756d); +windows_core::imp::define_interface!(IUIAutomationObjectModelPattern, IUIAutomationObjectModelPattern_Vtbl, 0x71c284b3_c14d_4d14_981e_19751b0d756d); windows_core::imp::interface_hierarchy!(IUIAutomationObjectModelPattern, windows_core::IUnknown); impl IUIAutomationObjectModelPattern { pub unsafe fn GetUnderlyingObjectModel(&self) -> windows_core::Result { @@ -10310,7 +10310,7 @@ pub struct IUIAutomationObjectModelPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetUnderlyingObjectModel: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationOrCondition, IUIAutomationOrCondition_Vtbl, 0x8753f032_3db1_47b5_a1fc_6e34a266c712); +windows_core::imp::define_interface!(IUIAutomationOrCondition, IUIAutomationOrCondition_Vtbl, 0x8753f032_3db1_47b5_a1fc_6e34a266c712); windows_core::imp::interface_hierarchy!(IUIAutomationOrCondition, windows_core::IUnknown, IUIAutomationCondition); impl IUIAutomationOrCondition { pub unsafe fn ChildCount(&self) -> windows_core::Result { @@ -10336,7 +10336,7 @@ pub struct IUIAutomationOrCondition_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetChildren: usize, } -windows_core::imp::com_interface!(IUIAutomationPatternHandler, IUIAutomationPatternHandler_Vtbl, 0xd97022f3_a947_465e_8b2a_ac4315fa54e8); +windows_core::imp::define_interface!(IUIAutomationPatternHandler, IUIAutomationPatternHandler_Vtbl, 0xd97022f3_a947_465e_8b2a_ac4315fa54e8); windows_core::imp::interface_hierarchy!(IUIAutomationPatternHandler, windows_core::IUnknown); impl IUIAutomationPatternHandler { pub unsafe fn CreateClientWrapper(&self, ppatterninstance: P0) -> windows_core::Result @@ -10359,7 +10359,7 @@ pub struct IUIAutomationPatternHandler_Vtbl { pub CreateClientWrapper: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Dispatch: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *const UIAutomationParameter, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationPatternInstance, IUIAutomationPatternInstance_Vtbl, 0xc03a7fe4_9431_409f_bed8_ae7c2299bc8d); +windows_core::imp::define_interface!(IUIAutomationPatternInstance, IUIAutomationPatternInstance_Vtbl, 0xc03a7fe4_9431_409f_bed8_ae7c2299bc8d); windows_core::imp::interface_hierarchy!(IUIAutomationPatternInstance, windows_core::IUnknown); impl IUIAutomationPatternInstance { pub unsafe fn GetProperty(&self, index: u32, cached: P0, r#type: UIAutomationType, pptr: *mut core::ffi::c_void) -> windows_core::Result<()> @@ -10378,7 +10378,7 @@ pub struct IUIAutomationPatternInstance_Vtbl { pub GetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::BOOL, UIAutomationType, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CallMethod: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const UIAutomationParameter, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationPropertyChangedEventHandler, IUIAutomationPropertyChangedEventHandler_Vtbl, 0x40cd37d4_c756_4b0c_8c6f_bddfeeb13b50); +windows_core::imp::define_interface!(IUIAutomationPropertyChangedEventHandler, IUIAutomationPropertyChangedEventHandler_Vtbl, 0x40cd37d4_c756_4b0c_8c6f_bddfeeb13b50); windows_core::imp::interface_hierarchy!(IUIAutomationPropertyChangedEventHandler, windows_core::IUnknown); impl IUIAutomationPropertyChangedEventHandler { pub unsafe fn HandlePropertyChangedEvent(&self, sender: P0, propertyid: UIA_PROPERTY_ID, newvalue: P1) -> windows_core::Result<()> @@ -10394,7 +10394,7 @@ 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, } -windows_core::imp::com_interface!(IUIAutomationPropertyCondition, IUIAutomationPropertyCondition_Vtbl, 0x99ebf2cb_5578_4267_9ad4_afd6ea77e94b); +windows_core::imp::define_interface!(IUIAutomationPropertyCondition, IUIAutomationPropertyCondition_Vtbl, 0x99ebf2cb_5578_4267_9ad4_afd6ea77e94b); windows_core::imp::interface_hierarchy!(IUIAutomationPropertyCondition, windows_core::IUnknown, IUIAutomationCondition); impl IUIAutomationPropertyCondition { pub unsafe fn PropertyId(&self) -> windows_core::Result { @@ -10417,7 +10417,7 @@ pub struct IUIAutomationPropertyCondition_Vtbl { pub PropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub PropertyConditionFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PropertyConditionFlags) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationProxyFactory, IUIAutomationProxyFactory_Vtbl, 0x85b94ecd_849d_42b6_b94d_d6db23fdf5a4); +windows_core::imp::define_interface!(IUIAutomationProxyFactory, IUIAutomationProxyFactory_Vtbl, 0x85b94ecd_849d_42b6_b94d_d6db23fdf5a4); windows_core::imp::interface_hierarchy!(IUIAutomationProxyFactory, windows_core::IUnknown); impl IUIAutomationProxyFactory { pub unsafe fn CreateProvider(&self, hwnd: P0, idobject: i32, idchild: i32) -> windows_core::Result @@ -10438,7 +10438,7 @@ pub struct IUIAutomationProxyFactory_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, } -windows_core::imp::com_interface!(IUIAutomationProxyFactoryEntry, IUIAutomationProxyFactoryEntry_Vtbl, 0xd50e472e_b64b_490c_bca1_d30696f9f289); +windows_core::imp::define_interface!(IUIAutomationProxyFactoryEntry, IUIAutomationProxyFactoryEntry_Vtbl, 0xd50e472e_b64b_490c_bca1_d30696f9f289); windows_core::imp::interface_hierarchy!(IUIAutomationProxyFactoryEntry, windows_core::IUnknown); impl IUIAutomationProxyFactoryEntry { pub unsafe fn ProxyFactory(&self) -> windows_core::Result { @@ -10528,7 +10528,7 @@ pub struct IUIAutomationProxyFactoryEntry_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetWinEventsForAutomationEvent: usize, } -windows_core::imp::com_interface!(IUIAutomationProxyFactoryMapping, IUIAutomationProxyFactoryMapping_Vtbl, 0x09e31e18_872d_4873_93d1_1e541ec133fd); +windows_core::imp::define_interface!(IUIAutomationProxyFactoryMapping, IUIAutomationProxyFactoryMapping_Vtbl, 0x09e31e18_872d_4873_93d1_1e541ec133fd); windows_core::imp::interface_hierarchy!(IUIAutomationProxyFactoryMapping, windows_core::IUnknown); impl IUIAutomationProxyFactoryMapping { pub unsafe fn Count(&self) -> windows_core::Result { @@ -10590,7 +10590,7 @@ pub struct IUIAutomationProxyFactoryMapping_Vtbl { pub ClearTable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub RestoreDefaultTable: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationRangeValuePattern, IUIAutomationRangeValuePattern_Vtbl, 0x59213f4f_7346_49e5_b120_80555987a148); +windows_core::imp::define_interface!(IUIAutomationRangeValuePattern, IUIAutomationRangeValuePattern_Vtbl, 0x59213f4f_7346_49e5_b120_80555987a148); windows_core::imp::interface_hierarchy!(IUIAutomationRangeValuePattern, windows_core::IUnknown); impl IUIAutomationRangeValuePattern { pub unsafe fn SetValue(&self, val: f64) -> windows_core::Result<()> { @@ -10662,7 +10662,7 @@ pub struct IUIAutomationRangeValuePattern_Vtbl { pub CachedLargeChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub CachedSmallChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationRegistrar, IUIAutomationRegistrar_Vtbl, 0x8609c4ec_4a1a_4d88_a357_5a66e060e1cf); +windows_core::imp::define_interface!(IUIAutomationRegistrar, IUIAutomationRegistrar_Vtbl, 0x8609c4ec_4a1a_4d88_a357_5a66e060e1cf); windows_core::imp::interface_hierarchy!(IUIAutomationRegistrar, windows_core::IUnknown); impl IUIAutomationRegistrar { pub unsafe fn RegisterProperty(&self, property: *const UIAutomationPropertyInfo) -> windows_core::Result { @@ -10684,7 +10684,7 @@ pub struct IUIAutomationRegistrar_Vtbl { pub RegisterEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const UIAutomationEventInfo, *mut i32) -> windows_core::HRESULT, pub RegisterPattern: unsafe extern "system" fn(*mut core::ffi::c_void, *const UIAutomationPatternInfo, *mut i32, *mut i32, u32, *mut i32, u32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationScrollItemPattern, IUIAutomationScrollItemPattern_Vtbl, 0xb488300f_d015_4f19_9c29_bb595e3645ef); +windows_core::imp::define_interface!(IUIAutomationScrollItemPattern, IUIAutomationScrollItemPattern_Vtbl, 0xb488300f_d015_4f19_9c29_bb595e3645ef); windows_core::imp::interface_hierarchy!(IUIAutomationScrollItemPattern, windows_core::IUnknown); impl IUIAutomationScrollItemPattern { pub unsafe fn ScrollIntoView(&self) -> windows_core::Result<()> { @@ -10696,7 +10696,7 @@ pub struct IUIAutomationScrollItemPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ScrollIntoView: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationScrollPattern, IUIAutomationScrollPattern_Vtbl, 0x88f4d42a_e881_459d_a77c_73bbbb7e02dc); +windows_core::imp::define_interface!(IUIAutomationScrollPattern, IUIAutomationScrollPattern_Vtbl, 0x88f4d42a_e881_459d_a77c_73bbbb7e02dc); windows_core::imp::interface_hierarchy!(IUIAutomationScrollPattern, windows_core::IUnknown); impl IUIAutomationScrollPattern { pub unsafe fn Scroll(&self, horizontalamount: ScrollAmount, verticalamount: ScrollAmount) -> windows_core::Result<()> { @@ -10772,7 +10772,7 @@ pub struct IUIAutomationScrollPattern_Vtbl { pub CachedHorizontallyScrollable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedVerticallyScrollable: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationSelectionItemPattern, IUIAutomationSelectionItemPattern_Vtbl, 0xa8efa66a_0fda_421a_9194_38021f3578ea); +windows_core::imp::define_interface!(IUIAutomationSelectionItemPattern, IUIAutomationSelectionItemPattern_Vtbl, 0xa8efa66a_0fda_421a_9194_38021f3578ea); windows_core::imp::interface_hierarchy!(IUIAutomationSelectionItemPattern, windows_core::IUnknown); impl IUIAutomationSelectionItemPattern { pub unsafe fn Select(&self) -> windows_core::Result<()> { @@ -10812,7 +10812,7 @@ pub struct IUIAutomationSelectionItemPattern_Vtbl { pub CachedIsSelected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedSelectionContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationSelectionPattern, IUIAutomationSelectionPattern_Vtbl, 0x5ed5202e_b2ac_47a6_b638_4b0bf140d78e); +windows_core::imp::define_interface!(IUIAutomationSelectionPattern, IUIAutomationSelectionPattern_Vtbl, 0x5ed5202e_b2ac_47a6_b638_4b0bf140d78e); windows_core::imp::interface_hierarchy!(IUIAutomationSelectionPattern, windows_core::IUnknown); impl IUIAutomationSelectionPattern { pub unsafe fn GetCurrentSelection(&self) -> windows_core::Result { @@ -10850,7 +10850,7 @@ pub struct IUIAutomationSelectionPattern_Vtbl { pub CachedCanSelectMultiple: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedIsSelectionRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationSelectionPattern2, IUIAutomationSelectionPattern2_Vtbl, 0x0532bfae_c011_4e32_a343_6d642d798555); +windows_core::imp::define_interface!(IUIAutomationSelectionPattern2, IUIAutomationSelectionPattern2_Vtbl, 0x0532bfae_c011_4e32_a343_6d642d798555); windows_core::imp::interface_hierarchy!(IUIAutomationSelectionPattern2, windows_core::IUnknown, IUIAutomationSelectionPattern); impl IUIAutomationSelectionPattern2 { pub unsafe fn GetCurrentSelection(&self) -> windows_core::Result { @@ -10922,7 +10922,7 @@ pub struct IUIAutomationSelectionPattern2_Vtbl { pub CachedCurrentSelectedItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CachedItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationSpreadsheetItemPattern, IUIAutomationSpreadsheetItemPattern_Vtbl, 0x7d4fb86c_8d34_40e1_8e83_62c15204e335); +windows_core::imp::define_interface!(IUIAutomationSpreadsheetItemPattern, IUIAutomationSpreadsheetItemPattern_Vtbl, 0x7d4fb86c_8d34_40e1_8e83_62c15204e335); windows_core::imp::interface_hierarchy!(IUIAutomationSpreadsheetItemPattern, windows_core::IUnknown); impl IUIAutomationSpreadsheetItemPattern { pub unsafe fn CurrentFormula(&self) -> windows_core::Result { @@ -10968,7 +10968,7 @@ pub struct IUIAutomationSpreadsheetItemPattern_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetCachedAnnotationTypes: usize, } -windows_core::imp::com_interface!(IUIAutomationSpreadsheetPattern, IUIAutomationSpreadsheetPattern_Vtbl, 0x7517a7c8_faae_4de9_9f08_29b91e8595c1); +windows_core::imp::define_interface!(IUIAutomationSpreadsheetPattern, IUIAutomationSpreadsheetPattern_Vtbl, 0x7517a7c8_faae_4de9_9f08_29b91e8595c1); windows_core::imp::interface_hierarchy!(IUIAutomationSpreadsheetPattern, windows_core::IUnknown); impl IUIAutomationSpreadsheetPattern { pub unsafe fn GetItemByName(&self, name: P0) -> windows_core::Result @@ -10984,7 +10984,7 @@ 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, } -windows_core::imp::com_interface!(IUIAutomationStructureChangedEventHandler, IUIAutomationStructureChangedEventHandler_Vtbl, 0xe81d1b4e_11c5_42f8_9754_e7036c79f054); +windows_core::imp::define_interface!(IUIAutomationStructureChangedEventHandler, IUIAutomationStructureChangedEventHandler_Vtbl, 0xe81d1b4e_11c5_42f8_9754_e7036c79f054); windows_core::imp::interface_hierarchy!(IUIAutomationStructureChangedEventHandler, windows_core::IUnknown); impl IUIAutomationStructureChangedEventHandler { #[cfg(feature = "Win32_System_Com")] @@ -11003,7 +11003,7 @@ pub struct IUIAutomationStructureChangedEventHandler_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] HandleStructureChangedEvent: usize, } -windows_core::imp::com_interface!(IUIAutomationStylesPattern, IUIAutomationStylesPattern_Vtbl, 0x85b5f0a2_bd79_484a_ad2b_388c9838d5fb); +windows_core::imp::define_interface!(IUIAutomationStylesPattern, IUIAutomationStylesPattern_Vtbl, 0x85b5f0a2_bd79_484a_ad2b_388c9838d5fb); windows_core::imp::interface_hierarchy!(IUIAutomationStylesPattern, windows_core::IUnknown); impl IUIAutomationStylesPattern { pub unsafe fn CurrentStyleId(&self) -> windows_core::Result { @@ -11089,7 +11089,7 @@ pub struct IUIAutomationStylesPattern_Vtbl { pub CachedExtendedProperties: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IUIAutomationSynchronizedInputPattern, IUIAutomationSynchronizedInputPattern_Vtbl, 0x2233be0b_afb7_448b_9fda_3b378aa5eae1); +windows_core::imp::define_interface!(IUIAutomationSynchronizedInputPattern, IUIAutomationSynchronizedInputPattern_Vtbl, 0x2233be0b_afb7_448b_9fda_3b378aa5eae1); windows_core::imp::interface_hierarchy!(IUIAutomationSynchronizedInputPattern, windows_core::IUnknown); impl IUIAutomationSynchronizedInputPattern { pub unsafe fn StartListening(&self, inputtype: SynchronizedInputType) -> windows_core::Result<()> { @@ -11105,7 +11105,7 @@ pub struct IUIAutomationSynchronizedInputPattern_Vtbl { pub StartListening: unsafe extern "system" fn(*mut core::ffi::c_void, SynchronizedInputType) -> windows_core::HRESULT, pub Cancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTableItemPattern, IUIAutomationTableItemPattern_Vtbl, 0x0b964eb3_ef2e_4464_9c79_61d61737a27e); +windows_core::imp::define_interface!(IUIAutomationTableItemPattern, IUIAutomationTableItemPattern_Vtbl, 0x0b964eb3_ef2e_4464_9c79_61d61737a27e); windows_core::imp::interface_hierarchy!(IUIAutomationTableItemPattern, windows_core::IUnknown); impl IUIAutomationTableItemPattern { pub unsafe fn GetCurrentRowHeaderItems(&self) -> windows_core::Result { @@ -11133,7 +11133,7 @@ pub struct IUIAutomationTableItemPattern_Vtbl { pub GetCachedRowHeaderItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCachedColumnHeaderItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTablePattern, IUIAutomationTablePattern_Vtbl, 0x620e691c_ea96_4710_a850_754b24ce2417); +windows_core::imp::define_interface!(IUIAutomationTablePattern, IUIAutomationTablePattern_Vtbl, 0x620e691c_ea96_4710_a850_754b24ce2417); windows_core::imp::interface_hierarchy!(IUIAutomationTablePattern, windows_core::IUnknown); impl IUIAutomationTablePattern { pub unsafe fn GetCurrentRowHeaders(&self) -> windows_core::Result { @@ -11171,7 +11171,7 @@ pub struct IUIAutomationTablePattern_Vtbl { pub GetCachedColumnHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CachedRowOrColumnMajor: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RowOrColumnMajor) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTextChildPattern, IUIAutomationTextChildPattern_Vtbl, 0x6552b038_ae05_40c8_abfd_aa08352aab86); +windows_core::imp::define_interface!(IUIAutomationTextChildPattern, IUIAutomationTextChildPattern_Vtbl, 0x6552b038_ae05_40c8_abfd_aa08352aab86); windows_core::imp::interface_hierarchy!(IUIAutomationTextChildPattern, windows_core::IUnknown); impl IUIAutomationTextChildPattern { pub unsafe fn TextContainer(&self) -> windows_core::Result { @@ -11189,7 +11189,7 @@ pub struct IUIAutomationTextChildPattern_Vtbl { pub TextContainer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub TextRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTextEditPattern, IUIAutomationTextEditPattern_Vtbl, 0x17e21576_996c_4870_99d9_bff323380c06); +windows_core::imp::define_interface!(IUIAutomationTextEditPattern, IUIAutomationTextEditPattern_Vtbl, 0x17e21576_996c_4870_99d9_bff323380c06); windows_core::imp::interface_hierarchy!(IUIAutomationTextEditPattern, windows_core::IUnknown, IUIAutomationTextPattern); impl IUIAutomationTextEditPattern { pub unsafe fn RangeFromPoint(&self, pt: super::super::Foundation::POINT) -> windows_core::Result { @@ -11234,7 +11234,7 @@ pub struct IUIAutomationTextEditPattern_Vtbl { pub GetActiveComposition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetConversionTarget: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTextEditTextChangedEventHandler, IUIAutomationTextEditTextChangedEventHandler_Vtbl, 0x92faa680_e704_4156_931a_e32d5bb38f3f); +windows_core::imp::define_interface!(IUIAutomationTextEditTextChangedEventHandler, IUIAutomationTextEditTextChangedEventHandler_Vtbl, 0x92faa680_e704_4156_931a_e32d5bb38f3f); windows_core::imp::interface_hierarchy!(IUIAutomationTextEditTextChangedEventHandler, windows_core::IUnknown); impl IUIAutomationTextEditTextChangedEventHandler { #[cfg(feature = "Win32_System_Com")] @@ -11253,7 +11253,7 @@ pub struct IUIAutomationTextEditTextChangedEventHandler_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] HandleTextEditTextChangedEvent: usize, } -windows_core::imp::com_interface!(IUIAutomationTextPattern, IUIAutomationTextPattern_Vtbl, 0x32eba289_3583_42c9_9c59_3b6d9a1e9b6a); +windows_core::imp::define_interface!(IUIAutomationTextPattern, IUIAutomationTextPattern_Vtbl, 0x32eba289_3583_42c9_9c59_3b6d9a1e9b6a); windows_core::imp::interface_hierarchy!(IUIAutomationTextPattern, windows_core::IUnknown); impl IUIAutomationTextPattern { pub unsafe fn RangeFromPoint(&self, pt: super::super::Foundation::POINT) -> windows_core::Result { @@ -11294,7 +11294,7 @@ pub struct IUIAutomationTextPattern_Vtbl { pub DocumentRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SupportedTextSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SupportedTextSelection) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTextPattern2, IUIAutomationTextPattern2_Vtbl, 0x506a921a_fcc9_409f_b23b_37eb74106872); +windows_core::imp::define_interface!(IUIAutomationTextPattern2, IUIAutomationTextPattern2_Vtbl, 0x506a921a_fcc9_409f_b23b_37eb74106872); windows_core::imp::interface_hierarchy!(IUIAutomationTextPattern2, windows_core::IUnknown, IUIAutomationTextPattern); impl IUIAutomationTextPattern2 { pub unsafe fn RangeFromPoint(&self, pt: super::super::Foundation::POINT) -> windows_core::Result { @@ -11342,7 +11342,7 @@ pub struct IUIAutomationTextPattern2_Vtbl { pub RangeFromAnnotation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCaretRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTextRange, IUIAutomationTextRange_Vtbl, 0xa543cc6a_f4ae_494b_8239_c814481187a8); +windows_core::imp::define_interface!(IUIAutomationTextRange, IUIAutomationTextRange_Vtbl, 0xa543cc6a_f4ae_494b_8239_c814481187a8); windows_core::imp::interface_hierarchy!(IUIAutomationTextRange, windows_core::IUnknown); impl IUIAutomationTextRange { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -11459,7 +11459,7 @@ pub struct IUIAutomationTextRange_Vtbl { pub ScrollIntoView: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetChildren: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTextRange2, IUIAutomationTextRange2_Vtbl, 0xbb9b40e0_5e04_46bd_9be0_4b601b9afad4); +windows_core::imp::define_interface!(IUIAutomationTextRange2, IUIAutomationTextRange2_Vtbl, 0xbb9b40e0_5e04_46bd_9be0_4b601b9afad4); windows_core::imp::interface_hierarchy!(IUIAutomationTextRange2, windows_core::IUnknown, IUIAutomationTextRange); impl IUIAutomationTextRange2 { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -11559,7 +11559,7 @@ pub struct IUIAutomationTextRange2_Vtbl { pub base__: IUIAutomationTextRange_Vtbl, pub ShowContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTextRange3, IUIAutomationTextRange3_Vtbl, 0x6a315d69_5512_4c2e_85f0_53fce6dd4bc2); +windows_core::imp::define_interface!(IUIAutomationTextRange3, IUIAutomationTextRange3_Vtbl, 0x6a315d69_5512_4c2e_85f0_53fce6dd4bc2); windows_core::imp::interface_hierarchy!(IUIAutomationTextRange3, windows_core::IUnknown, IUIAutomationTextRange, IUIAutomationTextRange2); impl IUIAutomationTextRange3 { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -11683,7 +11683,7 @@ pub struct IUIAutomationTextRange3_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetAttributeValues: usize, } -windows_core::imp::com_interface!(IUIAutomationTextRangeArray, IUIAutomationTextRangeArray_Vtbl, 0xce4ae76a_e717_4c98_81ea_47371d028eb6); +windows_core::imp::define_interface!(IUIAutomationTextRangeArray, IUIAutomationTextRangeArray_Vtbl, 0xce4ae76a_e717_4c98_81ea_47371d028eb6); windows_core::imp::interface_hierarchy!(IUIAutomationTextRangeArray, windows_core::IUnknown); impl IUIAutomationTextRangeArray { pub unsafe fn Length(&self) -> windows_core::Result { @@ -11701,7 +11701,7 @@ pub struct IUIAutomationTextRangeArray_Vtbl { pub Length: 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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTogglePattern, IUIAutomationTogglePattern_Vtbl, 0x94cf8058_9b8d_4ab9_8bfd_4cd0a33c8c70); +windows_core::imp::define_interface!(IUIAutomationTogglePattern, IUIAutomationTogglePattern_Vtbl, 0x94cf8058_9b8d_4ab9_8bfd_4cd0a33c8c70); windows_core::imp::interface_hierarchy!(IUIAutomationTogglePattern, windows_core::IUnknown); impl IUIAutomationTogglePattern { pub unsafe fn Toggle(&self) -> windows_core::Result<()> { @@ -11723,7 +11723,7 @@ pub struct IUIAutomationTogglePattern_Vtbl { pub CurrentToggleState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ToggleState) -> windows_core::HRESULT, pub CachedToggleState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut ToggleState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTransformPattern, IUIAutomationTransformPattern_Vtbl, 0xa9b55844_a55d_4ef0_926d_569c16ff89bb); +windows_core::imp::define_interface!(IUIAutomationTransformPattern, IUIAutomationTransformPattern_Vtbl, 0xa9b55844_a55d_4ef0_926d_569c16ff89bb); windows_core::imp::interface_hierarchy!(IUIAutomationTransformPattern, windows_core::IUnknown); impl IUIAutomationTransformPattern { pub unsafe fn Move(&self, x: f64, y: f64) -> windows_core::Result<()> { @@ -11773,7 +11773,7 @@ pub struct IUIAutomationTransformPattern_Vtbl { pub CachedCanResize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub CachedCanRotate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTransformPattern2, IUIAutomationTransformPattern2_Vtbl, 0x6d74d017_6ecb_4381_b38b_3c17a48ff1c2); +windows_core::imp::define_interface!(IUIAutomationTransformPattern2, IUIAutomationTransformPattern2_Vtbl, 0x6d74d017_6ecb_4381_b38b_3c17a48ff1c2); windows_core::imp::interface_hierarchy!(IUIAutomationTransformPattern2, windows_core::IUnknown, IUIAutomationTransformPattern); impl IUIAutomationTransformPattern2 { pub unsafe fn Move(&self, x: f64, y: f64) -> windows_core::Result<()> { @@ -11862,7 +11862,7 @@ pub struct IUIAutomationTransformPattern2_Vtbl { pub CurrentZoomMaximum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub CachedZoomMaximum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationTreeWalker, IUIAutomationTreeWalker_Vtbl, 0x4042c624_389c_4afc_a630_9df854a541fc); +windows_core::imp::define_interface!(IUIAutomationTreeWalker, IUIAutomationTreeWalker_Vtbl, 0x4042c624_389c_4afc_a630_9df854a541fc); windows_core::imp::interface_hierarchy!(IUIAutomationTreeWalker, windows_core::IUnknown); impl IUIAutomationTreeWalker { pub unsafe fn GetParentElement(&self, element: P0) -> windows_core::Result @@ -11977,7 +11977,7 @@ pub struct IUIAutomationTreeWalker_Vtbl { pub NormalizeElementBuildCache: 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 Condition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationValuePattern, IUIAutomationValuePattern_Vtbl, 0xa94cd8b1_0844_4cd6_9d2d_640537ab39e9); +windows_core::imp::define_interface!(IUIAutomationValuePattern, IUIAutomationValuePattern_Vtbl, 0xa94cd8b1_0844_4cd6_9d2d_640537ab39e9); windows_core::imp::interface_hierarchy!(IUIAutomationValuePattern, windows_core::IUnknown); impl IUIAutomationValuePattern { pub unsafe fn SetValue(&self, val: P0) -> windows_core::Result<()> @@ -12012,7 +12012,7 @@ pub struct IUIAutomationValuePattern_Vtbl { pub CachedValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IUIAutomationVirtualizedItemPattern, IUIAutomationVirtualizedItemPattern_Vtbl, 0x6ba3d7a6_04cf_4f11_8793_a8d1cde9969f); +windows_core::imp::define_interface!(IUIAutomationVirtualizedItemPattern, IUIAutomationVirtualizedItemPattern_Vtbl, 0x6ba3d7a6_04cf_4f11_8793_a8d1cde9969f); windows_core::imp::interface_hierarchy!(IUIAutomationVirtualizedItemPattern, windows_core::IUnknown); impl IUIAutomationVirtualizedItemPattern { pub unsafe fn Realize(&self) -> windows_core::Result<()> { @@ -12024,7 +12024,7 @@ pub struct IUIAutomationVirtualizedItemPattern_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Realize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAutomationWindowPattern, IUIAutomationWindowPattern_Vtbl, 0x0faef453_9208_43ef_bbb2_3b485177864f); +windows_core::imp::define_interface!(IUIAutomationWindowPattern, IUIAutomationWindowPattern_Vtbl, 0x0faef453_9208_43ef_bbb2_3b485177864f); windows_core::imp::interface_hierarchy!(IUIAutomationWindowPattern, windows_core::IUnknown); impl IUIAutomationWindowPattern { pub unsafe fn Close(&self) -> windows_core::Result<()> { @@ -12105,7 +12105,7 @@ pub struct IUIAutomationWindowPattern_Vtbl { pub CachedWindowVisualState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WindowVisualState) -> windows_core::HRESULT, pub CachedWindowInteractionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut WindowInteractionState) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IValueProvider, IValueProvider_Vtbl, 0xc7935180_6fb3_4201_b174_7df73adbf64a); +windows_core::imp::define_interface!(IValueProvider, IValueProvider_Vtbl, 0xc7935180_6fb3_4201_b174_7df73adbf64a); windows_core::imp::interface_hierarchy!(IValueProvider, windows_core::IUnknown); impl IValueProvider { pub unsafe fn SetValue(&self, val: P0) -> windows_core::Result<()> @@ -12130,7 +12130,7 @@ pub struct IValueProvider_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IVirtualizedItemProvider, IVirtualizedItemProvider_Vtbl, 0xcb98b665_2d35_4fac_ad35_f3c60d0c0b8b); +windows_core::imp::define_interface!(IVirtualizedItemProvider, IVirtualizedItemProvider_Vtbl, 0xcb98b665_2d35_4fac_ad35_f3c60d0c0b8b); windows_core::imp::interface_hierarchy!(IVirtualizedItemProvider, windows_core::IUnknown); impl IVirtualizedItemProvider { pub unsafe fn Realize(&self) -> windows_core::Result<()> { @@ -12142,7 +12142,7 @@ pub struct IVirtualizedItemProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Realize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWindowProvider, IWindowProvider_Vtbl, 0x987df77b_db06_4d77_8f8a_86a9c3bb90b9); +windows_core::imp::define_interface!(IWindowProvider, IWindowProvider_Vtbl, 0x987df77b_db06_4d77_8f8a_86a9c3bb90b9); windows_core::imp::interface_hierarchy!(IWindowProvider, windows_core::IUnknown); impl IWindowProvider { pub unsafe fn SetVisualState(&self, state: WindowVisualState) -> windows_core::Result<()> { 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 ff958b3279..6965c21ffe 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Animation/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IUIAnimationInterpolator, IUIAnimationInterpolator_Vtbl, 0x7815cbba_ddf7_478c_a46c_7b6c738b7978); +windows_core::imp::define_interface!(IUIAnimationInterpolator, IUIAnimationInterpolator_Vtbl, 0x7815cbba_ddf7_478c_a46c_7b6c738b7978); windows_core::imp::interface_hierarchy!(IUIAnimationInterpolator, windows_core::IUnknown); impl IUIAnimationInterpolator { pub unsafe fn SetInitialValueAndVelocity(&self, initialvalue: f64, initialvelocity: f64) -> windows_core::Result<()> { @@ -38,7 +38,7 @@ pub struct IUIAnimationInterpolator_Vtbl { pub InterpolateVelocity: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *mut f64) -> windows_core::HRESULT, pub GetDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UI_ANIMATION_DEPENDENCIES, *mut UI_ANIMATION_DEPENDENCIES, *mut UI_ANIMATION_DEPENDENCIES) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationInterpolator2, IUIAnimationInterpolator2_Vtbl, 0xea76aff8_ea22_4a23_a0ef_a6a966703518); +windows_core::imp::define_interface!(IUIAnimationInterpolator2, IUIAnimationInterpolator2_Vtbl, 0xea76aff8_ea22_4a23_a0ef_a6a966703518); windows_core::imp::interface_hierarchy!(IUIAnimationInterpolator2, windows_core::IUnknown); impl IUIAnimationInterpolator2 { pub unsafe fn GetDimension(&self) -> windows_core::Result { @@ -87,7 +87,7 @@ pub struct IUIAnimationInterpolator2_Vtbl { pub GetPrimitiveInterpolation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetDependencies: unsafe extern "system" fn(*mut core::ffi::c_void, *mut UI_ANIMATION_DEPENDENCIES, *mut UI_ANIMATION_DEPENDENCIES, *mut UI_ANIMATION_DEPENDENCIES) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationLoopIterationChangeHandler2, IUIAnimationLoopIterationChangeHandler2_Vtbl, 0x2d3b15a4_4762_47ab_a030_b23221df3ae0); +windows_core::imp::define_interface!(IUIAnimationLoopIterationChangeHandler2, IUIAnimationLoopIterationChangeHandler2_Vtbl, 0x2d3b15a4_4762_47ab_a030_b23221df3ae0); windows_core::imp::interface_hierarchy!(IUIAnimationLoopIterationChangeHandler2, windows_core::IUnknown); impl IUIAnimationLoopIterationChangeHandler2 { pub unsafe fn OnLoopIterationChanged(&self, storyboard: P0, id: usize, newiterationcount: u32, olditerationcount: u32) -> windows_core::Result<()> @@ -102,7 +102,7 @@ pub struct IUIAnimationLoopIterationChangeHandler2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnLoopIterationChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, usize, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationManager, IUIAnimationManager_Vtbl, 0x9169896c_ac8d_4e7d_94e5_67fa4dc2f2e8); +windows_core::imp::define_interface!(IUIAnimationManager, IUIAnimationManager_Vtbl, 0x9169896c_ac8d_4e7d_94e5_67fa4dc2f2e8); windows_core::imp::interface_hierarchy!(IUIAnimationManager, windows_core::IUnknown); impl IUIAnimationManager { pub unsafe fn CreateAnimationVariable(&self, initialvalue: f64) -> windows_core::Result { @@ -216,7 +216,7 @@ pub struct IUIAnimationManager_Vtbl { pub SetDefaultLongestAcceptableDelay: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationManager2, IUIAnimationManager2_Vtbl, 0xd8b6f7d4_4109_4d3f_acee_879926968cb1); +windows_core::imp::define_interface!(IUIAnimationManager2, IUIAnimationManager2_Vtbl, 0xd8b6f7d4_4109_4d3f_acee_879926968cb1); windows_core::imp::interface_hierarchy!(IUIAnimationManager2, windows_core::IUnknown); impl IUIAnimationManager2 { pub unsafe fn CreateAnimationVectorVariable(&self, initialvalue: &[f64]) -> windows_core::Result { @@ -341,7 +341,7 @@ pub struct IUIAnimationManager2_Vtbl { pub SetDefaultLongestAcceptableDelay: unsafe extern "system" fn(*mut core::ffi::c_void, f64) -> windows_core::HRESULT, pub Shutdown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationManagerEventHandler, IUIAnimationManagerEventHandler_Vtbl, 0x783321ed_78a3_4366_b574_6af607a64788); +windows_core::imp::define_interface!(IUIAnimationManagerEventHandler, IUIAnimationManagerEventHandler_Vtbl, 0x783321ed_78a3_4366_b574_6af607a64788); windows_core::imp::interface_hierarchy!(IUIAnimationManagerEventHandler, windows_core::IUnknown); impl IUIAnimationManagerEventHandler { pub unsafe fn OnManagerStatusChanged(&self, newstatus: UI_ANIMATION_MANAGER_STATUS, previousstatus: UI_ANIMATION_MANAGER_STATUS) -> windows_core::Result<()> { @@ -353,7 +353,7 @@ pub struct IUIAnimationManagerEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnManagerStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, UI_ANIMATION_MANAGER_STATUS, UI_ANIMATION_MANAGER_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationManagerEventHandler2, IUIAnimationManagerEventHandler2_Vtbl, 0xf6e022ba_bff3_42ec_9033_e073f33e83c3); +windows_core::imp::define_interface!(IUIAnimationManagerEventHandler2, IUIAnimationManagerEventHandler2_Vtbl, 0xf6e022ba_bff3_42ec_9033_e073f33e83c3); windows_core::imp::interface_hierarchy!(IUIAnimationManagerEventHandler2, windows_core::IUnknown); impl IUIAnimationManagerEventHandler2 { pub unsafe fn OnManagerStatusChanged(&self, newstatus: UI_ANIMATION_MANAGER_STATUS, previousstatus: UI_ANIMATION_MANAGER_STATUS) -> windows_core::Result<()> { @@ -365,7 +365,7 @@ pub struct IUIAnimationManagerEventHandler2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnManagerStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, UI_ANIMATION_MANAGER_STATUS, UI_ANIMATION_MANAGER_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationPrimitiveInterpolation, IUIAnimationPrimitiveInterpolation_Vtbl, 0xbab20d63_4361_45da_a24f_ab8508846b5b); +windows_core::imp::define_interface!(IUIAnimationPrimitiveInterpolation, IUIAnimationPrimitiveInterpolation_Vtbl, 0xbab20d63_4361_45da_a24f_ab8508846b5b); windows_core::imp::interface_hierarchy!(IUIAnimationPrimitiveInterpolation, windows_core::IUnknown); impl IUIAnimationPrimitiveInterpolation { pub unsafe fn AddCubic(&self, dimension: u32, beginoffset: f64, constantcoefficient: f32, linearcoefficient: f32, quadraticcoefficient: f32, cubiccoefficient: f32) -> windows_core::Result<()> { @@ -381,7 +381,7 @@ pub struct IUIAnimationPrimitiveInterpolation_Vtbl { pub AddCubic: unsafe extern "system" fn(*mut core::ffi::c_void, u32, f64, f32, f32, f32, f32) -> windows_core::HRESULT, pub AddSinusoidal: unsafe extern "system" fn(*mut core::ffi::c_void, u32, f64, f32, f32, f32, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationPriorityComparison, IUIAnimationPriorityComparison_Vtbl, 0x83fa9b74_5f86_4618_bc6a_a2fac19b3f44); +windows_core::imp::define_interface!(IUIAnimationPriorityComparison, IUIAnimationPriorityComparison_Vtbl, 0x83fa9b74_5f86_4618_bc6a_a2fac19b3f44); windows_core::imp::interface_hierarchy!(IUIAnimationPriorityComparison, windows_core::IUnknown); impl IUIAnimationPriorityComparison { pub unsafe fn HasPriority(&self, scheduledstoryboard: P0, newstoryboard: P1, priorityeffect: UI_ANIMATION_PRIORITY_EFFECT) -> windows_core::Result<()> @@ -397,7 +397,7 @@ pub struct IUIAnimationPriorityComparison_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub HasPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, UI_ANIMATION_PRIORITY_EFFECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationPriorityComparison2, IUIAnimationPriorityComparison2_Vtbl, 0x5b6d7a37_4621_467c_8b05_70131de62ddb); +windows_core::imp::define_interface!(IUIAnimationPriorityComparison2, IUIAnimationPriorityComparison2_Vtbl, 0x5b6d7a37_4621_467c_8b05_70131de62ddb); windows_core::imp::interface_hierarchy!(IUIAnimationPriorityComparison2, windows_core::IUnknown); impl IUIAnimationPriorityComparison2 { pub unsafe fn HasPriority(&self, scheduledstoryboard: P0, newstoryboard: P1, priorityeffect: UI_ANIMATION_PRIORITY_EFFECT) -> windows_core::Result<()> @@ -413,7 +413,7 @@ pub struct IUIAnimationPriorityComparison2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub HasPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, UI_ANIMATION_PRIORITY_EFFECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationStoryboard, IUIAnimationStoryboard_Vtbl, 0xa8ff128f_9bf9_4af1_9e67_e5e410defb84); +windows_core::imp::define_interface!(IUIAnimationStoryboard, IUIAnimationStoryboard_Vtbl, 0xa8ff128f_9bf9_4af1_9e67_e5e410defb84); windows_core::imp::interface_hierarchy!(IUIAnimationStoryboard, windows_core::IUnknown); impl IUIAnimationStoryboard { pub unsafe fn AddTransition(&self, variable: P0, transition: P1) -> windows_core::Result<()> @@ -527,7 +527,7 @@ pub struct IUIAnimationStoryboard_Vtbl { pub GetElapsedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetStoryboardEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationStoryboard2, IUIAnimationStoryboard2_Vtbl, 0xae289cd2_12d4_4945_9419_9e41be034df2); +windows_core::imp::define_interface!(IUIAnimationStoryboard2, IUIAnimationStoryboard2_Vtbl, 0xae289cd2_12d4_4945_9419_9e41be034df2); windows_core::imp::interface_hierarchy!(IUIAnimationStoryboard2, windows_core::IUnknown); impl IUIAnimationStoryboard2 { pub unsafe fn AddTransition(&self, variable: P0, transition: P1) -> windows_core::Result<()> @@ -649,7 +649,7 @@ pub struct IUIAnimationStoryboard2_Vtbl { pub GetElapsedTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetStoryboardEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationStoryboardEventHandler, IUIAnimationStoryboardEventHandler_Vtbl, 0x3d5c9008_ec7c_4364_9f8a_9af3c58cbae6); +windows_core::imp::define_interface!(IUIAnimationStoryboardEventHandler, IUIAnimationStoryboardEventHandler_Vtbl, 0x3d5c9008_ec7c_4364_9f8a_9af3c58cbae6); windows_core::imp::interface_hierarchy!(IUIAnimationStoryboardEventHandler, windows_core::IUnknown); impl IUIAnimationStoryboardEventHandler { pub unsafe fn OnStoryboardStatusChanged(&self, storyboard: P0, newstatus: UI_ANIMATION_STORYBOARD_STATUS, previousstatus: UI_ANIMATION_STORYBOARD_STATUS) -> windows_core::Result<()> @@ -671,7 +671,7 @@ pub struct IUIAnimationStoryboardEventHandler_Vtbl { pub OnStoryboardStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UI_ANIMATION_STORYBOARD_STATUS, UI_ANIMATION_STORYBOARD_STATUS) -> windows_core::HRESULT, pub OnStoryboardUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationStoryboardEventHandler2, IUIAnimationStoryboardEventHandler2_Vtbl, 0xbac5f55a_ba7c_414c_b599_fbf850f553c6); +windows_core::imp::define_interface!(IUIAnimationStoryboardEventHandler2, IUIAnimationStoryboardEventHandler2_Vtbl, 0xbac5f55a_ba7c_414c_b599_fbf850f553c6); windows_core::imp::interface_hierarchy!(IUIAnimationStoryboardEventHandler2, windows_core::IUnknown); impl IUIAnimationStoryboardEventHandler2 { pub unsafe fn OnStoryboardStatusChanged(&self, storyboard: P0, newstatus: UI_ANIMATION_STORYBOARD_STATUS, previousstatus: UI_ANIMATION_STORYBOARD_STATUS) -> windows_core::Result<()> @@ -693,7 +693,7 @@ pub struct IUIAnimationStoryboardEventHandler2_Vtbl { pub OnStoryboardStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, UI_ANIMATION_STORYBOARD_STATUS, UI_ANIMATION_STORYBOARD_STATUS) -> windows_core::HRESULT, pub OnStoryboardUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationTimer, IUIAnimationTimer_Vtbl, 0x6b0efad1_a053_41d6_9085_33a689144665); +windows_core::imp::define_interface!(IUIAnimationTimer, IUIAnimationTimer_Vtbl, 0x6b0efad1_a053_41d6_9085_33a689144665); windows_core::imp::interface_hierarchy!(IUIAnimationTimer, windows_core::IUnknown); impl IUIAnimationTimer { pub unsafe fn SetTimerUpdateHandler(&self, updatehandler: P0, idlebehavior: UI_ANIMATION_IDLE_BEHAVIOR) -> windows_core::Result<()> @@ -736,7 +736,7 @@ pub struct IUIAnimationTimer_Vtbl { pub GetTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, pub SetFrameRateThreshold: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationTimerClientEventHandler, IUIAnimationTimerClientEventHandler_Vtbl, 0xbedb4db6_94fa_4bfb_a47f_ef2d9e408c25); +windows_core::imp::define_interface!(IUIAnimationTimerClientEventHandler, IUIAnimationTimerClientEventHandler_Vtbl, 0xbedb4db6_94fa_4bfb_a47f_ef2d9e408c25); windows_core::imp::interface_hierarchy!(IUIAnimationTimerClientEventHandler, windows_core::IUnknown); impl IUIAnimationTimerClientEventHandler { pub unsafe fn OnTimerClientStatusChanged(&self, newstatus: UI_ANIMATION_TIMER_CLIENT_STATUS, previousstatus: UI_ANIMATION_TIMER_CLIENT_STATUS) -> windows_core::Result<()> { @@ -748,7 +748,7 @@ pub struct IUIAnimationTimerClientEventHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnTimerClientStatusChanged: unsafe extern "system" fn(*mut core::ffi::c_void, UI_ANIMATION_TIMER_CLIENT_STATUS, UI_ANIMATION_TIMER_CLIENT_STATUS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationTimerEventHandler, IUIAnimationTimerEventHandler_Vtbl, 0x274a7dea_d771_4095_abbd_8df7abd23ce3); +windows_core::imp::define_interface!(IUIAnimationTimerEventHandler, IUIAnimationTimerEventHandler_Vtbl, 0x274a7dea_d771_4095_abbd_8df7abd23ce3); windows_core::imp::interface_hierarchy!(IUIAnimationTimerEventHandler, windows_core::IUnknown); impl IUIAnimationTimerEventHandler { pub unsafe fn OnPreUpdate(&self) -> windows_core::Result<()> { @@ -768,7 +768,7 @@ pub struct IUIAnimationTimerEventHandler_Vtbl { pub OnPostUpdate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnRenderingTooSlow: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationTimerUpdateHandler, IUIAnimationTimerUpdateHandler_Vtbl, 0x195509b7_5d5e_4e3e_b278_ee3759b367ad); +windows_core::imp::define_interface!(IUIAnimationTimerUpdateHandler, IUIAnimationTimerUpdateHandler_Vtbl, 0x195509b7_5d5e_4e3e_b278_ee3759b367ad); windows_core::imp::interface_hierarchy!(IUIAnimationTimerUpdateHandler, windows_core::IUnknown); impl IUIAnimationTimerUpdateHandler { pub unsafe fn OnUpdate(&self, timenow: f64) -> windows_core::Result { @@ -792,7 +792,7 @@ pub struct IUIAnimationTimerUpdateHandler_Vtbl { pub SetTimerClientEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ClearTimerClientEventHandler: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationTransition, IUIAnimationTransition_Vtbl, 0xdc6ce252_f731_41cf_b610_614b6ca049ad); +windows_core::imp::define_interface!(IUIAnimationTransition, IUIAnimationTransition_Vtbl, 0xdc6ce252_f731_41cf_b610_614b6ca049ad); windows_core::imp::interface_hierarchy!(IUIAnimationTransition, windows_core::IUnknown); impl IUIAnimationTransition { pub unsafe fn SetInitialValue(&self, value: f64) -> windows_core::Result<()> { @@ -817,7 +817,7 @@ pub struct IUIAnimationTransition_Vtbl { pub IsDurationKnown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationTransition2, IUIAnimationTransition2_Vtbl, 0x62ff9123_a85a_4e9b_a218_435a93e268fd); +windows_core::imp::define_interface!(IUIAnimationTransition2, IUIAnimationTransition2_Vtbl, 0x62ff9123_a85a_4e9b_a218_435a93e268fd); windows_core::imp::interface_hierarchy!(IUIAnimationTransition2, windows_core::IUnknown); impl IUIAnimationTransition2 { pub unsafe fn GetDimension(&self) -> windows_core::Result { @@ -855,7 +855,7 @@ pub struct IUIAnimationTransition2_Vtbl { pub IsDurationKnown: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDuration: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationTransitionFactory, IUIAnimationTransitionFactory_Vtbl, 0xfcd91e03_3e3b_45ad_bbb1_6dfc8153743d); +windows_core::imp::define_interface!(IUIAnimationTransitionFactory, IUIAnimationTransitionFactory_Vtbl, 0xfcd91e03_3e3b_45ad_bbb1_6dfc8153743d); windows_core::imp::interface_hierarchy!(IUIAnimationTransitionFactory, windows_core::IUnknown); impl IUIAnimationTransitionFactory { pub unsafe fn CreateTransition(&self, interpolator: P0) -> windows_core::Result @@ -871,7 +871,7 @@ pub struct IUIAnimationTransitionFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationTransitionFactory2, IUIAnimationTransitionFactory2_Vtbl, 0x937d4916_c1a6_42d5_88d8_30344d6efe31); +windows_core::imp::define_interface!(IUIAnimationTransitionFactory2, IUIAnimationTransitionFactory2_Vtbl, 0x937d4916_c1a6_42d5_88d8_30344d6efe31); windows_core::imp::interface_hierarchy!(IUIAnimationTransitionFactory2, windows_core::IUnknown); impl IUIAnimationTransitionFactory2 { pub unsafe fn CreateTransition(&self, interpolator: P0) -> windows_core::Result @@ -887,7 +887,7 @@ pub struct IUIAnimationTransitionFactory2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateTransition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationTransitionLibrary, IUIAnimationTransitionLibrary_Vtbl, 0xca5a14b1_d24f_48b8_8fe4_c78169ba954e); +windows_core::imp::define_interface!(IUIAnimationTransitionLibrary, IUIAnimationTransitionLibrary_Vtbl, 0xca5a14b1_d24f_48b8_8fe4_c78169ba954e); windows_core::imp::interface_hierarchy!(IUIAnimationTransitionLibrary, windows_core::IUnknown); impl IUIAnimationTransitionLibrary { pub unsafe fn CreateInstantaneousTransition(&self, finalvalue: f64) -> windows_core::Result { @@ -955,7 +955,7 @@ pub struct IUIAnimationTransitionLibrary_Vtbl { pub CreateSmoothStopTransition: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateParabolicTransitionFromAcceleration: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationTransitionLibrary2, IUIAnimationTransitionLibrary2_Vtbl, 0x03cfae53_9580_4ee3_b363_2ece51b4af6a); +windows_core::imp::define_interface!(IUIAnimationTransitionLibrary2, IUIAnimationTransitionLibrary2_Vtbl, 0x03cfae53_9580_4ee3_b363_2ece51b4af6a); windows_core::imp::interface_hierarchy!(IUIAnimationTransitionLibrary2, windows_core::IUnknown); impl IUIAnimationTransitionLibrary2 { pub unsafe fn CreateInstantaneousTransition(&self, finalvalue: f64) -> windows_core::Result { @@ -1058,7 +1058,7 @@ pub struct IUIAnimationTransitionLibrary2_Vtbl { pub CreateCubicBezierLinearTransition: unsafe extern "system" fn(*mut core::ffi::c_void, f64, f64, f64, f64, f64, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateCubicBezierLinearVectorTransition: unsafe extern "system" fn(*mut core::ffi::c_void, f64, *const f64, u32, f64, f64, f64, f64, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationVariable, IUIAnimationVariable_Vtbl, 0x8ceeb155_2849_4ce5_9448_91ff70e1e4d9); +windows_core::imp::define_interface!(IUIAnimationVariable, IUIAnimationVariable_Vtbl, 0x8ceeb155_2849_4ce5_9448_91ff70e1e4d9); windows_core::imp::interface_hierarchy!(IUIAnimationVariable, windows_core::IUnknown); impl IUIAnimationVariable { pub unsafe fn GetValue(&self) -> windows_core::Result { @@ -1138,7 +1138,7 @@ pub struct IUIAnimationVariable_Vtbl { pub SetVariableChangeHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetVariableIntegerChangeHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationVariable2, IUIAnimationVariable2_Vtbl, 0x4914b304_96ab_44d9_9e77_d5109b7e7466); +windows_core::imp::define_interface!(IUIAnimationVariable2, IUIAnimationVariable2_Vtbl, 0x4914b304_96ab_44d9_9e77_d5109b7e7466); windows_core::imp::interface_hierarchy!(IUIAnimationVariable2, windows_core::IUnknown); impl IUIAnimationVariable2 { pub unsafe fn GetDimension(&self) -> windows_core::Result { @@ -1283,7 +1283,7 @@ pub struct IUIAnimationVariable2_Vtbl { pub SetVariableIntegerChangeHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetVariableCurveChangeHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationVariableChangeHandler, IUIAnimationVariableChangeHandler_Vtbl, 0x6358b7ba_87d2_42d5_bf71_82e919dd5862); +windows_core::imp::define_interface!(IUIAnimationVariableChangeHandler, IUIAnimationVariableChangeHandler_Vtbl, 0x6358b7ba_87d2_42d5_bf71_82e919dd5862); windows_core::imp::interface_hierarchy!(IUIAnimationVariableChangeHandler, windows_core::IUnknown); impl IUIAnimationVariableChangeHandler { pub unsafe fn OnValueChanged(&self, storyboard: P0, variable: P1, newvalue: f64, previousvalue: f64) -> windows_core::Result<()> @@ -1299,7 +1299,7 @@ pub struct IUIAnimationVariableChangeHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnValueChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, f64, f64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationVariableChangeHandler2, IUIAnimationVariableChangeHandler2_Vtbl, 0x63acc8d2_6eae_4bb0_b879_586dd8cfbe42); +windows_core::imp::define_interface!(IUIAnimationVariableChangeHandler2, IUIAnimationVariableChangeHandler2_Vtbl, 0x63acc8d2_6eae_4bb0_b879_586dd8cfbe42); windows_core::imp::interface_hierarchy!(IUIAnimationVariableChangeHandler2, windows_core::IUnknown); impl IUIAnimationVariableChangeHandler2 { pub unsafe fn OnValueChanged(&self, storyboard: P0, variable: P1, newvalue: *const f64, previousvalue: *const f64, cdimension: u32) -> windows_core::Result<()> @@ -1315,7 +1315,7 @@ pub struct IUIAnimationVariableChangeHandler2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnValueChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *const f64, *const f64, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationVariableCurveChangeHandler2, IUIAnimationVariableCurveChangeHandler2_Vtbl, 0x72895e91_0145_4c21_9192_5aab40eddf80); +windows_core::imp::define_interface!(IUIAnimationVariableCurveChangeHandler2, IUIAnimationVariableCurveChangeHandler2_Vtbl, 0x72895e91_0145_4c21_9192_5aab40eddf80); windows_core::imp::interface_hierarchy!(IUIAnimationVariableCurveChangeHandler2, windows_core::IUnknown); impl IUIAnimationVariableCurveChangeHandler2 { pub unsafe fn OnCurveChanged(&self, variable: P0) -> windows_core::Result<()> @@ -1330,7 +1330,7 @@ pub struct IUIAnimationVariableCurveChangeHandler2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnCurveChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationVariableIntegerChangeHandler, IUIAnimationVariableIntegerChangeHandler_Vtbl, 0xbb3e1550_356e_44b0_99da_85ac6017865e); +windows_core::imp::define_interface!(IUIAnimationVariableIntegerChangeHandler, IUIAnimationVariableIntegerChangeHandler_Vtbl, 0xbb3e1550_356e_44b0_99da_85ac6017865e); windows_core::imp::interface_hierarchy!(IUIAnimationVariableIntegerChangeHandler, windows_core::IUnknown); impl IUIAnimationVariableIntegerChangeHandler { pub unsafe fn OnIntegerValueChanged(&self, storyboard: P0, variable: P1, newvalue: i32, previousvalue: i32) -> windows_core::Result<()> @@ -1346,7 +1346,7 @@ pub struct IUIAnimationVariableIntegerChangeHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnIntegerValueChanged: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIAnimationVariableIntegerChangeHandler2, IUIAnimationVariableIntegerChangeHandler2_Vtbl, 0x829b6cf1_4f3a_4412_ae09_b243eb4c6b58); +windows_core::imp::define_interface!(IUIAnimationVariableIntegerChangeHandler2, IUIAnimationVariableIntegerChangeHandler2_Vtbl, 0x829b6cf1_4f3a_4412_ae09_b243eb4c6b58); windows_core::imp::interface_hierarchy!(IUIAnimationVariableIntegerChangeHandler2, windows_core::IUnknown); impl IUIAnimationVariableIntegerChangeHandler2 { pub unsafe fn OnIntegerValueChanged(&self, storyboard: P0, variable: P1, newvalue: *const i32, previousvalue: *const i32, cdimension: u32) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs index 5202eafc7c..bef802ec2d 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -837,7 +837,7 @@ pub unsafe fn WcsTranslateColors(hcolortransform: isize, ncolors: u32, ninputcha windows_targets::link!("mscms.dll" "system" fn WcsTranslateColors(hcolortransform : isize, ncolors : u32, ninputchannels : u32, cdtinput : COLORDATATYPE, cbinput : u32, pinputdata : *const core::ffi::c_void, noutputchannels : u32, cdtoutput : COLORDATATYPE, cboutput : u32, poutputdata : *mut core::ffi::c_void) -> super::super::Foundation:: BOOL); WcsTranslateColors(hcolortransform, ncolors, ninputchannels, cdtinput, cbinput, pinputdata, noutputchannels, cdtoutput, cboutput, poutputdata) } -windows_core::imp::com_interface!(IDeviceModelPlugIn, IDeviceModelPlugIn_Vtbl, 0x1cd63475_07c4_46fe_a903_d655316d11fd); +windows_core::imp::define_interface!(IDeviceModelPlugIn, IDeviceModelPlugIn_Vtbl, 0x1cd63475_07c4_46fe_a903_d655316d11fd); windows_core::imp::interface_hierarchy!(IDeviceModelPlugIn, windows_core::IUnknown); impl IDeviceModelPlugIn { pub unsafe fn Initialize(&self, bstrxml: P0, cnummodels: u32, imodelposition: u32) -> windows_core::Result<()> @@ -899,7 +899,7 @@ pub struct IDeviceModelPlugIn_Vtbl { pub GetNeutralAxisSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetNeutralAxis: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut XYZColorF) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGamutMapModelPlugIn, IGamutMapModelPlugIn_Vtbl, 0x2dd80115_ad1e_41f6_a219_a4f4b583d1f9); +windows_core::imp::define_interface!(IGamutMapModelPlugIn, IGamutMapModelPlugIn_Vtbl, 0x2dd80115_ad1e_41f6_a219_a4f4b583d1f9); windows_core::imp::interface_hierarchy!(IGamutMapModelPlugIn, windows_core::IUnknown); impl IGamutMapModelPlugIn { pub unsafe fn Initialize(&self, bstrxml: P0, psrcplugin: P1, pdestplugin: P2, psrcgbd: *const GamutBoundaryDescription, pdestgbd: *const GamutBoundaryDescription) -> windows_core::Result<()> 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 12ab6e1f9f..2435c69fe0 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 @@ -115,7 +115,7 @@ pub unsafe fn ReplaceTextW(param0: *mut FINDREPLACEW) -> super::super::super::Fo windows_targets::link!("comdlg32.dll" "system" fn ReplaceTextW(param0 : *mut FINDREPLACEW) -> super::super::super::Foundation:: HWND); ReplaceTextW(param0) } -windows_core::imp::com_interface!(IPrintDialogCallback, IPrintDialogCallback_Vtbl, 0x5852a2c3_6530_11d1_b6a3_0000f8757bf9); +windows_core::imp::define_interface!(IPrintDialogCallback, IPrintDialogCallback_Vtbl, 0x5852a2c3_6530_11d1_b6a3_0000f8757bf9); windows_core::imp::interface_hierarchy!(IPrintDialogCallback, windows_core::IUnknown); impl IPrintDialogCallback { pub unsafe fn InitDone(&self) -> windows_core::Result<()> { @@ -140,7 +140,7 @@ pub struct IPrintDialogCallback_Vtbl { pub SelectionChange: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub HandleMessage: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, u32, super::super::super::Foundation::WPARAM, super::super::super::Foundation::LPARAM, *mut super::super::super::Foundation::LRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintDialogServices, IPrintDialogServices_Vtbl, 0x509aaeda_5639_11d1_b6a1_0000f8757bf9); +windows_core::imp::define_interface!(IPrintDialogServices, IPrintDialogServices_Vtbl, 0x509aaeda_5639_11d1_b6a1_0000f8757bf9); windows_core::imp::interface_hierarchy!(IPrintDialogServices, windows_core::IUnknown); impl IPrintDialogServices { #[cfg(feature = "Win32_Graphics_Gdi")] 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 43b6eb9808..01676b51e8 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IRichEditOle, IRichEditOle_Vtbl, 0x00020d00_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IRichEditOle, IRichEditOle_Vtbl, 0x00020d00_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IRichEditOle, windows_core::IUnknown); impl IRichEditOle { #[cfg(feature = "Win32_System_Ole")] @@ -115,7 +115,7 @@ pub struct IRichEditOle_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] ImportDataObject: usize, } -windows_core::imp::com_interface!(IRichEditOleCallback, IRichEditOleCallback_Vtbl, 0x00020d03_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IRichEditOleCallback, IRichEditOleCallback_Vtbl, 0x00020d03_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IRichEditOleCallback, windows_core::IUnknown); impl IRichEditOleCallback { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -219,7 +219,7 @@ pub struct IRichEditOleCallback_Vtbl { #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_UI_WindowsAndMessaging")))] GetContextMenu: usize, } -windows_core::imp::com_interface!(IRicheditUiaOverrides, IRicheditUiaOverrides_Vtbl, 0); +windows_core::imp::define_interface!(IRicheditUiaOverrides, IRicheditUiaOverrides_Vtbl, 0); windows_core::imp::interface_hierarchy!(IRicheditUiaOverrides, windows_core::IUnknown); impl IRicheditUiaOverrides { pub unsafe fn GetPropertyOverrideValue(&self, propertyid: i32, pretvalue: *mut windows_core::VARIANT) -> windows_core::Result<()> { @@ -232,7 +232,7 @@ pub struct IRicheditUiaOverrides_Vtbl { pub GetPropertyOverrideValue: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextDisplays, ITextDisplays_Vtbl, 0xc241f5f2_7206_11d8_a2c7_00a0d1d6c6b3); +windows_core::imp::define_interface!(ITextDisplays, ITextDisplays_Vtbl, 0xc241f5f2_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextDisplays, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -243,7 +243,7 @@ pub struct ITextDisplays_Vtbl { pub base__: super::super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextDocument, ITextDocument_Vtbl, 0x8cc497c0_a1df_11ce_8098_00aa0047be5d); +windows_core::imp::define_interface!(ITextDocument, ITextDocument_Vtbl, 0x8cc497c0_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextDocument, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -359,7 +359,7 @@ pub struct ITextDocument_Vtbl { RangeFromPoint: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextDocument2, ITextDocument2_Vtbl, 0xc241f5e0_7206_11d8_a2c7_00a0d1d6c6b3); +windows_core::imp::define_interface!(ITextDocument2, ITextDocument2_Vtbl, 0xc241f5e0_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextDocument2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextDocument); #[cfg(feature = "Win32_System_Com")] @@ -699,7 +699,7 @@ pub struct ITextDocument2_Vtbl { pub GetStory: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextDocument2Old, ITextDocument2Old_Vtbl, 0x01c25500_4268_11d1_883a_3c8b00c10000); +windows_core::imp::define_interface!(ITextDocument2Old, ITextDocument2Old_Vtbl, 0x01c25500_4268_11d1_883a_3c8b00c10000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextDocument2Old, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextDocument); #[cfg(feature = "Win32_System_Com")] @@ -911,7 +911,7 @@ pub struct ITextDocument2Old_Vtbl { pub ReleaseCallManager: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextFont, ITextFont_Vtbl, 0x8cc497c3_a1df_11ce_8098_00aa0047be5d); +windows_core::imp::define_interface!(ITextFont, ITextFont_Vtbl, 0x8cc497c3_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextFont, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1192,7 +1192,7 @@ pub struct ITextFont_Vtbl { pub SetWeight: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextFont2, ITextFont2_Vtbl, 0xc241f5e3_7206_11d8_a2c7_00a0d1d6c6b3); +windows_core::imp::define_interface!(ITextFont2, ITextFont2_Vtbl, 0xc241f5e3_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextFont2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextFont); #[cfg(feature = "Win32_System_Com")] @@ -1632,7 +1632,7 @@ pub struct ITextFont2_Vtbl { pub SetEffects2: 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, } -windows_core::imp::com_interface!(ITextHost, ITextHost_Vtbl, 0); +windows_core::imp::define_interface!(ITextHost, ITextHost_Vtbl, 0); windows_core::imp::interface_hierarchy!(ITextHost, windows_core::IUnknown); impl ITextHost { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1878,7 +1878,7 @@ pub struct ITextHost_Vtbl { TxImmReleaseContext: usize, pub TxGetSelectionBarWidth: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextHost2, ITextHost2_Vtbl, 0); +windows_core::imp::define_interface!(ITextHost2, ITextHost2_Vtbl, 0); windows_core::imp::interface_hierarchy!(ITextHost2, windows_core::IUnknown, ITextHost); impl ITextHost2 { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -2121,7 +2121,7 @@ pub struct ITextHost2_Vtbl { pub TxGetHorzExtent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextPara, ITextPara_Vtbl, 0x8cc497c4_a1df_11ce_8098_00aa0047be5d); +windows_core::imp::define_interface!(ITextPara, ITextPara_Vtbl, 0x8cc497c4_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextPara, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2367,7 +2367,7 @@ pub struct ITextPara_Vtbl { pub GetTab: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut f32, *mut i32, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextPara2, ITextPara2_Vtbl, 0xc241f5e4_7206_11d8_a2c7_00a0d1d6c6b3); +windows_core::imp::define_interface!(ITextPara2, ITextPara2_Vtbl, 0xc241f5e4_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextPara2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextPara); #[cfg(feature = "Win32_System_Com")] @@ -2646,7 +2646,7 @@ pub struct ITextPara2_Vtbl { pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextRange, ITextRange_Vtbl, 0x8cc497c2_a1df_11ce_8098_00aa0047be5d); +windows_core::imp::define_interface!(ITextRange, ITextRange_Vtbl, 0x8cc497c2_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextRange, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2967,7 +2967,7 @@ pub struct ITextRange_Vtbl { pub GetEmbeddedObject: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextRange2, ITextRange2_Vtbl, 0xc241f5e2_7206_11d8_a2c7_00a0d1d6c6b3); +windows_core::imp::define_interface!(ITextRange2, ITextRange2_Vtbl, 0xc241f5e2_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextRange2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange, ITextSelection); #[cfg(feature = "Win32_System_Com")] @@ -3490,7 +3490,7 @@ pub struct ITextRange2_Vtbl { InsertImage: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextRow, ITextRow_Vtbl, 0xc241f5ef_7206_11d8_a2c7_00a0d1d6c6b3); +windows_core::imp::define_interface!(ITextRow, ITextRow_Vtbl, 0xc241f5ef_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextRow, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3714,7 +3714,7 @@ pub struct ITextRow_Vtbl { pub SetProperty: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextSelection, ITextSelection_Vtbl, 0x8cc497c1_a1df_11ce_8098_00aa0047be5d); +windows_core::imp::define_interface!(ITextSelection, ITextSelection_Vtbl, 0x8cc497c1_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextSelection, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange); #[cfg(feature = "Win32_System_Com")] @@ -4005,7 +4005,7 @@ pub struct ITextSelection_Vtbl { pub TypeText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextSelection2, ITextSelection2_Vtbl, 0xc241f5e1_7206_11d8_a2c7_00a0d1d6c6b3); +windows_core::imp::define_interface!(ITextSelection2, ITextSelection2_Vtbl, 0xc241f5e1_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextSelection2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextRange, ITextSelection, ITextRange2); #[cfg(feature = "Win32_System_Com")] @@ -4457,7 +4457,7 @@ impl ITextSelection2 { pub struct ITextSelection2_Vtbl { pub base__: ITextRange2_Vtbl, } -windows_core::imp::com_interface!(ITextServices, ITextServices_Vtbl, 0); +windows_core::imp::define_interface!(ITextServices, ITextServices_Vtbl, 0); windows_core::imp::interface_hierarchy!(ITextServices, windows_core::IUnknown); impl ITextServices { pub unsafe fn TxSendMessage(&self, msg: u32, wparam: P0, lparam: P1, plresult: *mut super::super::super::Foundation::LRESULT) -> windows_core::Result<()> @@ -4581,7 +4581,7 @@ pub struct ITextServices_Vtbl { pub OnTxPropertyBitsChange: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub TxGetCachedSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextServices2, ITextServices2_Vtbl, 0); +windows_core::imp::define_interface!(ITextServices2, ITextServices2_Vtbl, 0); windows_core::imp::interface_hierarchy!(ITextServices2, windows_core::IUnknown, ITextServices); impl ITextServices2 { pub unsafe fn TxSendMessage(&self, msg: u32, wparam: P0, lparam: P1, plresult: *mut super::super::super::Foundation::LRESULT) -> windows_core::Result<()> @@ -4695,7 +4695,7 @@ pub struct ITextServices2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Direct2D"))] TxDrawD2D: usize, } -windows_core::imp::com_interface!(ITextStory, ITextStory_Vtbl, 0xc241f5f3_7206_11d8_a2c7_00a0d1d6c6b3); +windows_core::imp::define_interface!(ITextStory, ITextStory_Vtbl, 0xc241f5f3_7206_11d8_a2c7_00a0d1d6c6b3); windows_core::imp::interface_hierarchy!(ITextStory, windows_core::IUnknown); impl ITextStory { pub unsafe fn GetActive(&self) -> windows_core::Result { @@ -4769,7 +4769,7 @@ pub struct ITextStory_Vtbl { pub SetText: unsafe extern "system" fn(*mut core::ffi::c_void, i32, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextStoryRanges, ITextStoryRanges_Vtbl, 0x8cc497c5_a1df_11ce_8098_00aa0047be5d); +windows_core::imp::define_interface!(ITextStoryRanges, ITextStoryRanges_Vtbl, 0x8cc497c5_a1df_11ce_8098_00aa0047be5d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextStoryRanges, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4800,7 +4800,7 @@ pub struct ITextStoryRanges_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextStoryRanges2, ITextStoryRanges2_Vtbl, 0xc241f5e5_7206_11d8_a2c7_00a0d1d6c6b3); +windows_core::imp::define_interface!(ITextStoryRanges2, ITextStoryRanges2_Vtbl, 0xc241f5e5_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextStoryRanges2, windows_core::IUnknown, super::super::super::System::Com::IDispatch, ITextStoryRanges); #[cfg(feature = "Win32_System_Com")] @@ -4834,7 +4834,7 @@ pub struct ITextStoryRanges2_Vtbl { Item2: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ITextStrings, ITextStrings_Vtbl, 0xc241f5e7_7206_11d8_a2c7_00a0d1d6c6b3); +windows_core::imp::define_interface!(ITextStrings, ITextStrings_Vtbl, 0xc241f5e7_7206_11d8_a2c7_00a0d1d6c6b3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ITextStrings, windows_core::IUnknown, super::super::super::System::Com::IDispatch); #[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 1e84b831f9..d874caa423 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs @@ -1791,7 +1791,7 @@ where windows_targets::link!("uxtheme.dll" "system" fn UpdatePanningFeedback(hwnd : super::super::Foundation:: HWND, ltotaloverpanoffsetx : i32, ltotaloverpanoffsety : i32, fininertia : super::super::Foundation:: BOOL) -> super::super::Foundation:: BOOL); UpdatePanningFeedback(hwnd.into_param().abi(), ltotaloverpanoffsetx, ltotaloverpanoffsety, fininertia.into_param().abi()) } -windows_core::imp::com_interface!(IImageList, IImageList_Vtbl, 0x46eb5926_582e_4017_9fdf_e8998daa0950); +windows_core::imp::define_interface!(IImageList, IImageList_Vtbl, 0x46eb5926_582e_4017_9fdf_e8998daa0950); windows_core::imp::interface_hierarchy!(IImageList, windows_core::IUnknown); impl IImageList { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -1989,7 +1989,7 @@ pub struct IImageList_Vtbl { pub GetItemFlags: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut IMAGE_LIST_ITEM_FLAGS) -> windows_core::HRESULT, pub GetOverlayImage: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageList2, IImageList2_Vtbl, 0x192b9d83_50fc_457b_90a0_2b82a8b5dae1); +windows_core::imp::define_interface!(IImageList2, IImageList2_Vtbl, 0x192b9d83_50fc_457b_90a0_2b82a8b5dae1); windows_core::imp::interface_hierarchy!(IImageList2, windows_core::IUnknown, IImageList); impl IImageList2 { #[cfg(feature = "Win32_Graphics_Gdi")] 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 db76ab79fe..d418ae5ab4 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 @@ -741,7 +741,7 @@ where windows_targets::link!("imm32.dll" "system" fn ImmUnregisterWordW(param0 : super::super::TextServices:: HKL, lpszreading : windows_core::PCWSTR, param2 : u32, lpszunregister : windows_core::PCWSTR) -> super::super::super::Foundation:: BOOL); ImmUnregisterWordW(param0.into_param().abi(), lpszreading.into_param().abi(), param2, lpszunregister.into_param().abi()) } -windows_core::imp::com_interface!(IActiveIME, IActiveIME_Vtbl, 0x6fe20962_d077_11d0_8fe7_00aa006bcc59); +windows_core::imp::define_interface!(IActiveIME, IActiveIME_Vtbl, 0x6fe20962_d077_11d0_8fe7_00aa006bcc59); windows_core::imp::interface_hierarchy!(IActiveIME, windows_core::IUnknown); impl IActiveIME { pub unsafe fn Inquire(&self, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: windows_core::PWSTR, pdwprivate: *mut u32) -> windows_core::Result<()> { @@ -899,7 +899,7 @@ pub struct IActiveIME_Vtbl { pub GetCodePageA: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetLangId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveIME2, IActiveIME2_Vtbl, 0xe1c4bf0e_2d53_11d2_93e1_0060b067b86e); +windows_core::imp::define_interface!(IActiveIME2, IActiveIME2_Vtbl, 0xe1c4bf0e_2d53_11d2_93e1_0060b067b86e); windows_core::imp::interface_hierarchy!(IActiveIME2, windows_core::IUnknown, IActiveIME); impl IActiveIME2 { pub unsafe fn Inquire(&self, dwsysteminfoflags: u32, pimeinfo: *mut IMEINFO, szwndclass: windows_core::PWSTR, pdwprivate: *mut u32) -> windows_core::Result<()> { @@ -1024,7 +1024,7 @@ pub struct IActiveIME2_Vtbl { pub Sleep: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Unsleep: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveIMMApp, IActiveIMMApp_Vtbl, 0x08c0e040_62d1_11d1_9326_0060b067b86e); +windows_core::imp::define_interface!(IActiveIMMApp, IActiveIMMApp_Vtbl, 0x08c0e040_62d1_11d1_9326_0060b067b86e); windows_core::imp::interface_hierarchy!(IActiveIMMApp, windows_core::IUnknown); impl IActiveIMMApp { #[cfg(feature = "Win32_Globalization")] @@ -1768,7 +1768,7 @@ pub struct IActiveIMMApp_Vtbl { GetImeMenuItemsW: usize, pub EnumInputContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveIMMIME, IActiveIMMIME_Vtbl, 0x08c03411_f96b_11d0_a475_00aa006bcc59); +windows_core::imp::define_interface!(IActiveIMMIME, IActiveIMMIME_Vtbl, 0x08c03411_f96b_11d0_a475_00aa006bcc59); windows_core::imp::interface_hierarchy!(IActiveIMMIME, windows_core::IUnknown); impl IActiveIMMIME { #[cfg(feature = "Win32_Globalization")] @@ -2716,7 +2716,7 @@ pub struct IActiveIMMIME_Vtbl { pub SendIMCW: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, u32, super::super::super::Foundation::WPARAM, super::super::super::Foundation::LPARAM, *mut super::super::super::Foundation::LRESULT) -> windows_core::HRESULT, pub IsSleeping: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveIMMMessagePumpOwner, IActiveIMMMessagePumpOwner_Vtbl, 0xb5cf2cfa_8aeb_11d1_9364_0060b067b86e); +windows_core::imp::define_interface!(IActiveIMMMessagePumpOwner, IActiveIMMMessagePumpOwner_Vtbl, 0xb5cf2cfa_8aeb_11d1_9364_0060b067b86e); windows_core::imp::interface_hierarchy!(IActiveIMMMessagePumpOwner, windows_core::IUnknown); impl IActiveIMMMessagePumpOwner { pub unsafe fn Start(&self) -> windows_core::Result<()> { @@ -2749,7 +2749,7 @@ pub struct IActiveIMMMessagePumpOwner_Vtbl { pub Pause: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub Resume: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveIMMRegistrar, IActiveIMMRegistrar_Vtbl, 0xb3458082_bd00_11d1_939b_0060b067b86e); +windows_core::imp::define_interface!(IActiveIMMRegistrar, IActiveIMMRegistrar_Vtbl, 0xb3458082_bd00_11d1_939b_0060b067b86e); windows_core::imp::interface_hierarchy!(IActiveIMMRegistrar, windows_core::IUnknown); impl IActiveIMMRegistrar { pub unsafe fn RegisterIME(&self, rclsid: *const windows_core::GUID, lgid: u16, psziconfile: P0, pszdesc: P1) -> windows_core::Result<()> @@ -2769,7 +2769,7 @@ pub struct IActiveIMMRegistrar_Vtbl { pub RegisterIME: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub UnregisterIME: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumInputContext, IEnumInputContext_Vtbl, 0x09b5eab0_f997_11d1_93d4_0060b067b86e); +windows_core::imp::define_interface!(IEnumInputContext, IEnumInputContext_Vtbl, 0x09b5eab0_f997_11d1_93d4_0060b067b86e); windows_core::imp::interface_hierarchy!(IEnumInputContext, windows_core::IUnknown); impl IEnumInputContext { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -2798,7 +2798,7 @@ pub struct IEnumInputContext_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumRegisterWordA, IEnumRegisterWordA_Vtbl, 0x08c03412_f96b_11d0_a475_00aa006bcc59); +windows_core::imp::define_interface!(IEnumRegisterWordA, IEnumRegisterWordA_Vtbl, 0x08c03412_f96b_11d0_a475_00aa006bcc59); windows_core::imp::interface_hierarchy!(IEnumRegisterWordA, windows_core::IUnknown); impl IEnumRegisterWordA { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -2823,7 +2823,7 @@ pub struct IEnumRegisterWordA_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumRegisterWordW, IEnumRegisterWordW_Vtbl, 0x4955dd31_b159_11d0_8fcf_00aa006bcc59); +windows_core::imp::define_interface!(IEnumRegisterWordW, IEnumRegisterWordW_Vtbl, 0x4955dd31_b159_11d0_8fcf_00aa006bcc59); windows_core::imp::interface_hierarchy!(IEnumRegisterWordW, windows_core::IUnknown); impl IEnumRegisterWordW { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -2849,7 +2849,7 @@ pub struct IEnumRegisterWordW_Vtbl { pub Skip: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFEClassFactory, IFEClassFactory_Vtbl, 0); +windows_core::imp::define_interface!(IFEClassFactory, IFEClassFactory_Vtbl, 0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFEClassFactory, windows_core::IUnknown, super::super::super::System::Com::IClassFactory); #[cfg(feature = "Win32_System_Com")] @@ -2876,7 +2876,7 @@ impl IFEClassFactory { pub struct IFEClassFactory_Vtbl { pub base__: super::super::super::System::Com::IClassFactory_Vtbl, } -windows_core::imp::com_interface!(IFECommon, IFECommon_Vtbl, 0x019f7151_e6db_11d0_83c3_00c04fddb82e); +windows_core::imp::define_interface!(IFECommon, IFECommon_Vtbl, 0x019f7151_e6db_11d0_83c3_00c04fddb82e); windows_core::imp::interface_hierarchy!(IFECommon, windows_core::IUnknown); impl IFECommon { pub unsafe fn IsDefaultIME(&self, szname: &[u8]) -> windows_core::Result<()> { @@ -2900,7 +2900,7 @@ pub struct IFECommon_Vtbl { pub InvokeWordRegDialog: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMEDLG) -> windows_core::HRESULT, pub InvokeDictToolDialog: unsafe extern "system" fn(*mut core::ffi::c_void, *mut IMEDLG) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFEDictionary, IFEDictionary_Vtbl, 0x019f7153_e6db_11d0_83c3_00c04fddb82e); +windows_core::imp::define_interface!(IFEDictionary, IFEDictionary_Vtbl, 0x019f7153_e6db_11d0_83c3_00c04fddb82e); windows_core::imp::interface_hierarchy!(IFEDictionary, windows_core::IUnknown); impl IFEDictionary { pub unsafe fn Open(&self, pchdictpath: Option<&mut [u8; 260]>, pshf: *mut IMESHF) -> windows_core::Result<()> { @@ -2996,7 +2996,7 @@ pub struct IFEDictionary_Vtbl { pub ConvertFromOldMSIME: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR, PFNLOG, IMEREG) -> windows_core::HRESULT, pub ConvertFromUserToSys: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFELanguage, IFELanguage_Vtbl, 0x019f7152_e6db_11d0_83c3_00c04fddb82e); +windows_core::imp::define_interface!(IFELanguage, IFELanguage_Vtbl, 0x019f7152_e6db_11d0_83c3_00c04fddb82e); windows_core::imp::interface_hierarchy!(IFELanguage, windows_core::IUnknown); impl IFELanguage { pub unsafe fn Open(&self) -> windows_core::Result<()> { @@ -3037,7 +3037,7 @@ pub struct IFELanguage_Vtbl { 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, } -windows_core::imp::com_interface!(IImePad, IImePad_Vtbl, 0x5d8e643a_c3a9_11d1_afef_00805f0c8b6d); +windows_core::imp::define_interface!(IImePad, IImePad_Vtbl, 0x5d8e643a_c3a9_11d1_afef_00805f0c8b6d); windows_core::imp::interface_hierarchy!(IImePad, windows_core::IUnknown); impl IImePad { pub unsafe fn Request(&self, piimepadapplet: P0, reqid: IME_PAD_REQUEST_FLAGS, wparam: P1, lparam: P2) -> windows_core::Result<()> @@ -3054,7 +3054,7 @@ pub struct IImePad_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Request: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, super::super::super::Foundation::WPARAM, super::super::super::Foundation::LPARAM) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImePadApplet, IImePadApplet_Vtbl, 0x5d8e643b_c3a9_11d1_afef_00805f0c8b6d); +windows_core::imp::define_interface!(IImePadApplet, IImePadApplet_Vtbl, 0x5d8e643b_c3a9_11d1_afef_00805f0c8b6d); windows_core::imp::interface_hierarchy!(IImePadApplet, windows_core::IUnknown); impl IImePadApplet { pub unsafe fn Initialize(&self, lpiimepad: P0) -> windows_core::Result<()> @@ -3097,7 +3097,7 @@ pub struct IImePadApplet_Vtbl { pub CreateUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, *mut IMEAPPLETUI) -> windows_core::HRESULT, pub Notify: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, i32, super::super::super::Foundation::WPARAM, super::super::super::Foundation::LPARAM) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImePlugInDictDictionaryList, IImePlugInDictDictionaryList_Vtbl, 0x98752974_b0a6_489b_8f6f_bff3769c8eeb); +windows_core::imp::define_interface!(IImePlugInDictDictionaryList, IImePlugInDictDictionaryList_Vtbl, 0x98752974_b0a6_489b_8f6f_bff3769c8eeb); windows_core::imp::interface_hierarchy!(IImePlugInDictDictionaryList, windows_core::IUnknown); impl IImePlugInDictDictionaryList { #[cfg(feature = "Win32_System_Com")] @@ -3120,7 +3120,7 @@ pub struct IImePlugInDictDictionaryList_Vtbl { GetDictionariesInUse: usize, pub DeleteDictionary: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImeSpecifyApplets, IImeSpecifyApplets_Vtbl, 0x5d8e643c_c3a9_11d1_afef_00805f0c8b6d); +windows_core::imp::define_interface!(IImeSpecifyApplets, IImeSpecifyApplets_Vtbl, 0x5d8e643c_c3a9_11d1_afef_00805f0c8b6d); windows_core::imp::interface_hierarchy!(IImeSpecifyApplets, windows_core::IUnknown); impl IImeSpecifyApplets { pub unsafe fn GetAppletIIDList(&self, refiid: *const windows_core::GUID, lpiidlist: *mut APPLETIDLIST) -> windows_core::Result<()> { 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 7196de5d10..cb664506a6 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IInkCommitRequestHandler, IInkCommitRequestHandler_Vtbl, 0xfabea3fc_b108_45b6_a9fc_8d08fa9f85cf); +windows_core::imp::define_interface!(IInkCommitRequestHandler, IInkCommitRequestHandler_Vtbl, 0xfabea3fc_b108_45b6_a9fc_8d08fa9f85cf); windows_core::imp::interface_hierarchy!(IInkCommitRequestHandler, windows_core::IUnknown); impl IInkCommitRequestHandler { pub unsafe fn OnCommitRequested(&self) -> windows_core::Result<()> { @@ -10,7 +10,7 @@ pub struct IInkCommitRequestHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnCommitRequested: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkD2DRenderer, IInkD2DRenderer_Vtbl, 0x407fb1de_f85a_4150_97cf_b7fb274fb4f8); +windows_core::imp::define_interface!(IInkD2DRenderer, IInkD2DRenderer_Vtbl, 0x407fb1de_f85a_4150_97cf_b7fb274fb4f8); windows_core::imp::interface_hierarchy!(IInkD2DRenderer, windows_core::IUnknown); impl IInkD2DRenderer { pub unsafe fn Draw(&self, pd2d1devicecontext: P0, pinkstrokeiterable: P1, fhighcontrast: P2) -> windows_core::Result<()> @@ -27,7 +27,7 @@ pub struct IInkD2DRenderer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Draw: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkD2DRenderer2, IInkD2DRenderer2_Vtbl, 0x0a95dcd9_4578_4b71_b20b_bf664d4bfeee); +windows_core::imp::define_interface!(IInkD2DRenderer2, IInkD2DRenderer2_Vtbl, 0x0a95dcd9_4578_4b71_b20b_bf664d4bfeee); windows_core::imp::interface_hierarchy!(IInkD2DRenderer2, windows_core::IUnknown); impl IInkD2DRenderer2 { pub unsafe fn Draw(&self, pd2d1devicecontext: P0, pinkstrokeiterable: P1, highcontrastadjustment: INK_HIGH_CONTRAST_ADJUSTMENT) -> windows_core::Result<()> @@ -43,7 +43,7 @@ pub struct IInkD2DRenderer2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Draw: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, INK_HIGH_CONTRAST_ADJUSTMENT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkDesktopHost, IInkDesktopHost_Vtbl, 0x4ce7d875_a981_4140_a1ff_ad93258e8d59); +windows_core::imp::define_interface!(IInkDesktopHost, IInkDesktopHost_Vtbl, 0x4ce7d875_a981_4140_a1ff_ad93258e8d59); windows_core::imp::interface_hierarchy!(IInkDesktopHost, windows_core::IUnknown); impl IInkDesktopHost { pub unsafe fn QueueWorkItem(&self, workitem: P0) -> windows_core::Result<()> @@ -75,7 +75,7 @@ pub struct IInkDesktopHost_Vtbl { pub CreateInkPresenter: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateAndInitializeInkPresenter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, f32, f32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkHostWorkItem, IInkHostWorkItem_Vtbl, 0xccda0a9a_1b78_4632_bb96_97800662e26c); +windows_core::imp::define_interface!(IInkHostWorkItem, IInkHostWorkItem_Vtbl, 0xccda0a9a_1b78_4632_bb96_97800662e26c); windows_core::imp::interface_hierarchy!(IInkHostWorkItem, windows_core::IUnknown); impl IInkHostWorkItem { pub unsafe fn Invoke(&self) -> windows_core::Result<()> { @@ -87,7 +87,7 @@ pub struct IInkHostWorkItem_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkPresenterDesktop, IInkPresenterDesktop_Vtbl, 0x73f3c0d9_2e8b_48f3_895e_20cbd27b723b); +windows_core::imp::define_interface!(IInkPresenterDesktop, IInkPresenterDesktop_Vtbl, 0x73f3c0d9_2e8b_48f3_895e_20cbd27b723b); windows_core::imp::interface_hierarchy!(IInkPresenterDesktop, windows_core::IUnknown); impl IInkPresenterDesktop { pub unsafe fn SetRootVisual(&self, rootvisual: P0, device: P1) -> windows_core::Result<()> 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 284c22f449..dee8575e98 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IRadialControllerConfigurationInterop, IRadialControllerConfigurationInterop_Vtbl, 0x787cdaac_3186_476d_87e4_b9374a7b9970); +windows_core::imp::define_interface!(IRadialControllerConfigurationInterop, IRadialControllerConfigurationInterop_Vtbl, 0x787cdaac_3186_476d_87e4_b9374a7b9970); windows_core::imp::interface_hierarchy!(IRadialControllerConfigurationInterop, windows_core::IUnknown, windows_core::IInspectable); impl IRadialControllerConfigurationInterop { pub unsafe fn GetForWindow(&self, hwnd: P0) -> windows_core::Result @@ -15,7 +15,7 @@ pub struct IRadialControllerConfigurationInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerIndependentInputSourceInterop, IRadialControllerIndependentInputSourceInterop_Vtbl, 0x3d577eff_4cee_11e6_b535_001bdc06ab3b); +windows_core::imp::define_interface!(IRadialControllerIndependentInputSourceInterop, IRadialControllerIndependentInputSourceInterop_Vtbl, 0x3d577eff_4cee_11e6_b535_001bdc06ab3b); windows_core::imp::interface_hierarchy!(IRadialControllerIndependentInputSourceInterop, windows_core::IUnknown, windows_core::IInspectable); impl IRadialControllerIndependentInputSourceInterop { pub unsafe fn CreateForWindow(&self, hwnd: P0) -> windows_core::Result @@ -32,7 +32,7 @@ pub struct IRadialControllerIndependentInputSourceInterop_Vtbl { pub base__: windows_core::IInspectable_Vtbl, pub CreateForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRadialControllerInterop, IRadialControllerInterop_Vtbl, 0x1b0535c9_57ad_45c1_9d79_ad5c34360513); +windows_core::imp::define_interface!(IRadialControllerInterop, IRadialControllerInterop_Vtbl, 0x1b0535c9_57ad_45c1_9d79_ad5c34360513); windows_core::imp::interface_hierarchy!(IRadialControllerInterop, windows_core::IUnknown, windows_core::IInspectable); impl IRadialControllerInterop { pub unsafe fn CreateForWindow(&self, hwnd: P0) -> windows_core::Result diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/mod.rs index 884b288e21..93cd642dc5 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 @@ -78,7 +78,7 @@ where windows_targets::link!("user32.dll" "system" fn UnregisterTouchWindow(hwnd : super::super::super::Foundation:: HWND) -> super::super::super::Foundation:: BOOL); UnregisterTouchWindow(hwnd.into_param().abi()).ok() } -windows_core::imp::com_interface!(IInertiaProcessor, IInertiaProcessor_Vtbl, 0x18b00c6d_c5ee_41b1_90a9_9d4a929095ad); +windows_core::imp::define_interface!(IInertiaProcessor, IInertiaProcessor_Vtbl, 0x18b00c6d_c5ee_41b1_90a9_9d4a929095ad); windows_core::imp::interface_hierarchy!(IInertiaProcessor, windows_core::IUnknown); impl IInertiaProcessor { pub unsafe fn InitialOriginX(&self) -> windows_core::Result { @@ -306,7 +306,7 @@ pub struct IInertiaProcessor_Vtbl { pub Complete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub CompleteTime: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IManipulationProcessor, IManipulationProcessor_Vtbl, 0xa22ac519_8300_48a0_bef4_f1be8737dba4); +windows_core::imp::define_interface!(IManipulationProcessor, IManipulationProcessor_Vtbl, 0xa22ac519_8300_48a0_bef4_f1be8737dba4); windows_core::imp::interface_hierarchy!(IManipulationProcessor, windows_core::IUnknown); impl IManipulationProcessor { pub unsafe fn SupportedManipulations(&self) -> windows_core::Result { @@ -407,7 +407,7 @@ pub struct IManipulationProcessor_Vtbl { pub MinimumScaleRotateRadius: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f32) -> windows_core::HRESULT, pub SetMinimumScaleRotateRadius: unsafe extern "system" fn(*mut core::ffi::c_void, f32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(_IManipulationEvents, _IManipulationEvents_Vtbl, 0x4f62c8da_9c53_4b22_93df_927a862bbb03); +windows_core::imp::define_interface!(_IManipulationEvents, _IManipulationEvents_Vtbl, 0x4f62c8da_9c53_4b22_93df_927a862bbb03); windows_core::imp::interface_hierarchy!(_IManipulationEvents, windows_core::IUnknown); impl _IManipulationEvents { pub unsafe fn ManipulationStarted(&self, x: f32, y: f32) -> windows_core::Result<()> { 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 d0e8a821f7..3994f63dd0 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IADesktopP2, IADesktopP2_Vtbl, 0xb22754e2_4574_11d1_9888_006097deacf9); +windows_core::imp::define_interface!(IADesktopP2, IADesktopP2_Vtbl, 0xb22754e2_4574_11d1_9888_006097deacf9); windows_core::imp::interface_hierarchy!(IADesktopP2, windows_core::IUnknown); impl IADesktopP2 { pub unsafe fn ReReadWallpaper(&self) -> windows_core::Result<()> { @@ -29,7 +29,7 @@ pub struct IADesktopP2_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] MakeDynamicChanges: usize, } -windows_core::imp::com_interface!(IActiveDesktopP, IActiveDesktopP_Vtbl, 0x52502ee0_ec80_11d0_89ab_00c04fc2972d); +windows_core::imp::define_interface!(IActiveDesktopP, IActiveDesktopP_Vtbl, 0x52502ee0_ec80_11d0_89ab_00c04fc2972d); windows_core::imp::interface_hierarchy!(IActiveDesktopP, windows_core::IUnknown); impl IActiveDesktopP { pub unsafe fn SetSafeMode(&self, dwflags: u32) -> windows_core::Result<()> { @@ -56,7 +56,7 @@ pub struct IActiveDesktopP_Vtbl { pub SetScheme: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub GetScheme: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, *mut u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBriefcaseInitiator, IBriefcaseInitiator_Vtbl, 0x99180164_da16_101a_935c_444553540000); +windows_core::imp::define_interface!(IBriefcaseInitiator, IBriefcaseInitiator_Vtbl, 0x99180164_da16_101a_935c_444553540000); windows_core::imp::interface_hierarchy!(IBriefcaseInitiator, windows_core::IUnknown); impl IBriefcaseInitiator { #[cfg(feature = "Win32_System_Com")] @@ -75,7 +75,7 @@ pub struct IBriefcaseInitiator_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] IsMonikerInBriefcase: usize, } -windows_core::imp::com_interface!(IEmptyVolumeCache, IEmptyVolumeCache_Vtbl, 0x8fce5227_04da_11d1_a004_00805f8abe06); +windows_core::imp::define_interface!(IEmptyVolumeCache, IEmptyVolumeCache_Vtbl, 0x8fce5227_04da_11d1_a004_00805f8abe06); windows_core::imp::interface_hierarchy!(IEmptyVolumeCache, windows_core::IUnknown); impl IEmptyVolumeCache { #[cfg(feature = "Win32_System_Registry")] @@ -121,7 +121,7 @@ pub struct IEmptyVolumeCache_Vtbl { pub ShowProperties: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, pub Deactivate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EMPTY_VOLUME_CACHE_FLAGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEmptyVolumeCache2, IEmptyVolumeCache2_Vtbl, 0x02b7e3ba_4db3_11d2_b2d9_00c04f8eec8c); +windows_core::imp::define_interface!(IEmptyVolumeCache2, IEmptyVolumeCache2_Vtbl, 0x02b7e3ba_4db3_11d2_b2d9_00c04f8eec8c); windows_core::imp::interface_hierarchy!(IEmptyVolumeCache2, windows_core::IUnknown, IEmptyVolumeCache); impl IEmptyVolumeCache2 { #[cfg(feature = "Win32_System_Registry")] @@ -172,7 +172,7 @@ pub struct IEmptyVolumeCache2_Vtbl { #[cfg(not(feature = "Win32_System_Registry"))] InitializeEx: usize, } -windows_core::imp::com_interface!(IEmptyVolumeCacheCallBack, IEmptyVolumeCacheCallBack_Vtbl, 0x6e793361_73c6_11d0_8469_00aa00442901); +windows_core::imp::define_interface!(IEmptyVolumeCacheCallBack, IEmptyVolumeCacheCallBack_Vtbl, 0x6e793361_73c6_11d0_8469_00aa00442901); windows_core::imp::interface_hierarchy!(IEmptyVolumeCacheCallBack, windows_core::IUnknown); impl IEmptyVolumeCacheCallBack { pub unsafe fn ScanProgress(&self, dwlspaceused: u64, dwflags: u32, pcwszstatus: P0) -> windows_core::Result<()> @@ -194,7 +194,7 @@ pub struct IEmptyVolumeCacheCallBack_Vtbl { pub ScanProgress: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u32, windows_core::PCWSTR) -> windows_core::HRESULT, pub PurgeProgress: unsafe extern "system" fn(*mut core::ffi::c_void, u64, u64, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReconcilableObject, IReconcilableObject_Vtbl, 0x99180162_da16_101a_935c_444553540000); +windows_core::imp::define_interface!(IReconcilableObject, IReconcilableObject_Vtbl, 0x99180162_da16_101a_935c_444553540000); windows_core::imp::interface_hierarchy!(IReconcilableObject, windows_core::IUnknown); impl IReconcilableObject { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -221,7 +221,7 @@ pub struct IReconcilableObject_Vtbl { Reconcile: usize, pub GetProgressFeedbackMaxEstimate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IReconcileInitiator, IReconcileInitiator_Vtbl, 0x99180161_da16_101a_935c_444553540000); +windows_core::imp::define_interface!(IReconcileInitiator, IReconcileInitiator_Vtbl, 0x99180161_da16_101a_935c_444553540000); windows_core::imp::interface_hierarchy!(IReconcileInitiator, windows_core::IUnknown); impl IReconcileInitiator { pub unsafe fn SetAbortCallback(&self, punkforabort: P0) -> windows_core::Result<()> 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 1f26b080a4..8c90d465bb 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Notifications/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(INotificationActivationCallback, INotificationActivationCallback_Vtbl, 0x53e31837_6600_4a81_9395_75cffe746f94); +windows_core::imp::define_interface!(INotificationActivationCallback, INotificationActivationCallback_Vtbl, 0x53e31837_6600_4a81_9395_75cffe746f94); windows_core::imp::interface_hierarchy!(INotificationActivationCallback, windows_core::IUnknown); impl INotificationActivationCallback { pub unsafe fn Activate(&self, appusermodelid: P0, invokedargs: P1, data: &[NOTIFICATION_USER_INPUT_DATA]) -> windows_core::Result<()> diff --git a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs index d646b49c76..66a0d97562 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IUIApplication, IUIApplication_Vtbl, 0xd428903c_729a_491d_910d_682a08ff2522); +windows_core::imp::define_interface!(IUIApplication, IUIApplication_Vtbl, 0xd428903c_729a_491d_910d_682a08ff2522); windows_core::imp::interface_hierarchy!(IUIApplication, windows_core::IUnknown); impl IUIApplication { pub unsafe fn OnViewChanged(&self, viewid: u32, typeid: UI_VIEWTYPE, view: P0, verb: UI_VIEWVERB, ureasoncode: i32) -> windows_core::Result<()> @@ -25,7 +25,7 @@ pub struct IUIApplication_Vtbl { pub OnCreateUICommand: unsafe extern "system" fn(*mut core::ffi::c_void, u32, UI_COMMANDTYPE, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnDestroyUICommand: unsafe extern "system" fn(*mut core::ffi::c_void, u32, UI_COMMANDTYPE, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUICollection, IUICollection_Vtbl, 0xdf4f45bf_6f9d_4dd7_9d68_d8f9cd18c4db); +windows_core::imp::define_interface!(IUICollection, IUICollection_Vtbl, 0xdf4f45bf_6f9d_4dd7_9d68_d8f9cd18c4db); windows_core::imp::interface_hierarchy!(IUICollection, windows_core::IUnknown); impl IUICollection { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -72,7 +72,7 @@ pub struct IUICollection_Vtbl { pub Replace: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUICollectionChangedEvent, IUICollectionChangedEvent_Vtbl, 0x6502ae91_a14d_44b5_bbd0_62aacc581d52); +windows_core::imp::define_interface!(IUICollectionChangedEvent, IUICollectionChangedEvent_Vtbl, 0x6502ae91_a14d_44b5_bbd0_62aacc581d52); windows_core::imp::interface_hierarchy!(IUICollectionChangedEvent, windows_core::IUnknown); impl IUICollectionChangedEvent { pub unsafe fn OnChanged(&self, action: UI_COLLECTIONCHANGE, oldindex: u32, olditem: P0, newindex: u32, newitem: P1) -> windows_core::Result<()> @@ -88,7 +88,7 @@ pub struct IUICollectionChangedEvent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnChanged: unsafe extern "system" fn(*mut core::ffi::c_void, UI_COLLECTIONCHANGE, u32, *mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUICommandHandler, IUICommandHandler_Vtbl, 0x75ae0a2d_dc03_4c9f_8883_069660d0beb6); +windows_core::imp::define_interface!(IUICommandHandler, IUICommandHandler_Vtbl, 0x75ae0a2d_dc03_4c9f_8883_069660d0beb6); windows_core::imp::interface_hierarchy!(IUICommandHandler, windows_core::IUnknown); impl IUICommandHandler { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -116,7 +116,7 @@ pub struct IUICommandHandler_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] UpdateProperty: usize, } -windows_core::imp::com_interface!(IUIContextualUI, IUIContextualUI_Vtbl, 0xeea11f37_7c46_437c_8e55_b52122b29293); +windows_core::imp::define_interface!(IUIContextualUI, IUIContextualUI_Vtbl, 0xeea11f37_7c46_437c_8e55_b52122b29293); windows_core::imp::interface_hierarchy!(IUIContextualUI, windows_core::IUnknown); impl IUIContextualUI { pub unsafe fn ShowAtLocation(&self, x: i32, y: i32) -> windows_core::Result<()> { @@ -128,7 +128,7 @@ pub struct IUIContextualUI_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ShowAtLocation: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIEventLogger, IUIEventLogger_Vtbl, 0xec3e1034_dbf4_41a1_95d5_03e0f1026e05); +windows_core::imp::define_interface!(IUIEventLogger, IUIEventLogger_Vtbl, 0xec3e1034_dbf4_41a1_95d5_03e0f1026e05); windows_core::imp::interface_hierarchy!(IUIEventLogger, windows_core::IUnknown); impl IUIEventLogger { pub unsafe fn OnUIEvent(&self, peventparams: *const UI_EVENTPARAMS) { @@ -140,7 +140,7 @@ pub struct IUIEventLogger_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnUIEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const UI_EVENTPARAMS), } -windows_core::imp::com_interface!(IUIEventingManager, IUIEventingManager_Vtbl, 0x3be6ea7f_9a9b_4198_9368_9b0f923bd534); +windows_core::imp::define_interface!(IUIEventingManager, IUIEventingManager_Vtbl, 0x3be6ea7f_9a9b_4198_9368_9b0f923bd534); windows_core::imp::interface_hierarchy!(IUIEventingManager, windows_core::IUnknown); impl IUIEventingManager { pub unsafe fn SetEventLogger(&self, eventlogger: P0) -> windows_core::Result<()> @@ -155,7 +155,7 @@ pub struct IUIEventingManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetEventLogger: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIFramework, IUIFramework_Vtbl, 0xf4f0385d_6872_43a8_ad09_4c339cb3f5c5); +windows_core::imp::define_interface!(IUIFramework, IUIFramework_Vtbl, 0xf4f0385d_6872_43a8_ad09_4c339cb3f5c5); windows_core::imp::interface_hierarchy!(IUIFramework, windows_core::IUnknown); impl IUIFramework { pub unsafe fn Initialize(&self, framewnd: P0, application: P1) -> windows_core::Result<()> @@ -220,7 +220,7 @@ pub struct IUIFramework_Vtbl { pub FlushPendingInvalidations: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetModes: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIImage, IUIImage_Vtbl, 0x23c8c838_4de6_436b_ab01_5554bb7c30dd); +windows_core::imp::define_interface!(IUIImage, IUIImage_Vtbl, 0x23c8c838_4de6_436b_ab01_5554bb7c30dd); windows_core::imp::interface_hierarchy!(IUIImage, windows_core::IUnknown); impl IUIImage { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -237,7 +237,7 @@ pub struct IUIImage_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetBitmap: usize, } -windows_core::imp::com_interface!(IUIImageFromBitmap, IUIImageFromBitmap_Vtbl, 0x18aba7f3_4c1c_4ba2_bf6c_f5c3326fa816); +windows_core::imp::define_interface!(IUIImageFromBitmap, IUIImageFromBitmap_Vtbl, 0x18aba7f3_4c1c_4ba2_bf6c_f5c3326fa816); windows_core::imp::interface_hierarchy!(IUIImageFromBitmap, windows_core::IUnknown); impl IUIImageFromBitmap { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -257,7 +257,7 @@ pub struct IUIImageFromBitmap_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] CreateImage: usize, } -windows_core::imp::com_interface!(IUIRibbon, IUIRibbon_Vtbl, 0x803982ab_370a_4f7e_a9e7_8784036a6e26); +windows_core::imp::define_interface!(IUIRibbon, IUIRibbon_Vtbl, 0x803982ab_370a_4f7e_a9e7_8784036a6e26); windows_core::imp::interface_hierarchy!(IUIRibbon, windows_core::IUnknown); impl IUIRibbon { pub unsafe fn GetHeight(&self) -> windows_core::Result { @@ -292,7 +292,7 @@ pub struct IUIRibbon_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SaveSettingsToStream: usize, } -windows_core::imp::com_interface!(IUISimplePropertySet, IUISimplePropertySet_Vtbl, 0xc205bb48_5b1c_4219_a106_15bd0a5f24e2); +windows_core::imp::define_interface!(IUISimplePropertySet, IUISimplePropertySet_Vtbl, 0xc205bb48_5b1c_4219_a106_15bd0a5f24e2); windows_core::imp::interface_hierarchy!(IUISimplePropertySet, windows_core::IUnknown); impl IUISimplePropertySet { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] 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 f047664db2..af9937e2ff 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IObjectArray, IObjectArray_Vtbl, 0x92ca9dcd_5622_4bba_a805_5e9f541bd8c9); +windows_core::imp::define_interface!(IObjectArray, IObjectArray_Vtbl, 0x92ca9dcd_5622_4bba_a805_5e9f541bd8c9); windows_core::imp::interface_hierarchy!(IObjectArray, windows_core::IUnknown); impl IObjectArray { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -19,7 +19,7 @@ pub struct IObjectArray_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, } -windows_core::imp::com_interface!(IObjectCollection, IObjectCollection_Vtbl, 0x5632b1a4_e38a_400a_928a_d4cd63230295); +windows_core::imp::define_interface!(IObjectCollection, IObjectCollection_Vtbl, 0x5632b1a4_e38a_400a_928a_d4cd63230295); windows_core::imp::interface_hierarchy!(IObjectCollection, windows_core::IUnknown, IObjectArray); impl IObjectCollection { pub unsafe fn GetCount(&self) -> windows_core::Result { diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/mod.rs index 16acdb69a1..c4f328c7c0 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 @@ -675,7 +675,7 @@ where 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); SHPropStgWriteMultiple(pps.into_param().abi(), core::mem::transmute(pucodepage.unwrap_or(std::ptr::null_mut())), cpspec, rgpspec, core::mem::transmute(rgvar), propidnamefirst).ok() } -windows_core::imp::com_interface!(ICreateObject, ICreateObject_Vtbl, 0x75121952_e0d0_43e5_9380_1d80483acf72); +windows_core::imp::define_interface!(ICreateObject, ICreateObject_Vtbl, 0x75121952_e0d0_43e5_9380_1d80483acf72); windows_core::imp::interface_hierarchy!(ICreateObject, windows_core::IUnknown); impl ICreateObject { pub unsafe fn CreateObject(&self, clsid: *const windows_core::GUID, punkouter: P0) -> windows_core::Result @@ -692,7 +692,7 @@ pub struct ICreateObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDelayedPropertyStoreFactory, IDelayedPropertyStoreFactory_Vtbl, 0x40d4577f_e237_4bdb_bd69_58f089431b6a); +windows_core::imp::define_interface!(IDelayedPropertyStoreFactory, IDelayedPropertyStoreFactory_Vtbl, 0x40d4577f_e237_4bdb_bd69_58f089431b6a); windows_core::imp::interface_hierarchy!(IDelayedPropertyStoreFactory, windows_core::IUnknown, IPropertyStoreFactory); impl IDelayedPropertyStoreFactory { pub unsafe fn GetPropertyStore(&self, flags: GETPROPERTYSTOREFLAGS, punkfactory: P0) -> windows_core::Result @@ -723,7 +723,7 @@ pub struct IDelayedPropertyStoreFactory_Vtbl { pub base__: IPropertyStoreFactory_Vtbl, pub GetDelayedPropertyStore: unsafe extern "system" fn(*mut core::ffi::c_void, GETPROPERTYSTOREFLAGS, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInitializeWithFile, IInitializeWithFile_Vtbl, 0xb7d14566_0509_4cce_a71f_0a554233bd9b); +windows_core::imp::define_interface!(IInitializeWithFile, IInitializeWithFile_Vtbl, 0xb7d14566_0509_4cce_a71f_0a554233bd9b); windows_core::imp::interface_hierarchy!(IInitializeWithFile, windows_core::IUnknown); impl IInitializeWithFile { pub unsafe fn Initialize(&self, pszfilepath: P0, grfmode: u32) -> windows_core::Result<()> @@ -738,7 +738,7 @@ pub struct IInitializeWithFile_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInitializeWithStream, IInitializeWithStream_Vtbl, 0xb824b49d_22ac_4161_ac8a_9916e8fa3f7f); +windows_core::imp::define_interface!(IInitializeWithStream, IInitializeWithStream_Vtbl, 0xb824b49d_22ac_4161_ac8a_9916e8fa3f7f); windows_core::imp::interface_hierarchy!(IInitializeWithStream, windows_core::IUnknown); impl IInitializeWithStream { #[cfg(feature = "Win32_System_Com")] @@ -757,7 +757,7 @@ pub struct IInitializeWithStream_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Initialize: usize, } -windows_core::imp::com_interface!(INamedPropertyStore, INamedPropertyStore_Vtbl, 0x71604b0f_97b0_4764_8577_2f13e98a1422); +windows_core::imp::define_interface!(INamedPropertyStore, INamedPropertyStore_Vtbl, 0x71604b0f_97b0_4764_8577_2f13e98a1422); windows_core::imp::interface_hierarchy!(INamedPropertyStore, windows_core::IUnknown); impl INamedPropertyStore { pub unsafe fn GetNamedValue(&self, pszname: P0) -> windows_core::Result @@ -790,7 +790,7 @@ pub struct INamedPropertyStore_Vtbl { 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, } -windows_core::imp::com_interface!(IObjectWithPropertyKey, IObjectWithPropertyKey_Vtbl, 0xfc0ca0a7_c316_4fd2_9031_3e628e6d4f23); +windows_core::imp::define_interface!(IObjectWithPropertyKey, IObjectWithPropertyKey_Vtbl, 0xfc0ca0a7_c316_4fd2_9031_3e628e6d4f23); windows_core::imp::interface_hierarchy!(IObjectWithPropertyKey, windows_core::IUnknown); impl IObjectWithPropertyKey { pub unsafe fn SetPropertyKey(&self, key: *const PROPERTYKEY) -> windows_core::Result<()> { @@ -806,7 +806,7 @@ pub struct IObjectWithPropertyKey_Vtbl { pub SetPropertyKey: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY) -> windows_core::HRESULT, pub GetPropertyKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PROPERTYKEY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPersistSerializedPropStorage, IPersistSerializedPropStorage_Vtbl, 0xe318ad57_0aa0_450f_aca5_6fab7103d917); +windows_core::imp::define_interface!(IPersistSerializedPropStorage, IPersistSerializedPropStorage_Vtbl, 0xe318ad57_0aa0_450f_aca5_6fab7103d917); windows_core::imp::interface_hierarchy!(IPersistSerializedPropStorage, windows_core::IUnknown); impl IPersistSerializedPropStorage { pub unsafe fn SetFlags(&self, flags: i32) -> windows_core::Result<()> { @@ -829,7 +829,7 @@ pub struct IPersistSerializedPropStorage_Vtbl { pub SetPropertyStorage: unsafe extern "system" fn(*mut core::ffi::c_void, PCUSERIALIZEDPROPSTORAGE, u32) -> windows_core::HRESULT, pub GetPropertyStorage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut SERIALIZEDPROPSTORAGE, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPersistSerializedPropStorage2, IPersistSerializedPropStorage2_Vtbl, 0x77effa68_4f98_4366_ba72_573b3d880571); +windows_core::imp::define_interface!(IPersistSerializedPropStorage2, IPersistSerializedPropStorage2_Vtbl, 0x77effa68_4f98_4366_ba72_573b3d880571); windows_core::imp::interface_hierarchy!(IPersistSerializedPropStorage2, windows_core::IUnknown, IPersistSerializedPropStorage); impl IPersistSerializedPropStorage2 { pub unsafe fn SetFlags(&self, flags: i32) -> windows_core::Result<()> { @@ -858,7 +858,7 @@ pub struct IPersistSerializedPropStorage2_Vtbl { pub GetPropertyStorageSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetPropertyStorageBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SERIALIZEDPROPSTORAGE, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyChange, IPropertyChange_Vtbl, 0xf917bc8a_1bba_4478_a245_1bde03eb9431); +windows_core::imp::define_interface!(IPropertyChange, IPropertyChange_Vtbl, 0xf917bc8a_1bba_4478_a245_1bde03eb9431); windows_core::imp::interface_hierarchy!(IPropertyChange, windows_core::IUnknown, IObjectWithPropertyKey); impl IPropertyChange { pub unsafe fn SetPropertyKey(&self, key: *const PROPERTYKEY) -> windows_core::Result<()> { @@ -877,7 +877,7 @@ 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, } -windows_core::imp::com_interface!(IPropertyChangeArray, IPropertyChangeArray_Vtbl, 0x380f5cad_1b5e_42f2_805d_637fd392d31e); +windows_core::imp::define_interface!(IPropertyChangeArray, IPropertyChangeArray_Vtbl, 0x380f5cad_1b5e_42f2_805d_637fd392d31e); windows_core::imp::interface_hierarchy!(IPropertyChangeArray, windows_core::IUnknown); impl IPropertyChangeArray { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -927,7 +927,7 @@ pub struct IPropertyChangeArray_Vtbl { pub RemoveAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub IsKeyInArray: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyDescription, IPropertyDescription_Vtbl, 0x6f79d558_3e96_4549_a1d1_7d75d2288814); +windows_core::imp::define_interface!(IPropertyDescription, IPropertyDescription_Vtbl, 0x6f79d558_3e96_4549_a1d1_7d75d2288814); windows_core::imp::interface_hierarchy!(IPropertyDescription, windows_core::IUnknown); impl IPropertyDescription { pub unsafe fn GetPropertyKey(&self, pkey: *mut PROPERTYKEY) -> windows_core::Result<()> { @@ -1045,7 +1045,7 @@ pub struct IPropertyDescription_Vtbl { 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, } -windows_core::imp::com_interface!(IPropertyDescription2, IPropertyDescription2_Vtbl, 0x57d2eded_5062_400e_b107_5dae79fe57a6); +windows_core::imp::define_interface!(IPropertyDescription2, IPropertyDescription2_Vtbl, 0x57d2eded_5062_400e_b107_5dae79fe57a6); windows_core::imp::interface_hierarchy!(IPropertyDescription2, windows_core::IUnknown, IPropertyDescription); impl IPropertyDescription2 { pub unsafe fn GetPropertyKey(&self, pkey: *mut PROPERTYKEY) -> windows_core::Result<()> { @@ -1144,7 +1144,7 @@ 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, } -windows_core::imp::com_interface!(IPropertyDescriptionAliasInfo, IPropertyDescriptionAliasInfo_Vtbl, 0xf67104fc_2af9_46fd_b32d_243c1404f3d1); +windows_core::imp::define_interface!(IPropertyDescriptionAliasInfo, IPropertyDescriptionAliasInfo_Vtbl, 0xf67104fc_2af9_46fd_b32d_243c1404f3d1); windows_core::imp::interface_hierarchy!(IPropertyDescriptionAliasInfo, windows_core::IUnknown, IPropertyDescription); impl IPropertyDescriptionAliasInfo { pub unsafe fn GetPropertyKey(&self, pkey: *mut PROPERTYKEY) -> windows_core::Result<()> { @@ -1254,7 +1254,7 @@ pub struct IPropertyDescriptionAliasInfo_Vtbl { pub GetSortByAlias: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAdditionalSortByAliases: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyDescriptionList, IPropertyDescriptionList_Vtbl, 0x1f9fc1d0_c39b_4b26_817f_011967d3440e); +windows_core::imp::define_interface!(IPropertyDescriptionList, IPropertyDescriptionList_Vtbl, 0x1f9fc1d0_c39b_4b26_817f_011967d3440e); windows_core::imp::interface_hierarchy!(IPropertyDescriptionList, windows_core::IUnknown); impl IPropertyDescriptionList { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -1275,7 +1275,7 @@ pub struct IPropertyDescriptionList_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, } -windows_core::imp::com_interface!(IPropertyDescriptionRelatedPropertyInfo, IPropertyDescriptionRelatedPropertyInfo_Vtbl, 0x507393f4_2a3d_4a60_b59e_d9c75716c2dd); +windows_core::imp::define_interface!(IPropertyDescriptionRelatedPropertyInfo, IPropertyDescriptionRelatedPropertyInfo_Vtbl, 0x507393f4_2a3d_4a60_b59e_d9c75716c2dd); windows_core::imp::interface_hierarchy!(IPropertyDescriptionRelatedPropertyInfo, windows_core::IUnknown, IPropertyDescription); impl IPropertyDescriptionRelatedPropertyInfo { pub unsafe fn GetPropertyKey(&self, pkey: *mut PROPERTYKEY) -> windows_core::Result<()> { @@ -1378,7 +1378,7 @@ pub struct IPropertyDescriptionRelatedPropertyInfo_Vtbl { pub base__: IPropertyDescription_Vtbl, pub GetRelatedProperty: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyDescriptionSearchInfo, IPropertyDescriptionSearchInfo_Vtbl, 0x078f91bd_29a2_440f_924e_46a291524520); +windows_core::imp::define_interface!(IPropertyDescriptionSearchInfo, IPropertyDescriptionSearchInfo_Vtbl, 0x078f91bd_29a2_440f_924e_46a291524520); windows_core::imp::interface_hierarchy!(IPropertyDescriptionSearchInfo, windows_core::IUnknown, IPropertyDescription); impl IPropertyDescriptionSearchInfo { pub unsafe fn GetPropertyKey(&self, pkey: *mut PROPERTYKEY) -> windows_core::Result<()> { @@ -1492,7 +1492,7 @@ pub struct IPropertyDescriptionSearchInfo_Vtbl { pub GetProjectionString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetMaxSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyEnumType, IPropertyEnumType_Vtbl, 0x11e1fbf9_2d56_4a6b_8db3_7cd193a471f2); +windows_core::imp::define_interface!(IPropertyEnumType, IPropertyEnumType_Vtbl, 0x11e1fbf9_2d56_4a6b_8db3_7cd193a471f2); windows_core::imp::interface_hierarchy!(IPropertyEnumType, windows_core::IUnknown); impl IPropertyEnumType { pub unsafe fn GetEnumType(&self) -> windows_core::Result { @@ -1525,7 +1525,7 @@ pub struct IPropertyEnumType_Vtbl { pub GetRangeSetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IPropertyEnumType2, IPropertyEnumType2_Vtbl, 0x9b6e051c_5ddd_4321_9070_fe2acb55e794); +windows_core::imp::define_interface!(IPropertyEnumType2, IPropertyEnumType2_Vtbl, 0x9b6e051c_5ddd_4321_9070_fe2acb55e794); windows_core::imp::interface_hierarchy!(IPropertyEnumType2, windows_core::IUnknown, IPropertyEnumType); impl IPropertyEnumType2 { pub unsafe fn GetEnumType(&self) -> windows_core::Result { @@ -1558,7 +1558,7 @@ pub struct IPropertyEnumType2_Vtbl { pub base__: IPropertyEnumType_Vtbl, pub GetImageReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyEnumTypeList, IPropertyEnumTypeList_Vtbl, 0xa99400f4_3d84_4557_94ba_1242fb2cc9a6); +windows_core::imp::define_interface!(IPropertyEnumTypeList, IPropertyEnumTypeList_Vtbl, 0xa99400f4_3d84_4557_94ba_1242fb2cc9a6); windows_core::imp::interface_hierarchy!(IPropertyEnumTypeList, windows_core::IUnknown); impl IPropertyEnumTypeList { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -1592,7 +1592,7 @@ pub struct IPropertyEnumTypeList_Vtbl { 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, } -windows_core::imp::com_interface!(IPropertyStore, IPropertyStore_Vtbl, 0x886d8eeb_8cf2_4446_8d02_cdba1dbdcf99); +windows_core::imp::define_interface!(IPropertyStore, IPropertyStore_Vtbl, 0x886d8eeb_8cf2_4446_8d02_cdba1dbdcf99); windows_core::imp::interface_hierarchy!(IPropertyStore, windows_core::IUnknown); impl IPropertyStore { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -1622,7 +1622,7 @@ pub struct IPropertyStore_Vtbl { pub SetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, *const std::mem::MaybeUninit) -> windows_core::HRESULT, pub Commit: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyStoreCache, IPropertyStoreCache_Vtbl, 0x3017056d_9a91_4e90_937d_746c72abbf4f); +windows_core::imp::define_interface!(IPropertyStoreCache, IPropertyStoreCache_Vtbl, 0x3017056d_9a91_4e90_937d_746c72abbf4f); windows_core::imp::interface_hierarchy!(IPropertyStoreCache, windows_core::IUnknown, IPropertyStore); impl IPropertyStoreCache { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -1664,7 +1664,7 @@ pub struct IPropertyStoreCache_Vtbl { 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, } -windows_core::imp::com_interface!(IPropertyStoreCapabilities, IPropertyStoreCapabilities_Vtbl, 0xc8e2d566_186e_4d49_bf41_6909ead56acc); +windows_core::imp::define_interface!(IPropertyStoreCapabilities, IPropertyStoreCapabilities_Vtbl, 0xc8e2d566_186e_4d49_bf41_6909ead56acc); windows_core::imp::interface_hierarchy!(IPropertyStoreCapabilities, windows_core::IUnknown); impl IPropertyStoreCapabilities { pub unsafe fn IsPropertyWritable(&self, key: *const PROPERTYKEY) -> windows_core::Result<()> { @@ -1676,7 +1676,7 @@ pub struct IPropertyStoreCapabilities_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsPropertyWritable: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyStoreFactory, IPropertyStoreFactory_Vtbl, 0xbc110b6d_57e8_4148_a9c6_91015ab2f3a5); +windows_core::imp::define_interface!(IPropertyStoreFactory, IPropertyStoreFactory_Vtbl, 0xbc110b6d_57e8_4148_a9c6_91015ab2f3a5); windows_core::imp::interface_hierarchy!(IPropertyStoreFactory, windows_core::IUnknown); impl IPropertyStoreFactory { pub unsafe fn GetPropertyStore(&self, flags: GETPROPERTYSTOREFLAGS, punkfactory: P0) -> windows_core::Result @@ -1701,7 +1701,7 @@ pub struct IPropertyStoreFactory_Vtbl { pub GetPropertyStore: unsafe extern "system" fn(*mut core::ffi::c_void, GETPROPERTYSTOREFLAGS, *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPropertyStoreForKeys: unsafe extern "system" fn(*mut core::ffi::c_void, *const PROPERTYKEY, u32, GETPROPERTYSTOREFLAGS, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertySystem, IPropertySystem_Vtbl, 0xca724e8a_c3e6_442b_88a4_6fb0db8035a3); +windows_core::imp::define_interface!(IPropertySystem, IPropertySystem_Vtbl, 0xca724e8a_c3e6_442b_88a4_6fb0db8035a3); windows_core::imp::interface_hierarchy!(IPropertySystem, windows_core::IUnknown); impl IPropertySystem { pub unsafe fn GetPropertyDescription(&self, propkey: *const PROPERTYKEY) -> windows_core::Result @@ -1770,7 +1770,7 @@ pub struct IPropertySystem_Vtbl { 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, } -windows_core::imp::com_interface!(IPropertySystemChangeNotify, IPropertySystemChangeNotify_Vtbl, 0xfa955fd9_38be_4879_a6ce_824cf52d609f); +windows_core::imp::define_interface!(IPropertySystemChangeNotify, IPropertySystemChangeNotify_Vtbl, 0xfa955fd9_38be_4879_a6ce_824cf52d609f); windows_core::imp::interface_hierarchy!(IPropertySystemChangeNotify, windows_core::IUnknown); impl IPropertySystemChangeNotify { pub unsafe fn SchemaRefreshed(&self) -> windows_core::Result<()> { @@ -1782,7 +1782,7 @@ pub struct IPropertySystemChangeNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SchemaRefreshed: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyUI, IPropertyUI_Vtbl, 0x757a7d9f_919a_4118_99d7_dbb208c8cc66); +windows_core::imp::define_interface!(IPropertyUI, IPropertyUI_Vtbl, 0x757a7d9f_919a_4118_99d7_dbb208c8cc66); windows_core::imp::interface_hierarchy!(IPropertyUI, windows_core::IUnknown); impl IPropertyUI { pub unsafe fn ParsePropertyName(&self, pszname: P0, pfmtid: *mut windows_core::GUID, ppid: *mut u32, pcheaten: *mut u32) -> windows_core::Result<()> 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 7f364db3b8..83b21a65ea 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -5634,7 +5634,7 @@ where wvnsprintfW(core::mem::transmute(pszdest.as_ptr()), pszdest.len().try_into().unwrap(), pszfmt.into_param().abi(), arglist) } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(CIE4ConnectionPoint, CIE4ConnectionPoint_Vtbl, 0); +windows_core::imp::define_interface!(CIE4ConnectionPoint, CIE4ConnectionPoint_Vtbl, 0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(CIE4ConnectionPoint, windows_core::IUnknown, super::super::System::Com::IConnectionPoint); #[cfg(feature = "Win32_System_Com")] @@ -5692,7 +5692,7 @@ pub struct CIE4ConnectionPoint_Vtbl { DoInvokePIDLIE4: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DFConstraint, DFConstraint_Vtbl, 0x4a3df050_23bd_11d2_939f_00a0c91eedba); +windows_core::imp::define_interface!(DFConstraint, DFConstraint_Vtbl, 0x4a3df050_23bd_11d2_939f_00a0c91eedba); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DFConstraint, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5714,7 +5714,7 @@ pub struct DFConstraint_Vtbl { pub Value: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DShellFolderViewEvents, DShellFolderViewEvents_Vtbl, 0x62112aa2_ebe4_11cf_a5fb_0020afe7292d); +windows_core::imp::define_interface!(DShellFolderViewEvents, DShellFolderViewEvents_Vtbl, 0x62112aa2_ebe4_11cf_a5fb_0020afe7292d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DShellFolderViewEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5725,7 +5725,7 @@ pub struct DShellFolderViewEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DShellNameSpaceEvents, DShellNameSpaceEvents_Vtbl, 0x55136806_b2de_11d1_b9f2_00a0c98bc547); +windows_core::imp::define_interface!(DShellNameSpaceEvents, DShellNameSpaceEvents_Vtbl, 0x55136806_b2de_11d1_b9f2_00a0c98bc547); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DShellNameSpaceEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5736,7 +5736,7 @@ pub struct DShellNameSpaceEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DShellWindowsEvents, DShellWindowsEvents_Vtbl, 0xfe4106e0_399a_11d0_a48c_00a0c90a8f39); +windows_core::imp::define_interface!(DShellWindowsEvents, DShellWindowsEvents_Vtbl, 0xfe4106e0_399a_11d0_a48c_00a0c90a8f39); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DShellWindowsEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5747,7 +5747,7 @@ pub struct DShellWindowsEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DWebBrowserEvents, DWebBrowserEvents_Vtbl, 0xeab22ac2_30c1_11cf_a7eb_0000c05bae0b); +windows_core::imp::define_interface!(DWebBrowserEvents, DWebBrowserEvents_Vtbl, 0xeab22ac2_30c1_11cf_a7eb_0000c05bae0b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DWebBrowserEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5758,7 +5758,7 @@ pub struct DWebBrowserEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(DWebBrowserEvents2, DWebBrowserEvents2_Vtbl, 0x34a715a0_6587_11d0_924a_0020afc7ac4d); +windows_core::imp::define_interface!(DWebBrowserEvents2, DWebBrowserEvents2_Vtbl, 0x34a715a0_6587_11d0_924a_0020afc7ac4d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(DWebBrowserEvents2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5769,7 +5769,7 @@ pub struct DWebBrowserEvents2_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Folder, Folder_Vtbl, 0xbbcbde60_c3ff_11ce_8350_444553540000); +windows_core::imp::define_interface!(Folder, Folder_Vtbl, 0xbbcbde60_c3ff_11ce_8350_444553540000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Folder, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5866,7 +5866,7 @@ pub struct Folder_Vtbl { pub GetDetailsOf: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Folder2, Folder2_Vtbl, 0xf0d2d8ef_3890_11d2_bf8b_00c04fb93661); +windows_core::imp::define_interface!(Folder2, Folder2_Vtbl, 0xf0d2d8ef_3890_11d2_bf8b_00c04fb93661); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Folder2, windows_core::IUnknown, super::super::System::Com::IDispatch, Folder); #[cfg(feature = "Win32_System_Com")] @@ -5965,7 +5965,7 @@ pub struct Folder2_Vtbl { pub DismissedWebViewBarricade: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Folder3, Folder3_Vtbl, 0xa7ae5f64_c4d7_4d7f_9307_4d24ee54b841); +windows_core::imp::define_interface!(Folder3, Folder3_Vtbl, 0xa7ae5f64_c4d7_4d7f_9307_4d24ee54b841); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Folder3, windows_core::IUnknown, super::super::System::Com::IDispatch, Folder, Folder2); #[cfg(feature = "Win32_System_Com")] @@ -6068,7 +6068,7 @@ pub struct Folder3_Vtbl { pub SetShowWebViewBarricade: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(FolderItem, FolderItem_Vtbl, 0xfac32c80_cbe4_11ce_8350_444553540000); +windows_core::imp::define_interface!(FolderItem, FolderItem_Vtbl, 0xfac32c80_cbe4_11ce_8350_444553540000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(FolderItem, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6188,7 +6188,7 @@ pub struct FolderItem_Vtbl { pub InvokeVerb: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(FolderItem2, FolderItem2_Vtbl, 0xedc817aa_92b8_11d1_b075_00c04fc33aa5); +windows_core::imp::define_interface!(FolderItem2, FolderItem2_Vtbl, 0xedc817aa_92b8_11d1_b075_00c04fc33aa5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(FolderItem2, windows_core::IUnknown, super::super::System::Com::IDispatch, FolderItem); #[cfg(feature = "Win32_System_Com")] @@ -6292,7 +6292,7 @@ pub struct FolderItem2_Vtbl { pub ExtendedProperty: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(FolderItemVerb, FolderItemVerb_Vtbl, 0x08ec3e00_50b0_11cf_960c_0080c7f4ee85); +windows_core::imp::define_interface!(FolderItemVerb, FolderItemVerb_Vtbl, 0x08ec3e00_50b0_11cf_960c_0080c7f4ee85); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(FolderItemVerb, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6331,7 +6331,7 @@ pub struct FolderItemVerb_Vtbl { pub DoIt: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(FolderItemVerbs, FolderItemVerbs_Vtbl, 0x1f8352c0_50b0_11cf_960c_0080c7f4ee85); +windows_core::imp::define_interface!(FolderItemVerbs, FolderItemVerbs_Vtbl, 0x1f8352c0_50b0_11cf_960c_0080c7f4ee85); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(FolderItemVerbs, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6383,7 +6383,7 @@ pub struct FolderItemVerbs_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")] -windows_core::imp::com_interface!(FolderItems, FolderItems_Vtbl, 0x744129e0_cbe5_11ce_8350_444553540000); +windows_core::imp::define_interface!(FolderItems, FolderItems_Vtbl, 0x744129e0_cbe5_11ce_8350_444553540000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(FolderItems, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -6435,7 +6435,7 @@ pub struct FolderItems_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")] -windows_core::imp::com_interface!(FolderItems2, FolderItems2_Vtbl, 0xc94f0ad0_f363_11d2_a327_00c04f8eec7f); +windows_core::imp::define_interface!(FolderItems2, FolderItems2_Vtbl, 0xc94f0ad0_f363_11d2_a327_00c04f8eec7f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(FolderItems2, windows_core::IUnknown, super::super::System::Com::IDispatch, FolderItems); #[cfg(feature = "Win32_System_Com")] @@ -6481,7 +6481,7 @@ pub struct FolderItems2_Vtbl { pub InvokeVerbEx: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(FolderItems3, FolderItems3_Vtbl, 0xeaa7c309_bbec_49d5_821d_64d966cb667f); +windows_core::imp::define_interface!(FolderItems3, FolderItems3_Vtbl, 0xeaa7c309_bbec_49d5_821d_64d966cb667f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(FolderItems3, windows_core::IUnknown, super::super::System::Com::IDispatch, FolderItems, FolderItems2); #[cfg(feature = "Win32_System_Com")] @@ -6541,7 +6541,7 @@ pub struct FolderItems3_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Verbs: usize, } -windows_core::imp::com_interface!(IACList, IACList_Vtbl, 0x77a130b0_94fd_11d0_a544_00c04fd7d062); +windows_core::imp::define_interface!(IACList, IACList_Vtbl, 0x77a130b0_94fd_11d0_a544_00c04fd7d062); windows_core::imp::interface_hierarchy!(IACList, windows_core::IUnknown); impl IACList { pub unsafe fn Expand(&self, pszexpand: P0) -> windows_core::Result<()> @@ -6556,7 +6556,7 @@ pub struct IACList_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Expand: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IACList2, IACList2_Vtbl, 0x470141a0_5186_11d2_bbb6_0060977b464c); +windows_core::imp::define_interface!(IACList2, IACList2_Vtbl, 0x470141a0_5186_11d2_bbb6_0060977b464c); windows_core::imp::interface_hierarchy!(IACList2, windows_core::IUnknown, IACList); impl IACList2 { pub unsafe fn Expand(&self, pszexpand: P0) -> windows_core::Result<()> @@ -6579,7 +6579,7 @@ pub struct IACList2_Vtbl { pub SetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccessibilityDockingService, IAccessibilityDockingService_Vtbl, 0x8849dc22_cedf_4c95_998d_051419dd3f76); +windows_core::imp::define_interface!(IAccessibilityDockingService, IAccessibilityDockingService_Vtbl, 0x8849dc22_cedf_4c95_998d_051419dd3f76); windows_core::imp::interface_hierarchy!(IAccessibilityDockingService, windows_core::IUnknown); impl IAccessibilityDockingService { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -6618,7 +6618,7 @@ pub struct IAccessibilityDockingService_Vtbl { DockWindow: usize, pub UndockWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccessibilityDockingServiceCallback, IAccessibilityDockingServiceCallback_Vtbl, 0x157733fd_a592_42e5_b594_248468c5a81b); +windows_core::imp::define_interface!(IAccessibilityDockingServiceCallback, IAccessibilityDockingServiceCallback_Vtbl, 0x157733fd_a592_42e5_b594_248468c5a81b); windows_core::imp::interface_hierarchy!(IAccessibilityDockingServiceCallback, windows_core::IUnknown); impl IAccessibilityDockingServiceCallback { pub unsafe fn Undocked(&self, undockreason: UNDOCK_REASON) -> windows_core::Result<()> { @@ -6630,7 +6630,7 @@ pub struct IAccessibilityDockingServiceCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Undocked: unsafe extern "system" fn(*mut core::ffi::c_void, UNDOCK_REASON) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccessibleObject, IAccessibleObject_Vtbl, 0x95a391c5_9ed4_4c28_8401_ab9e06719e11); +windows_core::imp::define_interface!(IAccessibleObject, IAccessibleObject_Vtbl, 0x95a391c5_9ed4_4c28_8401_ab9e06719e11); windows_core::imp::interface_hierarchy!(IAccessibleObject, windows_core::IUnknown); impl IAccessibleObject { pub unsafe fn SetAccessibleName(&self, pszname: P0) -> windows_core::Result<()> @@ -6645,7 +6645,7 @@ pub struct IAccessibleObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetAccessibleName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActionProgress, IActionProgress_Vtbl, 0x49ff1173_eadc_446d_9285_156453a6431c); +windows_core::imp::define_interface!(IActionProgress, IActionProgress_Vtbl, 0x49ff1173_eadc_446d_9285_156453a6431c); windows_core::imp::interface_hierarchy!(IActionProgress, windows_core::IUnknown); impl IActionProgress { pub unsafe fn Begin(&self, action: SPACTION, flags: u32) -> windows_core::Result<()> { @@ -6682,7 +6682,7 @@ pub struct IActionProgress_Vtbl { pub ResetCancel: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub End: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActionProgressDialog, IActionProgressDialog_Vtbl, 0x49ff1172_eadc_446d_9285_156453a6431c); +windows_core::imp::define_interface!(IActionProgressDialog, IActionProgressDialog_Vtbl, 0x49ff1172_eadc_446d_9285_156453a6431c); windows_core::imp::interface_hierarchy!(IActionProgressDialog, windows_core::IUnknown); impl IActionProgressDialog { pub unsafe fn Initialize(&self, flags: u32, psztitle: P0, pszcancel: P1) -> windows_core::Result<()> @@ -6702,7 +6702,7 @@ pub struct IActionProgressDialog_Vtbl { pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub Stop: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppActivationUIInfo, IAppActivationUIInfo_Vtbl, 0xabad189d_9fa3_4278_b3ca_8ca448a88dcb); +windows_core::imp::define_interface!(IAppActivationUIInfo, IAppActivationUIInfo_Vtbl, 0xabad189d_9fa3_4278_b3ca_8ca448a88dcb); windows_core::imp::interface_hierarchy!(IAppActivationUIInfo, windows_core::IUnknown); impl IAppActivationUIInfo { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -6739,7 +6739,7 @@ pub struct IAppActivationUIInfo_Vtbl { pub GetShowUI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetKeyState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppPublisher, IAppPublisher_Vtbl, 0x07250a10_9cf9_11d1_9076_006008059382); +windows_core::imp::define_interface!(IAppPublisher, IAppPublisher_Vtbl, 0x07250a10_9cf9_11d1_9076_006008059382); windows_core::imp::interface_hierarchy!(IAppPublisher, windows_core::IUnknown); impl IAppPublisher { pub unsafe fn GetNumberOfCategories(&self) -> windows_core::Result { @@ -6767,7 +6767,7 @@ pub struct IAppPublisher_Vtbl { pub GetNumberOfApps: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub EnumApps: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAppVisibility, IAppVisibility_Vtbl, 0x2246ea2d_caea_4444_a3c4_6de827e44313); +windows_core::imp::define_interface!(IAppVisibility, IAppVisibility_Vtbl, 0x2246ea2d_caea_4444_a3c4_6de827e44313); windows_core::imp::interface_hierarchy!(IAppVisibility, windows_core::IUnknown); impl IAppVisibility { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -6804,7 +6804,7 @@ pub struct IAppVisibility_Vtbl { pub Advise: unsafe extern "system" fn(*mut core::ffi::c_void, *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, } -windows_core::imp::com_interface!(IAppVisibilityEvents, IAppVisibilityEvents_Vtbl, 0x6584ce6b_7d82_49c2_89c9_c6bc02ba8c38); +windows_core::imp::define_interface!(IAppVisibilityEvents, IAppVisibilityEvents_Vtbl, 0x6584ce6b_7d82_49c2_89c9_c6bc02ba8c38); windows_core::imp::interface_hierarchy!(IAppVisibilityEvents, windows_core::IUnknown); impl IAppVisibilityEvents { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -6830,7 +6830,7 @@ pub struct IAppVisibilityEvents_Vtbl { AppVisibilityOnMonitorChanged: usize, pub LauncherVisibilityChange: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationActivationManager, IApplicationActivationManager_Vtbl, 0x2e941141_7f97_4756_ba1d_9decde894a3d); +windows_core::imp::define_interface!(IApplicationActivationManager, IApplicationActivationManager_Vtbl, 0x2e941141_7f97_4756_ba1d_9decde894a3d); windows_core::imp::interface_hierarchy!(IApplicationActivationManager, windows_core::IUnknown); impl IApplicationActivationManager { pub unsafe fn ActivateApplication(&self, appusermodelid: P0, arguments: P1, options: ACTIVATEOPTIONS) -> windows_core::Result @@ -6866,7 +6866,7 @@ pub struct IApplicationActivationManager_Vtbl { pub ActivateForFile: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, pub ActivateForProtocol: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationAssociationRegistration, IApplicationAssociationRegistration_Vtbl, 0x4e530b0a_e611_4c77_a3ac_9031d022281b); +windows_core::imp::define_interface!(IApplicationAssociationRegistration, IApplicationAssociationRegistration_Vtbl, 0x4e530b0a_e611_4c77_a3ac_9031d022281b); windows_core::imp::interface_hierarchy!(IApplicationAssociationRegistration, windows_core::IUnknown); impl IApplicationAssociationRegistration { pub unsafe fn QueryCurrentDefault(&self, pszquery: P0, atquerytype: ASSOCIATIONTYPE, alquerylevel: ASSOCIATIONLEVEL) -> windows_core::Result @@ -6918,7 +6918,7 @@ pub struct IApplicationAssociationRegistration_Vtbl { pub SetAppAsDefaultAll: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub ClearUserAssociations: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationAssociationRegistrationUI, IApplicationAssociationRegistrationUI_Vtbl, 0x1f76a169_f994_40ac_8fc8_0959e8874710); +windows_core::imp::define_interface!(IApplicationAssociationRegistrationUI, IApplicationAssociationRegistrationUI_Vtbl, 0x1f76a169_f994_40ac_8fc8_0959e8874710); windows_core::imp::interface_hierarchy!(IApplicationAssociationRegistrationUI, windows_core::IUnknown); impl IApplicationAssociationRegistrationUI { pub unsafe fn LaunchAdvancedAssociationUI(&self, pszappregistryname: P0) -> windows_core::Result<()> @@ -6933,7 +6933,7 @@ pub struct IApplicationAssociationRegistrationUI_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub LaunchAdvancedAssociationUI: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationDesignModeSettings, IApplicationDesignModeSettings_Vtbl, 0x2a3dee9a_e31d_46d6_8508_bcc597db3557); +windows_core::imp::define_interface!(IApplicationDesignModeSettings, IApplicationDesignModeSettings_Vtbl, 0x2a3dee9a_e31d_46d6_8508_bcc597db3557); windows_core::imp::interface_hierarchy!(IApplicationDesignModeSettings, windows_core::IUnknown); impl IApplicationDesignModeSettings { pub unsafe fn SetNativeDisplaySize(&self, nativedisplaysizepixels: super::super::Foundation::SIZE) -> windows_core::Result<()> { @@ -6975,7 +6975,7 @@ pub struct IApplicationDesignModeSettings_Vtbl { IsApplicationViewStateSupported: usize, pub TriggerEdgeGesture: unsafe extern "system" fn(*mut core::ffi::c_void, EDGE_GESTURE_KIND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationDesignModeSettings2, IApplicationDesignModeSettings2_Vtbl, 0x490514e1_675a_4d6e_a58d_e54901b4ca2f); +windows_core::imp::define_interface!(IApplicationDesignModeSettings2, IApplicationDesignModeSettings2_Vtbl, 0x490514e1_675a_4d6e_a58d_e54901b4ca2f); windows_core::imp::interface_hierarchy!(IApplicationDesignModeSettings2, windows_core::IUnknown, IApplicationDesignModeSettings); impl IApplicationDesignModeSettings2 { pub unsafe fn SetNativeDisplaySize(&self, nativedisplaysizepixels: super::super::Foundation::SIZE) -> windows_core::Result<()> { @@ -7037,7 +7037,7 @@ pub struct IApplicationDesignModeSettings2_Vtbl { pub GetApplicationSizeBounds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SIZE, *mut super::super::Foundation::SIZE) -> windows_core::HRESULT, pub GetApplicationViewOrientation: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::SIZE, *mut APPLICATION_VIEW_ORIENTATION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationDestinations, IApplicationDestinations_Vtbl, 0x12337d35_94c6_48a0_bce7_6a9c69d4d600); +windows_core::imp::define_interface!(IApplicationDestinations, IApplicationDestinations_Vtbl, 0x12337d35_94c6_48a0_bce7_6a9c69d4d600); windows_core::imp::interface_hierarchy!(IApplicationDestinations, windows_core::IUnknown); impl IApplicationDestinations { pub unsafe fn SetAppID(&self, pszappid: P0) -> windows_core::Result<()> @@ -7063,7 +7063,7 @@ pub struct IApplicationDestinations_Vtbl { pub RemoveDestination: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveAllDestinations: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IApplicationDocumentLists, IApplicationDocumentLists_Vtbl, 0x3c594f9f_9f30_47a1_979a_c9e83d3d0a06); +windows_core::imp::define_interface!(IApplicationDocumentLists, IApplicationDocumentLists_Vtbl, 0x3c594f9f_9f30_47a1_979a_c9e83d3d0a06); windows_core::imp::interface_hierarchy!(IApplicationDocumentLists, windows_core::IUnknown); impl IApplicationDocumentLists { pub unsafe fn SetAppID(&self, pszappid: P0) -> windows_core::Result<()> @@ -7086,7 +7086,7 @@ pub struct IApplicationDocumentLists_Vtbl { pub SetAppID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetList: unsafe extern "system" fn(*mut core::ffi::c_void, APPDOCLISTTYPE, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAssocHandler, IAssocHandler_Vtbl, 0xf04061ac_1659_4a3f_a954_775aa57fc083); +windows_core::imp::define_interface!(IAssocHandler, IAssocHandler_Vtbl, 0xf04061ac_1659_4a3f_a954_775aa57fc083); windows_core::imp::interface_hierarchy!(IAssocHandler, windows_core::IUnknown); impl IAssocHandler { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -7142,7 +7142,7 @@ pub struct IAssocHandler_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreateInvoker: usize, } -windows_core::imp::com_interface!(IAssocHandlerInvoker, IAssocHandlerInvoker_Vtbl, 0x92218cab_ecaa_4335_8133_807fd234c2ee); +windows_core::imp::define_interface!(IAssocHandlerInvoker, IAssocHandlerInvoker_Vtbl, 0x92218cab_ecaa_4335_8133_807fd234c2ee); windows_core::imp::interface_hierarchy!(IAssocHandlerInvoker, windows_core::IUnknown); impl IAssocHandlerInvoker { pub unsafe fn SupportsSelection(&self) -> windows_core::Result<()> { @@ -7158,7 +7158,7 @@ pub struct IAssocHandlerInvoker_Vtbl { pub SupportsSelection: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Invoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAttachmentExecute, IAttachmentExecute_Vtbl, 0x73db1241_1e85_4581_8e4f_a81e1d0f8c57); +windows_core::imp::define_interface!(IAttachmentExecute, IAttachmentExecute_Vtbl, 0x73db1241_1e85_4581_8e4f_a81e1d0f8c57); windows_core::imp::interface_hierarchy!(IAttachmentExecute, windows_core::IUnknown); impl IAttachmentExecute { pub unsafe fn SetClientTitle(&self, psztitle: P0) -> windows_core::Result<()> @@ -7240,7 +7240,7 @@ pub struct IAttachmentExecute_Vtbl { pub SaveWithUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, pub ClearClientState: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAutoComplete, IAutoComplete_Vtbl, 0x00bb2762_6a77_11d0_a535_00c04fd7d062); +windows_core::imp::define_interface!(IAutoComplete, IAutoComplete_Vtbl, 0x00bb2762_6a77_11d0_a535_00c04fd7d062); windows_core::imp::interface_hierarchy!(IAutoComplete, windows_core::IUnknown); impl IAutoComplete { pub unsafe fn Init(&self, hwndedit: P0, punkacl: P1, pwszregkeypath: P2, pwszquickcomplete: P3) -> windows_core::Result<()> @@ -7265,7 +7265,7 @@ pub struct IAutoComplete_Vtbl { pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAutoComplete2, IAutoComplete2_Vtbl, 0xeac04bc0_3791_11d2_bb95_0060977b464c); +windows_core::imp::define_interface!(IAutoComplete2, IAutoComplete2_Vtbl, 0xeac04bc0_3791_11d2_bb95_0060977b464c); windows_core::imp::interface_hierarchy!(IAutoComplete2, windows_core::IUnknown, IAutoComplete); impl IAutoComplete2 { pub unsafe fn Init(&self, hwndedit: P0, punkacl: P1, pwszregkeypath: P2, pwszquickcomplete: P3) -> windows_core::Result<()> @@ -7297,7 +7297,7 @@ pub struct IAutoComplete2_Vtbl { pub SetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAutoCompleteDropDown, IAutoCompleteDropDown_Vtbl, 0x3cd141f4_3c6a_11d2_bcaa_00c04fd929db); +windows_core::imp::define_interface!(IAutoCompleteDropDown, IAutoCompleteDropDown_Vtbl, 0x3cd141f4_3c6a_11d2_bcaa_00c04fd929db); windows_core::imp::interface_hierarchy!(IAutoCompleteDropDown, windows_core::IUnknown); impl IAutoCompleteDropDown { pub unsafe fn GetDropDownStatus(&self, pdwflags: *mut u32, ppwszstring: *mut windows_core::PWSTR) -> windows_core::Result<()> { @@ -7313,7 +7313,7 @@ pub struct IAutoCompleteDropDown_Vtbl { pub GetDropDownStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub ResetEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBandHost, IBandHost_Vtbl, 0xb9075c7c_d48e_403f_ab99_d6c77a1084ac); +windows_core::imp::define_interface!(IBandHost, IBandHost_Vtbl, 0xb9075c7c_d48e_403f_ab99_d6c77a1084ac); windows_core::imp::interface_hierarchy!(IBandHost, windows_core::IUnknown); impl IBandHost { pub unsafe fn CreateBand(&self, rclsidband: *const windows_core::GUID, favailable: P0, fvisible: P1) -> windows_core::Result @@ -7342,7 +7342,7 @@ pub struct IBandHost_Vtbl { pub SetBandAvailability: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub DestroyBand: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBandSite, IBandSite_Vtbl, 0x4cf504b0_de96_11d0_8b3f_00a0c911e8e5); +windows_core::imp::define_interface!(IBandSite, IBandSite_Vtbl, 0x4cf504b0_de96_11d0_8b3f_00a0c911e8e5); windows_core::imp::interface_hierarchy!(IBandSite, windows_core::IUnknown); impl IBandSite { pub unsafe fn AddBand(&self, punk: P0) -> windows_core::Result<()> @@ -7394,7 +7394,7 @@ pub struct IBandSite_Vtbl { pub SetBandSiteInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const BANDSITEINFO) -> windows_core::HRESULT, pub GetBandSiteInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut BANDSITEINFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBannerNotificationHandler, IBannerNotificationHandler_Vtbl, 0x8d7b2ba7_db05_46a8_823c_d2b6de08ee91); +windows_core::imp::define_interface!(IBannerNotificationHandler, IBannerNotificationHandler_Vtbl, 0x8d7b2ba7_db05_46a8_823c_d2b6de08ee91); windows_core::imp::interface_hierarchy!(IBannerNotificationHandler, windows_core::IUnknown); impl IBannerNotificationHandler { pub unsafe fn OnBannerEvent(&self, notification: *const BANNER_NOTIFICATION) -> windows_core::Result<()> { @@ -7406,7 +7406,7 @@ pub struct IBannerNotificationHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnBannerEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const BANNER_NOTIFICATION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBanneredBar, IBanneredBar_Vtbl, 0x596a9a94_013e_11d1_8d34_00a0c90f2719); +windows_core::imp::define_interface!(IBanneredBar, IBanneredBar_Vtbl, 0x596a9a94_013e_11d1_8d34_00a0c90f2719); windows_core::imp::interface_hierarchy!(IBanneredBar, windows_core::IUnknown); impl IBanneredBar { pub unsafe fn SetIconSize(&self, iicon: u32) -> windows_core::Result<()> { @@ -7443,7 +7443,7 @@ pub struct IBanneredBar_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetBitmap: usize, } -windows_core::imp::com_interface!(IBrowserFrameOptions, IBrowserFrameOptions_Vtbl, 0x10df43c8_1dbe_11d3_8b34_006097df5bd4); +windows_core::imp::define_interface!(IBrowserFrameOptions, IBrowserFrameOptions_Vtbl, 0x10df43c8_1dbe_11d3_8b34_006097df5bd4); windows_core::imp::interface_hierarchy!(IBrowserFrameOptions, windows_core::IUnknown); impl IBrowserFrameOptions { pub unsafe fn GetFrameOptions(&self, dwmask: u32) -> windows_core::Result { @@ -7456,7 +7456,7 @@ pub struct IBrowserFrameOptions_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetFrameOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBrowserService, IBrowserService_Vtbl, 0x02ba3b52_0547_11d1_b833_00c04fc9b31f); +windows_core::imp::define_interface!(IBrowserService, IBrowserService_Vtbl, 0x02ba3b52_0547_11d1_b833_00c04fc9b31f); windows_core::imp::interface_hierarchy!(IBrowserService, windows_core::IUnknown); impl IBrowserService { #[cfg(feature = "Win32_System_Ole")] @@ -7690,7 +7690,7 @@ pub struct IBrowserService_Vtbl { GetPalette: usize, pub RegisterWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, ShellWindowTypeConstants) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IBrowserService2, IBrowserService2_Vtbl, 0x68bd21cc_438b_11d2_a560_00a0c92dbfe8); +windows_core::imp::define_interface!(IBrowserService2, IBrowserService2_Vtbl, 0x68bd21cc_438b_11d2_a560_00a0c92dbfe8); windows_core::imp::interface_hierarchy!(IBrowserService2, windows_core::IUnknown, IBrowserService); impl IBrowserService2 { #[cfg(feature = "Win32_System_Ole")] @@ -8252,7 +8252,7 @@ pub struct IBrowserService2_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] v_CheckZoneCrossing: usize, } -windows_core::imp::com_interface!(IBrowserService3, IBrowserService3_Vtbl, 0x27d7ce21_762d_48f3_86f3_40e2fd3749c4); +windows_core::imp::define_interface!(IBrowserService3, IBrowserService3_Vtbl, 0x27d7ce21_762d_48f3_86f3_40e2fd3749c4); windows_core::imp::interface_hierarchy!(IBrowserService3, windows_core::IUnknown, IBrowserService, IBrowserService2); impl IBrowserService3 { #[cfg(feature = "Win32_System_Ole")] @@ -8720,7 +8720,7 @@ pub struct IBrowserService3_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] IEParseDisplayNameEx: usize, } -windows_core::imp::com_interface!(IBrowserService4, IBrowserService4_Vtbl, 0x639f1bff_e135_4096_abd8_e0f504d649a4); +windows_core::imp::define_interface!(IBrowserService4, IBrowserService4_Vtbl, 0x639f1bff_e135_4096_abd8_e0f504d649a4); windows_core::imp::interface_hierarchy!(IBrowserService4, windows_core::IUnknown, IBrowserService, IBrowserService2, IBrowserService3); impl IBrowserService4 { #[cfg(feature = "Win32_System_Ole")] @@ -9198,7 +9198,7 @@ pub struct IBrowserService4_Vtbl { pub SaveViewState: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub _ResizeAllBorders: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICDBurn, ICDBurn_Vtbl, 0x3d73a659_e5d0_4d42_afc0_5121ba425c8d); +windows_core::imp::define_interface!(ICDBurn, ICDBurn_Vtbl, 0x3d73a659_e5d0_4d42_afc0_5121ba425c8d); windows_core::imp::interface_hierarchy!(ICDBurn, windows_core::IUnknown); impl ICDBurn { pub unsafe fn GetRecorderDriveLetter(&self, pszdrive: &mut [u16]) -> windows_core::Result<()> { @@ -9222,7 +9222,7 @@ pub struct ICDBurn_Vtbl { pub Burn: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, pub HasRecordableDrive: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICDBurnExt, ICDBurnExt_Vtbl, 0x2271dcca_74fc_4414_8fb7_c56b05ace2d7); +windows_core::imp::define_interface!(ICDBurnExt, ICDBurnExt_Vtbl, 0x2271dcca_74fc_4414_8fb7_c56b05ace2d7); windows_core::imp::interface_hierarchy!(ICDBurnExt, windows_core::IUnknown); impl ICDBurnExt { pub unsafe fn GetSupportedActionTypes(&self) -> windows_core::Result { @@ -9235,7 +9235,7 @@ pub struct ICDBurnExt_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSupportedActionTypes: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICategorizer, ICategorizer_Vtbl, 0xa3b14589_9174_49a8_89a3_06a1ae2b9ba7); +windows_core::imp::define_interface!(ICategorizer, ICategorizer_Vtbl, 0xa3b14589_9174_49a8_89a3_06a1ae2b9ba7); windows_core::imp::interface_hierarchy!(ICategorizer, windows_core::IUnknown); impl ICategorizer { pub unsafe fn GetDescription(&self, pszdesc: &mut [u16]) -> windows_core::Result<()> { @@ -9263,7 +9263,7 @@ pub struct ICategorizer_Vtbl { pub GetCategoryInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CATEGORY_INFO) -> windows_core::HRESULT, pub CompareCategory: unsafe extern "system" fn(*mut core::ffi::c_void, CATSORT_FLAGS, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICategoryProvider, ICategoryProvider_Vtbl, 0x9af64809_5864_4c26_a720_c1f78c086ee3); +windows_core::imp::define_interface!(ICategoryProvider, ICategoryProvider_Vtbl, 0x9af64809_5864_4c26_a720_c1f78c086ee3); windows_core::imp::interface_hierarchy!(ICategoryProvider, windows_core::IUnknown); impl ICategoryProvider { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -9317,7 +9317,7 @@ pub struct ICategoryProvider_Vtbl { pub GetCategoryName: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PWSTR, u32) -> windows_core::HRESULT, pub CreateCategory: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IColumnManager, IColumnManager_Vtbl, 0xd8ec27bb_3f3b_4042_b10a_4acfd924d453); +windows_core::imp::define_interface!(IColumnManager, IColumnManager_Vtbl, 0xd8ec27bb_3f3b_4042_b10a_4acfd924d453); windows_core::imp::interface_hierarchy!(IColumnManager, windows_core::IUnknown); impl IColumnManager { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -9362,7 +9362,7 @@ pub struct IColumnManager_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] SetColumns: usize, } -windows_core::imp::com_interface!(IColumnProvider, IColumnProvider_Vtbl, 0xe8025004_1c42_11d2_be2c_00a0c9a83da1); +windows_core::imp::define_interface!(IColumnProvider, IColumnProvider_Vtbl, 0xe8025004_1c42_11d2_be2c_00a0c9a83da1); windows_core::imp::interface_hierarchy!(IColumnProvider, windows_core::IUnknown); impl IColumnProvider { pub unsafe fn Initialize(&self, psci: *const SHCOLUMNINIT) -> windows_core::Result<()> { @@ -9391,7 +9391,7 @@ pub struct IColumnProvider_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetItemData: usize, } -windows_core::imp::com_interface!(ICommDlgBrowser, ICommDlgBrowser_Vtbl, 0x000214f1_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ICommDlgBrowser, ICommDlgBrowser_Vtbl, 0x000214f1_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ICommDlgBrowser, windows_core::IUnknown); impl ICommDlgBrowser { #[cfg(feature = "Win32_System_Ole")] @@ -9432,7 +9432,7 @@ pub struct ICommDlgBrowser_Vtbl { #[cfg(not(all(feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common")))] IncludeObject: usize, } -windows_core::imp::com_interface!(ICommDlgBrowser2, ICommDlgBrowser2_Vtbl, 0x10339516_2894_11d2_9039_00c04f8eeb3e); +windows_core::imp::define_interface!(ICommDlgBrowser2, ICommDlgBrowser2_Vtbl, 0x10339516_2894_11d2_9039_00c04f8eeb3e); windows_core::imp::interface_hierarchy!(ICommDlgBrowser2, windows_core::IUnknown, ICommDlgBrowser); impl ICommDlgBrowser2 { #[cfg(feature = "Win32_System_Ole")] @@ -9488,7 +9488,7 @@ pub struct ICommDlgBrowser2_Vtbl { GetDefaultMenuText: usize, pub GetViewFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICommDlgBrowser3, ICommDlgBrowser3_Vtbl, 0xc8ad25a1_3294_41ee_8165_71174bd01c57); +windows_core::imp::define_interface!(ICommDlgBrowser3, ICommDlgBrowser3_Vtbl, 0xc8ad25a1_3294_41ee_8165_71174bd01c57); windows_core::imp::interface_hierarchy!(ICommDlgBrowser3, windows_core::IUnknown, ICommDlgBrowser, ICommDlgBrowser2); impl ICommDlgBrowser3 { #[cfg(feature = "Win32_System_Ole")] @@ -9561,7 +9561,7 @@ pub struct ICommDlgBrowser3_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] OnPreViewCreated: usize, } -windows_core::imp::com_interface!(IComputerInfoChangeNotify, IComputerInfoChangeNotify_Vtbl, 0x0df60d92_6818_46d6_b358_d66170dde466); +windows_core::imp::define_interface!(IComputerInfoChangeNotify, IComputerInfoChangeNotify_Vtbl, 0x0df60d92_6818_46d6_b358_d66170dde466); windows_core::imp::interface_hierarchy!(IComputerInfoChangeNotify, windows_core::IUnknown); impl IComputerInfoChangeNotify { pub unsafe fn ComputerInfoChanged(&self) -> windows_core::Result<()> { @@ -9573,7 +9573,7 @@ pub struct IComputerInfoChangeNotify_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ComputerInfoChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IConnectableCredentialProviderCredential, IConnectableCredentialProviderCredential_Vtbl, 0x9387928b_ac75_4bf9_8ab2_2b93c4a55290); +windows_core::imp::define_interface!(IConnectableCredentialProviderCredential, IConnectableCredentialProviderCredential_Vtbl, 0x9387928b_ac75_4bf9_8ab2_2b93c4a55290); windows_core::imp::interface_hierarchy!(IConnectableCredentialProviderCredential, windows_core::IUnknown, ICredentialProviderCredential); impl IConnectableCredentialProviderCredential { pub unsafe fn Advise(&self, pcpce: P0) -> windows_core::Result<()> @@ -9662,7 +9662,7 @@ pub struct IConnectableCredentialProviderCredential_Vtbl { pub Connect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub Disconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContactManagerInterop, IContactManagerInterop_Vtbl, 0x99eacba7_e073_43b6_a896_55afe48a0833); +windows_core::imp::define_interface!(IContactManagerInterop, IContactManagerInterop_Vtbl, 0x99eacba7_e073_43b6_a896_55afe48a0833); windows_core::imp::interface_hierarchy!(IContactManagerInterop, windows_core::IUnknown); impl IContactManagerInterop { pub unsafe fn ShowContactCardForWindow(&self, appwindow: P0, contact: P1, selection: *const super::super::Foundation::RECT, preferredplacement: FLYOUT_PLACEMENT) -> windows_core::Result<()> @@ -9678,7 +9678,7 @@ pub struct IContactManagerInterop_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ShowContactCardForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, *const super::super::Foundation::RECT, FLYOUT_PLACEMENT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContextMenu, IContextMenu_Vtbl, 0x000214e4_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IContextMenu, IContextMenu_Vtbl, 0x000214e4_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IContextMenu, windows_core::IUnknown); impl IContextMenu { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -9705,7 +9705,7 @@ pub struct IContextMenu_Vtbl { pub InvokeCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *const CMINVOKECOMMANDINFO) -> windows_core::HRESULT, pub GetCommandString: unsafe extern "system" fn(*mut core::ffi::c_void, usize, u32, *const u32, windows_core::PSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContextMenu2, IContextMenu2_Vtbl, 0x000214f4_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IContextMenu2, IContextMenu2_Vtbl, 0x000214f4_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IContextMenu2, windows_core::IUnknown, IContextMenu); impl IContextMenu2 { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -9734,7 +9734,7 @@ pub struct IContextMenu2_Vtbl { pub base__: IContextMenu_Vtbl, pub HandleMenuMsg: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContextMenu3, IContextMenu3_Vtbl, 0xbcfce0a0_ec17_11d0_8d10_00a0c90f2719); +windows_core::imp::define_interface!(IContextMenu3, IContextMenu3_Vtbl, 0xbcfce0a0_ec17_11d0_8d10_00a0c90f2719); windows_core::imp::interface_hierarchy!(IContextMenu3, windows_core::IUnknown, IContextMenu, IContextMenu2); impl IContextMenu3 { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -9770,7 +9770,7 @@ pub struct IContextMenu3_Vtbl { pub base__: IContextMenu2_Vtbl, pub HandleMenuMsg2: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::LRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IContextMenuCB, IContextMenuCB_Vtbl, 0x3409e930_5a39_11d1_83fa_00a0c90dc849); +windows_core::imp::define_interface!(IContextMenuCB, IContextMenuCB_Vtbl, 0x3409e930_5a39_11d1_83fa_00a0c90dc849); windows_core::imp::interface_hierarchy!(IContextMenuCB, windows_core::IUnknown); impl IContextMenuCB { #[cfg(feature = "Win32_System_Com")] @@ -9793,7 +9793,7 @@ pub struct IContextMenuCB_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CallBack: usize, } -windows_core::imp::com_interface!(IContextMenuSite, IContextMenuSite_Vtbl, 0x0811aebe_0b87_4c54_9e72_548cf649016b); +windows_core::imp::define_interface!(IContextMenuSite, IContextMenuSite_Vtbl, 0x0811aebe_0b87_4c54_9e72_548cf649016b); windows_core::imp::interface_hierarchy!(IContextMenuSite, windows_core::IUnknown); impl IContextMenuSite { pub unsafe fn DoContextMenuPopup(&self, punkcontextmenu: P0, fflags: u32, pt: super::super::Foundation::POINT) -> windows_core::Result<()> @@ -9808,7 +9808,7 @@ pub struct IContextMenuSite_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DoContextMenuPopup: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, super::super::Foundation::POINT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICopyHookA, ICopyHookA_Vtbl, 0x000214ef_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ICopyHookA, ICopyHookA_Vtbl, 0x000214ef_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ICopyHookA, windows_core::IUnknown); impl ICopyHookA { pub unsafe fn CopyCallback(&self, hwnd: P0, wfunc: u32, wflags: u32, pszsrcfile: P1, dwsrcattribs: u32, pszdestfile: P2, dwdestattribs: u32) -> u32 @@ -9825,7 +9825,7 @@ pub struct ICopyHookA_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CopyCallback: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, windows_core::PCSTR, u32, windows_core::PCSTR, u32) -> u32, } -windows_core::imp::com_interface!(ICopyHookW, ICopyHookW_Vtbl, 0x000214fc_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(ICopyHookW, ICopyHookW_Vtbl, 0x000214fc_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(ICopyHookW, windows_core::IUnknown); impl ICopyHookW { pub unsafe fn CopyCallback(&self, hwnd: P0, wfunc: u32, wflags: u32, pszsrcfile: P1, dwsrcattribs: u32, pszdestfile: P2, dwdestattribs: u32) -> u32 @@ -9842,7 +9842,7 @@ pub struct ICopyHookW_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CopyCallback: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32) -> u32, } -windows_core::imp::com_interface!(ICreateProcessInputs, ICreateProcessInputs_Vtbl, 0xf6ef6140_e26f_4d82_bac4_e9ba5fd239a8); +windows_core::imp::define_interface!(ICreateProcessInputs, ICreateProcessInputs_Vtbl, 0xf6ef6140_e26f_4d82_bac4_e9ba5fd239a8); windows_core::imp::interface_hierarchy!(ICreateProcessInputs, windows_core::IUnknown); impl ICreateProcessInputs { pub unsafe fn GetCreateFlags(&self) -> windows_core::Result { @@ -9886,7 +9886,7 @@ pub struct ICreateProcessInputs_Vtbl { pub SetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetEnvironmentVariable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICreatingProcess, ICreatingProcess_Vtbl, 0xc2b937a9_3110_4398_8a56_f34c6342d244); +windows_core::imp::define_interface!(ICreatingProcess, ICreatingProcess_Vtbl, 0xc2b937a9_3110_4398_8a56_f34c6342d244); windows_core::imp::interface_hierarchy!(ICreatingProcess, windows_core::IUnknown); impl ICreatingProcess { pub unsafe fn OnCreating(&self, pcpi: P0) -> windows_core::Result<()> @@ -9901,7 +9901,7 @@ pub struct ICreatingProcess_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnCreating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialProvider, ICredentialProvider_Vtbl, 0xd27c3481_5a1c_45b2_8aaa_c20ebbe8229e); +windows_core::imp::define_interface!(ICredentialProvider, ICredentialProvider_Vtbl, 0xd27c3481_5a1c_45b2_8aaa_c20ebbe8229e); windows_core::imp::interface_hierarchy!(ICredentialProvider, windows_core::IUnknown); impl ICredentialProvider { pub unsafe fn SetUsageScenario(&self, cpus: CREDENTIAL_PROVIDER_USAGE_SCENARIO, dwflags: u32) -> windows_core::Result<()> { @@ -9947,7 +9947,7 @@ pub struct ICredentialProvider_Vtbl { pub GetCredentialCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetCredentialAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialProviderCredential, ICredentialProviderCredential_Vtbl, 0x63913a93_40c1_481a_818d_4072ff8c70cc); +windows_core::imp::define_interface!(ICredentialProviderCredential, ICredentialProviderCredential_Vtbl, 0x63913a93_40c1_481a_818d_4072ff8c70cc); windows_core::imp::interface_hierarchy!(ICredentialProviderCredential, windows_core::IUnknown); impl ICredentialProviderCredential { pub unsafe fn Advise(&self, pcpce: P0) -> windows_core::Result<()> @@ -10045,7 +10045,7 @@ pub struct ICredentialProviderCredential_Vtbl { pub GetSerialization: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CREDENTIAL_PROVIDER_GET_SERIALIZATION_RESPONSE, *mut CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION, *mut windows_core::PWSTR, *mut CREDENTIAL_PROVIDER_STATUS_ICON) -> windows_core::HRESULT, pub ReportResult: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::NTSTATUS, super::super::Foundation::NTSTATUS, *mut windows_core::PWSTR, *mut CREDENTIAL_PROVIDER_STATUS_ICON) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialProviderCredential2, ICredentialProviderCredential2_Vtbl, 0xfd672c54_40ea_4d6e_9b49_cfb1a7507bd7); +windows_core::imp::define_interface!(ICredentialProviderCredential2, ICredentialProviderCredential2_Vtbl, 0xfd672c54_40ea_4d6e_9b49_cfb1a7507bd7); windows_core::imp::interface_hierarchy!(ICredentialProviderCredential2, windows_core::IUnknown, ICredentialProviderCredential); impl ICredentialProviderCredential2 { pub unsafe fn Advise(&self, pcpce: P0) -> windows_core::Result<()> @@ -10128,7 +10128,7 @@ pub struct ICredentialProviderCredential2_Vtbl { pub base__: ICredentialProviderCredential_Vtbl, pub GetUserSid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialProviderCredentialEvents, ICredentialProviderCredentialEvents_Vtbl, 0xfa6fa76b_66b7_4b11_95f1_86171118e816); +windows_core::imp::define_interface!(ICredentialProviderCredentialEvents, ICredentialProviderCredentialEvents_Vtbl, 0xfa6fa76b_66b7_4b11_95f1_86171118e816); windows_core::imp::interface_hierarchy!(ICredentialProviderCredentialEvents, windows_core::IUnknown); impl ICredentialProviderCredentialEvents { pub unsafe fn SetFieldState(&self, pcpc: P0, dwfieldid: u32, cpfs: CREDENTIAL_PROVIDER_FIELD_STATE) -> windows_core::Result<()> @@ -10213,7 +10213,7 @@ pub struct ICredentialProviderCredentialEvents_Vtbl { pub SetFieldSubmitButton: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub OnCreatingWindow: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialProviderCredentialEvents2, ICredentialProviderCredentialEvents2_Vtbl, 0xb53c00b6_9922_4b78_b1f4_ddfe774dc39b); +windows_core::imp::define_interface!(ICredentialProviderCredentialEvents2, ICredentialProviderCredentialEvents2_Vtbl, 0xb53c00b6_9922_4b78_b1f4_ddfe774dc39b); windows_core::imp::interface_hierarchy!(ICredentialProviderCredentialEvents2, windows_core::IUnknown, ICredentialProviderCredentialEvents); impl ICredentialProviderCredentialEvents2 { pub unsafe fn SetFieldState(&self, pcpc: P0, dwfieldid: u32, cpfs: CREDENTIAL_PROVIDER_FIELD_STATE) -> windows_core::Result<()> @@ -10300,7 +10300,7 @@ pub struct ICredentialProviderCredentialEvents2_Vtbl { pub EndFieldUpdates: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFieldOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, CREDENTIAL_PROVIDER_CREDENTIAL_FIELD_OPTIONS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialProviderCredentialWithFieldOptions, ICredentialProviderCredentialWithFieldOptions_Vtbl, 0xdbc6fb30_c843_49e3_a645_573e6f39446a); +windows_core::imp::define_interface!(ICredentialProviderCredentialWithFieldOptions, ICredentialProviderCredentialWithFieldOptions_Vtbl, 0xdbc6fb30_c843_49e3_a645_573e6f39446a); windows_core::imp::interface_hierarchy!(ICredentialProviderCredentialWithFieldOptions, windows_core::IUnknown); impl ICredentialProviderCredentialWithFieldOptions { pub unsafe fn GetFieldOptions(&self, fieldid: u32) -> windows_core::Result { @@ -10313,7 +10313,7 @@ pub struct ICredentialProviderCredentialWithFieldOptions_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetFieldOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CREDENTIAL_PROVIDER_CREDENTIAL_FIELD_OPTIONS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialProviderEvents, ICredentialProviderEvents_Vtbl, 0x34201e5a_a787_41a3_a5a4_bd6dcf2a854e); +windows_core::imp::define_interface!(ICredentialProviderEvents, ICredentialProviderEvents_Vtbl, 0x34201e5a_a787_41a3_a5a4_bd6dcf2a854e); windows_core::imp::interface_hierarchy!(ICredentialProviderEvents, windows_core::IUnknown); impl ICredentialProviderEvents { pub unsafe fn CredentialsChanged(&self, upadvisecontext: usize) -> windows_core::Result<()> { @@ -10325,7 +10325,7 @@ pub struct ICredentialProviderEvents_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CredentialsChanged: unsafe extern "system" fn(*mut core::ffi::c_void, usize) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialProviderFilter, ICredentialProviderFilter_Vtbl, 0xa5da53f9_d475_4080_a120_910c4a739880); +windows_core::imp::define_interface!(ICredentialProviderFilter, ICredentialProviderFilter_Vtbl, 0xa5da53f9_d475_4080_a120_910c4a739880); windows_core::imp::interface_hierarchy!(ICredentialProviderFilter, windows_core::IUnknown); impl ICredentialProviderFilter { pub unsafe fn Filter(&self, cpus: CREDENTIAL_PROVIDER_USAGE_SCENARIO, dwflags: u32, rgclsidproviders: *const windows_core::GUID, rgballow: *mut super::super::Foundation::BOOL, cproviders: u32) -> windows_core::Result<()> { @@ -10341,7 +10341,7 @@ pub struct ICredentialProviderFilter_Vtbl { pub Filter: unsafe extern "system" fn(*mut core::ffi::c_void, CREDENTIAL_PROVIDER_USAGE_SCENARIO, u32, *const windows_core::GUID, *mut super::super::Foundation::BOOL, u32) -> windows_core::HRESULT, pub UpdateRemoteCredential: unsafe extern "system" fn(*mut core::ffi::c_void, *const CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION, *mut CREDENTIAL_PROVIDER_CREDENTIAL_SERIALIZATION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialProviderSetUserArray, ICredentialProviderSetUserArray_Vtbl, 0x095c1484_1c0c_4388_9c6d_500e61bf84bd); +windows_core::imp::define_interface!(ICredentialProviderSetUserArray, ICredentialProviderSetUserArray_Vtbl, 0x095c1484_1c0c_4388_9c6d_500e61bf84bd); windows_core::imp::interface_hierarchy!(ICredentialProviderSetUserArray, windows_core::IUnknown); impl ICredentialProviderSetUserArray { pub unsafe fn SetUserArray(&self, users: P0) -> windows_core::Result<()> @@ -10356,7 +10356,7 @@ pub struct ICredentialProviderSetUserArray_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetUserArray: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICredentialProviderUser, ICredentialProviderUser_Vtbl, 0x13793285_3ea6_40fd_b420_15f47da41fbb); +windows_core::imp::define_interface!(ICredentialProviderUser, ICredentialProviderUser_Vtbl, 0x13793285_3ea6_40fd_b420_15f47da41fbb); windows_core::imp::interface_hierarchy!(ICredentialProviderUser, windows_core::IUnknown); impl ICredentialProviderUser { pub unsafe fn GetSid(&self) -> windows_core::Result { @@ -10392,7 +10392,7 @@ pub struct ICredentialProviderUser_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetValue: usize, } -windows_core::imp::com_interface!(ICredentialProviderUserArray, ICredentialProviderUserArray_Vtbl, 0x90c119ae_0f18_4520_a1f1_114366a40fe8); +windows_core::imp::define_interface!(ICredentialProviderUserArray, ICredentialProviderUserArray_Vtbl, 0x90c119ae_0f18_4520_a1f1_114366a40fe8); windows_core::imp::interface_hierarchy!(ICredentialProviderUserArray, windows_core::IUnknown); impl ICredentialProviderUserArray { pub unsafe fn SetProviderFilter(&self, guidprovidertofilterto: *const windows_core::GUID) -> windows_core::Result<()> { @@ -10419,7 +10419,7 @@ pub struct ICredentialProviderUserArray_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 *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICurrentItem, ICurrentItem_Vtbl, 0x240a7174_d653_4a1d_a6d3_d4943cfbfe3d); +windows_core::imp::define_interface!(ICurrentItem, ICurrentItem_Vtbl, 0x240a7174_d653_4a1d_a6d3_d4943cfbfe3d); windows_core::imp::interface_hierarchy!(ICurrentItem, windows_core::IUnknown, IRelatedItem); impl ICurrentItem { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -10436,7 +10436,7 @@ impl ICurrentItem { pub struct ICurrentItem_Vtbl { pub base__: IRelatedItem_Vtbl, } -windows_core::imp::com_interface!(ICurrentWorkingDirectory, ICurrentWorkingDirectory_Vtbl, 0x91956d21_9276_11d1_921a_006097df5bd4); +windows_core::imp::define_interface!(ICurrentWorkingDirectory, ICurrentWorkingDirectory_Vtbl, 0x91956d21_9276_11d1_921a_006097df5bd4); windows_core::imp::interface_hierarchy!(ICurrentWorkingDirectory, windows_core::IUnknown); impl ICurrentWorkingDirectory { pub unsafe fn GetDirectory(&self, pwzpath: &mut [u16]) -> windows_core::Result<()> { @@ -10455,7 +10455,7 @@ pub struct ICurrentWorkingDirectory_Vtbl { pub GetDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, pub SetDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICustomDestinationList, ICustomDestinationList_Vtbl, 0x6332debf_87b5_4670_90c0_5e57b408a49e); +windows_core::imp::define_interface!(ICustomDestinationList, ICustomDestinationList_Vtbl, 0x6332debf_87b5_4670_90c0_5e57b408a49e); windows_core::imp::interface_hierarchy!(ICustomDestinationList, windows_core::IUnknown); impl ICustomDestinationList { pub unsafe fn SetAppID(&self, pszappid: P0) -> windows_core::Result<()> @@ -10528,7 +10528,7 @@ pub struct ICustomDestinationList_Vtbl { pub DeleteList: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub AbortList: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDataObjectAsyncCapability, IDataObjectAsyncCapability_Vtbl, 0x3d8b0590_f691_11d2_8ea9_006097df5bd4); +windows_core::imp::define_interface!(IDataObjectAsyncCapability, IDataObjectAsyncCapability_Vtbl, 0x3d8b0590_f691_11d2_8ea9_006097df5bd4); windows_core::imp::interface_hierarchy!(IDataObjectAsyncCapability, windows_core::IUnknown); impl IDataObjectAsyncCapability { pub unsafe fn SetAsyncMode(&self, fdoopasync: P0) -> windows_core::Result<()> @@ -10575,7 +10575,7 @@ pub struct IDataObjectAsyncCapability_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] EndOperation: usize, } -windows_core::imp::com_interface!(IDataObjectProvider, IDataObjectProvider_Vtbl, 0x3d25f6d6_4b2a_433c_9184_7c33ad35d001); +windows_core::imp::define_interface!(IDataObjectProvider, IDataObjectProvider_Vtbl, 0x3d25f6d6_4b2a_433c_9184_7c33ad35d001); windows_core::imp::interface_hierarchy!(IDataObjectProvider, windows_core::IUnknown); impl IDataObjectProvider { #[cfg(feature = "Win32_System_Com")] @@ -10603,7 +10603,7 @@ pub struct IDataObjectProvider_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetDataObject: usize, } -windows_core::imp::com_interface!(IDataTransferManagerInterop, IDataTransferManagerInterop_Vtbl, 0x3a3dcd6c_3eab_43dc_bcde_45671ce800c8); +windows_core::imp::define_interface!(IDataTransferManagerInterop, IDataTransferManagerInterop_Vtbl, 0x3a3dcd6c_3eab_43dc_bcde_45671ce800c8); windows_core::imp::interface_hierarchy!(IDataTransferManagerInterop, windows_core::IUnknown); impl IDataTransferManagerInterop { pub unsafe fn GetForWindow(&self, appwindow: P0) -> windows_core::Result @@ -10627,7 +10627,7 @@ pub struct IDataTransferManagerInterop_Vtbl { pub GetForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ShowShareUIForWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDefaultExtractIconInit, IDefaultExtractIconInit_Vtbl, 0x41ded17d_d6b3_4261_997d_88c60e4b1d58); +windows_core::imp::define_interface!(IDefaultExtractIconInit, IDefaultExtractIconInit_Vtbl, 0x41ded17d_d6b3_4261_997d_88c60e4b1d58); windows_core::imp::interface_hierarchy!(IDefaultExtractIconInit, windows_core::IUnknown); impl IDefaultExtractIconInit { pub unsafe fn SetFlags(&self, uflags: u32) -> windows_core::Result<()> { @@ -10678,7 +10678,7 @@ pub struct IDefaultExtractIconInit_Vtbl { pub SetShortcutIcon: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, pub SetDefaultIcon: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDefaultFolderMenuInitialize, IDefaultFolderMenuInitialize_Vtbl, 0x7690aa79_f8fc_4615_a327_36f7d18f5d91); +windows_core::imp::define_interface!(IDefaultFolderMenuInitialize, IDefaultFolderMenuInitialize_Vtbl, 0x7690aa79_f8fc_4615_a327_36f7d18f5d91); windows_core::imp::interface_hierarchy!(IDefaultFolderMenuInitialize, windows_core::IUnknown); impl IDefaultFolderMenuInitialize { #[cfg(all(feature = "Win32_System_Registry", feature = "Win32_UI_Shell_Common"))] @@ -10713,7 +10713,7 @@ pub struct IDefaultFolderMenuInitialize_Vtbl { pub GetMenuRestrictions: unsafe extern "system" fn(*mut core::ffi::c_void, DEFAULT_FOLDER_MENU_RESTRICTIONS, *mut DEFAULT_FOLDER_MENU_RESTRICTIONS) -> windows_core::HRESULT, pub SetHandlerClsid: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDelegateFolder, IDelegateFolder_Vtbl, 0xadd8ba80_002b_11d0_8f0f_00c04fd7d062); +windows_core::imp::define_interface!(IDelegateFolder, IDelegateFolder_Vtbl, 0xadd8ba80_002b_11d0_8f0f_00c04fd7d062); windows_core::imp::interface_hierarchy!(IDelegateFolder, windows_core::IUnknown); impl IDelegateFolder { #[cfg(feature = "Win32_System_Com")] @@ -10732,7 +10732,7 @@ pub struct IDelegateFolder_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetItemAlloc: usize, } -windows_core::imp::com_interface!(IDelegateItem, IDelegateItem_Vtbl, 0x3c5a1c94_c951_4cb7_bb6d_3b93f30cce93); +windows_core::imp::define_interface!(IDelegateItem, IDelegateItem_Vtbl, 0x3c5a1c94_c951_4cb7_bb6d_3b93f30cce93); windows_core::imp::interface_hierarchy!(IDelegateItem, windows_core::IUnknown, IRelatedItem); impl IDelegateItem { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -10750,7 +10750,7 @@ pub struct IDelegateItem_Vtbl { pub base__: IRelatedItem_Vtbl, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IDeskBand, IDeskBand_Vtbl, 0xeb0fe172_1a3a_11d0_89b3_00a0c90a90ac); +windows_core::imp::define_interface!(IDeskBand, IDeskBand_Vtbl, 0xeb0fe172_1a3a_11d0_89b3_00a0c90a90ac); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IDeskBand, windows_core::IUnknown, super::super::System::Ole::IOleWindow, IDockingWindow); #[cfg(feature = "Win32_System_Ole")] @@ -10794,7 +10794,7 @@ pub struct IDeskBand_Vtbl { pub GetBandInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut DESKBANDINFO) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IDeskBand2, IDeskBand2_Vtbl, 0x79d16de4_abee_4021_8d9d_9169b261d657); +windows_core::imp::define_interface!(IDeskBand2, IDeskBand2_Vtbl, 0x79d16de4_abee_4021_8d9d_9169b261d657); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IDeskBand2, windows_core::IUnknown, super::super::System::Ole::IOleWindow, IDockingWindow, IDeskBand); #[cfg(feature = "Win32_System_Ole")] @@ -10853,7 +10853,7 @@ pub struct IDeskBand2_Vtbl { pub SetCompositionState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetCompositionState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDeskBandInfo, IDeskBandInfo_Vtbl, 0x77e425fc_cbf9_4307_ba6a_bb5727745661); +windows_core::imp::define_interface!(IDeskBandInfo, IDeskBandInfo_Vtbl, 0x77e425fc_cbf9_4307_ba6a_bb5727745661); windows_core::imp::interface_hierarchy!(IDeskBandInfo, windows_core::IUnknown); impl IDeskBandInfo { pub unsafe fn GetDefaultBandWidth(&self, dwbandid: u32, dwviewmode: u32) -> windows_core::Result { @@ -10867,7 +10867,7 @@ pub struct IDeskBandInfo_Vtbl { pub GetDefaultBandWidth: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IDeskBar, IDeskBar_Vtbl, 0xeb0fe173_1a3a_11d0_89b3_00a0c90a90ac); +windows_core::imp::define_interface!(IDeskBar, IDeskBar_Vtbl, 0xeb0fe173_1a3a_11d0_89b3_00a0c90a90ac); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IDeskBar, windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] @@ -10907,7 +10907,7 @@ pub struct IDeskBar_Vtbl { pub OnPosRectChangeDB: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IDeskBarClient, IDeskBarClient_Vtbl, 0xeb0fe175_1a3a_11d0_89b3_00a0c90a90ac); +windows_core::imp::define_interface!(IDeskBarClient, IDeskBarClient_Vtbl, 0xeb0fe175_1a3a_11d0_89b3_00a0c90a90ac); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IDeskBarClient, windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] @@ -10950,7 +10950,7 @@ pub struct IDeskBarClient_Vtbl { pub UIActivateDBC: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetSize: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDesktopGadget, IDesktopGadget_Vtbl, 0xc1646bc4_f298_4f91_a204_eb2dd1709d1a); +windows_core::imp::define_interface!(IDesktopGadget, IDesktopGadget_Vtbl, 0xc1646bc4_f298_4f91_a204_eb2dd1709d1a); windows_core::imp::interface_hierarchy!(IDesktopGadget, windows_core::IUnknown); impl IDesktopGadget { pub unsafe fn RunGadget(&self, gadgetpath: P0) -> windows_core::Result<()> @@ -10965,7 +10965,7 @@ pub struct IDesktopGadget_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RunGadget: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDesktopWallpaper, IDesktopWallpaper_Vtbl, 0xb92b56a9_8b55_4e14_9a89_0199bbb6f93b); +windows_core::imp::define_interface!(IDesktopWallpaper, IDesktopWallpaper_Vtbl, 0xb92b56a9_8b55_4e14_9a89_0199bbb6f93b); windows_core::imp::interface_hierarchy!(IDesktopWallpaper, windows_core::IUnknown); impl IDesktopWallpaper { pub unsafe fn SetWallpaper(&self, monitorid: P0, wallpaper: P1) -> windows_core::Result<()> @@ -11067,7 +11067,7 @@ pub struct IDesktopWallpaper_Vtbl { pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut DESKTOP_SLIDESHOW_STATE) -> windows_core::HRESULT, pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDestinationStreamFactory, IDestinationStreamFactory_Vtbl, 0x8a87781b_39a7_4a1f_aab3_a39b9c34a7d9); +windows_core::imp::define_interface!(IDestinationStreamFactory, IDestinationStreamFactory_Vtbl, 0x8a87781b_39a7_4a1f_aab3_a39b9c34a7d9); windows_core::imp::interface_hierarchy!(IDestinationStreamFactory, windows_core::IUnknown); impl IDestinationStreamFactory { #[cfg(feature = "Win32_System_Com")] @@ -11084,7 +11084,7 @@ pub struct IDestinationStreamFactory_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] GetDestinationStream: usize, } -windows_core::imp::com_interface!(IDisplayItem, IDisplayItem_Vtbl, 0xc6fd5997_9f6b_4888_8703_94e80e8cde3f); +windows_core::imp::define_interface!(IDisplayItem, IDisplayItem_Vtbl, 0xc6fd5997_9f6b_4888_8703_94e80e8cde3f); windows_core::imp::interface_hierarchy!(IDisplayItem, windows_core::IUnknown, IRelatedItem); impl IDisplayItem { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -11101,7 +11101,7 @@ impl IDisplayItem { pub struct IDisplayItem_Vtbl { pub base__: IRelatedItem_Vtbl, } -windows_core::imp::com_interface!(IDocViewSite, IDocViewSite_Vtbl, 0x87d605e0_c511_11cf_89a9_00a0c9054129); +windows_core::imp::define_interface!(IDocViewSite, IDocViewSite_Vtbl, 0x87d605e0_c511_11cf_89a9_00a0c9054129); windows_core::imp::interface_hierarchy!(IDocViewSite, windows_core::IUnknown); impl IDocViewSite { pub unsafe fn OnSetTitle(&self, pvtitle: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -11114,7 +11114,7 @@ pub struct IDocViewSite_Vtbl { pub OnSetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *const std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IDockingWindow, IDockingWindow_Vtbl, 0x012dd920_7b26_11d0_8ca9_00a0c92dbfe8); +windows_core::imp::define_interface!(IDockingWindow, IDockingWindow_Vtbl, 0x012dd920_7b26_11d0_8ca9_00a0c92dbfe8); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IDockingWindow, windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] @@ -11157,7 +11157,7 @@ pub struct IDockingWindow_Vtbl { pub ResizeBorderDW: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IDockingWindowFrame, IDockingWindowFrame_Vtbl, 0x47d2657a_7b27_11d0_8ca9_00a0c92dbfe8); +windows_core::imp::define_interface!(IDockingWindowFrame, IDockingWindowFrame_Vtbl, 0x47d2657a_7b27_11d0_8ca9_00a0c92dbfe8); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IDockingWindowFrame, windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] @@ -11203,7 +11203,7 @@ pub struct IDockingWindowFrame_Vtbl { pub FindToolbar: 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, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IDockingWindowSite, IDockingWindowSite_Vtbl, 0x2a342fc2_7b26_11d0_8ca9_00a0c92dbfe8); +windows_core::imp::define_interface!(IDockingWindowSite, IDockingWindowSite_Vtbl, 0x2a342fc2_7b26_11d0_8ca9_00a0c92dbfe8); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IDockingWindowSite, windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] @@ -11248,7 +11248,7 @@ pub struct IDockingWindowSite_Vtbl { pub RequestBorderSpaceDW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, pub SetBorderSpaceDW: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDragSourceHelper, IDragSourceHelper_Vtbl, 0xde5bf786_477a_11d2_839d_00c04fd918d0); +windows_core::imp::define_interface!(IDragSourceHelper, IDragSourceHelper_Vtbl, 0xde5bf786_477a_11d2_839d_00c04fd918d0); windows_core::imp::interface_hierarchy!(IDragSourceHelper, windows_core::IUnknown); impl IDragSourceHelper { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] @@ -11279,7 +11279,7 @@ pub struct IDragSourceHelper_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] InitializeFromWindow: usize, } -windows_core::imp::com_interface!(IDragSourceHelper2, IDragSourceHelper2_Vtbl, 0x83e07d0d_0c5f_4163_bf1a_60b274051e40); +windows_core::imp::define_interface!(IDragSourceHelper2, IDragSourceHelper2_Vtbl, 0x83e07d0d_0c5f_4163_bf1a_60b274051e40); windows_core::imp::interface_hierarchy!(IDragSourceHelper2, windows_core::IUnknown, IDragSourceHelper); impl IDragSourceHelper2 { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_System_Com"))] @@ -11306,7 +11306,7 @@ pub struct IDragSourceHelper2_Vtbl { pub base__: IDragSourceHelper_Vtbl, pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDropTargetHelper, IDropTargetHelper_Vtbl, 0x4657278b_411b_11d2_839a_00c04fd918d0); +windows_core::imp::define_interface!(IDropTargetHelper, IDropTargetHelper_Vtbl, 0x4657278b_411b_11d2_839a_00c04fd918d0); windows_core::imp::interface_hierarchy!(IDropTargetHelper, windows_core::IUnknown); impl IDropTargetHelper { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Ole"))] @@ -11356,7 +11356,7 @@ pub struct IDropTargetHelper_Vtbl { Drop: usize, pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDynamicHWHandler, IDynamicHWHandler_Vtbl, 0xdc2601d7_059e_42fc_a09d_2afd21b6d5f7); +windows_core::imp::define_interface!(IDynamicHWHandler, IDynamicHWHandler_Vtbl, 0xdc2601d7_059e_42fc_a09d_2afd21b6d5f7); windows_core::imp::interface_hierarchy!(IDynamicHWHandler, windows_core::IUnknown); impl IDynamicHWHandler { pub unsafe fn GetDynamicInfo(&self, pszdeviceid: P0, dwcontenttype: u32) -> windows_core::Result @@ -11373,7 +11373,7 @@ pub struct IDynamicHWHandler_Vtbl { pub GetDynamicInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IEnumACString, IEnumACString_Vtbl, 0x8e74c210_cf9d_4eaf_a403_7356428f0a5a); +windows_core::imp::define_interface!(IEnumACString, IEnumACString_Vtbl, 0x8e74c210_cf9d_4eaf_a403_7356428f0a5a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IEnumACString, windows_core::IUnknown, super::super::System::Com::IEnumString); #[cfg(feature = "Win32_System_Com")] @@ -11414,7 +11414,7 @@ pub struct IEnumACString_Vtbl { pub SetEnumOptions: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetEnumOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumAssocHandlers, IEnumAssocHandlers_Vtbl, 0x973810ae_9599_4b88_9e4d_6ee98c9552da); +windows_core::imp::define_interface!(IEnumAssocHandlers, IEnumAssocHandlers_Vtbl, 0x973810ae_9599_4b88_9e4d_6ee98c9552da); windows_core::imp::interface_hierarchy!(IEnumAssocHandlers, windows_core::IUnknown); impl IEnumAssocHandlers { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -11426,7 +11426,7 @@ pub struct IEnumAssocHandlers_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumExplorerCommand, IEnumExplorerCommand_Vtbl, 0xa88826f8_186f_4987_aade_ea0cef8fbfe8); +windows_core::imp::define_interface!(IEnumExplorerCommand, IEnumExplorerCommand_Vtbl, 0xa88826f8_186f_4987_aade_ea0cef8fbfe8); windows_core::imp::interface_hierarchy!(IEnumExplorerCommand, windows_core::IUnknown); impl IEnumExplorerCommand { pub unsafe fn Next(&self, puicommand: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::HRESULT { @@ -11451,7 +11451,7 @@ pub struct IEnumExplorerCommand_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumExtraSearch, IEnumExtraSearch_Vtbl, 0x0e700be1_9db6_11d1_a1ce_00c04fd75d13); +windows_core::imp::define_interface!(IEnumExtraSearch, IEnumExtraSearch_Vtbl, 0x0e700be1_9db6_11d1_a1ce_00c04fd75d13); windows_core::imp::interface_hierarchy!(IEnumExtraSearch, windows_core::IUnknown); impl IEnumExtraSearch { pub unsafe fn Next(&self, rgelt: &mut [EXTRASEARCH], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -11476,7 +11476,7 @@ pub struct IEnumExtraSearch_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumFullIDList, IEnumFullIDList_Vtbl, 0xd0191542_7954_4908_bc06_b2360bbe45ba); +windows_core::imp::define_interface!(IEnumFullIDList, IEnumFullIDList_Vtbl, 0xd0191542_7954_4908_bc06_b2360bbe45ba); windows_core::imp::interface_hierarchy!(IEnumFullIDList, windows_core::IUnknown); impl IEnumFullIDList { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -11505,7 +11505,7 @@ pub struct IEnumFullIDList_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumHLITEM, IEnumHLITEM_Vtbl, 0x79eac9c6_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IEnumHLITEM, IEnumHLITEM_Vtbl, 0x79eac9c6_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IEnumHLITEM, windows_core::IUnknown); impl IEnumHLITEM { pub unsafe fn Next(&self, celt: u32, rgelt: *mut HLITEM, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -11530,7 +11530,7 @@ pub struct IEnumHLITEM_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumIDList, IEnumIDList_Vtbl, 0x000214f2_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IEnumIDList, IEnumIDList_Vtbl, 0x000214f2_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IEnumIDList, windows_core::IUnknown); impl IEnumIDList { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -11558,7 +11558,7 @@ pub struct IEnumIDList_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumObjects, IEnumObjects_Vtbl, 0x2c1c7e2e_2d0e_4059_831e_1e6f82335c2e); +windows_core::imp::define_interface!(IEnumObjects, IEnumObjects_Vtbl, 0x2c1c7e2e_2d0e_4059_831e_1e6f82335c2e); windows_core::imp::interface_hierarchy!(IEnumObjects, windows_core::IUnknown); impl IEnumObjects { pub unsafe fn Next(&self, riid: *const windows_core::GUID, rgelt: &mut [*mut core::ffi::c_void], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -11583,7 +11583,7 @@ pub struct IEnumObjects_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumPublishedApps, IEnumPublishedApps_Vtbl, 0x0b124f8c_91f0_11d1_b8b5_006008059382); +windows_core::imp::define_interface!(IEnumPublishedApps, IEnumPublishedApps_Vtbl, 0x0b124f8c_91f0_11d1_b8b5_006008059382); windows_core::imp::interface_hierarchy!(IEnumPublishedApps, windows_core::IUnknown); impl IEnumPublishedApps { pub unsafe fn Next(&self) -> windows_core::Result { @@ -11600,7 +11600,7 @@ pub struct IEnumPublishedApps_Vtbl { pub Next: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumReadyCallback, IEnumReadyCallback_Vtbl, 0x61e00d45_8fff_4e60_924e_6537b61612dd); +windows_core::imp::define_interface!(IEnumReadyCallback, IEnumReadyCallback_Vtbl, 0x61e00d45_8fff_4e60_924e_6537b61612dd); windows_core::imp::interface_hierarchy!(IEnumReadyCallback, windows_core::IUnknown); impl IEnumReadyCallback { pub unsafe fn EnumReady(&self) -> windows_core::Result<()> { @@ -11612,7 +11612,7 @@ pub struct IEnumReadyCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub EnumReady: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumResources, IEnumResources_Vtbl, 0x2dd81fe3_a83c_4da9_a330_47249d345ba1); +windows_core::imp::define_interface!(IEnumResources, IEnumResources_Vtbl, 0x2dd81fe3_a83c_4da9_a330_47249d345ba1); windows_core::imp::interface_hierarchy!(IEnumResources, windows_core::IUnknown); impl IEnumResources { pub unsafe fn Next(&self, psir: &mut [SHELL_ITEM_RESOURCE], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -11637,7 +11637,7 @@ pub struct IEnumResources_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumShellItems, IEnumShellItems_Vtbl, 0x70629033_e363_4a28_a567_0db78006e6d7); +windows_core::imp::define_interface!(IEnumShellItems, IEnumShellItems_Vtbl, 0x70629033_e363_4a28_a567_0db78006e6d7); windows_core::imp::interface_hierarchy!(IEnumShellItems, windows_core::IUnknown); impl IEnumShellItems { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: Option<*mut u32>) -> windows_core::Result<()> { @@ -11662,7 +11662,7 @@ pub struct IEnumShellItems_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSyncMgrConflict, IEnumSyncMgrConflict_Vtbl, 0x82705914_dda3_4893_ba99_49de6c8c8036); +windows_core::imp::define_interface!(IEnumSyncMgrConflict, IEnumSyncMgrConflict_Vtbl, 0x82705914_dda3_4893_ba99_49de6c8c8036); windows_core::imp::interface_hierarchy!(IEnumSyncMgrConflict, windows_core::IUnknown); impl IEnumSyncMgrConflict { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -11687,7 +11687,7 @@ pub struct IEnumSyncMgrConflict_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSyncMgrEvents, IEnumSyncMgrEvents_Vtbl, 0xc81a1d4e_8cf7_4683_80e0_bcae88d677b6); +windows_core::imp::define_interface!(IEnumSyncMgrEvents, IEnumSyncMgrEvents_Vtbl, 0xc81a1d4e_8cf7_4683_80e0_bcae88d677b6); windows_core::imp::interface_hierarchy!(IEnumSyncMgrEvents, windows_core::IUnknown); impl IEnumSyncMgrEvents { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -11712,7 +11712,7 @@ pub struct IEnumSyncMgrEvents_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSyncMgrSyncItems, IEnumSyncMgrSyncItems_Vtbl, 0x54b3abf3_f085_4181_b546_e29c403c726b); +windows_core::imp::define_interface!(IEnumSyncMgrSyncItems, IEnumSyncMgrSyncItems_Vtbl, 0x54b3abf3_f085_4181_b546_e29c403c726b); windows_core::imp::interface_hierarchy!(IEnumSyncMgrSyncItems, windows_core::IUnknown); impl IEnumSyncMgrSyncItems { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -11737,7 +11737,7 @@ pub struct IEnumSyncMgrSyncItems_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTravelLogEntry, IEnumTravelLogEntry_Vtbl, 0x7ebfdd85_ad18_11d3_a4c5_00c04f72d6b8); +windows_core::imp::define_interface!(IEnumTravelLogEntry, IEnumTravelLogEntry_Vtbl, 0x7ebfdd85_ad18_11d3_a4c5_00c04f72d6b8); windows_core::imp::interface_hierarchy!(IEnumTravelLogEntry, windows_core::IUnknown); impl IEnumTravelLogEntry { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -11762,7 +11762,7 @@ pub struct IEnumTravelLogEntry_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumerableView, IEnumerableView_Vtbl, 0x8c8bf236_1aec_495f_9894_91d57c3c686f); +windows_core::imp::define_interface!(IEnumerableView, IEnumerableView_Vtbl, 0x8c8bf236_1aec_495f_9894_91d57c3c686f); windows_core::imp::interface_hierarchy!(IEnumerableView, windows_core::IUnknown); impl IEnumerableView { pub unsafe fn SetEnumReadyCallback(&self, percb: P0) -> windows_core::Result<()> @@ -11786,7 +11786,7 @@ pub struct IEnumerableView_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] CreateEnumIDListFromContents: usize, } -windows_core::imp::com_interface!(IExecuteCommand, IExecuteCommand_Vtbl, 0x7f9185b0_cb92_43c5_80a9_92277a4f7b54); +windows_core::imp::define_interface!(IExecuteCommand, IExecuteCommand_Vtbl, 0x7f9185b0_cb92_43c5_80a9_92277a4f7b54); windows_core::imp::interface_hierarchy!(IExecuteCommand, windows_core::IUnknown); impl IExecuteCommand { pub unsafe fn SetKeyState(&self, grfkeystate: u32) -> windows_core::Result<()> { @@ -11831,7 +11831,7 @@ pub struct IExecuteCommand_Vtbl { pub SetDirectory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub Execute: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExecuteCommandApplicationHostEnvironment, IExecuteCommandApplicationHostEnvironment_Vtbl, 0x18b21aa9_e184_4ff0_9f5e_f882d03771b3); +windows_core::imp::define_interface!(IExecuteCommandApplicationHostEnvironment, IExecuteCommandApplicationHostEnvironment_Vtbl, 0x18b21aa9_e184_4ff0_9f5e_f882d03771b3); windows_core::imp::interface_hierarchy!(IExecuteCommandApplicationHostEnvironment, windows_core::IUnknown); impl IExecuteCommandApplicationHostEnvironment { pub unsafe fn GetValue(&self) -> windows_core::Result { @@ -11844,7 +11844,7 @@ pub struct IExecuteCommandApplicationHostEnvironment_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetValue: unsafe extern "system" fn(*mut core::ffi::c_void, *mut AHE_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExecuteCommandHost, IExecuteCommandHost_Vtbl, 0x4b6832a2_5f04_4c9d_b89d_727a15d103e7); +windows_core::imp::define_interface!(IExecuteCommandHost, IExecuteCommandHost_Vtbl, 0x4b6832a2_5f04_4c9d_b89d_727a15d103e7); windows_core::imp::interface_hierarchy!(IExecuteCommandHost, windows_core::IUnknown); impl IExecuteCommandHost { pub unsafe fn GetUIMode(&self) -> windows_core::Result { @@ -11857,7 +11857,7 @@ pub struct IExecuteCommandHost_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetUIMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut EC_HOST_UI_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExpDispSupport, IExpDispSupport_Vtbl, 0x0d7d1d00_6fc0_11d0_a974_00c04fd705a2); +windows_core::imp::define_interface!(IExpDispSupport, IExpDispSupport_Vtbl, 0x0d7d1d00_6fc0_11d0_a974_00c04fd705a2); windows_core::imp::interface_hierarchy!(IExpDispSupport, windows_core::IUnknown); impl IExpDispSupport { #[cfg(feature = "Win32_System_Com")] @@ -11890,7 +11890,7 @@ pub struct IExpDispSupport_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OnInvoke: usize, } -windows_core::imp::com_interface!(IExpDispSupportXP, IExpDispSupportXP_Vtbl, 0x2f0dd58c_f789_4f14_99fb_9293b3c9c212); +windows_core::imp::define_interface!(IExpDispSupportXP, IExpDispSupportXP_Vtbl, 0x2f0dd58c_f789_4f14_99fb_9293b3c9c212); windows_core::imp::interface_hierarchy!(IExpDispSupportXP, windows_core::IUnknown); impl IExpDispSupportXP { #[cfg(feature = "Win32_System_Com")] @@ -11923,7 +11923,7 @@ pub struct IExpDispSupportXP_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] OnInvoke: usize, } -windows_core::imp::com_interface!(IExplorerBrowser, IExplorerBrowser_Vtbl, 0xdfd3b6b5_c10c_4be9_85f6_a66969f402f6); +windows_core::imp::define_interface!(IExplorerBrowser, IExplorerBrowser_Vtbl, 0xdfd3b6b5_c10c_4be9_85f6_a66969f402f6); windows_core::imp::interface_hierarchy!(IExplorerBrowser, windows_core::IUnknown); impl IExplorerBrowser { pub unsafe fn Initialize(&self, hwndparent: P0, prc: *const super::super::Foundation::RECT, pfs: Option<*const FOLDERSETTINGS>) -> windows_core::Result<()> @@ -12023,7 +12023,7 @@ pub struct IExplorerBrowser_Vtbl { pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExplorerBrowserEvents, IExplorerBrowserEvents_Vtbl, 0x361bbdc7_e6ee_4e13_be58_58e2240c810f); +windows_core::imp::define_interface!(IExplorerBrowserEvents, IExplorerBrowserEvents_Vtbl, 0x361bbdc7_e6ee_4e13_be58_58e2240c810f); windows_core::imp::interface_hierarchy!(IExplorerBrowserEvents, windows_core::IUnknown); impl IExplorerBrowserEvents { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -12066,7 +12066,7 @@ pub struct IExplorerBrowserEvents_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] OnNavigationFailed: usize, } -windows_core::imp::com_interface!(IExplorerCommand, IExplorerCommand_Vtbl, 0xa08ce4d0_fa25_44ab_b57c_c7b1c323e0b9); +windows_core::imp::define_interface!(IExplorerCommand, IExplorerCommand_Vtbl, 0xa08ce4d0_fa25_44ab_b57c_c7b1c323e0b9); windows_core::imp::interface_hierarchy!(IExplorerCommand, windows_core::IUnknown); impl IExplorerCommand { pub unsafe fn GetTitle(&self, psiitemarray: P0) -> windows_core::Result @@ -12134,7 +12134,7 @@ pub struct IExplorerCommand_Vtbl { pub GetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub EnumSubCommands: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExplorerCommandProvider, IExplorerCommandProvider_Vtbl, 0x64961751_0835_43c0_8ffe_d57686530e64); +windows_core::imp::define_interface!(IExplorerCommandProvider, IExplorerCommandProvider_Vtbl, 0x64961751_0835_43c0_8ffe_d57686530e64); windows_core::imp::interface_hierarchy!(IExplorerCommandProvider, windows_core::IUnknown); impl IExplorerCommandProvider { pub unsafe fn GetCommands(&self, punksite: P0) -> windows_core::Result @@ -12159,7 +12159,7 @@ pub struct IExplorerCommandProvider_Vtbl { pub GetCommands: 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 GetCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExplorerCommandState, IExplorerCommandState_Vtbl, 0xbddacb60_7657_47ae_8445_d23e1acf82ae); +windows_core::imp::define_interface!(IExplorerCommandState, IExplorerCommandState_Vtbl, 0xbddacb60_7657_47ae_8445_d23e1acf82ae); windows_core::imp::interface_hierarchy!(IExplorerCommandState, windows_core::IUnknown); impl IExplorerCommandState { pub unsafe fn GetState(&self, psiitemarray: P0, foktobeslow: P1) -> windows_core::Result @@ -12176,7 +12176,7 @@ pub struct IExplorerCommandState_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExplorerPaneVisibility, IExplorerPaneVisibility_Vtbl, 0xe07010ec_bc17_44c0_97b0_46c7c95b9edc); +windows_core::imp::define_interface!(IExplorerPaneVisibility, IExplorerPaneVisibility_Vtbl, 0xe07010ec_bc17_44c0_97b0_46c7c95b9edc); windows_core::imp::interface_hierarchy!(IExplorerPaneVisibility, windows_core::IUnknown); impl IExplorerPaneVisibility { pub unsafe fn GetPaneState(&self, ep: *const windows_core::GUID) -> windows_core::Result { @@ -12189,7 +12189,7 @@ pub struct IExplorerPaneVisibility_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetPaneState: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExtensionServices, IExtensionServices_Vtbl, 0x79eac9cb_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IExtensionServices, IExtensionServices_Vtbl, 0x79eac9cb_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IExtensionServices, windows_core::IUnknown); impl IExtensionServices { pub unsafe fn SetAdditionalHeaders(&self, pwzadditionalheaders: P0) -> windows_core::Result<()> @@ -12213,7 +12213,7 @@ pub struct IExtensionServices_Vtbl { pub SetAdditionalHeaders: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetAuthenticateData: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExtractIconA, IExtractIconA_Vtbl, 0x000214eb_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IExtractIconA, IExtractIconA_Vtbl, 0x000214eb_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IExtractIconA, windows_core::IUnknown); impl IExtractIconA { pub unsafe fn GetIconLocation(&self, uflags: u32, psziconfile: &mut [u8], piindex: *mut i32, pwflags: *mut u32) -> windows_core::Result<()> { @@ -12236,7 +12236,7 @@ pub struct IExtractIconA_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] Extract: usize, } -windows_core::imp::com_interface!(IExtractIconW, IExtractIconW_Vtbl, 0x000214fa_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IExtractIconW, IExtractIconW_Vtbl, 0x000214fa_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IExtractIconW, windows_core::IUnknown); impl IExtractIconW { pub unsafe fn GetIconLocation(&self, uflags: u32, psziconfile: &mut [u16], piindex: *mut i32, pwflags: *mut u32) -> windows_core::Result<()> { @@ -12259,7 +12259,7 @@ pub struct IExtractIconW_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] Extract: usize, } -windows_core::imp::com_interface!(IExtractImage, IExtractImage_Vtbl, 0xbb2e617c_0920_11d1_9a0b_00c04fc2d6c1); +windows_core::imp::define_interface!(IExtractImage, IExtractImage_Vtbl, 0xbb2e617c_0920_11d1_9a0b_00c04fc2d6c1); windows_core::imp::interface_hierarchy!(IExtractImage, windows_core::IUnknown); impl IExtractImage { pub unsafe fn GetLocation(&self, pszpathbuffer: &mut [u16], pdwpriority: *mut u32, prgsize: *const super::super::Foundation::SIZE, dwrecclrdepth: u32, pdwflags: *mut u32) -> windows_core::Result<()> { @@ -12280,7 +12280,7 @@ pub struct IExtractImage_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] Extract: usize, } -windows_core::imp::com_interface!(IExtractImage2, IExtractImage2_Vtbl, 0x953bb1ee_93b4_11d1_98a3_00c04fb687da); +windows_core::imp::define_interface!(IExtractImage2, IExtractImage2_Vtbl, 0x953bb1ee_93b4_11d1_98a3_00c04fb687da); windows_core::imp::interface_hierarchy!(IExtractImage2, windows_core::IUnknown, IExtractImage); impl IExtractImage2 { pub unsafe fn GetLocation(&self, pszpathbuffer: &mut [u16], pdwpriority: *mut u32, prgsize: *const super::super::Foundation::SIZE, dwrecclrdepth: u32, pdwflags: *mut u32) -> windows_core::Result<()> { @@ -12301,7 +12301,7 @@ pub struct IExtractImage2_Vtbl { pub base__: IExtractImage_Vtbl, pub GetDateStamp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::FILETIME) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileDialog, IFileDialog_Vtbl, 0x42f85136_db7e_439c_85f1_e4075d135fc8); +windows_core::imp::define_interface!(IFileDialog, IFileDialog_Vtbl, 0x42f85136_db7e_439c_85f1_e4075d135fc8); windows_core::imp::interface_hierarchy!(IFileDialog, windows_core::IUnknown, IModalWindow); impl IFileDialog { pub unsafe fn Show(&self, hwndowner: P0) -> windows_core::Result<()> @@ -12448,7 +12448,7 @@ pub struct IFileDialog_Vtbl { pub ClearClientData: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileDialog2, IFileDialog2_Vtbl, 0x61744fc7_85b5_4791_a9b0_272276309b13); +windows_core::imp::define_interface!(IFileDialog2, IFileDialog2_Vtbl, 0x61744fc7_85b5_4791_a9b0_272276309b13); windows_core::imp::interface_hierarchy!(IFileDialog2, windows_core::IUnknown, IModalWindow, IFileDialog); impl IFileDialog2 { pub unsafe fn Show(&self, hwndowner: P0) -> windows_core::Result<()> @@ -12583,7 +12583,7 @@ pub struct IFileDialog2_Vtbl { pub SetCancelButtonLabel: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetNavigationRoot: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileDialogControlEvents, IFileDialogControlEvents_Vtbl, 0x36116642_d713_4b97_9b83_7484a9d00433); +windows_core::imp::define_interface!(IFileDialogControlEvents, IFileDialogControlEvents_Vtbl, 0x36116642_d713_4b97_9b83_7484a9d00433); windows_core::imp::interface_hierarchy!(IFileDialogControlEvents, windows_core::IUnknown); impl IFileDialogControlEvents { pub unsafe fn OnItemSelected(&self, pfdc: P0, dwidctl: u32, dwiditem: u32) -> windows_core::Result<()> @@ -12620,7 +12620,7 @@ pub struct IFileDialogControlEvents_Vtbl { pub OnCheckButtonToggled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub OnControlActivating: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileDialogCustomize, IFileDialogCustomize_Vtbl, 0xe6fdd21a_163f_4975_9c8c_a69f1ba37034); +windows_core::imp::define_interface!(IFileDialogCustomize, IFileDialogCustomize_Vtbl, 0xe6fdd21a_163f_4975_9c8c_a69f1ba37034); windows_core::imp::interface_hierarchy!(IFileDialogCustomize, windows_core::IUnknown); impl IFileDialogCustomize { pub unsafe fn EnableOpenDropDown(&self, dwidctl: u32) -> windows_core::Result<()> { @@ -12775,7 +12775,7 @@ pub struct IFileDialogCustomize_Vtbl { pub MakeProminent: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub SetControlItemText: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileDialogEvents, IFileDialogEvents_Vtbl, 0x973510db_7d7f_452b_8975_74a85828d354); +windows_core::imp::define_interface!(IFileDialogEvents, IFileDialogEvents_Vtbl, 0x973510db_7d7f_452b_8975_74a85828d354); windows_core::imp::interface_hierarchy!(IFileDialogEvents, windows_core::IUnknown); impl IFileDialogEvents { pub unsafe fn OnFileOk(&self, pfd: P0) -> windows_core::Result<()> @@ -12837,7 +12837,7 @@ pub struct IFileDialogEvents_Vtbl { pub OnTypeChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnOverwrite: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut FDE_OVERWRITE_RESPONSE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileIsInUse, IFileIsInUse_Vtbl, 0x64a1cbf0_3a1a_4461_9158_376969693950); +windows_core::imp::define_interface!(IFileIsInUse, IFileIsInUse_Vtbl, 0x64a1cbf0_3a1a_4461_9158_376969693950); windows_core::imp::interface_hierarchy!(IFileIsInUse, windows_core::IUnknown); impl IFileIsInUse { pub unsafe fn GetAppName(&self) -> windows_core::Result { @@ -12869,7 +12869,7 @@ pub struct IFileIsInUse_Vtbl { pub GetSwitchToHWND: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, pub CloseFile: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileOpenDialog, IFileOpenDialog_Vtbl, 0xd57c7288_d4ad_4768_be02_9d969532d960); +windows_core::imp::define_interface!(IFileOpenDialog, IFileOpenDialog_Vtbl, 0xd57c7288_d4ad_4768_be02_9d969532d960); windows_core::imp::interface_hierarchy!(IFileOpenDialog, windows_core::IUnknown, IModalWindow, IFileDialog); impl IFileOpenDialog { pub unsafe fn Show(&self, hwndowner: P0) -> windows_core::Result<()> @@ -13000,7 +13000,7 @@ pub struct IFileOpenDialog_Vtbl { pub GetResults: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSelectedItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileOperation, IFileOperation_Vtbl, 0x947aab5f_0a5c_4c13_b4d6_4bf7836fc9f8); +windows_core::imp::define_interface!(IFileOperation, IFileOperation_Vtbl, 0x947aab5f_0a5c_4c13_b4d6_4bf7836fc9f8); windows_core::imp::interface_hierarchy!(IFileOperation, windows_core::IUnknown); impl IFileOperation { pub unsafe fn Advise(&self, pfops: P0) -> windows_core::Result @@ -13157,7 +13157,7 @@ pub struct IFileOperation_Vtbl { pub PerformOperations: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetAnyOperationsAborted: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileOperation2, IFileOperation2_Vtbl, 0xcd8f23c1_8f61_4916_909d_55bdd0918753); +windows_core::imp::define_interface!(IFileOperation2, IFileOperation2_Vtbl, 0xcd8f23c1_8f61_4916_909d_55bdd0918753); windows_core::imp::interface_hierarchy!(IFileOperation2, windows_core::IUnknown, IFileOperation); impl IFileOperation2 { pub unsafe fn Advise(&self, pfops: P0) -> windows_core::Result @@ -13295,7 +13295,7 @@ pub struct IFileOperation2_Vtbl { pub base__: IFileOperation_Vtbl, pub SetOperationFlags2: unsafe extern "system" fn(*mut core::ffi::c_void, FILE_OPERATION_FLAGS2) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileOperationProgressSink, IFileOperationProgressSink_Vtbl, 0x04b0f1a7_9490_44bc_96e1_4296a31252e2); +windows_core::imp::define_interface!(IFileOperationProgressSink, IFileOperationProgressSink_Vtbl, 0x04b0f1a7_9490_44bc_96e1_4296a31252e2); windows_core::imp::interface_hierarchy!(IFileOperationProgressSink, windows_core::IUnknown); impl IFileOperationProgressSink { pub unsafe fn StartOperations(&self) -> windows_core::Result<()> { @@ -13415,7 +13415,7 @@ pub struct IFileOperationProgressSink_Vtbl { pub PauseTimer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ResumeTimer: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFileSaveDialog, IFileSaveDialog_Vtbl, 0x84bccd23_5fde_4cdb_aea4_af64b83d78ab); +windows_core::imp::define_interface!(IFileSaveDialog, IFileSaveDialog_Vtbl, 0x84bccd23_5fde_4cdb_aea4_af64b83d78ab); windows_core::imp::interface_hierarchy!(IFileSaveDialog, windows_core::IUnknown, IModalWindow, IFileDialog); impl IFileSaveDialog { pub unsafe fn Show(&self, hwndowner: P0) -> windows_core::Result<()> @@ -13590,7 +13590,7 @@ pub struct IFileSaveDialog_Vtbl { ApplyProperties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFileSearchBand, IFileSearchBand_Vtbl, 0x2d91eea1_9932_11d2_be86_00a0c9a83da1); +windows_core::imp::define_interface!(IFileSearchBand, IFileSearchBand_Vtbl, 0x2d91eea1_9932_11d2_be86_00a0c9a83da1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFileSearchBand, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -13627,7 +13627,7 @@ pub struct IFileSearchBand_Vtbl { 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, } -windows_core::imp::com_interface!(IFileSyncMergeHandler, IFileSyncMergeHandler_Vtbl, 0xd97b5aac_c792_433c_975d_35c4eadc7a9d); +windows_core::imp::define_interface!(IFileSyncMergeHandler, IFileSyncMergeHandler_Vtbl, 0xd97b5aac_c792_433c_975d_35c4eadc7a9d); windows_core::imp::interface_hierarchy!(IFileSyncMergeHandler, windows_core::IUnknown); impl IFileSyncMergeHandler { pub unsafe fn Merge(&self, localfilepath: P0, serverfilepath: P1) -> windows_core::Result @@ -13656,7 +13656,7 @@ pub struct IFileSyncMergeHandler_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] ShowResolveConflictUIAsync: usize, } -windows_core::imp::com_interface!(IFileSystemBindData, IFileSystemBindData_Vtbl, 0x01e18d10_4d8b_11d2_855d_006008059367); +windows_core::imp::define_interface!(IFileSystemBindData, IFileSystemBindData_Vtbl, 0x01e18d10_4d8b_11d2_855d_006008059367); windows_core::imp::interface_hierarchy!(IFileSystemBindData, windows_core::IUnknown); impl IFileSystemBindData { #[cfg(feature = "Win32_Storage_FileSystem")] @@ -13680,7 +13680,7 @@ pub struct IFileSystemBindData_Vtbl { #[cfg(not(feature = "Win32_Storage_FileSystem"))] GetFindData: usize, } -windows_core::imp::com_interface!(IFileSystemBindData2, IFileSystemBindData2_Vtbl, 0x3acf075f_71db_4afa_81f0_3fc4fdf2a5b8); +windows_core::imp::define_interface!(IFileSystemBindData2, IFileSystemBindData2_Vtbl, 0x3acf075f_71db_4afa_81f0_3fc4fdf2a5b8); windows_core::imp::interface_hierarchy!(IFileSystemBindData2, windows_core::IUnknown, IFileSystemBindData); impl IFileSystemBindData2 { #[cfg(feature = "Win32_Storage_FileSystem")] @@ -13714,7 +13714,7 @@ pub struct IFileSystemBindData2_Vtbl { pub SetJunctionCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub GetJunctionCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFolderBandPriv, IFolderBandPriv_Vtbl, 0x47c01f95_e185_412c_b5c5_4f27df965aea); +windows_core::imp::define_interface!(IFolderBandPriv, IFolderBandPriv_Vtbl, 0x47c01f95_e185_412c_b5c5_4f27df965aea); windows_core::imp::interface_hierarchy!(IFolderBandPriv, windows_core::IUnknown); impl IFolderBandPriv { pub unsafe fn SetCascade(&self, fcascade: P0) -> windows_core::Result<()> @@ -13750,7 +13750,7 @@ pub struct IFolderBandPriv_Vtbl { pub SetNoIcons: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetNoText: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFolderFilter, IFolderFilter_Vtbl, 0x9cc22886_dc8e_11d2_b1d0_00c04f8eeb3e); +windows_core::imp::define_interface!(IFolderFilter, IFolderFilter_Vtbl, 0x9cc22886_dc8e_11d2_b1d0_00c04f8eeb3e); windows_core::imp::interface_hierarchy!(IFolderFilter, windows_core::IUnknown); impl IFolderFilter { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -13780,7 +13780,7 @@ pub struct IFolderFilter_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] GetEnumFlags: usize, } -windows_core::imp::com_interface!(IFolderFilterSite, IFolderFilterSite_Vtbl, 0xc0a651f5_b48b_11d2_b5ed_006097c686f6); +windows_core::imp::define_interface!(IFolderFilterSite, IFolderFilterSite_Vtbl, 0xc0a651f5_b48b_11d2_b5ed_006097c686f6); windows_core::imp::interface_hierarchy!(IFolderFilterSite, windows_core::IUnknown); impl IFolderFilterSite { pub unsafe fn SetFilter(&self, punk: P0) -> windows_core::Result<()> @@ -13795,7 +13795,7 @@ pub struct IFolderFilterSite_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFolderView, IFolderView_Vtbl, 0xcde725b0_ccc9_4519_917e_325d72fab4ce); +windows_core::imp::define_interface!(IFolderView, IFolderView_Vtbl, 0xcde725b0_ccc9_4519_917e_325d72fab4ce); windows_core::imp::interface_hierarchy!(IFolderView, windows_core::IUnknown); impl IFolderView { pub unsafe fn GetCurrentViewMode(&self) -> windows_core::Result { @@ -13886,7 +13886,7 @@ pub struct IFolderView_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] SelectAndPositionItems: usize, } -windows_core::imp::com_interface!(IFolderView2, IFolderView2_Vtbl, 0x1af3a467_214f_4298_908e_06b03e0b39f9); +windows_core::imp::define_interface!(IFolderView2, IFolderView2_Vtbl, 0x1af3a467_214f_4298_908e_06b03e0b39f9); windows_core::imp::interface_hierarchy!(IFolderView2, windows_core::IUnknown, IFolderView); impl IFolderView2 { pub unsafe fn GetCurrentViewMode(&self) -> windows_core::Result { @@ -14126,7 +14126,7 @@ pub struct IFolderView2_Vtbl { pub IsMoveInSameFolder: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub DoRename: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFolderViewHost, IFolderViewHost_Vtbl, 0x1ea58f02_d55a_411d_b09e_9e65ac21605b); +windows_core::imp::define_interface!(IFolderViewHost, IFolderViewHost_Vtbl, 0x1ea58f02_d55a_411d_b09e_9e65ac21605b); windows_core::imp::interface_hierarchy!(IFolderViewHost, windows_core::IUnknown); impl IFolderViewHost { #[cfg(feature = "Win32_System_Com")] @@ -14147,7 +14147,7 @@ pub struct IFolderViewHost_Vtbl { Initialize: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IFolderViewOC, IFolderViewOC_Vtbl, 0x9ba05970_f6a8_11cf_a442_00a0c90a8f39); +windows_core::imp::define_interface!(IFolderViewOC, IFolderViewOC_Vtbl, 0x9ba05970_f6a8_11cf_a442_00a0c90a8f39); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IFolderViewOC, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -14169,7 +14169,7 @@ pub struct IFolderViewOC_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetFolderView: usize, } -windows_core::imp::com_interface!(IFolderViewOptions, IFolderViewOptions_Vtbl, 0x3cc974d2_b302_4d36_ad3e_06d93f695d3f); +windows_core::imp::define_interface!(IFolderViewOptions, IFolderViewOptions_Vtbl, 0x3cc974d2_b302_4d36_ad3e_06d93f695d3f); windows_core::imp::interface_hierarchy!(IFolderViewOptions, windows_core::IUnknown); impl IFolderViewOptions { pub unsafe fn SetFolderViewOptions(&self, fvomask: FOLDERVIEWOPTIONS, fvoflags: FOLDERVIEWOPTIONS) -> windows_core::Result<()> { @@ -14186,7 +14186,7 @@ pub struct IFolderViewOptions_Vtbl { pub SetFolderViewOptions: unsafe extern "system" fn(*mut core::ffi::c_void, FOLDERVIEWOPTIONS, FOLDERVIEWOPTIONS) -> windows_core::HRESULT, pub GetFolderViewOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FOLDERVIEWOPTIONS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFolderViewSettings, IFolderViewSettings_Vtbl, 0xae8c987d_8797_4ed3_be72_2a47dd938db0); +windows_core::imp::define_interface!(IFolderViewSettings, IFolderViewSettings_Vtbl, 0xae8c987d_8797_4ed3_be72_2a47dd938db0); windows_core::imp::interface_hierarchy!(IFolderViewSettings, windows_core::IUnknown); impl IFolderViewSettings { pub unsafe fn GetColumnPropertyList(&self) -> windows_core::Result @@ -14237,7 +14237,7 @@ pub struct IFolderViewSettings_Vtbl { GetSortColumns: usize, pub GetGroupSubsetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameworkInputPane, IFrameworkInputPane_Vtbl, 0x5752238b_24f0_495a_82f1_2fd593056796); +windows_core::imp::define_interface!(IFrameworkInputPane, IFrameworkInputPane_Vtbl, 0x5752238b_24f0_495a_82f1_2fd593056796); windows_core::imp::interface_hierarchy!(IFrameworkInputPane, windows_core::IUnknown); impl IFrameworkInputPane { pub unsafe fn Advise(&self, pwindow: P0, phandler: P1) -> windows_core::Result @@ -14272,7 +14272,7 @@ pub struct IFrameworkInputPane_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Location: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IFrameworkInputPaneHandler, IFrameworkInputPaneHandler_Vtbl, 0x226c537b_1e76_4d9e_a760_33db29922f18); +windows_core::imp::define_interface!(IFrameworkInputPaneHandler, IFrameworkInputPaneHandler_Vtbl, 0x226c537b_1e76_4d9e_a760_33db29922f18); windows_core::imp::interface_hierarchy!(IFrameworkInputPaneHandler, windows_core::IUnknown); impl IFrameworkInputPaneHandler { pub unsafe fn Showing(&self, prcinputpanescreenlocation: *const super::super::Foundation::RECT, fensurefocusedelementinview: P0) -> windows_core::Result<()> @@ -14294,7 +14294,7 @@ pub struct IFrameworkInputPaneHandler_Vtbl { pub Showing: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Hiding: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGetServiceIds, IGetServiceIds_Vtbl, 0x4a073526_6103_4e21_b7bc_f519d1524e5d); +windows_core::imp::define_interface!(IGetServiceIds, IGetServiceIds_Vtbl, 0x4a073526_6103_4e21_b7bc_f519d1524e5d); windows_core::imp::interface_hierarchy!(IGetServiceIds, windows_core::IUnknown); impl IGetServiceIds { pub unsafe fn GetServiceIds(&self, serviceidcount: *mut u32, serviceids: *mut *mut windows_core::GUID) -> windows_core::Result<()> { @@ -14306,7 +14306,7 @@ pub struct IGetServiceIds_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetServiceIds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHWEventHandler, IHWEventHandler_Vtbl, 0xc1fb73d0_ec3a_4ba2_b512_8cdb9187b6d1); +windows_core::imp::define_interface!(IHWEventHandler, IHWEventHandler_Vtbl, 0xc1fb73d0_ec3a_4ba2_b512_8cdb9187b6d1); windows_core::imp::interface_hierarchy!(IHWEventHandler, windows_core::IUnknown); impl IHWEventHandler { pub unsafe fn Initialize(&self, pszparams: P0) -> windows_core::Result<()> @@ -14345,7 +14345,7 @@ pub struct IHWEventHandler_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] HandleEventWithContent: usize, } -windows_core::imp::com_interface!(IHWEventHandler2, IHWEventHandler2_Vtbl, 0xcfcc809f_295d_42e8_9ffc_424b33c487e6); +windows_core::imp::define_interface!(IHWEventHandler2, IHWEventHandler2_Vtbl, 0xcfcc809f_295d_42e8_9ffc_424b33c487e6); windows_core::imp::interface_hierarchy!(IHWEventHandler2, windows_core::IUnknown, IHWEventHandler); impl IHWEventHandler2 { pub unsafe fn Initialize(&self, pszparams: P0) -> windows_core::Result<()> @@ -14388,7 +14388,7 @@ pub struct IHWEventHandler2_Vtbl { pub base__: IHWEventHandler_Vtbl, pub HandleEventWithHWND: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHandlerActivationHost, IHandlerActivationHost_Vtbl, 0x35094a87_8bb1_4237_96c6_c417eebdb078); +windows_core::imp::define_interface!(IHandlerActivationHost, IHandlerActivationHost_Vtbl, 0x35094a87_8bb1_4237_96c6_c417eebdb078); windows_core::imp::interface_hierarchy!(IHandlerActivationHost, windows_core::IUnknown); impl IHandlerActivationHost { pub unsafe fn BeforeCoCreateInstance(&self, clsidhandler: *const windows_core::GUID, itemsbeingactivated: P0, handlerinfo: P1) -> windows_core::Result<()> @@ -14413,7 +14413,7 @@ pub struct IHandlerActivationHost_Vtbl { pub BeforeCoCreateInstance: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub BeforeCreateProcess: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHandlerInfo, IHandlerInfo_Vtbl, 0x997706ef_f880_453b_8118_39e1a2d2655a); +windows_core::imp::define_interface!(IHandlerInfo, IHandlerInfo_Vtbl, 0x997706ef_f880_453b_8118_39e1a2d2655a); windows_core::imp::interface_hierarchy!(IHandlerInfo, windows_core::IUnknown); impl IHandlerInfo { pub unsafe fn GetApplicationDisplayName(&self) -> windows_core::Result { @@ -14436,7 +14436,7 @@ pub struct IHandlerInfo_Vtbl { pub GetApplicationPublisher: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetApplicationIconReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHandlerInfo2, IHandlerInfo2_Vtbl, 0x31cca04c_04d3_4ea9_90de_97b15e87a532); +windows_core::imp::define_interface!(IHandlerInfo2, IHandlerInfo2_Vtbl, 0x31cca04c_04d3_4ea9_90de_97b15e87a532); windows_core::imp::interface_hierarchy!(IHandlerInfo2, windows_core::IUnknown, IHandlerInfo); impl IHandlerInfo2 { pub unsafe fn GetApplicationDisplayName(&self) -> windows_core::Result { @@ -14461,7 +14461,7 @@ pub struct IHandlerInfo2_Vtbl { pub base__: IHandlerInfo_Vtbl, pub GetApplicationId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHlink, IHlink_Vtbl, 0x79eac9c3_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IHlink, IHlink_Vtbl, 0x79eac9c3_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IHlink, windows_core::IUnknown); impl IHlink { pub unsafe fn SetHlinkSite(&self, pihlsite: P0, dwsitedata: u32) -> windows_core::Result<()> @@ -14566,7 +14566,7 @@ pub struct IHlink_Vtbl { pub SetAdditionalParams: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetAdditionalParams: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHlinkBrowseContext, IHlinkBrowseContext_Vtbl, 0x79eac9c7_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IHlinkBrowseContext, IHlinkBrowseContext_Vtbl, 0x79eac9c7_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IHlinkBrowseContext, windows_core::IUnknown); impl IHlinkBrowseContext { #[cfg(feature = "Win32_System_Com")] @@ -14682,7 +14682,7 @@ pub struct IHlinkBrowseContext_Vtbl { pub Clone: 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 Close: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHlinkFrame, IHlinkFrame_Vtbl, 0x79eac9c5_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IHlinkFrame, IHlinkFrame_Vtbl, 0x79eac9c5_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IHlinkFrame, windows_core::IUnknown); impl IHlinkFrame { pub unsafe fn SetBrowseContext(&self, pihlbc: P0) -> windows_core::Result<()> @@ -14741,7 +14741,7 @@ pub struct IHlinkFrame_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] UpdateHlink: usize, } -windows_core::imp::com_interface!(IHlinkSite, IHlinkSite_Vtbl, 0x79eac9c2_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IHlinkSite, IHlinkSite_Vtbl, 0x79eac9c2_baf9_11ce_8c82_00aa004ba90b); 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 { @@ -14774,7 +14774,7 @@ pub struct IHlinkSite_Vtbl { pub ReadyToNavigate: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub OnNavigationComplete: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, windows_core::HRESULT, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHlinkTarget, IHlinkTarget_Vtbl, 0x79eac9c4_baf9_11ce_8c82_00aa004ba90b); +windows_core::imp::define_interface!(IHlinkTarget, IHlinkTarget_Vtbl, 0x79eac9c4_baf9_11ce_8c82_00aa004ba90b); windows_core::imp::interface_hierarchy!(IHlinkTarget, windows_core::IUnknown); impl IHlinkTarget { pub unsafe fn SetBrowseContext(&self, pihlbc: P0) -> windows_core::Result<()> @@ -14821,7 +14821,7 @@ pub struct IHlinkTarget_Vtbl { GetMoniker: usize, pub GetFriendlyName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHomeGroup, IHomeGroup_Vtbl, 0x7a3bd1d9_35a9_4fb3_a467_f48cac35e2d0); +windows_core::imp::define_interface!(IHomeGroup, IHomeGroup_Vtbl, 0x7a3bd1d9_35a9_4fb3_a467_f48cac35e2d0); windows_core::imp::interface_hierarchy!(IHomeGroup, windows_core::IUnknown); impl IHomeGroup { pub unsafe fn IsMember(&self) -> windows_core::Result { @@ -14842,7 +14842,7 @@ pub struct IHomeGroup_Vtbl { pub IsMember: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub ShowSharingWizard: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut HOMEGROUPSHARINGCHOICES) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIOCancelInformation, IIOCancelInformation_Vtbl, 0xf5b0bf81_8cb5_4b1b_9449_1a159e0c733c); +windows_core::imp::define_interface!(IIOCancelInformation, IIOCancelInformation_Vtbl, 0xf5b0bf81_8cb5_4b1b_9449_1a159e0c733c); windows_core::imp::interface_hierarchy!(IIOCancelInformation, windows_core::IUnknown); impl IIOCancelInformation { pub unsafe fn SetCancelInformation(&self, dwthreadid: u32, umsgcancel: u32) -> windows_core::Result<()> { @@ -14858,7 +14858,7 @@ pub struct IIOCancelInformation_Vtbl { pub SetCancelInformation: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, pub GetCancelInformation: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IIdentityName, IIdentityName_Vtbl, 0x7d903fca_d6f9_4810_8332_946c0177e247); +windows_core::imp::define_interface!(IIdentityName, IIdentityName_Vtbl, 0x7d903fca_d6f9_4810_8332_946c0177e247); windows_core::imp::interface_hierarchy!(IIdentityName, windows_core::IUnknown, IRelatedItem); impl IIdentityName { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -14875,7 +14875,7 @@ impl IIdentityName { pub struct IIdentityName_Vtbl { pub base__: IRelatedItem_Vtbl, } -windows_core::imp::com_interface!(IImageRecompress, IImageRecompress_Vtbl, 0x505f1513_6b3e_4892_a272_59f8889a4d3e); +windows_core::imp::define_interface!(IImageRecompress, IImageRecompress_Vtbl, 0x505f1513_6b3e_4892_a272_59f8889a4d3e); windows_core::imp::interface_hierarchy!(IImageRecompress, windows_core::IUnknown); impl IImageRecompress { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -14896,7 +14896,7 @@ pub struct IImageRecompress_Vtbl { #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] RecompressImage: usize, } -windows_core::imp::com_interface!(IInitializeCommand, IInitializeCommand_Vtbl, 0x85075acf_231f_40ea_9610_d26b7b58f638); +windows_core::imp::define_interface!(IInitializeCommand, IInitializeCommand_Vtbl, 0x85075acf_231f_40ea_9610_d26b7b58f638); windows_core::imp::interface_hierarchy!(IInitializeCommand, windows_core::IUnknown); impl IInitializeCommand { #[cfg(feature = "Win32_System_Com_StructuredStorage")] @@ -14916,7 +14916,7 @@ pub struct IInitializeCommand_Vtbl { #[cfg(not(feature = "Win32_System_Com_StructuredStorage"))] Initialize: usize, } -windows_core::imp::com_interface!(IInitializeNetworkFolder, IInitializeNetworkFolder_Vtbl, 0x6e0f9881_42a8_4f2a_97f8_8af4e026d92d); +windows_core::imp::define_interface!(IInitializeNetworkFolder, IInitializeNetworkFolder_Vtbl, 0x6e0f9881_42a8_4f2a_97f8_8af4e026d92d); windows_core::imp::interface_hierarchy!(IInitializeNetworkFolder, windows_core::IUnknown); impl IInitializeNetworkFolder { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -14936,7 +14936,7 @@ pub struct IInitializeNetworkFolder_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] Initialize: usize, } -windows_core::imp::com_interface!(IInitializeObject, IInitializeObject_Vtbl, 0x4622ad16_ff23_11d0_8d34_00a0c90f2719); +windows_core::imp::define_interface!(IInitializeObject, IInitializeObject_Vtbl, 0x4622ad16_ff23_11d0_8d34_00a0c90f2719); windows_core::imp::interface_hierarchy!(IInitializeObject, windows_core::IUnknown); impl IInitializeObject { pub unsafe fn Initialize(&self) -> windows_core::Result<()> { @@ -14948,7 +14948,7 @@ pub struct IInitializeObject_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInitializeWithBindCtx, IInitializeWithBindCtx_Vtbl, 0x71c0d2bc_726d_45cc_a6c0_2e31c1db2159); +windows_core::imp::define_interface!(IInitializeWithBindCtx, IInitializeWithBindCtx_Vtbl, 0x71c0d2bc_726d_45cc_a6c0_2e31c1db2159); windows_core::imp::interface_hierarchy!(IInitializeWithBindCtx, windows_core::IUnknown); impl IInitializeWithBindCtx { #[cfg(feature = "Win32_System_Com")] @@ -14967,7 +14967,7 @@ pub struct IInitializeWithBindCtx_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Initialize: usize, } -windows_core::imp::com_interface!(IInitializeWithItem, IInitializeWithItem_Vtbl, 0x7f73be3f_fb79_493c_a6c7_7ee14e245841); +windows_core::imp::define_interface!(IInitializeWithItem, IInitializeWithItem_Vtbl, 0x7f73be3f_fb79_493c_a6c7_7ee14e245841); windows_core::imp::interface_hierarchy!(IInitializeWithItem, windows_core::IUnknown); impl IInitializeWithItem { pub unsafe fn Initialize(&self, psi: P0, grfmode: u32) -> windows_core::Result<()> @@ -14982,7 +14982,7 @@ pub struct IInitializeWithItem_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInitializeWithPropertyStore, IInitializeWithPropertyStore_Vtbl, 0xc3e12eb5_7d8d_44f8_b6dd_0e77b34d6de4); +windows_core::imp::define_interface!(IInitializeWithPropertyStore, IInitializeWithPropertyStore_Vtbl, 0xc3e12eb5_7d8d_44f8_b6dd_0e77b34d6de4); windows_core::imp::interface_hierarchy!(IInitializeWithPropertyStore, windows_core::IUnknown); impl IInitializeWithPropertyStore { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -15001,7 +15001,7 @@ pub struct IInitializeWithPropertyStore_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] Initialize: usize, } -windows_core::imp::com_interface!(IInitializeWithWindow, IInitializeWithWindow_Vtbl, 0x3e68d4bd_7135_4d10_8018_9fb6d9f33fa1); +windows_core::imp::define_interface!(IInitializeWithWindow, IInitializeWithWindow_Vtbl, 0x3e68d4bd_7135_4d10_8018_9fb6d9f33fa1); windows_core::imp::interface_hierarchy!(IInitializeWithWindow, windows_core::IUnknown); impl IInitializeWithWindow { pub unsafe fn Initialize(&self, hwnd: P0) -> windows_core::Result<()> @@ -15016,7 +15016,7 @@ pub struct IInitializeWithWindow_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputObject, IInputObject_Vtbl, 0x68284faa_6a48_11d0_8c78_00c04fd918b4); +windows_core::imp::define_interface!(IInputObject, IInputObject_Vtbl, 0x68284faa_6a48_11d0_8c78_00c04fd918b4); windows_core::imp::interface_hierarchy!(IInputObject, windows_core::IUnknown); impl IInputObject { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -15047,7 +15047,7 @@ pub struct IInputObject_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] TranslateAcceleratorIO: usize, } -windows_core::imp::com_interface!(IInputObject2, IInputObject2_Vtbl, 0x6915c085_510b_44cd_94af_28dfa56cf92b); +windows_core::imp::define_interface!(IInputObject2, IInputObject2_Vtbl, 0x6915c085_510b_44cd_94af_28dfa56cf92b); windows_core::imp::interface_hierarchy!(IInputObject2, windows_core::IUnknown, IInputObject); impl IInputObject2 { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -15077,7 +15077,7 @@ pub struct IInputObject2_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] TranslateAcceleratorGlobal: usize, } -windows_core::imp::com_interface!(IInputObjectSite, IInputObjectSite_Vtbl, 0xf1db8392_7331_11d0_8c99_00a0c92dbfe8); +windows_core::imp::define_interface!(IInputObjectSite, IInputObjectSite_Vtbl, 0xf1db8392_7331_11d0_8c99_00a0c92dbfe8); windows_core::imp::interface_hierarchy!(IInputObjectSite, windows_core::IUnknown); impl IInputObjectSite { pub unsafe fn OnFocusChangeIS(&self, punkobj: P0, fsetfocus: P1) -> windows_core::Result<()> @@ -15093,7 +15093,7 @@ pub struct IInputObjectSite_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnFocusChangeIS: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputPaneAnimationCoordinator, IInputPaneAnimationCoordinator_Vtbl, 0x2af16ba9_2de5_4b75_82d9_01372afbffb4); +windows_core::imp::define_interface!(IInputPaneAnimationCoordinator, IInputPaneAnimationCoordinator_Vtbl, 0x2af16ba9_2de5_4b75_82d9_01372afbffb4); windows_core::imp::interface_hierarchy!(IInputPaneAnimationCoordinator, windows_core::IUnknown); impl IInputPaneAnimationCoordinator { #[cfg(feature = "Win32_Graphics_DirectComposition")] @@ -15113,7 +15113,7 @@ pub struct IInputPaneAnimationCoordinator_Vtbl { #[cfg(not(feature = "Win32_Graphics_DirectComposition"))] AddAnimation: usize, } -windows_core::imp::com_interface!(IInputPanelConfiguration, IInputPanelConfiguration_Vtbl, 0x41c81592_514c_48bd_a22e_e6af638521a6); +windows_core::imp::define_interface!(IInputPanelConfiguration, IInputPanelConfiguration_Vtbl, 0x41c81592_514c_48bd_a22e_e6af638521a6); windows_core::imp::interface_hierarchy!(IInputPanelConfiguration, windows_core::IUnknown); impl IInputPanelConfiguration { pub unsafe fn EnableFocusTracking(&self) -> windows_core::Result<()> { @@ -15125,7 +15125,7 @@ pub struct IInputPanelConfiguration_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub EnableFocusTracking: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInputPanelInvocationConfiguration, IInputPanelInvocationConfiguration_Vtbl, 0xa213f136_3b45_4362_a332_efb6547cd432); +windows_core::imp::define_interface!(IInputPanelInvocationConfiguration, IInputPanelInvocationConfiguration_Vtbl, 0xa213f136_3b45_4362_a332_efb6547cd432); windows_core::imp::interface_hierarchy!(IInputPanelInvocationConfiguration, windows_core::IUnknown); impl IInputPanelInvocationConfiguration { pub unsafe fn RequireTouchInEditControl(&self) -> windows_core::Result<()> { @@ -15137,7 +15137,7 @@ pub struct IInputPanelInvocationConfiguration_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RequireTouchInEditControl: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInsertItem, IInsertItem_Vtbl, 0xd2b57227_3d23_4b95_93c0_492bd454c356); +windows_core::imp::define_interface!(IInsertItem, IInsertItem_Vtbl, 0xd2b57227_3d23_4b95_93c0_492bd454c356); windows_core::imp::interface_hierarchy!(IInsertItem, windows_core::IUnknown); impl IInsertItem { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -15153,7 +15153,7 @@ pub struct IInsertItem_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] InsertItem: usize, } -windows_core::imp::com_interface!(IItemNameLimits, IItemNameLimits_Vtbl, 0x1df0d7f1_b267_4d28_8b10_12e23202a5c4); +windows_core::imp::define_interface!(IItemNameLimits, IItemNameLimits_Vtbl, 0x1df0d7f1_b267_4d28_8b10_12e23202a5c4); windows_core::imp::interface_hierarchy!(IItemNameLimits, windows_core::IUnknown); impl IItemNameLimits { pub unsafe fn GetValidCharacters(&self, ppwszvalidchars: *mut windows_core::PWSTR, ppwszinvalidchars: *mut windows_core::PWSTR) -> windows_core::Result<()> { @@ -15173,7 +15173,7 @@ pub struct IItemNameLimits_Vtbl { pub GetValidCharacters: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetMaxLength: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownFolder, IKnownFolder_Vtbl, 0x3aa7af7e_9b36_420c_a8e3_f77d4674a488); +windows_core::imp::define_interface!(IKnownFolder, IKnownFolder_Vtbl, 0x3aa7af7e_9b36_420c_a8e3_f77d4674a488); windows_core::imp::interface_hierarchy!(IKnownFolder, windows_core::IUnknown); impl IKnownFolder { pub unsafe fn GetId(&self) -> windows_core::Result { @@ -15234,7 +15234,7 @@ pub struct IKnownFolder_Vtbl { pub GetRedirectionCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetFolderDefinition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut KNOWNFOLDER_DEFINITION) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IKnownFolderManager, IKnownFolderManager_Vtbl, 0x8be2d872_86aa_4d47_b776_32cca40c7018); +windows_core::imp::define_interface!(IKnownFolderManager, IKnownFolderManager_Vtbl, 0x8be2d872_86aa_4d47_b776_32cca40c7018); windows_core::imp::interface_hierarchy!(IKnownFolderManager, windows_core::IUnknown); impl IKnownFolderManager { pub unsafe fn FolderIdFromCsidl(&self, ncsidl: i32) -> windows_core::Result { @@ -15302,7 +15302,7 @@ pub struct IKnownFolderManager_Vtbl { FindFolderFromIDList: usize, pub Redirect: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, super::super::Foundation::HWND, u32, windows_core::PCWSTR, u32, *const windows_core::GUID, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILaunchSourceAppUserModelId, ILaunchSourceAppUserModelId_Vtbl, 0x989191ac_28ff_4cf0_9584_e0d078bc2396); +windows_core::imp::define_interface!(ILaunchSourceAppUserModelId, ILaunchSourceAppUserModelId_Vtbl, 0x989191ac_28ff_4cf0_9584_e0d078bc2396); windows_core::imp::interface_hierarchy!(ILaunchSourceAppUserModelId, windows_core::IUnknown); impl ILaunchSourceAppUserModelId { pub unsafe fn GetAppUserModelId(&self) -> windows_core::Result { @@ -15315,7 +15315,7 @@ pub struct ILaunchSourceAppUserModelId_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetAppUserModelId: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILaunchSourceViewSizePreference, ILaunchSourceViewSizePreference_Vtbl, 0xe5aa01f7_1fb8_4830_8720_4e6734cbd5f3); +windows_core::imp::define_interface!(ILaunchSourceViewSizePreference, ILaunchSourceViewSizePreference_Vtbl, 0xe5aa01f7_1fb8_4830_8720_4e6734cbd5f3); windows_core::imp::interface_hierarchy!(ILaunchSourceViewSizePreference, windows_core::IUnknown); impl ILaunchSourceViewSizePreference { pub unsafe fn GetSourceViewToPosition(&self) -> windows_core::Result { @@ -15333,7 +15333,7 @@ pub struct ILaunchSourceViewSizePreference_Vtbl { pub GetSourceViewToPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, pub GetSourceViewSizePreference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut APPLICATION_VIEW_SIZE_PREFERENCE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILaunchTargetMonitor, ILaunchTargetMonitor_Vtbl, 0x266fbc7e_490d_46ed_a96b_2274db252003); +windows_core::imp::define_interface!(ILaunchTargetMonitor, ILaunchTargetMonitor_Vtbl, 0x266fbc7e_490d_46ed_a96b_2274db252003); windows_core::imp::interface_hierarchy!(ILaunchTargetMonitor, windows_core::IUnknown); impl ILaunchTargetMonitor { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -15350,7 +15350,7 @@ pub struct ILaunchTargetMonitor_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetMonitor: usize, } -windows_core::imp::com_interface!(ILaunchTargetViewSizePreference, ILaunchTargetViewSizePreference_Vtbl, 0x2f0666c6_12f7_4360_b511_a394a0553725); +windows_core::imp::define_interface!(ILaunchTargetViewSizePreference, ILaunchTargetViewSizePreference_Vtbl, 0x2f0666c6_12f7_4360_b511_a394a0553725); windows_core::imp::interface_hierarchy!(ILaunchTargetViewSizePreference, windows_core::IUnknown); impl ILaunchTargetViewSizePreference { pub unsafe fn GetTargetViewSizePreference(&self) -> windows_core::Result { @@ -15363,7 +15363,7 @@ pub struct ILaunchTargetViewSizePreference_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetTargetViewSizePreference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut APPLICATION_VIEW_SIZE_PREFERENCE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILaunchUIContext, ILaunchUIContext_Vtbl, 0x1791e8f6_21c7_4340_882a_a6a93e3fd73b); +windows_core::imp::define_interface!(ILaunchUIContext, ILaunchUIContext_Vtbl, 0x1791e8f6_21c7_4340_882a_a6a93e3fd73b); windows_core::imp::interface_hierarchy!(ILaunchUIContext, windows_core::IUnknown); impl ILaunchUIContext { pub unsafe fn SetAssociatedWindow(&self, value: P0) -> windows_core::Result<()> @@ -15382,7 +15382,7 @@ pub struct ILaunchUIContext_Vtbl { pub SetAssociatedWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, pub SetTabGroupingPreference: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ILaunchUIContextProvider, ILaunchUIContextProvider_Vtbl, 0x0d12c4c8_a3d9_4e24_94c1_0e20c5a956c4); +windows_core::imp::define_interface!(ILaunchUIContextProvider, ILaunchUIContextProvider_Vtbl, 0x0d12c4c8_a3d9_4e24_94c1_0e20c5a956c4); windows_core::imp::interface_hierarchy!(ILaunchUIContextProvider, windows_core::IUnknown); impl ILaunchUIContextProvider { pub unsafe fn UpdateContext(&self, context: P0) -> windows_core::Result<()> @@ -15397,7 +15397,7 @@ pub struct ILaunchUIContextProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub UpdateContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMenuBand, IMenuBand_Vtbl, 0x568804cd_cbd7_11d0_9816_00c04fd91972); +windows_core::imp::define_interface!(IMenuBand, IMenuBand_Vtbl, 0x568804cd_cbd7_11d0_9816_00c04fd91972); windows_core::imp::interface_hierarchy!(IMenuBand, windows_core::IUnknown); impl IMenuBand { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -15422,7 +15422,7 @@ pub struct IMenuBand_Vtbl { TranslateMenuMessage: usize, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IMenuPopup, IMenuPopup_Vtbl, 0xd1e7afeb_6a2e_11d0_8c78_00c04fd918b4); +windows_core::imp::define_interface!(IMenuPopup, IMenuPopup_Vtbl, 0xd1e7afeb_6a2e_11d0_8c78_00c04fd918b4); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IMenuPopup, windows_core::IUnknown, super::super::System::Ole::IOleWindow, IDeskBar); #[cfg(feature = "Win32_System_Ole")] @@ -15478,7 +15478,7 @@ pub struct IMenuPopup_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] SetSubMenu: usize, } -windows_core::imp::com_interface!(IModalWindow, IModalWindow_Vtbl, 0xb4db1657_70d7_485e_8e3e_6fcb5a5c1802); +windows_core::imp::define_interface!(IModalWindow, IModalWindow_Vtbl, 0xb4db1657_70d7_485e_8e3e_6fcb5a5c1802); windows_core::imp::interface_hierarchy!(IModalWindow, windows_core::IUnknown); impl IModalWindow { pub unsafe fn Show(&self, hwndowner: P0) -> windows_core::Result<()> @@ -15493,7 +15493,7 @@ pub struct IModalWindow_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INameSpaceTreeAccessible, INameSpaceTreeAccessible_Vtbl, 0x71f312de_43ed_4190_8477_e9536b82350b); +windows_core::imp::define_interface!(INameSpaceTreeAccessible, INameSpaceTreeAccessible_Vtbl, 0x71f312de_43ed_4190_8477_e9536b82350b); windows_core::imp::interface_hierarchy!(INameSpaceTreeAccessible, windows_core::IUnknown); impl INameSpaceTreeAccessible { pub unsafe fn OnGetDefaultAccessibilityAction(&self, psi: P0) -> windows_core::Result @@ -15524,7 +15524,7 @@ pub struct INameSpaceTreeAccessible_Vtbl { 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, } -windows_core::imp::com_interface!(INameSpaceTreeControl, INameSpaceTreeControl_Vtbl, 0x028212a3_b627_47e9_8856_c14265554e4f); +windows_core::imp::define_interface!(INameSpaceTreeControl, INameSpaceTreeControl_Vtbl, 0x028212a3_b627_47e9_8856_c14265554e4f); windows_core::imp::interface_hierarchy!(INameSpaceTreeControl, windows_core::IUnknown); impl INameSpaceTreeControl { pub unsafe fn Initialize(&self, hwndparent: P0, prc: *const super::super::Foundation::RECT, nsctsflags: u32) -> windows_core::Result<()> @@ -15657,7 +15657,7 @@ pub struct INameSpaceTreeControl_Vtbl { pub GetItemRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, pub CollapseAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INameSpaceTreeControl2, INameSpaceTreeControl2_Vtbl, 0x7cc7aed8_290e_49bc_8945_c1401cc9306c); +windows_core::imp::define_interface!(INameSpaceTreeControl2, INameSpaceTreeControl2_Vtbl, 0x7cc7aed8_290e_49bc_8945_c1401cc9306c); windows_core::imp::interface_hierarchy!(INameSpaceTreeControl2, windows_core::IUnknown, INameSpaceTreeControl); impl INameSpaceTreeControl2 { pub unsafe fn Initialize(&self, hwndparent: P0, prc: *const super::super::Foundation::RECT, nsctsflags: u32) -> windows_core::Result<()> @@ -15789,7 +15789,7 @@ pub struct INameSpaceTreeControl2_Vtbl { pub SetControlStyle2: unsafe extern "system" fn(*mut core::ffi::c_void, NSTCSTYLE2, NSTCSTYLE2) -> windows_core::HRESULT, pub GetControlStyle2: unsafe extern "system" fn(*mut core::ffi::c_void, NSTCSTYLE2, *mut NSTCSTYLE2) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INameSpaceTreeControlCustomDraw, INameSpaceTreeControlCustomDraw_Vtbl, 0x2d3ba758_33ee_42d5_bb7b_5f3431d86c78); +windows_core::imp::define_interface!(INameSpaceTreeControlCustomDraw, INameSpaceTreeControlCustomDraw_Vtbl, 0x2d3ba758_33ee_42d5_bb7b_5f3431d86c78); windows_core::imp::interface_hierarchy!(INameSpaceTreeControlCustomDraw, windows_core::IUnknown); impl INameSpaceTreeControlCustomDraw { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -15842,7 +15842,7 @@ pub struct INameSpaceTreeControlCustomDraw_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls")))] ItemPostPaint: usize, } -windows_core::imp::com_interface!(INameSpaceTreeControlDropHandler, INameSpaceTreeControlDropHandler_Vtbl, 0xf9c665d6_c2f2_4c19_bf33_8322d7352f51); +windows_core::imp::define_interface!(INameSpaceTreeControlDropHandler, INameSpaceTreeControlDropHandler_Vtbl, 0xf9c665d6_c2f2_4c19_bf33_8322d7352f51); windows_core::imp::interface_hierarchy!(INameSpaceTreeControlDropHandler, windows_core::IUnknown); impl INameSpaceTreeControlDropHandler { pub unsafe fn OnDragEnter(&self, psiover: P0, psiadata: P1, foutsidesource: P2, grfkeystate: u32, pdweffect: *mut u32) -> windows_core::Result<()> @@ -15898,7 +15898,7 @@ pub struct INameSpaceTreeControlDropHandler_Vtbl { pub OnDropPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, pub OnDragLeave: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INameSpaceTreeControlEvents, INameSpaceTreeControlEvents_Vtbl, 0x93d77985_b3d8_4484_8318_672cdda002ce); +windows_core::imp::define_interface!(INameSpaceTreeControlEvents, INameSpaceTreeControlEvents_Vtbl, 0x93d77985_b3d8_4484_8318_672cdda002ce); windows_core::imp::interface_hierarchy!(INameSpaceTreeControlEvents, windows_core::IUnknown); impl INameSpaceTreeControlEvents { pub unsafe fn OnItemClick(&self, psi: P0, nstcehittest: u32, nstceclicktype: u32) -> windows_core::Result<()> @@ -16036,7 +16036,7 @@ pub struct INameSpaceTreeControlEvents_Vtbl { pub OnBeforeStateImageChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnGetDefaultIconIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INameSpaceTreeControlFolderCapabilities, INameSpaceTreeControlFolderCapabilities_Vtbl, 0xe9701183_e6b3_4ff2_8568_813615fec7be); +windows_core::imp::define_interface!(INameSpaceTreeControlFolderCapabilities, INameSpaceTreeControlFolderCapabilities_Vtbl, 0xe9701183_e6b3_4ff2_8568_813615fec7be); windows_core::imp::interface_hierarchy!(INameSpaceTreeControlFolderCapabilities, windows_core::IUnknown); impl INameSpaceTreeControlFolderCapabilities { pub unsafe fn GetFolderCapabilities(&self, nfcmask: NSTCFOLDERCAPABILITIES) -> windows_core::Result { @@ -16049,7 +16049,7 @@ pub struct INameSpaceTreeControlFolderCapabilities_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetFolderCapabilities: unsafe extern "system" fn(*mut core::ffi::c_void, NSTCFOLDERCAPABILITIES, *mut NSTCFOLDERCAPABILITIES) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INamedPropertyBag, INamedPropertyBag_Vtbl, 0xfb700430_952c_11d1_946f_000000000000); +windows_core::imp::define_interface!(INamedPropertyBag, INamedPropertyBag_Vtbl, 0xfb700430_952c_11d1_946f_000000000000); windows_core::imp::interface_hierarchy!(INamedPropertyBag, windows_core::IUnknown); impl INamedPropertyBag { pub unsafe fn ReadPropertyNPB(&self, pszbagname: P0, pszpropname: P1, pvar: *mut windows_core::PROPVARIANT) -> windows_core::Result<()> @@ -16081,7 +16081,7 @@ pub struct INamedPropertyBag_Vtbl { 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 RemovePropertyNPB: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INamespaceWalk, INamespaceWalk_Vtbl, 0x57ced8a7_3f4a_432c_9350_30f24483f74f); +windows_core::imp::define_interface!(INamespaceWalk, INamespaceWalk_Vtbl, 0x57ced8a7_3f4a_432c_9350_30f24483f74f); windows_core::imp::interface_hierarchy!(INamespaceWalk, windows_core::IUnknown); impl INamespaceWalk { pub unsafe fn Walk(&self, punktowalk: P0, dwflags: u32, cdepth: i32, pnswcb: P1) -> windows_core::Result<()> @@ -16105,7 +16105,7 @@ pub struct INamespaceWalk_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] GetIDArrayResult: usize, } -windows_core::imp::com_interface!(INamespaceWalkCB, INamespaceWalkCB_Vtbl, 0xd92995f8_cf5e_4a76_bf59_ead39ea2b97e); +windows_core::imp::define_interface!(INamespaceWalkCB, INamespaceWalkCB_Vtbl, 0xd92995f8_cf5e_4a76_bf59_ead39ea2b97e); windows_core::imp::interface_hierarchy!(INamespaceWalkCB, windows_core::IUnknown); impl INamespaceWalkCB { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -16150,7 +16150,7 @@ pub struct INamespaceWalkCB_Vtbl { LeaveFolder: usize, pub InitializeProgressDialog: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INamespaceWalkCB2, INamespaceWalkCB2_Vtbl, 0x7ac7492b_c38e_438a_87db_68737844ff70); +windows_core::imp::define_interface!(INamespaceWalkCB2, INamespaceWalkCB2_Vtbl, 0x7ac7492b_c38e_438a_87db_68737844ff70); windows_core::imp::interface_hierarchy!(INamespaceWalkCB2, windows_core::IUnknown, INamespaceWalkCB); impl INamespaceWalkCB2 { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -16186,7 +16186,7 @@ pub struct INamespaceWalkCB2_Vtbl { pub base__: INamespaceWalkCB_Vtbl, pub WalkComplete: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INetworkFolderInternal, INetworkFolderInternal_Vtbl, 0xceb38218_c971_47bb_a703_f0bc99ccdb81); +windows_core::imp::define_interface!(INetworkFolderInternal, INetworkFolderInternal_Vtbl, 0xceb38218_c971_47bb_a703_f0bc99ccdb81); windows_core::imp::interface_hierarchy!(INetworkFolderInternal, windows_core::IUnknown); impl INetworkFolderInternal { pub unsafe fn GetResourceDisplayType(&self) -> windows_core::Result { @@ -16216,7 +16216,7 @@ pub struct INetworkFolderInternal_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] GetProvider: usize, } -windows_core::imp::com_interface!(INewMenuClient, INewMenuClient_Vtbl, 0xdcb07fdc_3bb5_451c_90be_966644fed7b0); +windows_core::imp::define_interface!(INewMenuClient, INewMenuClient_Vtbl, 0xdcb07fdc_3bb5_451c_90be_966644fed7b0); windows_core::imp::interface_hierarchy!(INewMenuClient, windows_core::IUnknown); impl INewMenuClient { pub unsafe fn IncludeItems(&self) -> windows_core::Result { @@ -16237,7 +16237,7 @@ pub struct INewMenuClient_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] SelectAndEditItem: usize, } -windows_core::imp::com_interface!(INewShortcutHookA, INewShortcutHookA_Vtbl, 0x000214e1_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(INewShortcutHookA, INewShortcutHookA_Vtbl, 0x000214e1_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(INewShortcutHookA, windows_core::IUnknown); impl INewShortcutHookA { pub unsafe fn SetReferent(&self, pcszreferent: P0, hwnd: P1) -> windows_core::Result<()> @@ -16276,7 +16276,7 @@ pub struct INewShortcutHookA_Vtbl { pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, i32) -> windows_core::HRESULT, pub GetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PSTR, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INewShortcutHookW, INewShortcutHookW_Vtbl, 0x000214f7_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(INewShortcutHookW, INewShortcutHookW_Vtbl, 0x000214f7_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(INewShortcutHookW, windows_core::IUnknown); impl INewShortcutHookW { pub unsafe fn SetReferent(&self, pcszreferent: P0, hwnd: P1) -> windows_core::Result<()> @@ -16316,7 +16316,7 @@ pub struct INewShortcutHookW_Vtbl { pub GetExtension: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(INewWDEvents, INewWDEvents_Vtbl, 0x0751c551_7568_41c9_8e5b_e22e38919236); +windows_core::imp::define_interface!(INewWDEvents, INewWDEvents_Vtbl, 0x0751c551_7568_41c9_8e5b_e22e38919236); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(INewWDEvents, windows_core::IUnknown, super::super::System::Com::IDispatch, IWebWizardHost); #[cfg(feature = "Win32_System_Com")] @@ -16382,7 +16382,7 @@ 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, } -windows_core::imp::com_interface!(INewWindowManager, INewWindowManager_Vtbl, 0xd2bc4c84_3f72_4a52_a604_7bcbf3982cbb); +windows_core::imp::define_interface!(INewWindowManager, INewWindowManager_Vtbl, 0xd2bc4c84_3f72_4a52_a604_7bcbf3982cbb); windows_core::imp::interface_hierarchy!(INewWindowManager, windows_core::IUnknown); impl INewWindowManager { pub unsafe fn EvaluateNewWindow(&self, pszurl: P0, pszname: P1, pszurlcontext: P2, pszfeatures: P3, freplace: P4, dwflags: u32, dwuseractiontime: u32) -> windows_core::Result<()> @@ -16401,7 +16401,7 @@ pub struct INewWindowManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub EvaluateNewWindow: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::BOOL, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(INotifyReplica, INotifyReplica_Vtbl, 0x99180163_da16_101a_935c_444553540000); +windows_core::imp::define_interface!(INotifyReplica, INotifyReplica_Vtbl, 0x99180163_da16_101a_935c_444553540000); windows_core::imp::interface_hierarchy!(INotifyReplica, windows_core::IUnknown); impl INotifyReplica { #[cfg(feature = "Win32_System_Com")] @@ -16417,7 +16417,7 @@ pub struct INotifyReplica_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] YouAreAReplica: usize, } -windows_core::imp::com_interface!(IObjMgr, IObjMgr_Vtbl, 0x00bb2761_6a77_11d0_a535_00c04fd7d062); +windows_core::imp::define_interface!(IObjMgr, IObjMgr_Vtbl, 0x00bb2761_6a77_11d0_a535_00c04fd7d062); windows_core::imp::interface_hierarchy!(IObjMgr, windows_core::IUnknown); impl IObjMgr { pub unsafe fn Append(&self, punk: P0) -> windows_core::Result<()> @@ -16439,7 +16439,7 @@ pub struct IObjMgr_Vtbl { pub Append: 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, } -windows_core::imp::com_interface!(IObjectProvider, IObjectProvider_Vtbl, 0xa6087428_3be3_4d73_b308_7c04a540bf1a); +windows_core::imp::define_interface!(IObjectProvider, IObjectProvider_Vtbl, 0xa6087428_3be3_4d73_b308_7c04a540bf1a); windows_core::imp::interface_hierarchy!(IObjectProvider, windows_core::IUnknown); impl IObjectProvider { pub unsafe fn QueryObject(&self, guidobject: *const windows_core::GUID) -> windows_core::Result @@ -16455,7 +16455,7 @@ pub struct IObjectProvider_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryObject: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectWithAppUserModelID, IObjectWithAppUserModelID_Vtbl, 0x36db0196_9665_46d1_9ba7_d3709eecf9ed); +windows_core::imp::define_interface!(IObjectWithAppUserModelID, IObjectWithAppUserModelID_Vtbl, 0x36db0196_9665_46d1_9ba7_d3709eecf9ed); windows_core::imp::interface_hierarchy!(IObjectWithAppUserModelID, windows_core::IUnknown); impl IObjectWithAppUserModelID { pub unsafe fn SetAppID(&self, pszappid: P0) -> windows_core::Result<()> @@ -16475,7 +16475,7 @@ pub struct IObjectWithAppUserModelID_Vtbl { pub SetAppID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetAppID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectWithBackReferences, IObjectWithBackReferences_Vtbl, 0x321a6a6a_d61f_4bf3_97ae_14be2986bb36); +windows_core::imp::define_interface!(IObjectWithBackReferences, IObjectWithBackReferences_Vtbl, 0x321a6a6a_d61f_4bf3_97ae_14be2986bb36); windows_core::imp::interface_hierarchy!(IObjectWithBackReferences, windows_core::IUnknown); impl IObjectWithBackReferences { pub unsafe fn RemoveBackReferences(&self) -> windows_core::Result<()> { @@ -16487,7 +16487,7 @@ pub struct IObjectWithBackReferences_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RemoveBackReferences: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectWithCancelEvent, IObjectWithCancelEvent_Vtbl, 0xf279b885_0ae9_4b85_ac06_ddecf9408941); +windows_core::imp::define_interface!(IObjectWithCancelEvent, IObjectWithCancelEvent_Vtbl, 0xf279b885_0ae9_4b85_ac06_ddecf9408941); windows_core::imp::interface_hierarchy!(IObjectWithCancelEvent, windows_core::IUnknown); impl IObjectWithCancelEvent { pub unsafe fn GetCancelEvent(&self) -> windows_core::Result { @@ -16500,7 +16500,7 @@ pub struct IObjectWithCancelEvent_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetCancelEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectWithFolderEnumMode, IObjectWithFolderEnumMode_Vtbl, 0x6a9d9026_0e6e_464c_b000_42ecc07de673); +windows_core::imp::define_interface!(IObjectWithFolderEnumMode, IObjectWithFolderEnumMode_Vtbl, 0x6a9d9026_0e6e_464c_b000_42ecc07de673); windows_core::imp::interface_hierarchy!(IObjectWithFolderEnumMode, windows_core::IUnknown); impl IObjectWithFolderEnumMode { pub unsafe fn SetMode(&self, femode: FOLDER_ENUM_MODE) -> windows_core::Result<()> { @@ -16517,7 +16517,7 @@ pub struct IObjectWithFolderEnumMode_Vtbl { pub SetMode: unsafe extern "system" fn(*mut core::ffi::c_void, FOLDER_ENUM_MODE) -> windows_core::HRESULT, pub GetMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut FOLDER_ENUM_MODE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectWithProgID, IObjectWithProgID_Vtbl, 0x71e806fb_8dee_46fc_bf8c_7748a8a1ae13); +windows_core::imp::define_interface!(IObjectWithProgID, IObjectWithProgID_Vtbl, 0x71e806fb_8dee_46fc_bf8c_7748a8a1ae13); windows_core::imp::interface_hierarchy!(IObjectWithProgID, windows_core::IUnknown); impl IObjectWithProgID { pub unsafe fn SetProgID(&self, pszprogid: P0) -> windows_core::Result<()> @@ -16537,7 +16537,7 @@ pub struct IObjectWithProgID_Vtbl { pub SetProgID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetProgID: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IObjectWithSelection, IObjectWithSelection_Vtbl, 0x1c9cd5bb_98e9_4491_a60f_31aacc72b83c); +windows_core::imp::define_interface!(IObjectWithSelection, IObjectWithSelection_Vtbl, 0x1c9cd5bb_98e9_4491_a60f_31aacc72b83c); windows_core::imp::interface_hierarchy!(IObjectWithSelection, windows_core::IUnknown); impl IObjectWithSelection { pub unsafe fn SetSelection(&self, psia: P0) -> windows_core::Result<()> @@ -16560,7 +16560,7 @@ pub struct IObjectWithSelection_Vtbl { pub SetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSelection: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpenControlPanel, IOpenControlPanel_Vtbl, 0xd11ad862_66de_4df4_bf6c_1f5621996af1); +windows_core::imp::define_interface!(IOpenControlPanel, IOpenControlPanel_Vtbl, 0xd11ad862_66de_4df4_bf6c_1f5621996af1); windows_core::imp::interface_hierarchy!(IOpenControlPanel, windows_core::IUnknown); impl IOpenControlPanel { pub unsafe fn Open(&self, pszname: P0, pszpage: P1, punksite: P2) -> windows_core::Result<()> @@ -16589,7 +16589,7 @@ pub struct IOpenControlPanel_Vtbl { pub GetPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PWSTR, u32) -> windows_core::HRESULT, pub GetCurrentView: unsafe extern "system" fn(*mut core::ffi::c_void, *mut CPVIEW) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpenSearchSource, IOpenSearchSource_Vtbl, 0xf0ee7333_e6fc_479b_9f25_a860c234a38e); +windows_core::imp::define_interface!(IOpenSearchSource, IOpenSearchSource_Vtbl, 0xf0ee7333_e6fc_479b_9f25_a860c234a38e); windows_core::imp::interface_hierarchy!(IOpenSearchSource, windows_core::IUnknown); impl IOpenSearchSource { pub unsafe fn GetResults(&self, hwnd: P0, pszquery: P1, dwstartindex: u32, dwcount: u32) -> windows_core::Result @@ -16607,7 +16607,7 @@ pub struct IOpenSearchSource_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetResults: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, u32, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOperationsProgressDialog, IOperationsProgressDialog_Vtbl, 0x0c9fb851_e5c9_43eb_a370_f0677b13874c); +windows_core::imp::define_interface!(IOperationsProgressDialog, IOperationsProgressDialog_Vtbl, 0x0c9fb851_e5c9_43eb_a370_f0677b13874c); windows_core::imp::interface_hierarchy!(IOperationsProgressDialog, windows_core::IUnknown); impl IOperationsProgressDialog { pub unsafe fn StartProgressDialog(&self, hwndowner: P0, flags: u32) -> windows_core::Result<()> @@ -16672,7 +16672,7 @@ pub struct IOperationsProgressDialog_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetOperationStatus: usize, } -windows_core::imp::com_interface!(IPackageDebugSettings, IPackageDebugSettings_Vtbl, 0xf27c3930_8029_4ad1_94e3_3dba417810c1); +windows_core::imp::define_interface!(IPackageDebugSettings, IPackageDebugSettings_Vtbl, 0xf27c3930_8029_4ad1_94e3_3dba417810c1); windows_core::imp::interface_hierarchy!(IPackageDebugSettings, windows_core::IUnknown); impl IPackageDebugSettings { pub unsafe fn EnableDebugging(&self, packagefullname: P0, debuggercommandline: P1, environment: P2) -> windows_core::Result<()> @@ -16781,7 +16781,7 @@ pub struct IPackageDebugSettings_Vtbl { pub RegisterForPackageStateChanges: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UnregisterForPackageStateChanges: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageDebugSettings2, IPackageDebugSettings2_Vtbl, 0x6e3194bb_ab82_4d22_93f5_fabda40e7b16); +windows_core::imp::define_interface!(IPackageDebugSettings2, IPackageDebugSettings2_Vtbl, 0x6e3194bb_ab82_4d22_93f5_fabda40e7b16); windows_core::imp::interface_hierarchy!(IPackageDebugSettings2, windows_core::IUnknown, IPackageDebugSettings); impl IPackageDebugSettings2 { pub unsafe fn EnableDebugging(&self, packagefullname: P0, debuggercommandline: P1, environment: P2) -> windows_core::Result<()> @@ -16882,7 +16882,7 @@ pub struct IPackageDebugSettings2_Vtbl { pub base__: IPackageDebugSettings_Vtbl, pub EnumerateApps: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut u32, *mut *mut windows_core::PWSTR, *mut *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPackageExecutionStateChangeNotification, IPackageExecutionStateChangeNotification_Vtbl, 0x1bb12a62_2ad8_432b_8ccf_0c2c52afcd5b); +windows_core::imp::define_interface!(IPackageExecutionStateChangeNotification, IPackageExecutionStateChangeNotification_Vtbl, 0x1bb12a62_2ad8_432b_8ccf_0c2c52afcd5b); windows_core::imp::interface_hierarchy!(IPackageExecutionStateChangeNotification, windows_core::IUnknown); impl IPackageExecutionStateChangeNotification { pub unsafe fn OnStateChanged(&self, pszpackagefullname: P0, pesnewstate: PACKAGE_EXECUTION_STATE) -> windows_core::Result<()> @@ -16897,7 +16897,7 @@ pub struct IPackageExecutionStateChangeNotification_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnStateChanged: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, PACKAGE_EXECUTION_STATE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IParentAndItem, IParentAndItem_Vtbl, 0xb3a4b685_b685_4805_99d9_5dead2873236); +windows_core::imp::define_interface!(IParentAndItem, IParentAndItem_Vtbl, 0xb3a4b685_b685_4805_99d9_5dead2873236); windows_core::imp::interface_hierarchy!(IParentAndItem, windows_core::IUnknown); impl IParentAndItem { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -16924,7 +16924,7 @@ pub struct IParentAndItem_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] GetParentAndItem: usize, } -windows_core::imp::com_interface!(IParseAndCreateItem, IParseAndCreateItem_Vtbl, 0x67efed0e_e827_4408_b493_78f3982b685c); +windows_core::imp::define_interface!(IParseAndCreateItem, IParseAndCreateItem_Vtbl, 0x67efed0e_e827_4408_b493_78f3982b685c); windows_core::imp::interface_hierarchy!(IParseAndCreateItem, windows_core::IUnknown); impl IParseAndCreateItem { pub unsafe fn SetItem(&self, psi: P0) -> windows_core::Result<()> @@ -16948,7 +16948,7 @@ pub struct IParseAndCreateItem_Vtbl { pub GetItem: 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")] -windows_core::imp::com_interface!(IPersistFolder, IPersistFolder_Vtbl, 0x000214ea_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IPersistFolder, IPersistFolder_Vtbl, 0x000214ea_0000_0000_c000_000000000046); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPersistFolder, windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] @@ -16973,7 +16973,7 @@ pub struct IPersistFolder_Vtbl { Initialize: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPersistFolder2, IPersistFolder2_Vtbl, 0x1ac3d9f0_175c_11d1_95be_00609797ea4f); +windows_core::imp::define_interface!(IPersistFolder2, IPersistFolder2_Vtbl, 0x1ac3d9f0_175c_11d1_95be_00609797ea4f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPersistFolder2, windows_core::IUnknown, super::super::System::Com::IPersist, IPersistFolder); #[cfg(feature = "Win32_System_Com")] @@ -17003,7 +17003,7 @@ pub struct IPersistFolder2_Vtbl { GetCurFolder: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPersistFolder3, IPersistFolder3_Vtbl, 0xcef04fdf_fe72_11d2_87a5_00c04f6837cf); +windows_core::imp::define_interface!(IPersistFolder3, IPersistFolder3_Vtbl, 0xcef04fdf_fe72_11d2_87a5_00c04f6837cf); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPersistFolder3, windows_core::IUnknown, super::super::System::Com::IPersist, IPersistFolder, IPersistFolder2); #[cfg(feature = "Win32_System_Com")] @@ -17048,7 +17048,7 @@ pub struct IPersistFolder3_Vtbl { GetFolderTargetInfo: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPersistIDList, IPersistIDList_Vtbl, 0x1079acfc_29bd_11d3_8e0d_00c04f6837d5); +windows_core::imp::define_interface!(IPersistIDList, IPersistIDList_Vtbl, 0x1079acfc_29bd_11d3_8e0d_00c04f6837d5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPersistIDList, windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] @@ -17081,7 +17081,7 @@ pub struct IPersistIDList_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] GetIDList: usize, } -windows_core::imp::com_interface!(IPreviewHandler, IPreviewHandler_Vtbl, 0x8895b1c6_b41f_4c1c_a562_0d564250836f); +windows_core::imp::define_interface!(IPreviewHandler, IPreviewHandler_Vtbl, 0x8895b1c6_b41f_4c1c_a562_0d564250836f); windows_core::imp::interface_hierarchy!(IPreviewHandler, windows_core::IUnknown); impl IPreviewHandler { pub unsafe fn SetWindow(&self, hwnd: P0, prc: *const super::super::Foundation::RECT) -> windows_core::Result<()> @@ -17125,7 +17125,7 @@ pub struct IPreviewHandler_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] TranslateAccelerator: usize, } -windows_core::imp::com_interface!(IPreviewHandlerFrame, IPreviewHandlerFrame_Vtbl, 0xfec87aaf_35f9_447a_adb7_20234491401a); +windows_core::imp::define_interface!(IPreviewHandlerFrame, IPreviewHandlerFrame_Vtbl, 0xfec87aaf_35f9_447a_adb7_20234491401a); windows_core::imp::interface_hierarchy!(IPreviewHandlerFrame, windows_core::IUnknown); impl IPreviewHandlerFrame { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -17150,7 +17150,7 @@ pub struct IPreviewHandlerFrame_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] TranslateAccelerator: usize, } -windows_core::imp::com_interface!(IPreviewHandlerVisuals, IPreviewHandlerVisuals_Vtbl, 0x196bf9a5_b346_4ef0_aa1e_5dcdb76768b1); +windows_core::imp::define_interface!(IPreviewHandlerVisuals, IPreviewHandlerVisuals_Vtbl, 0x196bf9a5_b346_4ef0_aa1e_5dcdb76768b1); windows_core::imp::interface_hierarchy!(IPreviewHandlerVisuals, windows_core::IUnknown); impl IPreviewHandlerVisuals { pub unsafe fn SetBackgroundColor(&self, color: P0) -> windows_core::Result<()> @@ -17180,7 +17180,7 @@ pub struct IPreviewHandlerVisuals_Vtbl { SetFont: usize, pub SetTextColor: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::COLORREF) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPreviewItem, IPreviewItem_Vtbl, 0x36149969_0a8f_49c8_8b00_4aecb20222fb); +windows_core::imp::define_interface!(IPreviewItem, IPreviewItem_Vtbl, 0x36149969_0a8f_49c8_8b00_4aecb20222fb); windows_core::imp::interface_hierarchy!(IPreviewItem, windows_core::IUnknown, IRelatedItem); impl IPreviewItem { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -17197,7 +17197,7 @@ impl IPreviewItem { pub struct IPreviewItem_Vtbl { pub base__: IRelatedItem_Vtbl, } -windows_core::imp::com_interface!(IPreviousVersionsInfo, IPreviousVersionsInfo_Vtbl, 0x76e54780_ad74_48e3_a695_3ba9a0aff10d); +windows_core::imp::define_interface!(IPreviousVersionsInfo, IPreviousVersionsInfo_Vtbl, 0x76e54780_ad74_48e3_a695_3ba9a0aff10d); windows_core::imp::interface_hierarchy!(IPreviousVersionsInfo, windows_core::IUnknown); impl IPreviousVersionsInfo { pub unsafe fn AreSnapshotsAvailable(&self, pszpath: P0, foktobeslow: P1) -> windows_core::Result @@ -17214,7 +17214,7 @@ pub struct IPreviousVersionsInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AreSnapshotsAvailable: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::Foundation::BOOL, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProfferService, IProfferService_Vtbl, 0xcb728b20_f786_11ce_92ad_00aa00a74cd0); +windows_core::imp::define_interface!(IProfferService, IProfferService_Vtbl, 0xcb728b20_f786_11ce_92ad_00aa00a74cd0); windows_core::imp::interface_hierarchy!(IProfferService, windows_core::IUnknown); impl IProfferService { #[cfg(feature = "Win32_System_Com")] @@ -17238,7 +17238,7 @@ pub struct IProfferService_Vtbl { ProfferService: usize, pub RevokeService: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IProgressDialog, IProgressDialog_Vtbl, 0xebbc7c04_315e_11d2_b62f_006097df5bd4); +windows_core::imp::define_interface!(IProgressDialog, IProgressDialog_Vtbl, 0xebbc7c04_315e_11d2_b62f_006097df5bd4); windows_core::imp::interface_hierarchy!(IProgressDialog, windows_core::IUnknown); impl IProgressDialog { pub unsafe fn StartProgressDialog(&self, hwndparent: P0, punkenablemodless: P1, dwflags: u32, pvresevered: Option<*const core::ffi::c_void>) -> windows_core::Result<()> @@ -17303,7 +17303,7 @@ pub struct IProgressDialog_Vtbl { pub SetCancelMsg: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const core::ffi::c_void) -> windows_core::HRESULT, pub Timer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPropertyKeyStore, IPropertyKeyStore_Vtbl, 0x75bd59aa_f23b_4963_aba4_0b355752a91b); +windows_core::imp::define_interface!(IPropertyKeyStore, IPropertyKeyStore_Vtbl, 0x75bd59aa_f23b_4963_aba4_0b355752a91b); windows_core::imp::interface_hierarchy!(IPropertyKeyStore, windows_core::IUnknown); impl IPropertyKeyStore { pub unsafe fn GetKeyCount(&self) -> windows_core::Result { @@ -17352,7 +17352,7 @@ pub struct IPropertyKeyStore_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] RemoveKey: usize, } -windows_core::imp::com_interface!(IPublishedApp, IPublishedApp_Vtbl, 0x1bc752e0_9046_11d1_b8b3_006008059382); +windows_core::imp::define_interface!(IPublishedApp, IPublishedApp_Vtbl, 0x1bc752e0_9046_11d1_b8b3_006008059382); windows_core::imp::interface_hierarchy!(IPublishedApp, windows_core::IUnknown, IShellApp); impl IPublishedApp { pub unsafe fn GetAppInfo(&self, pai: *mut APPINFODATA) -> windows_core::Result<()> { @@ -17388,7 +17388,7 @@ pub struct IPublishedApp_Vtbl { pub GetPublishedAppInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut PUBAPPINFO) -> windows_core::HRESULT, pub Unschedule: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPublishedApp2, IPublishedApp2_Vtbl, 0x12b81347_1b3a_4a04_aa61_3f768b67fd7e); +windows_core::imp::define_interface!(IPublishedApp2, IPublishedApp2_Vtbl, 0x12b81347_1b3a_4a04_aa61_3f768b67fd7e); windows_core::imp::interface_hierarchy!(IPublishedApp2, windows_core::IUnknown, IShellApp, IPublishedApp); impl IPublishedApp2 { pub unsafe fn GetAppInfo(&self, pai: *mut APPINFODATA) -> windows_core::Result<()> { @@ -17428,7 +17428,7 @@ pub struct IPublishedApp2_Vtbl { pub base__: IPublishedApp_Vtbl, pub Install2: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::SYSTEMTIME, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPublishingWizard, IPublishingWizard_Vtbl, 0xaa9198bb_ccec_472d_beed_19a4f6733f7a); +windows_core::imp::define_interface!(IPublishingWizard, IPublishingWizard_Vtbl, 0xaa9198bb_ccec_472d_beed_19a4f6733f7a); windows_core::imp::interface_hierarchy!(IPublishingWizard, windows_core::IUnknown, IWizardExtension); impl IPublishingWizard { #[cfg(feature = "Win32_UI_Controls")] @@ -17470,7 +17470,7 @@ pub struct IPublishingWizard_Vtbl { #[cfg(not(all(feature = "Win32_Data_Xml_MsXml", feature = "Win32_System_Com")))] GetTransferManifest: usize, } -windows_core::imp::com_interface!(IQueryAssociations, IQueryAssociations_Vtbl, 0xc46ca590_3c3f_11d2_bee6_0000f805ca57); +windows_core::imp::define_interface!(IQueryAssociations, IQueryAssociations_Vtbl, 0xc46ca590_3c3f_11d2_bee6_0000f805ca57); windows_core::imp::interface_hierarchy!(IQueryAssociations, windows_core::IUnknown); impl IQueryAssociations { #[cfg(feature = "Win32_System_Registry")] @@ -17524,7 +17524,7 @@ pub struct IQueryAssociations_Vtbl { pub GetData: unsafe extern "system" fn(*mut core::ffi::c_void, ASSOCF, ASSOCDATA, windows_core::PCWSTR, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetEnum: unsafe extern "system" fn(*mut core::ffi::c_void, ASSOCF, ASSOCENUM, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQueryCancelAutoPlay, IQueryCancelAutoPlay_Vtbl, 0xddefe873_6997_4e68_be26_39b633adbe12); +windows_core::imp::define_interface!(IQueryCancelAutoPlay, IQueryCancelAutoPlay_Vtbl, 0xddefe873_6997_4e68_be26_39b633adbe12); windows_core::imp::interface_hierarchy!(IQueryCancelAutoPlay, windows_core::IUnknown); impl IQueryCancelAutoPlay { pub unsafe fn AllowAutoPlay(&self, pszpath: P0, dwcontenttype: u32, pszlabel: P1, dwserialnumber: u32) -> windows_core::Result<()> @@ -17540,7 +17540,7 @@ pub struct IQueryCancelAutoPlay_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub AllowAutoPlay: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQueryCodePage, IQueryCodePage_Vtbl, 0xc7b236ce_ee80_11d0_985f_006008059382); +windows_core::imp::define_interface!(IQueryCodePage, IQueryCodePage_Vtbl, 0xc7b236ce_ee80_11d0_985f_006008059382); windows_core::imp::interface_hierarchy!(IQueryCodePage, windows_core::IUnknown); impl IQueryCodePage { pub unsafe fn GetCodePage(&self) -> windows_core::Result { @@ -17557,7 +17557,7 @@ pub struct IQueryCodePage_Vtbl { pub GetCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetCodePage: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQueryContinue, IQueryContinue_Vtbl, 0x7307055c_b24a_486b_9f25_163e597a28a9); +windows_core::imp::define_interface!(IQueryContinue, IQueryContinue_Vtbl, 0x7307055c_b24a_486b_9f25_163e597a28a9); windows_core::imp::interface_hierarchy!(IQueryContinue, windows_core::IUnknown); impl IQueryContinue { pub unsafe fn QueryContinue(&self) -> windows_core::Result<()> { @@ -17569,7 +17569,7 @@ pub struct IQueryContinue_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryContinue: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQueryContinueWithStatus, IQueryContinueWithStatus_Vtbl, 0x9090be5b_502b_41fb_bccc_0049a6c7254b); +windows_core::imp::define_interface!(IQueryContinueWithStatus, IQueryContinueWithStatus_Vtbl, 0x9090be5b_502b_41fb_bccc_0049a6c7254b); windows_core::imp::interface_hierarchy!(IQueryContinueWithStatus, windows_core::IUnknown, IQueryContinue); impl IQueryContinueWithStatus { pub unsafe fn QueryContinue(&self) -> windows_core::Result<()> { @@ -17587,7 +17587,7 @@ pub struct IQueryContinueWithStatus_Vtbl { pub base__: IQueryContinue_Vtbl, pub SetStatusMessage: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IQueryInfo, IQueryInfo_Vtbl, 0x00021500_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IQueryInfo, IQueryInfo_Vtbl, 0x00021500_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IQueryInfo, windows_core::IUnknown); impl IQueryInfo { pub unsafe fn GetInfoTip(&self, dwflags: QITIPF_FLAGS) -> windows_core::Result { @@ -17605,7 +17605,7 @@ pub struct IQueryInfo_Vtbl { pub GetInfoTip: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetInfoFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRegTreeItem, IRegTreeItem_Vtbl, 0xa9521922_0812_4d44_9ec3_7fd38c726f3d); +windows_core::imp::define_interface!(IRegTreeItem, IRegTreeItem_Vtbl, 0xa9521922_0812_4d44_9ec3_7fd38c726f3d); windows_core::imp::interface_hierarchy!(IRegTreeItem, windows_core::IUnknown); impl IRegTreeItem { pub unsafe fn GetCheckState(&self) -> windows_core::Result { @@ -17625,7 +17625,7 @@ pub struct IRegTreeItem_Vtbl { pub GetCheckState: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetCheckState: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRelatedItem, IRelatedItem_Vtbl, 0xa73ce67a_8ab1_44f1_8d43_d2fcbf6b1cd0); +windows_core::imp::define_interface!(IRelatedItem, IRelatedItem_Vtbl, 0xa73ce67a_8ab1_44f1_8d43_d2fcbf6b1cd0); windows_core::imp::interface_hierarchy!(IRelatedItem, windows_core::IUnknown); impl IRelatedItem { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -17647,7 +17647,7 @@ pub struct IRelatedItem_Vtbl { GetItemIDList: usize, pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRemoteComputer, IRemoteComputer_Vtbl, 0x000214fe_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IRemoteComputer, IRemoteComputer_Vtbl, 0x000214fe_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IRemoteComputer, windows_core::IUnknown); impl IRemoteComputer { pub unsafe fn Initialize(&self, pszmachine: P0, benumerating: P1) -> windows_core::Result<()> @@ -17663,7 +17663,7 @@ pub struct IRemoteComputer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResolveShellLink, IResolveShellLink_Vtbl, 0x5cd52983_9449_11d2_963a_00c04f79adf0); +windows_core::imp::define_interface!(IResolveShellLink, IResolveShellLink_Vtbl, 0x5cd52983_9449_11d2_963a_00c04f79adf0); windows_core::imp::interface_hierarchy!(IResolveShellLink, windows_core::IUnknown); impl IResolveShellLink { pub unsafe fn ResolveShellLink(&self, punklink: P0, hwnd: P1, fflags: u32) -> windows_core::Result<()> @@ -17679,7 +17679,7 @@ pub struct IResolveShellLink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ResolveShellLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IResultsFolder, IResultsFolder_Vtbl, 0x96e5ae6d_6ae1_4b1c_900c_c6480eaa8828); +windows_core::imp::define_interface!(IResultsFolder, IResultsFolder_Vtbl, 0x96e5ae6d_6ae1_4b1c_900c_c6480eaa8828); windows_core::imp::interface_hierarchy!(IResultsFolder, windows_core::IUnknown); impl IResultsFolder { pub unsafe fn AddItem(&self, psi: P0) -> windows_core::Result<()> @@ -17721,7 +17721,7 @@ pub struct IResultsFolder_Vtbl { RemoveIDList: usize, pub RemoveAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRunnableTask, IRunnableTask_Vtbl, 0x85788d00_6807_11d0_b810_00c04fd706ec); +windows_core::imp::define_interface!(IRunnableTask, IRunnableTask_Vtbl, 0x85788d00_6807_11d0_b810_00c04fd706ec); windows_core::imp::interface_hierarchy!(IRunnableTask, windows_core::IUnknown); impl IRunnableTask { pub unsafe fn Run(&self) -> windows_core::Result<()> { @@ -17753,7 +17753,7 @@ pub struct IRunnableTask_Vtbl { pub IsRunning: unsafe extern "system" fn(*mut core::ffi::c_void) -> u32, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IScriptErrorList, IScriptErrorList_Vtbl, 0xf3470f24_15fd_11d2_bb2e_00805ff7efca); +windows_core::imp::define_interface!(IScriptErrorList, IScriptErrorList_Vtbl, 0xf3470f24_15fd_11d2_bb2e_00805ff7efca); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IScriptErrorList, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -17836,7 +17836,7 @@ pub struct IScriptErrorList_Vtbl { pub getPerErrorDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub setPerErrorDisplay: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchBoxInfo, ISearchBoxInfo_Vtbl, 0x6af6e03f_d664_4ef4_9626_f7e0ed36755e); +windows_core::imp::define_interface!(ISearchBoxInfo, ISearchBoxInfo_Vtbl, 0x6af6e03f_d664_4ef4_9626_f7e0ed36755e); windows_core::imp::interface_hierarchy!(ISearchBoxInfo, windows_core::IUnknown); impl ISearchBoxInfo { pub unsafe fn GetCondition(&self) -> windows_core::Result @@ -17857,7 +17857,7 @@ pub struct ISearchBoxInfo_Vtbl { pub GetCondition: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchContext, ISearchContext_Vtbl, 0x09f656a2_41af_480c_88f7_16cc0d164615); +windows_core::imp::define_interface!(ISearchContext, ISearchContext_Vtbl, 0x09f656a2_41af_480c_88f7_16cc0d164615); windows_core::imp::interface_hierarchy!(ISearchContext, windows_core::IUnknown); impl ISearchContext { pub unsafe fn GetSearchUrl(&self) -> windows_core::Result { @@ -17880,7 +17880,7 @@ pub struct ISearchContext_Vtbl { pub GetSearchText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub GetSearchStyle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISearchFolderItemFactory, ISearchFolderItemFactory_Vtbl, 0xa0ffbc28_5482_4366_be27_3e81e78e06c2); +windows_core::imp::define_interface!(ISearchFolderItemFactory, ISearchFolderItemFactory_Vtbl, 0xa0ffbc28_5482_4366_be27_3e81e78e06c2); windows_core::imp::interface_hierarchy!(ISearchFolderItemFactory, windows_core::IUnknown); impl ISearchFolderItemFactory { pub unsafe fn SetDisplayName(&self, pszdisplayname: P0) -> windows_core::Result<()> @@ -17974,7 +17974,7 @@ pub struct ISearchFolderItemFactory_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] GetIDList: usize, } -windows_core::imp::com_interface!(ISharedBitmap, ISharedBitmap_Vtbl, 0x091162a4_bc96_411f_aae8_c5122cd03363); +windows_core::imp::define_interface!(ISharedBitmap, ISharedBitmap_Vtbl, 0x091162a4_bc96_411f_aae8_c5122cd03363); windows_core::imp::interface_hierarchy!(ISharedBitmap, windows_core::IUnknown); impl ISharedBitmap { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -18021,7 +18021,7 @@ pub struct ISharedBitmap_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] Detach: usize, } -windows_core::imp::com_interface!(ISharingConfigurationManager, ISharingConfigurationManager_Vtbl, 0xb4cd448a_9c86_4466_9201_2e62105b87ae); +windows_core::imp::define_interface!(ISharingConfigurationManager, ISharingConfigurationManager_Vtbl, 0xb4cd448a_9c86_4466_9201_2e62105b87ae); windows_core::imp::interface_hierarchy!(ISharingConfigurationManager, windows_core::IUnknown); impl ISharingConfigurationManager { pub unsafe fn CreateShare(&self, dsid: DEF_SHARE_ID, role: SHARE_ROLE) -> windows_core::Result<()> { @@ -18058,7 +18058,7 @@ pub struct ISharingConfigurationManager_Vtbl { pub StopSharingPrinters: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ArePrintersShared: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellApp, IShellApp_Vtbl, 0xa3e14960_935f_11d1_b8b8_006008059382); +windows_core::imp::define_interface!(IShellApp, IShellApp_Vtbl, 0xa3e14960_935f_11d1_b8b8_006008059382); windows_core::imp::interface_hierarchy!(IShellApp, windows_core::IUnknown); impl IShellApp { pub unsafe fn GetAppInfo(&self, pai: *mut APPINFODATA) -> windows_core::Result<()> { @@ -18088,7 +18088,7 @@ pub struct IShellApp_Vtbl { pub IsInstalled: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IShellBrowser, IShellBrowser_Vtbl, 0x000214e2_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IShellBrowser, IShellBrowser_Vtbl, 0x000214e2_0000_0000_c000_000000000046); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IShellBrowser, windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] @@ -18225,7 +18225,7 @@ pub struct IShellBrowser_Vtbl { #[cfg(not(feature = "Win32_UI_Controls"))] SetToolbarItems: usize, } -windows_core::imp::com_interface!(IShellChangeNotify, IShellChangeNotify_Vtbl, 0xd82be2b1_5764_11d0_a96e_00c04fd705a2); +windows_core::imp::define_interface!(IShellChangeNotify, IShellChangeNotify_Vtbl, 0xd82be2b1_5764_11d0_a96e_00c04fd705a2); windows_core::imp::interface_hierarchy!(IShellChangeNotify, windows_core::IUnknown); impl IShellChangeNotify { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -18241,7 +18241,7 @@ pub struct IShellChangeNotify_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] OnChange: usize, } -windows_core::imp::com_interface!(IShellDetails, IShellDetails_Vtbl, 0x000214ec_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IShellDetails, IShellDetails_Vtbl, 0x000214ec_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IShellDetails, windows_core::IUnknown); impl IShellDetails { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -18262,7 +18262,7 @@ pub struct IShellDetails_Vtbl { pub ColumnClick: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellDispatch, IShellDispatch_Vtbl, 0xd8f015c0_c278_11ce_a49e_444553540000); +windows_core::imp::define_interface!(IShellDispatch, IShellDispatch_Vtbl, 0xd8f015c0_c278_11ce_a49e_444553540000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellDispatch, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -18407,7 +18407,7 @@ pub struct IShellDispatch_Vtbl { pub ControlPanelItem: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellDispatch2, IShellDispatch2_Vtbl, 0xa4c6892c_3ba9_11d2_9dea_00c04fb16162); +windows_core::imp::define_interface!(IShellDispatch2, IShellDispatch2_Vtbl, 0xa4c6892c_3ba9_11d2_9dea_00c04fb16162); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellDispatch2, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch); #[cfg(feature = "Win32_System_Com")] @@ -18594,7 +18594,7 @@ pub struct IShellDispatch2_Vtbl { pub ShowBrowserBar: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellDispatch3, IShellDispatch3_Vtbl, 0x177160ca_bb5a_411c_841d_bd38facdeaa0); +windows_core::imp::define_interface!(IShellDispatch3, IShellDispatch3_Vtbl, 0x177160ca_bb5a_411c_841d_bd38facdeaa0); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellDispatch3, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2); #[cfg(feature = "Win32_System_Com")] @@ -18780,7 +18780,7 @@ pub struct IShellDispatch3_Vtbl { pub AddToRecent: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellDispatch4, IShellDispatch4_Vtbl, 0xefd84b2d_4bcf_4298_be25_eb542a59fbda); +windows_core::imp::define_interface!(IShellDispatch4, IShellDispatch4_Vtbl, 0xefd84b2d_4bcf_4298_be25_eb542a59fbda); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellDispatch4, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3); #[cfg(feature = "Win32_System_Com")] @@ -18986,7 +18986,7 @@ pub struct IShellDispatch4_Vtbl { 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")] -windows_core::imp::com_interface!(IShellDispatch5, IShellDispatch5_Vtbl, 0x866738b9_6cf2_4de8_8767_f794ebe74f4e); +windows_core::imp::define_interface!(IShellDispatch5, IShellDispatch5_Vtbl, 0x866738b9_6cf2_4de8_8767_f794ebe74f4e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellDispatch5, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3, IShellDispatch4); #[cfg(feature = "Win32_System_Com")] @@ -19192,7 +19192,7 @@ pub struct IShellDispatch5_Vtbl { pub WindowSwitcher: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellDispatch6, IShellDispatch6_Vtbl, 0x286e6f1b_7113_4355_9562_96b7e9d64c54); +windows_core::imp::define_interface!(IShellDispatch6, IShellDispatch6_Vtbl, 0x286e6f1b_7113_4355_9562_96b7e9d64c54); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellDispatch6, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellDispatch, IShellDispatch2, IShellDispatch3, IShellDispatch4, IShellDispatch5); #[cfg(feature = "Win32_System_Com")] @@ -19400,7 +19400,7 @@ pub struct IShellDispatch6_Vtbl { pub base__: IShellDispatch5_Vtbl, pub SearchCommand: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellExtInit, IShellExtInit_Vtbl, 0x000214e8_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IShellExtInit, IShellExtInit_Vtbl, 0x000214e8_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IShellExtInit, windows_core::IUnknown); impl IShellExtInit { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_Registry", feature = "Win32_UI_Shell_Common"))] @@ -19421,7 +19421,7 @@ pub struct IShellExtInit_Vtbl { Initialize: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellFavoritesNameSpace, IShellFavoritesNameSpace_Vtbl, 0x55136804_b2de_11d1_b9f2_00a0c98bc547); +windows_core::imp::define_interface!(IShellFavoritesNameSpace, IShellFavoritesNameSpace_Vtbl, 0x55136804_b2de_11d1_b9f2_00a0c98bc547); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellFavoritesNameSpace, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -19493,7 +19493,7 @@ pub struct IShellFavoritesNameSpace_Vtbl { 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, } -windows_core::imp::com_interface!(IShellFolder, IShellFolder_Vtbl, 0x000214e6_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IShellFolder, IShellFolder_Vtbl, 0x000214e6_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IShellFolder, windows_core::IUnknown); impl IShellFolder { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -19608,7 +19608,7 @@ pub struct IShellFolder_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] SetNameOf: usize, } -windows_core::imp::com_interface!(IShellFolder2, IShellFolder2_Vtbl, 0x93f2f68c_1d1b_11d3_a30e_00c04f79abd1); +windows_core::imp::define_interface!(IShellFolder2, IShellFolder2_Vtbl, 0x93f2f68c_1d1b_11d3_a30e_00c04f79abd1); windows_core::imp::interface_hierarchy!(IShellFolder2, windows_core::IUnknown, IShellFolder); impl IShellFolder2 { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -19733,7 +19733,7 @@ pub struct IShellFolder2_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] MapColumnToSCID: usize, } -windows_core::imp::com_interface!(IShellFolderBand, IShellFolderBand_Vtbl, 0x7fe80cc8_c247_11d0_b93a_00a0c90312e1); +windows_core::imp::define_interface!(IShellFolderBand, IShellFolderBand_Vtbl, 0x7fe80cc8_c247_11d0_b93a_00a0c90312e1); windows_core::imp::interface_hierarchy!(IShellFolderBand, windows_core::IUnknown); impl IShellFolderBand { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -19768,7 +19768,7 @@ pub struct IShellFolderBand_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] GetBandInfoSFB: usize, } -windows_core::imp::com_interface!(IShellFolderView, IShellFolderView_Vtbl, 0x37a378c0_f82d_11ce_ae65_08002b2e1262); +windows_core::imp::define_interface!(IShellFolderView, IShellFolderView_Vtbl, 0x37a378c0_f82d_11ce_ae65_08002b2e1262); windows_core::imp::interface_hierarchy!(IShellFolderView, windows_core::IUnknown); impl IShellFolderView { pub unsafe fn Rearrange(&self, lparamsort: P0) -> windows_core::Result<()> @@ -19974,7 +19974,7 @@ pub struct IShellFolderView_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetAutomationObject: usize, } -windows_core::imp::com_interface!(IShellFolderViewCB, IShellFolderViewCB_Vtbl, 0x2047e320_f2a9_11ce_ae65_08002b2e1262); +windows_core::imp::define_interface!(IShellFolderViewCB, IShellFolderViewCB_Vtbl, 0x2047e320_f2a9_11ce_ae65_08002b2e1262); windows_core::imp::interface_hierarchy!(IShellFolderViewCB, windows_core::IUnknown); impl IShellFolderViewCB { pub unsafe fn MessageSFVCB(&self, umsg: SFVM_MESSAGE_ID, wparam: P0, lparam: P1) -> windows_core::Result<()> @@ -19991,7 +19991,7 @@ pub struct IShellFolderViewCB_Vtbl { pub MessageSFVCB: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellFolderViewDual, IShellFolderViewDual_Vtbl, 0xe7a1af80_4d96_11cf_960c_0080c7f4ee85); +windows_core::imp::define_interface!(IShellFolderViewDual, IShellFolderViewDual_Vtbl, 0xe7a1af80_4d96_11cf_960c_0080c7f4ee85); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellFolderViewDual, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -20080,7 +20080,7 @@ pub struct IShellFolderViewDual_Vtbl { pub ViewOptions: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellFolderViewDual2, IShellFolderViewDual2_Vtbl, 0x31c147b6_0ade_4a3c_b514_ddf932ef6d17); +windows_core::imp::define_interface!(IShellFolderViewDual2, IShellFolderViewDual2_Vtbl, 0x31c147b6_0ade_4a3c_b514_ddf932ef6d17); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellFolderViewDual2, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellFolderViewDual); #[cfg(feature = "Win32_System_Com")] @@ -20152,7 +20152,7 @@ pub struct IShellFolderViewDual2_Vtbl { pub SelectItemRelative: unsafe extern "system" fn(*mut core::ffi::c_void, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellFolderViewDual3, IShellFolderViewDual3_Vtbl, 0x29ec8e6c_46d3_411f_baaa_611a6c9cac66); +windows_core::imp::define_interface!(IShellFolderViewDual3, IShellFolderViewDual3_Vtbl, 0x29ec8e6c_46d3_411f_baaa_611a6c9cac66); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellFolderViewDual3, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellFolderViewDual, IShellFolderViewDual2); #[cfg(feature = "Win32_System_Com")] @@ -20269,7 +20269,7 @@ pub struct IShellFolderViewDual3_Vtbl { 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, } -windows_core::imp::com_interface!(IShellIcon, IShellIcon_Vtbl, 0x000214e5_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IShellIcon, IShellIcon_Vtbl, 0x000214e5_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IShellIcon, windows_core::IUnknown); impl IShellIcon { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -20286,7 +20286,7 @@ pub struct IShellIcon_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] GetIconOf: usize, } -windows_core::imp::com_interface!(IShellIconOverlay, IShellIconOverlay_Vtbl, 0x7d688a70_c613_11d0_999b_00c04fd655e1); +windows_core::imp::define_interface!(IShellIconOverlay, IShellIconOverlay_Vtbl, 0x7d688a70_c613_11d0_999b_00c04fd655e1); windows_core::imp::interface_hierarchy!(IShellIconOverlay, windows_core::IUnknown); impl IShellIconOverlay { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -20310,7 +20310,7 @@ pub struct IShellIconOverlay_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] GetOverlayIconIndex: usize, } -windows_core::imp::com_interface!(IShellIconOverlayIdentifier, IShellIconOverlayIdentifier_Vtbl, 0x0c6c4200_c589_11d0_999a_00c04fd655e1); +windows_core::imp::define_interface!(IShellIconOverlayIdentifier, IShellIconOverlayIdentifier_Vtbl, 0x0c6c4200_c589_11d0_999a_00c04fd655e1); windows_core::imp::interface_hierarchy!(IShellIconOverlayIdentifier, windows_core::IUnknown); impl IShellIconOverlayIdentifier { pub unsafe fn IsMemberOf(&self, pwszpath: P0, dwattrib: u32) -> windows_core::Result<()> @@ -20334,7 +20334,7 @@ pub struct IShellIconOverlayIdentifier_Vtbl { pub GetOverlayInfo: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, i32, *mut i32, *mut u32) -> windows_core::HRESULT, pub GetPriority: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellIconOverlayManager, IShellIconOverlayManager_Vtbl, 0xf10b5e34_dd3b_42a7_aa7d_2f4ec54bb09b); +windows_core::imp::define_interface!(IShellIconOverlayManager, IShellIconOverlayManager_Vtbl, 0xf10b5e34_dd3b_42a7_aa7d_2f4ec54bb09b); windows_core::imp::interface_hierarchy!(IShellIconOverlayManager, windows_core::IUnknown); impl IShellIconOverlayManager { pub unsafe fn GetFileOverlayInfo(&self, pwszpath: P0, dwattrib: u32, pindex: *mut i32, dwflags: u32) -> windows_core::Result<()> @@ -20371,7 +20371,7 @@ pub struct IShellIconOverlayManager_Vtbl { pub LoadNonloadedOverlayIdentifiers: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OverlayIndexFromImageIndex: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut i32, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellImageData, IShellImageData_Vtbl, 0xbfdeec12_8040_4403_a5ea_9e07dafcf530); +windows_core::imp::define_interface!(IShellImageData, IShellImageData_Vtbl, 0xbfdeec12_8040_4403_a5ea_9e07dafcf530); windows_core::imp::interface_hierarchy!(IShellImageData, windows_core::IUnknown); impl IShellImageData { pub unsafe fn Decode(&self, dwflags: u32, cxdesired: u32, cydesired: u32) -> windows_core::Result<()> { @@ -20529,7 +20529,7 @@ pub struct IShellImageData_Vtbl { pub CloneFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut u8) -> windows_core::HRESULT, pub ReplaceFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u8) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellImageDataAbort, IShellImageDataAbort_Vtbl, 0x53fb8e58_50c0_4003_b4aa_0c8df28e7f3a); +windows_core::imp::define_interface!(IShellImageDataAbort, IShellImageDataAbort_Vtbl, 0x53fb8e58_50c0_4003_b4aa_0c8df28e7f3a); windows_core::imp::interface_hierarchy!(IShellImageDataAbort, windows_core::IUnknown); impl IShellImageDataAbort { pub unsafe fn QueryAbort(&self) -> windows_core::Result<()> { @@ -20541,7 +20541,7 @@ pub struct IShellImageDataAbort_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub QueryAbort: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellImageDataFactory, IShellImageDataFactory_Vtbl, 0x9be8ed5c_edab_4d75_90f3_bd5bdbb21c82); +windows_core::imp::define_interface!(IShellImageDataFactory, IShellImageDataFactory_Vtbl, 0x9be8ed5c_edab_4d75_90f3_bd5bdbb21c82); windows_core::imp::interface_hierarchy!(IShellImageDataFactory, windows_core::IUnknown); impl IShellImageDataFactory { pub unsafe fn CreateIShellImageData(&self) -> windows_core::Result { @@ -20582,7 +20582,7 @@ pub struct IShellImageDataFactory_Vtbl { CreateImageFromStream: usize, pub GetDataFormatFromPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellItem, IShellItem_Vtbl, 0x43826d1e_e718_42ee_bc55_a1e261c37bfe); +windows_core::imp::define_interface!(IShellItem, IShellItem_Vtbl, 0x43826d1e_e718_42ee_bc55_a1e261c37bfe); windows_core::imp::interface_hierarchy!(IShellItem, windows_core::IUnknown); impl IShellItem { #[cfg(feature = "Win32_System_Com")] @@ -20630,7 +20630,7 @@ pub struct IShellItem_Vtbl { GetAttributes: usize, pub Compare: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellItem2, IShellItem2_Vtbl, 0x7e9fb0d3_919f_4307_ab2e_9b1860310c93); +windows_core::imp::define_interface!(IShellItem2, IShellItem2_Vtbl, 0x7e9fb0d3_919f_4307_ab2e_9b1860310c93); windows_core::imp::interface_hierarchy!(IShellItem2, windows_core::IUnknown, IShellItem); impl IShellItem2 { #[cfg(feature = "Win32_System_Com")] @@ -20799,7 +20799,7 @@ pub struct IShellItem2_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] GetBool: usize, } -windows_core::imp::com_interface!(IShellItemArray, IShellItemArray_Vtbl, 0xb63ea76d_1f85_456f_a19c_48159efa858b); +windows_core::imp::define_interface!(IShellItemArray, IShellItemArray_Vtbl, 0xb63ea76d_1f85_456f_a19c_48159efa858b); windows_core::imp::interface_hierarchy!(IShellItemArray, windows_core::IUnknown); impl IShellItemArray { #[cfg(feature = "Win32_System_Com")] @@ -20868,7 +20868,7 @@ pub struct IShellItemArray_Vtbl { pub GetItemAt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellItemFilter, IShellItemFilter_Vtbl, 0x2659b475_eeb8_48b7_8f07_b378810f48cf); +windows_core::imp::define_interface!(IShellItemFilter, IShellItemFilter_Vtbl, 0x2659b475_eeb8_48b7_8f07_b378810f48cf); windows_core::imp::interface_hierarchy!(IShellItemFilter, windows_core::IUnknown); impl IShellItemFilter { pub unsafe fn IncludeItem(&self, psi: P0) -> windows_core::Result<()> @@ -20891,7 +20891,7 @@ pub struct IShellItemFilter_Vtbl { pub IncludeItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetEnumFlagsForItem: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellItemImageFactory, IShellItemImageFactory_Vtbl, 0xbcc18b79_ba16_442f_80c4_8a59c30c463b); +windows_core::imp::define_interface!(IShellItemImageFactory, IShellItemImageFactory_Vtbl, 0xbcc18b79_ba16_442f_80c4_8a59c30c463b); windows_core::imp::interface_hierarchy!(IShellItemImageFactory, windows_core::IUnknown); impl IShellItemImageFactory { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -20908,7 +20908,7 @@ pub struct IShellItemImageFactory_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetImage: usize, } -windows_core::imp::com_interface!(IShellItemResources, IShellItemResources_Vtbl, 0xff5693be_2ce0_4d48_b5c5_40817d1acdb9); +windows_core::imp::define_interface!(IShellItemResources, IShellItemResources_Vtbl, 0xff5693be_2ce0_4d48_b5c5_40817d1acdb9); windows_core::imp::interface_hierarchy!(IShellItemResources, windows_core::IUnknown); impl IShellItemResources { pub unsafe fn GetAttributes(&self) -> windows_core::Result { @@ -20968,7 +20968,7 @@ pub struct IShellItemResources_Vtbl { pub CreateResource: unsafe extern "system" fn(*mut core::ffi::c_void, *const SHELL_ITEM_RESOURCE, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub MarkForDelete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellLibrary, IShellLibrary_Vtbl, 0x11a66efa_382e_451a_9234_1e0e12ef3085); +windows_core::imp::define_interface!(IShellLibrary, IShellLibrary_Vtbl, 0x11a66efa_382e_451a_9234_1e0e12ef3085); windows_core::imp::interface_hierarchy!(IShellLibrary, windows_core::IUnknown); impl IShellLibrary { pub unsafe fn LoadLibraryFromItem(&self, psilibrary: P0, grfmode: u32) -> windows_core::Result<()> @@ -21084,7 +21084,7 @@ pub struct IShellLibrary_Vtbl { pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, LIBRARYSAVEFLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SaveInKnownFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, windows_core::PCWSTR, LIBRARYSAVEFLAGS, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellLinkA, IShellLinkA_Vtbl, 0x000214ee_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IShellLinkA, IShellLinkA_Vtbl, 0x000214ee_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IShellLinkA, windows_core::IUnknown); impl IShellLinkA { #[cfg(feature = "Win32_Storage_FileSystem")] @@ -21208,7 +21208,7 @@ pub struct IShellLinkA_Vtbl { pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellLinkDataList, IShellLinkDataList_Vtbl, 0x45e2b4ae_b1c3_11d0_b92f_00a0c90312e1); +windows_core::imp::define_interface!(IShellLinkDataList, IShellLinkDataList_Vtbl, 0x45e2b4ae_b1c3_11d0_b92f_00a0c90312e1); windows_core::imp::interface_hierarchy!(IShellLinkDataList, windows_core::IUnknown); impl IShellLinkDataList { pub unsafe fn AddDataBlock(&self, pdatablock: *const core::ffi::c_void) -> windows_core::Result<()> { @@ -21238,7 +21238,7 @@ pub struct IShellLinkDataList_Vtbl { pub SetFlags: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellLinkDual, IShellLinkDual_Vtbl, 0x88a05c00_f000_11ce_8350_444553540000); +windows_core::imp::define_interface!(IShellLinkDual, IShellLinkDual_Vtbl, 0x88a05c00_f000_11ce_8350_444553540000); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellLinkDual, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -21339,7 +21339,7 @@ pub struct IShellLinkDual_Vtbl { pub Save: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellLinkDual2, IShellLinkDual2_Vtbl, 0x317ee249_f12e_11d2_b1e4_00c04f8eeb3e); +windows_core::imp::define_interface!(IShellLinkDual2, IShellLinkDual2_Vtbl, 0x317ee249_f12e_11d2_b1e4_00c04f8eeb3e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellLinkDual2, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellLinkDual); #[cfg(feature = "Win32_System_Com")] @@ -21432,7 +21432,7 @@ pub struct IShellLinkDual2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Target: usize, } -windows_core::imp::com_interface!(IShellLinkW, IShellLinkW_Vtbl, 0x000214f9_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IShellLinkW, IShellLinkW_Vtbl, 0x000214f9_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IShellLinkW, windows_core::IUnknown); impl IShellLinkW { #[cfg(feature = "Win32_Storage_FileSystem")] @@ -21556,7 +21556,7 @@ pub struct IShellLinkW_Vtbl { pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32) -> windows_core::HRESULT, pub SetPath: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellMenu, IShellMenu_Vtbl, 0xee1f7637_e138_11d1_8379_00c04fd918d0); +windows_core::imp::define_interface!(IShellMenu, IShellMenu_Vtbl, 0xee1f7637_e138_11d1_8379_00c04fd918d0); windows_core::imp::interface_hierarchy!(IShellMenu, windows_core::IUnknown); impl IShellMenu { pub unsafe fn Initialize(&self, psmc: P0, uid: u32, uidancestor: u32, dwflags: u32) -> windows_core::Result<()> @@ -21638,7 +21638,7 @@ pub struct IShellMenu_Vtbl { GetState: usize, pub SetMenuToolbar: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellMenuCallback, IShellMenuCallback_Vtbl, 0x4ca300a1_9b8d_11d1_8b22_00c04fd918d0); +windows_core::imp::define_interface!(IShellMenuCallback, IShellMenuCallback_Vtbl, 0x4ca300a1_9b8d_11d1_8b22_00c04fd918d0); windows_core::imp::interface_hierarchy!(IShellMenuCallback, windows_core::IUnknown); impl IShellMenuCallback { #[cfg(all(feature = "Win32_UI_Shell_Common", feature = "Win32_UI_WindowsAndMessaging"))] @@ -21659,7 +21659,7 @@ pub struct IShellMenuCallback_Vtbl { CallbackSM: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellNameSpace, IShellNameSpace_Vtbl, 0xe572d3c9_37be_4ae2_825d_d521763e3108); +windows_core::imp::define_interface!(IShellNameSpace, IShellNameSpace_Vtbl, 0xe572d3c9_37be_4ae2_825d_d521763e3108); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellNameSpace, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellFavoritesNameSpace); #[cfg(feature = "Win32_System_Com")] @@ -21836,7 +21836,7 @@ pub struct IShellNameSpace_Vtbl { pub Expand: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, i32) -> windows_core::HRESULT, pub UnselectAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellPropSheetExt, IShellPropSheetExt_Vtbl, 0x000214e9_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IShellPropSheetExt, IShellPropSheetExt_Vtbl, 0x000214e9_0000_0000_c000_000000000046); windows_core::imp::interface_hierarchy!(IShellPropSheetExt, windows_core::IUnknown); impl IShellPropSheetExt { #[cfg(feature = "Win32_UI_Controls")] @@ -21866,7 +21866,7 @@ pub struct IShellPropSheetExt_Vtbl { #[cfg(not(feature = "Win32_UI_Controls"))] ReplacePage: usize, } -windows_core::imp::com_interface!(IShellRunDll, IShellRunDll_Vtbl, 0xfce4bde0_4b68_4b80_8e9c_7426315a7388); +windows_core::imp::define_interface!(IShellRunDll, IShellRunDll_Vtbl, 0xfce4bde0_4b68_4b80_8e9c_7426315a7388); windows_core::imp::interface_hierarchy!(IShellRunDll, windows_core::IUnknown); impl IShellRunDll { pub unsafe fn Run(&self, pszargs: P0) -> windows_core::Result<()> @@ -21881,7 +21881,7 @@ pub struct IShellRunDll_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellService, IShellService_Vtbl, 0x5836fb00_8187_11cf_a12b_00aa004ae837); +windows_core::imp::define_interface!(IShellService, IShellService_Vtbl, 0x5836fb00_8187_11cf_a12b_00aa004ae837); windows_core::imp::interface_hierarchy!(IShellService, windows_core::IUnknown); impl IShellService { pub unsafe fn SetOwner(&self, punkowner: P0) -> windows_core::Result<()> @@ -21896,7 +21896,7 @@ pub struct IShellService_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetOwner: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IShellTaskScheduler, IShellTaskScheduler_Vtbl, 0x6ccb7be0_6807_11d0_b810_00c04fd706ec); +windows_core::imp::define_interface!(IShellTaskScheduler, IShellTaskScheduler_Vtbl, 0x6ccb7be0_6807_11d0_b810_00c04fd706ec); windows_core::imp::interface_hierarchy!(IShellTaskScheduler, windows_core::IUnknown); impl IShellTaskScheduler { pub unsafe fn AddTask(&self, prt: P0, rtoid: *const windows_core::GUID, lparam: usize, dwpriority: u32) -> windows_core::Result<()> @@ -21927,7 +21927,7 @@ pub struct IShellTaskScheduler_Vtbl { pub Status: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellUIHelper, IShellUIHelper_Vtbl, 0x729fe2f8_1ea8_11d1_8f85_00c04fc2fbe1); +windows_core::imp::define_interface!(IShellUIHelper, IShellUIHelper_Vtbl, 0x729fe2f8_1ea8_11d1_8f85_00c04fc2fbe1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellUIHelper, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -22021,7 +22021,7 @@ pub struct IShellUIHelper_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellUIHelper2, IShellUIHelper2_Vtbl, 0xa7fe6eda_1932_4281_b881_87b31b8bc52c); +windows_core::imp::define_interface!(IShellUIHelper2, IShellUIHelper2_Vtbl, 0xa7fe6eda_1932_4281_b881_87b31b8bc52c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellUIHelper2, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper); #[cfg(feature = "Win32_System_Com")] @@ -22191,7 +22191,7 @@ pub struct IShellUIHelper2_Vtbl { pub SearchGuideUrl: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellUIHelper3, IShellUIHelper3_Vtbl, 0x528df2ec_d419_40bc_9b6d_dcdbf9c1b25d); +windows_core::imp::define_interface!(IShellUIHelper3, IShellUIHelper3_Vtbl, 0x528df2ec_d419_40bc_9b6d_dcdbf9c1b25d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellUIHelper3, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2); #[cfg(feature = "Win32_System_Com")] @@ -22423,7 +22423,7 @@ pub struct IShellUIHelper3_Vtbl { pub ShowInPrivateHelp: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellUIHelper4, IShellUIHelper4_Vtbl, 0xb36e6a53_8073_499e_824c_d776330a333e); +windows_core::imp::define_interface!(IShellUIHelper4, IShellUIHelper4_Vtbl, 0xb36e6a53_8073_499e_824c_d776330a333e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellUIHelper4, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3); #[cfg(feature = "Win32_System_Com")] @@ -22756,7 +22756,7 @@ pub struct IShellUIHelper4_Vtbl { pub msActiveXFilteringEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellUIHelper5, IShellUIHelper5_Vtbl, 0xa2a08b09_103d_4d3f_b91c_ea455ca82efa); +windows_core::imp::define_interface!(IShellUIHelper5, IShellUIHelper5_Vtbl, 0xa2a08b09_103d_4d3f_b91c_ea455ca82efa); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellUIHelper5, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4); #[cfg(feature = "Win32_System_Com")] @@ -23106,7 +23106,7 @@ pub struct IShellUIHelper5_Vtbl { pub msChangeDefaultBrowser: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellUIHelper6, IShellUIHelper6_Vtbl, 0x987a573e_46ee_4e89_96ab_ddf7f8fdc98c); +windows_core::imp::define_interface!(IShellUIHelper6, IShellUIHelper6_Vtbl, 0x987a573e_46ee_4e89_96ab_ddf7f8fdc98c); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellUIHelper6, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5); #[cfg(feature = "Win32_System_Com")] @@ -23543,7 +23543,7 @@ pub struct IShellUIHelper6_Vtbl { pub msLaunchInternetOptions: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellUIHelper7, IShellUIHelper7_Vtbl, 0x60e567c8_9573_4ab2_a264_637c6c161cb1); +windows_core::imp::define_interface!(IShellUIHelper7, IShellUIHelper7_Vtbl, 0x60e567c8_9573_4ab2_a264_637c6c161cb1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellUIHelper7, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6); #[cfg(feature = "Win32_System_Com")] @@ -24033,7 +24033,7 @@ pub struct IShellUIHelper7_Vtbl { pub LaunchIE: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellUIHelper8, IShellUIHelper8_Vtbl, 0x66debcf2_05b0_4f07_b49b_b96241a65db2); +windows_core::imp::define_interface!(IShellUIHelper8, IShellUIHelper8_Vtbl, 0x66debcf2_05b0_4f07_b49b_b96241a65db2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellUIHelper8, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6, IShellUIHelper7); #[cfg(feature = "Win32_System_Com")] @@ -24549,7 +24549,7 @@ pub struct IShellUIHelper8_Vtbl { pub LaunchInHVSI: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellUIHelper9, IShellUIHelper9_Vtbl, 0x6cdf73b0_7f2f_451f_bc0f_63e0f3284e54); +windows_core::imp::define_interface!(IShellUIHelper9, IShellUIHelper9_Vtbl, 0x6cdf73b0_7f2f_451f_bc0f_63e0f3284e54); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellUIHelper9, windows_core::IUnknown, super::super::System::Com::IDispatch, IShellUIHelper, IShellUIHelper2, IShellUIHelper3, IShellUIHelper4, IShellUIHelper5, IShellUIHelper6, IShellUIHelper7, IShellUIHelper8); #[cfg(feature = "Win32_System_Com")] @@ -25063,7 +25063,7 @@ pub struct IShellUIHelper9_Vtbl { pub GetOSSku: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IShellView, IShellView_Vtbl, 0x000214e3_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IShellView, IShellView_Vtbl, 0x000214e3_0000_0000_c000_000000000046); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IShellView, windows_core::IUnknown, super::super::System::Ole::IOleWindow); #[cfg(feature = "Win32_System_Ole")] @@ -25163,7 +25163,7 @@ pub struct IShellView_Vtbl { pub GetItemObject: 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_System_Ole")] -windows_core::imp::com_interface!(IShellView2, IShellView2_Vtbl, 0x88e39e80_3578_11cf_ae69_08002b2e1262); +windows_core::imp::define_interface!(IShellView2, IShellView2_Vtbl, 0x88e39e80_3578_11cf_ae69_08002b2e1262); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IShellView2, windows_core::IUnknown, super::super::System::Ole::IOleWindow, IShellView); #[cfg(feature = "Win32_System_Ole")] @@ -25268,7 +25268,7 @@ pub struct IShellView2_Vtbl { SelectAndPositionItem: usize, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IShellView3, IShellView3_Vtbl, 0xec39fa88_f8af_41c5_8421_38bed28f4673); +windows_core::imp::define_interface!(IShellView3, IShellView3_Vtbl, 0xec39fa88_f8af_41c5_8421_38bed28f4673); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IShellView3, windows_core::IUnknown, super::super::System::Ole::IOleWindow, IShellView, IShellView2); #[cfg(feature = "Win32_System_Ole")] @@ -25373,7 +25373,7 @@ pub struct IShellView3_Vtbl { CreateViewWindow3: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IShellWindows, IShellWindows_Vtbl, 0x85cb6900_4d95_11cf_960c_0080c7f4ee85); +windows_core::imp::define_interface!(IShellWindows, IShellWindows_Vtbl, 0x85cb6900_4d95_11cf_960c_0080c7f4ee85); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IShellWindows, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -25461,7 +25461,7 @@ pub struct IShellWindows_Vtbl { pub OnCreated: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProcessAttachDetach: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISortColumnArray, ISortColumnArray_Vtbl, 0x6dfc60fb_f2e9_459b_beb5_288f1a7c7d54); +windows_core::imp::define_interface!(ISortColumnArray, ISortColumnArray_Vtbl, 0x6dfc60fb_f2e9_459b_beb5_288f1a7c7d54); windows_core::imp::interface_hierarchy!(ISortColumnArray, windows_core::IUnknown); impl ISortColumnArray { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -25487,7 +25487,7 @@ pub struct ISortColumnArray_Vtbl { GetAt: usize, pub GetSortType: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SORT_ORDER_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStartMenuPinnedList, IStartMenuPinnedList_Vtbl, 0x4cd19ada_25a5_4a32_b3b7_347bee5be36b); +windows_core::imp::define_interface!(IStartMenuPinnedList, IStartMenuPinnedList_Vtbl, 0x4cd19ada_25a5_4a32_b3b7_347bee5be36b); windows_core::imp::interface_hierarchy!(IStartMenuPinnedList, windows_core::IUnknown); impl IStartMenuPinnedList { pub unsafe fn RemoveFromList(&self, pitem: P0) -> windows_core::Result<()> @@ -25502,7 +25502,7 @@ pub struct IStartMenuPinnedList_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub RemoveFromList: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderBanners, IStorageProviderBanners_Vtbl, 0x5efb46d7_47c0_4b68_acda_ded47c90ec91); +windows_core::imp::define_interface!(IStorageProviderBanners, IStorageProviderBanners_Vtbl, 0x5efb46d7_47c0_4b68_acda_ded47c90ec91); windows_core::imp::interface_hierarchy!(IStorageProviderBanners, windows_core::IUnknown); impl IStorageProviderBanners { pub unsafe fn SetBanner(&self, provideridentity: P0, subscriptionid: P1, contentid: P2) -> windows_core::Result<()> @@ -25543,7 +25543,7 @@ pub struct IStorageProviderBanners_Vtbl { pub ClearAllBanners: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub GetBanner: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderCopyHook, IStorageProviderCopyHook_Vtbl, 0x7bf992a9_af7a_4dba_b2e5_4d080b1ecbc6); +windows_core::imp::define_interface!(IStorageProviderCopyHook, IStorageProviderCopyHook_Vtbl, 0x7bf992a9_af7a_4dba_b2e5_4d080b1ecbc6); windows_core::imp::interface_hierarchy!(IStorageProviderCopyHook, windows_core::IUnknown); impl IStorageProviderCopyHook { pub unsafe fn CopyCallback(&self, hwnd: P0, operation: u32, flags: u32, srcfile: P1, srcattribs: u32, destfile: P2, destattribs: u32) -> windows_core::Result @@ -25561,7 +25561,7 @@ pub struct IStorageProviderCopyHook_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CopyCallback: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, u32, u32, windows_core::PCWSTR, u32, windows_core::PCWSTR, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderHandler, IStorageProviderHandler_Vtbl, 0x162c6fb5_44d3_435b_903d_e613fa093fb5); +windows_core::imp::define_interface!(IStorageProviderHandler, IStorageProviderHandler_Vtbl, 0x162c6fb5_44d3_435b_903d_e613fa093fb5); windows_core::imp::interface_hierarchy!(IStorageProviderHandler, windows_core::IUnknown); impl IStorageProviderHandler { pub unsafe fn GetPropertyHandlerFromPath(&self, path: P0) -> windows_core::Result @@ -25593,7 +25593,7 @@ pub struct IStorageProviderHandler_Vtbl { pub GetPropertyHandlerFromUri: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetPropertyHandlerFromFileId: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStorageProviderPropertyHandler, IStorageProviderPropertyHandler_Vtbl, 0x301dfbe5_524c_4b0f_8b2d_21c40b3a2988); +windows_core::imp::define_interface!(IStorageProviderPropertyHandler, IStorageProviderPropertyHandler_Vtbl, 0x301dfbe5_524c_4b0f_8b2d_21c40b3a2988); windows_core::imp::interface_hierarchy!(IStorageProviderPropertyHandler, windows_core::IUnknown); impl IStorageProviderPropertyHandler { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -25622,7 +25622,7 @@ pub struct IStorageProviderPropertyHandler_Vtbl { SaveProperties: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IStreamAsync, IStreamAsync_Vtbl, 0xfe0b6665_e0ca_49b9_a178_2b5cb48d92a5); +windows_core::imp::define_interface!(IStreamAsync, IStreamAsync_Vtbl, 0xfe0b6665_e0ca_49b9_a178_2b5cb48d92a5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IStreamAsync, windows_core::IUnknown, super::super::System::Com::ISequentialStream, super::super::System::Com::IStream); #[cfg(feature = "Win32_System_Com")] @@ -25712,7 +25712,7 @@ pub struct IStreamAsync_Vtbl { OverlappedResult: usize, pub CancelIo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStreamUnbufferedInfo, IStreamUnbufferedInfo_Vtbl, 0x8a68fdda_1fdc_4c20_8ceb_416643b5a625); +windows_core::imp::define_interface!(IStreamUnbufferedInfo, IStreamUnbufferedInfo_Vtbl, 0x8a68fdda_1fdc_4c20_8ceb_416643b5a625); windows_core::imp::interface_hierarchy!(IStreamUnbufferedInfo, windows_core::IUnknown); impl IStreamUnbufferedInfo { pub unsafe fn GetSectorSize(&self) -> windows_core::Result { @@ -25725,7 +25725,7 @@ pub struct IStreamUnbufferedInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSectorSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISuspensionDependencyManager, ISuspensionDependencyManager_Vtbl, 0x52b83a42_2543_416a_81d9_c0de7969c8b3); +windows_core::imp::define_interface!(ISuspensionDependencyManager, ISuspensionDependencyManager_Vtbl, 0x52b83a42_2543_416a_81d9_c0de7969c8b3); windows_core::imp::interface_hierarchy!(ISuspensionDependencyManager, windows_core::IUnknown); impl ISuspensionDependencyManager { pub unsafe fn RegisterAsChild(&self, processhandle: P0) -> windows_core::Result<()> @@ -25754,7 +25754,7 @@ pub struct ISuspensionDependencyManager_Vtbl { pub GroupChildWithParent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, pub UngroupChildFromParent: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrConflict, ISyncMgrConflict_Vtbl, 0x9c204249_c443_4ba4_85ed_c972681db137); +windows_core::imp::define_interface!(ISyncMgrConflict, ISyncMgrConflict_Vtbl, 0x9c204249_c443_4ba4_85ed_c972681db137); windows_core::imp::interface_hierarchy!(ISyncMgrConflict, windows_core::IUnknown); impl ISyncMgrConflict { #[cfg(feature = "Win32_UI_Shell_PropertiesSystem")] @@ -25800,7 +25800,7 @@ pub struct ISyncMgrConflict_Vtbl { pub Resolve: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetResolutionHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrConflictFolder, ISyncMgrConflictFolder_Vtbl, 0x59287f5e_bc81_4fca_a7f1_e5a8ecdb1d69); +windows_core::imp::define_interface!(ISyncMgrConflictFolder, ISyncMgrConflictFolder_Vtbl, 0x59287f5e_bc81_4fca_a7f1_e5a8ecdb1d69); windows_core::imp::interface_hierarchy!(ISyncMgrConflictFolder, windows_core::IUnknown); impl ISyncMgrConflictFolder { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -25820,7 +25820,7 @@ pub struct ISyncMgrConflictFolder_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] GetConflictIDList: usize, } -windows_core::imp::com_interface!(ISyncMgrConflictItems, ISyncMgrConflictItems_Vtbl, 0x9c7ead52_8023_4936_a4db_d2a9a99e436a); +windows_core::imp::define_interface!(ISyncMgrConflictItems, ISyncMgrConflictItems_Vtbl, 0x9c7ead52_8023_4936_a4db_d2a9a99e436a); windows_core::imp::interface_hierarchy!(ISyncMgrConflictItems, windows_core::IUnknown); impl ISyncMgrConflictItems { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -25837,7 +25837,7 @@ pub struct ISyncMgrConflictItems_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CONFIRM_CONFLICT_ITEM) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrConflictPresenter, ISyncMgrConflictPresenter_Vtbl, 0x0b4f5353_fd2b_42cd_8763_4779f2d508a3); +windows_core::imp::define_interface!(ISyncMgrConflictPresenter, ISyncMgrConflictPresenter_Vtbl, 0x0b4f5353_fd2b_42cd_8763_4779f2d508a3); windows_core::imp::interface_hierarchy!(ISyncMgrConflictPresenter, windows_core::IUnknown); impl ISyncMgrConflictPresenter { pub unsafe fn PresentConflict(&self, pconflict: P0, presolveinfo: P1) -> windows_core::Result<()> @@ -25853,7 +25853,7 @@ pub struct ISyncMgrConflictPresenter_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub PresentConflict: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrConflictResolutionItems, ISyncMgrConflictResolutionItems_Vtbl, 0x458725b9_129d_4135_a998_9ceafec27007); +windows_core::imp::define_interface!(ISyncMgrConflictResolutionItems, ISyncMgrConflictResolutionItems_Vtbl, 0x458725b9_129d_4135_a998_9ceafec27007); windows_core::imp::interface_hierarchy!(ISyncMgrConflictResolutionItems, windows_core::IUnknown); impl ISyncMgrConflictResolutionItems { pub unsafe fn GetCount(&self) -> windows_core::Result { @@ -25871,7 +25871,7 @@ pub struct ISyncMgrConflictResolutionItems_Vtbl { pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetItem: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut CONFIRM_CONFLICT_RESULT_INFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrConflictResolveInfo, ISyncMgrConflictResolveInfo_Vtbl, 0xc405a219_25a2_442e_8743_b845a2cee93f); +windows_core::imp::define_interface!(ISyncMgrConflictResolveInfo, ISyncMgrConflictResolveInfo_Vtbl, 0xc405a219_25a2_442e_8743_b845a2cee93f); windows_core::imp::interface_hierarchy!(ISyncMgrConflictResolveInfo, windows_core::IUnknown); impl ISyncMgrConflictResolveInfo { pub unsafe fn GetIterationInfo(&self, pncurrentconflict: *mut u32, pcconflicts: *mut u32, pcremainingforapplytoall: *mut u32) -> windows_core::Result<()> { @@ -25917,7 +25917,7 @@ pub struct ISyncMgrConflictResolveInfo_Vtbl { pub SetPresenterChoice: unsafe extern "system" fn(*mut core::ffi::c_void, SYNCMGR_PRESENTER_CHOICE, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetItemChoices: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrConflictStore, ISyncMgrConflictStore_Vtbl, 0xcf8fc579_c396_4774_85f1_d908a831156e); +windows_core::imp::define_interface!(ISyncMgrConflictStore, ISyncMgrConflictStore_Vtbl, 0xcf8fc579_c396_4774_85f1_d908a831156e); windows_core::imp::interface_hierarchy!(ISyncMgrConflictStore, windows_core::IUnknown); impl ISyncMgrConflictStore { pub unsafe fn EnumConflicts(&self, pszhandlerid: P0, pszitemid: P1) -> windows_core::Result @@ -25963,7 +25963,7 @@ pub struct ISyncMgrConflictStore_Vtbl { RemoveConflicts: usize, pub GetCount: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrControl, ISyncMgrControl_Vtbl, 0x9b63616c_36b2_46bc_959f_c1593952d19b); +windows_core::imp::define_interface!(ISyncMgrControl, ISyncMgrControl_Vtbl, 0x9b63616c_36b2_46bc_959f_c1593952d19b); windows_core::imp::interface_hierarchy!(ISyncMgrControl, windows_core::IUnknown); impl ISyncMgrControl { pub unsafe fn StartHandlerSync(&self, pszhandlerid: P0, hwndowner: P1, punk: P2, nsynccontrolflags: SYNCMGR_SYNC_CONTROL_FLAGS, presult: P3) -> windows_core::Result<()> @@ -26088,7 +26088,7 @@ pub struct ISyncMgrControl_Vtbl { pub EnableHandler: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, windows_core::PCWSTR, super::super::Foundation::HWND, SYNCMGR_CONTROL_FLAGS) -> windows_core::HRESULT, pub EnableItem: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, windows_core::PCWSTR, windows_core::PCWSTR, super::super::Foundation::HWND, SYNCMGR_CONTROL_FLAGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrEnumItems, ISyncMgrEnumItems_Vtbl, 0x6295df2a_35ee_11d1_8707_00c04fd93327); +windows_core::imp::define_interface!(ISyncMgrEnumItems, ISyncMgrEnumItems_Vtbl, 0x6295df2a_35ee_11d1_8707_00c04fd93327); windows_core::imp::interface_hierarchy!(ISyncMgrEnumItems, windows_core::IUnknown); impl ISyncMgrEnumItems { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -26117,7 +26117,7 @@ pub struct ISyncMgrEnumItems_Vtbl { 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, } -windows_core::imp::com_interface!(ISyncMgrEvent, ISyncMgrEvent_Vtbl, 0xfee0ef8b_46bd_4db4_b7e6_ff2c687313bc); +windows_core::imp::define_interface!(ISyncMgrEvent, ISyncMgrEvent_Vtbl, 0xfee0ef8b_46bd_4db4_b7e6_ff2c687313bc); windows_core::imp::interface_hierarchy!(ISyncMgrEvent, windows_core::IUnknown); impl ISyncMgrEvent { pub unsafe fn GetEventID(&self) -> windows_core::Result { @@ -26180,7 +26180,7 @@ pub struct ISyncMgrEvent_Vtbl { pub GetLinkReference: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrEventLinkUIOperation, ISyncMgrEventLinkUIOperation_Vtbl, 0x64522e52_848b_4015_89ce_5a36f00b94ff); +windows_core::imp::define_interface!(ISyncMgrEventLinkUIOperation, ISyncMgrEventLinkUIOperation_Vtbl, 0x64522e52_848b_4015_89ce_5a36f00b94ff); windows_core::imp::interface_hierarchy!(ISyncMgrEventLinkUIOperation, windows_core::IUnknown, ISyncMgrUIOperation); impl ISyncMgrEventLinkUIOperation { pub unsafe fn Run(&self, hwndowner: P0) -> windows_core::HRESULT @@ -26201,7 +26201,7 @@ pub struct ISyncMgrEventLinkUIOperation_Vtbl { pub base__: ISyncMgrUIOperation_Vtbl, pub Init: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrEventStore, ISyncMgrEventStore_Vtbl, 0x37e412f9_016e_44c2_81ff_db3add774266); +windows_core::imp::define_interface!(ISyncMgrEventStore, ISyncMgrEventStore_Vtbl, 0x37e412f9_016e_44c2_81ff_db3add774266); windows_core::imp::interface_hierarchy!(ISyncMgrEventStore, windows_core::IUnknown); impl ISyncMgrEventStore { pub unsafe fn GetEventEnumerator(&self) -> windows_core::Result { @@ -26228,7 +26228,7 @@ pub struct ISyncMgrEventStore_Vtbl { pub GetEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveEvent: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrHandler, ISyncMgrHandler_Vtbl, 0x04ec2e43_ac77_49f9_9b98_0307ef7a72a2); +windows_core::imp::define_interface!(ISyncMgrHandler, ISyncMgrHandler_Vtbl, 0x04ec2e43_ac77_49f9_9b98_0307ef7a72a2); windows_core::imp::interface_hierarchy!(ISyncMgrHandler, windows_core::IUnknown); impl ISyncMgrHandler { pub unsafe fn GetName(&self) -> windows_core::Result { @@ -26287,7 +26287,7 @@ pub struct ISyncMgrHandler_Vtbl { pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Synchronize: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::PCWSTR, u32, super::super::Foundation::HWND, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrHandlerCollection, ISyncMgrHandlerCollection_Vtbl, 0xa7f337a3_d20b_45cb_9ed7_87d094ca5045); +windows_core::imp::define_interface!(ISyncMgrHandlerCollection, ISyncMgrHandlerCollection_Vtbl, 0xa7f337a3_d20b_45cb_9ed7_87d094ca5045); windows_core::imp::interface_hierarchy!(ISyncMgrHandlerCollection, windows_core::IUnknown); impl ISyncMgrHandlerCollection { #[cfg(feature = "Win32_System_Com")] @@ -26313,7 +26313,7 @@ pub struct ISyncMgrHandlerCollection_Vtbl { GetHandlerEnumerator: usize, pub BindToHandler: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrHandlerInfo, ISyncMgrHandlerInfo_Vtbl, 0x4ff1d798_ecf7_4524_aa81_1e362a0aef3a); +windows_core::imp::define_interface!(ISyncMgrHandlerInfo, ISyncMgrHandlerInfo_Vtbl, 0x4ff1d798_ecf7_4524_aa81_1e362a0aef3a); windows_core::imp::interface_hierarchy!(ISyncMgrHandlerInfo, windows_core::IUnknown); impl ISyncMgrHandlerInfo { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -26353,7 +26353,7 @@ pub struct ISyncMgrHandlerInfo_Vtbl { pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrRegister, ISyncMgrRegister_Vtbl, 0x6295df42_35ee_11d1_8707_00c04fd93327); +windows_core::imp::define_interface!(ISyncMgrRegister, ISyncMgrRegister_Vtbl, 0x6295df42_35ee_11d1_8707_00c04fd93327); windows_core::imp::interface_hierarchy!(ISyncMgrRegister, windows_core::IUnknown); impl ISyncMgrRegister { pub unsafe fn RegisterSyncMgrHandler(&self, clsidhandler: *const windows_core::GUID, pwszdescription: P0, dwsyncmgrregisterflags: u32) -> windows_core::Result<()> @@ -26376,7 +26376,7 @@ pub struct ISyncMgrRegister_Vtbl { pub UnregisterSyncMgrHandler: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, pub GetHandlerRegistrationInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrResolutionHandler, ISyncMgrResolutionHandler_Vtbl, 0x40a3d052_8bff_4c4b_a338_d4a395700de9); +windows_core::imp::define_interface!(ISyncMgrResolutionHandler, ISyncMgrResolutionHandler_Vtbl, 0x40a3d052_8bff_4c4b_a338_d4a395700de9); windows_core::imp::interface_hierarchy!(ISyncMgrResolutionHandler, windows_core::IUnknown); impl ISyncMgrResolutionHandler { pub unsafe fn QueryAbilities(&self) -> windows_core::Result { @@ -26415,7 +26415,7 @@ pub struct ISyncMgrResolutionHandler_Vtbl { pub RemoveFromSyncSet: unsafe extern "system" fn(*mut core::ffi::c_void, *mut SYNCMGR_RESOLUTION_FEEDBACK) -> windows_core::HRESULT, pub KeepItems: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut SYNCMGR_RESOLUTION_FEEDBACK) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrScheduleWizardUIOperation, ISyncMgrScheduleWizardUIOperation_Vtbl, 0x459a6c84_21d2_4ddc_8a53_f023a46066f2); +windows_core::imp::define_interface!(ISyncMgrScheduleWizardUIOperation, ISyncMgrScheduleWizardUIOperation_Vtbl, 0x459a6c84_21d2_4ddc_8a53_f023a46066f2); windows_core::imp::interface_hierarchy!(ISyncMgrScheduleWizardUIOperation, windows_core::IUnknown, ISyncMgrUIOperation); impl ISyncMgrScheduleWizardUIOperation { pub unsafe fn Run(&self, hwndowner: P0) -> windows_core::HRESULT @@ -26436,7 +26436,7 @@ pub struct ISyncMgrScheduleWizardUIOperation_Vtbl { pub base__: ISyncMgrUIOperation_Vtbl, pub InitWizard: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrSessionCreator, ISyncMgrSessionCreator_Vtbl, 0x17f48517_f305_4321_a08d_b25a834918fd); +windows_core::imp::define_interface!(ISyncMgrSessionCreator, ISyncMgrSessionCreator_Vtbl, 0x17f48517_f305_4321_a08d_b25a834918fd); windows_core::imp::interface_hierarchy!(ISyncMgrSessionCreator, windows_core::IUnknown); impl ISyncMgrSessionCreator { pub unsafe fn CreateSession(&self, pszhandlerid: P0, ppszitemids: &[windows_core::PCWSTR]) -> windows_core::Result @@ -26452,7 +26452,7 @@ pub struct ISyncMgrSessionCreator_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateSession: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrSyncCallback, ISyncMgrSyncCallback_Vtbl, 0x884ccd87_b139_4937_a4ba_4f8e19513fbe); +windows_core::imp::define_interface!(ISyncMgrSyncCallback, ISyncMgrSyncCallback_Vtbl, 0x884ccd87_b139_4937_a4ba_4f8e19513fbe); windows_core::imp::interface_hierarchy!(ISyncMgrSyncCallback, windows_core::IUnknown); impl ISyncMgrSyncCallback { pub unsafe fn ReportProgress(&self, pszitemid: P0, pszprogresstext: P1, nstatus: SYNCMGR_PROGRESS_STATUS, ucurrentstep: u32, umaxstep: u32, pncancelrequest: *mut SYNCMGR_CANCEL_REQUEST) -> windows_core::Result<()> @@ -26535,7 +26535,7 @@ pub struct ISyncMgrSyncCallback_Vtbl { pub CommitItem: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub ReportManualSync: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrSyncItem, ISyncMgrSyncItem_Vtbl, 0xb20b24ce_2593_4f04_bd8b_7ad6c45051cd); +windows_core::imp::define_interface!(ISyncMgrSyncItem, ISyncMgrSyncItem_Vtbl, 0xb20b24ce_2593_4f04_bd8b_7ad6c45051cd); windows_core::imp::interface_hierarchy!(ISyncMgrSyncItem, windows_core::IUnknown); impl ISyncMgrSyncItem { pub unsafe fn GetItemID(&self) -> windows_core::Result { @@ -26587,7 +26587,7 @@ pub struct ISyncMgrSyncItem_Vtbl { pub Enable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Delete: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrSyncItemContainer, ISyncMgrSyncItemContainer_Vtbl, 0x90701133_be32_4129_a65c_99e616cafff4); +windows_core::imp::define_interface!(ISyncMgrSyncItemContainer, ISyncMgrSyncItemContainer_Vtbl, 0x90701133_be32_4129_a65c_99e616cafff4); windows_core::imp::interface_hierarchy!(ISyncMgrSyncItemContainer, windows_core::IUnknown); impl ISyncMgrSyncItemContainer { pub unsafe fn GetSyncItem(&self, pszitemid: P0) -> windows_core::Result @@ -26613,7 +26613,7 @@ pub struct ISyncMgrSyncItemContainer_Vtbl { pub GetSyncItemEnumerator: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetSyncItemCount: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrSyncItemInfo, ISyncMgrSyncItemInfo_Vtbl, 0xe7fd9502_be0c_4464_90a1_2b5277031232); +windows_core::imp::define_interface!(ISyncMgrSyncItemInfo, ISyncMgrSyncItemInfo_Vtbl, 0xe7fd9502_be0c_4464_90a1_2b5277031232); windows_core::imp::interface_hierarchy!(ISyncMgrSyncItemInfo, windows_core::IUnknown); impl ISyncMgrSyncItemInfo { pub unsafe fn GetTypeLabel(&self) -> windows_core::Result { @@ -26644,7 +26644,7 @@ pub struct ISyncMgrSyncItemInfo_Vtbl { pub IsEnabled: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrSyncResult, ISyncMgrSyncResult_Vtbl, 0x2b90f17e_5a3e_4b33_bb7f_1bc48056b94d); +windows_core::imp::define_interface!(ISyncMgrSyncResult, ISyncMgrSyncResult_Vtbl, 0x2b90f17e_5a3e_4b33_bb7f_1bc48056b94d); windows_core::imp::interface_hierarchy!(ISyncMgrSyncResult, windows_core::IUnknown); impl ISyncMgrSyncResult { pub unsafe fn Result(&self, nstatus: SYNCMGR_PROGRESS_STATUS, cerror: u32, cconflicts: u32) -> windows_core::Result<()> { @@ -26656,7 +26656,7 @@ pub struct ISyncMgrSyncResult_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Result: unsafe extern "system" fn(*mut core::ffi::c_void, SYNCMGR_PROGRESS_STATUS, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrSynchronize, ISyncMgrSynchronize_Vtbl, 0x6295df40_35ee_11d1_8707_00c04fd93327); +windows_core::imp::define_interface!(ISyncMgrSynchronize, ISyncMgrSynchronize_Vtbl, 0x6295df40_35ee_11d1_8707_00c04fd93327); windows_core::imp::interface_hierarchy!(ISyncMgrSynchronize, windows_core::IUnknown); impl ISyncMgrSynchronize { pub unsafe fn Initialize(&self, dwreserved: u32, dwsyncmgrflags: u32, lpcookie: &[u8]) -> windows_core::Result<()> { @@ -26729,7 +26729,7 @@ pub struct ISyncMgrSynchronize_Vtbl { pub SetItemStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, pub ShowError: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrSynchronizeCallback, ISyncMgrSynchronizeCallback_Vtbl, 0x6295df41_35ee_11d1_8707_00c04fd93327); +windows_core::imp::define_interface!(ISyncMgrSynchronizeCallback, ISyncMgrSynchronizeCallback_Vtbl, 0x6295df41_35ee_11d1_8707_00c04fd93327); windows_core::imp::interface_hierarchy!(ISyncMgrSynchronizeCallback, windows_core::IUnknown); impl ISyncMgrSynchronizeCallback { pub unsafe fn ShowPropertiesCompleted(&self, hr: windows_core::HRESULT) -> windows_core::Result<()> { @@ -26782,7 +26782,7 @@ pub struct ISyncMgrSynchronizeCallback_Vtbl { pub DeleteLogError: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, pub EstablishConnection: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrSynchronizeInvoke, ISyncMgrSynchronizeInvoke_Vtbl, 0x6295df2c_35ee_11d1_8707_00c04fd93327); +windows_core::imp::define_interface!(ISyncMgrSynchronizeInvoke, ISyncMgrSynchronizeInvoke_Vtbl, 0x6295df2c_35ee_11d1_8707_00c04fd93327); windows_core::imp::interface_hierarchy!(ISyncMgrSynchronizeInvoke, windows_core::IUnknown); impl ISyncMgrSynchronizeInvoke { pub unsafe fn UpdateItems(&self, dwinvokeflags: u32, clsid: *const windows_core::GUID, pcookie: &[u8]) -> windows_core::Result<()> { @@ -26798,7 +26798,7 @@ pub struct ISyncMgrSynchronizeInvoke_Vtbl { pub UpdateItems: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, u32, *const u8) -> windows_core::HRESULT, pub UpdateAll: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISyncMgrUIOperation, ISyncMgrUIOperation_Vtbl, 0xfc7cfa47_dfe1_45b5_a049_8cfd82bec271); +windows_core::imp::define_interface!(ISyncMgrUIOperation, ISyncMgrUIOperation_Vtbl, 0xfc7cfa47_dfe1_45b5_a049_8cfd82bec271); windows_core::imp::interface_hierarchy!(ISyncMgrUIOperation, windows_core::IUnknown); impl ISyncMgrUIOperation { pub unsafe fn Run(&self, hwndowner: P0) -> windows_core::HRESULT @@ -26813,7 +26813,7 @@ pub struct ISyncMgrUIOperation_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Run: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITaskbarList, ITaskbarList_Vtbl, 0x56fdf342_fd6d_11d0_958a_006097c9a090); +windows_core::imp::define_interface!(ITaskbarList, ITaskbarList_Vtbl, 0x56fdf342_fd6d_11d0_958a_006097c9a090); windows_core::imp::interface_hierarchy!(ITaskbarList, windows_core::IUnknown); impl ITaskbarList { pub unsafe fn HrInit(&self) -> windows_core::Result<()> { @@ -26853,7 +26853,7 @@ pub struct ITaskbarList_Vtbl { pub ActivateTab: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, pub SetActiveAlt: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITaskbarList2, ITaskbarList2_Vtbl, 0x602d4995_b13a_429b_a66e_1935e44f4317); +windows_core::imp::define_interface!(ITaskbarList2, ITaskbarList2_Vtbl, 0x602d4995_b13a_429b_a66e_1935e44f4317); windows_core::imp::interface_hierarchy!(ITaskbarList2, windows_core::IUnknown, ITaskbarList); impl ITaskbarList2 { pub unsafe fn HrInit(&self) -> windows_core::Result<()> { @@ -26896,7 +26896,7 @@ pub struct ITaskbarList2_Vtbl { pub base__: ITaskbarList_Vtbl, pub MarkFullscreenWindow: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITaskbarList3, ITaskbarList3_Vtbl, 0xea1afb91_9e28_4b86_90e9_9e9f8a5eefaf); +windows_core::imp::define_interface!(ITaskbarList3, ITaskbarList3_Vtbl, 0xea1afb91_9e28_4b86_90e9_9e9f8a5eefaf); windows_core::imp::interface_hierarchy!(ITaskbarList3, windows_core::IUnknown, ITaskbarList, ITaskbarList2); impl ITaskbarList3 { pub unsafe fn HrInit(&self) -> windows_core::Result<()> { @@ -27045,7 +27045,7 @@ pub struct ITaskbarList3_Vtbl { pub SetThumbnailTooltip: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR) -> windows_core::HRESULT, pub SetThumbnailClip: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITaskbarList4, ITaskbarList4_Vtbl, 0xc43dc798_95d1_4bea_9030_bb99e2983a1a); +windows_core::imp::define_interface!(ITaskbarList4, ITaskbarList4_Vtbl, 0xc43dc798_95d1_4bea_9030_bb99e2983a1a); windows_core::imp::interface_hierarchy!(ITaskbarList4, windows_core::IUnknown, ITaskbarList, ITaskbarList2, ITaskbarList3); impl ITaskbarList4 { pub unsafe fn HrInit(&self) -> windows_core::Result<()> { @@ -27177,7 +27177,7 @@ pub struct ITaskbarList4_Vtbl { pub base__: ITaskbarList3_Vtbl, pub SetTabProperties: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, STPFLAG) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IThumbnailCache, IThumbnailCache_Vtbl, 0xf676c15d_596a_4ce2_8234_33996f445db1); +windows_core::imp::define_interface!(IThumbnailCache, IThumbnailCache_Vtbl, 0xf676c15d_596a_4ce2_8234_33996f445db1); windows_core::imp::interface_hierarchy!(IThumbnailCache, windows_core::IUnknown); impl IThumbnailCache { pub unsafe fn GetThumbnail(&self, pshellitem: P0, cxyrequestedthumbsize: u32, flags: WTS_FLAGS, ppvthumb: Option<*mut Option>, poutflags: Option<*mut WTS_CACHEFLAGS>, pthumbnailid: Option<*mut WTS_THUMBNAILID>) -> windows_core::Result<()> @@ -27196,7 +27196,7 @@ pub struct IThumbnailCache_Vtbl { pub GetThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, WTS_FLAGS, *mut *mut core::ffi::c_void, *mut WTS_CACHEFLAGS, *mut WTS_THUMBNAILID) -> windows_core::HRESULT, pub GetThumbnailByID: unsafe extern "system" fn(*mut core::ffi::c_void, WTS_THUMBNAILID, u32, *mut *mut core::ffi::c_void, *mut WTS_CACHEFLAGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IThumbnailCachePrimer, IThumbnailCachePrimer_Vtbl, 0x0f03f8fe_2b26_46f0_965a_212aa8d66b76); +windows_core::imp::define_interface!(IThumbnailCachePrimer, IThumbnailCachePrimer_Vtbl, 0x0f03f8fe_2b26_46f0_965a_212aa8d66b76); windows_core::imp::interface_hierarchy!(IThumbnailCachePrimer, windows_core::IUnknown); impl IThumbnailCachePrimer { pub unsafe fn PageInThumbnail(&self, psi: P0, wtsflags: WTS_FLAGS, cxyrequestedthumbsize: u32) -> windows_core::Result<()> @@ -27211,7 +27211,7 @@ pub struct IThumbnailCachePrimer_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub PageInThumbnail: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, WTS_FLAGS, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IThumbnailCapture, IThumbnailCapture_Vtbl, 0x4ea39266_7211_409f_b622_f63dbd16c533); +windows_core::imp::define_interface!(IThumbnailCapture, IThumbnailCapture_Vtbl, 0x4ea39266_7211_409f_b622_f63dbd16c533); windows_core::imp::interface_hierarchy!(IThumbnailCapture, windows_core::IUnknown); impl IThumbnailCapture { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -27231,7 +27231,7 @@ pub struct IThumbnailCapture_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] CaptureThumbnail: usize, } -windows_core::imp::com_interface!(IThumbnailHandlerFactory, IThumbnailHandlerFactory_Vtbl, 0xe35b4b2e_00da_4bc1_9f13_38bc11f5d417); +windows_core::imp::define_interface!(IThumbnailHandlerFactory, IThumbnailHandlerFactory_Vtbl, 0xe35b4b2e_00da_4bc1_9f13_38bc11f5d417); windows_core::imp::interface_hierarchy!(IThumbnailHandlerFactory, windows_core::IUnknown); impl IThumbnailHandlerFactory { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -27252,7 +27252,7 @@ pub struct IThumbnailHandlerFactory_Vtbl { #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common")))] GetThumbnailHandler: usize, } -windows_core::imp::com_interface!(IThumbnailProvider, IThumbnailProvider_Vtbl, 0xe357fccd_a995_4576_b01f_234630154e96); +windows_core::imp::define_interface!(IThumbnailProvider, IThumbnailProvider_Vtbl, 0xe357fccd_a995_4576_b01f_234630154e96); windows_core::imp::interface_hierarchy!(IThumbnailProvider, windows_core::IUnknown); impl IThumbnailProvider { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -27268,7 +27268,7 @@ pub struct IThumbnailProvider_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] GetThumbnail: usize, } -windows_core::imp::com_interface!(IThumbnailSettings, IThumbnailSettings_Vtbl, 0xf4376f00_bef5_4d45_80f3_1e023bbf1209); +windows_core::imp::define_interface!(IThumbnailSettings, IThumbnailSettings_Vtbl, 0xf4376f00_bef5_4d45_80f3_1e023bbf1209); windows_core::imp::interface_hierarchy!(IThumbnailSettings, windows_core::IUnknown); impl IThumbnailSettings { pub unsafe fn SetContext(&self, dwcontext: WTS_CONTEXTFLAGS) -> windows_core::Result<()> { @@ -27280,7 +27280,7 @@ pub struct IThumbnailSettings_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub SetContext: unsafe extern "system" fn(*mut core::ffi::c_void, WTS_CONTEXTFLAGS) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IThumbnailStreamCache, IThumbnailStreamCache_Vtbl, 0x90e11430_9569_41d8_ae75_6d4d2ae7cca0); +windows_core::imp::define_interface!(IThumbnailStreamCache, IThumbnailStreamCache_Vtbl, 0x90e11430_9569_41d8_ae75_6d4d2ae7cca0); windows_core::imp::interface_hierarchy!(IThumbnailStreamCache, windows_core::IUnknown); impl IThumbnailStreamCache { #[cfg(feature = "Win32_System_Com")] @@ -27311,7 +27311,7 @@ pub struct IThumbnailStreamCache_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] SetThumbnailStream: usize, } -windows_core::imp::com_interface!(ITrackShellMenu, ITrackShellMenu_Vtbl, 0x8278f932_2a3e_11d2_838f_00c04fd918d0); +windows_core::imp::define_interface!(ITrackShellMenu, ITrackShellMenu_Vtbl, 0x8278f932_2a3e_11d2_838f_00c04fd918d0); windows_core::imp::interface_hierarchy!(ITrackShellMenu, windows_core::IUnknown, IShellMenu); impl ITrackShellMenu { pub unsafe fn Initialize(&self, psmc: P0, uid: u32, uidancestor: u32, dwflags: u32) -> windows_core::Result<()> @@ -27381,7 +27381,7 @@ pub struct ITrackShellMenu_Vtbl { pub SetObscured: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Popup: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut super::super::Foundation::POINTL, *mut super::super::Foundation::RECTL, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITranscodeImage, ITranscodeImage_Vtbl, 0xbae86ddd_dc11_421c_b7ab_cc55d1d65c44); +windows_core::imp::define_interface!(ITranscodeImage, ITranscodeImage_Vtbl, 0xbae86ddd_dc11_421c_b7ab_cc55d1d65c44); windows_core::imp::interface_hierarchy!(ITranscodeImage, windows_core::IUnknown); impl ITranscodeImage { #[cfg(feature = "Win32_System_Com")] @@ -27401,7 +27401,7 @@ pub struct ITranscodeImage_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] TranscodeImage: usize, } -windows_core::imp::com_interface!(ITransferAdviseSink, ITransferAdviseSink_Vtbl, 0xd594d0d8_8da7_457b_b3b4_ce5dbaac0b88); +windows_core::imp::define_interface!(ITransferAdviseSink, ITransferAdviseSink_Vtbl, 0xd594d0d8_8da7_457b_b3b4_ce5dbaac0b88); windows_core::imp::interface_hierarchy!(ITransferAdviseSink, windows_core::IUnknown); impl ITransferAdviseSink { pub unsafe fn UpdateProgress(&self, ullsizecurrent: u64, ullsizetotal: u64, nfilescurrent: i32, nfilestotal: i32, nfolderscurrent: i32, nfolderstotal: i32) -> windows_core::Result<()> { @@ -27460,7 +27460,7 @@ pub struct ITransferAdviseSink_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_PropertiesSystem"))] PropertyFailure: usize, } -windows_core::imp::com_interface!(ITransferDestination, ITransferDestination_Vtbl, 0x48addd32_3ca5_4124_abe3_b5a72531b207); +windows_core::imp::define_interface!(ITransferDestination, ITransferDestination_Vtbl, 0x48addd32_3ca5_4124_abe3_b5a72531b207); windows_core::imp::interface_hierarchy!(ITransferDestination, windows_core::IUnknown); impl ITransferDestination { pub unsafe fn Advise(&self, psink: P0) -> windows_core::Result @@ -27487,7 +27487,7 @@ pub struct ITransferDestination_Vtbl { pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub CreateItem: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u64, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITransferMediumItem, ITransferMediumItem_Vtbl, 0x77f295d5_2d6f_4e19_b8ae_322f3e721ab5); +windows_core::imp::define_interface!(ITransferMediumItem, ITransferMediumItem_Vtbl, 0x77f295d5_2d6f_4e19_b8ae_322f3e721ab5); windows_core::imp::interface_hierarchy!(ITransferMediumItem, windows_core::IUnknown, IRelatedItem); impl ITransferMediumItem { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -27504,7 +27504,7 @@ impl ITransferMediumItem { pub struct ITransferMediumItem_Vtbl { pub base__: IRelatedItem_Vtbl, } -windows_core::imp::com_interface!(ITransferSource, ITransferSource_Vtbl, 0x00adb003_bde9_45c6_8e29_d09f9353e108); +windows_core::imp::define_interface!(ITransferSource, ITransferSource_Vtbl, 0x00adb003_bde9_45c6_8e29_d09f9353e108); windows_core::imp::interface_hierarchy!(ITransferSource, windows_core::IUnknown); impl ITransferSource { pub unsafe fn Advise(&self, psink: P0) -> windows_core::Result @@ -27618,7 +27618,7 @@ pub struct ITransferSource_Vtbl { pub EnterFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub LeaveFolder: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITravelEntry, ITravelEntry_Vtbl, 0xf46edb3b_bc2f_11d0_9412_00aa00a3ebd3); +windows_core::imp::define_interface!(ITravelEntry, ITravelEntry_Vtbl, 0xf46edb3b_bc2f_11d0_9412_00aa00a3ebd3); windows_core::imp::interface_hierarchy!(ITravelEntry, windows_core::IUnknown); impl ITravelEntry { pub unsafe fn Invoke(&self, punk: P0) -> windows_core::Result<()> @@ -27650,7 +27650,7 @@ pub struct ITravelEntry_Vtbl { #[cfg(not(feature = "Win32_UI_Shell_Common"))] GetPidl: usize, } -windows_core::imp::com_interface!(ITravelLog, ITravelLog_Vtbl, 0x66a9cb08_4802_11d2_a561_00a0c92dbfe8); +windows_core::imp::define_interface!(ITravelLog, ITravelLog_Vtbl, 0x66a9cb08_4802_11d2_a561_00a0c92dbfe8); windows_core::imp::interface_hierarchy!(ITravelLog, windows_core::IUnknown); impl ITravelLog { pub unsafe fn AddEntry(&self, punk: P0, fislocalanchor: P1) -> windows_core::Result<()> @@ -27743,7 +27743,7 @@ pub struct ITravelLog_Vtbl { pub CountEntries: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> u32, pub Revert: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITravelLogClient, ITravelLogClient_Vtbl, 0x241c033e_e659_43da_aa4d_4086dbc4758d); +windows_core::imp::define_interface!(ITravelLogClient, ITravelLogClient_Vtbl, 0x241c033e_e659_43da_aa4d_4086dbc4758d); windows_core::imp::interface_hierarchy!(ITravelLogClient, windows_core::IUnknown); impl ITravelLogClient { pub unsafe fn FindWindowByIndex(&self, dwid: u32) -> windows_core::Result { @@ -27774,7 +27774,7 @@ pub struct ITravelLogClient_Vtbl { GetWindowData: usize, pub LoadHistoryPosition: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITravelLogEntry, ITravelLogEntry_Vtbl, 0x7ebfdd87_ad18_11d3_a4c5_00c04f72d6b8); +windows_core::imp::define_interface!(ITravelLogEntry, ITravelLogEntry_Vtbl, 0x7ebfdd87_ad18_11d3_a4c5_00c04f72d6b8); windows_core::imp::interface_hierarchy!(ITravelLogEntry, windows_core::IUnknown); impl ITravelLogEntry { pub unsafe fn GetTitle(&self) -> windows_core::Result { @@ -27792,7 +27792,7 @@ pub struct ITravelLogEntry_Vtbl { pub GetTitle: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub GetURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITravelLogStg, ITravelLogStg_Vtbl, 0x7ebfdd80_ad18_11d3_a4c5_00c04f72d6b8); +windows_core::imp::define_interface!(ITravelLogStg, ITravelLogStg_Vtbl, 0x7ebfdd80_ad18_11d3_a4c5_00c04f72d6b8); windows_core::imp::interface_hierarchy!(ITravelLogStg, windows_core::IUnknown); impl ITravelLogStg { pub unsafe fn CreateEntry(&self, pszurl: P0, psztitle: P1, ptlerelativeto: P2, fprepend: P3) -> windows_core::Result @@ -27848,7 +27848,7 @@ pub struct ITravelLogStg_Vtbl { pub RemoveEntry: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetRelativeEntry: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITrayDeskBand, ITrayDeskBand_Vtbl, 0x6d67e846_5b9c_4db8_9cbc_dde12f4254f1); +windows_core::imp::define_interface!(ITrayDeskBand, ITrayDeskBand_Vtbl, 0x6d67e846_5b9c_4db8_9cbc_dde12f4254f1); windows_core::imp::interface_hierarchy!(ITrayDeskBand, windows_core::IUnknown); impl ITrayDeskBand { pub unsafe fn ShowDeskBand(&self, clsid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -27872,7 +27872,7 @@ pub struct ITrayDeskBand_Vtbl { pub IsDeskBandShown: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, pub DeskBandRegistrationChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IURLSearchHook, IURLSearchHook_Vtbl, 0xac60f6a0_0fd9_11d0_99cb_00c04fd64497); +windows_core::imp::define_interface!(IURLSearchHook, IURLSearchHook_Vtbl, 0xac60f6a0_0fd9_11d0_99cb_00c04fd64497); windows_core::imp::interface_hierarchy!(IURLSearchHook, windows_core::IUnknown); impl IURLSearchHook { pub unsafe fn Translate(&self, pwszsearchurl: &mut [u16]) -> windows_core::Result<()> { @@ -27884,7 +27884,7 @@ pub struct IURLSearchHook_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Translate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IURLSearchHook2, IURLSearchHook2_Vtbl, 0x5ee44da4_6d32_46e3_86bc_07540dedd0e0); +windows_core::imp::define_interface!(IURLSearchHook2, IURLSearchHook2_Vtbl, 0x5ee44da4_6d32_46e3_86bc_07540dedd0e0); windows_core::imp::interface_hierarchy!(IURLSearchHook2, windows_core::IUnknown, IURLSearchHook); impl IURLSearchHook2 { pub unsafe fn Translate(&self, pwszsearchurl: &mut [u16]) -> windows_core::Result<()> { @@ -27902,7 +27902,7 @@ pub struct IURLSearchHook2_Vtbl { pub base__: IURLSearchHook_Vtbl, pub TranslateWithSearchContext: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PWSTR, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUniformResourceLocatorA, IUniformResourceLocatorA_Vtbl, 0xfbf23b80_e3f0_101b_8488_00aa003e56f8); +windows_core::imp::define_interface!(IUniformResourceLocatorA, IUniformResourceLocatorA_Vtbl, 0xfbf23b80_e3f0_101b_8488_00aa003e56f8); windows_core::imp::interface_hierarchy!(IUniformResourceLocatorA, windows_core::IUnknown); impl IUniformResourceLocatorA { pub unsafe fn SetURL(&self, pcszurl: P0, dwinflags: u32) -> windows_core::Result<()> @@ -27926,7 +27926,7 @@ pub struct IUniformResourceLocatorA_Vtbl { pub GetURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PSTR) -> windows_core::HRESULT, pub InvokeCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut URLINVOKECOMMANDINFOA) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUniformResourceLocatorW, IUniformResourceLocatorW_Vtbl, 0xcabb0da0_da57_11cf_9974_0020afd79762); +windows_core::imp::define_interface!(IUniformResourceLocatorW, IUniformResourceLocatorW_Vtbl, 0xcabb0da0_da57_11cf_9974_0020afd79762); windows_core::imp::interface_hierarchy!(IUniformResourceLocatorW, windows_core::IUnknown); impl IUniformResourceLocatorW { pub unsafe fn SetURL(&self, pcszurl: P0, dwinflags: u32) -> windows_core::Result<()> @@ -27950,7 +27950,7 @@ pub struct IUniformResourceLocatorW_Vtbl { pub GetURL: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, pub InvokeCommand: unsafe extern "system" fn(*mut core::ffi::c_void, *mut URLINVOKECOMMANDINFOW) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUpdateIDList, IUpdateIDList_Vtbl, 0x6589b6d2_5f8d_4b9e_b7e0_23cdd9717d8c); +windows_core::imp::define_interface!(IUpdateIDList, IUpdateIDList_Vtbl, 0x6589b6d2_5f8d_4b9e_b7e0_23cdd9717d8c); windows_core::imp::interface_hierarchy!(IUpdateIDList, windows_core::IUnknown); impl IUpdateIDList { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common"))] @@ -27970,7 +27970,7 @@ pub struct IUpdateIDList_Vtbl { #[cfg(not(all(feature = "Win32_System_Com", feature = "Win32_UI_Shell_Common")))] Update: usize, } -windows_core::imp::com_interface!(IUseToBrowseItem, IUseToBrowseItem_Vtbl, 0x05edda5c_98a3_4717_8adb_c5e7da991eb1); +windows_core::imp::define_interface!(IUseToBrowseItem, IUseToBrowseItem_Vtbl, 0x05edda5c_98a3_4717_8adb_c5e7da991eb1); windows_core::imp::interface_hierarchy!(IUseToBrowseItem, windows_core::IUnknown, IRelatedItem); impl IUseToBrowseItem { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -27987,7 +27987,7 @@ impl IUseToBrowseItem { pub struct IUseToBrowseItem_Vtbl { pub base__: IRelatedItem_Vtbl, } -windows_core::imp::com_interface!(IUserAccountChangeCallback, IUserAccountChangeCallback_Vtbl, 0xa561e69a_b4b8_4113_91a5_64c6bcca3430); +windows_core::imp::define_interface!(IUserAccountChangeCallback, IUserAccountChangeCallback_Vtbl, 0xa561e69a_b4b8_4113_91a5_64c6bcca3430); windows_core::imp::interface_hierarchy!(IUserAccountChangeCallback, windows_core::IUnknown); impl IUserAccountChangeCallback { pub unsafe fn OnPictureChange(&self, pszusername: P0) -> windows_core::Result<()> @@ -28002,7 +28002,7 @@ pub struct IUserAccountChangeCallback_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnPictureChange: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserNotification, IUserNotification_Vtbl, 0xba9711ba_5893_4787_a7e1_41277151550b); +windows_core::imp::define_interface!(IUserNotification, IUserNotification_Vtbl, 0xba9711ba_5893_4787_a7e1_41277151550b); windows_core::imp::interface_hierarchy!(IUserNotification, windows_core::IUnknown); impl IUserNotification { pub unsafe fn SetBalloonInfo(&self, psztitle: P0, psztext: P1, dwinfoflags: u32) -> windows_core::Result<()> @@ -28048,7 +28048,7 @@ pub struct IUserNotification_Vtbl { pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub PlaySound: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserNotification2, IUserNotification2_Vtbl, 0x215913cc_57eb_4fab_ab5a_e5fa7bea2a6c); +windows_core::imp::define_interface!(IUserNotification2, IUserNotification2_Vtbl, 0x215913cc_57eb_4fab_ab5a_e5fa7bea2a6c); windows_core::imp::interface_hierarchy!(IUserNotification2, windows_core::IUnknown); impl IUserNotification2 { pub unsafe fn SetBalloonInfo(&self, psztitle: P0, psztext: P1, dwinfoflags: u32) -> windows_core::Result<()> @@ -28095,7 +28095,7 @@ pub struct IUserNotification2_Vtbl { pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub PlaySound: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUserNotificationCallback, IUserNotificationCallback_Vtbl, 0x19108294_0441_4aff_8013_fa0a730b0bea); +windows_core::imp::define_interface!(IUserNotificationCallback, IUserNotificationCallback_Vtbl, 0x19108294_0441_4aff_8013_fa0a730b0bea); windows_core::imp::interface_hierarchy!(IUserNotificationCallback, windows_core::IUnknown); impl IUserNotificationCallback { pub unsafe fn OnBalloonUserClick(&self, pt: *const super::super::Foundation::POINT) -> windows_core::Result<()> { @@ -28115,7 +28115,7 @@ pub struct IUserNotificationCallback_Vtbl { pub OnLeftClick: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::POINT) -> windows_core::HRESULT, pub OnContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::POINT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IViewStateIdentityItem, IViewStateIdentityItem_Vtbl, 0x9d264146_a94f_4195_9f9f_3bb12ce0c955); +windows_core::imp::define_interface!(IViewStateIdentityItem, IViewStateIdentityItem_Vtbl, 0x9d264146_a94f_4195_9f9f_3bb12ce0c955); windows_core::imp::interface_hierarchy!(IViewStateIdentityItem, windows_core::IUnknown, IRelatedItem); impl IViewStateIdentityItem { #[cfg(feature = "Win32_UI_Shell_Common")] @@ -28132,7 +28132,7 @@ impl IViewStateIdentityItem { pub struct IViewStateIdentityItem_Vtbl { pub base__: IRelatedItem_Vtbl, } -windows_core::imp::com_interface!(IVirtualDesktopManager, IVirtualDesktopManager_Vtbl, 0xa5cd92ff_29be_454c_8d04_d82879fb3f1b); +windows_core::imp::define_interface!(IVirtualDesktopManager, IVirtualDesktopManager_Vtbl, 0xa5cd92ff_29be_454c_8d04_d82879fb3f1b); windows_core::imp::interface_hierarchy!(IVirtualDesktopManager, windows_core::IUnknown); impl IVirtualDesktopManager { pub unsafe fn IsWindowOnCurrentVirtualDesktop(&self, toplevelwindow: P0) -> windows_core::Result @@ -28163,7 +28163,7 @@ pub struct IVirtualDesktopManager_Vtbl { pub GetWindowDesktopId: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut windows_core::GUID) -> windows_core::HRESULT, pub MoveWindowToDesktop: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVisualProperties, IVisualProperties_Vtbl, 0xe693cf68_d967_4112_8763_99172aee5e5a); +windows_core::imp::define_interface!(IVisualProperties, IVisualProperties_Vtbl, 0xe693cf68_d967_4112_8763_99172aee5e5a); windows_core::imp::interface_hierarchy!(IVisualProperties, windows_core::IUnknown); impl IVisualProperties { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -28231,7 +28231,7 @@ pub struct IVisualProperties_Vtbl { pub SetTheme: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWebBrowser, IWebBrowser_Vtbl, 0xeab22ac1_30c1_11cf_a7eb_0000c05bae0b); +windows_core::imp::define_interface!(IWebBrowser, IWebBrowser_Vtbl, 0xeab22ac1_30c1_11cf_a7eb_0000c05bae0b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWebBrowser, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -28375,7 +28375,7 @@ pub struct IWebBrowser_Vtbl { 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")] -windows_core::imp::com_interface!(IWebBrowser2, IWebBrowser2_Vtbl, 0xd30c1661_cdaf_11d0_8a3e_00c04fc9e26e); +windows_core::imp::define_interface!(IWebBrowser2, IWebBrowser2_Vtbl, 0xd30c1661_cdaf_11d0_8a3e_00c04fc9e26e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWebBrowser2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWebBrowser, IWebBrowserApp); #[cfg(feature = "Win32_System_Com")] @@ -28693,7 +28693,7 @@ pub struct IWebBrowser2_Vtbl { pub SetResizable: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWebBrowserApp, IWebBrowserApp_Vtbl, 0x0002df05_0000_0000_c000_000000000046); +windows_core::imp::define_interface!(IWebBrowserApp, IWebBrowserApp_Vtbl, 0x0002df05_0000_0000_c000_000000000046); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWebBrowserApp, windows_core::IUnknown, super::super::System::Com::IDispatch, IWebBrowser); #[cfg(feature = "Win32_System_Com")] @@ -28912,7 +28912,7 @@ pub struct IWebBrowserApp_Vtbl { pub FullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub SetFullScreen: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebWizardExtension, IWebWizardExtension_Vtbl, 0x0e6b3f66_98d1_48c0_a222_fbde74e2fbc5); +windows_core::imp::define_interface!(IWebWizardExtension, IWebWizardExtension_Vtbl, 0x0e6b3f66_98d1_48c0_a222_fbde74e2fbc5); windows_core::imp::interface_hierarchy!(IWebWizardExtension, windows_core::IUnknown, IWizardExtension); impl IWebWizardExtension { #[cfg(feature = "Win32_UI_Controls")] @@ -28949,7 +28949,7 @@ pub struct IWebWizardExtension_Vtbl { pub SetErrorURL: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWebWizardHost, IWebWizardHost_Vtbl, 0x18bcc359_4990_4bfb_b951_3c83702be5f9); +windows_core::imp::define_interface!(IWebWizardHost, IWebWizardHost_Vtbl, 0x18bcc359_4990_4bfb_b951_3c83702be5f9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWebWizardHost, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -29017,7 +29017,7 @@ pub struct IWebWizardHost_Vtbl { pub SetHeaderText: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IWebWizardHost2, IWebWizardHost2_Vtbl, 0xf9c013dc_3c23_4041_8e39_cfb402f7ea59); +windows_core::imp::define_interface!(IWebWizardHost2, IWebWizardHost2_Vtbl, 0xf9c013dc_3c23_4041_8e39_cfb402f7ea59); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IWebWizardHost2, windows_core::IUnknown, super::super::System::Com::IDispatch, IWebWizardHost); #[cfg(feature = "Win32_System_Com")] @@ -29083,7 +29083,7 @@ 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, } -windows_core::imp::com_interface!(IWizardExtension, IWizardExtension_Vtbl, 0xc02ea696_86cc_491e_9b23_74394a0444a8); +windows_core::imp::define_interface!(IWizardExtension, IWizardExtension_Vtbl, 0xc02ea696_86cc_491e_9b23_74394a0444a8); windows_core::imp::interface_hierarchy!(IWizardExtension, windows_core::IUnknown); impl IWizardExtension { #[cfg(feature = "Win32_UI_Controls")] @@ -29117,7 +29117,7 @@ pub struct IWizardExtension_Vtbl { #[cfg(not(feature = "Win32_UI_Controls"))] GetLastPage: usize, } -windows_core::imp::com_interface!(IWizardSite, IWizardSite_Vtbl, 0x88960f5b_422f_4e7b_8013_73415381c3c3); +windows_core::imp::define_interface!(IWizardSite, IWizardSite_Vtbl, 0x88960f5b_422f_4e7b_8013_73415381c3c3); windows_core::imp::interface_hierarchy!(IWizardSite, windows_core::IUnknown); impl IWizardSite { #[cfg(feature = "Win32_UI_Controls")] 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 6b4bae17d0..3316d58709 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/mod.rs @@ -212,7 +212,7 @@ where windows_targets::link!("inkobjcore.dll" "system" fn SetWordList(hrc : HRECOCONTEXT, hwl : HRECOWORDLIST) -> windows_core::HRESULT); SetWordList(hrc.into_param().abi(), hwl.into_param().abi()).ok() } -windows_core::imp::com_interface!(IDynamicRenderer, IDynamicRenderer_Vtbl, 0xa079468e_7165_46f9_b7af_98ad01a93009); +windows_core::imp::define_interface!(IDynamicRenderer, IDynamicRenderer_Vtbl, 0xa079468e_7165_46f9_b7af_98ad01a93009); windows_core::imp::interface_hierarchy!(IDynamicRenderer, windows_core::IUnknown); impl IDynamicRenderer { pub unsafe fn Enabled(&self) -> windows_core::Result { @@ -312,7 +312,7 @@ pub struct IDynamicRenderer_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub Draw: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HANDLE_PTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IGestureRecognizer, IGestureRecognizer_Vtbl, 0xae9ef86b_7054_45e3_ae22_3174dc8811b7); +windows_core::imp::define_interface!(IGestureRecognizer, IGestureRecognizer_Vtbl, 0xae9ef86b_7054_45e3_ae22_3174dc8811b7); windows_core::imp::interface_hierarchy!(IGestureRecognizer, windows_core::IUnknown); impl IGestureRecognizer { pub unsafe fn Enabled(&self) -> windows_core::Result { @@ -349,7 +349,7 @@ pub struct IGestureRecognizer_Vtbl { pub EnableGestures: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const i32) -> windows_core::HRESULT, pub Reset: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHandwrittenTextInsertion, IHandwrittenTextInsertion_Vtbl, 0x56fdea97_ecd6_43e7_aa3a_816be7785860); +windows_core::imp::define_interface!(IHandwrittenTextInsertion, IHandwrittenTextInsertion_Vtbl, 0x56fdea97_ecd6_43e7_aa3a_816be7785860); windows_core::imp::interface_hierarchy!(IHandwrittenTextInsertion, windows_core::IUnknown); impl IHandwrittenTextInsertion { #[cfg(feature = "Win32_System_Com")] @@ -381,7 +381,7 @@ pub struct IHandwrittenTextInsertion_Vtbl { InsertInkRecognitionResult: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInk, IInk_Vtbl, 0x03f8e511_43a1_11d3_8bb6_0080c7d6bad5); +windows_core::imp::define_interface!(IInk, IInk_Vtbl, 0x03f8e511_43a1_11d3_8bb6_0080c7d6bad5); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInk, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -392,7 +392,7 @@ pub struct IInk_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkCollector, IInkCollector_Vtbl, 0xf0f060b5_8b1f_4a7c_89ec_880692588a4f); +windows_core::imp::define_interface!(IInkCollector, IInkCollector_Vtbl, 0xf0f060b5_8b1f_4a7c_89ec_880692588a4f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkCollector, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -684,7 +684,7 @@ pub struct IInkCollector_Vtbl { pub SetEventInterest: unsafe extern "system" fn(*mut core::ffi::c_void, InkCollectorEventInterest, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkCursor, IInkCursor_Vtbl, 0xad30c630_40c5_4350_8405_9c71012fc558); +windows_core::imp::define_interface!(IInkCursor, IInkCursor_Vtbl, 0xad30c630_40c5_4350_8405_9c71012fc558); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkCursor, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -749,7 +749,7 @@ pub struct IInkCursor_Vtbl { Buttons: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkCursorButton, IInkCursorButton_Vtbl, 0x85ef9417_1d59_49b2_a13c_702c85430894); +windows_core::imp::define_interface!(IInkCursorButton, IInkCursorButton_Vtbl, 0x85ef9417_1d59_49b2_a13c_702c85430894); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkCursorButton, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -776,7 +776,7 @@ pub struct IInkCursorButton_Vtbl { pub State: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkCursorButtonState) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkCursorButtons, IInkCursorButtons_Vtbl, 0x3671cc40_b624_4671_9fa0_db119d952d54); +windows_core::imp::define_interface!(IInkCursorButtons, IInkCursorButtons_Vtbl, 0x3671cc40_b624_4671_9fa0_db119d952d54); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkCursorButtons, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -810,7 +810,7 @@ pub struct IInkCursorButtons_Vtbl { Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkCursors, IInkCursors_Vtbl, 0xa248c1ac_c698_4e06_9e5c_d57f77c7e647); +windows_core::imp::define_interface!(IInkCursors, IInkCursors_Vtbl, 0xa248c1ac_c698_4e06_9e5c_d57f77c7e647); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkCursors, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -841,7 +841,7 @@ pub struct IInkCursors_Vtbl { Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkCustomStrokes, IInkCustomStrokes_Vtbl, 0x7e23a88f_c30e_420f_9bdb_28902543f0c1); +windows_core::imp::define_interface!(IInkCustomStrokes, IInkCustomStrokes_Vtbl, 0x7e23a88f_c30e_420f_9bdb_28902543f0c1); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkCustomStrokes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -898,7 +898,7 @@ pub struct IInkCustomStrokes_Vtbl { pub Clear: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkDisp, IInkDisp_Vtbl, 0x9d398fa0_c4e2_4fcd_9973_975caaf47ea6); +windows_core::imp::define_interface!(IInkDisp, IInkDisp_Vtbl, 0x9d398fa0_c4e2_4fcd_9973_975caaf47ea6); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkDisp, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1161,7 +1161,7 @@ pub struct IInkDisp_Vtbl { ClipboardPaste: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkDivider, IInkDivider_Vtbl, 0x5de00405_f9a4_4651_b0c5_c317defd58b9); +windows_core::imp::define_interface!(IInkDivider, IInkDivider_Vtbl, 0x5de00405_f9a4_4651_b0c5_c317defd58b9); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkDivider, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1231,7 +1231,7 @@ pub struct IInkDivider_Vtbl { Divide: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkDivisionResult, IInkDivisionResult_Vtbl, 0x2dbec0a7_74c7_4b38_81eb_aa8ef0c24900); +windows_core::imp::define_interface!(IInkDivisionResult, IInkDivisionResult_Vtbl, 0x2dbec0a7_74c7_4b38_81eb_aa8ef0c24900); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkDivisionResult, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1261,7 +1261,7 @@ pub struct IInkDivisionResult_Vtbl { ResultByType: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkDivisionUnit, IInkDivisionUnit_Vtbl, 0x85aee342_48b0_4244_9dd5_1ed435410fab); +windows_core::imp::define_interface!(IInkDivisionUnit, IInkDivisionUnit_Vtbl, 0x85aee342_48b0_4244_9dd5_1ed435410fab); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkDivisionUnit, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1301,7 +1301,7 @@ pub struct IInkDivisionUnit_Vtbl { RotationTransform: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkDivisionUnits, IInkDivisionUnits_Vtbl, 0x1bb5ddc2_31cc_4135_ab82_2c66c9f00c41); +windows_core::imp::define_interface!(IInkDivisionUnits, IInkDivisionUnits_Vtbl, 0x1bb5ddc2_31cc_4135_ab82_2c66c9f00c41); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkDivisionUnits, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1332,7 +1332,7 @@ pub struct IInkDivisionUnits_Vtbl { Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkDrawingAttributes, IInkDrawingAttributes_Vtbl, 0xbf519b75_0a15_4623_adc9_c00d436a8092); +windows_core::imp::define_interface!(IInkDrawingAttributes, IInkDrawingAttributes_Vtbl, 0xbf519b75_0a15_4623_adc9_c00d436a8092); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkDrawingAttributes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1452,7 +1452,7 @@ pub struct IInkDrawingAttributes_Vtbl { Clone: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkEdit, IInkEdit_Vtbl, 0xf2127a19_fbfb_4aed_8464_3f36d78cfefb); +windows_core::imp::define_interface!(IInkEdit, IInkEdit_Vtbl, 0xf2127a19_fbfb_4aed_8464_3f36d78cfefb); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkEdit, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1925,7 +1925,7 @@ pub struct IInkEdit_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkExtendedProperties, IInkExtendedProperties_Vtbl, 0x89f2a8be_95a9_4530_8b8f_88e971e3e25f); +windows_core::imp::define_interface!(IInkExtendedProperties, IInkExtendedProperties_Vtbl, 0x89f2a8be_95a9_4530_8b8f_88e971e3e25f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkExtendedProperties, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1991,7 +1991,7 @@ pub struct IInkExtendedProperties_Vtbl { pub DoesPropertyExist: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkExtendedProperty, IInkExtendedProperty_Vtbl, 0xdb489209_b7c3_411d_90f6_1548cfff271e); +windows_core::imp::define_interface!(IInkExtendedProperty, IInkExtendedProperty_Vtbl, 0xdb489209_b7c3_411d_90f6_1548cfff271e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkExtendedProperty, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2020,7 +2020,7 @@ pub struct IInkExtendedProperty_Vtbl { pub SetData: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkGesture, IInkGesture_Vtbl, 0x3bdc0a97_04e5_4e26_b813_18f052d41def); +windows_core::imp::define_interface!(IInkGesture, IInkGesture_Vtbl, 0x3bdc0a97_04e5_4e26_b813_18f052d41def); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkGesture, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2045,7 +2045,7 @@ pub struct IInkGesture_Vtbl { pub Id: unsafe extern "system" fn(*mut core::ffi::c_void, *mut InkApplicationGesture) -> windows_core::HRESULT, pub GetHotPoint: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInkLineInfo, IInkLineInfo_Vtbl, 0x9c1c5ad6_f22f_4de4_b453_a2cc482e7c33); +windows_core::imp::define_interface!(IInkLineInfo, IInkLineInfo_Vtbl, 0x9c1c5ad6_f22f_4de4_b453_a2cc482e7c33); windows_core::imp::interface_hierarchy!(IInkLineInfo, windows_core::IUnknown); impl IInkLineInfo { pub unsafe fn SetFormat(&self, pim: *const INKMETRIC) -> windows_core::Result<()> { @@ -2084,7 +2084,7 @@ pub struct IInkLineInfo_Vtbl { pub Recognize: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkOverlay, IInkOverlay_Vtbl, 0xb82a463b_c1c5_45a3_997c_deab5651b67a); +windows_core::imp::define_interface!(IInkOverlay, IInkOverlay_Vtbl, 0xb82a463b_c1c5_45a3_997c_deab5651b67a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkOverlay, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2460,7 +2460,7 @@ pub struct IInkOverlay_Vtbl { pub SetEventInterest: unsafe extern "system" fn(*mut core::ffi::c_void, InkCollectorEventInterest, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkPicture, IInkPicture_Vtbl, 0xe85662e0_379a_40d7_9b5c_757d233f9923); +windows_core::imp::define_interface!(IInkPicture, IInkPicture_Vtbl, 0xe85662e0_379a_40d7_9b5c_757d233f9923); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkPicture, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2873,7 +2873,7 @@ pub struct IInkPicture_Vtbl { pub SetEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkRecognitionAlternate, IInkRecognitionAlternate_Vtbl, 0xb7e660ad_77e4_429b_adda_873780d1fc4a); +windows_core::imp::define_interface!(IInkRecognitionAlternate, IInkRecognitionAlternate_Vtbl, 0xb7e660ad_77e4_429b_adda_873780d1fc4a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkRecognitionAlternate, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -2998,7 +2998,7 @@ pub struct IInkRecognitionAlternate_Vtbl { pub GetPropertyValue: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkRecognitionAlternates, IInkRecognitionAlternates_Vtbl, 0x286a167f_9f19_4c61_9d53_4f07be622b84); +windows_core::imp::define_interface!(IInkRecognitionAlternates, IInkRecognitionAlternates_Vtbl, 0x286a167f_9f19_4c61_9d53_4f07be622b84); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkRecognitionAlternates, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3038,7 +3038,7 @@ pub struct IInkRecognitionAlternates_Vtbl { Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkRecognitionResult, IInkRecognitionResult_Vtbl, 0x3bc129a8_86cd_45ad_bde8_e0d32d61c16d); +windows_core::imp::define_interface!(IInkRecognitionResult, IInkRecognitionResult_Vtbl, 0x3bc129a8_86cd_45ad_bde8_e0d32d61c16d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkRecognitionResult, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3102,7 +3102,7 @@ pub struct IInkRecognitionResult_Vtbl { pub SetResultOnStrokes: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkRecognizer, IInkRecognizer_Vtbl, 0x782bf7cf_034b_4396_8a32_3a1833cf6b56); +windows_core::imp::define_interface!(IInkRecognizer, IInkRecognizer_Vtbl, 0x782bf7cf_034b_4396_8a32_3a1833cf6b56); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkRecognizer, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3153,7 +3153,7 @@ pub struct IInkRecognizer_Vtbl { CreateRecognizerContext: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkRecognizer2, IInkRecognizer2_Vtbl, 0x6110118a_3a75_4ad6_b2aa_04b2b72bbe65); +windows_core::imp::define_interface!(IInkRecognizer2, IInkRecognizer2_Vtbl, 0x6110118a_3a75_4ad6_b2aa_04b2b72bbe65); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkRecognizer2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3175,7 +3175,7 @@ pub struct IInkRecognizer2_Vtbl { pub UnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkRecognizerContext, IInkRecognizerContext_Vtbl, 0xc68f52f9_32a3_4625_906c_44fc23b40958); +windows_core::imp::define_interface!(IInkRecognizerContext, IInkRecognizerContext_Vtbl, 0xc68f52f9_32a3_4625_906c_44fc23b40958); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkRecognizerContext, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3357,7 +3357,7 @@ pub struct IInkRecognizerContext_Vtbl { pub IsStringSupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkRecognizerContext2, IInkRecognizerContext2_Vtbl, 0xd6f0e32f_73d8_408e_8e9f_5fea592c363f); +windows_core::imp::define_interface!(IInkRecognizerContext2, IInkRecognizerContext2_Vtbl, 0xd6f0e32f_73d8_408e_8e9f_5fea592c363f); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkRecognizerContext2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3381,7 +3381,7 @@ pub struct IInkRecognizerContext2_Vtbl { pub SetEnabledUnicodeRanges: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkRecognizerGuide, IInkRecognizerGuide_Vtbl, 0xd934be07_7b84_4208_9136_83c20994e905); +windows_core::imp::define_interface!(IInkRecognizerGuide, IInkRecognizerGuide_Vtbl, 0xd934be07_7b84_4208_9136_83c20994e905); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkRecognizerGuide, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3468,7 +3468,7 @@ pub struct IInkRecognizerGuide_Vtbl { pub SetGuideData: unsafe extern "system" fn(*mut core::ffi::c_void, InkRecoGuide) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkRecognizers, IInkRecognizers_Vtbl, 0x9ccc4f12_b0b7_4a8b_bf58_4aeca4e8cefd); +windows_core::imp::define_interface!(IInkRecognizers, IInkRecognizers_Vtbl, 0x9ccc4f12_b0b7_4a8b_bf58_4aeca4e8cefd); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkRecognizers, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3508,7 +3508,7 @@ pub struct IInkRecognizers_Vtbl { Item: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkRectangle, IInkRectangle_Vtbl, 0x9794ff82_6071_4717_8a8b_6ac7c64a686e); +windows_core::imp::define_interface!(IInkRectangle, IInkRectangle_Vtbl, 0x9794ff82_6071_4717_8a8b_6ac7c64a686e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkRectangle, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3573,7 +3573,7 @@ pub struct IInkRectangle_Vtbl { pub SetRectangle: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, i32, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkRenderer, IInkRenderer_Vtbl, 0xe6257a9c_b511_4f4c_a8b0_a7dbc9506b83); +windows_core::imp::define_interface!(IInkRenderer, IInkRenderer_Vtbl, 0xe6257a9c_b511_4f4c_a8b0_a7dbc9506b83); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkRenderer, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3708,7 +3708,7 @@ pub struct IInkRenderer_Vtbl { pub ScaleTransform: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkStrokeDisp, IInkStrokeDisp_Vtbl, 0x43242fea_91d1_4a72_963e_fbb91829cfa2); +windows_core::imp::define_interface!(IInkStrokeDisp, IInkStrokeDisp_Vtbl, 0x43242fea_91d1_4a72_963e_fbb91829cfa2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkStrokeDisp, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -3951,7 +3951,7 @@ pub struct IInkStrokeDisp_Vtbl { pub ScaleTransform: unsafe extern "system" fn(*mut core::ffi::c_void, f32, f32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkStrokes, IInkStrokes_Vtbl, 0xf1f4c9d8_590a_4963_b3ae_1935671bb6f3); +windows_core::imp::define_interface!(IInkStrokes, IInkStrokes_Vtbl, 0xf1f4c9d8_590a_4963_b3ae_1935671bb6f3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkStrokes, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4123,7 +4123,7 @@ pub struct IInkStrokes_Vtbl { pub RemoveRecognitionResult: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkTablet, IInkTablet_Vtbl, 0x2de25eaa_6ef8_42d5_aee9_185bc81b912d); +windows_core::imp::define_interface!(IInkTablet, IInkTablet_Vtbl, 0x2de25eaa_6ef8_42d5_aee9_185bc81b912d); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkTablet, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4174,7 +4174,7 @@ pub struct IInkTablet_Vtbl { 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, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkTablet2, IInkTablet2_Vtbl, 0x90c91ad2_fa36_49d6_9516_ce8d570f6f85); +windows_core::imp::define_interface!(IInkTablet2, IInkTablet2_Vtbl, 0x90c91ad2_fa36_49d6_9516_ce8d570f6f85); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkTablet2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4191,7 +4191,7 @@ pub struct IInkTablet2_Vtbl { pub DeviceKind: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TabletDeviceKind) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkTablet3, IInkTablet3_Vtbl, 0x7e313997_1327_41dd_8ca9_79f24be17250); +windows_core::imp::define_interface!(IInkTablet3, IInkTablet3_Vtbl, 0x7e313997_1327_41dd_8ca9_79f24be17250); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkTablet3, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4213,7 +4213,7 @@ pub struct IInkTablet3_Vtbl { pub MaximumCursors: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkTablets, IInkTablets_Vtbl, 0x112086d9_7779_4535_a699_862b43ac1863); +windows_core::imp::define_interface!(IInkTablets, IInkTablets_Vtbl, 0x112086d9_7779_4535_a699_862b43ac1863); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkTablets, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4261,7 +4261,7 @@ pub struct IInkTablets_Vtbl { pub IsPacketPropertySupported: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkTransform, IInkTransform_Vtbl, 0x615f1d43_8703_4565_88e2_8201d2ecd7b7); +windows_core::imp::define_interface!(IInkTransform, IInkTransform_Vtbl, 0x615f1d43_8703_4565_88e2_8201d2ecd7b7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkTransform, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4379,7 +4379,7 @@ pub struct IInkTransform_Vtbl { SetData: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkWordList, IInkWordList_Vtbl, 0x76ba3491_cb2f_406b_9961_0e0c4cdaaef2); +windows_core::imp::define_interface!(IInkWordList, IInkWordList_Vtbl, 0x76ba3491_cb2f_406b_9961_0e0c4cdaaef2); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkWordList, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4416,7 +4416,7 @@ pub struct IInkWordList_Vtbl { Merge: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IInkWordList2, IInkWordList2_Vtbl, 0x14542586_11bf_4f5f_b6e7_49d0744aab6e); +windows_core::imp::define_interface!(IInkWordList2, IInkWordList2_Vtbl, 0x14542586_11bf_4f5f_b6e7_49d0744aab6e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IInkWordList2, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4434,7 +4434,7 @@ 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, } -windows_core::imp::com_interface!(IInputPanelWindowHandle, IInputPanelWindowHandle_Vtbl, 0x4af81847_fdc4_4fc3_ad0b_422479c1b935); +windows_core::imp::define_interface!(IInputPanelWindowHandle, IInputPanelWindowHandle_Vtbl, 0x4af81847_fdc4_4fc3_ad0b_422479c1b935); windows_core::imp::interface_hierarchy!(IInputPanelWindowHandle, windows_core::IUnknown); impl IInputPanelWindowHandle { pub unsafe fn AttachedEditWindow32(&self) -> windows_core::Result { @@ -4461,7 +4461,7 @@ pub struct IInputPanelWindowHandle_Vtbl { pub SetAttachedEditWindow64: unsafe extern "system" fn(*mut core::ffi::c_void, i64) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IMathInputControl, IMathInputControl_Vtbl, 0xeba615aa_fac6_4738_ba5f_ff09e9fe473e); +windows_core::imp::define_interface!(IMathInputControl, IMathInputControl_Vtbl, 0xeba615aa_fac6_4738_ba5f_ff09e9fe473e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IMathInputControl, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4573,7 +4573,7 @@ pub struct IMathInputControl_Vtbl { GetHoverIcon: usize, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPenInputPanel, IPenInputPanel_Vtbl, 0xfa7a4083_5747_4040_a182_0b0e9fd4fac7); +windows_core::imp::define_interface!(IPenInputPanel, IPenInputPanel_Vtbl, 0xfa7a4083_5747_4040_a182_0b0e9fd4fac7); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPenInputPanel, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4709,7 +4709,7 @@ pub struct IPenInputPanel_Vtbl { pub Refresh: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EnableTsf: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRealTimeStylus, IRealTimeStylus_Vtbl, 0xa8bb5d22_3144_4a7b_93cd_f34a16be513a); +windows_core::imp::define_interface!(IRealTimeStylus, IRealTimeStylus_Vtbl, 0xa8bb5d22_3144_4a7b_93cd_f34a16be513a); windows_core::imp::interface_hierarchy!(IRealTimeStylus, windows_core::IUnknown); impl IRealTimeStylus { pub unsafe fn Enabled(&self) -> windows_core::Result { @@ -4902,7 +4902,7 @@ pub struct IRealTimeStylus_Vtbl { pub GetDesiredPacketDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, *mut *mut windows_core::GUID) -> windows_core::HRESULT, pub GetPacketDescriptionData: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut f32, *mut f32, *mut u32, *mut *mut PACKET_PROPERTY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRealTimeStylus2, IRealTimeStylus2_Vtbl, 0xb5f2a6cd_3179_4a3e_b9c4_bb5865962be2); +windows_core::imp::define_interface!(IRealTimeStylus2, IRealTimeStylus2_Vtbl, 0xb5f2a6cd_3179_4a3e_b9c4_bb5865962be2); windows_core::imp::interface_hierarchy!(IRealTimeStylus2, windows_core::IUnknown); impl IRealTimeStylus2 { pub unsafe fn FlicksEnabled(&self) -> windows_core::Result { @@ -4922,7 +4922,7 @@ pub struct IRealTimeStylus2_Vtbl { pub FlicksEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetFlicksEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRealTimeStylus3, IRealTimeStylus3_Vtbl, 0xd70230a3_6986_4051_b57a_1cf69f4d9db5); +windows_core::imp::define_interface!(IRealTimeStylus3, IRealTimeStylus3_Vtbl, 0xd70230a3_6986_4051_b57a_1cf69f4d9db5); windows_core::imp::interface_hierarchy!(IRealTimeStylus3, windows_core::IUnknown); impl IRealTimeStylus3 { pub unsafe fn MultiTouchEnabled(&self) -> windows_core::Result { @@ -4942,7 +4942,7 @@ pub struct IRealTimeStylus3_Vtbl { pub MultiTouchEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SetMultiTouchEnabled: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IRealTimeStylusSynchronization, IRealTimeStylusSynchronization_Vtbl, 0xaa87eab8_ab4a_4cea_b5cb_46d84c6a2509); +windows_core::imp::define_interface!(IRealTimeStylusSynchronization, IRealTimeStylusSynchronization_Vtbl, 0xaa87eab8_ab4a_4cea_b5cb_46d84c6a2509); windows_core::imp::interface_hierarchy!(IRealTimeStylusSynchronization, windows_core::IUnknown); impl IRealTimeStylusSynchronization { pub unsafe fn AcquireLock(&self, lock: RealTimeStylusLockType) -> windows_core::Result<()> { @@ -4959,7 +4959,7 @@ pub struct IRealTimeStylusSynchronization_Vtbl { pub ReleaseLock: unsafe extern "system" fn(*mut core::ffi::c_void, RealTimeStylusLockType) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ISketchInk, ISketchInk_Vtbl, 0xb4563688_98eb_4646_b279_44da14d45748); +windows_core::imp::define_interface!(ISketchInk, ISketchInk_Vtbl, 0xb4563688_98eb_4646_b279_44da14d45748); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ISketchInk, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -4969,7 +4969,7 @@ impl ISketchInk {} pub struct ISketchInk_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(IStrokeBuilder, IStrokeBuilder_Vtbl, 0xa5fd4e2d_c44b_4092_9177_260905eb672b); +windows_core::imp::define_interface!(IStrokeBuilder, IStrokeBuilder_Vtbl, 0xa5fd4e2d_c44b_4092_9177_260905eb672b); windows_core::imp::interface_hierarchy!(IStrokeBuilder, windows_core::IUnknown); impl IStrokeBuilder { #[cfg(feature = "Win32_System_Com")] @@ -5025,7 +5025,7 @@ pub struct IStrokeBuilder_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] putref_Ink: usize, } -windows_core::imp::com_interface!(IStylusAsyncPlugin, IStylusAsyncPlugin_Vtbl, 0xa7cca85a_31bc_4cd2_aadc_3289a3af11c8); +windows_core::imp::define_interface!(IStylusAsyncPlugin, IStylusAsyncPlugin_Vtbl, 0xa7cca85a_31bc_4cd2_aadc_3289a3af11c8); windows_core::imp::interface_hierarchy!(IStylusAsyncPlugin, windows_core::IUnknown, IStylusPlugin); impl IStylusAsyncPlugin { pub unsafe fn RealTimeStylusEnabled(&self, pirtssrc: P0, ptcids: &[u32]) -> windows_core::Result<()> @@ -5136,7 +5136,7 @@ impl IStylusAsyncPlugin { pub struct IStylusAsyncPlugin_Vtbl { pub base__: IStylusPlugin_Vtbl, } -windows_core::imp::com_interface!(IStylusPlugin, IStylusPlugin_Vtbl, 0xa81436d8_4757_4fd1_a185_133f97c6c545); +windows_core::imp::define_interface!(IStylusPlugin, IStylusPlugin_Vtbl, 0xa81436d8_4757_4fd1_a185_133f97c6c545); windows_core::imp::interface_hierarchy!(IStylusPlugin, windows_core::IUnknown); impl IStylusPlugin { pub unsafe fn RealTimeStylusEnabled(&self, pirtssrc: P0, ptcids: &[u32]) -> windows_core::Result<()> @@ -5267,7 +5267,7 @@ pub struct IStylusPlugin_Vtbl { pub UpdateMapping: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub DataInterest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut RealTimeStylusDataInterest) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IStylusSyncPlugin, IStylusSyncPlugin_Vtbl, 0xa157b174_482f_4d71_a3f6_3a41ddd11be9); +windows_core::imp::define_interface!(IStylusSyncPlugin, IStylusSyncPlugin_Vtbl, 0xa157b174_482f_4d71_a3f6_3a41ddd11be9); windows_core::imp::interface_hierarchy!(IStylusSyncPlugin, windows_core::IUnknown, IStylusPlugin); impl IStylusSyncPlugin { pub unsafe fn RealTimeStylusEnabled(&self, pirtssrc: P0, ptcids: &[u32]) -> windows_core::Result<()> @@ -5378,7 +5378,7 @@ impl IStylusSyncPlugin { pub struct IStylusSyncPlugin_Vtbl { pub base__: IStylusPlugin_Vtbl, } -windows_core::imp::com_interface!(ITextInputPanel, ITextInputPanel_Vtbl, 0x6b6a65a5_6af3_46c2_b6ea_56cd1f80df71); +windows_core::imp::define_interface!(ITextInputPanel, ITextInputPanel_Vtbl, 0x6b6a65a5_6af3_46c2_b6ea_56cd1f80df71); windows_core::imp::interface_hierarchy!(ITextInputPanel, windows_core::IUnknown); impl ITextInputPanel { pub unsafe fn AttachedEditWindow(&self) -> windows_core::Result { @@ -5517,7 +5517,7 @@ pub struct ITextInputPanel_Vtbl { pub Advise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Unadvise: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextInputPanelEventSink, ITextInputPanelEventSink_Vtbl, 0x27560408_8e64_4fe1_804e_421201584b31); +windows_core::imp::define_interface!(ITextInputPanelEventSink, ITextInputPanelEventSink_Vtbl, 0x27560408_8e64_4fe1_804e_421201584b31); windows_core::imp::interface_hierarchy!(ITextInputPanelEventSink, windows_core::IUnknown); impl ITextInputPanelEventSink { pub unsafe fn InPlaceStateChanging(&self, oldinplacestate: InPlaceState, newinplacestate: InPlaceState) -> windows_core::Result<()> { @@ -5589,7 +5589,7 @@ pub struct ITextInputPanelEventSink_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] TextInserted: usize, } -windows_core::imp::com_interface!(ITextInputPanelRunInfo, ITextInputPanelRunInfo_Vtbl, 0x9f424568_1920_48cc_9811_a993cbf5adba); +windows_core::imp::define_interface!(ITextInputPanelRunInfo, ITextInputPanelRunInfo_Vtbl, 0x9f424568_1920_48cc_9811_a993cbf5adba); windows_core::imp::interface_hierarchy!(ITextInputPanelRunInfo, windows_core::IUnknown); impl ITextInputPanelRunInfo { pub unsafe fn IsTipRunning(&self) -> windows_core::Result { @@ -5602,7 +5602,7 @@ pub struct ITextInputPanelRunInfo_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub IsTipRunning: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITipAutoCompleteClient, ITipAutoCompleteClient_Vtbl, 0x5e078e03_8265_4bbe_9487_d242edbef910); +windows_core::imp::define_interface!(ITipAutoCompleteClient, ITipAutoCompleteClient_Vtbl, 0x5e078e03_8265_4bbe_9487_d242edbef910); windows_core::imp::interface_hierarchy!(ITipAutoCompleteClient, windows_core::IUnknown); impl ITipAutoCompleteClient { pub unsafe fn AdviseProvider(&self, hwndfield: P0, piprovider: P1) -> windows_core::Result<()> @@ -5642,7 +5642,7 @@ pub struct ITipAutoCompleteClient_Vtbl { pub PreferredRects: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, *const super::super::Foundation::RECT, *mut super::super::Foundation::RECT, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub RequestShowUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITipAutoCompleteProvider, ITipAutoCompleteProvider_Vtbl, 0x7c6cf46d_8404_46b9_ad33_f5b6036d4007); +windows_core::imp::define_interface!(ITipAutoCompleteProvider, ITipAutoCompleteProvider_Vtbl, 0x7c6cf46d_8404_46b9_ad33_f5b6036d4007); windows_core::imp::interface_hierarchy!(ITipAutoCompleteProvider, windows_core::IUnknown); impl ITipAutoCompleteProvider { pub unsafe fn UpdatePendingText(&self, bstrpendingtext: P0) -> windows_core::Result<()> @@ -5665,7 +5665,7 @@ pub struct ITipAutoCompleteProvider_Vtbl { pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_IInkCollectorEvents, _IInkCollectorEvents_Vtbl, 0x11a583f2_712d_4fea_abcf_ab4af38ea06b); +windows_core::imp::define_interface!(_IInkCollectorEvents, _IInkCollectorEvents_Vtbl, 0x11a583f2_712d_4fea_abcf_ab4af38ea06b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_IInkCollectorEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5676,7 +5676,7 @@ pub struct _IInkCollectorEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_IInkEditEvents, _IInkEditEvents_Vtbl, 0xe3b0b797_a72e_46db_a0d7_6c9eba8e9bbc); +windows_core::imp::define_interface!(_IInkEditEvents, _IInkEditEvents_Vtbl, 0xe3b0b797_a72e_46db_a0d7_6c9eba8e9bbc); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_IInkEditEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5687,7 +5687,7 @@ pub struct _IInkEditEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_IInkEvents, _IInkEvents_Vtbl, 0x427b1865_ca3f_479a_83a9_0f420f2a0073); +windows_core::imp::define_interface!(_IInkEvents, _IInkEvents_Vtbl, 0x427b1865_ca3f_479a_83a9_0f420f2a0073); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_IInkEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5698,7 +5698,7 @@ pub struct _IInkEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_IInkOverlayEvents, _IInkOverlayEvents_Vtbl, 0x31179b69_e563_489e_b16f_712f1e8a0651); +windows_core::imp::define_interface!(_IInkOverlayEvents, _IInkOverlayEvents_Vtbl, 0x31179b69_e563_489e_b16f_712f1e8a0651); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_IInkOverlayEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5709,7 +5709,7 @@ pub struct _IInkOverlayEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_IInkPictureEvents, _IInkPictureEvents_Vtbl, 0x60ff4fee_22ff_4484_acc1_d308d9cd7ea3); +windows_core::imp::define_interface!(_IInkPictureEvents, _IInkPictureEvents_Vtbl, 0x60ff4fee_22ff_4484_acc1_d308d9cd7ea3); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_IInkPictureEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5720,7 +5720,7 @@ pub struct _IInkPictureEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_IInkRecognitionEvents, _IInkRecognitionEvents_Vtbl, 0x17bce92f_2e21_47fd_9d33_3c6afbfd8c59); +windows_core::imp::define_interface!(_IInkRecognitionEvents, _IInkRecognitionEvents_Vtbl, 0x17bce92f_2e21_47fd_9d33_3c6afbfd8c59); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_IInkRecognitionEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5731,7 +5731,7 @@ pub struct _IInkRecognitionEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_IInkStrokesEvents, _IInkStrokesEvents_Vtbl, 0xf33053ec_5d25_430a_928f_76a6491dde15); +windows_core::imp::define_interface!(_IInkStrokesEvents, _IInkStrokesEvents_Vtbl, 0xf33053ec_5d25_430a_928f_76a6491dde15); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_IInkStrokesEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5742,7 +5742,7 @@ pub struct _IInkStrokesEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_IMathInputControlEvents, _IMathInputControlEvents_Vtbl, 0x683336b5_a47d_4358_96f9_875a472ae70a); +windows_core::imp::define_interface!(_IMathInputControlEvents, _IMathInputControlEvents_Vtbl, 0x683336b5_a47d_4358_96f9_875a472ae70a); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_IMathInputControlEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -5753,7 +5753,7 @@ pub struct _IMathInputControlEvents_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(_IPenInputPanelEvents, _IPenInputPanelEvents_Vtbl, 0xb7e489da_3719_439f_848f_e7acbd820f17); +windows_core::imp::define_interface!(_IPenInputPanelEvents, _IPenInputPanelEvents_Vtbl, 0xb7e489da_3719_439f_848f_e7acbd820f17); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(_IPenInputPanelEvents, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] 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 9d5a0bedbc..d3c2ede627 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/mod.rs @@ -16,7 +16,7 @@ pub unsafe fn UninitLocalMsCtfMonitor() -> windows_core::Result<()> { windows_targets::link!("msctfmonitor.dll" "system" fn UninitLocalMsCtfMonitor() -> windows_core::HRESULT); UninitLocalMsCtfMonitor().ok() } -windows_core::imp::com_interface!(IAccClientDocMgr, IAccClientDocMgr_Vtbl, 0x4c896039_7b6d_49e6_a8c1_45116a98292b); +windows_core::imp::define_interface!(IAccClientDocMgr, IAccClientDocMgr_Vtbl, 0x4c896039_7b6d_49e6_a8c1_45116a98292b); windows_core::imp::interface_hierarchy!(IAccClientDocMgr, windows_core::IUnknown); impl IAccClientDocMgr { #[cfg(feature = "Win32_System_Com")] @@ -51,7 +51,7 @@ pub struct IAccClientDocMgr_Vtbl { pub LookupByPoint: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::POINT, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFocused: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccDictionary, IAccDictionary_Vtbl, 0x1dc4cb5f_d737_474d_ade9_5ccfc9bc1cc9); +windows_core::imp::define_interface!(IAccDictionary, IAccDictionary_Vtbl, 0x1dc4cb5f_d737_474d_ade9_5ccfc9bc1cc9); windows_core::imp::interface_hierarchy!(IAccDictionary, windows_core::IUnknown); impl IAccDictionary { pub unsafe fn GetLocalizedString(&self, term: *const windows_core::GUID, lcid: u32, presult: *mut windows_core::BSTR, plcid: *mut u32) -> windows_core::Result<()> { @@ -88,7 +88,7 @@ pub struct IAccDictionary_Vtbl { 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, } -windows_core::imp::com_interface!(IAccServerDocMgr, IAccServerDocMgr_Vtbl, 0xad7c73cf_6dd5_4855_abc2_b04bad5b9153); +windows_core::imp::define_interface!(IAccServerDocMgr, IAccServerDocMgr_Vtbl, 0xad7c73cf_6dd5_4855_abc2_b04bad5b9153); windows_core::imp::interface_hierarchy!(IAccServerDocMgr, windows_core::IUnknown); impl IAccServerDocMgr { pub unsafe fn NewDocument(&self, riid: *const windows_core::GUID, punk: P0) -> windows_core::Result<()> @@ -117,7 +117,7 @@ pub struct IAccServerDocMgr_Vtbl { pub RevokeDocument: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnDocumentFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAccStore, IAccStore_Vtbl, 0xe2cd4a63_2b72_4d48_b739_95e4765195ba); +windows_core::imp::define_interface!(IAccStore, IAccStore_Vtbl, 0xe2cd4a63_2b72_4d48_b739_95e4765195ba); windows_core::imp::interface_hierarchy!(IAccStore, windows_core::IUnknown); impl IAccStore { pub unsafe fn Register(&self, riid: *const windows_core::GUID, punk: P0) -> windows_core::Result<()> @@ -173,7 +173,7 @@ pub struct IAccStore_Vtbl { pub OnDocumentFocus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetFocused: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAnchor, IAnchor_Vtbl, 0x0feb7e34_5a60_4356_8ef7_abdec2ff7cf8); +windows_core::imp::define_interface!(IAnchor, IAnchor_Vtbl, 0x0feb7e34_5a60_4356_8ef7_abdec2ff7cf8); windows_core::imp::interface_hierarchy!(IAnchor, windows_core::IUnknown); impl IAnchor { pub unsafe fn SetGravity(&self, gravity: TsGravity) -> windows_core::Result<()> { @@ -243,7 +243,7 @@ pub struct IAnchor_Vtbl { pub ClearChangeHistory: 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, } -windows_core::imp::com_interface!(IClonableWrapper, IClonableWrapper_Vtbl, 0xb33e75ff_e84c_4dca_a25c_33b8dc003374); +windows_core::imp::define_interface!(IClonableWrapper, IClonableWrapper_Vtbl, 0xb33e75ff_e84c_4dca_a25c_33b8dc003374); windows_core::imp::interface_hierarchy!(IClonableWrapper, windows_core::IUnknown); impl IClonableWrapper { pub unsafe fn CloneNewWrapper(&self) -> windows_core::Result @@ -259,7 +259,7 @@ pub struct IClonableWrapper_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CloneNewWrapper: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICoCreateLocally, ICoCreateLocally_Vtbl, 0x03de00aa_f272_41e3_99cb_03c5e8114ea0); +windows_core::imp::define_interface!(ICoCreateLocally, ICoCreateLocally_Vtbl, 0x03de00aa_f272_41e3_99cb_03c5e8114ea0); windows_core::imp::interface_hierarchy!(ICoCreateLocally, windows_core::IUnknown); impl ICoCreateLocally { pub unsafe fn CoCreateLocally(&self, rclsid: *const windows_core::GUID, dwclscontext: u32, riid: *const windows_core::GUID, punk: *mut Option, riidparam: *const windows_core::GUID, punkparam: P0, varparam: P1) -> windows_core::Result<()> @@ -275,7 +275,7 @@ 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, } -windows_core::imp::com_interface!(ICoCreatedLocally, ICoCreatedLocally_Vtbl, 0x0a53eb6c_1908_4742_8cff_2cee2e93f94c); +windows_core::imp::define_interface!(ICoCreatedLocally, ICoCreatedLocally_Vtbl, 0x0a53eb6c_1908_4742_8cff_2cee2e93f94c); windows_core::imp::interface_hierarchy!(ICoCreatedLocally, windows_core::IUnknown); impl ICoCreatedLocally { pub unsafe fn LocalInit(&self, punklocalobject: P0, riidparam: *const windows_core::GUID, punkparam: P1, varparam: P2) -> windows_core::Result<()> @@ -292,7 +292,7 @@ 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, } -windows_core::imp::com_interface!(IDocWrap, IDocWrap_Vtbl, 0xdcd285fe_0be0_43bd_99c9_aaaec513c555); +windows_core::imp::define_interface!(IDocWrap, IDocWrap_Vtbl, 0xdcd285fe_0be0_43bd_99c9_aaaec513c555); windows_core::imp::interface_hierarchy!(IDocWrap, windows_core::IUnknown); impl IDocWrap { pub unsafe fn SetDoc(&self, riid: *const windows_core::GUID, punk: P0) -> windows_core::Result<()> @@ -312,7 +312,7 @@ pub struct IDocWrap_Vtbl { pub SetDoc: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetWrappedDoc: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IEnumITfCompositionView, IEnumITfCompositionView_Vtbl, 0x5efd22ba_7838_46cb_88e2_cadb14124f8f); +windows_core::imp::define_interface!(IEnumITfCompositionView, IEnumITfCompositionView_Vtbl, 0x5efd22ba_7838_46cb_88e2_cadb14124f8f); windows_core::imp::interface_hierarchy!(IEnumITfCompositionView, windows_core::IUnknown); impl IEnumITfCompositionView { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -337,7 +337,7 @@ pub struct IEnumITfCompositionView_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSpeechCommands, IEnumSpeechCommands_Vtbl, 0x8c5dac4f_083c_4b85_a4c9_71746048adca); +windows_core::imp::define_interface!(IEnumSpeechCommands, IEnumSpeechCommands_Vtbl, 0x8c5dac4f_083c_4b85_a4c9_71746048adca); windows_core::imp::interface_hierarchy!(IEnumSpeechCommands, windows_core::IUnknown); impl IEnumSpeechCommands { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -362,7 +362,7 @@ pub struct IEnumSpeechCommands_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfCandidates, IEnumTfCandidates_Vtbl, 0xdefb1926_6c80_4ce8_87d4_d6b72b812bde); +windows_core::imp::define_interface!(IEnumTfCandidates, IEnumTfCandidates_Vtbl, 0xdefb1926_6c80_4ce8_87d4_d6b72b812bde); windows_core::imp::interface_hierarchy!(IEnumTfCandidates, windows_core::IUnknown); impl IEnumTfCandidates { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -387,7 +387,7 @@ pub struct IEnumTfCandidates_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfContextViews, IEnumTfContextViews_Vtbl, 0xf0c0f8dd_cf38_44e1_bb0f_68cf0d551c78); +windows_core::imp::define_interface!(IEnumTfContextViews, IEnumTfContextViews_Vtbl, 0xf0c0f8dd_cf38_44e1_bb0f_68cf0d551c78); windows_core::imp::interface_hierarchy!(IEnumTfContextViews, windows_core::IUnknown); impl IEnumTfContextViews { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -412,7 +412,7 @@ pub struct IEnumTfContextViews_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfContexts, IEnumTfContexts_Vtbl, 0x8f1a7ea6_1654_4502_a86e_b2902344d507); +windows_core::imp::define_interface!(IEnumTfContexts, IEnumTfContexts_Vtbl, 0x8f1a7ea6_1654_4502_a86e_b2902344d507); windows_core::imp::interface_hierarchy!(IEnumTfContexts, windows_core::IUnknown); impl IEnumTfContexts { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -437,7 +437,7 @@ pub struct IEnumTfContexts_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfDisplayAttributeInfo, IEnumTfDisplayAttributeInfo_Vtbl, 0x7cef04d7_cb75_4e80_a7ab_5f5bc7d332de); +windows_core::imp::define_interface!(IEnumTfDisplayAttributeInfo, IEnumTfDisplayAttributeInfo_Vtbl, 0x7cef04d7_cb75_4e80_a7ab_5f5bc7d332de); windows_core::imp::interface_hierarchy!(IEnumTfDisplayAttributeInfo, windows_core::IUnknown); impl IEnumTfDisplayAttributeInfo { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -462,7 +462,7 @@ pub struct IEnumTfDisplayAttributeInfo_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfDocumentMgrs, IEnumTfDocumentMgrs_Vtbl, 0xaa80e808_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(IEnumTfDocumentMgrs, IEnumTfDocumentMgrs_Vtbl, 0xaa80e808_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(IEnumTfDocumentMgrs, windows_core::IUnknown); impl IEnumTfDocumentMgrs { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -487,7 +487,7 @@ pub struct IEnumTfDocumentMgrs_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfFunctionProviders, IEnumTfFunctionProviders_Vtbl, 0xe4b24db0_0990_11d3_8df0_00105a2799b5); +windows_core::imp::define_interface!(IEnumTfFunctionProviders, IEnumTfFunctionProviders_Vtbl, 0xe4b24db0_0990_11d3_8df0_00105a2799b5); windows_core::imp::interface_hierarchy!(IEnumTfFunctionProviders, windows_core::IUnknown); impl IEnumTfFunctionProviders { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -512,7 +512,7 @@ pub struct IEnumTfFunctionProviders_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfInputProcessorProfiles, IEnumTfInputProcessorProfiles_Vtbl, 0x71c6e74d_0f28_11d8_a82a_00065b84435c); +windows_core::imp::define_interface!(IEnumTfInputProcessorProfiles, IEnumTfInputProcessorProfiles_Vtbl, 0x71c6e74d_0f28_11d8_a82a_00065b84435c); windows_core::imp::interface_hierarchy!(IEnumTfInputProcessorProfiles, windows_core::IUnknown); impl IEnumTfInputProcessorProfiles { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -537,7 +537,7 @@ pub struct IEnumTfInputProcessorProfiles_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfLangBarItems, IEnumTfLangBarItems_Vtbl, 0x583f34d0_de25_11d2_afdd_00105a2799b5); +windows_core::imp::define_interface!(IEnumTfLangBarItems, IEnumTfLangBarItems_Vtbl, 0x583f34d0_de25_11d2_afdd_00105a2799b5); windows_core::imp::interface_hierarchy!(IEnumTfLangBarItems, windows_core::IUnknown); impl IEnumTfLangBarItems { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -562,7 +562,7 @@ pub struct IEnumTfLangBarItems_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfLanguageProfiles, IEnumTfLanguageProfiles_Vtbl, 0x3d61bf11_ac5f_42c8_a4cb_931bcc28c744); +windows_core::imp::define_interface!(IEnumTfLanguageProfiles, IEnumTfLanguageProfiles_Vtbl, 0x3d61bf11_ac5f_42c8_a4cb_931bcc28c744); windows_core::imp::interface_hierarchy!(IEnumTfLanguageProfiles, windows_core::IUnknown); impl IEnumTfLanguageProfiles { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -587,7 +587,7 @@ pub struct IEnumTfLanguageProfiles_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfLatticeElements, IEnumTfLatticeElements_Vtbl, 0x56988052_47da_4a05_911a_e3d941f17145); +windows_core::imp::define_interface!(IEnumTfLatticeElements, IEnumTfLatticeElements_Vtbl, 0x56988052_47da_4a05_911a_e3d941f17145); windows_core::imp::interface_hierarchy!(IEnumTfLatticeElements, windows_core::IUnknown); impl IEnumTfLatticeElements { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -612,7 +612,7 @@ pub struct IEnumTfLatticeElements_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfProperties, IEnumTfProperties_Vtbl, 0x19188cb0_aca9_11d2_afc5_00105a2799b5); +windows_core::imp::define_interface!(IEnumTfProperties, IEnumTfProperties_Vtbl, 0x19188cb0_aca9_11d2_afc5_00105a2799b5); windows_core::imp::interface_hierarchy!(IEnumTfProperties, windows_core::IUnknown); impl IEnumTfProperties { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -637,7 +637,7 @@ pub struct IEnumTfProperties_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfPropertyValue, IEnumTfPropertyValue_Vtbl, 0x8ed8981b_7c10_4d7d_9fb3_ab72e9c75f72); +windows_core::imp::define_interface!(IEnumTfPropertyValue, IEnumTfPropertyValue_Vtbl, 0x8ed8981b_7c10_4d7d_9fb3_ab72e9c75f72); windows_core::imp::interface_hierarchy!(IEnumTfPropertyValue, windows_core::IUnknown); impl IEnumTfPropertyValue { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -662,7 +662,7 @@ pub struct IEnumTfPropertyValue_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfRanges, IEnumTfRanges_Vtbl, 0xf99d3f40_8e32_11d2_bf46_00105a2799b5); +windows_core::imp::define_interface!(IEnumTfRanges, IEnumTfRanges_Vtbl, 0xf99d3f40_8e32_11d2_bf46_00105a2799b5); windows_core::imp::interface_hierarchy!(IEnumTfRanges, windows_core::IUnknown); impl IEnumTfRanges { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -687,7 +687,7 @@ pub struct IEnumTfRanges_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumTfUIElements, IEnumTfUIElements_Vtbl, 0x887aa91e_acba_4931_84da_3c5208cf543f); +windows_core::imp::define_interface!(IEnumTfUIElements, IEnumTfUIElements_Vtbl, 0x887aa91e_acba_4931_84da_3c5208cf543f); windows_core::imp::interface_hierarchy!(IEnumTfUIElements, windows_core::IUnknown); impl IEnumTfUIElements { pub unsafe fn Clone(&self) -> windows_core::Result { @@ -712,7 +712,7 @@ pub struct IEnumTfUIElements_Vtbl { 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, } -windows_core::imp::com_interface!(IInternalDocWrap, IInternalDocWrap_Vtbl, 0xe1aa6466_9db4_40ba_be03_77c38e8e60b2); +windows_core::imp::define_interface!(IInternalDocWrap, IInternalDocWrap_Vtbl, 0xe1aa6466_9db4_40ba_be03_77c38e8e60b2); windows_core::imp::interface_hierarchy!(IInternalDocWrap, windows_core::IUnknown); impl IInternalDocWrap { pub unsafe fn NotifyRevoke(&self) -> windows_core::Result<()> { @@ -724,7 +724,7 @@ pub struct IInternalDocWrap_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub NotifyRevoke: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISpeechCommandProvider, ISpeechCommandProvider_Vtbl, 0x38e09d4c_586d_435a_b592_c8a86691dec6); +windows_core::imp::define_interface!(ISpeechCommandProvider, ISpeechCommandProvider_Vtbl, 0x38e09d4c_586d_435a_b592_c8a86691dec6); windows_core::imp::interface_hierarchy!(ISpeechCommandProvider, windows_core::IUnknown); impl ISpeechCommandProvider { pub unsafe fn EnumSpeechCommands(&self, langid: u16) -> windows_core::Result { @@ -741,7 +741,7 @@ pub struct ISpeechCommandProvider_Vtbl { pub EnumSpeechCommands: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub ProcessCommand: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextStoreACP, ITextStoreACP_Vtbl, 0x28888fe3_c2a0_483a_a3ea_8cb1ce51ff3d); +windows_core::imp::define_interface!(ITextStoreACP, ITextStoreACP_Vtbl, 0x28888fe3_c2a0_483a_a3ea_8cb1ce51ff3d); windows_core::imp::interface_hierarchy!(ITextStoreACP, windows_core::IUnknown); impl ITextStoreACP { pub unsafe fn AdviseSink(&self, riid: *const windows_core::GUID, punk: P0, dwmask: u32) -> windows_core::Result<()> @@ -893,7 +893,7 @@ pub struct ITextStoreACP_Vtbl { pub GetScreenExt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, pub GetWnd: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextStoreACP2, ITextStoreACP2_Vtbl, 0xf86ad89f_5fe4_4b8d_bb9f_ef3797a84f1f); +windows_core::imp::define_interface!(ITextStoreACP2, ITextStoreACP2_Vtbl, 0xf86ad89f_5fe4_4b8d_bb9f_ef3797a84f1f); windows_core::imp::interface_hierarchy!(ITextStoreACP2, windows_core::IUnknown); impl ITextStoreACP2 { pub unsafe fn AdviseSink(&self, riid: *const windows_core::GUID, punk: P0, dwmask: u32) -> windows_core::Result<()> @@ -1040,7 +1040,7 @@ pub struct ITextStoreACP2_Vtbl { pub GetTextExt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, i32, i32, *mut super::super::Foundation::RECT, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetScreenExt: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextStoreACPEx, ITextStoreACPEx_Vtbl, 0xa2de3bc2_3d8e_11d3_81a9_f753fbe61a00); +windows_core::imp::define_interface!(ITextStoreACPEx, ITextStoreACPEx_Vtbl, 0xa2de3bc2_3d8e_11d3_81a9_f753fbe61a00); windows_core::imp::interface_hierarchy!(ITextStoreACPEx, windows_core::IUnknown); impl ITextStoreACPEx { pub unsafe fn ScrollToRect(&self, acpstart: i32, acpend: i32, rc: super::super::Foundation::RECT, dwposition: u32) -> windows_core::Result<()> { @@ -1052,7 +1052,7 @@ pub struct ITextStoreACPEx_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ScrollToRect: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, super::super::Foundation::RECT, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextStoreACPServices, ITextStoreACPServices_Vtbl, 0xaa80e901_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITextStoreACPServices, ITextStoreACPServices_Vtbl, 0xaa80e901_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(ITextStoreACPServices, windows_core::IUnknown); impl ITextStoreACPServices { #[cfg(feature = "Win32_System_Com")] @@ -1098,7 +1098,7 @@ pub struct ITextStoreACPServices_Vtbl { pub ForceLoadProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateRange: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextStoreACPSink, ITextStoreACPSink_Vtbl, 0x22d44c94_a419_4542_a272_ae26093ececf); +windows_core::imp::define_interface!(ITextStoreACPSink, ITextStoreACPSink_Vtbl, 0x22d44c94_a419_4542_a272_ae26093ececf); windows_core::imp::interface_hierarchy!(ITextStoreACPSink, windows_core::IUnknown); impl ITextStoreACPSink { pub unsafe fn OnTextChange(&self, dwflags: TEXT_STORE_TEXT_CHANGE_FLAGS, pchange: *const TS_TEXTCHANGE) -> windows_core::Result<()> { @@ -1138,7 +1138,7 @@ pub struct ITextStoreACPSink_Vtbl { pub OnStartEditTransaction: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnEndEditTransaction: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextStoreACPSinkEx, ITextStoreACPSinkEx_Vtbl, 0x2bdf9464_41e2_43e3_950c_a6865ba25cd4); +windows_core::imp::define_interface!(ITextStoreACPSinkEx, ITextStoreACPSinkEx_Vtbl, 0x2bdf9464_41e2_43e3_950c_a6865ba25cd4); windows_core::imp::interface_hierarchy!(ITextStoreACPSinkEx, windows_core::IUnknown, ITextStoreACPSink); impl ITextStoreACPSinkEx { pub unsafe fn OnTextChange(&self, dwflags: TEXT_STORE_TEXT_CHANGE_FLAGS, pchange: *const TS_TEXTCHANGE) -> windows_core::Result<()> { @@ -1174,7 +1174,7 @@ pub struct ITextStoreACPSinkEx_Vtbl { pub base__: ITextStoreACPSink_Vtbl, pub OnDisconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextStoreAnchor, ITextStoreAnchor_Vtbl, 0x9b2077b0_5f18_4dec_bee9_3cc722f5dfe0); +windows_core::imp::define_interface!(ITextStoreAnchor, ITextStoreAnchor_Vtbl, 0x9b2077b0_5f18_4dec_bee9_3cc722f5dfe0); windows_core::imp::interface_hierarchy!(ITextStoreAnchor, windows_core::IUnknown); impl ITextStoreAnchor { pub unsafe fn AdviseSink(&self, riid: *const windows_core::GUID, punk: P0, dwmask: u32) -> windows_core::Result<()> @@ -1365,7 +1365,7 @@ pub struct ITextStoreAnchor_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] InsertEmbeddedAtSelection: usize, } -windows_core::imp::com_interface!(ITextStoreAnchorEx, ITextStoreAnchorEx_Vtbl, 0xa2de3bc1_3d8e_11d3_81a9_f753fbe61a00); +windows_core::imp::define_interface!(ITextStoreAnchorEx, ITextStoreAnchorEx_Vtbl, 0xa2de3bc1_3d8e_11d3_81a9_f753fbe61a00); windows_core::imp::interface_hierarchy!(ITextStoreAnchorEx, windows_core::IUnknown); impl ITextStoreAnchorEx { pub unsafe fn ScrollToRect(&self, pstart: P0, pend: P1, rc: super::super::Foundation::RECT, dwposition: u32) -> windows_core::Result<()> @@ -1381,7 +1381,7 @@ pub struct ITextStoreAnchorEx_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub ScrollToRect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::RECT, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextStoreAnchorSink, ITextStoreAnchorSink_Vtbl, 0xaa80e905_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITextStoreAnchorSink, ITextStoreAnchorSink_Vtbl, 0xaa80e905_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(ITextStoreAnchorSink, windows_core::IUnknown); impl ITextStoreAnchorSink { pub unsafe fn OnTextChange(&self, dwflags: TEXT_STORE_CHANGE_FLAGS, pastart: P0, paend: P1) -> windows_core::Result<()> @@ -1429,7 +1429,7 @@ pub struct ITextStoreAnchorSink_Vtbl { pub OnStartEditTransaction: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnEndEditTransaction: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITextStoreSinkAnchorEx, ITextStoreSinkAnchorEx_Vtbl, 0x25642426_028d_4474_977b_111bb114fe3e); +windows_core::imp::define_interface!(ITextStoreSinkAnchorEx, ITextStoreSinkAnchorEx_Vtbl, 0x25642426_028d_4474_977b_111bb114fe3e); windows_core::imp::interface_hierarchy!(ITextStoreSinkAnchorEx, windows_core::IUnknown, ITextStoreAnchorSink); impl ITextStoreSinkAnchorEx { pub unsafe fn OnTextChange(&self, dwflags: TEXT_STORE_CHANGE_FLAGS, pastart: P0, paend: P1) -> windows_core::Result<()> @@ -1473,7 +1473,7 @@ pub struct ITextStoreSinkAnchorEx_Vtbl { pub base__: ITextStoreAnchorSink_Vtbl, pub OnDisconnect: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfActiveLanguageProfileNotifySink, ITfActiveLanguageProfileNotifySink_Vtbl, 0xb246cb75_a93e_4652_bf8c_b3fe0cfd7e57); +windows_core::imp::define_interface!(ITfActiveLanguageProfileNotifySink, ITfActiveLanguageProfileNotifySink_Vtbl, 0xb246cb75_a93e_4652_bf8c_b3fe0cfd7e57); windows_core::imp::interface_hierarchy!(ITfActiveLanguageProfileNotifySink, windows_core::IUnknown); impl ITfActiveLanguageProfileNotifySink { pub unsafe fn OnActivated(&self, clsid: *const windows_core::GUID, guidprofile: *const windows_core::GUID, factivated: P0) -> windows_core::Result<()> @@ -1488,7 +1488,7 @@ pub struct ITfActiveLanguageProfileNotifySink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnActivated: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *const windows_core::GUID, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfCandidateList, ITfCandidateList_Vtbl, 0xa3ad50fb_9bdb_49e3_a843_6c76520fbf5d); +windows_core::imp::define_interface!(ITfCandidateList, ITfCandidateList_Vtbl, 0xa3ad50fb_9bdb_49e3_a843_6c76520fbf5d); windows_core::imp::interface_hierarchy!(ITfCandidateList, windows_core::IUnknown); impl ITfCandidateList { pub unsafe fn EnumCandidates(&self) -> windows_core::Result { @@ -1515,7 +1515,7 @@ pub struct ITfCandidateList_Vtbl { pub GetCandidateNum: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub SetResult: unsafe extern "system" fn(*mut core::ffi::c_void, u32, TfCandidateResult) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfCandidateListUIElement, ITfCandidateListUIElement_Vtbl, 0xea1ea138_19df_11d7_a6d2_00065b84435c); +windows_core::imp::define_interface!(ITfCandidateListUIElement, ITfCandidateListUIElement_Vtbl, 0xea1ea138_19df_11d7_a6d2_00065b84435c); windows_core::imp::interface_hierarchy!(ITfCandidateListUIElement, windows_core::IUnknown, ITfUIElement); impl ITfCandidateListUIElement { pub unsafe fn GetDescription(&self) -> windows_core::Result { @@ -1579,7 +1579,7 @@ pub struct ITfCandidateListUIElement_Vtbl { 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, } -windows_core::imp::com_interface!(ITfCandidateListUIElementBehavior, ITfCandidateListUIElementBehavior_Vtbl, 0x85fad185_58ce_497a_9460_355366b64b9a); +windows_core::imp::define_interface!(ITfCandidateListUIElementBehavior, ITfCandidateListUIElementBehavior_Vtbl, 0x85fad185_58ce_497a_9460_355366b64b9a); windows_core::imp::interface_hierarchy!(ITfCandidateListUIElementBehavior, windows_core::IUnknown, ITfUIElement, ITfCandidateListUIElement); impl ITfCandidateListUIElementBehavior { pub unsafe fn GetDescription(&self) -> windows_core::Result { @@ -1647,7 +1647,7 @@ pub struct ITfCandidateListUIElementBehavior_Vtbl { pub Finalize: 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, } -windows_core::imp::com_interface!(ITfCandidateString, ITfCandidateString_Vtbl, 0x581f317e_fd9d_443f_b972_ed00467c5d40); +windows_core::imp::define_interface!(ITfCandidateString, ITfCandidateString_Vtbl, 0x581f317e_fd9d_443f_b972_ed00467c5d40); windows_core::imp::interface_hierarchy!(ITfCandidateString, windows_core::IUnknown); impl ITfCandidateString { pub unsafe fn GetString(&self) -> windows_core::Result { @@ -1665,7 +1665,7 @@ pub struct ITfCandidateString_Vtbl { pub GetString: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, pub GetIndex: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfCategoryMgr, ITfCategoryMgr_Vtbl, 0xc3acefb5_f69d_4905_938f_fcadcf4be830); +windows_core::imp::define_interface!(ITfCategoryMgr, ITfCategoryMgr_Vtbl, 0xc3acefb5_f69d_4905_938f_fcadcf4be830); windows_core::imp::interface_hierarchy!(ITfCategoryMgr, windows_core::IUnknown); impl ITfCategoryMgr { pub unsafe fn RegisterCategory(&self, rclsid: *const windows_core::GUID, rcatid: *const windows_core::GUID, rguid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -1744,7 +1744,7 @@ pub struct ITfCategoryMgr_Vtbl { pub GetGUID: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, pub IsEqualTfGuidAtom: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfCleanupContextDurationSink, ITfCleanupContextDurationSink_Vtbl, 0x45c35144_154e_4797_bed8_d33ae7bf8794); +windows_core::imp::define_interface!(ITfCleanupContextDurationSink, ITfCleanupContextDurationSink_Vtbl, 0x45c35144_154e_4797_bed8_d33ae7bf8794); windows_core::imp::interface_hierarchy!(ITfCleanupContextDurationSink, windows_core::IUnknown); impl ITfCleanupContextDurationSink { pub unsafe fn OnStartCleanupContext(&self) -> windows_core::Result<()> { @@ -1760,7 +1760,7 @@ pub struct ITfCleanupContextDurationSink_Vtbl { pub OnStartCleanupContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnEndCleanupContext: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfCleanupContextSink, ITfCleanupContextSink_Vtbl, 0x01689689_7acb_4e9b_ab7c_7ea46b12b522); +windows_core::imp::define_interface!(ITfCleanupContextSink, ITfCleanupContextSink_Vtbl, 0x01689689_7acb_4e9b_ab7c_7ea46b12b522); windows_core::imp::interface_hierarchy!(ITfCleanupContextSink, windows_core::IUnknown); impl ITfCleanupContextSink { pub unsafe fn OnCleanupContext(&self, ecwrite: u32, pic: P0) -> windows_core::Result<()> @@ -1775,7 +1775,7 @@ pub struct ITfCleanupContextSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnCleanupContext: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfClientId, ITfClientId_Vtbl, 0xd60a7b49_1b9f_4be2_b702_47e9dc05dec3); +windows_core::imp::define_interface!(ITfClientId, ITfClientId_Vtbl, 0xd60a7b49_1b9f_4be2_b702_47e9dc05dec3); windows_core::imp::interface_hierarchy!(ITfClientId, windows_core::IUnknown); impl ITfClientId { pub unsafe fn GetClientId(&self, rclsid: *const windows_core::GUID) -> windows_core::Result { @@ -1788,7 +1788,7 @@ pub struct ITfClientId_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetClientId: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfCompartment, ITfCompartment_Vtbl, 0xbb08f7a9_607a_4384_8623_056892b64371); +windows_core::imp::define_interface!(ITfCompartment, ITfCompartment_Vtbl, 0xbb08f7a9_607a_4384_8623_056892b64371); windows_core::imp::interface_hierarchy!(ITfCompartment, windows_core::IUnknown); impl ITfCompartment { pub unsafe fn SetValue(&self, tid: u32, pvarvalue: *const windows_core::VARIANT) -> windows_core::Result<()> { @@ -1805,7 +1805,7 @@ pub struct ITfCompartment_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, } -windows_core::imp::com_interface!(ITfCompartmentEventSink, ITfCompartmentEventSink_Vtbl, 0x743abd5f_f26d_48df_8cc5_238492419b64); +windows_core::imp::define_interface!(ITfCompartmentEventSink, ITfCompartmentEventSink_Vtbl, 0x743abd5f_f26d_48df_8cc5_238492419b64); windows_core::imp::interface_hierarchy!(ITfCompartmentEventSink, windows_core::IUnknown); impl ITfCompartmentEventSink { pub unsafe fn OnChange(&self, rguid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -1817,7 +1817,7 @@ pub struct ITfCompartmentEventSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnChange: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfCompartmentMgr, ITfCompartmentMgr_Vtbl, 0x7dcf57ac_18ad_438b_824d_979bffb74b7c); +windows_core::imp::define_interface!(ITfCompartmentMgr, ITfCompartmentMgr_Vtbl, 0x7dcf57ac_18ad_438b_824d_979bffb74b7c); windows_core::imp::interface_hierarchy!(ITfCompartmentMgr, windows_core::IUnknown); impl ITfCompartmentMgr { pub unsafe fn GetCompartment(&self, rguid: *const windows_core::GUID) -> windows_core::Result { @@ -1843,7 +1843,7 @@ pub struct ITfCompartmentMgr_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] EnumCompartments: usize, } -windows_core::imp::com_interface!(ITfComposition, ITfComposition_Vtbl, 0x20168d64_5a8f_4a5a_b7bd_cfa29f4d0fd9); +windows_core::imp::define_interface!(ITfComposition, ITfComposition_Vtbl, 0x20168d64_5a8f_4a5a_b7bd_cfa29f4d0fd9); windows_core::imp::interface_hierarchy!(ITfComposition, windows_core::IUnknown); impl ITfComposition { pub unsafe fn GetRange(&self) -> windows_core::Result { @@ -1874,7 +1874,7 @@ pub struct ITfComposition_Vtbl { pub ShiftEnd: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndComposition: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfCompositionSink, ITfCompositionSink_Vtbl, 0xa781718c_579a_4b15_a280_32b8577acc5e); +windows_core::imp::define_interface!(ITfCompositionSink, ITfCompositionSink_Vtbl, 0xa781718c_579a_4b15_a280_32b8577acc5e); windows_core::imp::interface_hierarchy!(ITfCompositionSink, windows_core::IUnknown); impl ITfCompositionSink { pub unsafe fn OnCompositionTerminated(&self, ecwrite: u32, pcomposition: P0) -> windows_core::Result<()> @@ -1889,7 +1889,7 @@ pub struct ITfCompositionSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnCompositionTerminated: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfCompositionView, ITfCompositionView_Vtbl, 0xd7540241_f9a1_4364_befc_dbcd2c4395b7); +windows_core::imp::define_interface!(ITfCompositionView, ITfCompositionView_Vtbl, 0xd7540241_f9a1_4364_befc_dbcd2c4395b7); windows_core::imp::interface_hierarchy!(ITfCompositionView, windows_core::IUnknown); impl ITfCompositionView { pub unsafe fn GetOwnerClsid(&self) -> windows_core::Result { @@ -1907,7 +1907,7 @@ pub struct ITfCompositionView_Vtbl { pub GetOwnerClsid: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, pub GetRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfConfigureSystemKeystrokeFeed, ITfConfigureSystemKeystrokeFeed_Vtbl, 0x0d2c969a_bc9c_437c_84ee_951c49b1a764); +windows_core::imp::define_interface!(ITfConfigureSystemKeystrokeFeed, ITfConfigureSystemKeystrokeFeed_Vtbl, 0x0d2c969a_bc9c_437c_84ee_951c49b1a764); windows_core::imp::interface_hierarchy!(ITfConfigureSystemKeystrokeFeed, windows_core::IUnknown); impl ITfConfigureSystemKeystrokeFeed { pub unsafe fn DisableSystemKeystrokeFeed(&self) -> windows_core::Result<()> { @@ -1923,7 +1923,7 @@ pub struct ITfConfigureSystemKeystrokeFeed_Vtbl { pub DisableSystemKeystrokeFeed: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub EnableSystemKeystrokeFeed: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfContext, ITfContext_Vtbl, 0xaa80e7fd_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITfContext, ITfContext_Vtbl, 0xaa80e7fd_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(ITfContext, windows_core::IUnknown); impl ITfContext { pub unsafe fn RequestEditSession(&self, tid: u32, pes: P0, dwflags: TF_CONTEXT_EDIT_CONTEXT_FLAGS) -> windows_core::Result @@ -2010,7 +2010,7 @@ pub struct ITfContext_Vtbl { pub GetDocumentMgr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateRangeBackup: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfContextComposition, ITfContextComposition_Vtbl, 0xd40c8aae_ac92_4fc7_9a11_0ee0e23aa39b); +windows_core::imp::define_interface!(ITfContextComposition, ITfContextComposition_Vtbl, 0xd40c8aae_ac92_4fc7_9a11_0ee0e23aa39b); windows_core::imp::interface_hierarchy!(ITfContextComposition, windows_core::IUnknown); impl ITfContextComposition { pub unsafe fn StartComposition(&self, ecwrite: u32, pcompositionrange: P0, psink: P1) -> windows_core::Result @@ -2049,7 +2049,7 @@ pub struct ITfContextComposition_Vtbl { pub FindComposition: 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 TakeOwnership: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfContextKeyEventSink, ITfContextKeyEventSink_Vtbl, 0x0552ba5d_c835_4934_bf50_846aaa67432f); +windows_core::imp::define_interface!(ITfContextKeyEventSink, ITfContextKeyEventSink_Vtbl, 0x0552ba5d_c835_4934_bf50_846aaa67432f); windows_core::imp::interface_hierarchy!(ITfContextKeyEventSink, windows_core::IUnknown); impl ITfContextKeyEventSink { pub unsafe fn OnKeyDown(&self, wparam: P0, lparam: P1) -> windows_core::Result @@ -2093,7 +2093,7 @@ pub struct ITfContextKeyEventSink_Vtbl { pub OnTestKeyDown: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub OnTestKeyUp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfContextOwner, ITfContextOwner_Vtbl, 0xaa80e80c_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITfContextOwner, ITfContextOwner_Vtbl, 0xaa80e80c_2021_11d2_93e0_0060b067b86e); 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 { @@ -2130,7 +2130,7 @@ pub struct ITfContextOwner_Vtbl { 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, } -windows_core::imp::com_interface!(ITfContextOwnerCompositionServices, ITfContextOwnerCompositionServices_Vtbl, 0x86462810_593b_4916_9764_19c08e9ce110); +windows_core::imp::define_interface!(ITfContextOwnerCompositionServices, ITfContextOwnerCompositionServices_Vtbl, 0x86462810_593b_4916_9764_19c08e9ce110); windows_core::imp::interface_hierarchy!(ITfContextOwnerCompositionServices, windows_core::IUnknown, ITfContextComposition); impl ITfContextOwnerCompositionServices { pub unsafe fn StartComposition(&self, ecwrite: u32, pcompositionrange: P0, psink: P1) -> windows_core::Result @@ -2172,7 +2172,7 @@ pub struct ITfContextOwnerCompositionServices_Vtbl { pub base__: ITfContextComposition_Vtbl, pub TerminateComposition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfContextOwnerCompositionSink, ITfContextOwnerCompositionSink_Vtbl, 0x5f20aa40_b57a_4f34_96ab_3576f377cc79); +windows_core::imp::define_interface!(ITfContextOwnerCompositionSink, ITfContextOwnerCompositionSink_Vtbl, 0x5f20aa40_b57a_4f34_96ab_3576f377cc79); windows_core::imp::interface_hierarchy!(ITfContextOwnerCompositionSink, windows_core::IUnknown); impl ITfContextOwnerCompositionSink { pub unsafe fn OnStartComposition(&self, pcomposition: P0) -> windows_core::Result @@ -2203,7 +2203,7 @@ pub struct ITfContextOwnerCompositionSink_Vtbl { pub OnUpdateComposition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnEndComposition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfContextOwnerServices, ITfContextOwnerServices_Vtbl, 0xb23eb630_3e1c_11d3_a745_0050040ab407); +windows_core::imp::define_interface!(ITfContextOwnerServices, ITfContextOwnerServices_Vtbl, 0xb23eb630_3e1c_11d3_a745_0050040ab407); windows_core::imp::interface_hierarchy!(ITfContextOwnerServices, windows_core::IUnknown); impl ITfContextOwnerServices { pub unsafe fn OnLayoutChange(&self) -> windows_core::Result<()> { @@ -2261,7 +2261,7 @@ pub struct ITfContextOwnerServices_Vtbl { pub ForceLoadProperty: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateRange: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfContextView, ITfContextView_Vtbl, 0x2433bf8e_0f9b_435c_ba2c_180611978c30); +windows_core::imp::define_interface!(ITfContextView, ITfContextView_Vtbl, 0x2433bf8e_0f9b_435c_ba2c_180611978c30); 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 { @@ -2291,7 +2291,7 @@ pub struct ITfContextView_Vtbl { pub GetScreenExt: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, pub GetWnd: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfCreatePropertyStore, ITfCreatePropertyStore_Vtbl, 0x2463fbf0_b0af_11d2_afc5_00105a2799b5); +windows_core::imp::define_interface!(ITfCreatePropertyStore, ITfCreatePropertyStore_Vtbl, 0x2463fbf0_b0af_11d2_afc5_00105a2799b5); windows_core::imp::interface_hierarchy!(ITfCreatePropertyStore, windows_core::IUnknown); impl ITfCreatePropertyStore { pub unsafe fn IsStoreSerializable(&self, guidprop: *const windows_core::GUID, prange: P0, ppropstore: P1) -> windows_core::Result @@ -2321,7 +2321,7 @@ pub struct ITfCreatePropertyStore_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CreatePropertyStore: usize, } -windows_core::imp::com_interface!(ITfDisplayAttributeInfo, ITfDisplayAttributeInfo_Vtbl, 0x70528852_2f26_4aea_8c96_215150578932); +windows_core::imp::define_interface!(ITfDisplayAttributeInfo, ITfDisplayAttributeInfo_Vtbl, 0x70528852_2f26_4aea_8c96_215150578932); windows_core::imp::interface_hierarchy!(ITfDisplayAttributeInfo, windows_core::IUnknown); impl ITfDisplayAttributeInfo { pub unsafe fn GetGUID(&self) -> windows_core::Result { @@ -2351,7 +2351,7 @@ pub struct ITfDisplayAttributeInfo_Vtbl { 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, } -windows_core::imp::com_interface!(ITfDisplayAttributeMgr, ITfDisplayAttributeMgr_Vtbl, 0x8ded7393_5db1_475c_9e71_a39111b0ff67); +windows_core::imp::define_interface!(ITfDisplayAttributeMgr, ITfDisplayAttributeMgr_Vtbl, 0x8ded7393_5db1_475c_9e71_a39111b0ff67); windows_core::imp::interface_hierarchy!(ITfDisplayAttributeMgr, windows_core::IUnknown); impl ITfDisplayAttributeMgr { pub unsafe fn OnUpdateInfo(&self) -> windows_core::Result<()> { @@ -2372,7 +2372,7 @@ pub struct ITfDisplayAttributeMgr_Vtbl { pub EnumDisplayAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDisplayAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfDisplayAttributeNotifySink, ITfDisplayAttributeNotifySink_Vtbl, 0xad56f402_e162_4f25_908f_7d577cf9bda9); +windows_core::imp::define_interface!(ITfDisplayAttributeNotifySink, ITfDisplayAttributeNotifySink_Vtbl, 0xad56f402_e162_4f25_908f_7d577cf9bda9); windows_core::imp::interface_hierarchy!(ITfDisplayAttributeNotifySink, windows_core::IUnknown); impl ITfDisplayAttributeNotifySink { pub unsafe fn OnUpdateInfo(&self) -> windows_core::Result<()> { @@ -2384,7 +2384,7 @@ pub struct ITfDisplayAttributeNotifySink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnUpdateInfo: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfDisplayAttributeProvider, ITfDisplayAttributeProvider_Vtbl, 0xfee47777_163c_4769_996a_6e9c50ad8f54); +windows_core::imp::define_interface!(ITfDisplayAttributeProvider, ITfDisplayAttributeProvider_Vtbl, 0xfee47777_163c_4769_996a_6e9c50ad8f54); windows_core::imp::interface_hierarchy!(ITfDisplayAttributeProvider, windows_core::IUnknown); impl ITfDisplayAttributeProvider { pub unsafe fn EnumDisplayAttributeInfo(&self) -> windows_core::Result { @@ -2402,7 +2402,7 @@ pub struct ITfDisplayAttributeProvider_Vtbl { pub EnumDisplayAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetDisplayAttributeInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfDocumentMgr, ITfDocumentMgr_Vtbl, 0xaa80e7f4_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITfDocumentMgr, ITfDocumentMgr_Vtbl, 0xaa80e7f4_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(ITfDocumentMgr, windows_core::IUnknown); impl ITfDocumentMgr { pub unsafe fn CreateContext(&self, tidowner: u32, dwflags: u32, punk: P0, ppic: *mut Option, pectextstore: *mut u32) -> windows_core::Result<()> @@ -2443,7 +2443,7 @@ pub struct ITfDocumentMgr_Vtbl { pub GetBase: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumContexts: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfEditRecord, ITfEditRecord_Vtbl, 0x42d4d099_7c1a_4a89_b836_6c6f22160df0); +windows_core::imp::define_interface!(ITfEditRecord, ITfEditRecord_Vtbl, 0x42d4d099_7c1a_4a89_b836_6c6f22160df0); windows_core::imp::interface_hierarchy!(ITfEditRecord, windows_core::IUnknown); impl ITfEditRecord { pub unsafe fn GetSelectionStatus(&self) -> windows_core::Result { @@ -2461,7 +2461,7 @@ pub struct ITfEditRecord_Vtbl { pub GetSelectionStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub GetTextAndPropertyUpdates: unsafe extern "system" fn(*mut core::ffi::c_void, GET_TEXT_AND_PROPERTY_UPDATES_FLAGS, *const *const windows_core::GUID, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfEditSession, ITfEditSession_Vtbl, 0xaa80e803_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITfEditSession, ITfEditSession_Vtbl, 0xaa80e803_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(ITfEditSession, windows_core::IUnknown); impl ITfEditSession { pub unsafe fn DoEditSession(&self, ec: u32) -> windows_core::Result<()> { @@ -2473,7 +2473,7 @@ pub struct ITfEditSession_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DoEditSession: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfEditTransactionSink, ITfEditTransactionSink_Vtbl, 0x708fbf70_b520_416b_b06c_2c41ab44f8ba); +windows_core::imp::define_interface!(ITfEditTransactionSink, ITfEditTransactionSink_Vtbl, 0x708fbf70_b520_416b_b06c_2c41ab44f8ba); windows_core::imp::interface_hierarchy!(ITfEditTransactionSink, windows_core::IUnknown); impl ITfEditTransactionSink { pub unsafe fn OnStartEditTransaction(&self, pic: P0) -> windows_core::Result<()> @@ -2495,7 +2495,7 @@ pub struct ITfEditTransactionSink_Vtbl { pub OnStartEditTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnEndEditTransaction: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnAdviseText, ITfFnAdviseText_Vtbl, 0x3527268b_7d53_4dd9_92b7_7296ae461249); +windows_core::imp::define_interface!(ITfFnAdviseText, ITfFnAdviseText_Vtbl, 0x3527268b_7d53_4dd9_92b7_7296ae461249); windows_core::imp::interface_hierarchy!(ITfFnAdviseText, windows_core::IUnknown, ITfFunction); impl ITfFnAdviseText { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2522,7 +2522,7 @@ pub struct ITfFnAdviseText_Vtbl { pub OnTextUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, windows_core::PCWSTR, i32) -> windows_core::HRESULT, pub OnLatticeUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnBalloon, ITfFnBalloon_Vtbl, 0x3bab89e4_5fbe_45f4_a5bc_dca36ad225a8); +windows_core::imp::define_interface!(ITfFnBalloon, ITfFnBalloon_Vtbl, 0x3bab89e4_5fbe_45f4_a5bc_dca36ad225a8); windows_core::imp::interface_hierarchy!(ITfFnBalloon, windows_core::IUnknown); impl ITfFnBalloon { pub unsafe fn UpdateBalloon(&self, style: TfLBBalloonStyle, pch: &[u16]) -> windows_core::Result<()> { @@ -2534,7 +2534,7 @@ pub struct ITfFnBalloon_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub UpdateBalloon: unsafe extern "system" fn(*mut core::ffi::c_void, TfLBBalloonStyle, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnConfigure, ITfFnConfigure_Vtbl, 0x88f567c6_1757_49f8_a1b2_89234c1eeff9); +windows_core::imp::define_interface!(ITfFnConfigure, ITfFnConfigure_Vtbl, 0x88f567c6_1757_49f8_a1b2_89234c1eeff9); windows_core::imp::interface_hierarchy!(ITfFnConfigure, windows_core::IUnknown, ITfFunction); impl ITfFnConfigure { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2553,7 +2553,7 @@ pub struct ITfFnConfigure_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) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnConfigureRegisterEudc, ITfFnConfigureRegisterEudc_Vtbl, 0xb5e26ff5_d7ad_4304_913f_21a2ed95a1b0); +windows_core::imp::define_interface!(ITfFnConfigureRegisterEudc, ITfFnConfigureRegisterEudc_Vtbl, 0xb5e26ff5_d7ad_4304_913f_21a2ed95a1b0); windows_core::imp::interface_hierarchy!(ITfFnConfigureRegisterEudc, windows_core::IUnknown, ITfFunction); impl ITfFnConfigureRegisterEudc { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2573,7 +2573,7 @@ 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, } -windows_core::imp::com_interface!(ITfFnConfigureRegisterWord, ITfFnConfigureRegisterWord_Vtbl, 0xbb95808a_6d8f_4bca_8400_5390b586aedf); +windows_core::imp::define_interface!(ITfFnConfigureRegisterWord, ITfFnConfigureRegisterWord_Vtbl, 0xbb95808a_6d8f_4bca_8400_5390b586aedf); windows_core::imp::interface_hierarchy!(ITfFnConfigureRegisterWord, windows_core::IUnknown, ITfFunction); impl ITfFnConfigureRegisterWord { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2593,7 +2593,7 @@ 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, } -windows_core::imp::com_interface!(ITfFnCustomSpeechCommand, ITfFnCustomSpeechCommand_Vtbl, 0xfca6c349_a12f_43a3_8dd6_5a5a4282577b); +windows_core::imp::define_interface!(ITfFnCustomSpeechCommand, ITfFnCustomSpeechCommand_Vtbl, 0xfca6c349_a12f_43a3_8dd6_5a5a4282577b); windows_core::imp::interface_hierarchy!(ITfFnCustomSpeechCommand, windows_core::IUnknown, ITfFunction); impl ITfFnCustomSpeechCommand { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2612,7 +2612,7 @@ pub struct ITfFnCustomSpeechCommand_Vtbl { pub base__: ITfFunction_Vtbl, pub SetSpeechCommandProvider: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnGetLinguisticAlternates, ITfFnGetLinguisticAlternates_Vtbl, 0xea163ce2_7a65_4506_82a3_c528215da64e); +windows_core::imp::define_interface!(ITfFnGetLinguisticAlternates, ITfFnGetLinguisticAlternates_Vtbl, 0xea163ce2_7a65_4506_82a3_c528215da64e); windows_core::imp::interface_hierarchy!(ITfFnGetLinguisticAlternates, windows_core::IUnknown, ITfFunction); impl ITfFnGetLinguisticAlternates { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2632,7 +2632,7 @@ pub struct ITfFnGetLinguisticAlternates_Vtbl { pub base__: ITfFunction_Vtbl, pub GetAlternates: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnGetPreferredTouchKeyboardLayout, ITfFnGetPreferredTouchKeyboardLayout_Vtbl, 0x5f309a41_590a_4acc_a97f_d8efff13fdfc); +windows_core::imp::define_interface!(ITfFnGetPreferredTouchKeyboardLayout, ITfFnGetPreferredTouchKeyboardLayout_Vtbl, 0x5f309a41_590a_4acc_a97f_d8efff13fdfc); windows_core::imp::interface_hierarchy!(ITfFnGetPreferredTouchKeyboardLayout, windows_core::IUnknown, ITfFunction); impl ITfFnGetPreferredTouchKeyboardLayout { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2648,7 +2648,7 @@ pub struct ITfFnGetPreferredTouchKeyboardLayout_Vtbl { pub base__: ITfFunction_Vtbl, pub GetLayout: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TKBLayoutType, *const u16) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnGetSAPIObject, ITfFnGetSAPIObject_Vtbl, 0x5c0ab7ea_167d_4f59_bfb5_4693755e90ca); +windows_core::imp::define_interface!(ITfFnGetSAPIObject, ITfFnGetSAPIObject_Vtbl, 0x5c0ab7ea_167d_4f59_bfb5_4693755e90ca); windows_core::imp::interface_hierarchy!(ITfFnGetSAPIObject, windows_core::IUnknown, ITfFunction); impl ITfFnGetSAPIObject { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2665,7 +2665,7 @@ pub struct ITfFnGetSAPIObject_Vtbl { pub base__: ITfFunction_Vtbl, pub Get: unsafe extern "system" fn(*mut core::ffi::c_void, TfSapiObject, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnLMInternal, ITfFnLMInternal_Vtbl, 0x04b825b1_ac9a_4f7b_b5ad_c7168f1ee445); +windows_core::imp::define_interface!(ITfFnLMInternal, ITfFnLMInternal_Vtbl, 0x04b825b1_ac9a_4f7b_b5ad_c7168f1ee445); windows_core::imp::interface_hierarchy!(ITfFnLMInternal, windows_core::IUnknown, ITfFunction, ITfFnLMProcessor); impl ITfFnLMInternal { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2730,7 +2730,7 @@ pub struct ITfFnLMInternal_Vtbl { pub base__: ITfFnLMProcessor_Vtbl, pub ProcessLattice: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnLMProcessor, ITfFnLMProcessor_Vtbl, 0x7afbf8e7_ac4b_4082_b058_890899d3a010); +windows_core::imp::define_interface!(ITfFnLMProcessor, ITfFnLMProcessor_Vtbl, 0x7afbf8e7_ac4b_4082_b058_890899d3a010); windows_core::imp::interface_hierarchy!(ITfFnLMProcessor, windows_core::IUnknown, ITfFunction); impl ITfFnLMProcessor { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2795,7 +2795,7 @@ pub struct ITfFnLMProcessor_Vtbl { pub InvokeKey: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, pub InvokeFunc: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnLangProfileUtil, ITfFnLangProfileUtil_Vtbl, 0xa87a8574_a6c1_4e15_99f0_3d3965f548eb); +windows_core::imp::define_interface!(ITfFnLangProfileUtil, ITfFnLangProfileUtil_Vtbl, 0xa87a8574_a6c1_4e15_99f0_3d3965f548eb); windows_core::imp::interface_hierarchy!(ITfFnLangProfileUtil, windows_core::IUnknown, ITfFunction); impl ITfFnLangProfileUtil { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2816,7 +2816,7 @@ pub struct ITfFnLangProfileUtil_Vtbl { pub RegisterActiveProfiles: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub IsProfileAvailableForLang: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnPlayBack, ITfFnPlayBack_Vtbl, 0xa3a416a4_0f64_11d3_b5b7_00c04fc324a1); +windows_core::imp::define_interface!(ITfFnPlayBack, ITfFnPlayBack_Vtbl, 0xa3a416a4_0f64_11d3_b5b7_00c04fc324a1); windows_core::imp::interface_hierarchy!(ITfFnPlayBack, windows_core::IUnknown, ITfFunction); impl ITfFnPlayBack { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2842,7 +2842,7 @@ pub struct ITfFnPlayBack_Vtbl { pub QueryRange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub Play: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnPropertyUIStatus, ITfFnPropertyUIStatus_Vtbl, 0x2338ac6e_2b9d_44c0_a75e_ee64f256b3bd); +windows_core::imp::define_interface!(ITfFnPropertyUIStatus, ITfFnPropertyUIStatus_Vtbl, 0x2338ac6e_2b9d_44c0_a75e_ee64f256b3bd); windows_core::imp::interface_hierarchy!(ITfFnPropertyUIStatus, windows_core::IUnknown, ITfFunction); impl ITfFnPropertyUIStatus { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2863,7 +2863,7 @@ pub struct ITfFnPropertyUIStatus_Vtbl { pub GetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, pub SetStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnReconversion, ITfFnReconversion_Vtbl, 0x4cea93c0_0a58_11d3_8df0_00105a2799b5); +windows_core::imp::define_interface!(ITfFnReconversion, ITfFnReconversion_Vtbl, 0x4cea93c0_0a58_11d3_8df0_00105a2799b5); windows_core::imp::interface_hierarchy!(ITfFnReconversion, windows_core::IUnknown, ITfFunction); impl ITfFnReconversion { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2897,7 +2897,7 @@ pub struct ITfFnReconversion_Vtbl { pub GetReconversion: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub Reconvert: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFnSearchCandidateProvider, ITfFnSearchCandidateProvider_Vtbl, 0x87a2ad8f_f27b_4920_8501_67602280175d); +windows_core::imp::define_interface!(ITfFnSearchCandidateProvider, ITfFnSearchCandidateProvider_Vtbl, 0x87a2ad8f_f27b_4920_8501_67602280175d); windows_core::imp::interface_hierarchy!(ITfFnSearchCandidateProvider, windows_core::IUnknown, ITfFunction); impl ITfFnSearchCandidateProvider { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2927,7 +2927,7 @@ pub struct ITfFnSearchCandidateProvider_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, } -windows_core::imp::com_interface!(ITfFnShowHelp, ITfFnShowHelp_Vtbl, 0x5ab1d30c_094d_4c29_8ea5_0bf59be87bf3); +windows_core::imp::define_interface!(ITfFnShowHelp, ITfFnShowHelp_Vtbl, 0x5ab1d30c_094d_4c29_8ea5_0bf59be87bf3); windows_core::imp::interface_hierarchy!(ITfFnShowHelp, windows_core::IUnknown, ITfFunction); impl ITfFnShowHelp { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2946,7 +2946,7 @@ pub struct ITfFnShowHelp_Vtbl { pub base__: ITfFunction_Vtbl, pub Show: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfFunction, ITfFunction_Vtbl, 0xdb593490_098f_11d3_8df0_00105a2799b5); +windows_core::imp::define_interface!(ITfFunction, ITfFunction_Vtbl, 0xdb593490_098f_11d3_8df0_00105a2799b5); windows_core::imp::interface_hierarchy!(ITfFunction, windows_core::IUnknown); impl ITfFunction { pub unsafe fn GetDisplayName(&self) -> windows_core::Result { @@ -2959,7 +2959,7 @@ 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, } -windows_core::imp::com_interface!(ITfFunctionProvider, ITfFunctionProvider_Vtbl, 0x101d6610_0990_11d3_8df0_00105a2799b5); +windows_core::imp::define_interface!(ITfFunctionProvider, ITfFunctionProvider_Vtbl, 0x101d6610_0990_11d3_8df0_00105a2799b5); windows_core::imp::interface_hierarchy!(ITfFunctionProvider, windows_core::IUnknown); impl ITfFunctionProvider { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -2982,7 +2982,7 @@ pub struct ITfFunctionProvider_Vtbl { pub GetDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(ITfInputProcessorProfileActivationSink, ITfInputProcessorProfileActivationSink_Vtbl, 0x71c6e74e_0f28_11d8_a82a_00065b84435c); +windows_core::imp::define_interface!(ITfInputProcessorProfileActivationSink, ITfInputProcessorProfileActivationSink_Vtbl, 0x71c6e74e_0f28_11d8_a82a_00065b84435c); windows_core::imp::interface_hierarchy!(ITfInputProcessorProfileActivationSink, windows_core::IUnknown); impl ITfInputProcessorProfileActivationSink { pub unsafe fn OnActivated(&self, dwprofiletype: u32, langid: u16, clsid: *const windows_core::GUID, catid: *const windows_core::GUID, guidprofile: *const windows_core::GUID, hkl: P0, dwflags: u32) -> windows_core::Result<()> @@ -2997,7 +2997,7 @@ pub struct ITfInputProcessorProfileActivationSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnActivated: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u16, *const windows_core::GUID, *const windows_core::GUID, *const windows_core::GUID, HKL, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfInputProcessorProfileMgr, ITfInputProcessorProfileMgr_Vtbl, 0x71c6e74c_0f28_11d8_a82a_00065b84435c); +windows_core::imp::define_interface!(ITfInputProcessorProfileMgr, ITfInputProcessorProfileMgr_Vtbl, 0x71c6e74c_0f28_11d8_a82a_00065b84435c); windows_core::imp::interface_hierarchy!(ITfInputProcessorProfileMgr, windows_core::IUnknown); impl ITfInputProcessorProfileMgr { pub unsafe fn ActivateProfile(&self, dwprofiletype: u32, langid: u16, clsid: *const windows_core::GUID, guidprofile: *const windows_core::GUID, hkl: P0, dwflags: u32) -> windows_core::Result<()> @@ -3051,7 +3051,7 @@ pub struct ITfInputProcessorProfileMgr_Vtbl { pub UnregisterProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, *const windows_core::GUID, u32) -> windows_core::HRESULT, pub GetActiveProfile: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut TF_INPUTPROCESSORPROFILE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfInputProcessorProfileSubstituteLayout, ITfInputProcessorProfileSubstituteLayout_Vtbl, 0x4fd67194_1002_4513_bff2_c0ddf6258552); +windows_core::imp::define_interface!(ITfInputProcessorProfileSubstituteLayout, ITfInputProcessorProfileSubstituteLayout_Vtbl, 0x4fd67194_1002_4513_bff2_c0ddf6258552); 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 { @@ -3064,7 +3064,7 @@ pub struct ITfInputProcessorProfileSubstituteLayout_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetSubstituteKeyboardLayout: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, *const windows_core::GUID, *mut HKL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfInputProcessorProfiles, ITfInputProcessorProfiles_Vtbl, 0x1f02b6c5_7842_4ee6_8a0b_9a24183a95ca); +windows_core::imp::define_interface!(ITfInputProcessorProfiles, ITfInputProcessorProfiles_Vtbl, 0x1f02b6c5_7842_4ee6_8a0b_9a24183a95ca); windows_core::imp::interface_hierarchy!(ITfInputProcessorProfiles, windows_core::IUnknown); impl ITfInputProcessorProfiles { pub unsafe fn Register(&self, rclsid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -3162,7 +3162,7 @@ pub struct ITfInputProcessorProfiles_Vtbl { pub EnableLanguageProfileByDefault: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, *const windows_core::GUID, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub SubstituteKeyboardLayout: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, *const windows_core::GUID, HKL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfInputProcessorProfilesEx, ITfInputProcessorProfilesEx_Vtbl, 0x892f230f_fe00_4a41_a98e_fcd6de0d35ef); +windows_core::imp::define_interface!(ITfInputProcessorProfilesEx, ITfInputProcessorProfilesEx_Vtbl, 0x892f230f_fe00_4a41_a98e_fcd6de0d35ef); windows_core::imp::interface_hierarchy!(ITfInputProcessorProfilesEx, windows_core::IUnknown, ITfInputProcessorProfiles); impl ITfInputProcessorProfilesEx { pub unsafe fn Register(&self, rclsid: *const windows_core::GUID) -> windows_core::Result<()> { @@ -3243,7 +3243,7 @@ pub struct ITfInputProcessorProfilesEx_Vtbl { pub base__: ITfInputProcessorProfiles_Vtbl, pub SetLanguageProfileDisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, u16, *const windows_core::GUID, windows_core::PCWSTR, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfInputScope, ITfInputScope_Vtbl, 0xfde1eaee_6924_4cdf_91e7_da38cff5559d); +windows_core::imp::define_interface!(ITfInputScope, ITfInputScope_Vtbl, 0xfde1eaee_6924_4cdf_91e7_da38cff5559d); windows_core::imp::interface_hierarchy!(ITfInputScope, windows_core::IUnknown); impl ITfInputScope { pub unsafe fn GetInputScopes(&self, pprginputscopes: *mut *mut InputScope, pccount: *mut u32) -> windows_core::Result<()> { @@ -3274,7 +3274,7 @@ pub struct ITfInputScope_Vtbl { 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, } -windows_core::imp::com_interface!(ITfInputScope2, ITfInputScope2_Vtbl, 0x5731eaa0_6bc2_4681_a532_92fbb74d7c41); +windows_core::imp::define_interface!(ITfInputScope2, ITfInputScope2_Vtbl, 0x5731eaa0_6bc2_4681_a532_92fbb74d7c41); windows_core::imp::interface_hierarchy!(ITfInputScope2, windows_core::IUnknown, ITfInputScope); impl ITfInputScope2 { pub unsafe fn GetInputScopes(&self, pprginputscopes: *mut *mut InputScope, pccount: *mut u32) -> windows_core::Result<()> { @@ -3309,7 +3309,7 @@ pub struct ITfInputScope2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] EnumWordList: usize, } -windows_core::imp::com_interface!(ITfInsertAtSelection, ITfInsertAtSelection_Vtbl, 0x55ce16ba_3014_41c1_9ceb_fade1446ac6c); +windows_core::imp::define_interface!(ITfInsertAtSelection, ITfInsertAtSelection_Vtbl, 0x55ce16ba_3014_41c1_9ceb_fade1446ac6c); 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 { @@ -3334,7 +3334,7 @@ pub struct ITfInsertAtSelection_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] InsertEmbeddedAtSelection: usize, } -windows_core::imp::com_interface!(ITfIntegratableCandidateListUIElement, ITfIntegratableCandidateListUIElement_Vtbl, 0xc7a6f54f_b180_416f_b2bf_7bf2e4683d7b); +windows_core::imp::define_interface!(ITfIntegratableCandidateListUIElement, ITfIntegratableCandidateListUIElement_Vtbl, 0xc7a6f54f_b180_416f_b2bf_7bf2e4683d7b); windows_core::imp::interface_hierarchy!(ITfIntegratableCandidateListUIElement, windows_core::IUnknown); impl ITfIntegratableCandidateListUIElement { pub unsafe fn SetIntegrationStyle(&self, guidintegrationstyle: windows_core::GUID) -> windows_core::Result<()> { @@ -3369,7 +3369,7 @@ pub struct ITfIntegratableCandidateListUIElement_Vtbl { pub ShowCandidateNumbers: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub FinalizeExactCompositionString: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfKeyEventSink, ITfKeyEventSink_Vtbl, 0xaa80e7f5_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITfKeyEventSink, ITfKeyEventSink_Vtbl, 0xaa80e7f5_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(ITfKeyEventSink, windows_core::IUnknown); impl ITfKeyEventSink { pub unsafe fn OnSetFocus(&self, fforeground: P0) -> windows_core::Result<()> @@ -3432,7 +3432,7 @@ pub struct ITfKeyEventSink_Vtbl { pub OnKeyUp: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub OnPreservedKey: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfKeyTraceEventSink, ITfKeyTraceEventSink_Vtbl, 0x1cd4c13b_1c36_4191_a70a_7f3e611f367d); +windows_core::imp::define_interface!(ITfKeyTraceEventSink, ITfKeyTraceEventSink_Vtbl, 0x1cd4c13b_1c36_4191_a70a_7f3e611f367d); windows_core::imp::interface_hierarchy!(ITfKeyTraceEventSink, windows_core::IUnknown); impl ITfKeyTraceEventSink { pub unsafe fn OnKeyTraceDown(&self, wparam: P0, lparam: P1) -> windows_core::Result<()> @@ -3456,7 +3456,7 @@ pub struct ITfKeyTraceEventSink_Vtbl { pub OnKeyTraceDown: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, pub OnKeyTraceUp: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfKeystrokeMgr, ITfKeystrokeMgr_Vtbl, 0xaa80e7f0_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITfKeystrokeMgr, ITfKeystrokeMgr_Vtbl, 0xaa80e7f0_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(ITfKeystrokeMgr, windows_core::IUnknown); impl ITfKeystrokeMgr { pub unsafe fn AdviseKeyEventSink(&self, tid: u32, psink: P0, fforeground: P1) -> windows_core::Result<()> @@ -3555,7 +3555,7 @@ pub struct ITfKeystrokeMgr_Vtbl { pub GetPreservedKeyDescription: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut std::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::com_interface!(ITfLMLattice, ITfLMLattice_Vtbl, 0xd4236675_a5bf_4570_9d42_5d6d7b02d59b); +windows_core::imp::define_interface!(ITfLMLattice, ITfLMLattice_Vtbl, 0xd4236675_a5bf_4570_9d42_5d6d7b02d59b); windows_core::imp::interface_hierarchy!(ITfLMLattice, windows_core::IUnknown); impl ITfLMLattice { pub unsafe fn QueryType(&self, rguidtype: *const windows_core::GUID) -> windows_core::Result { @@ -3573,7 +3573,7 @@ pub struct ITfLMLattice_Vtbl { pub QueryType: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub EnumLatticeElements: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfLangBarEventSink, ITfLangBarEventSink_Vtbl, 0x18a4e900_e0ae_11d2_afdd_00105a2799b5); +windows_core::imp::define_interface!(ITfLangBarEventSink, ITfLangBarEventSink_Vtbl, 0x18a4e900_e0ae_11d2_afdd_00105a2799b5); windows_core::imp::interface_hierarchy!(ITfLangBarEventSink, windows_core::IUnknown); impl ITfLangBarEventSink { pub unsafe fn OnSetFocus(&self, dwthreadid: u32) -> windows_core::Result<()> { @@ -3610,7 +3610,7 @@ pub struct ITfLangBarEventSink_Vtbl { pub ShowFloating: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetItemFloatingRect: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut super::super::Foundation::RECT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfLangBarItem, ITfLangBarItem_Vtbl, 0x73540d69_edeb_4ee9_96c9_23aa30b25916); +windows_core::imp::define_interface!(ITfLangBarItem, ITfLangBarItem_Vtbl, 0x73540d69_edeb_4ee9_96c9_23aa30b25916); windows_core::imp::interface_hierarchy!(ITfLangBarItem, windows_core::IUnknown); impl ITfLangBarItem { pub unsafe fn GetInfo(&self, pinfo: *mut TF_LANGBARITEMINFO) -> windows_core::Result<()> { @@ -3639,7 +3639,7 @@ pub struct ITfLangBarItem_Vtbl { 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, } -windows_core::imp::com_interface!(ITfLangBarItemBalloon, ITfLangBarItemBalloon_Vtbl, 0x01c2d285_d3c7_4b7b_b5b5_d97411d0c283); +windows_core::imp::define_interface!(ITfLangBarItemBalloon, ITfLangBarItemBalloon_Vtbl, 0x01c2d285_d3c7_4b7b_b5b5_d97411d0c283); windows_core::imp::interface_hierarchy!(ITfLangBarItemBalloon, windows_core::IUnknown, ITfLangBarItem); impl ITfLangBarItemBalloon { pub unsafe fn GetInfo(&self, pinfo: *mut TF_LANGBARITEMINFO) -> windows_core::Result<()> { @@ -3678,7 +3678,7 @@ pub struct ITfLangBarItemBalloon_Vtbl { pub GetPreferredSize: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::SIZE, *mut super::super::Foundation::SIZE) -> windows_core::HRESULT, pub GetBalloonInfo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut TF_LBBALLOONINFO) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfLangBarItemBitmap, ITfLangBarItemBitmap_Vtbl, 0x73830352_d722_4179_ada5_f045c98df355); +windows_core::imp::define_interface!(ITfLangBarItemBitmap, ITfLangBarItemBitmap_Vtbl, 0x73830352_d722_4179_ada5_f045c98df355); windows_core::imp::interface_hierarchy!(ITfLangBarItemBitmap, windows_core::IUnknown, ITfLangBarItem); impl ITfLangBarItemBitmap { pub unsafe fn GetInfo(&self, pinfo: *mut TF_LANGBARITEMINFO) -> windows_core::Result<()> { @@ -3720,7 +3720,7 @@ pub struct ITfLangBarItemBitmap_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] DrawBitmap: usize, } -windows_core::imp::com_interface!(ITfLangBarItemBitmapButton, ITfLangBarItemBitmapButton_Vtbl, 0xa26a0525_3fae_4fa0_89ee_88a964f9f1b5); +windows_core::imp::define_interface!(ITfLangBarItemBitmapButton, ITfLangBarItemBitmapButton_Vtbl, 0xa26a0525_3fae_4fa0_89ee_88a964f9f1b5); windows_core::imp::interface_hierarchy!(ITfLangBarItemBitmapButton, windows_core::IUnknown, ITfLangBarItem); impl ITfLangBarItemBitmapButton { pub unsafe fn GetInfo(&self, pinfo: *mut TF_LANGBARITEMINFO) -> windows_core::Result<()> { @@ -3778,7 +3778,7 @@ pub struct ITfLangBarItemBitmapButton_Vtbl { DrawBitmap: usize, pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfLangBarItemButton, ITfLangBarItemButton_Vtbl, 0x28c7f1d0_de25_11d2_afdd_00105a2799b5); +windows_core::imp::define_interface!(ITfLangBarItemButton, ITfLangBarItemButton_Vtbl, 0x28c7f1d0_de25_11d2_afdd_00105a2799b5); windows_core::imp::interface_hierarchy!(ITfLangBarItemButton, windows_core::IUnknown, ITfLangBarItem); impl ITfLangBarItemButton { pub unsafe fn GetInfo(&self, pinfo: *mut TF_LANGBARITEMINFO) -> windows_core::Result<()> { @@ -3832,7 +3832,7 @@ pub struct ITfLangBarItemButton_Vtbl { GetIcon: usize, pub GetText: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfLangBarItemMgr, ITfLangBarItemMgr_Vtbl, 0xba468c55_9956_4fb1_a59d_52a7dd7cc6aa); +windows_core::imp::define_interface!(ITfLangBarItemMgr, ITfLangBarItemMgr_Vtbl, 0xba468c55_9956_4fb1_a59d_52a7dd7cc6aa); windows_core::imp::interface_hierarchy!(ITfLangBarItemMgr, windows_core::IUnknown); impl ITfLangBarItemMgr { pub unsafe fn EnumItems(&self) -> windows_core::Result { @@ -3901,7 +3901,7 @@ pub struct ITfLangBarItemMgr_Vtbl { pub AdviseItemsSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const *mut core::ffi::c_void, *const windows_core::GUID, *mut u32) -> windows_core::HRESULT, pub UnadviseItemsSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfLangBarItemSink, ITfLangBarItemSink_Vtbl, 0x57dbe1a0_de25_11d2_afdd_00105a2799b5); +windows_core::imp::define_interface!(ITfLangBarItemSink, ITfLangBarItemSink_Vtbl, 0x57dbe1a0_de25_11d2_afdd_00105a2799b5); windows_core::imp::interface_hierarchy!(ITfLangBarItemSink, windows_core::IUnknown); impl ITfLangBarItemSink { pub unsafe fn OnUpdate(&self, dwflags: u32) -> windows_core::Result<()> { @@ -3913,7 +3913,7 @@ pub struct ITfLangBarItemSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnUpdate: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfLangBarMgr, ITfLangBarMgr_Vtbl, 0x87955690_e627_11d2_8ddb_00105a2799b5); +windows_core::imp::define_interface!(ITfLangBarMgr, ITfLangBarMgr_Vtbl, 0x87955690_e627_11d2_8ddb_00105a2799b5); windows_core::imp::interface_hierarchy!(ITfLangBarMgr, windows_core::IUnknown); impl ITfLangBarMgr { pub unsafe fn AdviseEventSink(&self, psink: P0, hwnd: P1, dwflags: u32, pdwcookie: *const u32) -> windows_core::Result<()> @@ -3969,7 +3969,7 @@ pub struct ITfLangBarMgr_Vtbl { pub ShowFloating: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetShowFloatingStatus: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfLanguageProfileNotifySink, ITfLanguageProfileNotifySink_Vtbl, 0x43c9fe15_f494_4c17_9de2_b8a4ac350aa8); +windows_core::imp::define_interface!(ITfLanguageProfileNotifySink, ITfLanguageProfileNotifySink_Vtbl, 0x43c9fe15_f494_4c17_9de2_b8a4ac350aa8); windows_core::imp::interface_hierarchy!(ITfLanguageProfileNotifySink, windows_core::IUnknown); impl ITfLanguageProfileNotifySink { pub unsafe fn OnLanguageChange(&self, langid: u16) -> windows_core::Result { @@ -3986,7 +3986,7 @@ pub struct ITfLanguageProfileNotifySink_Vtbl { pub OnLanguageChange: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, pub OnLanguageChanged: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfMSAAControl, ITfMSAAControl_Vtbl, 0xb5f8fb3b_393f_4f7c_84cb_504924c2705a); +windows_core::imp::define_interface!(ITfMSAAControl, ITfMSAAControl_Vtbl, 0xb5f8fb3b_393f_4f7c_84cb_504924c2705a); windows_core::imp::interface_hierarchy!(ITfMSAAControl, windows_core::IUnknown); impl ITfMSAAControl { pub unsafe fn SystemEnableMSAA(&self) -> windows_core::Result<()> { @@ -4002,7 +4002,7 @@ pub struct ITfMSAAControl_Vtbl { pub SystemEnableMSAA: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SystemDisableMSAA: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfMenu, ITfMenu_Vtbl, 0x6f8a98e4_aaa0_4f15_8c5b_07e0df0a3dd8); +windows_core::imp::define_interface!(ITfMenu, ITfMenu_Vtbl, 0x6f8a98e4_aaa0_4f15_8c5b_07e0df0a3dd8); windows_core::imp::interface_hierarchy!(ITfMenu, windows_core::IUnknown); impl ITfMenu { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -4022,7 +4022,7 @@ pub struct ITfMenu_Vtbl { #[cfg(not(feature = "Win32_Graphics_Gdi"))] AddMenuItem: usize, } -windows_core::imp::com_interface!(ITfMessagePump, ITfMessagePump_Vtbl, 0x8f1b8ad8_0b6b_4874_90c5_bd76011e8f7c); +windows_core::imp::define_interface!(ITfMessagePump, ITfMessagePump_Vtbl, 0x8f1b8ad8_0b6b_4874_90c5_bd76011e8f7c); windows_core::imp::interface_hierarchy!(ITfMessagePump, windows_core::IUnknown); impl ITfMessagePump { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -4074,7 +4074,7 @@ pub struct ITfMessagePump_Vtbl { #[cfg(not(feature = "Win32_UI_WindowsAndMessaging"))] GetMessageW: usize, } -windows_core::imp::com_interface!(ITfMouseSink, ITfMouseSink_Vtbl, 0xa1adaaa2_3a24_449d_ac96_5183e7f5c217); +windows_core::imp::define_interface!(ITfMouseSink, ITfMouseSink_Vtbl, 0xa1adaaa2_3a24_449d_ac96_5183e7f5c217); 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 { @@ -4087,7 +4087,7 @@ pub struct ITfMouseSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnMouseEvent: unsafe extern "system" fn(*mut core::ffi::c_void, u32, u32, u32, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfMouseTracker, ITfMouseTracker_Vtbl, 0x09d146cd_a544_4132_925b_7afa8ef322d0); +windows_core::imp::define_interface!(ITfMouseTracker, ITfMouseTracker_Vtbl, 0x09d146cd_a544_4132_925b_7afa8ef322d0); windows_core::imp::interface_hierarchy!(ITfMouseTracker, windows_core::IUnknown); impl ITfMouseTracker { pub unsafe fn AdviseMouseSink(&self, range: P0, psink: P1) -> windows_core::Result @@ -4108,7 +4108,7 @@ pub struct ITfMouseTracker_Vtbl { pub AdviseMouseSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UnadviseMouseSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfMouseTrackerACP, ITfMouseTrackerACP_Vtbl, 0x3bdd78e2_c16e_47fd_b883_ce6facc1a208); +windows_core::imp::define_interface!(ITfMouseTrackerACP, ITfMouseTrackerACP_Vtbl, 0x3bdd78e2_c16e_47fd_b883_ce6facc1a208); windows_core::imp::interface_hierarchy!(ITfMouseTrackerACP, windows_core::IUnknown); impl ITfMouseTrackerACP { pub unsafe fn AdviseMouseSink(&self, range: P0, psink: P1) -> windows_core::Result @@ -4129,7 +4129,7 @@ pub struct ITfMouseTrackerACP_Vtbl { pub AdviseMouseSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UnadviseMouseSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfPersistentPropertyLoaderACP, ITfPersistentPropertyLoaderACP_Vtbl, 0x4ef89150_0807_11d3_8df0_00105a2799b5); +windows_core::imp::define_interface!(ITfPersistentPropertyLoaderACP, ITfPersistentPropertyLoaderACP_Vtbl, 0x4ef89150_0807_11d3_8df0_00105a2799b5); windows_core::imp::interface_hierarchy!(ITfPersistentPropertyLoaderACP, windows_core::IUnknown); impl ITfPersistentPropertyLoaderACP { #[cfg(feature = "Win32_System_Com")] @@ -4146,7 +4146,7 @@ pub struct ITfPersistentPropertyLoaderACP_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] LoadProperty: usize, } -windows_core::imp::com_interface!(ITfPreservedKeyNotifySink, ITfPreservedKeyNotifySink_Vtbl, 0x6f77c993_d2b1_446e_853e_5912efc8a286); +windows_core::imp::define_interface!(ITfPreservedKeyNotifySink, ITfPreservedKeyNotifySink_Vtbl, 0x6f77c993_d2b1_446e_853e_5912efc8a286); windows_core::imp::interface_hierarchy!(ITfPreservedKeyNotifySink, windows_core::IUnknown); impl ITfPreservedKeyNotifySink { pub unsafe fn OnUpdated(&self, pprekey: *const TF_PRESERVEDKEY) -> windows_core::Result<()> { @@ -4158,7 +4158,7 @@ pub struct ITfPreservedKeyNotifySink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *const TF_PRESERVEDKEY) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfProperty, ITfProperty_Vtbl, 0xe2449660_9542_11d2_bf46_00105a2799b5); +windows_core::imp::define_interface!(ITfProperty, ITfProperty_Vtbl, 0xe2449660_9542_11d2_bf46_00105a2799b5); windows_core::imp::interface_hierarchy!(ITfProperty, windows_core::IUnknown, ITfReadOnlyProperty); impl ITfProperty { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -4216,7 +4216,7 @@ pub struct ITfProperty_Vtbl { 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 Clear: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfPropertyStore, ITfPropertyStore_Vtbl, 0x6834b120_88cb_11d2_bf45_00105a2799b5); +windows_core::imp::define_interface!(ITfPropertyStore, ITfPropertyStore_Vtbl, 0x6834b120_88cb_11d2_bf45_00105a2799b5); windows_core::imp::interface_hierarchy!(ITfPropertyStore, windows_core::IUnknown); impl ITfPropertyStore { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -4286,7 +4286,7 @@ pub struct ITfPropertyStore_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] Serialize: usize, } -windows_core::imp::com_interface!(ITfQueryEmbedded, ITfQueryEmbedded_Vtbl, 0x0fab9bdb_d250_4169_84e5_6be118fdd7a8); +windows_core::imp::define_interface!(ITfQueryEmbedded, ITfQueryEmbedded_Vtbl, 0x0fab9bdb_d250_4169_84e5_6be118fdd7a8); windows_core::imp::interface_hierarchy!(ITfQueryEmbedded, windows_core::IUnknown); impl ITfQueryEmbedded { #[cfg(feature = "Win32_System_Com")] @@ -4303,7 +4303,7 @@ pub struct ITfQueryEmbedded_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] QueryInsertEmbedded: usize, } -windows_core::imp::com_interface!(ITfRange, ITfRange_Vtbl, 0xaa80e7ff_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITfRange, ITfRange_Vtbl, 0xaa80e7ff_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(ITfRange, windows_core::IUnknown); impl ITfRange { pub unsafe fn GetText(&self, ec: u32, dwflags: u32, pchtext: &mut [u16], pcch: *mut u32) -> windows_core::Result<()> { @@ -4440,7 +4440,7 @@ pub struct ITfRange_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> 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::com_interface!(ITfRangeACP, ITfRangeACP_Vtbl, 0x057a6296_029b_4154_b79a_0d461d4ea94c); +windows_core::imp::define_interface!(ITfRangeACP, ITfRangeACP_Vtbl, 0x057a6296_029b_4154_b79a_0d461d4ea94c); windows_core::imp::interface_hierarchy!(ITfRangeACP, windows_core::IUnknown, ITfRange); impl ITfRangeACP { pub unsafe fn GetText(&self, ec: u32, dwflags: u32, pchtext: &mut [u16], pcch: *mut u32) -> windows_core::Result<()> { @@ -4557,7 +4557,7 @@ pub struct ITfRangeACP_Vtbl { pub GetExtent: unsafe extern "system" fn(*mut core::ffi::c_void, *mut i32, *mut i32) -> windows_core::HRESULT, pub SetExtent: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfRangeBackup, ITfRangeBackup_Vtbl, 0x463a506d_6992_49d2_9b88_93d55e70bb16); +windows_core::imp::define_interface!(ITfRangeBackup, ITfRangeBackup_Vtbl, 0x463a506d_6992_49d2_9b88_93d55e70bb16); windows_core::imp::interface_hierarchy!(ITfRangeBackup, windows_core::IUnknown); impl ITfRangeBackup { pub unsafe fn Restore(&self, ec: u32, prange: P0) -> windows_core::Result<()> @@ -4572,7 +4572,7 @@ pub struct ITfRangeBackup_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub Restore: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfReadOnlyProperty, ITfReadOnlyProperty_Vtbl, 0x17d49a3d_f8b8_4b2f_b254_52319dd64c53); +windows_core::imp::define_interface!(ITfReadOnlyProperty, ITfReadOnlyProperty_Vtbl, 0x17d49a3d_f8b8_4b2f_b254_52319dd64c53); windows_core::imp::interface_hierarchy!(ITfReadOnlyProperty, windows_core::IUnknown); impl ITfReadOnlyProperty { pub unsafe fn GetType(&self) -> windows_core::Result { @@ -4605,7 +4605,7 @@ pub struct ITfReadOnlyProperty_Vtbl { 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 GetContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfReadingInformationUIElement, ITfReadingInformationUIElement_Vtbl, 0xea1ea139_19df_11d7_a6d2_00065b84435c); +windows_core::imp::define_interface!(ITfReadingInformationUIElement, ITfReadingInformationUIElement_Vtbl, 0xea1ea139_19df_11d7_a6d2_00065b84435c); windows_core::imp::interface_hierarchy!(ITfReadingInformationUIElement, windows_core::IUnknown, ITfUIElement); impl ITfReadingInformationUIElement { pub unsafe fn GetDescription(&self) -> windows_core::Result { @@ -4661,7 +4661,7 @@ pub struct ITfReadingInformationUIElement_Vtbl { 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, } -windows_core::imp::com_interface!(ITfReverseConversion, ITfReverseConversion_Vtbl, 0xa415e162_157d_417d_8a8c_0ab26c7d2781); +windows_core::imp::define_interface!(ITfReverseConversion, ITfReverseConversion_Vtbl, 0xa415e162_157d_417d_8a8c_0ab26c7d2781); windows_core::imp::interface_hierarchy!(ITfReverseConversion, windows_core::IUnknown); impl ITfReverseConversion { pub unsafe fn DoReverseConversion(&self, lpstr: P0) -> windows_core::Result @@ -4677,7 +4677,7 @@ pub struct ITfReverseConversion_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub DoReverseConversion: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfReverseConversionList, ITfReverseConversionList_Vtbl, 0x151d69f0_86f4_4674_b721_56911e797f47); +windows_core::imp::define_interface!(ITfReverseConversionList, ITfReverseConversionList_Vtbl, 0x151d69f0_86f4_4674_b721_56911e797f47); windows_core::imp::interface_hierarchy!(ITfReverseConversionList, windows_core::IUnknown); impl ITfReverseConversionList { pub unsafe fn GetLength(&self) -> windows_core::Result { @@ -4695,7 +4695,7 @@ pub struct ITfReverseConversionList_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, } -windows_core::imp::com_interface!(ITfReverseConversionMgr, ITfReverseConversionMgr_Vtbl, 0xb643c236_c493_41b6_abb3_692412775cc4); +windows_core::imp::define_interface!(ITfReverseConversionMgr, ITfReverseConversionMgr_Vtbl, 0xb643c236_c493_41b6_abb3_692412775cc4); 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 { @@ -4708,7 +4708,7 @@ pub struct ITfReverseConversionMgr_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetReverseConversion: unsafe extern "system" fn(*mut core::ffi::c_void, u16, *const windows_core::GUID, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfSource, ITfSource_Vtbl, 0x4ea48a35_60ae_446f_8fd6_e6a8d82459f7); +windows_core::imp::define_interface!(ITfSource, ITfSource_Vtbl, 0x4ea48a35_60ae_446f_8fd6_e6a8d82459f7); windows_core::imp::interface_hierarchy!(ITfSource, windows_core::IUnknown); impl ITfSource { pub unsafe fn AdviseSink(&self, riid: *const windows_core::GUID, punk: P0) -> windows_core::Result @@ -4728,7 +4728,7 @@ pub struct ITfSource_Vtbl { pub AdviseSink: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub UnadviseSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfSourceSingle, ITfSourceSingle_Vtbl, 0x73131f9c_56a9_49dd_b0ee_d046633f7528); +windows_core::imp::define_interface!(ITfSourceSingle, ITfSourceSingle_Vtbl, 0x73131f9c_56a9_49dd_b0ee_d046633f7528); windows_core::imp::interface_hierarchy!(ITfSourceSingle, windows_core::IUnknown); impl ITfSourceSingle { pub unsafe fn AdviseSingleSink(&self, tid: u32, riid: *const windows_core::GUID, punk: P0) -> windows_core::Result<()> @@ -4747,7 +4747,7 @@ pub struct ITfSourceSingle_Vtbl { pub AdviseSingleSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, pub UnadviseSingleSink: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfSpeechUIServer, ITfSpeechUIServer_Vtbl, 0x90e9a944_9244_489f_a78f_de67afc013a7); +windows_core::imp::define_interface!(ITfSpeechUIServer, ITfSpeechUIServer_Vtbl, 0x90e9a944_9244_489f_a78f_de67afc013a7); windows_core::imp::interface_hierarchy!(ITfSpeechUIServer, windows_core::IUnknown); impl ITfSpeechUIServer { pub unsafe fn Initialize(&self) -> windows_core::Result<()> { @@ -4770,7 +4770,7 @@ pub struct ITfSpeechUIServer_Vtbl { pub ShowUI: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::BOOL) -> windows_core::HRESULT, pub UpdateBalloon: unsafe extern "system" fn(*mut core::ffi::c_void, TfLBBalloonStyle, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfStatusSink, ITfStatusSink_Vtbl, 0x6b7d8d73_b267_4f69_b32e_1ca321ce4f45); +windows_core::imp::define_interface!(ITfStatusSink, ITfStatusSink_Vtbl, 0x6b7d8d73_b267_4f69_b32e_1ca321ce4f45); windows_core::imp::interface_hierarchy!(ITfStatusSink, windows_core::IUnknown); impl ITfStatusSink { pub unsafe fn OnStatusChange(&self, pic: P0, dwflags: u32) -> windows_core::Result<()> @@ -4785,7 +4785,7 @@ pub struct ITfStatusSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnStatusChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfSystemDeviceTypeLangBarItem, ITfSystemDeviceTypeLangBarItem_Vtbl, 0x45672eb9_9059_46a2_838d_4530355f6a77); +windows_core::imp::define_interface!(ITfSystemDeviceTypeLangBarItem, ITfSystemDeviceTypeLangBarItem_Vtbl, 0x45672eb9_9059_46a2_838d_4530355f6a77); windows_core::imp::interface_hierarchy!(ITfSystemDeviceTypeLangBarItem, windows_core::IUnknown); impl ITfSystemDeviceTypeLangBarItem { pub unsafe fn SetIconMode(&self, dwflags: LANG_BAR_ITEM_ICON_MODE_FLAGS) -> windows_core::Result<()> { @@ -4802,7 +4802,7 @@ pub struct ITfSystemDeviceTypeLangBarItem_Vtbl { pub SetIconMode: unsafe extern "system" fn(*mut core::ffi::c_void, LANG_BAR_ITEM_ICON_MODE_FLAGS) -> windows_core::HRESULT, pub GetIconMode: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfSystemLangBarItem, ITfSystemLangBarItem_Vtbl, 0x1e13e9ec_6b33_4d4a_b5eb_8a92f029f356); +windows_core::imp::define_interface!(ITfSystemLangBarItem, ITfSystemLangBarItem_Vtbl, 0x1e13e9ec_6b33_4d4a_b5eb_8a92f029f356); windows_core::imp::interface_hierarchy!(ITfSystemLangBarItem, windows_core::IUnknown); impl ITfSystemLangBarItem { #[cfg(feature = "Win32_UI_WindowsAndMessaging")] @@ -4825,7 +4825,7 @@ pub struct ITfSystemLangBarItem_Vtbl { SetIcon: usize, pub SetTooltipString: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfSystemLangBarItemSink, ITfSystemLangBarItemSink_Vtbl, 0x1449d9ab_13cf_4687_aa3e_8d8b18574396); +windows_core::imp::define_interface!(ITfSystemLangBarItemSink, ITfSystemLangBarItemSink_Vtbl, 0x1449d9ab_13cf_4687_aa3e_8d8b18574396); windows_core::imp::interface_hierarchy!(ITfSystemLangBarItemSink, windows_core::IUnknown); impl ITfSystemLangBarItemSink { pub unsafe fn InitMenu(&self, pmenu: P0) -> windows_core::Result<()> @@ -4844,7 +4844,7 @@ pub struct ITfSystemLangBarItemSink_Vtbl { pub InitMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnMenuSelect: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfSystemLangBarItemText, ITfSystemLangBarItemText_Vtbl, 0x5c4ce0e5_ba49_4b52_ac6b_3b397b4f701f); +windows_core::imp::define_interface!(ITfSystemLangBarItemText, ITfSystemLangBarItemText_Vtbl, 0x5c4ce0e5_ba49_4b52_ac6b_3b397b4f701f); windows_core::imp::interface_hierarchy!(ITfSystemLangBarItemText, windows_core::IUnknown); impl ITfSystemLangBarItemText { pub unsafe fn SetItemText(&self, pch: &[u16]) -> windows_core::Result<()> { @@ -4861,7 +4861,7 @@ pub struct ITfSystemLangBarItemText_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, } -windows_core::imp::com_interface!(ITfTextEditSink, ITfTextEditSink_Vtbl, 0x8127d409_ccd3_4683_967a_b43d5b482bf7); +windows_core::imp::define_interface!(ITfTextEditSink, ITfTextEditSink_Vtbl, 0x8127d409_ccd3_4683_967a_b43d5b482bf7); windows_core::imp::interface_hierarchy!(ITfTextEditSink, windows_core::IUnknown); impl ITfTextEditSink { pub unsafe fn OnEndEdit(&self, pic: P0, ecreadonly: u32, peditrecord: P1) -> windows_core::Result<()> @@ -4877,7 +4877,7 @@ pub struct ITfTextEditSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnEndEdit: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfTextInputProcessor, ITfTextInputProcessor_Vtbl, 0xaa80e7f7_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITfTextInputProcessor, ITfTextInputProcessor_Vtbl, 0xaa80e7f7_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(ITfTextInputProcessor, windows_core::IUnknown); impl ITfTextInputProcessor { pub unsafe fn Activate(&self, ptim: P0, tid: u32) -> windows_core::Result<()> @@ -4896,7 +4896,7 @@ pub struct ITfTextInputProcessor_Vtbl { pub Activate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub Deactivate: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfTextInputProcessorEx, ITfTextInputProcessorEx_Vtbl, 0x6e4e2102_f9cd_433d_b496_303ce03a6507); +windows_core::imp::define_interface!(ITfTextInputProcessorEx, ITfTextInputProcessorEx_Vtbl, 0x6e4e2102_f9cd_433d_b496_303ce03a6507); windows_core::imp::interface_hierarchy!(ITfTextInputProcessorEx, windows_core::IUnknown, ITfTextInputProcessor); impl ITfTextInputProcessorEx { pub unsafe fn Activate(&self, ptim: P0, tid: u32) -> windows_core::Result<()> @@ -4920,7 +4920,7 @@ pub struct ITfTextInputProcessorEx_Vtbl { pub base__: ITfTextInputProcessor_Vtbl, pub ActivateEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfTextLayoutSink, ITfTextLayoutSink_Vtbl, 0x2af2d06a_dd5b_4927_a0b4_54f19c91fade); +windows_core::imp::define_interface!(ITfTextLayoutSink, ITfTextLayoutSink_Vtbl, 0x2af2d06a_dd5b_4927_a0b4_54f19c91fade); windows_core::imp::interface_hierarchy!(ITfTextLayoutSink, windows_core::IUnknown); impl ITfTextLayoutSink { pub unsafe fn OnLayoutChange(&self, pic: P0, lcode: TfLayoutCode, pview: P1) -> windows_core::Result<()> @@ -4936,7 +4936,7 @@ pub struct ITfTextLayoutSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnLayoutChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, TfLayoutCode, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfThreadFocusSink, ITfThreadFocusSink_Vtbl, 0xc0f1db0c_3a20_405c_a303_96b6010a885f); +windows_core::imp::define_interface!(ITfThreadFocusSink, ITfThreadFocusSink_Vtbl, 0xc0f1db0c_3a20_405c_a303_96b6010a885f); windows_core::imp::interface_hierarchy!(ITfThreadFocusSink, windows_core::IUnknown); impl ITfThreadFocusSink { pub unsafe fn OnSetThreadFocus(&self) -> windows_core::Result<()> { @@ -4952,7 +4952,7 @@ pub struct ITfThreadFocusSink_Vtbl { pub OnSetThreadFocus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnKillThreadFocus: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfThreadMgr, ITfThreadMgr_Vtbl, 0xaa80e801_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITfThreadMgr, ITfThreadMgr_Vtbl, 0xaa80e801_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(ITfThreadMgr, windows_core::IUnknown); impl ITfThreadMgr { pub unsafe fn Activate(&self) -> windows_core::Result { @@ -5020,7 +5020,7 @@ pub struct ITfThreadMgr_Vtbl { pub EnumFunctionProviders: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetGlobalCompartment: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfThreadMgr2, ITfThreadMgr2_Vtbl, 0x0ab198ef_6477_4ee8_8812_6780edb82d5e); +windows_core::imp::define_interface!(ITfThreadMgr2, ITfThreadMgr2_Vtbl, 0x0ab198ef_6477_4ee8_8812_6780edb82d5e); windows_core::imp::interface_hierarchy!(ITfThreadMgr2, windows_core::IUnknown); impl ITfThreadMgr2 { pub unsafe fn Activate(&self) -> windows_core::Result { @@ -5096,7 +5096,7 @@ pub struct ITfThreadMgr2_Vtbl { pub SuspendKeystrokeHandling: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub ResumeKeystrokeHandling: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfThreadMgrEventSink, ITfThreadMgrEventSink_Vtbl, 0xaa80e80e_2021_11d2_93e0_0060b067b86e); +windows_core::imp::define_interface!(ITfThreadMgrEventSink, ITfThreadMgrEventSink_Vtbl, 0xaa80e80e_2021_11d2_93e0_0060b067b86e); windows_core::imp::interface_hierarchy!(ITfThreadMgrEventSink, windows_core::IUnknown); impl ITfThreadMgrEventSink { pub unsafe fn OnInitDocumentMgr(&self, pdim: P0) -> windows_core::Result<()> @@ -5140,7 +5140,7 @@ pub struct ITfThreadMgrEventSink_Vtbl { pub OnPushContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnPopContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfThreadMgrEx, ITfThreadMgrEx_Vtbl, 0x3e90ade3_7594_4cb0_bb58_69628f5f458c); +windows_core::imp::define_interface!(ITfThreadMgrEx, ITfThreadMgrEx_Vtbl, 0x3e90ade3_7594_4cb0_bb58_69628f5f458c); windows_core::imp::interface_hierarchy!(ITfThreadMgrEx, windows_core::IUnknown, ITfThreadMgr); impl ITfThreadMgrEx { pub unsafe fn Activate(&self) -> windows_core::Result { @@ -5206,7 +5206,7 @@ pub struct ITfThreadMgrEx_Vtbl { pub ActivateEx: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32, u32) -> windows_core::HRESULT, pub GetActiveFlags: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfToolTipUIElement, ITfToolTipUIElement_Vtbl, 0x52b18b5c_555d_46b2_b00a_fa680144fbdb); +windows_core::imp::define_interface!(ITfToolTipUIElement, ITfToolTipUIElement_Vtbl, 0x52b18b5c_555d_46b2_b00a_fa680144fbdb); windows_core::imp::interface_hierarchy!(ITfToolTipUIElement, windows_core::IUnknown, ITfUIElement); impl ITfToolTipUIElement { pub unsafe fn GetDescription(&self) -> windows_core::Result { @@ -5237,7 +5237,7 @@ 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, } -windows_core::imp::com_interface!(ITfTransitoryExtensionSink, ITfTransitoryExtensionSink_Vtbl, 0xa615096f_1c57_4813_8a15_55ee6e5a839c); +windows_core::imp::define_interface!(ITfTransitoryExtensionSink, ITfTransitoryExtensionSink_Vtbl, 0xa615096f_1c57_4813_8a15_55ee6e5a839c); windows_core::imp::interface_hierarchy!(ITfTransitoryExtensionSink, windows_core::IUnknown); impl ITfTransitoryExtensionSink { pub unsafe fn OnTransitoryExtensionUpdated(&self, pic: P0, ecreadonly: u32, presultrange: P1, pcompositionrange: P2) -> windows_core::Result @@ -5255,7 +5255,7 @@ pub struct ITfTransitoryExtensionSink_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnTransitoryExtensionUpdated: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut core::ffi::c_void, *mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfTransitoryExtensionUIElement, ITfTransitoryExtensionUIElement_Vtbl, 0x858f956a_972f_42a2_a2f2_0321e1abe209); +windows_core::imp::define_interface!(ITfTransitoryExtensionUIElement, ITfTransitoryExtensionUIElement_Vtbl, 0x858f956a_972f_42a2_a2f2_0321e1abe209); windows_core::imp::interface_hierarchy!(ITfTransitoryExtensionUIElement, windows_core::IUnknown, ITfUIElement); impl ITfTransitoryExtensionUIElement { pub unsafe fn GetDescription(&self) -> windows_core::Result { @@ -5286,7 +5286,7 @@ pub struct ITfTransitoryExtensionUIElement_Vtbl { pub base__: ITfUIElement_Vtbl, pub GetDocumentMgr: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfUIElement, ITfUIElement_Vtbl, 0xea1ea137_19df_11d7_a6d2_00065b84435c); +windows_core::imp::define_interface!(ITfUIElement, ITfUIElement_Vtbl, 0xea1ea137_19df_11d7_a6d2_00065b84435c); windows_core::imp::interface_hierarchy!(ITfUIElement, windows_core::IUnknown); impl ITfUIElement { pub unsafe fn GetDescription(&self) -> windows_core::Result { @@ -5316,7 +5316,7 @@ pub struct ITfUIElement_Vtbl { 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, } -windows_core::imp::com_interface!(ITfUIElementMgr, ITfUIElementMgr_Vtbl, 0xea1ea135_19df_11d7_a6d2_00065b84435c); +windows_core::imp::define_interface!(ITfUIElementMgr, ITfUIElementMgr_Vtbl, 0xea1ea135_19df_11d7_a6d2_00065b84435c); windows_core::imp::interface_hierarchy!(ITfUIElementMgr, windows_core::IUnknown); impl ITfUIElementMgr { pub unsafe fn BeginUIElement(&self, pelement: P0, pbshow: *mut super::super::Foundation::BOOL, pdwuielementid: *mut u32) -> windows_core::Result<()> @@ -5349,7 +5349,7 @@ pub struct ITfUIElementMgr_Vtbl { pub GetUIElement: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EnumUIElements: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITfUIElementSink, ITfUIElementSink_Vtbl, 0xea1ea136_19df_11d7_a6d2_00065b84435c); +windows_core::imp::define_interface!(ITfUIElementSink, ITfUIElementSink_Vtbl, 0xea1ea136_19df_11d7_a6d2_00065b84435c); windows_core::imp::interface_hierarchy!(ITfUIElementSink, windows_core::IUnknown); impl ITfUIElementSink { pub unsafe fn BeginUIElement(&self, dwuielementid: u32, pbshow: *mut super::super::Foundation::BOOL) -> windows_core::Result<()> { @@ -5369,7 +5369,7 @@ pub struct ITfUIElementSink_Vtbl { pub UpdateUIElement: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub EndUIElement: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUIManagerEventSink, IUIManagerEventSink_Vtbl, 0xcd91d690_a7e8_4265_9b38_8bb3bbaba7de); +windows_core::imp::define_interface!(IUIManagerEventSink, IUIManagerEventSink_Vtbl, 0xcd91d690_a7e8_4265_9b38_8bb3bbaba7de); windows_core::imp::interface_hierarchy!(IUIManagerEventSink, windows_core::IUnknown); impl IUIManagerEventSink { pub unsafe fn OnWindowOpening(&self, prcbounds: *const super::super::Foundation::RECT) -> windows_core::Result<()> { @@ -5401,7 +5401,7 @@ pub struct IUIManagerEventSink_Vtbl { pub OnWindowClosing: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnWindowClosed: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IVersionInfo, IVersionInfo_Vtbl, 0x401518ec_db00_4611_9b29_2a0e4b9afa85); +windows_core::imp::define_interface!(IVersionInfo, IVersionInfo_Vtbl, 0x401518ec_db00_4611_9b29_2a0e4b9afa85); windows_core::imp::interface_hierarchy!(IVersionInfo, windows_core::IUnknown); impl IVersionInfo { pub unsafe fn GetSubcomponentCount(&self, ulsub: u32) -> windows_core::Result { 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 1e6a36e8a0..096a9f1347 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Wpf/mod.rs @@ -1,4 +1,4 @@ -windows_core::imp::com_interface!(IMILBitmapEffect, IMILBitmapEffect_Vtbl, 0x8a6ff321_c944_4a1b_9944_9954af301258); +windows_core::imp::define_interface!(IMILBitmapEffect, IMILBitmapEffect_Vtbl, 0x8a6ff321_c944_4a1b_9944_9954af301258); windows_core::imp::interface_hierarchy!(IMILBitmapEffect, windows_core::IUnknown); impl IMILBitmapEffect { #[cfg(feature = "Win32_Graphics_Imaging")] @@ -34,7 +34,7 @@ pub struct IMILBitmapEffect_Vtbl { #[cfg(not(feature = "Win32_Graphics_Imaging"))] SetInputSource: usize, } -windows_core::imp::com_interface!(IMILBitmapEffectConnections, IMILBitmapEffectConnections_Vtbl, 0xc2b5d861_9b1a_4374_89b0_dec4874d6a81); +windows_core::imp::define_interface!(IMILBitmapEffectConnections, IMILBitmapEffectConnections_Vtbl, 0xc2b5d861_9b1a_4374_89b0_dec4874d6a81); windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnections, windows_core::IUnknown); impl IMILBitmapEffectConnections { pub unsafe fn GetInputConnector(&self, uiindex: u32) -> windows_core::Result { @@ -52,7 +52,7 @@ pub struct IMILBitmapEffectConnections_Vtbl { pub GetInputConnector: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetOutputConnector: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectConnectionsInfo, IMILBitmapEffectConnectionsInfo_Vtbl, 0x476b538a_c765_4237_ba4a_d6a880ff0cfc); +windows_core::imp::define_interface!(IMILBitmapEffectConnectionsInfo, IMILBitmapEffectConnectionsInfo_Vtbl, 0x476b538a_c765_4237_ba4a_d6a880ff0cfc); windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnectionsInfo, windows_core::IUnknown); impl IMILBitmapEffectConnectionsInfo { pub unsafe fn GetNumberInputs(&self) -> windows_core::Result { @@ -80,7 +80,7 @@ pub struct IMILBitmapEffectConnectionsInfo_Vtbl { pub GetInputConnectorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetOutputConnectorInfo: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectConnector, IMILBitmapEffectConnector_Vtbl, 0xf59567b3_76c1_4d47_ba1e_79f955e350ef); +windows_core::imp::define_interface!(IMILBitmapEffectConnector, IMILBitmapEffectConnector_Vtbl, 0xf59567b3_76c1_4d47_ba1e_79f955e350ef); windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnector, windows_core::IUnknown, IMILBitmapEffectConnectorInfo); impl IMILBitmapEffectConnector { pub unsafe fn GetIndex(&self) -> windows_core::Result { @@ -114,7 +114,7 @@ pub struct IMILBitmapEffectConnector_Vtbl { pub IsConnected: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub GetBitmapEffect: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnectorInfo_Vtbl, 0xf66d2e4b_b46b_42fc_859e_3da0ecdb3c43); +windows_core::imp::define_interface!(IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnectorInfo_Vtbl, 0xf66d2e4b_b46b_42fc_859e_3da0ecdb3c43); windows_core::imp::interface_hierarchy!(IMILBitmapEffectConnectorInfo, windows_core::IUnknown); impl IMILBitmapEffectConnectorInfo { pub unsafe fn GetIndex(&self) -> windows_core::Result { @@ -142,7 +142,7 @@ pub struct IMILBitmapEffectConnectorInfo_Vtbl { pub GetNumberFormats: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetFormat: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectEvents, IMILBitmapEffectEvents_Vtbl, 0x2e880dd8_f8ce_457b_8199_d60bb3d7ef98); +windows_core::imp::define_interface!(IMILBitmapEffectEvents, IMILBitmapEffectEvents_Vtbl, 0x2e880dd8_f8ce_457b_8199_d60bb3d7ef98); windows_core::imp::interface_hierarchy!(IMILBitmapEffectEvents, windows_core::IUnknown); impl IMILBitmapEffectEvents { pub unsafe fn PropertyChange(&self, peffect: P0, bstrpropertyname: P1) -> windows_core::Result<()> @@ -165,7 +165,7 @@ pub struct IMILBitmapEffectEvents_Vtbl { pub PropertyChange: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, std::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::com_interface!(IMILBitmapEffectFactory, IMILBitmapEffectFactory_Vtbl, 0x33a9df34_a403_4ec7_b07e_bc0682370845); +windows_core::imp::define_interface!(IMILBitmapEffectFactory, IMILBitmapEffectFactory_Vtbl, 0x33a9df34_a403_4ec7_b07e_bc0682370845); windows_core::imp::interface_hierarchy!(IMILBitmapEffectFactory, windows_core::IUnknown); impl IMILBitmapEffectFactory { pub unsafe fn CreateEffect(&self, pguideffect: *const windows_core::GUID) -> windows_core::Result { @@ -188,7 +188,7 @@ pub struct IMILBitmapEffectFactory_Vtbl { pub CreateContext: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub CreateEffectOuter: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectGroup, IMILBitmapEffectGroup_Vtbl, 0x2f952360_698a_4ac6_81a1_bcfdf08eb8e8); +windows_core::imp::define_interface!(IMILBitmapEffectGroup, IMILBitmapEffectGroup_Vtbl, 0x2f952360_698a_4ac6_81a1_bcfdf08eb8e8); windows_core::imp::interface_hierarchy!(IMILBitmapEffectGroup, windows_core::IUnknown); impl IMILBitmapEffectGroup { pub unsafe fn GetInteriorInputConnector(&self, uiindex: u32) -> windows_core::Result { @@ -213,7 +213,7 @@ pub struct IMILBitmapEffectGroup_Vtbl { pub GetInteriorOutputConnector: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *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) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectGroupImpl, IMILBitmapEffectGroupImpl_Vtbl, 0x78fed518_1cfc_4807_8b85_6b6e51398f62); +windows_core::imp::define_interface!(IMILBitmapEffectGroupImpl, IMILBitmapEffectGroupImpl_Vtbl, 0x78fed518_1cfc_4807_8b85_6b6e51398f62); windows_core::imp::interface_hierarchy!(IMILBitmapEffectGroupImpl, windows_core::IUnknown); impl IMILBitmapEffectGroupImpl { pub unsafe fn Preprocess(&self, pcontext: P0) -> windows_core::Result<()> @@ -238,7 +238,7 @@ pub struct IMILBitmapEffectGroupImpl_Vtbl { pub GetNumberChildren: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetChildren: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectImpl, IMILBitmapEffectImpl_Vtbl, 0xcc2468f2_9936_47be_b4af_06b5df5dbcbb); +windows_core::imp::define_interface!(IMILBitmapEffectImpl, IMILBitmapEffectImpl_Vtbl, 0xcc2468f2_9936_47be_b4af_06b5df5dbcbb); windows_core::imp::interface_hierarchy!(IMILBitmapEffectImpl, windows_core::IUnknown); impl IMILBitmapEffectImpl { pub unsafe fn IsInPlaceModificationAllowed(&self, poutputconnector: P0) -> windows_core::Result @@ -305,7 +305,7 @@ pub struct IMILBitmapEffectImpl_Vtbl { GetOutputBitmapSource: usize, pub Initialize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectInputConnector, IMILBitmapEffectInputConnector_Vtbl, 0xa9b4ecaa_7a3c_45e7_8573_f4b81b60dd6c); +windows_core::imp::define_interface!(IMILBitmapEffectInputConnector, IMILBitmapEffectInputConnector_Vtbl, 0xa9b4ecaa_7a3c_45e7_8573_f4b81b60dd6c); windows_core::imp::interface_hierarchy!(IMILBitmapEffectInputConnector, windows_core::IUnknown, IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnector); impl IMILBitmapEffectInputConnector { pub unsafe fn GetIndex(&self) -> windows_core::Result { @@ -349,7 +349,7 @@ pub struct IMILBitmapEffectInputConnector_Vtbl { pub ConnectTo: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetConnection: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectInteriorInputConnector, IMILBitmapEffectInteriorInputConnector_Vtbl, 0x20287e9e_86a2_4e15_953d_eb1438a5b842); +windows_core::imp::define_interface!(IMILBitmapEffectInteriorInputConnector, IMILBitmapEffectInteriorInputConnector_Vtbl, 0x20287e9e_86a2_4e15_953d_eb1438a5b842); windows_core::imp::interface_hierarchy!(IMILBitmapEffectInteriorInputConnector, windows_core::IUnknown); impl IMILBitmapEffectInteriorInputConnector { pub unsafe fn GetInputConnector(&self) -> windows_core::Result { @@ -362,7 +362,7 @@ pub struct IMILBitmapEffectInteriorInputConnector_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetInputConnector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectInteriorOutputConnector, IMILBitmapEffectInteriorOutputConnector_Vtbl, 0x00bbb6dc_acc9_4bfc_b344_8bee383dfefa); +windows_core::imp::define_interface!(IMILBitmapEffectInteriorOutputConnector, IMILBitmapEffectInteriorOutputConnector_Vtbl, 0x00bbb6dc_acc9_4bfc_b344_8bee383dfefa); windows_core::imp::interface_hierarchy!(IMILBitmapEffectInteriorOutputConnector, windows_core::IUnknown); impl IMILBitmapEffectInteriorOutputConnector { pub unsafe fn GetOutputConnector(&self) -> windows_core::Result { @@ -375,7 +375,7 @@ pub struct IMILBitmapEffectInteriorOutputConnector_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetOutputConnector: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectOutputConnector, IMILBitmapEffectOutputConnector_Vtbl, 0x92957aad_841b_4866_82ec_8752468b07fd); +windows_core::imp::define_interface!(IMILBitmapEffectOutputConnector, IMILBitmapEffectOutputConnector_Vtbl, 0x92957aad_841b_4866_82ec_8752468b07fd); windows_core::imp::interface_hierarchy!(IMILBitmapEffectOutputConnector, windows_core::IUnknown, IMILBitmapEffectConnectorInfo, IMILBitmapEffectConnector); impl IMILBitmapEffectOutputConnector { pub unsafe fn GetIndex(&self) -> windows_core::Result { @@ -417,7 +417,7 @@ pub struct IMILBitmapEffectOutputConnector_Vtbl { pub GetNumberConnections: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, pub GetConnection: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectOutputConnectorImpl, IMILBitmapEffectOutputConnectorImpl_Vtbl, 0x21fae777_8b39_4bfa_9f2d_f3941ed36913); +windows_core::imp::define_interface!(IMILBitmapEffectOutputConnectorImpl, IMILBitmapEffectOutputConnectorImpl_Vtbl, 0x21fae777_8b39_4bfa_9f2d_f3941ed36913); windows_core::imp::interface_hierarchy!(IMILBitmapEffectOutputConnectorImpl, windows_core::IUnknown); impl IMILBitmapEffectOutputConnectorImpl { pub unsafe fn AddBackLink(&self, pconnection: P0) -> windows_core::Result<()> @@ -439,7 +439,7 @@ pub struct IMILBitmapEffectOutputConnectorImpl_Vtbl { pub AddBackLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RemoveBackLink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectPrimitive, IMILBitmapEffectPrimitive_Vtbl, 0x67e31025_3091_4dfc_98d6_dd494551461d); +windows_core::imp::define_interface!(IMILBitmapEffectPrimitive, IMILBitmapEffectPrimitive_Vtbl, 0x67e31025_3091_4dfc_98d6_dd494551461d); windows_core::imp::interface_hierarchy!(IMILBitmapEffectPrimitive, windows_core::IUnknown); impl IMILBitmapEffectPrimitive { #[cfg(feature = "Win32_Graphics_Imaging")] @@ -493,7 +493,7 @@ pub struct IMILBitmapEffectPrimitive_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dwm"))] GetAffineMatrix: usize, } -windows_core::imp::com_interface!(IMILBitmapEffectPrimitiveImpl, IMILBitmapEffectPrimitiveImpl_Vtbl, 0xce41e00b_efa6_44e7_b007_dd042e3ae126); +windows_core::imp::define_interface!(IMILBitmapEffectPrimitiveImpl, IMILBitmapEffectPrimitiveImpl_Vtbl, 0xce41e00b_efa6_44e7_b007_dd042e3ae126); windows_core::imp::interface_hierarchy!(IMILBitmapEffectPrimitiveImpl, windows_core::IUnknown); impl IMILBitmapEffectPrimitiveImpl { pub unsafe fn IsDirty(&self, uioutputindex: u32, pfdirty: *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT { @@ -510,7 +510,7 @@ pub struct IMILBitmapEffectPrimitiveImpl_Vtbl { pub IsDirty: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, pub IsVolatile: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectRenderContext, IMILBitmapEffectRenderContext_Vtbl, 0x12a2ec7e_2d33_44b2_b334_1abb7846e390); +windows_core::imp::define_interface!(IMILBitmapEffectRenderContext, IMILBitmapEffectRenderContext_Vtbl, 0x12a2ec7e_2d33_44b2_b334_1abb7846e390); windows_core::imp::interface_hierarchy!(IMILBitmapEffectRenderContext, windows_core::IUnknown); impl IMILBitmapEffectRenderContext { pub unsafe fn SetOutputPixelFormat(&self, format: *const windows_core::GUID) -> windows_core::Result<()> { @@ -554,7 +554,7 @@ pub struct IMILBitmapEffectRenderContext_Vtbl { pub GetOutputDPI: unsafe extern "system" fn(*mut core::ffi::c_void, *mut f64, *mut f64) -> windows_core::HRESULT, pub SetRegionOfInterest: unsafe extern "system" fn(*mut core::ffi::c_void, *const MilRectD) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffectRenderContextImpl, IMILBitmapEffectRenderContextImpl_Vtbl, 0x4d25accb_797d_4fd2_b128_dffeff84fcc3); +windows_core::imp::define_interface!(IMILBitmapEffectRenderContextImpl, IMILBitmapEffectRenderContextImpl_Vtbl, 0x4d25accb_797d_4fd2_b128_dffeff84fcc3); windows_core::imp::interface_hierarchy!(IMILBitmapEffectRenderContextImpl, windows_core::IUnknown); impl IMILBitmapEffectRenderContextImpl { pub unsafe fn GetUseSoftwareRenderer(&self) -> windows_core::Result { @@ -583,7 +583,7 @@ pub struct IMILBitmapEffectRenderContextImpl_Vtbl { pub GetOutputBounds: unsafe extern "system" fn(*mut core::ffi::c_void, *mut MilRectD) -> windows_core::HRESULT, pub UpdateOutputBounds: unsafe extern "system" fn(*mut core::ffi::c_void, *const MilRectD) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMILBitmapEffects, IMILBitmapEffects_Vtbl, 0x51ac3dce_67c5_448b_9180_ad3eabddd5dd); +windows_core::imp::define_interface!(IMILBitmapEffects, IMILBitmapEffects_Vtbl, 0x51ac3dce_67c5_448b_9180_ad3eabddd5dd); windows_core::imp::interface_hierarchy!(IMILBitmapEffects, windows_core::IUnknown); impl IMILBitmapEffects { pub unsafe fn _NewEnum(&self) -> windows_core::Result { 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 30273d50a1..b9e6d69d84 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/mod.rs @@ -464,7 +464,7 @@ where windows_targets::link!("imgutil.dll" "system" fn SniffStream(pinstream : * mut core::ffi::c_void, pnformat : *mut u32, ppoutstream : *mut * mut core::ffi::c_void) -> windows_core::HRESULT); SniffStream(pinstream.into_param().abi(), pnformat, core::mem::transmute(ppoutstream)).ok() } -windows_core::imp::com_interface!(IActiveXUIHandlerSite, IActiveXUIHandlerSite_Vtbl, 0x30510853_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IActiveXUIHandlerSite, IActiveXUIHandlerSite_Vtbl, 0x30510853_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(IActiveXUIHandlerSite, windows_core::IUnknown); impl IActiveXUIHandlerSite { pub unsafe fn CreateScrollableContextMenu(&self) -> windows_core::Result { @@ -486,7 +486,7 @@ pub struct IActiveXUIHandlerSite_Vtbl { pub CreateScrollableContextMenu: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub PickFileAndGetResult: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, super::super::Foundation::BOOL, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveXUIHandlerSite2, IActiveXUIHandlerSite2_Vtbl, 0x7e3707b2_d087_4542_ac1f_a0d2fcd080fd); +windows_core::imp::define_interface!(IActiveXUIHandlerSite2, IActiveXUIHandlerSite2_Vtbl, 0x7e3707b2_d087_4542_ac1f_a0d2fcd080fd); windows_core::imp::interface_hierarchy!(IActiveXUIHandlerSite2, windows_core::IUnknown); impl IActiveXUIHandlerSite2 { pub unsafe fn AddSuspensionExemption(&self) -> windows_core::Result { @@ -503,7 +503,7 @@ pub struct IActiveXUIHandlerSite2_Vtbl { pub AddSuspensionExemption: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u64) -> windows_core::HRESULT, pub RemoveSuspensionExemption: unsafe extern "system" fn(*mut core::ffi::c_void, u64) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IActiveXUIHandlerSite3, IActiveXUIHandlerSite3_Vtbl, 0x7904009a_1238_47f4_901c_871375c34608); +windows_core::imp::define_interface!(IActiveXUIHandlerSite3, IActiveXUIHandlerSite3_Vtbl, 0x7904009a_1238_47f4_901c_871375c34608); windows_core::imp::interface_hierarchy!(IActiveXUIHandlerSite3, windows_core::IUnknown); impl IActiveXUIHandlerSite3 { pub unsafe fn MessageBoxW(&self, hwnd: P0, text: P1, caption: P2, r#type: u32) -> windows_core::Result @@ -522,7 +522,7 @@ pub struct IActiveXUIHandlerSite3_Vtbl { pub MessageBoxW: unsafe extern "system" fn(*mut core::ffi::c_void, super::super::Foundation::HWND, windows_core::PCWSTR, windows_core::PCWSTR, u32, *mut i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IAnchorClick, IAnchorClick_Vtbl, 0x13d5413b_33b9_11d2_95a7_00c04f8ecb02); +windows_core::imp::define_interface!(IAnchorClick, IAnchorClick_Vtbl, 0x13d5413b_33b9_11d2_95a7_00c04f8ecb02); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IAnchorClick, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -537,7 +537,7 @@ pub struct IAnchorClick_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, pub ProcOnClick: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IAudioSessionSite, IAudioSessionSite_Vtbl, 0xd7d8b684_d02d_4517_b6b7_19e3dfe29c45); +windows_core::imp::define_interface!(IAudioSessionSite, IAudioSessionSite_Vtbl, 0xd7d8b684_d02d_4517_b6b7_19e3dfe29c45); windows_core::imp::interface_hierarchy!(IAudioSessionSite, windows_core::IUnknown); impl IAudioSessionSite { pub unsafe fn GetAudioSessionGuid(&self) -> windows_core::Result { @@ -564,7 +564,7 @@ pub struct IAudioSessionSite_Vtbl { pub OnAudioStreamCreated: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, pub OnAudioStreamDestroyed: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ICaretPositionProvider, ICaretPositionProvider_Vtbl, 0x58da43a2_108e_4d5b_9f75_e5f74f93fff5); +windows_core::imp::define_interface!(ICaretPositionProvider, ICaretPositionProvider_Vtbl, 0x58da43a2_108e_4d5b_9f75_e5f74f93fff5); windows_core::imp::interface_hierarchy!(ICaretPositionProvider, windows_core::IUnknown); impl ICaretPositionProvider { pub unsafe fn GetCaretPosition(&self, pptcaret: *mut super::super::Foundation::POINT, pflheight: *mut f32) -> windows_core::Result<()> { @@ -577,7 +577,7 @@ pub struct ICaretPositionProvider_Vtbl { pub GetCaretPosition: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::POINT, *mut f32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IDeviceRect, IDeviceRect_Vtbl, 0x3050f6d5_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IDeviceRect, IDeviceRect_Vtbl, 0x3050f6d5_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDeviceRect, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -587,7 +587,7 @@ impl IDeviceRect {} pub struct IDeviceRect_Vtbl { pub base__: super::super::System::Com::IDispatch_Vtbl, } -windows_core::imp::com_interface!(IDithererImpl, IDithererImpl_Vtbl, 0x7c48e840_3910_11d0_86fc_00a0c913f750); +windows_core::imp::define_interface!(IDithererImpl, IDithererImpl_Vtbl, 0x7c48e840_3910_11d0_86fc_00a0c913f750); windows_core::imp::interface_hierarchy!(IDithererImpl, windows_core::IUnknown); impl IDithererImpl { #[cfg(feature = "Win32_Graphics_Gdi")] @@ -610,7 +610,7 @@ pub struct IDithererImpl_Vtbl { SetDestColorTable: usize, pub SetEventSink: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IDocObjectService, IDocObjectService_Vtbl, 0x3050f801_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IDocObjectService, IDocObjectService_Vtbl, 0x3050f801_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(IDocObjectService, windows_core::IUnknown); impl IDocObjectService { #[cfg(feature = "Win32_System_Com")] @@ -705,7 +705,7 @@ pub struct IDocObjectService_Vtbl { 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")] -windows_core::imp::com_interface!(IDownloadBehavior, IDownloadBehavior_Vtbl, 0x3050f5bd_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IDownloadBehavior, IDownloadBehavior_Vtbl, 0x3050f5bd_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IDownloadBehavior, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -728,7 +728,7 @@ pub struct IDownloadBehavior_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] startDownload: usize, } -windows_core::imp::com_interface!(IDownloadManager, IDownloadManager_Vtbl, 0x988934a4_064b_11d3_bb80_00104b35e7f9); +windows_core::imp::define_interface!(IDownloadManager, IDownloadManager_Vtbl, 0x988934a4_064b_11d3_bb80_00104b35e7f9); windows_core::imp::interface_hierarchy!(IDownloadManager, windows_core::IUnknown); impl IDownloadManager { #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage"))] @@ -750,7 +750,7 @@ pub struct IDownloadManager_Vtbl { #[cfg(not(all(feature = "Win32_Graphics_Gdi", feature = "Win32_Security", feature = "Win32_System_Com_StructuredStorage")))] Download: usize, } -windows_core::imp::com_interface!(IEnumManagerFrames, IEnumManagerFrames_Vtbl, 0x3caa826a_9b1f_4a79_bc81_f0430ded1648); +windows_core::imp::define_interface!(IEnumManagerFrames, IEnumManagerFrames_Vtbl, 0x3caa826a_9b1f_4a79_bc81_f0430ded1648); windows_core::imp::interface_hierarchy!(IEnumManagerFrames, windows_core::IUnknown); impl IEnumManagerFrames { pub unsafe fn Next(&self, ppwindows: &mut [*mut super::super::Foundation::HWND], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -780,7 +780,7 @@ pub struct IEnumManagerFrames_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumOpenServiceActivity, IEnumOpenServiceActivity_Vtbl, 0xa436d7d2_17c3_4ef4_a1e8_5c86faff26c0); +windows_core::imp::define_interface!(IEnumOpenServiceActivity, IEnumOpenServiceActivity_Vtbl, 0xa436d7d2_17c3_4ef4_a1e8_5c86faff26c0); windows_core::imp::interface_hierarchy!(IEnumOpenServiceActivity, windows_core::IUnknown); impl IEnumOpenServiceActivity { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -805,7 +805,7 @@ pub struct IEnumOpenServiceActivity_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumOpenServiceActivityCategory, IEnumOpenServiceActivityCategory_Vtbl, 0x33627a56_8c9a_4430_8fd1_b5f5c771afb6); +windows_core::imp::define_interface!(IEnumOpenServiceActivityCategory, IEnumOpenServiceActivityCategory_Vtbl, 0x33627a56_8c9a_4430_8fd1_b5f5c771afb6); windows_core::imp::interface_hierarchy!(IEnumOpenServiceActivityCategory, windows_core::IUnknown); impl IEnumOpenServiceActivityCategory { pub unsafe fn Next(&self, rgelt: &mut [Option], pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -830,7 +830,7 @@ pub struct IEnumOpenServiceActivityCategory_Vtbl { 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, } -windows_core::imp::com_interface!(IEnumSTATURL, IEnumSTATURL_Vtbl, 0x3c374a42_bae4_11cf_bf7d_00aa006946ee); +windows_core::imp::define_interface!(IEnumSTATURL, IEnumSTATURL_Vtbl, 0x3c374a42_bae4_11cf_bf7d_00aa006946ee); windows_core::imp::interface_hierarchy!(IEnumSTATURL, windows_core::IUnknown); impl IEnumSTATURL { pub unsafe fn Next(&self, celt: u32, rgelt: *mut STATURL, pceltfetched: *mut u32) -> windows_core::Result<()> { @@ -862,7 +862,7 @@ pub struct IEnumSTATURL_Vtbl { pub Clone: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetFilter: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IExtensionValidation, IExtensionValidation_Vtbl, 0x7d33f73d_8525_4e0f_87db_830288baff44); +windows_core::imp::define_interface!(IExtensionValidation, IExtensionValidation_Vtbl, 0x7d33f73d_8525_4e0f_87db_830288baff44); windows_core::imp::interface_hierarchy!(IExtensionValidation, windows_core::IUnknown); impl IExtensionValidation { #[cfg(all(feature = "Win32_System_Com", feature = "Win32_Web_MsHtml"))] @@ -890,7 +890,7 @@ pub struct IExtensionValidation_Vtbl { Validate: usize, pub DisplayName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IHTMLPersistData, IHTMLPersistData_Vtbl, 0x3050f4c5_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IHTMLPersistData, IHTMLPersistData_Vtbl, 0x3050f4c5_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(IHTMLPersistData, windows_core::IUnknown); impl IHTMLPersistData { pub unsafe fn save(&self, punk: P0, ltype: i32) -> windows_core::Result @@ -920,7 +920,7 @@ pub struct IHTMLPersistData_Vtbl { pub queryType: unsafe extern "system" fn(*mut core::ffi::c_void, i32, *mut super::super::Foundation::VARIANT_BOOL) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IHTMLPersistDataOM, IHTMLPersistDataOM_Vtbl, 0x3050f4c0_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IHTMLPersistDataOM, IHTMLPersistDataOM_Vtbl, 0x3050f4c0_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IHTMLPersistDataOM, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -964,7 +964,7 @@ pub struct IHTMLPersistDataOM_Vtbl { pub removeAttribute: unsafe extern "system" fn(*mut core::ffi::c_void, std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IHTMLUserDataOM, IHTMLUserDataOM_Vtbl, 0x3050f48f_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IHTMLUserDataOM, IHTMLUserDataOM_Vtbl, 0x3050f48f_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IHTMLUserDataOM, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1034,7 +1034,7 @@ pub struct IHTMLUserDataOM_Vtbl { pub expires: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IHeaderFooter, IHeaderFooter_Vtbl, 0x3050f6ce_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IHeaderFooter, IHeaderFooter_Vtbl, 0x3050f6ce_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IHeaderFooter, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1170,7 +1170,7 @@ pub struct IHeaderFooter_Vtbl { pub timeLong: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IHeaderFooter2, IHeaderFooter2_Vtbl, 0x305104a5_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IHeaderFooter2, IHeaderFooter2_Vtbl, 0x305104a5_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IHeaderFooter2, windows_core::IUnknown, super::super::System::Com::IDispatch, IHeaderFooter); #[cfg(feature = "Win32_System_Com")] @@ -1296,7 +1296,7 @@ pub struct IHeaderFooter2_Vtbl { pub font: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IHomePage, IHomePage_Vtbl, 0x766bf2af_d650_11d1_9811_00c04fc31d2e); +windows_core::imp::define_interface!(IHomePage, IHomePage_Vtbl, 0x766bf2af_d650_11d1_9811_00c04fc31d2e); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IHomePage, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1326,7 +1326,7 @@ pub struct IHomePage_Vtbl { 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, } -windows_core::imp::com_interface!(IHomePageSetting, IHomePageSetting_Vtbl, 0xfdfc244f_18fa_4ff2_b08e_1d618f3ffbe4); +windows_core::imp::define_interface!(IHomePageSetting, IHomePageSetting_Vtbl, 0xfdfc244f_18fa_4ff2_b08e_1d618f3ffbe4); windows_core::imp::interface_hierarchy!(IHomePageSetting, windows_core::IUnknown); impl IHomePageSetting { pub unsafe fn SetHomePage(&self, hwnd: P0, homepageuri: P1, brandingmessage: P2) -> windows_core::Result<()> @@ -1356,7 +1356,7 @@ pub struct IHomePageSetting_Vtbl { pub SetHomePageToBrowserDefault: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IIEWebDriverManager, IIEWebDriverManager_Vtbl, 0xbd1dc630_6590_4ca2_a293_6bc72b2438d8); +windows_core::imp::define_interface!(IIEWebDriverManager, IIEWebDriverManager_Vtbl, 0xbd1dc630_6590_4ca2_a293_6bc72b2438d8); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IIEWebDriverManager, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1376,7 +1376,7 @@ pub struct IIEWebDriverManager_Vtbl { pub ExecuteCommand: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IIEWebDriverSite, IIEWebDriverSite_Vtbl, 0xffb84444_453d_4fbc_9f9d_8db5c471ec75); +windows_core::imp::define_interface!(IIEWebDriverSite, IIEWebDriverSite_Vtbl, 0xffb84444_453d_4fbc_9f9d_8db5c471ec75); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IIEWebDriverSite, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1407,7 +1407,7 @@ pub struct IIEWebDriverSite_Vtbl { 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, } -windows_core::imp::com_interface!(IImageDecodeEventSink, IImageDecodeEventSink_Vtbl, 0xbaa342a0_2ded_11d0_86f4_00a0c913f750); +windows_core::imp::define_interface!(IImageDecodeEventSink, IImageDecodeEventSink_Vtbl, 0xbaa342a0_2ded_11d0_86f4_00a0c913f750); 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 { @@ -1443,7 +1443,7 @@ pub struct IImageDecodeEventSink_Vtbl { pub OnPalette: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub OnProgress: unsafe extern "system" fn(*mut core::ffi::c_void, *const super::super::Foundation::RECT, super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageDecodeEventSink2, IImageDecodeEventSink2_Vtbl, 0x8ebd8a57_8a96_48c9_84a6_962e2db9c931); +windows_core::imp::define_interface!(IImageDecodeEventSink2, IImageDecodeEventSink2_Vtbl, 0x8ebd8a57_8a96_48c9_84a6_962e2db9c931); windows_core::imp::interface_hierarchy!(IImageDecodeEventSink2, windows_core::IUnknown, IImageDecodeEventSink); impl IImageDecodeEventSink2 { pub unsafe fn GetSurface(&self, nwidth: i32, nheight: i32, bfid: *const windows_core::GUID, npasses: u32, dwhints: u32) -> windows_core::Result { @@ -1478,7 +1478,7 @@ pub struct IImageDecodeEventSink2_Vtbl { pub base__: IImageDecodeEventSink_Vtbl, pub IsAlphaPremultRequired: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IImageDecodeFilter, IImageDecodeFilter_Vtbl, 0xa3ccedf3_2de2_11d0_86f4_00a0c913f750); +windows_core::imp::define_interface!(IImageDecodeFilter, IImageDecodeFilter_Vtbl, 0xa3ccedf3_2de2_11d0_86f4_00a0c913f750); windows_core::imp::interface_hierarchy!(IImageDecodeFilter, windows_core::IUnknown); impl IImageDecodeFilter { pub unsafe fn Initialize(&self, peventsink: P0) -> windows_core::Result<()> @@ -1509,7 +1509,7 @@ pub struct IImageDecodeFilter_Vtbl { pub Terminate: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::HRESULT) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IIntelliForms, IIntelliForms_Vtbl, 0x9b9f68e6_1aaa_11d2_bca5_00c04fd929db); +windows_core::imp::define_interface!(IIntelliForms, IIntelliForms_Vtbl, 0x9b9f68e6_1aaa_11d2_bca5_00c04fd929db); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IIntelliForms, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1532,7 +1532,7 @@ pub struct IIntelliForms_Vtbl { 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, } -windows_core::imp::com_interface!(IInternetExplorerManager, IInternetExplorerManager_Vtbl, 0xacc84351_04ff_44f9_b23f_655ed168c6d5); +windows_core::imp::define_interface!(IInternetExplorerManager, IInternetExplorerManager_Vtbl, 0xacc84351_04ff_44f9_b23f_655ed168c6d5); windows_core::imp::interface_hierarchy!(IInternetExplorerManager, windows_core::IUnknown); impl IInternetExplorerManager { pub unsafe fn CreateObject(&self, dwconfig: u32, pszurl: P0) -> windows_core::Result @@ -1549,7 +1549,7 @@ pub struct IInternetExplorerManager_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreateObject: unsafe extern "system" fn(*mut core::ffi::c_void, u32, windows_core::PCWSTR, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IInternetExplorerManager2, IInternetExplorerManager2_Vtbl, 0xdfbb5136_9259_4895_b4a7_c1934429919a); +windows_core::imp::define_interface!(IInternetExplorerManager2, IInternetExplorerManager2_Vtbl, 0xdfbb5136_9259_4895_b4a7_c1934429919a); windows_core::imp::interface_hierarchy!(IInternetExplorerManager2, windows_core::IUnknown); impl IInternetExplorerManager2 { pub unsafe fn EnumFrameWindows(&self) -> windows_core::Result { @@ -1563,7 +1563,7 @@ pub struct IInternetExplorerManager2_Vtbl { pub EnumFrameWindows: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(ILayoutRect, ILayoutRect_Vtbl, 0x3050f665_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(ILayoutRect, ILayoutRect_Vtbl, 0x3050f665_98b5_11cf_bb82_00aa00bdce0b); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(ILayoutRect, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] @@ -1651,7 +1651,7 @@ pub struct ILayoutRect_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] contentDocument: usize, } -windows_core::imp::com_interface!(IMapMIMEToCLSID, IMapMIMEToCLSID_Vtbl, 0xd9e89500_30fa_11d0_b724_00aa006c1a01); +windows_core::imp::define_interface!(IMapMIMEToCLSID, IMapMIMEToCLSID_Vtbl, 0xd9e89500_30fa_11d0_b724_00aa006c1a01); windows_core::imp::interface_hierarchy!(IMapMIMEToCLSID, windows_core::IUnknown); impl IMapMIMEToCLSID { pub unsafe fn EnableDefaultMappings(&self, benable: P0) -> windows_core::Result<()> @@ -1680,7 +1680,7 @@ pub struct IMapMIMEToCLSID_Vtbl { pub MapMIMEToCLSID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *const windows_core::GUID) -> windows_core::HRESULT, pub SetMapping: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *const windows_core::GUID) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IMediaActivityNotifySite, IMediaActivityNotifySite_Vtbl, 0x8165cfef_179d_46c2_bc71_3fa726dc1f8d); +windows_core::imp::define_interface!(IMediaActivityNotifySite, IMediaActivityNotifySite_Vtbl, 0x8165cfef_179d_46c2_bc71_3fa726dc1f8d); windows_core::imp::interface_hierarchy!(IMediaActivityNotifySite, windows_core::IUnknown); impl IMediaActivityNotifySite { pub unsafe fn OnMediaActivityStarted(&self, mediaactivitytype: MEDIA_ACTIVITY_NOTIFY_TYPE) -> windows_core::Result<()> { @@ -1696,7 +1696,7 @@ pub struct IMediaActivityNotifySite_Vtbl { pub OnMediaActivityStarted: unsafe extern "system" fn(*mut core::ffi::c_void, MEDIA_ACTIVITY_NOTIFY_TYPE) -> windows_core::HRESULT, pub OnMediaActivityStopped: unsafe extern "system" fn(*mut core::ffi::c_void, MEDIA_ACTIVITY_NOTIFY_TYPE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpenService, IOpenService_Vtbl, 0xc2952ed1_6a89_4606_925f_1ed8b4be0630); +windows_core::imp::define_interface!(IOpenService, IOpenService_Vtbl, 0xc2952ed1_6a89_4606_925f_1ed8b4be0630); windows_core::imp::interface_hierarchy!(IOpenService, windows_core::IUnknown); impl IOpenService { pub unsafe fn IsDefault(&self) -> windows_core::Result { @@ -1722,7 +1722,7 @@ pub struct IOpenService_Vtbl { 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, } -windows_core::imp::com_interface!(IOpenServiceActivity, IOpenServiceActivity_Vtbl, 0x13645c88_221a_4905_8ed1_4f5112cfc108); +windows_core::imp::define_interface!(IOpenServiceActivity, IOpenServiceActivity_Vtbl, 0x13645c88_221a_4905_8ed1_4f5112cfc108); windows_core::imp::interface_hierarchy!(IOpenServiceActivity, windows_core::IUnknown, IOpenService); impl IOpenServiceActivity { pub unsafe fn IsDefault(&self) -> windows_core::Result { @@ -1861,7 +1861,7 @@ pub struct IOpenServiceActivity_Vtbl { 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, } -windows_core::imp::com_interface!(IOpenServiceActivityCategory, IOpenServiceActivityCategory_Vtbl, 0x850af9d6_7309_40b5_bdb8_786c106b2153); +windows_core::imp::define_interface!(IOpenServiceActivityCategory, IOpenServiceActivityCategory_Vtbl, 0x850af9d6_7309_40b5_bdb8_786c106b2153); windows_core::imp::interface_hierarchy!(IOpenServiceActivityCategory, windows_core::IUnknown); impl IOpenServiceActivityCategory { pub unsafe fn HasDefaultActivity(&self) -> windows_core::Result { @@ -1901,7 +1901,7 @@ pub struct IOpenServiceActivityCategory_Vtbl { pub GetName: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::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::com_interface!(IOpenServiceActivityInput, IOpenServiceActivityInput_Vtbl, 0x75cb4db9_6da0_4da3_83ce_422b6a433346); +windows_core::imp::define_interface!(IOpenServiceActivityInput, IOpenServiceActivityInput_Vtbl, 0x75cb4db9_6da0_4da3_83ce_422b6a433346); windows_core::imp::interface_hierarchy!(IOpenServiceActivityInput, windows_core::IUnknown); impl IOpenServiceActivityInput { pub unsafe fn GetVariable(&self, pwzvariablename: P0, pwzvariabletype: P1) -> windows_core::Result @@ -1932,7 +1932,7 @@ pub struct IOpenServiceActivityInput_Vtbl { 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, } -windows_core::imp::com_interface!(IOpenServiceActivityManager, IOpenServiceActivityManager_Vtbl, 0x8a2d0a9d_e920_4bdc_a291_d30f650bc4f1); +windows_core::imp::define_interface!(IOpenServiceActivityManager, IOpenServiceActivityManager_Vtbl, 0x8a2d0a9d_e920_4bdc_a291_d30f650bc4f1); windows_core::imp::interface_hierarchy!(IOpenServiceActivityManager, windows_core::IUnknown); impl IOpenServiceActivityManager { pub unsafe fn GetCategoryEnumerator(&self, etype: OpenServiceActivityContentType) -> windows_core::Result { @@ -1967,7 +1967,7 @@ pub struct IOpenServiceActivityManager_Vtbl { pub GetActivityByHomepageAndCategory: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetVersionCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IOpenServiceActivityOutputContext, IOpenServiceActivityOutputContext_Vtbl, 0xe289deab_f709_49a9_b99e_282364074571); +windows_core::imp::define_interface!(IOpenServiceActivityOutputContext, IOpenServiceActivityOutputContext_Vtbl, 0xe289deab_f709_49a9_b99e_282364074571); windows_core::imp::interface_hierarchy!(IOpenServiceActivityOutputContext, windows_core::IUnknown); impl IOpenServiceActivityOutputContext { #[cfg(feature = "Win32_System_Com")] @@ -2004,7 +2004,7 @@ pub struct IOpenServiceActivityOutputContext_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] CanNavigate: usize, } -windows_core::imp::com_interface!(IOpenServiceManager, IOpenServiceManager_Vtbl, 0x5664125f_4e10_4e90_98e4_e4513d955a14); +windows_core::imp::define_interface!(IOpenServiceManager, IOpenServiceManager_Vtbl, 0x5664125f_4e10_4e90_98e4_e4513d955a14); windows_core::imp::interface_hierarchy!(IOpenServiceManager, windows_core::IUnknown); impl IOpenServiceManager { pub unsafe fn InstallService(&self, pwzserviceurl: P0) -> windows_core::Result @@ -2035,7 +2035,7 @@ pub struct IOpenServiceManager_Vtbl { pub UninstallService: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetServiceByID: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPeerFactory, IPeerFactory_Vtbl, 0x6663f9d3_b482_11d1_89c6_00c04fb6bfc4); +windows_core::imp::define_interface!(IPeerFactory, IPeerFactory_Vtbl, 0x6663f9d3_b482_11d1_89c6_00c04fb6bfc4); windows_core::imp::interface_hierarchy!(IPeerFactory, windows_core::IUnknown); impl IPeerFactory {} #[repr(C)] @@ -2043,7 +2043,7 @@ pub struct IPeerFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(IPersistHistory, IPersistHistory_Vtbl, 0x91a565c1_e38f_11d0_94bf_00a0c9055cbf); +windows_core::imp::define_interface!(IPersistHistory, IPersistHistory_Vtbl, 0x91a565c1_e38f_11d0_94bf_00a0c9055cbf); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(IPersistHistory, windows_core::IUnknown, super::super::System::Com::IPersist); #[cfg(feature = "Win32_System_Com")] @@ -2091,7 +2091,7 @@ pub struct IPersistHistory_Vtbl { pub SetPositionCookie: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub GetPositionCookie: unsafe extern "system" fn(*mut core::ffi::c_void, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskRequestFactory, IPrintTaskRequestFactory_Vtbl, 0xbb516745_8c34_4f8b_9605_684dcb144be5); +windows_core::imp::define_interface!(IPrintTaskRequestFactory, IPrintTaskRequestFactory_Vtbl, 0xbb516745_8c34_4f8b_9605_684dcb144be5); windows_core::imp::interface_hierarchy!(IPrintTaskRequestFactory, windows_core::IUnknown); impl IPrintTaskRequestFactory { pub unsafe fn CreatePrintTaskRequest(&self, pprinttaskrequesthandler: P0) -> windows_core::Result<()> @@ -2106,7 +2106,7 @@ pub struct IPrintTaskRequestFactory_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub CreatePrintTaskRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IPrintTaskRequestHandler, IPrintTaskRequestHandler_Vtbl, 0x191cd340_cf36_44ff_bd53_d1b701799d9b); +windows_core::imp::define_interface!(IPrintTaskRequestHandler, IPrintTaskRequestHandler_Vtbl, 0x191cd340_cf36_44ff_bd53_d1b701799d9b); windows_core::imp::interface_hierarchy!(IPrintTaskRequestHandler, windows_core::IUnknown); impl IPrintTaskRequestHandler { pub unsafe fn HandlePrintTaskRequest(&self, pprinttaskrequest: P0) -> windows_core::Result<()> @@ -2121,7 +2121,7 @@ pub struct IPrintTaskRequestHandler_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub HandlePrintTaskRequest: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScrollableContextMenu, IScrollableContextMenu_Vtbl, 0x30510854_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IScrollableContextMenu, IScrollableContextMenu_Vtbl, 0x30510854_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(IScrollableContextMenu, windows_core::IUnknown); impl IScrollableContextMenu { pub unsafe fn AddItem(&self, itemtext: P0, cmdid: u32) -> windows_core::Result<()> @@ -2141,7 +2141,7 @@ pub struct IScrollableContextMenu_Vtbl { pub AddItem: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32) -> windows_core::HRESULT, pub ShowModal: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IScrollableContextMenu2, IScrollableContextMenu2_Vtbl, 0xf77e9056_8674_4936_924c_0e4a06fa634a); +windows_core::imp::define_interface!(IScrollableContextMenu2, IScrollableContextMenu2_Vtbl, 0xf77e9056_8674_4936_924c_0e4a06fa634a); windows_core::imp::interface_hierarchy!(IScrollableContextMenu2, windows_core::IUnknown, IScrollableContextMenu); impl IScrollableContextMenu2 { pub unsafe fn AddItem(&self, itemtext: P0, cmdid: u32) -> windows_core::Result<()> @@ -2167,7 +2167,7 @@ pub struct IScrollableContextMenu2_Vtbl { pub AddSeparator: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub SetPlacement: unsafe extern "system" fn(*mut core::ffi::c_void, SCROLLABLECONTEXTMENU_PLACEMENT) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISniffStream, ISniffStream_Vtbl, 0x4ef17940_30e0_11d0_b724_00aa006c1a01); +windows_core::imp::define_interface!(ISniffStream, ISniffStream_Vtbl, 0x4ef17940_30e0_11d0_b724_00aa006c1a01); windows_core::imp::interface_hierarchy!(ISniffStream, windows_core::IUnknown); impl ISniffStream { #[cfg(feature = "Win32_System_Com")] @@ -2190,7 +2190,7 @@ pub struct ISniffStream_Vtbl { Init: usize, pub Peek: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32, *mut u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISurfacePresenterFlip, ISurfacePresenterFlip_Vtbl, 0x30510848_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(ISurfacePresenterFlip, ISurfacePresenterFlip_Vtbl, 0x30510848_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(ISurfacePresenterFlip, windows_core::IUnknown); impl ISurfacePresenterFlip { pub unsafe fn Present(&self) -> windows_core::Result<()> { @@ -2206,7 +2206,7 @@ pub struct ISurfacePresenterFlip_Vtbl { pub Present: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub GetBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ISurfacePresenterFlip2, ISurfacePresenterFlip2_Vtbl, 0x30510865_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(ISurfacePresenterFlip2, ISurfacePresenterFlip2_Vtbl, 0x30510865_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(ISurfacePresenterFlip2, windows_core::IUnknown); impl ISurfacePresenterFlip2 { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2222,7 +2222,7 @@ pub struct ISurfacePresenterFlip2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] SetRotation: usize, } -windows_core::imp::com_interface!(ISurfacePresenterFlipBuffer, ISurfacePresenterFlipBuffer_Vtbl, 0xe43f4a08_8bbc_4665_ac92_c55ce61fd7e7); +windows_core::imp::define_interface!(ISurfacePresenterFlipBuffer, ISurfacePresenterFlipBuffer_Vtbl, 0xe43f4a08_8bbc_4665_ac92_c55ce61fd7e7); windows_core::imp::interface_hierarchy!(ISurfacePresenterFlipBuffer, windows_core::IUnknown); impl ISurfacePresenterFlipBuffer { pub unsafe fn BeginDraw(&self, riid: *const windows_core::GUID, ppbuffer: *mut *mut core::ffi::c_void) -> windows_core::Result<()> { @@ -2238,7 +2238,7 @@ pub struct ISurfacePresenterFlipBuffer_Vtbl { pub BeginDraw: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub EndDraw: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetContainer, ITargetContainer_Vtbl, 0x7847ec01_2bec_11d0_82b4_00a0c90c29c5); +windows_core::imp::define_interface!(ITargetContainer, ITargetContainer_Vtbl, 0x7847ec01_2bec_11d0_82b4_00a0c90c29c5); windows_core::imp::interface_hierarchy!(ITargetContainer, windows_core::IUnknown); impl ITargetContainer { pub unsafe fn GetFrameUrl(&self) -> windows_core::Result { @@ -2260,7 +2260,7 @@ pub struct ITargetContainer_Vtbl { #[cfg(not(feature = "Win32_System_Ole"))] GetFramesContainer: usize, } -windows_core::imp::com_interface!(ITargetEmbedding, ITargetEmbedding_Vtbl, 0x548793c0_9e74_11cf_9655_00a0c9034923); +windows_core::imp::define_interface!(ITargetEmbedding, ITargetEmbedding_Vtbl, 0x548793c0_9e74_11cf_9655_00a0c9034923); windows_core::imp::interface_hierarchy!(ITargetEmbedding, windows_core::IUnknown); impl ITargetEmbedding { pub unsafe fn GetTargetFrame(&self) -> windows_core::Result { @@ -2273,7 +2273,7 @@ pub struct ITargetEmbedding_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub GetTargetFrame: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetFrame, ITargetFrame_Vtbl, 0xd5f78c80_5252_11cf_90fa_00aa0042106e); +windows_core::imp::define_interface!(ITargetFrame, ITargetFrame_Vtbl, 0xd5f78c80_5252_11cf_90fa_00aa0042106e); windows_core::imp::interface_hierarchy!(ITargetFrame, windows_core::IUnknown); impl ITargetFrame { pub unsafe fn SetFrameName(&self, pszframename: P0) -> windows_core::Result<()> @@ -2363,7 +2363,7 @@ pub struct ITargetFrame_Vtbl { pub OnChildFrameActivate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub OnChildFrameDeactivate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetFrame2, ITargetFrame2_Vtbl, 0x86d52e11_94a8_11d0_82af_00c04fd5ae38); +windows_core::imp::define_interface!(ITargetFrame2, ITargetFrame2_Vtbl, 0x86d52e11_94a8_11d0_82af_00c04fd5ae38); windows_core::imp::interface_hierarchy!(ITargetFrame2, windows_core::IUnknown); impl ITargetFrame2 { pub unsafe fn SetFrameName(&self, pszframename: P0) -> windows_core::Result<()> @@ -2442,7 +2442,7 @@ pub struct ITargetFrame2_Vtbl { pub FindFrame: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub GetTargetAlias: unsafe extern "system" fn(*mut core::ffi::c_void, windows_core::PCWSTR, *mut windows_core::PWSTR) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetFramePriv, ITargetFramePriv_Vtbl, 0x9216e421_2bf5_11d0_82b4_00a0c90c29c5); +windows_core::imp::define_interface!(ITargetFramePriv, ITargetFramePriv_Vtbl, 0x9216e421_2bf5_11d0_82b4_00a0c90c29c5); windows_core::imp::interface_hierarchy!(ITargetFramePriv, windows_core::IUnknown); impl ITargetFramePriv { pub unsafe fn FindFrameDownwards(&self, psztargetname: P0, dwflags: u32) -> windows_core::Result @@ -2501,7 +2501,7 @@ pub struct ITargetFramePriv_Vtbl { NavigateHack: usize, pub FindBrowserByIndex: unsafe extern "system" fn(*mut core::ffi::c_void, u32, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetFramePriv2, ITargetFramePriv2_Vtbl, 0xb2c867e6_69d6_46f2_a611_ded9a4bd7fef); +windows_core::imp::define_interface!(ITargetFramePriv2, ITargetFramePriv2_Vtbl, 0xb2c867e6_69d6_46f2_a611_ded9a4bd7fef); windows_core::imp::interface_hierarchy!(ITargetFramePriv2, windows_core::IUnknown, ITargetFramePriv); impl ITargetFramePriv2 { pub unsafe fn FindFrameDownwards(&self, psztargetname: P0, dwflags: u32) -> windows_core::Result @@ -2566,7 +2566,7 @@ pub struct ITargetFramePriv2_Vtbl { #[cfg(not(feature = "Win32_System_Com"))] AggregatedNavigation2: usize, } -windows_core::imp::com_interface!(ITargetNotify, ITargetNotify_Vtbl, 0x863a99a0_21bc_11d0_82b4_00a0c90c29c5); +windows_core::imp::define_interface!(ITargetNotify, ITargetNotify_Vtbl, 0x863a99a0_21bc_11d0_82b4_00a0c90c29c5); windows_core::imp::interface_hierarchy!(ITargetNotify, windows_core::IUnknown); impl ITargetNotify { pub unsafe fn OnCreate(&self, punkdestination: P0, cbcookie: u32) -> windows_core::Result<()> @@ -2588,7 +2588,7 @@ pub struct ITargetNotify_Vtbl { pub OnCreate: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void, u32) -> windows_core::HRESULT, pub OnReuse: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITargetNotify2, ITargetNotify2_Vtbl, 0x3050f6b1_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(ITargetNotify2, ITargetNotify2_Vtbl, 0x3050f6b1_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(ITargetNotify2, windows_core::IUnknown, ITargetNotify); impl ITargetNotify2 { pub unsafe fn OnCreate(&self, punkdestination: P0, cbcookie: u32) -> windows_core::Result<()> @@ -2612,7 +2612,7 @@ 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, } -windows_core::imp::com_interface!(ITimer, ITimer_Vtbl, 0x3050f360_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(ITimer, ITimer_Vtbl, 0x3050f360_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(ITimer, windows_core::IUnknown); impl ITimer { pub unsafe fn Advise(&self, vtimemin: P0, vtimemax: P1, vtimeinterval: P2, dwflags: u32, ptimersink: P3) -> windows_core::Result @@ -2647,7 +2647,7 @@ pub struct ITimer_Vtbl { 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, } -windows_core::imp::com_interface!(ITimerEx, ITimerEx_Vtbl, 0x30510414_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(ITimerEx, ITimerEx_Vtbl, 0x30510414_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(ITimerEx, windows_core::IUnknown, ITimer); impl ITimerEx { pub unsafe fn Advise(&self, vtimemin: P0, vtimemax: P1, vtimeinterval: P2, dwflags: u32, ptimersink: P3) -> windows_core::Result @@ -2682,7 +2682,7 @@ pub struct ITimerEx_Vtbl { pub base__: ITimer_Vtbl, pub SetMode: unsafe extern "system" fn(*mut core::ffi::c_void, u32) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimerService, ITimerService_Vtbl, 0x3050f35f_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(ITimerService, ITimerService_Vtbl, 0x3050f35f_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(ITimerService, windows_core::IUnknown); impl ITimerService { pub unsafe fn CreateTimer(&self, preferencetimer: P0) -> windows_core::Result @@ -2710,7 +2710,7 @@ pub struct ITimerService_Vtbl { pub GetNamedTimer: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, pub SetNamedTimerReference: unsafe extern "system" fn(*mut core::ffi::c_void, *const windows_core::GUID, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITimerSink, ITimerSink_Vtbl, 0x3050f361_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(ITimerSink, ITimerSink_Vtbl, 0x3050f361_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(ITimerSink, windows_core::IUnknown); impl ITimerSink { pub unsafe fn OnTimer(&self, vtimeadvise: P0) -> windows_core::Result<()> @@ -2725,7 +2725,7 @@ 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, } -windows_core::imp::com_interface!(ITridentTouchInput, ITridentTouchInput_Vtbl, 0x30510850_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(ITridentTouchInput, ITridentTouchInput_Vtbl, 0x30510850_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(ITridentTouchInput, windows_core::IUnknown); impl ITridentTouchInput { pub unsafe fn OnPointerMessage(&self, msg: u32, wparam: P0, lparam: P1) -> windows_core::Result @@ -2742,7 +2742,7 @@ pub struct ITridentTouchInput_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub OnPointerMessage: unsafe extern "system" fn(*mut core::ffi::c_void, u32, super::super::Foundation::WPARAM, super::super::Foundation::LPARAM, *mut super::super::Foundation::BOOL) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(ITridentTouchInputSite, ITridentTouchInputSite_Vtbl, 0x30510849_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(ITridentTouchInputSite, ITridentTouchInputSite_Vtbl, 0x30510849_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(ITridentTouchInputSite, windows_core::IUnknown); impl ITridentTouchInputSite { #[cfg(feature = "Win32_Web_MsHtml")] @@ -2763,7 +2763,7 @@ pub struct ITridentTouchInputSite_Vtbl { pub ZoomToPoint: unsafe extern "system" fn(*mut core::ffi::c_void, i32, i32) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Ole")] -windows_core::imp::com_interface!(IUrlHistoryNotify, IUrlHistoryNotify_Vtbl, 0xbc40bec1_c493_11d0_831b_00c04fd5ae38); +windows_core::imp::define_interface!(IUrlHistoryNotify, IUrlHistoryNotify_Vtbl, 0xbc40bec1_c493_11d0_831b_00c04fd5ae38); #[cfg(feature = "Win32_System_Ole")] windows_core::imp::interface_hierarchy!(IUrlHistoryNotify, windows_core::IUnknown, super::super::System::Ole::IOleCommandTarget); #[cfg(feature = "Win32_System_Ole")] @@ -2782,7 +2782,7 @@ impl IUrlHistoryNotify { pub struct IUrlHistoryNotify_Vtbl { pub base__: super::super::System::Ole::IOleCommandTarget_Vtbl, } -windows_core::imp::com_interface!(IUrlHistoryStg, IUrlHistoryStg_Vtbl, 0x3c374a41_bae4_11cf_bf7d_00aa006946ee); +windows_core::imp::define_interface!(IUrlHistoryStg, IUrlHistoryStg_Vtbl, 0x3c374a41_bae4_11cf_bf7d_00aa006946ee); windows_core::imp::interface_hierarchy!(IUrlHistoryStg, windows_core::IUnknown); impl IUrlHistoryStg { pub unsafe fn AddUrl(&self, pocsurl: P0, pocstitle: P1, dwflags: u32) -> windows_core::Result<()> @@ -2826,7 +2826,7 @@ pub struct IUrlHistoryStg_Vtbl { pub BindToObject: 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 EnumUrls: unsafe extern "system" fn(*mut core::ffi::c_void, *mut *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IUrlHistoryStg2, IUrlHistoryStg2_Vtbl, 0xafa0dc11_c313_11d0_831a_00c04fd5ae38); +windows_core::imp::define_interface!(IUrlHistoryStg2, IUrlHistoryStg2_Vtbl, 0xafa0dc11_c313_11d0_831a_00c04fd5ae38); windows_core::imp::interface_hierarchy!(IUrlHistoryStg2, windows_core::IUnknown, IUrlHistoryStg); impl IUrlHistoryStg2 { pub unsafe fn AddUrl(&self, pocsurl: P0, pocstitle: P1, dwflags: u32) -> windows_core::Result<()> @@ -2884,7 +2884,7 @@ pub struct IUrlHistoryStg2_Vtbl { AddUrlAndNotify: usize, pub ClearHistory: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IViewObjectPresentFlip, IViewObjectPresentFlip_Vtbl, 0x30510847_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IViewObjectPresentFlip, IViewObjectPresentFlip_Vtbl, 0x30510847_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(IViewObjectPresentFlip, windows_core::IUnknown); impl IViewObjectPresentFlip { pub unsafe fn NotifyRender(&self, frecreatepresenter: P0) -> windows_core::Result<()> @@ -2913,7 +2913,7 @@ pub struct IViewObjectPresentFlip_Vtbl { pub RenderObjectToBitmap: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, pub RenderObjectToSharedBuffer: unsafe extern "system" fn(*mut core::ffi::c_void, *mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IViewObjectPresentFlip2, IViewObjectPresentFlip2_Vtbl, 0x30510856_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IViewObjectPresentFlip2, IViewObjectPresentFlip2_Vtbl, 0x30510856_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(IViewObjectPresentFlip2, windows_core::IUnknown); impl IViewObjectPresentFlip2 { pub unsafe fn NotifyLeavingView(&self) -> windows_core::Result<()> { @@ -2925,7 +2925,7 @@ pub struct IViewObjectPresentFlip2_Vtbl { pub base__: windows_core::IUnknown_Vtbl, pub NotifyLeavingView: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IViewObjectPresentFlipSite, IViewObjectPresentFlipSite_Vtbl, 0x30510846_98b5_11cf_bb82_00aa00bdce0b); +windows_core::imp::define_interface!(IViewObjectPresentFlipSite, IViewObjectPresentFlipSite_Vtbl, 0x30510846_98b5_11cf_bb82_00aa00bdce0b); windows_core::imp::interface_hierarchy!(IViewObjectPresentFlipSite, windows_core::IUnknown); impl IViewObjectPresentFlipSite { #[cfg(all(feature = "Win32_Graphics_Dxgi_Common", feature = "Win32_Web_MsHtml"))] @@ -2977,7 +2977,7 @@ pub struct IViewObjectPresentFlipSite_Vtbl { pub GetMetrics: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::POINT, *mut super::super::Foundation::SIZE, *mut f32, *mut f32) -> windows_core::HRESULT, pub GetFullScreenSize: unsafe extern "system" fn(*mut core::ffi::c_void, *mut super::super::Foundation::SIZE) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IViewObjectPresentFlipSite2, IViewObjectPresentFlipSite2_Vtbl, 0xaad0cbf1_e7fd_4f12_8902_c78132a8e01d); +windows_core::imp::define_interface!(IViewObjectPresentFlipSite2, IViewObjectPresentFlipSite2_Vtbl, 0xaad0cbf1_e7fd_4f12_8902_c78132a8e01d); windows_core::imp::interface_hierarchy!(IViewObjectPresentFlipSite2, windows_core::IUnknown); impl IViewObjectPresentFlipSite2 { #[cfg(feature = "Win32_Graphics_Dxgi_Common")] @@ -2994,7 +2994,7 @@ pub struct IViewObjectPresentFlipSite2_Vtbl { #[cfg(not(feature = "Win32_Graphics_Dxgi_Common"))] GetRotationForCurrentOutput: usize, } -windows_core::imp::com_interface!(IWebBrowserEventsService, IWebBrowserEventsService_Vtbl, 0x54a8f188_9ebd_4795_ad16_9b4945119636); +windows_core::imp::define_interface!(IWebBrowserEventsService, IWebBrowserEventsService_Vtbl, 0x54a8f188_9ebd_4795_ad16_9b4945119636); windows_core::imp::interface_hierarchy!(IWebBrowserEventsService, windows_core::IUnknown); impl IWebBrowserEventsService { pub unsafe fn FireBeforeNavigate2Event(&self) -> windows_core::Result { @@ -3023,7 +3023,7 @@ pub struct IWebBrowserEventsService_Vtbl { pub FireDownloadCompleteEvent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, pub FireDocumentCompleteEvent: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } -windows_core::imp::com_interface!(IWebBrowserEventsUrlService, IWebBrowserEventsUrlService_Vtbl, 0x87cc5d04_eafa_4833_9820_8f986530cc00); +windows_core::imp::define_interface!(IWebBrowserEventsUrlService, IWebBrowserEventsUrlService_Vtbl, 0x87cc5d04_eafa_4833_9820_8f986530cc00); windows_core::imp::interface_hierarchy!(IWebBrowserEventsUrlService, windows_core::IUnknown); impl IWebBrowserEventsUrlService { pub unsafe fn GetUrlForEvents(&self) -> windows_core::Result { @@ -3037,7 +3037,7 @@ pub struct IWebBrowserEventsUrlService_Vtbl { pub GetUrlForEvents: unsafe extern "system" fn(*mut core::ffi::c_void, *mut std::mem::MaybeUninit) -> windows_core::HRESULT, } #[cfg(feature = "Win32_System_Com")] -windows_core::imp::com_interface!(Iwfolders, Iwfolders_Vtbl, 0xbae31f98_1b81_11d2_a97a_00c04f8ecb02); +windows_core::imp::define_interface!(Iwfolders, Iwfolders_Vtbl, 0xbae31f98_1b81_11d2_a97a_00c04f8ecb02); #[cfg(feature = "Win32_System_Com")] windows_core::imp::interface_hierarchy!(Iwfolders, windows_core::IUnknown, super::super::System::Com::IDispatch); #[cfg(feature = "Win32_System_Com")] diff --git a/crates/samples/components/json_validator_winrt/src/bindings.rs b/crates/samples/components/json_validator_winrt/src/bindings.rs index e8735547aa..89f37a58a2 100644 --- a/crates/samples/components/json_validator_winrt/src/bindings.rs +++ b/crates/samples/components/json_validator_winrt/src/bindings.rs @@ -7,7 +7,7 @@ dead_code, clippy::all )] -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IJsonValidator, IJsonValidator_Vtbl, 0xe09cb12b_b13c_5139_8c99_6140bf80deb9 @@ -21,7 +21,7 @@ pub struct IJsonValidator_Vtbl { *mut std::mem::MaybeUninit, ) -> windows_core::HRESULT, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IJsonValidatorFactory, IJsonValidatorFactory_Vtbl, 0x1cf4464e_ae9e_55d5_9539_0af4d8fc35aa diff --git a/crates/samples/components/json_validator_winrt_client/src/bindings.rs b/crates/samples/components/json_validator_winrt_client/src/bindings.rs index ea704dfbac..eb44bc2539 100644 --- a/crates/samples/components/json_validator_winrt_client/src/bindings.rs +++ b/crates/samples/components/json_validator_winrt_client/src/bindings.rs @@ -7,7 +7,7 @@ dead_code, clippy::all )] -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IJsonValidator, IJsonValidator_Vtbl, 0xe09cb12b_b13c_5139_8c99_6140bf80deb9 @@ -21,7 +21,7 @@ pub struct IJsonValidator_Vtbl { *mut std::mem::MaybeUninit, ) -> windows_core::HRESULT, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IJsonValidatorFactory, IJsonValidatorFactory_Vtbl, 0x1cf4464e_ae9e_55d5_9539_0af4d8fc35aa diff --git a/crates/tests/component/src/bindings.rs b/crates/tests/component/src/bindings.rs index 2f451a0962..9b0c0c8901 100644 --- a/crates/tests/component/src/bindings.rs +++ b/crates/tests/component/src/bindings.rs @@ -6,7 +6,11 @@ clippy::all )] pub mod Nested { - windows_core::imp::com_interface!(IThing, IThing_Vtbl, 0x5448be22_9873_5ae6_9106_f6e8455d2fdd); + windows_core::imp::define_interface!( + IThing, + IThing_Vtbl, + 0x5448be22_9873_5ae6_9106_f6e8455d2fdd + ); windows_core::imp::interface_hierarchy!( IThing, windows_core::IUnknown, @@ -65,7 +69,7 @@ pub mod Nested { } } } -windows_core::imp::com_interface!(IClass, IClass_Vtbl, 0x97540591_1323_59c0_9ae0_f510cae62e54); +windows_core::imp::define_interface!(IClass, IClass_Vtbl, 0x97540591_1323_59c0_9ae0_f510cae62e54); #[repr(C)] pub struct IClass_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -287,7 +291,7 @@ impl windows_core::RuntimeType for Flags { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(test_component.Flags;u4)"); } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( Callback, Callback_Vtbl, 0xe39afc7e_93f1_5a1d_92ef_bd5f71c62cb8 diff --git a/crates/tests/component_client/src/bindings.rs b/crates/tests/component_client/src/bindings.rs index 87ca91cdf9..3311995637 100644 --- a/crates/tests/component_client/src/bindings.rs +++ b/crates/tests/component_client/src/bindings.rs @@ -6,7 +6,11 @@ clippy::all )] pub mod Nested { - windows_core::imp::com_interface!(IThing, IThing_Vtbl, 0x5448be22_9873_5ae6_9106_f6e8455d2fdd); + windows_core::imp::define_interface!( + IThing, + IThing_Vtbl, + 0x5448be22_9873_5ae6_9106_f6e8455d2fdd + ); windows_core::imp::interface_hierarchy!( IThing, windows_core::IUnknown, @@ -33,7 +37,7 @@ pub mod Nested { pub Method: unsafe extern "system" fn(*mut core::ffi::c_void) -> windows_core::HRESULT, } } -windows_core::imp::com_interface!(IClass, IClass_Vtbl, 0x97540591_1323_59c0_9ae0_f510cae62e54); +windows_core::imp::define_interface!(IClass, IClass_Vtbl, 0x97540591_1323_59c0_9ae0_f510cae62e54); #[repr(C)] pub struct IClass_Vtbl { pub base__: windows_core::IInspectable_Vtbl, @@ -255,7 +259,7 @@ impl windows_core::RuntimeType for Flags { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(test_component.Flags;u4)"); } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( Callback, Callback_Vtbl, 0xe39afc7e_93f1_5a1d_92ef_bd5f71c62cb8 diff --git a/crates/tests/riddle/src/params.rs b/crates/tests/riddle/src/params.rs index 7d9246cdea..5e5c3b3901 100644 --- a/crates/tests/riddle/src/params.rs +++ b/crates/tests/riddle/src/params.rs @@ -5,7 +5,7 @@ dead_code, clippy::all )] -windows_core::imp::com_interface!(IParams, IParams_Vtbl, 0); +windows_core::imp::define_interface!(IParams, IParams_Vtbl, 0); windows_core::imp::interface_hierarchy!( IParams, windows_core::IUnknown, diff --git a/crates/tests/standalone/src/b_calendar.rs b/crates/tests/standalone/src/b_calendar.rs index 2ace0a920e..a903e3c8d7 100644 --- a/crates/tests/standalone/src/b_calendar.rs +++ b/crates/tests/standalone/src/b_calendar.rs @@ -1317,7 +1317,7 @@ impl windows_core::RuntimeType for DayOfWeek { const SIGNATURE: windows_core::imp::ConstBuffer = windows_core::imp::ConstBuffer::from_slice(b"enum(Windows.Globalization.DayOfWeek;i4)"); } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( ICalendar, ICalendar_Vtbl, 0xca30221d_86d9_40fb_a26b_d44eb7cf08ea @@ -1591,7 +1591,7 @@ pub struct ICalendar_Vtbl { pub IsDaylightSavingTime: unsafe extern "system" fn(*mut core::ffi::c_void, *mut bool) -> windows_core::HRESULT, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( ICalendarFactory, ICalendarFactory_Vtbl, 0x83f58412_e56b_4c75_a66e_0f63d57758a6 @@ -1613,7 +1613,7 @@ pub struct ICalendarFactory_Vtbl { *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( ICalendarFactory2, ICalendarFactory2_Vtbl, 0xb44b378c_ca7e_4590_9e72_ea2bec1a5115 @@ -1808,7 +1808,7 @@ where ) -> windows_core::HRESULT, pub T: core::marker::PhantomData, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( ITimeZoneOnCalendar, ITimeZoneOnCalendar_Vtbl, 0xbb3c25e5_46cf_4317_a3f5_02621ad54478 diff --git a/crates/tests/standalone/src/b_stringable.rs b/crates/tests/standalone/src/b_stringable.rs index ff3529b2e2..eee97ad690 100644 --- a/crates/tests/standalone/src/b_stringable.rs +++ b/crates/tests/standalone/src/b_stringable.rs @@ -5,7 +5,7 @@ dead_code, clippy::all )] -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IStringable, IStringable_Vtbl, 0x96369f54_8eb6_48f0_abce_c1b211e627c3 diff --git a/crates/tests/standalone/src/b_uri.rs b/crates/tests/standalone/src/b_uri.rs index dbe97f8688..b306f235c1 100644 --- a/crates/tests/standalone/src/b_uri.rs +++ b/crates/tests/standalone/src/b_uri.rs @@ -183,7 +183,7 @@ where ) -> windows_core::HRESULT, pub T: core::marker::PhantomData, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IStringable, IStringable_Vtbl, 0x96369f54_8eb6_48f0_abce_c1b211e627c3 @@ -218,7 +218,7 @@ pub struct IStringable_Vtbl { *mut std::mem::MaybeUninit, ) -> windows_core::HRESULT, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IUriEscapeStatics, IUriEscapeStatics_Vtbl, 0xc1d432ba_c824_4452_a7fd_512bc3bbe9a1 @@ -237,7 +237,7 @@ pub struct IUriEscapeStatics_Vtbl { *mut std::mem::MaybeUninit, ) -> windows_core::HRESULT, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IUriRuntimeClass, IUriRuntimeClass_Vtbl, 0x9e365e57_48b2_4160_956f_c7385120bbfc @@ -311,7 +311,7 @@ pub struct IUriRuntimeClass_Vtbl { *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IUriRuntimeClassFactory, IUriRuntimeClassFactory_Vtbl, 0x44a9796f_723e_4fdf_a218_033e75b0c084 @@ -331,7 +331,7 @@ pub struct IUriRuntimeClassFactory_Vtbl { *mut *mut core::ffi::c_void, ) -> windows_core::HRESULT, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IUriRuntimeClassWithAbsoluteCanonicalUri, IUriRuntimeClassWithAbsoluteCanonicalUri_Vtbl, 0x758d9661_221c_480f_a339_50656673f46f @@ -513,7 +513,7 @@ where ) -> windows_core::HRESULT, pub T: core::marker::PhantomData, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IWwwFormUrlDecoderEntry, IWwwFormUrlDecoderEntry_Vtbl, 0x125e7431_f678_4e8e_b670_20a9b06c512d @@ -563,7 +563,7 @@ pub struct IWwwFormUrlDecoderEntry_Vtbl { *mut std::mem::MaybeUninit, ) -> windows_core::HRESULT, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IWwwFormUrlDecoderRuntimeClass, IWwwFormUrlDecoderRuntimeClass_Vtbl, 0xd45a0451_f225_4542_9296_0e1df5d254df @@ -577,7 +577,7 @@ pub struct IWwwFormUrlDecoderRuntimeClass_Vtbl { *mut std::mem::MaybeUninit, ) -> windows_core::HRESULT, } -windows_core::imp::com_interface!( +windows_core::imp::define_interface!( IWwwFormUrlDecoderRuntimeClassFactory, IWwwFormUrlDecoderRuntimeClassFactory_Vtbl, 0x5b8c6b3d_24ae_41b5_a1bf_f0c3d544845b